@@ -386,10 +386,10 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
386
386
// Setting up the animated counter effect
387
387
let displayAge = 0 ;
388
388
resultElement . innerHTML = `
389
- <div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
390
- <div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
391
- <div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
392
- ` ;
389
+ <div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
390
+ <div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
391
+ <div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
392
+ ` ;
393
393
394
394
if ( isFirstTimeAnimation ) {
395
395
// Set the flag to false after the first run
@@ -454,6 +454,83 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
454
454
apUnit : '1' , // U/L
455
455
wbcUnit : '1' // 1000 cells/μL
456
456
} ,
457
+ HU : {
458
+ albuminUnit : '1' , // g/L
459
+ creatinineUnit : '1' , // µmol/L
460
+ glucoseUnit : '1' , // mmol/L
461
+ crpUnit : '10' , // mg/L
462
+ lymphocyteUnit : '1' , // %
463
+ mcvUnit : '1' , // fL
464
+ rcdwUnit : '1' , // %
465
+ apUnit : '1' , // U/L
466
+ wbcUnit : '1' // 1000 cells/μL
467
+ } ,
468
+ AU : {
469
+ albuminUnit : '1' , // g/L
470
+ creatinineUnit : '1' , // µmol/L
471
+ glucoseUnit : '1' , // mmol/L
472
+ crpUnit : '10' , // mg/L
473
+ lymphocyteUnit : '1' , // %
474
+ mcvUnit : '1' , // fL
475
+ rcdwUnit : '1' , // %
476
+ apUnit : '1' , // U/L
477
+ wbcUnit : '1' // 1000 cells/μL
478
+ } ,
479
+ DE : {
480
+ albuminUnit : '1' , // g/L
481
+ creatinineUnit : '1' , // µmol/L
482
+ glucoseUnit : '1' , // mmol/L
483
+ crpUnit : '10' , // mg/L
484
+ lymphocyteUnit : '1' , // %
485
+ mcvUnit : '1' , // fL
486
+ rcdwUnit : '1' , // %
487
+ apUnit : '1' , // U/L
488
+ wbcUnit : '1' // 1000 cells/μL
489
+ } ,
490
+ FR : {
491
+ albuminUnit : '1' , // g/L
492
+ creatinineUnit : '1' , // µmol/L
493
+ glucoseUnit : '1' , // mmol/L
494
+ crpUnit : '10' , // mg/L
495
+ lymphocyteUnit : '1' , // %
496
+ mcvUnit : '1' , // fL
497
+ rcdwUnit : '1' , // %
498
+ apUnit : '1' , // U/L
499
+ wbcUnit : '1' // 1000 cells/μL
500
+ } ,
501
+ ES : {
502
+ albuminUnit : '1' , // g/L
503
+ creatinineUnit : '1' , // µmol/L
504
+ glucoseUnit : '1' , // mmol/L
505
+ crpUnit : '10' , // mg/L
506
+ lymphocyteUnit : '1' , // %
507
+ mcvUnit : '1' , // fL
508
+ rcdwUnit : '1' , // %
509
+ apUnit : '1' , // U/L
510
+ wbcUnit : '1' // 1000 cells/μL
511
+ } ,
512
+ BR : {
513
+ albuminUnit : '1' , // g/L
514
+ creatinineUnit : '1' , // µmol/L
515
+ glucoseUnit : '1' , // mmol/L
516
+ crpUnit : '10' , // mg/L
517
+ lymphocyteUnit : '1' , // %
518
+ mcvUnit : '1' , // fL
519
+ rcdwUnit : '1' , // %
520
+ apUnit : '1' , // U/L
521
+ wbcUnit : '1' // 1000 cells/μL
522
+ } ,
523
+ HN : {
524
+ albuminUnit : '0.1' , // g/dL
525
+ creatinineUnit : '0.0113' , // mg/dL
526
+ glucoseUnit : '18.016' , // mg/dL
527
+ crpUnit : '10' , // mg/L
528
+ lymphocyteUnit : '1' , // %
529
+ mcvUnit : '1' , // fL
530
+ rcdwUnit : '1' , // %
531
+ apUnit : '1' , // U/L
532
+ wbcUnit : '1' // 1000 cells/μL
533
+ } ,
457
534
default : {
458
535
albuminUnit : '1' , // g/L
459
536
creatinineUnit : '1' , // µmol/L
0 commit comments