PageSourceSearch

https://www.thepuffinhouse.com/_nuxt/CQlqU5Vm.js

js thepuffinhouse.com collected 2026-10-06 19:12:51 UTC 996 bytes, 1 lines download raw bytes

1import{A as f,X as p,K as m,D as i,d as v,c as h,o as r,g as o,h as c,n as q,f as l,F as w,r as g,ai as k}from"#entry";function y(){const t=i(null),e=i(1),n=()=>{m().then(()=>{if(t.value){const a=t.value.getBoundingClientRect().width/2/e.value,s=window.innerWidth;a>0&&(a<s?e.value=Math.ceil(s/a):e.value=1)}})};return f(async()=>{n(),window.addEventListener("resize",p(n,200))}),{containerRef:t,repetitions:e}}const R=v({__name:"Marquee",props:{direction:{default:"left"},isPauseOnHover:{type:Boolean,default:!1}},setup(t){const e=t,{containerRef:n,repetitions:a}=y(),s=h(()=>`marquee${e?.direction.charAt(0).toUpperCase()+e?.direction.slice(1)}`);return(u,B)=>(r(),o("div",null,[c("div",{class:q(["marquee-wrapper",l(s),{"is-pause-on-hover":t.isPauseOnHover}])},[c("div",{class:"marquee-container",ref_key:"containerRef",ref:n},[(r(!0),o(w,null,g(2*l(a),d=>(r(),o("div",{key:`repeated-${d}`,class:"layout-grid template-marquee"},[k(u.$slots,"default")]))),128))],512)],2)]))}});export{R as _};

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.