PageSourceSearch

https://clerk.chat/js/carousel-initialization.min.js?v=1790097915

js clerk.chat collected 2026-09-24 08:49:40 UTC 2,712 bytes, 1 lines download raw bytes

1const listOptions=[{selector:'[data-with-carousel="case-studies"]',options:{shouldPlayOnIntersection:!0},plugins:[EmblaCarouselAutoplay({playOnInit:!1,stopOnMouseEnter:!0,stopOnInteraction:!0,delay:3e3})]},{selector:'[data-with-carousel="industries"]',options:{},plugins:[]},{selector:'[data-with-carousel="security"]',options:{active:!1,breakpoints:{"(max-width: 768px)":{active:!0}}},plugins:[]},{selector:'[data-with-carousel="integrations"]',options:{active:!1,breakpoints:{"(max-width: 1024px)":{active:!0}}},plugins:[]}];listOptions.forEach(e=>createCarousel(e));function createCarousel({selector:e,options:t={shouldPlayOnIntersection:!1},plugins:n=[]}){const s=document.querySelector(e);if(!s)return;const i=s.querySelector("[data-embla]"),a=i.querySelector("[data-embla-viewport]"),r=s.querySelector("[data-prev-button]"),c=s.querySelector("[data-next-button]"),l=s.querySelector("[data-pagination]"),o=EmblaCarousel(a,t,n),d=addPrevNextBtnsClickHandlers(o,r,c),u=addDotBtnsAndClickHandlers(o,l);if(o.on("destroy",d),o.on("destroy",u),t.shouldPlayOnIntersection){const{autoplay:e}=o.plugins();playOnIntersection({$element:s,play:e.play,stop:e.stop})}}function playOnIntersection({$element:e,play:t,stop:n}={play(){},stop(){}}){const s=new IntersectionObserver(e=>{const s=e[0];s.isIntersecting?t():n()},{threshold:0});s.observe(e)}function addTogglePrevNextBtnsActive(e,t,n){const s=()=>{const s=!e.canScrollPrev(),o=!e.canScrollNext();t?.toggleAttribute("disabled",s),t?.classList.toggle("is-disabled",s),n?.toggleAttribute("disabled",o),n?.classList.toggle("is-disabled",o)};return e.on("select",s).on("init",s).on("reInit",s),()=>{t?.removeAttribute("disabled"),n?.removeAttribute("disabled"),t?.classList.remove("is-disabled"),n?.classList.remove("is-disabled")}}function addPrevNextBtnsClickHandlers(e,t,n){const s=()=>{e.scrollPrev()},o=()=>{e.scrollNext()};t?.addEventListener("click",s,!1),n?.addEventListener("click",o,!1);const i=addTogglePrevNextBtnsActive(e,t,n);return()=>{i(),t?.removeEventListener("click",s,!1),n?.removeEventListener("click",o,!1)}}function addDotBtnsAndClickHandlers(e,t){let n=[];const o=()=>{if(!t)return;t.innerHTML=e.scrollSnapList().map(()=>'<button data-embla-dot type="button"></button>').join("");const s=t=>{e.scrollTo(t)};n=Array.from(t.querySelectorAll("[data-embla-dot]")),n.forEach((e,t)=>{e?.addEventListener("click",()=>s(t),!1)})},s=()=>{const s=e.previousScrollSnap(),t=e.selectedScrollSnap(),o=2;e.slideNodes().forEach((e,n)=>{const s=o+t===n;e.classList.toggle("is-last",s)}),n[s]?.classList.remove("is-selected"),n[t]?.classList.add("is-selected")};return e.on("init",o).on("reInit",o).on("init",s).on("reInit",s).on("select",s),()=>{t.innerHTML=""}}

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.