PageSourceSearch

https://www.marueimiyazaki.jp/wp/wp-content/themes/standard_sass/dist/js/not-home.min.js

js marueimiyazaki.jp collected 2026-10-08 16:17:29 UTC 1,852 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){new class{constructor(e=".slide:has(> *:nth-of-type(n+2))"){this.sliders=document.querySelectorAll(e),this.init(),this.bindResizeEvent()}init(){this.sliders.forEach(e=>{const t=e.querySelectorAll(".splide__slide").length,s=!(t<=1),o=!(t<=1),r=e.closest(".lps_parts--slide")?.classList.contains("slide-center")??!1,n=new Splide(e,{type:"loop",rewind:!0,autoplay:!0,interval:5e3,speed:1e3,pagination:!0,arrows:s,drag:o,pauseOnFocus:!1,pauseOnHover:!1,perPage:1,perMove:1,autoWidth:r,focus:!!r&&"center",updateOnMove:!0});n.on("mounted resize updated move",()=>{this.adjustArrowHeights()}),n.mount()})}adjustArrowHeights(){this.sliders.forEach(e=>{const t=e.querySelector(".img"),s=e.querySelector(".text"),o=e.querySelectorAll(".splide__arrow"),r=t?.offsetHeight??0,n=r>0?r:s?.offsetHeight??0;o.forEach(e=>{e.style.height=`${n}px`})})}bindResizeEvent(){window.addEventListener("resize",()=>this.adjustArrowHeights())}},document.querySelectorAll("table").forEach(function(e){const t=e.closest(".mce-content-body"),s=e.querySelector("tbody");if(!t||!s)return;if(t.offsetWidth<s.offsetWidth-2)if(e.classList.contains("table-sp-scroll")){const t=document.createElement("div");t.className="scroll",e.parentNode.insertBefore(t,e),t.appendChild(e);const s=document.createElement("p");s.className="scroll--cap",s.textContent="横にスクロールできます→",t.parentNode.insertBefore(s,t)}else e.style.width="100%"}),document.querySelectorAll('iframe[src^="https://www.youtube.com/embed/"]').forEach(function(e){let t=e.getAttribute("src");t.match(/\?feature=oembed/)&&(t=t.replace("?feature=oembed",""));const s=t.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);if(s&&s[2]){const o=s[2];if(11===o.length){const s=t+"?rel=0&loop=1&playlist="+o;e.setAttribute("src",s)}}})});

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.