"<link href=\"/js/intlTelInput/css/intlTelInput.min.css?v=1589098110\" rel=\"stylesheet\">\n<div class=\"modal modal-ajax modal-form\">\n    <div class=\"modal__content\">\n        <div class=\"modal__title\">\n            <h3>Купить в 1 клик</h3>\n        </div>\n        <form id=\"send-lead\" action=\"/ajax/lead/buy-one-click\" method=\"post\">\n<input type=\"hidden\" name=\"_csrf\" value=\"DcKLWxkBlGU2GmPW7vLmfifLEMJm3iHFUl5AvFEhdFVJlfouSUDBABt3W-ajut9ISqBZ7yGqdb8VMyzRZ25EHA==\">        <div class=\"user-form\">\n            <div class=\"form-group field-leadform-product_id required\">\n\n<input type=\"hidden\" id=\"leadform-product_id\" class=\"form-control\" name=\"LeadForm[product_id]\" value=\"137026\">\n\n<div class=\"help-block\"></div>\n</div>            <div class=\"form-group field-leadform-name required\">\n<label class=\"control-label\" for=\"leadform-name\">Ваше имя</label>\n<input type=\"text\" id=\"leadform-name\" class=\"form-control\" name=\"LeadForm[name]\" maxlength=\"255\" aria-required=\"true\">\n\n<div class=\"help-block\"></div>\n</div>            \n<div class=\"form-group form-group-phone required\">\n    <label class=\"control-label\" for=\"intl-phone\">Телефон</label>\n    <input type=\"tel\" class=\"form-control phone-mask\" data-type=\"\" value=\"\" autocomplete=\"off\">\n    <div class=\"form-group field-leadform-phone required\">\n\n<input type=\"hidden\" id=\"leadform-phone\" class=\"phone-mask-hidden\" name=\"LeadForm[phone]\">\n\n<div class=\"help-block\"></div>\n</div>    </div>\n\n            <p class=\"small\" style=\"margin:0\">Отправляя данную форму, вы принимаете <a href=\"/o-kompanii/polzovatelskoe-soglasenie\">условия обработки и использования</a> персональных данных.</p>\n        </div>\n        <div class=\"modal__footer\">\n            <div class=\"modal__footer-btn\">\n                <button type=\"submit\" class=\"btn btn_blue\">Отправить</button>            </div>\n        </div>\n        </form>    </div>\n</div>\n\n<script>\n    // GTM\n    (dataLayer = window.dataLayer || []).push({\n        'eCategory': 'LeadBuyOneClick',\n        'eAction': 'click',\n        'eNI': '0',\n        'event': 'GAEvent'\n    });\n</script>\n\n<script src=\"/js/intlTelInput/js/utils.js?v=1589098110\"></script>\n<script src=\"/js/intlTelInput/js/intlTelInput.min.js?v=1589098110\"></script>\n<script src=\"/assets/27f7344f/jquery.min.js?v=1693229950\"></script>\n<script src=\"/assets/c87b0762/yii.js?v=1721332200\"></script>\n<script src=\"/assets/c87b0762/yii.activeForm.js?v=1721332200\"></script>\n<script>    initPhone('leadform-phone', 0);\njQuery('#send-lead').yiiActiveForm([{\"id\":\"leadform-product_id\",\"name\":\"product_id\",\"container\":\".field-leadform-product_id\",\"input\":\"#leadform-product_id\",\"enableAjaxValidation\":true,\"validateOnChange\":false,\"validateOnBlur\":false},{\"id\":\"leadform-name\",\"name\":\"name\",\"container\":\".field-leadform-name\",\"input\":\"#leadform-name\",\"enableAjaxValidation\":true,\"validateOnChange\":false,\"validateOnBlur\":false},{\"id\":\"leadform-phone\",\"name\":\"phone\",\"container\":\".field-leadform-phone\",\"input\":\"#leadform-phone\",\"encodeError\":false,\"enableAjaxValidation\":true,\"validateOnChange\":false,\"validateOnBlur\":false}], {\"validationUrl\":\"\\/ajax\\/lead\\/buy-one-click\\/validate\"});\n    $('form#send-lead').on('beforeSubmit', function(event, jqXHR, settings) {\n        var form = $(this),\n            btn_submit = form.find('button[type=\"submit\"]');\n        if (form.find('.has-error').length) {\n            return false;\n        }\n        btn_submit.addClass('btn-loading').prop('disabled', true);\n        $.ajax({\n            url: form.attr('action'),\n            method: 'POST',\n            timeout: 600000,\n            cache: false,\n            contentType: false,\n            processData: false,\n            data: new FormData(form[0]),\n            success: function(response) {\n                OpenModal(response, 'inline');\n            }\n        });\n        return false;\n    });</script>"