PageSourceSearch

https://citas.clinicaangloamericana.pe/_next/static/chunks/pages/reserva/familiares-4389cf3f818fe81e.js

js clinicaangloamericana.pe collected 2026-10-04 01:11:05 UTC 2,914 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{46005:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return S},default:function(){return k}});var r=n(50029),i=n(87794),s=n.n(i),a=n(67294),o=n(11163),u=n(41749),c=n(50253),l=n(61654),f=n(95554),d=n(5309),p=n(77455),h=n(16620),m=n(77590),x=n(5377),v=n(57849),_=n(4477),g=n(5394),y=n(57833),C=n(74786),j=n(71605),w=y.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1sra08x-0"})(["text-align:center;"]),N=(0,y.default)(j.Z).withConfig({displayName:"styles__Text",componentId:"sc-1sra08x-1"})(["",""],(0,C.bU)({prop:"styles",variants:{username:{fontFamily:"bold",fontSize:"28px",lineHeight:"1.25",color:"textBlue"},question:{fontSize:"28px",lineHeight:"1.25",color:"textDark"}}})),Z=(y.default.button.withConfig({displayName:"styles__ButtonClose",componentId:"sc-1sra08x-2"})([""]),n(85893)),b=(0,d.Z)((function(e){var t=e.setLoading,n=(0,o.useRouter)(),i=(0,a.useContext)(v.Vo),d=(0,a.useContext)(_.Lg),y=(0,a.useContext)(_.cB),C=(0,a.useState)([]),j=C[0],b=C[1],S=(0,m.Z)().fetch;(0,a.useEffect)((function(){var e=function(){var e=(0,r.Z)(s().mark((function e(){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({url:"/api/user/detail",method:"get"});case 2:(n=e.sent).success&&b(n.data.relatives),t(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var k=function(e){var t=e.id,r=e.firstName,i=e.lastName;y({type:g.no,payload:{idPatient:t,despaciente:"".concat((0,h.S4)(r)," ").concat(i)}});
1var s=d.idMedic?"/reserva/sede":"/reserva/tipo-busqueda";setTimeout((function(){return n.push(s)}),200)};return(0,Z.jsx)(x.Z,{module:"Mi citas",page:"Reservar cita",children:(0,Z.jsx)(l.im,{justifyContent:"center",children:(0,Z.jsx)(l.W2,{pt:4,children:(0,Z.jsxs)(w,{children:[(0,Z.jsx)(N,{styles:"username",children:i.user.firstName}),(0,Z.jsx)(N,{component:"h4",styles:"question",children:"Elige a tu familiar"}),(0,Z.jsx)(c.Z,{mt:3,mb:5,children:(0,Z.jsx)(u.Z,{container:!0,spacing:2,children:j.map((function(e){return(0,Z.jsx)(u.Z,{item:!0,xs:2,sm:4,children:(0,Z.jsx)(p.Z,{selectable:!0,data:e,onSelect:k})},e.id)}))})}),(0,Z.jsx)(f.Z,{type:"button",fontSize:"20px",variant:"primary",onClick:function(){n.push("/reserva/agregar-familiar")},children:"Agregar un familiar"})]})})})})})),S=!0,k=b},16620:function(e,t,n){"use strict";n.d(t,{K8:function(){return r},S4:function(){return i}});var r=function(e){for(var t=e.toLowerCase().split(" "),n=0;n<t.length;n+=1)t[n]=t[n].charAt(0).toUpperCase()+t[n].slice(1);return t.join(" ")},i=function(e){return e.split(" ")[0]}},90271:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reserva/familiares",function(){return n(46005)}])}},function(e){e.O(0,[2654,3978,6829,6174,5377,5108,9774,2888,179],(function(){return t=90271,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.