PageSourceSearch

https://www.emergencias.com.ar/_next/static/chunks/pages/organizaciones/[pid]-769a63a6474495a6.js

js emergencias.com.ar collected 2026-09-25 20:00:05 UTC 12,227 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{238:function(e,n,t){"use strict";t.d(n,{$:function(){return appendOwnerState}});var i=t(7462),o=t(8442);function appendOwnerState(e,n,t){return void 0===e||(0,o.X)(e)?n:(0,i.Z)({},n,{ownerState:(0,i.Z)({},n.ownerState,t)})}},437:function(e,n,t){"use strict";function extractEventHandlers(e,n=[]){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>t.match(/^on[A-Z]/)&&"function"==typeof e[t]&&!n.includes(t)).forEach(n=>{t[n]=e[n]}),t}t.d(n,{_:function(){return extractEventHandlers}})},8442:function(e,n,t){"use strict";function isHostComponent(e){return"string"==typeof e}t.d(n,{X:function(){return isHostComponent}})},4407:function(e,n,t){"use strict";t.d(n,{L:function(){return mergeSlotProps}});var i=t(7462),o=t(512),l=t(437);function omitEventHandlers(e){if(void 0===e)return{};let n={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&"function"==typeof e[n])).forEach(t=>{n[t]=e[t]}),n}function mergeSlotProps(e){let{getSlotProps:n,additionalProps:t,externalSlotProps:r,externalForwardedProps:a,className:c}=e;if(!n){let e=(0,o.Z)(null==t?void 0:t.className,c,null==a?void 0:a.className,null==r?void 0:r.className),n=(0,i.Z)({},null==t?void 0:t.style,null==a?void 0:a.style,null==r?void 0:r.style),l=(0,i.Z)({},t,a,r);return e.length>0&&(l.className=e),Object.keys(n).length>0&&(l.style=n),{props:l,internalRef:void 0}}let s=(0,l._)((0,i.Z)({},a,r)),d=omitEventHandlers(r),u=omitEventHandlers(a),p=n(s),m=(0,o.Z)(null==p?void 0:p.className,null==t?void 0:t.className,c,null==a?void 0:a.className,null==r?void 0:r.className),x=(0,i.Z)({},null==p?void 0:p.style,null==t?void 0:t.style,null==a?void 0:a.style,null==r?void 0:r.style),f=(0,i.Z)({},p,t,u,d);return m.length>0&&(f.className=m),Object.keys(x).length>0&&(f.style=x),{props:f,internalRef:p.ref}}},1276:function(e,n,t){"use strict";function resolveComponentProps(e,n,t){return"function"==typeof e?e(n,t):e}t.d(n,{x:function(){return resolveComponentProps}})},7293:function(e,n,t){"use strict";t.d(n,{y:function(){return useSlotProps}});var i=t(7462),o=t(3366),l=t(2760),r=t(238),a=t(4407),c=t(1276);let s=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function useSlotProps(e){var n;let{elementType:t,externalSlotProps:d,ownerState:u,skipResolvingSlotProps:p=!1}=e,m=(0,o.Z)(e,s),x=p?{}:(0,c.x)(d,u),{props:f,internalRef:h}=(0,a.L)((0,i.Z)({},m,{externalSlotProps:x})),j=(0,l.Z)(h,null==x?void 0:x.ref,null==(n=e.additionalProps)?void 0:n.ref),b=(0,r.$)(t,(0,i.Z)({},f,{ref:j}),u);return b}},9903:function(e,n,t){"use strict";var i=t(4836);n.Z=void 0;var o=i(t(4938)),l=t(5893);n.Z=(0,o.default)((0,l.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z"}),"MailOutline")},889:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/organizaciones/[pid]",function(){return t(1648)}])},1648:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return R},default:function(){return _pid_}});var i=t(5893),o=t(7294),l=t(2729),r=t(6829);function _templateObject(){let e=(0,l._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 24px;\n    /* @media (max-width: 700px) {\n        flex-direction: column;\n    }   */\n"]);return _templateObject=function(){return e},e}let a=r.Z.div(_templateObject());var c=t(5820),pid_useHook=e=>{let[n,t]=(0,o.useState)(!0),[i,l]=(0,o.useState)(!1),[r,a]=(0,o.useState)(),[s,d]=(0,o.useState)(!1),fetchContent=async()=>{d(!0);try{var n;let t=await fetch("".concat("https://www.emergencias.com.ar","/api/contenidos/get"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({seccion:e})}),i=await t.json();a((null==i?void 0:null===(n=i.list[0])||void 0===n?void 0:n.content)||"")}catch(e){console.log("e",e)}d(!1)};return(0,o.useEffect)(()=>{t((0,c.tq)())},[]),(0,o.useEffect)(()=>{fetchContent()},[e]),{mobile:n,loading:i,content:r,loadingContent:s}},s=t(1154),d=t(6369),u=t(319),p=t(6424),m=t(9598),x=t(2948),f=t(6898);function PortadaConTexto_templateObject(){let e=(0,l._)(["\n    width: 100%;\n    display: flex;
1\n    align-items: center;\n    justify-content: flex-start;\n    background-color: #ececec;\n    background-image: url(",");\n    padding: 60px;\n    min-height: 280px;\n    background-repeat: no-repeat;\n    background-size: cover;\n    background-position: center center;\n    @media (max-width: 700px) {\n        padding: 20px;\n        background-position: 65%;\n    } \n"]);return PortadaConTexto_templateObject=function(){return e},e}function _templateObject1(){let e=(0,l._)(["\n    width: fit-content;\n    padding-right: 12px;\n    max-width: 50%;\n    font-size: 2.8rem;\n    color: #fff;\n    line-height: 3.6rem;\n    max-height: 116px;\n    overflow: hidden;\n    text-shadow: 1px 2px 6px rgba(0,0,0,0.6);\n    @media (max-width: 700px) {\n        max-width: 100%;\n    }     \n    /* background-color: blue; */\n"]);return _templateObject1=function(){return e},e}let h=r.Z.div(PortadaConTexto_templateObject(),e=>e.imagen),j=r.Z.h1(_templateObject1());var components_PortadaConTexto=e=>{let n=e.imagen,t=e.alt,o=e.titulo;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(d.Z,{children:(0,i.jsx)(h,{imagen:n,children:(0,i.jsx)(j,{title:t||o,children:o})})})})},b=t(9417),v=t(4007),g=t(9903);function Compartir_templateObject(){let e=(0,l._)(["\n    width: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: flex-start;\n    gap: 12px;\n    @media (max-width: 700px) {\n        flex-direction: column;\n    }     \n"]);return Compartir_templateObject=function(){return e},e}function Compartir_templateObject1(){let e=(0,l._)(["\n    border-radius: 100px;\n    text-transform: inherit;\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    & span{\n        @media (max-width: 700px) {\n            display: none;\n        }  \n    }\n"]);return Compartir_templateObject1=function(){return e},e}let _=r.Z.div(Compartir_templateObject()),w=(0,r.Z)(b.Z)(Compartir_templateObject1());var components_Compartir=e=>{let n=e.share,t="Te comparto el siguiente contenido de Emergencias.com.ar";return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(_,{...e,children:[(0,i.jsxs)(w,{variant:"outlined",color:"secondary",size:"small",onClick:()=>{window.open("https://api.whatsapp.com/send?text=".concat(encodeURIComponent(t),":%20").concat(encodeURIComponent(n)),"_blank")},children:[(0,i.jsx)(v.Z,{}),(0,i.jsx)("span",{children:"Compartir por Whatsapp"})]}),(0,i.jsxs)(w,{variant:"outlined",color:"secondary",size:"small",onClick:()=>{let e="mailto:?subject="+encodeURIComponent(t)+"&body="+encodeURIComponent(n);window.open(e,"_blank")},children:[(0,i.jsx)(g.Z,{}),(0,i.jsx)("span",{children:"Compartir por email"})]})]})})},Z=t(7311),O=t(9755),y=t.n(O),C=t(5260),k=t(4850);function ItemLanding_templateObject(){let e=(0,l._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-direction: column;\n    border-radius: 12px;\n    text-align: center;\n    /* border: ","; */\n    border: 1px solid #cecece;\n    margin-bottom: 0px;\n    position: relative;\n    background-color: #fff;\n    user-select: none;\n    &:hover{\n        border: 1px solid ",";\n    }\n    top: ",";\n    position:relative;\n    box-shadow: ",";\n"]);return ItemLanding_templateObject=function(){return e},e}function ItemLanding_templateObject1(){let e=(0,l._)(["\n    position: relative;\n    width: 100%;\n"]);return ItemLanding_templateObject1=function(){return e},e}function _templateObject2(){let e=(0,l._)(["\n    position: relative;\n    padding: 12px;\n    width: calc(100% - 0px);\n    text-align: left;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,l._)(["\n    font-weight: 700;\n    height: 44px;\n    text-align: left;\n    display: -webkit-box;\n    -webkit-line-clamp: 2;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    margin-bottom: 12px;\n    line-height: 1.4rem;\n    font-size: 0.9rem;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,l._)(["\n    height: 44px;\n    text-align: left;\n    display: -webkit-box;\n    -webkit-line-clamp: 2;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    margin-bottom: 12px;\n    line-height: 1.4rem;\n    font-size: 0.8rem;\n    opacity: 0.7;\n"]);
1return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,l._)(["\n    position: absolute;\n    left: 6px;\n    top: 6px;\n    background-color: ",";\n    color:#fff;\n    z-index: 9;\n    font-size: 0.8rem;\n    padding: 0 8px;\n    border-radius: 10px;\n"]);return _templateObject5=function(){return e},e}let P=r.Z.div(ItemLanding_templateObject(),e=>e.destacado?"1px solid ".concat(e.theme.palette.other02.main):"1px solid #cecece",e=>e.theme.palette.secondary.main,e=>e.destacado?"-24px":"0",e=>e.destacado?"0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);":"none"),S=r.Z.div(ItemLanding_templateObject1()),E=r.Z.div(_templateObject2()),N=r.Z.h4(_templateObject3()),z=r.Z.p(_templateObject4());r.Z.div(_templateObject5(),e=>e.theme.palette.other02.main);var components_ItemLanding=e=>{var n;let t=(0,C.u)(),o=e.data;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(P,{theme:t,children:[(0,i.jsx)(S,{children:(0,i.jsx)(y(),{unoptimized:!0,src:(null==o?void 0:o.portada)?"/img/headers/".concat(null==o?void 0:o.portada):"https://dummyimage.com/1800x360/000000/ffffff",alt:null==o?void 0:o.title,width:600,height:180,style:{borderRadius:"12px 12px 0 0",width:"100%",maxWidth:"100%",height:"auto"}})}),(0,i.jsxs)(E,{children:[(0,i.jsx)(N,{children:null==o?void 0:o.titulo}),(0,i.jsx)(z,{children:null==o?void 0:o.subtitulo}),(0,i.jsx)("br",{}),(0,i.jsx)(k.Z,{href:"/".concat(null===(n=null==o?void 0:o.menu)||void 0===n?void 0:n.toLowerCase(),"/").concat(null==o?void 0:o.slug),children:(0,i.jsx)(b.Z,{variant:"text",color:"secondary",children:"Leer m\xe1s"})})]})]})})},L=t(1798),I=t(5101),T=t(2963),H=t(6886),R=!0,_pid_=e=>{var n,t;let o=e.pageProps,l=null==o?void 0:null===(n=o.data)||void 0===n?void 0:n.data[0],r=null==l?void 0:l.slug,c=null==o?void 0:null===(t=o.data)||void 0===t?void 0:t.others,{mobile:h,loading:j,content:b,loadingContent:v}=pid_useHook(r);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Z,{title:"Emergencias Salud. ".concat(null==l?void 0:l.titulo),description:"".concat(null==l?void 0:l.subt
1itulo)}),(0,i.jsx)(s.Z,{mobile:h,shadow:!0}),(0,i.jsx)(x.Z,{pathname:"/organizaciones",width:"100%"}),(0,i.jsx)(components_PortadaConTexto,{imagen:"/img/headers/".concat(null==l?void 0:l.portada),alt:null==l?void 0:l.subtitulo,titulo:null==l?void 0:l.titulo}),(0,i.jsx)(p.Z,{padding:"20px",children:(0,i.jsx)(d.Z,{children:(0,i.jsxs)(T.Z,{"aria-label":"breadcrumb",children:[(0,i.jsx)(k.Z,{href:"/organizaciones",children:(0,i.jsx)("small",{children:"Inicio"})}),(0,i.jsx)("small",{children:null==l?void 0:l.submenu}),(0,i.jsx)("small",{children:null==l?void 0:l.titulo})]})})}),(0,i.jsx)(p.Z,{padding:"20px",children:(0,i.jsx)(d.Z,{children:(0,i.jsxs)(H.ZP,{container:!0,spacing:4,children:[(0,i.jsxs)(H.ZP,{item:!0,xs:12,md:9,children:[(0,i.jsx)(u.Z,{children:(0,i.jsx)("strong",{children:null==l?void 0:l.subtitulo})}),(0,i.jsx)("br",{}),(0,i.jsx)("div",{children:(0,Z.ZP)(b||(null==l?void 0:l.texto))}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)(components_Compartir,{share:"https://www.emergencias.com.ar/organizaciones/".concat(null==l?void 0:l.slug)})]}),(null==c?void 0:c.length)>1&&(0,i.jsxs)(H.ZP,{item:!0,xs:12,md:3,children:[(0,i.jsx)("p",{children:(0,i.jsx)("b",{children:"Tambi\xe9n te puede interesar..."})}),(0,i.jsx)("br",{}),(0,i.jsx)(a,{children:null==c?void 0:c.slice(0,4).map((e,n)=>e.slug!==l.slug&&(0,i.jsx)(components_ItemLanding,{data:e},n))})]})]})})}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)(L.Z,{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)(m.Z,{}),(0,i.jsx)(I.Z,{tel:"0810 333 2574"})]})}}},function(e){e.O(0,[774,794,799,415,754,279,767,192,888,179],function(){return e(e.s=889)}),_N_E=e.O()}]);

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.