@glycanage/web-components 1.40.0 → 1.41.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 +1 -1
- package/dist/arthritis.wc.js +1 -1
- package/dist/atherosclerosis.wc.js +1 -1
- package/dist/colitis.wc.js +1 -1
- package/dist/copd.wc.js +1 -1
- package/dist/coronary.wc.js +1 -1
- package/dist/crohn.wc.js +1 -1
- package/dist/diabetes.wc.js +1 -1
- package/dist/dyslipidemia.wc.js +1 -1
- package/dist/hypertension-risk.wc.js +3 -2
- package/dist/hypertension.wc.js +2 -2
- package/dist/index.js +1 -1
- package/dist/lupus.wc.js +1 -1
- package/dist/menopause.wc.js +2 -2
- package/dist/myocardial.wc.js +2 -2
- package/dist/pre-hypertension.wc.js +2 -2
- package/package.json +1 -1
- package/dist/colorectal.wc.js +0 -18
- package/dist/endometrial.wc.js +0 -20
- package/dist/helpers.js +0 -1
- package/dist/ovarian.wc.js +0 -14
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import{c as
|
|
2
|
-
|
|
1
|
+
import{c as E,S as G,i as I,f as D,s as P,a as R,d as C,g as T,t as F,h as U,j as N,k as q,o as V,l as k,e as g,v as B,b as M,m as Z,w as K,p as s,n as x,q as i,x as j,r as S,y as O,u as H}from"./index2.js";import{A as X}from"./Arrow.js";function _(h){R(h,"svelte-h3t3hd","hr.svelte-h3t3hd.svelte-h3t3hd{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-h3t3hd.svelte-h3t3hd{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-h3t3hd h5.svelte-h3t3hd{font-size:16px;margin:0}.summaryMain.svelte-h3t3hd ul.svelte-h3t3hd{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-h3t3hd ul li.svelte-h3t3hd:not(:first-child){margin-top:4px}.summaryHeader.svelte-h3t3hd.svelte-h3t3hd{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-h3t3hd.svelte-h3t3hd{width:100%;height:100%;margin:auto}.summaryBody.svelte-h3t3hd a.svelte-h3t3hd{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-h3t3hd svg.svelte-h3t3hd{vertical-align:middle}.summaryBody.svelte-h3t3hd p.svelte-h3t3hd{color:rgba(9, 52, 31, 0.80);font-size:12px;margin-top:6px}.main.svelte-h3t3hd.svelte-h3t3hd{height:100%;width:100%;display:flex}.label.svelte-h3t3hd.svelte-h3t3hd{width:30%;display:flex;align-items:center}.header.svelte-h3t3hd.svelte-h3t3hd{width:100%;height:100%;display:flex;align-items:center}")}function J(h){let e,t,l,a,p,r,o,n,v,m,c,d,u,b,w;return b=new X({props:{type:"right",percentile:h[5]}}),{c(){e=g("div"),t=g("div"),l=B("svg"),a=B("path"),r=M(),o=g("div"),n=g("div"),n.innerHTML="Glycan <b>Lifestyle (B)</b>",v=M(),m=g("div"),c=Z(h[4]),d=M(),u=g("div"),K(b.$$.fragment),s(a,"fill",p=h[5]<=68?"#12A195":"#F2590D"),s(a,"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(o,"display","flex"),x(o,"flex-direction","column"),x(o,"padding-left","0.3rem"),s(t,"class","label svelte-h3t3hd"),x(t,"font-size","0.8rem"),x(u,"width","70%"),x(u,"display","flex"),x(u,"align-items","center"),s(e,"class","main svelte-h3t3hd")},m(f,L){T(f,e,L),i(e,t),i(t,l),i(l,a),i(t,r),i(t,o),i(o,n),i(o,v),i(o,m),i(m,c),i(e,d),i(e,u),j(b,u,null),w=!0},p(f,L){(!w||L&32&&p!==(p=f[5]<=68?"#12A195":"#F2590D"))&&s(a,"fill",p),(!w||L&16)&&S(c,f[4]);const y={};L&32&&(y.percentile=f[5]),b.$set(y)},i(f){w||(N(b.$$.fragment,f),w=!0)},o(f){F(b.$$.fragment,f),w=!1},d(f){f&&q(e),O(b)}}}function Q(h){let e,t,l,a,p,r,o=h[5]>68?"Some overlap":"No significant overlap",n,v,m,c,d,u,b,w;function f($,A){return $[1]?ee:Y}let L=f(h),y=L(h);return{c(){e=g("div"),t=g("div"),l=g("div"),y.c(),a=M(),p=g("div"),r=g("b"),n=Z(o),v=Z(" of glycan indexes between "),m=g("br"),c=Z(" your patient and this condition."),d=M(),u=g("hr"),b=M(),w=g("div"),w.innerHTML=`<h5 class="svelte-h3t3hd">Signs and symptoms</h5> <ul class="svelte-h3t3hd"><li class="svelte-h3t3hd">Usually asymptomatic</li></ul> <h5 class="svelte-h3t3hd">Possible follow-up</h5> <ul class="svelte-h3t3hd"><li class="svelte-h3t3hd">Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring</li> <li class="svelte-h3t3hd">BMI and/or body composition check</li> <li class="svelte-h3t3hd">Basic bloods (lipid profile, renal and liver function)</li></ul> <h5 class="svelte-h3t3hd">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/34285147/" class="svelte-h3t3hd">N-glycosylation of immunoglobulin G predicts incident hypertension
|
|
2
|
+
<svg stroke="#E66439" fill="#E66439" xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 -960 960 960" width="14" class="svelte-h3t3hd"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"></path></svg></a> <p class="svelte-h3t3hd">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 "10 001 Dalmatians" (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(l,"transform","translate(-50%)"),x(r,"color",h[1]?"#F2590D":"#12A195"),s(t,"class","summaryHeader svelte-h3t3hd"),s(u,"class","svelte-h3t3hd"),s(w,"class","summaryBody svelte-h3t3hd"),s(e,"class","summaryMain svelte-h3t3hd")},m($,A){T($,e,A),i(e,t),i(t,l),y.m(l,null),i(t,a),i(t,p),i(p,r),i(r,n),i(p,v),i(p,m),i(p,c),i(e,d),i(e,u),i(e,b),i(e,w)},p($,A){L!==(L=f($))&&(y.d(1),y=L($),y&&(y.c(),y.m(l,null))),A&32&&o!==(o=$[5]>68?"Some overlap":"No significant overlap")&&S(n,o),A&2&&x(r,"color",$[1]?"#F2590D":"#12A195")},i:H,o:H,d($){$&&q(e),y.d()}}}function W(h){let e,t,l,a,p,r,o=h[1]?"Some overlap":"No significant overlap",n;function v(d,u){return d[1]?le:te}let m=v(h),c=m(h);return{c(){e=g("div"),t=g("div"),l=g("b"),a=Z(h[3]),p=M(),c.c(),r=Z(`
|
|
3
|
+
\xA0\xA0`),n=Z(o),x(t,"padding-right","10px"),s(e,"class","header svelte-h3t3hd")},m(d,u){T(d,e,u),i(e,t),i(t,l),i(l,a),i(e,p),c.m(e,null),i(e,r),i(e,n)},p(d,u){u&8&&S(a,d[3]),m!==(m=v(d))&&(c.d(1),c=m(d),c&&(c.c(),c.m(e,r))),u&2&&o!==(o=d[1]?"Some overlap":"No significant overlap")&&S(n,o)},i:H,o:H,d(d){d&&q(e),c.d()}}}function Y(h){let e,t;return{c(){e=B("svg"),t=B("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,a){T(l,e,a),i(e,t)},d(l){l&&q(e)}}}function ee(h){let e,t;return{c(){e=B("svg"),t=B("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,a){T(l,e,a),i(e,t)},d(l){l&&q(e)}}}function te(h){let e,t;return{c(){e=B("svg"),t=B("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,a){T(l,e,a),i(e,t)},d(l){l&&q(e)}}}function le(h){let e,t;return{c(){e=B("svg"),t=B("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,a){T(l,e,a),i(e,t)},d(l){l&&q(e)}}}function se(h){let e,t,l,a;const p=[W,Q,J],r=[];function o(n,v){return n[0]==="header"?0:n[0]==="summary"&&n[2]?1:2}return e=o(h),t=r[e]=p[e](h),{c(){t.c(),l=C()},m(n,v){r[e].m(n,v),T(n,l,v),a=!0},p(n,[v]){let m=e;e=o(n),e===m?r[e].p(n,v):(k(),F(r[m],1,1,()=>{r[m]=null}),U(),t=r[e],t?t.p(n,v):(t=r[e]=p[e](n),t.c()),N(t,1),t.m(l.parentNode,l))},i(n){a||(N(t),a=!0)},o(n){F(t),a=!1},d(n){n&&q(l),r[e].d(n)}}}function ie(h,e,t){let{report:l}=e,{type:a}=e,{service:p=window.GaReportService}=e,r,o=!1,n=!1,v="",m="",c=0;return V(async()=>{if(r=await p.getReport(l),t(5,c=Number(r.Bpercentile)),c<32){t(3,v="0/1"),t(4,m="Lower than average"),t(2,n=!0);return}if(c>=32&&c<=68){t(3,v="0/1"),t(4,m="Around average"),t(2,n=!0);return}if(c>68){t(3,v="1/1"),t(4,m="Higher than average"),t(1,o=!0),t(2,n=!0);return}}),h.$$set=d=>{"report"in d&&t(6,l=d.report),"type"in d&&t(0,a=d.type),"service"in d&&t(7,p=d.service)},[a,o,n,v,m,c,l,p]}class z extends G{constructor(e){super(),I(this,e,ie,se,P,{report:6,type:0,service:7},_)}get report(){return this.$$.ctx[6]}set report(e){this.$$set({report:e}),D()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),D()}get service(){return this.$$.ctx[7]}set service(e){this.$$set({service:e}),D()}}customElements.define("ga-hypertension-risk",E(z,{report:{},type:{},service:{}},[],[],!0));export{z as default};
|
package/dist/hypertension.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as K,S as U,i as Y,f as S,s as J,a as Q,e as v,b as L,d as I,g as T,t as G,h as D,j as q,k,o as W,l as F,m as N,n as $,p as s,q as
|
|
2
|
-
\xA0\xA0`),u=N(n),$(
|
|
1
|
+
import{c as K,S as U,i as Y,f as S,s as J,a as Q,e as v,b as L,d as I,g as T,t as G,h as D,j as q,k,o as W,l as F,m as N,n as $,p as s,q as a,r as A,u as z,v as M,w as H,x as B,y as C}from"./index2.js";import{g as X,A as j}from"./Arrow.js";function ee(p){Q(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 le(p){let e,l,t,o,r=p[1]==="mature"&&P(p),c=p[1]==="median"&&R(p),i=p[1]==="youth"&&_(p);return{c(){r&&r.c(),e=L(),c&&c.c(),l=L(),i&&i.c(),t=I()},m(n,u){r&&r.m(n,u),T(n,e,u),c&&c.m(n,u),T(n,l,u),i&&i.m(n,u),T(n,t,u),o=!0},p(n,u){n[1]==="mature"?r?(r.p(n,u),u&2&&q(r,1)):(r=P(n),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(F(),G(r,1,1,()=>{r=null}),D()),n[1]==="median"?c?(c.p(n,u),u&2&&q(c,1)):(c=R(n),c.c(),q(c,1),c.m(l.parentNode,l)):c&&(F(),G(c,1,1,()=>{c=null}),D()),n[1]==="youth"?i?(i.p(n,u),u&2&&q(i,1)):(i=_(n),i.c(),q(i,1),i.m(t.parentNode,t)):i&&(F(),G(i,1,1,()=>{i=null}),D())},i(n){o||(q(r),q(c),q(i),o=!0)},o(n){G(r),G(c),G(i),o=!1},d(n){n&&(k(e),k(l),k(t)),r&&r.d(n),c&&c.d(n),i&&i.d(n)}}}function te(p){let e,l,t,o,r,c,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",n,u,h,f,x,m;function y(g,b){return g[2]||g[3]?se:ne}let w=y(p),d=w(p);return{c(){e=v("div"),l=v("div"),t=v("div"),d.c(),o=L(),r=v("div"),c=v("b"),n=N(i),u=N(" of glycan indexes between "),h=v("br"),f=N(" your patient and this condition."),x=L(),m=v("div"),m.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li> <li>BP consistently >140/90 mmHg</li> <li>Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Serial BP measurements and/or 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic blood tests (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 4,757 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>',$(t,"transform","translate(-50%)"),$(c,"color",p[2]||p[3]?"#F2590D":"#12A195"),s(l,"class","summaryHeader svelte-yt1d5k"),s(m,"class","summaryBody svelte-yt1d5k"),s(e,"class","summaryMain svelte-yt1d5k")},m(g,b){T(g,e,b),a(e,l),a(l,t),d.m(t,null),a(l,o),a(l,r),a(r,c),a(c,n),a(r,u),a(r,h),a(r,f),a(e,x),a(e,m)},p(g,b){w!==(w=y(g))&&(d.d(1),d=w(g),d&&(d.c(),d.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&A(n,i),b&12&&$(c,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:z,o:z,d(g){g&&k(e),d.d()}}}function ie(p){let e,l,t,o,r,c,i,n=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",u;function h(m,y){return m[2]||m[3]?re:ae}let f=h(p),x=f(p);return{c(){e=v("div"),l=v("div"),t=v("b"),o=N(p[8]),r=N("/3"),c=L(),x.c(),i=N(`
|
|
2
|
+
\xA0\xA0`),u=N(n),$(l,"padding-right","10px"),s(e,"class","header svelte-yt1d5k")},m(m,y){T(m,e,y),a(e,l),a(l,t),a(t,o),a(t,r),a(e,c),x.m(e,null),a(e,i),a(e,u)},p(m,y){y&256&&A(o,m[8]),f!==(f=h(m))&&(x.d(1),x=f(m),x&&(x.c(),x.m(e,i))),y&12&&n!==(n=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap")&&A(u,n)},i:z,o:z,d(m){m&&k(e),x.d()}}}function P(p){let e,l,t,o,r,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"right",percentile:p[7]}}),{c(){e=v("div"),l=v("div"),t=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",r=p[7]<=68?"#12A195":"#F2590D"),s(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"),s(t,"xmlns","http://www.w3.org/2000/svg"),s(t,"width","24"),s(t,"height","24"),s(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(l,"class","label svelte-yt1d5k"),$(l,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),a(e,l),a(l,t),a(t,o),a(l,c),a(l,i),a(i,n),a(i,u),a(i,h),a(h,f),a(e,x),a(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&r!==(r=d[7]<=68?"#12A195":"#F2590D"))&&s(o,"fill",r),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function R(p){let e,l,t,o,r,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"left",percentile:p[7]}}),{c(){e=v("div"),l=v("div"),t=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Median (G1)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",r=p[7]>=32?"#12A195":"#F2590D"),s(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"),s(t,"xmlns","http://www.w3.org/2000/svg"),s(t,"width","24"),s(t,"height","24"),s(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(l,"class","label svelte-yt1d5k"),$(l,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),a(e,l),a(l,t),a(t,o),a(l,c),a(l,i),a(i,n),a(i,u),a(i,h),a(h,f),a(e,x),a(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&r!==(r=d[7]>=32?"#12A195":"#F2590D"))&&s(o,"fill",r),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function _(p){let e,l,t,o,r,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"left",percentile:p[7]}}),{c(){e=v("div"),l=v("div"),t=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",r=p[7]>=32?"#12A195":"#F2590D"),s(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"),s(t,"xmlns","http://www.w3.org/2000/svg"),s(t,"width","24"),s(t,"height","24"),s(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(l,"class","label svelte-yt1d5k"),$(l,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),a(e,l),a(l,t),a(t,o),a(l,c),a(l,i),a(i,n),a(i,u),a(i,h),a(h,f),a(e,x),a(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&r!==(r=d[7]>=32?"#12A195":"#F2590D"))&&s(o,"fill",r),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function ne(p){let e,l;return{c(){e=M("svg"),l=M("path"),s(l,"fill","#12A195"),s(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"),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(t,o){T(t,e,o),a(e,l)},d(t){t&&k(e)}}}function se(p){let e,l;return{c(){e=M("svg"),l=M("path"),s(l,"fill","#F2590D"),s(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"),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(t,o){T(t,e,o),a(e,l)},d(t){t&&k(e)}}}function ae(p){let e,l;return{c(){e=M("svg"),l=M("path"),s(l,"fill","#12A195"),s(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"),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(t,o){T(t,e,o),a(e,l)},d(t){t&&k(e)}}}function re(p){let e,l;return{c(){e=M("svg"),l=M("path"),s(l,"fill","#F2590D"),s(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"),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(t,o){T(t,e,o),a(e,l)},d(t){t&&k(e)}}}function oe(p){let e,l,t,o,r,c;const i=[ie,te,le],n=[];function u(h,f){return h[0]==="header"&&h[5]?0:h[0]==="summary"&&h[4]?1:2}return t=u(p),o=n[t]=i[t](p),{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=L(),o.c(),r=I()},m(h,f){T(h,e,f),T(h,l,f),n[t].m(h,f),T(h,r,f),c=!0},p(h,[f]){let x=t;t=u(h),t===x?n[t].p(h,f):(F(),G(n[x],1,1,()=>{n[x]=null}),D(),o=n[t],o?o.p(h,f):(o=n[t]=i[t](h),o.c()),q(o,1),o.m(r.parentNode,r))},i(h){c||(q(o),c=!0)},o(h){G(o),c=!1},d(h){h&&(k(e),k(l),k(r)),n[t].d(h)}}}function de(p,e,l){let{report:t}=e,{type:o}=e,{subtype:r}=e,{service:c=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],n,u=!1,h=!1,f=!1,x=!1,m="",y=0,w=0,d=0,g=0,b=0;function O(){y>68&&l(8,b++,b),w<32&&l(8,b++,b),d<32&&l(8,b++,b)}const V=i.find(Z=>Z.name===r);return W(async()=>{n=await c.getReport(t),V&&(l(7,g=Number(n[V.csvName])),l(6,m=X(g))),y=Number(n.G0percentile),w=Number(n.G1percentile),d=Number(n.G2percentile),O(),b===3&&l(2,u=!0),b===2&&l(3,h=!0),l(5,x=!0),l(4,f=!0)}),p.$$set=Z=>{"report"in Z&&l(9,t=Z.report),"type"in Z&&l(0,o=Z.type),"subtype"in Z&&l(1,r=Z.subtype),"service"in Z&&l(10,c=Z.service)},[o,r,u,h,f,x,m,g,b,t,c]}class E extends U{constructor(e){super(),Y(this,e,de,oe,J,{report:9,type:0,subtype:1,service:10},ee)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),S()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),S()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),S()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),S()}}customElements.define("ga-hypertension",K(E,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{E as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./
|
|
1
|
+
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js")};export{t as default};
|
package/dist/lupus.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as W,S as K,i as Q,f as z,s as X,a as Y,e as w,b as x,d as V,g as T,t as N,h as F,j as L,k as q,o as ee,l as B,m as M,n as b,p as a,q as s,r as S,u as C,v as Z,w as D,x as E,y as H}from"./index2.js";import{A as G}from"./Arrow.js";
|
|
1
|
+
import{c as W,S as K,i as Q,f as z,s as X,a as Y,e as w,b as x,d as V,g as T,t as N,h as F,j as L,k as q,o as ee,l as B,m as M,n as b,p as a,q as s,r as S,u as C,v as Z,w as D,x as E,y as H}from"./index2.js";import{g as le,A as G}from"./Arrow.js";function te(m){Y(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 ie(m){let e,l,t,r,v,p=m[1]==="peak18"&&j(m),n=m[1]==="peak22"&&I(m),o=m[1]==="peak23"&&_(m),u=m[1]==="peak26"&&O(m);return{c(){p&&p.c(),e=x(),n&&n.c(),l=x(),o&&o.c(),t=x(),u&&u.c(),r=V()},m(i,c){p&&p.m(i,c),T(i,e,c),n&&n.m(i,c),T(i,l,c),o&&o.m(i,c),T(i,t,c),u&&u.m(i,c),T(i,r,c),v=!0},p(i,c){i[1]==="peak18"?p?(p.p(i,c),c&2&&L(p,1)):(p=j(i),p.c(),L(p,1),p.m(e.parentNode,e)):p&&(B(),N(p,1,1,()=>{p=null}),F()),i[1]==="peak22"?n?(n.p(i,c),c&2&&L(n,1)):(n=I(i),n.c(),L(n,1),n.m(l.parentNode,l)):n&&(B(),N(n,1,1,()=>{n=null}),F()),i[1]==="peak23"?o?(o.p(i,c),c&2&&L(o,1)):(o=_(i),o.c(),L(o,1),o.m(t.parentNode,t)):o&&(B(),N(o,1,1,()=>{o=null}),F()),i[1]==="peak26"?u?(u.p(i,c),c&2&&L(u,1)):(u=O(i),u.c(),L(u,1),u.m(r.parentNode,r)):u&&(B(),N(u,1,1,()=>{u=null}),F())},i(i){v||(L(p),L(n),L(o),L(u),v=!0)},o(i){N(p),N(n),N(o),N(u),v=!1},d(i){i&&(q(e),q(l),q(t),q(r)),p&&p.d(i),n&&n.d(i),o&&o.d(i),u&&u.d(i)}}}function ne(m){let e,l,t,r,v,p,n=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",o,u,i,c,k,h;function f(g,$){return g[2]||g[3]?re:ae}let y=f(m),d=y(m);return{c(){e=w("div"),l=w("div"),t=w("div"),d.c(),r=x(),v=w("div"),p=w("b"),o=M(n),u=M(" of glycan indexes between "),i=w("br"),c=M(" your patient and this condition."),k=x(),h=w("div"),h.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)</li> <li>Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)</li> <li>Joint pain and swelling</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)</li> <li>Urinalysis</li> <li>Organ-targeted imaging (e.g., CT thorax, CT abdomen)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/26200652/">Association of Systemic Lupus Erythematosus With Decreased Immunosuppressive Potential of the IgG Glycome</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an analysis focusing on SLE, a discovery cohort consisting of 261 predominantly female SLE patients and 247 matched controls of Latin American Mestizo origin was studied for changes in IgG glycome, alongside two independent replication cohorts from Trinidad (108 SLE patients and 193 controls) and China (106 SLE patients and 105 controls). The study identified specific alterations in glycan traits, including a decrease in G2 and S, and notable changes in glycan peaks, with increases in peaks 18 and 23 and decreases in peaks 22 and 26. Utilizing these peak variations, a predictive model was developed, achieving an AUC of up to 0.882.</p>',b(t,"transform","translate(-50%)"),b(p,"color",m[2]||m[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-yt1d5k"),a(h,"class","summaryBody svelte-yt1d5k"),a(e,"class","summaryMain svelte-yt1d5k")},m(g,$){T(g,e,$),s(e,l),s(l,t),d.m(t,null),s(l,r),s(l,v),s(v,p),s(p,o),s(v,u),s(v,i),s(v,c),s(e,k),s(e,h)},p(g,$){y!==(y=f(g))&&(d.d(1),d=y(g),d&&(d.c(),d.m(t,null))),$&12&&n!==(n=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&S(o,n),$&12&&b(p,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:C,o:C,d(g){g&&q(e),d.d()}}}function se(m){let e,l,t,r,v,p,n,o=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",u;function i(h,f){return h[2]||h[3]?de:oe}let c=i(m),k=c(m);return{c(){e=w("div"),l=w("div"),t=w("b"),r=M(m[8]),v=M("/4"),p=x(),k.c(),n=M(`
|
|
2
2
|
\xA0\xA0`),u=M(o),b(l,"padding-right","10px"),a(e,"class","header svelte-yt1d5k")},m(h,f){T(h,e,f),s(e,l),s(l,t),s(t,r),s(t,v),s(e,p),k.m(e,null),s(e,n),s(e,u)},p(h,f){f&256&&S(r,h[8]),c!==(c=i(h))&&(k.d(1),k=c(h),k&&(k.c(),k.m(e,n))),f&12&&o!==(o=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&S(u,o)},i:C,o:C,d(h){h&&q(e),k.d()}}}function j(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>18 (P18)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function I(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>22 (P22)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function _(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>23 (P23)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function O(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>26 (P26)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function ae(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function re(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function oe(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function de(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function ce(m){let e,l,t,r,v,p;const n=[se,ne,ie],o=[];function u(i,c){return i[0]==="header"&&i[5]?0:i[0]==="summary"&&i[4]?1:2}return t=u(m),r=o[t]=n[t](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=x(),r.c(),v=V()},m(i,c){T(i,e,c),T(i,l,c),o[t].m(i,c),T(i,v,c),p=!0},p(i,[c]){let k=t;t=u(i),t===k?o[t].p(i,c):(B(),N(o[k],1,1,()=>{o[k]=null}),F(),r=o[t],r?r.p(i,c):(r=o[t]=n[t](i),r.c()),L(r,1),r.m(v.parentNode,v))},i(i){p||(L(r),p=!0)},o(i){N(r),p=!1},d(i){i&&(q(e),q(l),q(v)),o[t].d(i)}}}function me(m,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,n=[{name:"peak18",csvName:"P18percentile"},{name:"peak22",csvName:"P22percentile"},{name:"peak23",csvName:"P23percentile"},{name:"peak26",csvName:"P26percentile"}],o,u=!1,i=!1,c=!1,k=!1,h="",f=0,y=0,d=0,g=0,$=0,A=0;function J(){f>68&&l(8,A++,A),y<32&&l(8,A++,A),d>68&&l(8,A++,A),g<32&&l(8,A++,A)}const R=n.find(P=>P.name===v);return ee(async()=>{o=await p.getReport(t),R&&(l(7,$=Number(o[R.csvName])),l(6,h=le($))),f=Number(o.P18percentile),y=Number(o.P22percentile),d=Number(o.P23percentile),g=Number(o.P26percentile),J(),A===4&&l(2,u=!0),A===3&&l(3,i=!0),l(5,k=!0),l(4,c=!0)}),m.$$set=P=>{"report"in P&&l(9,t=P.report),"type"in P&&l(0,r=P.type),"subtype"in P&&l(1,v=P.subtype),"service"in P&&l(10,p=P.service)},[r,v,u,i,c,k,h,$,A,t,p]}class U extends K{constructor(e){super(),Q(this,e,me,ce,X,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),z()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),z()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),z()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),z()}}customElements.define("ga-lupus",W(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
|
package/dist/menopause.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as Y,S as J,i as Q,f as z,s as X,a as _,e as w,b as L,d as R,g as k,t as G,h as D,j as T,k as q,o as ee,l as S,m as Z,n as b,p as a,q as s,r as B,u as C,v as A,w as I,x as N,y as H}from"./index2.js";import{A as V}from"./Arrow.js";
|
|
2
|
-
\xA0\xA0`),v=Z(o),b(l,"padding-right","10px"),a(e,"class","header svelte-yt1d5k")},m(h,f){k(h,e,f),s(e,l),s(l,t),s(t,r),s(t,u),s(e,m),x.m(e,null),s(e,
|
|
1
|
+
import{c as Y,S as J,i as Q,f as z,s as X,a as _,e as w,b as L,d as R,g as k,t as G,h as D,j as T,k as q,o as ee,l as S,m as Z,n as b,p as a,q as s,r as B,u as C,v as A,w as I,x as N,y as H}from"./index2.js";import{g as le,A as V}from"./Arrow.js";function te(p){_(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 ne(p){let e,l,t,r,u,m=p[1]==="mature"&&E(p),i=p[1]==="youth"&&O(p),o=p[1]==="shield"&&P(p),v=p[1]==="lifestyle"&&K(p);return{c(){m&&m.c(),e=L(),i&&i.c(),l=L(),o&&o.c(),t=L(),v&&v.c(),r=R()},m(n,d){m&&m.m(n,d),k(n,e,d),i&&i.m(n,d),k(n,l,d),o&&o.m(n,d),k(n,t,d),v&&v.m(n,d),k(n,r,d),u=!0},p(n,d){n[1]==="mature"?m?(m.p(n,d),d&2&&T(m,1)):(m=E(n),m.c(),T(m,1),m.m(e.parentNode,e)):m&&(S(),G(m,1,1,()=>{m=null}),D()),n[1]==="youth"?i?(i.p(n,d),d&2&&T(i,1)):(i=O(n),i.c(),T(i,1),i.m(l.parentNode,l)):i&&(S(),G(i,1,1,()=>{i=null}),D()),n[1]==="shield"?o?(o.p(n,d),d&2&&T(o,1)):(o=P(n),o.c(),T(o,1),o.m(t.parentNode,t)):o&&(S(),G(o,1,1,()=>{o=null}),D()),n[1]==="lifestyle"?v?(v.p(n,d),d&2&&T(v,1)):(v=K(n),v.c(),T(v,1),v.m(r.parentNode,r)):v&&(S(),G(v,1,1,()=>{v=null}),D())},i(n){u||(T(m),T(i),T(o),T(v),u=!0)},o(n){G(m),G(i),G(o),G(v),u=!1},d(n){n&&(q(e),q(l),q(t),q(r)),m&&m.d(n),i&&i.d(n),o&&o.d(n),v&&v.d(n)}}}function ie(p){let e,l,t,r,u,m,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",o,v,n,d,x,h;function f(g,$){return g[2]||g[3]?re:ae}let y=f(p),c=y(p);return{c(){e=w("div"),l=w("div"),t=w("div"),c.c(),r=L(),u=w("div"),m=w("b"),o=Z(i),v=Z(" of glycan indexes between "),n=w("br"),d=Z(" your patient and this condition."),x=L(),h=w("div"),h.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Irregular menstrual cycle</li> <li>Vasomotor symptoms (e.g., hot flushes)</li> <li>Other (e.g., mood swings, cognitive difficulties, sleep disturbance)</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)</li> <li>Blood pressure check</li> <li>Referral to (peri)menopause specialist/gynaecologist</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5313059/">Estrogens regulate glycosylation of IgG in women and men</a> <p style="margin: 0; font-size: 0.65rem; color: #09341FCC;">In a comprehensive study examining IgG galactosylation only, 713 healthy adults from two cohorts representing White, Hispanic, and African American back grounds, along with 159 subjects from four randomized controlled trials on endocrine manipulation, were assessed, totaling 872 participants with an equal gender distribution. The study found that menopause was linked to an increase in agalactosylated IgG glycans, particularly the fucosylated nonbisected (G0F) glycoform. Treatment effects were noted, where conjugated estrogens and raloxifene reduced G0F glycans in postmenopausal women, and in premenopausal women, leuprolide increased G0F glycans, an effect that was reversed by estradiol.</p> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8881712/">Immunoglobulin G glycome composition in transition from premenopause to postmenopause</a> <p style="margin: 0; font-size: 0.65rem; color: #09341FCC;">In an extensive analysis, IgG glycome composition was studied in 5,080 samples from 1,940 women categorized as pre-, peri-, and postmenopausal, drawn from the TwinsUK registry. The study further included a validation cohort from two different population studies, CROATIA-Vis and CROATIA-Korcula. The participants were predominantly of White origin with an average age of 57. Notable glycan changes were observed in the transition from pre- to perimenopause, marked by an increase in G0 and B, and a decrease in G2 and S. A predictive model using age and IgG glycome to determine the onset of perimenopause was developed, achieving an AUC of 0.853 for a single time point measurement. Detailed differences in the glycan changes from peri- to post-menopause are also elaborated in the full paper.</p>',b(t,"transform","translate(-50%)"),b(m,"color",p[2]||p[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-yt1d5k"),a(h,"class","summaryBody svelte-yt1d5k"),a(e,"class","summaryMain svelte-yt1d5k")},m(g,$){k(g,e,$),s(e,l),s(l,t),c.m(t,null),s(l,r),s(l,u),s(u,m),s(m,o),s(u,v),s(u,n),s(u,d),s(e,x),s(e,h)},p(g,$){y!==(y=f(g))&&(c.d(1),c=y(g),c&&(c.c(),c.m(t,null))),$&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(o,i),$&12&&b(m,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:C,o:C,d(g){g&&q(e),c.d()}}}function se(p){let e,l,t,r,u,m,i,o=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",v;function n(h,f){return h[2]||h[3]?ce:oe}let d=n(p),x=d(p);return{c(){e=w("div"),l=w("div"),t=w("b"),r=Z(p[8]),u=Z("/4"),m=L(),x.c(),i=Z(`
|
|
2
|
+
\xA0\xA0`),v=Z(o),b(l,"padding-right","10px"),a(e,"class","header svelte-yt1d5k")},m(h,f){k(h,e,f),s(e,l),s(l,t),s(t,r),s(t,u),s(e,m),x.m(e,null),s(e,i),s(e,v)},p(h,f){f&256&&B(r,h[8]),d!==(d=n(h))&&(x.d(1),x=d(h),x&&(x.c(),x.m(e,i))),f&12&&o!==(o=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&B(v,o)},i:C,o:C,d(h){h&&q(e),x.d()}}}function E(p){let e,l,t,r,u,m,i,o,v,n,d,x,h,f,y;return f=new V({props:{type:"right",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Mature (G0)</b>",v=L(),n=w("div"),d=Z(p[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=p[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(c,g){k(c,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,i),s(i,o),s(i,v),s(i,n),s(n,d),s(e,x),s(e,h),N(f,h,null),y=!0},p(c,g){(!y||g&128&&u!==(u=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(d,c[6]);const $={};g&128&&($.percentile=c[7]),f.$set($)},i(c){y||(T(f.$$.fragment,c),y=!0)},o(c){G(f.$$.fragment,c),y=!1},d(c){c&&q(e),H(f)}}}function O(p){let e,l,t,r,u,m,i,o,v,n,d,x,h,f,y;return f=new V({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Youth (G2)</b>",v=L(),n=w("div"),d=Z(p[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=p[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(c,g){k(c,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,i),s(i,o),s(i,v),s(i,n),s(n,d),s(e,x),s(e,h),N(f,h,null),y=!0},p(c,g){(!y||g&128&&u!==(u=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(d,c[6]);const $={};g&128&&($.percentile=c[7]),f.$set($)},i(c){y||(T(f.$$.fragment,c),y=!0)},o(c){G(f.$$.fragment,c),y=!1},d(c){c&&q(e),H(f)}}}function P(p){let e,l,t,r,u,m,i,o,v,n,d,x,h,f,y;return f=new V({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Shield (S)</b>",v=L(),n=w("div"),d=Z(p[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=p[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(c,g){k(c,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,i),s(i,o),s(i,v),s(i,n),s(n,d),s(e,x),s(e,h),N(f,h,null),y=!0},p(c,g){(!y||g&128&&u!==(u=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(d,c[6]);const $={};g&128&&($.percentile=c[7]),f.$set($)},i(c){y||(T(f.$$.fragment,c),y=!0)},o(c){G(f.$$.fragment,c),y=!1},d(c){c&&q(e),H(f)}}}function K(p){let e,l,t,r,u,m,i,o,v,n,d,x,h,f,y;return f=new V({props:{type:"right",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),i=w("div"),o=w("div"),o.innerHTML="Glycan <b>Lifestyle (B)</b>",v=L(),n=w("div"),d=Z(p[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=p[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(i,"display","flex"),b(i,"flex-direction","column"),b(i,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(c,g){k(c,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,i),s(i,o),s(i,v),s(i,n),s(n,d),s(e,x),s(e,h),N(f,h,null),y=!0},p(c,g){(!y||g&128&&u!==(u=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(d,c[6]);const $={};g&128&&($.percentile=c[7]),f.$set($)},i(c){y||(T(f.$$.fragment,c),y=!0)},o(c){G(f.$$.fragment,c),y=!1},d(c){c&&q(e),H(f)}}}function ae(p){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function re(p){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function oe(p){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function ce(p){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function de(p){let e,l,t,r,u,m;const i=[se,ie,ne],o=[];function v(n,d){return n[0]==="header"&&n[5]?0:n[0]==="summary"&&n[4]?1:2}return t=v(p),r=o[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(),r.c(),u=R()},m(n,d){k(n,e,d),k(n,l,d),o[t].m(n,d),k(n,u,d),m=!0},p(n,[d]){let x=t;t=v(n),t===x?o[t].p(n,d):(S(),G(o[x],1,1,()=>{o[x]=null}),D(),r=o[t],r?r.p(n,d):(r=o[t]=i[t](n),r.c()),T(r,1),r.m(u.parentNode,u))},i(n){m||(T(r),m=!0)},o(n){G(r),m=!1},d(n){n&&(q(e),q(l),q(u)),o[t].d(n)}}}function pe(p,e,l){let{report:t}=e,{type:r}=e,{subtype:u}=e,{service:m=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],o,v=!1,n=!1,d=!1,x=!1,h="",f=0,y=0,c=0,g=0,$=0,M=0;function W(){f>68&&l(8,M++,M),y<32&&l(8,M++,M),c<32&&l(8,M++,M),g>68&&l(8,M++,M)}const j=i.find(F=>F.name===u);return ee(async()=>{o=await m.getReport(t),j&&(l(7,$=Number(o[j.csvName])),l(6,h=le($))),f=Number(o.G0percentile),y=Number(o.G2percentile),c=Number(o.Spercentile),g=Number(o.Bpercentile),W(),M===4&&l(2,v=!0),M===3&&l(3,n=!0),l(5,x=!0),l(4,d=!0)}),p.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,r=F.type),"subtype"in F&&l(1,u=F.subtype),"service"in F&&l(10,m=F.service)},[r,u,v,n,d,x,h,$,M,t,m]}class U extends J{constructor(e){super(),Q(this,e,pe,de,X,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),z()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),z()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),z()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),z()}}customElements.define("ga-menopause",Y(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
|
package/dist/myocardial.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as X,S as _,i as ee,f as P,s as le,a as te,e as w,b as L,d as E,g as k,t as Z,h as G,j as T,k as q,o as ie,l as C,m as A,n as x,p as r,q as n,r as B,u as V,v as M,w as S,x as z,y as F}from"./index2.js";import{A as H}from"./Arrow.js";
|
|
2
|
-
\xA0\xA0`),h=A(a),x(l,"padding-right","10px"),r(e,"class","header svelte-yt1d5k")},m(f,i){k(f,e,i),n(e,l),n(l,t),n(t,o),n(t,u),n(t,s),n(e,m),v.m(e,null),n(e,g),n(e,h)},p(f,i){i&512&&B(o,f[9]),i&128&&$!==($=f[7]==="M"?"4":"1")&&B(s,$),d!==(d=c(f))&&(v.d(1),v=d(f),v&&(v.c(),v.m(e,g))),i&12&&a!==(a=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&B(h,a)},i:V,o:V,d(f){f&&q(e),v.d()}}}function O(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"right",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]<=68?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Y(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function J(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Shield (S)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function K(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"right",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]<=68?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Q(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Peak <b>22 (P22)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function oe(p){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function me(p){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function ce(p){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function he(p){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function pe(p){let e,l,t,o,u,$;const s=[de,ae,re],m=[];function g(a,h){return a[0]==="header"&&a[5]?0:a[0]==="summary"&&a[4]?1:2}return t=g(p),o=m[t]=s[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(),o.c(),u=E()},m(a,h){k(a,e,h),k(a,l,h),m[t].m(a,h),k(a,u,h),$=!0},p(a,[h]){let c=t;t=g(a),t===c?m[t].p(a,h):(C(),Z(m[c],1,1,()=>{m[c]=null}),G(),o=m[t],o?o.p(a,h):(o=m[t]=s[t](a),o.c()),T(o,1),o.m(u.parentNode,u))},i(a){$||(T(o),$=!0)},o(a){Z(o),$=!1},d(a){a&&(q(e),q(l),q(u)),m[t].d(a)}}}function ve(p,e,l){let{report:t}=e,{type:o}=e,{subtype:u}=e,{service:$=window.GaReportService}=e,s=[{name:"peak",csvName:"P22percentile"},{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],m,g=!1,a=!1,h=!1,c=!1,d="",v="",f=0,i=0,y=0,b=0,R=0,I=0,N=0;function W(){if(v==="F"){f<32&&l(9,N++,N);return}i>68&&l(9,N++,N),y<32&&l(9,N++,N),b<32&&l(9,N++,N),R>68&&l(9,N++,N)}const j=s.find(D=>D.name===u);return ie(async()=>{m=await $.getReport(t),l(7,v=m.sex),j&&(l(8,I=Number(m[j.csvName])),l(6,d=ne(I))),f=Number(m.P22percentile),i=Number(m.G0percentile),y=Number(m.G2percentile),b=Number(m.Spercentile),R=Number(m.Bpercentile),W(),v==="F"?N===1&&l(2,g=!0):(N===4&&l(2,g=!0),N===3&&l(3,a=!0)),l(5,c=!0),l(4,h=!0)}),p.$$set=D=>{"report"in D&&l(10,t=D.report),"type"in D&&l(0,o=D.type),"subtype"in D&&l(1,u=D.subtype),"service"in D&&l(11,$=D.service)},[o,u,g,a,h,c,d,v,I,N,t,$]}class U extends _{constructor(e){super(),ee(this,e,ve,pe,le,{report:10,type:0,subtype:1,service:11},se)}get report(){return this.$$.ctx[10]}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[11]}set service(e){this.$$set({service:e}),P()}}customElements.define("ga-myocardial",X(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
|
|
1
|
+
import{c as X,S as _,i as ee,f as P,s as le,a as te,e as w,b as L,d as E,g as k,t as Z,h as G,j as T,k as q,o as ie,l as C,m as A,n as x,p as r,q as n,r as B,u as V,v as M,w as S,x as z,y as F}from"./index2.js";import{g as ne,A as H}from"./Arrow.js";function se(h){te(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 re(h){let e,l,t,o,u,$,s=h[1]==="mature"&&O(h),p=h[1]==="youth"&&Y(h),g=h[1]==="shield"&&J(h),a=h[1]==="lifestyle"&&K(h),m=h[1]==="peak"&&Q(h);return{c(){s&&s.c(),e=L(),p&&p.c(),l=L(),g&&g.c(),t=L(),a&&a.c(),o=L(),m&&m.c(),u=E()},m(c,d){s&&s.m(c,d),k(c,e,d),p&&p.m(c,d),k(c,l,d),g&&g.m(c,d),k(c,t,d),a&&a.m(c,d),k(c,o,d),m&&m.m(c,d),k(c,u,d),$=!0},p(c,d){c[1]==="mature"?s?(s.p(c,d),d&2&&T(s,1)):(s=O(c),s.c(),T(s,1),s.m(e.parentNode,e)):s&&(C(),Z(s,1,1,()=>{s=null}),G()),c[1]==="youth"?p?(p.p(c,d),d&2&&T(p,1)):(p=Y(c),p.c(),T(p,1),p.m(l.parentNode,l)):p&&(C(),Z(p,1,1,()=>{p=null}),G()),c[1]==="shield"?g?(g.p(c,d),d&2&&T(g,1)):(g=J(c),g.c(),T(g,1),g.m(t.parentNode,t)):g&&(C(),Z(g,1,1,()=>{g=null}),G()),c[1]==="lifestyle"?a?(a.p(c,d),d&2&&T(a,1)):(a=K(c),a.c(),T(a,1),a.m(o.parentNode,o)):a&&(C(),Z(a,1,1,()=>{a=null}),G()),c[1]==="peak"?m?(m.p(c,d),d&2&&T(m,1)):(m=Q(c),m.c(),T(m,1),m.m(u.parentNode,u)):m&&(C(),Z(m,1,1,()=>{m=null}),G())},i(c){$||(T(s),T(p),T(g),T(a),T(m),$=!0)},o(c){Z(s),Z(p),Z(g),Z(a),Z(m),$=!1},d(c){c&&(q(e),q(l),q(t),q(o),q(u)),s&&s.d(c),p&&p.d(c),g&&g.d(c),a&&a.d(c),m&&m.d(c)}}}function ae(h){let e,l,t,o,u,$,s=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",p,g,a,m,c,d;function v(y,b){return y[2]||y[3]?pe:oe}let f=v(h),i=f(h);return{c(){e=w("div"),l=w("div"),t=w("div"),i.c(),o=L(),u=w("div"),$=w("b"),p=A(s),g=A(" of glycan indexes between "),a=w("br"),m=A(" your patient and this condition."),c=L(),d=w("div"),d.innerHTML='<h5>Risk 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://www.ncbi.nlm.nih.gov/pmc/articles/PMC9679264/">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>',x(t,"transform","translate(-50%)"),x($,"color",h[2]||h[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-yt1d5k"),r(d,"class","summaryBody svelte-yt1d5k"),r(e,"class","summaryMain svelte-yt1d5k")},m(y,b){k(y,e,b),n(e,l),n(l,t),i.m(t,null),n(l,o),n(l,u),n(u,$),n($,p),n(u,g),n(u,a),n(u,m),n(e,c),n(e,d)},p(y,b){f!==(f=v(y))&&(i.d(1),i=f(y),i&&(i.c(),i.m(t,null))),b&12&&s!==(s=y[2]?"Major overlap":y[3]?"Some overlap":"No significant overlap")&&B(p,s),b&12&&x($,"color",y[2]||y[3]?"#F2590D":"#12A195")},i:V,o:V,d(y){y&&q(e),i.d()}}}function de(h){let e,l,t,o,u,$=h[7]==="M"?"4":"1",s,p,g,a=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap",m;function c(f,i){return f[2]||f[3]?me:ce}let d=c(h),v=d(h);return{c(){e=w("div"),l=w("div"),t=w("b"),o=A(h[9]),u=A("/"),s=A($),p=L(),v.c(),g=A(`
|
|
2
|
+
\xA0\xA0`),m=A(a),x(l,"padding-right","10px"),r(e,"class","header svelte-yt1d5k")},m(f,i){k(f,e,i),n(e,l),n(l,t),n(t,o),n(t,u),n(t,s),n(e,p),v.m(e,null),n(e,g),n(e,m)},p(f,i){i&512&&B(o,f[9]),i&128&&$!==($=f[7]==="M"?"4":"1")&&B(s,$),d!==(d=c(f))&&(v.d(1),v=d(f),v&&(v.c(),v.m(e,g))),i&12&&a!==(a=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&B(m,a)},i:V,o:V,d(f){f&&q(e),v.d()}}}function O(h){let e,l,t,o,u,$,s,p,g,a,m,c,d,v,f;return v=new H({props:{type:"right",percentile:h[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),p=w("div"),p.innerHTML="Glycan <b>Mature (G0)</b>",g=L(),a=w("div"),m=A(h[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=h[8]<=68?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,p),n(s,g),n(s,a),n(a,m),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(m,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Y(h){let e,l,t,o,u,$,s,p,g,a,m,c,d,v,f;return v=new H({props:{type:"left",percentile:h[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),p=w("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",g=L(),a=w("div"),m=A(h[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=h[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,p),n(s,g),n(s,a),n(a,m),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(m,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function J(h){let e,l,t,o,u,$,s,p,g,a,m,c,d,v,f;return v=new H({props:{type:"left",percentile:h[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),p=w("div"),p.innerHTML="Glycan <b>Shield (S)</b>",g=L(),a=w("div"),m=A(h[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=h[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,p),n(s,g),n(s,a),n(a,m),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(m,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function K(h){let e,l,t,o,u,$,s,p,g,a,m,c,d,v,f;return v=new H({props:{type:"right",percentile:h[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),p=w("div"),p.innerHTML="Glycan <b>Lifestyle (B)</b>",g=L(),a=w("div"),m=A(h[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=h[8]<=68?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,p),n(s,g),n(s,a),n(a,m),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(m,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Q(h){let e,l,t,o,u,$,s,p,g,a,m,c,d,v,f;return v=new H({props:{type:"left",percentile:h[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),p=w("div"),p.innerHTML="Peak <b>22 (P22)</b>",g=L(),a=w("div"),m=A(h[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=h[8]>=32?"#12A195":"#F2590D"),r(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"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,p),n(s,g),n(s,a),n(a,m),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(m,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function oe(h){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function pe(h){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function ce(h){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function me(h){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function he(h){let e,l,t,o,u,$;const s=[de,ae,re],p=[];function g(a,m){return a[0]==="header"&&a[5]?0:a[0]==="summary"&&a[4]?1:2}return t=g(h),o=p[t]=s[t](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(),o.c(),u=E()},m(a,m){k(a,e,m),k(a,l,m),p[t].m(a,m),k(a,u,m),$=!0},p(a,[m]){let c=t;t=g(a),t===c?p[t].p(a,m):(C(),Z(p[c],1,1,()=>{p[c]=null}),G(),o=p[t],o?o.p(a,m):(o=p[t]=s[t](a),o.c()),T(o,1),o.m(u.parentNode,u))},i(a){$||(T(o),$=!0)},o(a){Z(o),$=!1},d(a){a&&(q(e),q(l),q(u)),p[t].d(a)}}}function ve(h,e,l){let{report:t}=e,{type:o}=e,{subtype:u}=e,{service:$=window.GaReportService}=e,s=[{name:"peak",csvName:"P22percentile"},{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],p,g=!1,a=!1,m=!1,c=!1,d="",v="",f=0,i=0,y=0,b=0,R=0,I=0,N=0;function W(){if(v==="F"){f<32&&l(9,N++,N);return}i>68&&l(9,N++,N),y<32&&l(9,N++,N),b<32&&l(9,N++,N),R>68&&l(9,N++,N)}const j=s.find(D=>D.name===u);return ie(async()=>{p=await $.getReport(t),l(7,v=p.sex),j&&(l(8,I=Number(p[j.csvName])),l(6,d=ne(I))),f=Number(p.P22percentile),i=Number(p.G0percentile),y=Number(p.G2percentile),b=Number(p.Spercentile),R=Number(p.Bpercentile),W(),v==="F"?N===1&&l(2,g=!0):(N===4&&l(2,g=!0),N===3&&l(3,a=!0)),l(5,c=!0),l(4,m=!0)}),h.$$set=D=>{"report"in D&&l(10,t=D.report),"type"in D&&l(0,o=D.type),"subtype"in D&&l(1,u=D.subtype),"service"in D&&l(11,$=D.service)},[o,u,g,a,m,c,d,v,I,N,t,$]}class U extends _{constructor(e){super(),ee(this,e,ve,he,le,{report:10,type:0,subtype:1,service:11},se)}get report(){return this.$$.ctx[10]}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[11]}set service(e){this.$$set({service:e}),P()}}customElements.define("ga-myocardial",X(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U 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,t as M,h as R,j as C,k as $,o as V,l as E,v as k,m as q,w as P,p as i,n as x,q as n,x as j,r as Z,y as O,u as A}from"./index2.js";import{A as K}from"./Arrow.js";
|
|
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,
|
|
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,t as M,h as R,j as C,k as $,o as V,l as E,v as k,m as q,w as P,p as i,n as x,q as n,x as j,r as Z,y as O,u as A}from"./index2.js";import{A as K}from"./Arrow.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</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};
|