1function supports_html5_storage(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}}$(document).ready(function(){var n,t;supports_html5_storage()&&(n=$(".commentForm form").data("entity-id"),localStorage.getItem("savedComment")&&(t=JSON.parse(localStorage.getItem("savedComment"))).id==n&&($(".commentForm textarea").val(t.text),$(".commentForm form").data("parent-id",t.parentId)),$(".commentForm textarea").on("keyup",function(t){var e=$(this).val(),a=$(".commentForm form").data("parent-id");localStorage.setItem("savedComment",JSON.stringify({id:n,text:e,parentId:a}))})),$(".showCommentBtn").click(function(){return $(this).slideUp(),$(this).next(".commentsWrap").slideDown(),!1}),$(".commentsWrap .hideComments").click(function(){return $(".commentsWrap").slideUp(),$(".showCommentBtn").slideDown().css("display","block"),!1}),$('a[href="#reply"]').click(function(t){t.preventDefault(),$(".commentForm form").slideDown(),$(".commentWait").slideUp();var e=$(".commentForm form");e.find("textarea").focus(),e.data("parent-id",$(this).data("comment-id")),e.addClass("animate"),setTimeout(function(){e.removeClass("animate")},500)}),$(".commentsWrap").on("click",".commentWait a",function(t){t.preventDefault(),$(".commentForm form").slideDown(),$(".commentWait").slideUp()}),$(".commentsWrap").on("submit",".commentForm form",function(t){t.preventDefault();var e=$(this),t={},a=(t.parentId=e.data("parent-id"),t.text=e.find('textarea[name="text"]').val(),t.entityType=e.data("entity-type"),t.entityId=e.data("entity-id"),e.find("#csrf"));t[a.attr("name")]=a.val(),$.ajax({type:"POST",url:"/comments/post",data:t,success:function(t){void 0!==t.success&&1==t.success&&(e.find('[name="text"]').val(""),e.find('[name="parentId"]').val(""),a.attr("name",t.token.key),a.val(t.token.value),e.hide(),localStorage.removeItem("savedComment"),$('<div class="commentWait">'+e.attr("data-success")+"</div>").insertBefore(e))},dataType:"json"})})}); 2var JournalChart=function(t){this.chartId=t.data("chart-id"),this.chartType=t.data("chart-type"),this.updated=t.data("chart-updated"),this.rate=t.data("chart-rate"),this.min=1,this.max=100,this.calendar=null,this.startDate=null,this.endDate=null,void(this.thumb=0)!==t.data("chart-thumb")&&(this.thumb=1),this.presentaion=t,this.viewState=this.thumb?"thumb":"week",this.chart=null,this.dataSet=this.visibleDataSet=this.labels={},this.processing=0,this.decorate()};JournalChart.prototype.decorate=function(){var t;this.thumb||(t='<ul class="graphTabs">',1==this.rate&&(t+='<li><a data-id="week" href="#week" class="active">неделÑ</a></li>',this.viewState="week"),2==this.rate?(this.viewState="month",t+='<li><a data-id="month" href="#month" class="active">меÑÑÑ</a></li>'):t+='<li><a data-id="month" href="#month">меÑÑÑ</a></li>',t+='<li><a data-id="year" href="#year">год</a></li><li><span class="dateSelectorRange"><em>пеÑиод</em><span class="dataPicker periodSelector"></span></span></li></ul>',this.presentaion.append("ÐоказаÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð·Ð°: ").append(t),this.calendar=this.presentaion.find(".dataPicker.periodSelector"),this.calendarLabel=this.presentaion.find(".dateSelectorRange em"),this.renderCalendar()),this.canvas=$('<canvas height="160" width="260" class="lineGraph graph"></canvas>
2').data({"chart-id":this.chartId,"chart-type":this.type}),this.presentaion.append(this.canvas),this.thumb||this.presentaion.append('<p class="date">Ðбновлено '+this.updated+"</p>"),this.labelsList=$('<ul class="graphCheckboxList"></ul>').appendTo(this.presentaion),this.initialise()},JournalChart.prototype.initialise=function(){var e=this;$.get("/charts/data/"+this.chartId,{viewState:this.viewState,start:this.startDate,end:this.endDate},function(t){e.dataSet=t.points,e.labels=t.legend,e.visibleDataSet=jQuery.extend(!0,{},t.points),null!=e.chart&&e.chart.destroy(),e.renderGraph(),e.thumb||(e.renderLegend(),e.activateTabs()),e.processing=0})},JournalChart.prototype.activateTabs=function(){var e=this;this.presentaion.find(".graphTabs li > a").click(function(t){t.preventDefault(),e.processing||(e.calendar.is(":visible")&&e.calendar.hide(),e.processing=1,e.presentaion.find(".graphTabs li > a").removeClass("active"),e.presentaion.find(".graphTabs .dateSelectorRange").removeClass("active"),$(this).addClass("active"),e.viewState=$(this).data("id"),e.initialise())})},JournalChart.prototype.renderCalendar=function(){var i,s,n,t;this.thumb||(i=this,s={startDate:null,endDate:null,currentDate:new Date,selectCount:0,checkDays:function(s){var n=this;this.startDate&&this.endDate&&setTimeout(function(){s.dpDiv.find(".ui-datepicker-calendar").each(function(t){var e=$(this),a=s.drawMonth+t,i=s.drawYear;11<a&&(i++,a=s.drawMonth-12+t),e.find("td>a.ui-state-default").each(function(t){n.checkDay(this,t+1,a,i)})})},1)},checkDay:function(t,e,a,i){i=new Date(i,a,e);i.getTime()>=this.startDate.getTime()&&i.getTime()<=this.endDate.getTime()&&$(t).addClass("ui-state-active").removeClass("ui-state-highlight")},getSelectedDate:function(t){return new Date(t.selectedYear,t.selectedMonth,t.selectedDay)}},this.calendar.hide(),this.calendarLabel.click(function(){i.calendar.toggle()}),n=function(t){var e=t.getDate(),a=t.getMonth()+1;return(e=e<10?"0"+e:e)+"."+(a=a<10?"0"+a:a)+"."+t.getFullYear()},t=2,0<$("#mobText").length&&(t=1),this.calendar.datepicker({numberOfMonths:t,firstDay:"1",dateFormat:"dd.mm.yy",onSelect:function(t,e){var a;return s.selectCount++,s.currentDate=s.getSelectedDate(e),s.selectCount<2?(s.startDate=s.getSelectedDate(e),s.endDate=null):(s.selectCount=0,s.endDate=s.getSelectedDate(e),s.startDate.getTime()>s.endDate.getTime()&&(a=s.endDate,s.endDate=s.startDate,s.startDate=a),s.checkDays(e),i.calendarLabel.text(n(s.startDate)+" â "+n(s.endDate)),i.startDate=s.startDate.getTime()/1e3,i.endDate=s.endDate.getTime()/1e3,i.viewState="range",i.presentaion.find(".graphTabs a").removeClass("active"),i.presentaion.find(".graphTabs .dateSelectorRange").addClass("active"),i.initialise(),i.calendar.hide()),!1},onChangeMonthYear:function(t,e,a){s.currentDate=s.getSelectedDate(a),s.checkDays(a)}}))},JournalChart.prototype.renderGraph=function(){function t(t,e){function a(t){return void 0!==e?Math.floor(t):Math.round(t)}if(1<t){var i=a(t);if(i<=10)return i;if(i<=100)return Math.floor(i);if(i<=1e3)return 50*a(i/50);if(i<=1e4)return 100*a(i/100);if(i<=1e5)return 1e3*a(i/1e3);if(i<=1e6)return 1e4*a(i/1e4);if(i<=1e7)return 1e5*a(i/1e5);if(i<=1e8)return 1e6*a(i/1e6)}else i=a(10*t)/10;return i}function a(t){return t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1 ")}var e,i=this.canvas.get(0).getContext("2d"),s=[];for(e in this.visibleDataSet.datasets){var n,r=this.visibleDataSet.datasets[e].data;for(n in r)null!==r[n]&&s.push(r[n])}s.length&&(this.min=Math.min.apply(Math,s),this.max=Math.max.apply(Math,s));var h=t((this.max-this.min)/10),l=null,l=100<(h=0==h?1:h)?Math.max(0,t(this.min-h/2,!0)):Math.max(0,Math.floor(10*(this.min-h/2))/10),o=Math.ceil((this.max-l)/h);switch(this.chartType){case 1:this.thumb?this.chartOpt={scaleGridLineColor:"#d1d2d3",datasetFill:!1,bezierCurve:!1,pointHitDetectionRadius:10,scaleFontSize:11,scaleLabel:function(t){return a(Number(t.value).toFixed())},responsive:!0,tooltipFillColor:"#273849",tooltipTitleFontSize:11,tooltipFontSize:11,showTooltips:!1}:this.chartOpt={scaleGridLineColor:"#d1d2d3",datasetFill:!1,bezierCurve:!1,pointHitDetectionRadius:10,scaleFontSize:11,responsive:!0,tooltipFillColor:"#273849",tooltipTitleFontSize:12,tooltipFontSize:12,scaleLabel:function(t){return" "+a(t.value)},scaleOverride:!0,scaleSteps:o+1,scaleStepWidth:h,scaleStartValue:l,tooltipTemplate:function(t){return a(t.value)},multiTooltipTemplate:function(t){return(e=20<(e=t.datasetLabel).length?e.slice(0,20)+"...":e)+": "+a(t.value);var e}},this.chart=new Chart(i).Line(this.visibleDataSet,this.chartOpt);break;case 2:this.chartOpt={percentageInnerCutout:60,responsive:!0,tooltipTemplate:function(t){return t.value}},this.chart=new Chart(i).Pie(this.visibleDataSet,this.chartOpt);break;case 3:this.chartOpt={barValueSpacing:25,barShowStroke:!1,pointHitDetectionRadius:10,scaleFontSize:11,responsive:!0,tooltipFillColor:"#273849",tooltipTemplate:function(t){return t.value}},this.chart=new Chart(i).Bar(this.visibleDataSet,this.chartOpt);break;case 4:this.chartOpt={barValueSpacing:5,barDatasetSpacing:0,barShowStroke:!1,pointHitDetectionRadius:20,responsive:!0,scaleFontSize:11,tooltipFillColor:"#273849",tooltipTemplate:function(t){return t.value}},this.chart=new Chart(i).HorizontalBar(this.visibleDataSet,this.chartOpt);break;case 5:this.chartOpt={scaleGridLineColor:"#d1d2d3",bezierCurve:!1,pointHitDetectionRadius:10,scaleFontSize:11,responsive:!0,tooltipFillColor:"#273849",tooltipTemplate:function(t){return t.value}},this.chart=new Chart(i).Line(this.visibleDataSet,this.chartOpt)}}
2,JournalChart.prototype.renderLegend=function(){var t,s=this;for(t in this.labelsList.html(""),this.labels){var e=$('<input type="checkbox" checked>').data({"chart-id":this.chartId,"data-set":this.labels[t].id,color:this.labels[t].color});this.labelsList.append($("<li></li>").append($("<label></label>").append(e).append("<span>"+this.labels[t].title+" </span>"))),e.change(function(){var t,e=$(this).data("data-set"),a=(s.dataSet.datasets[e].hide=!$(this).prop("checked"),{});for(t in s.dataSet.datasets){var i=s.dataSet.datasets[t],i=jQuery.extend(!0,{},i);void 0!==i.hide&&1==i.hide&&(i.data=[]),a[t]=i}s.visibleDataSet.datasets=a,s.chart.destroy(),s.renderGraph()})}this.labelsList.find("input:checkbox").styler(),this.labelsList.find(".jq-checkbox").each(function(){var t=$(this).data("color");$(this).css({"border-color":t}),$(this).find(".jq-checkbox__div").css({"background-color":t})})},$(document).ready(function(){$(".bigGraphBlock, .smallGraphBlock").each(function(){new JournalChart($(this))})}); 3js={include:function(e){document.write('
3<script async type="text/javascript" src="'+e+'"><\/script>')}};var MAXWIDTH=1278;function setEqualHeight(e){var t=0;e.each(function(){$(this).css("height","auto"),(currentHeight=$(this).height())>t&&(t=currentHeight)}),e.height(t)}function getMaxheight(e){var t=0;return e.each(function(){$(this).css("height","auto"),(currentHeight=$(this).height())>t&&(t=currentHeight)}),t}function viewport(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function getSocialCount(e){var t,n,i,a;window.fbAsyncInit=function(){FB.init({appId:"929986740397157",xfbml:!0,version:"v2.3"})},t=document,n="script",i="facebook-jssdk",a=t.getElementsByTagName(n)[0],t.getElementById(i)||((t=t.createElement(n)).id=i,t.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(t,a)),$.getJSON("https://vk.com/share.php?act=count&index=1&url="+encodeURI(e)+"&callback=?",function(e){}),$.getJSON("https://graph.facebook.com/?id="+encodeURI(e)+"&callback=?",function(e){e=e.share&&e.share.share_count?e.share.share_count:0;$(".grayShareBtn .fb a, .colorShareBtn .fb a .counter").text(e)})}function newsColCount(){var e,n=0,i=($(".newsColHCounter").each(function(e,t){n+=$(this).height()}),30);0!=n&&($(".oneCol300 .newsCol").hasClass("whiteBg")||(i=150),(e=$(".left_side_news")).length&&"none"==e.css("display")||$(".oneCol300 .newsCol li").each(function(e,t){if(7!=$(this).index()&&$(this).position().top>n-$(this).outerHeight()-i)return $(this).hide(),$(this).nextAll().hide(),!1}))}function adaptiveBanners(){var e,t,n,i,a,o;viewport().width<MAXWIDTH?($(".dayPic").length,0<$(".sportPageWrap").length&&(i=$(".topRightCol .specialBlock").wrap('<li class="adaptiveRight"></li>'),$(i).parent("li").prependTo(".threeCols .mainNewsList.last")),0<$(".newsCol.events").length&&(e=$(".oneCol300 .specialBlock"),t=$(".oneCol300 .labeledBlock"),n=$(".newsCol.events").parent(),$(e).prependTo(n),$(t).prependTo(n)),0<$(".today.index").length&&(i=$(".oneCol300.right .specialBlock").wrap('<li class="adaptiveRight"></li>'),$(i).parent("li").prependTo(".oneCol300.left>ul")),0<$(".analytics.index").length&&(i=$(".oneCol300.right .specialBlock").wrap('<li class="adaptiveRight"></li>'),$(i).parent("li").prependTo(".twoCols .mainNewsList:not(.first)"),$(".twoCols .mainNewsList:not(.first)").children("li:last").hide()),0<$(".indexesPage").length&&(i=$(".oneCol300.right .specialBlock").wrap('<li class="adaptiveRight"></li>'),$(i).parent("li").prependTo(".twoCols .mainNewsList:not(.first)"),$(".twoCols .mainNewsList:not(.first)").children("li:last").hide()),0<$(".galleries.index").length&&(i=$(".oneCol300.right .specialBlock").wrap('<li class="adaptiveRight"></li>'),0<$(".topPhotoList .mainNewsList .adaptiveElem1").length?(a=$(".adaptiveElem1"),$(a).appendTo($(".topPhotoList .mainNewsList.first")),o=$(".adaptiveElem2")):(a=$(".topPhotoList .mainNewsList:last li:first-child"),$(a).addClass("adaptiveElem1"),$(a).appendTo($(".topPhotoList .mainNewsList.first")),o=$(".topPhotoList .mainNewsList:last li:first-child"),$(o).addClass("adaptiveElem2")),$(o).appendTo($(".topPhotoList .mainNewsList:eq(1)")),$(i).parent("li").prependTo(".topPhotoList .mainNewsList:last"))):($(".dayPic").length,0<$(".sportPageWrap").length&&(i=$(".threeCols .adaptiveRight .specialBlock").unwrap(),$(i).appendTo(".topRightCol .oneCol300")),0<$(".newsCol.events").length&&(e=$(".oneCol300 .specialBlock"),t=$(".oneCol300 .labeledBlock"),n=$(".eventStart + .oneCol300"),$(t).appendTo(n),$(e).appendTo(n)),0<$(".today.index").length&&(i=$(".adaptiveRight .specialBlock").unwrap(),$(i).appendTo(".oneCol300.right")),0<$(".analytics.index").length&&(i=$(".adaptiveRight .specialBlock").unwrap(),$(i).appendTo(".topRightCol .oneCol300"),$(".twoCols .mainNewsList:not(.first)").children("li:last").show()),0<$(".indexesPage").length&&(i=$(".adaptiveRight .specialBlock").unwrap(),$(i).appendTo(".topRightCol .oneCol300"),$(".twoCols .mainNewsList:not(.first)").children("li:last").show()),0<$(".galleries.index").length&&(i=$(".adaptiveRight .specialBlock").unwrap(),$(i).appendTo(".to
3pRightCol .oneCol300"),a=$(".topPhotoList .mainNewsList .adaptiveElem1"),$(a).appendTo($(".topPhotoList .mainNewsList:last")),o=$(".topPhotoList .mainNewsList .adaptiveElem2"),$(o).appendTo($(".topPhotoList .mainNewsList:last"))))}function startTimer(e,t){var n=e,i=parseInt(n/3600,10),a=parseInt((n-3600*i)/60,10),o=parseInt(n%60,10);t.text((a<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)),setInterval(function(){i=parseInt(n/3600,10),a=parseInt((n-3600*i)/60,10),o=parseInt(n%60,10),i=a<10?"0"+i:i,a=a<10?"0"+a:a,o=o<10?"0"+o:o,t.text(i+":"+a+":"+o),--n<0&&(n=e,setTimeout(function(){window.location.reload()},1e3))},1e3)}function loadAsync(e,t,n,i){var a=document.createElement("script");a.src=!0===n?i+e:e,null!==t&&(a.readyState?a.onreadystatechange=function(){"loaded"!=a.readyState&&"complete"!=a.readyState||(a.onreadystatechange=null,t())}:a.onload=function(){t()}),document.getElementsByTagName("head")[0].appendChild(a)}function sendAnalyticsGoal(e){ga("send","event",""+e,document.URL),yaCounter28732741.reachGoal(""+e),console.log(""+e)}$(document).ready(function(){$(".playbuzz").length&&(i=document,e="playbuzz-sdk",a=i.getElementsByTagName("script")[0],i.getElementById(e)||((i=i.createElement("script")).id=e,i.src="//embed.playbuzz.com/sdk.js",a.parentNode.insertBefore(i,a)));var t,n,e=$(".select-region"),i=(e.length&&e.val("0").on("change",function(){var e=$
3(this).val();e&&(window.location.href="/news/region/"+e)}),$(".calendarScroll")),a=$(".picScroller"),o=$(".numberScroll");function l(t){var n=t.find("input:text").focus();t.submit(function(e){var t=(t=n.val()).trim();return n.val(t),""===t?e.preventDefault():(window.location.href="/search/"+t,e.preventDefault()),!1}),t.find("svg").click(function(e){t.submit()})}(t=$)(".topSearch").click(function(e){t(this).hasClass("active")||(t(this).addClass("active"),l(t(this).find("form")))}),l(t(".tagSearch form.bigSearch")),(n=t("form.catalog-search")).submit(function(e){return""!==n.find('[name="query"]').val().trim()||(e.preventDefault(),!1)}),$(".subscription input:submit").click(function(e){var t=$(".subscription .inputWrap input").val();""!==(t=t.replace(/^\s+/,"").replace(/\s+$/,""))&&/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(t)?$.ajax({type:"POST",url:"/subscribe",data:{email:t},success:function(e){console.log(e),e.status,$(".subscription .formWrap").html(e.message)},dataType:"json"}):e.preventDefault()}),-1!=navigator.appVersion.indexOf("Mac")&&$("body").addClass("macOS"),$("input, textarea").placeholder(),0<$(".newsColHCounter").length&&newsColCount(),$(".modalLink").click(function(e){var t=$(this).attr("href"),n=$(this).data("callback"),n=(n&&window[n]&&window[n](),$(t).outerHeight());$(t).css("margin-top",-n/2+"px"),$(".modalOverlay").fadeIn(),$(t).fadeIn(),e.preventDefault()}),$(".modalWindow .close, .modalOverlay").click(function(){$(".modalWindow, .modalOverlay").fadeOut()}),(0<$(".dayPic").length||0<$(".newsCol.events").length||0<$(".today.index").length||0<$(".analytics.index").length||0<$(".galleries.index").length||0<$(".sports.index").length)&&adaptiveBanners(),$(document).on("click","body",function(e){$(e.target).closest(".orphusPopup, .dataPicker, .dateSelector, .ui-datepicker-prev, .ui-datepicker-next, .dateSelectorRange").length||($(this).find(".orphusPopup .cancelBtn").click(),$(".dataPicker").hide(),e.stopPropagation())});var s,r=$("html").attr("lang"),o=("ru"==r?$.datepicker.setDefaults($.datepicker.regional.ru):$.datepicker.setDefaults($.datepicker.regional[""]),$(".dateSelector").each(function(){var n=$(this).find(".dataPicker"),i=(n.hide(),$(this).attr("data-url")),a=$(this).find("em"),o=new Date,e=o.getDate(),t=o.getMonth()+1,e=(o=(e=e<10?"0"+e:e)+"."+(t=t<10?"0"+t:t)+"."+o.getFullYear(),a.click(function(){n.toggle()}),{dateFormat:"dd.mm.yy",onSelect:function(e,t){e==o?"ru"==r?a.text("СегоднÑ"):a.text("Today"):a.text(e),window.location=i+e,n.hide()}});void 0===$(this).data("no-maxdate")&&(e.maxDate=0),n.datepicker(e),void 0!==$(this).data("date")&&n.datepicker("setDate",$(this).data("date"))}),0<i.length&&i.sly({horizontal:1,itemNav:"basic",smart:1,mouseDragging:1,touchDragging:1,releaseSwing:1,startAt:1,scrollBy:0,speed:900,elasticBounds:1,dragHandle:1,dynamicHandle:1,clickBar:1,prevPage:$(".calendarScrollWrap .prev"),nextPage:$(".calendarScrollWrap .next")}
3),0<a.length&&a.each(function(){var e=$(this),t=$(this).parent(),n=$(e).fotorama(),i=$(n).data("fotorama"),a=$(t).find(".descr li");$(a[0]).show(),$(e).on("fotorama:showend",function(){$(t).find(".counter .current").text(i.activeIndex+1),$(t).find(".descr li").hide(),$(a[i.activeIndex]).show()})}),0<o.length&&(s=s.sly({horizontal:1,itemNav:"basic",smart:1,mouseDragging:1,touchDragging:1,releaseSwing:1,startAt:1,scrollBy:0,speed:700,elasticBounds:1,dragHandle:1,dynamicHandle:1,clickBar:1,prevPage:$(".numberScrollWrap .prev"),nextPage:$(".numberScrollWrap .next")})),$(".singleVideo").click(function(e){$(this).addClass("playing"),$(this).children("iframe").show(),$(this).children("iframe")[0].src+="?autoplay=1"}),$("footer .subscription .inputWrap input").focus(function(){$(this).parent().addClass("focus")}),$("footer .subscription .inputWrap input").blur(function(){$(this).parent().removeClass("focus")}),$("footer .subscription .inputWrap").click(function(){$(this).children("input").focus()}),0<$(".eventTimer").length&&startTimer($(".eventTimer .counter").data("time"),$(".eventTimer .counter")),0<$("body.index.index").length&&viewport().width<MAXWIDTH&&($(".analiticWrap .newsColHCounter").removeClass("newsColHCounter"),newsColCount()),$(".labelScroll")),c=(0<o.length&&o.sly({horizontal:1,itemNav:"basic",smart:1,mouseDragging:1,touchDragging:1,releaseSwing:1,startAt:1,scrollBy:0,speed:700,elasticBounds:1,dragHandle:1,dynamicHandle:1,clickBar:1,prevPage:$(".labelScrollWrap .prev"),nextPage:$(".labelScrollWrap .next")}),0<$(".graphCheckboxList").length&&$(" .graphCheckboxList .jq-checkbox").each(function(){color=$(this).data("color"),$(this).css({"border-color":color}),$(this).children(".jq-checkbox__div").css({"background-color":color})}),$(".upBtn"));function d(e){var t=$(".photo-fullscreen"),n=(0===t.length&&(t=$('<div class="photo-fullscreen"><i class="close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M 25 3 C 12.86158 3 3 12.86158 3 25 C 3 37.13842 12.86158 47 25 47 C 37.13842 47 47 37.13842 47 25 C 47 12.86158 37.13842 3 25 3 z M 25 5 C 36.05754 5 45 13.94246 45 25 C 45 36.05754 36.05754 45 25 45 C 13.94246 45 5 36.05754 5 25 C 5 13.94246 13.94246 5 25 5 z M 16.990234 15.990234 A 1.0001 1.0001 0 0 0 16.292969 17.707031 L 23.585938 25 L 16.292969 32.292969 A 1.0001 1.0001 0 1 0 17.707031 33.707031 L 25 26.414062 L 32.292969 33.707031 A 1.0001 1.0001 0 1 0 33.707031 32.292969 L 26.414062 25 L 33.707031 17.707031 A 1.0001 1.0001 0 0 0 32.980469 15.990234 A 1.0001 1.0001 0 0 0 32.292969 16.292969 L 25 23.585938 L 17.707031 16.292969 A 1.0001 1.0001 0 0 0 16.990234 15.990234 z"></path></svg></i><div class="wrap-img"><img></div><div class="description"><p></p></div></div>'),$("body").addClass("no-scroll").append(t)),$(this).data("full")),n=(t.find("img").attr("src",n),$(this).siblings("figcaption"));n.length&&(t.find(".description").show(),t.find(".description > p").text(n.text())),t.on("click",function(){$("body").removeClass("no-scroll"),t.off("click").remove()})}function h(){this.remove()}0<c.length&&(c.click(function(e){$("html,body").stop().animate({scrollTop:0},500,"linear")}),$(window).scroll(function(e){var t=$(document).height(),n=$(window).scrollTop(),i=n+$(window).height();500<n?c.addClass("visible"):c.removeClass("visible"),t-i<140?c.addClass("stoped"):c.removeClass("stoped")})),$(".socials .vk a").on("click",function(){sendAnalyticsGoal("vk")}),$(".socials .tw a").on("click",function(){sendAnalyticsGoal("tw")}),$(".socials .fb a").on("click",function(){sendAnalyticsGoal("fb")}),$(".grayShareBtn, .colorShareBtn").on("click",".ya-share2__item_service_facebook",function(){sendAnalyticsGoal("fb_podelilis")}),$(".grayShareBtn, .colorShareBtn").on("click",".ya-share2__item_service_twitter",function(){sendAnalyticsGoal("tw_podelilis")}),$(".grayShareBtn, .colorShareBtn").on("click",".ya-share2__item_service_vkontakte",function(){sendAnalyticsGoal("vk_podelilis")}),$('.commentForm input[type="submit"]').on("click",function(){""!=$(this).closest("form").find('textarea[name="text"]').val()&&sendAnalyticsGoal("
3comments")}),0<$("figure.fullsize").length&&((s=$("figure.fullsize").find("img")).on("mouseover mouseenter",function(){var e,t,n;$(this).siblings("i").length||(e=$(this).width(),t=$(this).parent("figure"),n=$('<i class="icon-fullsize"></i>').on("click",d.bind(this)).on("mouseout",function(e){"IMG"!==e.relatedTarget.tagName&&setTimeout(h.bind(n),300)}),t.css("width",e).append(n))}),s.on("mouseout",function(e){var t=$(this).siblings("i");0!==t.length&&"I"!==e.relatedTarget.tagName&&setTimeout(h.bind(t),300)}),s.on("click",d))}),$(window).resize(function(){0<$(".calendarScroll").length&&$(".calendarScroll").sly("reload"),(0<$(".dayPic").length||0<$(".newsCol.events").length||0<$(".today.index").length||0<$(".analytics.index").length||0<$(".galleries.index").length||0<$(".sports.index").length)&&adaptiveBanners(),viewport().width<MAXWIDTH&&0<$("body.index.index").length?$(".analiticWrap .newsColHCounter").removeClass("newsColHCounter"):$(".analiticWrap .threeCols ").addClass("newsColHCounter"),newsColCount()}),$(window).load(function(){0<$(".newsColHCounter").length&&newsColCount(),window.location.hash&&"#comments"==window.location.hash&&setTimeout(function(){$(".showCommentBtn").hide(),$(".commentsWrap").show();var e=$(".colorShareBtn").offset().top-30;$("html,body").stop().animate({scrollTop:e},300,"linear")}
3,100),$(".analytics-goal").on("click",function(){var e=$(this).data("goal");e&&sendAnalyticsGoal(e)});var e=$(".detailCont article");e.length&&SimplanumWidget&&($("#SimplanumWidget").css("display","inline-block"),SimplanumWidget.init(38,38,e[0]))});
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.