PageSourceSearch

https://mokryinos.ru/js/forms.min.js?ver=1790143891

js mokryinos.ru collected 2026-09-24 10:12:05 UTC 1,592 bytes, 1 lines download raw bytes

1function newsletterSubscribe(){let s=$(".subscribe__input").val();$(".subscribe__policy-input").prop("checked")&&$.ajax({url:"/site/newsletter-subscribe",type:"POST",data:{email:s},success:function(r){renderSubscriptionSuccess(r),addGtmDataLayerItems([{user_email:s},{region_id:CURRENT_INTERNET_RP_ID},{event:"newsletter-subscribe"}])},error:function(r){renderSubscriptionError(r.responseJSON.message)}})}function renderSubscriptionError(r){$(".subscribe__form").removeClass("has-error has-success").addClass("has-error"),$(".subscribe__form .help-block").text(r)}function renderSubscriptionSuccess(r){$(".subscribe__form").removeClass("has-error has-success").addClass("has-success"),$(".subscribe__form .help-block").text(r),$(".subscribe__input").val(""),$(".subscribe__policy-input").prop("checked",!1),$(".subscribe__btn").prop("disabled",!0)}function submitForm(r,s){r.attr("action",s),r.submit()}function scrollToFirstFormError(r){r=r.find(".has-error").first();1===r.size()&&$("html, body").animate({scrollTop:r.offset().top-$("header").height()-30},700)}$(document).on("change",".subscribe__policy-input",function(){$(".subscribe__btn").prop("disabled",!$(this).prop("checked"))}),$(function(){$(document).on("click","a[data-fancybox]",function(r){var s=$(this).data("mob-modal");$.fancybox.isMobile&&!(void 0===s?0:s)&&($.fancybox.destroy(),window.location.href=$(this).attr("href"))})}),$("#order-form, #signup-form").on("afterValidate",function(r,s){scrollToFirstFormError($(this))}),$(document).ready(function(){var r=$("#profile-form");1===r.size()&&scrollToFirstFormError(r)});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.