1var module_443376275691=void document.addEventListener("DOMContentLoaded",function(){let visibleCount=9;const cards=[...document.querySelectorAll(".resource-card")],loadMore=document.getElementById("load-more"),filters={type:document.getElementById("filter-type"),therapeutic:document.getElementById("filter-therapeutic"),topic:document.getElementById("filter-topic"),lifecycle:document.getElementById("filter-lifecycle")};function matches(card,value,attr){return!value||("type"===attr?card.dataset.type===value:card.dataset[attr].split("|").includes(value))}function applyFilters(reset=!0){reset&&(visibleCount=9);const filtered=cards.filter(card=>(!filters.type||matches(card,filters.type.value,"type"))&&(!filters.therapeutic||matches(card,filters.therapeutic.value,"therapeutic"))&&(!filters.topic||matches(card,filters.topic.value,"topic"))&&(!filters.lifecycle||matches(card,filters.lifecycle.value,"lifecycle")));cards.forEach(card=>card.style.display="none"),filtered.slice(0,visibleCount).forEach(card=>{card.style.display=""}),loadMore.style.display=filtered.length>visibleCount?"":"none",loadMore.onclick=function(){visibleCount+=9,cards.forEach(card=>card.style.display="none"),filtered.slice(0,visibleCount).forEach(card=>{card.style.display=""}),loadMore.style.display=filtered.length>visibleCount?"":"none"}}Object.values(filters).forEach(filter=>{filter&&filter.addEventListener("change",()=>applyFilters())}),applyFilters()}); 2//# sourceURL=https://148385621.fs1.hubspotusercontent-eu1.net/hubfs/148385621/hub_generated/module_assets/1/443376275691/1790773834654/module_Resource_listing.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.