diff --git a/167.a2eb1399fe9ecbe5.js b/167.a2eb1399fe9ecbe5.js deleted file mode 100644 index ff1f3b7..0000000 --- a/167.a2eb1399fe9ecbe5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[167],{9224:(v,g,s)=>{s.d(g,{a8:()=>m,kc:()=>l,dn:()=>_,QW:()=>u});var o=s(5e3),c=s(6360),h=s(508);const p=["*",[["mat-card-footer"]]],f=["*","mat-card-footer"];let _=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=o.lG2({type:a,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),a})(),l=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=o.lG2({type:a,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),a})(),m=(()=>{class a{constructor(t){this._animationMode=t}}return a.\u0275fac=function(t){return new(t||a)(o.Y36(c.Qb,8))},a.\u0275cmp=o.Xpm({type:a,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:f,decls:2,vars:0,template:function(t,e){1&t&&(o.F$t(p),o.Hsn(0),o.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),a})(),u=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[[h.BQ],h.BQ]}),a})()},3954:(v,g,s)=>{s.d(g,{N6:()=>u});var o=s(5e3),c=s(508);let u=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[[c.uc,c.BQ],c.uc,c.BQ]}),i})()}}]); \ No newline at end of file diff --git a/195.2deb7aca4e58cc39.js b/195.2deb7aca4e58cc39.js new file mode 100644 index 0000000..a5e1a97 --- /dev/null +++ b/195.2deb7aca4e58cc39.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[195],{6195:(_,p,d)=>{d.d(p,{Fe:()=>f});var h=d(3953),l=d(6600);let f=(()=>{class r{static#t=this.\u0275fac=function(i){return new(i||r)};static#e=this.\u0275mod=h.$C({type:r});static#i=this.\u0275inj=h.G2t({imports:[l.Np,l.yE,l.Np,l.yE]})}return r})()}}]); \ No newline at end of file diff --git a/315.48f674ba2ae5761b.js b/315.48f674ba2ae5761b.js deleted file mode 100644 index 1e47c17..0000000 --- a/315.48f674ba2ae5761b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[315],{1315:(E,s,a)=>{a.r(s),a.d(s,{ExaminationModule:()=>h});var c=a(9808),m=a(4004),p=a(8505),n=a(5e3),l=a(520),r=a(8926);function d(o,e){if(1&o&&(n.TgZ(0,"div",6),n._UZ(1,"ph-encyclopedia-procedure-card",7),n.qZA()),2&o){const t=e.$implicit;n.xp6(1),n.Q6J("procedure",t)("type","EXM")}}function x(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"section",1),n.TgZ(2,"span",2),n._uU(3,"Examinations"),n.qZA(),n.TgZ(4,"div",3),n._uU(5),n.qZA(),n.qZA(),n.TgZ(6,"section",4),n.YNc(7,d,2,2,"div",5),n.qZA(),n.BQk()),2&o){const t=e.ngIf;n.xp6(5),n.hij(" Total examinations: ",t.length," "),n.xp6(2),n.Q6J("ngForOf",t)}}let u=(()=>{class o{constructor(t){this.http=t,this.examination$=this.http.get("assets/procedures/examinations.json").pipe((0,m.U)(i=>Object.values(i||{}).sort((v,y)=>v.name.localeCompare(y.name))),(0,p.b)(i=>console.log(i)))}}return o.\u0275fac=function(t){return new(t||o)(n.Y36(l.eN))},o.\u0275cmp=n.Xpm({type:o,selectors:[["ph-encyclopedia-examination-list"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"mb-2","flex","flex-col"],[1,"font-medium","text-2xl","text-green-900"],[1,"text-lg","text-green-900"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1"],[3,"procedure","type"]],template:function(t,i){1&t&&(n.YNc(0,x,8,2,"ng-container",0),n.ALo(1,"async")),2&t&&n.Q6J("ngIf",n.lcZ(1,1,i.examination$))},directives:[c.O5,c.sg,r.I],pipes:[c.Ov],encapsulation:2}),o})();var g=a(587),f=a(4996);let h=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[c.ez,g.a,f.Bz.forChild([{path:"",component:u,pathMatch:"full"}])]]}),o})()}}]); \ No newline at end of file diff --git a/329.980845e05fa8654c.js b/329.980845e05fa8654c.js deleted file mode 100644 index d9c24ec..0000000 --- a/329.980845e05fa8654c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[329],{3329:(w,C,c)=>{c.r(C),c.d(C,{DepartmentsModule:()=>G});var s=c(4996),l=c(9808),p=c(9224),u=c(7448),t=c(5e3);let x=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[l.ez,p.QW,u.ie]]}),e})(),v=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[l.ez,x]]}),e})();var m=(()=>{return(e=m||(m={})).EMERGENCY="er",e.GENERAL_SURGERY="surg",e.INTERNAL_MEDICINE="intern",e.ORTHOPEDY="ortho",e.CARDIOLOGY="cardio",e.NEUROLOGY="neuro",e.TRAUMATOLOGY="trauma",e.INFECTIOUS_DISEASES="infect",m;var e})(),D=c(1135),f=c(3900),T=c(4004),A=c(8505),I=c(515),Z=c(520),b=c(508);function E(e,n){}const O=function(e){return{symptoms:e}};function S(e,n){if(1&e&&(t.ynx(0),t.YNc(1,E,0,0,"ng-template",10),t.BQk()),2&e){const a=t.oxw(),d=t.MAs(14);t.xp6(1),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.VKq(2,O,a.diagnose.symptoms))}}function F(e,n){if(1&e&&(t.TgZ(0,"li",25),t._UZ(1,"img",26),t.TgZ(2,"figcaption",27),t._uU(3),t.qZA(),t.qZA()),2&e){const a=n.$implicit;t.xp6(1),t.MGl("src","assets/icons/ph_icon_",a.icon_index,".png",t.LSH),t.xp6(2),t.hij(" ",a.name," ")}}function M(e,n){if(1&e&&(t.ynx(0),t._UZ(1,"img",28),t.TgZ(2,"figcaption",27),t._uU(3),t.qZA(),t.BQk()),2&e){const a=t.oxw().$implicit;t.xp6(1),t.MGl("src","assets/icons/ph_icon_",a.treatment.icon_index,".png",t.LSH),t.xp6(2),t.hij(" ",a.treatment.name," ")}}function h(e,n){1&e&&(t.ynx(0),t._uU(1,"Cannot be treated."),t.BQk())}function U(e,n){if(1&e&&(t.ynx(0),t.TgZ(1,"section",15),t._UZ(2,"img",16),t.TgZ(3,"figcaption",17),t.TgZ(4,"div",18),t._uU(5),t.qZA(),t.TgZ(6,"div",19),t._uU(7),t.qZA(),t.TgZ(8,"section",20),t.TgZ(9,"span",21),t._uU(10,"Examinations"),t.qZA(),t.TgZ(11,"ul",22),t.YNc(12,F,4,2,"li",23),t.qZA(),t.qZA(),t.TgZ(13,"section",24),t.TgZ(14,"span",21),t._uU(15,"Treatments"),t.qZA(),t.TgZ(16,"div",25),t.YNc(17,M,4,2,"ng-container",8),t.YNc(18,h,2,0,"ng-container",8),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&e){const a=n.$implicit;t.xp6(2),t.MGl("src","assets/icons/ph_icon_",a.icon_index,".png",t.LSH),t.xp6(3),t.hij(" ",a.name," "),t.xp6(2),t.AsE(" Probability: ",a.probability,"% - Hazard: ",a.hazard," "),t.xp6(5),t.Q6J("ngForOf",a.examinations),t.xp6(5),t.Q6J("ngIf",a.treatment),t.xp6(1),t.Q6J("ngIf",!a.treatment)}}function N(e,n){if(1&e&&(t.TgZ(0,"mat-list",11),t.TgZ(1,"div",12),t._uU(2,"Symptoms"),t.qZA(),t.TgZ(3,"div",13),t.YNc(4,U,19,7,"ng-container",14),t.qZA(),t.qZA()),2&e){const a=n.symptoms;t.xp6(4),t.Q6J("ngForOf",a)}}let y=(()=>{class e{constructor(){this.occurenceI18N={OCCURRENCE_COMMON:"Common",OCCURRENCE_RARE:"Rare",OCCURRENCE_UNCOMMON:"Uncommon"},this.occurenceColour={OCCURRENCE_COMMON:"text-yellow-500",OCCURRENCE_RARE:"text-orange-500",OCCURRENCE_UNCOMMON:"text-red-500"}}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ph-encyclopedia-diagnose-card"]],inputs:{diagnose:"diagnose"},decls:15,vars:7,consts:[[1,"h-full"],["mat-card-header","",1,"flex","items-center","space-x-4","rounded-t","bg-red-700"],["mat-card-avatar","",1,""],[1,"",3,"src"],[1,"text-lg","text-white","text-ellipsis","font-medium"],[1,"flex","flex-col","space-y-2"],[1,"text-left","font-medium",3,"ngClass"],[1,"text-ellipsis","text-justify","text-gray-600"],[4,"ngIf"],["symptomList",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,""],["mat-subheader",""],[1,"space-y-2"],[4,"ngFor","ngForOf"],["mat-line","",1,"flex","flex-row","items-center"],[1,"rounded-full","symptom-filter",3,"src"],[1,"flex","flex-col","pl-2","text-xs"],[1,"text-sm","font-medium","text-red-700","whitespace-normal"],[1,"whitespace-normal","text-red-700"],[1,"py-1","text-green-700"],[1,"font-medium"],[1,"list-disc","list-inside","-space-y-2"],["class","flex flex-row items-center",4,"ngFor","ngForOf"],[1,"py-1","text-blue-700"],[1,"flex","flex-row","items-center"],[1,"rounded-full","h-8","w-8","examination-filter",3,"src"],[1,"flex","flex-col","pl-2"],[1,"rounded-full","h-8","w-8","treatment-filter",3,"src"]],template:function(a,d){1&a&&(t.TgZ(0,"mat-card",0),t.TgZ(1,"section",1),t.TgZ(2,"div",2),t._UZ(3,"img",3),t.qZA(),t.TgZ(4,"figcaption",4),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"mat-card-content"),t.TgZ(7,"section",5),t.TgZ(8,"div",6),t._uU(9),t.qZA(),t.TgZ(10,"div",7),t._uU(11),t.qZA(),t.YNc(12,S,2,4,"ng-container",8),t.qZA(),t.qZA(),t.qZA(),t.YNc(13,N,5,1,"ng-template",null,9,t.W1O)),2&a&&(t.xp6(3),t.MGl("src","assets/icons/ph_icon_",d.diagnose.icon_index,".png",t.LSH),t.xp6(2),t.hij(" ",d.diagnose.name," "),t.xp6(3),t.Q6J("ngClass",d.occurenceColour[d.diagnose.occurrence]),t.xp6(1),t.AsE(" Occurence: ",d.occurenceI18N[d.diagnose.occurrence]," | Insurance: $",d.diagnose.insurance," "),t.xp6(2),t.hij(" ",d.diagnose.description," "),t.xp6(1),t.Q6J("ngIf",d.diagnose.symptoms))},directives:[p.a8,p.kc,p.dn,l.mk,l.O5,l.tP,u.i$,u.gs,l.sg,b.X2],encapsulation:2}),e})();function o(e,n){if(1&e&&(t.TgZ(0,"div",6),t._UZ(1,"ph-encyclopedia-diagnose-card",7),t.qZA()),2&e){const a=n.$implicit;t.xp6(1),t.Q6J("diagnose",a)}}function r(e,n){if(1&e&&(t.ynx(0),t.TgZ(1,"section",1),t.TgZ(2,"span",2),t._uU(3),t.qZA(),t.TgZ(4,"div",3),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"section",4),t.YNc(7,o,2,1,"div",5),t.qZA(),t.BQk()),2&e){const a=n.ngIf,d=t.oxw();t.xp6(3),t.Oqu(d.dptTitles[a.dptCode]),t.xp6(2),t.hij(" Total diagnoses: ",a.diagnoses.length," "),t.xp6(2),t.Q6J("ngForOf",a.diagnoses)}}let i=(()=>{class e{constructor(a){this.http=a,this.dptTitles={er:"Emergency",surg:"General Surgery",intern:"Internal Medicine",ortho:"Orthopedy",cardio:"Cardiology",neuro:"Neurology",trauma:"Traumatology",infect:"Infectious Diseases"},this._vm$=new D.X(null),this.vm$=this._vm$.asObservable().pipe((0,f.w)(d=>d?this.http.get(`assets/diagnoses/diagnoses_${d}.json`).pipe((0,T.U)(_=>({dptCode:d,diagnoses:Object.values(_).sort((L,Q)=>L.name.localeCompare(Q.name))})),(0,A.b)(_=>console.log(_))):I.E))}set dptCode(a){this._vm$.next(a)}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(Z.eN))},e.\u0275cmp=t.Xpm({type:e,selectors:[["ph-encyclopedia-department-page"]],inputs:{dptCode:"dptCode"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"mb-2","flex","flex-col"],[1,"font-medium","text-2xl","text-red-900"],[1,"text-lg","text-red-900"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","xl:grid-cols-4","2xl:grid-cols-5","gap-4"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1"],[3,"diagnose"]],template:function(a,d){1&a&&(t.YNc(0,r,8,3,"ng-container",0),t.ALo(1,"async")),2&a&&t.Q6J("ngIf",t.lcZ(1,1,d.vm$))},directives:[l.O5,l.sg,y],pipes:[l.Ov],encapsulation:2}),e})();const R=[{path:"emergency",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.EMERGENCY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"general_surgery",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.GENERAL_SURGERY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"internal_medicine",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.INTERNAL_MEDICINE)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"orthopedics",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.ORTHOPEDY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"cardiology",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.CARDIOLOGY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"neurology",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.NEUROLOGY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"traumatology",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.TRAUMATOLOGY)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"},{path:"infectious_diseases",component:(()=>{class e{constructor(){this.dptCodes=m}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"dptCode"]],template:function(a,d){1&a&&t._UZ(0,"ph-encyclopedia-department-page",0),2&a&&t.Q6J("dptCode",d.dptCodes.INFECTIOUS_DISEASES)},directives:[i],encapsulation:2}),e})(),pathMatch:"full"}];let G=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[v,s.Bz.forChild(R)],s.Bz]}),e})()},9224:(w,C,c)=>{c.d(C,{a8:()=>h,kc:()=>M,dn:()=>f,QW:()=>y});var s=c(5e3),l=c(6360),p=c(508);const u=["*",[["mat-card-footer"]]],t=["*","mat-card-footer"];let f=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275dir=s.lG2({type:o,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),o})(),M=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275dir=s.lG2({type:o,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),o})(),h=(()=>{class o{constructor(i){this._animationMode=i}}return o.\u0275fac=function(i){return new(i||o)(s.Y36(l.Qb,8))},o.\u0275cmp=s.Xpm({type:o,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(i,g){2&i&&s.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)},exportAs:["matCard"],ngContentSelectors:t,decls:2,vars:0,template:function(i,g){1&i&&(s.F$t(u),s.Hsn(0),s.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),o})(),y=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=s.oAB({type:o}),o.\u0275inj=s.cJS({imports:[[p.BQ],p.BQ]}),o})()}}]); \ No newline at end of file diff --git a/336.ebb9ef954a8e2152.js b/336.ebb9ef954a8e2152.js deleted file mode 100644 index b58f741..0000000 --- a/336.ebb9ef954a8e2152.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[336],{5336:(Z,s,o)=>{o.r(s),o.d(s,{TreatmentModule:()=>h});var r=o(9808),l=o(4004),p=o(8505),t=o(5e3),m=o(520),i=o(8926);function d(e,a){if(1&e&&(t.TgZ(0,"div",6),t._UZ(1,"ph-encyclopedia-procedure-card",7),t.qZA()),2&e){const n=a.$implicit;t.xp6(1),t.Q6J("procedure",n)("type","TRT")}}function u(e,a){if(1&e&&(t.ynx(0),t.TgZ(1,"section",1),t.TgZ(2,"span",2),t._uU(3,"Treatments"),t.qZA(),t.TgZ(4,"div",3),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"section",4),t.YNc(7,d,2,2,"div",5),t.qZA(),t.BQk()),2&e){const n=a.ngIf;t.xp6(5),t.hij(" Total treatments: ",n.length," "),t.xp6(2),t.Q6J("ngForOf",n)}}let g=(()=>{class e{constructor(n){this.http=n,this.treatment$=this.http.get("assets/procedures/treatments.json").pipe((0,l.U)(c=>Object.values(c||{}).sort((v,y)=>v.name.localeCompare(y.name))),(0,p.b)(c=>console.log(c)))}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(m.eN))},e.\u0275cmp=t.Xpm({type:e,selectors:[["ph-encyclopedia-treatment-list"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"mb-2","flex","flex-col"],[1,"font-medium","text-2xl","text-blue-900"],[1,"text-lg","text-blue-900"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1"],[3,"procedure","type"]],template:function(n,c){1&n&&(t.YNc(0,u,8,2,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,c.treatment$))},directives:[r.O5,r.sg,i.I],pipes:[r.Ov],encapsulation:2}),e})();var f=o(587),T=o(4996);let h=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[r.ez,f.a,T.Bz.forChild([{path:"",component:g,pathMatch:"full"}])]]}),e})()}}]); \ No newline at end of file diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 1d1b291..bb3a246 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -5,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2024 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -39,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2024 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -66,6 +66,32 @@ MIT @angular/router MIT +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + rxjs Apache-2.0 Apache License @@ -291,7 +317,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. https://angular.io/license +Copyright (c) 2010-2024 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/404.html b/404.html index 0fc93c5..69d8d75 100644 --- a/404.html +++ b/404.html @@ -1,15 +1,16 @@ -
+ + +