1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,364895,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["default",0,t])},732176,e=>{"use strict";var t=e.i(364895);e.s(["ArrowRightIcon",()=>t.default])},290135,e=>{"use strict";let t=(0,e.i(456420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["default",0,t])},366135,e=>{"use strict";var t=e.i(290135);e.s(["MailIcon",()=>t.default])},476303,e=>{"use strict";let t=(0,e.i(456420).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["default",0,t])},408804,e=>{"use strict";var t=e.i(476303);e.s(["PhoneIcon",()=>t.default])},130716,e=>{"use strict";let t=(0,e.i(456420).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},164939,e=>{"use strict";let t=(0,e.i(456420).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["default",0,t])},832411,e=>{"use strict";let t=(0,e.i(456420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["default",0,t])},203029,e=>{"use strict";let t=(0,e.i(456420).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["default",0,t])},956038,e=>{"use strict";let t=(0,e.i(456420).default)("shield-half",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}]]);e.s(["default",0,t])},424089,e=>{"use strict";let t=(0,e.i(456420).default)("ambulance",[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);e.s(["default",0,t])},225286,e=>{"use strict";let t=(0,e.i(456420).default)("message-square-more",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]]);e.s(["default",0,t])},218307,e=>{"use strict";let t=(0,e.i(456420).default)("car-front",[["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]);e.s(["default",0,t])},873013,e=>{"use strict";let t=(0,e.i(456420).default)("phone-call",[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["default",0,t])},624687,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Textarea",0,function({className:e,...i}){return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,a.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 md:text-sm",e),...i})}])},893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t])},690475,e=>{"use strict";var t=e.i(893999);e.s(["SendIcon",()=>t.default])},911545,e=>{"use strict";var t=e.i(130716);e.s(["ShieldCheckIcon",()=>t.default])},655202,e=>{"use strict";var t=e.i(164939);e.s(["MessageCircleIcon",()=>t.default])},13662,e=>{"use strict";var t=e.i(832411);e.s(["LockIcon",()=>t.default])},134028,e=>{"use strict";
1var t=e.i(843476),a=e.i(271645),i=e.i(88653),s=e.i(532181),r=e.i(534281),n=e.i(13662),l=e.i(366135),d=e.i(655202),o=e.i(690475),c=e.i(911545),u=e.i(15366),m=e.i(560964),x=e.i(519455),p=e.i(776639),h=e.i(793479),g=e.i(110204),f=e.i(699375),v=e.i(624687),b=e.i(975157),y=e.i(41931);let j=[{value:"queja",label:"Queja",icon:(0,t.jsx)(d.MessageCircleIcon,{className:"size-3.5"})},{value:"denuncia",label:"Denuncia",icon:(0,t.jsx)(c.ShieldCheckIcon,{className:"size-3.5"})},{value:"sugerencia",label:"Sugerencia",icon:(0,t.jsx)(d.MessageCircleIcon,{className:"size-3.5"})}];e.s(["default",0,function({trigger:e,open:d,onOpenChange:c}){let[N,k]=(0,a.useState)(!1),[w,D]=(0,a.useState)("queja"),[z,C]=(0,a.useState)(!0),[F,M]=(0,a.useState)(""),[A,I]=(0,a.useState)(""),[B,S]=(0,a.useState)(""),[T,P]=(0,a.useState)(""),[E,R]=(0,a.useState)(null),[L,q]=(0,a.useState)(!1),[H,V]=(0,a.useState)(!1),[K,O]=(0,a.useState)(!1),[U,X]=(0,a.useState)(null),_=(0,a.useRef)(null),$=async e=>{if(e.preventDefault(),w&&T.trim()&&!K){O(!0),X(null);try{let e=new FormData;e.append("tipo",w),e.append("descripcion",T),e.append("anonimo",String(z)),F&&e.append("nombre",F),A&&e.append("correo",A),B&&e.append("telefono",B),E&&e.append("archivo",E),await y.default.post("/api/v1/publico/quejas-denuncias",e,{headers:{"Content-Type":"multipart/form-data"}}),q(!0)}catch(e){X((e&&"object"==typeof e&&"response"in e?e.response?.data?.error?.message:null)||"Error al enviar el reporte. Intenta de nuevo.")}finally{O(!1)}}};return(0,t.jsxs)(p.Dialog,{open:d??N,onOpenChange:e=>{e||(D("queja"),C(!0),M(""),I(""),S(""),P(""),R(null),q(!1),V(!1),X(null)),void 0===d&&k(e),c?.(e)},children:[null!==e&&(0,t.jsx)(p.DialogTrigger,{children:e??(0,t.jsxs)("span",{className:"mt-3 inline-flex w-full cursor-pointer items-center justify-center gap-2 rounded-lg bg-[#6B1D2F] px-2.5 py-2 text-sm font-medium text-white hover:bg-[#521422]",children:[(0,t.jsx)(o.SendIcon,{className:"size-4"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Abrir formulario"})]})}),(0,t.jsx)(p.DialogContent,{className:"max-h-[calc(100dvh-2rem)] gap-4 overflow-y-auto overscroll-contain p-4 sm:max-h-[calc(100dvh-3rem)] sm:gap-6 sm:p-6 sm:max-w-lg",showCloseButton:!0,children:L?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 py-10 text-center",children:[(0,t.jsx)("div",{className:"flex size-14 items-center justify-center rounded-full bg-emerald-50 text-emerald-600",children:(0,t.jsx)(l.MailIcon,{className:"size-7"})}),(0,t.jsx)(p.DialogTitle,{className:"text-lg font-bold text-[#6B1D2F]",children:"Reporte enviado"}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground max-w-sm",children:["Tu ","denuncia"===w?"denuncia":"queja","ha sido recibida. Daremos seguimiento a la brevedad. Agradecemos tu participación ciudadana."]}),(0,t.jsx)(p.DialogClose,{render:(0,t.jsx)(x.Button,{variant:"default",className:"mt-2"}),children:"Cerrar"})]}):(0,t.jsxs)("form",{onSubmit:$,className:"grid gap-4 sm:gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(p.DialogTitle,{className:"text-lg font-bold text-[#6B1D2F]",children:"Buzón de Quejas y Denuncias"}),(0,t.jsxs)(p.DialogDescription,{className:"mt-1",children:["Todos los campos marcados con ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})," son obligatorios."]})]}),U&&(0,t.jsx)("div",{className:"rounded-lg border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700",children:U}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)(g.Label,{className:"text-xs font-medium text-muted-foreground",children:["Tipo de Reporte ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsx)("div",{className:"flex gap-1.5 rounded-lg border bg-stone-50 p-1",children:j.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>D(e.value),className:"relative flex min-h-11 flex-1 items-center justify-center gap-1.5 rounded-md px-3 py-2 text-sm font-medium",children:[w===e.value&&(0,t.jsx)(s.motion.div,{layoutId:"tipo-indicator",className:"absolute inset-0 rounded-md bg-[#6B1D2F] shadow-xs",transition:{type:"spring",stiffness:400,damping:30}}),(0,t.jsxs)("span",{className:(0,b.cn)("relative z-10 inline-flex items-center gap-1.5",w===e.value?"text-white":"text-stone-600"),children:[e.icon,e.label]})]},e.value))})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-amber-200/60 bg-[#FDF8F0] p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex size-9 items-center justify-center rounded-full bg-amber-100/60 text-amber-700",children:(0,t.jsx)(n.LockIcon,{className:"size-4"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-[#78350F]",children:"Enviar como anónimo"}),(0,t.jsx)("p",{className:"text-xs text-[#78350F]/70",children:"Tus datos personales no serán compartidos"})]})]}),(0,t.jsx)(f.Switch,{checked:z,onCheckedChange:C})]}),(0,t.jsx)(i.AnimatePresence,{children:!z&&(0,t.jsx)(s.motion.div,{initial:{height:0,opacity:0,marginTop:0},animate:{height:"auto",opacity:1,marginTop:16},exit:{height:0,opacity:0,marginTop:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:(0,t.jsxs)("div",{className:"grid gap-3 border-t border-amber-200/40 pt-4",children:[(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"buzon-nombre",className:"text-xs font-medium text-[#78350F]",children:"Nombre completo"}),(0,t.jsx)(h.Input,{id:"buzon-nombre",placeholder:"Tu nombre",className:"h-11 bg-white text-sm sm:h-9",value:F,onChange:e=>M(e.target.value)})]}),(0,t.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"buzon-correo",className:"text-xs font-medium text-[#78350F]",children:"Correo electrónico"}),(0,t.jsx)(h.Input,{id:"buzon-correo",type:"email",placeholder:"[email protected]",className:"h-11 bg-white text-sm sm:h-9",value:A,onChange:e=>I(e.target.value)})]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"buzon-tel",className:"text-xs font-medium text-[#78350F]",children:"Teléfono"}),(0,t.jsx)(h.Input,{id:"buzon-tel",type:"tel",placeholder:"917 XXX XXXX",className:"h-11 bg-white text-sm sm:h-9",value:B,onChange:e=>S(e.target.value)})]})]})]})})})]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)(g.Label,{htmlFor:"buzon-desc",className:"text-xs font-medium text-muted-foreground",children:["Descripción ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsx)(v.Textarea,{id:"buzon-desc",placeholder:"Describe de forma clara y detallada los hechos: ¿qué ocurrió?, ¿cuándo?, ¿dónde?, ¿hay algún responsable identificado?",value:T,onChange:e=>P(e.target.value),required:!0,rows:4,className:"resize-y text-sm"})]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)(g.Label,{className:"text-xs font-medium text-muted-foreground",children:["Archivo adjunto ",(0,t.jsx)("span",{className:"text-muted-foreground
1/50",children:"(opcional)"})]}),(0,t.jsxs)("div",{onDrop:e=>{e.preventDefault(),V(!1);let t=e.dataTransfer.files?.[0];t&&(t.type.startsWith("image/")||"application/pdf"===t.type)&&R(t)},onDragOver:e=>{e.preventDefault(),V(!0)},onDragLeave:()=>V(!1),onClick:()=>_.current?.click(),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),_.current?.click())},role:"button",tabIndex:0,"aria-label":"Adjuntar un archivo PDF o imagen",className:(0,b.cn)("flex cursor-pointer flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed p-4 text-center transition-colors sm:p-6",H?"border-[#6B1D2F] bg-[#6B1D2F]/5":"border-stone-300 bg-stone-50/50 hover:border-stone-400 hover:bg-stone-100/50"),children:[(0,t.jsx)("input",{ref:_,type:"file",accept:".pdf,.png,.jpg,.jpeg",className:"hidden",onChange:e=>R(e.target.files?.[0]??null)}),E?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-stone-700",children:E.name}),(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),R(null),_.current&&(_.current.value="")},"aria-label":`Eliminar archivo ${E.name}`,className:"flex size-10 shrink-0 items-center justify-center rounded-full text-stone-400 hover:bg-stone-200 hover:text-stone-600",children:(0,t.jsx)(m.XIcon,{className:"size-4"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.UploadIcon,{className:"size-6 text-stone-400"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium text-stone-600",children:["Arrastra tu archivo o"," ",(0,t.jsx)("span",{className:"text-[#6B1D2F] underline underline-offset-2",children:"selecciona"})]}),(0,t.jsx)("p",{className:"mt-0.5 text-xs text-stone-400",children:"PDF o imagen hasta 10 MB"})]})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col-reverse items-stretch justify-end gap-2 border-t pt-4 sm:flex-row sm:items-center",children:[(0,t.jsx)(p.DialogClose,{render:(0,t.jsx)(x.Button,{type:"button",variant:"outline",className:"min-h-11 w-full border-0 bg-stone-100 text-slate-700 hover:bg-stone-200 sm:min-h-9 sm:w-auto"}),children:"Cancelar"}),(0,t.jsxs)(x.Button,{type:"submit",disabled:!w||!T.trim()||K,className:"min-h-11 w-full gap-1.5 bg-[#6B1D2F] text-white hover:bg-[#521422] sm:min-h-9 sm:w-auto",children:[K?(0,t.jsx)(r.Loa
1der2Icon,{className:"size-4 animate-spin"}):(0,t.jsx)(o.SendIcon,{className:"size-4"}),K?"Enviando...":"Enviar Reporte"]})]})]})})]})}])},711429,e=>{"use strict";var t=e.i(203029);e.s(["ShieldIcon",()=>t.default])},563806,e=>{"use strict";var t=e.i(843476),a=e.i(655202),i=e.i(956038),i=i,s=e.i(711429),r=e.i(424089),r=r,n=e.i(225286),n=n,l=e.i(366135),d=e.i(218307),d=d,o=e.i(873013),o=o,c=e.i(408804),u=e.i(487486),m=e.i(975157),x=e.i(134028);let p=[{title:"Buzón de Quejas y Denuncias",sub:"Anticorrupción",tel:null,telDisplay:null,icon:(0,t.jsx)(l.MailIcon,{className:"size-11 text-[#D4AF37]"}),guinda:!0},{title:"Seguridad Pública",sub:"Atención 24 hrs.",tel:"+529171015409",telDisplay:"917-101-5409",icon:(0,t.jsx)(s.ShieldIcon,{className:"size-11 text-[#D4AF37]"})},{title:"PolicÃa de Género",sub:"Atención 24 hrs.",tel:"+529173752548",telDisplay:"917-375-2548",icon:(0,t.jsx)(i.default,{className:"size-11 text-[#D4AF37]"})},{title:"LÃnea de Atención a la Mujer",sub:"Atención 24 hrs.",tel:"+529173753306",telDisplay:"917-375-3306",icon:(0,t.jsx)(a.MessageCircleIcon,{className:"size-11 text-[#D4AF37]"})},{title:"Protección Civil",sub:"Atención 24 hrs.",tel:"+529171164810",telDisplay:"917-116-4810",icon:(0,t.jsx)(r.default,{className:"size-11 text-[#D4AF37]"})},{title:"Peticiones y Gestión Social",sub:"Gestión Ciudadana",tel:"+529171015409",telDisplay:"917-101-5409",icon:(0,t.jsx)(n.default,{className:"size-11 text-[#D4AF37]"})},{title:"Tránsito Municipal",sub:"Atención 24 hrs.",tel:"+529173751052",telDisplay:"917-375-1052",icon:(0,t.jsx)(d.default,{className:"size-11 text-[#D4AF37]"})},{title:"Atención Ciudadana",sub:"Atención 24 hrs.",tel:"+529171053055",telDisplay:"917-105-3055",icon:(0,t.jsx)(o.default,{className:"size-11 text-[#D4AF37]"})}];function h({item:e}){return(0,t.jsxs)("div",{className:(0,m.cn)("group flex h-full flex-col items-center text-center rounded-xl border bg-white p-6 shadow-sm transition-all duration-200 hover:-translate-y-1 hover:shadow-lg",e.guinda?"border-[#6B1D2F]/30":"border-stone-200/80"),children:[e.sub&&(0,t.jsxs)(u.Badge,{variant:"secondary",className:(0,m.cn)("mb-4 self-center px-2.5 py-0.5 text-[10px] font-medium uppercase tracking-wider",e.guinda?"bg-[#6B1D2F]/10 text-[#6B1D2F]":"bg-emerald-50 text-emerald-700"),children:[(0,t.jsx)("span",{className:"mr-1 inline-block size-1.5 rounded-full bg-current"}),e.sub]}),(0,t.jsxs)("div",{className:"relative mb-4 flex size-20 items-center justify-center self-center rounded-full border border-[#D4AF37]/20 bg-[#FDF8F0] transition-all duration-300 group-hover:scale-110 group-hover:border-[#D4AF37]/40 group-hover:shadow-[0_0_24px_-8px_rgba(212,175,55,0.5)]",children:[(0,t.jsx)("span",{className:"wave-ring absolute inset-0 rounded-full"}),(0,t.jsx)("span",{className:"wave-ring wave-ring-delayed absolute inset-0 rounded-full"}),(0,t.jsx)("div",{className:"relative transition-transform duration-300 group-hover:scale-110",children:e.icon})]}),(0,t.jsx)("h3",{className:(0,m.cn)("text-sm font-bold uppercase tracking-wider",(e.guinda,"text-[#6B1D2F]")),children:e.title}),(0,t.jsx)("div",{className:"mt-auto pt-5",children:e.tel?(0,t.jsxs)("a",{href:`tel:${e.tel}`,className:"inline-flex min-h-11 w-full items-center justify-center gap-2 rounded-lg bg-[#6B1D2F] px-4 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-[#521422]",children:[(0,t.jsx)(c.PhoneIcon,{className:"size-4"}),e.telDisplay]}):e.guinda?(0,t.jsx)(x.default,{}):null})]})}e.s(["default",0,()=>(0,t.jsx)("section",{className:"border-t bg-stone-50/50 py-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"mb-10 text-center",children:[(0,t.jsx)(u.Badge,{variant:"outline",className:"mb-4 border-[#D4AF37]/30 px-4 py-1.5 text-xs font-medium uppercase tracking-wider text-[#D4AF37]",children:"Contacto de Emergencia"}),(0,t.jsx)("h2",{className:"font-heading text-2xl font-bold tracking-tight text-[#6B1D2F] sm:text-3xl",children:"LÃneas de Ayuda"}),(0,t.jsx)("p",{className:"mt-2 text-stone-500",children:"Números de atención y servicios de emergencia del municipio"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4",children:p.map(e=>(0,t.jsx)(h,{item:e},e.title))})]})})],563806)}
1,77834,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["default",0,t])},15366,e=>{"use strict";var t=e.i(77834);e.s(["UploadIcon",()=>t.default])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:i="default",...s}){return(0,t.jsx)("div",{"data-slot":"card","data-size":i,className:(0,a.cn)("group/card bg-card text-card-foreground ring-foreground/10 flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl py-(--card-spacing) text-sm shadow-xs ring-1 [--card-spacing:--spacing(6)] has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(4)] *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...s})},"CardContent",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...i})},"CardDescription",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",e),...i})},"CardHeader",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...i})},"CardTitle",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm",e),...i})}])},911825,e=>{"use strict";var t=e.i(552245);e.s(["useRender",0,function(e){return(0,t.useRenderElement)(e.defaultTagName??"div",e,e)}])},487486,e=>{"use strict";var t=e.i(176782),a=e.i(911825),i=e.i(225913),s=e.i(975157);let r=(0,i.cva)("group/badge focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:ring-[3px] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:i="default",render:n,...l}){return(0,a.useRender)({defaultTagName:"span",props:(0,t.mergeProps)({className:(0,s.cn)(r({variant:i}),e)},l),render:n,state:{slot:"badge",variant:i}})}])},31421,e=>{"use strict";var t=e.i(271645),a=e.i(146376),i=e.i(788015);e.s(["useAriaLabelledBy",0,function(e,s,r,n=!0,l){let[d,o]=t.useState(),c=(0,i.useBaseUiId)(l?`${l}-label`:void 0),u=e??s??d;return(0,a.useIsoLayoutEffect)(()=>{let t=e||s||!n?void 0:function(e,t){let a=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let a=e.id;if(a){let t=e.nextElementSibling;if(t&&t.htmlFor===a)return t}let i=e.labels;return i&&i[0]}(e);if(a)return!a.id&&t&&(a.id=t),a.id||void 0}(r.current,c);d!==t&&o(t)}),u}])},699375,e=>{"use strict";var t,a=e.i(843476);e.s([],924305),e.i(924305),e.i(247167);var i=e.i(271645),s=e.i(951437),r=e.i(828918),n=e.i(146376),l=e.i(502077),d=e.i(956789),o=e.i(333848),c=e.i(552245),u=e.i(176782),m=e.i(788015),x=e.i(540886),p=e.i(733332);let h=i.createContext(void 0);var g=e.i(875812);let f=((t={}).checked="data-checked",t.unchecked="data-unchecked",t.disabled="data-disabled",t.readonly="data-readonly",t.required="data-required",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),v={...g.fieldValidityMapping,checked:e=>e?{[f.checked]:""}:{[f.unchecked]:""}};var b=e.i(469690),y=e.i(381104),j=e.i(884708),N=e.i(247778),k=e.i(31421),w=e.i(538489),D=e.i(675606),z=e.i(56434),C=e.i(606039);let F=i.forwardRef(function(e,t){let{checked:p,className:g,defaultChecked:f,"aria-labelledby":F,form:M,id:A,inputRef:I,name:B,nativeButton:S=!1,onCheckedChange:T,readOnly:P=!1,required:E=!1,disabled:R=!1,render:L,uncheckedValue:q,value:H,style:V,...K}=e,{clearErrors:O}=(0,j.useFormContext)(),{state:U,setTouched:X,setDirty:_,validityData:$,setFilled:G,setFocused:W,validationMode:Q,disabled:J,name:Y,validation:Z}=(0,b.useFieldRootContext)(),{labelId:ee}=(0,N.useLabelableContext)(),et=J||R,ea=Y??B,ei=i.useRef(null),es=(0,r.useMergedRefs)(ei,I,Z.inputRef),er=i.useRef(null),en=(0,m.useBaseUiId)(),el=(0,w.useLabelableId)({id:A,implicit:!1,controlRef:er}),ed=S?void 0:el,[eo,ec]=(0,s.useControlled)({controlled:p,default:!!f,name:"Switch",state:"checked"});(0,y.useRegisterFieldControl)(er,en,eo,void 0,!et,B),(0,n.useIsoLayoutEffect)(()=>{ei.current&&G(ei.current.checked)},[ei,G]),(0,C.useValueChanged)(eo,()=>{O(ea),_(eo!==$.initialValue),G(eo),Z.change(eo)});let{getButtonProps:eu,buttonRef:em}=(0,x.useButton)({disabled:et,native:S}),ex=(0,k.useAriaLabelledBy)(F,ee,ei,!S,ed),ep=(0,u.mergeProps)({checked:eo,disabled:et,form:M,id:ed,name:ea,required:E,style:ea?l.visuallyHiddenInput:l.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:es,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(P)return void e.preventDefault();let t=e.currentTarget.checked,a=(0,D.createChangeEventDetails)(z.REASONS.none,e.nativeEvent);T?.(t,a),a.isCanceled||ec(t)},onFocus(){er.current?.focus()}},e=>Z.getValidationProps(et,e),void 0!==H?{value:H}:d.EMPTY_OBJECT),eh=i.useMemo(()=>({...U,checked:eo,disabled:et,readOnly:P,required:E}),[U,eo,et,P,E]),eg=(0,c.useRenderElement)("span",e,{state:eh,ref:[t,er,em],props:[{id:S?el:en,role:"switch","aria-checked":eo,"aria-readonly":P||void 0,"aria-required":E||void 0,"aria-labelledby":ex,onFocus(){et||W(!0)},onBlur(){let e=ei.current;e&&!et&&(X(!0),W(!1),"onBlur"===Q&&Z.commit(e.checked))},onClick(e){if(P||et)return;e.preventDefault();let t=ei.current;t&&t.dispatchEvent(new((0,o.ownerWindow)(t)).PointerEvent("click",{bubbles:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey}))}},K,eu,e=>Z.getValidationProps(et,e)],stateAttributesMapping:v});return(0,a.jsxs)(h.Provider,{value:eh,children:[eg,!eo&&ea&&void 0!==q&&(0,a.jsx)("input",{type:"hidden",form:M,name:ea,value:q,disabled:et}),(0,a.jsx)("input",{...ep,suppressHydrationWarning:!0})]})}),M=i.forwardRef(function(e,t){let{render:a,className:s,style:r,...n}=e,l=function(){let e=i.useContext(h);if(void 0===e)throw Error((0,p.default)(63));return e}();return(0,c.useRenderElement)("span",e,{state:l,ref:t,stateAttributesMapping:v,props:n})});e.s(["Root",0,F,"Thumb",0,M],450994);var A=e.i(450994),A=A,I=e.i(975157);e.s(["Switch",0,function({className:e,size:t="default",...i}){return(0,a.jsx)(A.Root,{"data-slot":"switch","data-size":t,className:(0,I.cn)("peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 aria-invalid:ring-3 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px]",e),...i,children:(0,a.jsx)(A.Thumb,{"data-slot":"switch-thumb",className:"bg-background dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0"})})}],699375)},199897,387652,e=>{"use strict";
1var t=e.i(843476),a=e.i(271645),i=e.i(88653),s=e.i(532181),r=e.i(749652);let n={some:0,all:1};function l(e,{root:t,margin:i,amount:s,once:d=!1,initial:o=!1}={}){let[c,u]=(0,a.useState)(o);return(0,a.useEffect)(()=>{if(!e.current||d&&c)return;let a={root:t&&t.current||void 0,margin:i,amount:s};return function(e,t,{root:a,margin:i,amount:s="some"}={}){let l=(0,r.resolveElements)(e),d=new WeakMap,o=new IntersectionObserver(e=>{e.forEach(e=>{let a=d.get(e.target);if(!!a!==e.isIntersecting)if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?d.set(e.target,a):o.unobserve(e.target)}else"function"==typeof a&&(a(e),d.delete(e.target))})},{root:a,rootMargin:i,threshold:"number"==typeof s?s:n[s]});return l.forEach(e=>o.observe(e)),()=>o.disconnect()}(e.current,()=>(u(!0),d?void 0:()=>u(!1)),a)},[t,e,i,d,s]),c}e.s(["useInView",0,l],387652);let d=s.motion;e.s(["MotionPreset",0,function({ref:e,children:r,className:n,component:o="div",transition:c={type:"spring",stiffness:200,damping:20},delay:u=0,inView:m=!0,inViewMargin:x="0px",inViewOnce:p=!0,blur:h=!1,slide:g=!1,fade:f=!1,zoom:v=!1,motionProps:b={}}){let y=a.useRef(null);a.useImperativeHandle(e,()=>y.current);let j=l(y,{once:p,margin:x}),N={},k={};if(h&&(N.filter=!0===h?"blur(10px)":`blur(${h})`,k.filter="blur(0px)"),g){let e=!0===g?100:g.offset??100,t=!0===g?"left":g.direction??"left",a="up"===t||"down"===t?"y":"x";N[a]="left"===t||"up"===t?-e:e,k[a]=0}f&&(N.opacity=!0===f?0:f.initialOpacity??0,k.opacity=!0===f?1:f.opacity??1),v&&(N.scale=!0===v?.5:v.initialScale??.5,k.scale=!0===v?1:v.scale??1);let w=d[o]||s.motion.div;return(0,t.jsx)(i.AnimatePresence,{children:(0,t.jsx)(w,{ref:y,initial:"hidden",animate:!m||j?"visible":"hidden",exit:"hidden",variants:{hidden:N,visible:k},transition:{...c,delay:(c?.delay??0)+u},className:n,...b,children:r})})}],199897)},306095,e=>{"use strict";var t=e.i(843476),a=e.i(522016),i=e.i(732176),s=e.i(519455),r=e.i(487486),n=e.i(515288),l=e.i(199897),d=e.i(975157);e.s(["default",0,({blogCards:e,compact:o=!1,heading:c="Lo último en Huimanguillo",description:u="Boletines, comunicados oficiales y noticias del Gobierno Municipal. Conocer las obras, programas y acciones que transforman a Huimanguillo, Tabasco.",badgeText:m="Sala de prensa",ctaText:x="Ver todos los comunicados",ctaHref:p="/sala-de-prensa"})=>(0,t.jsx)("section",{className:(0,d.cn)(o?"border-y bg-muted/20 py-12 sm:py-16 lg:py-20":"py-8 sm:py-16 lg:py-24"),children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:(0,d.cn)("mb-12 space-y-4 text-center sm:mb-16 lg:mb-24",o&&"mb-10 sm:mb-14"),children:[o&&(0,t.jsx)(l.MotionPreset,{fade:!0,slide:{direction:"down",offset:50},blur:!0,transition:{duration:.5},children:(0,t.jsx)(r.Badge,{variant:"outline",className:"h-auto rounded-full border-guinda/20 bg-background/60 px-3 py-1 text-xs font-normal text-guinda",children:m})}),(0,t.jsx)(l.MotionPreset,{fade:!0,slide:{direction:"down",offset:50},blur:!0,transition:{duration:.5},children:(0,t.jsx)("h2",{className:"font-heading text-guinda text-2xl leading-tight font-bold tracking-tight sm:text-3xl lg:text-4xl",children:c})}),(0,t.jsx)(l.MotionPreset,{fade:!0,slide:{direction:"down",offset:50},blur:!0,delay:.3,transition:{duration:.5},children:(0,t.jsx)("p",{className:"text-muted-foreground mx-auto max-w-2xl text-base lg:text-xl",children:u})}),(0,t.jsx)(l.MotionPreset,{fade:!0,slide:{direction:"down",offset:50},blur:!0,delay:.6,transition:{duration:.5},children:(0,t.jsxs)(s.Button,{className:"group",size:"lg",render:(0,t.jsx)(a.default,{href:p}),nativeButton:!1,children:[x,(0,t.jsx)(i.ArrowRightIcon,{className:"transition-transform duration-200 group-hover:translate-x-0.5"})]})})]}),(0,t.jsx)("div",{className:(0,d.cn)("grid grid-cols-1 gap-6 md:grid-cols-2",o?"xl:grid-cols-4":"lg:grid-cols-3"),children:e.map((e,a)=>(0,t.jsx)(l.MotionPreset,{fade:!0,blur:!0,slide:{direction:"up",offset:50},delay:.8+.1*a,transition:{duration:.5},children:(0,t.jsx)("a",{href:e.blogLink,children:(0,t.jsxs)(n.Card,{className:"group gap-4 bg-transparent py-0 shadow-none ring-0 transition-transform duration-300 hover:-translate-y-1",children:[(0,t.jsx)(n.CardContent,{className:"px-0",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:e.img,alt:e.alt,className:"w-full rounded-2xl"}),(0,t.jsx)("span",{className:"absolute -right-3 -bottom-3 rounded-full bg-white p-[26px]",children:(0,t.jsx)(s.Button,{size:"icon",variant:"secondary",className:"group-hover:bg-primary group-hover:text-primary-foreground size-10 rotate-316 rounded-full transition-colors duration-300",children:(0,t.jsx)(i.ArrowRightIcon,{})})})]})}),(0,t.jsxs)(n.CardHeader,{className:"gap-1.5 px-0",children:[e.date&&(0,t.jsx)("p",{className:"mb-1 text-xs font-semibold tracking-[0.14em] text-oro uppercase",children:e.date}),(0,t.jsx)(n.CardTitle,{className:"text-guinda group-hover:text-guinda line-clamp-2 text-2xl font-semibold transition-colors duration-200",children:e.title}),(0,t.jsx)(n.CardDescription,{className:"text-muted-foreground line-clamp-3 text-base",children:e.description})]})]})})},a))})]})})])},130173,e=>{"use strict";var t=e.i(843476),a=e.i(306095),i=e.i(583597),s=e.i(231585);e.s(["default",0,()=>{let{data:e,isLoading:r,isError:n}=(0,i.usePublicBoletines)({q:"DIF",size:3});if(r)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Cargando acciones recientes..."});if(n||!e?.data.length)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No hay acciones recientes para mostrar."});let l=e.data.map(e=>({img:(0,s.resolveBoletinImageUrl)(e.imagenHeaderUrl)??"/images/dif/brigada-atencion-integral.jpg",alt:`Portada del bolet\xedn: ${e.titulo}`,title:e.titulo,description:e.contenido.replace(/\s+/g," ").trim(),date:(0,s.formatBoletinDate)(e.createdAt),blogLink:`/sala-de-prensa/boletin?id=${e.id}`}));return(0,t.jsx)(a.default,{blogCards:l,compact:!0,heading:"Acciones recientes del DIF Municipal",description:"Conoce las acciones, brigadas y programas que el DIF Municipal acerca a las familias de Huimanguillo.",badgeText:"DIF Municipal",ctaText:"Ver sala de prensa"})}])}]);
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.