1(function ($) { 2 /** 3 * @param $scope The Widget wrapper element as a jQuery element 4 * @param $ The jQuery alias 5 */ 6 var ProgramPageSliderHandler = function ($scope, $) { 7 8 $(".program-big-slider").length > 0 && $(".program-big-slider").each(function () { 9 var t = 1 * $(this).attr("data-show-count"), 10 a = 1 * $(this).attr("data-show-count-md"), 11 i = 1 * $(this).attr("data-show-count-mob"), 12 e = $.parseJSON($(this).attr("data-slick-arrow")), 13 o = $(this).attr("data-nav"); 14 $(this).slick({ 15 arrows: e, 16 infinite: !1, 17 adaptiveHeight: !0, 18 slidesToShow: t, 19 slidesToScroll: 1, 20 asNavFor: o, 21 responsive: [{ 22 breakpoint: 1200, 23 settings: { 24 slidesToShow: a 25 } 26 }, { 27 breakpoint: 705, 28 settings: { 29 slidesToShow: i 30 } 31 }] 32 }); 33 }), 34 $(".program-nav-slider").length > 0 && $(".program-nav-slider").each(function () { 35 var t = 1 * $(this).attr("data-show-count"), 36 a = 1 * $(this).attr("data-show-count-md"), 37 i = 1 * $(this).attr("data-show-count-mob"), 38 e = $.parseJSON($(this).attr("data-slick-arrow")), 39 o = $(this).attr("data-nav"), 40 s = 1 * $(this).attr("data-slick-speed"), 41 n = $.parseJSON($(this).attr("data-slick-autoplay")); 42 $(this).slick({ 43 arrows: e, 44 infinite: !1, 45 adaptiveHeight: !0, 46 slidesToShow: t, 47 slidesToScroll: 1, 48 asNavFor: o, 49 focusOnSelect: !0, 50 autoplay: n, 51 autoplaySpeed: s, 52 responsive: [{ 53 breakpoint: 1200, 54 settings: { 55 slidesToShow: a 56 } 57 }, { 58 breakpoint: 705, 59 settings: { 60 slidesToShow: i 61 } 62 }] 63 }); 64 }); 65 $(".slick-prev").html('<i class="fas fa-angle-left"></i>'), $(".slick-next").html('<i class="fas fa-angle-right"></i>'); 66 }; 67 // Make sure you run this code under Elementor. 68 $(window).on('elementor/frontend/init', function () { 69 elementorFrontend.hooks.addAction('frontend/element_ready/programs_page.default', ProgramPageSliderHandler); 70 }); 71})(jQuery);
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.