PageSourceSearch

https://efamedica.ru/bitrix/templates/med_grey_s1/js/custom-imedicajs.min.js

js efamedica.ru collected 2026-10-04 20:54:23 UTC 10,889 bytes, 337 lines download raw bytes

1/*
2Imedica Custom JS
3*/
4function activate() {
5    var t = this,
6        e = "btn-activated";
7    classie.has(this, e) || (classie.add(this, e), setTimeout(function() {
8        classie.remove(t, e)
9    }, 1e3))
10}
11$(document).ready(function() {
12    $("html").animate({
13        scrollTop: 0
14    }, 1), $("body").animate({
15        scrollTop: 0
16    }, 1)
17}), $(window).on("load", function() {
18    setTimeout(function() {
19        $("html,body").scrollTop(0)
20    }, 0)
21}), $(function() {
22    $("#imedica-dep-accordion").accordion({
23        heightStyle: "content",
24        autoHeight: !1,
25        clearStyle: !0
26    })
27}), $("#myTab").tabCollapse(), $(function() {
28    $("#accordion-blog").accordion({
29        heightStyle: "content",
30        autoHeight: !1,
31        clearStyle: !0
32    })
33}), $(function() {
34    $("#accordion-blog2").accordion({
35        heightStyle: "content",
36        autoHeight: !1,
37        clearStyle: !0
38    })
39}), $(function() {
40    $("#accordion2").accordion({
41        heightStyle: "content"
42    })
43}), $(function() {
44    $("#accordion").accordion({
45        heightStyle: "content",
46        autoHeight: !1,
47        clearStyle: !0
48    })
49}), $(function() {
50    $.scrollUp({
51        scrollName: "scrollUp",
52        scrollDistance: 400,
53        scrollFrom: "top",
54        scrollSpeed: 400,
55        easingType: "linear",
56        animation: "fade",
57        animationInSpeed: 300,
58        animationOutSpeed: 300,
59        scrollText: "Scroll to top",
60        scrollTitle: !1,
61        scrollImg: !1,
62        activeOverlay: !1,
63        zIndex: 2147483647
64    })
65}), $(function() {
66    var t = {
67        header: "ui-icon-circle-arrow-e",
68        headerSelected: "ui-icon-circle-arrow-s"
69    };
70    $("#imedica-dep-accordion").accordion({
71        icons: t,
72        collapsible: !0
73    }), $("#toggle").button().toggle(function() {
74        $("#imedica-dep-accordion").accordion("option", "icons", !1)
75    }, function() {
76        $("#imedica-dep-accordion").accordion("option", "icons", t)
77    })
78}), $(function() {
79    $("#headerstic").data("size", "big")
80}), $(window).scroll(function() {
81    $(document).scrollTop() > 0 ? "big" == $("#headerstic").data("size") && ($("#headerstic").data("size", "small"), $("#headerstic .navbar").stop().animate({
82        height: "60px"
83    }, 200), 
84
85
86/**/
87/*
88    $("#headerstic").css("box-shadow", "4px 5px 6px -4px #ccc"), $("#headerstic .logo").stop().animate({ margin: "10px 0 10px 0" }, 200), 
89*/
90/**/
91
92
93    $("#headerstic .nav>li>a").stop().animate({
94        padding: "20px 10px 20px 10px"
95    }, 200), 
96
97
98
99/**/
100/*
101    $("#headerstic .logo").stop().animate({ width: "170px" }, 200), 
102*/
103/**/
104
105
106
107    $("#headerstic").addClass("tiny-nav")) : "small" == $("#headerstic").data("size") && ($("#headerstic").data("size", "big"),
108
109
110/**/
111/*
112    $("#headerstic .logo").stop().animate({width: "170px"}, 200), $("#headerstic").css("box-shadow", "none"), $("#headerstic .navbar").animate({}, 1), 
113    $("#headerstic .logo").stop().animate({ margin: "10px 0 10px 0" }, 200), 
114*/
115/**/
116
117
118
119    $("#headerstic .nav>li>a").animate({
120        padding: "20px 10px 20px 10px"
121    }, 200), $("#headerstic").removeClass("tiny-nav"))
122}), $(window).load(function() {
123    $("#headerstic").sticky({
124        topSpacing: 0
125    })
126}), $(".navbar-header button").click(function() {
127    var t = $($(this).data("target"));
128    t.hasClass("in") || $(".container .in").removeClass("in").height(0)
129}), jQuery(document).ready(function() {
130    jQuery(".banner").revolution({
131        delay: 20000,
132        startwidth: 1170,
133        startheight: 506,
134        autoHeight: "off",
135        fullScreenAlignForce: "off",
136        onHoverStop: "on",
137        thumbWidth: 100,
138        thumbHeight: 50,
139        thumbAmount: 3,
140        hideThumbsOnMobile: "off",
141        hideBulletsOnMobile: "off",
142        hideArrowsOnMobile: "off",
143        hideThumbsUnderResoluition: 0,
144        hideThumbs: 0,
145        navigationType: "bullet",
146        navigationArrows: "solo",
147        navigationStyle: "square-old",
148        navigationHAlign: "center",
149        navigationVAlign: "bottom",
150        navigationHOffset: 30,
151        navigationVOffset: 30,
152        soloArrowLeftHalign: "left",
153        soloArrowLeftValign: "center",
154        soloArrowLeftHOffset: 20,
155        soloArrowLeftVOffset: 0,
156        soloArrowRightHalign: "right",
157        soloArrowRightValign: "center",
158        soloArrowRightHOffset: 20,
159        soloArrowRightVOffset: 0,
160        touchenabled: "on",
161        stopAtSlide: -1,
162        stopAfterLoops: -1,
163        hideCaptionAtLimit: 0,
164        hideAllCaptionAtLilmit: 0,
165        hideSliderAtLimit: 0,
166        parallax: "mouse",
167        parallaxBgFreeze: "on",
168        parallaxLevels: [2, 1],
169        parallaxDisableOnMobile: "off",
170        dottedOverlay: "none",
171        fullWidth: "off",
172        forceFullWidth: "off",
173        fullScreen: "off",
174        fullScreenOffsetContainer: "#topheader-to-offset",
175        shadow: 0
176    })
177}), $("#hidden-search").bind("enterKey", function() {
178    $.ajax({
179        url: "../search.html",
180        success: function() {
181            document.location.href = "search.html"
182        }
183    })
184}), $("#hidden-search").keyup(function(t) {
185    13 == t.keyCode && $(this).trigger("enterKey")
186}), $(document).ready(function() {
187    $("#face-head").tooltip(), $("#tweet-head").tooltip(), $("#link-head").tooltip(), $("#gplus-head").tooltip(), $("#rss-head").tooltip(), $("#face-foot").tooltip(), $("#tweet-foot").tooltip(), $("#link-foot").tooltip(), $("#gplus-foot").tooltip(), $("#rss-foot").tooltip(), $("#client-logo1").tooltip(), $("#client-logo2").tooltip(), $("#client-logo3").tooltip(), $("#client-logo4").tooltip(), $("#client-logo5").tooltip(), $("#client-logo6").tooltip()
188}), $(".tool-top").tooltip(), $(".tool-left").tooltip(), $(".tool-bottom").tooltip(), $(".tool-right").tooltip(), $(document).ready(function() {
189    var t = window.location;
190    $('ul.nav a[href="' + t + '"]').parent().addClass("active"), $("ul.nav a").filter(function() {
191        return this.href == t
192    }).parent().addClass("active")
193});
194var buttons7Click = Array.prototype.slice.call(document.querySelectorAll("#btn-click button"));
195buttons7Click.forEach(function(t) {
196    t.addEventListener("click", activate, !1)
197});
198var options = {
199        useEasing: !1,
200        useGrouping: !0,
201        separator: ",",
202        decimal: "."
203    },
204    useOnComplete = !0,
205    useEasing = !0,
206    useGrouping = !0;
207$(".counter-style").appear(function() {
208    var t = new countUp("myTargetElement", 0, 250, 0, 4, options);
209    t.start()
210}), $(document).ready(function() {
211    $(".counter-style").appear(function() {
212        var t = new countUp("myTargetElement2", 0, 300, 0, 4, options);
213        t.start()
214    })
215}), $(document).ready(function() {
216    $(".counter-style").appear(function() {
217        var t = new countUp("myTargetElement3", 0, 350, 0, 4, options);
218        t.start()
219    })
220}), $(document).ready(function() {
221    $(".counter-style").appear(function() {
222        var t = new countUp("myTargetElement4", 0, 400, 0, 4, options);
223        t.start()
224    })
225}), $("#testi-client-logos").flexisel({
226    visibleItems: 6,
227    animationSpeed: 500,
228    autoPlay: !1,
229    autoPlaySpeed: 3e3,
230    pauseOnHover: !0,
231    enableResponsiveBreakpoints: !0,
232    responsiveBreakpoints: {
233        portrait: {
234            changePoint: 320,
235            visibleItems: 1
236        },
237        landscape: {
238            changePoint: 640,
239            visibleItems: 3
240        },
241        tablet: {
242            changePoint: 768,
243            visibleItems: 4
244        }
245    }
246}), $("#clients-carousel").flexisel({
247    visibleItems: 6,
248    animationSpeed: 300,
249    autoPlay: !1,
250    autoPlaySpeed: 3e3,
251    pauseOnHover: !0,
252    enableResponsiveBreakpoints: !0,
253    responsiveBreakpoints: {
254        portrait: {
255            changePoint: 322,
256            visibleItems: 1
257        },
258        landscape: {
259            changePoint: 640,
260            visibleItems: 2
261        },
262        tablet: {
263            changePoint: 768,
264            visibleItems: 4
265        }
266    }
267}), $("#home-testimonials").flexisel({
268    visibleItems: 4,
269    animationSpeed: 500,
270    autoPlay: !1,
271    autoPlaySpeed: 3e3,
272    pauseOnHover: !0,
273    enableResponsiveBreakpoints: !0,
274    responsiveBreakpoints: {
275        portrait: {
276            changePoint: 450,
277            visibleItems: 1
278        },
279        landscape: {
280            changePoint: 640,
281            visibleItems: 2
282        },
283        tablet: {
284            changePoint: 768,
285            visibleItems: 3
286        }
287    }
288}), $(document).ready(function() {
289    function t(t) {
290        var e = t.parents(".client-logo-flexx"),
291            o = e.find(".testimonial-content");
292        if (t.hasClass("current-testi")) return !1;
293        $(".testi-one").removeClass("current-testi"), t.addClass("current-testi");
294        var i = t.attr("data-original-title"),
295            a = t.attr("data-content"),
296            n = '<div class="arrow" style="left: 0%;"></div><h3 class="popover-title">' + i + '</h3><div class="popover-content">' + a + "</div>";
297        o.hide(), o.html(n).fadeIn("slow")
298    }
299    var e = $(".testi-1");
300    t(e), $(".testi-one").on("click", function() {
301        t($(this))
302    })
303}), wow = new WOW({
304    animateClass: "animated",
305    offset: 100
306}), wow.init(), $().appear && ($.browser.mobile || $.isiPad ? $("body").removeClass("withAnimation") : $(".withAnimation .animated").appear(function() {
307    var t = $(this);
308    t.each(function() {
309        t.addClass("activate"), t.addClass(t.data("fx"))
310    })
311}, {
312    accX: 50,
313    accY: -150
314})), $(document).ready(function() {
315    $("#intro").parallax("50%", .1), $("#sec").parallax("50%", .1), $("#third").parallax("50%", 0)
316}), $(document).ready(function() {
317    $("#myCarousel").carousel({
318        interval: 1e4
319    }), $("#myCarousel").on("slid.bs.carousel", function() {})
320}), $(document).ready(function() {
321    $("ul.tert-nav li.searchit").click(function(t) {
322        t.target === this && (console.log("opening"), $(this).addClass("search"), $(".searchbox").fadeIn(), $("ul.tert-nav li img.searchicon").hide(), $("ul.tert-nav li.searchit").show())
323    }), $("ul.tert-nav li.searchit img.closesearch").click(function(t) {
324        t.stopPropagation(), $(".searchbox").hide(), $("ul.tert-nav li").removeClass("search"), $("ul.tert-nav li img.searchicon").show(), $("ul.tert-nav li.searchit").show()
325    })
326}), $("ul.dropdown-menu [data-toggle=dropdown]").on("click", function(t) {
327    t.preventDefault(), t.stopPropagation(), $(this).parent().addClass("open");
328    var e = $(this).parent().find("ul"),
329        o = e.offset();
330    if (o.left + e.width() + 30 > $(window).width()) var i = -e.width();
331    else var i = $(this).parent().width();
332    e.css({
333        left: i
334    })
335});
336var b = document.documentElement;
337b.setAttribute("data-useragent", navigator.userAgent), b.setAttribute("data-platform", navigator.platform);

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.