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Àt7NN⢵c2QD\Xes1?ox  =?D] e B"1I%rnb+DR7b2#S7fkLA8lC+W*rNP K>JS#ٔ': RG:7ːD5ԹcwI³*ϳL{+ 5@f\(QAofٸ lWL#4)0&.dfw [[~PNw U^ܻ@-{[*".v }Bc05&K~FC3%HpSGBss.όF5W8H#S14Z.G){N$_T;!$[IC=ˍN,n[SM/Ƌ4:U%V1x,_NZ)J ,W)],ڌv?FO{~q5yQ>F֝ܡ7S' N!y߷Z{5ڸ؜@z\`U.½nd\'H+vZ}vꌙ, N^rDND,t+9Cs6wp.q)c$d$N|jfcF#uW9ݯI5V`!Bk2Ks_Cj@^X:R3h`!')`$V=lw:yQ)x‚J' BqA MF5NpS6mw mz/# var isHelpPage = $('body.current-page_help').length; $(document).ready(function() { $('body.current-page_help .target-content__inside').prepend($('.js-head-notification')); // fix notification var HIDDEN = '_hide'; var CLOSED = '_closed'; var ACTIVE = 'help-menu__active'; function isNodeNameEqual(node, nodeName) { return node.nodeName.toLowerCase() === nodeName; } function toggleNode($elem) { $elem.toggleClass(CLOSED).next('ul').toggleClass(HIDDEN); } // help layout $('body.current-page_help').removeClass('has-cms-menu_true has-cms-menu_false'); $('.current-page_help .target-content__cms-inside-text img').each(function (key, imgItem) { var ignoredNodes = ['td', 'th']; var imgParent = $(imgItem).parent(); if (ignoredNodes.indexOf(imgParent[0].nodeName.toLowerCase()) === -1) { imgParent.css({ display: 'block', overflow: 'auto' }); } }); $('.js-cms-help-menu-arr').click(function (e) { e.preventDefault(); e.stopImmediatePropagation(); toggleNode($(e.target).closest('a')); }); //collapse all menu items $('.navlist-menu-level-1 .help-menu__item__link').each(function (key, elem) { toggleNode($(elem)); }); // expand all list for active $('.' + ACTIVE).parentsUntil('.help-menu', 'ul').each(function (key, elem) { $(elem).removeClass(HIDDEN).prev('a').removeClass(CLOSED); }); toggleNode($('.' + ACTIVE + ' > a')); // help highlight code $('.code.panel .syntaxhighlighter.cpp').removeClass('cpp').addClass('objectivec').find('.cpp').removeClass('cpp'); $('.code.panel .syntaxhighlighter:not(.hljs)').each(function(i, block) { hljs.highlightBlock(block); }); }); $(document).ready(function() { $('.js-help-expand-block-toggle').each(function () { var $currTitle = $(this); var btnText = $currTitle.data('expand') || 'подробнее'; var $btn = $('
' + btnText +'
'); var $block = $currTitle.next(); var $newTitle = $('
'); $newTitle.append($currTitle.html()); $newTitle.append($btn); $currTitle.html($newTitle); $btn.click(function () { $btn.toggleClass('_expanded'); $block.toggleClass('_expanded'); }); }); }); //init toggle menu actions $(document).ready(function() { var lang = 'ru' || 'ru'; var currentBtnType = 'show'; var texts = { 'ru': { 'show': 'Показать меню', 'hide': 'Спрятать меню' }, 'en': { 'show': 'Show menu', 'hide': 'Hide menu' } }; var $TOGGLE_BTN = $('.js-target-help-menu-toggle-btn'); var $HELP_MENU = $('.help-menu'); var $HELP_CONTENT = $('.target-content__inside'); var $CONTENT_WRAP = $('.js-target-content'); function setToggleBtnText(type) { var text = texts[lang][type]; $TOGGLE_BTN.html('' + text + ''); currentBtnType = type; $HELP_CONTENT.toggleClass('_show-help-menu', type === 'hide'); } setToggleBtnText('show'); function closeMenu() { setToggleBtnText('show'); } $TOGGLE_BTN.click(function (e) { if (currentBtnType === 'show') { //if ($CONTENT_WRAP.scrollTop() > 0) { if ($(window).scrollTop() > 0) { /*$CONTENT_WRAP.stop().animate({ scrollTop: 0 }, 200, function () { setToggleBtnText('hide'); });*/ $('html,body').stop().animate({ scrollTop: 0 }, 200, function () { setToggleBtnText('hide'); }); } else { setToggleBtnText('hide'); } } else { setToggleBtnText('show'); } }); $HELP_CONTENT.click(function (e) { if (!$(e.target).hasClass('_show-help-menu')) { return; } closeMenu(); }); //$($CONTENT_WRAP).scroll(function () { $(window).scroll(function () { if (currentBtnType === 'show') { return; } //if ($CONTENT_WRAP.scrollTop() > $HELP_MENU.height() - 20) { // 20 - отступ if ($(window).scrollTop() > $HELP_MENU.height() - 20) { // 20 - отступ closeMenu(); } }); });