{"id":9200,"date":"2026-01-30T23:29:34","date_gmt":"2026-01-30T20:29:34","guid":{"rendered":"https:\/\/1.cbm.ua\/?p=9200"},"modified":"2026-02-18T11:50:37","modified_gmt":"2026-02-18T08:50:37","slug":"%d0%bf%d1%80%d0%b5%d0%be%d0%b1%d1%80%d0%b0%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5-%d1%81%d1%82%d1%80%d0%be%d0%ba%d0%b8-%d0%bf%d1%83%d1%82%d1%8c-%d0%b2-%d0%b4%d1%80%d1%83%d0%b3%d0%be%d0%b9-%d1%84","status":"publish","type":"post","link":"https:\/\/1.cbm.ua\/?p=9200","title":{"rendered":"\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0443\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 (phatch)."},"content":{"rendered":"\n<div class=\"path-converter-container\" style=\"background: #ffffff; padding: 25px; border: 2px solid #2271b1; border-radius: 12px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 20px auto; box-shadow: 0 4px 15px rgba(0,0,0,0.1);\">\n    <h3 style=\"margin-top: 0; color: #1e1e1e; border-bottom: 2px solid #f0f0f1; padding-bottom: 10px;\">\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0443\u0442\u0435\u0439<\/h3>\n    \n    <div style=\"display: flex; gap: 10px; margin-bottom: 25px;\">\n        <input type=\"text\" id=\"pathInput\" value=\"C:\\Users\\Documents\\Projects\\NewFolder\" placeholder=\"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043f\u0443\u0442\u044c \u0441\u044e\u0434\u0430...\" style=\"flex-grow: 1; padding: 12px; border: 2px solid #8c8f94; border-radius: 6px; font-size: 16px; background: #fff; color: #000;\">\n        <button onclick=\"convertPath()\" style=\"background-color: #2271b1; color: white; border: none; padding: 0 25px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 16px; transition: 0.2s;\">\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c<\/button>\n    <\/div>\n\n    <div id=\"results\">\n        <div style=\"margin-bottom: 20px;\">\n            <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;\">\n                <label style=\"font-weight: bold; color: #1d2327;\">\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \\ :<\/label>\n                <button onclick=\"copyText('backSlash', this)\" style=\"background-color: #2271b1; color: #ffffff; border: 1px solid #135e96; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 12px; transition: all 0.2s;\">\u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c<\/button>\n            <\/div>\n            <div id=\"backSlash\" style=\"background: #f0f6fa; padding: 12px; border: 1px solid #adc6d9; border-radius: 6px; word-break: break-all; min-height: 20px; font-family: monospace; color: #000;\"><\/div>\n        <\/div>\n\n        <div style=\"margin-bottom: 20px;\">\n            <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;\">\n                <label style=\"font-weight: bold; color: #1d2327;\">\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \/ :<\/label>\n                <button onclick=\"copyText('forwardSlash', this)\" style=\"background-color: #2271b1; color: #ffffff; border: 1px solid #135e96; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 12px; transition: all 0.2s;\">\u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c<\/button>\n            <\/div>\n            <div id=\"forwardSlash\" style=\"background: #f0f6fa; padding: 12px; border: 1px solid #adc6d9; border-radius: 6px; word-break: break-all; min-height: 20px; font-family: monospace; color: #000;\"><\/div>\n        <\/div>\n\n        <div style=\"margin-bottom: 20px;\">\n            <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;\">\n                <label style=\"font-weight: bold; color: #1d2327;\">\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \\\\ :<\/label>\n                <button onclick=\"copyText('doubleBackSlash', this)\" style=\"background-color: #2271b1; color: #ffffff; border: 1px solid #135e96; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 12px; transition: all 0.2s;\">\u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c<\/button>\n            <\/div>\n            <div id=\"doubleBackSlash\" style=\"background: #f0f6fa; padding: 12px; border: 1px solid #adc6d9; border-radius: 6px; word-break: break-all; min-height: 20px; font-family: monospace; color: #000;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nfunction convertPath() {\n    const input = document.getElementById('pathInput').value.trim();\n    if (!input) return;\n\n    \/\/ \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0441\u043b\u044d\u0448\u0435\u0439\n    let cleanPath = input.replace(\/\\\\+\/g, '\/').replace(\/\\\/+\/g, '\/');\n    const parts = cleanPath.split('\/');\n\n    document.getElementById('backSlash').innerText = parts.join('\\\\');\n    document.getElementById('forwardSlash').innerText = parts.join('\/');\n    document.getElementById('doubleBackSlash').innerText = parts.join('\\\\\\\\');\n}\n\nfunction copyText(elementId, btn) {\n    const text = document.getElementById(elementId).innerText;\n    navigator.clipboard.writeText(text).then(() => {\n        const originalText = btn.innerText;\n        const originalBg = btn.style.backgroundColor;\n        \n        btn.innerText = '\u0413\u041e\u0422\u041e\u0412\u041e!';\n        btn.style.backgroundColor = '#00a32a'; \n        \n        setTimeout(() => {\n            btn.innerText = originalText;\n            btn.style.backgroundColor = originalBg;\n        }, 1000);\n    });\n}\n\n\/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435\ndocument.addEventListener('DOMContentLoaded', convertPath);\nconvertPath();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0443\u0442\u0435\u0439 \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \\ : \u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c \u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \/ : \u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c \u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \\\\ : \u041a\u041e\u041f\u0418\u0420\u041e\u0412\u0410\u0422\u042c<\/p>\n","protected":false},"author":1,"featured_media":9384,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[199,184],"tags":[],"class_list":["post-9200","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-199","category--script"],"_links":{"self":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/9200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9200"}],"version-history":[{"count":8,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/9200\/revisions"}],"predecessor-version":[{"id":9386,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/9200\/revisions\/9386"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/media\/9384"}],"wp:attachment":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}