1function resizeGridItem(e) { grid = jQuery(e).closest(".loop-grid")[0], "undefined" != typeof grid && (rowHeight = parseInt(window.getComputedStyle(grid).getPropertyValue("grid-auto-rows")), rowGap = parseInt(window.getComputedStyle(grid).getPropertyValue("grid-row-gap")), rowSpan = Math.ceil((e.querySelector(".grid-item-cont").getBoundingClientRect().height + rowGap) / (rowHeight + rowGap)), e.style.gridRowEnd = "span " + rowSpan) } function resizeAllGridItems() { for (allItems = document.getElementsByClassName("grid-item"), x = 0; x < allItems.length; x++)resizeGridItem(allItems[x]) } function resizeInstance(e) { item = e.elements[0], resizeGridItem(item) } window.addEventListener("resize", resizeAllGridItems), jQuery(document).ready(function (e) { resizeAllGridItems(), e(".masonry").addClass("resized"), e(window).on("load", function () { resizeAllGridItems(), e(".masonry").addClass("resized") }) });
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.