1import{b as n,a as c,j as e,H as d,m as r}from"./index-NICRJ-pC.js";import{P as m}from"./PublicLayout-DNy_NyAh.js";import{S as x}from"./Seo-7BdUyple.js";import{I as h}from"./input-DIM1jPtq.js";import{A as p,a as u,b as f,c as b}from"./accordion-1rp_ioUy.js";import{S as g}from"./SpectrumSupportContact-DmRH6TNU.js";import{S as j}from"./SpectrumSendMoneyNotice-DaA07W28.js";import{S as w}from"./search-DsvF_gVo.js";import{M as y}from"./mail-BxvykTk6.js";import{M as N}from"./message-circle-Bjrd7N01.js";import{P as v}from"./phone-CXXLrDVo.js";import{M as C}from"./message-square-N6opMmC_.js";import"./LanguageSelector-D__awvkl.js";import"./yasta-logo-white-C0qUqbOx.js";import"./menu-BxF5bjCZ.js";import"./Footer-D5DMeTDw.js";import"./SpectrumDisclosure-8--XzRfN.js";import"./index-D4ZGN7pA.js";import"./index-DR2aZb0O.js";import"./chevron-down-x6fVxtrM.js";function Y(){const[a,i]=n.useState(""),{t:s}=c(),o=s.help.faqs.filter(t=>t.question.toLowerCase().includes(a.toLowerCase())||t.answer.toLowerCase().includes(a.toLowerCase()));return e.jsxs(m,{children:[e.jsx(x,{title:"Centro de ayuda â Preguntas frecuentes Yastá",description:"Respuestas a las dudas más comunes sobre remesas, pagos de servicios y recargas. Contáctanos por chat, email o WhatsApp.",path:"/help"}),e.jsx(d,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:s.help.faqs.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))})})}),e.jsx("section",{className:"py-16 md:py-24",children:e.jsxs("div",{className:"container",children:[e.jsxs(r.div,{className:"max-w-3xl mx-auto text-center mb-12",initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:s.help.title}),e.jsx("p",{className:"text-muted-foreground text-lg mb-8",children:s.help.subtitle}),e.jsxs("div",{className:"relative max-w-md mx-auto",children:[e.jsx(w,{className:"absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground"}),e.jsx(h,{placeholder:s.help.searchPlaceholder,value:a,onChange:t=>i(t.target.value),className:"h-12 pl-12"})]})]}),e.jsxs(r.div,{className:"grid sm:grid-cols-2 md:grid-cols-4 gap-6 max-w-4xl mx-auto mb-16",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:[e.jsxs("a",{href:"mailto:[email protected]",className:"p-6 rounded-2xl bg-card border border-border hover:shadow-elevated transition-shadow text-center",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(y,{className:"h-6 w-6 text-primary"})}),e.jsx("h3",{className:"font-semibold text-foreground mb-1",children:s.help.emailTitle}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"[email protected]"})]}),e.jsxs("div",{className:"p-6 rounded-2xl bg-card border border-border hover:shadow-elevated transition-shadow text-center flex flex-col items-center",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-success/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(N,{className:"h-6 w-6 text-success"})}),e.jsx("h3",{className:"font-semibold text-foreground mb-3",children:s.help.whatsappTitle}),e.jsxs("a",{href:"https://api.whatsapp.com/send?phone=17868354966",target:"_blank",rel:"noopener noreferrer","aria-label":"Chat on WhatsApp",className:"inline-flex items-center gap-2 h-[50px] px-4 rounded-full bg-[#25D366] hover:bg-[#1ebe5d] transition-colors text-white font-semibold text-sm shadow-sm",children:[e.jsx("svg",{viewBox:"0 0 32 32",className:"h-5 w-5",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M19.11 17.21c-.27-.14-1.6-.79-1.85-.88-.25-.09-.43-.14-.61.14-.18.27-.7.88-.86 1.06-.16.18-.32.2-.59.07-.27-.14-1.14-.42-2.17-1.34-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.42.12-.55.12-.12.27-.32.41-.48.14-.16.18-.27.27-.45.09-.18.05-.34-.02-.48-.07-.14-.61-1.47-.84-2.02-.22-.53-.45-.46-.61-.46h-.52c-.18 0-.48.07-.73.34-.25.27-.95.93-.95 2.27 0 1.34.98 2.63 1.11 2.81.14.18 1.93 2.95 4.68 4.13.65.28 1.16.45 1.56.58.65.21 1.25.18 1.72.11.52-.08 1.6-.65 1.83-1.28.23-.63.23-1.17.16-1.28-.07-.11-.25-.18-.52-.32zM16.02 5C9.94 5 5 9.94 5 16.02c0 1.93.5 3.81 1.46 5.46L5 27l5.69-1.49a10.97 10.97 0 0 0 5.33 1.36h.01c6.07 0 11.01-4.94 11.01-11.02 0-2.94-1.14-5.71-3.22-7.79A10.94 10.94 0 0 0 16.02 5zm0 20.05h-.01a9.04 9.04 0 0 1-4.61-1.26l-.33-.2-3.38.89.9-3.29-.21-.34a9.05 9.05 0 0 1-1.39-4.83c0-5.01 4.08-9.09 9.09-9.09 2.43 0 4.71.95 6.43 2.66a9.02 9.02 0 0 1 2.66 6.43c0 5.01-4.08 9.04-9.16 9.04z"})}),"Chat on WhatsApp"]})]}),e.jsxs("a",{href:"tel:+17868354966",className:"p-6 rounded-2xl bg-card border border-border hover:shadow-elevated transition-shadow text-center",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-accent/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(v,{className:"h-6 w-6 text-accent"})}),e.jsx("h3",{className:"font-semibold text-foreground mb-1",children:s.help.phoneTitle}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"+1 (786) 835-4966"})]}),e.jsxs("div",{className:"p-6 rounded-2xl bg-card border border-border hover:shadow-elevated transition-shadow text-center flex flex-col items-center overflow-hidden",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-foreground
1/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(C,{className:"h-6 w-6 text-foreground"})}),e.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"iMessage"}),e.jsxs("a",{href:"https://bcrw.apple.com/urn:biz:3a330341-fe2b-4be1-9c37-ed9ebae7778c","aria-label":"Message us on iMessage",className:"inline-flex items-center gap-2 h-[38px] px-5 rounded-full text-white hover:opacity-90 transition-opacity shadow-sm text-sm font-semibold",style:{background:"linear-gradient(180deg, #2AABEE 0%, #007AFF 100%)"},children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"h-4 w-4",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"})}),"Message us"]})]})]}),e.jsx(j,{context:"predisclosure",className:"max-w-2xl mx-auto mb-4"}),e.jsx(g,{className:"max-w-2xl mx-auto mb-10"}),e.jsxs(r.div,{className:"max-w-2xl mx-auto",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6 text-center",children:s.help.faqTitle}),e.jsx(p,{type:"single",collapsible:!0,className:"space-y-3",children:o.map((t,l)=>e.jsxs(u,{value:`item-${l}`,className:"bg-card border border-border rounded-xl px-6",children:[e.jsx(f,{className:"text-left text-foreground hover:no-underline py-5",children:t.question}),e.jsx(b,{className:"text-muted-foreground pb-5",children:t.answer})]},l))}),o.length===0&&e.jsxs("p",{className:"text-center text-muted-foreground py-8",children:[s.help.noResults,' "',a,'"']})]})]})})]})}export{Y 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.