PageSourceSearch

https://www.infomir.eu/js/en_forms.js?v=100221

js infomir.eu collected 2026-10-01 12:33:45 UTC 9,178 bytes, 130 lines download raw bytes

1$(document).ready(function() {
2    if (typeof _hsq !== 'undefined') { var _hsq="";}
3    $("form").each(function(e, o) {
4        var a = (o = $(o)).attr("action");
5        if ("/rus/search/" == a || "/support.php" == a || "send.php" == a || "/ukr/search/" == a || "/ara/search/" == a || "/ger/search/" == a || "/prt/search/" == a || "/esp/search/" == a || "/fra/search/" == a || "/eng/search/" == a || "https://www.paypal.com/cgi-bin/webscr" == a);
6        else {
7            function d(e) {
8                switch (!0) {
9                    case (e = $(e)).is("select"):
10                        return "" == e.val() || /^[\s]+$/.test(e.val());
11                    case e.is('[type="email"]'):
12                        return !/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e.val());
13                    case e.is(":checkbox"):
14                        return 1 == e.prop("checked") ? e.parent().removeClass("error-field") : e.parent().addClass("error-field"), "" == e.val();
15                    case e.is('[name="mac[]"]'):
16                        return "" == e.val() || parseInt(e.val().length) < parseInt("17");
17                    case e.is('[name="serial[]"]'):
18                        return "" == e.val() || parseInt(e.val().length) < parseInt("13");
19                    case e.is('[type="number"]'):
20                        return "" == e.val() || parseInt(e.val()) < parseInt(e.attr("min")) || parseInt(e.val()) > parseInt(e.attr("max"));
21                    default:
22                        return "" == e.val() || /^[\s]+$/.test(e.val())
23                }
24                return error
25            }
26
27            function l(e, a) {
28                var n = {};
29                switch (!0) {
30                    case (a = $(a)).is(":radio"):
31                        a.is(":checked") && (n[a.attr("name")] = a.val());
32                        break;
33                    case a.is('[type="number"]'):
34                        n[a.attr("name")] = a.val();
35                        break;
36                    default:
37                        n[a.attr("name")] = a.val()
38                }
39                return n
40            }
41            var c = $("input,textarea,select", o),
42                i = c.filter('[required="required"]'),
43                n = $('button[type="submit"]', o);
44            $(".cancel_but", o).click(function(e) {
45                var n = {};
46                $.each(c.map(l).get(), function(e, a) {
47                    $.each(a, function(e, a) {
48                        n[e] = a
49                    })
50                });
51                var a = o.serialize();
52                $.ajax({
53                    type: "POST",
54                    url: "/post.php",
55                    cache: !1,
56                    data: a,
57                    success: function(e) {}
58                })
59            }), n.unbind("click").click(function(e) {
60                e.preventDefault();
61                var a = $(this);
62                if (a.attr("rel")) {
63                    var n = $(a.attr("rel"), o),
64                        r = $(a.data("next"), o);
65                    if (-1 !== (t = n.find(i).map(function(e, a) {
66                            var n = d(a);
67                            return n && $(a.parentNode).addClass("error-field"), n
68                        }).get()).indexOf(!0)) return;
69                    n.fadeOut(), r.fadeIn()
70                } else {
71                    a.addClass("load");
72                    var s = [],
73                        t = i.map(function(e, a) {
74                            var n = d(a);
75                            return n && s.push(a.parentNode), n
76                        }).get();
77                    setTimeout(function() {
78                        if (a.removeClass("load"), $.each(s, function() {
79                                $(this).addClass("error-field")
80                            }), -1 === t.indexOf(!0)) {
81                            var n = {};
82                            $.each(c.map(l).get(), function(e, a) {
83                                $.each(a, function(e, a) {
84                                    n[e] = a
85                                })
86                            });
87                            var e = o.serialize();
88                            $.ajax({
89                                type: "POST",
90                                url: "/ajax.php",
91                                cache: !1,
92                                data: e,
93                                success: function(e) {
94                                    $(o).html('<div class="clear"></div><div class="correct_message"><p></p><p>Thank you, your request has been accepted!</p></div>')
95                                    window.dataLayer = window.dataLayer || [];
96                                    if("Subscribers_now_blog" == n.goal) {window.dataLayer.push({'event':'send_subscribe_blog'})};
97                                    if("wp-download" == n.goal) {window.dataLayer.push({'event':'send_form_download_whitepaper'})};
98                                    console.log(window.dataLayer)
99                                }
100                            }),
101                            "Lead" == n.fb_goal && fbq("track", "Lead"), 
102                            "Contact" == n.fb_goal && fbq("track", "Contact"), 
103                            "send_sales_form" == n.goal && (ga("send", "event", "send_sales_form", "send_sales_form"), _hsq.push(["trackEvent", { id: 'send_sales_form' ,value: 1 } ] ) ),
104                            "send_feedback_form" == n.goal && (ga("send", "event", "send_feedback_form", "send_feedback_form"), _hsq.push(["trackEvent", { id: "send_feedback_form", value: 1 }])),
105                            "Send_Sales" == n.goal && (ga("send", "event", "Send_Sales", "Send_Sales"), _hsq.push(["trackEvent", { id: "Send_Sales", value: 1 }])),
106                            "Send_Download" == n.goal && (ga("send", "event", "Send_Download", "Send_Download"), _hsq.push(["trackEvent", { id: "Send_Download", value: 1 }])),
107                            "Provider_Key_Send" == n.goal && (ga("send", "event", "Provider_Key_Send", "Provider_Key_Send"), _hsq.push(["trackEvent", { id: "Provider_Key_Send", value: 1 }])),
108                            "send_buy_form" == n.goal && (ga("send", "event", "send_buy_form", "send_buy_form"), _hsq.push(["trackEvent", { id: "send_buy_form ", value: 1 }])),
109                            "send_technical_support_form" == n.goal && (ga("send", "event", "send_technical_support_form", "send_technical_support_form"), _hsq.push(["trackEvent", { id: "send_technical_support_form", value: 1 }])),
110                            "send_technical_support_form_standard" == n.goal && (ga("send", "event", "send_technical_support_form_standard", "send_technical_support_form_standard"), _hsq.push(["trackEvent", { id: "send_technical_support_form", value: 1 }])),
111                            "send_technical_support_form_premium" == n.goal && (ga("send", "event", "send_technical_support_form_premium", "send_technical_support_form_premium"), _hsq.push(["trackEvent", { id: "send_technical_support_form", value: 1 }])),
112                            "send_magic_solution" == n.goal && (ga("send", "event", "send_magic_solution", "send_magic_solution"), _hsq.push(["trackEvent", { id: "send_magic_solution", value: 1 }])),
113                            "send_commercial_proposition_form" == n.goal && (ga("send", "event", "send_commercial_proposition_form", "send_commercial_proposition_form"), _hsq.push(["trackEvent", { id: "send_commercial_proposition_form", value: 1 }])),
114                            "Subscribers_now_blog" == n.goal && (ga("send", "event", "Subscribers_now_blog", "Subscribers_now_blog"), _hsq.push(["trackEvent", { id: "Subscribers_now_blog", value: 1 }])),
115                            "send_download_stalker_form" == n.goal && (ga("send", "event", "send_download_stalker_form", "send_download_stalker_form"), _hsq.push(["trackEvent", { id: "send_download_stalker_form", value: 1 }])),
116                            "send_subs_journal_form" == n.goal && (ga("send", "event", "send_subs_journal_form", "send_subs_journal_form"), _hsq.push(["trackEvent", { id: "send_subs_journal_form", value: 1 }])),
117                            "send_subscribe_news_form" == n.goal && (ga("send", "event", "send_subscribe_news_form", "send_subscribe_news_form"), _hsq.push(["trackEvent", { id: "send_subscribe_news_form", value: 1 }])),
118                            "send_donwload_journal_form" == n.goal && (ga("send", "event", "send_donwload_journal_form", "send_donwload_journal_form"),_hsq.push(["trackEvent", { id: "send_donwload_journal_form", value: 1 }]))
119                            
120                        }
121                    }, 1e3)
122                }
123            }), i.unbind("focus").focus(function(e) {
124                $(this.parentNode).removeClass("error-field")
125            }).change(function(e) {
126                $(this.parentNode).removeClass("correct-field"), d(this) || $(this.parentNode).addClass("correct-field")
127            })
128        }
129    })
130});

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.