1;(function($,window,document){'use strict';window.printArticle=function(){const htmlTitle=$('.single-title-block').html()||'';const body=$('.page-content .content').html()||'';const img=$('.single-body .page-thumbnail').html()||'';const cssReset=(window.printCSS&&printCSS.reset)||'/css/reset.css';const cssMain=(window.printCSS&&printCSS.main)||'/css/main-stylesheet.css';const cssPrint=(window.printCSS&&printCSS.print)||'/css/print.css';const cssShort=(window.printCSS&&printCSS.short)||'/css/shortcode.css';const w=window.open('','articleprint','width=680,height=800,menubar=0,toolbar=1,status=0,scrollbars=1,resizable=1');if(!w)return;const stamp=Date.now();const doc=w.document;doc.open('text/html','replace');doc.write('<!doctype html><html><head><meta charset="utf-8">'+'<meta http-equiv="x-ua-compatible" content="ie=edge">'+'<title>'+String(document.title)+'</title>'+'<link rel="stylesheet" href="'+cssReset+'?'+stamp+'">'+'<link rel="stylesheet" href="'+cssMain+'?'+stamp+'">'+'<link rel="stylesheet" href="'+cssPrint+'?'+stamp+'">'+'<link rel="stylesheet" href="'+cssShort+'?'+stamp+'">'+'</head><body><div class="wrapper">'+ 2htmlTitle+(img||'')+(body||'')+'</div></body></html>');doc.close();w.focus();};window.createTagElement=function(tag,attr,text){const el=document.createElement(tag);if(attr)for(var k in attr)if(Object.prototype.hasOwnProperty.call(attr,k))el.setAttribute(k,attr[k]);if(text!=null)el.textContent=String(text);return el;};window.createModal=function(title,text){const modal=createTagElement('div',{'class':'modal','tabindex':'-1','role':'dialog'});const dialog=createTagElement('div',{'class':'modal-dialog','role':'document'});const content=createTagElement('div',{'class':'modal-content'});const header=createTagElement('div',{'class':'modal-header'});const closeBtn=createTagElement('button',{'type':'button','class':'close','data-dismiss':'modal','aria-label':'Close'});closeBtn.innerHTML='<span aria-hidden="true">×</span>';header.appendChild(closeBtn);header.appendChild(createTagElement('h4',{'class':'modal-title'},title));const body=createTagElement('div',{'class':'modal-body'});body.appendChild(createTagElement('p',{},text));content.appendChild(header);content.appendChild(body);dialog.appendChild(content);modal.appendChild(dialog);document.body.appendChild(modal);return modal;};$(document).on('click','.smile-body ul',function(){$('.smile-tooltip').show();setTimeout(function(){$('.smile-tooltip').hide();},5000);});$(function(){function initMobileMenu(){$('.menu-list ul li.has-submenu > a').off('click.galka');$('.menu-list ul.sub-menu li a').off('click.galka');$('.menu-list ul > li:not(.has-submenu) > a').off('click.galka');if(window.innerWidth<=768){$('.menu-list ul li').each(function(){const $li=$(this);if($li.find('ul.sub-menu').length){$li.addClass('has-submenu');if($li.find('> a .submenu-toggle').length===0){$li.find('> a').append('<span class="submenu-toggle"></span>');}}});$('.menu-list ul li.has-submenu > a').on('click.galka',function(e){if($(e.target).hasClass('submenu-toggle'))return;e.preventDefault();e.stopPropagation();const $li=$(this).parent();const $submenu=$li.find('ul.sub-menu');if($li.hasClass('expanded')){window.location.href=$(this).attr('href');}else{$('.menu-list ul li.has-submenu').removeClass('expanded');$('.menu-list ul.sub-menu').removeClass('expanded');$li.addClass('expanded');$submenu.addClass('expanded');} 3return false;});$('.menu-list ul li.has-submenu .submenu-toggle').on('click.galka',function(e){e.preventDefault();e.stopPropagation();const $li=$(this).closest('li');$li.toggleClass('expanded');$li.children('ul.sub-menu').toggleClass('expanded');return false;});$('.menu-list ul.sub-menu li a').on('click.galka',function(){return true;});$('.menu-list ul > li:not(.has-submenu) > a').on('click.galka',function(){return true;});}else{$('.menu-list ul li').removeClass('has-submenu expanded');$('.menu-list ul.sub-menu').removeClass('expanded');$('.menu-list .submenu-toggle').remove();}} 4initMobileMenu();let rAF=null;$(window).on('resize',function(){if(rAF)return;rAF=window.requestAnimationFrame(function(){rAF=null;initMobileMenu();});});});})(jQuery,window,document);
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.