@glycanage/web-components 1.37.0 → 1.38.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 x,t as I,p as O,k as t,j as m,g as w,l as r,m as P,n as Q,h as A,o as Y}from"./index2.js";import{s as R}from"./helpers.js";function T(n){let e,l,o;return{c(){e=d("div"),l=x(),o=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(o,"position","absolute"),t(o,"right","12px"),t(o,"top","8px"),t(o,"height","3px"),t(o,"width","24px"),t(o,"background-color","#DF2020"),t(o,"border-radius","4px"),t(o,"transform","rotate(-135deg)")},m(i,s){w(i,e,s),w(i,l,s),w(i,o,s)},d(i){i&&(A(e),A(l),A(o))}}}function U(n){let e,l,o;return{c(){e=d("div"),l=x(),o=d("div"),t(e,"position","absolute"),t(e,"left","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(45deg)"),t(o,"position","absolute"),t(o,"left","12px"),t(o,"top","8px"),t(o,"height","3px"),t(o,"width","24px"),t(o,"background-color","#DF2020"),t(o,"border-radius","4px"),t(o,"transform","rotate(-45deg)")},m(i,s){w(i,e,s),w(i,l,s),w(i,o,s)},d(i){i&&(A(e),A(l),A(o))}}}function _(n){let e,l,o,i,s,v,S,h,Z,k,q,B,E,C,G,F,H,g,J,p,D,y,z,M,j=R(n[0])+"",$,K,N,b,L,c=n[1]==="left"&&T(),u=n[1]==="right"&&U();return{c(){e=d("div"),l=d("div"),c&&c.c(),o=x(),i=d("div"),s=x(),v=d("div"),S=x(),h=d("div"),Z=x(),k=d("div"),q=x(),B=d("div"),E=x(),C=d("div"),G=x(),F=d("div"),H=x(),g=d("div"),u&&u.c(),J=x(),p=d("div"),D=d("div"),y=d("b"),z=I(n[0]),M=d("sup"),$=I(j),K=I(" percentile"),N=x(),b=O("svg"),L=O("path"),t(l,"position","relative"),t(l,"height","100%"),t(l,"flex","1"),t(l,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),t(l,"border-radius","4px"),t(i,"height","100%"),t(i,"flex","2"),t(i,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),t(i,"border-radius","4px"),t(v,"height","100%"),t(v,"flex","2"),t(v,"background-color",n[1]==="left"?"#F2800D":"#CADBD1"),t(v,"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",n[1]==="left"?"#CADBD1":"#F2800D"),t(C,"border-radius","4px"),t(F,"height","100%"),t(F,"flex","2"),t(F,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),t(F,"border-radius","4px"),t(g,"position","relative"),t(g,"height","100%"),t(g,"flex","1"),t(g,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),t(g,"border-radius","4px"),m(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"),m(L,"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"),m(L,"fill","#09371F"),m(b,"class","rotateImg"),t(b,"transform","rotate(180deg)"),m(b,"width","24%"),m(b,"height","24%"),m(b,"viewBox","0 0 42 37"),m(b,"fill","none"),m(b,"xmlns","http://www.w3.org/2000/svg"),t(p,"left",n[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(a,f){w(a,e,f),r(e,l),c&&c.m(l,null),r(e,o),r(e,i),r(e,s),r(e,v),r(e,S),r(e,h),r(e,Z),r(e,k),r(e,q),r(e,B),r(e,E),r(e,C),r(e,G),r(e,F),r(e,H),r(e,g),u&&u.m(g,null),r(e,J),r(e,p),r(p,D),r(D,y),r(y,z),r(y,M),r(M,$),r(y,K),r(p,N),r(p,b),r(b,L)},p(a,[f]){a[1]==="left"?c||(c=T(),c.c(),c.m(l,null)):c&&(c.d(1),c=null),f&2&&t(l,"background-color",a[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(i,"background-color",a[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(v,"background-color",a[1]==="left"?"#F2800D":"#CADBD1"),f&2&&t(C,"background-color",a[1]==="left"?"#CADBD1":"#F2800D"),f&2&&t(F,"background-color",a[1]==="left"?"#CADBD1":"#DF2020"),a[1]==="right"?u||(u=U(),u.c(),u.m(g,null)):u&&(u.d(1),u=null),f&2&&t(g,"background-color",a[1]==="left"?"#CADBD1":"#DF2020"),f&1&&P(z,a[0]),f&1&&j!==(j=R(a[0])+"")&&P($,j),f&1&&t(p,"left",a[0]+"%")},i:Q,o:Q,d(a){a&&A(e),c&&c.d(),u&&u.d()}}}function tt(n,e,l){let{percentile:o=0}=e,{type:i=""}=e;return Y(async()=>{console.log("type inside onMount",i)}),n.$$set=s=>{"percentile"in s&&l(0,o=s.percentile),"type"in s&&l(1,i=s.type)},[o,i]}class et extends V{constructor(e){super(),W(this,e,tt,_,X,{percentile:0,type:1})}}export{et as A};
1
+ import{S as V,i as W,s as X,e as d,b as x,t as M,p as O,k as t,j as m,g as w,l as r,m as P,n as Q,h as A}from"./index2.js";import{s as R}from"./helpers.js";function T(a){let e,l,o;return{c(){e=d("div"),l=x(),o=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(o,"position","absolute"),t(o,"right","12px"),t(o,"top","8px"),t(o,"height","3px"),t(o,"width","24px"),t(o,"background-color","#DF2020"),t(o,"border-radius","4px"),t(o,"transform","rotate(-135deg)")},m(i,p){w(i,e,p),w(i,l,p),w(i,o,p)},d(i){i&&(A(e),A(l),A(o))}}}function U(a){let e,l,o;return{c(){e=d("div"),l=x(),o=d("div"),t(e,"position","absolute"),t(e,"left","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(45deg)"),t(o,"position","absolute"),t(o,"left","12px"),t(o,"top","8px"),t(o,"height","3px"),t(o,"width","24px"),t(o,"background-color","#DF2020"),t(o,"border-radius","4px"),t(o,"transform","rotate(-45deg)")},m(i,p){w(i,e,p),w(i,l,p),w(i,o,p)},d(i){i&&(A(e),A(l),A(o))}}}function Y(a){let e,l,o,i,p,v,S,h,Z,k,q,B,E,C,G,F,H,D,J,s,b,y,z,$,j=R(a[0])+"",I,K,N,g,L,c=a[1]==="left"&&T(),u=a[1]==="right"&&U();return{c(){e=d("div"),l=d("div"),c&&c.c(),o=x(),i=d("div"),p=x(),v=d("div"),S=x(),h=d("div"),Z=x(),k=d("div"),q=x(),B=d("div"),E=x(),C=d("div"),G=x(),F=d("div"),H=x(),D=d("div"),u&&u.c(),J=x(),s=d("div"),b=d("div"),y=d("b"),z=M(a[0]),$=d("sup"),I=M(j),K=M(" percentile"),N=x(),g=O("svg"),L=O("path"),t(l,"position","relative"),t(l,"height","100%"),t(l,"flex","1"),t(l,"background-color",a[1]==="left"?"#DF2020":"#CADBD1"),t(l,"border-radius","4px"),t(i,"height","100%"),t(i,"flex","2"),t(i,"background-color",a[1]==="left"?"#DF2020":"#CADBD1"),t(i,"border-radius","4px"),t(v,"height","100%"),t(v,"flex","2"),t(v,"background-color",a[1]==="left"?"#F2800D":"#CADBD1"),t(v,"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",a[1]==="left"?"#CADBD1":"#F2800D"),t(C,"border-radius","4px"),t(F,"height","100%"),t(F,"flex","2"),t(F,"background-color",a[1]==="left"?"#CADBD1":"#DF2020"),t(F,"border-radius","4px"),t(D,"position","relative"),t(D,"height","100%"),t(D,"flex","1"),t(D,"background-color",a[1]==="left"?"#CADBD1":"#DF2020"),t(D,"border-radius","4px"),m(b,"class","message"),t(b,"color","#09341F"),t(b,"z-index","99999"),t(b,"min-width","100px"),t(b,"font-size","0.74rem"),t(b,"display","flex"),t(b,"justify-content","center"),m(L,"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"),m(L,"fill","#09371F"),m(g,"class","rotateImg"),t(g,"transform","rotate(180deg)"),m(g,"width","24%"),m(g,"height","24%"),m(g,"viewBox","0 0 42 37"),m(g,"fill","none"),m(g,"xmlns","http://www.w3.org/2000/svg"),t(s,"left",a[0]+"%"),t(s,"position","absolute"),t(s,"transform","translate(-50%, -100%)"),t(s,"display","flex"),t(s,"align-items","center"),t(s,"flex-direction","column"),t(s,"width","100px"),t(s,"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(n,f){w(n,e,f),r(e,l),c&&c.m(l,null),r(e,o),r(e,i),r(e,p),r(e,v),r(e,S),r(e,h),r(e,Z),r(e,k),r(e,q),r(e,B),r(e,E),r(e,C),r(e,G),r(e,F),r(e,H),r(e,D),u&&u.m(D,null),r(e,J),r(e,s),r(s,b),r(b,y),r(y,z),r(y,$),r($,I),r(y,K),r(s,N),r(s,g),r(g,L)},p(n,[f]){n[1]==="left"?c||(c=T(),c.c(),c.m(l,null)):c&&(c.d(1),c=null),f&2&&t(l,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(i,"background-color",n[1]==="left"?"#DF2020":"#CADBD1"),f&2&&t(v,"background-color",n[1]==="left"?"#F2800D":"#CADBD1"),f&2&&t(C,"background-color",n[1]==="left"?"#CADBD1":"#F2800D"),f&2&&t(F,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),n[1]==="right"?u||(u=U(),u.c(),u.m(D,null)):u&&(u.d(1),u=null),f&2&&t(D,"background-color",n[1]==="left"?"#CADBD1":"#DF2020"),f&1&&P(z,n[0]),f&1&&j!==(j=R(n[0])+"")&&P(I,j),f&1&&t(s,"left",n[0]+"%")},i:Q,o:Q,d(n){n&&A(e),c&&c.d(),u&&u.d()}}}function _(a,e,l){let{percentile:o=0}=e,{type:i=""}=e;return a.$$set=p=>{"percentile"in p&&l(0,o=p.percentile),"type"in p&&l(1,i=p.type)},[o,i]}class tt extends V{constructor(e){super(),W(this,e,_,Y,X,{percentile:0,type:1})}}export{tt as A};
@@ -1,16 +1,2 @@
1
- import{c as Gi,S as Pi,i as $i,f as Je,s as Si,a as Zi,e as t,b as v,d as Et,g as f,n as Rt,h as L,o as qi,t as u,j as l,k as a,l as e,m as y,p as U}from"./index2.js";import{s as W,m as X,g as ee,a as te,b as ie}from"./helpers.js";function Ei(r){Zi(r,"svelte-c6zpti",".main.svelte-c6zpti{width:450px;height:300px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-c6zpti{width:500px;height:555px;border-radius:10px}.summaryHeader.svelte-c6zpti{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-c6zpti{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-c6zpti{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-c6zpti{width:14%;height:100%;margin-left:1.5rem;font-size:0.7rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-c6zpti{width:86%;height:100%;position:relative}.min.svelte-c6zpti{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-c6zpti{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-c6zpti{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-c6zpti{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-c6zpti{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-c6zpti{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-c6zpti{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-c6zpti{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-c6zpti{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-c6zpti{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-c6zpti{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-c6zpti{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-c6zpti{width:100%;height:100%;display:flex;align-items:center}")}function Ri(r){let i,s,n,p,c,d,o,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S=W(r[4])+"",Z,A,x,q,ge,ae,xe,Me,B,ke,Ke,Qe,jt,Ne,Ue,We,Ot,F,Xe,Ft,et,Vt,Le,Yt,V,de,Ce,ue,tt,It,it,st,De=W(r[8])+"",lt,_t,Jt,rt,Kt,ye,Be,Qt,oe,Ge,at,dt,Ut,Pe,ot,nt,Wt,Y,ct,Xt,pt,ei,Ae,ti,I,ne,$e,be,vt,ii,mt,gt,Se=W(r[12])+"",ut,si,li,bt,ri,we,Ze,ai,ce,qe,ht,zt,di,Ee,xt,yt,oi,_,wt,ni,ft,ci,Te,pi,J,pe,Re,he,Lt,vi,At,Tt,je=W(r[16])+"",Ht,mi,gi,Mt,ui,fe,Oe,bi,ve,Fe,kt,Nt,hi,Ve,Ct,Dt,zi,K,Bt,xi,Gt,yi,He,wi,Q,me,Ye,ze,Pt,fi,$t,St,Ie=W(r[20])+"",Zt,Li,Ai,qt,Ti,_e;return{c(){i=t("div"),s=t("div"),n=t("div"),n.innerHTML="Glycan<br/> <b>Mature</b>",p=v(),c=t("div"),d=t("div"),o=t("b"),b=u(r[1]),h=v(),z=t("div"),M=t("b"),se=u(r[2]),w=v(),H=t("div"),C=t("div"),E=v(),le=t("div"),R=v(),T=t("div"),j=v(),G=t("div"),k=t("div"),N=t("div"),P=t("b"),re=u(r[3]),O=u(" ("),D=u(r[4]),$=t("sup"),Z=u(S),A=u(" percentile)"),x=v(),q=t("div"),ge=v(),ae=t("div"),xe=t("div"),xe.innerHTML="Glycan<br/> <b>Median</b>",Me=v(),B=t("div"),ke=t("div"),Ke=t("b"),Qe=u(r[5]),jt=v(),Ne=t("div"),Ue=t("b"),We=u(r[6]),Ot=v(),F=t("div"),Xe=t("div"),Ft=v(),et=t("div"),Vt=v(),Le=t("div"),Yt=v(),V=t("div"),de=t("div"),Ce=t("div"),ue=t("b"),tt=u(r[7]),It=u(" ("),it=u(r[8]),st=t("sup"),lt=u(De),_t=u(" percentile)"),Jt=v(),rt=t("div"),Kt=v(),ye=t("div"),Be=t("div"),Be.innerHTML="Glycan<br/> <b>Youth</b>",Qt=v(),oe=t("div"),Ge=t("div"),at=t("b"),dt=u(r[9]),Ut=v(),Pe=t("div"),ot=t("b"),nt=u(r[10]),Wt=v(),Y=t("div"),ct=t("div"),Xt=v(),pt=t("div"),ei=v(),Ae=t("div"),ti=v(),I=t("div"),ne=t("div"),$e=t("div"),be=t("b"),vt=u(r[11]),ii=u(" ("),mt=u(r[12]),gt=t("sup"),ut=u(Se),si=u(" percentile)"),li=v(),bt=t("div"),ri=v(),we=t("div"),Ze=t("div"),Ze.innerHTML="Glycan<br/> <b>Shield</b>",ai=v(),ce=t("div"),qe=t("div"),ht=t("b"),zt=u(r[13]),di=v(),Ee=t("div"),xt=t("b"),yt=u(r[14]),oi=v(),_=t("div"),wt=t("div"),ni=v(),ft=t("div"),ci=v(),Te=t("div"),pi=v(),J=t("div"),pe=t("div"),Re=t("div"),he=t("b"),Lt=u(r[15]),vi=u(" ("),At=u(r[16]),Tt=t("sup"),Ht=u(je),mi=u(" percentile)"),gi=v(),Mt=t("div"),ui=v(),fe=t("div"),Oe=t("div"),Oe.innerHTML="Glycan<br/> <b>Lifestyle</b>",bi=v(),ve=t("div"),Fe=t("div"),kt=t("b"),Nt=u(r[17]),hi=v(),Ve=t("div"),Ct=t("b"),Dt=u(r[18]),zi=v(),K=t("div"),Bt=t("div"),xi=v(),Gt=t("div"),yi=v(),He=t("div"),wi=v(),Q=t("div"),me=t("div"),Ye=t("div"),ze=t("b"),Pt=u(r[19]),fi=u(" ("),$t=u(r[20]),St=t("sup"),Zt=u(Ie),Li=u(" percentile)"),Ai=v(),qt=t("div"),Ti=v(),_e=t("div"),_e.innerHTML='<div class="dot1 svelte-c6zpti"></div> <div style="font-size: 0.8rem;">Atherosclerosis</div> <div class="dot2 svelte-c6zpti"></div> <div style="font-size: 0.8rem;">Your patient</div>',l(n,"class","label svelte-c6zpti"),l(d,"class","min svelte-c6zpti"),l(z,"class","max svelte-c6zpti"),l(C,"class","xAxis svelte-c6zpti"),l(le,"class","yAxis svelte-c6zpti"),l(T,"class","diseaseArea svelte-c6zpti"),a(T,"border-radius","0 6px 6px 0"),a(T,"left","50.3%"),l(N,"class","message svelte-c6zpti"),l(q,"class","triangle-down svelte-c6zpti"),l(k,"class","resultDisplay svelte-c6zpti"),a(k,"right",X(r[4])),l(G,"class","result svelte-c6zpti"),a(G,"padding",ee(r[4])),a(G,"margin",te(r[4])),a(G,"border-radius",ie(r[4])),l(H,"class","middleParent svelte-c6zpti"),l(c,"class","content svelte-c6zpti"),l(s,"class","row svelte-c6zpti"),l(xe,"class","label svelte-c6zpti"),l(ke,"class","min svelte-c6zpti"),l(Ne,"class","max svelte-c6zpti"),l(Xe,"class","xAxis svelte-c6zpti"),l(et,"class","yAxis svelte-c6zpti"),l(Le,"class","diseaseArea svelte-c6zpti"),a(Le,"border-radius","6px 0 0 6px"),a(Le,"right","50.3%"),l(Ce,"class","message svelte-c6zpti"),l(rt,"class","triangle-down svelte-c6zpti"),l(de,"class","resultDisplay svelte-c6zpti"),a(de,"right",X(r[8])),l(V,"class","result2 svelte-c6zpti"),a(V,"padding",ee(r[8])),a(V,"margin",te(r[8])),a(V,"border-radius",ie(r[8])),l(F,"class","middleParent svelte-c6zpti"),l(B,"class","content svelte-c6zpti"),l(ae,"class","row svelte-c6zpti"),l(Be,"class","label svelte-c6zpti"),l(Ge,"class","min svelte-c6zpti"),l(Pe,"class","max svelte-c6zpti"),l(ct,"class","xAxis svelte-c6zpti"),l(pt,"class","yAxis svelte-c6zpti"),l(Ae,"class","diseaseArea svelte-c6zpti"),a(Ae,"border-radius","6px 0 0 6px"),a(Ae,"right","50.3%"),l($e,"class","message svelte-c6zpti"),l(bt,"class","triangle-down svelte-c6zpti"),l(ne,"class","resultDisplay svelte-c6zpti"),a(ne,"right",X(r[12])),l(I,"class","result3 svelte-c6zpti"),a(I,"padding",ee(r[12])),a(I,"margin",te(r[12])),a(I,"border-radius",ie(r[12])),l(Y,"class","middleParent svelte-c6zpti"),l(oe,"class","content svelte-c6zpti"),l(ye,"class","row svelte-c6zpti"),l(Ze,"class","label svelte-c6zpti"),l(qe,"class","min svelte-c6zpti"),l(Ee,"class","max svelte-c6zpti"),l(wt,"class","xAxis svelte-c6zpti"),l(ft,"class","yAxis svelte-c6zpti"),l(Te,"class","diseaseArea svelte-c6zpti"),a(Te,"border-radius","6px 0 0 6px"),a(Te,"right","50.3%"),l(Re,"class","message svelte-c6zpti"),l(Mt,"class","triangle-down svelte-c6zpti"),l(pe,"class","resultDisplay svelte-c6zpti"),a(pe,"right",X(r[16])),l(J,"class","result3 svelte-c6zpti"),a(J,"padding",ee(r[16])),a(J,"margin",te(r[16])),a(J,"border-radius",ie(r[16])),l(_,"class","middleParent svelte-c6zpti"),l(ce,"class","content svelte-c6zpti"),l(we,"class","row svelte-c6zpti"),l(Oe,"class","label svelte-c6zpti"),l(Fe,"class","min svelte-c6zpti"),l(Ve,"class","max svelte-c6zpti"),l(Bt,"class","xAxis svelte-c6zpti"),l(Gt,"class","yAxis svelte-c6zpti"),l(He,"class","diseaseArea svelte-c6zpti"),a(He,"border-radius","0 6px 6px 0"),a(He,"left","50.3%"),l(Ye,"class","message svelte-c6zpti"),l(qt,"class","triangle-down svelte-c6zpti"),l(me,"class","resultDisplay svelte-c6zpti"),a(me,"right",X(r[20])),l(Q,"class","result3 svelte-c6zpti"),a(Q,"padding",ee(r[20])),a(Q,"margin",te(r[20])),a(Q,"border-radius",ie(r[20])),l(K,"class","middleParent svelte-c6zpti"),l(ve,"class","content svelte-c6zpti"),l(fe,"class","row svelte-c6zpti"),l(_e,"class","lastRow svelte-c6zpti"),l(i,"class","main svelte-c6zpti")},m(m,g){f(m,i,g),e(i,s),e(s,n),e(s,p),e(s,c),e(c,d),e(d,o),e(o,b),e(c,h),e(c,z),e(z,M),e(M,se),e(c,w),e(c,H),e(H,C),e(H,E),e(H,le),e(H,R),e(H,T),e(H,j),e(H,G),e(G,k),e(k,N),e(N,P),e(P,re),e(P,O),e(P,D),e(P,$),e($,Z),e(P,A),e(k,x),e(k,q),e(i,ge),e(i,ae),e(ae,xe),e(ae,Me),e(ae,B),e(B,ke),e(ke,Ke),e(Ke,Qe),e(B,jt),e(B,Ne),e(Ne,Ue),e(Ue,We),e(B,Ot),e(B,F),e(F,Xe),e(F,Ft),e(F,et),e(F,Vt),e(F,Le),e(F,Yt),e(F,V),e(V,de),e(de,Ce),e(Ce,ue),e(ue,tt),e(ue,It),e(ue,it),e(ue,st),e(st,lt),e(ue,_t),e(de,Jt),e(de,rt),e(i,Kt),e(i,ye),e(ye,Be),e(ye,Qt),e(ye,oe),e(oe,Ge),e(Ge,at),e(at,dt),e(oe,Ut),e(oe,Pe),e(Pe,ot),e(ot,nt),e(oe,Wt),e(oe,Y),e(Y,ct),e(Y,Xt),e(Y,pt),e(Y,ei),e(Y,Ae),e(Y,ti),e(Y,I),e(I,ne),e(ne,$e),e($e,be),e(be,vt),e(be,ii),e(be,mt),e(be,gt),e(gt,ut),e(be,si),e(ne,li),e(ne,bt),e(i,ri),e(i,we),e(we,Ze),e(we,ai),e(we,ce),e(ce,qe),e(qe,ht),e(ht,zt),e(ce,di),e(ce,Ee),e(Ee,xt),e(xt,yt),e(ce,oi),e(ce,_),e(_,wt),e(_,ni),e(_,ft),e(_,ci),e(_,Te),e(_,pi),e(_,J),e(J,pe),e(pe,Re),e(Re,he),e(he,Lt),e(he,vi),e(he,At),e(he,Tt),e(Tt,Ht),e(he,mi),e(pe,gi),e(pe,Mt),e(i,ui),e(i,fe),e(fe,Oe),e(fe,bi),e(fe,ve),e(ve,Fe),e(Fe,kt),e(kt,Nt),e(ve,hi),e(ve,Ve),e(Ve,Ct),e(Ct,Dt),e(ve,zi),e(ve,K),e(K,Bt),e(K,xi),e(K,Gt),e(K,yi),e(K,He),e(K,wi),e(K,Q),e(Q,me),e(me,Ye),e(Ye,ze),e(ze,Pt),e(ze,fi),e(ze,$t),e(ze,St),e(St,Zt),e(ze,Li),e(me,Ai),e(me,qt),e(i,Ti),e(i,_e)},p(m,g){g[0]&2&&y(b,m[1]),g[0]&4&&y(se,m[2]),g[0]&8&&y(re,m[3]),g[0]&16&&y(D,m[4]),g[0]&16&&S!==(S=W(m[4])+"")&&y(Z,S),g[0]&16&&a(k,"right",X(m[4])),g[0]&16&&a(G,"padding",ee(m[4])),g[0]&16&&a(G,"margin",te(m[4])),g[0]&16&&a(G,"border-radius",ie(m[4])),g[0]&32&&y(Qe,m[5]),g[0]&64&&y(We,m[6]),g[0]&128&&y(tt,m[7]),g[0]&256&&y(it,m[8]),g[0]&256&&De!==(De=W(m[8])+"")&&y(lt,De),g[0]&256&&a(de,"right",X(m[8])),g[0]&256&&a(V,"padding",ee(m[8])),g[0]&256&&a(V,"margin",te(m[8])),g[0]&256&&a(V,"border-radius",ie(m[8])),g[0]&512&&y(dt,m[9]),g[0]&1024&&y(nt,m[10]),g[0]&2048&&y(vt,m[11]),g[0]&4096&&y(mt,m[12]),g[0]&4096&&Se!==(Se=W(m[12])+"")&&y(ut,Se),g[0]&4096&&a(ne,"right",X(m[12])),g[0]&4096&&a(I,"padding",ee(m[12])),g[0]&4096&&a(I,"margin",te(m[12])),g[0]&4096&&a(I,"border-radius",ie(m[12])),g[0]&8192&&y(zt,m[13]),g[0]&16384&&y(yt,m[14]),g[0]&32768&&y(Lt,m[15]),g[0]&65536&&y(At,m[16]),g[0]&65536&&je!==(je=W(m[16])+"")&&y(Ht,je),g[0]&65536&&a(pe,"right",X(m[16])),g[0]&65536&&a(J,"padding",ee(m[16])),g[0]&65536&&a(J,"margin",te(m[16])),g[0]&65536&&a(J,"border-radius",ie(m[16])),g[0]&131072&&y(Nt,m[17]),g[0]&262144&&y(Dt,m[18]),g[0]&524288&&y(Pt,m[19]),g[0]&1048576&&y($t,m[20]),g[0]&1048576&&Ie!==(Ie=W(m[20])+"")&&y(Zt,Ie),g[0]&1048576&&a(me,"right",X(m[20])),g[0]&1048576&&a(Q,"padding",ee(m[20])),g[0]&1048576&&a(Q,"margin",te(m[20])),g[0]&1048576&&a(Q,"border-radius",ie(m[20]))},d(m){m&&L(i)}}}function ji(r){let i,s=r[24]&&Hi(r);return{c(){s&&s.c(),i=Et()},m(n,p){s&&s.m(n,p),f(n,i,p)},p(n,p){n[24]?s?s.p(n,p):(s=Hi(n),s.c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(n){n&&L(i),s&&s.d(n)}}}function Oi(r){let i,s,n,p=r[21]&&Ni(r),c=r[22]&&Ci(r),d=r[23]&&Di(r);return{c(){i=t("div"),p&&p.c(),s=v(),c&&c.c(),n=v(),d&&d.c(),l(i,"class","header svelte-c6zpti")},m(o,b){f(o,i,b),p&&p.m(i,null),e(i,s),c&&c.m(i,null),e(i,n),d&&d.m(i,null)},p(o,b){o[21]?p?p.p(o,b):(p=Ni(o),p.c(),p.m(i,s)):p&&(p.d(1),p=null),o[22]?c?c.p(o,b):(c=Ci(o),c.c(),c.m(i,n)):c&&(c.d(1),c=null),o[23]?d?d.p(o,b):(d=Di(o),d.c(),d.m(i,null)):d&&(d.d(1),d=null)},d(o){o&&L(i),p&&p.d(),c&&c.d(),d&&d.d()}}}function Hi(r){let i;function s(c,d){return c[23]?Vi:Fi}let n=s(r),p=n(r);return{c(){p.c(),i=Et()},m(c,d){p.m(c,d),f(c,i,d)},p(c,d){n===(n=s(c))&&p?p.p(c,d):(p.d(1),p=n(c),p&&(p.c(),p.m(i.parentNode,i)))},d(c){c&&L(i),p.d(c)}}}function Fi(r){let i,s,n,p,c,d,o,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S,Z,A=r[21]&&Mi(),x=r[22]&&ki();return{c(){i=t("div"),s=t("div"),n=t("div"),A&&A.c(),p=v(),x&&x.c(),c=v(),d=t("div"),o=u("There is "),b=t("b"),b.textContent=`${r[29]()}`,h=u(" of glycan indexes between "),z=t("br"),M=u(` your patient and atherosclerosis
2
- patients.`),se=v(),w=t("div"),H=t("div"),H.textContent="Symptoms to check for:",C=v(),E=t("div"),E.innerHTML="<b>Symptoms of coronary artery disease:</b> Occasional self-resolving chest pain, <br/> breathlessness.",le=v(),R=t("div"),R.innerHTML="<b>Symptoms of peripheral artery disease:</b> Pain in legs that worsens with <br/> physical activity and improves with rest.",T=v(),j=t("div"),j.innerHTML="<b>Chronic kidney disease:</b> Asymptomatic until later stages (when presents <br/> with fatigue, weight loss, nausea, skin changes).",G=v(),k=t("div"),k.textContent="Possible follow-up tests:",N=v(),P=t("div"),P.innerHTML=`<b>Blood Tests:</b> Basic (LDL-C, HDL-C, total cholesterol, total cholesterol:HDL-C <br/>
3
- ratio, non-HDL-C, triglycerides) and extended lipid profile (e.g., oxLDL, <br/>
4
- VLDL, LDL-P, Lp(a), ApoB, Lp-PLA2), hsCRP, homocysteine, renal and liver <br/>
5
- function, glucose/HbA1c.`,re=v(),O=t("div"),O.innerHTML="<b>Blood pressure check.</b>",D=v(),$=t("div"),$.innerHTML="<b>ECG.</b>",S=v(),Z=t("div"),Z.innerHTML=`Referral to cardiologist for other diagnostics (e.g., cardiac echo, stress <br/>
6
- echo, CT coronary artery calcium, coronary angiography, carotid artery <br/>
7
- ultrasound, etc.).`,a(n,"width","10%"),a(n,"padding-left","1.5rem"),a(n,"padding-right","1rem"),a(d,"width","90%"),l(s,"class","summaryHeader svelte-c6zpti"),a(s,"border-radius","8px 8px 0 0"),a(s,"background-color",r[27]()),a(s,"border-bottom","2px solid "+r[26]()),a(H,"font-size","1.2rem"),a(H,"padding-bottom","1rem"),a(E,"font-size","0.7rem"),a(E,"padding-bottom","0.4rem"),a(R,"font-size","0.7rem"),a(R,"padding-bottom","0.4rem"),a(j,"font-size","0.7rem"),a(j,"padding-bottom","0.4rem"),a(k,"font-size","1.2rem"),a(k,"padding-top","1.2rem"),a(k,"padding-bottom","1rem"),a(P,"font-size","0.7rem"),a(P,"padding-bottom","0.4rem"),a(O,"font-size","0.7rem"),a(O,"padding-bottom","0.4rem"),a($,"font-size","0.7rem"),a($,"padding-bottom","0.4rem"),a(Z,"font-size","0.7rem"),a(Z,"padding-bottom","0.4rem"),l(w,"class","summaryBody svelte-c6zpti"),a(w,"background-color",r[28]()),l(i,"class","summaryMain svelte-c6zpti"),a(i,"border","2px solid "+r[26]())},m(q,ge){f(q,i,ge),e(i,s),e(s,n),A&&A.m(n,null),e(n,p),x&&x.m(n,null),e(s,c),e(s,d),e(d,o),e(d,b),e(d,h),e(d,z),e(d,M),e(i,se),e(i,w),e(w,H),e(w,C),e(w,E),e(w,le),e(w,R),e(w,T),e(w,j),e(w,G),e(w,k),e(w,N),e(w,P),e(w,re),e(w,O),e(w,D),e(w,$),e(w,S),e(w,Z)},p(q,ge){q[21]?A||(A=Mi(),A.c(),A.m(n,p)):A&&(A.d(1),A=null),q[22]?x||(x=ki(),x.c(),x.m(n,null)):x&&(x.d(1),x=null)},d(q){q&&L(i),A&&A.d(),x&&x.d()}}}function Vi(r){let i;return{c(){i=t("div"),i.innerHTML=`<div class="summaryHeader svelte-c6zpti" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
8
- atherosclerosis patients.</div></div> <div class="summaryBody svelte-c6zpti" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symptoms of coronary artery disease:</b> Occasional self-resolving chest pain, <br/> breathlessness.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symptoms of peripheral artery disease:</b> Pain in legs that worsens with <br/> physical activity and improves with rest.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Chronic kidney disease:</b> Asymptomatic until later stages (when presents <br/> with fatigue, weight loss, nausea, skin changes).</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood Tests:</b> Basic (LDL-C, HDL-C, total cholesterol, total cholesterol:HDL-C <br/>
9
- ratio, non-HDL-C, triglycerides) and extended lipid profile (e.g., oxLDL, <br/>
10
- VLDL, LDL-P, Lp(a), ApoB, Lp-PLA2), hsCRP, homocysteine, renal and liver <br/>
11
- function, glucose/HbA1c.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood pressure check.</b></div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>ECG.</b></div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;">Referral to cardiologist for other diagnostics (e.g., cardiac echo, stress <br/>
12
- echo, CT coronary artery calcium, coronary angiography, carotid artery <br/>
13
- ultrasound, etc.).</div></div>`,l(i,"class","summaryMain svelte-c6zpti")},m(s,n){f(s,i,n)},p:Rt,d(s){s&&L(i)}}}function Mi(r){let i,s;return{c(){i=U("svg"),s=U("path"),l(s,"fill","#CC0000"),l(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"),l(i,"xmlns","http://www.w3.org/2000/svg"),l(i,"width","50"),l(i,"height","50"),l(i,"viewBox","0 0 24 24")},m(n,p){f(n,i,p),e(i,s)},d(n){n&&L(i)}}}function ki(r){let i,s;return{c(){i=U("svg"),s=U("path"),l(s,"fill","#EE9933"),l(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(i,"xmlns","http://www.w3.org/2000/svg"),l(i,"width","50"),l(i,"height","50"),l(i,"viewBox","0 0 24 24")},m(n,p){f(n,i,p),e(i,s)},d(n){n&&L(i)}}}function Ni(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
14
- \xA0 Some overlap`),a(i,"padding-right","10px"),l(o,"fill","#F2590D"),l(o,"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"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Ci(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
15
- \xA0 Minor overlap`),a(i,"padding-right","10px"),l(o,"fill","#FFAA00"),l(o,"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"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Di(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
16
- \xA0 No significant overlap`),a(i,"padding-right","10px"),l(o,"fill","#12A195"),l(o,"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"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Yi(r){let i,s,n;function p(o,b){return o[0]==="header"?Oi:o[0]==="summary"?ji:Ri}let c=p(r),d=c(r);return{c(){i=t("head"),i.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=v(),d.c(),n=Et()},m(o,b){f(o,i,b),f(o,s,b),d.m(o,b),f(o,n,b)},p(o,b){c===(c=p(o))&&d?d.p(o,b):(d.d(1),d=c(o),d&&(d.c(),d.m(n.parentNode,n)))},i:Rt,o:Rt,d(o){o&&(L(i),L(s),L(n)),d.d(o)}}}function Ii(r,i,s){let{language:n}=i,{report:p}=i,{type:c}=i,{service:d=window.GaReportService}=i,o,b=0,h=0,z=0,M=0,se=0,w=0,H=0,C=0,E=0,le=0,R=0,T=0,j=0,G=0,k=0,N=0,P=0,re=0,O=0,D=0,$=!1,S=!1,Z=!1,A=!1,x=0;function q(){return $?"#CC0000":S?"#EE9933":"#00AA44"}function ge(){return $?"rgba(204,0,0,0.15)":S?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function ae(){return $?"rgba(204,0,0,0.05)":S?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function xe(){return $?"some overlap":S?"a minor overlap":"no significant overlap"}function Me(){M>50&&s(25,x++,x),C<50&&s(25,x++,x),T<50&&s(25,x++,x),N<50&&s(25,x++,x),D>50&&s(25,x++,x)}return qi(async()=>{if(o=await d.getReport(p),s(1,b=Number(o.G0xmin)),s(2,h=Number(o.G0xmax)),s(3,z=Number(o.G0yourscore)),s(4,M=Number(o.G0percentile)),s(5,se=Number(o.G1xmin)),s(6,w=Number(o.G1xmax)),s(7,H=Number(o.G1yourscore)),s(8,C=Number(o.G1percentile)),s(9,E=Number(o.G2xmin)),s(10,le=Number(o.G2xmax)),s(11,R=Number(o.G2yourscore)),s(12,T=Number(o.G2percentile)),s(13,j=Number(o.Sxmin)),s(14,G=Number(o.Sxmax)),s(15,k=Number(o.Syourscore)),s(16,N=Number(o.Spercentile)),s(17,P=Number(o.Bxmin)),s(18,re=Number(o.Bxmax)),s(19,O=Number(o.Byourscore)),s(20,D=Number(o.Bpercentile)),Me(),M>50&&C<50&&T<50&&N<50&&D>50){s(21,$=!0),s(24,A=!0);return}if(M>50||C<50||T<50||N<50||D>50){if(M>50&&C<50&&T<50||M>50&&C<50&&N<50||M>50&&C<50&&D>50||M>50&&T<50&&N<50||M>50&&T<50&&D>50||M>50&&N<50&&D>50||C<50&&T<50&&N<50||C<50&&T<50&&D>50||T<50&&N<50&&D>50){s(22,S=!0),s(24,A=!0);return}s(23,Z=!0),s(24,A=!0);return}s(23,Z=!0),s(24,A=!0)}),r.$$set=B=>{"language"in B&&s(30,n=B.language),"report"in B&&s(31,p=B.report),"type"in B&&s(0,c=B.type),"service"in B&&s(32,d=B.service)},[c,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S,Z,A,x,q,ge,ae,xe,n,p,d]}class Bi extends Pi{constructor(i){super(),$i(this,i,Ii,Yi,Si,{language:30,report:31,type:0,service:32},Ei,[-1,-1])}get language(){return this.$$.ctx[30]}set language(i){this.$$set({language:i}),Je()}get report(){return this.$$.ctx[31]}set report(i){this.$$set({report:i}),Je()}get type(){return this.$$.ctx[0]}set type(i){this.$$set({type:i}),Je()}get service(){return this.$$.ctx[32]}set service(i){this.$$set({service:i}),Je()}}customElements.define("ga-atherosclerosis",Gi(Bi,{language:{},report:{},type:{},service:{}},[],[],!0));export{Bi as default};
1
+ import{c as Q,S as X,i as _,f as R,s as ee,a as le,e as w,b as L,d as P,g as k,q as M,r as B,u as T,h as q,o as te,v as F,t as G,k as b,j as r,l as s,m as D,n as V,p as Z,w as C,x as S,y as z}from"./index2.js";import{A as H}from"./Arrow.js";import{c as ie}from"./helpers.js";function ne(p){le(p,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function se(p){let e,l,t,c,f,$,i=p[1]==="mature"&&E(p),m=p[1]==="median"&&O(p),u=p[1]==="youth"&&U(p),o=p[1]==="shield"&&K(p),h=p[1]==="lifestyle"&&W(p);return{c(){i&&i.c(),e=L(),m&&m.c(),l=L(),u&&u.c(),t=L(),o&&o.c(),c=L(),h&&h.c(),f=P()},m(d,n){i&&i.m(d,n),k(d,e,n),m&&m.m(d,n),k(d,l,n),u&&u.m(d,n),k(d,t,n),o&&o.m(d,n),k(d,c,n),h&&h.m(d,n),k(d,f,n),$=!0},p(d,n){d[1]==="mature"?i?(i.p(d,n),n&2&&T(i,1)):(i=E(d),i.c(),T(i,1),i.m(e.parentNode,e)):i&&(F(),M(i,1,1,()=>{i=null}),B()),d[1]==="median"?m?(m.p(d,n),n&2&&T(m,1)):(m=O(d),m.c(),T(m,1),m.m(l.parentNode,l)):m&&(F(),M(m,1,1,()=>{m=null}),B()),d[1]==="youth"?u?(u.p(d,n),n&2&&T(u,1)):(u=U(d),u.c(),T(u,1),u.m(t.parentNode,t)):u&&(F(),M(u,1,1,()=>{u=null}),B()),d[1]==="shield"?o?(o.p(d,n),n&2&&T(o,1)):(o=K(d),o.c(),T(o,1),o.m(c.parentNode,c)):o&&(F(),M(o,1,1,()=>{o=null}),B()),d[1]==="lifestyle"?h?(h.p(d,n),n&2&&T(h,1)):(h=W(d),h.c(),T(h,1),h.m(f.parentNode,f)):h&&(F(),M(h,1,1,()=>{h=null}),B())},i(d){$||(T(i),T(m),T(u),T(o),T(h),$=!0)},o(d){M(i),M(m),M(u),M(o),M(h),$=!1},d(d){d&&(q(e),q(l),q(t),q(c),q(f)),i&&i.d(d),m&&m.d(d),u&&u.d(d),o&&o.d(d),h&&h.d(d)}}}function re(p){let e,l,t,c,f,$,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",m,u,o,h,d,n;function v(y,x){return y[2]||y[3]?oe:de}let g=v(p),a=g(p);return{c(){e=w("div"),l=w("div"),t=w("div"),a.c(),c=L(),f=w("div"),$=w("b"),m=G(i),u=G(" of glycan indexes between "),o=w("br"),h=G(" your patient and this condition."),d=L(),n=w("div"),n.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li> <li>Signs of coronary artery disease (e.g., self-resolving chest pain, bearthlessness)</li> <li>Signs of peripheral artery disease (e.g., leg pain during activity)</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>\xA0Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li>BP check</li> <li>ECG</li> <li>Cardiology referral for other tests (e.g., coronary artery calcium score)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5970566/pdf/res-122-1555.pdf">Glycosylation Profile of Immunoglobulin G Is Cross-Sectionally Associated With Cardiovascular Disease Risk Score and Subclinical Atherosclerosis in Two Independent Cohorts</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">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>',b(t,"transform","translate(-50%)"),b($,"color",p[2]||p[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-yt1d5k"),r(n,"class","summaryBody svelte-yt1d5k"),r(e,"class","summaryMain svelte-yt1d5k")},m(y,x){k(y,e,x),s(e,l),s(l,t),a.m(t,null),s(l,c),s(l,f),s(f,$),s($,m),s(f,u),s(f,o),s(f,h),s(e,d),s(e,n)},p(y,x){g!==(g=v(y))&&(a.d(1),a=g(y),a&&(a.c(),a.m(t,null))),x&12&&i!==(i=y[2]?"Major overlap":y[3]?"Some overlap":"No significant overlap")&&D(m,i),x&12&&b($,"color",y[2]||y[3]?"#F2590D":"#12A195")},i:V,o:V,d(y){y&&q(e),a.d()}}}function ae(p){let e,l,t,c,f,$,i,m=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",u;function o(n,v){return n[2]||n[3]?me:ce}let h=o(p),d=h(p);return{c(){e=w("div"),l=w("div"),t=w("b"),c=G(p[8]),f=G("/5"),$=L(),d.c(),i=G(`
2
+ \xA0\xA0`),u=G(m),b(l,"padding-right","10px"),r(e,"class","header svelte-yt1d5k")},m(n,v){k(n,e,v),s(e,l),s(l,t),s(t,c),s(t,f),s(e,$),d.m(e,null),s(e,i),s(e,u)},p(n,v){v&256&&D(c,n[8]),h!==(h=o(n))&&(d.d(1),d=h(n),d&&(d.c(),d.m(e,i))),v&12&&m!==(m=n[2]?"Major overlap":n[3]?"Some overlap":"No significant overlap")&&D(u,m)},i:V,o:V,d(n){n&&q(e),d.d()}}}function E(p){let e,l,t,c,f,$,i,m,u,o,h,d,n,v,g;return v=new H({props:{type:"right",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),c=Z("path"),$=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),o=w("div"),h=G(p[6]),d=L(),n=w("div"),C(v.$$.fragment),r(c,"fill",f=p[7]<=68?"#12A195":"#F2590D"),r(c,"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"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(n,"width","70%"),b(n,"display","flex"),b(n,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(a,y){k(a,e,y),s(e,l),s(l,t),s(t,c),s(l,$),s(l,i),s(i,m),s(i,u),s(i,o),s(o,h),s(e,d),s(e,n),S(v,n,null),g=!0},p(a,y){(!g||y&128&&f!==(f=a[7]<=68?"#12A195":"#F2590D"))&&r(c,"fill",f),(!g||y&64)&&D(h,a[6]);const x={};y&128&&(x.percentile=a[7]),v.$set(x)},i(a){g||(T(v.$$.fragment,a),g=!0)},o(a){M(v.$$.fragment,a),g=!1},d(a){a&&q(e),z(v)}}}function O(p){let e,l,t,c,f,$,i,m,u,o,h,d,n,v,g;return v=new H({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),c=Z("path"),$=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Median (G1)</b>",u=L(),o=w("div"),h=G(p[6]),d=L(),n=w("div"),C(v.$$.fragment),r(c,"fill",f=p[7]>=32?"#12A195":"#F2590D"),r(c,"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"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(n,"width","70%"),b(n,"display","flex"),b(n,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(a,y){k(a,e,y),s(e,l),s(l,t),s(t,c),s(l,$),s(l,i),s(i,m),s(i,u),s(i,o),s(o,h),s(e,d),s(e,n),S(v,n,null),g=!0},p(a,y){(!g||y&128&&f!==(f=a[7]>=32?"#12A195":"#F2590D"))&&r(c,"fill",f),(!g||y&64)&&D(h,a[6]);const x={};y&128&&(x.percentile=a[7]),v.$set(x)},i(a){g||(T(v.$$.fragment,a),g=!0)},o(a){M(v.$$.fragment,a),g=!1},d(a){a&&q(e),z(v)}}}function U(p){let e,l,t,c,f,$,i,m,u,o,h,d,n,v,g;return v=new H({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),c=Z("path"),$=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),o=w("div"),h=G(p[6]),d=L(),n=w("div"),C(v.$$.fragment),r(c,"fill",f=p[7]>=32?"#12A195":"#F2590D"),r(c,"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"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(n,"width","70%"),b(n,"display","flex"),b(n,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(a,y){k(a,e,y),s(e,l),s(l,t),s(t,c),s(l,$),s(l,i),s(i,m),s(i,u),s(i,o),s(o,h),s(e,d),s(e,n),S(v,n,null),g=!0},p(a,y){(!g||y&128&&f!==(f=a[7]>=32?"#12A195":"#F2590D"))&&r(c,"fill",f),(!g||y&64)&&D(h,a[6]);const x={};y&128&&(x.percentile=a[7]),v.$set(x)},i(a){g||(T(v.$$.fragment,a),g=!0)},o(a){M(v.$$.fragment,a),g=!1},d(a){a&&q(e),z(v)}}}function K(p){let e,l,t,c,f,$,i,m,u,o,h,d,n,v,g;return v=new H({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),c=Z("path"),$=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Shield (S)</b>",u=L(),o=w("div"),h=G(p[6]),d=L(),n=w("div"),C(v.$$.fragment),r(c,"fill",f=p[7]>=32?"#12A195":"#F2590D"),r(c,"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"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(n,"width","70%"),b(n,"display","flex"),b(n,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(a,y){k(a,e,y),s(e,l),s(l,t),s(t,c),s(l,$),s(l,i),s(i,m),s(i,u),s(i,o),s(o,h),s(e,d),s(e,n),S(v,n,null),g=!0},p(a,y){(!g||y&128&&f!==(f=a[7]>=32?"#12A195":"#F2590D"))&&r(c,"fill",f),(!g||y&64)&&D(h,a[6]);const x={};y&128&&(x.percentile=a[7]),v.$set(x)},i(a){g||(T(v.$$.fragment,a),g=!0)},o(a){M(v.$$.fragment,a),g=!1},d(a){a&&q(e),z(v)}}}function W(p){let e,l,t,c,f,$,i,m,u,o,h,d,n,v,g;return v=new H({props:{type:"right",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),c=Z("path"),$=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",u=L(),o=w("div"),h=G(p[6]),d=L(),n=w("div"),C(v.$$.fragment),r(c,"fill",f=p[7]<=68?"#12A195":"#F2590D"),r(c,"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"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(n,"width","70%"),b(n,"display","flex"),b(n,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(a,y){k(a,e,y),s(e,l),s(l,t),s(t,c),s(l,$),s(l,i),s(i,m),s(i,u),s(i,o),s(o,h),s(e,d),s(e,n),S(v,n,null),g=!0},p(a,y){(!g||y&128&&f!==(f=a[7]<=68?"#12A195":"#F2590D"))&&r(c,"fill",f),(!g||y&64)&&D(h,a[6]);const x={};y&128&&(x.percentile=a[7]),v.$set(x)},i(a){g||(T(v.$$.fragment,a),g=!0)},o(a){M(v.$$.fragment,a),g=!1},d(a){a&&q(e),z(v)}}}function de(p){let e,l;return{c(){e=Z("svg"),l=Z("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,c){k(t,e,c),s(e,l)},d(t){t&&q(e)}}}function oe(p){let e,l;return{c(){e=Z("svg"),l=Z("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,c){k(t,e,c),s(e,l)},d(t){t&&q(e)}}}function ce(p){let e,l;return{c(){e=Z("svg"),l=Z("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,c){k(t,e,c),s(e,l)},d(t){t&&q(e)}}}function me(p){let e,l;return{c(){e=Z("svg"),l=Z("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","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,c){k(t,e,c),s(e,l)},d(t){t&&q(e)}}}function he(p){let e,l,t,c,f,$;const i=[ae,re,se],m=[];function u(o,h){return o[0]==="header"&&o[5]?0:o[0]==="summary"&&o[4]?1:2}return t=u(p),c=m[t]=i[t](p),{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=L(),c.c(),f=P()},m(o,h){k(o,e,h),k(o,l,h),m[t].m(o,h),k(o,f,h),$=!0},p(o,[h]){let d=t;t=u(o),t===d?m[t].p(o,h):(F(),M(m[d],1,1,()=>{m[d]=null}),B(),c=m[t],c?c.p(o,h):(c=m[t]=i[t](o),c.c()),T(c,1),c.m(f.parentNode,f))},i(o){$||(T(c),$=!0)},o(o){M(c),$=!1},d(o){o&&(q(e),q(l),q(f)),m[t].d(o)}}}function pe(p,e,l){let{report:t}=e,{type:c}=e,{subtype:f}=e,{service:$=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],m,u=!1,o=!1,h=!1,d=!1,n="",v=0,g=0,a=0,y=0,x=0,I=0,A=0;function J(){v>68&&l(8,A++,A),g<32&&l(8,A++,A),a<32&&l(8,A++,A),y<32&&l(8,A++,A),x>68&&l(8,A++,A)}const j=i.find(N=>N.name===f);return te(async()=>{m=await $.getReport(t),j&&(l(7,I=Number(m[j.csvName])),l(6,n=ie(I))),v=Number(m.G0percentile),g=Number(m.G1percentile),a=Number(m.G2percentile),y=Number(m.Spercentile),x=Number(m.Bpercentile),J(),A===5&&l(2,u=!0),A>2&&A<5&&l(3,o=!0),l(5,d=!0),l(4,h=!0)}),p.$$set=N=>{"report"in N&&l(9,t=N.report),"type"in N&&l(0,c=N.type),"subtype"in N&&l(1,f=N.subtype),"service"in N&&l(10,$=N.service)},[c,f,u,o,h,d,n,I,A,t,$]}class Y extends X{constructor(e){super(),_(this,e,pe,he,ee,{report:9,type:0,subtype:1,service:10},ne)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),R()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),R()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),R()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),R()}}customElements.define("ga-atherosclerosis",Q(Y,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{Y as default};
package/dist/helpers.js CHANGED
@@ -1 +1 @@
1
- function n(r){return r===50?"0 0 0 0":r>50?r>90?`0 ${r-68+1.9*(r-51)}px 0 0`:`0 ${r-37+1.18*(r-51)}px 0 0`:r<10?`0 0 0 ${100-r-51+1.6*(100-r-51)}px`:`0 0 0 ${100-r-37+1.2*(100-r-51)}px`}function e(r){return r===50?"0 0 0 0":r>50?r>90?`0 0 0 ${r-68+4+1.9*(r-51)}px`:`0 0 0 ${r-37+4+1.18*(r-51)}px`:r<10?`0 ${100-r-51+4+1.6*(100-r-51)}px 0 0`:`0 ${100-r-37+4+1.2*(100-r-51)}px 0 0`}function u(r){return r===50?"0 0 0 0":r>50?"0 6px 6px 0":"6px 0 0 6px"}function i(r){if(r===50)return"-1150%";if(r>50){if(r>50&&r<55)return`${-270+(r-51)*25}%`;if(r>=55&&r<60)return`${-175+(r-55)*10}%`;if(r>=60&&r<65)return`${-130+(r-60)*6.5}%`;if(r>=65&&r<70)return`${-105+(r-65+2)*3}%`;if(r>=70&&r<75)return`${-82+(r-70)*2.5}%`;if(r>=75&&r<80)return`${-70+(r-75)*2}%`;if(r>=80&&r<85)return`${-58+(r-80-1)*1.2}%`;if(r>=85&&r<90)return`${-53+(r-85)}%`;if(r>=90&&r<95)return`${-48+(r-90)}%`;if(r>=95)return`${-42+(r-95-1)}%`}else{if(r>=0&&r<=5)return`${57+(100-r-95)}%`;if(r>5&&r<=10)return`${53+(100-r-90)}%`;if(r>10&&r<=15)return`${47+(100-r-85)}%`;if(r>15&&r<=20)return`${41+(100-r-80)}%`;if(r>20&&r<=25)return`${32+(100-r-75)}%`;if(r>25&&r<=30)return`${18+(100-r-70)*2}%`;if(r>30&&r<=35)return`${1+(100-r-65)*3}%`;if(r>35&&r<=40)return`${-30+(100-r-60)*6}%`;if(r>40&&r<=45)return`${-85+(100-r-55)*12}%`;if(r>45)return`${-230+(100-r-49)*25}%`}}function f(r){if(r===11||r===12||r===13)return"th";switch(r.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}export{e as a,u as b,n as g,i as m,f as s};
1
+ function n(r){return r===50?"0 0 0 0":r>50?r>90?`0 ${r-68+1.9*(r-51)}px 0 0`:`0 ${r-37+1.18*(r-51)}px 0 0`:r<10?`0 0 0 ${100-r-51+1.6*(100-r-51)}px`:`0 0 0 ${100-r-37+1.2*(100-r-51)}px`}function e(r){return r===50?"0 0 0 0":r>50?r>90?`0 0 0 ${r-68+4+1.9*(r-51)}px`:`0 0 0 ${r-37+4+1.18*(r-51)}px`:r<10?`0 ${100-r-51+4+1.6*(100-r-51)}px 0 0`:`0 ${100-r-37+4+1.2*(100-r-51)}px 0 0`}function u(r){return r===50?"0 0 0 0":r>50?"0 6px 6px 0":"6px 0 0 6px"}function i(r){if(r===50)return"-1150%";if(r>50){if(r>50&&r<55)return`${-270+(r-51)*25}%`;if(r>=55&&r<60)return`${-175+(r-55)*10}%`;if(r>=60&&r<65)return`${-130+(r-60)*6.5}%`;if(r>=65&&r<70)return`${-105+(r-65+2)*3}%`;if(r>=70&&r<75)return`${-82+(r-70)*2.5}%`;if(r>=75&&r<80)return`${-70+(r-75)*2}%`;if(r>=80&&r<85)return`${-58+(r-80-1)*1.2}%`;if(r>=85&&r<90)return`${-53+(r-85)}%`;if(r>=90&&r<95)return`${-48+(r-90)}%`;if(r>=95)return`${-42+(r-95-1)}%`}else{if(r>=0&&r<=5)return`${57+(100-r-95)}%`;if(r>5&&r<=10)return`${53+(100-r-90)}%`;if(r>10&&r<=15)return`${47+(100-r-85)}%`;if(r>15&&r<=20)return`${41+(100-r-80)}%`;if(r>20&&r<=25)return`${32+(100-r-75)}%`;if(r>25&&r<=30)return`${18+(100-r-70)*2}%`;if(r>30&&r<=35)return`${1+(100-r-65)*3}%`;if(r>35&&r<=40)return`${-30+(100-r-60)*6}%`;if(r>40&&r<=45)return`${-85+(100-r-55)*12}%`;if(r>45)return`${-230+(100-r-49)*25}%`}}function f(r){if(r===11||r===12||r===13)return"th";switch(r.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function $(r){if(r<32)return"Lower than average";if(r>=32&&r<=68)return"Around average";if(r>68)return"Higher than average"}export{e as a,u as b,$ as c,n as g,i as m,f as s};
@@ -1,2 +1,2 @@
1
- import{c as N,S as z,i as C,f as M,s as H,a as G,e as v,b as B,d as I,g as b,q as D,r as R,u as S,h as $,o as P,v as U,p as k,t as q,w as V,j as i,k as x,l as n,x as E,m as A,y as K,n as Z}from"./index2.js";import{A as O}from"./Arrow.js";import"./helpers.js";function j(d){G(d,"svelte-1371dlk",".summaryMain.svelte-1371dlk{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-1371dlk{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1371dlk{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-1371dlk{height:100%;width:100%;display:flex}.label.svelte-1371dlk{width:30%;display:flex;align-items:center}.header.svelte-1371dlk{width:100%;height:100%;display:flex;align-items:center}")}function J(d){let e,l,t,r,m,p,h,c,f,s,a,o,g,L,w;return L=new O({props:{type:"right",percentile:d[5]}}),{c(){e=v("div"),l=v("div"),t=k("svg"),r=k("path"),p=B(),h=v("div"),c=v("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",f=B(),s=v("div"),a=q(d[4]),o=B(),g=v("div"),V(L.$$.fragment),i(r,"fill",m=d[5]<=68?"#12A195":"#F2590D"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24"),x(h,"display","flex"),x(h,"flex-direction","column"),x(h,"padding-left","0.3rem"),i(l,"class","label svelte-1371dlk"),x(l,"font-size","0.8rem"),x(g,"width","70%"),x(g,"display","flex"),x(g,"align-items","center"),i(e,"class","main svelte-1371dlk")},m(u,y){b(u,e,y),n(e,l),n(l,t),n(t,r),n(l,p),n(l,h),n(h,c),n(h,f),n(h,s),n(s,a),n(e,o),n(e,g),E(L,g,null),w=!0},p(u,y){(!w||y&32&&m!==(m=u[5]<=68?"#12A195":"#F2590D"))&&i(r,"fill",m),(!w||y&16)&&A(a,u[4]);const T={};y&32&&(T.percentile=u[5]),L.$set(T)},i(u){w||(S(L.$$.fragment,u),w=!0)},o(u){D(L.$$.fragment,u),w=!1},d(u){u&&$(e),K(L)}}}function Q(d){let e,l,t,r,m,p,h=d[5]>68?"Some overlap":"No significant overlap",c,f,s,a,o,g;function L(y,T){return y[1]?Y:X}let w=L(d),u=w(d);return{c(){e=v("div"),l=v("div"),t=v("div"),u.c(),r=B(),m=v("div"),p=v("b"),c=q(h),f=q(" of glycan indexes between "),s=v("br"),a=q(" your patient and this condition."),o=B(),g=v("div"),g.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li></ul> <h5>Possible follow-up tests</h5> <ul style="font-size: 0.8rem;"><li>Serial blood pressure (BP) measurements \xB1 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic bloods (lipid profile, renal and liver function)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/34285147/">N-glycosylation of immunoglobulin G predicts incident hypertension</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In a study investigating the relationship between IgG glycosylation and hypertension, 989 unrelated incident hypertension cases and 1628 controls from the TwinsUK cohort, with a mean follow-up of 6.3 years, were examined. The average age of the participants was 56. The findings, which included an observed increase in B, were validated in additional cohorts from the &quot;10 001 Dalmatians&quot; (106 individuals) and KORA S4 (729 individuals). A predictive model incorporating age, BMI, mean arterial pressure (MAP), and specific glycan peaks with B modifications demonstrated robust predictive accuracy, achieving a very high AUC of 0.923.</p>',x(t,"transform","translate(-50%)"),x(p,"color",d[1]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1371dlk"),i(g,"class","summaryBody svelte-1371dlk"),i(e,"class","summaryMain svelte-1371dlk")},m(y,T){b(y,e,T),n(e,l),n(l,t),u.m(t,null),n(l,r),n(l,m),n(m,p),n(p,c),n(m,f),n(m,s),n(m,a),n(e,o),n(e,g)},p(y,T){w!==(w=L(y))&&(u.d(1),u=w(y),u&&(u.c(),u.m(t,null))),T&32&&h!==(h=y[5]>68?"Some overlap":"No significant overlap")&&A(c,h),T&2&&x(p,"color",y[1]?"#F2590D":"#12A195")},i:Z,o:Z,d(y){y&&$(e),u.d()}}}function W(d){let e,l,t,r,m,p,h=d[1]?"Some overlap":"No significant overlap",c;function f(o,g){return o[1]?ee:_}let s=f(d),a=s(d);return{c(){e=v("div"),l=v("div"),t=v("b"),r=q(d[3]),m=B(),a.c(),p=q(`
1
+ import{c as N,S as z,i as C,f as M,s as H,a as G,e as v,b as B,d as I,g as b,q as D,r as R,u as S,h as $,o as P,v as U,p as k,t as q,w as V,j as i,k as x,l as n,x as E,m as A,y as K,n as Z}from"./index2.js";import{A as O}from"./Arrow.js";import"./helpers.js";function j(d){G(d,"svelte-1371dlk",".summaryMain.svelte-1371dlk{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-1371dlk{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1371dlk{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-1371dlk{height:100%;width:100%;display:flex}.label.svelte-1371dlk{width:30%;display:flex;align-items:center}.header.svelte-1371dlk{width:100%;height:100%;display:flex;align-items:center}")}function J(d){let e,l,t,r,m,p,h,c,f,s,a,o,g,L,w;return L=new O({props:{type:"right",percentile:d[5]}}),{c(){e=v("div"),l=v("div"),t=k("svg"),r=k("path"),p=B(),h=v("div"),c=v("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",f=B(),s=v("div"),a=q(d[4]),o=B(),g=v("div"),V(L.$$.fragment),i(r,"fill",m=d[5]<=68?"#12A195":"#F2590D"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24"),x(h,"display","flex"),x(h,"flex-direction","column"),x(h,"padding-left","0.3rem"),i(l,"class","label svelte-1371dlk"),x(l,"font-size","0.8rem"),x(g,"width","70%"),x(g,"display","flex"),x(g,"align-items","center"),i(e,"class","main svelte-1371dlk")},m(u,y){b(u,e,y),n(e,l),n(l,t),n(t,r),n(l,p),n(l,h),n(h,c),n(h,f),n(h,s),n(s,a),n(e,o),n(e,g),E(L,g,null),w=!0},p(u,y){(!w||y&32&&m!==(m=u[5]<=68?"#12A195":"#F2590D"))&&i(r,"fill",m),(!w||y&16)&&A(a,u[4]);const T={};y&32&&(T.percentile=u[5]),L.$set(T)},i(u){w||(S(L.$$.fragment,u),w=!0)},o(u){D(L.$$.fragment,u),w=!1},d(u){u&&$(e),K(L)}}}function Q(d){let e,l,t,r,m,p,h=d[5]>68?"Some overlap":"No significant overlap",c,f,s,a,o,g;function L(y,T){return y[1]?Y:X}let w=L(d),u=w(d);return{c(){e=v("div"),l=v("div"),t=v("div"),u.c(),r=B(),m=v("div"),p=v("b"),c=q(h),f=q(" of glycan indexes between "),s=v("br"),a=q(" your patient and this condition."),o=B(),g=v("div"),g.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Serial blood pressure (BP) measurements \xB1 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic bloods (lipid profile, renal and liver function)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/34285147/">N-glycosylation of immunoglobulin G predicts incident hypertension</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In a study investigating the relationship between IgG glycosylation and hypertension, 989 unrelated incident hypertension cases and 1628 controls from the TwinsUK cohort, with a mean follow-up of 6.3 years, were examined. The average age of the participants was 56. The findings, which included an observed increase in B, were validated in additional cohorts from the &quot;10 001 Dalmatians&quot; (106 individuals) and KORA S4 (729 individuals). A predictive model incorporating age, BMI, mean arterial pressure (MAP), and specific glycan peaks with B modifications demonstrated robust predictive accuracy, achieving a very high AUC of 0.923.</p>',x(t,"transform","translate(-50%)"),x(p,"color",d[1]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1371dlk"),i(g,"class","summaryBody svelte-1371dlk"),i(e,"class","summaryMain svelte-1371dlk")},m(y,T){b(y,e,T),n(e,l),n(l,t),u.m(t,null),n(l,r),n(l,m),n(m,p),n(p,c),n(m,f),n(m,s),n(m,a),n(e,o),n(e,g)},p(y,T){w!==(w=L(y))&&(u.d(1),u=w(y),u&&(u.c(),u.m(t,null))),T&32&&h!==(h=y[5]>68?"Some overlap":"No significant overlap")&&A(c,h),T&2&&x(p,"color",y[1]?"#F2590D":"#12A195")},i:Z,o:Z,d(y){y&&$(e),u.d()}}}function W(d){let e,l,t,r,m,p,h=d[1]?"Some overlap":"No significant overlap",c;function f(o,g){return o[1]?ee:_}let s=f(d),a=s(d);return{c(){e=v("div"),l=v("div"),t=v("b"),r=q(d[3]),m=B(),a.c(),p=q(`
2
2
  \xA0\xA0`),c=q(h),x(l,"padding-right","10px"),i(e,"class","header svelte-1371dlk")},m(o,g){b(o,e,g),n(e,l),n(l,t),n(t,r),n(e,m),a.m(e,null),n(e,p),n(e,c)},p(o,g){g&8&&A(r,o[3]),s!==(s=f(o))&&(a.d(1),a=s(o),a&&(a.c(),a.m(e,p))),g&2&&h!==(h=o[1]?"Some overlap":"No significant overlap")&&A(c,h)},i:Z,o:Z,d(o){o&&$(e),a.d()}}}function X(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function Y(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function _(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function ee(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function le(d){let e,l,t,r,m,p;const h=[W,Q,J],c=[];function f(s,a){return s[0]==="header"?0:s[0]==="summary"&&s[2]?1:2}return t=f(d),r=c[t]=h[t](d),{c(){e=v("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(),r.c(),m=I()},m(s,a){b(s,e,a),b(s,l,a),c[t].m(s,a),b(s,m,a),p=!0},p(s,[a]){let o=t;t=f(s),t===o?c[t].p(s,a):(U(),D(c[o],1,1,()=>{c[o]=null}),R(),r=c[t],r?r.p(s,a):(r=c[t]=h[t](s),r.c()),S(r,1),r.m(m.parentNode,m))},i(s){p||(S(r),p=!0)},o(s){D(r),p=!1},d(s){s&&($(e),$(l),$(m)),c[t].d(s)}}}function te(d,e,l){let{report:t}=e,{type:r}=e,{service:m=window.GaReportService}=e,p,h=!1,c=!1,f="",s="",a=0;return P(async()=>{if(p=await m.getReport(t),l(5,a=Number(p.Bpercentile)),a<32){l(3,f="0/1"),l(4,s="Lower than average"),l(2,c=!0);return}if(a>=32&&a<=68){l(3,f="0/1"),l(4,s="Around average"),l(2,c=!0);return}if(a>68){l(3,f="1/1"),l(4,s="Higher than average"),l(1,h=!0),l(2,c=!0);return}}),d.$$set=o=>{"report"in o&&l(6,t=o.report),"type"in o&&l(0,r=o.type),"service"in o&&l(7,m=o.service)},[r,h,c,f,s,a,t,m]}class F extends z{constructor(e){super(),C(this,e,te,le,H,{report:6,type:0,service:7},j)}get report(){return this.$$.ctx[6]}set report(e){this.$$set({report:e}),M()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),M()}get service(){return this.$$.ctx[7]}set service(e){this.$$set({service:e}),M()}}customElements.define("ga-hypertension-risk",N(F,{report:{},type:{},service:{}},[],[],!0));export{F as default};
@@ -1,2 +1,2 @@
1
- import{c as E,S as K,i as O,f as N,s as P,a as Y,e as b,b as $,d as j,g as L,q as G,r as B,u as q,h as T,o as J,v as D,t as Z,k as x,j as s,l as r,m as A,n as F,p as M,w as H,x as S,y as z}from"./index2.js";import{A as C}from"./Arrow.js";import"./helpers.js";function Q(h){Y(h,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function U(h){let e,t,l,d,a=h[1]==="mature"&&V(h),m=h[1]==="median"&&R(h),i=h[1]==="youth"&&I(h);return{c(){a&&a.c(),e=$(),m&&m.c(),t=$(),i&&i.c(),l=j()},m(n,v){a&&a.m(n,v),L(n,e,v),m&&m.m(n,v),L(n,t,v),i&&i.m(n,v),L(n,l,v),d=!0},p(n,v){n[1]==="mature"?a?(a.p(n,v),v&2&&q(a,1)):(a=V(n),a.c(),q(a,1),a.m(e.parentNode,e)):a&&(D(),G(a,1,1,()=>{a=null}),B()),n[1]==="median"?m?(m.p(n,v),v&2&&q(m,1)):(m=R(n),m.c(),q(m,1),m.m(t.parentNode,t)):m&&(D(),G(m,1,1,()=>{m=null}),B()),n[1]==="youth"?i?(i.p(n,v),v&2&&q(i,1)):(i=I(n),i.c(),q(i,1),i.m(l.parentNode,l)):i&&(D(),G(i,1,1,()=>{i=null}),B())},i(n){d||(q(a),q(m),q(i),d=!0)},o(n){G(a),G(m),G(i),d=!1},d(n){n&&(T(e),T(t),T(l)),a&&a.d(n),m&&m.d(n),i&&i.d(n)}}}function W(h){let e,t,l,d,a,m,i=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",n,v,p,c,y,f;function g(u,k){return u[2]||u[3]?te:ee}let w=g(h),o=w(h);return{c(){e=b("div"),t=b("div"),l=b("div"),o.c(),d=$(),a=b("div"),m=b("b"),n=Z(i),v=Z(" of glycan indexes between "),p=b("br"),c=Z(" your patient and this condition."),y=$(),f=b("div"),f.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Persistent blood pressure over 140/90 mmHg</li> <li>Headaches and dizziness</li> <li>Blurred vision or visual disturbances</li></ul> <h5>Possible follow-up tests</h5> <ul style="font-size: 0.8rem;"><li>Regular blood pressure monitoring</li> <li>24-hour ambulatory blood pressure monitoring</li> <li>Kidney function tests</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. Among hypertension patients, there was a noted decrease in G2 and S, alongside an increase in G0.</p>',x(l,"transform","translate(-50%)"),x(m,"color",h[2]||h[3]?"#F2590D":"#12A195"),s(t,"class","summaryHeader svelte-yt1d5k"),s(f,"class","summaryBody svelte-yt1d5k"),s(e,"class","summaryMain svelte-yt1d5k")},m(u,k){L(u,e,k),r(e,t),r(t,l),o.m(l,null),r(t,d),r(t,a),r(a,m),r(m,n),r(a,v),r(a,p),r(a,c),r(e,y),r(e,f)},p(u,k){w!==(w=g(u))&&(o.d(1),o=w(u),o&&(o.c(),o.m(l,null))),k&12&&i!==(i=u[2]?"Major overlap":u[3]?"Some overlap":"No significant overlap")&&A(n,i),k&12&&x(m,"color",u[2]||u[3]?"#F2590D":"#12A195")},i:F,o:F,d(u){u&&T(e),o.d()}}}function X(h){let e,t,l,d,a,m,i=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",n;function v(y,f){return y[2]||y[3]?ie:le}let p=v(h),c=p(h);return{c(){e=b("div"),t=b("div"),l=b("b"),d=Z(h[5]),a=$(),c.c(),m=Z(`
1
+ import{c as E,S as K,i as O,f as N,s as P,a as Y,e as b,b as $,d as j,g as L,q as G,r as B,u as q,h as T,o as J,v as D,t as Z,k as x,j as s,l as r,m as A,n as F,p as M,w as H,x as S,y as z}from"./index2.js";import{A as C}from"./Arrow.js";import"./helpers.js";function Q(h){Y(h,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function U(h){let e,t,l,d,a=h[1]==="mature"&&V(h),m=h[1]==="median"&&R(h),i=h[1]==="youth"&&I(h);return{c(){a&&a.c(),e=$(),m&&m.c(),t=$(),i&&i.c(),l=j()},m(n,v){a&&a.m(n,v),L(n,e,v),m&&m.m(n,v),L(n,t,v),i&&i.m(n,v),L(n,l,v),d=!0},p(n,v){n[1]==="mature"?a?(a.p(n,v),v&2&&q(a,1)):(a=V(n),a.c(),q(a,1),a.m(e.parentNode,e)):a&&(D(),G(a,1,1,()=>{a=null}),B()),n[1]==="median"?m?(m.p(n,v),v&2&&q(m,1)):(m=R(n),m.c(),q(m,1),m.m(t.parentNode,t)):m&&(D(),G(m,1,1,()=>{m=null}),B()),n[1]==="youth"?i?(i.p(n,v),v&2&&q(i,1)):(i=I(n),i.c(),q(i,1),i.m(l.parentNode,l)):i&&(D(),G(i,1,1,()=>{i=null}),B())},i(n){d||(q(a),q(m),q(i),d=!0)},o(n){G(a),G(m),G(i),d=!1},d(n){n&&(T(e),T(t),T(l)),a&&a.d(n),m&&m.d(n),i&&i.d(n)}}}function W(h){let e,t,l,d,a,m,i=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",n,v,p,c,y,f;function g(u,k){return u[2]||u[3]?te:ee}let w=g(h),o=w(h);return{c(){e=b("div"),t=b("div"),l=b("div"),o.c(),d=$(),a=b("div"),m=b("b"),n=Z(i),v=Z(" of glycan indexes between "),p=b("br"),c=Z(" your patient and this condition."),y=$(),f=b("div"),f.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Persistent blood pressure over 140/90 mmHg</li> <li>Headaches and dizziness</li> <li>Blurred vision or visual disturbances</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Regular blood pressure monitoring</li> <li>24-hour ambulatory blood pressure monitoring</li> <li>Kidney function tests</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. Among hypertension patients, there was a noted decrease in G2 and S, alongside an increase in G0.</p>',x(l,"transform","translate(-50%)"),x(m,"color",h[2]||h[3]?"#F2590D":"#12A195"),s(t,"class","summaryHeader svelte-yt1d5k"),s(f,"class","summaryBody svelte-yt1d5k"),s(e,"class","summaryMain svelte-yt1d5k")},m(u,k){L(u,e,k),r(e,t),r(t,l),o.m(l,null),r(t,d),r(t,a),r(a,m),r(m,n),r(a,v),r(a,p),r(a,c),r(e,y),r(e,f)},p(u,k){w!==(w=g(u))&&(o.d(1),o=w(u),o&&(o.c(),o.m(l,null))),k&12&&i!==(i=u[2]?"Major overlap":u[3]?"Some overlap":"No significant overlap")&&A(n,i),k&12&&x(m,"color",u[2]||u[3]?"#F2590D":"#12A195")},i:F,o:F,d(u){u&&T(e),o.d()}}}function X(h){let e,t,l,d,a,m,i=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",n;function v(y,f){return y[2]||y[3]?ie:le}let p=v(h),c=p(h);return{c(){e=b("div"),t=b("div"),l=b("b"),d=Z(h[5]),a=$(),c.c(),m=Z(`
2
2
  \xA0\xA0`),n=Z(i),x(t,"padding-right","10px"),s(e,"class","header svelte-yt1d5k")},m(y,f){L(y,e,f),r(e,t),r(t,l),r(l,d),r(e,a),c.m(e,null),r(e,m),r(e,n)},p(y,f){f&32&&A(d,y[5]),p!==(p=v(y))&&(c.d(1),c=p(y),c&&(c.c(),c.m(e,m))),f&12&&i!==(i=y[2]?"Major overlap":y[3]?"Some overlap":"No significant overlap")&&A(n,i)},i:F,o:F,d(y){y&&T(e),c.d()}}}function V(h){let e,t,l,d,a,m,i,n,v,p,c,y,f,g,w;return g=new C({props:{type:"right",percentile:h[7]}}),{c(){e=b("div"),t=b("div"),l=M("svg"),d=M("path"),m=$(),i=b("div"),n=b("div"),n.innerHTML="Glycan <b>Mature (G0)</b>",v=$(),p=b("div"),c=Z(h[6]),y=$(),f=b("div"),H(g.$$.fragment),s(d,"fill",a=h[7]<=68?"#12A195":"#F2590D"),s(d,"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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),x(t,"font-size","0.8rem"),x(f,"width","70%"),x(f,"display","flex"),x(f,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(o,u){L(o,e,u),r(e,t),r(t,l),r(l,d),r(t,m),r(t,i),r(i,n),r(i,v),r(i,p),r(p,c),r(e,y),r(e,f),S(g,f,null),w=!0},p(o,u){(!w||u&128&&a!==(a=o[7]<=68?"#12A195":"#F2590D"))&&s(d,"fill",a),(!w||u&64)&&A(c,o[6]);const k={};u&128&&(k.percentile=o[7]),g.$set(k)},i(o){w||(q(g.$$.fragment,o),w=!0)},o(o){G(g.$$.fragment,o),w=!1},d(o){o&&T(e),z(g)}}}function R(h){let e,t,l,d,a,m,i,n,v,p,c,y,f,g,w;return g=new C({props:{type:"left",percentile:h[7]}}),{c(){e=b("div"),t=b("div"),l=M("svg"),d=M("path"),m=$(),i=b("div"),n=b("div"),n.innerHTML="Glycan <b>Median (G1)</b>",v=$(),p=b("div"),c=Z(h[6]),y=$(),f=b("div"),H(g.$$.fragment),s(d,"fill",a=h[7]>=32?"#12A195":"#F2590D"),s(d,"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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),x(t,"font-size","0.8rem"),x(f,"width","70%"),x(f,"display","flex"),x(f,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(o,u){L(o,e,u),r(e,t),r(t,l),r(l,d),r(t,m),r(t,i),r(i,n),r(i,v),r(i,p),r(p,c),r(e,y),r(e,f),S(g,f,null),w=!0},p(o,u){(!w||u&128&&a!==(a=o[7]>=32?"#12A195":"#F2590D"))&&s(d,"fill",a),(!w||u&64)&&A(c,o[6]);const k={};u&128&&(k.percentile=o[7]),g.$set(k)},i(o){w||(q(g.$$.fragment,o),w=!0)},o(o){G(g.$$.fragment,o),w=!1},d(o){o&&T(e),z(g)}}}function I(h){let e,t,l,d,a,m,i,n,v,p,c,y,f,g,w;return g=new C({props:{type:"left",percentile:h[7]}}),{c(){e=b("div"),t=b("div"),l=M("svg"),d=M("path"),m=$(),i=b("div"),n=b("div"),n.innerHTML="Glycan <b>Youth (G2)</b>",v=$(),p=b("div"),c=Z(h[6]),y=$(),f=b("div"),H(g.$$.fragment),s(d,"fill",a=h[7]>=32?"#12A195":"#F2590D"),s(d,"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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),x(t,"font-size","0.8rem"),x(f,"width","70%"),x(f,"display","flex"),x(f,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(o,u){L(o,e,u),r(e,t),r(t,l),r(l,d),r(t,m),r(t,i),r(i,n),r(i,v),r(i,p),r(p,c),r(e,y),r(e,f),S(g,f,null),w=!0},p(o,u){(!w||u&128&&a!==(a=o[7]>=32?"#12A195":"#F2590D"))&&s(d,"fill",a),(!w||u&64)&&A(c,o[6]);const k={};u&128&&(k.percentile=o[7]),g.$set(k)},i(o){w||(q(g.$$.fragment,o),w=!0)},o(o){G(g.$$.fragment,o),w=!1},d(o){o&&T(e),z(g)}}}function ee(h){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#12A195"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(l,d){L(l,e,d),r(e,t)},d(l){l&&T(e)}}}function te(h){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#F2590D"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(l,d){L(l,e,d),r(e,t)},d(l){l&&T(e)}}}function le(h){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#12A195"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(l,d){L(l,e,d),r(e,t)},d(l){l&&T(e)}}}function ie(h){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#F2590D"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(l,d){L(l,e,d),r(e,t)},d(l){l&&T(e)}}}function ne(h){let e,t,l,d,a,m;const i=[X,W,U],n=[];function v(p,c){return p[0]==="header"?0:p[0]==="summary"&&p[4]?1:2}return l=v(h),d=n[l]=i[l](h),{c(){e=b("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=$(),d.c(),a=j()},m(p,c){L(p,e,c),L(p,t,c),n[l].m(p,c),L(p,a,c),m=!0},p(p,[c]){let y=l;l=v(p),l===y?n[l].p(p,c):(D(),G(n[y],1,1,()=>{n[y]=null}),B(),d=n[l],d?d.p(p,c):(d=n[l]=i[l](p),d.c()),q(d,1),d.m(a.parentNode,a))},i(p){m||(q(d),m=!0)},o(p){G(d),m=!1},d(p){p&&(T(e),T(t),T(a)),n[l].d(p)}}}function se(h,e,t){let{report:l}=e,{type:d}=e,{subtype:a}=e,{service:m=window.GaReportService}=e,i,n=!1,v=!1,p=!1,c="",y="",f=0,g=0,w=0,o=0;return J(async()=>{switch(i=await m.getReport(l),a){case"mature":t(7,o=Number(i.G0percentile));break;case"median":t(7,o=Number(i.G1percentile));break;case"youth":t(7,o=Number(i.G2percentile));break}if(f=Number(i.G0percentile),g=Number(i.G1percentile),w=Number(i.G2percentile),o<32&&t(6,y="Lower than average"),o>=32&&o<=68&&t(6,y="Around average"),o>68&&t(6,y="Higher than average"),f>68&&g<32&&w<32){t(5,c="3/3"),t(2,n=!0),t(4,p=!0);return}if(f>68||g<32||w<32){if(f>68&&g<32||g<32&&w<32||f>68&&w<32){t(5,c="2/3"),t(3,v=!0),t(4,p=!0);return}t(5,c="1/3"),t(4,p=!0);return}t(5,c="0/3"),t(4,p=!0)}),h.$$set=u=>{"report"in u&&t(8,l=u.report),"type"in u&&t(0,d=u.type),"subtype"in u&&t(1,a=u.subtype),"service"in u&&t(9,m=u.service)},[d,a,n,v,p,c,y,o,l,m]}class _ extends K{constructor(e){super(),O(this,e,se,ne,P,{report:8,type:0,subtype:1,service:9},Q)}get report(){return this.$$.ctx[8]}set report(e){this.$$set({report:e}),N()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),N()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),N()}get service(){return this.$$.ctx[9]}set service(e){this.$$set({service:e}),N()}}customElements.define("ga-hypertension",E(_,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{_ as default};
@@ -1,2 +1,2 @@
1
- import{c as Y,S as J,i as Q,f as V,s as U,a as W,e as w,b as L,d as P,g as T,q as M,r as G,u as k,h as q,o as X,v as S,t as A,k as b,j as o,l as r,m as F,n as j,p as Z,w as H,x as z,y as C}from"./index2.js";import{A as D}from"./Arrow.js";import"./helpers.js";function ee(m){W(m,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function le(m){let e,l,i,c,v,$,t=m[1]==="mature"&&_(m),h=m[1]==="youth"&&R(m),f=m[1]==="shield"&&I(m),a=m[1]==="lifestyle"&&E(m),p=m[1]==="peak"&&K(m);return{c(){t&&t.c(),e=L(),h&&h.c(),l=L(),f&&f.c(),i=L(),a&&a.c(),c=L(),p&&p.c(),v=P()},m(n,d){t&&t.m(n,d),T(n,e,d),h&&h.m(n,d),T(n,l,d),f&&f.m(n,d),T(n,i,d),a&&a.m(n,d),T(n,c,d),p&&p.m(n,d),T(n,v,d),$=!0},p(n,d){n[1]==="mature"?t?(t.p(n,d),d&2&&k(t,1)):(t=_(n),t.c(),k(t,1),t.m(e.parentNode,e)):t&&(S(),M(t,1,1,()=>{t=null}),G()),n[1]==="youth"?h?(h.p(n,d),d&2&&k(h,1)):(h=R(n),h.c(),k(h,1),h.m(l.parentNode,l)):h&&(S(),M(h,1,1,()=>{h=null}),G()),n[1]==="shield"?f?(f.p(n,d),d&2&&k(f,1)):(f=I(n),f.c(),k(f,1),f.m(i.parentNode,i)):f&&(S(),M(f,1,1,()=>{f=null}),G()),n[1]==="lifestyle"?a?(a.p(n,d),d&2&&k(a,1)):(a=E(n),a.c(),k(a,1),a.m(c.parentNode,c)):a&&(S(),M(a,1,1,()=>{a=null}),G()),n[1]==="peak"?p?(p.p(n,d),d&2&&k(p,1)):(p=K(n),p.c(),k(p,1),p.m(v.parentNode,v)):p&&(S(),M(p,1,1,()=>{p=null}),G())},i(n){$||(k(t),k(h),k(f),k(a),k(p),$=!0)},o(n){M(t),M(h),M(f),M(a),M(p),$=!1},d(n){n&&(q(e),q(l),q(i),q(c),q(v)),t&&t.d(n),h&&h.d(n),f&&f.d(n),a&&a.d(n),p&&p.d(n)}}}function te(m){let e,l,i,c,v,$,t=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",h,f,a,p,n,d;function y(u,x){return u[2]||u[3]?re:se}let g=y(m),s=g(m);return{c(){e=w("div"),l=w("div"),i=w("div"),s.c(),c=L(),v=w("div"),$=w("b"),h=A(t),f=A(" of glycan indexes between "),a=w("br"),p=A(" your patient and this condition."),n=L(),d=w("div"),d.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Persistent blood pressure over 140/90 mmHg</li> <li>Headaches and dizziness</li> <li>Blurred vision or visual disturbances</li></ul> <h5>Possible follow-up tests</h5> <ul style="font-size: 0.8rem;"><li>Regular blood pressure monitoring</li> <li>24-hour ambulatory blood pressure monitoring</li> <li>Kidney function tests</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. Among hypertension patients, there was a noted decrease in G2 and S, alongside an increase in G0.</p>',b(i,"transform","translate(-50%)"),b($,"color",m[2]||m[3]?"#F2590D":"#12A195"),o(l,"class","summaryHeader svelte-yt1d5k"),o(d,"class","summaryBody svelte-yt1d5k"),o(e,"class","summaryMain svelte-yt1d5k")},m(u,x){T(u,e,x),r(e,l),r(l,i),s.m(i,null),r(l,c),r(l,v),r(v,$),r($,h),r(v,f),r(v,a),r(v,p),r(e,n),r(e,d)},p(u,x){g!==(g=y(u))&&(s.d(1),s=g(u),s&&(s.c(),s.m(i,null))),x&12&&t!==(t=u[2]?"Major overlap":u[3]?"Some overlap":"No significant overlap")&&F(h,t),x&12&&b($,"color",u[2]||u[3]?"#F2590D":"#12A195")},i:j,o:j,d(u){u&&q(e),s.d()}}}function ie(m){let e,l,i,c,v,$,t=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",h;function f(n,d){return n[2]||n[3]?ae:ne}let a=f(m),p=a(m);return{c(){e=w("div"),l=w("div"),i=w("b"),c=A(m[5]),v=L(),p.c(),$=A(`
2
- \xA0\xA0`),h=A(t),b(l,"padding-right","10px"),o(e,"class","header svelte-yt1d5k")},m(n,d){T(n,e,d),r(e,l),r(l,i),r(i,c),r(e,v),p.m(e,null),r(e,$),r(e,h)},p(n,d){d&32&&F(c,n[5]),a!==(a=f(n))&&(p.d(1),p=a(n),p&&(p.c(),p.m(e,$))),d&12&&t!==(t=n[2]?"Major overlap":n[3]?"Some overlap":"No significant overlap")&&F(h,t)},i:j,o:j,d(n){n&&q(e),p.d()}}}function _(m){let e,l,i,c,v,$,t,h,f,a,p,n,d,y,g;return y=new D({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),i=Z("svg"),c=Z("path"),$=L(),t=w("div"),h=w("div"),h.innerHTML="Glycan <b>Mature (G0)</b>",f=L(),a=w("div"),p=A(m[6]),n=L(),d=w("div"),H(y.$$.fragment),o(c,"fill",v=m[7]<=68?"#12A195":"#F2590D"),o(c,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,u){T(s,e,u),r(e,l),r(l,i),r(i,c),r(l,$),r(l,t),r(t,h),r(t,f),r(t,a),r(a,p),r(e,n),r(e,d),z(y,d,null),g=!0},p(s,u){(!g||u&128&&v!==(v=s[7]<=68?"#12A195":"#F2590D"))&&o(c,"fill",v),(!g||u&64)&&F(p,s[6]);const x={};u&128&&(x.percentile=s[7]),y.$set(x)},i(s){g||(k(y.$$.fragment,s),g=!0)},o(s){M(y.$$.fragment,s),g=!1},d(s){s&&q(e),C(y)}}}function R(m){let e,l,i,c,v,$,t,h,f,a,p,n,d,y,g;return y=new D({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),i=Z("svg"),c=Z("path"),$=L(),t=w("div"),h=w("div"),h.innerHTML="Glycan <b>Youth (G2)</b>",f=L(),a=w("div"),p=A(m[6]),n=L(),d=w("div"),H(y.$$.fragment),o(c,"fill",v=m[7]>=32?"#12A195":"#F2590D"),o(c,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,u){T(s,e,u),r(e,l),r(l,i),r(i,c),r(l,$),r(l,t),r(t,h),r(t,f),r(t,a),r(a,p),r(e,n),r(e,d),z(y,d,null),g=!0},p(s,u){(!g||u&128&&v!==(v=s[7]>=32?"#12A195":"#F2590D"))&&o(c,"fill",v),(!g||u&64)&&F(p,s[6]);const x={};u&128&&(x.percentile=s[7]),y.$set(x)},i(s){g||(k(y.$$.fragment,s),g=!0)},o(s){M(y.$$.fragment,s),g=!1},d(s){s&&q(e),C(y)}}}function I(m){let e,l,i,c,v,$,t,h,f,a,p,n,d,y,g;return y=new D({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),i=Z("svg"),c=Z("path"),$=L(),t=w("div"),h=w("div"),h.innerHTML="Glycan <b>Shield (S)</b>",f=L(),a=w("div"),p=A(m[6]),n=L(),d=w("div"),H(y.$$.fragment),o(c,"fill",v=m[7]>=32?"#12A195":"#F2590D"),o(c,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,u){T(s,e,u),r(e,l),r(l,i),r(i,c),r(l,$),r(l,t),r(t,h),r(t,f),r(t,a),r(a,p),r(e,n),r(e,d),z(y,d,null),g=!0},p(s,u){(!g||u&128&&v!==(v=s[7]>=32?"#12A195":"#F2590D"))&&o(c,"fill",v),(!g||u&64)&&F(p,s[6]);const x={};u&128&&(x.percentile=s[7]),y.$set(x)},i(s){g||(k(y.$$.fragment,s),g=!0)},o(s){M(y.$$.fragment,s),g=!1},d(s){s&&q(e),C(y)}}}function E(m){let e,l,i,c,v,$,t,h,f,a,p,n,d,y,g;return y=new D({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),i=Z("svg"),c=Z("path"),$=L(),t=w("div"),h=w("div"),h.innerHTML="Glycan <b>Lifestyle (B)</b>",f=L(),a=w("div"),p=A(m[6]),n=L(),d=w("div"),H(y.$$.fragment),o(c,"fill",v=m[7]<=68?"#12A195":"#F2590D"),o(c,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,u){T(s,e,u),r(e,l),r(l,i),r(i,c),r(l,$),r(l,t),r(t,h),r(t,f),r(t,a),r(a,p),r(e,n),r(e,d),z(y,d,null),g=!0},p(s,u){(!g||u&128&&v!==(v=s[7]<=68?"#12A195":"#F2590D"))&&o(c,"fill",v),(!g||u&64)&&F(p,s[6]);const x={};u&128&&(x.percentile=s[7]),y.$set(x)},i(s){g||(k(y.$$.fragment,s),g=!0)},o(s){M(y.$$.fragment,s),g=!1},d(s){s&&q(e),C(y)}}}function K(m){let e,l,i,c,v,$,t,h,f,a,p,n,d,y,g;return y=new D({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),i=Z("svg"),c=Z("path"),$=L(),t=w("div"),h=w("div"),h.innerHTML="Peak <b>22 (P22)</b>",f=L(),a=w("div"),p=A(m[6]),n=L(),d=w("div"),H(y.$$.fragment),o(c,"fill",v=m[7]<=68?"#12A195":"#F2590D"),o(c,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,u){T(s,e,u),r(e,l),r(l,i),r(i,c),r(l,$),r(l,t),r(t,h),r(t,f),r(t,a),r(a,p),r(e,n),r(e,d),z(y,d,null),g=!0},p(s,u){(!g||u&128&&v!==(v=s[7]<=68?"#12A195":"#F2590D"))&&o(c,"fill",v),(!g||u&64)&&F(p,s[6]);const x={};u&128&&(x.percentile=s[7]),y.$set(x)},i(s){g||(k(y.$$.fragment,s),g=!0)},o(s){M(y.$$.fragment,s),g=!1},d(s){s&&q(e),C(y)}}}function se(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),o(l,"fill","#12A195"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","50"),o(e,"height","50"),o(e,"viewBox","0 0 24 24")},m(i,c){T(i,e,c),r(e,l)},d(i){i&&q(e)}}}function re(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),o(l,"fill","#F2590D"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","50"),o(e,"height","50"),o(e,"viewBox","0 0 24 24")},m(i,c){T(i,e,c),r(e,l)},d(i){i&&q(e)}}}function ne(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),o(l,"fill","#12A195"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","24"),o(e,"height","24"),o(e,"viewBox","0 0 24 24")},m(i,c){T(i,e,c),r(e,l)},d(i){i&&q(e)}}}function ae(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),o(l,"fill","#F2590D"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","24"),o(e,"height","24"),o(e,"viewBox","0 0 24 24")},m(i,c){T(i,e,c),r(e,l)},d(i){i&&q(e)}}}function oe(m){let e,l,i,c,v,$;const t=[ie,te,le],h=[];function f(a,p){return a[0]==="header"?0:a[0]==="summary"&&a[4]?1:2}return i=f(m),c=h[i]=t[i](m),{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=L(),c.c(),v=P()},m(a,p){T(a,e,p),T(a,l,p),h[i].m(a,p),T(a,v,p),$=!0},p(a,[p]){let n=i;i=f(a),i===n?h[i].p(a,p):(S(),M(h[n],1,1,()=>{h[n]=null}),G(),c=h[i],c?c.p(a,p):(c=h[i]=t[i](a),c.c()),k(c,1),c.m(v.parentNode,v))},i(a){$||(k(c),$=!0)},o(a){M(c),$=!1},d(a){a&&(q(e),q(l),q(v)),h[i].d(a)}}}function de(m,e,l){let{report:i}=e,{type:c}=e,{subtype:v}=e,{service:$=window.GaReportService}=e,t,h=!1,f=!1,a=!1,p="",n="",d="",y=0,g=0,s=0,u=0,x=0,N=0;return X(async()=>{switch(t=await $.getReport(i),v){case"peak":l(7,N=Number(t.P22percentile));break;case"mature":l(7,N=Number(t.G0percentile));break;case"youth":l(7,N=Number(t.G2percentile));break;case"shield":l(7,N=Number(t.Spercentile));break;case"lifestyle":l(7,N=Number(t.Bpercentile));break}if(y=Number(t.P22percentile),g=Number(t.G0percentile),s=Number(t.G2percentile),u=Number(t.Spercentile),x=Number(t.Bpercentile),d=t.sex,N<32&&l(6,n="Lower than average"),N>=32&&N<=68&&l(6,n="Around average"),N>68&&l(6,n="Higher than average"),d==="M"){if(g>68&&s<32&&u<32&&x>60){l(5,p="4/4"),l(2,h=!0),l(4,a=!0);return}if(g>68||s<32||u<32||x>68){if(g>68&&s<32&&u<32||g>68&&s<32&&x>68||s<32&&u<32&&x>68||g>68&&u<32&&x>68){l(5,p="3/4"),l(3,f=!0),l(4,a=!0);return}g>68&&s<32||g>68&&u<32||g>68&&x>68||s<32&&u<32||s<32&&x>68||u<32&&x>68?l(5,p="2/4"):l(5,p="1/4"),l(4,a=!0);return}l(5,p="0/4"),l(4,a=!0);return}else{if(y<32){l(5,p="1/1"),l(2,h=!0),l(4,a=!0);return}l(5,p="0/1"),l(4,a=!0);return}}),m.$$set=B=>{"report"in B&&l(8,i=B.report),"type"in B&&l(0,c=B.type),"subtype"in B&&l(1,v=B.subtype),"service"in B&&l(9,$=B.service)},[c,v,h,f,a,p,n,N,i,$]}class O extends J{constructor(e){super(),Q(this,e,de,oe,U,{report:8,type:0,subtype:1,service:9},ee)}get report(){return this.$$.ctx[8]}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[9]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-myocardial",Y(O,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{O as default};
1
+ import{c as J,S as K,i as Q,f as P,s as U,a as W,e as w,b as L,d as I,g as T,q as Z,r as F,u as k,h as q,o as X,v as C,t as A,k as b,j as o,l as r,m as G,n as V,p as M,w as S,x as H,y as z}from"./index2.js";import{A as B}from"./Arrow.js";import"./helpers.js";function ee(h){W(h,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function le(h){let e,l,i,p,g,$,t=h[1]==="mature"&&R(h),m=h[1]==="youth"&&_(h),y=h[1]==="shield"&&j(h),n=h[1]==="lifestyle"&&E(h),c=h[1]==="peak"&&O(h);return{c(){t&&t.c(),e=L(),m&&m.c(),l=L(),y&&y.c(),i=L(),n&&n.c(),p=L(),c&&c.c(),g=I()},m(a,d){t&&t.m(a,d),T(a,e,d),m&&m.m(a,d),T(a,l,d),y&&y.m(a,d),T(a,i,d),n&&n.m(a,d),T(a,p,d),c&&c.m(a,d),T(a,g,d),$=!0},p(a,d){a[1]==="mature"?t?(t.p(a,d),d&2&&k(t,1)):(t=R(a),t.c(),k(t,1),t.m(e.parentNode,e)):t&&(C(),Z(t,1,1,()=>{t=null}),F()),a[1]==="youth"?m?(m.p(a,d),d&2&&k(m,1)):(m=_(a),m.c(),k(m,1),m.m(l.parentNode,l)):m&&(C(),Z(m,1,1,()=>{m=null}),F()),a[1]==="shield"?y?(y.p(a,d),d&2&&k(y,1)):(y=j(a),y.c(),k(y,1),y.m(i.parentNode,i)):y&&(C(),Z(y,1,1,()=>{y=null}),F()),a[1]==="lifestyle"?n?(n.p(a,d),d&2&&k(n,1)):(n=E(a),n.c(),k(n,1),n.m(p.parentNode,p)):n&&(C(),Z(n,1,1,()=>{n=null}),F()),a[1]==="peak"?c?(c.p(a,d),d&2&&k(c,1)):(c=O(a),c.c(),k(c,1),c.m(g.parentNode,g)):c&&(C(),Z(c,1,1,()=>{c=null}),F())},i(a){$||(k(t),k(m),k(y),k(n),k(c),$=!0)},o(a){Z(t),Z(m),Z(y),Z(n),Z(c),$=!1},d(a){a&&(q(e),q(l),q(i),q(p),q(g)),t&&t.d(a),m&&m.d(a),y&&y.d(a),n&&n.d(a),c&&c.d(a)}}}function te(h){let e,l,i,p,g,$,t=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",m,y,n,c,a,d;function u(v,x){return v[2]||v[3]?re:se}let f=u(h),s=f(h);return{c(){e=w("div"),l=w("div"),i=w("div"),s.c(),p=L(),g=w("div"),$=w("b"),m=A(t),y=A(" of glycan indexes between "),n=w("br"),c=A(" your patient and this condition."),a=L(),d=w("div"),d.innerHTML='<h5>Risk and factors</h5> <ul style="font-size: 0.8rem;"><li>Past medical history (cardiometabolic syndrome, autoimmune disease)</li> <li>Medication history (e.g., statins, blood thinners)</li> <li>Current/previous smoking history</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li>BP check</li> <li>ECG</li> <li>Cardiology referral for other tests (e.g., cardiac echo, coronary CT)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/36174116/">Immunoglobulin G N-Glycosylation Signatures in Incident Type 2 Diabetes and Cardiovascular Disease</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In the EPIC-Potsdam cohort, involving 2,175 participants in the cardiovascular disease (CVD) subcohort, which includes 417 cases of MI and CVA, changes in IgG glycosylation were analysed. This cohort comprised 61% females and 39% males, with an average age of 49. In male participants, an increase in G0 and B was observed, along with a decrease in G2 and S. A predictive model employing 2 specific glycan peaks was developed, demonstrating a hazard ratio (HR) of 1.60.</p>',b(i,"transform","translate(-50%)"),b($,"color",h[2]||h[3]?"#F2590D":"#12A195"),o(l,"class","summaryHeader svelte-yt1d5k"),o(d,"class","summaryBody svelte-yt1d5k"),o(e,"class","summaryMain svelte-yt1d5k")},m(v,x){T(v,e,x),r(e,l),r(l,i),s.m(i,null),r(l,p),r(l,g),r(g,$),r($,m),r(g,y),r(g,n),r(g,c),r(e,a),r(e,d)},p(v,x){f!==(f=u(v))&&(s.d(1),s=f(v),s&&(s.c(),s.m(i,null))),x&12&&t!==(t=v[2]?"Major overlap":v[3]?"Some overlap":"No significant overlap")&&G(m,t),x&12&&b($,"color",v[2]||v[3]?"#F2590D":"#12A195")},i:V,o:V,d(v){v&&q(e),s.d()}}}function ie(h){let e,l,i,p,g,$,t=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",m;function y(a,d){return a[2]||a[3]?ne:ae}let n=y(h),c=n(h);return{c(){e=w("div"),l=w("div"),i=w("b"),p=A(h[5]),g=L(),c.c(),$=A(`
2
+ \xA0\xA0`),m=A(t),b(l,"padding-right","10px"),o(e,"class","header svelte-yt1d5k")},m(a,d){T(a,e,d),r(e,l),r(l,i),r(i,p),r(e,g),c.m(e,null),r(e,$),r(e,m)},p(a,d){d&32&&G(p,a[5]),n!==(n=y(a))&&(c.d(1),c=n(a),c&&(c.c(),c.m(e,$))),d&12&&t!==(t=a[2]?"Major overlap":a[3]?"Some overlap":"No significant overlap")&&G(m,t)},i:V,o:V,d(a){a&&q(e),c.d()}}}function R(h){let e,l,i,p,g,$,t,m,y,n,c,a,d,u,f;return u=new B({props:{type:"right",percentile:h[7]}}),{c(){e=w("div"),l=w("div"),i=M("svg"),p=M("path"),$=L(),t=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",y=L(),n=w("div"),c=A(h[6]),a=L(),d=w("div"),S(u.$$.fragment),o(p,"fill",g=h[7]<=68?"#12A195":"#F2590D"),o(p,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,v){T(s,e,v),r(e,l),r(l,i),r(i,p),r(l,$),r(l,t),r(t,m),r(t,y),r(t,n),r(n,c),r(e,a),r(e,d),H(u,d,null),f=!0},p(s,v){(!f||v&128&&g!==(g=s[7]<=68?"#12A195":"#F2590D"))&&o(p,"fill",g),(!f||v&64)&&G(c,s[6]);const x={};v&128&&(x.percentile=s[7]),u.$set(x)},i(s){f||(k(u.$$.fragment,s),f=!0)},o(s){Z(u.$$.fragment,s),f=!1},d(s){s&&q(e),z(u)}}}function _(h){let e,l,i,p,g,$,t,m,y,n,c,a,d,u,f;return u=new B({props:{type:"left",percentile:h[7]}}),{c(){e=w("div"),l=w("div"),i=M("svg"),p=M("path"),$=L(),t=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",y=L(),n=w("div"),c=A(h[6]),a=L(),d=w("div"),S(u.$$.fragment),o(p,"fill",g=h[7]>=32?"#12A195":"#F2590D"),o(p,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,v){T(s,e,v),r(e,l),r(l,i),r(i,p),r(l,$),r(l,t),r(t,m),r(t,y),r(t,n),r(n,c),r(e,a),r(e,d),H(u,d,null),f=!0},p(s,v){(!f||v&128&&g!==(g=s[7]>=32?"#12A195":"#F2590D"))&&o(p,"fill",g),(!f||v&64)&&G(c,s[6]);const x={};v&128&&(x.percentile=s[7]),u.$set(x)},i(s){f||(k(u.$$.fragment,s),f=!0)},o(s){Z(u.$$.fragment,s),f=!1},d(s){s&&q(e),z(u)}}}function j(h){let e,l,i,p,g,$,t,m,y,n,c,a,d,u,f;return u=new B({props:{type:"left",percentile:h[7]}}),{c(){e=w("div"),l=w("div"),i=M("svg"),p=M("path"),$=L(),t=w("div"),m=w("div"),m.innerHTML="Glycan <b>Shield (S)</b>",y=L(),n=w("div"),c=A(h[6]),a=L(),d=w("div"),S(u.$$.fragment),o(p,"fill",g=h[7]>=32?"#12A195":"#F2590D"),o(p,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,v){T(s,e,v),r(e,l),r(l,i),r(i,p),r(l,$),r(l,t),r(t,m),r(t,y),r(t,n),r(n,c),r(e,a),r(e,d),H(u,d,null),f=!0},p(s,v){(!f||v&128&&g!==(g=s[7]>=32?"#12A195":"#F2590D"))&&o(p,"fill",g),(!f||v&64)&&G(c,s[6]);const x={};v&128&&(x.percentile=s[7]),u.$set(x)},i(s){f||(k(u.$$.fragment,s),f=!0)},o(s){Z(u.$$.fragment,s),f=!1},d(s){s&&q(e),z(u)}}}function E(h){let e,l,i,p,g,$,t,m,y,n,c,a,d,u,f;return u=new B({props:{type:"right",percentile:h[7]}}),{c(){e=w("div"),l=w("div"),i=M("svg"),p=M("path"),$=L(),t=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",y=L(),n=w("div"),c=A(h[6]),a=L(),d=w("div"),S(u.$$.fragment),o(p,"fill",g=h[7]<=68?"#12A195":"#F2590D"),o(p,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,v){T(s,e,v),r(e,l),r(l,i),r(i,p),r(l,$),r(l,t),r(t,m),r(t,y),r(t,n),r(n,c),r(e,a),r(e,d),H(u,d,null),f=!0},p(s,v){(!f||v&128&&g!==(g=s[7]<=68?"#12A195":"#F2590D"))&&o(p,"fill",g),(!f||v&64)&&G(c,s[6]);const x={};v&128&&(x.percentile=s[7]),u.$set(x)},i(s){f||(k(u.$$.fragment,s),f=!0)},o(s){Z(u.$$.fragment,s),f=!1},d(s){s&&q(e),z(u)}}}function O(h){let e,l,i,p,g,$,t,m,y,n,c,a,d,u,f;return u=new B({props:{type:"left",percentile:h[7]}}),{c(){e=w("div"),l=w("div"),i=M("svg"),p=M("path"),$=L(),t=w("div"),m=w("div"),m.innerHTML="Peak <b>22 (P22)</b>",y=L(),n=w("div"),c=A(h[6]),a=L(),d=w("div"),S(u.$$.fragment),o(p,"fill",g=h[7]<=68?"#12A195":"#F2590D"),o(p,"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"),o(i,"xmlns","http://www.w3.org/2000/svg"),o(i,"width","24"),o(i,"height","24"),o(i,"viewBox","0 0 24 24"),b(t,"display","flex"),b(t,"flex-direction","column"),b(t,"padding-left","0.3rem"),o(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(d,"width","70%"),b(d,"display","flex"),b(d,"align-items","center"),o(e,"class","main svelte-yt1d5k")},m(s,v){T(s,e,v),r(e,l),r(l,i),r(i,p),r(l,$),r(l,t),r(t,m),r(t,y),r(t,n),r(n,c),r(e,a),r(e,d),H(u,d,null),f=!0},p(s,v){(!f||v&128&&g!==(g=s[7]<=68?"#12A195":"#F2590D"))&&o(p,"fill",g),(!f||v&64)&&G(c,s[6]);const x={};v&128&&(x.percentile=s[7]),u.$set(x)},i(s){f||(k(u.$$.fragment,s),f=!0)},o(s){Z(u.$$.fragment,s),f=!1},d(s){s&&q(e),z(u)}}}function se(h){let e,l;return{c(){e=M("svg"),l=M("path"),o(l,"fill","#12A195"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","50"),o(e,"height","50"),o(e,"viewBox","0 0 24 24")},m(i,p){T(i,e,p),r(e,l)},d(i){i&&q(e)}}}function re(h){let e,l;return{c(){e=M("svg"),l=M("path"),o(l,"fill","#F2590D"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","50"),o(e,"height","50"),o(e,"viewBox","0 0 24 24")},m(i,p){T(i,e,p),r(e,l)},d(i){i&&q(e)}}}function ae(h){let e,l;return{c(){e=M("svg"),l=M("path"),o(l,"fill","#12A195"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","24"),o(e,"height","24"),o(e,"viewBox","0 0 24 24")},m(i,p){T(i,e,p),r(e,l)},d(i){i&&q(e)}}}function ne(h){let e,l;return{c(){e=M("svg"),l=M("path"),o(l,"fill","#F2590D"),o(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"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","24"),o(e,"height","24"),o(e,"viewBox","0 0 24 24")},m(i,p){T(i,e,p),r(e,l)},d(i){i&&q(e)}}}function oe(h){let e,l,i,p,g,$;const t=[ie,te,le],m=[];function y(n,c){return n[0]==="header"?0:n[0]==="summary"&&n[4]?1:2}return i=y(h),p=m[i]=t[i](h),{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=L(),p.c(),g=I()},m(n,c){T(n,e,c),T(n,l,c),m[i].m(n,c),T(n,g,c),$=!0},p(n,[c]){let a=i;i=y(n),i===a?m[i].p(n,c):(C(),Z(m[a],1,1,()=>{m[a]=null}),F(),p=m[i],p?p.p(n,c):(p=m[i]=t[i](n),p.c()),k(p,1),p.m(g.parentNode,g))},i(n){$||(k(p),$=!0)},o(n){Z(p),$=!1},d(n){n&&(q(e),q(l),q(g)),m[i].d(n)}}}function de(h,e,l){let{report:i}=e,{type:p}=e,{subtype:g}=e,{service:$=window.GaReportService}=e,t,m=!1,y=!1,n=!1,c="",a="",d="",u=0,f=0,s=0,v=0,x=0,N=0;return X(async()=>{switch(t=await $.getReport(i),g){case"peak":l(7,N=Number(t.P22percentile));break;case"mature":l(7,N=Number(t.G0percentile));break;case"youth":l(7,N=Number(t.G2percentile));break;case"shield":l(7,N=Number(t.Spercentile));break;case"lifestyle":l(7,N=Number(t.Bpercentile));break}if(u=Number(t.P22percentile),f=Number(t.G0percentile),s=Number(t.G2percentile),v=Number(t.Spercentile),x=Number(t.Bpercentile),d=t.sex,N<32&&l(6,a="Lower than average"),N>=32&&N<=68&&l(6,a="Around average"),N>68&&l(6,a="Higher than average"),d==="M"){if(f>68&&s<32&&v<32&&x>68){l(5,c="4/4"),l(2,m=!0),l(4,n=!0);return}if(f>68||s<32||v<32||x>68){if(f>68&&s<32&&v<32||f>68&&s<32&&x>68||s<32&&v<32&&x>68||f>68&&v<32&&x>68){l(5,c="3/4"),l(3,y=!0),l(4,n=!0);return}f>68&&s<32||f>68&&v<32||f>68&&x>68||s<32&&v<32||s<32&&x>68||v<32&&x>68?l(5,c="2/4"):l(5,c="1/4"),l(4,n=!0);return}l(5,c="0/4"),l(4,n=!0);return}else{if(u<32){l(5,c="1/1"),l(2,m=!0),l(4,n=!0);return}l(5,c="0/1"),l(4,n=!0);return}}),h.$$set=D=>{"report"in D&&l(8,i=D.report),"type"in D&&l(0,p=D.type),"subtype"in D&&l(1,g=D.subtype),"service"in D&&l(9,$=D.service)},[p,g,m,y,n,c,a,N,i,$]}class Y extends K{constructor(e){super(),Q(this,e,de,oe,U,{report:8,type:0,subtype:1,service:9},ee)}get report(){return this.$$.ctx[8]}set report(e){this.$$set({report:e}),P()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),P()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),P()}get service(){return this.$$.ctx[9]}set service(e){this.$$set({service:e}),P()}}customElements.define("ga-myocardial",J(Y,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{Y as default};
@@ -1,2 +1,2 @@
1
- import{c as F,S as G,i as H,f as S,s as z,a as N,e as g,b as B,d as I,g as b,q as M,r as R,u as C,h as $,o as V,v as E,p as k,t as q,w as P,j as i,k as x,l as n,x as j,m as Z,y as O,n as A}from"./index2.js";import{A as K}from"./Arrow.js";import"./helpers.js";function U(d){N(d,"svelte-1371dlk",".summaryMain.svelte-1371dlk{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-1371dlk{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1371dlk{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-1371dlk{height:100%;width:100%;display:flex}.label.svelte-1371dlk{width:30%;display:flex;align-items:center}.header.svelte-1371dlk{width:100%;height:100%;display:flex;align-items:center}")}function Y(d){let e,l,t,s,m,c,h,p,v,r,o,a,f,L,w;return L=new K({props:{type:"left",percentile:d[5]}}),{c(){e=g("div"),l=g("div"),t=k("svg"),s=k("path"),c=B(),h=g("div"),p=g("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",v=B(),r=g("div"),o=q(d[4]),a=B(),f=g("div"),P(L.$$.fragment),i(s,"fill",m=d[5]>=32?"#12A195":"#F2590D"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24"),x(h,"display","flex"),x(h,"flex-direction","column"),x(h,"padding-left","0.3rem"),i(l,"class","label svelte-1371dlk"),x(l,"font-size","0.8rem"),x(f,"width","70%"),x(f,"display","flex"),x(f,"align-items","center"),i(e,"class","main svelte-1371dlk")},m(u,y){b(u,e,y),n(e,l),n(l,t),n(t,s),n(l,c),n(l,h),n(h,p),n(h,v),n(h,r),n(r,o),n(e,a),n(e,f),j(L,f,null),w=!0},p(u,y){(!w||y&32&&m!==(m=u[5]>=32?"#12A195":"#F2590D"))&&i(s,"fill",m),(!w||y&16)&&Z(o,u[4]);const T={};y&32&&(T.percentile=u[5]),L.$set(T)},i(u){w||(C(L.$$.fragment,u),w=!0)},o(u){M(L.$$.fragment,u),w=!1},d(u){u&&$(e),O(L)}}}function J(d){let e,l,t,s,m,c,h=d[5]<32?"Some overlap":"No significant overlap",p,v,r,o,a,f;function L(y,T){return y[1]?X:W}let w=L(d),u=w(d);return{c(){e=g("div"),l=g("div"),t=g("div"),u.c(),s=B(),m=g("div"),c=g("b"),p=q(h),v=q(" of glycan indexes between "),r=g("br"),o=q(" your patient and this condition."),a=B(),f=g("div"),f.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li></ul> <h5>Possible follow-up tests</h5> <ul style="font-size: 0.8rem;"><li>Serial blood pressure (BP) measurements \xB1 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic bloods (lipid profile, renal and liver function)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. A notable observation was the decrease in G2 in the cohort with prehypertension.</p>',x(t,"transform","translate(-50%)"),x(c,"color",d[1]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1371dlk"),i(f,"class","summaryBody svelte-1371dlk"),i(e,"class","summaryMain svelte-1371dlk")},m(y,T){b(y,e,T),n(e,l),n(l,t),u.m(t,null),n(l,s),n(l,m),n(m,c),n(c,p),n(m,v),n(m,r),n(m,o),n(e,a),n(e,f)},p(y,T){w!==(w=L(y))&&(u.d(1),u=w(y),u&&(u.c(),u.m(t,null))),T&32&&h!==(h=y[5]<32?"Some overlap":"No significant overlap")&&Z(p,h),T&2&&x(c,"color",y[1]?"#F2590D":"#12A195")},i:A,o:A,d(y){y&&$(e),u.d()}}}function Q(d){let e,l,t,s,m,c,h=d[1]?"Some overlap":"No significant overlap",p;function v(a,f){return a[1]?ee:_}let r=v(d),o=r(d);return{c(){e=g("div"),l=g("div"),t=g("b"),s=q(d[3]),m=B(),o.c(),c=q(`
2
- \xA0\xA0`),p=q(h),x(l,"padding-right","10px"),i(e,"class","header svelte-1371dlk")},m(a,f){b(a,e,f),n(e,l),n(l,t),n(t,s),n(e,m),o.m(e,null),n(e,c),n(e,p)},p(a,f){f&8&&Z(s,a[3]),r!==(r=v(a))&&(o.d(1),o=r(a),o&&(o.c(),o.m(e,c))),f&2&&h!==(h=a[1]?"Some overlap":"No significant overlap")&&Z(p,h)},i:A,o:A,d(a){a&&$(e),o.d()}}}function W(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,s){b(t,e,s),n(e,l)},d(t){t&&$(e)}}}function X(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,s){b(t,e,s),n(e,l)},d(t){t&&$(e)}}}function _(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,s){b(t,e,s),n(e,l)},d(t){t&&$(e)}}}function ee(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,s){b(t,e,s),n(e,l)},d(t){t&&$(e)}}}function le(d){let e,l,t,s,m,c;const h=[Q,J,Y],p=[];function v(r,o){return r[0]==="header"?0:r[0]==="summary"&&r[2]?1:2}return t=v(d),s=p[t]=h[t](d),{c(){e=g("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(),s.c(),m=I()},m(r,o){b(r,e,o),b(r,l,o),p[t].m(r,o),b(r,m,o),c=!0},p(r,[o]){let a=t;t=v(r),t===a?p[t].p(r,o):(E(),M(p[a],1,1,()=>{p[a]=null}),R(),s=p[t],s?s.p(r,o):(s=p[t]=h[t](r),s.c()),C(s,1),s.m(m.parentNode,m))},i(r){c||(C(s),c=!0)},o(r){M(s),c=!1},d(r){r&&($(e),$(l),$(m)),p[t].d(r)}}}function te(d,e,l){let{report:t}=e,{type:s}=e,{service:m=window.GaReportService}=e,c,h=!1,p=!1,v="",r="",o=0;return V(async()=>{if(c=await m.getReport(t),l(5,o=Number(c.G2percentile)),o<32){l(3,v="1/1"),l(4,r="Lower than average"),l(1,h=!0),l(2,p=!0);return}if(o>=32&&o<=68){l(3,v="0/1"),l(4,r="Around average"),l(2,p=!0);return}if(o>68){l(3,v="0/1"),l(4,r="Higher than average"),l(2,p=!0);return}}),d.$$set=a=>{"report"in a&&l(6,t=a.report),"type"in a&&l(0,s=a.type),"service"in a&&l(7,m=a.service)},[s,h,p,v,r,o,t,m]}class D extends G{constructor(e){super(),H(this,e,te,le,z,{report:6,type:0,service:7},U)}get report(){return this.$$.ctx[6]}set report(e){this.$$set({report:e}),S()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),S()}get service(){return this.$$.ctx[7]}set service(e){this.$$set({service:e}),S()}}customElements.define("ga-pre-hypertension",F(D,{report:{},type:{},service:{}},[],[],!0));export{D as default};
1
+ import{c as F,S as G,i as H,f as S,s as z,a as N,e as g,b as B,d as I,g as b,q as M,r as R,u as C,h as $,o as V,v as E,p as k,t as q,w as P,j as i,k as x,l as n,x as j,m as Z,y as O,n as A}from"./index2.js";import{A as K}from"./Arrow.js";import"./helpers.js";function U(d){N(d,"svelte-1371dlk",".summaryMain.svelte-1371dlk{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-1371dlk{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1371dlk{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-1371dlk{height:100%;width:100%;display:flex}.label.svelte-1371dlk{width:30%;display:flex;align-items:center}.header.svelte-1371dlk{width:100%;height:100%;display:flex;align-items:center}")}function Y(d){let e,l,t,r,m,c,h,p,v,s,o,a,f,L,w;return L=new K({props:{type:"left",percentile:d[5]}}),{c(){e=g("div"),l=g("div"),t=k("svg"),r=k("path"),c=B(),h=g("div"),p=g("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",v=B(),s=g("div"),o=q(d[4]),a=B(),f=g("div"),P(L.$$.fragment),i(r,"fill",m=d[5]>=32?"#12A195":"#F2590D"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24"),x(h,"display","flex"),x(h,"flex-direction","column"),x(h,"padding-left","0.3rem"),i(l,"class","label svelte-1371dlk"),x(l,"font-size","0.8rem"),x(f,"width","70%"),x(f,"display","flex"),x(f,"align-items","center"),i(e,"class","main svelte-1371dlk")},m(u,y){b(u,e,y),n(e,l),n(l,t),n(t,r),n(l,c),n(l,h),n(h,p),n(h,v),n(h,s),n(s,o),n(e,a),n(e,f),j(L,f,null),w=!0},p(u,y){(!w||y&32&&m!==(m=u[5]>=32?"#12A195":"#F2590D"))&&i(r,"fill",m),(!w||y&16)&&Z(o,u[4]);const T={};y&32&&(T.percentile=u[5]),L.$set(T)},i(u){w||(C(L.$$.fragment,u),w=!0)},o(u){M(L.$$.fragment,u),w=!1},d(u){u&&$(e),O(L)}}}function J(d){let e,l,t,r,m,c,h=d[5]<32?"Some overlap":"No significant overlap",p,v,s,o,a,f;function L(y,T){return y[1]?X:W}let w=L(d),u=w(d);return{c(){e=g("div"),l=g("div"),t=g("div"),u.c(),r=B(),m=g("div"),c=g("b"),p=q(h),v=q(" of glycan indexes between "),s=g("br"),o=q(" your patient and this condition."),a=B(),f=g("div"),f.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Serial blood pressure (BP) measurements \xB1 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic bloods (lipid profile, renal and liver function)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. A notable observation was the decrease in G2 in the cohort with prehypertension.</p>',x(t,"transform","translate(-50%)"),x(c,"color",d[1]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1371dlk"),i(f,"class","summaryBody svelte-1371dlk"),i(e,"class","summaryMain svelte-1371dlk")},m(y,T){b(y,e,T),n(e,l),n(l,t),u.m(t,null),n(l,r),n(l,m),n(m,c),n(c,p),n(m,v),n(m,s),n(m,o),n(e,a),n(e,f)},p(y,T){w!==(w=L(y))&&(u.d(1),u=w(y),u&&(u.c(),u.m(t,null))),T&32&&h!==(h=y[5]<32?"Some overlap":"No significant overlap")&&Z(p,h),T&2&&x(c,"color",y[1]?"#F2590D":"#12A195")},i:A,o:A,d(y){y&&$(e),u.d()}}}function Q(d){let e,l,t,r,m,c,h=d[1]?"Some overlap":"No significant overlap",p;function v(a,f){return a[1]?ee:_}let s=v(d),o=s(d);return{c(){e=g("div"),l=g("div"),t=g("b"),r=q(d[3]),m=B(),o.c(),c=q(`
2
+ \xA0\xA0`),p=q(h),x(l,"padding-right","10px"),i(e,"class","header svelte-1371dlk")},m(a,f){b(a,e,f),n(e,l),n(l,t),n(t,r),n(e,m),o.m(e,null),n(e,c),n(e,p)},p(a,f){f&8&&Z(r,a[3]),s!==(s=v(a))&&(o.d(1),o=s(a),o&&(o.c(),o.m(e,c))),f&2&&h!==(h=a[1]?"Some overlap":"No significant overlap")&&Z(p,h)},i:A,o:A,d(a){a&&$(e),o.d()}}}function W(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function X(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function _(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#12A195"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function ee(d){let e,l;return{c(){e=k("svg"),l=k("path"),i(l,"fill","#F2590D"),i(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"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){b(t,e,r),n(e,l)},d(t){t&&$(e)}}}function le(d){let e,l,t,r,m,c;const h=[Q,J,Y],p=[];function v(s,o){return s[0]==="header"?0:s[0]==="summary"&&s[2]?1:2}return t=v(d),r=p[t]=h[t](d),{c(){e=g("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(),r.c(),m=I()},m(s,o){b(s,e,o),b(s,l,o),p[t].m(s,o),b(s,m,o),c=!0},p(s,[o]){let a=t;t=v(s),t===a?p[t].p(s,o):(E(),M(p[a],1,1,()=>{p[a]=null}),R(),r=p[t],r?r.p(s,o):(r=p[t]=h[t](s),r.c()),C(r,1),r.m(m.parentNode,m))},i(s){c||(C(r),c=!0)},o(s){M(r),c=!1},d(s){s&&($(e),$(l),$(m)),p[t].d(s)}}}function te(d,e,l){let{report:t}=e,{type:r}=e,{service:m=window.GaReportService}=e,c,h=!1,p=!1,v="",s="",o=0;return V(async()=>{if(c=await m.getReport(t),l(5,o=Number(c.G2percentile)),o<32){l(3,v="1/1"),l(4,s="Lower than average"),l(1,h=!0),l(2,p=!0);return}if(o>=32&&o<=68){l(3,v="0/1"),l(4,s="Around average"),l(2,p=!0);return}if(o>68){l(3,v="0/1"),l(4,s="Higher than average"),l(2,p=!0);return}}),d.$$set=a=>{"report"in a&&l(6,t=a.report),"type"in a&&l(0,r=a.type),"service"in a&&l(7,m=a.service)},[r,h,p,v,s,o,t,m]}class D extends G{constructor(e){super(),H(this,e,te,le,z,{report:6,type:0,service:7},U)}get report(){return this.$$.ctx[6]}set report(e){this.$$set({report:e}),S()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),S()}get service(){return this.$$.ctx[7]}set service(e){this.$$set({service:e}),S()}}customElements.define("ga-pre-hypertension",F(D,{report:{},type:{},service:{}},[],[],!0));export{D as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@glycanage/web-components",
3
3
  "description": "A collection of web-components",
4
- "version": "1.37.0",
4
+ "version": "1.38.0",
5
5
  "type": "module",
6
6
  "main": "dist/lib/@glycanage/web-components.js",
7
7
  "scripts": {