PageSourceSearch

https://www.yofiyofi.co.il/wp-content/themes/susa/js/custom-scripts.js?ver=5.3.26

js yofiyofi.co.il collected 2026-10-07 23:40:03 UTC 5,676 bytes, 106 lines download raw bytes

1jQuery(document).ready(function (i) {
2    "use strict";
3
4    i(".nav-menu-mobile .menu-item-has-children").prepend('<div class="sub-menu-btn"></div>'), i(".nav-menu-mobile .sub-menu").before('<span class="sub-menu-btn-icon"><i class="fa fa-sort-desc"></i></span>'), i(".sub-menu-btn").click(function () {
5        i(this).closest("li").children(".sub-menu").slideToggle(), i(this).closest("li").children(".sub-menu-btn-icon").children("i").toggleClass("fa-rotate-270")
6    });
7    var n = i(".nav");
8    i("body").hasClass("admin-bar"), n.find("li").hover(function () {
9        i(this).children(".sub-menu").stop().fadeToggle(200)
10    }, function () {
11        i(this).children(".sub-menu").stop().fadeToggle(200)
12    }), i(".nav-menu-button").click(function () {
13        i(".nav-menu-mobile").slideToggle("slow")
14    }), i(window).resize(function () {
15        "none" == i(".nav-menu-button").css("display") && i(".nav-menu-mobile").css({display: "none"})
16    }), i(".search-button").on("click", function () {
17        i(".header-srch-frm").slideToggle(200), i(".header-srch-inp").focus()
18    }), i(".main-wrapper-cnt").animate({opacity: "1"}, 300);
19    var s, e = 0, o = i(".main-post").data("post-gutter");
20    i(window).resize(function () {
21    }), i(".entry-content-audio").find("iframe").attr("height", "100"), i(".entry-video").fitVids(), i(".scrollup").click(function () {
22        return i("html, body").animate({scrollTop: 0}, 800), !1
23    });
24    if (i(window).scroll(function () {
25        }), i.easing.jswing = i.easing.swing, i.extend(i.easing, {
26            def: "easeOutQuad", swing: function (a, t, n, s, e) {
27                return i.easing[i.easing.def](a, t, n, s, e)
28            }, easeOutQuad: function (i, a, t, n, s) {
29                return -n * (a /= s) * (a - 2) + t
30            }, easeInOutQuart: function (i, a, t, n, s) {
31                return (a /= s / 2) < 1 ? n / 2 * a * a * a * a + t : -n / 2 * ((a -= 2) * a * a * a - 2) + t
32            }
33        }), i(".susa-carousel-wrap").length > 0) {
34        var l = i(".susa-carousel-wrap").data("items"), r = 2, c = l = parseInt(l.slice(-1), 10), d = i(".susa-carousel-wrap").data("autoplay"), u = i(".susa-carousel-wrap").data("navigation"), m = 1 === i(".susa-carousel-wrap").data("pagination");
35        0 === d && (d = !1), l > 2 && (c = l - 1), 1 === l && (r = 1), u = "off" !== u, i(".susa-carousel").owlCarousel({
36            autoPlay: d,
37            pagination: m,
38            navigation: !0,
39            items: l,
40            itemsDesktop: [2e3, l],
41            itemsDesktopSmall: [979, c],
42            itemsTablet: [768, r],
43            itemsMobile: [479, 1],
44            navigationText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
45            afterInit: function () {
46                "display" === i(".susa-carousel-wrap").data("navigation") && i(".owl-buttons").css("display", "block")
47            }
48        })
49    }
50    i(".entry-gallery").owlCarousel({
51        navigation: !0,
52        slideSpeed: 300,
53        pagination: !1,
54        singleItem: !0,
55        navigationText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"]
56    }), i(".gallery").magnificPopup({
57        delegate: 'a[href*="wp-content/uploads"]',
58        type: "image",
59        mainClass: "mfp-with-zoom mfp-img-mobile",
60        zoom: {enabled: !0, duration: 300},
61        gallery: {enabled: !0, tCounter: '<span class="mfp-counter">%curr%/%total%</span>'},
62        image: {verticalFit: !0}
63    });
64    var g = i('img[class*="wp-image"]').parent('a[href*="wp-content/uploads"]');
65    i(g).magnificPopup({
66        type: "image",
67        midClick: !0,
68        closeOnContentClick: !0,
69        fixedContentPos: !0,
70        image: {
71            verticalFit: !0, titleSrc: function (i) {
72                return "<strong>" + i.el.find("img").attr("alt") + "</strong>"
73            }
74        },
75        zoom: {enabled: !0, duration: 300}
76    }), i(".susa-lightbox").magnificPopup({
77        type: "image",
78        midClick: !0,
79        closeOnContentClick: !0,
80        fixedContentPos: !0,
81        image: {verticalFit: !0},
82        zoom: {enabled: !0, duration: 300}
83    }), i("body").hasClass("animsition") && (i("body").find('a[href*="' + i(".logo a").attr("href") + '"]').addClass("animsition-link"), i('.susa-lightbox, a[href*="wp-content/uploads"], .meta-social-share a, .post-comment').removeClass("animsition-link"), i(".animsition").animsition({
84        inClass: i("body").attr("data-in-animsition"),
85        outClass: i("body").attr("data-out-animsition"),
86        inDuration: 600,
87        outDuration: 600,
88        linkElement: ".animsition-link",
89        loading: !1,
90        loadingParentElement: "body",
91        loadingClass: "animsition-loading",
92        loadingInner: "",
93        timeout: !1,
94        timeoutCountdown: 5e3,
95        onLoadEvent: !0,
96        browser: ["animation-duration", "-webkit-animation-duration"],
97        overlay: !1,
98        overlayClass: "animsition-overlay-slide",
99        overlayParentElement: "body",
100        transition: function (i) {
101            window.location.href = i
102        }
103    }));
104    var f = i(".footer-instagram .null-instagram-feed li a"), h = i(".footer-instagram .null-instagram-feed li").length;
105    f.css("width", "calc((100%  /" + h + ")"), f.css("width", "-webkit-calc((100% /" + h + ")"), i(".null-instagram-feed").addClass("inst-col-" + h), i(".comment-form").children().first().hasClass("custom-textarea") && (i(".form-submit").before(i(".custom-textarea").clone()), i(".custom-textarea:first").remove())
106});

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.