PageSourceSearch

https://www.sirirajfoundation.org/wp-content/themes/siriraj-foundation/theme/js/script.min.js?ver=0.2.0

js sirirajfoundation.org collected 2026-10-07 15:23:00 UTC 524 bytes, 19 lines download raw bytes

1(() => {
2  // javascript/script.js
3  document.addEventListener("alpine:init", () => {
4    Alpine.data("swiper", (target, options) => ({
5      defaultOption: {},
6      swiperInstance: null,
7      init() {
8        const _options = { ...this.defaultOption, ...options };
9        this.swiperInstance = new Swiper(`#${target}`, _options);
10      },
11      slideTo(i) {
12        this.swiperInstance.slideTo(i);
13      },
14      slideToLoop(index) {
15        this.swiperInstance.slideToLoop(index, 1, true);
16      }
17    }));
18  });
19})();

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.