PageSourceSearch

https://911translate.manus.space/assets/TrustedAgencies-YEA64CUo.js

js 911translate.manus.space collected 2026-10-03 04:15:25 UTC 2,435 bytes, 1 lines download raw bytes

1import{r as a,j as e}from"./vendor-react-DRaQALnt.js";const _="/manus-storage/agency_sprite_5c187a99_2c1ee981.png",d=120,m=Array.from({length:36},(c,t)=>({id:t+1,col:t%9,row:Math.floor(t/9)})),p=m.slice(0,18),h=m.slice(18);function g({agencies:c,direction:t,logoSize:i}){const r=i/d,o=[...c,...c];return e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:29",className:"trusted-agencies__viewport",children:e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:30",className:`trusted-agencies__track trusted-agencies__track--${t}`,children:o.map((s,n)=>e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:32",className:"trusted-agencies__slot",children:e.jsx("span",{"data-loc":"client/src/components/TrustedAgencies.tsx:33",className:"trusted-agencies__logo",role:"img","aria-label":`Agency logo ${s.id}`,style:{backgroundImage:`url(${_})`,backgroundPosition:`${-(s.col*d*r)}px ${-(s.row*d*r)}px`}})},`${s.id}-${n}`))})})}function f(){const c=a.useRef(null),[t,i]=a.useState(!1),[r,o]=a.useState(!1);return a.useEffect(()=>{const s=window.matchMedia("(max-width: 640px)"),n=()=>o(s.matches);n(),s.addEventListener("change",n);const l=c.current;if(!l)return()=>s.removeEventListener("change",n);const u=new IntersectionObserver(([x])=>i(!x.isIntersecting),{threshold:0});return u.observe(l),()=>{u.disconnect(),s.removeEventListener("change",n)}},[]),e.jsxs("section",{"data-loc":"client/src/components/TrustedAgencies.tsx:78",ref:c,id:"trusted-agencies",className:"trusted-agencies","aria-label":"Agency logos","data-paused":t,children:[e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:85",className:"trusted-agencies__grain","aria-hidden":"true"}),e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:87",className:"trusted-agencies__scrim trusted-agencies__scrim--left","aria-hidden":"true"}),e.jsx("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:88",className:"trusted-agencies__scrim trusted-agencies__scrim--right","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/components/TrustedAgencies.tsx:90",className:"trusted-agencies__rows","aria-label":"Agency logos",children:[e.jsx(g,{"data-loc":"client/src/components/TrustedAgencies.tsx:91",agencies:p,direction:"left",logoSize:r?56:72}),e.jsx(g,{"data-loc":"client/src/components/TrustedAgencies.tsx:92",agencies:h,direction:"right",logoSize:r?56:72})]})]})}export{f as default};

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.