PageSourceSearch

https://lab.flabslis.com/static/js/726.b9e7f744.js

js flabslis.com collected 2026-10-01 14:22:40 UTC 36,614 bytes, 1 lines download raw bytes

1(globalThis.webpackChunkflabs_frontend||=[]).push([[726],{22315(e,t,i){"use strict";i.d(t,["S",0,"Interpretation:"])},18338(e,t,i){"use strict";i.d(t,["g",0,(e,t,i,l,n)=>{const o={...l},r=null==l?void 0:l.result,s=null==l?void 0:l.flag,d=null==l?void 0:l.refRange,a=null==l?void 0:l.unit;if(n){if(!e&&t)return o.result=r+s,o.flag=0,o;if(!e&&!t)return o.result=r+s+d,o.flag=0,o.refRange=0,o}else{if(!e&&i)return o.result=r+s,o.flag=0,o;if(!e&&!i)return o.result=r+s+a,o.flag=0,o.unit=0,o}return o}])},2328(e,t,i){"use strict";i.d(t,["Q",0,(e,t)=>{const i={};for(const e of t||[])null!=e&&e.localMachineID&&(i[e.localMachineID]=null==e?void 0:e.name);const l={};for(const t of(e=>{var t,i;return null!=e&&null!==(t=e.testMacData2)&&void 0!==t&&t.length?e.testMacData2:null!=e&&null!==(i=e.testMacData1)&&void 0!==i&&i.length?e.testMacData1:(null==e?void 0:e.testMacData)||[]})(e)){const e=null==t?void 0:t.localMachineID;null!=(null==t?void 0:t.id)&&e&&(l[t.id]=i[e]||e)}return l}])},81757(e,t,i){"use strict";i.d(t,{A:()=>_});i(41397),i(9950);var l=i(44820),n=i(44414);const o="18.7%",r="22.5%",s=e=>{let{fields:t=[],labDetails:i}=e;if(null==t||!t.length)return null;const s=null!=i&&i.report_patient_details_change_qr_code_position?r:o;return(0,n.jsx)(l.View,{style:{width:"100%",flexDirection:"column"},children:null==t?void 0:t.map((e,t)=>(0,n.jsxs)(l.View,{style:{flexDirection:"row",alignItems:"flex-start",width:"100%",paddingBottom:`${null==i?void 0:i.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:s,fontSize:`${null==i?void 0:i.report_patient_details_font_size}`,fontWeight:""+(null!=e&&e.boldLabels?800:400)},children:null==e?void 0:e.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==i?void 0:i.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==i?void 0:i.report_patient_details_font_size}`,fontWeight:""+(null!=e&&e.boldValues?800:400)},numberOfLines:0,children:null==e?void 0:e.value})]},(null==e?void 0:e.title)||t))})},d=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{border:"1px solid black",padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},a=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{border:"1px solid black",padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column",borderRadius:"5px"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-start",borderRight:"1px solid black",marginTop:`${(null==r?void 0:r.report_patient_details_spacing)+2}px`,marginBottom:`${(null==r?void 0:r.report_patient_details_spacing)+2}px`},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},p=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{borderBottom:"1px solid black",padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},u=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{border:"1px solid black",padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column",borderRadius:"5px"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},c=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{borderTop:"1px solid black",borderBottom:"1px solid black",padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column",backgroundColor:"#F0F0F0"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},g=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column",backgroundColor:"#F0F0F0"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},x=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldLabels?800:400)},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end"},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})},h=e=>{let{patientData:t,fullWidthData:i,QRCodeString:o,labDetails:r}=e;const d=e=>{const t=[];for(let i=0;i<e.length;i++){const o=e[i];t.push((0,n.jsxs)(l.View,{style:{display:"inline",flexDirection:"row",alignItems:"flex-start",paddingTop:0===i?`${null==r?void 0:r.report_patient_details_spacing}px`:"0px",paddingBottom:`${null==r?void 0:r.report_patient_details_spacing}px`,fontWeight:""+(null!=o
1&&o.boldLabels?800:400)},children:[(0,n.jsx)(l.Text,{style:{width:"60%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:o.title}),(0,n.jsx)(l.Text,{style:{fontSize:`${null==r?void 0:r.report_patient_details_font_size}`},children:":"}),(0,n.jsx)(l.Text,{style:{paddingLeft:"10px",width:"100%",fontSize:`${null==r?void 0:r.report_patient_details_font_size}`,fontWeight:""+(null!=o&&o.boldValues?800:400)},numberOfLines:0,children:null==o?void 0:o.value})]},i))}return t},a=Math.ceil(t.length/2);return(0,n.jsxs)(l.View,{style:{padding:`${null==r?void 0:r.report_patient_details_inner_padding}px`,marginBottom:`${null==r?void 0:r.report_patient_details_bottom_margin}px`,width:"100%",fontSize:"10px",flexDirection:"column"},fixed:!0,children:[(0,n.jsxs)(l.View,{style:{display:"flex",justifyContent:"space-between",width:"100%",flexDirection:"row",gap:"10px"},children:[(0,n.jsx)(l.View,{style:{width:"50%",borderRight:"1px solid black"},children:d(t.slice(0,a))}),(0,n.jsx)(l.View,{style:{width:"50%"},children:d(t.slice(a,t.length))}),!(null!=r&&r.report_patient_details_change_qr_code_position)&&(0,n.jsx)(l.View,{style:{width:"14%",display:"flex",justifyContent:"center",alignItems:"flex-end",borderLeft:"1px solid black",marginTop:`${(null==r?void 0:r.report_patient_details_spacing)+2}px`,marginBottom:`${(null==r?void 0:r.report_patient_details_spacing)+2}px`},children:(0,n.jsx)(l.View,{style:{width:`${null==r?void 0:r.report_patient_details_qr_size}`,height:`${null==r?void 0:r.report_patient_details_qr_size}`,maxHeight:"60px",maxWidth:"60px",padding:"0px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(l.Image,{src:o})})})]}),(0,n.jsx)(s,{fields:i,labDetails:r})]})};var f=i(68830);const _=function(e,t,i,l){var o,r;let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const _=null==l||null===(o=l.report_settings)||void 0===o?void 0:o.report_ordering,m=null==l?void 0:l.customize_labels;let v=(e=>{if(!_)return null==e?void 0:e.filter(e=>e.value);let t=[],i=0;for(let l of e){const e=_[l.title];if(e&&l.value){let n=i;for(;n<e-1;)t.push(null),n++;t.splice(e-1,1,l),e>i&&(i=e)}}return t.filter(e=>e)})(s?null==e?void 0:e.map(e=>"Report Status"===(null==e?void 0:e.title)?{...e,value:f.l.PROVISIONAL}:e):e);if(m)for(const e in m){const t=m[e];if(!t)continue;const i=v.findIndex(t=>(t.title.includes("No.")?t.title.replace("No.","Number"):t.title)===e);-1!==i&&(v[i]={...v[i],title:t.label||v[i].title,boldLabels:t.boldLabels||!1,boldValues:t.boldValues||!1})}const w=v.filter(e=>null==e?void 0:e.fullWidth);v=v.filter(e=>!(null!=e&&e.fullWidth));const y=null!==(r=null==i?void 0:i.report_patient_details_design_key)&&void 0!==r?r:1;return[{key:1,modal:(0,n.jsx)(d,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:2,modal:(0,n.jsx)(a,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:3,modal:(0,n.jsx)(p,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:4,modal:(0,n.jsx)(u,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:5,modal:(0,n.jsx)(c,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:6,modal:(0,n.jsx)(g,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:7,modal:(0,n.jsx)(x,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})},{key:8,modal:(0,n.jsx)(h,{patientData:v,fullWidthData:w,QRCodeString:t,labDetails:i})}].filter(e=>e.key===y)[0].modal}},84267(e,t,i){"use strict";i.d(t,["P",0,[{label:"Hindi",value:"hi"},{label:"Marathi",value:"mr"},{label:"Kannada",value:"kn"},{label:"Tamil",value:"ta"},{label:"Urdu",value:"ur"},{label:"Punjabi",value:"pa"},{label:"Gujarati",value:"gu"},{label:"Bengali",value:"bn"}]])},95024(e,t,i){"use strict";i.d(t,["O",0,{MALE:"male",FEMALE:"female",BOTH:"both"}])},37170(e,t,i){"use strict";i.d(t,["J",0,{RADIOLOGY:"RADIOLOGY",MICROBIOLOGY:"MICROBIOLOGY",ALLERGY:"ALLERGY",DEFAULT:"DEFAULT"}])},38464(e,t,i){"use strict";i.d(t,{N:()=>s,m:()=>r});const l=["CBC","ESR","PCV","RBC","WBC","MCV","MCH","MCHC","RDW","MPV","PDW","PCT","Hb","HbF","HbA","HbA2","HbS","G6PD","PT","INR","aPTT","PS","MP","ABO","Rh","DCT","ICT","HPLC","FBS","PPBS","RBS","OGTT","HbA1c","LFT","KFT","RFT","SGOT","SGPT","ALT","AST","ALP","GGT","LDH","CPK","CK","CKMB","CK-MB","BUN","GFR","eGFR","ACR","UACR","LDL","HDL","VLDL","TG","BNP","NT","proBNP","HOMA","HOMA-IR","OH","B12","B6","B1","D3","K2","pH","TSH","T3","T4","FT3","FT4","TPO","FSH","LH","AMH","SHBG","DHEA","DHEAS","ACTH","PTH","HCG","BHCG","IGF","CRP","hsCRP","ASO","RA","ANA","ANCA","ENA","ACL","CCP","IgA","IgD","IgE","IgG","IgM","HLA","VDRL","RPR","TPHA","HIV","HAV","HBV","HCV","HEV","HBsAg","HBeAg","TB","AFB","MTB","CMV","EBV","HSV","VZV","HPV","RTPCR","RT-PCR","PCR","ELISA","CLIA","CBNAAT","NS1","IGRA","PSA","CEA","AFP","CA","ECG","EKG","EEG","EMG","USG","CT","MRI","PET","DEXA","TMT","2D","3D","4D","EDTA","CSF","BAL","FNAC","DNA","RNA","MIC","UTI","ANC","Ig","IU","SI","II","III","IV","VI","VII","VIII","IX","XI","XII"],n=new Map(null==l?void 0:l.map(e=>[null==e?void 0:e.toUpperCase(),e])),o=/([^A-Za-z0-9]+)/,r=function(){var e,t,i;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l?null===(e=String(l))||void 0===e||null===(t=e.split(o))||void 0===t||null===(i=t.map(e=>{if(!/[A-Za-z0-9]/.test(e))return e;const t=n.get(null==e?void 0:e.toUpperCase());return t||e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}))||void 0===i?void 0:i.join(""):""},s=(e,t)=>t?r(e):e},82920(e,t,i){"use strict";function l(){var e,t,i;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=null==l||null===(e=l.trim())||void 0===e?void 0:e.split("");return n=(null===(t=n)||void 0===t||null===(i=t.splice(0,1)[0])||void 0===i?void 0:i.toUpperCase())+n.join(""),n}i.d(t,{q:()=>l})},87899(e,t,i){"use strict";i.d(t,{A:()=>j});var l=i(9950),n=i(44820),o=i(84267),r=i(18898),s=i(53777),d=i(74622),a=i(95005),p=i(53630),u=i(72922),c=i.n(u),g=i(6517),x=i(38464),h=i(44414);const f=e=>{var t,i,l,o,r,u,f,_,m,v;let{PageComponent:w,testItem:y,reportSettings:j,testData:b,doctors:S,reportEnd:D=!1,departmentEnd:T=!1,isEnd:C=!1}=e;const{showLowHighFlag:V=!0,showRefRangeFirstThenUnit:z,reportTestDescWidth:$,reportResultWidth:I,reportFlagWidth:R,reportRefRangeWidth:L,reportUnitWidth:A,reportColumnLogoUri:B,testNameFontSize:H,testNameSpacing:W,departmentFontSize:N,departmentNameSpacing:E,spacingBetweenTests:F,reportLeftMargin:M,reportRightMargin:P,interpretationHeadingName:G,interpretationHeadingFontSize:O,interpretationContentFontSize:k,showTableHeaderBelowTest:q,testNameAlignment:U,departmentNameAlignment:Q,boldInterpretationHeading:K,properCaseTestNames:Y}=j,X=y.test.igeCategory,Z={testDescription:V?$:$+2,result:V?I:I+2,flag:V?R:0,refRange:V?L:L+2,unit:V?A:A+2,nabl:B?3:0},J={name:null==X?void 0:X.name,testMethod:null!==(t=null==X?void 0:X.test_method)&&void 0!==t?t:null==X?void 0:X.testMethod,testValue:null==b?void 0:b.find(e=>e.id==(null==X?void 0:X._id)),range:`${null!==(i=null==X||null===(l=X.range)||void 0===l?void 0:l.rangeFrom)&&void 0!==i?i:""}-${null!==(o=null==X||null===(r=X.range)||void 0===r?void 0:r.rangeTo)&&void 0!==o?o:""}`,isLogo:!1,unit:null==X?void 0:X.unit},ee=(null==y?void 0:y.interpretation)&&(null==j?void 0:j.showInterpretation)&&(null==y||null===(u=y.test)||void 0===u?void 0:u.interpretation),te=null==y||null===(f=y.test)||void 0===f||null===(_=f.interpretation)||void 0===_?void 0:_.replace(/&[a-z]+;/g,e=>p.mt[e]||e);return(0,h.jsxs)(w,{isEnd:C,children:[(0,h.jsxs)(n.View,{style:{marginBottom:F,paddingLeft:M,paddingRight:P,paddingVertical:5},children:[(0,h.jsxs)(n.View,{style:{width:"100%",display:"flex",justifyContent:"center",alignItems:g.B2[U]||"center"},children:[(0,h.jsx)(n.Text,{style:{fontSize:N,alignSelf:g.B2[Q]||"center",paddingBottom:`${E}px`,paddingTop:`${null!=F?F:4}px`,fontWeight:"800",textTransform:Y?"none":"uppercase"},children:(0,x.N)(null==y||null===(m=y.department)||void 0===m?void 0:m.name,Y)}),(0,h.jsx)(n.Text,{style:{fontSize:H,paddingBottom:`${W}px`,fontWeight:"800",textTransform:Y?"none":"uppercase"},children:(0,x.N)(null==y||null===(v=y.test)||void 0===v?void 0:v.name,Y)})]}),q&&(0,h.jsx)(d.A,{reportSettings:j}),(0,h.jsx)(a.H,{tableDimensions:Z,reportSettings:j,showRefRangeFirstThenUnit:z,...J}),(0,h.jsx)(n.View,{style:{width:"100%",height:1,borderBottom:"0.5px solid #000"}}),ee&&(0,h.jsxs)(n.View,{style:{marginTop:10},children:[(0,h.jsx)(n.Text,{style:{fontSize:O,marginBottom:5,fontWeight:K?700:"normal"},children:G}),(0,h.jsx)(c(),{style:{fontSize:k},children:function(e){if("string"!=typeof e)return e;let t=e.replace(/font-size\s*:\s*[^;"]+;?/gi,"");return t=t.replace(/\sstyle="\s*"/gi,""),t}(String(te))||""})]})]}),(0,h.jsx)(s.T.SignComponent,{test:null==y?void 0:y.test,reportEnd:D,departmentEnd:T,doctors:S,reportSettings:j})]})},_=e=>{let{comment:t,commentV2:i,reportSettings:l}=e;const o=!(null==t||!t.length),r=!(null==i||!i.length);if(!o&&!r)return null;const{noteHeadingFontSize:s,noteContentFontSize:d}=l||{},{reportLeftMargin:a,reportRightMargin:p}=l;return(0,h.jsxs)(h.Fragment,{children:[o&&(0,h.jsxs)(n.View,{style:{marginTop:10,paddingLeft:a,paddingRight:p},children:[(0,h.jsxs)(n.Text,{style:{fontSize:s,marginBottom:5},children:["Comments:"," "]}),t.map((e,t)=>(0,h.jsxs)(n.View,{style:{fontSize:d,flexDirection:"row",marginBottom:2},children:[(0,h.jsx)(n.Text,{style:{marginRight:5},children:"•"}),(0,h.jsx)(n.Text,{children:e})]},t))]}),r&&(0,h.jsxs)(n.View,{style:{marginTop:10,paddingLeft:a,paddingRight:p},children:[o?(0,h.jsx)(n.View,{}):(0,h.jsxs)(n.Text,{style:{fontSize:s,marginBottom:5},children:["Comments:"," "]}),i.map((e,t)=>(0,h.jsx)(n.View,{style:{marginBottom:2},children:(0,h.jsx)(c(),{children:null!=e&&e.comment?String(e.comment):""})},t))]})]})},m=e=>null==e||null==e||"undefined"==e||"null"==e||""==e,v=e=>{let{name:t,ranges:i}=e;return(0,h.jsxs)(n.View,{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"4px",border:"1px solid #000",width:"100%"},children:[(0,h.jsx)(n.Text,{style:{fontSize:9,fontWeight:500,width:"40%"},children:t}),(0,h.jsx)(n.View,{style:{display:"flex",flexDirection:"row",gap:10,fontWeight:500},children:(null==i?void 0:i.length)>0&&i.map((e,t)=>{var i,l;return"numeric"===e.type?(0,h.jsxs)(n.Text,{style:{fontSize:9},children:[null!==(i=e.name)&&void 0!==i?i:"Range",": ",e.range]},t):(0,h.jsxs)(n.Text,{style:{fontSize:9},children:[null!==(l=e.name)&&void 0!==l?l:"Range",": ",e.range.operator," ",e.range.value]},t)})})]})},w=e=>{let{unit:t,allergens:i,testData:l,fontFamily:o,showSecondNameGlobal:r,doNotShowAllergenImages:s,forPreview:d}=e;return null==i?void 0:i.map((e,i)=>{var a,p;const u=l.find(t=>
1t.id==e._id),c=r&&e.showSecondName&&e.secondName&&(null===(a=String(e.secondName))||void 0===a?void 0:a.trim());if(!m(null==u?void 0:u.value)||d)return(0,h.jsxs)(n.View,{style:{gap:4,width:"20%",display:"flex",flexDirection:"column",borderRight:"1px solid #000",borderBottom:"1px solid #000",paddingTop:"4px",fontWeight:null!=u&&u.checked?600:400,color:(null==u?void 0:u.color)||"#000"},children:[!s&&(0,h.jsx)(n.View,{style:{display:"flex",flexDirection:"row",justifyContent:"center"},children:(0,h.jsx)(n.Image,{source:{uri:e.image,method:"GET",headers:{"Cache-Control":"no-cache"}},style:{width:50,height:50,objectFit:"contain"}})}),(0,h.jsxs)(n.View,{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",padding:"4px"},children:[(0,h.jsxs)(n.View,{style:{fontSize:9,width:"60px",overflow:"hidden"},children:[(0,h.jsx)(n.Text,{children:e.name}),c&&(0,h.jsx)(n.Text,{style:{fontFamily:o,overflow:"hidden"},children:e.secondName})]}),(0,h.jsxs)(n.View,{style:{fontSize:9},children:[(0,h.jsxs)(n.Text,{children:[null!==(p=null==u?void 0:u.value)&&void 0!==p?p:"N/A"," ",t]}),(0,h.jsx)(n.Text,{children:null==u?void 0:u.verdict})]})]})]},i)})},y=e=>{var t;let{testItem:i,allergyCategory:l,testData:o,fontFamily:r,showSecondName:d,reportSettings:a,PageComponent:p,doctors:u,renderedTestAndDepartment:c,forPreview:f=!1,reportEnd:_=!1,departmentEnd:y=!1}=e;const{show3RowsAllergens:j,show4RowsAllergens:b,show5RowsAllergens:S,reportLeftMargin:D,reportRightMargin:T,testNameFontSize:C,testNameSpacing:V,departmentFontSize:z,departmentNameSpacing:$,spacingBetweenTests:I,doNotShowAllergenImages:R=!1,testNameAlignment:L,departmentNameAlignment:A,properCaseTestNames:B}=a;let H=0,W=[];const N=[];null==l||null===(t=l.data)||void 0===t||t.forEach(e=>{const t=o.find(t=>t.id==e._id);m(null==t?void 0:t.value)&&!f||(H<5?(W.push(e),H++):(N.push(W),W=[e],H=1))}),W.length>0&&N.push(W);const E=R?100:j?3:b?4:S?5:4;let F=0,M=[];const P=[];for(const e of N)F<E?(M.push(e),F++):(P.push(M),M=[e],F=1);M.length>0&&P.push(M);return P.map((e,t)=>{1==t&&(c=!0);const m=!c;return c=>{var j,b;return(0,h.jsxs)(p,{hideTableHeader:!0,isEnd:_&&c,children:[m&&(0,h.jsxs)(n.View,{style:{width:"100%",display:"flex",justifyContent:"center",alignItems:g.B2[L]||"center"},children:[(0,h.jsx)(n.Text,{style:{fontSize:z,alignSelf:g.B2[A]||"center",paddingBottom:`${$}px`,paddingTop:`${null!=I?I:4}px`,fontWeight:"800",textTransform:B?"none":"uppercase"},children:(0,x.N)(null==i||null===(j=i.department)||void 0===j?void 0:j.name,B)}),(0,h.jsx)(n.Text,{style:{fontSize:C,paddingBottom:`${V}px`,fontWeight:"800",textTransform:B?"none":"uppercase"},children:(0,x.N)(null==i||null===(b=i.test)||void 0===b?void 0:b.name,B)})]}),(0,h.jsxs)(n.View,{style:{paddingLeft:D,paddingRight:T},children:[(0,h.jsx)(v,{name:null==l?void 0:l.allergenType,ranges:null==l?void 0:l.ranges}),e.map((e,t)=>(0,h.jsx)(n.View,{style:{display:"flex",flexDirection:"row",width:"100%",borderLeft:"1px solid #000"},children:(0,h.jsx)(w,{unit:null==l?void 0:l.unit,allergens:e,testData:o,fontFamily:r,forPreview:f,showSecondNameGlobal:d,doNotShowAllergenImages:R})},t))]}),(0,h.jsx)(s.T.SignComponent,{test:i.test,reportEnd:_&&c,doctors:u,departmentEnd:y&&c,reportSettings:a})]},t)}})},j=e=>{var t,i,n;let{testItem:d,testData:a,doctors:p,reportSettings:u,PageComponent:c,forPreview:g=!1,reportEnd:x=!1,departmentEnd:m=!1}=e;const v=d.test.allergyCategory,w=d.test.allergy_show_second_name,j=d.test.allergy_second_name_language,b=!(null==d||null===(t=d.comment)||void 0===t||!t.length),S=!(null==d||null===(i=d.commentV2)||void 0===i||!i.length),D=null===(n=o.P.find(e=>e.value===j))||void 0===n?void 0:n.label;D&&(0,r.HU)()[D]();const T=[];d.test.igeCategory&&T.push(e=>(0,h.jsx)(f,{PageComponent:c,reportSettings:u,testItem:d,testData:a,doctors:p,reportEnd:x&&e,departmentEnd:m&&e,isEnd:x&&e}));for(const e of v){const t=y({testItem:d,testData:a,fontFamily:D,allergyCategory:e,showSecondName:w,reportSettings:u,PageComponent:c,doctors:p,renderedTestAndDepartment:false,forPreview:g,reportEnd:x,departmentEnd:m});T.push(...t)}return(b||S)&&T.push(e=>(0,h.jsxs)(c,{hideTableHeader:!0,isEnd:x&&e,children:[(0,h.jsx)(_,{comment:null==d?void 0:d.comment,commentV2:null==d?void 0:d.commentV2,reportSettings:u}),(0,h.jsx)(s.T.SignComponent,{test:null==d?void 0:d.test,reportEnd:x&&e,doctors:p,departmentEnd:m&&e,reportSettings:u})]})),T.map((e,t)=>(0,l.cloneElement)(e(t===T.length-1),{key:`allergy-${null==d?void 0:d._id}-${t}`}))}},74622(e,t,i){"use strict";var l=i(44820),n=i(44414);const o=e=>{let{reportSettings:t,compareReport:i=!1}=e;const{showLowHighFlag:o=!0,showRefRangeFirstThenUnit:r,reportTestDescLabel:s,reportResultLabel:d,reportFlagLabel:a,reportRefRangeLabel:p,reportUnitLabel:u,showHeaderLowerLine:c,showHeaderUpperLine:g,headerBgColor:x,tableHeaderPadding:h,tableHeaderFontSize:f,reportTestDescWidth:_,reportResultWidth:m,reportFlagWidth:v,reportRefRangeWidth:w,reportUnitWidth:y,reportColumnLogoUri:j,boldTableHeader:b,properCaseTestNames:S}=t,D={testDescription:o?_:_+2,result:o?m:m+2,flag:o?v:0,refRange:o?w:w+2,unit:o?y:y+2,nabl:j?3:0},T={testDescription:30,result:40,refRange:20,unit:10},C=[{title:`${s}`,value:"testDescription"},{title:`${d}`,value:"result"},o&&!i&&{title:`${a}`,value:"flag"},...r?[{title:`${p}`,value:"refRange"},{title:`${u}`,value:"unit"}]:[{title:`${u}`,value:"unit"},{title:`${p}`,value:"refRange"}],{title:"",value:"nabl"}
1].filter(Boolean);let V={...D};return i&&(V={...T}),(0,n.jsx)(l.View,{style:{display:"flex",flexDirection:"row",width:"100%",borderBottom:c?"0.5px solid black":null,borderTop:g?"0.6px solid black":null,textTransform:S?"none":"uppercase",backgroundColor:null!=x?x:"#f0f0f0",paddingVertical:h,fontSize:f},children:C.map((e,t)=>V[e.value]>0&&(0,n.jsx)(l.View,{style:{width:V[e.value]+"%",textAlign:i&&"result"==e.value?"center":"left"},children:(0,n.jsx)(l.Text,{style:{fontSize:null!=f?f:"16px",fontWeight:b?700:"normal"},children:"result"==e.value&&i?"Result":e.title})},t))})};i.d(t,["A",0,o])},53777(e,t,i){"use strict";var l=i(44820),n=i(79591),o=i(44414);const r={Header:e=>{let{isHeader:t,uri:i,height:r}=e;return t?(0,o.jsx)(l.Image,{source:{uri:i,method:"GET",headers:{"Cache-Control":"no-cache"}},fixed:!0,style:{...n.i5.header,height:r}}):(0,o.jsx)(l.View,{fixed:!0,style:{...n.i5.header,height:r}})},Logo:e=>{let{reportSettings:t}=e;const{reportLogoUri:i,reportLogoHeight:r,reportLogoLeft:s,reportLogoTop:d}=t;return i?(0,o.jsx)(l.Image,{source:{uri:i,method:"GET",headers:{"Cache-Control":"no-cache"}},fixed:!0,style:{...n.i5.logo,top:`${Number(d)}px`,left:`${Number(s)}px`,height:`${Number(r)?Number(r):0}px`}}):(0,o.jsx)(l.View,{})},DoctorSign:e=>{let{doctor:t,position:i="absolute"}=e;return(0,o.jsxs)(l.View,{style:{...n.i5.doctorSign,alignItems:"left"===(null==t?void 0:t.alignment)?"flex-start":"right"===(null==t?void 0:t.alignment)?"flex-end":"center",left:`${Number(null==t?void 0:t.position)}px`,position:i},wrap:!1,children:[(0,o.jsx)(l.Image,{source:{uri:null==t?void 0:t.signature,method:"GET",headers:{"Cache-Control":"no-cache"}},style:{width:"auto",height:`${null!=t&&t.doctor_signature_size?null==t?void 0:t.doctor_signature_size:50}px`}}),!(null!=t&&t.hideDoctorName)&&(0,o.jsx)(l.Text,{style:{textAlign:"left"===(null==t?void 0:t.alignment)?"left":"right"===(null==t?void 0:t.alignment)?"right":"center",paddingTop:"4px",fontSize:`${null==t?void 0:t.name_font_size}px`,marginBottom:`${Number(null==t?void 0:t.name_and_degree_spacing)+5}px`,lineHeight:`${Number(null==t?void 0:t.name_degree_spacing)+10}px`},children:null==t?void 0:t.name}),(0,o.jsx)(l.Text,{style:{textAlign:"left"===(null==t?void 0:t.alignment)?"left":"right"===(null==t?void 0:t.alignment)?"right":"center",fontSize:`${null==t?void 0:t.degree_font_size}px`,lineHeight:`${Number(null==t?void 0:t.name_degree_spacing)+10}px`},children:null==t?void 0:t.degree})]})}},s=(e,t)=>{var i,l,n,o,r;return!(null!=e&&e.endOfReport)&&((null==e||null===(i=e.doctor_department)||void 0===i?void 0:i.includes("all"))||(null==e||null===(l=e.doctor_department)||void 0===l?void 0:l.includes(null==t||null===(n=t.department)||void 0===n?void 0:n._id)))&&(null==e||null===(o=e.doctor_test)||void 0===o||!o.length||(null==e||null===(r=e.doctor_test)||void 0===r?void 0:r.includes(null==t?void 0:t._id)))};r.SignComponent=e=>{let{doctors:t,test:i,reportEnd:n,departmentEnd:d,reportSettings:a,precedingTests:p=[]}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.View,{style:{width:"100%",position:null!=a&&a.reportRemoveSignatureFooterSpace&&n?"relative":"absolute",bottom:null!=a&&a.reportRemoveSignatureFooterSpace&&n?null:null==a?void 0:a.reportFooterHeight,display:"flex",flexDirection:"row"},children:null==t?void 0:t.map((e,t)=>{var l,s,a;if(null!=e&&e.endOfReport&&(null!=e&&null!==(l=e.doctor_department)&&void 0!==l&&l.includes(null==i||null===(s=i.department)||void 0===s?void 0:s._id)&&d||null!=e&&null!==(a=e.doctor_department)&&void 0!==a&&a.includes("all")&&n))return(0,o.jsx)(r.DoctorSign,{doctor:e},t)})}),(0,o.jsx)(l.View,{style:{width:"100%",bottom:null==a?void 0:a.reportFooterHeight,position:"absolute",display:"flex",flexDirection:"row"},fixed:!0,children:null==t?void 0:t.map((e,t)=>{if(s(e,i)&&(null==p||!p.some(t=>s(e,t))))return(0,o.jsx)(r.DoctorSign,{doctor:e},t)})})]})},r.BackgroundImage=e=>{let{isUseBackgroundImage:t,uri:i}=e;return t&&i?(0,o.jsx)(l.Image,{source:{uri:i,method:"GET",headers:{"Cache-Control":"no-cache"}},fixed:!0,style:n.i5.background}):null},i.d(t,["T",0,r])},50477(){}}]);

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.