{"id":1307,"date":"2021-03-24T16:20:26","date_gmt":"2021-03-24T16:20:26","guid":{"rendered":"http:\/\/127.0.0.1\/?page_id=1307"},"modified":"2021-06-25T08:10:57","modified_gmt":"2021-06-25T08:10:57","slug":"tasks-help-ru","status":"publish","type":"page","link":"https:\/\/tahometer.com\/ru\/help-center\/tasks-help-ru\/","title":{"rendered":"\u0417\u0430\u0434\u0430\u0447\u0438"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1307\" class=\"elementor elementor-1307\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-99864b7 detailed-help-header elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"99864b7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6886e32\" data-id=\"6886e32\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-71f87d7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"71f87d7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-212cc3a help-center-breadcrumb\" data-id=\"212cc3a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-217b168 elementor-widget elementor-widget-wp-widget-taho_breadcrumb_widget\" data-id=\"217b168\" data-element_type=\"widget\" data-widget_type=\"wp-widget-taho_breadcrumb_widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t <div class=\"taho-breadcrumb\"><a href=\"\/ru\/help-center\/\" rel=\"nofollow\">\u0426\u0435\u043d\u0442\u0440 \u041f\u043e\u043c\u043e\u0449\u0438<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-9280718\" data-id=\"9280718\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e5c3d62 detailed-help-search elementor-widget elementor-widget-wp-widget-spg_widget_search\" data-id=\"e5c3d62\" data-element_type=\"widget\" data-widget_type=\"wp-widget-spg_widget_search.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t        <script>\n            function getCurrentLanguage() {\n                let className = $('body').attr(\"class\")\n                    .split(\/\\s+\/)\n                    .filter(c => c.startsWith('translatepress-'))\n                    [0];\n                return \/translatepress-(.+)_(.+)\/.exec(className)[1];\n            }\n\n            var redirect_to_help = function (url, index) {\n                window.location.href = `${url}?article=${index}`;\n            }\n\n            let allSuggestions;\n            let data = {\n                'lang': getCurrentLanguage(),\n            };\n            jQuery.get(\"\/index.php\/wp-json\/help-center\/v1\/search\/\", data, function (response) {\n                allSuggestions = response;\n            }, 'json');\n\n            jQuery(document).ready(function ($) {\n                let suggestions = $(\".search-suggestions\")\n                $(\".custom-search-input\").bind(\" input paste\", function () {\n                    let searchQuery = $(\".custom-search-input\").val();\n                    if (searchQuery.trim().length >= 3) {\n                        let html = getSuggestionHTML(allSuggestions, searchQuery)\n                        suggestions.css(\"display\", \"flex\");\n                        suggestions.html(html);\n                        suggestions.css(\"display\", \"flex\");\n                    } else {\n                        suggestions.css(\"display\", \"none\");\n                    }\n                });\n\n                $(window).click(function () {\n                    suggestions.css(\"display\", \"none\");\n                });\n\n                $('.searchform').click(function (event) {\n                    event.stopPropagation();\n                });\n\n                function getSuggestionHTML(allSuggestions, searchText) {\n                    \/\/ Emit click if were pressed 'Enter' on focused suggestion\n                    handleEnter = function (e) {\n                        var key = e.key || e.keyCode;\n                        if (key == 'Enter' || key == '13') {\n                            document.activeElement.click();\n                        }\n                    }\n\n                    allSuggestions = allSuggestions\n                        .filter((suggestion) => suggestion.description.toLowerCase().includes(searchText.toLowerCase()))\n                        .sort((a, b) =>\n                            a.description.toLowerCase().indexOf(searchText.toLowerCase())\n                            - b.description.toLowerCase().indexOf(searchText.toLowerCase()))\n                        .slice(0, 6);\n\n                    let result = \"\";\n                    for (const suggestion of allSuggestions) {\n                        const description = suggestion.description.replace(new RegExp(`(${searchText})`, \"gi\"), \"<span class='searchable-word'>$1<\/span>\");\n                        result += `<div class=\"search-row\" onclick=\"redirect_to_help('${suggestion.url}',${suggestion.index})\"\n                                        onkeypress=\"handleEnter(event)\"\n                                        title=\"${suggestion.description}\" tabindex=\"0\">\n                                        <div class=\"search-suggestion-element\">\n                                            <p class=\"search-page-topic\">${description}<\/p>\n                                            <span class=\"search-page-name\">&nbsp;- ${suggestion.articleName}<\/span>\n                                        <\/div>\n                                   <\/div>`;\n                    }\n                    return result;\n\n                }\n\n                $(\".searchform\").submit(function() {\n                    let search_query = $('.custom-search-input').val();\n                    if (\/\\\/ru\\\/help-center\\\/\/.exec(window.location.href)) {\n                        window.location.href = `\/ru\/help-center\/search-ru?query=${search_query}`;\n                    } else {\n                        window.location.href = `\/help-center\/search?query=${search_query}`;\n                    }\n                    return false; \/\/ To prevent form from redirect or refresh the page\n                });\n            })\n        <\/script>\n        <form class=\"searchform\"\n              method=\"get\"\n              style=\"padding: 10px;\" action=\"\">\n            <div class=\"input-group input-group-md mr-0\">\n                <input name=\"search-query\"\n                       type=\"text\"\n                       value=\"\"\n                       class=\"form-control custom-search-input\" placeholder=\"Search\"\n                       autocomplete=\"off\"\n                       aria-label=\"Search\">\n            <\/div>\n            <div class=\"search-suggestions\">\n            <\/div>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"ru\"\/><\/form>\n        \u200b\n        \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-03722b1 elementor-section-stretched detailed-help-body elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"03722b1\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-eb81ce1\" data-id=\"eb81ce1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f2a4c2b elementor-widget elementor-widget-help-page-articles\" data-id=\"f2a4c2b\" data-element_type=\"widget\" data-widget_type=\"help-page-articles.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t        <h1 class=\"help-articles-title\">\u0417\u0430\u0434\u0430\u0447\u0438<\/h1>\n        <div class=\"help-articles-content-container\">\n            <div class=\"help-articles-left-container\"><div class=\"detailed-help-page-articles\" id=\"help-page-article-side-title-0\"><p>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u0447?<\/p><\/div><\/div>\n            <div class=\"help-articles-right-container\"><h2 class=\"detailed-help-page-article-title hidden\" id=\"help-page-article-title-0\">\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u0447?<\/h2><p class=\"detailed-help-page-article-description hidden\" id=\"help-page-article-description-0\">\u041d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438, \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0430\u043c \u0437\u0430\u0434\u0430\u0447. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443, \u043d\u0430\u0436\u0430\u0432 \u00ab\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443\u00bb. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0430\u0433\u0435\u043d\u0442\u0430, \u043d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u0430\u0433\u0435\u043d\u0442\u0435 \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.<\/p><\/div>\n        <\/div>\n\n        <script>\n            jQuery(document).ready(function ($) {\n                if (\/help-center\\\/.+-help\/.test(window.location.href)) {\n                    let url = new URL(window.location.href);\n                    let article = url.searchParams.get(\"article\");\n                    console.log(article);\n                    if (article == null) {\n                        article = 1;\n                    }\n                    selectArticle(article - 1)\n                }\n\n                $('.detailed-help-page-articles').click((event) => {\n                    let parentEl = event.target.closest(\"div.detailed-help-page-articles\")\n                    let indexOfClickedEl = $('.detailed-help-page-articles').index(parentEl);\n\n                    \/\/remove styles\n                    $('.detailed-help-page-articles-selected').removeClass('detailed-help-page-articles-selected');\n                    $('.detailed-help-page-articles').each(function( index ) {\n                        console.log(index, indexOfClickedEl);\n                        if (index === indexOfClickedEl) {\n                            $( this ).addClass( \"detailed-help-page-articles-selected\" );\n                            $('#' + ('help-page-article-title-' + indexOfClickedEl) + '.detailed-help-page-article-title').removeClass(\"hidden\");\n                            $('#' + ('help-page-article-description-' + indexOfClickedEl) + '.detailed-help-page-article-description').removeClass(\"hidden\");\n                        } else {\n                            $('#' + ('help-page-article-title-' + index) + '.detailed-help-page-article-title').addClass(\"hidden\");\n                            $('#' + ('help-page-article-description-' + index) + '.detailed-help-page-article-description').addClass(\"hidden\");\n                        }\n                    });\n\n                    let newUrl = new URL(window.location.href);\n                    newUrl.searchParams.set('article', indexOfClickedEl+1);\n                    window.history.pushState(\"\", \"\", newUrl);\n                })\n\n                function selectArticle(indexOfEl) {\n\n                    $('.detailed-help-page-articles-selected').removeClass('detailed-help-page-articles-selected');\n                    $('.detailed-help-page-articles').get(indexOfEl).classList.add('detailed-help-page-articles-selected');\n\n                    $('.detailed-help-page-articles').each(function( index ) {\n                        if (index === indexOfEl) {\n                            $( this ).addClass( \"detailed-help-page-articles-selected\" );\n                            $('#' + ('help-page-article-title-' + indexOfEl) + '.detailed-help-page-article-title').removeClass(\"hidden\");\n                            $('#' + ('help-page-article-description-' + indexOfEl) + '.detailed-help-page-article-description').removeClass(\"hidden\");\n                        }\n                    });\n                }\n            })\n        <\/script>\n        \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t<div class=\"clearfix\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Tasks \u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u0447? \u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u0447? \u041d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":593,"menu_order":17,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1307","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/pages\/1307"}],"collection":[{"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/comments?post=1307"}],"version-history":[{"count":7,"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/pages\/1307\/revisions"}],"predecessor-version":[{"id":1661,"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/pages\/1307\/revisions\/1661"}],"up":[{"embeddable":true,"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/pages\/593"}],"wp:attachment":[{"href":"https:\/\/tahometer.com\/ru\/wp-json\/wp\/v2\/media?parent=1307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}