1import{r as s,j as e}from"./main-DZOc8l7R.js";import{M as i,C as n}from"./ChatWidget-BkkgQOR8.js";const a='<script src="https://gerador-de-politicas.vercel.app/chat-widget.js" defer><\/script>';function x(){const[o,t]=s.useState(!1);s.useEffect(()=>{const d=setTimeout(()=>{window.dispatchEvent(new CustomEvent("onfly:chat:open"))},2300);return()=>clearTimeout(d)},[]);function r(){navigator.clipboard.writeText(a),t(!0),setTimeout(()=>t(!1),2e3)}return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-4",children:e.jsxs("div",{className:"max-w-lg w-full text-center space-y-6",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-[#009EFB] flex items-center justify-center mx-auto shadow-lg",children:e.jsx(i,{size:28,className:"text-white"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:"Chat Onfly"}),e.jsx("p",{className:"text-muted-foreground",children:"O assistente esta disponivel no canto inferior direito desta pagina. Clique no botao azul para iniciar."})]}),e.jsxs("div",{className:"bg-muted rounded-xl p-4 text-left space-y-3",children:[e.jsx("p",{className:"text-sm font-semibold text-foreground",children:"Codigo de embed â adicione em qualquer site:"}),e.jsx("pre",{className:"bg-background border border-border rounded-lg p-3 text-xs text-foreground overflow-x-auto whitespace-pre-wrap break-all",children:a}),e.jsx("button",{onClick:r,className:`w-full py-2 rounded-lg bg-[#009EFB] text-white text-sm font-medium 2 hover:bg-[#007fd4] active:scale-95 transition-all duration-150`,children:o?"Copiado!":"Copiar codigo"})]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Cole antes do ",e.jsx("code",{className:"bg-muted px-1 rounded",children:"</body>"})," da pagina onde deseja o chat."]})]})}),e.jsx(n,{mode:"pedrinho"})]})}export{x 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.