import{j as e,ao as c,V as x,a as d,Q as m,T as o,aB as h,q as t}from"./0-vendor-react-DWOJpYrt.js";import{B as p}from"./page-galeriaimagenes-Dnb019dP.js";import{g,a as u}from"./page-rcp-CpOLvkbh.js";import{u as j}from"./page-farmacos-oJNXc_A2.js";import"./1-vendor-utils-Delnuc0l.js";import"./2-vendor-markdown-BQlHAcA7.js";import"./page-ajustes-DgawOEJM.js";import"./page-comunicacion-DmHQUHoW.js";const P=()=>{const{protocol:s,isExternal:i}=j("shock-hemorragico"),n=s,l=g("shock-hemorragico");return u("shock-hemorragico"),e.jsxs("div",{className:"space-y-6",children:[e.jsx(p,{to:"/",label:"Volver al inicio"}),e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-yellow-500/20 flex items-center justify-center",children:e.jsx(c,{className:"w-7 h-7 text-yellow-500"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h1",{className:"text-3xl font-bold text-foreground",children:"Shock Hemorrágico"}),i&&e.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-blue-500/10 text-blue-500 border border-blue-500/20 rounded-md",children:[e.jsx(x,{className:"w-3 h-3"}),"Externo"]})]}),e.jsx("p",{className:"text-muted-foreground",children:"Protocolo de manejo del shock por pérdida de sangre"})]})]})}),e.jsxs("div",{className:"bg-card border border-border rounded-xl p-6 space-y-4",children:[e.jsx("h2",{className:"text-xl font-semibold text-foreground",children:"Clasificación del Shock Hemorrágico"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"bg-green-500/10 border border-green-500/30 rounded-lg p-4",children:[e.jsx("div",{className:"font-bold text-green-600 dark:text-green-400 mb-2",children:"Clase I"}),e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsx("div",{children:"Pérdida: <15%"}),e.jsx("div",{children:"FC: Normal"}),e.jsx("div",{children:"TA: Normal"}),e.jsx("div",{children:"Signos: Mínimos"})]})]}),e.jsxs("div",{className:"bg-yellow-500/10 border border-yellow-500/30 rounded-lg p-4",children:[e.jsx("div",{className:"font-bold text-yellow-600 dark:text-yellow-400 mb-2",children:"Clase II"}),e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsx("div",{children:"Pérdida: 15-30%"}),e.jsx("div",{children:"FC: ↑ Taquicardia"}),e.jsx("div",{children:"TA: Normal"}),e.jsx("div",{children:"Signos: Ansiedad"})]})]}),e.jsxs("div",{className:"bg-orange-500/10 border border-orange-500/30 rounded-lg p-4",children:[e.jsx("div",{className:"font-bold text-orange-600 dark:text-orange-400 mb-2",children:"Clase III"}),e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsx("div",{children:"Pérdida: 30-40%"}),e.jsx("div",{children:"FC: ↑↑ Taquicardia"}),e.jsx("div",{children:"TA: ↓ Hipotensión"}),e.jsx("div",{children:"Signos: Confusión"})]})]}),e.jsxs("div",{className:"bg-red-500/10 border border-red-500/30 rounded-lg p-4",children:[e.jsx("div",{className:"font-bold text-red-600 dark:text-red-400 mb-2",children:"Clase IV"}),e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsx("div",{children:"Pérdida: >40%"}),e.jsx("div",{children:"FC: ↓ Bradicardia"}),e.jsx("div",{children:"TA: ↓↓ Severa"}),e.jsx("div",{children:"Signos: Letargo"})]})]})]})]}),n&&e.jsxs("div",{className:"bg-card border border-border rounded-xl p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h2",{className:"text-xl font-semibold text-foreground",children:"Protocolo de Actuación"}),e.jsx("span",{className:"px-3 py-1 bg-red-500/20 text-red-600 dark:text-red-400 rounded-full text-xs font-medium",children:"Crítico"})]}),l.manual&&e.jsx("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border",children:e.jsxs(d,{to:l.manual.ruta||"#",className:"flex items-center justify-center gap-2 px-4 py-2.5 bg-purple-500/10 hover:bg-purple-500/20 border border-purple-500/30 rounded-lg text-purple-600 dark:text-purple-400 transition-colors font-medium text-sm",children:[e.jsx(m,{className:"w-4 h-4"}),e.jsx("span",{children:"📘 Ver Manual Completo"})]})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[e.jsx(o,{className:"w-4 h-4 text-yellow-500"}),"Pasos del Protocolo"]}),e.jsx("ol",{className:"space-y-2 list-decimal list-inside",children:s.steps.map((r,a)=>e.jsx("li",{className:"text-foreground pl-2",children:r},a))})]}),s.warnings&&s.warnings.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Advertencias Importantes"}),e.jsx("ul",{className:"space-y-1",children:s.warnings.map((r,a)=>e.jsxs("li",{className:"text-sm text-muted-foreground flex items-start gap-2",children:[e.jsx("span",{className:"text-orange-500 mt-1",children:"•"}),e.jsx("span",{children:r})]},a))})]}),s.keyPoints&&s.keyPoints.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Clasificación por Clases"}),e.jsx("ul",{className:"space-y-1",children:s.keyPoints.map((r,a)=>e.jsxs("li",{className:"text-sm text-muted-foreground flex items-start gap-2",children:[e.jsx("span",{className:"text-primary mt-1",children:"✓"}),e.jsx("span",{children:r})]},a))})]}),s.equipment&&s.equipment.length>0&&e.jsxs("div",{children:[e.jsxs("h3",{className:"font-semibold text-foreground mb-2 flex items-center gap-2",children:[e.jsx(h,{className:"w-4 h-4"}),"Material Necesario"]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.equipment.map((r,a)=>e.jsx("span",{className:"px-3 py-1 bg-muted rounded-full text-sm text-foreground",children:r},a))})]}),s.drugs&&s.drugs.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Fármacos"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.drugs.map((r,a)=>e.jsx("span",{className:"px-3 py-1 bg-primary/20 text-primary rounded-full text-sm",children:r},a))})]})]})]}),e.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-xl p-6 space-y-3",children:[e.jsxs("h3",{className:"font-semibold text-blue-600 dark:text-blue-400 flex items-center gap-2",children:[e.jsx(o,{className:"w-5 h-5"}),"Hipotensión Permisiva"]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"En shock hemorrágico sin trauma craneoencefálico (TCE), mantener TAS objetivo de 80-90 mmHg hasta control quirúrgico de la hemorragia. Esto reduce la pérdida de sangre y mejora la supervivencia."}),e.jsx("p",{className:"text-sm text-muted-foreground font-semibold",children:"⚠️ EXCEPCIÓN: En TCE, mantener TAS >90 mmHg para preservar perfusión cerebral."})]}),e.jsxs("div",{className:"bg-muted/50 border border-border rounded-xl p-4",children:[e.jsx("h3",{className:"font-semibold text-foreground mb-3",children:"Protocolos Relacionados"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(d,{to:"/soporte-vital",className:"flex items-center justify-between p-3 bg-card rounded-lg hover:bg-accent transition-colors",children:[e.jsx("span",{className:"text-foreground",children:"Ver todos los protocolos de Soporte Vital"}),e.jsx(t,{className:"w-5 h-5 text-muted-foreground"})]}),e.jsxs(d,{to:"/farmacos",className:"flex items-center justify-between p-3 bg-card rounded-lg hover:bg-accent transition-colors",children:[e.jsx("span",{className:"text-foreground",children:"Fármacos: Ácido Tranexámico"}),e.jsx(t,{className:"w-5 h-5 text-muted-foreground"})]})]})]})]})};export{P as default};