PageSourceSearch

https://ghvc.de/wp-content/themes/kayo/assets/js/loadposts.min.js?ver=1.9.96

js ghvc.de collected 2026-10-02 11:19:39 UTC 5,359 bytes, 1 lines download raw bytes

1var KayoLoadPosts=function(a){"use strict";return{isWVC:"undefined"!=typeof WVC,isWolfCore:"undefined"!=typeof WolfCore,init:function(){this.loadMorePosts()},loadMorePosts:function(){var b=this;a(document).on("click",".loadmore-button",function(c){if(c.preventDefault(),KayoParams.isCustomizer)return c.stopPropagation(),void alert(KayoParams.l10n.infiniteScrollDisabledMsg);var d=a(this),e=d.attr("data-href");d.hasClass("trigger-loading")||(d.addClass("trigger-loading"),d.html(KayoParams.l10n.infiniteScrollMsg),a.get(e,function(a){a?b.processContent(a,d):console.log("empty response")}))})},findContainerFromButton:function(b){var c=null,d=null,e=b.parent().prev();if(e.length)if(e.hasClass("items-grid-container"))d=e.find(".items").first(),d.length&&d.attr("id")&&(c=d.attr("id"));else if(e.hasClass("items")&&e.attr("id"))c=e.attr("id"),d=e;else if(e.attr("id")&&e.find(".items").length)if(e.find(".entry").length)c=e.attr("id"),d=e;else{var f=e.find(".items[id]").first();f.length&&(c=f.attr("id"),d=f)}return c||(d=b.closest(".elementor-widget, .module, .widget").find(".items[id]").first(),d.length&&(c=d.attr("id"))),c||b.parent().prevAll().each(function(){var b=a(this);if(b.hasClass("items-grid-container")){var e=b.find(".items[id]").first();if(e.length)return c=e.attr("id"),d=e,!1}if(b.hasClass("items")&&b.attr("id"))return c=b.attr("id"),d=b,!1;var f=b.find(".items[id]").first();return f.length?(c=f.attr("id"),d=f,!1):void 0}),c||console.error("Could not find any valid container with ID"),{containerId:c,$container:d}},processContent:function(b,c){if(b){var d=this,e=c.attr("data-href"),f=d.findContainerFromButton(c),g=f.containerId,h=f.$container;if(!g||!h||!h.length)return c.removeClass("trigger-loading"),void c.html("Error: Container not found");var i,j,k,l,m=h.find(".entry:first-child").attr("data-aos"),n=parseInt(c.attr("data-max-pages"),10),o=h.find(".entry:last-child"),p=o.offset().top+o.height();k=a(document.createElement("html")),k[0].innerHTML=b,i=k.find("#"+g),i.length?(j=i.html(),console.log("Found matching container in response")):j=k.find(".items").first().html(),l=parseInt(k.find(".loadmore-button").attr("data-next-page"),10),m&&i.length&&(i.find(".entry").each(function(){a(this).addClass("aos-disabled"),a(this).attr("data-aos-delay",1500)}),j=i.html()),h.append(j),KayoUi.AOS(h),d.trackPageView(e),KayoParams.doLoadMorePaginationHashChange&&history.pushState(null,null,e),n<l||void 0===l||isNaN(l)?(c.html(KayoParams.l10n.infiniteScrollEndMsg),setTimeout(function(){c.fadeOut(500,function(){a(this).remove()})},3e3)):a.post(KayoParams.ajaxUrl,{action:"kayo_ajax_get_next_page_link",href:c.attr("data-href")},function(b){b&&a.parseJSON(b)&&(b=a.parseJSON(b),c.attr("data-current-page",b.currentPage),c.attr("data-next-page",b.nextPage),c.attr("data-href",b.href)),c.removeClass("trigger-loading"),c.html("<span>"+KayoParams.l10n.loadMoreMsg+"</span>"),a(window).trigger("kayo_loaded_posts_button_ready")}),d.callBack(h),a(window).trigger("kayo_loaded_posts");var q=new CustomEvent("kayo_loaded_posts",{detail:"Posts Loaded"});window.dispatchEvent(q),h.hasClass("grid-padding-yes")&&(p+=14),h.hasClass("display-metro")||h.hasClass("display-masonry")||h.hasClass("display-masonry_modern")?setTimeout(function(){d.scrollToPoint(a(window).scrollTop()+200)},1e3):setTimeout(function(){d.scrollToPoint(p)},1e3),setTimeout(function(){window.dispatchEvent(new Event("resize"))},1500)}},urldecode:function(a){var b=document.createElement("textarea");return b.innerHTML=a,b.value},scrollToPoint:function(b){a("html, body").stop().animate({scrollTop:b-KayoUi.getToolBarOffset()},1e3,"swing")},trackPageView:function(a){"undefined"!=typeof _gaq?_gaq.push(["_trackPageview",a]):"undefined"!=typeof ga&&ga("send","pageview",{page:a})},callBack:function(b){b=b||a(".items");var c=b.find(".entry:first-child").attr("data-aos");"undefined"!=typeof KayoUi&&(KayoUi.adjustmentClasses(),KayoUi.resizeVideoBackground(),KayoUi.lazyLoad(),KayoUi.fluidVideos(b,!0),KayoUi.flexSlider(),KayoUi.lightbox(),KayoUi.addItemAnimationDelay(),KayoUi.parallax(),KayoUi.setInternalLinkClass(),KayoUi.muteVimeoBackgroun
1ds(),"undefined"!=typeof KayoYTVideoBg&&(KayoYTVideoBg.init(b),KayoYTVideoBg.playVideo(b)),setTimeout(function(){KayoUi.videoThumbnailPlayOnHover()},300)),(a(".masonry-container").length||a(".metro-container").length)&&(KayoMasonry.masonry(),KayoMasonry.resizeTimer(),b.data("isotope")&&b.isotope("reloadItems").isotope()),a(".fleximages-container").length&&KayoMasonry.flexImages(),"undefined"!=typeof WPM&&WPM.init(),"undefined"!=typeof WVCBigText&&WVCBigText.init(),"undefined"!=typeof WolfCoreBigText&&WolfCoreBigText.init(),"undefined"!=typeof WolfCustomPostMeta&&WolfCustomPostMeta.checkLikedPosts(),b.find(".twitter-tweet").length&&a.getScript("http://platform.twitter.com/widgets.js"),b.find(".instagram-media").length&&(a.getScript("//platform.instagram.com/en_US/embeds.js"),void 0!==window.instgrm&&window.instgrm.Embeds.process()),b.find("audio:not(.minimal-player-audio):not(.loop-post-player-audio),video:not(.video-bg):not(.episode-audio-button-audio)").length&&b.find("audio,video").mediaelementplayer(),c&&setTimeout(function(){b.find(".aos-disabled").each(function(){a(this).removeClass("aos-disabled")})},1e3)}}}(jQuery);!function(a){"use strict";a(document).ready(function(){KayoLoadPosts.init()})}(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.