PageSourceSearch

https://www.enthought.com/hubfs/hub_generated/template_assets/1/22…/1790784614500/template_load-more.min.js

js enthought.com collected 2026-10-02 02:32:41 UTC 1,905 bytes, 2 lines download raw bytes

1function loadMore(filterClass,itemClass,itemsOnInit,itemsPerLoad,filterInputItemsString,triggerType,searchInputString="",moduleId=""){return function(){$(document).ready(function(){var currentLoad=1,currentFilteredItems=0;$(filterClass).isotope({itemSelector:itemClass});function createLoads(){currentLoad=1,$items=$(itemClass).toArray();var visibleItems=$(itemClass).not(":hidden").toArray();currentFilteredItems=visibleItems.length,$items.forEach(function(item){$(item).find(".item-page").attr("id","")});var load=1,itemNum=0;visibleItems.forEach(function(item){itemNum===itemsOnInit&&1===load?(load+=1,itemNum=0):itemNum===itemsPerLoad&&1!==load&&(load++,itemNum=0),$(item).find(".item-page").attr("id",load.toString()),load>currentLoad&&$(item).hide(),itemNum++}),$(filterClass).isotope({itemSelector:itemClass}),checkTrigger(),document.dispatchEvent(new CustomEvent("versa:loadMoreComplete",{detail:{filterClass:filterClass,moduleId:moduleId}}))}function checkTrigger(){items=$(itemClass).toArray(),visibleItems=$(itemClass).not(":hidden").toArray(),visibleItems.length==currentFilteredItems?$(moduleId+" .load-more-btn").hide():$(moduleId+" .load-more-btn").show()}setTimeout(createLoads,300),$(filterInputItemsString).on("change",function(){setTimeout(createLoads,0)}),$(searchInputString).on("input",function(){setTimeout(createLoads,0)}),"button"==triggerType&&$(moduleId+" .load-more-btn").on("click",function(){!function(){currentLoad+=1;var items=$(itemClass);for(item of items)loadNum=parseInt($(item).find(".item-page").attr("id")),loadNum<=currentLoad?($(item).show(),loadNum==currentLoad&&$(item).addClass("animate__animated animate__fadeIn")):$(item).hide();$(filterClass).isotope({itemSelector:itemClass}),checkTrigger()}()})})}}
2//# sourceURL=https://43926976.fs1.hubspotusercontent-na2.net/hubfs/43926976/hub_generated/template_assets/1/222036554433/1790784614500/template_load-more.js

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.