1BX.namespace('BX.Aspro.Pagination'); 2 3BX.Aspro.Pagination = { 4 lazyLoad: () => { 5 setTimeout(() => { 6 if ($(".with-load-block .ajax_load_btn:not(.appear-block)").length) { 7 $(".with-load-block .ajax_load_btn:not(.appear-block)").iAppear( 8 function () { 9 var $this = $(this); 10 $this.addClass("appear-block").trigger("click"); 11 }, 12 { 13 rootMargin: "-10% 0px 0px 0px", 14 accX: 0, 15 accY: 200 16 } 17 ); 18 } 19 }, 200); 20 } 21} 22 23BX.Aspro.Utils.readyDOM(() => { 24 BX.Aspro.Pagination.lazyLoad(); 25 26 BX.addCustomEvent("onCompleteAction", function (eventdata) { 27 try { 28 if (eventdata.action === "jsLoadBlock" || eventdata.action === "ajaxContentLoaded") { 29 BX.Aspro.Pagination.lazyLoad(); 30 } 31 } catch (e) { 32 console.error(e); 33 } 34 }); 35});
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.