PageSourceSearch

https://www.brildor.com/blog/wp-content/plugins/yith-infinite-scro…/js/yith.infinitescroll.min.js?ver=1.28.0

js brildor.com collected 2026-10-02 07:24:18 UTC 3,844 bytes, 1 lines download raw bytes

1!function(S,b,T){"use strict";S.yit_infinitescroll=function(t){var f,h,e,o,d=S.extend({nextSelector:"",navSelector:"",itemSelector:"",contentSelector:"",eventType:"scroll",presetLoader:"",customLoader:"",buttonLabel:"",buttonClass:"",loadEffect:"fadeIn"},t),p="undefined"!=typeof yith_infs_script&&yith_infs_script.shop,i="undefined"!=typeof yith_infs_script&&yith_infs_script.block_loader,u=!1,y=!1,n=!1,t=!1,_=S(d.nextSelector).attr("href"),v=[],g=[],m=function(t,e){b.location.pathname!=t&&(b.history.replaceState({url:""+t},"Title",t),e&&(T.title=e),S(T).trigger("yith_infs_url_changed",[t,e]))},l=("pagination"!=d.eventType&&S(d.navSelector).hide(),p&&(h=S(d.itemSelector).first().nextUntil(".first",d.itemSelector).length+1),function(){n&&S(d.navSelector).last().after('<div class="yith-infs-loader">'+n+"</div>"),u=!0,_=(_=decodeURIComponent(_)).replace(/^(?:\/\/|[^\/]+)*\//,"/"),S.ajax({url:_,dataType:"html",cache:yith_infs_script.use_cache,success:function(t){f=S(d.itemSelector).last();var e,n,i,t=S(t),o=t.find(d.contentSelector),l=t.find(d.itemSelector),r=t.find(d.navSelector),s=t.find(d.nextSelector),a=_,c=b.scrollY;s.length?_=s.attr("href"):(y=!0,S(T).trigger("yith-infs-scroll-finished")),p&&!f.hasClass("last")&&"pagination"!=d.eventType&&(s=l,n=(e=h)-f.prevUntil(".last",d.itemSelector).length,i=0,s.each(function(){var t=S(this);i++,t.removeClass("first"),t.removeClass("last"),(i-n)%e==0?t.addClass("first"):(i-(n-1))%e==0&&t.addClass("last")})),S(d.navSelector).replaceWith(r),"pagination"!=d.eventType?(f.after(l),S(d.navSelector).hide()):(S(d.contentSelector).replaceWith(o),S(b).scrollTop(S(d.contentSelector).offset().top)),S(".yith-infs-loader").remove(),S(T).trigger("yith_infs_adding_elem",[l,a]),l.addClass("yith-infs-animated"),l.addClass(d.loadEffect),yith_infs_script.change_url&&(s=t.filter("title").length?t.filter("title").text():"","pagination"!=d.eventType&&(v.length||v.push([b.location.href,T.title]),v.push([a,s]),g.push(f)),"scroll"!=d.eventType&&m(a,s),"button"===d.eventType&&S("html, body").animate({scrollTop:c},"slow")),setTimeout(function(){u=!1,l.removeClass("yith-infs-animated"),l.removeClass(d.loadEffect),S(T).trigger("yith_infs_added_elem",[l,a])},1e3)}})});"scroll"==d.eventType?(n='<img src="'+(""==d.customLoader?d.presetLoader:d.customLoader)+'">',S(b).on("scroll touchstart",function(){S(this).trigger("yith_infs_start")}),S(b).on("yith_infs_start",function(){var t=S(this),e=S(d.itemSelector).last(),n=null!=yith_infs_script.elem_height?yith_infs_script.elem_height:2*e.height();void 0!==e&&!u&&!y&&t.scrollTop()+t.height()>=e.offset().top-n&&l()})):"button"==d.eventType?(t='<div class="yith-infs-button-wrapper"><button id="'+(e="yith-infs-button-"+(new Date).getTime())+'" class="'+d.buttonClass+'">'+d.buttonLabel+"</button></div>",S(d.navSelector).last().after(t),S(T).on("yith-infs-scroll-finished",function(){S(".yith-infs-button-wrapper").remove()}),S("#"+e).off("click").on("click",function(){var n=S(this);u||(i&&n.block({message:null,overlayCSS:{background:"#fff url("+i+") no-repeat center",opacity:.5,cursor:"none"}}),l()),S(T).on("yith_infs_adding_elem",function(t,e){i&&n.unblock(),yith_infs_script.scroll_top_on_click_load_more&&S("html, body").animate({scrollTop:S(e).first().offset().top-100},1)})})):"pagination"==d.eventType&&S(T).off("click",d.navSelector+" a").on("click",d.navSelector+" a",function(t){t.preventDefault(),_=S(this).attr("href"),i&&S(d.navSelector).block({message:null,overlayCSS:{background:"#fff url("+i+") no-repeat center",opacity:.5,cursor:"none"}}),l()}),S(b).on("scroll touchstart",function(t){var e,n,i=S(b),i=i.scrollTop()+i.height();void 0!==f&&v.length&&(e=g.indexOf(f),n=f.offset().top+f.height(),i<o?i<=n&&(f=g[e&&e-1],m(v[e][0],v[e][1])):n+250<i&&(e+1<g.length&&(f=g[e+1]),m(v[e+1][0],v[e+1][1])),o=i)})}}(jQuery,window,document);

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.