PageSourceSearch

https://www.bredenmaster.com/build/_shared/chunk-HSURHAEK.js

js bredenmaster.com collected 2026-10-04 19:36:49 UTC 2,461 bytes, 1 lines download raw bytes

1import{a as x,b as d,c as y}from"/build/_shared/chunk-RWFCWCMV.js";import{a as h}from"/build/_shared/chunk-RDZNSUB2.js";import{a as b}from"/build/_shared/chunk-UOAWDDP5.js";import{d as u}from"/build/_shared/chunk-G5WX4PPA.js";var n=u(h(),1);var t=u(b(),1),M=({data:l})=>{let c=(0,n.useRef)({top:0,left:0}),r=d();if((0,n.useEffect)(()=>{r.start("visible")},[]),!l?.attributes)return(0,t.jsxs)("div",{className:"px-6 text-center pt-24 lg:pt-36",children:[(0,t.jsx)("h4",{className:"text-5xl lg:py-6 font-caprica text-cafecito",children:"\xA1Estamos en todas partes!"}),(0,t.jsx)("p",{className:"text-2xl py-6 lg:text-3xl font-poppins lg:px-8 lg:pt-0 lg:pb-4",children:"Encu\xE9ntranos tambi\xE9n en:"}),(0,t.jsx)("div",{className:"py-6 text-gray-400 italic",children:"(Contenido cargando desde CMS...)"}),(0,t.jsx)("p",{className:"text-2xl py-6 lg:text-3xl font-poppins lg:px-8 lg:pt-0 lg:pb-4",children:"\xA1y en muchos almacenes a lo largo del pa\xEDs!"})]});let{tituloSeccion:s,subtitulo:m,textoFinal:o,logos:f}=l.attributes,p=[...f].sort((a,e)=>a.order-e.order);return(0,t.jsxs)("div",{className:"px-6 text-center pt-24 lg:pt-36 ",children:[(0,t.jsx)("h4",{className:"text-5xl  lg:py-6 font-caprica text-cafecito",children:s}),(0,t.jsx)("p",{className:"text-2xl py-6 lg:text-3xl font-poppins lg:px-8 lg:pt-0 lg:pb-4",children:m}),(0,t.jsx)(x.div,{className:"flex snap-x py-6 snap-mandatory overflow-auto -ml-2 gap-x-8 lg:justify-center",initial:"hidden",animate:r,variants:{},children:p.map((a,e)=>(0,t.jsx)(N,{i:e,logo:{imagen:a.imagen.data.attributes.url,alt:a.alt},delayPerPixel:8e-4,originOffset:c},a.id))}),(0,t.jsx)("p",{className:"text-2xl py-6 lg:text-3xl font-poppins lg:px-8 lg:pt-0 lg:pb-4",children:o})]})},N=({logo:l,i:c,delayPerPixel:r,originOffset:s})=>{let m=(0,n.useRef)(0),o=(0,n.useRef)(null),f=y(o),p=d();(0,n.useEffect)(()=>{if(!(typeof window<"u"))return;let i=o.current;if(!i)return;let g={top:i.offsetTop,left:i.offsetLeft};c===0&&(s.current=g)},[c,s]),(0,n.useEffect)(()=>{let e=o.current;if(!e)return;let i=Math.abs(e.offsetLeft-s.current.left),g=Math.abs(e.offsetTop-s.current.top),v=Math.sqrt(i*i+g*g);m.current=v*r},[r,s]),(0,n.useEffect)(()=>{f&&p.start("visible")},[f,p]);let a={hidden:{opacity:0},visible:e=>({opacity:1,transition:{delay:e.current}})};return(0,t.jsx)(x.img,{ref:o,variants:a,custom:m,initial:"hidden",animate:p,className:"snap-start shrink-0 object-contain size-28  ",alt:l.alt,src:l.imagen})};export{M as a};

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.