PageSourceSearch

https://www.withfaye.com/_astro/MediaCarousel.astro_astro_type_script_index_0_lang.GI7abnD1.js

js withfaye.com collected 2026-10-01 12:03:02 UTC 951 bytes, 1 lines download raw bytes

1globalThis.process??={},globalThis.process.env??={};import{t as e}from"./define-custom-element.Cfnjoo7x.js";import{t}from"./carousel.B2XOGoR6.js";e(`v4-media-carousel`,class extends HTMLElement{carousel=null;controller;connectedCallback(){let e=this.querySelector(`[data-viewport]`);if(!e)return;this.controller=new AbortController;let{signal:n}=this.controller,r=this.querySelector(`[data-mc-prev]`),i=this.querySelector(`[data-mc-next]`),a=()=>{let e=this.carousel?.embla;e&&(r&&(r.disabled=!e.canScrollPrev()),i&&(i.disabled=!e.canScrollNext()))};this.carousel=t({viewport:e,options:{align:`start`,containScroll:`trimSnaps`},dotsEl:this.querySelector(`[data-mc-dots]`),onSelect:a,onReInit:a}),r?.addEventListener(`click`,()=>this.carousel?.embla.scrollPrev(),{signal:n}),i?.addEventListener(`click`,()=>this.carousel?.embla.scrollNext(),{signal:n}),a()}disconnectedCallback(){this.controller?.abort(),this.carousel?.destroy(),this.carousel=null}});

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.