PageSourceSearch

https://alayacare.com/wp-content/themes/alaya-care/dist/blocks/slider/script.js?ver=1790104270

js alayacare.com collected 2026-09-24 09:15:08 UTC 1,339 bytes, 1 lines download raw bytes

1import{renderBlock as e}from"../../js/app/functions.js";import{initWistiaChannelMedia as t}from"../../js/components/wistia-channel-media.js";var n=`alaya-slider`,r=`(prefers-reduced-motion: reduce)`,i={576:{slidesPerView:`auto`,spaceBetween:16},768:{slidesPerView:`auto`,spaceBetween:24},1200:{slidesPerView:`auto`,spaceBetween:24},1920:{slidesPerView:`auto`,spaceBetween:32}};e(`slider`,(e,a)=>{a||t(e);let o=e.querySelector(`.${n}__carousel`);if(!o)return;let s=e.querySelector(`[data-swiper-nav-prev]`),c=e.querySelector(`[data-swiper-nav-next]`),l=o.dataset.autoplay===`1`,u=window.matchMedia(r),d=null;function f(){let e=l&&!u.matches,t=[Navigation,Keyboard,A11y];e&&t.push(Autoplay),d=new Swiper(o,{modules:t,slidesPerView:1,spaceBetween:16,breakpoints:i,navigation:s&&c?{prevEl:s,nextEl:c}:!1,keyboard:{enabled:!0,onlyInViewport:!0},a11y:{enabled:!0,prevSlideMessage:`Previous slide`,nextSlideMessage:`Next slide`},...e&&{autoplay:{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0}}}),e&&(o.addEventListener(`focusin`,()=>d.autoplay.stop()),o.addEventListener(`focusout`,()=>d.autoplay.start()))}function p(){d&&=(d.destroy(!0,!0),null)}function m(){e.classList.toggle(`is-static`,u.matches),p(),f()}m(),typeof u.addEventListener==`function`?u.addEventListener(`change`,m):typeof u.addListener==`function`&&u.addListener(m)});

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.