1"use strict";(globalThis.webpackChunkwp_dev=globalThis.webpackChunkwp_dev||[]).push([[1194],{1194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(){this.selector=".js-gallery",this.selectors={loadMoreButton:".js-gallery-load-more"},this.classNames={hidden:"hidden"}}bootstrap(){const e=[...document.querySelectorAll(this.selector)];0!==e.length&&this.initGalleryHandlers(e)}initGalleryHandlers(e){e.forEach((e=>{const t=e.querySelector(this.selectors.loadMoreButton);t&&this.handleLoadMore({button:t})}))}handleLoadMore({button:e}){e.addEventListener("click",(()=>{const t=e.closest(this.selector).querySelectorAll(".hidden");e.parentNode.remove(),t.forEach((e=>{e.classList.remove(this.classNames.hidden)}))}))}}}}]);
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.