PageSourceSearch

https://account.quotidianodipuglia.it/assets/Toast-DuPXoAKZ.js

js quotidianodipuglia.it collected 2026-09-27 21:30:54 UTC 795 bytes, 1 lines download raw bytes

1import{a0 as s,r as a,j as c,n as e}from"./index-r-KClxtY.js";const t=t=>{const i=t.ttl||4.5,l=t.scroll||!1;s(l);const[n,o]=a.useState(!0);let r;const m=()=>{o(!1)};a.useEffect((()=>{t.onVisibilityChange&&t.onVisibilityChange(n)}),[n]),a.useEffect((()=>(r=setTimeout(m,1e3*i),()=>{clearInterval(r)})),[]);let d=!1;if("ricerca_testo"===t.icon)d=!0;return n&&c.jsx("div",{className:"Toast-wrapper ".concat(t.className?t.className:""),onClick:()=>{t.closeOnClick&&m()},children:c.jsxs("div",{className:"Toast-container",children:[t.icon&&c.jsx("img",{className:"icona ".concat(d?"inverted":""),src:"/images/icons/".concat(t.icon,".svg")}),c.jsx("span",{className:"Toast-title",children:t.label}),t.cta&&c.jsx(e,{className:"Toast-cta",to:t.cta.url,children:t.cta.label})]})})};export{t 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.