PageSourceSearch

https://trytoku.com/assets/Blog-EfY5W1nR.js

js trytoku.com collected 2026-10-03 23:42:15 UTC 19,664 bytes, 1 lines download raw bytes

1import{j as e,r as t}from"./vendor-radix-D0VWC_MG.js";import{g as N,S as V,a as Z,b as K,T as X,c as ee}from"./index-CjY_Mwb6.js";import{I as se}from"./IndustryPageCTAV2-CoqEswLM.js";import{t as ae}from"./toku-icon-lilac-DZk-0d2l.js";import{L as F}from"./vendor-react-DGtUEEpu.js";import{c as te,b as D}from"./vendor-icons-DONnnTxN.js";import{g as le,a as oe,b as ne,c as re,d as ie}from"./contentful-CY9dlEVX.js";import"./client-CkiI0l7M.js";const ce="/assets/blog-hero-BE1CO3D8.svg",pe=()=>e.jsx("section",{className:"w-full",children:e.jsx("div",{className:"w-full flex justify-center px-6 sm:px-10 lg:px-[180px]",children:e.jsx("div",{className:"w-full",style:{maxWidth:1050},children:e.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 lg:gap-0 pt-[40px] sm:pt-[60px] lg:pt-[86px] pb-[50px] sm:pb-[70px] lg:pb-[94px]",children:[e.jsx("div",{className:"flex-shrink-0 w-full lg:w-[56%]",children:e.jsx("img",{src:ce,alt:"Toku Blog",loading:"eager",decoding:"async",fetchPriority:"high",className:"w-full rounded-[12px] object-cover"})}),e.jsxs("div",{className:"flex flex-col justify-center flex-1 min-w-0 lg:pl-[clamp(20px,3vw,52px)]",children:[e.jsx("span",{className:"font-mono tracking-[1.7px] uppercase leading-[24px]",style:{fontSize:"clamp(11px, 1.1vw, 14px)",color:"#00000099"},children:"Blog"}),e.jsx("h1",{className:"font-body font-medium text-foreground",style:{fontSize:"clamp(18px, 2.15vw, 27.6px)",lineHeight:"clamp(24px, 2.5vw, 32px)",marginTop:"clamp(12px, 2.2vw, 28px)"},children:"Sumérgete en el mundo de la orquestación de pagos."}),e.jsx("p",{className:"font-body font-normal",style:{fontSize:"clamp(12px, 1.25vw, 16px)",lineHeight:"clamp(17px, 1.7vw, 22px)",marginTop:"clamp(12px, 2.5vw, 32px)",color:"#00000099"},children:"Tu biblioteca de referencia para obtener información sobre el ecosistema de pagos."})]})]})})})});function xe(s,l){const n=new Date(s),o=l==="BR"?"pt-BR":"es-ES",a=n.getDate(),r=n.toLocaleDateString(o,{month:"long"}),c=n.getFullYear();return`${a} ${r} ${c}`}const de=({featured:s,loading:l,error:n,country:o="CL"})=>{const a=N(o);return e.jsx("section",{className:"w-full pb-[50px] sm:pb-[70px] lg:pb-[94px]",children:e.jsx("div",{className:"w-full flex justify-center px-6 sm:px-10 lg:px-[180px]",children:e.jsxs("div",{className:"w-full",style:{maxWidth:1050},children:[e.jsx("span",{className:"font-mono font-normal uppercase block tracking-[1.7px]",style:{fontSize:"clamp(10px, 0.9vw, 12px)",lineHeight:"20px",color:"#00000066",marginBottom:"clamp(16px, 2vw, 24px)"},children:"Destacado"}),l?e.jsx("div",{className:"w-full animate-pulse",style:{marginTop:"clamp(30px, 4.6vw, 47px)",borderRadius:"clamp(8px, 0.94vw, 9.6px)",background:"#F3F3F3",height:"clamp(260px, 24vw, 340px)"}}):n?e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF",marginTop:"clamp(30px, 4.6vw, 47px)"},children:"No se pudo cargar el contenido"}):s?e.jsx(F,{to:`${a}/blog/${s.slug}`,className:"block no-underline",children:e.jsxs("div",{className:"w-full flex flex-col md:flex-row overflow-hidden",style:{marginTop:"clamp(30px, 4.6vw, 47px)",borderRadius:"clamp(8px, 0.94vw, 9.6px)",background:"#F3F3F3",padding:"clamp(24px, 5.1vw, 52px)",gap:"clamp(20px, 3vw, 40px)"},children:[e.jsxs("div",{className:"flex flex-col justify-center flex-1 min-w-0 order-2 md:order-1",children:[e.jsxs("div",{children:[e.jsx("span",{className:"font-mono font-normal uppercase block",style:{fontSize:"clamp(9px, 0.94vw, 9.6px)",lineHeight:"18px",letterSpacing:"2px",color:"#000000"},children:xe(s.publishDate,o)}),e.jsx("h2",{className:"font-body font-semibold",style:{fontSize:"clamp(16px, 1.88vw, 19.2px)",lineHeight:"clamp(22px, 2.63vw, 26.9px)",color:"#000000",margin:0,marginTop:"clamp(16px, 2.5vw, 30px)",maxWidth:"clamp(220px, 25.5vw, 327px)"},children:s.title}),e.jsx("p",{className:"font-body font-normal",style:{fontSize:"clamp(12px, 1.25vw, 12.8px)",lineHeight:"clamp(17px, 1.88vw, 19.2px)",color:"#00000099",margin:0,marginTop:"clamp(12px, 2vw, 24px)",maxWidth:"clamp(260px, 27.6vw, 353.6px)"},children:s.excerpt})]}),e.jsxs("div",{className:"flex items-center",style:{marginTop:"clamp(20px, 3vw, 32px)",gap:"clamp(8px, 0.94vw, 12px)"},children:[s.authorAvatar?e.jsx("img",{src:s.authorAvatar,alt:s.author,loading:"lazy",decoding:"async",className:"rounded-full object-cover flex-shrink-0",style:{width:"clamp(28px, 3.1vw, 32px)",height:"clamp(28px, 3.1vw, 32px)"}}):e.jsx("div",{className:"flex items-center justify-center flex-shrink-0",style:{width:"clamp(28px, 3.1vw, 32px)",height:"clamp(28px, 3.1vw, 32px)",borderRadius:"50%",background:"#3C1053"},children:e.jsx("img",{src:ae,alt:"Toku",loading:"lazy",decoding:"async",style:{width:"clamp(12px, 1.3vw, 13.6px)",height:"clamp(12px, 1.3vw, 13.6px)"}})}),e.jsx("span",{className:"font-body font-normal uppercase",style:{fontSize:"clamp(9px, 0.94vw, 9.6px)",lineHeight:"18px",letterSpacing:"2px",color:"#282A30"},children:s.author})]})]}),e.jsx("div",{className:"w-full md:w-[54%] flex-shrink-0 order-1 md:order-2 flex items-center",children:s.coverImage?e.jsx("img",{src:s.coverImage,alt:s.title,loading:"eager",decoding:"async",fetchPriority:"high",className:"w-full h-auto",style:{borderRadius:"clamp(5px, 0.6vw, 6.4px)"}}):e.jsx("div",{className:"w-full",style:{height:"clamp(180px, 16vw, 240px)",borderRadius:"clamp(5px, 0.6vw, 6.4px)",background:"#E5DDFE"}})})]})}):e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF",marginTop:"clamp(30px, 4.6vw, 47px)"},children:"No hay posts disponibles"})]})})})},me="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L10.5355%2010.5355M10.5355%2010.5355C11.4404%209.63071%2012%208.38071%2012%207C12%204.23858%209.76142%202%207%202C4.23858%202%202%204.23858%202%207C2%209.76142%204.23858%2012%207%2012
1C8.38071%2012%209.63071%2011.4404%2010.5355%2010.5355Z'%20stroke='black'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ge=({categories:s,activeCategory:l,onCategoryChange:n,searchQuery:o,onSearchChange:a,loading:r})=>{const c=["Todos",...s];return r?null:e.jsx("div",{className:"w-full",style:{background:"#F3F3F3"},children:e.jsx("div",{className:"w-full mx-auto px-6 sm:px-10 lg:px-[180px]",style:{maxWidth:"1440px",paddingTop:"clamp(30px, 4vw, 50px)",paddingBottom:"clamp(8px, 1.2vw, 16px)"},children:e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("div",{className:"overflow-x-auto scrollbar-hide flex-1 min-w-0",children:e.jsx("div",{className:"flex items-center gap-[clamp(16px,2.5vw,32px)] whitespace-nowrap min-w-max",children:c.map(p=>e.jsx("button",{onClick:()=>n(p),className:"font-body font-normal bg-transparent border-0 cursor-pointer transition-colors pb-2",style:{fontSize:"clamp(12px, 1.25vw, 12.8px)",lineHeight:"24px",color:p===l?"#AA90FE":"#000000",borderBottom:p===l?"1px solid #AA90FE":"1px solid transparent"},children:p},p))})}),e.jsxs("div",{className:"relative flex-shrink-0 rounded-[6px]",style:{width:"clamp(180px, 22vw, 300px)",height:"clamp(34px, 3.1vw, 40px)",border:"1px solid #0000001A",background:"#FFFFFF"},children:[e.jsx("img",{src:me,alt:"",className:"absolute w-4 h-4",style:{top:"50%",left:14,transform:"translateY(-50%)"}}),e.jsx("input",{type:"text",placeholder:"Buscar...",value:o,onChange:p=>a(p.target.value),className:"w-full h-full bg-transparent font-body font-normal pl-[40px] pr-3 outline-none text-foreground",style:{fontSize:"clamp(12px, 1.2vw, 15.6px)",lineHeight:"22px"}})]})]})})})},$=({currentPage:s,totalPages:l,onPageChange:n})=>{if(l<=1)return null;const o=[];o.push(1),s>3&&o.push("ellipsis");for(let a=Math.max(2,s-1);a<=Math.min(l-1,s+1);a++)o.push(a);return s<l-2&&o.push("ellipsis"),l>1&&o.push(l),e.jsxs("div",{className:"w-full flex items-center justify-center",style:{marginTop:"clamp(24px, 3vw, 42px)",gap:"clamp(4px, 0.5vw, 8px)"},children:[e.jsxs("button",{onClick:()=>n(s-1),disabled:s===1,className:"group inline-flex flex-col items-center justify-center bg-transparent border-none cursor-pointer transition-opacity duration-200 disabled:opacity-30 disabled:cursor-not-allowed",style:{width:"clamp(28px, 2.5vw, 36px)",height:"clamp(28px, 2.5vw, 36px)",borderRadius:"9999px"},"aria-label":"Página anterior",children:[e.jsx(te,{size:16,color:"#000000",strokeWidth:1.5}),e.jsx("span",{className:"block h-[1px] w-3 bg-transparent group-hover:bg-black/30 transition-colors duration-200 mt-0.5"})]}),o.map((a,r)=>a==="ellipsis"?e.jsx("span",{className:"font-mono select-none",style:{fontSize:"clamp(11px, 0.9vw, 13px)",color:"#00000066",width:"clamp(24px, 2vw, 32px)",textAlign:"center"},children:"…"},`e-${r}`):e.jsxs("button",{onClick:()=>n(a),className:"group inline-flex flex-col items-center justify-center border-none cursor-pointer font-mono transition-all duration-200",style:{width:"clamp(28px, 2.5vw, 36px)",height:"clamp(28px, 2.5vw, 36px)",borderRadius:"9999px",fontSize:"clamp(11px, 0.9vw, 13px)",background:s===a?"#AA90FE":"transparent",color:s===a?"#FFFFFF":"#000000",fontWeight:s===a?600:400},"aria-label":`Página ${a}`,"aria-current":s===a?"page":void 0,children:[a,s!==a&&e.jsx("span",{className:"block h-[1px] w-3 bg-transparent group-hover:bg-black/30 transition-colors duration-200 mt-0.5"})]},a)),e.jsxs("button",{onClick:()=>n(s+1),disabled:s===l,className:"group inline-flex flex-col items-center justify-center bg-transparent border-none cursor-pointer transition-opacity duration-200 disabled:opacity-30 disabled:cursor-not-allowed",style:{width:"clamp(28px, 2.5vw, 36px)",height:"clamp(28px, 2.5vw, 36px)",borderRadius:"9999px"},"aria-label":"Página siguiente",children:[e.jsx(D,{size:16,color:"#000000",strokeWidth:1.5}),e.jsx("span",{className:"block h-[1px] w-3 bg-transparent group-hover:bg-black/30 transition-colors duration-200 mt-0.5"})]})]})},b=6;function ue(s,l){const n=new Date(s),o=l==="BR"?"pt-BR":"es-ES",a=n.getDate(),r=n.toLocaleDateString(o,{month:"long"}),c=n.getFullYear();return`${a} ${r} ${c}`}const he=()=>e.jsx("div",{className:"flex flex-col animate-pulse",style:{background:"#FFFFFF",borderRadius:"clamp(6px, 0.67vw, 9.6px)"},children:e.jsxs("div",{style:{padding:"clamp(16px, 1.78vw, 25.6px)"},children:[e.jsx("div",{className:"h-3 w-24 rounded",style:{background:"#E5E5E5"}}),e.jsx("div",{className:"w-full rounded mt-4",style:{height:"clamp(120px, 12vw, 180px)",background:"#E5E5E5"}}),e.jsx("div",{className:"h-5 w-3/4 rounded mt-4",style:{background:"#E5E5E5"}}),e.jsx("div",{className:"h-3 w-full rounded mt-3",style:{background:"#E5E5E5"}}),e.jsx("div",{className:"h-3 w-2/3 rounded mt-2",style:{background:"#E5E5E5"}})]})}),fe=({posts:s,loading:l,error:n,country:o="CL"})=>{const[a,r]=t.useState(1),c=N(o),p=Math.ceil(s.length/b),d=s.slice((a-1)*b,a*b),[u,m]=t.useState(s.length);return s.length!==u&&(m(s.length),a!==1&&r(1)),e.jsx("section",{className:"w-full",style:{background:"#F3F3F3"},children:e.jsx("div",{className:"w-full mx-auto px-6 sm:px-10 lg:px-[180px]",style:{maxWidth:"1440px",paddingTop:"clamp(40px, 5.7vw, 82px)",paddingBottom:"clamp(30px, 3.5v
1w, 51px)"},children:l?e.jsx("div",{className:"w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",style:{gap:"clamp(20px, 2.9vw, 42px) clamp(12px, 1.33vw, 19.2px)"},children:Array.from({length:6}).map((i,h)=>e.jsx(he,{},h))}):n?e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF"},children:"No se pudo cargar el contenido"}):s.length===0?e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF"},children:"No hay posts disponibles"}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",style:{gap:"clamp(20px, 2.9vw, 42px) clamp(12px, 1.33vw, 19.2px)"},children:d.map(i=>e.jsx(F,{to:`${c}/blog/${i.slug}`,className:"group flex flex-col no-underline transition-all duration-300 hover:scale-[1.02] hover:shadow-elevated",style:{background:"#FFFFFF",borderRadius:"clamp(6px, 0.67vw, 9.6px)"},children:e.jsxs("div",{className:"flex flex-col flex-1",style:{padding:"clamp(16px, 1.78vw, 25.6px)"},children:[e.jsx("span",{className:"font-mono font-normal uppercase block",style:{fontSize:"clamp(9px, 0.83vw, 12px)",lineHeight:"18px",letterSpacing:"2px",color:"#000000"},children:ue(i.publishDate,o)}),i.coverImage?e.jsx("img",{src:i.coverImage,alt:i.title,loading:"lazy",decoding:"async",className:"w-full h-auto object-cover",style:{borderRadius:"clamp(4px, 0.44vw, 6.4px)",marginTop:"clamp(12px, 1.5vw, 20px)",maxHeight:"clamp(120px, 12vw, 180px)"}}):e.jsx("div",{className:"w-full",style:{borderRadius:"clamp(4px, 0.44vw, 6.4px)",marginTop:"clamp(12px, 1.5vw, 20px)",height:"clamp(120px, 12vw, 180px)",background:"#E5DDFE"}}),e.jsx("h3",{className:"font-sans font-medium",style:{fontSize:"clamp(16px, 1.33vw, 19.2px)",lineHeight:"clamp(24px, 2.04vw, 29.4px)",color:"#000000",margin:0,marginTop:"clamp(14px, 1.5vw, 20px)"},children:i.title}),e.jsx("p",{className:"font-sans font-normal",style:{fontSize:"clamp(12px, 1.11vw, 12.8px)",lineHeight:"clamp(18px, 1.67vw, 19.2px)",color:"#00000099",margin:0,marginTop:"clamp(8px, 0.8vw, 12px)"},children:i.excerpt}),e.jsxs("div",{className:"mt-auto flex items-center justify-between gap-3",style:{paddingTop:"clamp(16px, 2vw, 28px)"},children:[e.jsx("span",{className:"flex items-center justify-center transition-all duration-300 group-hover:bg-[#E5DDFE] group-hover:scale-110 flex-shrink-0",style:{width:"clamp(28px, 2.22vw, 32px)",height:"clamp(28px, 2.22vw, 32px)",borderRadius:"9999px",background:"#F3F3F3"},children:e.jsx(D,{size:14,color:"#000000",strokeWidth:1.5,className:"transition-transform duration-300 group-hover:translate-x-0.5"})}),i.author&&e.jsx("span",{className:"font-sans uppercase text-right",style:{fontFamily:"Manrope, sans-serif",fontWeight:600,fontSize:"clamp(9px, 0.85vw, 9.8px)",lineHeight:"18px",letterSpacing:"2px",color:"#00000099"},children:i.author})]})]})},i.id))}),e.jsx($,{currentPage:a,totalPages:p,onPageChange:r})]})})})},j=4,v=()=>e.jsx("div",{className:"flex flex-col overflow-hidden animate-pulse",style:{background:"#F3F3F3",borderRadius:"clamp(6px, 0.67vw, 9.6px)",height:"clamp(200px, 18vw, 280px)"}}),H=({card:s,prefix:l})=>e.jsxs(F,{to:`${l}/blog/${s.slug}`,className:"flex flex-col overflow-hidden no-underline",style:{background:"#F3F3F3",borderRadius:"clamp(6px, 0.67vw, 9.6px)"},children:[e.jsxs("div",{style:{paddingTop:"clamp(14px, 1.56vw, 22.4px)",paddingBottom:"clamp(14px, 1.56vw, 22.4px)"},children:[e.jsx("h3",{className:"font-sans font-medium",style:{fontSize:"clamp(14px, 1.6vw, 18px)",lineHeight:"1.3",color:"#000000",margin:0,paddingLeft:"20px",paddingRight:"20px"},children:s.title}),e.jsx("p",{className:"font-sans font-normal",style:{fontSize:"clamp(11px, 1.15vw, 13px)",lineHeight:"1.4",color:"#00000099",margin:0,marginTop:"clamp(4px, 0.35vw, 5.6px)",paddingLeft:"20px",paddingRight:"20px",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"},children:s.excerpt})]}),s.coverImage&&e.jsx("img",{src:s.coverImage,alt:s.title,loading:"lazy",decoding:"async",className:"w-full h-auto mt-auto object-cover",style:{maxHeight:"clamp(160px, 14vw, 220px)"}})]}),ve=({posts:s,loading:l,error:n,country:o="CL"})=>{const[a,r]=t.useState(1),c=N(o),p=Math.ceil(s.length/j),d=s.slice((a-1)*j,a*j),u=d.slice(0,2),m=d.slice(2,4),[i,h]=t.useState(s.length);return s.length!==i&&(h(s.length),a!==1&&r(1)),e.jsx("section",{id:"casos-de-exito",className:"w-full bg-white scroll-mt-[80px]",children:e.jsxs("div",{className:"w-full mx-auto px-6 sm:px-10 lg:px-[180px]",style:{maxWidth:"1440px",paddingTop:"clamp(32px, 4.5vw, 65p
1x)",paddingBottom:"clamp(32px, 4.5vw, 65px)"},children:[e.jsx("h2",{className:"font-sans font-normal",style:{fontSize:"clamp(22px, 2.1vw, 30.4px)",lineHeight:"clamp(28px, 2.9vw, 33.6px)",color:"#000000",margin:0},children:o==="BR"?"Histórias de Sucesso":"Casos de Éxito"}),l?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"w-full grid grid-cols-1 md:grid-cols-2",style:{gap:"clamp(12px, 1.33vw, 19.2px)",marginTop:"clamp(40px, 5.3vw, 76.8px)"},children:[e.jsx(v,{}),e.jsx(v,{})]}),e.jsxs("div",{className:"w-full grid grid-cols-1 md:grid-cols-2",style:{gap:"clamp(12px, 1.33vw, 19.2px)",marginTop:"clamp(16px, 1.78vw, 25.6px)"},children:[e.jsx(v,{}),e.jsx(v,{})]})]}):n?e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF"},children:"No se pudo cargar el contenido"}):s.length===0?e.jsx("p",{className:"font-sans text-sm text-center py-10",style:{color:"#BFBFBF"},children:"No hay casos de éxito disponibles"}):e.jsxs(e.Fragment,{children:[u.length>0&&e.jsx("div",{className:"w-full grid grid-cols-1 md:grid-cols-2",style:{gap:"clamp(12px, 1.33vw, 19.2px)",marginTop:"clamp(40px, 5.3vw, 76.8px)"},children:u.map(g=>e.jsx(H,{card:g,prefix:c},g.id))}),m.length>0&&e.jsx("div",{className:"w-full grid grid-cols-1 md:grid-cols-2",style:{gap:"clamp(12px, 1.33vw, 19.2px)",marginTop:"clamp(16px, 1.78vw, 25.6px)"},children:m.map(g=>e.jsx(H,{card:g,prefix:c},g.id))}),e.jsx($,{currentPage:a,totalPages:p,onPageChange:r})]})]})})};function P(){return localStorage.getItem("toku_country")||"CL"}const Be=()=>{const[s,l]=t.useState(P),[n,o]=t.useState([]),[a,r]=t.useState("Todos"),[c,p]=t.useState(null),[d,u]=t.useState([]),[m,i]=t.useState([]),[h,g]=t.useState([]),[w,I]=t.useState(""),[y,W]=t.useState(""),[M,S]=t.useState(!0),[_,k]=t.useState(!0),[O,C]=t.useState(!0),[G,B]=t.useState(!0),[we,E]=t.useState(!1),[Y,T]=t.useState(!1),[q,L]=t.useState(!1),[Q,z]=t.useState(!1);t.useEffect(()=>{const x=()=>{const f=P();l(f),r("Todos")};return window.addEventListener("toku:country-changed",x),()=>window.removeEventListener("toku:country-changed",x)},[]),t.useEffect(()=>{S(!0),E(!1),le(s).then(o).catch(()=>E(!0)).finally(()=>S(!1))},[s]),t.useEffect(()=>{k(!0),T(!1),oe(s).then(p).catch(()=>T(!0)).finally(()=>k(!1))},[s]);const R=t.useCallback(async()=>{C(!0),L(!1);try{const x=await ne(s,a,c?.slug);u(x)}catch{L(!0)}finally{C(!1)}},[s,a,c?.slug]);t.useEffect(()=>{R()},[R]),t.useEffect(()=>{B(!0),z(!1),re(s).then(g).catch(()=>z(!0)).finally(()=>B(!1)),ie(s).then(i).catch(()=>{})},[s]),t.useEffect(()=>{const x=setTimeout(()=>W(w),300);return()=>clearTimeout(x)},[w]);const J=t.useMemo(()=>{if(!y.trim())return d;const x=y.toLowerCase().trim();return m.filter(f=>f.title.toLowerCase().includes(x))},[d,m,y]),U=s==="BR"?"pt":"es";return e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(V,{country:s.toLowerCase(),subpath:"/blog",hasAlternates:!1,title:s==="BR"?"Blog Toku — Insights sobre cobrança e pagamentos":"Blog Toku — Insights sobre recaudación y pagos",description:s==="BR"?"Ideias e melhores práticas sobre cobranças, pagamentos, cobrança automatizada e conciliação para empresas B2B na LatAm.":"Ideas y mejores prácticas sobre cobros, pagos, cobranza automatizada y conciliación para empresas B2B en LatAm."}),(()=>{const x=s.toLowerCase(),f=x==="mx"?"México":x==="br"?"Brasil":"Chile",A=`https://trytoku.com${x==="cl"?"":`/${x}`}`;return e.jsx(Z,{schema:K([{name:"Inicio",url:"https://trytoku.com"},{name:f,url:A},{name:"Blog",url:`${A}/blog`}])})})(),e.jsx(X,{}),e.jsxs("main",{className:"flex-1 pt-[62px]",children:[e.jsx(pe,{}),e.jsx(de,{featured:c,loading:_,error:Y,country:s}),e.jsx(ge,{categories:n,activeCategory:a,onCategoryChange:r,searchQuery:w,onSearchChange:I,loading:M}),e.jsx(fe,{posts:J,loading:O,error:q,country:s}),e.jsx(ve,{posts:h,loading:G,error:Q,country:s})]}),e.jsx(se,{lang:U}),e.jsx(ee,{})]})};export{Be 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.