1/*! For license information please see component---src-pages-inpatient-js-1177a0fe92e75a64ce9b.js.LICENSE.txt */ 2(self.webpackChunkhinduja_hospital_website=self.webpackChunkhinduja_hospital_website||[]).push([[8468],{40987:function(e,t,n){"use strict";var r=n(67294),a=n(35414);function o(e){var t=e.schema,n=e.lang;return r.createElement(a.q,{defer:!1,htmlAttributes:{lang:n}},t&&t.length&&t.map((function(e,t){if(null!=e&&e.field_seo_schema_text_area)return r.createElement("script",{type:"application/ld+json"},null==e?void 0:e.field_seo_schema_text_area)})))}o.defaultProps={lang:"en",Schema:[]},t.Z=o},48229:function(e,t,n){"use strict";n.r(t);var r=n(67294),a=n(2208),o=n(76853),i=n(40987),l=n(27774);t.default=function(e){var t,n,c,s,u,d,h,f,p,v,m,g,y,_,E,b,w=e.data.allNodeTemplatePages.edges,x=Array.isArray(w)?w[0]:[],L=(null===(t=x.node)||void 0===t||null===(n=t.metatag_normalized)||void 0===n?void 0:n.length)>0?null==x||null===(c=x.node)||void 0===c?void 0:c.metatag_normalized:[],N=null!=x&&null!==(s=x.node)&&void 0!==s&&null!==(u=s.relationships)&&void 0!==u&&u.field_seo_schema?null==x||null===(d=x.node)||void 0===d||null===(h=d.relationships)||void 0===h?void 0:h.field_seo_schema:[],j=(null===(f=x.node)||void 0===f?void 0:f.metatags_on_page)||{},k=null==x||null===(p=x.node)||void 0===p||null===(v=p.relationships)||void 0===v?void 0:v.field_component_type,O=k[0],T=(null==O?void 0:O.title)||"",I=(null==O?void 0:O.subtitle)||"",P=null==O||null===(m=O.relationships)||void 0===m||null===(g=m.bannerImage)||void 0===g||null===(y=g.uri)||void 0===y?void 0:y.url,S=(null==O||null===(_=O.bannerImage)||void 0===_?void 0:_.alt.length)>0?null==O||null===(E=O.bannerImage)||void 0===E?void 0:E.alt:"Hinduja Hospital ",A=k[1],G=null==A||null===(b=A.relationships)||void 0===b?void 0:b.components;(0,l.Z)("/assets/js/inpatient.js");return r.createElement(r.Fragment,null,r.createElement(a.Z,null,r.createElement(o.Z,{files:{js:[],css:["/assets/css/services.css","/assets/css/accessibility.css"]},tags:{metaTags:L,canonicalUrl:j}}),r.createElement(i.Z,{schema:N}),r.createElement("main",{className:"innerpage pt-first-section"},r.createElement("section",{class:"inner_common_banner"},r.createElement("img",{src:P,alt:S,className:"banner_img lazyload"}),r.createElement("div",{className:"banner_content text_left text_dark"},r.createElement("div",{className:"container"},r.createElement("h1",null,T.length>0?T:"Your Hospital Admission - Inpatients"),r.createElement("p",{className:"subhead",dangerouslySetInnerHTML:{__html:I.length>0&&I}})))),r.createElement("section",{className:"speciality_section section-bg section-py"},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-12"},G&&G instanceof Array&&r.createElement("div",{className:"accordion_container"},r.createElement("div",{id:"accordion",role:"tablist",className:"common_accordion specialty_accordion"},Array.isArray(G)&&G.map((function(e,t){var n,a,o,i,l,c,s,u,d,h,f;return"paragraph__image_with_title_and_description"===e.__typename?r.createElement("div",{className:"card"},r.createElement("div",{className:"card-header",role:"tab",id:"heading_inpatient0"+(t+1)},r.createElement("h5",{className:"mb-0"},r.createElement("a",{"data-toggle":"collapse",href:"#inpatient_0"+(t+1),"aria-expanded":"false","aria-controls":"inpatient_01",id:t+1},null==e?void 0:e.title))),r.createElement("div",{id:"inpatient_0"+(t+1),class:"collapse show",role:"tabpanel","aria-labelledby":"heading_inpatient01","data-
2parent":"#accordion"},r.createElement("div",{class:"card-body"},r.createElement("div",{class:"row"},r.createElement("div",{class:"col-md-6"},r.createElement("figure",null,r.createElement("img",{src:null==e||null===(n=e.relationships)||void 0===n||null===(a=n.image)||void 0===a||null===(o=a.uri)||void 0===o?void 0:o.url,alt:null==e||null===(i=e.image)||void 0===i?void 0:i.alt}))),r.createElement("div",{class:"col-md-6",dangerouslySetInnerHTML:{__html:null==e||null===(l=e.description)||void 0===l?void 0:l.processed}})),r.createElement("div",{dangerouslySetInnerHTML:{__html:null==e||null===(c=e.field_text)||void 0===c?void 0:c.processed}}),r.createElement("figure",null,r.createElement("img",{src:null==e||null===(s=e.relationships)||void 0===s||null===(u=s.image)||void 0===u||null===(d=u.uri)||void 0===d?void 0:d.url,alt:null==e||null===(h=e.image)||void 0===h?void 0:h.alt}))))):r.createElement("div",{class:"card"},r.createElement("div",{class:"card-header",role:"tab",id:"heading_inpatient0"+(t+1)},r.createElement("h5",{class:"mb-0"},r.createElement("a",{class:"collapsed","data-toggle":"collapse",href:"#inpatient_0"+(t+1),"aria-expanded":"false","aria-controls":"inpatient_02",id:t+1},null==e?void 0:e.field_title))),r.createElement("div",{id:"inpatient_0"+(t+1),class:"collapse",role:"tabpanel","aria-labelledby":"heading_inpatient02","data-parent":"#accordion"},r.createElement("div",{class:"card-body",dangerouslySetInnerHTML:{__html:null==e||null===(f=e.text)||void 0===f?void 0:f.processed}})))})))))))))))}},27774:function(e,t,n){"use strict";var r=n(15861),a=n(64687),o=n.n(a),i=n(67294),l=function(){var e=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,i.useEffect)((function(){var e=document.createElement("script");return e.async=!1,e.src=t,document.body.appendChild(e),function(){document.body.removeChild(e)}}),[t]);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.Z=l},17061:function(e,t,n){var r=n(18698).default;function a(){"use strict";e.exports=a=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,i=o.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(t){h=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype),i=new S(r||[]);return l(o,"_invoke",{value:O(e,n,i)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var v="suspendedStart",m="executing",g="completed",y={};function _(){}function E(){}function b(){}var w={};h(w,s,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(A([])));L&&L!==o&&i.call(L,s)&&(w=L);var N=b.prototype=_.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(a,o,l,c){var s=p(e[a],e,o);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,l,c)}),(function(e){n("throw",e,l,c)})):t.resolve(d).then((function(e){u.value=e,l(u)}),(function(e){return n("throw",e,l,c)}))}c(s.arg)}var a;l(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}})}function O(e,n,r){var a=v;return function(o,i){if(a===m)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:t,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var c=T(l,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===v)throw a=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=m;var s=p(e,n,r);if("normal"===s.type){if(a=r.done?g:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=g,r.method="throw",r.arg=s.arg)}}}function T(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
vendor: 4,982 bytes, lines 2-3
2(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=p(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function n(){for(;++a<e.length;)if(i.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return E.prototype=b,l(N,"constructor",{value:b,configurable:!0}),l(b,"constructor",{value:E,configurable:!0}),E.displayName=h(b,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,h(e,d,"GeneratorFunction")),e.prototype=Object.create(N),e},n.awrap=function(e){return{__await:e}},j(k.prototype),h(k.prototype,u,(function(){return this})),n.AsyncIterator=k,n.async=function(e,t,r,a,o){void 0===o&&(o=Promise);var i=new k(f(e,t,r,a),o);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(N),h(N,d,"Generator"),h(N,s,(function(){return this})),h(N,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=A,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,a){return l.type="throw",l.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;P(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},64687:function(e,t,n){var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(a){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},15861:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(s){return void n(s)}l.done?t(c):Promise.resolve(c).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,c,"next",e)}function c(e){r(i,a,o,l,c,"throw",e)}l(void 0)}))}}n.d(t,{Z:function(){return a}})}}]); 3//# sourceMappingURL=component---src-pages-inpatient-js-1177a0fe92e75a64ce9b.js.map
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.