PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/hero.js |
!function(s){"use strict";window.jnews.hero=window.jnews.hero||{},window.jnews.hero={init:function(o){var e=this;e.container=void 0===o?s("body"):o,s(window).on("ready resize load",(function(){e.dispatch(),e.heroSlider(e.container)}))},dispatch:function(){this.container.find(".jeg_heroblock").each((function(){var o=s(this),e=o.find(".jeg_heroblock_wrapper"),t=o.find(".jeg_heroblock_scroller"),i=o.find(".jeg_post"),a=o.data("margin");s(window).width()>667?(e.css({"margin-left":-a+"px","margin-bottom":-a+"px","margin-right":0,"margin-top":0}),i.css("padding","0 0 "+a+"px "+a+"px ")):t.length>0&&(a>5&&(a=5),o.hasClass("owl-carousel")||t.css("margin-left","-"+a+"px"),e.css({"margin-left":"0px","margin-bottom":"0px","margin-right":"0px"}),i.each((function(){s(this).parent(".jeg_heroblock_scroller").length>0?o.hasClass("owl-carousel")?o.hasClass("jeg_heroblock_1")&&s(this).hasClass("jeg_hero_item_4")||o.hasClass("jeg_heroblock_2")&&(s(this).hasClass("jeg_hero_item_3")||s(this).hasClass("jeg_hero_item_5"))||o.hasClass("jeg_heroblock_3")&&(s(this).hasClass("jeg_hero_item_3")||s(this).hasClass("jeg_hero_item_4"))||o.hasClass("jeg_heroblock_4")&&s(this).hasClass("jeg_hero_item_3")?(s(this).css("padding-left",a+"px"),s(this).css("padding-bottom",a+"px")):(s(this).css("padding-left","0px"),s(this).css("padding-bottom",a+"px")):(s(this).css("padding-left",a+"px"),s(this).css("padding-bottom","0px")):(s(this).css("padding-left","0px"),s(this).css("padding-bottom",a+"px"))})))}))},heroSlider:function(o){o.find(".jeg_heroblock.owl-carousel").each((function(){var o=s(this),e=o.data("autoplay"),t=o.data("delay");o.owlCarousel({rtl:1==jnewsoption.rtl,items:1,navText:!0,nav:!0,loop:!0,autoplay:e,autoplayTimeout:t})}))}}}(jQuery);