1!function(){var e={90:function(e){!function(t,n){var o=function(e,t,n){"use strict";var o,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=t.documentElement,i=e.HTMLPictureElement,s="addEventListener",c="getAttribute",l=e[s].bind(e),u=e.setTimeout,d=e.requestAnimationFrame||u,f=e.requestIdleCallback,m=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],p={},g=Array.prototype.forEach,h=function(e,t){return p[t]||(p[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),p[t].test(e[c]("class")||"")&&p[t]},b=function(e,t){h(e,t)||e.setAttribute("class",(e[c]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=h(e,t))&&e.setAttribute("class",(e[c]("class")||"").replace(n," "))},w=function(e,t,n){var o=n?s:"removeEventListener";n&&w(e,t),v.forEach((function(n){e[o](n,t)}))},E=function(e,n,r,a,i){var s=t.createEvent("Event");return r||(r={}),r.instance=o,s.initEvent(n,!a,!i),s.detail=r,e.dispatchEvent(s),s},k=function(t,n){var o;!i&&(o=e.picturefill||r.pf)?(n&&n.src&&!t[c]("srcset")&&t.setAttribute("srcset",n.src),o({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},A=function(e,t){return(getComputedStyle(e,null)||{})[t]},_=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},L=(be=[],ye=[],we=be,Ee=function(){var e=we;for(we=be.length?ye:be,ge=!0,he=!1;e.length;)e.shift()();ge=!1},ke=function(e,n){ge&&!n?e.apply(this,arguments):(we.push(e),he||(he=!0,(t.hidden?u:d)(Ee)))},ke._lsFlush=Ee,ke),C=function(e,t){return t?function(){L(e)}:function(){var t=this,n=arguments;L((function(){e.apply(t,n)}))}},B=function(e){var t,o=0,a=r.throttleDelay,i=r.ricTimeout,s=function(){t=!1,o=n.now(),e()},c=f&&i>49?function(){f(s,{timeout:i}),i!==r.ricTimeout&&(i=r.ricTimeout)}:C((function(){u(s)}),!0);return function(e){var r;(e=!0===e)&&(i=33),t||(t=!0,(r=a-(n.now()-o))<0&&(r=0),e||r<9?c():u(c,r))}},z=function(e){var t,o,r=99,a=function(){t=null,e()},i=function(){var e=n.now()-o;e<r?u(i,r-e):(f||a)(a)};return function(){o=n.now(),t||(t=u(i,r))}},T=(K=/^img$/i,V=/^iframe$/i,X="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),J=0,Q=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ne=function(e){return null==Y&&(Y="hidden"==A(t.body,"visibility")),Y||!("hidden"==A(e.parentNode,"visibility")&&"hidden"==A(e,"visibility"))},oe=function(e,n){var o,r=e,i=ne(e);for(F-=n,U+=n,G-=n,$+=n;i&&(r=r.offsetParent)&&r!=t.body&&r!=a;)(i=(A(r,"opacity")||1)>0)&&"visible"!=A(r,"overflow")&&(o=r.getBoundingClientRect(),i=$>o.left&&G<o.right&&U>o.top-1&&F<o.bottom+1);return i},re=function(){var e,n,i,s,l,u,d,f,m,v,p,g,h=o.elements;if((j=r.loadMode)&&Z<8&&(e=h.length)){for(n=0,ee++;n<e;n++)if(h[n]&&!h[n]._lazyRace)if(!X||o.prematureUnveil&&o.prematureUnveil(h[n]))fe(h[n]);else if((f=h[n][c]("data-expand"))&&(u=1*f)||(u=Q),v||(v=!r.expand||r.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:r.expand,o._defEx=v,p=v*r.expFactor,g=r.hFac,Y=null,Q<p&&Z<1&&ee>2&&j>2&&!t.hidden?(Q=p,ee=0):Q=j>1&&ee>1&&Z<6?v:J),m!==u&&(O=innerWidth+u*g,R=innerHeight+u,d=-1*u,m=u),i=h[n].getBoundingClientRect(),(U=i.bottom)>=d&&(F=i.top)<=R&&($=i.right)>=d*g&&(G=i.left)<=O&&(U||$||G||F)&&(r.loadHidden||ne(h[n]))&&(H&&Z<3&&!f&&(j<3||ee<4)||oe(h[n],u))){if(fe(h[n]),l=!0,Z>9)break}else!l&&H&&!s&&Z<4&&ee<4&&j>2&&(q[0]||r.preloadAfterLoad)&&(q[0]||!f&&(U||$||G||F||"auto"!=h[n][c](r.sizesAttr)))&&(s=q[0]||h[n]);s&&!l&&fe(s)}},ae=B(re),ie=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),b(t,r.loadedClass),y(t,r.loadingClass),w(t,ce),E(t,"lazyloaded"))},se=C(ie),ce=function(e){se({target:e.target})},le=function(e,t){var n=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},ue=function(e){var t,n=e[c](r.srcsetAttr);(t=r.customMedia[e[c]("data-media")||e[c]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n
1)},de=C((function(e,t,n,o,a){var i,s,l,d,f,v;(f=E(e,"lazybeforeunveil",t)).defaultPrevented||(o&&(n?b(e,r.autosizesClass):e.setAttribute("sizes",o)),s=e[c](r.srcsetAttr),i=e[c](r.srcAttr),a&&(d=(l=e.parentNode)&&m.test(l.nodeName||"")),v=t.firesLoad||"src"in e&&(s||i||d),f={target:e},b(e,r.loadingClass),v&&(clearTimeout(W),W=u(te,2500),w(e,ce,!0)),d&&g.call(l.getElementsByTagName("source"),ue),s?e.setAttribute("srcset",s):i&&!d&&(V.test(e.nodeName)?le(e,i):e.src=i),a&&(s||d)&&k(e,{src:i})),e._lazyRace&&delete e._lazyRace,y(e,r.lazyClass),L((function(){var t=e.complete&&e.naturalWidth>1;v&&!t||(t&&b(e,r.fastLoadedClass),ie(f),e._lazyCache=!0,u((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&Z--}),!0)})),fe=function(e){if(!e._lazyRace){var t,n=K.test(e.nodeName),o=n&&(e[c](r.sizesAttr)||e[c]("sizes")),a="auto"==o;(!a&&H||!n||!e[c]("src")&&!e.srcset||e.complete||h(e,r.errorClass)||!h(e,r.lazyClass))&&(t=E(e,"lazyunveilread").detail,a&&x.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,de(e,t,a,o,n))}},me=z((function(){r.loadMode=3,ae()})),ve=function(){3==r.loadMode&&(r.loadMode=2),me()},pe=function(){H||(n.now()-P<999?u(pe,999):(H=!0,r.loadMode=3,ae(),l("scroll",ve,!0)))},{_:function(){P=n.now(),o.elements=t.getElementsByClassName(r.lazyClass),q=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),l("scroll",ae,!0),l("resize",ae,!0),l("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&d((function(){n.forEach((function(e){e.complete&&fe(e)}))}))}})),e.MutationObserver?new MutationObserver(ae).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[s]("DOMNodeInserted",ae,!0),a[s]("DOMAttrModified",ae,!0),setInterval(ae,999)),l("hashchange",ae,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[s](e,ae,!0)})),/d$|^c/.test(t.readyState)?pe():(l("load",pe),t[s]("DOMContentLoaded",ae),u(pe,2e4)),o.elements.length?(re(),L._lsFlush()):ae()},checkElems:ae,unveil:fe,_aLSL:ve}),x=(M=C((function(e,t,n,o){var r,a,i;if(e._lazysizesWidth=o,o+="px",e.setAttribute("sizes",o),m.test(t.nodeName||""))for(a=0,i=(r=t.getElementsByTagName("source")).length;a<i;a++)r[a].setAttribute("sizes",o);n.detail.dataAttr||k(e,n.detail)})),D=function(e,t,n){var o,r=e.parentNode;r&&(n=_(e,r,n),(o=E(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=o.detail.width)&&n!==e._lazysizesWidth&&M(e,r,o,n))},S=z((function(){var e,t=I.length;if(t)for(e=0;e<t;e++)D(I[e])})),{_:function(){I=t.getElementsByClassName(r.autosizesClass),l("resize",S)},checkElems:S,updateElem:D}),N=function(){!N.i&&t.getElementsByClassName&&(N.i=!0,x._(),T._())};var I,M,D,S;var q,H,W,j,P,O,R,F,G,$,U,Y,K,V,X,J,Q,Z,ee,te,ne,oe,re,ae,ie,se,ce,le,ue,de,fe,me,ve,pe;var ge,he,be,ye,we,Ee,ke;return u((function(){r.init&&N()})),o={cfg:r,autoSizer:x,loader:T,init:N,uP:k,aC:b,rC:y,hC:h,fire:E,gW:_,rAF:L}}(t,t.document,Date);t.lazySizes=o,e.exports&&(e.exports=o)}("undefined"!=typeof window?window:{})}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}!function(){"use strict";var e=function(e){var t=e.element,n=e.top,o=e.left,r=e.duration,a=t.scrollTop,i=t.scrollLeft,s=n-a,c=o-i,l=(new Date).getTime(),u=function(e,t,n,o){return(e/=o/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},d=function(){var e=(new Date).getTime()-l;t.scrollTop=u(e,a,s,r),t.scrollLeft=u(e,i,c,r),e<r?requestAnimationFrame(d):(t.scrollTop=n,t.scrollLeft=o)};d()};function t(e){var t=e.currentTarget.getAttribute("data-source-url");t&&function(e){window.location.href=e}(t)}var o,r=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))},a=function(e,t){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(6===s[0]&&i.label<r[1]){i.label=r[1],r=s;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(s);break}r[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};function i(e){return void 0===e&&(e=""),r(this,void 0,void 0,(function(){var t,n;return a(this,(function(o){switch(o.label){case 0:if(e=void 0!==window.main_url?window.main_url+e:window.location.protocol+"//"+window.location.host+e,!self.fetch)return[3,7];o.label=1;case 1:return o.trys.push([1,5,,6]),[4,fetch(e,{credentials:"omit",mode:"cors",method:"GET"})];case 2:return(t=o.sent()).ok?[4,t.arrayBuffer()]:[3,4];case 3:return n=o.sent(),[2,new TextDecoder("windows-1251").decode(n)];case 4:return[2,Promise.reject(t)];case 5:throw o.sent();case 6:return[3,8];case 7:return[2,new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){if(o.status>=200&&o.status<400){var e=o.responseText;t(e)}else n(new Error("Request failed: ".concat(o.statusText)))},o.addEventListener("error",(function(){return n(new Error("Network error"))})),o.send()}))];case 8:return[2]}}
1))}))}function s(){var e="",t=document.getElementById("page");return null!==t&&(e=t.getAttribute("data-value")),e}!function(e){e.Home="home",e.Article="article",e.Cat="cat"}(o||(o={}));var c,l=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))},u=function(e,t){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(6===s[0]&&i.label<r[1]){i.label=r[1],r=s;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(s);break}r[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},d=1,f=!1;function m(e,t,n){return l(this,void 0,void 0,(function(){return u(this,(function(o){return window.t1?[2,i("/api/news/"+t+"/"+e+"/"+n)]:[2,i("/api/news?id="+t+"&type="+e+"&page="+n)]}))}))}function v(e){return l(this,void 0,void 0,(function(){var t,n,o,r;return u(this,(function(a){switch(a.label){case 0:return(t=e.currentTarget).scrollHeight-t.scrollTop<1300?(n=t.getAttribute("data-name"),o=Number(t.getAttribute("data-page")),(r=Number(t.getAttribute("data-id")))>0&&!1===f?(f=!0,[4,m(n,r,o+1).then((function(e){t.querySelectorAll(".sk1").forEach((function(e){e.remove()}));var n=e.split("==========");t.insertAdjacentHTML("beforeend",n[0]),t.setAttribute("data-id",n[1]),t.setAttribute("data-page",String(o+1))}))]):[3,2]):[3,2];case 1:a.sent(),f=!1,a.label=2;case 2:return[2]}}
1))}))}function p(){return l(this,void 0,void 0,(function(){var e,t,n,o,r,a,i,s;return u(this,(function(c){switch(c.label){case 0:return e=document.getElementById("m-tab-content"),t=!1,e?(n=e.querySelector(".m-tab-content.active .last-news__post-list_active"),t=!0):(o=document.getElementsByClassName("last-news__post-list_active")).length>0&&(n=o[0],t=!0),t&&n?(r=n.getElementsByClassName("sk1"))&&r.length>0&&r[0].getBoundingClientRect().top+window.scrollY-document.documentElement.scrollTop<1300?(a=n.getAttribute("data-name"),i=Number(n.getAttribute("data-page")),(s=Number(n.getAttribute("data-id")))>0&&!1===f?(f=!0,[4,m(a,s,i+1).then((function(e){n.querySelectorAll(".sk1").forEach((function(e){e.remove()}));var t=e.split("==========");n.insertAdjacentHTML("beforeend",t[0]),n.setAttribute("data-id",t[1]),n.setAttribute("data-page",String(i+1))}))]):[3,2]):[3,2]:[3,2];case 1:c.sent(),f=!1,c.label=2;case 2:return[2]}}))}))}function g(t){for(var n=t.currentTarget,o=document.getElementsByClassName("m-tab-content"),r=0;r<o.length;r++)o[r].classList.remove("active");document.querySelector('[data-id="'+n.getAttribute("data-id")+'"].m-tab-content').classList.add("active");var a=document.getElementsByClassName("m-tab__item");for(r=0;r<a.length;r++)a[r].classList.remove("active");n.classList.add("active");var i=Number(n.getAttribute("data-pos")),s=document.getElementById("m-tab");if(i>d){if(i>3){var c=s.scrollLeft+60*(i-d);e({element:s,left:c,top:0,duration:600})}}else{c=s.scrollLeft-60*(d-i);e({element:s,left:c,top:0,duration:600})}d=i}function h(){return document.getElementById("news-block")}function b(e){"desktop"===e?function(){window.removeEventListener("scroll",p);for(var e=document.getElementsByClassName("last-news__post-list_active"),t=0;t<e.length;t++)e[t].addEventListener("scroll",v)}():function(){for(var e=document.getElementsByClassName("last-news__post-list_active"),t=0;t<e.length;t++)e[t].removeEventListener("scroll",v);"IntersectionObserver1"in window?function(){var e,t=document.getElementById("m-tab-content"),n=!1;if(t)e=t.querySelector(".m-tab-content.active .last-news__post-list_active"),n=!0;else{var o=document.getElementsByClassName("last-news__post-list_active");o.length>0&&(e=o[0],n=!0)}if(n&&e){var r=e.getElementsByClassName("sk1");if(r&&r.length>0){var a=new IntersectionObserver((function(t){return l(this,void 0,void 0,(function(){var n,o,r;return u(this,(function(i){switch(i.label){case 0:return!0!==t[0].isIntersecting?[3,2]:(n=e.getAttribute("data-name"),o=Number(e.getAttribute("data-page")),(r=Number(e.getAttribute("data-id")))>0&&!1===f?(f=!0,[4,m(n,r,o+1).then((function(n){e.querySelectorAll(".sk1").forEach((function(e){e.remove()}));var r=n.split("==========");e.insertAdjacentHTML("beforeend",r[0]),e.setAttribute("data-id",r[1]),e.setAttribute("data-page",String(o+1)),a.unobserve(t[0].target),a.observe(e.getElementsByClassName("sk1").item(0))}))]):[3,2]);case 1:i.sent(),f=!1,i.label=2;case 2:return[2]}}
1))}))}),{threshold:[0],rootMargin:"500px"});a.observe(r.item(0))}}}():window.addEventListener("scroll",p)}()}function y(e){!function(){for(var e=document.getElementsByClassName("m-tab__item"),t=0;t<e.length;t++)e[t].addEventListener("click",g)}();var n=h();n&&function(e){for(var n=e.getElementsByClassName("source-link"),o=0;o<n.length;o++)n[o].addEventListener("click",t)}(n),b(e)}function w(e){var t=document.querySelector("[data-key='"+e+"'].m-tab-content"),n=document.querySelector("[data-key='"+e+"'].m-tab__item");null!==t&&t.remove(),null!==n&&n.remove()}function E(e){var t=h(),n=s();if(null!==t){y(e);var r=void 0;r="desktop"===e?t.getAttribute("data-full-d"):t.getAttribute("data-full-m");var a=!0,c=t.getAttribute("data-preload"),d=t.getAttribute("data-skip");n===o.Home&&"0"===r&&(a=!1),d&&(a=!1),a&&function(e,t){return l(this,void 0,void 0,(function(){var n,o;return u(this,(function(r){return window.t1?(n="single",o="lazy",e&&(n="full"),t&&(o="preload"),[2,i("/api/blocks/"+n+"/"+o)]):[2,i("/api/blocks?full="+e+"&preload="+t)]}))}))}(r,c).then((function(t){var n=t.split("==========");!function(e,t){for(var n=0,o=Object.keys(e);n<o.length;n++){var r=o[n];e[r]?(a=r,i=e[r],s=void 0,null!==(s=document.querySelector("[data-key='"+a+"'][data-preload='0'].m-tab-content"))&&(s.innerHTML=i,s.setAttribute("data-preload","1"))):w(r)}var a,i,s;y(t)}({trend:n[0],hot:n[1],opinions:n[2],smi:n[3],official:n[4],tg:n[5],video:n[6],pop:n[7],all:n[8],long:n[9]},e)}))}}!function(e){e.Desktop="desktop",e.Mobile="mobile"}(c||(c={}));var k=["max-width: 1000px","orientation: portrait","hover: none","pointer: none","pointer: coarse"];var A=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))},_=function(e,t){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(6===s[0]&&i.label<r[1]){i.label=r[1],r=s;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(s);break}r[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},L=!1;function C(e,t,n){return A(this,void 0,void 0,(function(){return _(this,(function(o){return window.t1?[2,i("/api/cat/"+e+"/"+t+"/"+n)]:[2,i("/api/cat?type="+e+"&id="+t+"&page="+n)]}))}))}function B(e){return void 0===e&&(e=!1),A(this,void 0,void 0,(function(){var t,n,o,r,a,i;return _(this,(function(s){switch(s.label){case 0:return null===(t=document.getElementById("paging"))||null===(n=document.getElementById("cat-news"))?[3,2]:t.offsetTop-document.documentElement.scrollTop<1200||e?(o=n.getAttribute("data-name"),r=Number(n.getAttribute("data-id")),a=Number(n.getAttribute("data-page")),r>0&&!1===L?(L=!0,i=function(e){n.querySelectorAll(".sk1").forEach((function(e){e.remove()}));var t=e.split("==========");n.insertAdjacentHTML("beforeend",t[0]),n.setAttribute("data-id",String(t[1])),n.setAttribute("data-page",String(a+1))},[4,C(o,r,a+1).then(i)]):[3,2]):[3,2];case 1:s.sent(),L=!1,s.label=2;case 2:return[2]}}
1))}))}function z(){return A(this,void 0,void 0,(function(){return _(this,(function(e){switch(e.label){case 0:return[4,B()];case 1:return e.sent(),[2]}}))}))}function T(e){var t=document.getElementById("paging");null!==t&&"1"===t.getAttribute("data-scroll")&&("desktop"===t.getAttribute("data-device")?e===c.Desktop&&window.addEventListener("scroll",z):window.addEventListener("scroll",z))}function x(e){var t;e===c.Desktop?y(e):document.getElementById("news-block").remove(),T(e),(t=document.getElementById("cat-news"))&&"top"===t.getAttribute("data-name")&&i("/api/stat").then((function(e){}))}function N(e){var t=e.currentTarget.getAttribute("data-href-mobile");t&&(e.preventDefault(),window.location.href=window.location.protocol+"//"+window.location.host+t)}function I(e){!function(e){var t=!0;if(e===c.Mobile){var n=document.getElementById("rec-block");if(n)for(var o=n.getElementsByClassName("news-list__link"),r=0;r<o.length;r++)o[r].addEventListener("click",N)}var a=document.getElementById("article");if(a&&(e!==c.Mobile||"1"!==a.getAttribute("data-loaded")&&"1"!==a.getAttribute("data-loaded3")||(t=!1),"1"===a.getAttribute("data-loaded2")&&(t=!1),e===c.Mobile&&"1"===a.getAttribute("data-loaded3"))){var i=document.getElementById("news-block");i&&i.remove()}t?E(e):y(e)}(e),e===c.Desktop&&T(c.Desktop),document.getElementById("trend-items")&&function(e){var t=document.getElementById("trend-items");if(t){var n=0;e===c.Mobile&&(n=1),i("/api/stat?id="+t.getAttribute("data-current")+"&ref="+document.referrer+"&mobile="+n).then((function(e){}))}}(e)}function M(){window.scroll({top:0,left:0,behavior:"smooth"})}n(90);function D(e,t){var n=document.getElementById(e);null!==n&&(n.innerHTML=t)}function S(e){var t=document.getElementById(e);null!==t&&t.remove()}function q(e){return new Promise((function(t,n){var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=e,o.onload=t,o.onerror=n,document.body.appendChild(o)}))}var H=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))},W=function(e,t){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(6===s[0]&&i.label<r[1]){i.label=r[1],r=s;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(s);break}r[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};function j(){document.getElementById("home_blocks")&&function(){return H(this,void 0,void 0,(function(){return W(this,(function(e){return[2,i("/api/home")]}))}))}().then((function(e){var t=e.split("==========");!function(e){D("videos",e.video),D("home_blocks",e.blocks),D("cat_news",e.cats)}({video:t[0],cats:t[1],blocks:t[2]})})),T(c.Desktop)}function P(e){E(e),e===c.Desktop?j():(S("ah1"),S("home_blocks"),S("videos"),S("cat_news")),function(e){document.getElementById("trend-items")&&e===c.Desktop&&i("/api/stat").then((function(e){}))}(e)}function O(e){var t=e.currentTarget,n=F(),o=document.getElementById("top_search");t.classList.contains("active")?(t.classList.remove("active"),n.classList.remove("active"),o&&o.classList.remove("active")):(t.classList.add("active"),n.classList.add("active"),o.classList.add("active"))}function R(){return document.getElementById("burger")}function F(){return document.getElementById("menu")}function G(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,n=document.getElementById("cities_menu2");t.classList.contains("selected")?(t.classList.remove("selected"),n.classList.remove("active")):(t.classList.add("selected"),n.classList.add("active"))}function $(e){document.getElementById("cities_menu2").classList.contains("active")&&(e.target.closest(".cities_menu2.active")||(document.getElementById("cities_menu2").classList.remove("active"),document.getElementById("cities_menu").classList.remove("selected")))}function U(e){e.preventDefault(),e.stopPropagation(),K(e.currentTarget,!0)}function Y(e){e.preventDefault(),e.stopPropagation(),K(e.currentTarget,!1)}function K(e,t){var n=e.classList.contains("dropdown-link_opened"),o=e.getAttribute("data-name"),r=document.querySelector('[data-name="'+o+'"].dropdown');r&&(n?(e.classList.remove("dropdown-link_opened"),r.classList.remove("dropdown_active")):(V(),e.classList.add("dropdown-link_opened"),r.classList.add("dropdown_active"),t&&requestAnimationFrame((function(){r.style.left=e.offsetLeft-(r.offsetWidth-e.offsetWidth)+"px",r.style.top=e.offsetTop+e.offsetHeight+"px"}))))}function V(){var e=document.getElementsByClassName("dropdown-link_opened");e.length&&e[0].classList.remove("dropdown-link_opened");var t=document.getElementsByClassName("dropdown_active");t.length&&t[0].classList.remove("dropdown_active")}function X(){V()}function J(e){Q(),e.currentTarget.removeEventListener(e.type,J)}function Q(){if(window.counters_loaded)return!1;window.counters_loaded=!0,window.counter_ya&&(function(e,t,n,o,r,a,i){e[r]=e[r]||function(){(e[r].a=e[r].a||[]).push(arguments)},e[r].l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===o)return;a=t.createElement(n),i=t.getElementsByTagName(n)[0],a.async=1,a.src=o,i.parentNode.insertBefore(a,i)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js","ym"),window.ym(window.counter_ya,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce
1:!0,webvisor:!0})),function(){if(window.counter_li){var e=new Image(1,1);e.src="https://counter.yadro.ru/hit?r"+escape(document.referrer)+("undefined"==typeof screen?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+";h"+escape(document.title.substring(0,150))+";"+Math.random(),document.body.appendChild(e)}}(),window.counter_mail&&((window._tmr||(window._tmr=[])).push({id:window.counter_mail,type:"pageView",start:(new Date).getTime()}),function(e,t,n){if(!e.getElementById(n)){var o=e.createElement("script");o.type="text/javascript",o.async=!0,o.id=n,o.src="https://top-fwz1.mail.ru/js/code.js";var r=function(){var t=e.getElementsByTagName("script")[0];t.parentNode.insertBefore(o,t)};"[object Opera]"==t.opera?e.addEventListener("DOMContentLoaded",r,!1):r()}}(document,window,"tmr-code"))}function Z(e){var t;if(t=window.innerWidth>1e3?c.Desktop:c.Mobile,e){var n="";if(n=t===c.Desktop?e.getAttribute("data-d"):e.getAttribute("data-m")){var o=1,r=e.getAttribute("data-stat");r&&(o=Number(r)),window.yaContextCb.push((function(){"1"===e.getAttribute("data-type")?Ya.Context.AdvManager.render({renderTo:e.getAttribute("id"),blockId:n,statId:o}):Ya.Context.AdvManager.renderFeed({renderTo:e.getAttribute("id"),blockId:n,statId:o})}))}}}function ee(){var e;e=window.innerWidth>1e3?c.Desktop:c.Mobile;for(var t=document.getElementsByClassName("rtb_style_1"),n=!1,o=0;o<t.length;o++){var r=t[o];(e===c.Desktop?r.getAttribute("data-d"):r.getAttribute("data-m"))&&(n=!0)}window.yaContextCb=window.yaContextCb||[],n&&q("https://yandex.ru/ads/system/context.js").then((function(){for(var e=0;e<t.length;e++)Z(t[e])}))}function te(){var e="",t=document.getElementById("vk_groups"),n=!1;t&&(e=t.getAttribute("data-group"))&&(n=!0),n&&(t.innerHTML="",q("https://vk.com/js/api/openapi.js?169").then((function(){VK.Widgets.Group("vk_groups",{mode:3,width:"auto"},e)})))}function ne(){var e="",t=document.getElementById("ok_groups"),n=!1;t&&(e=t.getAttribute("data-group"))&&(n=!0),n&&(t.innerHTML="",q("https://connect.ok.ru/connect.js").then((function(){OK.CONNECT.insertGroupWidget("ok_groups",e,'{"width":525,"height":175}')})))}function oe(){return window.navigator.language&&(window.navigator.language.includes("ru")||window.navigator.language.includes("RU"))}function re(){var e,n,r=s(),a=function(){for(var e=0,t=k;e<t.length;e++){var n=t[e];if(window.matchMedia("(".concat(n,")")).matches)return c.Mobile}return c.Desktop}();window.yaContextCb=window.yaContextCb||[],function(){for(var e=document.getElementsByClassName("source-link"),n=0;n<e.length;n++)e[n].addEventListener("click",t)}(),function(e){for(var t=document.getElementsByClassName("dropdown-link"),n=e===c.Desktop?U:Y,o=0;o<t.length;o++)t[o].addEventListener("click",n);document.documentElement.addEventListener("click",X)}(a),a==c.Desktop?(!function(){var e=document.getElementById("scrolltab");if(e){e.addEventListener("click",M);var t=!1;window.addEventListener("scroll",(function(){t||(t=!0,requestAnimationFrame((function(){t=!1;var n=document.documentElement.scrollTop>200;n!==e.classList.contains("active")&&e.classList.toggle("active",n)})))}),{passive:!0})}}(),(n=document.getElementById("cities_menu"))&&(n.addEventListener("click",G),document.documentElement.addEventListener("click",$))):null!==(e=R())&&e.addEventListener("click",O),r===o.Home?P(a):r===o.Cat?x(a):r===o.Article?I(a):E(a),oe()&&(window.counter_timeout?setTimeout(Q,window.counter_timeout):Q(),document.addEventListener("scroll",J),document.addEventListener("mousemove",J),document.addEventListener("touchstart",J),r===o.Article&&(a===c.Mobile?setTimeout(ee,window.bb_timeout):(c.Desktop,document.getElementById("vk_groups")?setTimeout(te,window.bb_timeout):document.getElementById("ok_groups")&&setTimeout(ne,window.bb_timeout))))}"loading"!==document.readyState?re():document.addEventListener("DOMContentLoaded",re)}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.