PageSourceSearch

https://caioexplica.ai/_next/static/chunks/app/layout-e05c2548fba77624.js?dpl=dpl_3QFXgqFWgMEcbAisfQmvr1KiPUEJ

js caioexplica.ai collected 2026-10-05 15:29:08 UTC 17,084 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{2762:function(e,t,r){Promise.resolve().then(r.t.bind(r,47960,23)),Promise.resolve().then(r.bind(r,74196)),Promise.resolve().then(r.bind(r,87682)),Promise.resolve().then(r.bind(r,408)),Promise.resolve().then(r.bind(r,77191)),Promise.resolve().then(r.bind(r,28428)),Promise.resolve().then(r.bind(r,7451)),Promise.resolve().then(r.bind(r,43090)),Promise.resolve().then(r.bind(r,86519)),Promise.resolve().then(r.bind(r,31466)),Promise.resolve().then(r.bind(r,67499)),Promise.resolve().then(r.bind(r,9359)),Promise.resolve().then(r.bind(r,26822)),Promise.resolve().then(r.bind(r,53131)),Promise.resolve().then(r.bind(r,36096)),Promise.resolve().then(r.bind(r,49423)),Promise.resolve().then(r.bind(r,93032)),Promise.resolve().then(r.bind(r,69234)),Promise.resolve().then(r.bind(r,50263)),Promise.resolve().then(r.bind(r,2756)),Promise.resolve().then(r.bind(r,37004)),Promise.resolve().then(r.bind(r,42161)),Promise.resolve().then(r.bind(r,21967)),Promise.resolve().then(r.bind(r,97415)),Promise.resolve().then(r.bind(r,7337)),Promise.resolve().then(r.bind(r,70668)),Promise.resolve().then(r.bind(r,66549)),Promise.resolve().then(r.bind(r,78979)),Promise.resolve().then(r.bind(r,39674)),Promise.resolve().then(r.bind(r,60780)),Promise.resolve().then(r.bind(r,66289)),Promise.resolve().then(r.bind(r,38761)),Promise.resolve().then(r.bind(r,860)),Promise.resolve().then(r.bind(r,81222)),Promise.resolve().then(r.bind(r,87356)),Promise.resolve().then(r.bind(r,45768)),Promise.resolve().then(r.bind(r,49210)),Promise.resolve().then(r.bind(r,91381)),Promise.resolve().then(r.bind(r,49339)),Promise.resolve().then(r.bind(r,55310)),Promise.resolve().then(r.bind(r,9807)),Promise.resolve().then(r.bind(r,74310)),Promise.resolve().then(r.bind(r,18298)),Promise.resolve().then(r.bind(r,13801)),Promise.resolve().then(r.bind(r,99705)),Promise.resolve().then(r.bind(r,36230)),Promise.resolve().then(r.bind(r,84149)),Promise.resolve().then(r.bind(r,23962)),Promise.resolve().then(r.bind(r,85289)),Promise.resolve().then(r.bind(r,25782)),Promise.resolve().then(r.bind(r,52908)),Promise.resolve().then(r.bind(r,60252)),Promise.resolve().then(r.bind(r,16510)),Promise.resolve().then(r.bind(r,10224)),Promise.resolve().then(r.bind(r,80771)),Promise.resolve().then(r.bind(r,77273)),Promise.resolve().then(r.bind(r,6035)),Promise.resolve().then(r.bind(r,65868)),Promise.resolve().then(r.bind(r,21950)),Promise.resolve().then(r.bind(r,19208)),Promise.resolve().then(r.bind(r,96748)),Promise.resolve().then(r.bind(r,37857)),Promise.resolve().then(r.bind(r,74317)),Promise.resolve().then(r.bind(r,57129)),Promise.resolve().then(r.bind(r,96277)),Promise.resolve().then(r.bind(r,84090)),Promise.resolve().then(r.bind(r,81523)),Promise.resolve().then(r.bind(r,70049)),Promise.resolve().then(r.t.bind(r,1868,23)),Promise.resolve().then(r.t.bind(r,7355,23))},74196:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var n=r(57437),s=r(27648),o=r(2265);function i(){let[e,t]=(0,o.useState)(!1),r=[{href:"/",label:"In\xedcio"},{href:"/terminal",label:"\uD83D\uDDA5️ Terminal"},{href:"/populares",label:"Explorar"},{href:"/trilhas",label:"Trilhas"},{href:"/perguntar",label:"Perguntar"}];return(0,n.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 border-b border-border/40 bg-background/60 backdrop-blur-xl",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,n.jsxs)(s.default,{href:"/",className:"flex items-center space-x-3 group",children:[(0,n.jsxs)("div",{className:"relative w-9 h-9",children:[(0,n.jsx)("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-br from-accent-blue to-accent-cyan opacity-60 blur-md group-hover:opacity-100 transition-opacity"}),(0,n.jsx)("div",{className:"relative w-9 h-9 rounded-lg bg-gradient-to-br from-accent-blue to-accent-cyan flex items-center justify-center",children:(0,n.jsxs)("svg",{className:"w-5 h-5 text-white",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"M12 2L2 7l10 5 10-5-10-5z"}),(0,n.jsx)("path",{d:"M2 17l10 5 10-5"}),(0,n.jsx)("path",{d:"M2 12l10 5 10-5"})]})})]}),(0,n.jsxs)("div",{className:"flex items-baseline space-x-1",children:[(0,n.jsx)("span",{className:"text-lg font-bold text-white tracking-tight",children:"Caio"}),(0,n.jsx)("span",{className:"text-lg font-bold bg-gradient-to-r from-accent-blue to-accent-cyan bg-clip-text text-transparent tracking-tight",children:"Explica"})]})]}),(0,n.jsx)("nav",{className:"hidden md:flex items-center space-x-1",children:r.map(e=>(0,n.jsx)(s.default,{href:e.href,className:"px-4 py-2 rounded-lg text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 transition-all duration-200",children:e.label},e.href))}),(0,n.jsxs)("div",{className:"hidden md:flex items-center space-x-3",children:[(0,n.jsxs)("a",{href:"https://x.com/0xCVYH",target:"_blank",rel:"noopener noreferrer",className:"flex items-center space-x-2 px-4 py-2 rounded-lg text-sm font-medium text-gray-400 hover:text-white transition-all duration-200",children:[(0,n.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,n.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),(0,n.jsx)("span",{children:"@0xCVYH"})]}),(0,n.jsx)("a",{href:"/perguntar",className:"px-5 py-2 rounded-lg text-sm font-semibold bg-gradient-to-r from-accent-blue to-accent-cyan text-white hover:shadow-lg hover:shadow-accent-blue/20 transition-all duration-300 hover:-translate-y-0.5",children:"Fazer Pergunta"})]}),(0,n.jsx)("button",{onClick:()=>t(!e),className:"md:hidden relative p-2 text-gray-400 hover:text-white transition-colors rounded-lg hover:bg-white/5","aria-label":"Menu",children:(0,n.jsxs)("div",{className:"w-5 h-4 relative flex flex-col justify-between",children:[(0,n.jsx)("span",{className:"block h-0.5 bg-current rounded-full transition-all duration-300 ".concat(e?"rotate-45 translate-y-[7px]":"")}),(0,n.jsx)("span",{className:"block h-0.5 bg-current rounded-full transition-all duration-300 ".concat(e?"opacity-0 scale-0":"")}),(0,n.jsx)("span",{className:"block h-0.5 bg-current rounded-full transition-all duration-300 ".concat(e?"-rotate-45 -translate-y-[7px]":"")})]})})]}),(0,n.jsx)("div",{className:"md:hidden overflow-hidden transition-all duration-300 ease-out ".concat(e?"max-h-80 opacity-100":"max-h-0 opacity-0"),children:(0,n.jsxs)("nav",{className:"pb-6 pt-2 space-y-1",children:[r.map(e=>(0,n.jsx)(s.default,{href:e.href,onClick:()=>t(!1),className:"block px-4 py-3 rounded-xl text-gray-400 hover:text-white hover:bg-white/5 transition-all text-sm font-medium",children:e.label},e.href)),(0,n.jsxs)("div",{className:"pt-3 mt-3 border-t border-border/40 space-y-2",children:[(0,n.jsxs)("a",{href:"https://x.com/0xCVYH",target:"_blank",rel:"noopener noreferrer",className:"flex items-center space-x-2 px-4 py-3 rounded-xl text-gray-400 hover:text-white transition-all text-sm",children:[(0,n.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),(0,n.jsx)("span",{children:"Seguir no X"})]}),(0,n.jsx)("a",{href:"/perguntar",onClick:()=>t(!1),className:"block px-4 py-3 rounded-xl text-sm font-semibold bg-gradient-to-r from-accent-blue to-accent-cyan text-white text-center",children:"Fazer Pergunta"})]})]})})]})})}},87682:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var n=r(57437),s=r(29),o=r.n(s),i=r(2265);function a(e){let{placeholder:t="Seu melhor email",buttonText:r="Receber novas explica\xe7\xf5es",successText:s="Inscri\xe7\xe3o confirmada! \uD83C\uDF89",errorText:a="Erro ao cadastrar. Tente novamente.",className:l="",compact:c=!1}=e,[d,u]=(0,i.useState)(""),[m,h]=(0,i.useState)("idle"),[f,b]=(0,i.useState)(""),x=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),p=async e=>{if(e.preventDefault(),!x(d)){b("Email inv\xe1lido"),h("error"),setTimeout(()=>h("idle"),3e3);return}h("loading"),b("");try{let e=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:d})}),t=await e.json();t.success?(h("success"),b(s),u(""),setTimeout(()=>{h("idle"),b("")},5e3)):(h("error"),b(t.error||a),setTimeout(()=>h("idle"),3e3))}catch(e){console.error("Newsletter subscription error:",e),h("error"),b(a),setTimeout(()=>h("idle"),3e3)}};return c?(0,n.jsxs)("form",{onSubmit:p,className:"".concat(l),children:[(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,n.jsx)("input",{type:"email",value:d,onChange:e=>u(e.target.value),placeholder:t,disabled:"loading"===m||"success"===m,className:"flex-1 px-4 py-2 bg-background border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-accent-blue disabled:opacity-50 text-sm"}),(0,n.jsx)("button",{type:"submit",disabled:"loading"===m||"success"===m,className:"px-4 py-2 bg-accent-blue hover:bg-accent-blue/80 text-white rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed text-sm font-medium whitespace-nowrap",children:"loading"===m?"Cadastrando...":"success"===m?"✓ Feito!":r})]}),f&&(0,n.jsx)("p",{className:"mt-2 text-sm ".concat("success"===m?"text-green-400":"text-red-400"," animate-fade-in"),children:f})]}):(0,n.jsxs)("div",{className:"jsx-fd0a546350fe61e6 "+"max-w-md mx-auto ".concat(l),children:[(0,n.jsxs)("form",{onSubmit:p,className:"jsx-fd0a546350fe61e6 space-y-4",children:[(0,n.jsx)("div",{className:"jsx-fd0a546350fe61e6",children:(0,n.jsx)("input",{type:"email",value:d,onChange:e=>u(e.target.value),placeholder:t,disabled:"loading"===m||"success"===m,className:"jsx-fd0a546350fe61e6 w-full px-4 py-3 bg-background border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-accent-blue disabled:opacity-50"})}),(0,n.jsxs)("button",{type:"submit",disabled:"loading"===m||"success"===m,className:"jsx-fd0a546350fe61e6 w-full px-6 py-3 bg-gradient-to-r from-accent-gold to-accent-blue text-white rounded-lg font-medium transition-all disabled:opacity-50 disabled:cursor-not-allowed hover:shadow-lg hover:scale-105",children:["loading"===m&&"Cadastrando...","success"===m&&"✓ Inscri\xe7\xe3o confirmada!","idle"===m&&r,"error"===m&&r]}),f&&(0,n.jsx)("div",{className:"jsx-fd0a546350fe61e6 "+"p-4 rounded-lg text-center animate-fade-in ".concat("success"===m?"bg-green-500/10 text-green-400 border border-green-500/20":"bg-red-500/10 text-red-400 border border-red-500/20"),children:f})]}),(0,n.jsx)(o(),{id:"fd0a546350fe61e6",children:"@-webkit-keyframes fade-in{from{opacity:0;-webkit-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-moz-keyframes fade-in{from{opacity:0;-moz-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-moz-transform:translatey(0);transform:translatey(0)}}@-o-keyframes fade-in{from{opacity:0;-o-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-o-transform:translatey(0);transform:translatey(0)}}@keyframes fade-in{from{opacity:0;-webkit-transform:translatey(-10px);-moz-transform:translatey(-10px);-o-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}.animate-fade-in.jsx-fd0a546350fe61e6{-webkit-animation:fade-in.3s ease-out;-moz-animation:fade-in.3s ease-out;-o-animation:fade-in.3s ease-out;animation:fade-in.3s ease-out}"})]})}},408:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(2265);let s=null,o=null,i=!1;async function a(){if(s)return s;let e=await fetch("/search-index.json");return s=await e.json()}async function l(){if(o)return o;let e=await fetch("/search-index-full.json");return o=await e.json()}function c(e){return e.sections&&Array.isArray(e.sections)?e.sections.map(e=>{var t,r,n;return null!==(n=null!==(r=null!==(t=e.text)&&void 0!==t?t:e.content)&&void 0!==r?r:e.body)&&void 0!==n?n:""}
1).filter(Boolean).join(" "):""}function d(){return"undefined"!=typeof navigator&&"modelContext"in navigator}function u(){return(0,n.useEffect)(()=>{d()&&(function(){if(i||!d())return;let e=navigator.modelContext;e.registerTool({name:"searchCaioExplica",description:"Search Caio Vicentino's 126+ educational articles about cryptocurrency, DeFi, and AI",inputSchema:{type:"object",properties:{query:{type:"string",description:"Search query"},limit:{type:"number",description:"Maximum number of results (default 5)"}},required:["query"]},handler:async e=>{var t;let r=String(null!==(t=e.query)&&void 0!==t?t:""),n="number"==typeof e.limit?e.limit:5;return(await a()).map(e=>({entry:e,score:function(e,t){var r,n;let s=t.toLowerCase().split(/\s+/).filter(Boolean),o=[e.title,...null!==(r=e.tags)&&void 0!==r?r:[],null!==(n=e.textPreview)&&void 0!==n?n:""].join(" ").toLowerCase();return s.reduce((t,r)=>(o.includes(r)&&(t+=1),e.title.toLowerCase().includes(r)&&(t+=2),t),0)}(e,r)})).filter(e=>{let{score:t}=e;return t>0}).sort((e,t)=>t.score-e.score).slice(0,n).map(e=>{var t;let{entry:r}=e;return{title:r.title,slug:r.slug,url:"https://caioexplica.ai/".concat(r.slug),preview:null!==(t=r.textPreview)&&void 0!==t?t:""}})}}),e.registerTool({name:"getExplanation",description:"Get full content of a specific educational page from Caio Vicentino",inputSchema:{type:"object",properties:{slug:{type:"string",description:"Page slug identifier"}},required:["slug"]},handler:async e=>{var t,r,n;let s=String(null!==(t=e.slug)&&void 0!==t?t:""),o=await fetch("/content/".concat(s,".json"));if(!o.ok)throw Error("Page not found: ".concat(s));let i=await o.json(),a=c(i);return{title:i.title,content:a,audioUrl:null!==(r=i.audioUrl)&&void 0!==r?r:null,tags:null!==(n=i.tags)&&void 0!==n?n:[],url:"https://caioexplica.ai/".concat(s)}}}),e.registerTool({name:"askCaio",description:"Ask a question and get relevant context from Caio Vicentino's articles about crypto, DeFi, and AI",inputSchema:{type:"object",properties:{question:{type:"string",description:"Question to answer"}},required:["question"]},handler:async e=>{var t;let r=String(null!==(t=e.question)&&void 0!==t?t:""),n=(await l()).map(e=>({entry:e,score:function(e,t){var r,n;let s=t.toLowerCase().split(/\s+/).filter(Boolean),o=[e.title,...null!==(r=e.tags)&&void 0!==r?r:[],null!==(n=e.fullText)&&void 0!==n?n:""].join(" ").toLowerCase();return s.reduce((t,r)=>(o.includes(r)&&(t+=1),e.title.toLowerCase().includes(r)&&(t+=2),t),0)}(e,r)})).filter(e=>{let{score:t}=e;return t>0}).sort((e,t)=>t.score-e.score).slice(0,3),s=(await Promise.all(n.map(async e=>{let{entry:t}=e;try{let e=await fetch("/content/".concat(t.slug,".json"));if(!e.ok)return null;let r=await e.json(),n=c(r);return{title:t.title,url:"https://caioexplica.ai/".concat(t.slug),excerpt:n.slice(0,500)}}catch(e){return null}}))).filter(Boolean),o=s.length>0?"Based on Caio Vicentino's articles, here are the most relevant resources for your question about \"".concat(r,'": ').concat(s.map(e=>e.url).join(", ")):'No articles found directly matching "'.concat(r,'". Try searching with different terms.');return{relevantArticles:s,suggestedAnswer:o}}}),i=!0}(),console.log("\uD83D\uDD27 WebMCP: Registered 3 tools for caioexplica.ai"))},[]),null}},81523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let n=r(18993);function s(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new n.BailoutToCSRError(t);return r}},70049:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return o}});let n=r(57437),s=r(20544);function o(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,s.getExpectedRequestStore)("next/dynamic css"),o=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));o.push(...t)}}return 0===o.length?null:(0,n.jsx)(n.Fragment,{children:o.map(e=>(0,n.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},47960:function(){},1868:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},7355:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_3c557b', '__JetBrains_Mono_Fallback_3c557b'",fontStyle:"normal"},className:"__className_3c557b",variable:"__variable_3c557b"}}},function(e){e.O(0,[587,245,310,972,861,413,971,117,744],function(){return e(e.s=2762)}),_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.