<script>
document.addEventListener('DOMContentLoaded', function () {
    var params = new URLSearchParams(window.location.search);
    if (params.get('comment_captcha_error') !== '1') return;
    var form = document.querySelector('form#commentform');
    if (!form) return;
    var message = form.querySelector('.weldman-recaptcha-error');
    if (!message) {
        message = document.createElement('p');
        message.className = 'weldman-recaptcha-error';
        message.setAttribute('role', 'alert');
        message.setAttribute('aria-live', 'assertive');
        message.style.color = '#b32d2e';
        var submit = form.querySelector('button[type="submit"], input[type="submit"]');
        if (submit) submit.insertAdjacentElement('beforebegin', message);
        else form.appendChild(message);
    }
    var path = window.location.pathname;
    var lang = /^\/ru(?:\/|$)/.test(path) ? 'ru' : (/^\/en(?:\/|$)/.test(path) || /^\/welding-procedures(?:-2)?\/?$/.test(path) ? 'en' : (document.documentElement.lang || '').substring(0, 2));
    message.textContent = lang === 'ru'
        ? 'Капча не пройдена. Поставьте галочку «Я не робот» и отправьте комментарий ещё раз.'
        : (lang === 'et'
            ? 'CAPTCHA ei läbitud. Märkige ruut „Ma pole robot“ ja saatke kommentaar uuesti.'
            : 'CAPTCHA was not passed. Please check “I’m not a robot” and submit the comment again.');
    message.scrollIntoView({ behavior: 'smooth', block: 'center' });
    params.delete('comment_captcha_error');
    var clean = window.location.pathname + (params.toString() ? '?' + params.toString() : '') + window.location.hash;
    window.history.replaceState({}, document.title, clean);
});
</script>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://weldman.ee/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://weldman.ee/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/ru/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/en/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/ru/wp-sitemap-users-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/wp-sitemap-users-1.xml</loc></sitemap><sitemap><loc>https://weldman.ee/en/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
