PageSourceSearch

https://www.yonekura-endoscopy-clinic.com/wp-content/themes/original_theme/assets/js/toppage.js

js yonekura-endoscopy-clinic.com collected 2026-10-05 11:16:00 UTC 912 bytes, 30 lines download raw bytes

1// Frontpage 用
2const splide_mainimage_default_options = {
3  type: 'fade',
4  rewind: true,
5  pagination: false,
6  arrows: false,
7  autoplay: true,
8  interval: 4000,
9  speed: 1500,
10  pauseOnHover: false,
11  reducedMotion: {
12    speed: 400,
13    autoplay: true,
14  },
15};
16window.addEventListener( 'DOMContentLoaded', function(){
17  const splide_mainimage = document.querySelector('#mainimage');
18  const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
19
20  if (splide_mainimage && typeof Splide === 'function') {
21    setTimeout(() => {
22      const mainimage_splide = new Splide(splide_mainimage, splide_mainimage_default_options);
23      mainimage_splide.on('mounted', () => {
24        splide_mainimage.style.display = 'block';
25        document.getElementById('first-view')?.remove();
26      });
27      mainimage_splide.mount();
28    }, 100);
29  }
30}, false);

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.