@glycanage/web-components 1.44.0 → 1.46.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/arthritis.wc.js +2 -2
- package/dist/atherosclerosis.wc.js +2 -2
- package/dist/colitis.wc.js +2 -2
- package/dist/copd.wc.js +2 -2
- package/dist/coronary.wc.js +2 -2
- package/dist/crohn.wc.js +2 -2
- package/dist/diabetes.wc.js +2 -2
- package/dist/dyslipidemia.wc.js +2 -2
- package/dist/hypertension-risk.wc.js +2 -2
- package/dist/hypertension.wc.js +2 -2
- package/dist/lupus.wc.js +2 -2
- 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/crohn.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as
|
|
2
|
-
\xA0\xA0`),u=N(c),q(l,"padding-right","10px"),a(e,"class","header svelte-hh2qzm")},m(n,v){L(n,e,v),s(e,l),s(l,t),s(t,o),s(t,f),s(e,z),h.m(e,null),s(e,i),s(e,u)},p(n,v){v&256&&B(o,n[8]),p!==(p=m(n))&&(h.d(1),h=p(n),h&&(h.c(),h.m(e,i))),v&12&&c!==(c=n[2]?"Major overlap":n[3]?"Some overlap":"No significant overlap")&&B(u,c)},i:V,o:V,d(n){n&&T(e),h.d()}}}function W(d){let e,l,t,o,f,z,i,c,u,m,p,h,n,v,y;return v=new H({props:{type:"right",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),o=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Mature (G0)</b>",u=x(),m=w("div"),p=N(d[6]),h=x(),n=w("div"),D(v.$$.fragment),a(o,"fill",f=d[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(n,"width","70%"),q(n,"display","flex"),q(n,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(r,g){L(r,e,g),s(e,l),s(l,t),s(t,o),s(l,z),s(l,i),s(i,c),s(i,u),s(i,m),s(m,p),s(e,h),s(e,n),C(v,n,null),y=!0},p(r,g){(!y||g&128&&f!==(f=r[7]<=68?"#12A195":"#F2590D"))&&a(o,"fill",f),(!y||g&64)&&B(p,r[6]);const b={};g&128&&(b.percentile=r[7]),v.$set(b)},i(r){y||($(v.$$.fragment,r),y=!0)},o(r){M(v.$$.fragment,r),y=!1},d(r){r&&T(e),I(v)}}}function E(d){let e,l,t,o,f,z,i,c,u,m,p,h,n,v,y;return v=new H({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),o=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Median (G1)</b>",u=x(),m=w("div"),p=N(d[6]),h=x(),n=w("div"),D(v.$$.fragment),a(o,"fill",f=d[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(n,"width","70%"),q(n,"display","flex"),q(n,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(r,g){L(r,e,g),s(e,l),s(l,t),s(t,o),s(l,z),s(l,i),s(i,c),s(i,u),s(i,m),s(m,p),s(e,h),s(e,n),C(v,n,null),y=!0},p(r,g){(!y||g&128&&f!==(f=r[7]>=32?"#12A195":"#F2590D"))&&a(o,"fill",f),(!y||g&64)&&B(p,r[6]);const b={};g&128&&(b.percentile=r[7]),v.$set(b)},i(r){y||($(v.$$.fragment,r),y=!0)},o(r){M(v.$$.fragment,r),y=!1},d(r){r&&T(e),I(v)}}}function P(d){let e,l,t,o,f,z,i,c,u,m,p,h,n,v,y;return v=new H({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),o=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Youth (G2)</b>",u=x(),m=w("div"),p=N(d[6]),h=x(),n=w("div"),D(v.$$.fragment),a(o,"fill",f=d[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(n,"width","70%"),q(n,"display","flex"),q(n,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(r,g){L(r,e,g),s(e,l),s(l,t),s(t,o),s(l,z),s(l,i),s(i,c),s(i,u),s(i,m),s(m,p),s(e,h),s(e,n),C(v,n,null),y=!0},p(r,g){(!y||g&128&&f!==(f=r[7]>=32?"#12A195":"#F2590D"))&&a(o,"fill",f),(!y||g&64)&&B(p,r[6]);const b={};g&128&&(b.percentile=r[7]),v.$set(b)},i(r){y||($(v.$$.fragment,r),y=!0)},o(r){M(v.$$.fragment,r),y=!1},d(r){r&&T(e),I(v)}}}function O(d){let e,l,t,o,f,z,i,c,u,m,p,h,n,v,y;return v=new H({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),o=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Shield (S)</b>",u=x(),m=w("div"),p=N(d[6]),h=x(),n=w("div"),D(v.$$.fragment),a(o,"fill",f=d[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(n,"width","70%"),q(n,"display","flex"),q(n,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(r,g){L(r,e,g),s(e,l),s(l,t),s(t,o),s(l,z),s(l,i),s(i,c),s(i,u),s(i,m),s(m,p),s(e,h),s(e,n),C(v,n,null),y=!0},p(r,g){(!y||g&128&&f!==(f=r[7]>=32?"#12A195":"#F2590D"))&&a(o,"fill",f),(!y||g&64)&&B(p,r[6]);const b={};g&128&&(b.percentile=r[7]),v.$set(b)},i(r){y||($(v.$$.fragment,r),y=!0)},o(r){M(v.$$.fragment,r),y=!1},d(r){r&&T(e),I(v)}}}function X(d){let e,l,t,o,f,z,i,c,u,m,p,h,n,v,y;return v=new H({props:{type:"right",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),o=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",u=x(),m=w("div"),p=N(d[6]),h=x(),n=w("div"),D(v.$$.fragment),a(o,"fill",f=d[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(n,"width","70%"),q(n,"display","flex"),q(n,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(r,g){L(r,e,g),s(e,l),s(l,t),s(t,o),s(l,z),s(l,i),s(i,c),s(i,u),s(i,m),s(m,p),s(e,h),s(e,n),C(v,n,null),y=!0},p(r,g){(!y||g&128&&f!==(f=r[7]<=68?"#12A195":"#F2590D"))&&a(o,"fill",f),(!y||g&64)&&B(p,r[6]);const b={};g&128&&(b.percentile=r[7]),v.$set(b)},i(r){y||($(v.$$.fragment,r),y=!0)},o(r){M(v.$$.fragment,r),y=!1},d(r){r&&T(e),I(v)}}}function he(d){let e,l;return{c(){e=G("svg"),l=G("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,o){L(t,e,o),s(e,l)},d(t){t&&T(e)}}}function me(d){let e,l;return{c(){e=G("svg"),l=G("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,o){L(t,e,o),s(e,l)},d(t){t&&T(e)}}}function oe(d){let e,l;return{c(){e=G("svg"),l=G("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,o){L(t,e,o),s(e,l)},d(t){t&&T(e)}}}function ce(d){let e,l;return{c(){e=G("svg"),l=G("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,o){L(t,e,o),s(e,l)},d(t){t&&T(e)}}}function pe(d){let e,l,t,o,f,z;const i=[re,ae,se],c=[];function u(m,p){return m[0]==="header"&&m[5]?0:m[0]==="summary"&&m[4]?1:2}return t=u(d),o=c[t]=i[t](d),{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(),o.c(),f=U()},m(m,p){L(m,e,p),L(m,l,p),c[t].m(m,p),L(m,f,p),z=!0},p(m,[p]){let h=t;t=u(m),t===h?c[t].p(m,p):(F(),M(c[h],1,1,()=>{c[h]=null}),S(),o=c[t],o?o.p(m,p):(o=c[t]=i[t](m),o.c()),$(o,1),o.m(f.parentNode,f))},i(m){z||($(o),z=!0)},o(m){M(o),z=!1},d(m){m&&(T(e),T(l),T(f)),c[t].d(m)}}}function de(d,e,l){let{report:t}=e,{type:o}=e,{subtype:f}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],c,u=!1,m=!1,p=!1,h=!1,n="",v=0,y=0,r=0,g=0,b=0,j=0,Z=0;function J(){v>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),r<32&&l(8,Z++,Z),g<32&&l(8,Z++,Z),b>68&&l(8,Z++,Z)}const k=i.find(A=>A.name===f);return te(async()=>{c=await z.getReport(t),k&&(l(7,j=Number(c[k.csvName])),l(6,n=ie(j))),v=Number(c.G0percentile),y=Number(c.G1percentile),r=Number(c.G2percentile),g=Number(c.Spercentile),b=Number(c.Bpercentile),J(),Z===5&&l(2,u=!0),Z>2&&Z<5&&l(3,m=!0),l(5,h=!0),l(4,p=!0)}),d.$$set=A=>{"report"in A&&l(9,t=A.report),"type"in A&&l(0,o=A.type),"subtype"in A&&l(1,f=A.subtype),"service"in A&&l(10,z=A.service)},[o,f,u,m,p,h,n,j,Z,t,z]}class Y extends Q{constructor(e){super(),_(this,e,de,pe,ee,{report:9,type:0,subtype:1,service:10},ne)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),R()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),R()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),R()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),R()}}customElements.define("ga-crohn",K(Y,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{Y as default};
|
|
1
|
+
import{c as J,S as K,i as Q,f as V,s as ee,a as le,e as w,b as x,d as U,g as L,t as M,h as B,j as $,k as T,o as te,l as S,m as Z,n as q,p as a,q as n,r as N,u as D,v as G,w as C,x as I,y as H}from"./index2.js";import{g as se,A as R}from"./Arrow.js";function ie(d){le(d,"svelte-hh2qzm",".summaryMain.svelte-hh2qzm.svelte-hh2qzm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-hh2qzm hr.svelte-hh2qzm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-hh2qzm h5.svelte-hh2qzm{font-size:16px;margin:0}.summaryMain.svelte-hh2qzm ul.svelte-hh2qzm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-hh2qzm ul li.svelte-hh2qzm:not(:first-child){margin-top:4px}.summaryHeader.svelte-hh2qzm.svelte-hh2qzm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-hh2qzm.svelte-hh2qzm{width:100%;height:100%;margin:auto}.summaryBody.svelte-hh2qzm a.svelte-hh2qzm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-hh2qzm p.svelte-hh2qzm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-hh2qzm.svelte-hh2qzm{height:100%;width:100%;display:flex}.label.svelte-hh2qzm.svelte-hh2qzm{width:30%;display:flex;align-items:center}.header.svelte-hh2qzm.svelte-hh2qzm{width:100%;height:100%;display:flex;align-items:center}")}function ne(d){let e,l,t,h,v,z,i=d[1]==="mature"&&j(d),c=d[1]==="median"&&W(d),u=d[1]==="youth"&&E(d),o=d[1]==="shield"&&P(d),p=d[1]==="lifestyle"&&O(d);return{c(){i&&i.c(),e=x(),c&&c.c(),l=x(),u&&u.c(),t=x(),o&&o.c(),h=x(),p&&p.c(),v=U()},m(r,s){i&&i.m(r,s),L(r,e,s),c&&c.m(r,s),L(r,l,s),u&&u.m(r,s),L(r,t,s),o&&o.m(r,s),L(r,h,s),p&&p.m(r,s),L(r,v,s),z=!0},p(r,s){r[1]==="mature"?i?(i.p(r,s),s&2&&$(i,1)):(i=j(r),i.c(),$(i,1),i.m(e.parentNode,e)):i&&(S(),M(i,1,1,()=>{i=null}),B()),r[1]==="median"?c?(c.p(r,s),s&2&&$(c,1)):(c=W(r),c.c(),$(c,1),c.m(l.parentNode,l)):c&&(S(),M(c,1,1,()=>{c=null}),B()),r[1]==="youth"?u?(u.p(r,s),s&2&&$(u,1)):(u=E(r),u.c(),$(u,1),u.m(t.parentNode,t)):u&&(S(),M(u,1,1,()=>{u=null}),B()),r[1]==="shield"?o?(o.p(r,s),s&2&&$(o,1)):(o=P(r),o.c(),$(o,1),o.m(h.parentNode,h)):o&&(S(),M(o,1,1,()=>{o=null}),B()),r[1]==="lifestyle"?p?(p.p(r,s),s&2&&$(p,1)):(p=O(r),p.c(),$(p,1),p.m(v.parentNode,v)):p&&(S(),M(p,1,1,()=>{p=null}),B())},i(r){z||($(i),$(c),$(u),$(o),$(p),z=!0)},o(r){M(i),M(c),M(u),M(o),M(p),z=!1},d(r){r&&(T(e),T(l),T(t),T(h),T(v)),i&&i.d(r),c&&c.d(r),u&&u.d(r),o&&o.d(r),p&&p.d(r)}}}function ae(d){let e,l,t,h,v,z,i=d[2]?"Major overlap":d[3]?"Some overlap":"No significant overlap",c,u,o,p,r,s;function f(g,b){return g[2]||g[3]?he:me}let y=f(d),m=y(d);return{c(){e=w("div"),l=w("div"),t=w("div"),m.c(),h=x(),v=w("div"),z=w("b"),c=Z(i),u=Z(" of glycan indexes between your patient and this condition."),o=x(),p=w("hr"),r=x(),s=w("div"),s.innerHTML='<h5 class="svelte-hh2qzm">Signs and symptoms</h5> <ul class="svelte-hh2qzm"><li class="svelte-hh2qzm">Abdominal pain and cramping</li> <li class="svelte-hh2qzm">Recurring diarrhea (\xB1 blood)</li> <li class="svelte-hh2qzm">Weight loss</li></ul> <h5 class="svelte-hh2qzm">Possible follow-up</h5> <ul class="svelte-hh2qzm"><li class="svelte-hh2qzm">Blood tests: full blood count, renal and liver function, CRP</li> <li class="svelte-hh2qzm">Stool tests: faecal immunochemical test (FIT), faecal calprotectin</li> <li class="svelte-hh2qzm">Referral for CT colonoscopy</li></ul> <h5 class="svelte-hh2qzm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/25895110/" class="svelte-hh2qzm">Inflammatory bowel disease associates with proinflammatory potential of the immunoglobulin G glycome</a> <p class="svelte-hh2qzm">In a Scottish study examining IgG glycosylation changes in IBS, a cohort of 287 CD patients and 320 controls, all with an average age of 42, was evaluated. The analysis indicated a significant increase in G0 and B glycan traits and a decrease in G1, G2, and S in CD patients compared to controls. The changes in specific glycan peaks showed predictive value, with an AUC of 0.77.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/29309774/" class="svelte-hh2qzm">Glycosylation of Immunoglobulin G Associates With Clinical Features of Inflammatory Bowel Diseases</a> <p class="svelte-hh2qzm">In a study focusing on CD, a cohort including 874 CD patients from Italy, 391 from the United States, and controls (427 in Italy and 440 from the United States) was analyzed for IgG glycosylation changes. With an average participant age of 35 and an equal gender distribution, the research revealed a decrease in G1, G2, and S glycan traits and an increase in G0, while B remained unchanged. The glycosylation traits contributed to a model achieving an AUC of 0.849, indicating strong predictive capability. A link was noted between decreased galactosylation and more severe CD manifestations, such as the necessity for surgical intervention, compared to controls.</p>',q(t,"transform","translate(-50%)"),q(z,"color",d[2]||d[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-hh2qzm"),a(p,"class","svelte-hh2qzm"),a(s,"class","summaryBody svelte-hh2qzm"),a(e,"class","summaryMain svelte-hh2qzm")},m(g,b){L(g,e,b),n(e,l),n(l,t),m.m(t,null),n(l,h),n(l,v),n(v,z),n(z,c),n(v,u),n(e,o),n(e,p),n(e,r),n(e,s)},p(g,b){y!==(y=f(g))&&(m.d(1),m=y(g),m&&(m.c(),m.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&N(c,i),b&12&&q(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:D,o:D,d(g){g&&T(e),m.d()}}}function re(d){let e,l,t,h,v,z,i,c=d[2]?"Some overlap":d[3]?"Minor overlap":"No significant overlap",u;function o(s,f){return s[2]||s[3]?ce:oe}let p=o(d),r=p(d);return{c(){e=w("div"),l=w("div"),t=w("b"),h=Z(d[8]),v=Z("/5"),z=x(),r.c(),i=Z(`
|
|
2
|
+
\xA0\xA0`),u=Z(c),q(l,"padding-right","10px"),a(e,"class","header svelte-hh2qzm")},m(s,f){L(s,e,f),n(e,l),n(l,t),n(t,h),n(t,v),n(e,z),r.m(e,null),n(e,i),n(e,u)},p(s,f){f&256&&N(h,s[8]),p===(p=o(s))&&r?r.p(s,f):(r.d(1),r=p(s),r&&(r.c(),r.m(e,i))),f&12&&c!==(c=s[2]?"Some overlap":s[3]?"Minor overlap":"No significant overlap")&&N(u,c)},i:D,o:D,d(s){s&&T(e),r.d()}}}function j(d){let e,l,t,h,v,z,i,c,u,o,p,r,s,f,y;return f=new R({props:{type:"right",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),h=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Mature (G0)</b>",u=x(),o=w("div"),p=Z(d[6]),r=x(),s=w("div"),C(f.$$.fragment),a(h,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(h,"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"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(s,"width","70%"),q(s,"display","flex"),q(s,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(m,g){L(m,e,g),n(e,l),n(l,t),n(t,h),n(l,z),n(l,i),n(i,c),n(i,u),n(i,o),n(o,p),n(e,r),n(e,s),I(f,s,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]<=68?"#12A195":"#F2590D"))&&a(h,"fill",v),(!y||g&64)&&N(p,m[6]);const b={};g&128&&(b.percentile=m[7]),f.$set(b)},i(m){y||($(f.$$.fragment,m),y=!0)},o(m){M(f.$$.fragment,m),y=!1},d(m){m&&T(e),H(f)}}}function W(d){let e,l,t,h,v,z,i,c,u,o,p,r,s,f,y;return f=new R({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),h=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Median (G1)</b>",u=x(),o=w("div"),p=Z(d[6]),r=x(),s=w("div"),C(f.$$.fragment),a(h,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(h,"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"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(s,"width","70%"),q(s,"display","flex"),q(s,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(m,g){L(m,e,g),n(e,l),n(l,t),n(t,h),n(l,z),n(l,i),n(i,c),n(i,u),n(i,o),n(o,p),n(e,r),n(e,s),I(f,s,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&a(h,"fill",v),(!y||g&64)&&N(p,m[6]);const b={};g&128&&(b.percentile=m[7]),f.$set(b)},i(m){y||($(f.$$.fragment,m),y=!0)},o(m){M(f.$$.fragment,m),y=!1},d(m){m&&T(e),H(f)}}}function E(d){let e,l,t,h,v,z,i,c,u,o,p,r,s,f,y;return f=new R({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),h=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Youth (G2)</b>",u=x(),o=w("div"),p=Z(d[6]),r=x(),s=w("div"),C(f.$$.fragment),a(h,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(h,"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"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(s,"width","70%"),q(s,"display","flex"),q(s,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(m,g){L(m,e,g),n(e,l),n(l,t),n(t,h),n(l,z),n(l,i),n(i,c),n(i,u),n(i,o),n(o,p),n(e,r),n(e,s),I(f,s,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&a(h,"fill",v),(!y||g&64)&&N(p,m[6]);const b={};g&128&&(b.percentile=m[7]),f.$set(b)},i(m){y||($(f.$$.fragment,m),y=!0)},o(m){M(f.$$.fragment,m),y=!1},d(m){m&&T(e),H(f)}}}function P(d){let e,l,t,h,v,z,i,c,u,o,p,r,s,f,y;return f=new R({props:{type:"left",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),h=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Shield (S)</b>",u=x(),o=w("div"),p=Z(d[6]),r=x(),s=w("div"),C(f.$$.fragment),a(h,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(h,"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"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(s,"width","70%"),q(s,"display","flex"),q(s,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(m,g){L(m,e,g),n(e,l),n(l,t),n(t,h),n(l,z),n(l,i),n(i,c),n(i,u),n(i,o),n(o,p),n(e,r),n(e,s),I(f,s,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]>=32?"#12A195":"#F2590D"))&&a(h,"fill",v),(!y||g&64)&&N(p,m[6]);const b={};g&128&&(b.percentile=m[7]),f.$set(b)},i(m){y||($(f.$$.fragment,m),y=!0)},o(m){M(f.$$.fragment,m),y=!1},d(m){m&&T(e),H(f)}}}function O(d){let e,l,t,h,v,z,i,c,u,o,p,r,s,f,y;return f=new R({props:{type:"right",percentile:d[7]}}),{c(){e=w("div"),l=w("div"),t=G("svg"),h=G("path"),z=x(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",u=x(),o=w("div"),p=Z(d[6]),r=x(),s=w("div"),C(f.$$.fragment),a(h,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(h,"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"),q(i,"display","flex"),q(i,"flex-direction","column"),q(i,"padding-left","0.3rem"),a(l,"class","label svelte-hh2qzm"),q(l,"font-size","0.8rem"),q(s,"width","70%"),q(s,"display","flex"),q(s,"align-items","center"),a(e,"class","main svelte-hh2qzm")},m(m,g){L(m,e,g),n(e,l),n(l,t),n(t,h),n(l,z),n(l,i),n(i,c),n(i,u),n(i,o),n(o,p),n(e,r),n(e,s),I(f,s,null),y=!0},p(m,g){(!y||g&128&&v!==(v=m[7]<=68?"#12A195":"#F2590D"))&&a(h,"fill",v),(!y||g&64)&&N(p,m[6]);const b={};g&128&&(b.percentile=m[7]),f.$set(b)},i(m){y||($(f.$$.fragment,m),y=!0)},o(m){M(f.$$.fragment,m),y=!1},d(m){m&&T(e),H(f)}}}function me(d){let e,l;return{c(){e=G("svg"),l=G("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,h){L(t,e,h),n(e,l)},d(t){t&&T(e)}}}function he(d){let e,l;return{c(){e=G("svg"),l=G("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,h){L(t,e,h),n(e,l)},d(t){t&&T(e)}}}function oe(d){let e,l;return{c(){e=G("svg"),l=G("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,h){L(t,e,h),n(e,l)},p:D,d(t){t&&T(e)}}}function ce(d){let e,l,t;return{c(){e=G("svg"),l=G("path"),a(l,"fill",t=d[3]?"#FFAA00":"#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(h,v){L(h,e,v),n(e,l)},p(h,v){v&8&&t!==(t=h[3]?"#FFAA00":"#F2590D")&&a(l,"fill",t)},d(h){h&&T(e)}}}function pe(d){let e,l,t,h,v,z;const i=[re,ae,ne],c=[];function u(o,p){return o[0]==="header"&&o[5]?0:o[0]==="summary"&&o[4]?1:2}return t=u(d),h=c[t]=i[t](d),{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(),h.c(),v=U()},m(o,p){L(o,e,p),L(o,l,p),c[t].m(o,p),L(o,v,p),z=!0},p(o,[p]){let r=t;t=u(o),t===r?c[t].p(o,p):(S(),M(c[r],1,1,()=>{c[r]=null}),B(),h=c[t],h?h.p(o,p):(h=c[t]=i[t](o),h.c()),$(h,1),h.m(v.parentNode,v))},i(o){z||($(h),z=!0)},o(o){M(h),z=!1},d(o){o&&(T(e),T(l),T(v)),c[t].d(o)}}}function de(d,e,l){let{report:t}=e,{type:h}=e,{subtype:v}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],c,u=!1,o=!1,p=!1,r=!1,s="",f=0,y=0,m=0,g=0,b=0,_=0,A=0;function Y(){f>68&&l(8,A++,A),y<32&&l(8,A++,A),m<32&&l(8,A++,A),g<32&&l(8,A++,A),b>68&&l(8,A++,A)}const k=i.find(F=>F.name===v);return te(async()=>{c=await z.getReport(t),k&&(l(7,_=Number(c[k.csvName])),l(6,s=se(_))),f=Number(c.G0percentile),y=Number(c.G1percentile),m=Number(c.G2percentile),g=Number(c.Spercentile),b=Number(c.Bpercentile),Y(),A===5&&l(2,u=!0),A>2&&A<5&&l(3,o=!0),l(5,r=!0),l(4,p=!0)}),d.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,h=F.type),"subtype"in F&&l(1,v=F.subtype),"service"in F&&l(10,z=F.service)},[h,v,u,o,p,r,s,_,A,t,z]}class X extends K{constructor(e){super(),Q(this,e,de,pe,ee,{report:9,type:0,subtype:1,service:10},ie)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),V()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),V()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),V()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-crohn",J(X,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{X as default};
|
package/dist/diabetes.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as Y,S as J,i as Q,f as
|
|
2
|
-
\xA0\xA0`),u=G(p),x(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(n,f){T(n,e,f),s(e,l),s(l,t),s(t,d),s(t,h),s(e,z),m.m(e,null),s(e,i),s(e,u)},p(n,f){f&256&&D(d,n[8]),c!==(c=o(n))&&(m.d(1),m=c(n),m&&(m.c(),m.m(e,i))),f&12&&p!==(p=n[2]?"Major overlap":n[3]?"Some overlap":"No significant overlap")&&D(u,p)},i:V,o:V,d(n){n&&q(e),m.d()}}}function O(v){let e,l,t,d,h,z,i,p,u,o,c,m,n,f,y;return f=new C({props:{type:"right",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),d=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Mature (G0)</b>",u=b(),o=w("div"),c=G(v[6]),m=b(),n=w("div"),N(f.$$.fragment),a(d,"fill",h=v[7]<=68?"#12A195":"#F2590D"),a(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(n,"width","70%"),x(n,"display","flex"),x(n,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(r,g){T(r,e,g),s(e,l),s(l,t),s(t,d),s(l,z),s(l,i),s(i,p),s(i,u),s(i,o),s(o,c),s(e,m),s(e,n),H(f,n,null),y=!0},p(r,g){(!y||g&128&&h!==(h=r[7]<=68?"#12A195":"#F2590D"))&&a(d,"fill",h),(!y||g&64)&&D(c,r[6]);const $={};g&128&&($.percentile=r[7]),f.$set($)},i(r){y||(L(f.$$.fragment,r),y=!0)},o(r){A(f.$$.fragment,r),y=!1},d(r){r&&q(e),I(f)}}}function E(v){let e,l,t,d,h,z,i,p,u,o,c,m,n,f,y;return f=new C({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),d=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Median (G1)</b>",u=b(),o=w("div"),c=G(v[6]),m=b(),n=w("div"),N(f.$$.fragment),a(d,"fill",h=v[7]>=32?"#12A195":"#F2590D"),a(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(n,"width","70%"),x(n,"display","flex"),x(n,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(r,g){T(r,e,g),s(e,l),s(l,t),s(t,d),s(l,z),s(l,i),s(i,p),s(i,u),s(i,o),s(o,c),s(e,m),s(e,n),H(f,n,null),y=!0},p(r,g){(!y||g&128&&h!==(h=r[7]>=32?"#12A195":"#F2590D"))&&a(d,"fill",h),(!y||g&64)&&D(c,r[6]);const $={};g&128&&($.percentile=r[7]),f.$set($)},i(r){y||(L(f.$$.fragment,r),y=!0)},o(r){A(f.$$.fragment,r),y=!1},d(r){r&&q(e),I(f)}}}function U(v){let e,l,t,d,h,z,i,p,u,o,c,m,n,f,y;return f=new C({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),d=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",u=b(),o=w("div"),c=G(v[6]),m=b(),n=w("div"),N(f.$$.fragment),a(d,"fill",h=v[7]>=32?"#12A195":"#F2590D"),a(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(n,"width","70%"),x(n,"display","flex"),x(n,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(r,g){T(r,e,g),s(e,l),s(l,t),s(t,d),s(l,z),s(l,i),s(i,p),s(i,u),s(i,o),s(o,c),s(e,m),s(e,n),H(f,n,null),y=!0},p(r,g){(!y||g&128&&h!==(h=r[7]>=32?"#12A195":"#F2590D"))&&a(d,"fill",h),(!y||g&64)&&D(c,r[6]);const $={};g&128&&($.percentile=r[7]),f.$set($)},i(r){y||(L(f.$$.fragment,r),y=!0)},o(r){A(f.$$.fragment,r),y=!1},d(r){r&&q(e),I(f)}}}function P(v){let e,l,t,d,h,z,i,p,u,o,c,m,n,f,y;return f=new C({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),d=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Shield (S)</b>",u=b(),o=w("div"),c=G(v[6]),m=b(),n=w("div"),N(f.$$.fragment),a(d,"fill",h=v[7]>=32?"#12A195":"#F2590D"),a(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(n,"width","70%"),x(n,"display","flex"),x(n,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(r,g){T(r,e,g),s(e,l),s(l,t),s(t,d),s(l,z),s(l,i),s(i,p),s(i,u),s(i,o),s(o,c),s(e,m),s(e,n),H(f,n,null),y=!0},p(r,g){(!y||g&128&&h!==(h=r[7]>=32?"#12A195":"#F2590D"))&&a(d,"fill",h),(!y||g&64)&&D(c,r[6]);const $={};g&128&&($.percentile=r[7]),f.$set($)},i(r){y||(L(f.$$.fragment,r),y=!0)},o(r){A(f.$$.fragment,r),y=!1},d(r){r&&q(e),I(f)}}}function W(v){let e,l,t,d,h,z,i,p,u,o,c,m,n,f,y;return f=new C({props:{type:"right",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),d=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Lifestyle (B)</b>",u=b(),o=w("div"),c=G(v[6]),m=b(),n=w("div"),N(f.$$.fragment),a(d,"fill",h=v[7]<=68?"#12A195":"#F2590D"),a(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(n,"width","70%"),x(n,"display","flex"),x(n,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(r,g){T(r,e,g),s(e,l),s(l,t),s(t,d),s(l,z),s(l,i),s(i,p),s(i,u),s(i,o),s(o,c),s(e,m),s(e,n),H(f,n,null),y=!0},p(r,g){(!y||g&128&&h!==(h=r[7]<=68?"#12A195":"#F2590D"))&&a(d,"fill",h),(!y||g&64)&&D(c,r[6]);const $={};g&128&&($.percentile=r[7]),f.$set($)},i(r){y||(L(f.$$.fragment,r),y=!0)},o(r){A(f.$$.fragment,r),y=!1},d(r){r&&q(e),I(f)}}}function me(v){let e,l;return{c(){e=M("svg"),l=M("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,d){T(t,e,d),s(e,l)},d(t){t&&q(e)}}}function oe(v){let e,l;return{c(){e=M("svg"),l=M("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,d){T(t,e,d),s(e,l)},d(t){t&&q(e)}}}function de(v){let e,l;return{c(){e=M("svg"),l=M("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,d){T(t,e,d),s(e,l)},d(t){t&&q(e)}}}function pe(v){let e,l;return{c(){e=M("svg"),l=M("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,d){T(t,e,d),s(e,l)},d(t){t&&q(e)}}}function ce(v){let e,l,t,d,h,z;const i=[re,ae,se],p=[];function u(o,c){return o[0]==="header"&&o[5]?0:o[0]==="summary"&&o[4]?1:2}return t=u(v),d=p[t]=i[t](v),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=b(),d.c(),h=j()},m(o,c){T(o,e,c),T(o,l,c),p[t].m(o,c),T(o,h,c),z=!0},p(o,[c]){let m=t;t=u(o),t===m?p[t].p(o,c):(S(),A(p[m],1,1,()=>{p[m]=null}),F(),d=p[t],d?d.p(o,c):(d=p[t]=i[t](o),d.c()),L(d,1),d.m(h.parentNode,h))},i(o){z||(L(d),z=!0)},o(o){A(d),z=!1},d(o){o&&(q(e),q(l),q(h)),p[t].d(o)}}}function ve(v,e,l){let{report:t}=e,{type:d}=e,{subtype:h}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],p,u=!1,o=!1,c=!1,m=!1,n="",f=0,y=0,r=0,g=0,$=0,k=0,Z=0;function X(){f>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),r<32&&l(8,Z++,Z),g<32&&l(8,Z++,Z),$>68&&l(8,Z++,Z)}const _=i.find(B=>B.name===h);return te(async()=>{p=await z.getReport(t),_&&(l(7,k=Number(p[_.csvName])),l(6,n=ie(k))),f=Number(p.G0percentile),y=Number(p.G1percentile),r=Number(p.G2percentile),g=Number(p.Spercentile),$=Number(p.Bpercentile),X(),Z===5&&l(2,u=!0),Z>2&&Z<5&&l(3,o=!0),l(5,m=!0),l(4,c=!0)}),v.$$set=B=>{"report"in B&&l(9,t=B.report),"type"in B&&l(0,d=B.type),"subtype"in B&&l(1,h=B.subtype),"service"in B&&l(10,z=B.service)},[d,h,u,o,c,m,n,k,Z,t,z]}class K extends J{constructor(e){super(),Q(this,e,ve,ce,ee,{report:9,type:0,subtype:1,service:10},ne)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),R()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),R()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),R()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),R()}}customElements.define("ga-diabetes",Y(K,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{K as default};
|
|
1
|
+
import{c as Y,S as J,i as Q,f as V,s as ee,a as le,e as w,b,d as O,g as T,t as M,h as D,j as L,k as q,o as te,l as S,m as G,n as x,p as a,q as n,r as B,u as F,v as A,w as H,x as I,y as C}from"./index2.js";import{g as se,A as R}from"./Arrow.js";function ie(f){le(f,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function ne(f){let e,l,t,m,v,z,i=f[1]==="mature"&&E(f),p=f[1]==="median"&&j(f),u=f[1]==="youth"&&U(f),d=f[1]==="shield"&&P(f),c=f[1]==="lifestyle"&&W(f);return{c(){i&&i.c(),e=b(),p&&p.c(),l=b(),u&&u.c(),t=b(),d&&d.c(),m=b(),c&&c.c(),v=O()},m(r,s){i&&i.m(r,s),T(r,e,s),p&&p.m(r,s),T(r,l,s),u&&u.m(r,s),T(r,t,s),d&&d.m(r,s),T(r,m,s),c&&c.m(r,s),T(r,v,s),z=!0},p(r,s){r[1]==="mature"?i?(i.p(r,s),s&2&&L(i,1)):(i=E(r),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(S(),M(i,1,1,()=>{i=null}),D()),r[1]==="median"?p?(p.p(r,s),s&2&&L(p,1)):(p=j(r),p.c(),L(p,1),p.m(l.parentNode,l)):p&&(S(),M(p,1,1,()=>{p=null}),D()),r[1]==="youth"?u?(u.p(r,s),s&2&&L(u,1)):(u=U(r),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(S(),M(u,1,1,()=>{u=null}),D()),r[1]==="shield"?d?(d.p(r,s),s&2&&L(d,1)):(d=P(r),d.c(),L(d,1),d.m(m.parentNode,m)):d&&(S(),M(d,1,1,()=>{d=null}),D()),r[1]==="lifestyle"?c?(c.p(r,s),s&2&&L(c,1)):(c=W(r),c.c(),L(c,1),c.m(v.parentNode,v)):c&&(S(),M(c,1,1,()=>{c=null}),D())},i(r){z||(L(i),L(p),L(u),L(d),L(c),z=!0)},o(r){M(i),M(p),M(u),M(d),M(c),z=!1},d(r){r&&(q(e),q(l),q(t),q(m),q(v)),i&&i.d(r),p&&p.d(r),u&&u.d(r),d&&d.d(r),c&&c.d(r)}}}function ae(f){let e,l,t,m,v,z,i=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap",p,u,d,c,r,s;function h(g,$){return g[2]||g[3]?me:oe}let y=h(f),o=y(f);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),m=b(),v=w("div"),z=w("b"),p=G(i),u=G(" of glycan indexes between your patient and this condition."),d=b(),c=w("hr"),r=b(),s=w("div"),s.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Fatigue</li> <li class="svelte-1285zfm">Increased thirst and frequent urination</li> <li class="svelte-1285zfm">Slow wound healing, blurred vision, frequent thrush</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR</li> <li class="svelte-1285zfm">BP check</li> <li class="svelte-1285zfm">BMI and/or body composition check</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/28668296/" class="svelte-1285zfm">IgG glycan patterns are associated with type 2 diabetes in independent European populations</a> <p class="svelte-1285zfm">In the DiaGene study, a population-based case-control study with 1,886 cases and 854 controls, 58 IgG glycan traits were analyzed. The findings were then replicated and meta-analyzed in the combined population-based studies of CROATIA-Korcula, CROATIA-Vis, and ORCADES, involving 162 cases and 3,162 controls. Within this research, 46% of cases and 60% of controls were female, with an average participant age of 65. The analysis revealed a decrease in G1, G2, and S glycans, alongside an increase in G0 and B. A predictive model incorporating four specific glycan peaks achieved an AUC of 0.729. When IgG glycans were added to a model containing only age and sex, the AUC improved from 0.542 to 0.734, although incorporating them into a more comprehensive model did not significantly enhance the AUC.</p>',x(t,"transform","translate(-50%)"),x(z,"color",f[2]||f[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(c,"class","svelte-1285zfm"),a(s,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m(g,$){T(g,e,$),n(e,l),n(l,t),o.m(t,null),n(l,m),n(l,v),n(v,z),n(z,p),n(v,u),n(e,d),n(e,c),n(e,r),n(e,s)},p(g,$){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),$&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(p,i),$&12&&x(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:F,o:F,d(g){g&&q(e),o.d()}}}function re(f){let e,l,t,m,v,z,i,p=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap",u;function d(s,h){return s[2]||s[3]?pe:de}let c=d(f),r=c(f);return{c(){e=w("div"),l=w("div"),t=w("b"),m=G(f[8]),v=G("/5"),z=b(),r.c(),i=G(`
|
|
2
|
+
\xA0\xA0`),u=G(p),x(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(s,h){T(s,e,h),n(e,l),n(l,t),n(t,m),n(t,v),n(e,z),r.m(e,null),n(e,i),n(e,u)},p(s,h){h&256&&B(m,s[8]),c===(c=d(s))&&r?r.p(s,h):(r.d(1),r=c(s),r&&(r.c(),r.m(e,i))),h&12&&p!==(p=s[2]?"Some overlap":s[3]?"Minor overlap":"No significant overlap")&&B(u,p)},i:F,o:F,d(s){s&&q(e),r.d()}}}function E(f){let e,l,t,m,v,z,i,p,u,d,c,r,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),m=A("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Mature (G0)</b>",u=b(),d=w("div"),c=G(f[6]),r=b(),s=w("div"),H(h.$$.fragment),a(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),a(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,r),n(e,s),I(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&a(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){M(h.$$.fragment,o),y=!1},d(o){o&&q(e),C(h)}}}function j(f){let e,l,t,m,v,z,i,p,u,d,c,r,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),m=A("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Median (G1)</b>",u=b(),d=w("div"),c=G(f[6]),r=b(),s=w("div"),H(h.$$.fragment),a(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),a(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,r),n(e,s),I(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&a(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){M(h.$$.fragment,o),y=!1},d(o){o&&q(e),C(h)}}}function U(f){let e,l,t,m,v,z,i,p,u,d,c,r,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),m=A("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",u=b(),d=w("div"),c=G(f[6]),r=b(),s=w("div"),H(h.$$.fragment),a(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),a(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,r),n(e,s),I(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&a(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){M(h.$$.fragment,o),y=!1},d(o){o&&q(e),C(h)}}}function P(f){let e,l,t,m,v,z,i,p,u,d,c,r,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),m=A("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Shield (S)</b>",u=b(),d=w("div"),c=G(f[6]),r=b(),s=w("div"),H(h.$$.fragment),a(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),a(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,r),n(e,s),I(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&a(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){M(h.$$.fragment,o),y=!1},d(o){o&&q(e),C(h)}}}function W(f){let e,l,t,m,v,z,i,p,u,d,c,r,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),m=A("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Lifestyle (B)</b>",u=b(),d=w("div"),c=G(f[6]),r=b(),s=w("div"),H(h.$$.fragment),a(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),a(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,r),n(e,s),I(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&a(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){M(h.$$.fragment,o),y=!1},d(o){o&&q(e),C(h)}}}function oe(f){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,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function me(f){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,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function de(f){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,m){T(t,e,m),n(e,l)},p:F,d(t){t&&q(e)}}}function pe(f){let e,l,t;return{c(){e=A("svg"),l=A("path"),a(l,"fill",t=f[3]?"#FFAA00":"#F2590D"),a(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(m,v){T(m,e,v),n(e,l)},p(m,v){v&8&&t!==(t=m[3]?"#FFAA00":"#F2590D")&&a(l,"fill",t)},d(m){m&&q(e)}}}function ce(f){let e,l,t,m,v,z;const i=[re,ae,ne],p=[];function u(d,c){return d[0]==="header"&&d[5]?0:d[0]==="summary"&&d[4]?1:2}return t=u(f),m=p[t]=i[t](f),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=b(),m.c(),v=O()},m(d,c){T(d,e,c),T(d,l,c),p[t].m(d,c),T(d,v,c),z=!0},p(d,[c]){let r=t;t=u(d),t===r?p[t].p(d,c):(S(),M(p[r],1,1,()=>{p[r]=null}),D(),m=p[t],m?m.p(d,c):(m=p[t]=i[t](d),m.c()),L(m,1),m.m(v.parentNode,v))},i(d){z||(L(m),z=!0)},o(d){M(m),z=!1},d(d){d&&(q(e),q(l),q(v)),p[t].d(d)}}}function fe(f,e,l){let{report:t}=e,{type:m}=e,{subtype:v}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],p,u=!1,d=!1,c=!1,r=!1,s="",h=0,y=0,o=0,g=0,$=0,k=0,Z=0;function X(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g<32&&l(8,Z++,Z),$>68&&l(8,Z++,Z)}const _=i.find(N=>N.name===v);return te(async()=>{p=await z.getReport(t),_&&(l(7,k=Number(p[_.csvName])),l(6,s=se(k))),h=Number(p.G0percentile),y=Number(p.G1percentile),o=Number(p.G2percentile),g=Number(p.Spercentile),$=Number(p.Bpercentile),X(),Z===5&&l(2,u=!0),Z>2&&Z<5&&l(3,d=!0),l(5,r=!0),l(4,c=!0)}),f.$$set=N=>{"report"in N&&l(9,t=N.report),"type"in N&&l(0,m=N.type),"subtype"in N&&l(1,v=N.subtype),"service"in N&&l(10,z=N.service)},[m,v,u,d,c,r,s,k,Z,t,z]}class K extends J{constructor(e){super(),Q(this,e,fe,ce,ee,{report:9,type:0,subtype:1,service:10},ie)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),V()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),V()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),V()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-diabetes",Y(K,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{K as default};
|
package/dist/dyslipidemia.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as Y,S as J,i as K,f as
|
|
2
|
-
\xA0\xA0`),
|
|
1
|
+
import{c as Y,S as J,i as K,f as S,s as Q,a as W,e as w,b as L,d as j,g as T,t as A,h as D,j as $,k as q,o as ee,l as N,m as F,n as z,p as n,q as a,r as G,u as H,v as M,w as V,x as C,y as P}from"./index2.js";import{g as le,A as R}from"./Arrow.js";function te(c){W(c,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function se(c){let e,l,t,r,v,p=c[1]==="mature"&&k(c),i=c[1]==="median"&&I(c),m=c[1]==="youth"&&E(c),u=c[1]==="lifestyle"&&O(c);return{c(){p&&p.c(),e=L(),i&&i.c(),l=L(),m&&m.c(),t=L(),u&&u.c(),r=j()},m(s,d){p&&p.m(s,d),T(s,e,d),i&&i.m(s,d),T(s,l,d),m&&m.m(s,d),T(s,t,d),u&&u.m(s,d),T(s,r,d),v=!0},p(s,d){s[1]==="mature"?p?(p.p(s,d),d&2&&$(p,1)):(p=k(s),p.c(),$(p,1),p.m(e.parentNode,e)):p&&(N(),A(p,1,1,()=>{p=null}),D()),s[1]==="median"?i?(i.p(s,d),d&2&&$(i,1)):(i=I(s),i.c(),$(i,1),i.m(l.parentNode,l)):i&&(N(),A(i,1,1,()=>{i=null}),D()),s[1]==="youth"?m?(m.p(s,d),d&2&&$(m,1)):(m=E(s),m.c(),$(m,1),m.m(t.parentNode,t)):m&&(N(),A(m,1,1,()=>{m=null}),D()),s[1]==="lifestyle"?u?(u.p(s,d),d&2&&$(u,1)):(u=O(s),u.c(),$(u,1),u.m(r.parentNode,r)):u&&(N(),A(u,1,1,()=>{u=null}),D())},i(s){v||($(p),$(i),$(m),$(u),v=!0)},o(s){A(p),A(i),A(m),A(u),v=!1},d(s){s&&(q(e),q(l),q(t),q(r)),p&&p.d(s),i&&i.d(s),m&&m.d(s),u&&u.d(s)}}}function ie(c){let e,l,t,r,v,p,i=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",m,u,s,d,x,f;function h(g,b){return g[2]||g[3]?re:ae}let y=h(c),o=y(c);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),r=L(),v=w("div"),p=w("b"),m=F(i),u=F(" of glycan indexes between your patient and this condition."),s=L(),d=w("hr"),x=L(),f=w("div"),f.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB)</li> <li class="svelte-1285zfm">Other blood tests: hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-018-1616-2" class="svelte-1285zfm">The changes of immunoglobulin G\xA0N-glycosylation in blood lipids and dyslipidaemia</a> <p class="svelte-1285zfm">In a study focusing on IgG glycome changes related to dyslipidemia, 598 participants (67% female participants) were selected from a larger observational cross-sectional study conducted in 2012, which initially involved 913 participants of Chinese Han ancestry from Beijing. The glycomic analysis revealed a decrease in G2 and S, coupled with an increase in G0 and B. A predictive model incorporating six specific glycan structures was developed from these findings, resulting in an AUC of 0.692.</p>',z(t,"transform","translate(-50%)"),z(p,"color",c[2]||c[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(d,"class","svelte-1285zfm"),n(f,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(g,b){T(g,e,b),a(e,l),a(l,t),o.m(t,null),a(l,r),a(l,v),a(v,p),a(p,m),a(v,u),a(e,s),a(e,d),a(e,x),a(e,f)},p(g,b){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&G(m,i),b&12&&z(p,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:H,o:H,d(g){g&&q(e),o.d()}}}function ne(c){let e,l,t,r,v,p,i,m=c[2]?"Some overlap":c[3]?"Minor overlap":"No significant overlap",u;function s(f,h){return f[2]||f[3]?oe:me}let d=s(c),x=d(c);return{c(){e=w("div"),l=w("div"),t=w("b"),r=F(c[8]),v=F("/4"),p=L(),x.c(),i=F(`
|
|
2
|
+
\xA0\xA0`),u=F(m),z(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(f,h){T(f,e,h),a(e,l),a(l,t),a(t,r),a(t,v),a(e,p),x.m(e,null),a(e,i),a(e,u)},p(f,h){h&256&&G(r,f[8]),d===(d=s(f))&&x?x.p(f,h):(x.d(1),x=d(f),x&&(x.c(),x.m(e,i))),h&12&&m!==(m=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap")&&G(u,m)},i:H,o:H,d(f){f&&q(e),x.d()}}}function k(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function I(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Median (G1)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function E(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function O(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function ae(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function re(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function me(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},p:H,d(t){t&&q(e)}}}function oe(c){let e,l,t;return{c(){e=M("svg"),l=M("path"),n(l,"fill",t=c[3]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(r,v){T(r,e,v),a(e,l)},p(r,v){v&8&&t!==(t=r[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(r){r&&q(e)}}}function de(c){let e,l,t,r,v,p;const i=[ne,ie,se],m=[];function u(s,d){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=u(c),r=m[t]=i[t](c),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=L(),r.c(),v=j()},m(s,d){T(s,e,d),T(s,l,d),m[t].m(s,d),T(s,v,d),p=!0},p(s,[d]){let x=t;t=u(s),t===x?m[t].p(s,d):(N(),A(m[x],1,1,()=>{m[x]=null}),D(),r=m[t],r?r.p(s,d):(r=m[t]=i[t](s),r.c()),$(r,1),r.m(v.parentNode,v))},i(s){p||($(r),p=!0)},o(s){A(r),p=!1},d(s){s&&(q(e),q(l),q(v)),m[t].d(s)}}}function ce(c,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"lifestyle",csvName:"Bpercentile"}],m,u=!1,s=!1,d=!1,x=!1,f="",h=0,y=0,o=0,g=0,b=0,Z=0;function X(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g>68&&l(8,Z++,Z)}const _=i.find(B=>B.name===v);return ee(async()=>{m=await p.getReport(t),_&&(l(7,b=Number(m[_.csvName])),l(6,f=le(b))),h=Number(m.G0percentile),y=Number(m.G1percentile),o=Number(m.G2percentile),g=Number(m.Bpercentile),X(),Z===4&&l(2,u=!0),Z===3&&l(3,s=!0),l(5,x=!0),l(4,d=!0)}),c.$$set=B=>{"report"in B&&l(9,t=B.report),"type"in B&&l(0,r=B.type),"subtype"in B&&l(1,v=B.subtype),"service"in B&&l(10,p=B.service)},[r,v,u,s,d,x,f,b,Z,t,p]}class U extends J{constructor(e){super(),K(this,e,ce,de,Q,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),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-dyslipidemia",Y(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as
|
|
2
|
-
\xA0\xA0`),s=
|
|
1
|
+
import{c as N,S as k,i as H,f as A,s as G,a as I,d as P,g as $,t as S,h as R,j as D,k as B,o as C,l as U,e as y,v as b,b as T,m as q,w as V,p as i,n as z,q as n,x as E,r as M,y as K,u as Z}from"./index2.js";import{A as j}from"./Arrow.js";function O(a){I(a,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function X(a){let e,l,t,r,h,o,m,s,f,c,d,p,u,x,w;return x=new j({props:{type:"right",percentile:a[5]}}),{c(){e=y("div"),l=y("div"),t=b("svg"),r=b("path"),o=T(),m=y("div"),s=y("div"),s.innerHTML="Glycan <b>Lifestyle (B)</b>",f=T(),c=y("div"),d=q(a[4]),p=T(),u=y("div"),V(x.$$.fragment),i(r,"fill",h=a[5]<=68?"#12A195":"#F2590D"),i(r,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24"),z(m,"display","flex"),z(m,"flex-direction","column"),z(m,"padding-left","0.3rem"),i(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(u,"width","70%"),z(u,"display","flex"),z(u,"align-items","center"),i(e,"class","main svelte-1285zfm")},m(v,g){$(v,e,g),n(e,l),n(l,t),n(t,r),n(l,o),n(l,m),n(m,s),n(m,f),n(m,c),n(c,d),n(e,p),n(e,u),E(x,u,null),w=!0},p(v,g){(!w||g&32&&h!==(h=v[5]<=68?"#12A195":"#F2590D"))&&i(r,"fill",h),(!w||g&16)&&M(d,v[4]);const L={};g&32&&(L.percentile=v[5]),x.$set(L)},i(v){w||(D(x.$$.fragment,v),w=!0)},o(v){S(x.$$.fragment,v),w=!1},d(v){v&&B(e),K(x)}}}function J(a){let e,l,t,r,h,o,m=a[5]>68?"Some overlap":"No significant overlap",s,f,c,d,p,u;function x(g,L){return g[1]?Y:W}let w=x(a),v=w(a);return{c(){e=y("div"),l=y("div"),t=y("div"),v.c(),r=T(),h=y("div"),o=y("b"),s=q(m),f=q(" of glycan indexes between your patient and this condition."),c=T(),d=y("hr"),p=T(),u=y("div"),u.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring</li> <li class="svelte-1285zfm">BMI and/or body composition check</li> <li class="svelte-1285zfm">Basic bloods (lipid profile, renal and liver function)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/34285147/" class="svelte-1285zfm">N-glycosylation of immunoglobulin G predicts incident hypertension</a> <p class="svelte-1285zfm">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>',z(t,"transform","translate(-50%)"),z(o,"color",a[1]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1285zfm"),i(d,"class","svelte-1285zfm"),i(u,"class","summaryBody svelte-1285zfm"),i(e,"class","summaryMain svelte-1285zfm")},m(g,L){$(g,e,L),n(e,l),n(l,t),v.m(t,null),n(l,r),n(l,h),n(h,o),n(o,s),n(h,f),n(e,c),n(e,d),n(e,p),n(e,u)},p(g,L){w!==(w=x(g))&&(v.d(1),v=w(g),v&&(v.c(),v.m(t,null))),L&32&&m!==(m=g[5]>68?"Some overlap":"No significant overlap")&&M(s,m),L&2&&z(o,"color",g[1]?"#F2590D":"#12A195")},i:Z,o:Z,d(g){g&&B(e),v.d()}}}function Q(a){let e,l,t,r,h,o,m=a[1]?"Some overlap":"No significant overlap",s;function f(p,u){return p[1]?ee:_}let c=f(a),d=c(a);return{c(){e=y("div"),l=y("div"),t=y("b"),r=q(a[3]),h=T(),d.c(),o=q(`
|
|
2
|
+
\xA0\xA0`),s=q(m),z(l,"padding-right","10px"),i(e,"class","header svelte-1285zfm")},m(p,u){$(p,e,u),n(e,l),n(l,t),n(t,r),n(e,h),d.m(e,null),n(e,o),n(e,s)},p(p,u){u&8&&M(r,p[3]),c!==(c=f(p))&&(d.d(1),d=c(p),d&&(d.c(),d.m(e,o))),u&2&&m!==(m=p[1]?"Some overlap":"No significant overlap")&&M(s,m)},i:Z,o:Z,d(p){p&&B(e),d.d()}}}function W(a){let e,l;return{c(){e=b("svg"),l=b("path"),i(l,"fill","#12A195"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){$(t,e,r),n(e,l)},d(t){t&&B(e)}}}function Y(a){let e,l;return{c(){e=b("svg"),l=b("path"),i(l,"fill","#F2590D"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,r){$(t,e,r),n(e,l)},d(t){t&&B(e)}}}function _(a){let e,l;return{c(){e=b("svg"),l=b("path"),i(l,"fill","#12A195"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){$(t,e,r),n(e,l)},d(t){t&&B(e)}}}function ee(a){let e,l;return{c(){e=b("svg"),l=b("path"),i(l,"fill","#F2590D"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,r){$(t,e,r),n(e,l)},d(t){t&&B(e)}}}function le(a){let e,l,t,r;const h=[Q,J,X],o=[];function m(s,f){return s[0]==="header"?0:s[0]==="summary"&&s[2]?1:2}return e=m(a),l=o[e]=h[e](a),{c(){l.c(),t=P()},m(s,f){o[e].m(s,f),$(s,t,f),r=!0},p(s,[f]){let c=e;e=m(s),e===c?o[e].p(s,f):(U(),S(o[c],1,1,()=>{o[c]=null}),R(),l=o[e],l?l.p(s,f):(l=o[e]=h[e](s),l.c()),D(l,1),l.m(t.parentNode,t))},i(s){r||(D(l),r=!0)},o(s){S(l),r=!1},d(s){s&&B(t),o[e].d(s)}}}function te(a,e,l){let{report:t}=e,{type:r}=e,{service:h=window.GaReportService}=e,o,m=!1,s=!1,f="",c="",d=0;return C(async()=>{if(o=await h.getReport(t),l(5,d=Number(o.Bpercentile)),d<32){l(3,f="0/1"),l(4,c="Lower than average"),l(2,s=!0);return}if(d>=32&&d<=68){l(3,f="0/1"),l(4,c="Around average"),l(2,s=!0);return}if(d>68){l(3,f="1/1"),l(4,c="Higher than average"),l(1,m=!0),l(2,s=!0);return}}),a.$$set=p=>{"report"in p&&l(6,t=p.report),"type"in p&&l(0,r=p.type),"service"in p&&l(7,h=p.service)},[r,m,s,f,c,d,t,h]}class F extends k{constructor(e){super(),H(this,e,te,le,G,{report:6,type:0,service:7},O)}get report(){return this.$$.ctx[6]}set report(e){this.$$set({report:e}),A()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),A()}get service(){return this.$$.ctx[7]}set service(e){this.$$set({service:e}),A()}}customElements.define("ga-hypertension-risk",N(F,{report:{},type:{},service:{}},[],[],!0));export{F as default};
|
package/dist/hypertension.wc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as
|
|
2
|
-
\xA0\xA0`),
|
|
1
|
+
import{c as K,S as U,i as X,f as S,s as Y,a as J,e as w,b as $,d as I,g as L,t as A,h as D,j as M,k as T,o as Q,l as G,m as B,n as x,p as n,q as m,r as F,u as N,v as q,w as H,x as C,y as V}from"./index2.js";import{g as W,A as _}from"./Arrow.js";function ee(p){J(p,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function le(p){let e,l,t,a,r=p[1]==="mature"&&j(p),c=p[1]==="median"&&P(p),i=p[1]==="youth"&&R(p);return{c(){r&&r.c(),e=$(),c&&c.c(),l=$(),i&&i.c(),t=I()},m(s,u){r&&r.m(s,u),L(s,e,u),c&&c.m(s,u),L(s,l,u),i&&i.m(s,u),L(s,t,u),a=!0},p(s,u){s[1]==="mature"?r?(r.p(s,u),u&2&&M(r,1)):(r=j(s),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(G(),A(r,1,1,()=>{r=null}),D()),s[1]==="median"?c?(c.p(s,u),u&2&&M(c,1)):(c=P(s),c.c(),M(c,1),c.m(l.parentNode,l)):c&&(G(),A(c,1,1,()=>{c=null}),D()),s[1]==="youth"?i?(i.p(s,u),u&2&&M(i,1)):(i=R(s),i.c(),M(i,1),i.m(t.parentNode,t)):i&&(G(),A(i,1,1,()=>{i=null}),D())},i(s){a||(M(r),M(c),M(i),a=!0)},o(s){A(r),A(c),A(i),a=!1},d(s){s&&(T(e),T(l),T(t)),r&&r.d(s),c&&c.d(s),i&&i.d(s)}}}function te(p){let e,l,t,a,r,c,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",s,u,f,g,y,d;function v(h,b){return h[2]||h[3]?ne:se}let z=v(p),o=z(p);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),a=$(),r=w("div"),c=w("b"),s=B(i),u=B(" of glycan indexes between your patient and this condition."),f=$(),g=w("hr"),y=$(),d=w("div"),d.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li> <li class="svelte-1285zfm">BP consistently >140/90 mmHg</li> <li class="svelte-1285zfm">Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Serial BP measurements and/or 24-hour BP monitoring</li> <li class="svelte-1285zfm">BMI and/or body composition check</li> <li class="svelte-1285zfm">Basic blood tests (lipid profile, renal and liver function)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/27124023/" class="svelte-1285zfm">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p class="svelte-1285zfm">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>',x(t,"transform","translate(-50%)"),x(c,"color",p[2]||p[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(g,"class","svelte-1285zfm"),n(d,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(h,b){L(h,e,b),m(e,l),m(l,t),o.m(t,null),m(l,a),m(l,r),m(r,c),m(c,s),m(r,u),m(e,f),m(e,g),m(e,y),m(e,d)},p(h,b){z!==(z=v(h))&&(o.d(1),o=z(h),o&&(o.c(),o.m(t,null))),b&12&&i!==(i=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&F(s,i),b&12&&x(c,"color",h[2]||h[3]?"#F2590D":"#12A195")},i:N,o:N,d(h){h&&T(e),o.d()}}}function ie(p){let e,l,t,a,r,c,i,s=p[2]?"Some overlap":p[3]?"Minor overlap":"No significant overlap",u;function f(d,v){return d[2]||d[3]?re:ae}let g=f(p),y=g(p);return{c(){e=w("div"),l=w("div"),t=w("b"),a=B(p[8]),r=B("/3"),c=$(),y.c(),i=B(`
|
|
2
|
+
\xA0\xA0`),u=B(s),x(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(d,v){L(d,e,v),m(e,l),m(l,t),m(t,a),m(t,r),m(e,c),y.m(e,null),m(e,i),m(e,u)},p(d,v){v&256&&F(a,d[8]),g===(g=f(d))&&y?y.p(d,v):(y.d(1),y=g(d),y&&(y.c(),y.m(e,i))),v&12&&s!==(s=d[2]?"Some overlap":d[3]?"Minor overlap":"No significant overlap")&&F(u,s)},i:N,o:N,d(d){d&&T(e),y.d()}}}function j(p){let e,l,t,a,r,c,i,s,u,f,g,y,d,v,z;return v=new _({props:{type:"right",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),a=q("path"),c=$(),i=w("div"),s=w("div"),s.innerHTML="Glycan <b>Mature (G0)</b>",u=$(),f=w("div"),g=B(p[6]),y=$(),d=w("div"),H(v.$$.fragment),n(a,"fill",r=p[7]<=68?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,h){L(o,e,h),m(e,l),m(l,t),m(t,a),m(l,c),m(l,i),m(i,s),m(i,u),m(i,f),m(f,g),m(e,y),m(e,d),C(v,d,null),z=!0},p(o,h){(!z||h&128&&r!==(r=o[7]<=68?"#12A195":"#F2590D"))&&n(a,"fill",r),(!z||h&64)&&F(g,o[6]);const b={};h&128&&(b.percentile=o[7]),v.$set(b)},i(o){z||(M(v.$$.fragment,o),z=!0)},o(o){A(v.$$.fragment,o),z=!1},d(o){o&&T(e),V(v)}}}function P(p){let e,l,t,a,r,c,i,s,u,f,g,y,d,v,z;return v=new _({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),a=q("path"),c=$(),i=w("div"),s=w("div"),s.innerHTML="Glycan <b>Median (G1)</b>",u=$(),f=w("div"),g=B(p[6]),y=$(),d=w("div"),H(v.$$.fragment),n(a,"fill",r=p[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,h){L(o,e,h),m(e,l),m(l,t),m(t,a),m(l,c),m(l,i),m(i,s),m(i,u),m(i,f),m(f,g),m(e,y),m(e,d),C(v,d,null),z=!0},p(o,h){(!z||h&128&&r!==(r=o[7]>=32?"#12A195":"#F2590D"))&&n(a,"fill",r),(!z||h&64)&&F(g,o[6]);const b={};h&128&&(b.percentile=o[7]),v.$set(b)},i(o){z||(M(v.$$.fragment,o),z=!0)},o(o){A(v.$$.fragment,o),z=!1},d(o){o&&T(e),V(v)}}}function R(p){let e,l,t,a,r,c,i,s,u,f,g,y,d,v,z;return v=new _({props:{type:"left",percentile:p[7]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),a=q("path"),c=$(),i=w("div"),s=w("div"),s.innerHTML="Glycan <b>Youth (G2)</b>",u=$(),f=w("div"),g=B(p[6]),y=$(),d=w("div"),H(v.$$.fragment),n(a,"fill",r=p[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,h){L(o,e,h),m(e,l),m(l,t),m(t,a),m(l,c),m(l,i),m(i,s),m(i,u),m(i,f),m(f,g),m(e,y),m(e,d),C(v,d,null),z=!0},p(o,h){(!z||h&128&&r!==(r=o[7]>=32?"#12A195":"#F2590D"))&&n(a,"fill",r),(!z||h&64)&&F(g,o[6]);const b={};h&128&&(b.percentile=o[7]),v.$set(b)},i(o){z||(M(v.$$.fragment,o),z=!0)},o(o){A(v.$$.fragment,o),z=!1},d(o){o&&T(e),V(v)}}}function se(p){let e,l;return{c(){e=q("svg"),l=q("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,a){L(t,e,a),m(e,l)},d(t){t&&T(e)}}}function ne(p){let e,l;return{c(){e=q("svg"),l=q("path"),n(l,"fill","#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,a){L(t,e,a),m(e,l)},d(t){t&&T(e)}}}function ae(p){let e,l;return{c(){e=q("svg"),l=q("path"),n(l,"fill","#12A195"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,a){L(t,e,a),m(e,l)},p:N,d(t){t&&T(e)}}}function re(p){let e,l,t;return{c(){e=q("svg"),l=q("path"),n(l,"fill",t=p[3]?"#FFAA00":"#F2590D"),n(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(a,r){L(a,e,r),m(e,l)},p(a,r){r&8&&t!==(t=a[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(a){a&&T(e)}}}function me(p){let e,l,t,a,r,c;const i=[ie,te,le],s=[];function u(f,g){return f[0]==="header"&&f[5]?0:f[0]==="summary"&&f[4]?1:2}return t=u(p),a=s[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=$(),a.c(),r=I()},m(f,g){L(f,e,g),L(f,l,g),s[t].m(f,g),L(f,r,g),c=!0},p(f,[g]){let y=t;t=u(f),t===y?s[t].p(f,g):(G(),A(s[y],1,1,()=>{s[y]=null}),D(),a=s[t],a?a.p(f,g):(a=s[t]=i[t](f),a.c()),M(a,1),a.m(r.parentNode,r))},i(f){c||(M(a),c=!0)},o(f){A(a),c=!1},d(f){f&&(T(e),T(l),T(r)),s[t].d(f)}}}function oe(p,e,l){let{report:t}=e,{type:a}=e,{subtype:r}=e,{service:c=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],s,u=!1,f=!1,g=!1,y=!1,d="",v=0,z=0,o=0,h=0,b=0;function O(){v>68&&l(8,b++,b),z<32&&l(8,b++,b),o<32&&l(8,b++,b)}const k=i.find(Z=>Z.name===r);return Q(async()=>{s=await c.getReport(t),k&&(l(7,h=Number(s[k.csvName])),l(6,d=W(h))),v=Number(s.G0percentile),z=Number(s.G1percentile),o=Number(s.G2percentile),O(),b===3&&l(2,u=!0),b===2&&l(3,f=!0),l(5,y=!0),l(4,g=!0)}),p.$$set=Z=>{"report"in Z&&l(9,t=Z.report),"type"in Z&&l(0,a=Z.type),"subtype"in Z&&l(1,r=Z.subtype),"service"in Z&&l(10,c=Z.service)},[a,r,u,f,g,y,d,h,b,t,c]}class E extends U{constructor(e){super(),X(this,e,oe,me,Y,{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};
|