PageSourceSearch

https://shipsmart.com.br/assets/BackToTop-CQ1Z05BH.js

js shipsmart.com.br collected 2026-09-24 20:01:31 UTC 995 bytes, 1 lines download raw bytes

1import{j as o}from"./vendor-ui-C9iftOfD.js";import{r as e}from"./vendor-react-DUUNMY5k.js";import{u as r}from"./vendor-i18n-C-AK8qKO.js";import{h as t}from"./index-BQdL3JLS.js";const n=t("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);function s(){const{t:t}=r(),[s,i]=e.useState(!1);return e.useEffect(()=>{let o=!1,e=!1;const r=()=>{o||(o=!0,requestAnimationFrame(()=>{const r=window.scrollY>400;r!==e&&(e=r,i(r)),o=!1}))};return window.addEventListener("scroll",r,{passive:!0}),r(),()=>window.removeEventListener("scroll",r)},[]),s?o.jsx("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":t("backToTop"),style:{position:"fixed",bottom:88,right:24,width:44,height:44,borderRadius:"50%",background:"var(--pink)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 6px 18px rgba(0,0,0,.25)",zIndex:999,border:"none",cursor:"pointer"},children:o.jsx(n,{size:20})}):null}export{s 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.