-
Notifications
You must be signed in to change notification settings - Fork 0
/
831.ce910feaf686ac1b.js
1 lines (1 loc) · 3.63 KB
/
831.ce910feaf686ac1b.js
1
"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[831],{800:(R,y,c)=>{c.d(y,{H:()=>D});var i=c(3953),f=c(177),m=c(5596),u=c(2810);const v=(n,h)=>h.name,x=n=>[n],T=n=>({skills:n,title:"Doctor"}),M=n=>({skills:n,title:"Lab Specialist"});function S(n,h){}function w(n,h){if(1&n&&i.DNE(0,S,0,0,"ng-template",11),2&n){const a=i.XpG(),d=i.sdS(17);i.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",i.eq3(2,T,a.formattedProcedure.raw.required_doctors))}}function C(n,h){}function G(n,h){if(1&n&&i.DNE(0,C,0,0,"ng-template",11),2&n){const a=i.XpG(),d=i.sdS(17);i.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",i.eq3(4,M,i.eq3(2,x,a.formattedProcedure.raw.required_lab_spec)))}}function b(n,h){if(1&n&&(i.j41(0,"section",16)(1,"div",4),i.nrm(2,"img",5),i.k0s(),i.j41(3,"div",17),i.EFF(4),i.k0s()()),2&n){const a=h.$implicit;i.R7$(2),i.Mz_("src","assets/icons/ph_icon_",a.icon_index,".png",i.B4B),i.R7$(2),i.SpI(" ",a.name," ")}}function k(n,h){if(1&n&&(i.j41(0,"mat-card",12)(1,"mat-card-content",13)(2,"div",14),i.EFF(3),i.k0s(),i.j41(4,"div",15),i.Z7z(5,b,5,3,"section",16,v),i.k0s()()()),2&n){const a=h.skills,d=h.title;i.R7$(3),i.SpI(" Required ",d," Skills "),i.R7$(2),i.Dyx(a)}}let D=(()=>{class n{set procedure(a){const[d,g]=a.description.split("\\n\\n");this._formattedProcedure={raw:a,desc:d,req_rooms:g}}get formattedProcedure(){return this._formattedProcedure}static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275cmp=i.VBU({type:n,selectors:[["ph-encyclopedia-procedure-card"]],inputs:{procedure:"procedure",type:"type"},decls:18,vars:10,consts:[["skillList",""],[1,"h-full"],[1,"rounded-t",3,"ngClass"],[1,"flex","flex-row","space-x-1","pb-4","justify-between"],[1,"w-10"],["fallbackSrc","",1,"object-contain",3,"src"],[1,"flex","flex-1","items-center","text-md","text-white","font-medium"],[1,"flex","flex-col","mt-2","space-y-2"],[1,"flex","flex-col","text-gray-600","space-y-2","text-sm"],[1,"italic","text-justify"],[1,"font-medium","text-xs"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["appearance","outlined"],[1,"flex","flex-col","space-y-1"],[1,"text-red-900","font-bold","text-sm"],[1,"space-y-1"],[1,"flex","flex-1","space-x-1","items-center","text-sm","text-blue-900"],[1,"font-medium"]],template:function(d,g){1&d&&(i.j41(0,"mat-card",1)(1,"mat-card-header",2)(2,"div",3)(3,"div",4),i.nrm(4,"img",5),i.k0s(),i.j41(5,"span",6),i.EFF(6),i.k0s()()(),i.j41(7,"mat-card-content")(8,"section",7)(9,"div",8)(10,"span",9),i.EFF(11),i.k0s(),i.j41(12,"span",10),i.EFF(13),i.k0s()(),i.DNE(14,w,1,4,null,11)(15,G,1,6,null,11),i.k0s()()(),i.DNE(16,k,7,1,"ng-template",null,0,i.C5r)),2&d&&(i.R7$(),i.Y8G("ngClass",i.eq3(8,x,"EXM"===g.type?"bg-green-700":"bg-blue-700")),i.R7$(3),i.Mz_("src","assets/icons/ph_icon_",g.formattedProcedure.raw.icon_index,".png",i.B4B),i.R7$(2),i.SpI(" ",g.formattedProcedure.raw.name," "),i.R7$(5),i.JRh(g.formattedProcedure.desc),i.R7$(2),i.JRh(g.formattedProcedure.req_rooms),i.R7$(),i.vxM(null!=g.formattedProcedure.raw.required_doctors&&g.formattedProcedure.raw.required_doctors.length?14:-1),i.R7$(),i.vxM(g.formattedProcedure.raw.required_lab_spec?15:-1))},dependencies:[f.YU,f.T3,m.RN,m.m2,m.MM,u.$],encapsulation:2})}return n})()},4626:(R,y,c)=>{c.d(y,{E:()=>I});var i=c(177),f=c(5596),m=c(3953),u=c(6600);let E=(()=>{class s{static#t=this.\u0275fac=function(r){return new(r||s)};static#e=this.\u0275mod=m.$C({type:s});static#i=this.\u0275inj=m.G2t({imports:[u.Np,u.yE,u.Np,u.yE]})}return s})();var H=c(3239);let I=(()=>{class s{static#t=this.\u0275fac=function(r){return new(r||s)};static#e=this.\u0275mod=m.$C({type:s});static#i=this.\u0275inj=m.G2t({imports:[i.MD,f.Hu,H.Fg,E]})}return s})()}}]);