PageSourceSearch

https://www.asaptelecom.com.br/assets/LpShell-C8tplbYn.js

js asaptelecom.com.br collected 2026-10-05 19:05:35 UTC 4,133 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieConsentBanner-Dk0RZAZR.js","assets/map-context-8T8ckZq5.js","assets/clarityTagging-DXHzvXA9.js"])))=>i.map(i=>d[i]);
2import{e as g,f as w,h as b,L as x,_ as j}from"./clarityTagging-DXHzvXA9.js";import{r as i,j as e}from"./map-context-8T8ckZq5.js";function A(r,c){i.useEffect(()=>{const o=r.current;if(!c||!o||typeof IntersectionObserver>"u"||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;o.classList.add("com-movimento");const n=new IntersectionObserver(s=>{for(const t of s)t.isIntersecting&&(t.target.classList.add("visto"),n.unobserve(t.target))},{rootMargin:"0px 0px -8% 0px",threshold:.08}),a=new IntersectionObserver(s=>{for(const t of s)t.target.classList.toggle("acesa",t.isIntersecting)},{rootMargin:"-38% 0px -38% 0px"}),l=s=>{s.matches(".surge, .cresce")&&!s.classList.contains("visto")&&n.observe(s),s.matches(".frase")&&a.observe(s),s.querySelectorAll(".surge:not(.visto), .cresce:not(.visto)").forEach(t=>n.observe(t)),s.querySelectorAll(".frase").forEach(t=>a.observe(t))};l(o);const d=new MutationObserver(s=>{for(const t of s)t.addedNodes.forEach(h=>{h instanceof Element&&l(h)})});d.observe(o,{childList:!0,subtree:!0});const u=()=>{o.querySelectorAll(".surge:not(.visto), .cresce:not(.visto)").forEach(s=>{s.getBoundingClientRect().top<window.innerHeight&&s.classList.add("visto")})};let m=0;const f=()=>{m||(m=window.requestAnimationFrame(()=>{m=0,u()}))};window.addEventListener("scroll",f,{passive:!0});const v=window.setTimeout(u,1800);return()=>{window.clearTimeout(v),window.cancelAnimationFrame(m),window.removeEventListener("scroll",f),d.disconnect(),n.disconnect(),a.disconnect(),o.classList.remove("com-movimento")}},[r,c])}const E=i.lazy(()=>j(()=>
2import("./CookieConsentBanner-Dk0RZAZR.js").then(r=>r.h),__vite__mapDeps([0,1,2])));function p(){const[r,c]=i.useState(!1);return i.useEffect(()=>{const o=window.setTimeout(()=>c(!0),1500);return()=>window.clearTimeout(o)},[]),r?e.jsx(i.Suspense,{fallback:null,children:e.jsx(E,{})}):null}function N({children:r,alerta:c,alertaMarca:o,tema:n="escuro",claro:a=!1}){const l=i.useRef(null);return g(),w(),i.useEffect(()=>b(),[]),A(l,n==="campanha"),i.useEffect(()=>{if(n!=="campanha")return;const d=document.body.style.background;return document.body.style.background="oklch(0.233 0.029 233)",()=>{document.body.style.background=d}},[n]),n==="escuro"?e.jsxs("div",{className:"flex min-h-screen flex-col bg-[#021B3A]",children:[e.jsx("header",{className:"container mx-auto flex items-center px-4 py-4",children:e.jsx("img",{src:"/images/LOGO_ASAP_HEADER.png",alt:"ASAP Telecom",width:132,height:36,className:"h-9 w-auto"})}),e.jsx("div",{className:"flex-1",children:r}),e.jsx("footer",{className:"border-t border-white/5",children:e.jsxs("div",{className:"container mx-auto flex flex-col gap-2 px-4 py-6 text-sm text-white/50 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("p",{children:"ASAP Telecom · Ligando Você ao Mundo"}),e.jsx(x,{to:"/politica-de-privacidade-e-termos",className:"underline-offset-4 hover:text-white/80 hover:underline",children:"Política de privacidade"})]})}),e.jsx(p,{})]}):e.jsxs("div",{ref:l,className:"lp relative flex min-h-screen flex-col"+(a?" lp-clara":""),children:[e.jsxs("div",{className:"cabeca",children:[c&&e.jsxs("p",{role:"note",className:"alerta",children:[o&&e.jsxs(e.Fragment,{children:[e.jsx("b",{children:o})," ·"," "]}),c]}),e.jsx("header",{className:"medida topo",children:a?e.jsx("img",{src:"/images/lp/marca-asap-cor.webp",alt:"ASAP Telecom",width:720,height:317}):e.jsx("img",{src:"/images/lp/marca-asap-branca.webp",alt:"ASAP Telecom",width:400,height:181})})]}),e.jsx("div",{className:"flex-1",children:r}),e.jsx("footer",{className:"rodape",children:e.jsxs("div",{className:"medida nota flex flex-col gap-2 py-8 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("p",{children:"ASAP Telecom · Ligando Você ao Mundo"}),e.jsx(x,{to:"/politica-de-privacidade-e-termos",className:"elo",children:"Política de privacidade"})]})}),e.jsx(p,{})]})}export{N as LpShell,N 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.