@glycanage/web-components 1.50.0 → 1.52.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/Arrow.js CHANGED
@@ -1 +1 @@
1
- import{S as V,i as W,s as X,e as d,b as g,m as q,v as O,n as t,p as v,g as w,q as o,r as P,u as Q,k as A}from"./index2.js";function R(i){if(i===11||i===12||i===13)return"th";switch(i.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function Y(i){if(i<32)return"Lower than average";if(i>=32&&i<=68)return"Around average";if(i>68)return"Higher than average"}function T(i){let e,l,r;return{c(){e=d("div"),l=g(),r=d("div"),t(e,"position","absolute"),t(e,"right","12px"),t(e,"bottom","8px"),t(e,"height","3px"),t(e,"width","24px"),t(e,"background-color","#DF2020"),t(e,"border-radius","4px"),t(e,"transform","rotate(135deg)"),t(r,"position","absolute"),t(r,"right","12px"),t(r,"top","8px"),t(r,"height","3px"),t(r,"width","24px"),t(r,"background-color","#DF2020"),t(r,"border-radius","4px"),t(r,"transform","rotate(-135deg)")},m(a,n){w(a,e,n),w(a,l,n),w(a,r,n)},d(a){a&&(A(e),A(l),A(r))}}}function U(i){let e,l,r;return{c(){e=d("div"),l=g(),r=d("div"),t(e,"position","absolute"),t(e,"left","11px"),t(e,"bottom","8px"),t(e,"height","3px"),t(e,"width","24px"),t(e,"background-color","#DF2020"),t(e,"border-radius","4px"),t(e,"transform","rotate(45deg)"),t(r,"position","absolute"),t(r,"left","11px"),t(r,"top","8px"),t(r,"height","3px"),t(r,"width","24px"),t(r,"background-color","#DF2020"),t(r,"border-radius","4px"),t(r,"transform","rotate(-45deg)")},m(a,n){w(a,e,n),w(a,l,n),w(a,r,n)},d(a){a&&(A(e),A(l),A(r))}}}function _(i){let e,l,r,a,n,m,H,h,I,k,M,B,Z,C,E,F,G,x,J,p,D,y,z,S,L=R(i[0])+"",$,K,N,b,j,u=i[1]==="left"&&T(),c=i[1]==="right"&&U();return{c(){e=d("div"),l=d("div"),u&&u.c(),r=g(),a=d("div"),n=g(),m=d("div"),H=g(),h=d("div"),I=g(),k=d("div"),M=g(),B=d("div"),Z=g(),C=d("div"),E=g(),F=d("div"),G=g(),x=d("div"),c&&c.c(),J=g(),p=d("div"),D=d("div"),y=d("b"),z=q(i[0]),S=d("sup"),$=q(L),K=q(" percentile"),N=g(),b=O("svg"),j=O("path"),t(l,"position","relative"),t(l,"height","100%"),t(l,"flex","1"),t(l,"background-color",i[1]==="left"?"#DF2020":"#CADBD1"),t(l,"border-radius","4px"),t(a,"height","100%"),t(a,"flex","2"),t(a,"background-color",i[1]==="left"?"#DF2020":"#CADBD1"),t(a,"border-radius","4px"),t(m,"height","100%"),t(m,"flex","2"),t(m,"background-color",i[1]==="left"?"#F2800D":"#CADBD1"),t(m,"border-radius","4px"),t(h,"position","absolute"),t(h,"height","10px"),t(h,"width","2px"),t(h,"background-color","#32664C"),t(h,"transform","translate(-50%, -50%)"),t(h,"border-radius","4px"),t(h,"left","50%"),t(h,"top","50%"),t(k,"position","relative"),t(k,"height","100%"),t(k,"flex","2"),t(k,"background-color","#CADBD1"),t(k,"border-radius","4px"),t(B,"height","100%"),t(B,"flex","2"),t(B,"background-color","#CADBD1"),t(B,"border-radius","4px"),t(C,"height","100%"),t(C,"flex","2"),t(C,"background-color",i[1]==="left"?"#CADBD1":"#F2800D"),t(C,"border-radius","4px"),t(F,"height","100%"),t(F,"flex","2"),t(F,"background-color",i[1]==="left"?"#CADBD1":"#DF2020"),t(F,"border-radius","4px"),t(x,"position","relative"),t(x,"height","100%"),t(x,"flex","1"),t(x,"background-color",i[1]==="left"?"#CADBD1":"#DF2020"),t(x,"border-radius","4px"),v(D,"class","message"),t(D,"color","#09341F"),t(D,"z-index","99999"),t(D,"min-width","100px"),t(D,"font-size","0.74rem"),t(D,"display","flex"),t(D,"justify-content","center"),v(j,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),v(j,"fill","#09371F"),v(b,"class","rotateImg"),t(b,"transform","rotate(180deg)"),v(b,"width","24%"),v(b,"height","24%"),v(b,"viewBox","0 0 42 37"),v(b,"fill","none"),v(b,"xmlns","http://www.w3.org/2000/svg"),t(p,"left",i[0]+"%"),t(p,"position","absolute"),t(p,"transform","translate(-50%, -100%)"),t(p,"display","flex"),t(p,"align-items","center"),t(p,"flex-direction","column"),t(p,"width","100px"),t(p,"height","38px"),t(e,"position","relative"),t(e,"width","100%"),t(e,"height","4px"),t(e,"display","flex"),t(e,"justify-content","space-between"),t(e,"gap","4px")},m(s,f){w(s,e,f),o(e,l),u&&u.m(l,null),o(e,r),o(e,a),o(e,n),o(e,m),o(e,H),o(e,h),o(e,I),o(e,k),o(e,M),o(e,B),o(e,Z),o(e,C),o(e,E),o(e,F),o(e,G),o(e,x),c&&c.m(x,null),o(e,J),o(e,p),o(p,D),o(D,y),o(y,z),o(y,S),o(S,$),o(y,K),o(p,N),o(p,b),o(b,j)},p(s,[f]){s[1]==="left"?u||(u=T(),u.c(),u.m(l,null)):u&&(u.d(1),u=null),f&2&&t(l,"background-color",s[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(a,"background-color",s[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(m,"background-color",s[1]==="left"?"#F2800D":"#CADBD1"),f&2&&t(C,"background-color",s[1]==="left"?"#CADBD1":"#F2800D"),f&2&&t(F,"background-color",s[1]==="left"?"#CADBD1":"#DF2020"),s[1]==="right"?c||(c=U(),c.c(),c.m(x,null)):c&&(c.d(1),c=null),f&2&&t(x,"background-color",s[1]==="left"?"#CADBD1":"#DF2020"),f&1&&P(z,s[0]),f&1&&L!==(L=R(s[0])+"")&&P($,L),f&1&&t(p,"left",s[0]+"%")},i:Q,o:Q,d(s){s&&A(e),u&&u.d(),c&&c.d()}}}function tt(i,e,l){let{percentile:r=0}=e,{type:a=""}=e;return i.$$set=n=>{"percentile"in n&&l(0,r=n.percentile),"type"in n&&l(1,a=n.type)},[r,a]}class et extends V{constructor(e){super(),W(this,e,tt,_,X,{percentile:0,type:1})}}export{et as A,Y as g};
1
+ import{S as $,i as J,s as Q,e as s,b as _,m as F,v,n as e,p as T,g as b,q as a,r as V,u as j,k as N}from"./index2.js";let G={GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",SOME_OVERLAP_LONG:"Major overlap",MINOR_OVERLAP_LONG:"Some overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Major 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_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)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",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:"CardiologyBlood pressure check referral for other tests (e.g., cardiac echo, coronary CT)",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",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",RELATED_RESEARCH_PAPERS:"Related research papers"},K={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:"Nieznaczna nak\u0142adka",MINOR_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",NO_OVERLAP_LONG:"Znaczny stopie\u0144 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_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)",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_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",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",RELATED_RESEARCH_PAPERS:"Publikacje naukowe"};function X(n){if(n===11||n===12||n===13)return"th";switch(n.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function ee(n,o){const r={english:G,polish:K};if(n<32)return r[o].LOWER_THAN_AVERAGE;if(n>=32&&n<=68)return r[o].AROUND_AVERAGE;if(n>68)return r[o].HIGHER_THAN_AVERAGE}function oe(n="english",o){return{english:G,polish:K}[n][o]}function Z(n){let o,r,i;return{c(){o=s("div"),r=_(),i=s("div"),e(o,"position","absolute"),e(o,"right","12px"),e(o,"bottom","8px"),e(o,"height","3px"),e(o,"width","24px"),e(o,"background-color","#DF2020"),e(o,"border-radius","4px"),e(o,"transform","rotate(135deg)"),e(i,"position","absolute"),e(i,"right","12px"),e(i,"top","8px"),e(i,"height","3px"),e(i,"width","24px"),e(i,"background-color","#DF2020"),e(i,"border-radius","4px"),e(i,"transform","rotate(-135deg)")},m(t,l){b(t,o,l),b(t,r,l),b(t,i,l)},d(t){t&&(N(o),N(r),N(i))}}}function q(n){let o,r,i;return{c(){o=s("div"),r=_(),i=s("div"),e(o,"position","absolute"),e(o,"left","11px"),e(o,"bottom","8px"),e(o,"height","3px"),e(o,"width","24px"),e(o,"background-color","#DF2020"),e(o,"border-radius","4px"),e(o,"transform","rotate(45deg)"),e(i,"position","absolute"),e(i,"left","11px"),e(i,"top","8px"),e(i,"height","3px"),e(i,"width","24px"),e(i,"background-color","#DF2020"),e(i,"border-radius","4px"),e(i,"transform","rotate(-45deg)")},m(t,l){b(t,o,l),b(t,r,l),b(t,i,l)},d(t){t&&(N(o),N(r),N(i))}}}function ie(n){let o,r,i,t,l,g,z,L,B,w,W,k,x,h,D,y,U,S,Y,E,P,M,m,A,f=X(n[0])+"",R,C,H,u,I,O=n[1]==="left"&&Z(),d=n[1]==="right"&&q();return{c(){o=s("div"),r=s("div"),O&&O.c(),i=_(),t=s("div"),l=_(),g=s("div"),z=_(),L=s("div"),B=_(),w=s("div"),W=_(),k=s("div"),x=_(),h=s("div"),D=_(),y=s("div"),U=_(),S=s("div"),d&&d.c(),Y=_(),E=s("div"),P=s("div"),M=s("b"),m=F(n[0]),A=s("sup"),R=F(f),C=F(" percentile"),H=_(),u=v("svg"),I=v("path"),e(r,"position","relative"),e(r,"height","100%"),e(r,"flex","1"),e(r,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),e(r,"border-radius","4px"),e(t,"height","100%"),e(t,"flex","2"),e(t,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),e(t,"border-radius","4px"),e(g,"height","100%"),e(g,"flex","2"),e(g,"background-color",n[1]==="left"?"#F2800D":"#CADBD1"),e(g,"border-radius","4px"),e(L,"position","absolute"),e(L,"height","10px"),e(L,"width","2px"),e(L,"background-color","#32664C"),e(L,"transform","translate(-50%, -50%)"),e(L,"border-radius","4px"),e(L,"left","50%"),e(L,"top","50%"),e(w,"position","relative"),e(w,"height","100%"),e(w,"flex","2"),e(w,"background-color","#CADBD1"),e(w,"border-radius","4px"),e(k,"height","100%"),e(k,"flex","2"),e(k,"background-color","#CADBD1"),e(k,"border-radius","4px"),e(h,"height","100%"),e(h,"flex","2"),e(h,"background-color",n[1]==="left"?"#CADBD1":"#F2800D"),e(h,"border-radius","4px"),e(y,"height","100%"),e(y,"flex","2"),e(y,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),e(y,"border-radius","4px"),e(S,"position","relative"),e(S,"height","100%"),e(S,"flex","1"),e(S,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),e(S,"border-radius","4px"),T(P,"class","message"),e(P,"color","#09341F"),e(P,"z-index","99999"),e(P,"min-width","100px"),e(P,"font-size","0.74rem"),e(P,"display","flex"),e(P,"justify-content","center"),T(I,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),T(I,"fill","#09371F"),T(u,"class","rotateImg"),e(u,"transform","rotate(180deg)"),T(u,"width","24%"),T(u,"height","24%"),T(u,"viewBox","0 0 42 37"),T(u,"fill","none"),T(u,"xmlns","http://www.w3.org/2000/svg"),e(E,"left",n[0]+"%"),e(E,"position","absolute"),e(E,"transform","translate(-50%, -100%)"),e(E,"display","flex"),e(E,"align-items","center"),e(E,"flex-direction","column"),e(E,"width","100px"),e(E,"height","38px"),e(o,"position","relative"),e(o,"width","100%"),e(o,"height","4px"),e(o,"display","flex"),e(o,"justify-content","space-between"),e(o,"gap","4px")},m(c,p){b(c,o,p),a(o,r),O&&O.m(r,null),a(o,i),a(o,t),a(o,l),a(o,g),a(o,z),a(o,L),a(o,B),a(o,w),a(o,W),a(o,k),a(o,x),a(o,h),a(o,D),a(o,y),a(o,U),a(o,S),d&&d.m(S,null),a(o,Y),a(o,E),a(E,P),a(P,M),a(M,m),a(M,A),a(A,R),a(M,C),a(E,H),a(E,u),a(u,I)},p(c,[p]){c[1]==="left"?O||(O=Z(),O.c(),O.m(r,null)):O&&(O.d(1),O=null),p&2&&e(r,"background-color",c[1]==="left"?"#DF2020":"#CADBD1"),p&2&&e(t,"background-color",c[1]==="left"?"#DF2020":"#CADBD1"),p&2&&e(g,"background-color",c[1]==="left"?"#F2800D":"#CADBD1"),p&2&&e(h,"background-color",c[1]==="left"?"#CADBD1":"#F2800D"),p&2&&e(y,"background-color",c[1]==="left"?"#CADBD1":"#DF2020"),c[1]==="right"?d||(d=q(),d.c(),d.m(S,null)):d&&(d.d(1),d=null),p&2&&e(S,"background-color",c[1]==="left"?"#CADBD1":"#DF2020"),p&1&&V(m,c[0]),p&1&&f!==(f=X(c[0])+"")&&V(R,f),p&1&&e(E,"left",c[0]+"%")},i:j,o:j,d(c){c&&N(o),O&&O.d(),d&&d.d()}}}function ne(n,o,r){let{percentile:i=0}=o,{type:t=""}=o;return n.$$set=l=>{"percentile"in l&&r(0,i=l.percentile),"type"in l&&r(1,t=l.type)},[i,t]}class ae extends ${constructor(o){super(),J(this,o,ne,ie,Q,{percentile:0,type:1})}}export{ae as A,oe as a,ee as g};
@@ -1,2 +1,3 @@
1
- import{c as J,S as Q,i as _,f as V,s as ee,a as le,e as w,b,d as E,g as T,t as A,h as S,j as L,k as q,o as te,l as D,m as G,n as x,p as r,q as n,r as B,u as N,v as M,w as C,x as H,y as k}from"./index2.js";import{g as se,A as R}from"./Arrow.js";function ie(f){le(f,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function ne(f){let e,l,t,m,v,z,i=f[1]==="mature"&&j(f),p=f[1]==="median"&&O(f),u=f[1]==="youth"&&U(f),d=f[1]==="shield"&&K(f),c=f[1]==="lifestyle"&&W(f);return{c(){i&&i.c(),e=b(),p&&p.c(),l=b(),u&&u.c(),t=b(),d&&d.c(),m=b(),c&&c.c(),v=E()},m(a,s){i&&i.m(a,s),T(a,e,s),p&&p.m(a,s),T(a,l,s),u&&u.m(a,s),T(a,t,s),d&&d.m(a,s),T(a,m,s),c&&c.m(a,s),T(a,v,s),z=!0},p(a,s){a[1]==="mature"?i?(i.p(a,s),s&2&&L(i,1)):(i=j(a),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(D(),A(i,1,1,()=>{i=null}),S()),a[1]==="median"?p?(p.p(a,s),s&2&&L(p,1)):(p=O(a),p.c(),L(p,1),p.m(l.parentNode,l)):p&&(D(),A(p,1,1,()=>{p=null}),S()),a[1]==="youth"?u?(u.p(a,s),s&2&&L(u,1)):(u=U(a),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(D(),A(u,1,1,()=>{u=null}),S()),a[1]==="shield"?d?(d.p(a,s),s&2&&L(d,1)):(d=K(a),d.c(),L(d,1),d.m(m.parentNode,m)):d&&(D(),A(d,1,1,()=>{d=null}),S()),a[1]==="lifestyle"?c?(c.p(a,s),s&2&&L(c,1)):(c=W(a),c.c(),L(c,1),c.m(v.parentNode,v)):c&&(D(),A(c,1,1,()=>{c=null}),S())},i(a){z||(L(i),L(p),L(u),L(d),L(c),z=!0)},o(a){A(i),A(p),A(u),A(d),A(c),z=!1},d(a){a&&(q(e),q(l),q(t),q(m),q(v)),i&&i.d(a),p&&p.d(a),u&&u.d(a),d&&d.d(a),c&&c.d(a)}}}function re(f){let e,l,t,m,v,z,i=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap",p,u,d,c,a,s;function h(g,$){return g[2]||g[3]?me:oe}let y=h(f),o=y(f);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),m=b(),v=w("div"),z=w("b"),p=G(i),u=G(" of glycan indexes between your patient and this condition."),d=b(),c=w("hr"),a=b(),s=w("div"),s.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li> <li class="svelte-1285zfm">Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)</li> <li class="svelte-1285zfm">Signs of peripheral artery disease (e.g., leg pain during activity)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li> <li class="svelte-1285zfm">ECG</li> <li class="svelte-1285zfm">Cardiology referral for other tests (e.g., coronary artery calcium score)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5970566/pdf/res-122-1555.pdf" class="svelte-1285zfm">Glycosylation Profile of Immunoglobulin G Is Cross-Sectionally Associated With Cardiovascular Disease Risk Score and Subclinical Atherosclerosis in Two Independent Cohorts</a> <p class="svelte-1285zfm">In a study involving 2970 women aged 40\u201379 from the TwinsUK cohort, IgG glycosylation was examined in relation to the estimated 10-year risk of atherosclerotic cardiovascular disease and the presence of carotid and femoral plaque. A decrease in G1, G2 and S was observed, alongside an increase in G0 and B. These findings were replicated in 967 women from the ORCADES cohort (Orkney Complex Disease Study). Additionally, some of these glycan changes were also associated with 845 men in the study.</p>',x(t,"transform","translate(-50%)"),x(z,"color",f[2]||f[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-1285zfm"),r(c,"class","svelte-1285zfm"),r(s,"class","summaryBody svelte-1285zfm"),r(e,"class","summaryMain svelte-1285zfm")},m(g,$){T(g,e,$),n(e,l),n(l,t),o.m(t,null),n(l,m),n(l,v),n(v,z),n(z,p),n(v,u),n(e,d),n(e,c),n(e,a),n(e,s)},p(g,$){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),$&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(p,i),$&12&&x(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:N,o:N,d(g){g&&q(e),o.d()}}}function ae(f){let e,l,t,m,v,z,i,p=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap",u;function d(s,h){return s[2]||s[3]?pe:de}let c=d(f),a=c(f);return{c(){e=w("div"),l=w("div"),t=w("b"),m=G(f[8]),v=G("/5"),z=b(),a.c(),i=G(`
2
- \xA0\xA0`),u=G(p),x(l,"padding-right","10px"),r(e,"class","header svelte-1285zfm")},m(s,h){T(s,e,h),n(e,l),n(l,t),n(t,m),n(t,v),n(e,z),a.m(e,null),n(e,i),n(e,u)},p(s,h){h&256&&B(m,s[8]),c===(c=d(s))&&a?a.p(s,h):(a.d(1),a=c(s),a&&(a.c(),a.m(e,i))),h&12&&p!==(p=s[2]?"Some overlap":s[3]?"Minor overlap":"No significant overlap")&&B(u,p)},i:N,o:N,d(s){s&&q(e),a.d()}}}function j(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Mature (G0)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function O(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Median (G1)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function U(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function K(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Shield (S)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function W(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Lifestyle (B)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function oe(f){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function me(f){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function de(f){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,m){T(t,e,m),n(e,l)},p:N,d(t){t&&q(e)}}}function pe(f){let e,l,t;return{c(){e=M("svg"),l=M("path"),r(l,"fill",t=f[3]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(m,v){T(m,e,v),n(e,l)},p(m,v){v&8&&t!==(t=m[3]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(m){m&&q(e)}}}function ce(f){let e,l,t,m,v,z;const i=[ae,re,ne],p=[];function u(d,c){return d[0]==="header"&&d[5]?0:d[0]==="summary"&&d[4]?1:2}return t=u(f),m=p[t]=i[t](f),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=b(),m.c(),v=E()},m(d,c){T(d,e,c),T(d,l,c),p[t].m(d,c),T(d,v,c),z=!0},p(d,[c]){let a=t;t=u(d),t===a?p[t].p(d,c):(D(),A(p[a],1,1,()=>{p[a]=null}),S(),m=p[t],m?m.p(d,c):(m=p[t]=i[t](d),m.c()),L(m,1),m.m(v.parentNode,v))},i(d){z||(L(m),z=!0)},o(d){A(m),z=!1},d(d){d&&(q(e),q(l),q(v)),p[t].d(d)}}}function fe(f,e,l){let{report:t}=e,{type:m}=e,{subtype:v}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],p,u=!1,d=!1,c=!1,a=!1,s="",h=0,y=0,o=0,g=0,$=0,I=0,Z=0;function Y(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g<32&&l(8,Z++,Z),$>68&&l(8,Z++,Z)}const P=i.find(F=>F.name===v);return te(async()=>{p=await z.getReport(t),P&&(l(7,I=Number(p[P.csvName])),l(6,s=se(I))),h=Number(p.G0percentile),y=Number(p.G1percentile),o=Number(p.G2percentile),g=Number(p.Spercentile),$=Number(p.Bpercentile),Y(),Z===5&&l(2,u=!0),Z>2&&Z<5&&l(3,d=!0),l(5,a=!0),l(4,c=!0)}),f.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,m=F.type),"subtype"in F&&l(1,v=F.subtype),"service"in F&&l(10,z=F.service)},[m,v,u,d,c,a,s,I,Z,t,z]}class X extends Q{constructor(e){super(),_(this,e,fe,ce,ee,{report:9,type:0,subtype:1,service:10},ie)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),V()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),V()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),V()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-atherosclerosis",J(X,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{X as default};
1
+ import{c as De,S as qe,i as Ye,f as W,s as Ce,a as Ue,e as u,b as x,d as be,g as T,t as V,h as Y,j as M,k as F,o as We,l as C,m as E,n as A,p as n,q as s,r as _,u as k,v as G,w as H,x as X,y as j}from"./index2.js";import{g as ke,a as y,A as K}from"./Arrow.js";function He(r){Ue(r,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Xe(r){let e,l,t,i,f,S,a=r[2]==="mature"&&Ge(r),d=r[2]==="median"&&Pe(r),v=r[2]==="youth"&&Be(r),m=r[2]==="shield"&&Ve(r),g=r[2]==="lifestyle"&&Ie(r);return{c(){a&&a.c(),e=x(),d&&d.c(),l=x(),v&&v.c(),t=x(),m&&m.c(),i=x(),g&&g.c(),f=be()},m(o,p){a&&a.m(o,p),T(o,e,p),d&&d.m(o,p),T(o,l,p),v&&v.m(o,p),T(o,t,p),m&&m.m(o,p),T(o,i,p),g&&g.m(o,p),T(o,f,p),S=!0},p(o,p){o[2]==="mature"?a?(a.p(o,p),p&4&&M(a,1)):(a=Ge(o),a.c(),M(a,1),a.m(e.parentNode,e)):a&&(C(),V(a,1,1,()=>{a=null}),Y()),o[2]==="median"?d?(d.p(o,p),p&4&&M(d,1)):(d=Pe(o),d.c(),M(d,1),d.m(l.parentNode,l)):d&&(C(),V(d,1,1,()=>{d=null}),Y()),o[2]==="youth"?v?(v.p(o,p),p&4&&M(v,1)):(v=Be(o),v.c(),M(v,1),v.m(t.parentNode,t)):v&&(C(),V(v,1,1,()=>{v=null}),Y()),o[2]==="shield"?m?(m.p(o,p),p&4&&M(m,1)):(m=Ve(o),m.c(),M(m,1),m.m(i.parentNode,i)):m&&(C(),V(m,1,1,()=>{m=null}),Y()),o[2]==="lifestyle"?g?(g.p(o,p),p&4&&M(g,1)):(g=Ie(o),g.c(),M(g,1),g.m(f.parentNode,f)):g&&(C(),V(g,1,1,()=>{g=null}),Y())},i(o){S||(M(a),M(d),M(v),M(m),M(g),S=!0)},o(o){V(a),V(d),V(v),V(m),V(g),S=!1},d(o){o&&(F(e),F(l),F(t),F(i),F(f)),a&&a.d(o),d&&d.d(o),v&&v.d(o),m&&m.d(o),g&&g.d(o)}}}function je(r){let e,l,t,i,f,S,a,d=y(r[0],"OVERLAP_TEXT")+"",v,m,g,o,p,O,$=y(r[0],"SYMPTOMS")+"",R,z,L,w,c=y(r[0],"SYMPTOM_ONE")+"",h,b,q,P=y(r[0],"SYMPTOM_FOUR")+"",he,ze,J,Q=y(r[0],"SYMPTOM_FIVE")+"",fe,Ae,ee,le=y(r[0],"POSSIBLE_FOLLOW_UP")+"",ge,Se,I,te,se=y(r[0],"POSSIBLE_FOLLOW_UP_FOUR")+"",Le,$e,ie,ne=y(r[0],"POSSIBLE_FOLLOW_UP_FIVE")+"",we,Ee,re,ae=y(r[0],"POSSIBLE_FOLLOW_UP_SIX")+"",Oe,_e,me,ce=y(r[0],"POSSIBLE_FOLLOW_UP_SEVEN")+"",ye,Ne,oe,de=y(r[0],"RELATED_RESEARCH_PAPERS")+"",xe,Te,U,Fe,pe;function Me(N,B){return N[3]||N[4]?Qe:Je}let ve=Me(r),D=ve(r);function Re(N,B){return N[3]?tl:N[4]?ll:el}let ue=Re(r),Z=ue(r);return{c(){e=u("div"),l=u("div"),t=u("div"),D.c(),i=x(),f=u("div"),S=u("b"),Z.c(),a=x(),v=E(d),m=x(),g=u("hr"),o=x(),p=u("div"),O=u("h5"),R=E($),z=x(),L=u("ul"),w=u("li"),h=E(c),b=x(),q=u("li"),he=E(P),ze=x(),J=u("li"),fe=E(Q),Ae=x(),ee=u("h5"),ge=E(le),Se=x(),I=u("ul"),te=u("li"),Le=E(se),$e=x(),ie=u("li"),we=E(ne),Ee=x(),re=u("li"),Oe=E(ae),_e=x(),me=u("li"),ye=E(ce),Ne=x(),oe=u("h5"),xe=E(de),Te=x(),U=u("a"),U.textContent="Glycosylation Profile of Immunoglobulin G Is Cross-Sectionally Associated With Cardiovascular Disease Risk Score and Subclinical Atherosclerosis in Two Independent Cohorts",Fe=x(),pe=u("p"),pe.textContent="In a study involving 2970 women aged 40\u201379 from the TwinsUK cohort, IgG glycosylation was examined in relation to the estimated 10-year risk of atherosclerotic cardiovascular disease and the presence of carotid and femoral plaque. A decrease in G1, G2 and S was observed, alongside an increase in G0 and B. These findings were replicated in 967 women from the ORCADES cohort (Orkney Complex Disease Study). Additionally, some of these glycan changes were also associated with 845 men in the study.",A(t,"transform","translate(-50%)"),A(S,"color",r[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(g,"class","svelte-1285zfm"),n(O,"class","svelte-1285zfm"),n(w,"class","svelte-1285zfm"),n(q,"class","svelte-1285zfm"),n(J,"class","svelte-1285zfm"),n(L,"class","svelte-1285zfm"),n(ee,"class","svelte-1285zfm"),n(te,"class","svelte-1285zfm"),n(ie,"class","svelte-1285zfm"),n(re,"class","svelte-1285zfm"),n(me,"class","svelte-1285zfm"),n(I,"class","svelte-1285zfm"),n(oe,"class","svelte-1285zfm"),n(U,"href","https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5970566/pdf/res-122-1555.pdf"),n(U,"class","svelte-1285zfm"),n(pe,"class","svelte-1285zfm"),n(p,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(N,B){T(N,e,B),s(e,l),s(l,t),D.m(t,null),s(l,i),s(l,f),s(f,S),Z.m(S,null),s(f,a),s(f,v),s(e,m),s(e,g),s(e,o),s(e,p),s(p,O),s(O,R),s(p,z),s(p,L),s(L,w),s(w,h),s(L,b),s(L,q),s(q,he),s(L,ze),s(L,J),s(J,fe),s(p,Ae),s(p,ee),s(ee,ge),s(p,Se),s(p,I),s(I,te),s(te,Le),s(I,$e),s(I,ie),s(ie,we),s(I,Ee),s(I,re),s(re,Oe),s(I,_e),s(I,me),s(me,ye),s(p,Ne),s(p,oe),s(oe,xe),s(p,Te),s(p,U),s(p,Fe),s(p,pe)},p(N,B){ve!==(ve=Me(N))&&(D.d(1),D=ve(N),D&&(D.c(),D.m(t,null))),ue===(ue=Re(N))&&Z?Z.p(N,B):(Z.d(1),Z=ue(N),Z&&(Z.c(),Z.m(S,null))),B&8&&A(S,"color",N[3]?"#F2590D":"#12A195"),B&1&&d!==(d=y(N[0],"OVERLAP_TEXT")+"")&&_(v,d),B&1&&$!==($=y(N[0],"SYMPTOMS")+"")&&_(R,$),B&1&&c!==(c=y(N[0],"SYMPTOM_ONE")+"")&&_(h,c),B&1&&P!==(P=y(N[0],"SYMPTOM_FOUR")+"")&&_(he,P),B&1&&Q!==(Q=y(N[0],"SYMPTOM_FIVE")+"")&&_(fe,Q),B&1&&le!==(le=y(N[0],"POSSIBLE_FOLLOW_UP")+"")&&_(ge,le),B&1&&se!==(se=y(N[0],"POSSIBLE_FOLLOW_UP_FOUR")+"")&&_(Le,se),B&1&&ne!==(ne=y(N[0],"POSSIBLE_FOLLOW_UP_FIVE")+"")&&_(we,ne),B&1&&ae!==(ae=y(N[0],"POSSIBLE_FOLLOW_UP_SIX")+"")&&_(Oe,ae),B&1&&ce!==(ce=y(N[0],"POSSIBLE_FOLLOW_UP_SEVEN")+"")&&_(ye,ce),B&1&&de!==(de=y(N[0],"RELATED_RESEARCH_PAPERS")+"")&&_(xe,de)},i:k,o:k,d(N){N&&F(e),D.d(),Z.d()}}}function Ke(r){let e,l,t,i,f,S,a;function d(O,$){return O[3]||O[4]?il:sl}let v=d(r),m=v(r);function g(O,$){return O[3]?al:O[4]?rl:nl}let o=g(r),p=o(r);return{c(){e=u("div"),l=u("div"),t=u("b"),i=E(r[9]),f=E("/5"),S=x(),m.c(),a=E(`
2
+ \xA0\xA0
3
+ `),p.c(),A(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(O,$){T(O,e,$),s(e,l),s(l,t),s(t,i),s(t,f),s(e,S),m.m(e,null),s(e,a),p.m(e,null)},p(O,$){$&512&&_(i,O[9]),v===(v=d(O))&&m?m.p(O,$):(m.d(1),m=v(O),m&&(m.c(),m.m(e,a))),o===(o=g(O))&&p?p.p(O,$):(p.d(1),p=o(O),p&&(p.c(),p.m(e,null)))},i:k,o:k,d(O){O&&F(e),m.d(),p.d()}}}function Ge(r){let e,l,t,i,f,S,a,d,v=y(r[0],"GLYCAN")+"",m,g,o,p,O,$,R,z,L,w;return L=new K({props:{type:"right",percentile:r[8]}}),{c(){e=u("div"),l=u("div"),t=G("svg"),i=G("path"),S=x(),a=u("div"),d=u("div"),m=E(v),g=x(),o=u("b"),o.textContent="Mature (G0)",p=x(),O=u("div"),$=E(r[7]),R=x(),z=u("div"),H(L.$$.fragment),n(i,"fill",f=r[8]<=68?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),A(a,"display","flex"),A(a,"flex-direction","column"),A(a,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),A(l,"font-size","0.8rem"),A(z,"width","70%"),A(z,"display","flex"),A(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(c,h){T(c,e,h),s(e,l),s(l,t),s(t,i),s(l,S),s(l,a),s(a,d),s(d,m),s(d,g),s(d,o),s(a,p),s(a,O),s(O,$),s(e,R),s(e,z),X(L,z,null),w=!0},p(c,h){(!w||h&256&&f!==(f=c[8]<=68?"#12A195":"#F2590D"))&&n(i,"fill",f),(!w||h&1)&&v!==(v=y(c[0],"GLYCAN")+"")&&_(m,v),(!w||h&128)&&_($,c[7]);const b={};h&256&&(b.percentile=c[8]),L.$set(b)},i(c){w||(M(L.$$.fragment,c),w=!0)},o(c){V(L.$$.fragment,c),w=!1},d(c){c&&F(e),j(L)}}}function Pe(r){let e,l,t,i,f,S,a,d,v=y(r[0],"GLYCAN")+"",m,g,o,p,O,$,R,z,L,w;return L=new K({props:{type:"left",percentile:r[8]}}),{c(){e=u("div"),l=u("div"),t=G("svg"),i=G("path"),S=x(),a=u("div"),d=u("div"),m=E(v),g=x(),o=u("b"),o.textContent="Median (G1)",p=x(),O=u("div"),$=E(r[7]),R=x(),z=u("div"),H(L.$$.fragment),n(i,"fill",f=r[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),A(a,"display","flex"),A(a,"flex-direction","column"),A(a,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),A(l,"font-size","0.8rem"),A(z,"width","70%"),A(z,"display","flex"),A(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(c,h){T(c,e,h),s(e,l),s(l,t),s(t,i),s(l,S),s(l,a),s(a,d),s(d,m),s(d,g),s(d,o),s(a,p),s(a,O),s(O,$),s(e,R),s(e,z),X(L,z,null),w=!0},p(c,h){(!w||h&256&&f!==(f=c[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",f),(!w||h&1)&&v!==(v=y(c[0],"GLYCAN")+"")&&_(m,v),(!w||h&128)&&_($,c[7]);const b={};h&256&&(b.percentile=c[8]),L.$set(b)},i(c){w||(M(L.$$.fragment,c),w=!0)},o(c){V(L.$$.fragment,c),w=!1},d(c){c&&F(e),j(L)}}}function Be(r){let e,l,t,i,f,S,a,d,v=y(r[0],"GLYCAN")+"",m,g,o,p,O,$,R,z,L,w;return L=new K({props:{type:"left",percentile:r[8]}}),{c(){e=u("div"),l=u("div"),t=G("svg"),i=G("path"),S=x(),a=u("div"),d=u("div"),m=E(v),g=x(),o=u("b"),o.textContent="Youth (G2)",p=x(),O=u("div"),$=E(r[7]),R=x(),z=u("div"),H(L.$$.fragment),n(i,"fill",f=r[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),A(a,"display","flex"),A(a,"flex-direction","column"),A(a,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),A(l,"font-size","0.8rem"),A(z,"width","70%"),A(z,"display","flex"),A(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(c,h){T(c,e,h),s(e,l),s(l,t),s(t,i),s(l,S),s(l,a),s(a,d),s(d,m),s(d,g),s(d,o),s(a,p),s(a,O),s(O,$),s(e,R),s(e,z),X(L,z,null),w=!0},p(c,h){(!w||h&256&&f!==(f=c[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",f),(!w||h&1)&&v!==(v=y(c[0],"GLYCAN")+"")&&_(m,v),(!w||h&128)&&_($,c[7]);const b={};h&256&&(b.percentile=c[8]),L.$set(b)},i(c){w||(M(L.$$.fragment,c),w=!0)},o(c){V(L.$$.fragment,c),w=!1},d(c){c&&F(e),j(L)}}}function Ve(r){let e,l,t,i,f,S,a,d,v=y(r[0],"GLYCAN")+"",m,g,o,p,O,$,R,z,L,w;return L=new K({props:{type:"left",percentile:r[8]}}),{c(){e=u("div"),l=u("div"),t=G("svg"),i=G("path"),S=x(),a=u("div"),d=u("div"),m=E(v),g=x(),o=u("b"),o.textContent="Shield (S)",p=x(),O=u("div"),$=E(r[7]),R=x(),z=u("div"),H(L.$$.fragment),n(i,"fill",f=r[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),A(a,"display","flex"),A(a,"flex-direction","column"),A(a,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),A(l,"font-size","0.8rem"),A(z,"width","70%"),A(z,"display","flex"),A(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(c,h){T(c,e,h),s(e,l),s(l,t),s(t,i),s(l,S),s(l,a),s(a,d),s(d,m),s(d,g),s(d,o),s(a,p),s(a,O),s(O,$),s(e,R),s(e,z),X(L,z,null),w=!0},p(c,h){(!w||h&256&&f!==(f=c[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",f),(!w||h&1)&&v!==(v=y(c[0],"GLYCAN")+"")&&_(m,v),(!w||h&128)&&_($,c[7]);const b={};h&256&&(b.percentile=c[8]),L.$set(b)},i(c){w||(M(L.$$.fragment,c),w=!0)},o(c){V(L.$$.fragment,c),w=!1},d(c){c&&F(e),j(L)}}}function Ie(r){let e,l,t,i,f,S,a,d,v=y(r[0],"GLYCAN")+"",m,g,o,p,O,$,R,z,L,w;return L=new K({props:{type:"right",percentile:r[8]}}),{c(){e=u("div"),l=u("div"),t=G("svg"),i=G("path"),S=x(),a=u("div"),d=u("div"),m=E(v),g=x(),o=u("b"),o.textContent="Lifestyle (B)",p=x(),O=u("div"),$=E(r[7]),R=x(),z=u("div"),H(L.$$.fragment),n(i,"fill",f=r[8]<=68?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),A(a,"display","flex"),A(a,"flex-direction","column"),A(a,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),A(l,"font-size","0.8rem"),A(z,"width","70%"),A(z,"display","flex"),A(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(c,h){T(c,e,h),s(e,l),s(l,t),s(t,i),s(l,S),s(l,a),s(a,d),s(d,m),s(d,g),s(d,o),s(a,p),s(a,O),s(O,$),s(e,R),s(e,z),X(L,z,null),w=!0},p(c,h){(!w||h&256&&f!==(f=c[8]<=68?"#12A195":"#F2590D"))&&n(i,"fill",f),(!w||h&1)&&v!==(v=y(c[0],"GLYCAN")+"")&&_(m,v),(!w||h&128)&&_($,c[7]);const b={};h&256&&(b.percentile=c[8]),L.$set(b)},i(c){w||(M(L.$$.fragment,c),w=!0)},o(c){V(L.$$.fragment,c),w=!1},d(c){c&&F(e),j(L)}}}function Je(r){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,i){T(t,e,i),s(e,l)},d(t){t&&F(e)}}}function Qe(r){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,i){T(t,e,i),s(e,l)},d(t){t&&F(e)}}}function el(r){let e=y(r[0],"NO_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"NO_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&F(l)}}}function ll(r){let e=y(r[0],"MINOR_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"MINOR_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&F(l)}}}function tl(r){let e=y(r[0],"SOME_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"SOME_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&F(l)}}}function sl(r){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,i){T(t,e,i),s(e,l)},p:k,d(t){t&&F(e)}}}function il(r){let e,l,t;return{c(){e=G("svg"),l=G("path"),n(l,"fill",t=r[4]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(i,f){T(i,e,f),s(e,l)},p(i,f){f&16&&t!==(t=i[4]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(i){i&&F(e)}}}function nl(r){let e=y(r[0],"NO_OVERLAP")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"NO_OVERLAP")+"")&&_(l,e)},d(t){t&&F(l)}}}function rl(r){let e=y(r[0],"MINOR_OVERLAP")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"MINOR_OVERLAP")+"")&&_(l,e)},d(t){t&&F(l)}}}function al(r){let e=y(r[0],"SOME_OVERLAP")+"",l;return{c(){l=E(e)},m(t,i){T(t,l,i)},p(t,i){i&1&&e!==(e=y(t[0],"SOME_OVERLAP")+"")&&_(l,e)},d(t){t&&F(l)}}}function ml(r){let e,l,t,i,f,S;const a=[Ke,je,Xe],d=[];function v(m,g){return m[1]==="header"&&m[6]?0:m[1]==="summary"&&m[5]?1:2}return t=v(r),i=d[t]=a[t](r),{c(){e=u("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=x(),i.c(),f=be()},m(m,g){T(m,e,g),T(m,l,g),d[t].m(m,g),T(m,f,g),S=!0},p(m,[g]){let o=t;t=v(m),t===o?d[t].p(m,g):(C(),V(d[o],1,1,()=>{d[o]=null}),Y(),i=d[t],i?i.p(m,g):(i=d[t]=a[t](m),i.c()),M(i,1),i.m(f.parentNode,f))},i(m){S||(M(i),S=!0)},o(m){V(i),S=!1},d(m){m&&(F(e),F(l),F(f)),d[t].d(m)}}}function cl(r,e,l){let{lang:t}=e,{report:i}=e,{type:f}=e,{subtype:S}=e,{service:a=window.GaReportService}=e,d=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],v,m=!1,g=!1,o=!1,p=!1,O="",$=0,R=0,z=0,L=0,w=0,c=0,h=0;function b(){$>68&&l(9,h++,h),R<32&&l(9,h++,h),z<32&&l(9,h++,h),L<32&&l(9,h++,h),w>68&&l(9,h++,h)}const q=d.find(P=>P.name===S);return We(async()=>{v=await a.getReport(i),q&&(l(8,c=Number(v[q.csvName])),l(7,O=ke(c,t))),$=Number(v.G0percentile),R=Number(v.G1percentile),z=Number(v.G2percentile),L=Number(v.Spercentile),w=Number(v.Bpercentile),b(),h===5&&l(3,m=!0),h>2&&h<5&&l(4,g=!0),l(6,p=!0),l(5,o=!0)}),r.$$set=P=>{"lang"in P&&l(0,t=P.lang),"report"in P&&l(10,i=P.report),"type"in P&&l(1,f=P.type),"subtype"in P&&l(2,S=P.subtype),"service"in P&&l(11,a=P.service)},[t,f,S,m,g,o,p,O,c,h,i,a]}class Ze extends qe{constructor(e){super(),Ye(this,e,cl,ml,Ce,{lang:0,report:10,type:1,subtype:2,service:11},He)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),W()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),W()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),W()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),W()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),W()}}customElements.define("ga-atherosclerosis",De(Ze,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Ze as default};
@@ -1,2 +1,3 @@
1
- import{c as Y,S as J,i as K,f as Z,s as Q,a as _,e as w,b as $,d as k,g as T,t as M,h as D,j as L,k as q,o as ee,l as C,m as B,n as x,p as n,q as a,r as N,u as S,v as G,w as I,x as U,y as H}from"./index2.js";import{g as le,A as R}from"./Arrow.js";function te(c){_(c,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function se(c){let e,l,t,r,v,f=c[1]==="mature"&&j(c),i=c[1]==="median"&&E(c),o=c[1]==="youth"&&O(c),u=c[1]==="lifestyle"&&P(c);return{c(){f&&f.c(),e=$(),i&&i.c(),l=$(),o&&o.c(),t=$(),u&&u.c(),r=k()},m(s,d){f&&f.m(s,d),T(s,e,d),i&&i.m(s,d),T(s,l,d),o&&o.m(s,d),T(s,t,d),u&&u.m(s,d),T(s,r,d),v=!0},p(s,d){s[1]==="mature"?f?(f.p(s,d),d&2&&L(f,1)):(f=j(s),f.c(),L(f,1),f.m(e.parentNode,e)):f&&(C(),M(f,1,1,()=>{f=null}),D()),s[1]==="median"?i?(i.p(s,d),d&2&&L(i,1)):(i=E(s),i.c(),L(i,1),i.m(l.parentNode,l)):i&&(C(),M(i,1,1,()=>{i=null}),D()),s[1]==="youth"?o?(o.p(s,d),d&2&&L(o,1)):(o=O(s),o.c(),L(o,1),o.m(t.parentNode,t)):o&&(C(),M(o,1,1,()=>{o=null}),D()),s[1]==="lifestyle"?u?(u.p(s,d),d&2&&L(u,1)):(u=P(s),u.c(),L(u,1),u.m(r.parentNode,r)):u&&(C(),M(u,1,1,()=>{u=null}),D())},i(s){v||(L(f),L(i),L(o),L(u),v=!0)},o(s){M(f),M(i),M(o),M(u),v=!1},d(s){s&&(q(e),q(l),q(t),q(r)),f&&f.d(s),i&&i.d(s),o&&o.d(s),u&&u.d(s)}}}function ie(c){let e,l,t,r,v,f,i=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",o,u,s,d,z,p;function h(g,b){return g[2]||g[3]?re:ae}let y=h(c),m=y(c);return{c(){e=w("div"),l=w("div"),t=w("div"),m.c(),r=$(),v=w("div"),f=w("b"),o=B(i),u=B(" of glycan indexes between your patient and this condition."),s=$(),d=w("hr"),z=$(),p=w("div"),p.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Abdominal pain and cramping</li> <li class="svelte-1285zfm">Urgency to defecate</li> <li class="svelte-1285zfm">Recurring diarrhea (\xB1 blood)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: full blood count, renal and liver function, CRP</li> <li class="svelte-1285zfm">Stool tests: faecal immunochemical test (FIT), fecal calprotectin</li> <li class="svelte-1285zfm">Referral for CT colonoscopy</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/25895110/" class="svelte-1285zfm">Inflammatory bowel disease associates with proinflammatory potential of the immunoglobulin G glycome</a> <p class="svelte-1285zfm">In a Scottish study examining IgG glycosylation in IBS, focusing on the ulcerative colitis (UC) segment, a cohort of 507 UC patients and 320 controls, all with an average age of 45, was evaluated.The analysis revealed a significant increase in G0 and a decrease in G1 in the UC patients compared to the controls. Observed alterations of specific glycan peaks demonstrated predictive power, with an area under the curve (AUC) of 0.72, indicating their potential utility in distinguishing between UC patients and healthy individuals.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/29309774/" class="svelte-1285zfm">Glycosylation of Immunoglobulin G Associates With Clinical Features of Inflammatory Bowel Diseases</a> <p class="svelte-1285zfm">In a comprehensive study examining IgG glycosylation patterns in IBS, a cohort including 1,056 UC patients from Italy, 253 from the US, and controls (427 in Italy and 440 from the US) was analyzed. The average age of participants was 39, with a balanced gender distribution. The findings showed a decrease in G1, G2, and B glycan traits and an increase in G0 across UC patients. The glycosylation traits were incorporated into a model that demonstrated significant predictive capability with an AUC of 0.814. Additionally, a correlation was observed between decreased galactosylation and more severe cases of UC, notably those requiring surgical intervention, compared to controls.</p>',x(t,"transform","translate(-50%)"),x(f,"color",c[2]||c[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(d,"class","svelte-1285zfm"),n(p,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(g,b){T(g,e,b),a(e,l),a(l,t),m.m(t,null),a(l,r),a(l,v),a(v,f),a(f,o),a(v,u),a(e,s),a(e,d),a(e,z),a(e,p)},p(g,b){y!==(y=h(g))&&(m.d(1),m=y(g),m&&(m.c(),m.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&N(o,i),b&12&&x(f,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:S,o:S,d(g){g&&q(e),m.d()}}}function ne(c){let e,l,t,r,v,f,i,o=c[2]?"Some overlap":c[3]?"Minor overlap":"No significant overlap",u;function s(p,h){return p[2]||p[3]?me:oe}let d=s(c),z=d(c);return{c(){e=w("div"),l=w("div"),t=w("b"),r=B(c[8]),v=B("/4"),f=$(),z.c(),i=B(`
2
- \xA0\xA0`),u=B(o),x(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(p,h){T(p,e,h),a(e,l),a(l,t),a(t,r),a(t,v),a(e,f),z.m(e,null),a(e,i),a(e,u)},p(p,h){h&256&&N(r,p[8]),d===(d=s(p))&&z?z.p(p,h):(z.d(1),z=d(p),z&&(z.c(),z.m(e,i))),h&12&&o!==(o=p[2]?"Some overlap":p[3]?"Minor overlap":"No significant overlap")&&N(u,o)},i:S,o:S,d(p){p&&q(e),z.d()}}}function j(c){let e,l,t,r,v,f,i,o,u,s,d,z,p,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),r=G("path"),f=$(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Mature (G0)</b>",u=$(),s=w("div"),d=B(c[6]),z=$(),p=w("div"),I(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(p,"width","70%"),x(p,"display","flex"),x(p,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),a(e,l),a(l,t),a(t,r),a(l,f),a(l,i),a(i,o),a(i,u),a(i,s),a(s,d),a(e,z),a(e,p),U(h,p,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&N(d,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){M(h.$$.fragment,m),y=!1},d(m){m&&q(e),H(h)}}}function E(c){let e,l,t,r,v,f,i,o,u,s,d,z,p,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),r=G("path"),f=$(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Median (G1)</b>",u=$(),s=w("div"),d=B(c[6]),z=$(),p=w("div"),I(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(p,"width","70%"),x(p,"display","flex"),x(p,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),a(e,l),a(l,t),a(t,r),a(l,f),a(l,i),a(i,o),a(i,u),a(i,s),a(s,d),a(e,z),a(e,p),U(h,p,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&N(d,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){M(h.$$.fragment,m),y=!1},d(m){m&&q(e),H(h)}}}function O(c){let e,l,t,r,v,f,i,o,u,s,d,z,p,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),r=G("path"),f=$(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Youth (G2)</b>",u=$(),s=w("div"),d=B(c[6]),z=$(),p=w("div"),I(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(p,"width","70%"),x(p,"display","flex"),x(p,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),a(e,l),a(l,t),a(t,r),a(l,f),a(l,i),a(i,o),a(i,u),a(i,s),a(s,d),a(e,z),a(e,p),U(h,p,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&N(d,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){M(h.$$.fragment,m),y=!1},d(m){m&&q(e),H(h)}}}function P(c){let e,l,t,r,v,f,i,o,u,s,d,z,p,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),r=G("path"),f=$(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Lifestyle (B)</b>",u=$(),s=w("div"),d=B(c[6]),z=$(),p=w("div"),I(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(p,"width","70%"),x(p,"display","flex"),x(p,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),a(e,l),a(l,t),a(t,r),a(l,f),a(l,i),a(i,o),a(i,u),a(i,s),a(s,d),a(e,z),a(e,p),U(h,p,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&N(d,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){M(h.$$.fragment,m),y=!1},d(m){m&&q(e),H(h)}}}function ae(c){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function re(c){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function oe(c){let e,l;return{c(){e=G("svg"),l=G("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},p:S,d(t){t&&q(e)}}}function me(c){let e,l,t;return{c(){e=G("svg"),l=G("path"),n(l,"fill",t=c[3]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(r,v){T(r,e,v),a(e,l)},p(r,v){v&8&&t!==(t=r[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(r){r&&q(e)}}}function de(c){let e,l,t,r,v,f;const i=[ne,ie,se],o=[];function u(s,d){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=u(c),r=o[t]=i[t](c),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=$(),r.c(),v=k()},m(s,d){T(s,e,d),T(s,l,d),o[t].m(s,d),T(s,v,d),f=!0},p(s,[d]){let z=t;t=u(s),t===z?o[t].p(s,d):(C(),M(o[z],1,1,()=>{o[z]=null}),D(),r=o[t],r?r.p(s,d):(r=o[t]=i[t](s),r.c()),L(r,1),r.m(v.parentNode,v))},i(s){f||(L(r),f=!0)},o(s){M(r),f=!1},d(s){s&&(q(e),q(l),q(v)),o[t].d(s)}}}function ce(c,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:f=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"lifestyle",csvName:"Bpercentile"}],o,u=!1,s=!1,d=!1,z=!1,p="",h=0,y=0,m=0,g=0,b=0,A=0;function X(){h>68&&l(8,A++,A),y<32&&l(8,A++,A),m<32&&l(8,A++,A),g<32&&l(8,A++,A)}const V=i.find(F=>F.name===v);return ee(async()=>{o=await f.getReport(t),V&&(l(7,b=Number(o[V.csvName])),l(6,p=le(b))),h=Number(o.G0percentile),y=Number(o.G1percentile),m=Number(o.G2percentile),g=Number(o.Bpercentile),X(),A===4&&l(2,u=!0),A===3&&l(3,s=!0),l(5,z=!0),l(4,d=!0)}),c.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,r=F.type),"subtype"in F&&l(1,v=F.subtype),"service"in F&&l(10,f=F.service)},[r,v,u,s,d,z,p,b,A,t,f]}class W extends J{constructor(e){super(),K(this,e,ce,de,Q,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),Z()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),Z()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),Z()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),Z()}}customElements.define("ga-colitis",Y(W,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{W as default};
1
+ import{c as Ze,S as Ie,i as Re,f as D,s as Ue,a as De,e as p,b as x,d as Ce,g as P,t as q,h as Y,j as G,k as S,o as Ye,l as W,m as b,n as _,p as n,q as s,r as $,u as H,v as B,w as de,x as pe,y as fe}from"./index2.js";import{g as We,a as w,A as ue}from"./Arrow.js";function He(m){De(m,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function ke(m){let e,t,l,i,h,f=m[2]==="mature"&&Te(m),r=m[2]==="median"&&Fe(m),c=m[2]==="youth"&&Be(m),d=m[2]==="lifestyle"&&qe(m);return{c(){f&&f.c(),e=x(),r&&r.c(),t=x(),c&&c.c(),l=x(),d&&d.c(),i=Ce()},m(a,u){f&&f.m(a,u),P(a,e,u),r&&r.m(a,u),P(a,t,u),c&&c.m(a,u),P(a,l,u),d&&d.m(a,u),P(a,i,u),h=!0},p(a,u){a[2]==="mature"?f?(f.p(a,u),u&4&&G(f,1)):(f=Te(a),f.c(),G(f,1),f.m(e.parentNode,e)):f&&(W(),q(f,1,1,()=>{f=null}),Y()),a[2]==="median"?r?(r.p(a,u),u&4&&G(r,1)):(r=Fe(a),r.c(),G(r,1),r.m(t.parentNode,t)):r&&(W(),q(r,1,1,()=>{r=null}),Y()),a[2]==="youth"?c?(c.p(a,u),u&4&&G(c,1)):(c=Be(a),c.c(),G(c,1),c.m(l.parentNode,l)):c&&(W(),q(c,1,1,()=>{c=null}),Y()),a[2]==="lifestyle"?d?(d.p(a,u),u&4&&G(d,1)):(d=qe(a),d.c(),G(d,1),d.m(i.parentNode,i)):d&&(W(),q(d,1,1,()=>{d=null}),Y())},i(a){h||(G(f),G(r),G(c),G(d),h=!0)},o(a){q(f),q(r),q(c),q(d),h=!1},d(a){a&&(S(e),S(t),S(l),S(i)),f&&f.d(a),r&&r.d(a),c&&c.d(a),d&&d.d(a)}}}function Xe(m){let e,t,l,i,h,f,r,c=w(m[0],"OVERLAP_TEXT")+"",d,a,u,O,v,y,A=w(m[0],"SYMPTOMS")+"",M,z,g,L,o=w(m[0],"SYMPTOM_NINE")+"",E,C,T,k=w(m[0],"SYMPTOM_TEN")+"",he,ze,X,j=w(m[0],"SYMPTOM_ELEVEN")+"",ve,Ee,J,K=w(m[0],"POSSIBLE_FOLLOW_UP")+"",ge,_e,Z,Q,ee=w(m[0],"POSSIBLE_FOLLOW_UP_EIGHT")+"",ye,Ae,te,le=w(m[0],"POSSIBLE_FOLLOW_UP_NINE")+"",Le,Oe,se,ie=w(m[0],"POSSIBLE_FOLLOW_UP_TEN")+"",we,be,ne,ae=w(m[0],"RELATED_RESEARCH_PAPERS")+"",xe,Ne,R,$e,me,Pe,U,Se,re;function Me(N,F){return N[3]||N[4]?Ke:Je}let oe=Me(m),I=oe(m);function Ge(N,F){return N[3]?tt:N[4]?et:Qe}let ce=Ge(m),V=ce(m);return{c(){e=p("div"),t=p("div"),l=p("div"),I.c(),i=x(),h=p("div"),f=p("b"),V.c(),r=x(),d=b(c),a=x(),u=p("hr"),O=x(),v=p("div"),y=p("h5"),M=b(A),z=x(),g=p("ul"),L=p("li"),E=b(o),C=x(),T=p("li"),he=b(k),ze=x(),X=p("li"),ve=b(j),Ee=x(),J=p("h5"),ge=b(K),_e=x(),Z=p("ul"),Q=p("li"),ye=b(ee),Ae=x(),te=p("li"),Le=b(le),Oe=x(),se=p("li"),we=b(ie),be=x(),ne=p("h5"),xe=b(ae),Ne=x(),R=p("a"),R.textContent="Inflammatory bowel disease associates with proinflammatory potential of the immunoglobulin G glycome",$e=x(),me=p("p"),me.textContent="In a Scottish study examining IgG glycosylation in IBS, focusing on the ulcerative colitis (UC) segment, a cohort of 507 UC patients and 320 controls, all with an average age of 45, was evaluated.The analysis revealed a significant increase in G0 and a decrease in G1 in the UC patients compared to the controls. Observed alterations of specific glycan peaks demonstrated predictive power, with an area under the curve (AUC) of 0.72, indicating their potential utility in distinguishing between UC patients and healthy individuals.",Pe=x(),U=p("a"),U.textContent="Glycosylation of Immunoglobulin G Associates With Clinical Features of Inflammatory Bowel Diseases",Se=x(),re=p("p"),re.textContent="In a comprehensive study examining IgG glycosylation patterns in IBS, a cohort including 1,056 UC patients from Italy, 253 from the US, and controls (427 in Italy and 440 from the US) was analyzed. The average age of participants was 39, with a balanced gender distribution. The findings showed a decrease in G1, G2, and B glycan traits and an increase in G0 across UC patients. The glycosylation traits were incorporated into a model that demonstrated significant predictive capability with an AUC of 0.814. Additionally, a correlation was observed between decreased galactosylation and more severe cases of UC, notably those requiring surgical intervention, compared to controls.",_(l,"transform","translate(-50%)"),_(f,"color",m[3]?"#F2590D":"#12A195"),n(t,"class","summaryHeader svelte-1285zfm"),n(u,"class","svelte-1285zfm"),n(y,"class","svelte-1285zfm"),n(L,"class","svelte-1285zfm"),n(T,"class","svelte-1285zfm"),n(X,"class","svelte-1285zfm"),n(g,"class","svelte-1285zfm"),n(J,"class","svelte-1285zfm"),n(Q,"class","svelte-1285zfm"),n(te,"class","svelte-1285zfm"),n(se,"class","svelte-1285zfm"),n(Z,"class","svelte-1285zfm"),n(ne,"class","svelte-1285zfm"),n(R,"href","https://pubmed.ncbi.nlm.nih.gov/25895110/"),n(R,"class","svelte-1285zfm"),n(me,"class","svelte-1285zfm"),n(U,"href","https://pubmed.ncbi.nlm.nih.gov/29309774/"),n(U,"class","svelte-1285zfm"),n(re,"class","svelte-1285zfm"),n(v,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(N,F){P(N,e,F),s(e,t),s(t,l),I.m(l,null),s(t,i),s(t,h),s(h,f),V.m(f,null),s(h,r),s(h,d),s(e,a),s(e,u),s(e,O),s(e,v),s(v,y),s(y,M),s(v,z),s(v,g),s(g,L),s(L,E),s(g,C),s(g,T),s(T,he),s(g,ze),s(g,X),s(X,ve),s(v,Ee),s(v,J),s(J,ge),s(v,_e),s(v,Z),s(Z,Q),s(Q,ye),s(Z,Ae),s(Z,te),s(te,Le),s(Z,Oe),s(Z,se),s(se,we),s(v,be),s(v,ne),s(ne,xe),s(v,Ne),s(v,R),s(v,$e),s(v,me),s(v,Pe),s(v,U),s(v,Se),s(v,re)},p(N,F){oe!==(oe=Me(N))&&(I.d(1),I=oe(N),I&&(I.c(),I.m(l,null))),ce===(ce=Ge(N))&&V?V.p(N,F):(V.d(1),V=ce(N),V&&(V.c(),V.m(f,null))),F&8&&_(f,"color",N[3]?"#F2590D":"#12A195"),F&1&&c!==(c=w(N[0],"OVERLAP_TEXT")+"")&&$(d,c),F&1&&A!==(A=w(N[0],"SYMPTOMS")+"")&&$(M,A),F&1&&o!==(o=w(N[0],"SYMPTOM_NINE")+"")&&$(E,o),F&1&&k!==(k=w(N[0],"SYMPTOM_TEN")+"")&&$(he,k),F&1&&j!==(j=w(N[0],"SYMPTOM_ELEVEN")+"")&&$(ve,j),F&1&&K!==(K=w(N[0],"POSSIBLE_FOLLOW_UP")+"")&&$(ge,K),F&1&&ee!==(ee=w(N[0],"POSSIBLE_FOLLOW_UP_EIGHT")+"")&&$(ye,ee),F&1&&le!==(le=w(N[0],"POSSIBLE_FOLLOW_UP_NINE")+"")&&$(Le,le),F&1&&ie!==(ie=w(N[0],"POSSIBLE_FOLLOW_UP_TEN")+"")&&$(we,ie),F&1&&ae!==(ae=w(N[0],"RELATED_RESEARCH_PAPERS")+"")&&$(xe,ae)},i:H,o:H,d(N){N&&S(e),I.d(),V.d()}}}function je(m){let e,t,l,i,h,f,r;function c(y,A){return y[3]||y[4]?st:lt}let d=c(m),a=d(m);function u(y,A){return y[3]?at:y[4]?nt:it}let O=u(m),v=O(m);return{c(){e=p("div"),t=p("div"),l=p("b"),i=b(m[9]),h=b("/4"),f=x(),a.c(),r=b(`
2
+ \xA0\xA0
3
+ `),v.c(),_(t,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(y,A){P(y,e,A),s(e,t),s(t,l),s(l,i),s(l,h),s(e,f),a.m(e,null),s(e,r),v.m(e,null)},p(y,A){A&512&&$(i,y[9]),d===(d=c(y))&&a?a.p(y,A):(a.d(1),a=d(y),a&&(a.c(),a.m(e,r))),O===(O=u(y))&&v?v.p(y,A):(v.d(1),v=O(y),v&&(v.c(),v.m(e,null)))},i:H,o:H,d(y){y&&S(e),a.d(),v.d()}}}function Te(m){let e,t,l,i,h,f,r,c,d=w(m[0],"GLYCAN")+"",a,u,O,v,y,A,M,z,g,L;return g=new ue({props:{type:"right",percentile:m[8]}}),{c(){e=p("div"),t=p("div"),l=B("svg"),i=B("path"),f=x(),r=p("div"),c=p("div"),a=b(d),u=x(),O=p("b"),O.textContent="Mature (G0)",v=x(),y=p("div"),A=b(m[7]),M=x(),z=p("div"),de(g.$$.fragment),n(i,"fill",h=m[8]<=68?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),_(r,"display","flex"),_(r,"flex-direction","column"),_(r,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),_(t,"font-size","0.8rem"),_(z,"width","70%"),_(z,"display","flex"),_(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,E){P(o,e,E),s(e,t),s(t,l),s(l,i),s(t,f),s(t,r),s(r,c),s(c,a),s(c,u),s(c,O),s(r,v),s(r,y),s(y,A),s(e,M),s(e,z),pe(g,z,null),L=!0},p(o,E){(!L||E&256&&h!==(h=o[8]<=68?"#12A195":"#F2590D"))&&n(i,"fill",h),(!L||E&1)&&d!==(d=w(o[0],"GLYCAN")+"")&&$(a,d),(!L||E&128)&&$(A,o[7]);const C={};E&256&&(C.percentile=o[8]),g.$set(C)},i(o){L||(G(g.$$.fragment,o),L=!0)},o(o){q(g.$$.fragment,o),L=!1},d(o){o&&S(e),fe(g)}}}function Fe(m){let e,t,l,i,h,f,r,c,d=w(m[0],"GLYCAN")+"",a,u,O,v,y,A,M,z,g,L;return g=new ue({props:{type:"left",percentile:m[8]}}),{c(){e=p("div"),t=p("div"),l=B("svg"),i=B("path"),f=x(),r=p("div"),c=p("div"),a=b(d),u=x(),O=p("b"),O.textContent="Median (G1)",v=x(),y=p("div"),A=b(m[7]),M=x(),z=p("div"),de(g.$$.fragment),n(i,"fill",h=m[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),_(r,"display","flex"),_(r,"flex-direction","column"),_(r,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),_(t,"font-size","0.8rem"),_(z,"width","70%"),_(z,"display","flex"),_(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,E){P(o,e,E),s(e,t),s(t,l),s(l,i),s(t,f),s(t,r),s(r,c),s(c,a),s(c,u),s(c,O),s(r,v),s(r,y),s(y,A),s(e,M),s(e,z),pe(g,z,null),L=!0},p(o,E){(!L||E&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",h),(!L||E&1)&&d!==(d=w(o[0],"GLYCAN")+"")&&$(a,d),(!L||E&128)&&$(A,o[7]);const C={};E&256&&(C.percentile=o[8]),g.$set(C)},i(o){L||(G(g.$$.fragment,o),L=!0)},o(o){q(g.$$.fragment,o),L=!1},d(o){o&&S(e),fe(g)}}}function Be(m){let e,t,l,i,h,f,r,c,d=w(m[0],"GLYCAN")+"",a,u,O,v,y,A,M,z,g,L;return g=new ue({props:{type:"left",percentile:m[8]}}),{c(){e=p("div"),t=p("div"),l=B("svg"),i=B("path"),f=x(),r=p("div"),c=p("div"),a=b(d),u=x(),O=p("b"),O.textContent="Youth (G2)",v=x(),y=p("div"),A=b(m[7]),M=x(),z=p("div"),de(g.$$.fragment),n(i,"fill",h=m[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),_(r,"display","flex"),_(r,"flex-direction","column"),_(r,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),_(t,"font-size","0.8rem"),_(z,"width","70%"),_(z,"display","flex"),_(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,E){P(o,e,E),s(e,t),s(t,l),s(l,i),s(t,f),s(t,r),s(r,c),s(c,a),s(c,u),s(c,O),s(r,v),s(r,y),s(y,A),s(e,M),s(e,z),pe(g,z,null),L=!0},p(o,E){(!L||E&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",h),(!L||E&1)&&d!==(d=w(o[0],"GLYCAN")+"")&&$(a,d),(!L||E&128)&&$(A,o[7]);const C={};E&256&&(C.percentile=o[8]),g.$set(C)},i(o){L||(G(g.$$.fragment,o),L=!0)},o(o){q(g.$$.fragment,o),L=!1},d(o){o&&S(e),fe(g)}}}function qe(m){let e,t,l,i,h,f,r,c,d=w(m[0],"GLYCAN")+"",a,u,O,v,y,A,M,z,g,L;return g=new ue({props:{type:"left",percentile:m[8]}}),{c(){e=p("div"),t=p("div"),l=B("svg"),i=B("path"),f=x(),r=p("div"),c=p("div"),a=b(d),u=x(),O=p("b"),O.textContent="Lifestyle (B)",v=x(),y=p("div"),A=b(m[7]),M=x(),z=p("div"),de(g.$$.fragment),n(i,"fill",h=m[8]>=32?"#12A195":"#F2590D"),n(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),_(r,"display","flex"),_(r,"flex-direction","column"),_(r,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),_(t,"font-size","0.8rem"),_(z,"width","70%"),_(z,"display","flex"),_(z,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,E){P(o,e,E),s(e,t),s(t,l),s(l,i),s(t,f),s(t,r),s(r,c),s(c,a),s(c,u),s(c,O),s(r,v),s(r,y),s(y,A),s(e,M),s(e,z),pe(g,z,null),L=!0},p(o,E){(!L||E&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&n(i,"fill",h),(!L||E&1)&&d!==(d=w(o[0],"GLYCAN")+"")&&$(a,d),(!L||E&128)&&$(A,o[7]);const C={};E&256&&(C.percentile=o[8]),g.$set(C)},i(o){L||(G(g.$$.fragment,o),L=!0)},o(o){q(g.$$.fragment,o),L=!1},d(o){o&&S(e),fe(g)}}}function Je(m){let e,t;return{c(){e=B("svg"),t=B("path"),n(t,"fill","#12A195"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(l,i){P(l,e,i),s(e,t)},d(l){l&&S(e)}}}function Ke(m){let e,t;return{c(){e=B("svg"),t=B("path"),n(t,"fill","#F2590D"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(l,i){P(l,e,i),s(e,t)},d(l){l&&S(e)}}}function Qe(m){let e=w(m[0],"NO_OVERLAP_LONG")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"NO_OVERLAP_LONG")+"")&&$(t,e)},d(l){l&&S(t)}}}function et(m){let e=w(m[0],"MINOR_OVERLAP_LONG")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"MINOR_OVERLAP_LONG")+"")&&$(t,e)},d(l){l&&S(t)}}}function tt(m){let e=w(m[0],"SOME_OVERLAP_LONG")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"SOME_OVERLAP_LONG")+"")&&$(t,e)},d(l){l&&S(t)}}}function lt(m){let e,t;return{c(){e=B("svg"),t=B("path"),n(t,"fill","#12A195"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(l,i){P(l,e,i),s(e,t)},p:H,d(l){l&&S(e)}}}function st(m){let e,t,l;return{c(){e=B("svg"),t=B("path"),n(t,"fill",l=m[4]?"#FFAA00":"#F2590D"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(i,h){P(i,e,h),s(e,t)},p(i,h){h&16&&l!==(l=i[4]?"#FFAA00":"#F2590D")&&n(t,"fill",l)},d(i){i&&S(e)}}}function it(m){let e=w(m[0],"NO_OVERLAP")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"NO_OVERLAP")+"")&&$(t,e)},d(l){l&&S(t)}}}function nt(m){let e=w(m[0],"MINOR_OVERLAP")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"MINOR_OVERLAP")+"")&&$(t,e)},d(l){l&&S(t)}}}function at(m){let e=w(m[0],"SOME_OVERLAP")+"",t;return{c(){t=b(e)},m(l,i){P(l,t,i)},p(l,i){i&1&&e!==(e=w(l[0],"SOME_OVERLAP")+"")&&$(t,e)},d(l){l&&S(t)}}}function mt(m){let e,t,l,i,h,f;const r=[je,Xe,ke],c=[];function d(a,u){return a[1]==="header"&&a[6]?0:a[1]==="summary"&&a[5]?1:2}return l=d(m),i=c[l]=r[l](m),{c(){e=p("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',t=x(),i.c(),h=Ce()},m(a,u){P(a,e,u),P(a,t,u),c[l].m(a,u),P(a,h,u),f=!0},p(a,[u]){let O=l;l=d(a),l===O?c[l].p(a,u):(W(),q(c[O],1,1,()=>{c[O]=null}),Y(),i=c[l],i?i.p(a,u):(i=c[l]=r[l](a),i.c()),G(i,1),i.m(h.parentNode,h))},i(a){f||(G(i),f=!0)},o(a){q(i),f=!1},d(a){a&&(S(e),S(t),S(h)),c[l].d(a)}}}function rt(m,e,t){let{lang:l}=e,{report:i}=e,{type:h}=e,{subtype:f}=e,{service:r=window.GaReportService}=e,c=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"lifestyle",csvName:"Bpercentile"}],d,a=!1,u=!1,O=!1,v=!1,y="",A=0,M=0,z=0,g=0,L=0,o=0;function E(){A>68&&t(9,o++,o),M<32&&t(9,o++,o),z<32&&t(9,o++,o),g<32&&t(9,o++,o)}const C=c.find(T=>T.name===f);return Ye(async()=>{d=await r.getReport(i),C&&(t(8,L=Number(d[C.csvName])),t(7,y=We(L))),A=Number(d.G0percentile),M=Number(d.G1percentile),z=Number(d.G2percentile),g=Number(d.Bpercentile),E(),o===4&&t(3,a=!0),o===3&&t(4,u=!0),t(6,v=!0),t(5,O=!0)}),m.$$set=T=>{"lang"in T&&t(0,l=T.lang),"report"in T&&t(10,i=T.report),"type"in T&&t(1,h=T.type),"subtype"in T&&t(2,f=T.subtype),"service"in T&&t(11,r=T.service)},[l,h,f,a,u,O,v,y,L,o,i,r]}class Ve extends Ie{constructor(e){super(),Re(this,e,rt,mt,Ue,{lang:0,report:10,type:1,subtype:2,service:11},He)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),D()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),D()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),D()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),D()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),D()}}customElements.define("ga-colitis",Ze(Ve,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Ve as default};
package/dist/copd.wc.js CHANGED
@@ -1,2 +1,3 @@
1
- import{c as I,S as _,i as X,f as C,s as J,a as K,e as y,b as T,d as S,g as $,t as Z,h as G,j as F,k as L,o as Q,l as D,m as B,n as x,p as n,q as a,r as N,u as A,v as M,w as P,x as k,y as H}from"./index2.js";import{g as U,A as j}from"./Arrow.js";function W(m){K(m,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Y(m){let e,l,t,s=m[1]==="median"&&R(m),i=m[1]==="lifestyle"&&V(m);return{c(){s&&s.c(),e=T(),i&&i.c(),l=S()},m(r,o){s&&s.m(r,o),$(r,e,o),i&&i.m(r,o),$(r,l,o),t=!0},p(r,o){r[1]==="median"?s?(s.p(r,o),o&2&&F(s,1)):(s=R(r),s.c(),F(s,1),s.m(e.parentNode,e)):s&&(D(),Z(s,1,1,()=>{s=null}),G()),r[1]==="lifestyle"?i?(i.p(r,o),o&2&&F(i,1)):(i=V(r),i.c(),F(i,1),i.m(l.parentNode,l)):i&&(D(),Z(i,1,1,()=>{i=null}),G())},i(r){t||(F(s),F(i),t=!0)},o(r){Z(s),Z(i),t=!1},d(r){r&&(L(e),L(l)),s&&s.d(r),i&&i.d(r)}}}function ee(m){let e,l,t,s,i,r,o=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",h,z,c,v,g,d;function u(f,b){return f[2]||f[3]?se:te}let w=u(m),p=w(m);return{c(){e=y("div"),l=y("div"),t=y("div"),p.c(),s=T(),i=y("div"),r=y("b"),h=B(o),z=B(" of glycan indexes between your patient and this condition."),c=T(),v=y("hr"),g=T(),d=y("div"),d.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Difficulty breathing</li> <li class="svelte-1285zfm">Chronic cough (\xB1 productive)</li> <li class="svelte-1285zfm">Fatigue</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: full blood count</li> <li class="svelte-1285zfm">Spirometry</li> <li class="svelte-1285zfm">ECG, chest X-ray</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-018-1695-0" class="svelte-1285zfm">N-glycosylation patterns of plasma proteins and immunoglobulin G in chronic obstructive pulmonary disease</a> <p class="svelte-1285zfm">In a Croatian study focusing on COPD, researchers analyzed IgG glycosylation in 137 COPD patients and 95 controls in the discovery cohort, and 61 COPD patients and 148 controls in a replication cohort from another medical center. The discovery cohort included 97 female participants (42%), while the replication cohort had 116 females (56%). The study observed a decrease in G1 and an increase in B glycan structures in COPD patients. <br/><br/> For those who want to know more: <br/><br/> The analysis also revealed that N-glycans could distinguish between different COPD stages according to GOLD guidelines, with more complex glycan structures becoming relatively more abundant as the disease advanced. The study also noted significant associations between glycans and the frequency of COPD exacerbations and highlighted the impact of smoking, a major risk factor for COPD, on glycan compositions.</p>',x(t,"transform","translate(-50%)"),x(r,"color",m[2]||m[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(v,"class","svelte-1285zfm"),n(d,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(f,b){$(f,e,b),a(e,l),a(l,t),p.m(t,null),a(l,s),a(l,i),a(i,r),a(r,h),a(i,z),a(e,c),a(e,v),a(e,g),a(e,d)},p(f,b){w!==(w=u(f))&&(p.d(1),p=w(f),p&&(p.c(),p.m(t,null))),b&12&&o!==(o=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&N(h,o),b&12&&x(r,"color",f[2]||f[3]?"#F2590D":"#12A195")},i:A,o:A,d(f){f&&L(e),p.d()}}}function le(m){let e,l,t,s,i,r,o,h=m[2]?"Some overlap":m[3]?"Minor overlap":"No significant overlap",z;function c(d,u){return d[2]||d[3]?ne:ie}let v=c(m),g=v(m);return{c(){e=y("div"),l=y("div"),t=y("b"),s=B(m[8]),i=B("/2"),r=T(),g.c(),o=B(`
2
- \xA0\xA0`),z=B(h),x(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(d,u){$(d,e,u),a(e,l),a(l,t),a(t,s),a(t,i),a(e,r),g.m(e,null),a(e,o),a(e,z)},p(d,u){u&256&&N(s,d[8]),v===(v=c(d))&&g?g.p(d,u):(g.d(1),g=v(d),g&&(g.c(),g.m(e,o))),u&12&&h!==(h=d[2]?"Some overlap":d[3]?"Minor overlap":"No significant overlap")&&N(z,h)},i:A,o:A,d(d){d&&L(e),g.d()}}}function R(m){let e,l,t,s,i,r,o,h,z,c,v,g,d,u,w;return u=new j({props:{type:"left",percentile:m[7]}}),{c(){e=y("div"),l=y("div"),t=M("svg"),s=M("path"),r=T(),o=y("div"),h=y("div"),h.innerHTML="Glycan <b>Median (G1)</b>",z=T(),c=y("div"),v=B(m[6]),g=T(),d=y("div"),P(u.$$.fragment),n(s,"fill",i=m[7]>=32?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(o,"display","flex"),x(o,"flex-direction","column"),x(o,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(p,f){$(p,e,f),a(e,l),a(l,t),a(t,s),a(l,r),a(l,o),a(o,h),a(o,z),a(o,c),a(c,v),a(e,g),a(e,d),k(u,d,null),w=!0},p(p,f){(!w||f&128&&i!==(i=p[7]>=32?"#12A195":"#F2590D"))&&n(s,"fill",i),(!w||f&64)&&N(v,p[6]);const b={};f&128&&(b.percentile=p[7]),u.$set(b)},i(p){w||(F(u.$$.fragment,p),w=!0)},o(p){Z(u.$$.fragment,p),w=!1},d(p){p&&L(e),H(u)}}}function V(m){let e,l,t,s,i,r,o,h,z,c,v,g,d,u,w;return u=new j({props:{type:"right",percentile:m[7]}}),{c(){e=y("div"),l=y("div"),t=M("svg"),s=M("path"),r=T(),o=y("div"),h=y("div"),h.innerHTML="Glycan <b>Lifestyle (B)</b>",z=T(),c=y("div"),v=B(m[6]),g=T(),d=y("div"),P(u.$$.fragment),n(s,"fill",i=m[7]<=68?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(o,"display","flex"),x(o,"flex-direction","column"),x(o,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(p,f){$(p,e,f),a(e,l),a(l,t),a(t,s),a(l,r),a(l,o),a(o,h),a(o,z),a(o,c),a(c,v),a(e,g),a(e,d),k(u,d,null),w=!0},p(p,f){(!w||f&128&&i!==(i=p[7]<=68?"#12A195":"#F2590D"))&&n(s,"fill",i),(!w||f&64)&&N(v,p[6]);const b={};f&128&&(b.percentile=p[7]),u.$set(b)},i(p){w||(F(u.$$.fragment,p),w=!0)},o(p){Z(u.$$.fragment,p),w=!1},d(p){p&&L(e),H(u)}}}function te(m){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),a(e,l)},d(t){t&&L(e)}}}function se(m){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),a(e,l)},d(t){t&&L(e)}}}function ie(m){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),a(e,l)},p:A,d(t){t&&L(e)}}}function ne(m){let e,l,t;return{c(){e=M("svg"),l=M("path"),n(l,"fill",t=m[3]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(s,i){$(s,e,i),a(e,l)},p(s,i){i&8&&t!==(t=s[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(s){s&&L(e)}}}function ae(m){let e,l,t,s,i,r;const o=[le,ee,Y],h=[];function z(c,v){return c[0]==="header"&&c[5]?0:c[0]==="summary"&&c[4]?1:2}return t=z(m),s=h[t]=o[t](m),{c(){e=y("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=T(),s.c(),i=S()},m(c,v){$(c,e,v),$(c,l,v),h[t].m(c,v),$(c,i,v),r=!0},p(c,[v]){let g=t;t=z(c),t===g?h[t].p(c,v):(D(),Z(h[g],1,1,()=>{h[g]=null}),G(),s=h[t],s?s.p(c,v):(s=h[t]=o[t](c),s.c()),F(s,1),s.m(i.parentNode,i))},i(c){r||(F(s),r=!0)},o(c){Z(s),r=!1},d(c){c&&(L(e),L(l),L(i)),h[t].d(c)}}}function re(m,e,l){let{report:t}=e,{type:s}=e,{subtype:i}=e,{service:r=window.GaReportService}=e,o=[{name:"median",csvName:"G1percentile"},{name:"lifestyle",csvName:"Bpercentile"}],h,z=!1,c=!1,v=!1,g=!1,d="",u=0,w=0,p=0,f=0;function b(){u<32&&l(8,f++,f),w>68&&l(8,f++,f)}const O=o.find(q=>q.name===i);return Q(async()=>{h=await r.getReport(t),O&&(l(7,p=Number(h[O.csvName])),l(6,d=U(p))),u=Number(h.G1percentile),w=Number(h.Bpercentile),b(),f===2&&l(2,z=!0),f===1&&l(3,c=!0),l(5,g=!0),l(4,v=!0)}),m.$$set=q=>{"report"in q&&l(9,t=q.report),"type"in q&&l(0,s=q.type),"subtype"in q&&l(1,i=q.subtype),"service"in q&&l(10,r=q.service)},[s,i,z,c,v,g,d,p,f,t,r]}class E extends _{constructor(e){super(),X(this,e,re,ae,J,{report:9,type:0,subtype:1,service:10},W)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),C()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),C()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),C()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),C()}}customElements.define("ga-copd",I(E,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{E as default};
1
+ import{c as Ae,S as Fe,i as Ie,f as q,s as Be,a as Ge,e as d,b as z,d as _e,g as b,t as V,h as ue,j as I,k as S,o as De,l as he,m as x,n as M,p as n,q as i,r as T,u as Z,v as A,w as Te,x as Pe,y as be}from"./index2.js";import{g as Ve,a as p,A as Se}from"./Arrow.js";function Ce(a){Ge(a,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function qe(a){let e,t,l,s=a[2]==="median"&&Me(a),r=a[2]==="lifestyle"&&$e(a);return{c(){s&&s.c(),e=z(),r&&r.c(),t=_e()},m(o,c){s&&s.m(o,c),b(o,e,c),r&&r.m(o,c),b(o,t,c),l=!0},p(o,c){o[2]==="median"?s?(s.p(o,c),c&4&&I(s,1)):(s=Me(o),s.c(),I(s,1),s.m(e.parentNode,e)):s&&(he(),V(s,1,1,()=>{s=null}),ue()),o[2]==="lifestyle"?r?(r.p(o,c),c&4&&I(r,1)):(r=$e(o),r.c(),I(r,1),r.m(t.parentNode,t)):r&&(he(),V(r,1,1,()=>{r=null}),ue())},i(o){l||(I(s),I(r),l=!0)},o(o){V(s),V(r),l=!1},d(o){o&&(S(e),S(t)),s&&s.d(o),r&&r.d(o)}}}function Ze(a){let e,t,l,s,r,o,c,g=p(a[0],"OVERLAP_TEXT")+"",E,m,L,N,f,u,w=p(a[0],"SYMPTOMS")+"",R,P,v,_,h=p(a[0],"SYMPTOM_EIGHTEEN")+"",y,B,Y,H=p(a[0],"SYMPTOM_NINETEEN")+"",re,ve,U,W=p(a[0],"SYMPTOM_FIFTEEN")+"",me,ge,k,X=p(a[0],"POSSIBLE_FOLLOW_UP")+"",oe,ye,G,j,J=p(a[0],"POSSIBLE_FOLLOW_UP_SEVENTEEN")+"",ce,Ee,K,Q=p(a[0],"POSSIBLE_FOLLOW_UP_EIGHTEEN")+"",de,Oe,ee,te=p(a[0],"POSSIBLE_FOLLOW_UP_NINETEEN")+"",fe,ze,le,se=p(a[0],"RELATED_RESEARCH_PAPERS")+"",pe,Le,C,we,ie;function xe(O,$){return O[3]||O[4]?Ue:He}let ne=xe(a),D=ne(a);function Ne(O,$){return O[3]?Xe:O[4]?ke:We}let ae=Ne(a),F=ae(a);return{c(){e=d("div"),t=d("div"),l=d("div"),D.c(),s=z(),r=d("div"),o=d("b"),F.c(),c=z(),E=x(g),m=z(),L=d("hr"),N=z(),f=d("div"),u=d("h5"),R=x(w),P=z(),v=d("ul"),_=d("li"),y=x(h),B=z(),Y=d("li"),re=x(H),ve=z(),U=d("li"),me=x(W),ge=z(),k=d("h5"),oe=x(X),ye=z(),G=d("ul"),j=d("li"),ce=x(J),Ee=z(),K=d("li"),de=x(Q),Oe=z(),ee=d("li"),fe=x(te),ze=z(),le=d("h5"),pe=x(se),Le=z(),C=d("a"),C.textContent="N-glycosylation patterns of plasma proteins and immunoglobulin G in chronic obstructive pulmonary disease",we=z(),ie=d("p"),ie.innerHTML="In a Croatian study focusing on COPD, researchers analyzed IgG glycosylation in 137 COPD patients and 95 controls in the discovery cohort, and 61 COPD patients and 148 controls in a replication cohort from another medical center. The discovery cohort included 97 female participants (42%), while the replication cohort had 116 females (56%). The study observed a decrease in G1 and an increase in B glycan structures in COPD patients. <br/><br/> For those who want to know more: <br/><br/> The analysis also revealed that N-glycans could distinguish between different COPD stages according to GOLD guidelines, with more complex glycan structures becoming relatively more abundant as the disease advanced. The study also noted significant associations between glycans and the frequency of COPD exacerbations and highlighted the impact of smoking, a major risk factor for COPD, on glycan compositions.",M(l,"transform","translate(-50%)"),M(o,"color",a[3]?"#F2590D":"#12A195"),n(t,"class","summaryHeader svelte-1285zfm"),n(L,"class","svelte-1285zfm"),n(u,"class","svelte-1285zfm"),n(_,"class","svelte-1285zfm"),n(Y,"class","svelte-1285zfm"),n(U,"class","svelte-1285zfm"),n(v,"class","svelte-1285zfm"),n(k,"class","svelte-1285zfm"),n(j,"class","svelte-1285zfm"),n(K,"class","svelte-1285zfm"),n(ee,"class","svelte-1285zfm"),n(G,"class","svelte-1285zfm"),n(le,"class","svelte-1285zfm"),n(C,"href","https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-018-1695-0"),n(C,"class","svelte-1285zfm"),n(ie,"class","svelte-1285zfm"),n(f,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(O,$){b(O,e,$),i(e,t),i(t,l),D.m(l,null),i(t,s),i(t,r),i(r,o),F.m(o,null),i(r,c),i(r,E),i(e,m),i(e,L),i(e,N),i(e,f),i(f,u),i(u,R),i(f,P),i(f,v),i(v,_),i(_,y),i(v,B),i(v,Y),i(Y,re),i(v,ve),i(v,U),i(U,me),i(f,ge),i(f,k),i(k,oe),i(f,ye),i(f,G),i(G,j),i(j,ce),i(G,Ee),i(G,K),i(K,de),i(G,Oe),i(G,ee),i(ee,fe),i(f,ze),i(f,le),i(le,pe),i(f,Le),i(f,C),i(f,we),i(f,ie)},p(O,$){ne!==(ne=xe(O))&&(D.d(1),D=ne(O),D&&(D.c(),D.m(l,null))),ae===(ae=Ne(O))&&F?F.p(O,$):(F.d(1),F=ae(O),F&&(F.c(),F.m(o,null))),$&8&&M(o,"color",O[3]?"#F2590D":"#12A195"),$&1&&g!==(g=p(O[0],"OVERLAP_TEXT")+"")&&T(E,g),$&1&&w!==(w=p(O[0],"SYMPTOMS")+"")&&T(R,w),$&1&&h!==(h=p(O[0],"SYMPTOM_EIGHTEEN")+"")&&T(y,h),$&1&&H!==(H=p(O[0],"SYMPTOM_NINETEEN")+"")&&T(re,H),$&1&&W!==(W=p(O[0],"SYMPTOM_FIFTEEN")+"")&&T(me,W),$&1&&X!==(X=p(O[0],"POSSIBLE_FOLLOW_UP")+"")&&T(oe,X),$&1&&J!==(J=p(O[0],"POSSIBLE_FOLLOW_UP_SEVENTEEN")+"")&&T(ce,J),$&1&&Q!==(Q=p(O[0],"POSSIBLE_FOLLOW_UP_EIGHTEEN")+"")&&T(de,Q),$&1&&te!==(te=p(O[0],"POSSIBLE_FOLLOW_UP_NINETEEN")+"")&&T(fe,te),$&1&&se!==(se=p(O[0],"RELATED_RESEARCH_PAPERS")+"")&&T(pe,se)},i:Z,o:Z,d(O){O&&S(e),D.d(),F.d()}}}function Ye(a){let e,t,l,s,r,o,c;function g(u,w){return u[3]||u[4]?Je:je}let E=g(a),m=E(a);function L(u,w){return u[3]?et:u[4]?Qe:Ke}let N=L(a),f=N(a);return{c(){e=d("div"),t=d("div"),l=d("b"),s=x(a[9]),r=x("/2"),o=z(),m.c(),c=x(`
2
+ \xA0\xA0
3
+ `),f.c(),M(t,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(u,w){b(u,e,w),i(e,t),i(t,l),i(l,s),i(l,r),i(e,o),m.m(e,null),i(e,c),f.m(e,null)},p(u,w){w&512&&T(s,u[9]),E===(E=g(u))&&m?m.p(u,w):(m.d(1),m=E(u),m&&(m.c(),m.m(e,c))),N===(N=L(u))&&f?f.p(u,w):(f.d(1),f=N(u),f&&(f.c(),f.m(e,null)))},i:Z,o:Z,d(u){u&&S(e),m.d(),f.d()}}}function Me(a){let e,t,l,s,r,o,c,g,E=p(a[0],"GLYCAN")+"",m,L,N,f,u,w,R,P,v,_;return v=new Se({props:{type:"left",percentile:a[8]}}),{c(){e=d("div"),t=d("div"),l=A("svg"),s=A("path"),o=z(),c=d("div"),g=d("div"),m=x(E),L=z(),N=d("b"),N.textContent="Median (G1)",f=z(),u=d("div"),w=x(a[7]),R=z(),P=d("div"),Te(v.$$.fragment),n(s,"fill",r=a[8]>=32?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),M(c,"display","flex"),M(c,"flex-direction","column"),M(c,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),M(t,"font-size","0.8rem"),M(P,"width","70%"),M(P,"display","flex"),M(P,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(h,y){b(h,e,y),i(e,t),i(t,l),i(l,s),i(t,o),i(t,c),i(c,g),i(g,m),i(g,L),i(g,N),i(c,f),i(c,u),i(u,w),i(e,R),i(e,P),Pe(v,P,null),_=!0},p(h,y){(!_||y&256&&r!==(r=h[8]>=32?"#12A195":"#F2590D"))&&n(s,"fill",r),(!_||y&1)&&E!==(E=p(h[0],"GLYCAN")+"")&&T(m,E),(!_||y&128)&&T(w,h[7]);const B={};y&256&&(B.percentile=h[8]),v.$set(B)},i(h){_||(I(v.$$.fragment,h),_=!0)},o(h){V(v.$$.fragment,h),_=!1},d(h){h&&S(e),be(v)}}}function $e(a){let e,t,l,s,r,o,c,g,E=p(a[0],"GLYCAN")+"",m,L,N,f,u,w,R,P,v,_;return v=new Se({props:{type:"right",percentile:a[8]}}),{c(){e=d("div"),t=d("div"),l=A("svg"),s=A("path"),o=z(),c=d("div"),g=d("div"),m=x(E),L=z(),N=d("b"),N.textContent="Lifestyle (B)",f=z(),u=d("div"),w=x(a[7]),R=z(),P=d("div"),Te(v.$$.fragment),n(s,"fill",r=a[8]<=68?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(l,"xmlns","http://www.w3.org/2000/svg"),n(l,"width","24"),n(l,"height","24"),n(l,"viewBox","0 0 24 24"),M(c,"display","flex"),M(c,"flex-direction","column"),M(c,"padding-left","0.3rem"),n(t,"class","label svelte-1285zfm"),M(t,"font-size","0.8rem"),M(P,"width","70%"),M(P,"display","flex"),M(P,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(h,y){b(h,e,y),i(e,t),i(t,l),i(l,s),i(t,o),i(t,c),i(c,g),i(g,m),i(g,L),i(g,N),i(c,f),i(c,u),i(u,w),i(e,R),i(e,P),Pe(v,P,null),_=!0},p(h,y){(!_||y&256&&r!==(r=h[8]<=68?"#12A195":"#F2590D"))&&n(s,"fill",r),(!_||y&1)&&E!==(E=p(h[0],"GLYCAN")+"")&&T(m,E),(!_||y&128)&&T(w,h[7]);const B={};y&256&&(B.percentile=h[8]),v.$set(B)},i(h){_||(I(v.$$.fragment,h),_=!0)},o(h){V(v.$$.fragment,h),_=!1},d(h){h&&S(e),be(v)}}}function He(a){let e,t;return{c(){e=A("svg"),t=A("path"),n(t,"fill","#12A195"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(l,s){b(l,e,s),i(e,t)},d(l){l&&S(e)}}}function Ue(a){let e,t;return{c(){e=A("svg"),t=A("path"),n(t,"fill","#F2590D"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(l,s){b(l,e,s),i(e,t)},d(l){l&&S(e)}}}function We(a){let e=p(a[0],"NO_OVERLAP_LONG")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"NO_OVERLAP_LONG")+"")&&T(t,e)},d(l){l&&S(t)}}}function ke(a){let e=p(a[0],"MINOR_OVERLAP_LONG")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"MINOR_OVERLAP_LONG")+"")&&T(t,e)},d(l){l&&S(t)}}}function Xe(a){let e=p(a[0],"SOME_OVERLAP_LONG")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"SOME_OVERLAP_LONG")+"")&&T(t,e)},d(l){l&&S(t)}}}function je(a){let e,t;return{c(){e=A("svg"),t=A("path"),n(t,"fill","#12A195"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(l,s){b(l,e,s),i(e,t)},p:Z,d(l){l&&S(e)}}}function Je(a){let e,t,l;return{c(){e=A("svg"),t=A("path"),n(t,"fill",l=a[4]?"#FFAA00":"#F2590D"),n(t,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(s,r){b(s,e,r),i(e,t)},p(s,r){r&16&&l!==(l=s[4]?"#FFAA00":"#F2590D")&&n(t,"fill",l)},d(s){s&&S(e)}}}function Ke(a){let e=p(a[0],"NO_OVERLAP")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"NO_OVERLAP")+"")&&T(t,e)},d(l){l&&S(t)}}}function Qe(a){let e=p(a[0],"MINOR_OVERLAP")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"MINOR_OVERLAP")+"")&&T(t,e)},d(l){l&&S(t)}}}function et(a){let e=p(a[0],"SOME_OVERLAP")+"",t;return{c(){t=x(e)},m(l,s){b(l,t,s)},p(l,s){s&1&&e!==(e=p(l[0],"SOME_OVERLAP")+"")&&T(t,e)},d(l){l&&S(t)}}}function tt(a){let e,t,l,s,r,o;const c=[Ye,Ze,qe],g=[];function E(m,L){return m[1]==="header"&&m[6]?0:m[1]==="summary"&&m[5]?1:2}return l=E(a),s=g[l]=c[l](a),{c(){e=d("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',t=z(),s.c(),r=_e()},m(m,L){b(m,e,L),b(m,t,L),g[l].m(m,L),b(m,r,L),o=!0},p(m,[L]){let N=l;l=E(m),l===N?g[l].p(m,L):(he(),V(g[N],1,1,()=>{g[N]=null}),ue(),s=g[l],s?s.p(m,L):(s=g[l]=c[l](m),s.c()),I(s,1),s.m(r.parentNode,r))},i(m){o||(I(s),o=!0)},o(m){V(s),o=!1},d(m){m&&(S(e),S(t),S(r)),g[l].d(m)}}}function lt(a,e,t){let{lang:l}=e,{report:s}=e,{type:r}=e,{subtype:o}=e,{service:c=window.GaReportService}=e,g=[{name:"median",csvName:"G1percentile"},{name:"lifestyle",csvName:"Bpercentile"}],E,m=!1,L=!1,N=!1,f=!1,u="",w=0,R=0,P=0,v=0;function _(){w<32&&t(9,v++,v),R>68&&t(9,v++,v)}const h=g.find(y=>y.name===o);return De(async()=>{E=await c.getReport(s),h&&(t(8,P=Number(E[h.csvName])),t(7,u=Ve(P,l))),w=Number(E.G1percentile),R=Number(E.Bpercentile),_(),v===2&&t(3,m=!0),v===1&&t(4,L=!0),t(6,f=!0),t(5,N=!0)}),a.$$set=y=>{"lang"in y&&t(0,l=y.lang),"report"in y&&t(10,s=y.report),"type"in y&&t(1,r=y.type),"subtype"in y&&t(2,o=y.subtype),"service"in y&&t(11,c=y.service)},[l,r,o,m,L,N,f,u,P,v,s,c]}class Re extends Fe{constructor(e){super(),Ie(this,e,lt,tt,Be,{lang:0,report:10,type:1,subtype:2,service:11},Ce)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),q()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),q()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),q()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),q()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),q()}}customElements.define("ga-copd",Ae(Re,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Re as default};
@@ -1,2 +1,3 @@
1
- import{c as O,S as X,i as J,f as B,s as K,a as Q,e as y,b as A,d as H,g as $,t as Z,h as S,j as C,k as L,o as U,l as G,m as D,n as x,p as a,q as r,r as F,u as N,v as T,w as I,x as R,y as k}from"./index2.js";import{g as W,A as P}from"./Arrow.js";function Y(m){Q(m,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function _(m){let e,l,t,s=m[1]==="mature"&&j(m),i=m[1]==="shield"&&E(m);return{c(){s&&s.c(),e=A(),i&&i.c(),l=H()},m(n,o){s&&s.m(n,o),$(n,e,o),i&&i.m(n,o),$(n,l,o),t=!0},p(n,o){n[1]==="mature"?s?(s.p(n,o),o&2&&C(s,1)):(s=j(n),s.c(),C(s,1),s.m(e.parentNode,e)):s&&(G(),Z(s,1,1,()=>{s=null}),S()),n[1]==="shield"?i?(i.p(n,o),o&2&&C(i,1)):(i=E(n),i.c(),C(i,1),i.m(l.parentNode,l)):i&&(G(),Z(i,1,1,()=>{i=null}),S())},i(n){t||(C(s),C(i),t=!0)},o(n){Z(s),Z(i),t=!1},d(n){n&&(L(e),L(l)),s&&s.d(n),i&&i.d(n)}}}function ee(m){let e,l,t,s,i,n,o=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",h,z,c,v,u,d;function g(f,b){return f[2]||f[3]?se:te}let w=g(m),p=w(m);return{c(){e=y("div"),l=y("div"),t=y("div"),p.c(),s=A(),i=y("div"),n=y("b"),h=D(o),z=D(" of glycan indexes between your patient and this condition."),c=A(),v=y("hr"),u=A(),d=y("div"),d.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Self-limiting chest pain \xB1 radiation into jaw/left arm/back</li> <li class="svelte-1285zfm">Breathlessness</li> <li class="svelte-1285zfm">Other (syncope, palpitations, leg edema, orthopnea, etc.)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li> <li class="svelte-1285zfm">ECG</li> <li class="svelte-1285zfm">Cardiology referral for other tests (e.g., stress echocardiogram)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9953309/pdf/biomolecules-13-00375.pdf" class="svelte-1285zfm">IgG N-Glycosylation Is Altered in Coronary Artery Disease</a> <p class="svelte-1285zfm">In the CAPIRE study, male and female participants aged 45 to 75 years without prior clinical manifestations of coronary artery disease (CAD) were assessed using coronary computed tomography angiography (CCTA). They were categorized into CAD-negative (clean coronaries) and CAD-positive (significant coronary atherosclerosis) based on CCTA findings, aligning with the AHA classification. This research paper aimed to explore the association between the N-glycome profile of immunoglobulin G (IgG) and CAD presence. Among the 198 women in the study, with an average age of 59.9 years, significant glycan alterations were noted, specifically an increase in G0 and a decrease in S.</p>',x(t,"transform","translate(-50%)"),x(n,"color",m[2]||m[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(v,"class","svelte-1285zfm"),a(d,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m(f,b){$(f,e,b),r(e,l),r(l,t),p.m(t,null),r(l,s),r(l,i),r(i,n),r(n,h),r(i,z),r(e,c),r(e,v),r(e,u),r(e,d)},p(f,b){w!==(w=g(f))&&(p.d(1),p=w(f),p&&(p.c(),p.m(t,null))),b&12&&o!==(o=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&F(h,o),b&12&&x(n,"color",f[2]||f[3]?"#F2590D":"#12A195")},i:N,o:N,d(f){f&&L(e),p.d()}}}function le(m){let e,l,t,s,i,n,o,h=m[2]?"Some overlap":m[3]?"Minor overlap":"No significant overlap",z;function c(d,g){return d[2]||d[3]?ae:ie}let v=c(m),u=v(m);return{c(){e=y("div"),l=y("div"),t=y("b"),s=D(m[8]),i=D("/2"),n=A(),u.c(),o=D(`
2
- \xA0\xA0`),z=D(h),x(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(d,g){$(d,e,g),r(e,l),r(l,t),r(t,s),r(t,i),r(e,n),u.m(e,null),r(e,o),r(e,z)},p(d,g){g&256&&F(s,d[8]),v===(v=c(d))&&u?u.p(d,g):(u.d(1),u=v(d),u&&(u.c(),u.m(e,o))),g&12&&h!==(h=d[2]?"Some overlap":d[3]?"Minor overlap":"No significant overlap")&&F(z,h)},i:N,o:N,d(d){d&&L(e),u.d()}}}function j(m){let e,l,t,s,i,n,o,h,z,c,v,u,d,g,w;return g=new P({props:{type:"right",percentile:m[7]}}),{c(){e=y("div"),l=y("div"),t=T("svg"),s=T("path"),n=A(),o=y("div"),h=y("div"),h.innerHTML="Glycan <b>Mature (G0)</b>",z=A(),c=y("div"),v=D(m[6]),u=A(),d=y("div"),I(g.$$.fragment),a(s,"fill",i=m[7]<=68?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(o,"display","flex"),x(o,"flex-direction","column"),x(o,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(p,f){$(p,e,f),r(e,l),r(l,t),r(t,s),r(l,n),r(l,o),r(o,h),r(o,z),r(o,c),r(c,v),r(e,u),r(e,d),R(g,d,null),w=!0},p(p,f){(!w||f&128&&i!==(i=p[7]<=68?"#12A195":"#F2590D"))&&a(s,"fill",i),(!w||f&64)&&F(v,p[6]);const b={};f&128&&(b.percentile=p[7]),g.$set(b)},i(p){w||(C(g.$$.fragment,p),w=!0)},o(p){Z(g.$$.fragment,p),w=!1},d(p){p&&L(e),k(g)}}}function E(m){let e,l,t,s,i,n,o,h,z,c,v,u,d,g,w;return g=new P({props:{type:"left",percentile:m[7]}}),{c(){e=y("div"),l=y("div"),t=T("svg"),s=T("path"),n=A(),o=y("div"),h=y("div"),h.innerHTML="Glycan <b>Shield (S)</b>",z=A(),c=y("div"),v=D(m[6]),u=A(),d=y("div"),I(g.$$.fragment),a(s,"fill",i=m[7]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(o,"display","flex"),x(o,"flex-direction","column"),x(o,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(p,f){$(p,e,f),r(e,l),r(l,t),r(t,s),r(l,n),r(l,o),r(o,h),r(o,z),r(o,c),r(c,v),r(e,u),r(e,d),R(g,d,null),w=!0},p(p,f){(!w||f&128&&i!==(i=p[7]>=32?"#12A195":"#F2590D"))&&a(s,"fill",i),(!w||f&64)&&F(v,p[6]);const b={};f&128&&(b.percentile=p[7]),g.$set(b)},i(p){w||(C(g.$$.fragment,p),w=!0)},o(p){Z(g.$$.fragment,p),w=!1},d(p){p&&L(e),k(g)}}}function te(m){let e,l;return{c(){e=T("svg"),l=T("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),r(e,l)},d(t){t&&L(e)}}}function se(m){let e,l;return{c(){e=T("svg"),l=T("path"),a(l,"fill","#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),r(e,l)},d(t){t&&L(e)}}}function ie(m){let e,l;return{c(){e=T("svg"),l=T("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),r(e,l)},p:N,d(t){t&&L(e)}}}function ae(m){let e,l,t;return{c(){e=T("svg"),l=T("path"),a(l,"fill",t=m[3]?"#FFAA00":"#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(s,i){$(s,e,i),r(e,l)},p(s,i){i&8&&t!==(t=s[3]?"#FFAA00":"#F2590D")&&a(l,"fill",t)},d(s){s&&L(e)}}}function re(m){let e,l,t,s,i,n;const o=[le,ee,_],h=[];function z(c,v){return c[0]==="header"&&c[5]?0:c[0]==="summary"&&c[4]?1:2}return t=z(m),s=h[t]=o[t](m),{c(){e=y("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=A(),s.c(),i=H()},m(c,v){$(c,e,v),$(c,l,v),h[t].m(c,v),$(c,i,v),n=!0},p(c,[v]){let u=t;t=z(c),t===u?h[t].p(c,v):(G(),Z(h[u],1,1,()=>{h[u]=null}),S(),s=h[t],s?s.p(c,v):(s=h[t]=o[t](c),s.c()),C(s,1),s.m(i.parentNode,i))},i(c){n||(C(s),n=!0)},o(c){Z(s),n=!1},d(c){c&&(L(e),L(l),L(i)),h[t].d(c)}}}function ne(m,e,l){let{report:t}=e,{type:s}=e,{subtype:i}=e,{service:n=window.GaReportService}=e,o=[{name:"mature",csvName:"G0percentile"},{name:"shield",csvName:"Spercentile"}],h,z=!1,c=!1,v=!1,u=!1,d="",g=0,w=0,p=0,f=0;function b(){g>68&&l(8,f++,f),w<32&&l(8,f++,f)}const M=o.find(q=>q.name===i);return U(async()=>{h=await n.getReport(t),M&&(l(7,p=Number(h[M.csvName])),l(6,d=W(p))),g=Number(h.G0percentile),w=Number(h.Spercentile),b(),f===2&&l(2,z=!0),f===1&&l(3,c=!0),l(5,u=!0),l(4,v=!0)}),m.$$set=q=>{"report"in q&&l(9,t=q.report),"type"in q&&l(0,s=q.type),"subtype"in q&&l(1,i=q.subtype),"service"in q&&l(10,n=q.service)},[s,i,z,c,v,u,d,p,f,t,n]}class V extends X{constructor(e){super(),J(this,e,ne,re,K,{report:9,type:0,subtype:1,service:10},Y)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),B()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),B()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),B()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),B()}}customElements.define("ga-coronary",O(V,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{V as default};
1
+ import{c as Ce,S as Ne,i as Be,f as D,s as qe,a as De,e as d,b as L,d as Te,g as M,t as B,h as ge,j as V,k as T,o as Ze,l as Oe,m as S,n as $,p as n,q as i,r as P,u as Z,v as F,w as $e,x as Re,y as be}from"./index2.js";import{g as Ue,a as p,A as Fe}from"./Arrow.js";function Ye(a){De(a,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function We(a){let e,l,t,s=a[2]==="mature"&&Ie(a),r=a[2]==="shield"&&Ge(a);return{c(){s&&s.c(),e=L(),r&&r.c(),l=Te()},m(o,c){s&&s.m(o,c),M(o,e,c),r&&r.m(o,c),M(o,l,c),t=!0},p(o,c){o[2]==="mature"?s?(s.p(o,c),c&4&&V(s,1)):(s=Ie(o),s.c(),V(s,1),s.m(e.parentNode,e)):s&&(Oe(),B(s,1,1,()=>{s=null}),ge()),o[2]==="shield"?r?(r.p(o,c),c&4&&V(r,1)):(r=Ge(o),r.c(),V(r,1),r.m(l.parentNode,l)):r&&(Oe(),B(r,1,1,()=>{r=null}),ge())},i(o){t||(V(s),V(r),t=!0)},o(o){B(s),B(r),t=!1},d(o){o&&(T(e),T(l)),s&&s.d(o),r&&r.d(o)}}}function He(a){let e,l,t,s,r,o,c,g=p(a[0],"OVERLAP_TEXT")+"",w,m,z,_,f,u,E=p(a[0],"SYMPTOMS")+"",b,A,v,x,h=p(a[0],"SYMPTOM_SIX")+"",O,C,U,Y=p(a[0],"SYMPTOM_SEVEN")+"",oe,ye,W,H=p(a[0],"SYMPTOM_EIGHT")+"",ce,we,X,k=p(a[0],"POSSIBLE_FOLLOW_UP")+"",de,Le,I,j,J=p(a[0],"POSSIBLE_FOLLOW_UP_FOUR")+"",pe,ze,K,Q=p(a[0],"POSSIBLE_FOLLOW_UP_FIVE")+"",fe,Se,ee,le=p(a[0],"POSSIBLE_FOLLOW_UP_SIX")+"",ue,Ee,te,se=p(a[0],"POSSIBLE_FOLLOW_UP_SEVEN")+"",he,_e,ie,ne=p(a[0],"RELATED_RESEARCH_PAPERS")+"",ve,xe,q,Pe,ae;function Ae(y,R){return y[3]||y[4]?je:ke}let re=Ae(a),N=re(a);function Me(y,R){return y[3]?Qe:y[4]?Ke:Je}let me=Me(a),G=me(a);return{c(){e=d("div"),l=d("div"),t=d("div"),N.c(),s=L(),r=d("div"),o=d("b"),G.c(),c=L(),w=S(g),m=L(),z=d("hr"),_=L(),f=d("div"),u=d("h5"),b=S(E),A=L(),v=d("ul"),x=d("li"),O=S(h),C=L(),U=d("li"),oe=S(Y),ye=L(),W=d("li"),ce=S(H),we=L(),X=d("h5"),de=S(k),Le=L(),I=d("ul"),j=d("li"),pe=S(J),ze=L(),K=d("li"),fe=S(Q),Se=L(),ee=d("li"),ue=S(le),Ee=L(),te=d("li"),he=S(se),_e=L(),ie=d("h5"),ve=S(ne),xe=L(),q=d("a"),q.textContent="IgG N-Glycosylation Is Altered in Coronary Artery Disease",Pe=L(),ae=d("p"),ae.textContent="In the CAPIRE study, male and female participants aged 45 to 75 years without prior clinical manifestations of coronary artery disease (CAD) were assessed using coronary computed tomography angiography (CCTA). They were categorized into CAD-negative (clean coronaries) and CAD-positive (significant coronary atherosclerosis) based on CCTA findings, aligning with the AHA classification. This research paper aimed to explore the association between the N-glycome profile of immunoglobulin G (IgG) and CAD presence. Among the 198 women in the study, with an average age of 59.9 years, significant glycan alterations were noted, specifically an increase in G0 and a decrease in S.",$(t,"transform","translate(-50%)"),$(o,"color",a[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(z,"class","svelte-1285zfm"),n(u,"class","svelte-1285zfm"),n(x,"class","svelte-1285zfm"),n(U,"class","svelte-1285zfm"),n(W,"class","svelte-1285zfm"),n(v,"class","svelte-1285zfm"),n(X,"class","svelte-1285zfm"),n(j,"class","svelte-1285zfm"),n(K,"class","svelte-1285zfm"),n(ee,"class","svelte-1285zfm"),n(te,"class","svelte-1285zfm"),n(I,"class","svelte-1285zfm"),n(ie,"class","svelte-1285zfm"),n(q,"href","https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9953309/pdf/biomolecules-13-00375.pdf"),n(q,"class","svelte-1285zfm"),n(ae,"class","svelte-1285zfm"),n(f,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(y,R){M(y,e,R),i(e,l),i(l,t),N.m(t,null),i(l,s),i(l,r),i(r,o),G.m(o,null),i(r,c),i(r,w),i(e,m),i(e,z),i(e,_),i(e,f),i(f,u),i(u,b),i(f,A),i(f,v),i(v,x),i(x,O),i(v,C),i(v,U),i(U,oe),i(v,ye),i(v,W),i(W,ce),i(f,we),i(f,X),i(X,de),i(f,Le),i(f,I),i(I,j),i(j,pe),i(I,ze),i(I,K),i(K,fe),i(I,Se),i(I,ee),i(ee,ue),i(I,Ee),i(I,te),i(te,he),i(f,_e),i(f,ie),i(ie,ve),i(f,xe),i(f,q),i(f,Pe),i(f,ae)},p(y,R){re!==(re=Ae(y))&&(N.d(1),N=re(y),N&&(N.c(),N.m(t,null))),me===(me=Me(y))&&G?G.p(y,R):(G.d(1),G=me(y),G&&(G.c(),G.m(o,null))),R&8&&$(o,"color",y[3]?"#F2590D":"#12A195"),R&1&&g!==(g=p(y[0],"OVERLAP_TEXT")+"")&&P(w,g),R&1&&E!==(E=p(y[0],"SYMPTOMS")+"")&&P(b,E),R&1&&h!==(h=p(y[0],"SYMPTOM_SIX")+"")&&P(O,h),R&1&&Y!==(Y=p(y[0],"SYMPTOM_SEVEN")+"")&&P(oe,Y),R&1&&H!==(H=p(y[0],"SYMPTOM_EIGHT")+"")&&P(ce,H),R&1&&k!==(k=p(y[0],"POSSIBLE_FOLLOW_UP")+"")&&P(de,k),R&1&&J!==(J=p(y[0],"POSSIBLE_FOLLOW_UP_FOUR")+"")&&P(pe,J),R&1&&Q!==(Q=p(y[0],"POSSIBLE_FOLLOW_UP_FIVE")+"")&&P(fe,Q),R&1&&le!==(le=p(y[0],"POSSIBLE_FOLLOW_UP_SIX")+"")&&P(ue,le),R&1&&se!==(se=p(y[0],"POSSIBLE_FOLLOW_UP_SEVEN")+"")&&P(he,se),R&1&&ne!==(ne=p(y[0],"RELATED_RESEARCH_PAPERS")+"")&&P(ve,ne)},i:Z,o:Z,d(y){y&&T(e),N.d(),G.d()}}}function Xe(a){let e,l,t,s,r,o,c;function g(u,E){return u[3]||u[4]?ll:el}let w=g(a),m=w(a);function z(u,E){return u[3]?il:u[4]?sl:tl}let _=z(a),f=_(a);return{c(){e=d("div"),l=d("div"),t=d("b"),s=S(a[9]),r=S("/2"),o=L(),m.c(),c=S(`
2
+ \xA0\xA0
3
+ `),f.c(),$(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(u,E){M(u,e,E),i(e,l),i(l,t),i(t,s),i(t,r),i(e,o),m.m(e,null),i(e,c),f.m(e,null)},p(u,E){E&512&&P(s,u[9]),w===(w=g(u))&&m?m.p(u,E):(m.d(1),m=w(u),m&&(m.c(),m.m(e,c))),_===(_=z(u))&&f?f.p(u,E):(f.d(1),f=_(u),f&&(f.c(),f.m(e,null)))},i:Z,o:Z,d(u){u&&T(e),m.d(),f.d()}}}function Ie(a){let e,l,t,s,r,o,c,g,w=p(a[0],"GLYCAN")+"",m,z,_,f,u,E,b,A,v,x;return v=new Fe({props:{type:"right",percentile:a[8]}}),{c(){e=d("div"),l=d("div"),t=F("svg"),s=F("path"),o=L(),c=d("div"),g=d("div"),m=S(w),z=L(),_=d("b"),_.textContent="Mature (G0)",f=L(),u=d("div"),E=S(a[7]),b=L(),A=d("div"),$e(v.$$.fragment),n(s,"fill",r=a[8]<=68?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),$(c,"display","flex"),$(c,"flex-direction","column"),$(c,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),$(l,"font-size","0.8rem"),$(A,"width","70%"),$(A,"display","flex"),$(A,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(h,O){M(h,e,O),i(e,l),i(l,t),i(t,s),i(l,o),i(l,c),i(c,g),i(g,m),i(g,z),i(g,_),i(c,f),i(c,u),i(u,E),i(e,b),i(e,A),Re(v,A,null),x=!0},p(h,O){(!x||O&256&&r!==(r=h[8]<=68?"#12A195":"#F2590D"))&&n(s,"fill",r),(!x||O&1)&&w!==(w=p(h[0],"GLYCAN")+"")&&P(m,w),(!x||O&128)&&P(E,h[7]);const C={};O&256&&(C.percentile=h[8]),v.$set(C)},i(h){x||(V(v.$$.fragment,h),x=!0)},o(h){B(v.$$.fragment,h),x=!1},d(h){h&&T(e),be(v)}}}function Ge(a){let e,l,t,s,r,o,c,g,w=p(a[0],"GLYCAN")+"",m,z,_,f,u,E,b,A,v,x;return v=new Fe({props:{type:"left",percentile:a[8]}}),{c(){e=d("div"),l=d("div"),t=F("svg"),s=F("path"),o=L(),c=d("div"),g=d("div"),m=S(w),z=L(),_=d("b"),_.textContent="Shield (S)",f=L(),u=d("div"),E=S(a[7]),b=L(),A=d("div"),$e(v.$$.fragment),n(s,"fill",r=a[8]>=32?"#12A195":"#F2590D"),n(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),$(c,"display","flex"),$(c,"flex-direction","column"),$(c,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),$(l,"font-size","0.8rem"),$(A,"width","70%"),$(A,"display","flex"),$(A,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(h,O){M(h,e,O),i(e,l),i(l,t),i(t,s),i(l,o),i(l,c),i(c,g),i(g,m),i(g,z),i(g,_),i(c,f),i(c,u),i(u,E),i(e,b),i(e,A),Re(v,A,null),x=!0},p(h,O){(!x||O&256&&r!==(r=h[8]>=32?"#12A195":"#F2590D"))&&n(s,"fill",r),(!x||O&1)&&w!==(w=p(h[0],"GLYCAN")+"")&&P(m,w),(!x||O&128)&&P(E,h[7]);const C={};O&256&&(C.percentile=h[8]),v.$set(C)},i(h){x||(V(v.$$.fragment,h),x=!0)},o(h){B(v.$$.fragment,h),x=!1},d(h){h&&T(e),be(v)}}}function ke(a){let e,l;return{c(){e=F("svg"),l=F("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,s){M(t,e,s),i(e,l)},d(t){t&&T(e)}}}function je(a){let e,l;return{c(){e=F("svg"),l=F("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,s){M(t,e,s),i(e,l)},d(t){t&&T(e)}}}function Je(a){let e=p(a[0],"NO_OVERLAP_LONG")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"NO_OVERLAP_LONG")+"")&&P(l,e)},d(t){t&&T(l)}}}function Ke(a){let e=p(a[0],"MINOR_OVERLAP_LONG")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"MINOR_OVERLAP_LONG")+"")&&P(l,e)},d(t){t&&T(l)}}}function Qe(a){let e=p(a[0],"SOME_OVERLAP_LONG")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"SOME_OVERLAP_LONG")+"")&&P(l,e)},d(t){t&&T(l)}}}function el(a){let e,l;return{c(){e=F("svg"),l=F("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,s){M(t,e,s),i(e,l)},p:Z,d(t){t&&T(e)}}}function ll(a){let e,l,t;return{c(){e=F("svg"),l=F("path"),n(l,"fill",t=a[4]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(s,r){M(s,e,r),i(e,l)},p(s,r){r&16&&t!==(t=s[4]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(s){s&&T(e)}}}function tl(a){let e=p(a[0],"NO_OVERLAP")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"NO_OVERLAP")+"")&&P(l,e)},d(t){t&&T(l)}}}function sl(a){let e=p(a[0],"MINOR_OVERLAP")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"MINOR_OVERLAP")+"")&&P(l,e)},d(t){t&&T(l)}}}function il(a){let e=p(a[0],"SOME_OVERLAP")+"",l;return{c(){l=S(e)},m(t,s){M(t,l,s)},p(t,s){s&1&&e!==(e=p(t[0],"SOME_OVERLAP")+"")&&P(l,e)},d(t){t&&T(l)}}}function nl(a){let e,l,t,s,r,o;const c=[Xe,He,We],g=[];function w(m,z){return m[1]==="header"&&m[6]?0:m[1]==="summary"&&m[5]?1:2}return t=w(a),s=g[t]=c[t](a),{c(){e=d("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=L(),s.c(),r=Te()},m(m,z){M(m,e,z),M(m,l,z),g[t].m(m,z),M(m,r,z),o=!0},p(m,[z]){let _=t;t=w(m),t===_?g[t].p(m,z):(Oe(),B(g[_],1,1,()=>{g[_]=null}),ge(),s=g[t],s?s.p(m,z):(s=g[t]=c[t](m),s.c()),V(s,1),s.m(r.parentNode,r))},i(m){o||(V(s),o=!0)},o(m){B(s),o=!1},d(m){m&&(T(e),T(l),T(r)),g[t].d(m)}}}function al(a,e,l){let{lang:t}=e,{report:s}=e,{type:r}=e,{subtype:o}=e,{service:c=window.GaReportService}=e,g=[{name:"mature",csvName:"G0percentile"},{name:"shield",csvName:"Spercentile"}],w,m=!1,z=!1,_=!1,f=!1,u="",E=0,b=0,A=0,v=0;function x(){E>68&&l(9,v++,v),b<32&&l(9,v++,v)}const h=g.find(O=>O.name===o);return Ze(async()=>{w=await c.getReport(s),h&&(l(8,A=Number(w[h.csvName])),l(7,u=Ue(A,t))),E=Number(w.G0percentile),b=Number(w.Spercentile),x(),v===2&&l(3,m=!0),v===1&&l(4,z=!0),l(6,f=!0),l(5,_=!0)}),a.$$set=O=>{"lang"in O&&l(0,t=O.lang),"report"in O&&l(10,s=O.report),"type"in O&&l(1,r=O.type),"subtype"in O&&l(2,o=O.subtype),"service"in O&&l(11,c=O.service)},[t,r,o,m,z,_,f,u,A,v,s,c]}class Ve extends Ne{constructor(e){super(),Be(this,e,al,nl,qe,{lang:0,report:10,type:1,subtype:2,service:11},Ye)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),D()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),D()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),D()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),D()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),D()}}customElements.define("ga-coronary",Ce(Ve,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Ve as default};