(function(d,b,ka){function bb(){var d=b.documentElement,E=b.doctype,q=d.attributes,cb="",n="",p="",n=d.outerHTML;if(!n){for(n=0;n<q.length;n++){var u=q[n];u&&(cb+=" "+u.name+'="'+(u.value||"")+'"')}n="<html"+cb+">"+d.innerHTML+"</html>"}E&&(p="<!DOCTYPE "+name+(E.publicId?'PUBLIC "'+E.publicId+'"':"")+(E.systemId?' "'+E.systemId+'"':"")+">\n");return p+n}function db(b){var d=[],q;for(q in b)b.hasOwnProperty(q)&&(d[d.length]=q+"="+encodeURIComponent(b[q]));return d.join("&")}function z(b){for(var d=
1,q=b.length;d<arguments.length;d++)b[q++]=arguments[d];return b.length}function la(b){for(var d="string"==typeof b?function(d){return b.charCodeAt(d)}:function(d){return b[d]},q=b.length,p=0,n=255,K=255;q;){var u=21<q?21:q,q=q-u;do{var I=d(p++);if(255<I)var z=I>>8,I=I&255,I=I^z;n+=I;K+=n}while(--u);n=(n&255)+(n>>8);K=(K&255)+(K>>8)}d=(n&255)+(n>>8)<<8|(K&255)+(K>>8);return 65535==d?0:d}function wa(d,E,q,p){var n="";q&&(n=new Date,n.setTime(n.getTime()+6E4*q),n=";expires="+n.toGMTString());b.cookie=
d+"="+E+n+";path="+(p||"/")}function Ha(d){return b.cookie.match(RegExp("(?:^|;\\s*)"+d+"=([^;]*)"))?RegExp.$1:null}function eb(){wa("_metrika_enabled","1",60);var b=!!Ha("_metrika_enabled");wa("_metrika_enabled","",-1);return b}function p(){for(var b={},E="hash host hostname href pathname port protocol search".split(" "),q=E.length,p=q;p--;)b[E[p]]="";try{for(var n=d.location,p=q;p--;){var z=E[p];b[z]=""+n[z]}}catch(u){P&&(b=P)}return b}function ca(b){try{delete d[b]}catch(p){d[b]=ka}}function ma(d){var p=
b.createElement("script");p.type="text/javascript";p.async=!0;p.src=d;try{var q=b.getElementsByTagName("html")[0];b.getElementsByTagName("head")[0]||q.appendChild(b.createElement("head"));var z=b.getElementsByTagName("head")[0];z.insertBefore(p,z.firstChild)}catch(n){}}function na(b){ma(xa+"//metrika.yandex.ru/js/"+b+"/_loader.js")}function fb(D,E,q,H,n,K){function u(f){return function(){try{return f.apply(this,arguments)}catch(C){var a=f&&f.name?f.name:"anonym";(new Image).src="//an.yandex.ru/jserr/"+
D+"?"+db({"cnt-class":100+E,errmsg:C.name+": "+C.message+", line: "+(C.number||C.lineNumber)+", func: "+a})}}}function I(){return"CSS1Compat"==b.compatMode?b.documentElement:b.body}function P(){var f=I();return[f.clientWidth,f.clientHeight]}function M(){var f=I(),C=P();return[Math.max(f.scrollWidth,C[0]),Math.max(f.scrollHeight,C[1])]}function Y(){return[d.pageXOffset||b.documentElement&&b.documentElement.scrollLeft||b.body&&b.body.scrollLeft||0,d.pageYOffset||b.documentElement&&b.documentElement.scrollTop||
b.body&&b.body.scrollTop||0]}function $(f){if(!f.ownerDocument||"PARAM"==f.tagName||f==b.body||f==b.documentElement)return[0,0];if(f.getBoundingClientRect)return f=f.getBoundingClientRect(),[Math.round(f.left+Q[0]),Math.round(f.top+Q[1])];for(var C=0,a=0;f;)C+=f.offsetLeft,a+=f.offsetTop,f=f.offsetParent;return[C,a]}function da(f){return f==b.documentElement?null:f==b.body?b.documentElement:f.parentNode}function aa(f,C){var a=[];if(f)for(var b=f.childNodes,c=0,e=b.length;c<e;c++){var g=b[c];!("INPUT"==
g.nodeName&&g.type&&"hidden"==g.type.toLocaleLowerCase())&&(!C||g.nodeName==C)&&z(a,g)}return a}function L(f){var C=$(f),f=f==b.body||f==b.documentElement?M():[f.offsetWidth,f.offsetHeight];return[C[0],C[1],f[0],f[1]]}function ba(f){for(var C="",f=f.childNodes,a=0,b=f.length;a<b;a++)3==f[a].nodeType&&(C+=f[a].nodeValue);return la(C.replace(/[\u0000-\u0020]+/g,""))}function oa(f){var a="",l="className width height align title alt name".split(" ");"IMG"==f.tagName&&(a+=f.src.toLowerCase());"A"==f.tagName&&
(a+=f.href.toLowerCase());for(var b=0;b<l.length;b++)f.getAttribute&&(a+=(""+(f.getAttribute(l[b])||"")).toLowerCase());return la(a.replace(/[\u0000-\u0020]+/g,""))}function ea(f){for(var a=b.getElementsByTagName("form"),l=0,c=a.length;l<c;l++)if(a[l]==f)return l;return-1}function pa(f){return"INPUT"==f.nodeName&&"submit"!=f.type&&"image"!=f.type&&"hidden"!=f.type?"radio"==f.type||"checkbox"==f.type?!f.checked:!f.value:"TEXTAREA"==f.nodeName?!f.value:"SELECT"==f.nodeName?0>f.selectedIndex:!0}function w(f,
a,l){var b=u(function(f){return l(f||d.event)});T[T.length]=[f,a,l,b];f.addEventListener?f.addEventListener(a,b,!0):f.attachEvent&&f.attachEvent("on"+a,b)}function t(f,a,l){for(var b=0;b<T.length;b++)if(T[b]&&T[b][0]==f&&T[b][1]==a&&T[b][2]==l){var c=T[b][3];delete T[b];break}c&&(f.removeEventListener?f.removeEventListener(a,c,!0):f.detachEvent&&f.detachEvent("on"+a,c))}function fa(f){var a=I();return[f.pageX||f.clientX+Q[0]-(a.clientLeft||0)||0,f.pageY||f.clientY+Q[1]-(a.clientTop||0)||0]}function R(f){return f.target||
f.srcElement}function ha(f){return(f.shiftKey?zb:0)|(f.ctrlKey?gb:0)|(f.altKey?Ab:0)|(f.metaKey?Ib:0)|(f.ctrlKey||f.altKey?Ia:0)}function ia(f){var a=(new Date).getTime();f&&a<f&&(hb+=f-a+ib);d.setTimeout(u(function(){ia(a)}),ib)}function qa(){var f=(new Date).getTime()+hb;f<jb&&(f=jb+ib/2);return jb=f}function G(){return Math.round((qa()-Kb)/Lb)}function Z(f,a){a=Math.max(0,Math.min(a,65535));z(f,a>>8,a&255)}function o(f,a){z(f,a&255)}function i(f,a){for(a=Math.max(0,a|0);127<a;)z(f,a&127|128),a>>=
7;z(f,a)}function ya(f,a){255<a.length&&(a=a.substr(0,255));z(f,a.length);for(var l=0;l<a.length;l++)Z(f,a.charCodeAt(l))}function za(f,a){i(f,a.length);for(var l=0;l<a.length;l++)i(f,a.charCodeAt(l))}function Aa(f){if(!f.nodeName)return f[J]=-1,null;var a=+f[J];if(!isFinite(a)||0>=a)return null;var l=Mb,b=0,c=da(f),g=c&&c[J]?c[J]:0;0>g&&(g=0);var e=f.nodeName.toUpperCase(),d=Nb[e];d||(l|=Ob);var j;a:{j=aa(da(f),f.nodeName);for(var h=0;h<j.length;h++)if(j[h]==f){j=h;break a}j=0}j||(l|=Pb);h=L(f);
(c=c?L(c):null)&&(h[0]==c[0]&&h[1]==c[1]&&h[2]==c[2]&&h[3]==c[3])&&(l|=Bb);Ja[a].pos=h[0]+"x"+h[1];Ja[a].size=h[2]+"x"+h[3];f.id&&"string"==typeof f.id&&(l|=Cb);(c=ba(f))&&(l|=Qb);var A=oa(f);A&&(b|=Rb);var k;a:{k=aa(da(f),f.tagName);for(var r=0;r<k.length;r++)if(!(k[r].id&&"string"==typeof k[r].id)&&oa(k[r])==A&&ba(k[r])==c){k=!0;break a}k=!1}if(k)var l=l|Db,W=la((f.innerHTML||"").replace(/(<[^>]*>|[\u0000-\u0020])/g,""));k=[];o(k,Sb);i(k,a);o(k,l);i(k,g);d?o(k,d):ya(k,e);j&&i(k,j);l&Bb||(i(k,h[0]),
i(k,h[1]),i(k,h[2]),i(k,h[3]));l&Cb&&ya(k,f.id);c&&Z(k,c);l&Db&&Z(k,W);o(k,b);A&&Z(k,A);return k}function Ka(f,a,l,b,c,g){for(;l&&(!l.offsetWidth||!l.offsetHeight);)l=da(l);if(!l)return null;var e=l[J];if(!e||0>e)return null;var d={mousemove:xa,click:Tb,mousedown:ma,mouseup:Ub,touch:ab}[a];if(!d)return null;var j=$(l),l=[];o(l,d);i(l,f);i(l,e);i(l,Math.max(0,b[0]-j[0]));i(l,Math.max(0,b[1]-j[1]));/^mouse(up|down)|click$/.test(a)&&(f=c||g,o(l,2>f?Vb:f==(c?2:4)?Wb:Xb));return l}function m(f,a){var l=
[];o(l,Ha);i(l,f);i(l,a[0]);i(l,a[1]);return l}function Ba(f,a,l){var b=[],l=l[J];if(!l||0>l)return null;o(b,ca);i(b,f);i(b,a[0]);i(b,a[1]);i(b,l);return b}function Ca(f,a,b){var c=[];o(c,yb);i(c,f);i(c,a[0]);i(c,a[1]);i(c,b[0]);i(c,b[1]);return c}function ga(f,a,b,c){var e=[];o(e,na);i(e,f);Z(e,a);o(e,b);f=c[J];if(!f||0>f)f=0;i(e,f);return e}function La(f,a){var b,c;0==a.length?c=b="":100>=a.length?(b=a,c=""):200>=a.length?(b=a.substr(0,100),c=a.substr(100)):(b=a.substr(0,97),c=a.substr(a.length-
97));var e=[];o(e,Yb);i(e,f);za(e,b);za(e,c);return e}function Ma(f){var a=[];o(a,xb);i(a,f);return a}function F(f){var a=[];o(a,va);i(a,f);return a}function Na(f){var a=[];o(a,eb);i(a,f);return a}function wa(f,a){var b=[];o(b,fb);i(b,f);i(b,a[J]);return b}function U(f,a){var b=[];o(b,vb);i(b,f);i(b,a[J]);return b}function Da(f,a,b){var c=[];o(c,wb);i(c,f);i(c,a[J]);ya(c,""+b);return c}function Ea(f,a){var b=a[J];if(0<b){var c=[],e=L(a),g=Ja[b],d=e[0]+"x"+e[1],j=e[2]+"x"+e[3];d!=g.pos&&(g.pos=d,o(c,
Xa),i(c,f),i(c,b),i(c,e[0]),i(c,e[1]));j!=g.size&&(g.size=j,o(c,Za),i(c,f),i(c,b),i(c,e[2]),i(c,e[3]));if(c.length)return c}return null}function ra(f){var a=f[J];if(!a||(0>a||!/^INPUT|SELECT|TEXTAREA$/.test(f.nodeName))||!f.form||/(?:^|\s)-metrika-noform(?:\s|$)/.test(f.form.className))return null;var b=ea(f.form);if(0>b)return null;var c;c="INPUT"==f.nodeName?{text:0,password:2,radio:3,checkbox:4,file:6,image:7}[f.type]:{SELECT:1,TEXTAREA:5}[f.nodeName];if("number"!=typeof c)return null;for(var e=
-1,g=f.form.elements,d=g.length,j=0,h=0;j<d;j++)if(g[j].name==f.name){if(g[j]==f){e=h;break}h++}if(0>e)return null;g=[];o(g,Wa);i(g,a);i(g,b);i(g,c);za(g,f.name||"");i(g,e);return g}function Oa(f,a){var b=ea(a);if(0>b)return null;for(var c=a.elements,e=c.length,g=[],d=0;d<e;d++)if(!pa(c[d])){var j=c[d][J];j&&0<j&&z(g,j)}c=[];o(c,$a);i(c,f);i(c,b);i(c,g.length);for(b=0;b<g.length;b++)i(c,g[b]);return c}function sa(){var f=[];o(f,ja);return f}function ta(f){clearTimeout(Eb);for(var a=(new Date).getTime()+
s;Pa.length&&(f||+(new Date).getTime()<a);){var c=Pa.shift();if(c=c[0].apply(d,c[1])){var b=c;6500<ua.length+b.length&&k();for(var c=ua,e=0,g=c.length;e<b.length;e++)c[g++]=b[e];Qa||(Qa=d.setTimeout(u(k),$b))}}!0===f&&k(!0);Pa.length&&(Eb=d.setTimeout(u(ta),ac))}function v(f,a,c){z(Pa,[f,a]);ta(c)}function N(a){if(a[J])v(Ea,[G(),a]);else{var c=da(a);c&&N(c);a[J]=kb;Ja[kb]={};kb++;v(Aa,[a]);v(ra,[a])}}function V(a){var c=R(a);c&&"SCROLLBAR"!=c.nodeName&&(N(c),v(Ka,[G(),a.type,c,fa(a),a.which,a.button]))}
function S(a){V(a);var c,e;d.getSelection?(a=d.getSelection(),c=a.toString(),e=a.anchorNode):b.selection&&b.selection.createRange&&(a=b.selection.createRange(),c=a.text,e=a.parentElement());for(;e&&1!=e.nodeType;)e=e.parentNode;if(!e||!("INPUT"==e.tagName&&"password"==e.type))if((!e||!/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(e.className))&&c!=lb)lb=c,v(La,[G(),c])}function a(a){var c=qa(),b=c-Fb;if(!(b<y)){var e=fa(a),g=mb[0]-e[0],d=mb[1]-e[1],g=g*g+d*d;!(0>=g)&&(!(16>g&&100>b)&&!(20>b&&256>g))&&(Fb=
c,mb=e,V(a))}}function g(){Q=Y();var a=qa();a-Gb<y||10>Math.abs(Q[0]-nb[0])&&10>Math.abs(Q[1]-nb[1])||(Gb=a,nb=Q,v(m,[G(),Q]))}function c(a){var a=R(a),c=Math.random(),e=[a.scrollLeft,a.scrollTop];if(a.localId){if(10>Math.abs(e[0]-Ra[a.localId][0])&&10>Math.abs(e[1]-Ra[a.localId][1]))return}else{for(;Ra[c];)c=Math.random();a.localId=c}Ra[a.localId]=e;a!==b&&(N(a),v(Ba,[G(),e,a]))}function e(){v(Ca,[G(),P(),M()])}function j(a){v(sa,[],!0);k(!0);if("beforeunload"==a.type)for(a=+new Date+50;+new Date<
a;);}function h(a,c,b){a=R(a);!("INPUT"==a.tagName&&"password"==a.type)&&!/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(a.className)&&(N(a),v(ga,[G(),c,b,a]))}function W(a){var c=a.keyCode,b=ha(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}[c]||(112<=c&&123>=c||96<=c&&105>=c)||b&Ia)19==c&&(b&~Ia)==gb&&(c=144),h(a,c,b|Ia),ob=!1,d.setTimeout(u(function(){ob=!0}),1),67==c&&(b&gb&&!(b&Ab)&&!(b&zb))&&pb()}function O(a){ob&&
(!qb&&0!==a.which)&&(h(a,a.charCode||a.keyCode,ha(a)),qb=!0,d.setTimeout(u(function(){qb=!1}),1))}function pb(){rb||(rb=!0,lb&&v(Ma,[G()]),d.setTimeout(u(function(){rb=!1}),1))}function sb(){Fa||(Fa=!0,v(F,[G()]))}function r(){Fa&&(Fa=!1,v(Na,[G()]))}function B(a){(!Fa||a&&!a.fromElement)&&sb()}function x(a){a&&!a.toElement&&r()}function Sa(a){if((a=R(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName))N(a),v(wa,[G(),a])}function Ta(a){if((a=R(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName))N(a),
v(U,[G(),a])}function A(a){a=R(a);if(!("INPUT"==a.tagName&&"password"==a.type)&&(!a||!/(?:^|\s)-metrika-nokeys(?:\s|$)/.test(a.className))&&a&&/^INPUT|SELECT|TEXTAREA$/.test(a.tagName)){var c=/^(checkbox|radio)$/.test(a.type)?a.checked:a.value;N(a);v(Da,[G(),a,c])}}function Ga(a){a=R(a);if(!/(?:^|\s)-metrika-noform(?:\s|$)/.test(a.className)&&"FORM"==a.nodeName){for(var c=a.elements,b=0;b<c.length;b++)pa(c[b])||N(c[b]);v(Oa,[G(),a],!0)}}function Ua(a){g();if(a.touches&&a.touches.length){var c=R(a);
if(c){N(c);for(var b=0;b<a.touches.length;b++)v(Ka,[G(),"touch",c,[a.touches[b].pageX,a.touches[b].pageY],0,0])}}}function k(){clearTimeout(Qa);Qa=0;if(ua.length){for(var a={rn:Math.round(1E5*Math.random()),"wv-type":0,"cnt-class":E,"page-url":p().href,wmode:0,"wv-hit":H,"wv-part":bc++,"wv-check":la(ua),"browser-info":["z",tb,"i",Va].join(":")},c=ua,b=c.length,e=[],g=b-b%3,d,j=0;j<g;j+=3)d=(c[j]<<16)+(c[j+1]<<8)+c[j+2],z(e,X[d>>18&63],X[d>>12&63],X[d>>6&63],X[d&63]);switch(b-g){case 1:d=c[g]<<4;z(e,
X[d>>6&63],X[d&63],"__");break;case 2:d=(c[g]<<10)+(c[g+1]<<2),z(e,X[d>>12&63],X[d>>6&63],X[d&63],"_")}c={"wv-data":e.join("")};n.send("visor","webvisor",a,c);ua.length=0}}var s=100,ac=200,$b=15E3,ib=20,Lb=50,y=10,Sb=1,xa=2,Ha=3,ca=16,ma=4,na=5,Wa=7,Xa=9,Za=10,$a=11,ab=12,ja=13,va=14,eb=15,fb=17,vb=18,wb=19,xb=27,yb=28,Yb=29,Ub=30,Tb=32,Vb=1,Xb=2,Wb=4,Db=1,Ob=2,Pb=4,Bb=8,Qb=16,Cb=32,Mb=64,Rb=2,Ab=1,zb=2,gb=4,Ib=8,Ia=16,Nb={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},Q=Y(),T=[],hb=0;ia(0);var jb=0,Pa=[],Eb,kb=1,Fb=0,mb=[0,0],Gb=0,nb=[0,0],Ra={},ob=!0,qb=!1,lb="",rb=!1,Fa=!0,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789*-".split(""),ua=[],Qa,bc=1,Kb=qa(),J="metrikaId_"+Math.random(),Ja={},ub=":submit"+Math.random();if("MetrikaPlayer"!=d.name){w(b,"mousemove",a);w(b,"click",V);w(b,
"mousedown",V);w(b,"mouseup",S);w(d,"scroll",g);w(d,"beforeunload",j);d.Components==ka&&w(d,"unload",j);w(d,"resize",e);e();w(b,"keydown",W);w(b,"keypress",O);w(b,"copy",pb);w(b,"touchmove",Ua);w(b,"touchstart",Ua);b.attachEvent&&!d.opera?(w(b,"focusin",B),w(b,"focusout",x)):(w(d,"focus",sb),w(d,"blur",r),w(b,"blur",r));b.addEventListener?(b.addEventListener("scroll",c,!0),b.addEventListener("focus",Sa,!0),b.addEventListener("blur",Ta,!0),b.addEventListener("change",A,!0),b.addEventListener("submit",
Ga,!0)):b.attachEvent&&(w(b,"focusin",Sa),w(b,"focusout",Ta),function(){for(var a=b.getElementsByTagName("form"),c=0;c<a.length;c++){for(var e=a[c].getElementsByTagName("*"),g=0;g<e.length;g++)/^INPUT|SELECT|TEXTAREA$/.test(e[g].tagName)&&w(e[g],"change",A);w(a[c],"submit",Ga)}}());(function(){var a=b.getElementsByTagName("form");if(a.length)for(var c=0;c<a.length;c++){a[c][ub]=a[c].submit;a[c].submit=function(){Ga({target:this});return this[ub]()}}})();"0:0"!=Q.join(":")&&g();var Hb=function(a,c){if(a){var e=
{"wv-type":1,"cnt-class":E,"page-url":p().href,"wv-hit":H,"browser-info":["z",tb,"i",Va,"pct",c||""].join(":")},g=2;if(!b.all){for(var g=a.replace(/\r\n/g,"\n"),d=[],j=String.fromCharCode,h=0,k=g.length;h<k;h++){var A=g.charCodeAt(h);if(A<128)d.push(j(A));else{if(A>127&&A<2048)d.push(j(A>>6|192));else{d.push(j(A>>12|224));d.push(j(A>>6&63|128))}d.push(j(A&63|128))}}for(var g=d.join(""),d=[],r,i,W,A=0,s=g.length;A<s;){r=g.charCodeAt(A++);j=g.charCodeAt(A++);h=g.charCodeAt(A++);k=r>>2;r=(r&3)<<4|j>>
4;i=(j&15)<<2|h>>6;W=h&63;isNaN(j)?i=W=64:isNaN(h)&&(W=64);d.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(r)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(W))}a=d.join("");g=3}n.sendMultipart("webvisor",e,{"wv-data":a},g)}};K.uploadPage=function(a){var c=b.documentElement;if(c&&(""+
c.innerHTML).length>19E4)return false;var e=d.XMLHttpRequest?new d.XMLHttpRequest:new ActiveXObject("Msxml2.XMLHTTP"),c=(""+(b.characterSet||b.charset||"")).toLowerCase();if(a=="html"){Hb(bb());return true}if(e){e.open("get",p().href,true);e.onreadystatechange=function(){e.readyState==4&&Hb(e.responseText,e.getResponseHeader("content-type"))};e.overrideMimeType&&c&&e.overrideMimeType("text/html; charset="+c);e.send(null)}return true}}return{stop:function(){t(b,"mousemove",a);t(b,"click",V);t(b,"mousedown",
V);t(b,"mouseup",S);t(d,"scroll",g);t(d,"beforeunload",j);t(d,"unload",j);t(d,"resize",e);t(b,"keydown",W);t(b,"keypress",O);t(b,"copy",pb);t(b,"touchmove",Ua);t(b,"touchstart",Ua);t(b,"focusin",B);t(b,"focusout",x);t(d,"focus",sb);t(d,"blur",r);t(b,"blur",r);b.removeEventListener?(b.removeEventListener("scroll",c,!0),b.removeEventListener("focus",Sa,!0),b.removeEventListener("blur",Ta,!0),b.removeEventListener("change",A,!0),b.removeEventListener("submit",Ga,!0)):b.detachEvent&&(t(b,"focusin",Sa),
t(b,"focusout",Ta),function(){for(var a=b.getElementsByTagName("form"),c=0;c<a.length;c++){for(var e=a[c].getElementsByTagName("*"),g=0;g<e.length;g++)/^INPUT|SELECT|TEXTAREA$/.test(e[g].tagName)&&t(e[g],"change",A);t(a[c],"submit",Ga)}}());(function(){for(var a=b.getElementsByTagName("form"),c=0;c<a.length;c++)a[c].submit=a[c][ub]})()},uploadPages:function(a,c){for(var b=a.split(/\n/),e=0;e<b.length;e++)if(RegExp(b[e]).test(p().href)){K.uploadPage(c);break}}}}var vb=!1;d.Ya=d.Ya||{};Ya._metrika=
Ya._metrika||{};Ya._metrika.hitParam=Ya._metrika.hitParam||{};var wb=!1,P=p(),tb,Va,Y=d.navigator,$=d.screen,xa="https:"==P.protocol?"https:":"http:",xb="$Rev: 1825 $".match(/(\d+)/)[1],aa="object"==typeof b.all,Wa=64,ba=aa?512:2048,Xa=aa?512:2048,Za=aa?100:400,ha="noindex",ia=50,$a=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"),yb=+new Date,ab="_ym_visorc";d.Ya.Metrika=function(D,E,q,H){function n(a,b,c){U[U.length]=[c,c];a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)}function K(a,b,c){for(var e=0;e<U.length;e++)if(U[e]&&U[e][0]==c){var d=U[e][1];delete U[e];break}d&&(a.removeEventListener?a.removeEventListener(b,d,!1):a.detachEvent&&a.detachEvent("on"+b,d))}function u(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 I(a){function b(a){return a?a.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):""}if(a===ka)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]=I(a[e]);return"["+c.join(",")+"]";case Object:c="{";e=0;for(d in a)if(a.hasOwnProperty(d)){var h=a[d];h!==ka&&(c+=(e?",":"")+'"'+b(d)+'":'+I(h),e++)}return c+"}";default:return"null"}}
function M(a){for(var b=+new Date,c=1;0<c;c++)if(0==c%1E3){var e=+new Date;if(b>e)break;if(e-b>a)break}}function ca(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 ma(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?!1:a}function na(a,b){return(a?a.replace(/^www\./,""):"")==(b?b.replace(/^www\./,""):"")?!0:!1}function da(a,b){function c(a){a=a.split(":");a=a[1]||"";a=a.replace(/^\/*/,"").replace(/^www\./,"");return a.split("/")[0]}return!a||!b?!a&&
!b?!0:!1:c(a)==c(b)?!0:!1}function ja(a,b){var c=b.target,e=!1;if(!b.hostname)return!1;if(!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 L(a,b,c,e,j){function h(a,c){i[i.length]=a;i[i.length]=c}var j=j||{},c="undefined"!=typeof c?c:ga,i=[];j.ar&&!j.onlyData&&(c=ea(c),a=ea(a));h("page-ref",u(c,ba));h("page-url",u(a,ba));h("browser-info",
w(b,j));-1!=p().hostname.search(/(?:^|\.)(?:ya|yandex|narod|narod2)\.(?:\w+|com\.\w+)$/)?h("ut",ha):"undefined"!=typeof j.ut&&h("ut",u(""+j.ut,Wa));e&&h("site-info",u(I(e),Xa));j.saveRef&&(ga=c);a=oa(Na,i);"MetrikaPlayer"!=d.name&&((new Image).src=a,pa(a),j.isDelay&&M(j.delay));return a}function va(a,g,c,e,j,h,i){function O(a,c){m[m.length]=a;m[m.length]=c}var j=j||{},c="undefined"!=typeof c?c:ga,m=[];j.ar&&!j.onlyData&&(c=ea(c),a=ea(a));if("MetrikaPlayer"!=d.name){var n="_ymjsp"+Math.floor(1E6*Math.random()),
r=b.createElement("script");d[n]=function(a){try{delete d[n]}catch(c){d[n]=ka}i(a);r.parentNode&&r.parentNode.removeChild(r)};O("wmode",5);O("callback",n);O("page-ref",u(c,ba));O("page-url",u(a,ba));a=w(g,j);h&&(a=["vc",h,a].join(":"));O("browser-info",a);-1!=p().hostname.search(/(?:^|\.)(?:ya|yandex|narod|narod2)\.(?:\w+|com\.\w+)$/)?O("ut",ha):"undefined"!=typeof j.ut&&O("ut",u(""+j.ut,Wa));e&&O("site-info",u(I(e),Xa));j.saveRef&&(ga=c);e=oa(Na,m);r.type="text/javascript";r.src=e;j=b.getElementsByTagName("head")[0];
j.insertBefore(r,j.firstChild);pa(e)}}function oa(a,b){for(var c=["rn",Math.floor(1E6*Math.random()),"cnt-class",q].concat(b),e=[],d=0;d<c.length;d+=2){var h=c[d+1];h&&(e[e.length]=c[d]+"="+h)}return xa+a+D+"?"+e.join("&")}function ea(a){var b=p(),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}function pa(a){"function"==typeof d.ymLog&&d.ymLog(a)}function w(a,g){function c(a,c){a&&c&&(j[j.length]=[a,c].join(":"))}function e(a){c(a,g[a]?"1":"")}var g=g||{},j=[],h=-1*(new Date).getTimezoneOffset(),i=bb();Va||(Va=i,tb=h);c("j",Y.javaEnabled()?"1":"");$&&c("s",$.width+"x"+$.height+"x"+($.colorDepth||$.pixelDepth));null===Da&&(Da=t());c("f",Da);c("w",Jb()+"x"+qa());c("z",h);c("i",i);null===Ea&&(Ea=R());c("l",Ea||"");
c("en",(""+(b.characterSet||b.charset||"")).toLowerCase());c("v",xb);c("c",Y.cookieEnabled?"1":"");aa&&b.documentMode&&(null===ra&&(ra=Function("return /*@cc_on @_jscript_version @*/;")()),ra&&c("jv",ra));c("la",(Y&&(Y.language||Y.browserLanguage)||"").toLowerCase());c("ex","prerender"==b.webkitVisibilityState?"pre1":"");S&&c("wh","1");i="ar ln dl ad nb pa".split(" ");for(h=0;h<i.length;h++)e(i[h]);i=["va","vt","sn","sa","he"];for(h=0;h<i.length;h++){var n=i[h];c(n,g[n])}c("hid",Ba);if(m._webvisor){d.name||
(d.name=Math.round(65535*Math.random()));if(h=+d.name)0>h&&(h*=-1),h%=65535;c("wn",h||la(d.name));try{d.opener&&d.opener.name&&c("on",la(d.opener.name))}catch(p){}try{d.history&&c("hl",""+d.history.length)}catch(q){}}h="undefined"==typeof a?(h=fa())?u(h,Za):"":u(a,Za);c("t",h);return j.join(":")}function t(){var a=null,b=null,c,e=d.navigator;if("undefined"!=typeof e.plugins&&"object"==typeof e.plugins["Shockwave Flash"])(a=e.plugins["Shockwave Flash"].description)&&!("undefined"!=typeof e.mimeTypes&&
e.mimeTypes["application/x-shockwave-flash"]&&!e.mimeTypes["application/x-shockwave-flash"].enabledPlugin)&&(b=a.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,"."));else if("undefined"!=typeof d.ActiveXObject)try{if(c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))(a=c.GetVariable("$version"))&&(b=a.split(" ")[1].replace(/,/g,".").replace(/[^.\d]/g,""))}catch(j){}return b}function fa(){var a=b.title;"string"!=typeof a&&(a=(a=b.getElementsByTagName("title"))&&a.length?a[0].innerHTML:
"");return a}function R(){var a=null;if(d.ActiveXObject)try{var b=new ActiveXObject("AgControl.AgControl"),c=function(a,c,b,e){for(;a.isVersionSupported(c[0]+"."+c[1]+"."+c[2]+"."+c[3]);)c[b]+=e;c[b]-=e},e=[1,0,0,0];c(b,e,0,1);c(b,e,1,1);c(b,e,2,1E4);c(b,e,2,1E3);c(b,e,2,100);c(b,e,2,10);c(b,e,2,1);c(b,e,3,1);a=e.join(".")}catch(j){}else if(b=Y.plugins["Silverlight Plug-In"])a=b.description;return a}function bb(){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 Jb(){var a=-1;b.documentElement&&"CSS1Compat"==b.compatMode?a=b.documentElement.clientWidth:b.body&&(a=b.body.clientWidth);return a}function qa(){var a=-1;b.documentElement&&"CSS1Compat"==b.compatMode?a=b.documentElement.clientHeight:b.body&&(a=b.body.clientHeight);return a}function G(){Ya._metrika.counters=Ya._metrika.counters||{};var a=!1,g=D+":"+q;if(Ya._metrika.hitParam[g])if(1==q&&!Ya._metrika.counters[g])a=!0;
else return!1;Ya._metrika.counters[g]=m;Ya._metrika.hitParam[g]=1;m._webvisor=!H&&(F&&F.webvisor||vb||wb);F&&F.trackHash&&m.trackHash(!0);if(!H&&!a){var c=Ha(ab);"b"!=c&&"w"!=c&&(c="");eb()||(c="b");va(P.href,fa(),b.referrer,E,{ut:Ca,he:F?~~F.httpError:0,ad:1==q&&d.Ya&&d.Ya.Direct?!0:!1,saveRef:!0},c,function(a){var a=a||{},b=a.webvisor||{},a=[];if(sa){var d=+b.recp;if(!isFinite(d)||0>d||1<d)c="w";c||(c=Ba%1E4/1E4<d?"w":"b");wa(ab,c,30);"w"==c?(z(a,"visor"),d=b.arch_type,(b=b.urls)&&d&&sa.uploadPages(b,
d)):sa.stop()}Oa.init(a)})}o();F&&(F.enableAll?m.enableAll():(F.clickmap&&m.clickmap(F.clickmap),F.trackLinks&&m.trackLinks(F.trackLinks),F.accurateTrackBounce&&m.accurateTrackBounce(F.accurateTrackBounce)));m._webvisor&&(sa=new fb(D,q,F,Ba,Oa,m))}function Z(a){var b={delay:ia};switch(typeof a){case "string":b.on=!0;break;case "object":b.on=!0;b.delay="number"!=typeof a.delay?ia:a.delay;break;case "boolean":b.on=a;break;default:return}ta=b}function o(){Z(!1);n(b,"click",function(a){ta.on&&i(a)})}
function i(a){function b(a){var e;e=(e=c.innerHTML?c.innerHTML.toString().replace(/<\/?[^>]+>/gi,""):"")?e.toString().replace(/^\s+/,"").replace(/\s+$/,""):"";L(d,d==e?"":e,p().href,null,a)}var c=ma(a);if(c){var e=!1,d=""+c.href,h=d?d.split(/\?/)[0]:"";if($a.test(h)||$a.test(d)||ca(d,v)||ca(h,v))e=!0;var i=c.className,h=i&&-1!=i.search(/ym-disable-tracklink/)?!0:!1,i=i&&-1!=i.search(/ym-external-link/)?!0:!1;h||(a={ln:!0,dl:e,isDelay:ja(a,c),delay:ta.delay},i?b(a):na(p().hostname,c.hostname)?e&&(a.ln=
!1,b(a)):d&&-1!=d.search(/^ *javascript:/i)||(a.ut=ha,b(a)))}}function ya(a,g){function c(){if(!u){r&&clearTimeout(r);var b=g,c;c=m?p:p+ +new Date-q;b-=c;0>b&&(b=0);r=setTimeout(function(){u=!0;j(!1);a()},b)}}function e(){i||(h=!0,m=!1,i=!0,c())}function j(a){for(var b=0;b<x.length;b+=3)a?n(x[b],x[b+1],x[b+2]):K(x[b],x[b+1],x[b+2])}var h=!1,i=!1,m=!0,p=0,q=+new Date,r=null,u=!1,x=[d,"blur",function(){m=h=i=!0;p+=+new Date-q;q=+new Date;c()},d,"focus",function(){!h&&!i&&(p=0);q=+new Date;h=i=!0;m=
!1;c()},b,"click",e,b,"mousemove",e,b,"keydown",e,b,"scroll",e];j(!0);c()}function za(a){function b(){var a=p().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 j(){var d=b();d!==c&&(a(),c=d);V=setTimeout(j,200)})()}function Aa(){Ma=ga=La;L(p().href,fa(),Ma,null,{ut:Ca,ad:1==q&&d.Ya&&d.Ya.Direct?!0:!1,wh:!0,saveRef:!0});La=p().href}function Ka(a){function g(){var a=b.documentElement;return Math.max(a.scrollWidth,b.body.scrollWidth,
a.clientWidth)}function c(a){function c(a){var a=a.getBoundingClientRect(),e=b.body,g=b.documentElement,j=a.left+(d.pageXOffset||g.scrollLeft||e.scrollLeft)-(g.clientLeft||e.clientLeft||0);return{top:Math.round(a.top+(d.pageYOffset||g.scrollTop||e.scrollTop)-(g.clientTop||e.clientTop||0)),left:Math.round(j)}}return a.getBoundingClientRect?c(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 j(a){return a&&(a=""+a.className)&&-1!=a.search(/ym-clickmap-ignore/)?!0:!1}function h(a){if(null==a.pageX&&null!=a.clientX){var c=b.documentElement,e=b.body;a.pageX=a.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c.clientLeft||0);a.pageY=a.clientY+(c&&c.scrollTop||e&&e.scrollTop||0)-(c.clientTop||0)}return{x:a.pageX,y:a.pageY}}function i(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 m=
this,q=0,D=null,r="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(" "),B=59,x=String.fromCharCode,w={},o=0;o<r.length;o++)w[r[o]]=x(B),x(B),B++;this.handler=
function(a){var r=b.getElementsByTagName("body")[0];if(!d.ymDisabledClickmap&&!j(r)){if(m._prefs.hasQuota){if(!m._prefs.quota)return;m._prefs.quota--}var n=a.target||a.srcElement;3==n.nodeType&&(n=n.parentNode);var r=e(n.nodeName),k=h(a),s;!a.which&&a.button!==ka&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);s=a.which;if(s=!((2==s||3==s)&&"A"!=r))if(s=n.offsetHeight,s=!(0===n.offsetWidth&&0===s||n.style&&"none"===n.style.display)){b:{for(s=n;s.parentNode;){if(j(s)){s=!0;break b}s=s.parentNode}s=
!1}if(s=!s){b:{s=m._prefs.ignoreTags;for(var x=0;x<s.length;x++)if(e(s[x])==e(r)){s=!0;break b}s=!1}s=!s&&m._prefs.filter(n,r)}}if(s){r=+new Date;n={dom:n,x:k.x,y:k.y,time:r};if(k=50<r-q)if(!(k=!m._prefs.ignoreSameClicks)){if(k=D){s=Math.abs(k.x-n.x);var x=Math.abs(k.y-n.y),o=n.time-k.time,k=k.dom==n.dom&&2>s&&2>x&&1E3>o?!0:!1}else k=!1;k=!k}if(k&&"MetrikaPlayer"!=d.name){s=h(a);k=s.x;s=s.y;var o=a.target||a.srcElement,B=m._prefs,t=c(o),y="",x=p().href;switch(B.mode){case "fixed":y="0";i(o)&&(y+=
"u");break;case "centered":y="1";t=Math.floor(g()/2);k=k>t?k-t+32768:k;i(o)&&(y+="u");break;default:y=e(o.nodeName);y="BODY"==y||"HTML"==y?g():o.offsetWidth;B=e(o.nodeName);"BODY"==B||"HTML"==B?(B=b.documentElement,B=Math.max(B.scrollHeight,b.body.scrollHeight,B.clientHeight)):B=o.offsetHeight;y||(y=1);B||(B=1);k=Math.floor(65535*(k-t.left)/y);s=Math.floor(65535*(s-t.top)/B);for(t="";o.parentNode&&"BODY"!=e(o.nodeName)&&"HTML"!=e(o.nodeName);){t+=w[o.nodeName]||"*";b:{for(var y=o.parentNode,v=B=0;v<
y.childNodes.length;v++)if(o.nodeName==y.childNodes[v].nodeName){if(o==y.childNodes[v]){y=B;break b}B++}y=0}t+=y||"";o=o.parentNode}y=u(t,128)}S||(x=x?x.replace(/\#.*$/,""):x);"function"==typeof m._prefs.urlFilter&&(x=m._prefs.urlFilter(x));k=oa(Zb,["page-url",u(x,ba),"pointer-click","x:"+k+":y:"+s+":t:"+Math.floor(Math.floor(+new Date-yb)/100)+":p:"+y]);(new Image).src=k;pa(k);if(k=a.target||a.srcElement){3==k.nodeType&&(k=k.parentNode);for(s=e(k.nodeName);k.parentNode&&k.parentNode.nodeName&&("A"!=
s&&"AREA"!=s||!k.href);)k=k.parentNode,s=e(k.nodeName);k=!k.href?!1:k}else k=!1;k&&ja(a,k)&&M(m._prefs.delay)}q=r;D=n}}};this.setPrefs=function(a){function b(){return!0}this._prefs="undefined"==typeof a||!1===a||!0===a?{filter:b,ignoreTags:[],mode:"",delay:ia,quota:0,hasQuota:!1,ignoreSameClicks:!0}:{filter:a.filter||b,ignoreTags:a.ignoreTags||[],mode:a.mode||"",delay:"undefined"==typeof a.delay?ia: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||n(b,"click",this.handler);this._start=!0};this.stop=function(){this._start&&K(b,"click",this.handler);this._start=!1};this.start(a)}var m=this,Ba=Math.round(1073741824*Math.random()),Ca="",ga=P.href,La=P.href,Ma="";Ya._metrika.counter||(Ya._metrika.counter=
m);var F;"object"==typeof D&&(F=D,H=D.defer,Ca=D.ut,q=D.type,E=D.params,D=D.id);var D=D||0,q=q||0,Na="//mc.yandex.ru/watch/",Zb="//mc.yandex.ru/clmap/",U=[],Da=null,Ea=null,ra=null,Oa=new function(a,g){function c(a,b,c){if(i)e(i,j(a,b,0),c,"application/x-www-form-urlencoded");else{if("XMLHttpRequest"in d){var g=new XMLHttpRequest;if("withCredentials"in g){var h=c?"POST":"GET",a=j(a,b,h=="POST"?1:0);g.open(h,a,true);g.withCredentials=true;h=="POST"&&""+d.Components!="[object nsXPCComponents]"&&g.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");g.send(h=="POST"?db(c):null);return}}for(h in c)c.hasOwnProperty(h)&&(b[h]=c[h]);(new Image).src=j(a,b,0)}}function e(a,b,c,e){var d="ifr"+Math.round(Math.random()*1E10),g=a.createElement("div");g.style.position="absolute";g.style.left="-99999px";g.style.top="-99999px";var b=['<iframe name="',d,'"></iframe>','<form action="',b,'" method="post" target="',d,'" enctype="',e,'">'],j;for(j in c)c.hasOwnProperty(j)&&z(b,'<textarea name="',j,'"></textarea>');z(b,"</form>");
g.innerHTML=b.join("");a.body.appendChild(g);j=g.getElementsByTagName("form")[0];for(var h in c)if(c.hasOwnProperty(h))j[h].value=c[h];j.submit();setTimeout(function(){a.body.removeChild(g)},1E4)}function j(b,c,e){c["browser-info"]=["ct",e,c["browser-info"]].join(":");return"//"+a+"/"+b+"/"+g+"?"+db(c)}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 i=h()}catch(n){}var m="",o=[];return{send:function(a,
b,e,d){a?m?m.indexOf("|"+a+"|")>-1&&c(b,e,d):z(o,arguments):c(b,e,d)},sendMultipart:function(a,c,d,g){e(i||b,j(a,c,g),d,"multipart/form-data")},init:function(a){m="|"+a.join("|")+"|";for(a=0;a<o.length;a++)m.indexOf("|"+o[a][0]+"|")>-1&&c(o[a][1],o[a][2],o[a][3]);o.length=0}}}("mc.yandex.ru",D),sa;m.reachGoal=function(a,d){var c=a?"goal://"+p().hostname+"/"+a:p().href,e=fa(),j=a?p().href:b.referrer;L(c,e,j,d,{ar:true,isDelay:a?true:false,delay:100});return true};var ta;m.trackLinks=Z;m.hit=function(a,
b,c,e,d){a&&L(a,b,c,e,{ut:d,ar:true,saveRef:true})};m.params=function(a){if(a){var b=arguments.length;if(b>1){for(var c={},e=c,d=0;d<b-1;d++){var h=""+arguments[d];e[h]={};d<b-2&&(e=e[h])}e[h]=arguments[b-1];a=c}L("","","",a,{ar:true,pa:true,onlyData:true})}};m.file=function(a,b,c,e){a&&L(a,"",p().href,e,{ar:true,ln:true,dl:true})};m.extLink=function(a,b,c,e){a&&L(a,"",p().href,e,{ar:true,ln:true,ut:ha})};m.notBounce=function(){L("","","",null,{ar:true,nb:true,onlyData:true})};var v=[];m.addFileExtension=
function(a){typeof a=="string"?v.push(a):v=v.concat(a)};m.clickmap=function(a){m._clickmap?m._clickmap.updateStatus(a):m._clickmap=new Ka(a)};var N=!1;m.accurateTrackBounce=function(a){function d(){m.notBounce()}if(!N){N=true;if(!da(b.referrer,p().href)){typeof a!="number"&&(a=15E3);aa?setTimeout(d,a):ya(d,a)}}};var V=null,S=!1;m.trackHash=function(a){if(a===false){if(S){"onhashchange"in d?K(d,"hashchange",Aa):clearInterval(V);S=false}}else if(!S){"onhashchange"in d?n(d,"hashchange",Aa):za(Aa);S=
true}m._trackHash=S};m.video=function(a,b,c,e){var d=["end","play","pause","seek"];if(a&&c){a:{for(var h=0,i=d.length;h<i;h=h+1)if(a===d[h]){d=h;break a}d=false}d!==false&&L(c,e||"","",null,{ar:true,va:a,vt:~~b})}};m.social=function(a,b,c){a&&b&&L(c||p().href,"","",null,{ar:true,sn:u(a,64),sa:u(b,64)})};m.enableAll=function(){m.trackLinks(true);m.clickmap(true);m.accurateTrackBounce()};m.pause=M;m.uploadPage=function(){};D&&G()};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,d){Ya._metrika.counter&&Ya._metrika.counter.reachGoal(b,d)});var M=d.yandex_metrika_callback,H=d.yandex_metrika_callbacks;"function"==typeof M&&M();if("object"==typeof H)for(M=0;M<H.length;M++){var ja=H[M];ja&&(H[M]=null,ja())}ca("yandex_metrika_callback");ca("yandex_metrika_callbacks");H=P.href;-1!=H.search("ym_playback=linkmap")?na("linkmap"):-1!=H.search("ym_playback=clickmap")&&na("clickmap");d.Ya.Metrika.informer=function(b){var d=!!Ya.Metrika._informer;Ya.Metrika._informer=
b;d||ma(xa+"//bs.yandex.ru/metrika/informer.js")};if(top!=d&&parent==top&&d.postMessage&&!Ya.Metrika_visorPlayerOn){Ya.Metrika_visorPlayerOn=!0;H=b.createElement("div");H.innerHTML='<iframe name="RemoteIframe" allowtransparency="true" style="position: absolute; left: -999px; top: -999px; width: 1px; height: 1px;"></iframe>';var va=H.firstChild;setTimeout(function(){b.body.insertBefore(va,b.body.firstChild);try{var d=va.contentWindow.document}catch(p){}if(d){d.open();d.write('<!doctype html><html><head><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7,IE=edge" /></head><body><script type="text/javascript">var newversion = true;try {if (top.postMessage) {window.onmessage = function(evt) {evt = evt || window.event;try {var message = new Function("return " + evt.data)();} catch (e) {return;}if (/(^|\\.)yandex\\.(ru|com|ua|kz|by|com\\.tr)(:\\d{4})?$/.test(evt.origin) && message.name == "script" && message.data) {var head = document.getElementsByTagName("head")[0];var base = document.createElement("base");base.href = message.data;head.appendChild(base);var script = document.createElement("script");script.src = message.data;head.appendChild(script);parent.removeEventListener("message", window.onmessage, false);window.onmessage = null;}};if (navigator.userAgent.indexOf("Firefox/3.6.") > -1) {parent.addEventListener("message", window.onmessage, false);}top.postMessage(\'{"name":"ping"}\', "*");}} catch (e) {}<\/script></body></html>');
d.close()}},200)}})(this,this.document);
