@glycanage/web-components 1.24.0 → 1.26.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @glycanage/web-components
4
4
 
5
- A collection of web components.
5
+ A collection of web components used for rendering different disease segments on GlycanAge reports.
6
6
 
7
7
  ```
8
8
  npm i --save-exact @glycanage/web-components
@@ -10,4 +10,4 @@ npm i --save-exact @glycanage/web-components
10
10
 
11
11
  Visit our documentation site for more details.
12
12
 
13
- [Documentation](https://glycanage.github.io/web-components/)
13
+ [Documentation](https://developers.glycanage.com/)
@@ -1,14 +1,16 @@
1
- import{c as jt,S as yt,i as wt,f as je,s as Lt,a as At,e as d,b as v,d as Ve,g as A,n as Xe,h as T,o as Tt,t as b,j as l,k as o,l as e,m as M,p as I}from"./index2.js";import{s as ie,m as se,g as le,a as de,b as ne}from"./helpers.js";function Rt(s){At(s,"svelte-d7pztj",".main.svelte-d7pztj{width:450px;height:222px;background-color:#F0F6F5;border:2px solid #C8DBD0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-d7pztj{width:500px;height:500px;border-radius:10px;display:flex;flex-direction:column}.summaryHeader.svelte-d7pztj{width:100%;height:30%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-d7pztj{width:95%;height:100%;padding:1.5rem 0 0 1.5rem}.row.svelte-d7pztj{width:100%;height:23%;display:flex}.label.svelte-d7pztj{width:14%;height:100%;margin-left:1.5rem;font-size:0.8rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-d7pztj{width:86%;height:100%;position:relative}.min.svelte-d7pztj{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6B8678}.middleParent.svelte-d7pztj{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-d7pztj{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-d7pztj{position:absolute;width:46%;top:10%;height:80%;background-color:#C8DBD0}.result.svelte-d7pztj{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result2.svelte-d7pztj{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result3.svelte-d7pztj{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.yAxis.svelte-d7pztj{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341F;border-radius:10px}.max.svelte-d7pztj{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6B8678}.lastRow.svelte-d7pztj{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-d7pztj{height:10px;width:10px;border-radius:99px;background-color:#C8DBD0;border:1px solid black;margin-right:6px}.dot2.svelte-d7pztj{height:10px;width:10px;border-radius:99px;background-color:#33664D;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-d7pztj{position:absolute;bottom:60%;display:flex;align-items:center;flex-direction:column}.message.svelte-d7pztj{color:#33664D;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-7px}.triangle-down.svelte-d7pztj{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-d7pztj{width:100%;height:100%;display:flex;align-items:center}")}function Gt(s){let t,i,n,r,p,m,c,u,X,N,$,J,h,j,B,R,V,H,Z,G,f,w,D,x,k,C,Y,F,z=ie(s[5])+"",y,L,re,ye,Ye,ee,pe,Oe,O,me,we,Le,_e,ce,Ae,Te,Ke,S,Re,Qe,Ge,Ue,oe,We,P,_,ve,U,Me,et,Ne,De,ge=ie(s[10])+"",Ce,tt,it,$e,st,te,be,lt,K,he,Be,He,dt,ue,Ze,Fe,nt,q,ke,rt,Se,ot,ae,at,E,Q,fe,W,Pe,pt,qe,Ee,xe=ie(s[15])+"",Ie,mt,ct,Je,vt,ze;return{c(){t=d("div"),i=d("div"),n=d("div"),n.innerHTML="Glycan<br/><b>Mature</b>",r=v(),p=d("div"),m=d("div"),c=d("b"),u=b(s[1]),X=v(),N=d("div"),$=d("b"),J=b(s[2]),h=v(),j=d("div"),B=d("div"),R=v(),V=d("div"),H=v(),Z=d("div"),G=v(),f=d("div"),w=d("div"),D=d("div"),x=d("b"),k=b(s[4]),C=b(" ("),Y=b(s[5]),F=d("sup"),y=b(z),L=b(" percentile)"),re=v(),ye=d("div"),Ye=v(),ee=d("div"),pe=d("div"),pe.innerHTML="Glycan<br/> <b>Median</b>",Oe=v(),O=d("div"),me=d("div"),we=d("b"),Le=b(s[6]),_e=v(),ce=d("div"),Ae=d("b"),Te=b(s[7]),Ke=v(),S=d("div"),Re=d("div"),Qe=v(),Ge=d("div"),Ue=v(),oe=d("div"),We=v(),P=d("div"),_=d("div"),ve=d("div"),U=d("b"),Me=b(s[9]),et=b(" ("),Ne=b(s[10]),De=d("sup"),Ce=b(ge),tt=b(" percentile)"),it=v(),$e=d("div"),st=v(),te=d("div"),be=d("div"),be.innerHTML="Glycan<br/> <b>Youth</b>",lt=v(),K=d("div"),he=d("div"),Be=d("b"),He=b(s[11]),dt=v(),ue=d("div"),Ze=d("b"),Fe=b(s[12]),nt=v(),q=d("div"),ke=d("div"),rt=v(),Se=d("div"),ot=v(),ae=d("div"),at=v(),E=d("div"),Q=d("div"),fe=d("div"),W=d("b"),Pe=b(s[14]),pt=b(" ("),qe=b(s[15]),Ee=d("sup"),Ie=b(xe),mt=b(" percentile)"),ct=v(),Je=d("div"),vt=v(),ze=d("div"),ze.innerHTML='<div class="dot1 svelte-d7pztj"></div> <div style="font-size: 0.8rem;">Rheumatoid arthritis</div> <div class="dot2 svelte-d7pztj"></div> <div style="font-size: 0.8rem;">Your patient</div>',l(n,"class","label svelte-d7pztj"),l(m,"class","min svelte-d7pztj"),l(N,"class","max svelte-d7pztj"),l(B,"class","xAxis svelte-d7pztj"),l(V,"class","yAxis svelte-d7pztj"),l(Z,"class","diseaseArea svelte-d7pztj"),o(Z,"border-radius","0 6px 6px 0"),o(Z,"left","50.3%"),l(D,"class","message svelte-d7pztj"),l(ye,"class","triangle-down svelte-d7pztj"),l(w,"class","resultDisplay svelte-d7pztj"),o(w,"right",se(s[4],s[3],s[5])),l(f,"class","result svelte-d7pztj"),o(f,"padding",le(s[4],s[3],s[5])),o(f,"margin",de(s[4],s[3],s[5])),o(f,"border-radius",ne(s[4],s[3],s[5])),l(j,"class","middleParent svelte-d7pztj"),l(p,"class","content svelte-d7pztj"),l(i,"class","row svelte-d7pztj"),l(pe,"class","label svelte-d7pztj"),l(me,"class","min svelte-d7pztj"),l(ce,"class","max svelte-d7pztj"),l(Re,"class","xAxis svelte-d7pztj"),l(Ge,"class","yAxis svelte-d7pztj"),l(oe,"class","diseaseArea svelte-d7pztj"),o(oe,"border-radius","6px 0 0 6px"),o(oe,"right","50.3%"),l(ve,"class","message svelte-d7pztj"),l($e,"class","triangle-down svelte-d7pztj"),l(_,"class","resultDisplay svelte-d7pztj"),o(_,"right",se(s[9],s[8],s[10])),l(P,"class","result2 svelte-d7pztj"),o(P,"padding",le(s[9],s[8],s[10])),o(P,"margin",de(s[9],s[8],s[10])),o(P,"border-radius",ne(s[9],s[8],s[10])),l(S,"class","middleParent svelte-d7pztj"),l(O,"class","content svelte-d7pztj"),l(ee,"class","row svelte-d7pztj"),l(be,"class","label svelte-d7pztj"),l(he,"class","min svelte-d7pztj"),l(ue,"class","max svelte-d7pztj"),l(ke,"class","xAxis svelte-d7pztj"),l(Se,"class","yAxis svelte-d7pztj"),l(ae,"class","diseaseArea svelte-d7pztj"),o(ae,"border-radius","6px 0 0 6px"),o(ae,"right","50.3%"),l(fe,"class","message svelte-d7pztj"),l(Je,"class","triangle-down svelte-d7pztj"),l(Q,"class","resultDisplay svelte-d7pztj"),o(Q,"right",se(s[14],s[13],s[15])),l(E,"class","result3 svelte-d7pztj"),o(E,"padding",le(s[14],s[13],s[15])),o(E,"margin",de(s[14],s[13],s[15])),o(E,"border-radius",ne(s[14],s[13],s[15])),l(q,"class","middleParent svelte-d7pztj"),l(K,"class","content svelte-d7pztj"),l(te,"class","row svelte-d7pztj"),l(ze,"class","lastRow svelte-d7pztj"),l(t,"class","main svelte-d7pztj")},m(a,g){A(a,t,g),e(t,i),e(i,n),e(i,r),e(i,p),e(p,m),e(m,c),e(c,u),e(p,X),e(p,N),e(N,$),e($,J),e(p,h),e(p,j),e(j,B),e(j,R),e(j,V),e(j,H),e(j,Z),e(j,G),e(j,f),e(f,w),e(w,D),e(D,x),e(x,k),e(x,C),e(x,Y),e(x,F),e(F,y),e(x,L),e(w,re),e(w,ye),e(t,Ye),e(t,ee),e(ee,pe),e(ee,Oe),e(ee,O),e(O,me),e(me,we),e(we,Le),e(O,_e),e(O,ce),e(ce,Ae),e(Ae,Te),e(O,Ke),e(O,S),e(S,Re),e(S,Qe),e(S,Ge),e(S,Ue),e(S,oe),e(S,We),e(S,P),e(P,_),e(_,ve),e(ve,U),e(U,Me),e(U,et),e(U,Ne),e(U,De),e(De,Ce),e(U,tt),e(_,it),e(_,$e),e(t,st),e(t,te),e(te,be),e(te,lt),e(te,K),e(K,he),e(he,Be),e(Be,He),e(K,dt),e(K,ue),e(ue,Ze),e(Ze,Fe),e(K,nt),e(K,q),e(q,ke),e(q,rt),e(q,Se),e(q,ot),e(q,ae),e(q,at),e(q,E),e(E,Q),e(Q,fe),e(fe,W),e(W,Pe),e(W,pt),e(W,qe),e(W,Ee),e(Ee,Ie),e(W,mt),e(Q,ct),e(Q,Je),e(t,vt),e(t,ze)},p(a,g){g&2&&M(u,a[1]),g&4&&M(J,a[2]),g&16&&M(k,a[4]),g&32&&M(Y,a[5]),g&32&&z!==(z=ie(a[5])+"")&&M(y,z),g&56&&o(w,"right",se(a[4],a[3],a[5])),g&56&&o(f,"padding",le(a[4],a[3],a[5])),g&56&&o(f,"margin",de(a[4],a[3],a[5])),g&56&&o(f,"border-radius",ne(a[4],a[3],a[5])),g&64&&M(Le,a[6]),g&128&&M(Te,a[7]),g&512&&M(Me,a[9]),g&1024&&M(Ne,a[10]),g&1024&&ge!==(ge=ie(a[10])+"")&&M(Ce,ge),g&1792&&o(_,"right",se(a[9],a[8],a[10])),g&1792&&o(P,"padding",le(a[9],a[8],a[10])),g&1792&&o(P,"margin",de(a[9],a[8],a[10])),g&1792&&o(P,"border-radius",ne(a[9],a[8],a[10])),g&2048&&M(He,a[11]),g&4096&&M(Fe,a[12]),g&16384&&M(Pe,a[14]),g&32768&&M(qe,a[15]),g&32768&&xe!==(xe=ie(a[15])+"")&&M(Ie,xe),g&57344&&o(Q,"right",se(a[14],a[13],a[15])),g&57344&&o(E,"padding",le(a[14],a[13],a[15])),g&57344&&o(E,"margin",de(a[14],a[13],a[15])),g&57344&&o(E,"border-radius",ne(a[14],a[13],a[15]))},d(a){a&&T(t)}}}function Mt(s){let t,i=s[19]&&gt(s);return{c(){i&&i.c(),t=Ve()},m(n,r){i&&i.m(n,r),A(n,t,r)},p(n,r){n[19]?i?i.p(n,r):(i=gt(n),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(n){n&&T(t),i&&i.d(n)}}}function Nt(s){let t,i,n,r=s[16]&&ut(),p=s[17]&&ft(),m=s[18]&&xt();return{c(){t=d("div"),r&&r.c(),i=v(),p&&p.c(),n=v(),m&&m.c(),l(t,"class","header svelte-d7pztj")},m(c,u){A(c,t,u),r&&r.m(t,null),e(t,i),p&&p.m(t,null),e(t,n),m&&m.m(t,null)},p(c,u){c[16]?r||(r=ut(),r.c(),r.m(t,i)):r&&(r.d(1),r=null),c[17]?p||(p=ft(),p.c(),p.m(t,n)):p&&(p.d(1),p=null),c[18]?m||(m=xt(),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},d(c){c&&T(t),r&&r.d(),p&&p.d(),m&&m.d()}}}function gt(s){let t;function i(p,m){return p[18]?Ct:Dt}let n=i(s),r=n(s);return{c(){r.c(),t=Ve()},m(p,m){r.m(p,m),A(p,t,m)},p(p,m){n===(n=i(p))&&r?r.p(p,m):(r.d(1),r=n(p),r&&(r.c(),r.m(t.parentNode,t)))},d(p){p&&T(t),r.d(p)}}}function Dt(s){let t,i,n,r,p,m,c,u,X,N,$,J,h,j,B,R,V,H,Z,G,f,w,D,x,k,C,Y,F,z=s[16]&&bt(),y=s[17]&&ht();return{c(){t=d("div"),i=d("div"),n=d("div"),z&&z.c(),r=v(),y&&y.c(),p=v(),m=d("div"),c=b("There is "),u=d("b"),u.textContent=`${s[23]()}`,X=b(" of glycan indexes between "),N=d("br"),$=b(" your patient and rheumatoid arthritis patients."),J=v(),h=d("div"),j=d("div"),j.textContent="Symptoms to check for:",B=v(),R=d("div"),R.innerHTML=`<b>Joint pain and stiffnes:</b> The immune attack on synovium leads to
2
- inflammation, <br/> causing pain and stiffness in the affected joints.`,V=v(),H=d("div"),H.innerHTML="<b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.",Z=v(),G=d("div"),G.innerHTML=`<b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the
3
- body <br/> simultaneously, indicating an autoimmune process.`,f=v(),w=d("div"),w.textContent="Possible follow-up tests:",D=v(),x=d("div"),x.innerHTML=`<b>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
4
- antibodies, commonly found in RA patients.`,k=v(),C=d("div"),C.innerHTML=`<b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the <br/> presence of RF
5
- antibodies, commonly found in RA patients.`,Y=v(),F=d("div"),F.innerHTML=`<b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and
6
- inflammation <br/> characteristic of RA.`,o(n,"width","10%"),o(n,"padding-left","1.5rem"),o(n,"padding-right","1rem"),o(m,"width","90%"),l(i,"class","summaryHeader svelte-d7pztj"),o(i,"border-radius","8px 8px 0 0"),o(i,"background-color",s[21]()),o(i,"border-bottom","2px solid "+s[20]()),o(j,"font-size","1.2rem"),o(j,"padding-bottom","1rem"),o(R,"font-size","0.7rem"),o(R,"padding-bottom","0.4rem"),o(H,"font-size","0.7rem"),o(H,"padding-bottom","0.4rem"),o(G,"font-size","0.7rem"),o(G,"padding-bottom","0.4rem"),o(w,"font-size","1.2rem"),o(w,"padding-top","1.2rem"),o(w,"padding-bottom","1rem"),o(x,"font-size","0.7rem"),o(x,"padding-bottom","0.4rem"),o(C,"font-size","0.7rem"),o(C,"padding-bottom","0.4rem"),o(F,"font-size","0.7rem"),o(F,"padding-bottom","0.4rem"),l(h,"class","summaryBody svelte-d7pztj"),o(h,"background-color",s[22]()),l(t,"class","summaryMain svelte-d7pztj"),o(t,"border","2px solid "+s[20]())},m(L,re){A(L,t,re),e(t,i),e(i,n),z&&z.m(n,null),e(n,r),y&&y.m(n,null),e(i,p),e(i,m),e(m,c),e(m,u),e(m,X),e(m,N),e(m,$),e(t,J),e(t,h),e(h,j),e(h,B),e(h,R),e(h,V),e(h,H),e(h,Z),e(h,G),e(h,f),e(h,w),e(h,D),e(h,x),e(h,k),e(h,C),e(h,Y),e(h,F)},p(L,re){L[16]?z||(z=bt(),z.c(),z.m(n,r)):z&&(z.d(1),z=null),L[17]?y||(y=ht(),y.c(),y.m(n,null)):y&&(y.d(1),y=null)},d(L){L&&T(t),z&&z.d(),y&&y.d()}}}function Ct(s){let t;return{c(){t=d("div"),t.innerHTML=`<div class="summaryHeader svelte-d7pztj" 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 rheumatoid arthritis patients.</div></div> <div class="summaryBody svelte-d7pztj" 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>Joint pain and stiffnes:</b> The immune attack on synovium leads to
7
- inflammation, <br/> causing pain and stiffness in the affected joints.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the
8
- body <br/> simultaneously, indicating an autoimmune process.</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>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
9
- antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the <br/> presence of RF
10
- antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and
11
- inflammation <br/> characteristic of RA.</div></div>`,l(t,"class","summaryMain svelte-d7pztj")},m(i,n){A(i,t,n)},p:Xe,d(i){i&&T(t)}}}function bt(s){let t,i;return{c(){t=I("svg"),i=I("path"),l(i,"fill","#CC0000"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(n,r){A(n,t,r),e(t,i)},d(n){n&&T(t)}}}function ht(s){let t,i;return{c(){t=I("svg"),i=I("path"),l(i,"fill","#EE9933"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.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(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(n,r){A(n,t,r),e(t,i)},d(n){n&&T(t)}}}function ut(s){let t,i,n;return{c(){t=I("svg"),i=I("path"),n=b(`
12
- \xA0 Significant overlap`),l(i,"fill","#CC0000"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","24"),l(t,"height","24"),l(t,"viewBox","0 0 24 24")},m(r,p){A(r,t,p),e(t,i),A(r,n,p)},d(r){r&&(T(t),T(n))}}}function ft(s){let t,i,n;return{c(){t=I("svg"),i=I("path"),n=b(`
13
- \xA0 Some overlap`),l(i,"fill","#EE9933"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.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(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","24"),l(t,"height","24"),l(t,"viewBox","0 0 24 24")},m(r,p){A(r,t,p),e(t,i),A(r,n,p)},d(r){r&&(T(t),T(n))}}}function xt(s){let t,i,n;return{c(){t=I("svg"),i=I("path"),n=b(`
14
- \xA0 No overlap`),l(i,"fill","#00AA44"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.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(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","24"),l(t,"height","24"),l(t,"viewBox","0 0 24 24")},m(r,p){A(r,t,p),e(t,i),A(r,n,p)},d(r){r&&(T(t),T(n))}}}function $t(s){let t,i,n;function r(c,u){return c[0]==="header"?Nt:c[0]==="summary"?Mt:Gt}let p=r(s),m=p(s);return{c(){t=d("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',i=v(),m.c(),n=Ve()},m(c,u){A(c,t,u),A(c,i,u),m.m(c,u),A(c,n,u)},p(c,[u]){p===(p=r(c))&&m?m.p(c,u):(m.d(1),m=p(c),m&&(m.c(),m.m(n.parentNode,n)))},i:Xe,o:Xe,d(c){c&&(T(t),T(i),T(n)),m.d(c)}}}function Bt(s,t,i){let{language:n}=t,{report:r}=t,{type:p}=t,{service:m=window.GaReportService}=t,c,u=0,X=0,N=0,$=0,J=0,h=0,j=0,B=0,R=0,V=0,H=0,Z=0,G=0,f=0,w=0,D=!1,x=!1,k=!1,C=!1;function Y(){return D?"#CC0000":x?"#EE9933":"#00AA44"}function F(){return D?"rgba(204,0,0,0.15)":x?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function z(){return D?"rgba(204,0,0,0.05)":x?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function y(){return D?"a significant overlap":x?"some overlap":"no significant overlap"}return Tt(async()=>{if(c=await m.getReport(void 0),i(1,u=Number(c.G0xmin)),i(2,X=Number(c.G0xmax)),i(3,N=Number(c.G0xaverage)),i(4,$=Number(c.G0yourscore)),i(5,J=Number(c.G0percentile)),i(6,h=Number(c.G1xmin)),i(7,j=Number(c.G1xmax)),i(8,B=Number(c.G1xaverage)),i(9,R=Number(c.G1yourscore)),i(10,V=Number(c.G1percentile)),i(11,H=Number(c.G2xmin)),i(12,Z=Number(c.G2xmax)),i(13,G=Number(c.G2xaverage)),i(14,f=Number(c.G2yourscore)),i(15,w=Number(c.G2percentile)),$>N&&R<B&&f<G){i(16,D=!0),i(19,C=!0);return}if($>N||R<B||f<G){if($>N&&R<B||$>N&&f<G||R<B&&f<G){i(17,x=!0),i(19,C=!0);return}i(18,k=!0),i(19,C=!0);return}i(18,k=!0),i(19,C=!0)}),s.$$set=L=>{"language"in L&&i(24,n=L.language),"report"in L&&i(25,r=L.report),"type"in L&&i(0,p=L.type),"service"in L&&i(26,m=L.service)},[p,u,X,N,$,J,h,j,B,R,V,H,Z,G,f,w,D,x,k,C,Y,F,z,y,n,r,m]}class zt extends yt{constructor(t){super(),wt(this,t,Bt,$t,Lt,{language:24,report:25,type:0,service:26},Rt)}get language(){return this.$$.ctx[24]}set language(t){this.$$set({language:t}),je()}get report(){return this.$$.ctx[25]}set report(t){this.$$set({report:t}),je()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),je()}get service(){return this.$$.ctx[26]}set service(t){this.$$set({service:t}),je()}}customElements.define("ga-arthritis",jt(zt,{language:{},report:{},type:{},service:{}},[],[],!0));export{zt as default};
1
+ import{c as wt,S as Lt,i as zt,f as we,s as At,a as Tt,e as n,b as v,d as Xe,g as A,n as Je,h as T,o as Rt,t as g,j as i,k as d,l as e,m as G,p as E}from"./index2.js";import{s as se,m as ie,g as ne,a as le,b as re}from"./helpers.js";function Mt(a){Tt(a,"svelte-synmfx",".main.svelte-synmfx{width:450px;height:222px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-synmfx{width:500px;height:500px;border-radius:10px;display:flex;flex-direction:column}.summaryHeader.svelte-synmfx{width:100%;height:30%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-synmfx{width:95%;height:100%;padding:1.5rem 0 0 1.5rem}.row.svelte-synmfx{width:100%;height:23%;display:flex}.label.svelte-synmfx{width:14%;height:100%;margin-left:1.5rem;font-size:0.8rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-synmfx{width:86%;height:100%;position:relative}.min.svelte-synmfx{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-synmfx{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-synmfx{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-synmfx{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-synmfx{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-synmfx{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-synmfx{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-synmfx{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-synmfx{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-synmfx{position:absolute;bottom:60%;display:flex;align-items:center;flex-direction:column}.message.svelte-synmfx{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-7px}.triangle-down.svelte-synmfx{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-synmfx{width:100%;height:100%;display:flex;align-items:center}")}function kt(a){let t,s,l,r,o,m,c,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,w,L=se(a[4])+"",z,V,ae,Le,Oe,ee,me,Ye,Y,ce,ze,Ae,_e,ve,Te,Re,Ke,S,Me,Qe,ke,Ue,de,We,P,_,fe,U,Ge,et,Ne,$e,pe=se(a[8])+"",je,tt,st,He,it,te,ge,nt,K,xe,Ce,Ze,lt,be,Be,Se,rt,F,Pe,at,Fe,dt,oe,ot,q,Q,he,W,qe,mt,Ee,Ie,ye=se(a[12])+"",De,ct,vt,Ve,ft,ue;return{c(){t=n("div"),s=n("div"),l=n("div"),l.innerHTML="Glycan<br/><b>Mature</b>",r=v(),o=n("div"),m=n("div"),c=n("b"),b=g(a[1]),X=v(),Z=n("div"),N=n("b"),I=g(a[2]),x=v(),y=n("div"),$=n("div"),H=v(),D=n("div"),C=v(),R=n("div"),M=v(),h=n("div"),u=n("div"),j=n("div"),k=n("b"),J=g(a[3]),B=g(" ("),O=g(a[4]),w=n("sup"),z=g(L),V=g(" percentile)"),ae=v(),Le=n("div"),Oe=v(),ee=n("div"),me=n("div"),me.innerHTML="Glycan<br/> <b>Median</b>",Ye=v(),Y=n("div"),ce=n("div"),ze=n("b"),Ae=g(a[5]),_e=v(),ve=n("div"),Te=n("b"),Re=g(a[6]),Ke=v(),S=n("div"),Me=n("div"),Qe=v(),ke=n("div"),Ue=v(),de=n("div"),We=v(),P=n("div"),_=n("div"),fe=n("div"),U=n("b"),Ge=g(a[7]),et=g(" ("),Ne=g(a[8]),$e=n("sup"),je=g(pe),tt=g(" percentile)"),st=v(),He=n("div"),it=v(),te=n("div"),ge=n("div"),ge.innerHTML="Glycan<br/> <b>Youth</b>",nt=v(),K=n("div"),xe=n("div"),Ce=n("b"),Ze=g(a[9]),lt=v(),be=n("div"),Be=n("b"),Se=g(a[10]),rt=v(),F=n("div"),Pe=n("div"),at=v(),Fe=n("div"),dt=v(),oe=n("div"),ot=v(),q=n("div"),Q=n("div"),he=n("div"),W=n("b"),qe=g(a[11]),mt=g(" ("),Ee=g(a[12]),Ie=n("sup"),De=g(ye),ct=g(" percentile)"),vt=v(),Ve=n("div"),ft=v(),ue=n("div"),ue.innerHTML='<div class="dot1 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Rheumatoid arthritis</div> <div class="dot2 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(l,"class","label svelte-synmfx"),i(m,"class","min svelte-synmfx"),i(Z,"class","max svelte-synmfx"),i($,"class","xAxis svelte-synmfx"),i(D,"class","yAxis svelte-synmfx"),i(R,"class","diseaseArea svelte-synmfx"),d(R,"border-radius","0 6px 6px 0"),d(R,"left","50.3%"),i(j,"class","message svelte-synmfx"),i(Le,"class","triangle-down svelte-synmfx"),i(u,"class","resultDisplay svelte-synmfx"),d(u,"right",ie(a[4])),i(h,"class","result svelte-synmfx"),d(h,"padding",ne(a[4])),d(h,"margin",le(a[4])),d(h,"border-radius",re(a[4])),i(y,"class","middleParent svelte-synmfx"),i(o,"class","content svelte-synmfx"),i(s,"class","row svelte-synmfx"),i(me,"class","label svelte-synmfx"),i(ce,"class","min svelte-synmfx"),i(ve,"class","max svelte-synmfx"),i(Me,"class","xAxis svelte-synmfx"),i(ke,"class","yAxis svelte-synmfx"),i(de,"class","diseaseArea svelte-synmfx"),d(de,"border-radius","6px 0 0 6px"),d(de,"right","50.3%"),i(fe,"class","message svelte-synmfx"),i(He,"class","triangle-down svelte-synmfx"),i(_,"class","resultDisplay svelte-synmfx"),d(_,"right",ie(a[8])),i(P,"class","result2 svelte-synmfx"),d(P,"padding",ne(a[8])),d(P,"margin",le(a[8])),d(P,"border-radius",re(a[8])),i(S,"class","middleParent svelte-synmfx"),i(Y,"class","content svelte-synmfx"),i(ee,"class","row svelte-synmfx"),i(ge,"class","label svelte-synmfx"),i(xe,"class","min svelte-synmfx"),i(be,"class","max svelte-synmfx"),i(Pe,"class","xAxis svelte-synmfx"),i(Fe,"class","yAxis svelte-synmfx"),i(oe,"class","diseaseArea svelte-synmfx"),d(oe,"border-radius","6px 0 0 6px"),d(oe,"right","50.3%"),i(he,"class","message svelte-synmfx"),i(Ve,"class","triangle-down svelte-synmfx"),i(Q,"class","resultDisplay svelte-synmfx"),d(Q,"right",ie(a[12])),i(q,"class","result3 svelte-synmfx"),d(q,"padding",ne(a[12])),d(q,"margin",le(a[12])),d(q,"border-radius",re(a[12])),i(F,"class","middleParent svelte-synmfx"),i(K,"class","content svelte-synmfx"),i(te,"class","row svelte-synmfx"),i(ue,"class","lastRow svelte-synmfx"),i(t,"class","main svelte-synmfx")},m(f,p){A(f,t,p),e(t,s),e(s,l),e(s,r),e(s,o),e(o,m),e(m,c),e(c,b),e(o,X),e(o,Z),e(Z,N),e(N,I),e(o,x),e(o,y),e(y,$),e(y,H),e(y,D),e(y,C),e(y,R),e(y,M),e(y,h),e(h,u),e(u,j),e(j,k),e(k,J),e(k,B),e(k,O),e(k,w),e(w,z),e(k,V),e(u,ae),e(u,Le),e(t,Oe),e(t,ee),e(ee,me),e(ee,Ye),e(ee,Y),e(Y,ce),e(ce,ze),e(ze,Ae),e(Y,_e),e(Y,ve),e(ve,Te),e(Te,Re),e(Y,Ke),e(Y,S),e(S,Me),e(S,Qe),e(S,ke),e(S,Ue),e(S,de),e(S,We),e(S,P),e(P,_),e(_,fe),e(fe,U),e(U,Ge),e(U,et),e(U,Ne),e(U,$e),e($e,je),e(U,tt),e(_,st),e(_,He),e(t,it),e(t,te),e(te,ge),e(te,nt),e(te,K),e(K,xe),e(xe,Ce),e(Ce,Ze),e(K,lt),e(K,be),e(be,Be),e(Be,Se),e(K,rt),e(K,F),e(F,Pe),e(F,at),e(F,Fe),e(F,dt),e(F,oe),e(F,ot),e(F,q),e(q,Q),e(Q,he),e(he,W),e(W,qe),e(W,mt),e(W,Ee),e(W,Ie),e(Ie,De),e(W,ct),e(Q,vt),e(Q,Ve),e(t,ft),e(t,ue)},p(f,p){p&2&&G(b,f[1]),p&4&&G(I,f[2]),p&8&&G(J,f[3]),p&16&&G(O,f[4]),p&16&&L!==(L=se(f[4])+"")&&G(z,L),p&16&&d(u,"right",ie(f[4])),p&16&&d(h,"padding",ne(f[4])),p&16&&d(h,"margin",le(f[4])),p&16&&d(h,"border-radius",re(f[4])),p&32&&G(Ae,f[5]),p&64&&G(Re,f[6]),p&128&&G(Ge,f[7]),p&256&&G(Ne,f[8]),p&256&&pe!==(pe=se(f[8])+"")&&G(je,pe),p&256&&d(_,"right",ie(f[8])),p&256&&d(P,"padding",ne(f[8])),p&256&&d(P,"margin",le(f[8])),p&256&&d(P,"border-radius",re(f[8])),p&512&&G(Ze,f[9]),p&1024&&G(Se,f[10]),p&2048&&G(qe,f[11]),p&4096&&G(Ee,f[12]),p&4096&&ye!==(ye=se(f[12])+"")&&G(De,ye),p&4096&&d(Q,"right",ie(f[12])),p&4096&&d(q,"padding",ne(f[12])),p&4096&&d(q,"margin",le(f[12])),p&4096&&d(q,"border-radius",re(f[12]))},d(f){f&&T(t)}}}function Gt(a){let t,s=a[16]&&pt(a);return{c(){s&&s.c(),t=Xe()},m(l,r){s&&s.m(l,r),A(l,t,r)},p(l,r){l[16]?s?s.p(l,r):(s=pt(l),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(l){l&&T(t),s&&s.d(l)}}}function Nt(a){let t,s,l,r=a[13]&&bt(),o=a[14]&&ht(),m=a[15]&&yt();return{c(){t=n("div"),r&&r.c(),s=v(),o&&o.c(),l=v(),m&&m.c(),i(t,"class","header svelte-synmfx")},m(c,b){A(c,t,b),r&&r.m(t,null),e(t,s),o&&o.m(t,null),e(t,l),m&&m.m(t,null)},p(c,b){c[13]?r||(r=bt(),r.c(),r.m(t,s)):r&&(r.d(1),r=null),c[14]?o||(o=ht(),o.c(),o.m(t,l)):o&&(o.d(1),o=null),c[15]?m||(m=yt(),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},d(c){c&&T(t),r&&r.d(),o&&o.d(),m&&m.d()}}}function pt(a){let t;function s(o,m){return o[15]?jt:$t}let l=s(a),r=l(a);return{c(){r.c(),t=Xe()},m(o,m){r.m(o,m),A(o,t,m)},p(o,m){l===(l=s(o))&&r?r.p(o,m):(r.d(1),r=l(o),r&&(r.c(),r.m(t.parentNode,t)))},d(o){o&&T(t),r.d(o)}}}function $t(a){let t,s,l,r,o,m,c,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,w,L=a[13]&&gt(),z=a[14]&&xt();return{c(){t=n("div"),s=n("div"),l=n("div"),L&&L.c(),r=v(),z&&z.c(),o=v(),m=n("div"),c=g("There is "),b=n("b"),b.textContent=`${a[20]()}`,X=g(" of glycan indexes between "),Z=n("br"),N=g(` your patient and rheumatoid
2
+ arthritis patients.`),I=v(),x=n("div"),y=n("div"),y.textContent="Symptoms to check for:",$=v(),H=n("div"),H.innerHTML=`<b>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
3
+ <br/> causing pain and stiffness in the affected joints.`,D=v(),C=n("div"),C.innerHTML="<b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.",R=v(),M=n("div"),M.innerHTML=`<b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the body
4
+ <br/> simultaneously, indicating an autoimmune process.`,h=v(),u=n("div"),u.textContent="Possible follow-up tests:",j=v(),k=n("div"),k.innerHTML=`<b>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
5
+ antibodies, commonly found in RA patients.`,J=v(),B=n("div"),B.innerHTML=`<b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the
6
+ <br/> presence of RF antibodies, commonly found in RA patients.`,O=v(),w=n("div"),w.innerHTML=`<b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and inflammation
7
+ <br/> characteristic of RA.`,d(l,"width","10%"),d(l,"padding-left","1.5rem"),d(l,"padding-right","1rem"),d(m,"width","90%"),i(s,"class","summaryHeader svelte-synmfx"),d(s,"border-radius","8px 8px 0 0"),d(s,"background-color",a[18]()),d(s,"border-bottom","2px solid "+a[17]()),d(y,"font-size","1.2rem"),d(y,"padding-bottom","1rem"),d(H,"font-size","0.7rem"),d(H,"padding-bottom","0.4rem"),d(C,"font-size","0.7rem"),d(C,"padding-bottom","0.4rem"),d(M,"font-size","0.7rem"),d(M,"padding-bottom","0.4rem"),d(u,"font-size","1.2rem"),d(u,"padding-top","1.2rem"),d(u,"padding-bottom","1rem"),d(k,"font-size","0.7rem"),d(k,"padding-bottom","0.4rem"),d(B,"font-size","0.7rem"),d(B,"padding-bottom","0.4rem"),d(w,"font-size","0.7rem"),d(w,"padding-bottom","0.4rem"),i(x,"class","summaryBody svelte-synmfx"),d(x,"background-color",a[19]()),i(t,"class","summaryMain svelte-synmfx"),d(t,"border","2px solid "+a[17]())},m(V,ae){A(V,t,ae),e(t,s),e(s,l),L&&L.m(l,null),e(l,r),z&&z.m(l,null),e(s,o),e(s,m),e(m,c),e(m,b),e(m,X),e(m,Z),e(m,N),e(t,I),e(t,x),e(x,y),e(x,$),e(x,H),e(x,D),e(x,C),e(x,R),e(x,M),e(x,h),e(x,u),e(x,j),e(x,k),e(x,J),e(x,B),e(x,O),e(x,w)},p(V,ae){V[13]?L||(L=gt(),L.c(),L.m(l,r)):L&&(L.d(1),L=null),V[14]?z||(z=xt(),z.c(),z.m(l,null)):z&&(z.d(1),z=null)},d(V){V&&T(t),L&&L.d(),z&&z.d()}}}function jt(a){let t;return{c(){t=n("div"),t.innerHTML=`<div class="summaryHeader svelte-synmfx" 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
+ rheumatoid arthritis patients.</div></div> <div class="summaryBody svelte-synmfx" 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>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
9
+ <br/> causing pain and stiffness in the affected joints.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the body
10
+ <br/> simultaneously, indicating an autoimmune process.</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>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
11
+ antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the
12
+ <br/> presence of RF antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and inflammation
13
+ <br/> characteristic of RA.</div></div>`,i(t,"class","summaryMain svelte-synmfx")},m(s,l){A(s,t,l)},p:Je,d(s){s&&T(t)}}}function gt(a){let t,s;return{c(){t=E("svg"),s=E("path"),i(s,"fill","#CC0000"),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","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(l,r){A(l,t,r),e(t,s)},d(l){l&&T(t)}}}function xt(a){let t,s;return{c(){t=E("svg"),s=E("path"),i(s,"fill","#EE9933"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(l,r){A(l,t,r),e(t,s)},d(l){l&&T(t)}}}function bt(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
14
+ \xA0 Significant overlap`),i(s,"fill","#CC0000"),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")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function ht(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
15
+ \xA0 Some overlap`),i(s,"fill","#EE9933"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function yt(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
16
+ \xA0 No overlap`),i(s,"fill","#00AA44"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function Ht(a){let t,s,l;function r(c,b){return c[0]==="header"?Nt:c[0]==="summary"?Gt:kt}let o=r(a),m=o(a);return{c(){t=n("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=v(),m.c(),l=Xe()},m(c,b){A(c,t,b),A(c,s,b),m.m(c,b),A(c,l,b)},p(c,[b]){o===(o=r(c))&&m?m.p(c,b):(m.d(1),m=o(c),m&&(m.c(),m.m(l.parentNode,l)))},i:Je,o:Je,d(c){c&&(T(t),T(s),T(l)),m.d(c)}}}function Ct(a,t,s){let{language:l}=t,{report:r}=t,{type:o}=t,{service:m=window.GaReportService}=t,c,b=0,X=0,Z=0,N=0,I=0,x=0,y=0,$=0,H=0,D=0,C=0,R=0,M=!1,h=!1,u=!1,j=!1;function k(){return M?"#CC0000":h?"#EE9933":"#00AA44"}function J(){return M?"rgba(204,0,0,0.15)":h?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function B(){return M?"rgba(204,0,0,0.05)":h?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function O(){return M?"a significant overlap":h?"some overlap":"no significant overlap"}return Rt(async()=>{if(c=await m.getReport(r),s(1,b=Number(c.G0xmin)),s(2,X=Number(c.G0xmax)),s(3,Z=Number(c.G0yourscore)),s(4,N=Number(c.G0percentile)),s(5,I=Number(c.G1xmin)),s(6,x=Number(c.G1xmax)),s(7,y=Number(c.G1yourscore)),s(8,$=Number(c.G1percentile)),s(9,H=Number(c.G2xmin)),s(10,D=Number(c.G2xmax)),s(11,C=Number(c.G2yourscore)),s(12,R=Number(c.G2percentile)),N>50&&$<50&&R<50){s(13,M=!0),s(16,j=!0);return}if(N>50||$<50||R<50){if(N>50&&$<50||N>50&&R<50||$<50&&R<50){s(14,h=!0),s(16,j=!0);return}s(15,u=!0),s(16,j=!0);return}s(15,u=!0),s(16,j=!0)}),a.$$set=w=>{"language"in w&&s(21,l=w.language),"report"in w&&s(22,r=w.report),"type"in w&&s(0,o=w.type),"service"in w&&s(23,m=w.service)},[o,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,l,r,m]}class ut extends Lt{constructor(t){super(),zt(this,t,Ct,Ht,At,{language:21,report:22,type:0,service:23},Mt)}get language(){return this.$$.ctx[21]}set language(t){this.$$set({language:t}),we()}get report(){return this.$$.ctx[22]}set report(t){this.$$set({report:t}),we()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),we()}get service(){return this.$$.ctx[23]}set service(t){this.$$set({service:t}),we()}}customElements.define("ga-arthritis",wt(ut,{language:{},report:{},type:{},service:{}},[],[],!0));export{ut as default};
@@ -1,16 +1,19 @@
1
- import{c as Ht,S as $t,i as St,f as Ke,s as Zt,a as qt,e as i,b as c,d as Fl,g as G,n as Rl,h as D,o as Et,t as p,j as r,k as n,l as e,m as u,p as W}from"./index2.js";import{s as X,m as ee,g as le,a as te,b as se}from"./helpers.js";function Ft(t){qt(t,"svelte-1w80bh2",".main.svelte-1w80bh2{width:450px;height:300px;background-color:#F0F6F5;border:2px solid #C8DBD0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-1w80bh2{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-1w80bh2{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1w80bh2{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-1w80bh2{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-1w80bh2{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-1w80bh2{width:86%;height:100%;position:relative}.min.svelte-1w80bh2{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6B8678}.middleParent.svelte-1w80bh2{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-1w80bh2{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-1w80bh2{position:absolute;width:46%;top:10%;height:80%;background-color:#C8DBD0}.result.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result2.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result3.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.yAxis.svelte-1w80bh2{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341F;border-radius:10px}.max.svelte-1w80bh2{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6B8678}.lastRow.svelte-1w80bh2{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#C8DBD0;border:1px solid black;margin-right:6px}.dot2.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#33664D;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-1w80bh2{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-1w80bh2{color:#33664D;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-1w80bh2{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-1w80bh2{width:100%;height:100%;display:flex;align-items:center}")}function Rt(t){let l,s,o,d,h,m,b,f,oe,N,M,ie,w,L,C,T,re,q,E,A,x,k,F,H,$,B,ae,S,y=X(t[5])+"",g,z,de,R,ne,j,P,Ge,V,ye,Ne,Z,jl,De,Qe,We,Pl,O,Xe,Vl,el,Ol,Te,Il,I,be,Ce,we,ll,Ul,tl,sl,He=X(t[10])+"",il,Yl,_l,rl,Jl,Le,$e,Kl,he,Se,al,nl,Ql,Ze,ol,dl,Wl,U,bl,Xl,hl,et,ke,lt,Y,ce,qe,ue,cl,tt,ml,vl,Ee=X(t[15])+"",pl,st,it,gl,rt,Ae,Fe,at,me,Re,wl,ul,nt,je,xl,fl,ot,_,yl,dt,Ll,bt,Be,ht,J,ve,Pe,xe,Al,ct,zl,Nl,Ve=X(t[20])+"",Tl,mt,vt,kl,pt,ze,Oe,gt,pe,Ie,Bl,Ml,wt,Ue,Gl,Dl,ut,K,Cl,xt,Hl,ft,Me,yt,Q,ge,Ye,fe,$l,Lt,Sl,Zl,_e=X(t[25])+"",ql,At,zt,El,Nt,Je;return{c(){l=i("div"),s=i("div"),o=i("div"),o.innerHTML="Glycan<br/> <b>Mature</b>",d=c(),h=i("div"),m=i("div"),b=i("b"),f=p(t[1]),oe=c(),N=i("div"),M=i("b"),ie=p(t[2]),w=c(),L=i("div"),C=i("div"),T=c(),re=i("div"),q=c(),E=i("div"),A=c(),x=i("div"),k=i("div"),F=i("div"),H=i("b"),$=p(t[4]),B=p(" ("),ae=p(t[5]),S=i("sup"),g=p(y),z=p(" percentile)"),de=c(),R=i("div"),ne=c(),j=i("div"),P=i("div"),P.innerHTML="Glycan<br/> <b>Median</b>",Ge=c(),V=i("div"),ye=i("div"),Ne=i("b"),Z=p(t[6]),jl=c(),De=i("div"),Qe=i("b"),We=p(t[7]),Pl=c(),O=i("div"),Xe=i("div"),Vl=c(),el=i("div"),Ol=c(),Te=i("div"),Il=c(),I=i("div"),be=i("div"),Ce=i("div"),we=i("b"),ll=p(t[9]),Ul=p(" ("),tl=p(t[10]),sl=i("sup"),il=p(He),Yl=p(" percentile)"),_l=c(),rl=i("div"),Jl=c(),Le=i("div"),$e=i("div"),$e.innerHTML="Glycan<br/> <b>Youth</b>",Kl=c(),he=i("div"),Se=i("div"),al=i("b"),nl=p(t[11]),Ql=c(),Ze=i("div"),ol=i("b"),dl=p(t[12]),Wl=c(),U=i("div"),bl=i("div"),Xl=c(),hl=i("div"),et=c(),ke=i("div"),lt=c(),Y=i("div"),ce=i("div"),qe=i("div"),ue=i("b"),cl=p(t[14]),tt=p(" ("),ml=p(t[15]),vl=i("sup"),pl=p(Ee),st=p(" percentile)"),it=c(),gl=i("div"),rt=c(),Ae=i("div"),Fe=i("div"),Fe.innerHTML="Glycan<br/> <b>Shield</b>",at=c(),me=i("div"),Re=i("div"),wl=i("b"),ul=p(t[16]),nt=c(),je=i("div"),xl=i("b"),fl=p(t[17]),ot=c(),_=i("div"),yl=i("div"),dt=c(),Ll=i("div"),bt=c(),Be=i("div"),ht=c(),J=i("div"),ve=i("div"),Pe=i("div"),xe=i("b"),Al=p(t[19]),ct=p(" ("),zl=p(t[20]),Nl=i("sup"),Tl=p(Ve),mt=p(" percentile)"),vt=c(),kl=i("div"),pt=c(),ze=i("div"),Oe=i("div"),Oe.innerHTML="Glycan<br/> <b>Lifestyle</b>",gt=c(),pe=i("div"),Ie=i("div"),Bl=i("b"),Ml=p(t[21]),wt=c(),Ue=i("div"),Gl=i("b"),Dl=p(t[22]),ut=c(),K=i("div"),Cl=i("div"),xt=c(),Hl=i("div"),ft=c(),Me=i("div"),yt=c(),Q=i("div"),ge=i("div"),Ye=i("div"),fe=i("b"),$l=p(t[24]),Lt=p(" ("),Sl=p(t[25]),Zl=i("sup"),ql=p(_e),At=p(" percentile)"),zt=c(),El=i("div"),Nt=c(),Je=i("div"),Je.innerHTML='<div class="dot1 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Atherosclerosis</div> <div class="dot2 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Your patient</div>',r(o,"class","label svelte-1w80bh2"),r(m,"class","min svelte-1w80bh2"),r(N,"class","max svelte-1w80bh2"),r(C,"class","xAxis svelte-1w80bh2"),r(re,"class","yAxis svelte-1w80bh2"),r(E,"class","diseaseArea svelte-1w80bh2"),n(E,"border-radius","0 6px 6px 0"),n(E,"left","50.3%"),r(F,"class","message svelte-1w80bh2"),r(R,"class","triangle-down svelte-1w80bh2"),r(k,"class","resultDisplay svelte-1w80bh2"),n(k,"right",ee(t[4],t[3],t[5])),r(x,"class","result svelte-1w80bh2"),n(x,"padding",le(t[4],t[3],t[5])),n(x,"margin",te(t[4],t[3],t[5])),n(x,"border-radius",se(t[4],t[3],t[5])),r(L,"class","middleParent svelte-1w80bh2"),r(h,"class","content svelte-1w80bh2"),r(s,"class","row svelte-1w80bh2"),r(P,"class","label svelte-1w80bh2"),r(ye,"class","min svelte-1w80bh2"),r(De,"class","max svelte-1w80bh2"),r(Xe,"class","xAxis svelte-1w80bh2"),r(el,"class","yAxis svelte-1w80bh2"),r(Te,"class","diseaseArea svelte-1w80bh2"),n(Te,"border-radius","6px 0 0 6px"),n(Te,"right","50.3%"),r(Ce,"class","message svelte-1w80bh2"),r(rl,"class","triangle-down svelte-1w80bh2"),r(be,"class","resultDisplay svelte-1w80bh2"),n(be,"right",ee(t[9],t[8],t[10])),r(I,"class","result2 svelte-1w80bh2"),n(I,"padding",le(t[9],t[8],t[10])),n(I,"margin",te(t[9],t[8],t[10])),n(I,"border-radius",se(t[9],t[8],t[10])),r(O,"class","middleParent svelte-1w80bh2"),r(V,"class","content svelte-1w80bh2"),r(j,"class","row svelte-1w80bh2"),r($e,"class","label svelte-1w80bh2"),r(Se,"class","min svelte-1w80bh2"),r(Ze,"class","max svelte-1w80bh2"),r(bl,"class","xAxis svelte-1w80bh2"),r(hl,"class","yAxis svelte-1w80bh2"),r(ke,"class","diseaseArea svelte-1w80bh2"),n(ke,"border-radius","6px 0 0 6px"),n(ke,"right","50.3%"),r(qe,"class","message svelte-1w80bh2"),r(gl,"class","triangle-down svelte-1w80bh2"),r(ce,"class","resultDisplay svelte-1w80bh2"),n(ce,"right",ee(t[14],t[13],t[15])),r(Y,"class","result3 svelte-1w80bh2"),n(Y,"padding",le(t[14],t[13],t[15])),n(Y,"margin",te(t[14],t[13],t[15])),n(Y,"border-radius",se(t[14],t[13],t[15])),r(U,"class","middleParent svelte-1w80bh2"),r(he,"class","content svelte-1w80bh2"),r(Le,"class","row svelte-1w80bh2"),r(Fe,"class","label svelte-1w80bh2"),r(Re,"class","min svelte-1w80bh2"),r(je,"class","max svelte-1w80bh2"),r(yl,"class","xAxis svelte-1w80bh2"),r(Ll,"class","yAxis svelte-1w80bh2"),r(Be,"class","diseaseArea svelte-1w80bh2"),n(Be,"border-radius","6px 0 0 6px"),n(Be,"right","50.3%"),r(Pe,"class","message svelte-1w80bh2"),r(kl,"class","triangle-down svelte-1w80bh2"),r(ve,"class","resultDisplay svelte-1w80bh2"),n(ve,"right",ee(t[19],t[18],t[20])),r(J,"class","result3 svelte-1w80bh2"),n(J,"padding",le(t[19],t[18],t[20])),n(J,"margin",te(t[19],t[18],t[20])),n(J,"border-radius",se(t[19],t[18],t[20])),r(_,"class","middleParent svelte-1w80bh2"),r(me,"class","content svelte-1w80bh2"),r(Ae,"class","row svelte-1w80bh2"),r(Oe,"class","label svelte-1w80bh2"),r(Ie,"class","min svelte-1w80bh2"),r(Ue,"class","max svelte-1w80bh2"),r(Cl,"class","xAxis svelte-1w80bh2"),r(Hl,"class","yAxis svelte-1w80bh2"),r(Me,"class","diseaseArea svelte-1w80bh2"),n(Me,"border-radius","0 6px 6px 0"),n(Me,"left","50.3%"),r(Ye,"class","message svelte-1w80bh2"),r(El,"class","triangle-down svelte-1w80bh2"),r(ge,"class","resultDisplay svelte-1w80bh2"),n(ge,"right",ee(t[24],t[23],t[25])),r(Q,"class","result3 svelte-1w80bh2"),n(Q,"padding",le(t[24],t[23],t[25])),n(Q,"margin",te(t[24],t[23],t[25])),n(Q,"border-radius",se(t[24],t[23],t[25])),r(K,"class","middleParent svelte-1w80bh2"),r(pe,"class","content svelte-1w80bh2"),r(ze,"class","row svelte-1w80bh2"),r(Je,"class","lastRow svelte-1w80bh2"),r(l,"class","main svelte-1w80bh2")},m(a,v){G(a,l,v),e(l,s),e(s,o),e(s,d),e(s,h),e(h,m),e(m,b),e(b,f),e(h,oe),e(h,N),e(N,M),e(M,ie),e(h,w),e(h,L),e(L,C),e(L,T),e(L,re),e(L,q),e(L,E),e(L,A),e(L,x),e(x,k),e(k,F),e(F,H),e(H,$),e(H,B),e(H,ae),e(H,S),e(S,g),e(H,z),e(k,de),e(k,R),e(l,ne),e(l,j),e(j,P),e(j,Ge),e(j,V),e(V,ye),e(ye,Ne),e(Ne,Z),e(V,jl),e(V,De),e(De,Qe),e(Qe,We),e(V,Pl),e(V,O),e(O,Xe),e(O,Vl),e(O,el),e(O,Ol),e(O,Te),e(O,Il),e(O,I),e(I,be),e(be,Ce),e(Ce,we),e(we,ll),e(we,Ul),e(we,tl),e(we,sl),e(sl,il),e(we,Yl),e(be,_l),e(be,rl),e(l,Jl),e(l,Le),e(Le,$e),e(Le,Kl),e(Le,he),e(he,Se),e(Se,al),e(al,nl),e(he,Ql),e(he,Ze),e(Ze,ol),e(ol,dl),e(he,Wl),e(he,U),e(U,bl),e(U,Xl),e(U,hl),e(U,et),e(U,ke),e(U,lt),e(U,Y),e(Y,ce),e(ce,qe),e(qe,ue),e(ue,cl),e(ue,tt),e(ue,ml),e(ue,vl),e(vl,pl),e(ue,st),e(ce,it),e(ce,gl),e(l,rt),e(l,Ae),e(Ae,Fe),e(Ae,at),e(Ae,me),e(me,Re),e(Re,wl),e(wl,ul),e(me,nt),e(me,je),e(je,xl),e(xl,fl),e(me,ot),e(me,_),e(_,yl),e(_,dt),e(_,Ll),e(_,bt),e(_,Be),e(_,ht),e(_,J),e(J,ve),e(ve,Pe),e(Pe,xe),e(xe,Al),e(xe,ct),e(xe,zl),e(xe,Nl),e(Nl,Tl),e(xe,mt),e(ve,vt),e(ve,kl),e(l,pt),e(l,ze),e(ze,Oe),e(ze,gt),e(ze,pe),e(pe,Ie),e(Ie,Bl),e(Bl,Ml),e(pe,wt),e(pe,Ue),e(Ue,Gl),e(Gl,Dl),e(pe,ut),e(pe,K),e(K,Cl),e(K,xt),e(K,Hl),e(K,ft),e(K,Me),e(K,yt),e(K,Q),e(Q,ge),e(ge,Ye),e(Ye,fe),e(fe,$l),e(fe,Lt),e(fe,Sl),e(fe,Zl),e(Zl,ql),e(fe,At),e(ge,zt),e(ge,El),e(l,Nt),e(l,Je)},p(a,v){v[0]&2&&u(f,a[1]),v[0]&4&&u(ie,a[2]),v[0]&16&&u($,a[4]),v[0]&32&&u(ae,a[5]),v[0]&32&&y!==(y=X(a[5])+"")&&u(g,y),v[0]&56&&n(k,"right",ee(a[4],a[3],a[5])),v[0]&56&&n(x,"padding",le(a[4],a[3],a[5])),v[0]&56&&n(x,"margin",te(a[4],a[3],a[5])),v[0]&56&&n(x,"border-radius",se(a[4],a[3],a[5])),v[0]&64&&u(Z,a[6]),v[0]&128&&u(We,a[7]),v[0]&512&&u(ll,a[9]),v[0]&1024&&u(tl,a[10]),v[0]&1024&&He!==(He=X(a[10])+"")&&u(il,He),v[0]&1792&&n(be,"right",ee(a[9],a[8],a[10])),v[0]&1792&&n(I,"padding",le(a[9],a[8],a[10])),v[0]&1792&&n(I,"margin",te(a[9],a[8],a[10])),v[0]&1792&&n(I,"border-radius",se(a[9],a[8],a[10])),v[0]&2048&&u(nl,a[11]),v[0]&4096&&u(dl,a[12]),v[0]&16384&&u(cl,a[14]),v[0]&32768&&u(ml,a[15]),v[0]&32768&&Ee!==(Ee=X(a[15])+"")&&u(pl,Ee),v[0]&57344&&n(ce,"right",ee(a[14],a[13],a[15])),v[0]&57344&&n(Y,"padding",le(a[14],a[13],a[15])),v[0]&57344&&n(Y,"margin",te(a[14],a[13],a[15])),v[0]&57344&&n(Y,"border-radius",se(a[14],a[13],a[15])),v[0]&65536&&u(ul,a[16]),v[0]&131072&&u(fl,a[17]),v[0]&524288&&u(Al,a[19]),v[0]&1048576&&u(zl,a[20]),v[0]&1048576&&Ve!==(Ve=X(a[20])+"")&&u(Tl,Ve),v[0]&1835008&&n(ve,"right",ee(a[19],a[18],a[20])),v[0]&1835008&&n(J,"padding",le(a[19],a[18],a[20])),v[0]&1835008&&n(J,"margin",te(a[19],a[18],a[20])),v[0]&1835008&&n(J,"border-radius",se(a[19],a[18],a[20])),v[0]&2097152&&u(Ml,a[21]),v[0]&4194304&&u(Dl,a[22]),v[0]&16777216&&u($l,a[24]),v[0]&33554432&&u(Sl,a[25]),v[0]&33554432&&_e!==(_e=X(a[25])+"")&&u(ql,_e),v[0]&58720256&&n(ge,"right",ee(a[24],a[23],a[25])),v[0]&58720256&&n(Q,"padding",le(a[24],a[23],a[25])),v[0]&58720256&&n(Q,"margin",te(a[24],a[23],a[25])),v[0]&58720256&&n(Q,"border-radius",se(a[24],a[23],a[25]))},d(a){a&&D(l)}}}function jt(t){let l,s=t[29]&&Tt(t);return{c(){s&&s.c(),l=Fl()},m(o,d){s&&s.m(o,d),G(o,l,d)},p(o,d){o[29]?s?s.p(o,d):(s=Tt(o),s.c(),s.m(l.parentNode,l)):s&&(s.d(1),s=null)},d(o){o&&D(l),s&&s.d(o)}}}function Pt(t){let l,s,o,d=t[26]&&Mt(),h=t[27]&&Gt(),m=t[28]&&Dt();return{c(){l=i("div"),d&&d.c(),s=c(),h&&h.c(),o=c(),m&&m.c(),r(l,"class","header svelte-1w80bh2")},m(b,f){G(b,l,f),d&&d.m(l,null),e(l,s),h&&h.m(l,null),e(l,o),m&&m.m(l,null)},p(b,f){b[26]?d||(d=Mt(),d.c(),d.m(l,s)):d&&(d.d(1),d=null),b[27]?h||(h=Gt(),h.c(),h.m(l,o)):h&&(h.d(1),h=null),b[28]?m||(m=Dt(),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(b){b&&D(l),d&&d.d(),h&&h.d(),m&&m.d()}}}function Tt(t){let l;function s(h,m){return h[28]?Ot:Vt}let o=s(t),d=o(t);return{c(){d.c(),l=Fl()},m(h,m){d.m(h,m),G(h,l,m)},p(h,m){o===(o=s(h))&&d?d.p(h,m):(d.d(1),d=o(h),d&&(d.c(),d.m(l.parentNode,l)))},d(h){h&&D(l),d.d(h)}}}function Vt(t){let l,s,o,d,h,m,b,f,oe,N,M,ie,w,L,C,T,re,q,E,A,x,k,F,H,$,B,ae,S,y=t[26]&&kt(),g=t[27]&&Bt();return{c(){l=i("div"),s=i("div"),o=i("div"),y&&y.c(),d=c(),g&&g.c(),h=c(),m=i("div"),b=p("There is "),f=i("b"),f.textContent=`${t[33]()}`,oe=p(" of glycan indexes between "),N=i("br"),M=p(" your patient and atherosclerosis patients."),ie=c(),w=i("div"),L=i("div"),L.textContent="Symptoms to check for:",C=c(),T=i("div"),T.innerHTML=`<b>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
2
- due to narrowed arteries.`,re=c(),q=i("div"),q.innerHTML=`<b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
3
- leading to muscle pain or cramping.`,E=c(),A=i("div"),A.innerHTML=`<b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
4
- efficiently due to reduced arterial flow.`,x=c(),k=i("div"),k.textContent="Possible follow-up tests:",F=c(),H=i("div"),H.innerHTML=`<b>Blood Tests:</b> To identify high cholesterol levels and inflammatory markers <br/>
5
- that contribute to plaque buildup.`,$=c(),B=i("div"),B.innerHTML=`<b>Ankle Brachial Index:</b> These tests can detect blood or certain DNA mutations <br/>
6
- in the stool that may indicate cancer.`,ae=c(),S=i("div"),S.innerHTML=`<b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
7
- areas of plaque accumulation and blockage.`,n(o,"width","10%"),n(o,"padding-left","1.5rem"),n(o,"padding-right","1rem"),n(m,"width","90%"),r(s,"class","summaryHeader svelte-1w80bh2"),n(s,"border-radius","8px 8px 0 0"),n(s,"background-color",t[31]()),n(s,"border-bottom","2px solid "+t[30]()),n(L,"font-size","1.2rem"),n(L,"padding-bottom","1rem"),n(T,"font-size","0.7rem"),n(T,"padding-bottom","0.4rem"),n(q,"font-size","0.7rem"),n(q,"padding-bottom","0.4rem"),n(A,"font-size","0.7rem"),n(A,"padding-bottom","0.4rem"),n(k,"font-size","1.2rem"),n(k,"padding-top","1.2rem"),n(k,"padding-bottom","1rem"),n(H,"font-size","0.7rem"),n(H,"padding-bottom","0.4rem"),n(B,"font-size","0.7rem"),n(B,"padding-bottom","0.4rem"),n(S,"font-size","0.7rem"),n(S,"padding-bottom","0.4rem"),r(w,"class","summaryBody svelte-1w80bh2"),n(w,"background-color",t[32]()),r(l,"class","summaryMain svelte-1w80bh2"),n(l,"border","2px solid "+t[30]())},m(z,de){G(z,l,de),e(l,s),e(s,o),y&&y.m(o,null),e(o,d),g&&g.m(o,null),e(s,h),e(s,m),e(m,b),e(m,f),e(m,oe),e(m,N),e(m,M),e(l,ie),e(l,w),e(w,L),e(w,C),e(w,T),e(w,re),e(w,q),e(w,E),e(w,A),e(w,x),e(w,k),e(w,F),e(w,H),e(w,$),e(w,B),e(w,ae),e(w,S)},p(z,de){z[26]?y||(y=kt(),y.c(),y.m(o,d)):y&&(y.d(1),y=null),z[27]?g||(g=Bt(),g.c(),g.m(o,null)):g&&(g.d(1),g=null)},d(z){z&&D(l),y&&y.d(),g&&g.d()}}}function Ot(t){let l;return{c(){l=i("div"),l.innerHTML=`<div class="summaryHeader svelte-1w80bh2" 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 atherosclerosis patients.</div></div> <div class="summaryBody svelte-1w80bh2" 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>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
8
- due to narrowed arteries.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
9
- leading to muscle pain or cramping.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
10
- efficiently due to reduced arterial flow.</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> To identify high cholesterol levels and inflammatory markers <br/>
11
- that contribute to plaque buildup.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ankle Brachial Index:</b> Compares blood pressure in the ankle with the arm <br/>
12
- to check for peripheral artery disease.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
13
- areas of plaque accumulation and blockage.</div></div>`,r(l,"class","summaryMain svelte-1w80bh2")},m(s,o){G(s,l,o)},p:Rl,d(s){s&&D(l)}}}function kt(t){let l,s;return{c(){l=W("svg"),s=W("path"),r(s,"fill","#CC0000"),r(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"),r(l,"xmlns","http://www.w3.org/2000/svg"),r(l,"width","50"),r(l,"height","50"),r(l,"viewBox","0 0 24 24")},m(o,d){G(o,l,d),e(l,s)},d(o){o&&D(l)}}}function Bt(t){let l,s;return{c(){l=W("svg"),s=W("path"),r(s,"fill","#EE9933"),r(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"),r(l,"xmlns","http://www.w3.org/2000/svg"),r(l,"width","50"),r(l,"height","50"),r(l,"viewBox","0 0 24 24")},m(o,d){G(o,l,d),e(l,s)},d(o){o&&D(l)}}}function Mt(t){let l,s,o;return{c(){l=W("svg"),s=W("path"),o=p(`
14
- \xA0 Significant overlap`),r(s,"fill","#CC0000"),r(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"),r(l,"xmlns","http://www.w3.org/2000/svg"),r(l,"width","24"),r(l,"height","24"),r(l,"viewBox","0 0 24 24")},m(d,h){G(d,l,h),e(l,s),G(d,o,h)},d(d){d&&(D(l),D(o))}}}function Gt(t){let l,s,o;return{c(){l=W("svg"),s=W("path"),o=p(`
15
- \xA0 Some overlap`),r(s,"fill","#EE9933"),r(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"),r(l,"xmlns","http://www.w3.org/2000/svg"),r(l,"width","24"),r(l,"height","24"),r(l,"viewBox","0 0 24 24")},m(d,h){G(d,l,h),e(l,s),G(d,o,h)},d(d){d&&(D(l),D(o))}}}function Dt(t){let l,s,o;return{c(){l=W("svg"),s=W("path"),o=p(`
16
- \xA0 No overlap`),r(s,"fill","#00AA44"),r(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"),r(l,"xmlns","http://www.w3.org/2000/svg"),r(l,"width","24"),r(l,"height","24"),r(l,"viewBox","0 0 24 24")},m(d,h){G(d,l,h),e(l,s),G(d,o,h)},d(d){d&&(D(l),D(o))}}}function It(t){let l,s,o;function d(b,f){return b[0]==="header"?Pt:b[0]==="summary"?jt:Rt}let h=d(t),m=h(t);return{c(){l=i("head"),l.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=c(),m.c(),o=Fl()},m(b,f){G(b,l,f),G(b,s,f),m.m(b,f),G(b,o,f)},p(b,f){h===(h=d(b))&&m?m.p(b,f):(m.d(1),m=h(b),m&&(m.c(),m.m(o.parentNode,o)))},i:Rl,o:Rl,d(b){b&&(D(l),D(s),D(o)),m.d(b)}}}function Ut(t,l,s){let{language:o}=l,{report:d}=l,{type:h}=l,{service:m=window.GaReportService}=l,b,f=0,oe=0,N=0,M=0,ie=0,w=0,L=0,C=0,T=0,re=0,q=0,E=0,A=0,x=0,k=0,F=0,H=0,$=0,B=0,ae=0,S=0,y=0,g=0,z=0,de=0,R=!1,ne=!1,j=!1,P=!1;function Ge(){return R?"#CC0000":ne?"#EE9933":"#00AA44"}function V(){return R?"rgba(204,0,0,0.15)":ne?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function ye(){return R?"rgba(204,0,0,0.05)":ne?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function Ne(){return R?"a significant overlap":ne?"some overlap":"no significant overlap"}return Et(async()=>{if(b=await m.getReport(void 0),s(1,f=Number(b.G0xmin)),s(2,oe=Number(b.G0xmax)),s(3,N=Number(b.G0xaverage)),s(4,M=Number(b.G0yourscore)),s(5,ie=Number(b.G0percentile)),s(6,w=Number(b.G1xmin)),s(7,L=Number(b.G1xmax)),s(8,C=Number(b.G1xaverage)),s(9,T=Number(b.G1yourscore)),s(10,re=Number(b.G1percentile)),s(11,q=Number(b.G2xmin)),s(12,E=Number(b.G2xmax)),s(13,A=Number(b.G2xaverage)),s(14,x=Number(b.G2yourscore)),s(15,k=Number(b.G2percentile)),s(16,F=Number(b.Sxmin)),s(17,H=Number(b.Sxmax)),s(18,$=Number(b.Sxaverage)),s(19,B=Number(b.Syourscore)),s(20,ae=Number(b.Spercentile)),s(21,S=Number(b.Bxmin)),s(22,y=Number(b.Bxmax)),s(23,g=Number(b.Bxaverage)),s(24,z=Number(b.Byourscore)),s(25,de=Number(b.Bpercentile)),M>N&&T<C&&x<A&&B<$&&z>g){s(26,R=!0),s(29,P=!0);return}if(M>N||T<C||x<A||B<$||z>g){if(M>N&&T<C&&x<A||M>N&&T<C&&B<$||M>N&&T<C&&z>g||M>N&&x<A&&B<$||M>N&&x<A&&z>g||M>N&&B<$&&z>g||T<C&&x<A&&B<$||T<C&&x<A&&z>g||x<A&&B<$&&z>g){s(27,ne=!0),s(29,P=!0);return}s(28,j=!0),s(29,P=!0);return}s(28,j=!0),s(29,P=!0)}),t.$$set=Z=>{"language"in Z&&s(34,o=Z.language),"report"in Z&&s(35,d=Z.report),"type"in Z&&s(0,h=Z.type),"service"in Z&&s(36,m=Z.service)},[h,f,oe,N,M,ie,w,L,C,T,re,q,E,A,x,k,F,H,$,B,ae,S,y,g,z,de,R,ne,j,P,Ge,V,ye,Ne,o,d,m]}class Ct extends $t{constructor(l){super(),St(this,l,Ut,It,Zt,{language:34,report:35,type:0,service:36},Ft,[-1,-1])}get language(){return this.$$.ctx[34]}set language(l){this.$$set({language:l}),Ke()}get report(){return this.$$.ctx[35]}set report(l){this.$$set({report:l}),Ke()}get type(){return this.$$.ctx[0]}set type(l){this.$$set({type:l}),Ke()}get service(){return this.$$.ctx[36]}set service(l){this.$$set({service:l}),Ke()}}customElements.define("ga-atherosclerosis",Ht(Ct,{language:{},report:{},type:{},service:{}},[],[],!0));export{Ct as default};
1
+ import{c as Hl,S as Sl,i as Zl,f as _e,s as Pl,a as Dl,e as l,b as c,d as Et,g as z,n as Ct,h as T,o as El,t as h,j as i,k as o,l as e,m as f,p as F}from"./index2.js";import{s as J,m as K,g as Q,a as W,b as X}from"./helpers.js";function Cl(d){Dl(d,"svelte-2d7oqk",".main.svelte-2d7oqk{width:450px;height:300px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-2d7oqk{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-2d7oqk{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-2d7oqk{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-2d7oqk{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-2d7oqk{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-2d7oqk{width:86%;height:100%;position:relative}.min.svelte-2d7oqk{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-2d7oqk{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-2d7oqk{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-2d7oqk{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-2d7oqk{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-2d7oqk{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-2d7oqk{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-2d7oqk{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-2d7oqk{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-2d7oqk{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-2d7oqk{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-2d7oqk{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-2d7oqk{width:100%;height:100%;display:flex;align-items:center}")}function jl(d){let t,s,r,a,n,p,m,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b=J(d[4])+"",x,H,pe,qe,ze,ie,S,jt,de,Te,Fe,Je,Rt,Ne,Ke,Qe,Vt,j,We,It,Xe,Ot,ye,Ut,R,oe,Me,ge,et,Yt,tt,lt,Be=J(d[8])+"",st,_t,Ft,it,Jt,fe,Ge,Kt,re,$e,dt,ot,Qt,He,rt,at,Wt,V,nt,Xt,ct,el,we,tl,I,ae,Se,he,mt,ll,vt,pt,Ze=J(d[12])+"",gt,sl,il,ht,dl,ke,Pe,ol,ne,De,ut,bt,rl,Ee,ft,kt,al,O,xt,nl,qt,cl,Le,ml,U,ce,Ce,ue,yt,vl,wt,Lt,je=J(d[16])+"",At,pl,gl,zt,hl,xe,Re,ul,me,Ve,Tt,Nt,bl,Ie,Mt,Bt,fl,Y,Gt,kl,$t,xl,Ae,ql,_,ve,Oe,be,Ht,yl,St,Zt,Ue=J(d[20])+"",Pt,wl,Ll,Dt,Al,Ye;return{c(){t=l("div"),s=l("div"),r=l("div"),r.innerHTML="Glycan<br/> <b>Mature</b>",a=c(),n=l("div"),p=l("div"),m=l("b"),k=h(d[1]),se=c(),C=l("div"),L=l("b"),ee=h(d[2]),u=c(),q=l("div"),N=l("div"),Z=c(),te=l("div"),P=c(),y=l("div"),D=c(),M=l("div"),w=l("div"),A=l("div"),B=l("b"),le=h(d[3]),E=h(" ("),G=h(d[4]),$=l("sup"),x=h(b),H=h(" percentile)"),pe=c(),qe=l("div"),ze=c(),ie=l("div"),S=l("div"),S.innerHTML="Glycan<br/> <b>Median</b>",jt=c(),de=l("div"),Te=l("div"),Fe=l("b"),Je=h(d[5]),Rt=c(),Ne=l("div"),Ke=l("b"),Qe=h(d[6]),Vt=c(),j=l("div"),We=l("div"),It=c(),Xe=l("div"),Ot=c(),ye=l("div"),Ut=c(),R=l("div"),oe=l("div"),Me=l("div"),ge=l("b"),et=h(d[7]),Yt=h(" ("),tt=h(d[8]),lt=l("sup"),st=h(Be),_t=h(" percentile)"),Ft=c(),it=l("div"),Jt=c(),fe=l("div"),Ge=l("div"),Ge.innerHTML="Glycan<br/> <b>Youth</b>",Kt=c(),re=l("div"),$e=l("div"),dt=l("b"),ot=h(d[9]),Qt=c(),He=l("div"),rt=l("b"),at=h(d[10]),Wt=c(),V=l("div"),nt=l("div"),Xt=c(),ct=l("div"),el=c(),we=l("div"),tl=c(),I=l("div"),ae=l("div"),Se=l("div"),he=l("b"),mt=h(d[11]),ll=h(" ("),vt=h(d[12]),pt=l("sup"),gt=h(Ze),sl=h(" percentile)"),il=c(),ht=l("div"),dl=c(),ke=l("div"),Pe=l("div"),Pe.innerHTML="Glycan<br/> <b>Shield</b>",ol=c(),ne=l("div"),De=l("div"),ut=l("b"),bt=h(d[13]),rl=c(),Ee=l("div"),ft=l("b"),kt=h(d[14]),al=c(),O=l("div"),xt=l("div"),nl=c(),qt=l("div"),cl=c(),Le=l("div"),ml=c(),U=l("div"),ce=l("div"),Ce=l("div"),ue=l("b"),yt=h(d[15]),vl=h(" ("),wt=h(d[16]),Lt=l("sup"),At=h(je),pl=h(" percentile)"),gl=c(),zt=l("div"),hl=c(),xe=l("div"),Re=l("div"),Re.innerHTML="Glycan<br/> <b>Lifestyle</b>",ul=c(),me=l("div"),Ve=l("div"),Tt=l("b"),Nt=h(d[17]),bl=c(),Ie=l("div"),Mt=l("b"),Bt=h(d[18]),fl=c(),Y=l("div"),Gt=l("div"),kl=c(),$t=l("div"),xl=c(),Ae=l("div"),ql=c(),_=l("div"),ve=l("div"),Oe=l("div"),be=l("b"),Ht=h(d[19]),yl=h(" ("),St=h(d[20]),Zt=l("sup"),Pt=h(Ue),wl=h(" percentile)"),Ll=c(),Dt=l("div"),Al=c(),Ye=l("div"),Ye.innerHTML='<div class="dot1 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Atherosclerosis</div> <div class="dot2 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(r,"class","label svelte-2d7oqk"),i(p,"class","min svelte-2d7oqk"),i(C,"class","max svelte-2d7oqk"),i(N,"class","xAxis svelte-2d7oqk"),i(te,"class","yAxis svelte-2d7oqk"),i(y,"class","diseaseArea svelte-2d7oqk"),o(y,"border-radius","0 6px 6px 0"),o(y,"left","50.3%"),i(A,"class","message svelte-2d7oqk"),i(qe,"class","triangle-down svelte-2d7oqk"),i(w,"class","resultDisplay svelte-2d7oqk"),o(w,"right",K(d[4])),i(M,"class","result svelte-2d7oqk"),o(M,"padding",Q(d[4])),o(M,"margin",W(d[4])),o(M,"border-radius",X(d[4])),i(q,"class","middleParent svelte-2d7oqk"),i(n,"class","content svelte-2d7oqk"),i(s,"class","row svelte-2d7oqk"),i(S,"class","label svelte-2d7oqk"),i(Te,"class","min svelte-2d7oqk"),i(Ne,"class","max svelte-2d7oqk"),i(We,"class","xAxis svelte-2d7oqk"),i(Xe,"class","yAxis svelte-2d7oqk"),i(ye,"class","diseaseArea svelte-2d7oqk"),o(ye,"border-radius","6px 0 0 6px"),o(ye,"right","50.3%"),i(Me,"class","message svelte-2d7oqk"),i(it,"class","triangle-down svelte-2d7oqk"),i(oe,"class","resultDisplay svelte-2d7oqk"),o(oe,"right",K(d[8])),i(R,"class","result2 svelte-2d7oqk"),o(R,"padding",Q(d[8])),o(R,"margin",W(d[8])),o(R,"border-radius",X(d[8])),i(j,"class","middleParent svelte-2d7oqk"),i(de,"class","content svelte-2d7oqk"),i(ie,"class","row svelte-2d7oqk"),i(Ge,"class","label svelte-2d7oqk"),i($e,"class","min svelte-2d7oqk"),i(He,"class","max svelte-2d7oqk"),i(nt,"class","xAxis svelte-2d7oqk"),i(ct,"class","yAxis svelte-2d7oqk"),i(we,"class","diseaseArea svelte-2d7oqk"),o(we,"border-radius","6px 0 0 6px"),o(we,"right","50.3%"),i(Se,"class","message svelte-2d7oqk"),i(ht,"class","triangle-down svelte-2d7oqk"),i(ae,"class","resultDisplay svelte-2d7oqk"),o(ae,"right",K(d[12])),i(I,"class","result3 svelte-2d7oqk"),o(I,"padding",Q(d[12])),o(I,"margin",W(d[12])),o(I,"border-radius",X(d[12])),i(V,"class","middleParent svelte-2d7oqk"),i(re,"class","content svelte-2d7oqk"),i(fe,"class","row svelte-2d7oqk"),i(Pe,"class","label svelte-2d7oqk"),i(De,"class","min svelte-2d7oqk"),i(Ee,"class","max svelte-2d7oqk"),i(xt,"class","xAxis svelte-2d7oqk"),i(qt,"class","yAxis svelte-2d7oqk"),i(Le,"class","diseaseArea svelte-2d7oqk"),o(Le,"border-radius","6px 0 0 6px"),o(Le,"right","50.3%"),i(Ce,"class","message svelte-2d7oqk"),i(zt,"class","triangle-down svelte-2d7oqk"),i(ce,"class","resultDisplay svelte-2d7oqk"),o(ce,"right",K(d[16])),i(U,"class","result3 svelte-2d7oqk"),o(U,"padding",Q(d[16])),o(U,"margin",W(d[16])),o(U,"border-radius",X(d[16])),i(O,"class","middleParent svelte-2d7oqk"),i(ne,"class","content svelte-2d7oqk"),i(ke,"class","row svelte-2d7oqk"),i(Re,"class","label svelte-2d7oqk"),i(Ve,"class","min svelte-2d7oqk"),i(Ie,"class","max svelte-2d7oqk"),i(Gt,"class","xAxis svelte-2d7oqk"),i($t,"class","yAxis svelte-2d7oqk"),i(Ae,"class","diseaseArea svelte-2d7oqk"),o(Ae,"border-radius","0 6px 6px 0"),o(Ae,"left","50.3%"),i(Oe,"class","message svelte-2d7oqk"),i(Dt,"class","triangle-down svelte-2d7oqk"),i(ve,"class","resultDisplay svelte-2d7oqk"),o(ve,"right",K(d[20])),i(_,"class","result3 svelte-2d7oqk"),o(_,"padding",Q(d[20])),o(_,"margin",W(d[20])),o(_,"border-radius",X(d[20])),i(Y,"class","middleParent svelte-2d7oqk"),i(me,"class","content svelte-2d7oqk"),i(xe,"class","row svelte-2d7oqk"),i(Ye,"class","lastRow svelte-2d7oqk"),i(t,"class","main svelte-2d7oqk")},m(v,g){z(v,t,g),e(t,s),e(s,r),e(s,a),e(s,n),e(n,p),e(p,m),e(m,k),e(n,se),e(n,C),e(C,L),e(L,ee),e(n,u),e(n,q),e(q,N),e(q,Z),e(q,te),e(q,P),e(q,y),e(q,D),e(q,M),e(M,w),e(w,A),e(A,B),e(B,le),e(B,E),e(B,G),e(B,$),e($,x),e(B,H),e(w,pe),e(w,qe),e(t,ze),e(t,ie),e(ie,S),e(ie,jt),e(ie,de),e(de,Te),e(Te,Fe),e(Fe,Je),e(de,Rt),e(de,Ne),e(Ne,Ke),e(Ke,Qe),e(de,Vt),e(de,j),e(j,We),e(j,It),e(j,Xe),e(j,Ot),e(j,ye),e(j,Ut),e(j,R),e(R,oe),e(oe,Me),e(Me,ge),e(ge,et),e(ge,Yt),e(ge,tt),e(ge,lt),e(lt,st),e(ge,_t),e(oe,Ft),e(oe,it),e(t,Jt),e(t,fe),e(fe,Ge),e(fe,Kt),e(fe,re),e(re,$e),e($e,dt),e(dt,ot),e(re,Qt),e(re,He),e(He,rt),e(rt,at),e(re,Wt),e(re,V),e(V,nt),e(V,Xt),e(V,ct),e(V,el),e(V,we),e(V,tl),e(V,I),e(I,ae),e(ae,Se),e(Se,he),e(he,mt),e(he,ll),e(he,vt),e(he,pt),e(pt,gt),e(he,sl),e(ae,il),e(ae,ht),e(t,dl),e(t,ke),e(ke,Pe),e(ke,ol),e(ke,ne),e(ne,De),e(De,ut),e(ut,bt),e(ne,rl),e(ne,Ee),e(Ee,ft),e(ft,kt),e(ne,al),e(ne,O),e(O,xt),e(O,nl),e(O,qt),e(O,cl),e(O,Le),e(O,ml),e(O,U),e(U,ce),e(ce,Ce),e(Ce,ue),e(ue,yt),e(ue,vl),e(ue,wt),e(ue,Lt),e(Lt,At),e(ue,pl),e(ce,gl),e(ce,zt),e(t,hl),e(t,xe),e(xe,Re),e(xe,ul),e(xe,me),e(me,Ve),e(Ve,Tt),e(Tt,Nt),e(me,bl),e(me,Ie),e(Ie,Mt),e(Mt,Bt),e(me,fl),e(me,Y),e(Y,Gt),e(Y,kl),e(Y,$t),e(Y,xl),e(Y,Ae),e(Y,ql),e(Y,_),e(_,ve),e(ve,Oe),e(Oe,be),e(be,Ht),e(be,yl),e(be,St),e(be,Zt),e(Zt,Pt),e(be,wl),e(ve,Ll),e(ve,Dt),e(t,Al),e(t,Ye)},p(v,g){g[0]&2&&f(k,v[1]),g[0]&4&&f(ee,v[2]),g[0]&8&&f(le,v[3]),g[0]&16&&f(G,v[4]),g[0]&16&&b!==(b=J(v[4])+"")&&f(x,b),g[0]&16&&o(w,"right",K(v[4])),g[0]&16&&o(M,"padding",Q(v[4])),g[0]&16&&o(M,"margin",W(v[4])),g[0]&16&&o(M,"border-radius",X(v[4])),g[0]&32&&f(Je,v[5]),g[0]&64&&f(Qe,v[6]),g[0]&128&&f(et,v[7]),g[0]&256&&f(tt,v[8]),g[0]&256&&Be!==(Be=J(v[8])+"")&&f(st,Be),g[0]&256&&o(oe,"right",K(v[8])),g[0]&256&&o(R,"padding",Q(v[8])),g[0]&256&&o(R,"margin",W(v[8])),g[0]&256&&o(R,"border-radius",X(v[8])),g[0]&512&&f(ot,v[9]),g[0]&1024&&f(at,v[10]),g[0]&2048&&f(mt,v[11]),g[0]&4096&&f(vt,v[12]),g[0]&4096&&Ze!==(Ze=J(v[12])+"")&&f(gt,Ze),g[0]&4096&&o(ae,"right",K(v[12])),g[0]&4096&&o(I,"padding",Q(v[12])),g[0]&4096&&o(I,"margin",W(v[12])),g[0]&4096&&o(I,"border-radius",X(v[12])),g[0]&8192&&f(bt,v[13]),g[0]&16384&&f(kt,v[14]),g[0]&32768&&f(yt,v[15]),g[0]&65536&&f(wt,v[16]),g[0]&65536&&je!==(je=J(v[16])+"")&&f(At,je),g[0]&65536&&o(ce,"right",K(v[16])),g[0]&65536&&o(U,"padding",Q(v[16])),g[0]&65536&&o(U,"margin",W(v[16])),g[0]&65536&&o(U,"border-radius",X(v[16])),g[0]&131072&&f(Nt,v[17]),g[0]&262144&&f(Bt,v[18]),g[0]&524288&&f(Ht,v[19]),g[0]&1048576&&f(St,v[20]),g[0]&1048576&&Ue!==(Ue=J(v[20])+"")&&f(Pt,Ue),g[0]&1048576&&o(ve,"right",K(v[20])),g[0]&1048576&&o(_,"padding",Q(v[20])),g[0]&1048576&&o(_,"margin",W(v[20])),g[0]&1048576&&o(_,"border-radius",X(v[20]))},d(v){v&&T(t)}}}function Rl(d){let t,s=d[24]&&zl(d);return{c(){s&&s.c(),t=Et()},m(r,a){s&&s.m(r,a),z(r,t,a)},p(r,a){r[24]?s?s.p(r,a):(s=zl(r),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(r){r&&T(t),s&&s.d(r)}}}function Vl(d){let t,s,r,a=d[21]&&Ml(),n=d[22]&&Bl(),p=d[23]&&Gl();return{c(){t=l("div"),a&&a.c(),s=c(),n&&n.c(),r=c(),p&&p.c(),i(t,"class","header svelte-2d7oqk")},m(m,k){z(m,t,k),a&&a.m(t,null),e(t,s),n&&n.m(t,null),e(t,r),p&&p.m(t,null)},p(m,k){m[21]?a||(a=Ml(),a.c(),a.m(t,s)):a&&(a.d(1),a=null),m[22]?n||(n=Bl(),n.c(),n.m(t,r)):n&&(n.d(1),n=null),m[23]?p||(p=Gl(),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},d(m){m&&T(t),a&&a.d(),n&&n.d(),p&&p.d()}}}function zl(d){let t;function s(n,p){return n[23]?Ol:Il}let r=s(d),a=r(d);return{c(){a.c(),t=Et()},m(n,p){a.m(n,p),z(n,t,p)},p(n,p){r===(r=s(n))&&a?a.p(n,p):(a.d(1),a=r(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&T(t),a.d(n)}}}function Il(d){let t,s,r,a,n,p,m,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b=d[21]&&Tl(),x=d[22]&&Nl();return{c(){t=l("div"),s=l("div"),r=l("div"),b&&b.c(),a=c(),x&&x.c(),n=c(),p=l("div"),m=h("There is "),k=l("b"),k.textContent=`${d[28]()}`,se=h(" of glycan indexes between "),C=l("br"),L=h(` your patient and atherosclerosis
2
+ patients.`),ee=c(),u=l("div"),q=l("div"),q.textContent="Symptoms to check for:",N=c(),Z=l("div"),Z.innerHTML=`<b>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
3
+ due to narrowed arteries.`,te=c(),P=l("div"),P.innerHTML=`<b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
4
+ leading to muscle pain or cramping.`,y=c(),D=l("div"),D.innerHTML=`<b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
5
+ efficiently due to reduced arterial flow.`,M=c(),w=l("div"),w.textContent="Possible follow-up tests:",A=c(),B=l("div"),B.innerHTML=`<b>Blood Tests:</b> To identify high cholesterol levels and inflammatory markers <br/>
6
+ that contribute to plaque buildup.`,le=c(),E=l("div"),E.innerHTML=`<b>Ankle Brachial Index:</b> These tests can detect blood or certain DNA mutations
7
+ <br/>
8
+ in the stool that may indicate cancer.`,G=c(),$=l("div"),$.innerHTML=`<b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
9
+ areas of plaque accumulation and blockage.`,o(r,"width","10%"),o(r,"padding-left","1.5rem"),o(r,"padding-right","1rem"),o(p,"width","90%"),i(s,"class","summaryHeader svelte-2d7oqk"),o(s,"border-radius","8px 8px 0 0"),o(s,"background-color",d[26]()),o(s,"border-bottom","2px solid "+d[25]()),o(q,"font-size","1.2rem"),o(q,"padding-bottom","1rem"),o(Z,"font-size","0.7rem"),o(Z,"padding-bottom","0.4rem"),o(P,"font-size","0.7rem"),o(P,"padding-bottom","0.4rem"),o(D,"font-size","0.7rem"),o(D,"padding-bottom","0.4rem"),o(w,"font-size","1.2rem"),o(w,"padding-top","1.2rem"),o(w,"padding-bottom","1rem"),o(B,"font-size","0.7rem"),o(B,"padding-bottom","0.4rem"),o(E,"font-size","0.7rem"),o(E,"padding-bottom","0.4rem"),o($,"font-size","0.7rem"),o($,"padding-bottom","0.4rem"),i(u,"class","summaryBody svelte-2d7oqk"),o(u,"background-color",d[27]()),i(t,"class","summaryMain svelte-2d7oqk"),o(t,"border","2px solid "+d[25]())},m(H,pe){z(H,t,pe),e(t,s),e(s,r),b&&b.m(r,null),e(r,a),x&&x.m(r,null),e(s,n),e(s,p),e(p,m),e(p,k),e(p,se),e(p,C),e(p,L),e(t,ee),e(t,u),e(u,q),e(u,N),e(u,Z),e(u,te),e(u,P),e(u,y),e(u,D),e(u,M),e(u,w),e(u,A),e(u,B),e(u,le),e(u,E),e(u,G),e(u,$)},p(H,pe){H[21]?b||(b=Tl(),b.c(),b.m(r,a)):b&&(b.d(1),b=null),H[22]?x||(x=Nl(),x.c(),x.m(r,null)):x&&(x.d(1),x=null)},d(H){H&&T(t),b&&b.d(),x&&x.d()}}}function Ol(d){let t;return{c(){t=l("div"),t.innerHTML=`<div class="summaryHeader svelte-2d7oqk" 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
10
+ atherosclerosis patients.</div></div> <div class="summaryBody svelte-2d7oqk" 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>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
11
+ due to narrowed arteries.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
12
+ leading to muscle pain or cramping.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
13
+ efficiently due to reduced arterial flow.</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> To identify high cholesterol levels and inflammatory markers <br/>
14
+ that contribute to plaque buildup.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ankle Brachial Index:</b> Compares blood pressure in the ankle with the arm <br/>
15
+ to check for peripheral artery disease.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
16
+ areas of plaque accumulation and blockage.</div></div>`,i(t,"class","summaryMain svelte-2d7oqk")},m(s,r){z(s,t,r)},p:Ct,d(s){s&&T(t)}}}function Tl(d){let t,s;return{c(){t=F("svg"),s=F("path"),i(s,"fill","#CC0000"),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","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(r,a){z(r,t,a),e(t,s)},d(r){r&&T(t)}}}function Nl(d){let t,s;return{c(){t=F("svg"),s=F("path"),i(s,"fill","#EE9933"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(r,a){z(r,t,a),e(t,s)},d(r){r&&T(t)}}}function Ml(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
17
+ \xA0 Significant overlap`),i(s,"fill","#CC0000"),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")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Bl(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
18
+ \xA0 Some overlap`),i(s,"fill","#EE9933"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Gl(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
19
+ \xA0 No overlap`),i(s,"fill","#00AA44"),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.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(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Ul(d){let t,s,r;function a(m,k){return m[0]==="header"?Vl:m[0]==="summary"?Rl:jl}let n=a(d),p=n(d);return{c(){t=l("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=c(),p.c(),r=Et()},m(m,k){z(m,t,k),z(m,s,k),p.m(m,k),z(m,r,k)},p(m,k){n===(n=a(m))&&p?p.p(m,k):(p.d(1),p=n(m),p&&(p.c(),p.m(r.parentNode,r)))},i:Ct,o:Ct,d(m){m&&(T(t),T(s),T(r)),p.d(m)}}}function Yl(d,t,s){let{language:r}=t,{report:a}=t,{type:n}=t,{service:p=window.GaReportService}=t,m,k=0,se=0,C=0,L=0,ee=0,u=0,q=0,N=0,Z=0,te=0,P=0,y=0,D=0,M=0,w=0,A=0,B=0,le=0,E=0,G=0,$=!1,b=!1,x=!1,H=!1;function pe(){return $?"#CC0000":b?"#EE9933":"#00AA44"}function qe(){return $?"rgba(204,0,0,0.15)":b?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function ze(){return $?"rgba(204,0,0,0.05)":b?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function ie(){return $?"a significant overlap":b?"some overlap":"no significant overlap"}return El(async()=>{if(m=await p.getReport(a),s(1,k=Number(m.G0xmin)),s(2,se=Number(m.G0xmax)),s(3,C=Number(m.G0yourscore)),s(4,L=Number(m.G0percentile)),s(5,ee=Number(m.G1xmin)),s(6,u=Number(m.G1xmax)),s(7,q=Number(m.G1yourscore)),s(8,N=Number(m.G1percentile)),s(9,Z=Number(m.G2xmin)),s(10,te=Number(m.G2xmax)),s(11,P=Number(m.G2yourscore)),s(12,y=Number(m.G2percentile)),s(13,D=Number(m.Sxmin)),s(14,M=Number(m.Sxmax)),s(15,w=Number(m.Syourscore)),s(16,A=Number(m.Spercentile)),s(17,B=Number(m.Bxmin)),s(18,le=Number(m.Bxmax)),s(19,E=Number(m.Byourscore)),s(20,G=Number(m.Bpercentile)),L>50&&N<50&&y<50&&A<50&&G>50){s(21,$=!0),s(24,H=!0);return}if(L>50||N<50||y<50||A<50||G>50){if(L>50&&N<50&&y<50||L>50&&N<50&&A<50||L>50&&N<50&&G>50||L>50&&y<50&&A<50||L>50&&y<50&&G>50||L>50&&A<50&&G>50||N<50&&y<50&&A<50||N<50&&y<50&&G>50||y<50&&A<50&&G>50){s(22,b=!0),s(24,H=!0);return}s(23,x=!0),s(24,H=!0);return}s(23,x=!0),s(24,H=!0)}),d.$$set=S=>{"language"in S&&s(29,r=S.language),"report"in S&&s(30,a=S.report),"type"in S&&s(0,n=S.type),"service"in S&&s(31,p=S.service)},[n,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b,x,H,pe,qe,ze,ie,r,a,p]}class $l extends Sl{constructor(t){super(),Zl(this,t,Yl,Ul,Pl,{language:29,report:30,type:0,service:31},Cl,[-1,-1])}get language(){return this.$$.ctx[29]}set language(t){this.$$set({language:t}),_e()}get report(){return this.$$.ctx[30]}set report(t){this.$$set({report:t}),_e()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),_e()}get service(){return this.$$.ctx[31]}set service(t){this.$$set({service:t}),_e()}}customElements.define("ga-atherosclerosis",Hl($l,{language:{},report:{},type:{},service:{}},[],[],!0));export{$l as default};
@@ -1 +1 @@
1
- import{c as L,S as N,i as j,f as h,s as B,a as R,d as S,g as m,n as d,h as f,o as k,e as $,b as w,t as z,p as y,j as n,k as E,l,m as M}from"./index2.js";function q(i){R(i,"svelte-x1gv4w",".main.svelte-x1gv4w{height:5rem;width:25rem;display:flex;justify-content:center}.movable.svelte-x1gv4w{display:flex;flex-direction:column;align-items:center;max-width:7rem;height:100%}.age-font.svelte-x1gv4w{font-size:1.5rem}.rotate.svelte-x1gv4w{transform:rotate(180deg)}")}function b(i){let s,t,r,c,u,p,g,o,a,v;return{c(){s=$("div"),t=$("div"),r=$("div"),r.textContent="Biological age",c=w(),u=$("div"),p=$("b"),g=z(i[0]),o=w(),a=y("svg"),v=y("path"),n(u,"class","age-font svelte-x1gv4w"),n(v,"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"),n(v,"fill","#09371F"),n(a,"class","rotate svelte-x1gv4w"),n(a,"width","18%"),n(a,"height","18%"),n(a,"viewBox","0 0 42 37"),n(a,"fill","none"),n(a,"xmlns","http://www.w3.org/2000/svg"),n(t,"class","movable svelte-x1gv4w"),E(t,"margin",i[2]()),n(s,"class","main svelte-x1gv4w")},m(x,e){m(x,s,e),l(s,t),l(t,r),l(t,c),l(t,u),l(u,p),l(p,g),l(t,o),l(t,a),l(a,v)},p(x,e){e&1&&M(g,x[0])},d(x){x&&f(s)}}}function A(i){let s,t=i[1]&&b(i);return{c(){t&&t.c(),s=S()},m(r,c){t&&t.m(r,c),m(r,s,c)},p(r,[c]){r[1]?t?t.p(r,c):(t=b(r),t.c(),t.m(s.parentNode,s)):t&&(t.d(1),t=null)},i:d,o:d,d(r){r&&f(s),t&&t.d(r)}}}function D(i,s,t){let{language:r}=s,{report:c}=s,{type:u}=s,{service:p=window.GaReportService}=s,g=0,o=0,a,v=!1;function x(){if(g>o){const e=g-o;switch(!0){case e>40:return`0 0 0 ${e*5.5}px`;case e>30:return`0 0 0 ${e*7}px`;case e>20:return`0 0 0 ${e*9}px`;case e>10:return`0 0 0 ${e*11}px`;case(e>0&&e<=10):return`0 0 0 ${e*15}px`}}else if(g<o){const e=o-g;switch(!0){case e>40:return`0 ${e*5.5}px 0 0`;case e>30:return`0 ${e*7}px 0 0`;case e>20:return`0 ${e*9}px 0 0`;case e>10:return`0 ${e*11}px 0 0`;case(e>0&&e<=10):return`0 ${e*15}px 0 0`}}return"0"}return k(async()=>{a=await p.getReport(void 0),t(0,g=Number(a.glycanage)),o=Number(a.chronologicalage),t(1,v=!0)}),i.$$set=e=>{"language"in e&&t(3,r=e.language),"report"in e&&t(4,c=e.report),"type"in e&&t(5,u=e.type),"service"in e&&t(6,p=e.service)},[g,v,x,r,c,u,p]}class C extends N{constructor(s){super(),j(this,s,D,A,B,{language:3,report:4,type:5,service:6},q)}get language(){return this.$$.ctx[3]}set language(s){this.$$set({language:s}),h()}get report(){return this.$$.ctx[4]}set report(s){this.$$set({report:s}),h()}get type(){return this.$$.ctx[5]}set type(s){this.$$set({type:s}),h()}get service(){return this.$$.ctx[6]}set service(s){this.$$set({service:s}),h()}}customElements.define("ga-chronic",L(C,{language:{},report:{},type:{},service:{}},[],[],!0));export{C as default};
1
+ import{c as q,S as C,i as L,f as h,s as N,a as B,d as R,g as x,n as d,h as f,o as S,e as m,b,t as k,p as w,j as c,k as z,l,m as E}from"./index2.js";function M(i){B(i,"svelte-jc5bq8",".main.svelte-jc5bq8{height:5rem;width:25rem;display:flex;justify-content:center}.movable.svelte-jc5bq8{display:flex;flex-direction:column;align-items:center;max-width:7rem;height:100%}.age-font.svelte-jc5bq8{font-size:1.5rem}.rotate.svelte-jc5bq8{transform:rotate(180deg)}")}function y(i){let s,t,r,n,u,p,o,g,a,v;return{c(){s=m("div"),t=m("div"),r=m("div"),r.textContent="Biological age",n=b(),u=m("div"),p=m("b"),o=k(i[0]),g=b(),a=w("svg"),v=w("path"),c(u,"class","age-font svelte-jc5bq8"),c(v,"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"),c(v,"fill","#09371F"),c(a,"class","rotate svelte-jc5bq8"),c(a,"width","18%"),c(a,"height","18%"),c(a,"viewBox","0 0 42 37"),c(a,"fill","none"),c(a,"xmlns","http://www.w3.org/2000/svg"),c(t,"class","movable svelte-jc5bq8"),z(t,"margin",i[2]()),c(s,"class","main svelte-jc5bq8")},m($,e){x($,s,e),l(s,t),l(t,r),l(t,n),l(t,u),l(u,p),l(p,o),l(t,g),l(t,a),l(a,v)},p($,e){e&1&&E(o,$[0])},d($){$&&f(s)}}}function A(i){let s,t=i[1]&&y(i);return{c(){t&&t.c(),s=R()},m(r,n){t&&t.m(r,n),x(r,s,n)},p(r,[n]){r[1]?t?t.p(r,n):(t=y(r),t.c(),t.m(s.parentNode,s)):t&&(t.d(1),t=null)},i:d,o:d,d(r){r&&f(s),t&&t.d(r)}}}function D(i,s,t){let{language:r}=s,{report:n}=s,{type:u}=s,{service:p=window.GaReportService}=s,o=0,g=0,a,v=!1;function $(){if(o>g){const e=o-g;switch(!0){case e>40:return`0 0 0 ${e*5.5}px`;case e>30:return`0 0 0 ${e*7}px`;case e>20:return`0 0 0 ${e*9}px`;case e>10:return`0 0 0 ${e*11}px`;case(e>0&&e<=10):return`0 0 0 ${e*15}px`}}else if(o<g){const e=g-o;switch(!0){case e>40:return`0 ${e*5.5}px 0 0`;case e>30:return`0 ${e*7}px 0 0`;case e>20:return`0 ${e*9}px 0 0`;case e>10:return`0 ${e*11}px 0 0`;case(e>0&&e<=10):return`0 ${e*15}px 0 0`}}return"0"}return S(async()=>{a=await p.getReport(n),t(0,o=Number(a.glycanage)),g=Number(a.chronologicalage),t(1,v=!0)}),i.$$set=e=>{"language"in e&&t(3,r=e.language),"report"in e&&t(4,n=e.report),"type"in e&&t(5,u=e.type),"service"in e&&t(6,p=e.service)},[o,v,$,r,n,u,p]}class j extends C{constructor(s){super(),L(this,s,D,A,N,{language:3,report:4,type:5,service:6},M)}get language(){return this.$$.ctx[3]}set language(s){this.$$set({language:s}),h()}get report(){return this.$$.ctx[4]}set report(s){this.$$set({report:s}),h()}get type(){return this.$$.ctx[5]}set type(s){this.$$set({type:s}),h()}get service(){return this.$$.ctx[6]}set service(s){this.$$set({service:s}),h()}}customElements.define("ga-chronic",q(j,{language:{},report:{},type:{},service:{}},[],[],!0));export{j as default};