1"use strict";(self.webpackChunkbooking=self.webpackChunkbooking||[]).push([[4569],{1048:(I,S,t)=>{t.d(S,{x:()=>N});var z=t(1670),n=t(4666),R=t(2340),h=t(2560),O=t(7837),D=t(4497),E=t(9706);let N=(()=>{const d=class{constructor(e,i,l,m,p,g){this.seoSocialShareService=e,this.jsonLdService=i,this.title=l,this.router=m,this.meta=p,this.document=g}setData(e){var i=this;return(0,z.Z)(function*(){let l=i.convertToSeoSocialShareData(e||{});i.title.setTitle(l.title),l.url=l.url.split("?")[0],i.seoSocialShareService.setData(l),i.setSchema(e,e?.type),i.meta.updateTag({name:"robots",content:i.resolveRobotsContent(e?.robots)}),e?.canonical&&i.seoSocialShareService.setCanonicalUrl(e?.canonical),i.meta.updateTag({property:"og:type",content:e?.pagetype||"Website"}),"Profile"==e?.pagetype?(i.meta.updateTag({property:"profile:first_name",content:e?.name?.first_name}),i.meta.updateTag({property:"profile:last_name",content:e?.name?.last_name})):(i.meta.removeTag("property='profile:first_name'"),i.meta.removeTag("property='profile:last_name'"))})()}setSchema(e,i){var l=this;return(0,z.Z)(function*(){let m;const p=l.convertToSeoSocialShareData(e||{}),g=e?.socials?e?.socials.map(u=>u?.url):void 0,C=e?.institutions?e?.institutions?.map(u=>({"@type":"Organization",name:u?.name,url:u?.url})):void 0,M=e?.worksfor?e?.worksfor?.map(u=>({"@type":"MedicalOrganization",name:u?.name})):void 0;let T={name:p.title,image:p.image,url:p.url,description:p.description,honorificPrefix:e.honorificPrefix||void 0,jobTitle:e?.jobTitle||"B\xe1c s\u0129",sameAs:g,publishingPrinciples:"https://youmed.vn/tin-tuc/quy-trinh-bien-tap/",address:{"@type":"PostalAddress",addressLocality:e?.address?.city,addressRegion:e?.address?.city,postalCode:e?.address?.postalcode,streetAddress:e?.address?.street,addressCountry:{"@type":"Country",name:"Vi\u1ec7t Nam"}},knowsAbout:e?.specialties?.map(u=>u?.name),alumniOf:C,award:e?.award?e?.award:void 0,worksFor:M};switch(i){case"Person":m=l.jsonLdService.getObject(i,T),l.jsonLdService.setData(m);break;case"Physician":let u={name:p.title,image:p.image,url:p.url,description:p.description,medicalSpecialty:e?.specialties?.map(y=>y?.name),telephone:19002805,address:{"@type":"PostalAddress",addressLocality:e?.address?.city,addressRegion:e?.address?.city,postalCode:e?.address?.postalcode,streetAddress:e?.address?.street,addressCountry:{"@type":"Country",name:"Vi\u1ec7t Nam"}},availableService:{"@type":"MedicalTherapy",name:e?.subspecialties?.map(y=>y?.name)},hasMap:{"@type":"Map",url:"https://www.google.com/maps/search/?api=1&query="+e?.address?.street+", "+e?.address?.city},photo:e?.photo?e?.photo?.map(y=>({"@type":"CreativeWork",url:y})):void 0},P=l.jsonLdService.getObject(i,u),j=l.jsonLdService.getObject("Person",T);l.jsonLdService.setData([P,j]);break;default:l.removeJsonLd()}})()}removeJsonLd(){const e=this.document.head?.querySelector("script[type='application/ld+json']");e?.parentNode&&e.parentNode.removeChild(e)}resolveRobotsContent(e){return"string"==typeof e?e:!1===e?"noindex, nofollow":"index, follow"}convertToSeoSocialShareData(e){return{...e,title:e.title,image:e.image||"https://cdn.youmed.vn/wp-content/uploads/2022/04/og-image.png",description:e.description,url:R.N.returnUrlBooking+this.router.url,type:e.type||"Website",author:"YouMed"}}};let a=d;return d.\u0275fac=function(i){return new(i||d)(h.LFG(O.JP),h.LFG(O.vD),h.LFG(D.Dx),h.LFG(E.F0),h.LFG(D.h_),h.LFG(n.K0))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),a})()},9581:(I,S,t)=>{t.d(S,{D3:()=>D});var z=t(2560),n=t(8971),R=t(833),h=t(253);let O=(()=>{class a{create(s){return typeof ResizeObserver>"u"?null:new ResizeObserver(s)}}return a.\u0275fac=function(s){return new(s||a)},a.\u0275prov=z.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),D=(()=>{class a{constructor(s){this.nzResizeObserverFactory=s,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((s,e)=>this.cleanupObserver(e))}observe(s){const e=(0,n.fI)(s);return new R.y(i=>{const m=this.observeElement(e).subscribe(i);return()=>{m.unsubscribe(),this.unobserveElement(e)}})}observeElement(s){if(this.observedElements.has(s))this.observedElements.get(s).count++;else{const e=new h.x,i=this.nzResizeObserverFactory.create(l=>e.next(l));i&&i.observe(s),this.observedElements.set(s,{observer:i,stream:e,count:1})}return this.observedElements.get(s).stream}unobserveElement(s){this.observedElements.has(s)&&(this.observedElements.get(s).count--,this.observedElements.get(s).count||this.cleanupObserver(s))}cleanupObserver(s){if(this.observedElements.has(s)){const{observer:e,stream:i}=this.observedElements.get(s);e&&e.disconnect(),i.complete(),this.observedElements.delete(s)}}}return a.\u0275fac=function(s){return new(s||a)(z.LFG(O))},a.\u0275prov=z.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})()},8810:(I,S,t)=>{t.d(S,{W:()=>B,j:()=>U});var z=t(2321),n=t(2560),R=t(253),h=t(6317),O=t(6067),D=t(5524),E=t(4874),N=t(8977),a=t(2673),d=t(1944),s=t(9635),e=t(3945),i=t(4987),m=t(8951),p=t(7981),g=t(4157),C=t(2867),M=t(4666),T=t(3773);function u(r,v){1&r&&(n.TgZ(0,"span",3),n._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),n.qZA())}function P(r,v){}function j(r,v){if(1&r&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&r){const o=n.oxw(2);n.xp6(1),n.Oqu(o.nzTip)}}function y(r,v){if(1&r&&(n.TgZ(0,"div")(1,"div",5),n.YNc(2,P,0,0,"ng-template",6),n.YNc(3,j,2,1,"div",7),n.qZA()()),2&r){const o=n.oxw(),c=n.MAs(1);n.xp6(1),n.ekj("ant-spin-rtl","rtl"===o.dir)("ant-spin-spinning",o.isLoading)("ant-spin-lg","large"===o.nzSize)("ant-spin-sm","small"===o.nzSize)("ant-spin-show-text",o.nzTip),n.xp6(1),n.Q6J("ngTemplateOutlet",o.nzIndicator||c),n.xp6(1),n.Q6J("ngIf",o.nzTip)}}function F(r,v){if(1&r&&(n.TgZ(0,"div",9),n.Hsn(1),n.qZA()),2&r){const o=n.oxw();n.ekj("ant-spin-blur",o.isLoading)}}const A=["*"],L="spin";let B=(()=>
1{class r{constructor(o,c,f){this.nzConfigService=o,this.cdr=c,this.directionality=f,this._nzModuleName=L,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new R.x,this.spinning$=new h.X(this.nzSpinning),this.delay$=new O.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,E.O)(this.nzDelay),(0,N.x)(),(0,a.w)(c=>0===c?this.spinning$:this.spinning$.pipe(function l(r){return(0,d.e)((v,o)=>{let c=!1,f=null,b=null;const _=()=>{if(b?.unsubscribe(),b=null,c){c=!1;const x=f;f=null,o.next(x)}};v.subscribe((0,e.x)(o,x=>{b?.unsubscribe(),c=!0,f=x,b=(0,e.x)(o,_,s.Z),(0,i.Xf)(r(x)).subscribe(b)},()=>{_(),o.complete()},void 0,()=>{f=b=null}))})}(f=>(0,D.H)(f?c:0)))),(0,m.R)(this.destroy$)).subscribe(c=>{this.isLoading=c,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(L).pipe((0,m.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(o){const{nzSpinning:c,nzDelay:f}=o;c&&this.spinning$.next(this.nzSpinning),f&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return r.\u0275fac=function(o){return new(o||r)(n.Y36(p.jY),n.Y36(n.sBO),n.Y36(C.Is,8))},r.\u0275cmp=n.Xpm({type:r,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(o,c){2&o&&n.ekj("ant-spin-nested-loading",!c.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[n.TTD],ngContentSelectors:A,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(o,c){1&o&&(n.F$t(),n.YNc(0,u,5,0,"ng-template",null,0,n.W1O),n.YNc(2,y,4,12,"div",1),n.YNc(3,F,2,2,"div",2)),2&o&&(n.xp6(2),n.Q6J("ngIf",c.isLoading),n.xp6(1),n.Q6J("ngIf",!c.nzSimple))},dependencies:[M.O5,M.tP],encapsulation:2}),(0,z.gn)([(0,p.oS)()],r.prototype,"nzIndicator",void 0),(0,z.gn)([(0,g.Rn)()],r.prototype,"nzDelay",void 0),(0,z.gn)([(0,g.yF)()],r.prototype,"nzSimple",void 0),(0,z.gn)([(0,g.yF)()],r.prototype,"nzSpinning",void 0),r})(),U=(()=>{class r{}return r.\u0275fac=function(o){return new(o||r)},r.\u0275mod=n.oAB({type:r}),r.\u0275inj=n.cJS({imports:[C.vT,M.ez,T.Q8]}),r})()}}]); 2//# sourceMappingURL=4569.d5b6940ed70ed897.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.