PageSourceSearch

https://aaaeco.nl/wp-content/themes/porto/inc/lib/infinite-scroll/infinite-scroll.min.js?ver=6.3.3

js aaaeco.nl collected 2026-10-10 00:45:36 UTC 9,853 bytes, 1 lines download raw bytes

1(function(t,e){"use strict";t=t||{};var o="__postsinfinite",i=function(t,e,o,i){return this.initialize(t,e,o,i)};i.prototype={initialize:function(t,i,a,n){void 0!==a&&a?(this.defaults=e.extend(!0,{},a),this.post_type=n):(this.defaults={elements:"."+escape(porto_infinite_scroll.post_type)+"s-container",itemSelector:porto_infinite_scroll.item_selector,navSelector:"product"==porto_infinite_scroll.post_type?".woocommerce-pagination":"div.pagination",nextSelector:"product"==porto_infinite_scroll.post_type?".woocommerce-pagination .page-numbers a.next":"div.pagination a.next",loading:{finishedMsg:"",msgText:porto_infinite_scroll.loader_html,img:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="},paginationType:void 0!==porto_infinite_scroll.pagination_type?porto_infinite_scroll.pagination_type:"infinite_scroll"},"product"==porto_infinite_scroll.post_type&&(this.defaults.elements+=":not(.is-shortcode)"),this.post_type=porto_infinite_scroll.post_type),this.$elements=t||e(this.defaults.elements+":not(.skeleton-body)"),this.itemSelector=i||this.defaults.itemSelector,void 0!==a&&a&&this.$elements.data("infiniteoptions",a),this.defaults.behavior=this.defaults.paginationType;var s=this.$elements.data(o);return s&&s.destroy(),this.$elements.data(o,this),this.build().events(),this},build:function(){var o=this;return o.$elements.each((function(){var a,n,s,r=e(this);r.hasClass("skeleton-body")||(a=void 0!==r.data("cur_page")?r.data("cur_page"):porto_infinite_scroll.cur_page,n=void 0!==r.data("max_page")?r.data("max_page"):porto_infinite_scroll.max_page,r.infinitescroll(e.extend(o.defaults,{itemSelector:o.itemSelector,state:{currPage:a},maxPage:n,infid:t.PostsInfinite.index,path:function(t){if(void 0!==r.data("page_path")){if(s=r.data("page_path"),"portfolio"==o.post_type&&r.closest(".portfolios-timeline").length){var e=r.find(".timeline-date").last().data("date");e&&(s+="&last_date="+e)}}else s=porto_infinite_scroll.page_path;return s.replace("%cur_page%",t)}}),(function(a){if("load_more"==o.defaults.paginationType){var n=r.data("infinitescroll");if(n){var s=e(n.options.navSelector);s.length>1&&s.each((function(){e(this).closest(".porto-products").length||(s=e(this))})),n.options.state.currPage>=n.options.maxPage?s.addClass("d-none"):s.show(),s.find(".next").data("text")&&s.find(".next").text(s.find(".next").data("text"))}}var l=e(a);if(l.find(".porto-lazyload:not(.lazy-load-loaded)").length){var d=l.find(".porto-lazyload:not(.lazy-load-loaded)").themePluginLazyLoad({}).data("__lazyload");d&&d.loadAndDestroy&&d.loadAndDestroy()}t.refreshVCContent(l),porto_init();var p="";p="product"!=o.post_type&&"member"!=o.post_type&&"faq"!=o.post_type&&"portfolio"!=o.post_type&&"post"!=o.post_type?"ptu":o.post_type,i[p+"Behavior"](l,r),e(window).trigger("resize")})),t.PostsInfinite.index++)})),o.resize(),o},resize:function(t){var o;if((o=void 0!==t&&void 0!==t.data&&t.data.ins?t.data.ins:this).$elements.length&&!e(document.body).find(o.$elements).length)return o.destroy(),!1;var i=o.$elements;return o.resizeTimer&&clearTimeout(o.resizeTimer),o.resizeTimer=setTimeout((function(){i.each((function(t){var o=e(this);e().isotope&&o.data("isotope")&&o.isotope("layout")})),delete o.resizeTimer}),800),o},events:function(){var t=this;return e(window).on("resize",{ins:t},t.resize),t},destroy:function(){var t=this;return e(window).off("resize",t.resize),t.$elements.removeData(o),t}},e.extend(i,{index:0,globalBehavior:function(t){t.each((function(){var t=e(this);t.hasClass("owl-carousel")&&(t.removeData("__carousel"),t.removeClass("owl-loaded").trigger("destroy.owl.carousel"),t.find("#infscr-loading").remove(),"function"==typeof e.fn.themeCarousel&&t.themeCarousel(t.data("plugin-options")))})),e().isotope&&setTimeout((function(){t.each((function(){var t=e(this);t.data("isotope")&&t.isotope("layout")}))}),800)},postBehavior:function(o,i){var a=this;i.closest(".blog-posts").hasClass("blog-posts-related")&&t.FilterZoom.initialize(i.closest(".blog-posts")),e().isotope&&i.data("isotope")&&(i.isotope("appended",o),t.requestTimeout((function(){i.isotope("layout")}),50)),a&&o.imagesLoaded((function(){a.globalBehavior(i)}))},portfolioBehavior:function(o,i){var a=this;o.each((function(){var t=e(this).find(".thumb-info-wrapper").children("img").attr("src");
1i.find(".porto-portfolios-lighbox-thumbnails > div").append('<span><img src="'+t+'" alt="" style="height: 84px;" /></span>')}));var n=i.closest(".page-portfolios");if(n.hasClass("portfolios-timeline")){var s=0;if(n.find(".portfolio-filter").length){var r=n.find(".portfolio-filter .active").attr("data-filter"),l="easeInOutQuart";o.each((function(){var t=e(this);t.hasClass("timeline-date")||("*"==r||t.hasClass(r)?("none"==t.css("display")&&t.stop().slideDown(300,l,(function(){e(this).attr("style","").show()})),s++):t.stop().hide())}))}!s&&n.find(".portfolios-infinite").length&&n.find(".portfolios-infinite").infinitescroll("retrieve"),t.FilterZoom.initialize(n)}else e().isotope&&i.data("isotope")&&(i.isotope("appended",o),t.requestTimeout((function(){i.isotope("layout")}),50)),a&&o.imagesLoaded((function(){a.globalBehavior(i)}));n.data("portfolioAjaxOnPage")&&n.data("portfolioAjaxOnPage").build(),n.data("portfolioAjaxOnModal")&&n.data("portfolioAjaxOnModal").build(n,"portfolio")},memberBehavior:function(o,i){var a=this;e().isotope&&i.data("isotope")&&(i.isotope("appended",o),t.requestTimeout((function(){i.isotope("layout")}),50)),a&&o.imagesLoaded((function(){a.globalBehavior(i)}));var n=i.closest(".page-members");n.length&&(n.data("memberAjaxOnPage")&&n.data("memberAjaxOnPage").build(),n.data("memberAjaxOnModal")&&n.data("memberAjaxOnModal").build(n,"member"))},faqBehavior:function(t,o){var i=this,a=o.closest(".page-faqs"),n=0;if(a.find(".faq-filter").length){var s=a.find(".faq-filter .active").attr("data-filter"),r="easeInOutQuart";t.each((function(){var t=e(this);"*"==s||t.hasClass(s)?("none"==t.css("display")&&t.stop().slideDown(300,r,(function(){e(this).attr("style","").show()})),n++):t.stop().hide()}))}!n&&a.find(".faqs-infinite").length&&a.find(".faqs-infinite").infinitescroll("retrieve"),i&&t.imagesLoaded((function(){i.globalBehavior(o)}))},productBehavior:function(o,i){var a=this;if(e().isotope&&i.data("isotope")&&(i.isotope("appended",o),t.requestTimeout((function(){i.isotope("layout")}),50)),a&&o.imagesLoaded((function(){a.globalBehavior(i)})),o.closest(".archive-products").length){var n=e(".woocommerce-result-count");if(n.length){var s=o.closest(".content-area").find(".woocommerce-result-count").eq(0);n[0].outerHTML=s.length?s[0].outerHTML:""}}porto_woocommerce_init(),porto_woocommerce_variations_init(o)},ptuBehavior:function(o,i){var a=this;e().isotope&&i.data("isotope")&&(i.isotope("appended",o),t.requestTimeout((function(){i.isotope("layout")}),50)),a&&o.imagesLoaded((function(){a.globalBehavior(i)}))},btnAction:function(t){var o;if(t.preventDefault(),e(this).closest(".porto-ajax-load").length){var i=e(this).closest(".porto-ajax-load").data("post_type"),a=e(this).closest(".porto-ajax-load").find("."+i+"s-container").data("infinitescroll");a&&(o=a)}else o=t.data;o&&(e(this).data("text",e(this).text()),e(this).text("undefined"!=typeof porto_infinite_scroll?porto_infinite_scroll.loader_text:js_porto_vars.loader_text),o.scroll(),e(this).blur())}}),e.extend(t,{PostsInfinite:i}),e.fn.portoInfiniteScroll=function(o){return this.map((function(){var i=e(this),a=i.find(".shortcode-id");if(a.length){var n=a.val(),s=i.data("post_type"),r=i.closest(".porto-"+("post"==s?"blog":s+"s")),l=".porto-"+("post"==s?"blog":s+"s")+n;if(r.length||(r=i.closest(".porto-ajax-load")),r.length){r.attr("id");var d=r.find("."+s+"s-container"),p=i.data("ajax_load_options"),c="."+s+", .timeline-date",f=o;if(d.closest(".archive-posts").length){var h=d.siblings(".pagination-wrap").find(".next").attr("href");h||(h=window.location.href),f=(h+=(-1!==h.indexOf("?")?"&":"?")+"portoajax=1&load_posts_only=2&type=load_more").replace(/(paged=)(\d+)|(page\/)(\d+)/,"$1$3%cur_page%"),c=".archive-posts ."+s}else f+="&post_type="+s+(p?"&extra="+encodeURI(JSON.stringify(p)):"");d.data("page_path",f);var u=i.hasClass("load-infinite")?"infinite_scroll":"load_more";new t.PostsInfinite(d,c,{navSelector:"product"==s&&void 0===p.shortcode?l+" .woocommerce-pagination":l+" div.pagination",nextSelector:"product"==s&&void 0===p.shortcode?l+" .woocommerce-pagination .page-numbers a.next":l+" div.pagination a.next",loading:{finishedMsg:"",msgText:'<div class="bounce-loader"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>',img:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="},paginationType:u},s)}}}))}}).apply(this,[window.theme,jQuery]),jQuery(window).on("load",(function(){"use strict";var t=jQuery;void 0!==t.infinitescroll&&t.extend(t.infinitescroll.prototype,{_binding_load_more:function(e){"unbind"===e?this.options.binder.off("smartscroll.infscr."+this.options.infid):t(document).off("
1click",".pagination.load-more .next",theme.PostsInfinite.btnAction).on("click",".pagination.load-more .next",this,theme.PostsInfinite.btnAction)},_nearbottom_load_more:function(){return!0},_nearbottom_infinite_scroll:function(){var e=window.innerHeight||t(window).height();return t(window).scrollTop()+e>this.element.offset().top+this.element.height()}}),void 0===theme.PostsInfinite||"undefined"==typeof porto_infinite_scroll||t(document).find(".archive-posts-infinite, .porto-ajax-load[data-ajax_load_options]").length||new theme.PostsInfinite;var e=t(".porto-ajax-load.load-infinite, .porto-ajax-load.load-more");if(e.length){var o=window.location.href;-1!==o.indexOf("#")&&(o=o.split("#")[0]);var i=theme.ajax_url+"?action=porto_ajax_posts&nonce="+js_porto_vars.porto_nonce+"&current_link="+o+"&page=%cur_page%&category=";e.portoInfiniteScroll(i)}}));

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.