PageSourceSearch

https://visualiza.ai/_next/static/chunks/app/home/(pages)/(website)/layout-d72d5a0ed9f8e597.js

js visualiza.ai collected 2026-10-05 13:45:51 UTC 14,555 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2145],{96237:function(e,t,n){Promise.resolve().then(n.bind(n,35215))},35215:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return W}});var r=n(19748),i=n(46041),a=n(2737),o=n(33897),l=n(76102),s=n(31824),c=n(39668),d=n(44938),u=n(54059),h=n(83122),m=n(75854),p=n(49442),f=n(58367),x=n(95296),g=n(23704);let w=e=>{let{breakpoints:t}=e;return{flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",pt:.5,pb:.5,[t.up("md")]:{flexDirection:"row",alignItems:"center",paddingTop:"0",paddingBottom:"0"}}},j=(e,t)=>{let{breakpoints:n}=e,{isMini:r}=t;return{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",[n.up("md")]:{justifyContent:r?"space-between":"stretch",width:r?"100%":"max-content"},[n.up("xl")]:{justifyContent:"stretch !important",width:"max-content !important"}}},b=e=>{let{breakpoints:t}=e;return{display:"none !important",cursor:"pointer",[t.up("xl")]:{display:"inline-block !important"}}};var y=n(26172),v=n(38343),A=function(e){let{absolute:t=!1,light:n=!1,isMini:o=!1}=e,{miniSidenav:A,setMiniSidenav:k,transparentNavbar:C,setTransparentNavbar:E}=(0,y.T)(),{user:S}=(0,v.E)(),[Z,T]=(0,i.useState)(),z=(0,s.usePathname)().split("/").slice(1);return(0,i.useEffect)(()=>{function e(){E(0===window.scrollY)}return T("static"),window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)(c.Z,{position:t?"absolute":Z,color:"inherit",sx:e=>(function(e,t){let{palette:n,boxShadows:r,functions:i,transitions:a,breakpoints:o,borders:l}=e,{transparentNavbar:s,absolute:c,light:d}=t,{dark:u,white:h,text:m,transparent:p}=n,{navbarBoxShadow:f}=r,{rgba:x,pxToRem:g}=i,{borderRadius:w}=l;return{boxShadow:s||c?"none":f,backdropFilter:s||c?"none":"saturate(200%) blur(".concat(g(30),")"),backgroundColor:s||c?"".concat(p.main," !important"):x(h.main,.8),color:()=>d?h.main:s?m.main:u.main,top:c?0:g(12),minHeight:g(75),display:"grid",alignItems:"center",borderRadius:w.xl,paddingTop:g(8),paddingBottom:g(8),paddingRight:c?g(8):0,paddingLeft:c?g(16):0,"& > *":{transition:a.create("all",{easing:a.easing.easeInOut,duration:a.duration.standard})},"& .MuiToolbar-root":{display:"flex",justifyContent:"space-between",alignItems:"center",[o.up("sm")]:{minHeight:"auto",padding:"".concat(g(4)," ").concat(g(16))}}}})(e,{transparentNavbar:C,absolute:t,light:n}),children:(0,r.jsxs)(d.Z,{sx:e=>w(e),children:[(0,r.jsxs)(a.default,{color:"inherit",mb:{xs:1,md:0},sx:e=>j(e,{isMini:o}),children:[(0,r.jsx)(g.Z,{icon:(0,r.jsx)(p.Z,{}),title:z[z.length-1],route:z,light:C?!n:n||!1}),(0,r.jsx)(u.Z,{fontSize:"medium",sx:e=>{let{palette:{dark:t,white:n}}=e;return{color:C?n.main:t.main,cursor:"pointer",...b}},onClick:()=>k(!A),children:A?(0,r.jsx)(h.Z,{}):(0,r.jsx)(m.Z,{})})]}),o?null:(0,r.jsxs)(a.default,{sx:e=>j(e,{isMini:o}),children:[(0,r.jsx)(a.default,{sx:{mr:"2ex"},children:(0,r.jsx)(l.default,{href:"/".concat(S?"allowed-dashboards":"login"),children:(0,r.jsx)(f.Z,{variant:"gradient",color:"primary",children:(0,r.jsx)(x.default,{variant:"button",fontWeight:"bold",color:"white",children:"Entrar"})})})}),(0,r.jsx)(a.default,{children:(0,r.jsx)(l.default,{href:"/contato",children:(0,r.jsx)(f.Z,{variant:"gradient",color:"secondary",children:(0,r.jsx)(x.default,{variant:"button",fontWeight:"bold",color:"white",children:"Fale Conosco"})})})})]})]})})},k=n(22958),C=n(81539),E=n(56367),S=n(12881),Z=n(77426),T=n(92477),z=n(84454),I=n(63042),D=n(78709);let M=[{name:"In\xedcio",key:"",route:"/",icon:(0,r.jsx)(E.Z,{size:"12px",color:"white"})},{name:"A Empresa",key:"empresa",route:"/empresa",icon:(0,r.jsx)(I.Z,{size:"12px",color:"white"})},{name:"Tecnologia",key:"tecnologia",route:"/tecnologia",icon:(0,r.jsx)(Z.Z,{size:"12px",color:"white"})},{name:"Cases",key:"cases",route:"/cases",icon:(0,r.jsx)(S.Z,{size:"12px",color:"white"})},{name:"Privacidade",key:"privacidade",route:"/privacidade",icon:(0,r.jsx)(z.Z,{size:"12px",color:"white"})},{type:"divider",key:"divider-control"},{type:"title",title:"Demonstra\xe7\xe3o",shortTitle:"Demo",key:"title-control"},{name:"Mensurar Audi\xeancia",key:"demo-audiencia",route:"/demo-audiencia",icon:(0,r.jsx)(T.Z,{size:"12px",color:"white"})},{name:"Analisar Campanhas",key:"demo-campanhas",route:"/demo-campanhas",icon:(0,r.jsx)(C.Z,{size:"12px",color:"white"})},{name:"An\xfancios Direcionados",key:"demo-anuncios",route:"/demo-anuncios",icon:(0,r.jsx)(D.Z,{size:"12px",color:"white"})}];var P=n(58074);function W(e){let{children:t}=e,{miniSidenav:n,setMiniSidenav:l}=(0,y.T)(),[s,c]=(0,i.useState)(!1);return(0,r.jsxs)(a.default,{children:[(0,r.jsx)(o.Z,{color:"info",brand:P.default.src,brandName:"\xa0\xa0Visualiza",routes:M,onMouseEnter:()=>{n&&!s&&(l(!1),c(!0))},onMouseLeave:()=>{s&&(l(!0),c(!1))}}),(0,r.jsxs)(a.default,{sx:e=>{let{breakpoints:t,transitions:r,functions:{pxToRem:i}}=e;return{py:3,position:"relative",[t.up("xl")]:{marginLeft:i(n?120:274),transition:r.create(["margin-left","margin-right"],{easing:r.easing.easeInOut,duration:r.duration.standard})}}},children:[(0,r.jsx)(a.default,{sx:{px:3},children:(0,r.jsx)(A,{})}),t,(0,r.jsx)(a.default,{sx:{px:3},children:(0,r.jsx)(k.Z,{privacyPolicy:!0})})]})]})}},38343:function(e,t,n){"use strict";n.d(t,{E:function(){return c},H:function(){return s}});var r=n(19748),i=n(46041),a=n(31824);let o={user:null,loading:!1,signIn:async(e,t)=>{},signOut:async()=>{}},l=(0,i.createContext)(o),s=e=>{let{children:t}=e,n=(0,a.useRouter)(),s=(0,a.usePathname)(),[c,d]=(0,i.useState)(o.user),[u,h]=(0,i.useState)(o.loading),m=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=async()=>{h(!0);let e=await fetch("/api/auth/me",{credentials:"include"});e.ok&&d(await e.json()),h(!1)};m.current||(m.current=!0,e())},[s,n]),(0,i.useEffect)(()=>{(async()=>{c&&(null==s?void 0:s.includes("/login"))&&(h(!0),n.push("/"))})()},[c,n,s]);let p=i.useCallback(async(e,t)=>{try{if("email"===e){let e=await fetch("/api/auth/request/email",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(t)});if(e.ok){window.location.href="/";return}{let t=await e.json();throw console.error("SignIn Error",t),Error("string"==typeof t.detail?t.detail:"Server error")}}if("google"===e){h(!0);let e=await fetch("/api/auth/request/google",{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include"});if(e.ok)n.push((await e.json()).redirect_url);else{let t=await e.json();throw console.error("SignIn Error",t),Error("string"==typeof t.detail?t.detail:"Server error")}}else if("microsoft"===e){h(!0);let e=await fetch("/api/auth/request/microsoft",{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include"});if(e.ok)n.push((await e.json()).redirect_url);else{let t=await e.json();throw console.error("SignIn Error",t),Error("string"==typeof t.detail?t.detail:"Server error")}}}catch(e){n.push("/error?message=".concat(e.message))}},[n]),f=i.useCallback(async()=>{(await fetch("/api/auth/signout",{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include"})).ok?(d(null),n.push("/login")):console.error("Could not sign out")},[n]),x=i.useMemo(()=>({user:c,loading:u,signIn:p,signOut:f}),[c,u,p,f]);return(0,r.jsx)(l.Provider,{value:x,children:t})},c=()=>i.useContext(l)},26172:function(e,t,n){"use strict";n.d(t,{T:function(){return l},z:function(){return o}});var r=n(19748),i=n(46041);let a=(0,i.createContext)({miniSidenav:!1,setMiniSidenav:e=>{},transparentNavbar:!0,setTransparentNavbar:e=>{}}),o=e=>{let{children:t}=e,[n,o]=(0,i.useState)(!1),[l,s]=(0,i.useState)(!0),c=i.useMemo(()=>({miniSidenav:n,setMiniSidenav:o,transparentNavbar:l,setTransparentNavbar:s}),[n,l]);return(0,r.jsx)(a.Provider,{value:c,children:t})},l=()=>i.useContext(a)},58367:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(19748),i=n(46041),a=n(56098),o=n(90942),l=(0,n(33041).ZP)(o.Z)(e=>{let t,n,{theme:r,ownerState:i}=e,{palette:a,functions:o,borders:l}=r,{color:s,variant:c,size:d,circular:u,iconOnly:h}=i,{white:m,dark:p,text:f,transparent:x,gradients:g}=a,{boxShadow:w,linearGradient:j,pxToRem:b,rgba:y}=o,{borderRadius:v}=l;return{..."contained"===c&&(()=>{let e=a[s]?a[s].main:m.main,t=a[s]?a[s].focus:m.focus,n=a[s]?w([0,0],[0,3.2],a[s].main,.5):w([0,0],[0,3.2],p.main,.5),r=m.main;"white"!==s&&a[s]?"light"===s&&(r=g.dark.state):r=f.main;let i=m.main;return"white"===s?i=f.main:("primary"===s||"error"===s||"dark"===s)&&(i=m.main),{background:e,color:r,"&:hover":{backgroundColor:e},"&:focus:not(:hover)":{backgroundColor:t,boxShadow:n},"&:disabled":{backgroundColor:e,color:i}}})(),..."outlined"===c&&(()=>{let e="white"===s?y(m.main,.1):x.main,t=a[s]?a[s].main:m.main,n=a[s]?w([0,0],[0,3.2],a[s].main,.5):w([0,0],[0,3.2],m.main,.5),r=a[s]?a[s].main:y(m.main,.75);return"white"===s&&(r=y(m.main,.75)),{background:e,color:t,borderColor:r,"&:hover":{background:x.main,borderColor:t},"&:focus:not(:hover)":{background:x.main,boxShadow:n},"&:active:not(:hover)":{backgroundColor:t,color:m.main,opacity:.85},"&:disabled":{color:t,borderColor:t}}})(),..."gradient"===c&&(()=>{let e="white"!==s&&g[s]?j(g[s].main,g[s].state):m.main,t=m.main;return"white"===s?t=f.main:"light"===s&&(t=g.dark.state),{background:e,color:t,"&:focus:not(:hover)":{boxShadow:"none"},"&:disabled":{background:e,color:t}}})(),..."text"===c&&(()=>{let e=a[s]?a[s].main:m.main,t=a[s]?a[s].focus:m.focus;return{color:e,"&:hover":{color:t},"&:focus:not(:hover)":{color:t}}})(),...u&&{borderRadius:v.section},...h&&(t=b(38),"small"===d?t=b(25.4):"large"===d&&(t=b(52)),n="".concat(b(11)," ").concat(b(11)," ").concat(b(10)),"small"===d?n=b(4.5):"large"===d&&(n=b(16)),{width:t,minWidth:t,height:t,minHeight:t,padding:n,"& .material-icons":{marginTop:0},"&:hover, &:focus, &:active":{transform:"none"}})}}),s=(0,i.forwardRef)((e,t)=>{let{color:n="white",variant:i="contained",size:o="medium",circular:s=!1,iconOnly:c=!1,children:d,...u}=e,h=(0,a.Z)();return(0,r.jsx)(l,{...u,ref:t,color:"primary",variant:"gradient"===i?"contained":i,size:o,theme:h,ownerState:{color:n,variant:i,size:o,circular:s,iconOnly:c},children:d})})},95296:function(e,t,n){"use strict";n.d(t,{default:function(){return s}});
1var r=n(19748),i=n(46041),a=n(56098),o=n(20176),l=(0,n(33041).ZP)(o.Z)(e=>{let{theme:t,ownerState:n}=e,{palette:r,typography:i,functions:a}=t,{color:o,textTransform:l,verticalAlign:s,fontWeight:c,opacity:d,textGradient:u}=n,{gradients:h,transparent:m}=r,{fontWeightLight:p,fontWeightRegular:f,fontWeightMedium:x,fontWeightBold:g}=i,{linearGradient:w}=a,j={light:p,regular:f,medium:x,bold:g};return{opacity:d,textTransform:l,verticalAlign:s,textDecoration:"none",color:"inherit"!==o&&r[o]?r[o].main:"inherit",fontWeight:j[c]&&j[c],...u&&{backgroundImage:"inherit"!==o&&"text"!==o&&"white"!==o&&h[o]?w(h[o].main,h[o].state):w(h.dark.main,h.dark.state),display:"inline-block",WebkitBackgroundClip:"text",WebkitTextFillColor:m.main,position:"relative",zIndex:1}}}),s=(0,i.forwardRef)((e,t)=>{let{color:n="dark",fontWeight:i=!1,textTransform:o="none",verticalAlign:s="unset",textGradient:c=!1,opacity:d=1,children:u,...h}=e,m=(0,a.Z)();return(0,r.jsx)(l,{...h,ref:t,theme:m,ownerState:{color:n,textTransform:o,verticalAlign:s,fontWeight:i,opacity:d,textGradient:c},children:u})})},23704:function(e,t,n){"use strict";var r=n(19748),i=n(76102),a=n(80625),o=n(54059),l=n(2737),s=n(95296);t.Z=function(e){let{icon:t,title:n,route:c,light:d=!1}=e,u=Array.isArray(c)?c.slice(0,-1):[c.slice(0,-1)];return""===n&&(n="in\xedcio"),n=decodeURIComponent(n).replace(/_/g," "),(0,r.jsxs)(l.default,{mr:{xs:0,xl:8},children:[(0,r.jsxs)(a.Z,{sx:{"& .MuiBreadcrumbs-separator":{color:e=>{let{palette:{white:t,grey:n}}=e;return d?t.main:n[600]}}},children:[(0,r.jsx)(i.default,{href:"/",children:(0,r.jsx)(s.default,{component:"span",variant:"body2",color:d?"white":"dark",opacity:d?.8:.5,sx:{lineHeight:0},children:(0,r.jsx)(o.Z,{children:t})})}),u.map(e=>(0,r.jsx)(i.default,{href:"/".concat(e),children:(0,r.jsx)(s.default,{component:"span",variant:"button",fontWeight:"regular",textTransform:"capitalize",color:d?"white":"dark",opacity:d?.8:.5,sx:{lineHeight:0},children:e})},e)),(0,r.jsx)(s.default,{variant:"button",fontWeight:"regular",textTransform:"capitalize",color:d?"white":"dark",sx:{lineHeight:0},children:n.replace("-"," ")})]}),(0,r.jsx)(s.default,{fontWeight:"bold",textTransform:"capitalize",variant:"h6",color:d?"white":"dark",noWrap:!0,children:n.replace("-"," ")})]})}},22958:function(e,t,n){"use strict";var r=n(19748),i=n(98593),a=n(2737),o=n(95296),l=n(56098);t.Z=function(e){let{privacyPolicy:t=!1}=e,{size:n}=(0,l.Z)().typography;return(0,r.jsxs)(a.default,{width:"100%",display:"flex",flexDirection:{xs:"column",lg:"row"},justifyContent:"space-between",alignItems:"center",px:1.5,children:[(0,r.jsxs)(a.default,{display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",color:"white",fontSize:n.sm,px:1.5,children:["\xa9 ",new Date().getFullYear()," - Visualiza"]}),(0,r.jsx)(a.default,{component:"ul",sx:e=>{let{breakpoints:t}=e;return{display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"center",listStyle:"none",mt:3,mb:0,p:0,[t.up("lg")]:{mt:0}}},children:(0,r.jsxs)(a.default,{component:"ul",px:2,lineHeight:1,sx:{display:"flex",flexWrap:"wrap",listStyle:"none"},children:[(0,r.jsx)(a.default,{component:"li",mr:4,display:t?"block":"none",children:(0,r.jsx)(i.Z,{href:"https://visualiza.ai/politica-de-privacidade",target:"_blank",children:(0,r.jsx)(o.default,{variant:"button",fontWeight:"regular",color:"white",textTransform:"none",children:"Pol\xedtica de Privacidade"})})}),(0,r.jsx)(a.default,{component:"li",children:(0,r.jsx)(i.Z,{href:"https://visualiza.ai",target:"_blank",children:(0,r.jsx)(o.default,{variant:"button",fontWeight:"regular",color:"white",textTransform:"none",children:"visualiza.ai"})})})]})})]})}},58074:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/main_logo.c3201977.png",height:546,width:546,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAUVBMVEVMaXEOodQNl6UonKEEFTICHDsEJkcHPXADPncIVIEKh6AECRcDHjQDCBdK2fEmm8Ff6v44pKic7O0BAAApps8FI0QMVHkGOmQHkscHQ29wXlzSS+z3AAAAE3RSTlMA/fz7TZebV5/++5pTm/z9/Pz7M+LOPAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAEJJREFUeJwVy0cSgDAMALFNs53QSaH8/6EMuguIKUUAGVsbApr3M6xZsXa8NTjDmq/V34Y+rhR3KUjPucvf5mWK8AFSyQJRoh4guwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[9374,4639,8042,2975,764,4803,511,8084,5555,9720,2880,3897,5999,9957,1744],function(){return e(e.s=96237)}),_N_E=e.O()}]);

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.