@glycanage/web-components 1.137.0 → 1.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Arrow2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as O,i as P,s as Q,e as s,b as f,v as H,m as R,n as t,p as C,g as w,q as i,r as T,u as I,k as A}from"./index2.js";import{
|
|
1
|
+
import{S as O,i as P,s as Q,e as s,b as f,v as H,m as R,n as t,p as C,g as w,q as i,r as T,u as I,k as A}from"./index2.js";import{l as J}from"./helpers.js";function K(o){let e,n,r;return{c(){e=s("div"),n=f(),r=s("div"),t(e,"position","absolute"),t(e,"right","10px"),t(e,"bottom","5px"),t(e,"height","3px"),t(e,"width","14px"),t(e,"background-color","#DD2222"),t(e,"border-radius","4px"),t(e,"transform","rotate(135deg)"),t(r,"position","absolute"),t(r,"right","10px"),t(r,"top","5px"),t(r,"height","3px"),t(r,"width","14px"),t(r,"background-color","#DD2222"),t(r,"border-radius","4px"),t(r,"transform","rotate(-135deg)")},m(d,D){w(d,e,D),w(d,n,D),w(d,r,D)},d(d){d&&(A(e),A(n),A(r))}}}function L(o){let e,n,r;return{c(){e=s("div"),n=f(),r=s("div"),t(e,"position","absolute"),t(e,"left","11px"),t(e,"bottom","5px"),t(e,"height","3px"),t(e,"width","14px"),t(e,"background-color","#DD2222"),t(e,"border-radius","4px"),t(e,"transform","rotate(45deg)"),t(r,"position","absolute"),t(r,"left","11px"),t(r,"top","5px"),t(r,"height","3px"),t(r,"width","14px"),t(r,"background-color","#DD2222"),t(r,"border-radius","4px"),t(r,"transform","rotate(-45deg)")},m(d,D){w(d,e,D),w(d,n,D),w(d,r,D)},d(d){d&&(A(e),A(n),A(r))}}}function U(o){let e,n,r,d,D,l,z,m,M,B,S,v,Z,k,$,b,F,x,h,E,y,G,c,j,q,u=o[1]==="left"&&K(),p=o[1]==="right"&&L();return{c(){e=s("div"),n=s("div"),u&&u.c(),r=f(),d=s("div"),D=f(),l=s("div"),z=f(),m=s("div"),M=f(),B=s("div"),S=f(),v=s("div"),Z=f(),k=s("div"),$=f(),b=s("div"),p&&p.c(),F=f(),x=s("div"),h=H("svg"),E=H("path"),G=f(),c=s("div"),j=s("b"),q=R(o[0]),t(n,"position","relative"),t(n,"height","100%"),t(n,"flex","1"),t(n,"background-color",o[1]==="left"?"#DD2222":"#CADBD1"),t(n,"border-radius","4px"),t(d,"height","100%"),t(d,"flex","2"),t(d,"background-color",o[1]==="left"?"#DD2222":"#CADBD1"),t(d,"border-radius","4px"),t(l,"height","100%"),t(l,"flex","2"),t(l,"background-color",o[1]==="left"?"#EE6600":"#CADBD1"),t(l,"border-radius","4px"),t(m,"position","relative"),t(m,"height","100%"),t(m,"flex","2"),t(m,"background-color","#CADBD1"),t(m,"border-radius","4px"),t(B,"height","100%"),t(B,"flex","2"),t(B,"background-color","#CADBD1"),t(B,"border-radius","4px"),t(v,"height","100%"),t(v,"flex","2"),t(v,"background-color",o[1]==="left"?"#CADBD1":"#EE6600"),t(v,"border-radius","4px"),t(k,"height","100%"),t(k,"flex","2"),t(k,"background-color",o[1]==="left"?"#CADBD1":"#DD2222"),t(k,"border-radius","4px"),t(b,"position","relative"),t(b,"height","100%"),t(b,"flex","1"),t(b,"background-color",o[1]==="left"?"#CADBD1":"#DD2222"),t(b,"border-radius","4px"),C(E,"d","M20.0001 35.5418C19.6112 35.5418 19.2223 35.4724 18.8334 35.3335C18.4445 35.1946 18.0973 34.9863 17.7917 34.7085C15.9862 33.0418 14.389 31.4168 13.0001 29.8335C11.6112 28.2502 10.4515 26.7154 9.52091 25.2293C8.59036 23.7432 7.88203 22.3127 7.39591 20.9377C6.9098 19.5627 6.66675 18.2502 6.66675 17.0002C6.66675 12.8335 8.00703 9.51405 10.6876 7.04183C13.3681 4.56961 16.4723 3.3335 20.0001 3.3335C23.5279 3.3335 26.632 4.56961 29.3126 7.04183C31.9931 9.51405 33.3334 12.8335 33.3334 17.0002C33.3334 18.2502 33.0904 19.5627 32.6042 20.9377C32.1181 22.3127 31.4098 23.7432 30.4792 25.2293C29.5487 26.7154 28.389 28.2502 27.0001 29.8335C25.6112 31.4168 24.014 33.0418 22.2084 34.7085C21.9029 34.9863 21.5556 35.1946 21.1667 35.3335C20.7779 35.4724 20.389 35.5418 20.0001 35.5418Z"),C(E,"fill",y=N(o[0],o[1])),t(h,"position","relative"),C(h,"width","60"),C(h,"height","60"),C(h,"viewBox","0 0 40 40"),C(h,"fill","none"),C(h,"xmlns","http://www.w3.org/2000/svg"),t(x,"left",o[2](o[0])+"%"),t(x,"position","absolute"),t(x,"transform","translate(-50%, -100%)"),t(x,"display","flex"),t(x,"align-items","center"),t(x,"flex-direction","column"),t(x,"width","100px"),t(x,"height","38px"),t(c,"left",o[2](o[0])+"%"),t(c,"position","absolute"),t(c,"transform","translate(-50%, -80%)"),t(c,"display","flex"),t(c,"align-items","center"),t(c,"flex-direction","column"),t(c,"width","100px"),t(c,"height","38px"),t(c,"color","white"),t(c,"font-size","0.75rem"),t(e,"position","relative"),t(e,"width","92%"),t(e,"height","4px"),t(e,"display","flex"),t(e,"justify-content","space-between"),t(e,"gap","4px")},m(a,g){w(a,e,g),i(e,n),u&&u.m(n,null),i(e,r),i(e,d),i(e,D),i(e,l),i(e,z),i(e,m),i(e,M),i(e,B),i(e,S),i(e,v),i(e,Z),i(e,k),i(e,$),i(e,b),p&&p.m(b,null),i(e,F),i(e,x),i(x,h),i(h,E),i(e,G),i(e,c),i(c,j),i(j,q)},p(a,[g]){a[1]==="left"?u||(u=K(),u.c(),u.m(n,null)):u&&(u.d(1),u=null),g&2&&t(n,"background-color",a[1]==="left"?"#DD2222":"#CADBD1"),g&2&&t(d,"background-color",a[1]==="left"?"#DD2222":"#CADBD1"),g&2&&t(l,"background-color",a[1]==="left"?"#EE6600":"#CADBD1"),g&2&&t(v,"background-color",a[1]==="left"?"#CADBD1":"#EE6600"),g&2&&t(k,"background-color",a[1]==="left"?"#CADBD1":"#DD2222"),a[1]==="right"?p||(p=L(),p.c(),p.m(b,null)):p&&(p.d(1),p=null),g&2&&t(b,"background-color",a[1]==="left"?"#CADBD1":"#DD2222"),g&3&&y!==(y=N(a[0],a[1]))&&C(E,"fill",y),g&1&&t(x,"left",a[2](a[0])+"%"),g&1&&T(q,a[0]),g&1&&t(c,"left",a[2](a[0])+"%")},i:I,o:I,d(a){a&&A(e),u&&u.d(),p&&p.d()}}}function N(o,e){return e==="left"?o>=34?"#119999":o>18&&o<34?"#EE6600":"#DD2222":o<=66?"#119999":o>66&&o<82?"#EE6600":"#DD2222"}function V(o,e,n){let{percentile:r=0}=e,{direction:d=""}=e;function D(l){if(l===50)return 50;if(l<2)return 9;if(l>98)return 91;if(l>=2&&l<50)return J(l,9.2,50,13,50);if(l>50&&l<=98)return J(l,50,90.8,50,86.8)}return o.$$set=l=>{"percentile"in l&&n(0,r=l.percentile),"direction"in l&&n(1,d=l.direction)},[r,d,D]}class W extends O{constructor(e){super(),P(this,e,V,U,Q,{percentile:0,direction:1})}}export{W as A};
|
package/dist/helpers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let O={BIOLOGICAL_AGE:"Biological age",CHRONOLOGICAL_AGE:"Chronological age",CHRONOLOGICAL_AGE_TWO:"chronological age",SI_SCORE:"SI score",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",BELOW_AVERAGE:"Below average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",ABOVE_AVERAGE:"Above average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"percentile",SINGLE_PERCENTILE:"percentile",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"This result ranks you in the",THIS_RESULT_RANKS_IN_THE:"This result ranks in the",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result",CHRONIC_INFLAMMATION:"Chronic inflammation",SYSTEMIC_INFLAMMATION:"Systemic inflammation",ANTI_INFLAMMATORY:"Anti-inflammatory",PRO_INFLAMMATORY:"Pro-inflammatory",SUPPORTIVE_INDEX:"Supportive index",GLYCAN_SHIELD:"Glycan Shield (S)",GLYCAN_YOUTH:"Glycan Youth (G2)",GLYCAN_MATURE:"Glycan Mature (G0)",GLYCAN_MEDIAN:"Glycan Median (G1)",GLYCAN_LIFESTYLE:"Glycan Lifestyle (B)",WORSE:"Worse",BETTER:"Better",OPTIMAL:"Optimal",SUBOPTIMAL:"Suboptimal",AVERAGE:"Average",INDEX_SCORE:"Index score",MEASURED_RESULT:"Measured result",POPULATION_AVERAGE:"Population average",AGE:"Age",SAME_AS:"Same as",THAN:"than",YEAR_OLDER:"year older",YEARS_OLDER:"years older",YEAR_YOUNGER:"year younger",YEARS_YOUNGER:"years younger"},_={BIOLOGICAL_AGE:"Wiek biologiczny",CHRONOLOGICAL_AGE:"Wiek Kalendarzowy",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Znaczny stopie\u0144 pokrywania si\u0119",MINOR_OVERLAP_LONG:"Nieznaczne stopie\u0144 pokrywania si\u0119",NO_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_TEN_B:"Nag\u0142a potrzeba wypr\xF3\u017Cnienia",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"B\xF3l staw\xF3w, obrz\u0119k, sztywno\u015B\u0107 i rumie\u0144",SYMPTOM_TWENTYFOUR:"Zaj\u0119cie mniejszych staw\xF3w dystalnych (palce r\u0105k i n\xF3g), zwykle symetryczne",SYMPTOM_TWENTYFIVE:"Og\xF3lnoustrojowe (zm\u0119czenie, utrata masy cia\u0142a itp.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Skierowanie do kardiologa na inne badania (np. wska\u017Anik uwapnienia t\u0119tnic wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Skierowanie do kardiologa na inne badania (np. echokardiogram wysi\u0142kowy)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",PERCENTILE:"percentylu",SINGLE_PERCENTILE:"percentyl",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RANKS_YOU:"Twoj wynik klasyfikuje Ci\u0119 w",RELATED_RESEARCH_PAPERS:"Publikacje naukowe",YOUR_RESULT:"Tw\xF3j wynik",CHRONIC_INFLAMMATION:"TempText POLISH1",ANTI_INFLAMMATORY:"TempText POLISH2",PRO_INFLAMMATORY:"TempText POLISH3",SUPPORTIVE_INDEX:"TempText POLISH4",GLYCAN_SHIELD:"TempText Shield (S)",GLYCAN_YOUTH:"TempText Youth (G2)",GLYCAN_MATURE:"TempText Mature (G0)",GLYCAN_MEDIAN:"TempText Median (G1)",GLYCAN_LIFESTYLE:"TempText Lifestyle (B)",WORSE:"TempText Worse",BETTER:"TempText Better",AVERAGE:"TempText Average"},s={BIOLOGICAL_AGE:"Biolo\u0161ka starost",CHRONOLOGICAL_AGE:"Kronolo\u0161ka starost",CHRONOLOGICAL_AGE_TWO:"kronolo\u0161ke starosti",RANKS_YOU:"Ta rezultat vas uvr\u0161\u010Da med",PERCENTILE:"percentilov",SINGLE_PERCENTILE:"percentil",YOUR_RESULT:"Va\u0161 rezultat",GLYCAN_SHIELD:"Glikanski \u0161\u010Dit (S)",GLYCAN_YOUTH:"Mladost glikanov (G2)",GLYCAN_MATURE:"Zrelost glikanov (G0)",GLYCAN_MEDIAN:"Povpre\u010Dje glikanov (G1)",GLYCAN_LIFESTYLE:"\u017Divljenjski slog glikanov (B)",CHRONIC_INFLAMMATION:"Kroni\u010Dno vnetje",ANTI_INFLAMMATORY:"Protivnetni",PRO_INFLAMMATORY:"Pro-vnetni",SUPPORTIVE_INDEX:"Podporni kazalnik",WORSE:"Slab\u0161e",BETTER:"Bolj\u0161e",OPTIMAL:"Optimalen",SUBOPTIMAL:"neoptimalno",AVERAGE:"Povpre\u010Dje",AROUND_AVERAGE:"Pribli\u017Eno povpre\u010Dje",THIS_RESULT_RANKS_IN_THE:"Ta rezultat se uvr\u0161\u010Da med",INDEX_SCORE:"Rezultat kazalnika",MEASURED_RESULT:"Va\u0161 rezultat",POPULATION_AVERAGE:"Povpre\u010Dje prebivalstva",AGE:"Dob",SAME_AS:"Enako kot",THAN:"od",YEAR_OLDER:"starej\u0161i",YEARS_OLDER:"starej\u0161i",YEAR_YOUNGER:"let mlaj\u0161i",YEARS_YOUNGER:"let mlaj\u0161i"},L={BIOLOGICAL_AGE:"\u751F\u7269\u5B66\u7684\u5E74\u9F62",CHRONOLOGICAL_AGE:"\u66A6\u5E74\u9F62",CHRONOLOGICAL_AGE_TWO:"\u66A6\u5E74\u9F62",SI_SCORE:"SI score",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",BELOW_AVERAGE:"Below average",AROUND_AVERAGE:"\u5E73\u5747\u5024\u304F\u3089\u3044",HIGHER_THAN_AVERAGE:"Higher than average",ABOVE_AVERAGE:"Above average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",SINGLE_PERCENTILE:"\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"\u3053\u306E\u7D50\u679C\u306B\u3088\u308A\u3001\u3042\u306A\u305F\u306F",THIS_RESULT_RANKS_IN_THE:"\u3053\u306E\u7D50\u679C\u306F\u3001",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result",CHRONIC_INFLAMMATION:"\u6162\u6027\u708E\u75C7",SYSTEMIC_INFLAMMATION:"\u5168\u8EAB\u6027\u708E\u75C7",ANTI_INFLAMMATORY:"\u6297\u708E\u75C7\u6027",PRO_INFLAMMATORY:"\u708E\u75C7\u8A98\u767A\u6027",SUPPORTIVE_INDEX:"\u30B5\u30DD\u30FC\u30C8\u6307\u6A19",GLYCAN_SHIELD:"Glycan Shield (S)",GLYCAN_YOUTH:"Glycan Youth (G2)",GLYCAN_MATURE:"Glycan Mature (G0)",GLYCAN_MEDIAN:"Glycan Median (G1)",GLYCAN_LIFESTYLE:"Glycan Lifestyle (B)",WORSE:"\u3088\u308A\u5E74\u4E0A",BETTER:"\u3088\u308A\u82E5\u3044",OPTIMAL:"\u6700\u9069\u306A",SUBOPTIMAL:"\u6700\u9069\u3067\u306F\u306A\u3044",AVERAGE:"\u5E73\u5747\u5024",INDEX_SCORE:"\u6307\u6A19\u30B9\u30B3\u30A2",MEASURED_RESULT:"\u3042\u306A\u305F\u306E\u7D50\u679C",POPULATION_AVERAGE:"\u6BCD\u96C6\u56E3\u5E73\u5747",AGE:"\u5E74\u9F62",SAME_AS:"\u301C\u3068\u540C\u3058",THAN:"\u3088\u308A",YEAR_OLDER:"\u5E74\u4E0A",YEARS_OLDER:"\u5E74\u4E0A",YEAR_YOUNGER:"\u5E74\u4E0B",YEARS_YOUNGER:"\u5E74\u4E0B"};function S(e,n="english"){if(n!=="english")return"";if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function l(e,n="english"){const o={english:O,polish:_,slovenian:s,japanese:L};if(e<32)return o[n].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return o[n].AROUND_AVERAGE;if(e>68)return o[n].HIGHER_THAN_AVERAGE}function T(e="english",n){return{english:O,polish:_,slovenian:s,japanese:L}[e][n]}function r(e,n,o,a,i){const E=(e-n)*(i-a)/(o-n)+a;return E<a?a:E>i?i:E}function t(e,n,o,a){return a===n?50:a===e?9.5:a===o?90.5:a<e?5:a>o?95:a>e&&a<n?r(a,e,n,10,50):a>n&&a<o?r(a,n,o,50,90):0}function P(e,n,o,a){const i=t(e,n,o,a);if(i<23)return"#DF2120";if(i>=23&&i<=36)return"#F2800D";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#13A195";if(i>77)return"#015566"}function c(e,n,o,a){const i=t(e,n,o,a);if(i<23)return"#015566";if(i>=23&&i<=36)return"#13A195";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#F2800D";if(i>77)return"#DF2120"}function A(e,n,o,a){const i=t(e,n,o,a);if(i<9.5)return"#DF2120";if(i>=9.5&&i<=23)return"#F2800D";if(i>23&&i<37)return"#66CCAA";if(i>=37&&i<=63)return"#13A195";if(i>63&&i<77)return"#66CCAA";if(i>=77&&i<=90.5)return"#F2800D";if(i>90.5)return"#DF2120"}function N(e){if(e===50)return 50;if(e<2)return 2.8;if(e>98)return 97.2;if(e>=2&&e<50)return r(e,3,50,7,50);if(e>50&&e<=98)return r(e,50,97,50,93)}function I(e){if(e<18)return"#DF2120";if(e>=18&&e<34)return"#F2800D";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#13A195";if(e>82)return"#015566"}function R(e){if(e<18)return"#015566";if(e>=18&&e<34)return"#13A195";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#F2800D";if(e>82)return"#DF2120"}function u(e){if(e<2)return"#DF2120";if(e>=2&&e<18)return"#F2800D";if(e>=18&&e<34)return"#66CCAA";if(e>=34&&e<67)return"#13A195";if(e>=67&&e<=82)return"#66CCAA";if(e>82&&e<=98)return"#F2800D";if(e>98)return"#DF2120"}export{T as a,P as b,t as c,c as d,A as e,I as f,l as g,R as h,u as i,N as j,r as k,S as s};
|
|
1
|
+
let O={BIOLOGICAL_AGE:"Biological age",CHRONOLOGICAL_AGE:"Chronological age",CHRONOLOGICAL_AGE_TWO:"chronological age",SI_SCORE:"SI score",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",BELOW_AVERAGE:"Below average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",ABOVE_AVERAGE:"Above average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"percentile",SINGLE_PERCENTILE:"percentile",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"This result ranks you in the",THIS_RESULT_RANKS_IN_THE:"This result ranks in the",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result",CHRONIC_INFLAMMATION:"Chronic inflammation",SYSTEMIC_INFLAMMATION:"Systemic inflammation",ANTI_INFLAMMATORY:"Anti-inflammatory",ANTI_INFLAMMATORY_INDEX:"Anti-inflammatory index",PRO_INFLAMMATORY:"Pro-inflammatory",PRO_INFLAMMATORY_INDEX:"Pro-inflammatory index",SUPPORTIVE_INDEX:"Supportive index",GLYCAN_SHIELD:"Glycan Shield (S)",GLYCAN_YOUTH:"Glycan Youth (G2)",GLYCAN_MATURE:"Glycan Mature (G0)",GLYCAN_MEDIAN:"Glycan Median (G1)",GLYCAN_LIFESTYLE:"Glycan Lifestyle (B)",GLYCAN_LIFESTYLE_B:"Glycan Bisection (B)",WORSE:"Worse",BETTER:"Better",OPTIMAL:"Optimal",SUBOPTIMAL:"Suboptimal",AVERAGE:"Average",INDEX_SCORE:"Index score",MEASURED_RESULT:"Measured result",POPULATION_AVERAGE:"Population average",AGE:"Age",SAME_AS:"Same as",THAN:"than",YEAR_OLDER:"year older",YEARS_OLDER:"years older",YEAR_YOUNGER:"year younger",YEARS_YOUNGER:"years younger"},_={BIOLOGICAL_AGE:"Wiek biologiczny",CHRONOLOGICAL_AGE:"Wiek Kalendarzowy",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Znaczny stopie\u0144 pokrywania si\u0119",MINOR_OVERLAP_LONG:"Nieznaczne stopie\u0144 pokrywania si\u0119",NO_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_TEN_B:"Nag\u0142a potrzeba wypr\xF3\u017Cnienia",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"B\xF3l staw\xF3w, obrz\u0119k, sztywno\u015B\u0107 i rumie\u0144",SYMPTOM_TWENTYFOUR:"Zaj\u0119cie mniejszych staw\xF3w dystalnych (palce r\u0105k i n\xF3g), zwykle symetryczne",SYMPTOM_TWENTYFIVE:"Og\xF3lnoustrojowe (zm\u0119czenie, utrata masy cia\u0142a itp.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Skierowanie do kardiologa na inne badania (np. wska\u017Anik uwapnienia t\u0119tnic wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Skierowanie do kardiologa na inne badania (np. echokardiogram wysi\u0142kowy)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",PERCENTILE:"percentylu",SINGLE_PERCENTILE:"percentyl",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RANKS_YOU:"Twoj wynik klasyfikuje Ci\u0119 w",RELATED_RESEARCH_PAPERS:"Publikacje naukowe",YOUR_RESULT:"Tw\xF3j wynik",CHRONIC_INFLAMMATION:"TempText POLISH1",ANTI_INFLAMMATORY:"TempText POLISH2",PRO_INFLAMMATORY:"TempText POLISH3",SUPPORTIVE_INDEX:"TempText POLISH4",GLYCAN_SHIELD:"TempText Shield (S)",GLYCAN_YOUTH:"TempText Youth (G2)",GLYCAN_MATURE:"TempText Mature (G0)",GLYCAN_MEDIAN:"TempText Median (G1)",GLYCAN_LIFESTYLE:"TempText Lifestyle (B)",WORSE:"TempText Worse",BETTER:"TempText Better",AVERAGE:"TempText Average"},s={BIOLOGICAL_AGE:"Biolo\u0161ka starost",CHRONOLOGICAL_AGE:"Kronolo\u0161ka starost",CHRONOLOGICAL_AGE_TWO:"kronolo\u0161ke starosti",RANKS_YOU:"Ta rezultat vas uvr\u0161\u010Da med",PERCENTILE:"percentilov",SINGLE_PERCENTILE:"percentil",YOUR_RESULT:"Va\u0161 rezultat",GLYCAN_SHIELD:"Glikanski \u0161\u010Dit (S)",GLYCAN_YOUTH:"Mladost glikanov (G2)",GLYCAN_MATURE:"Zrelost glikanov (G0)",GLYCAN_MEDIAN:"Povpre\u010Dje glikanov (G1)",GLYCAN_LIFESTYLE:"\u017Divljenjski slog glikanov (B)",GLYCAN_LIFESTYLE_B:"\u017Divljenjski slog glikanov (B)",CHRONIC_INFLAMMATION:"Kroni\u010Dno vnetje",ANTI_INFLAMMATORY:"Protivnetni",ANTI_INFLAMMATORY_INDEX:"Protivnetni index",PRO_INFLAMMATORY:"Pro-vnetni",PRO_INFLAMMATORY_INDEX:"Pro-vnetni index",SUPPORTIVE_INDEX:"Podporni kazalnik",WORSE:"Slab\u0161e",BETTER:"Bolj\u0161e",OPTIMAL:"Optimalen",SUBOPTIMAL:"neoptimalno",AVERAGE:"Povpre\u010Dje",AROUND_AVERAGE:"Pribli\u017Eno povpre\u010Dje",THIS_RESULT_RANKS_IN_THE:"Ta rezultat se uvr\u0161\u010Da med",INDEX_SCORE:"Rezultat kazalnika",MEASURED_RESULT:"Va\u0161 rezultat",POPULATION_AVERAGE:"Povpre\u010Dje prebivalstva",AGE:"Dob",SAME_AS:"Enako kot",THAN:"od",YEAR_OLDER:"starej\u0161i",YEARS_OLDER:"starej\u0161i",YEAR_YOUNGER:"let mlaj\u0161i",YEARS_YOUNGER:"let mlaj\u0161i"},L={BIOLOGICAL_AGE:"\u751F\u7269\u5B66\u7684\u5E74\u9F62",CHRONOLOGICAL_AGE:"\u66A6\u5E74\u9F62",CHRONOLOGICAL_AGE_TWO:"\u66A6\u5E74\u9F62",SI_SCORE:"SI score",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",BELOW_AVERAGE:"Below average",AROUND_AVERAGE:"\u5E73\u5747\u5024\u304F\u3089\u3044",HIGHER_THAN_AVERAGE:"Higher than average",ABOVE_AVERAGE:"Above average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",SINGLE_PERCENTILE:"\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"\u3053\u306E\u7D50\u679C\u306B\u3088\u308A\u3001\u3042\u306A\u305F\u306F",THIS_RESULT_RANKS_IN_THE:"\u3053\u306E\u7D50\u679C\u306F\u3001",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result",CHRONIC_INFLAMMATION:"\u6162\u6027\u708E\u75C7",SYSTEMIC_INFLAMMATION:"\u5168\u8EAB\u6027\u708E\u75C7",ANTI_INFLAMMATORY:"\u6297\u708E\u75C7\u6027",ANTI_INFLAMMATORY_INDEX:"\u6297\u708E\u75C7\u6027",PRO_INFLAMMATORY:"\u708E\u75C7\u8A98\u767A\u6027",PRO_INFLAMMATORY_INDEX:"\u708E\u75C7\u8A98\u767A\u6027",SUPPORTIVE_INDEX:"\u30B5\u30DD\u30FC\u30C8\u6307\u6A19",GLYCAN_SHIELD:"Glycan Shield (S)",GLYCAN_YOUTH:"Glycan Youth (G2)",GLYCAN_MATURE:"Glycan Mature (G0)",GLYCAN_MEDIAN:"Glycan Median (G1)",GLYCAN_LIFESTYLE:"Glycan Lifestyle (B)",GLYCAN_LIFESTYLE_B:"Glycan Bisection (B)",WORSE:"\u3088\u308A\u5E74\u4E0A",BETTER:"\u3088\u308A\u82E5\u3044",OPTIMAL:"\u6700\u9069\u306A",SUBOPTIMAL:"\u6700\u9069\u3067\u306F\u306A\u3044",AVERAGE:"\u5E73\u5747\u5024",INDEX_SCORE:"\u6307\u6A19\u30B9\u30B3\u30A2",MEASURED_RESULT:"\u3042\u306A\u305F\u306E\u7D50\u679C",POPULATION_AVERAGE:"\u6BCD\u96C6\u56E3\u5E73\u5747",AGE:"\u5E74\u9F62",SAME_AS:"\u301C\u3068\u540C\u3058",THAN:"\u3088\u308A",YEAR_OLDER:"\u5E74\u4E0A",YEARS_OLDER:"\u5E74\u4E0A",YEAR_YOUNGER:"\u5E74\u4E0B",YEARS_YOUNGER:"\u5E74\u4E0B"};function S(e,n="english"){if(n!=="english")return"";if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function l(e,n="english"){const o={english:O,polish:_,slovenian:s,japanese:L};if(e<32)return o[n].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return o[n].AROUND_AVERAGE;if(e>68)return o[n].HIGHER_THAN_AVERAGE}function T(e="english",n){return{english:O,polish:_,slovenian:s,japanese:L}[e][n]}function r(e,n,o,a,i){const E=(e-n)*(i-a)/(o-n)+a;return E<a?a:E>i?i:E}function t(e,n,o,a){return a===n?50:a===e?9.5:a===o?90.5:a<e?5:a>o?95:a>e&&a<n?r(a,e,n,10,50):a>n&&a<o?r(a,n,o,50,90):0}function P(e,n,o,a){const i=t(e,n,o,a);if(i<23)return"#DF2120";if(i>=23&&i<=36)return"#F2800D";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#13A195";if(i>77)return"#015566"}function c(e,n,o,a){const i=t(e,n,o,a);if(i<23)return"#015566";if(i>=23&&i<=36)return"#13A195";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#F2800D";if(i>77)return"#DF2120"}function A(e,n,o,a){const i=t(e,n,o,a);if(i<9.5)return"#DF2120";if(i>=9.5&&i<=23)return"#F2800D";if(i>23&&i<37)return"#66CCAA";if(i>=37&&i<=63)return"#13A195";if(i>63&&i<77)return"#66CCAA";if(i>=77&&i<=90.5)return"#F2800D";if(i>90.5)return"#DF2120"}function N(e){if(e===50)return 50;if(e<2)return 2.8;if(e>98)return 97.2;if(e>=2&&e<50)return r(e,3,50,7,50);if(e>50&&e<=98)return r(e,50,97,50,93)}function I(e){if(e<18)return"#DF2120";if(e>=18&&e<34)return"#F2800D";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#13A195";if(e>82)return"#015566"}function R(e){if(e<18)return"#015566";if(e>=18&&e<34)return"#13A195";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#F2800D";if(e>82)return"#DF2120"}function u(e){if(e<2)return"#DF2120";if(e>=2&&e<18)return"#F2800D";if(e>=18&&e<34)return"#66CCAA";if(e>=34&&e<67)return"#13A195";if(e>=67&&e<=82)return"#66CCAA";if(e>82&&e<=98)return"#F2800D";if(e>98)return"#DF2120"}function d(e){if(e<2)return"#DF2120";if(e>=2&&e<18)return"#F2800D";if(e>=18&&e<34)return"#13A195";if(e>=34&&e<67)return"#015566";if(e>=67&&e<=82)return"#13A195";if(e>82&&e<=98)return"#F2800D";if(e>98)return"#DF2120"}export{T as a,P as b,t as c,c as d,A as e,I as f,l as g,R as h,u as i,N as j,d as k,r as l,S as s};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js"),import("./colorectal.wc.js"),import("./endometrial.wc.js"),import("./ovarian.wc.js"),import("./age-graph.wc.js"),import("./index-graph.wc.js"),import("./median-graph.wc.js"),import("./median-graph-japanese.wc.js"),import("./index-graph-japanese.wc.js"),import("./results-overview.wc.js"),import("./single-overview.wc.js"),import("./main-result.wc.js"),import("./main-result-three.wc.js"),import("./insights-overview.wc.js"),import("./arrow-graph.wc.js"),import("./overlap-title.wc.js"),import("./scatter-plot.wc.js"),import("./results-overview-clp.wc.js"),import("./insights-overview-clp.wc.js"),import("./main-result-clp.wc.js"),import("./single-overview-clp.wc.js"),import("./arrow-graph-clp.wc.js"),import("./overlap-title-clp.wc.js"),import("./scatter-plot-clp.wc.js"),import("./over-time.wc.js")};export{t as default};
|
|
1
|
+
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js"),import("./colorectal.wc.js"),import("./endometrial.wc.js"),import("./ovarian.wc.js"),import("./age-graph.wc.js"),import("./index-graph.wc.js"),import("./median-graph.wc.js"),import("./median-graph-japanese.wc.js"),import("./index-graph-japanese.wc.js"),import("./results-overview.wc.js"),import("./single-overview.wc.js"),import("./main-result.wc.js"),import("./main-result-three.wc.js"),import("./results-overview-three.wc.js"),import("./insights-overview.wc.js"),import("./insights-overview-three.wc.js"),import("./arrow-graph.wc.js"),import("./overlap-title.wc.js"),import("./scatter-plot.wc.js"),import("./results-overview-clp.wc.js"),import("./insights-overview-clp.wc.js"),import("./main-result-clp.wc.js"),import("./single-overview-clp.wc.js"),import("./arrow-graph-clp.wc.js"),import("./overlap-title-clp.wc.js"),import("./scatter-plot-clp.wc.js"),import("./over-time.wc.js")};export{t as default};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{c as k,S as N,i as T,f as x,s as P,a as $,d as L,g as v,u as C,k as o,o as H,e as u,b as g,n as f,p as h,q as b}from"./index2.js";function E(a){$(a,"svelte-352nrr",".main.svelte-352nrr.svelte-352nrr{height:100%;width:100%;display:flex;flex-direction:column}.row.svelte-352nrr.svelte-352nrr{border-top:1px solid #09341F33;display:flex;align-items:center;height:20%}.indication-chip.svelte-352nrr.svelte-352nrr{display:flex;align-items:center;font-weight:bold;padding:.75rem 2rem .75rem 1rem;border-radius:.5rem;gap:.75rem}.indication-chip.bad.svelte-352nrr.svelte-352nrr{background-color:rgba(221,34,34,.1);color:#DD2222}.causes.svelte-352nrr.svelte-352nrr{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:3rem}.cause-chip.svelte-352nrr.svelte-352nrr{display:flex;align-items:center;height:2rem;padding:0 1rem;font-size:12px;gap:.5rem;font-weight:bold;border-radius:999px}.cause-chip-dot.svelte-352nrr.svelte-352nrr{width:10px;height:10px;border-radius:999px}.cause-chip.good.svelte-352nrr.svelte-352nrr{background-color:rgba(17,153,153,.1);color:#119999}.cause-chip.good.svelte-352nrr .cause-chip-dot.svelte-352nrr{background-color:#119999}.cause-chip.slightly-bad.svelte-352nrr .cause-chip-dot.svelte-352nrr{background-color:#EE6600}.cause-chip.bad.svelte-352nrr .cause-chip-dot.svelte-352nrr{background-color:#DD2222}.cause-chip.slightly-bad.svelte-352nrr.svelte-352nrr{background-color:rgba(238,102,0,.1);color:#EE6600}.cause-chip.bad.svelte-352nrr.svelte-352nrr{background-color:rgba(221,34,34,.1);color:#DD2222}.cause-chip.good.svelte-352nrr.svelte-352nrr{background-color:rgba(17,153,153,.1);color:#119999}.cause-chip.slightly-bad.svelte-352nrr.svelte-352nrr{background-color:rgba(238,102,0,.1);color:#EE6600}.cause-chip.bad.svelte-352nrr.svelte-352nrr{background-color:rgba(221,34,34,.1);color:#DD2222}")}function w(a){let e;function s(r,l){if(r[0]==="long")return A;if(r[0]==="short")return S}let t=s(a),i=t&&t(a);return{c(){i&&i.c(),e=L()},m(r,l){i&&i.m(r,l),v(r,e,l)},p(r,l){t===(t=s(r))&&i?i.p(r,l):(i&&i.d(1),i=t&&t(r),i&&(i.c(),i.m(e.parentNode,e)))},d(r){r&&o(e),i&&i.d(r)}}}function S(a){let e,s,t,i,r,l,d;return{c(){e=u("div"),e.innerHTML=`<div class="indication-chip bad svelte-352nrr"><svg width="30" height="28" viewBox="0 0 30 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.8666 26.9999L7.93327 23.7332L4.2666 22.9332C3.93327 22.8666 3.6666 22.6944 3.4666 22.4166C3.2666 22.1388 3.18882 21.8332 3.23327 21.4999L3.59994 17.7332L1.09993 14.8666C0.877713 14.6221 0.766602 14.3332 0.766602 13.9999C0.766602 13.6666 0.877713 13.3777 1.09993 13.1332L3.59994 10.2666L3.23327 6.49991C3.18882 6.16658 3.2666 5.86102 3.4666 5.58325C3.6666 5.30547 3.93327 5.13325 4.2666 5.06658L7.93327 4.26658L9.8666 0.999914C10.0444 0.711025 10.2888 0.516581 10.5999 0.416581C10.911 0.316581 11.2222 0.333247 11.5333 0.466581L14.9999 1.93325L18.4666 0.466581C18.7777 0.333247 19.0888 0.316581 19.3999 0.416581C19.711 0.516581 19.9555 0.711025 20.1333 0.999914L22.0666 4.26658L25.7333 5.06658C26.0666 5.13325 26.3333 5.30547 26.5333 5.58325C26.7333 5.86102 26.811 6.16658 26.7666 6.49991L26.3999 10.2666L28.8999 13.1332C29.1222 13.3777 29.2333 13.6666 29.2333 13.9999C29.2333 14.3332 29.1222 14.6221 28.8999 14.8666L26.3999 17.7332L26.7666 21.4999C26.811 21.8332 26.7333 22.1388 26.5333 22.4166C26.3333 22.6944 26.0666 22.8666 25.7333 22.9332L22.0666 23.7332L20.1333 26.9999C19.9555 27.2888 19.711 27.4832 19.3999 27.5832C19.0888 27.6832 18.7777 27.6666 18.4666 27.5332L14.9999 26.0666L11.5333 27.5332C11.2222 27.6666 10.911 27.6832 10.5999 27.5832C10.2888 27.4832 10.0444 27.2888 9.8666 26.9999ZM14.9999 20.6666C15.3777 20.6666 15.6944 20.5388 15.9499 20.2832C16.2055 20.0277 16.3333 19.711 16.3333 19.3332C16.3333 18.9555 16.2055 18.6388 15.9499 18.3832C15.6944 18.1277 15.3777 17.9999 14.9999 17.9999C14.6222 17.9999 14.3055 18.1277 14.0499 18.3832C13.7944 18.6388 13.6666 18.9555 13.6666 19.3332C13.6666 19.711 13.7944 20.0277 14.0499 20.2832C14.3055 20.5388 14.6222 20.6666 14.9999 20.6666ZM14.9999 15.3332C15.3777 15.3332 15.6944 15.2055 15.9499 14.9499C16.2055 14.6944 16.3333 14.3777 16.3333 13.9999V8.66658C16.3333 8.2888 16.2055 7.97214 15.9499 7.71658C15.6944 7.46102 15.3777 7.33325 14.9999 7.33325C14.6222 7.33325 14.3055 7.46102 14.0499 7.71658C13.7944 7.97214 13.6666 8.2888 13.6666 8.66658V13.9999C13.6666 14.3777 13.7944 14.6944 14.0499 14.9499C14.3055 15.2055 14.6222 15.3332 14.9999 15.3332Z" fill="#DD2222"></path></svg>
|
|
2
|
+
Significant areas for attention</div>`,s=g(),t=u("h2"),t.textContent="Areas for attention",i=g(),r=u("div"),r.innerHTML=`<div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
3
|
+
Inc. risk of hypertension</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
4
|
+
MI & CVA</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
5
|
+
COPD</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
6
|
+
COPD</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
7
|
+
Type 2 diabetes</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
8
|
+
MI & CVA</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
9
|
+
Dyslipidemia</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
10
|
+
MI & CVA</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
11
|
+
COPD</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
12
|
+
COPD</div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
13
|
+
Type 2 diabetes</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
14
|
+
MI & CVA</div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
15
|
+
Dyslipidemia</div>`,l=g(),d=u("p"),d.innerHTML="<b>Please note</b>: While certain patterns may show similarities to those observed in specific conditions, this does not confirm the presence of a disease or any of its subclinical forms.",f(e,"display","flex"),f(e,"margin-bottom","3rem"),h(r,"class","causes mb-6 svelte-352nrr"),h(d,"class","x-small")},m(c,p){v(c,e,p),v(c,s,p),v(c,t,p),v(c,i,p),v(c,r,p),v(c,l,p),v(c,d,p)},p:C,d(c){c&&(o(e),o(s),o(t),o(i),o(r),o(l),o(d))}}}function A(a){let e,s,t,i,r,l,d,c,p,n=a[1]==="F"&&D();return{c(){e=u("div"),s=u("div"),s.innerHTML=`<div style="flex: 1;"><b>Cardiovascular health</b></div> <div class="cause-chip good svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
16
|
+
Optimal</div>`,t=g(),i=u("div"),i.innerHTML=`<div style="flex: 1;"><b>Metabolic health</b></div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
17
|
+
Slightly out of range</div>`,r=g(),l=u("div"),l.innerHTML=`<div style="flex: 1;"><b>Autoimmunity</b></div> <div class="cause-chip bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
18
|
+
Significantly out of range</div>`,d=g(),c=u("div"),c.innerHTML=`<div style="flex: 1;"><b>Respiratory health</b></div> <div class="cause-chip good svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
19
|
+
Optimal</div>`,p=g(),n&&n.c(),h(s,"class","row svelte-352nrr"),h(i,"class","row svelte-352nrr"),h(l,"class","row svelte-352nrr"),h(c,"class","row svelte-352nrr"),h(e,"class","main svelte-352nrr")},m(m,y){v(m,e,y),b(e,s),b(e,t),b(e,i),b(e,r),b(e,l),b(e,d),b(e,c),b(e,p),n&&n.m(e,null)},p(m,y){m[1]==="F"?n||(n=D(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(m){m&&o(e),n&&n.d()}}}function D(a){let e;return{c(){e=u("div"),e.innerHTML=`<div style="flex: 1;"><b>Female health</b></div> <div class="cause-chip slightly-bad svelte-352nrr"><div class="cause-chip-dot svelte-352nrr"></div>
|
|
20
|
+
Slightly out of range</div>`,h(e,"class","row svelte-352nrr"),f(e,"border-bottom","1px solid #09341F33")},m(s,t){v(s,e,t)},d(s){s&&o(e)}}}function O(a){let e,s=a[2]&&w(a);return{c(){s&&s.c(),e=L()},m(t,i){s&&s.m(t,i),v(t,e,i)},p(t,[i]){t[2]?s?s.p(t,i):(s=w(t),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null)},i:C,o:C,d(t){t&&o(e),s&&s.d(t)}}}function I(a,e,s){let{service:t=window.GaReportService}=e,{type:i}=e,r,l="",d=!1;return H(async()=>{r=await t.getReport(),s(1,l=r.sex),Number(r.Bpercentile),Number(r.Spercentile),Number(r.G0percentile),Number(r.G1percentile),Number(r.G2percentile),Number(r.P18percentile),Number(r.P22percentile),Number(r.P23percentile),Number(r.P26percentile),s(2,d=!0)}),a.$$set=c=>{"service"in c&&s(3,t=c.service),"type"in c&&s(0,i=c.type)},[i,l,d,t]}class M extends N{constructor(e){super(),T(this,e,I,O,P,{service:3,type:0},E)}get service(){return this.$$.ctx[3]}set service(e){this.$$set({service:e}),x()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),x()}}customElements.define("ga-insights-overview-three",k(M,{service:{},type:{}},[],[],!0));export{M as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as me,S as ge,i as fe,f as te,s as pe,a as xe,d as be,g as r,u as ne,k as i,o as je,e as u,m as M,b as g,v as H,n as c,p as s,q as m,r as _}from"./index2.js";import{a as N,s as ve,f as q,h as Z,k as J,j as C}from"./helpers.js";function ye(l){xe(l,"svelte-1d8jl6t",".main.svelte-1d8jl6t{height:100%;width:100%;display:flex}.label.svelte-1d8jl6t{width:30%;display:flex;align-items:center;font-size:0.8rem}.label-container.svelte-1d8jl6t{display:flex;flex-direction:column}.graph-container.svelte-1d8jl6t{width:70%;display:flex;align-items:center;justify-content:space-between;position:relative}.colorBox.svelte-1d8jl6t{height:5px;width:14.3%;border-radius:24px}.colorBoxShort.svelte-1d8jl6t{height:5px;width:5%;border-radius:24px}.slider.svelte-1d8jl6t{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -90%);width:24%;max-height:70px}.slider-number.svelte-1d8jl6t{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -120%);width:24%;font-size:0.70rem;color:white}.slider-triangle.svelte-1d8jl6t{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -90%);width:24%}.text-left.svelte-1d8jl6t{position:absolute;height:15%;border-left:1px solid #09341F33;border-right:1px solid #09341F33;top:62%;left:0;display:flex;align-items:center;justify-content:center;font-size:0.8rem;color:#09341F80}.text-middle.svelte-1d8jl6t{position:absolute;height:15%;top:62%;display:flex;align-items:center;justify-content:center;font-size:0.8rem;color:#09341F80}.text-right.svelte-1d8jl6t{position:absolute;height:15%;border-left:1px solid #09341F33;border-right:1px solid #09341F33;top:62%;right:0;display:flex;align-items:center;justify-content:center;font-size:0.8rem;color:#09341F80}")}function ue(l){let a,d,n,x,f=N(l[1],l[2])+"",b,y,k,h=N(l[1],l[3])+"",I,j,v,A,L,p,e,o,oe,S,$,K,R,Y=ve(l[4],l[1])+"",Q,se,re,D,T,G,z,ie,E,U=(l[0]==="shield"||l[0]==="youth"||l[0]==="median"?N(l[1],"SUBOPTIMAL"):N(l[1],"OPTIMAL"))+"",W,de,w,X=(l[0]==="median"?N(l[1],"OPTIMAL"):N(l[1],"AVERAGE"))+"",ee,ae,O,V=(l[0]==="shield"||l[0]==="youth"?N(l[1],"OPTIMAL"):N(l[1],"SUBOPTIMAL"))+"",le;function ce(t,B){if(t[0]==="mature"||t[0]==="lifestyle")return ke;if(t[0]==="shield"||t[0]==="youth")return Be;if(t[0]==="median")return Ae}let P=ce(l),F=P&&P(l);return{c(){a=u("div"),d=u("div"),n=u("div"),x=u("b"),b=M(f),y=g(),k=u("div"),I=M(h),j=g(),v=u("div"),F&&F.c(),A=g(),L=u("div"),p=H("svg"),e=H("rect"),oe=g(),S=u("div"),$=u("b"),K=M(l[4]),R=u("sup"),Q=M(Y),se=M(" percentile"),re=g(),D=u("div"),T=H("svg"),G=H("path"),ie=g(),E=u("div"),W=M(U),de=g(),w=u("div"),ee=M(X),ae=g(),O=u("div"),le=M(V),c(x,"font-size",(l[1]==="slovenian"?.7:.8)+"rem"),c(k,"font-size","0.7rem"),s(n,"class","label-container svelte-1d8jl6t"),s(d,"class","label svelte-1d8jl6t"),s(e,"width","100"),s(e,"height","24"),s(e,"rx","4"),s(e,"fill",o=l[0]==="shield"||l[0]==="youth"?q(l[4]):l[0]==="mature"||l[0]==="lifestyle"?Z(l[4]):J(l[4])),s(p,"width","100"),s(p,"height","24"),s(p,"viewBox","0 0 100 24"),s(p,"fill","none"),s(p,"xmlns","http://www.w3.org/2000/svg"),s(L,"class","slider svelte-1d8jl6t"),c(L,"left",C(l[4])+"%"),c(R,"font-size","0.5rem"),s(S,"class","slider-number svelte-1d8jl6t"),c(S,"left",C(l[4])+"%"),s(G,"d","M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L0 8.07577e-07L12 0L6.8 6.93333Z"),s(G,"fill",z=l[0]==="shield"||l[0]==="youth"?q(l[4]):l[0]==="mature"||l[0]==="lifestyle"?Z(l[4]):J(l[4])),s(T,"width","12"),s(T,"height","8"),s(T,"viewBox","0 0 12 8"),s(T,"fill","none"),s(T,"xmlns","http://www.w3.org/2000/svg"),s(D,"class","slider-triangle svelte-1d8jl6t"),c(D,"left",C(l[4])+"%"),s(E,"class","text-left svelte-1d8jl6t"),c(E,"width",(l[0]==="median"?"19.7":"34.7")+"%"),s(w,"class","text-middle svelte-1d8jl6t"),c(w,"width",(l[0]==="median"?35:30)+"%"),c(w,"left",(l[0]==="median"?32.4:35)+"%"),s(O,"class","text-right svelte-1d8jl6t"),c(O,"width",(l[0]==="median"?"19.8":"34.7")+"%"),s(v,"class","graph-container svelte-1d8jl6t"),s(a,"class","main svelte-1d8jl6t")},m(t,B){r(t,a,B),m(a,d),m(d,n),m(n,x),m(x,b),m(n,y),m(n,k),m(k,I),m(a,j),m(a,v),F&&F.m(v,null),m(v,A),m(v,L),m(L,p),m(p,e),m(v,oe),m(v,S),m(S,$),m($,K),m($,R),m(R,Q),m($,se),m(v,re),m(v,D),m(D,T),m(T,G),m(v,ie),m(v,E),m(E,W),m(v,de),m(v,w),m(w,ee),m(v,ae),m(v,O),m(O,le)},p(t,B){B&6&&f!==(f=N(t[1],t[2])+"")&&_(b,f),B&2&&c(x,"font-size",(t[1]==="slovenian"?.7:.8)+"rem"),B&10&&h!==(h=N(t[1],t[3])+"")&&_(I,h),P!==(P=ce(t))&&(F&&F.d(1),F=P&&P(t),F&&(F.c(),F.m(v,A))),B&17&&o!==(o=t[0]==="shield"||t[0]==="youth"?q(t[4]):t[0]==="mature"||t[0]==="lifestyle"?Z(t[4]):J(t[4]))&&s(e,"fill",o),B&16&&c(L,"left",C(t[4])+"%"),B&16&&_(K,t[4]),B&18&&Y!==(Y=ve(t[4],t[1])+"")&&_(Q,Y),B&16&&c(S,"left",C(t[4])+"%"),B&17&&z!==(z=t[0]==="shield"||t[0]==="youth"?q(t[4]):t[0]==="mature"||t[0]==="lifestyle"?Z(t[4]):J(t[4]))&&s(G,"fill",z),B&16&&c(D,"left",C(t[4])+"%"),B&3&&U!==(U=(t[0]==="shield"||t[0]==="youth"||t[0]==="median"?N(t[1],"SUBOPTIMAL"):N(t[1],"OPTIMAL"))+"")&&_(W,U),B&1&&c(E,"width",(t[0]==="median"?"19.7":"34.7")+"%"),B&3&&X!==(X=(t[0]==="median"?N(t[1],"OPTIMAL"):N(t[1],"AVERAGE"))+"")&&_(ee,X),B&1&&c(w,"width",(t[0]==="median"?35:30)+"%"),B&1&&c(w,"left",(t[0]==="median"?32.4:35)+"%"),B&3&&V!==(V=(t[0]==="shield"||t[0]==="youth"?N(t[1],"OPTIMAL"):N(t[1],"SUBOPTIMAL"))+"")&&_(le,V),B&1&&c(O,"width",(t[0]==="median"?"19.8":"34.7")+"%")},d(t){t&&i(a),F&&F.d()}}}function Ae(l){let a,d,n,x,f,b,y,k,h,I,j,v,A,L,p;return{c(){a=u("div"),d=g(),n=u("div"),x=g(),f=u("div"),b=g(),y=u("div"),k=g(),h=u("div"),I=g(),j=u("div"),v=g(),A=u("div"),L=g(),p=u("div"),s(a,"class","colorBoxShort svelte-1d8jl6t"),c(a,"background-color","#DF2120"),s(n,"class","colorBox svelte-1d8jl6t"),c(n,"background-color","#F2800D"),s(f,"class","colorBox svelte-1d8jl6t"),c(f,"background-color","#13A195"),s(y,"class","colorBox svelte-1d8jl6t"),c(y,"background-color","#015566"),s(h,"class","colorBox svelte-1d8jl6t"),c(h,"background-color","#015566"),s(j,"class","colorBox svelte-1d8jl6t"),c(j,"background-color","#13A195"),s(A,"class","colorBox svelte-1d8jl6t"),c(A,"background-color","#F2800D"),s(p,"class","colorBoxShort svelte-1d8jl6t"),c(p,"background-color","#DF2120")},m(e,o){r(e,a,o),r(e,d,o),r(e,n,o),r(e,x,o),r(e,f,o),r(e,b,o),r(e,y,o),r(e,k,o),r(e,h,o),r(e,I,o),r(e,j,o),r(e,v,o),r(e,A,o),r(e,L,o),r(e,p,o)},d(e){e&&(i(a),i(d),i(n),i(x),i(f),i(b),i(y),i(k),i(h),i(I),i(j),i(v),i(A),i(L),i(p))}}}function Be(l){let a,d,n,x,f,b,y,k,h,I,j,v,A,L,p;return{c(){a=u("div"),d=g(),n=u("div"),x=g(),f=u("div"),b=g(),y=u("div"),k=g(),h=u("div"),I=g(),j=u("div"),v=g(),A=u("div"),L=g(),p=u("div"),s(a,"class","colorBoxShort svelte-1d8jl6t"),c(a,"background-color","#DF2120"),s(n,"class","colorBox svelte-1d8jl6t"),c(n,"background-color","#DF2120"),s(f,"class","colorBox svelte-1d8jl6t"),c(f,"background-color","#F2800D"),s(y,"class","colorBox svelte-1d8jl6t"),c(y,"background-color","#66CCAA"),s(h,"class","colorBox svelte-1d8jl6t"),c(h,"background-color","#66CCAA"),s(j,"class","colorBox svelte-1d8jl6t"),c(j,"background-color","#13A195"),s(A,"class","colorBox svelte-1d8jl6t"),c(A,"background-color","#015566"),s(p,"class","colorBoxShort svelte-1d8jl6t"),c(p,"background-color","#015566")},m(e,o){r(e,a,o),r(e,d,o),r(e,n,o),r(e,x,o),r(e,f,o),r(e,b,o),r(e,y,o),r(e,k,o),r(e,h,o),r(e,I,o),r(e,j,o),r(e,v,o),r(e,A,o),r(e,L,o),r(e,p,o)},d(e){e&&(i(a),i(d),i(n),i(x),i(f),i(b),i(y),i(k),i(h),i(I),i(j),i(v),i(A),i(L),i(p))}}}function ke(l){let a,d,n,x,f,b,y,k,h,I,j,v,A,L,p;return{c(){a=u("div"),d=g(),n=u("div"),x=g(),f=u("div"),b=g(),y=u("div"),k=g(),h=u("div"),I=g(),j=u("div"),v=g(),A=u("div"),L=g(),p=u("div"),s(a,"class","colorBoxShort svelte-1d8jl6t"),c(a,"background-color","#015566"),s(n,"class","colorBox svelte-1d8jl6t"),c(n,"background-color","#015566"),s(f,"class","colorBox svelte-1d8jl6t"),c(f,"background-color","#13A195"),s(y,"class","colorBox svelte-1d8jl6t"),c(y,"background-color","#66CCAA"),s(h,"class","colorBox svelte-1d8jl6t"),c(h,"background-color","#66CCAA"),s(j,"class","colorBox svelte-1d8jl6t"),c(j,"background-color","#F2800D"),s(A,"class","colorBox svelte-1d8jl6t"),c(A,"background-color","#DF2120"),s(p,"class","colorBoxShort svelte-1d8jl6t"),c(p,"background-color","#DF2120")},m(e,o){r(e,a,o),r(e,d,o),r(e,n,o),r(e,x,o),r(e,f,o),r(e,b,o),r(e,y,o),r(e,k,o),r(e,h,o),r(e,I,o),r(e,j,o),r(e,v,o),r(e,A,o),r(e,L,o),r(e,p,o)},d(e){e&&(i(a),i(d),i(n),i(x),i(f),i(b),i(y),i(k),i(h),i(I),i(j),i(v),i(A),i(L),i(p))}}}function Ie(l){let a,d=l[5]&&ue(l);return{c(){d&&d.c(),a=be()},m(n,x){d&&d.m(n,x),r(n,a,x)},p(n,[x]){n[5]?d?d.p(n,x):(d=ue(n),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null)},i:ne,o:ne,d(n){n&&i(a),d&&d.d(n)}}}function Le(l,a,d){let{type:n}=a,{lang:x}=a,{service:f=window.GaReportService}=a,b,y="",k="",h=0,I=!1;const j=[{name:"shield",label:"GLYCAN_SHIELD",description:"ANTI_INFLAMMATORY_INDEX"},{name:"youth",label:"GLYCAN_YOUTH",description:"ANTI_INFLAMMATORY_INDEX"},{name:"mature",label:"GLYCAN_MATURE",description:"PRO_INFLAMMATORY_INDEX"},{name:"median",label:"GLYCAN_MEDIAN",description:"SUPPORTIVE_INDEX"},{name:"lifestyle",label:"GLYCAN_LIFESTYLE_B",description:"SUPPORTIVE_INDEX"}].find(v=>v.name===n);return je(async()=>{switch(b=await f.getReport(),Number(b.glycanage),Number(b.chronologicalage),n){case"shield":d(4,h=Number(b.Spercentile));break;case"youth":d(4,h=Number(b.G2percentile));break;case"mature":d(4,h=Number(b.G0percentile));break;case"median":d(4,h=Number(b.G1percentile));break;case"lifestyle":d(4,h=Number(b.Bpercentile))}(h===100||h===0)&&d(4,h=h===100?99:1),j&&(d(2,y=j.label),d(3,k=j.description)),d(5,I=!0)}),l.$$set=v=>{"type"in v&&d(0,n=v.type),"lang"in v&&d(1,x=v.lang),"service"in v&&d(6,f=v.service)},[n,x,y,k,h,I,f]}class he extends ge{constructor(a){super(),fe(this,a,Le,Ie,pe,{type:0,lang:1,service:6},ye)}get type(){return this.$$.ctx[0]}set type(a){this.$$set({type:a}),te()}get lang(){return this.$$.ctx[1]}set lang(a){this.$$set({lang:a}),te()}get service(){return this.$$.ctx[6]}set service(a){this.$$set({service:a}),te()}}customElements.define("ga-results-overview-three",me(he,{type:{},lang:{},service:{}},[],[],!0));export{he as default};
|