1import{products as Jt}from"./B_dd1JcY.js";import{y as ke,v as Pe,e as Zt,m as Ke,n as ei,z as he,I as Oe,K as ti,N as ut}from"./CoDuZEfM.js";import{u as ii}from"./BUxte-09.js";const ri=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;function Yi(e){if(!e)return null;const t=String(e).replace(/\D/g,"");return t.length!==10?null:`+1${t}`}function oi(e,t,T){const a=e==null||e==="";return t.type==="required"?a?{isValid:!1,message:t.message}:{isValid:!0}:a?{isValid:!0}:t.type==="email"?ri.test(String(e))?{isValid:!0}:{isValid:!1,message:t.message}:t.type==="phone"?String(e).replace(/\D/g,"").length!==10?{isValid:!1,message:t.message}:{isValid:!0}:t.type==="minLength"&&t.value!==void 0?String(e).length<t.value?{isValid:!1,message:t.message}:{isValid:!0}:t.type==="maxLength"&&t.value!==void 0?String(e).length>t.value?{isValid:!1,message:t.message}:{isValid:!0}:t.type==="pattern"&&t.value?new RegExp(t.value).test(String(e))?{isValid:!0}:{isValid:!1,message:t.message}:t.type==="custom"&&t.validator?(T?t.validator(e,T):t.validator(e))?{isValid:!0}:{isValid:!1,message:t.message}:{isValid:!0}}function si(e,t,T){for(const a of t){const i=oi(e,a,T);if(!i.isValid)return i}return{isValid:!0}}function ni(e,t){return t.forEach((function(T){T&&typeof T!="string"&&!Array.isArray(T)&&Object.keys(T).forEach((function(a){if(a!=="default"&&!(a in e)){var i=Object.getOwnPropertyDescriptor(T,a);Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:function(){return T[a]}})}}))})),Object.freeze(e)}function ft(e,t){return new Promise((function(T,a){let i;return ai(e).then((function(r){try{return i=r,T(new Blob([t.slice(0,2),i,t.slice(2)],{type:"image/jpeg"}))}catch(h){return a(h)}}),a)}))}const ai=e=>new Promise(((t,T)=>{const a=new FileReader;a.addEventListener("load",(({target:{result:i}})=>{const r=new DataView(i);let h=0;if(r.getUint16(h)!==65496)return T("not a valid JPEG");for(h+=2;;){const c=r.getUint16(h);if(c===65498)break;const S=r.getUint16(h+2);if(c===65505&&r.getUint32(h+4)===1165519206){const b=h+10;let s;switch(r.getUint16(b)){case 18761:s=!0;break;case 19789:s=!1;break;default:return T("TIFF header contains invalid endian")}if(r.getUint16(b+2,s)!==42)return T("TIFF header contains invalid version");const n=r.getUint32(b+4,s),o=b+n+2+12*r.getUint16(b+n,s);for(let y=b+n+2;y<o;y+=12)if(r.getUint16(y,s)==274){if(r.getUint16(y+2,s)!==3)return T("Orientation data type is invalid");if(r.getUint32(y+4,s)!==1)return T("Orientation data count is invalid");r.setUint16(y+8,1,s);break}
1return t(i.slice(h,h+2+S))}h+=2+S}return t(new Blob)})),a.readAsArrayBuffer(e)}));var We={},di={get exports(){return We},set exports(e){We=e}};(function(e){var t,T,a={};di.exports=a,a.parse=function(i,r){for(var h=a.bin.readUshort,c=a.bin.readUint,S=0,b={},s=new Uint8Array(i),n=s.length-4;c(s,n)!=101010256;)n--;S=n,S+=4;var o=h(s,S+=4);h(s,S+=2);var y=c(s,S+=2),g=c(s,S+=4);S+=4,S=g;for(var P=0;P<o;P++){c(s,S),S+=4,S+=4,S+=4,c(s,S+=4),y=c(s,S+=4);var k=c(s,S+=4),L=h(s,S+=4),U=h(s,S+2),O=h(s,S+4);S+=6;var M=c(s,S+=8);S+=4,S+=L+U+O,a._readLocal(s,M,b,y,k,r)}return b},a._readLocal=function(i,r,h,c,S,b){var s=a.bin.readUshort,n=a.bin.readUint;n(i,r),s(i,r+=4),s(i,r+=2);var o=s(i,r+=2);n(i,r+=2),n(i,r+=4),r+=4;var y=s(i,r+=8),g=s(i,r+=2);r+=2;var P=a.bin.readUTF8(i,r,y);if(r+=y,r+=g,b)h[P]={size:S,csize:c};else{var k=new Uint8Array(i.buffer,r);if(o==0)h[P]=new Uint8Array(k.buffer.slice(r,r+c));else{if(o!=8)throw"unknown compression method: "+o;var L=new Uint8Array(S);a.inflateRaw(k,L),h[P]=L}}},a.inflateRaw=function(i,r){return a.F.inflate(i,r)},a.inflate=function(i,r){return i[0],i[1],a.inflateRaw(new Uint8Array(i.buffer,i.byteOffset+2,i.length-6),r)},a.deflate=function(i,r){r==null&&(r={level:6});var h=0,c=new Uint8Array(50+Math.floor(1.1*i.length));c[h]=120,c[h+1]=156,h+=2,h=a.F.deflateRaw(i,c,h,r.level);var S=a.adler(i,0,i.length);return c[h+0]=S>>>24&255,c[h+1]=S>>>16&255,c[h+2]=S>>>8&255,c[h+3]=S>>>0&255,new Uint8Array(c.buffer,0,h+4)},a.deflateRaw=function(i,r){r==null&&(r={level:6});var h=new Uint8Array(50+Math.floor(1.1*i.length)),c=a.F.deflateRaw(i,h,c,r.level);return new Uint8Array(h.buffer,0,c)},a.encode=function(i,r){r==null&&(r=!1);var h=0,c=a.bin.writeUint,S=a.bin.writeUshort,b={};for(var s in i){var n=!a._noNeed(s)&&!r,o=i[s],y=a.crc.crc(o,0,o.length);b[s]={cpr:n,usize:o.length,crc:y,file:n?a.deflateRaw(o):o}}for(var s in b)h+=b[s].file.length+30+46+2*a.bin.sizeUTF8(s);h+=22;var g=new Uint8Array(h),P=0,k=[];for(var s in b){var L=b[s];k.push(P),P=a._writeHeader(g,P,s,L,0)}var U=0,O=P;for(var s in b)L=b[s],k.push(P),P=a._writeHeader(g,P,s,L,1,k[U++]);var M=P-O;return c(g,P,101010256),P+=4,S(g,P+=4,U),S(g,P+=2,U),c(g,P+=2,M),c(g,P+=4,O),P+=4,P+=2,g.buffer},a._noNeed=function(i){var r=i.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(r)!=-1},a._writeHeader=function(i,r,h,c,S,b){var s=a.bin.writeUint,n=a.bin.writeUshort,o=c.file;return s(i,r,S==0?67324752:33639248),r+=4,S==1&&(r+=2),n(i,r,20),n(i,r+=2,0),n(i,r+=2,c.cpr?8:0),s(i,r+=2,0),s(i,r+=4,c.crc),s(i,r+=4,o.length),s(i,r+=4,c.usize),n(i,r+=4,a.bin.sizeUTF8(h)),n(i,r+=2,0),r+=2,S==1&&(r+=2,r+=2,s(i,r+=6,b),r+=4),r+=a.bin.writeUTF8(i,r,h),S==0&&(i.set(o,r),r+=o.length),r},a.crc={table:(function(){for(var i=new Uint32Array(256),r=0;r<256;r++){for(var h=r,c=0;c<8;c++)1&h?h=3988292384^h>>>1:h>>>=1;i[r]=h}return i})(),update:function(i,r,h,c){for(var S=0;S<c;S++)i=a.crc.table[255&(i^r[h+S])]^i>>>8;return i},crc:function(i,r,h){return 4294967295^a.crc.update(4294967295,i,r,h)}},a.adler=function(i,r,h){for(var c=1,S=0,b=r,s=r+h;b<s;){for(var n=Math.min(b+5552,s);b<n;)S+=c+=i[b++];c%=65521,S%=65521}return S<<16|c},a.bin={readUshort:function(i,r){return i[r]|i[r+1]<<8},writeUshort:function(i,r,h){i[r]=255&h,i[r+1]=h>>8&255},readUint:function(i,r){return 16777216*i[r+3]+(i[r+2]<<16|i[r+1]<<8|i[r])},writeUint:function(i,r,h){i[r]=255&h,i[r+1]=h>>8&255,i[r+2]=h>>16&255,i[r+3]=h>>24&255},readASCII:function(i,r,h){for(var c="",S=0;S<h;S++)c+=String.fromCharCode(i[r+S]);return c},writeASCII:function(i,r,h){for(var c=0;c<h.length;c++)i[r+c]=h.charCodeAt(c)},pad:function(i){return i.length<2?"0"+i:i},readUTF8:function(i,r,h){for(var c,S="",b=0;b<h;b++)S+="%"+a.bin.pad(i[r+b].toString(16));try{c=decodeURIComponent(S)}catch{return a.bin.readASCII(i,r,h)}return c},writeUTF8:function(i,r,h){for(var c=h.length,S=0,b=0;b<c;b++){var s=h.charCodeAt(b);if((4294967168&s)==0)i[r+S]=s,S++;else if((4294965248&s)==0)i[r+S]=192|s>>6,i[r+S+1]=128|s>>0&63,S+=2;else if((4294901760&s)==0)i[r+S]=224|s>>12,i[r+S+1]=128|s>>6&63,i[r+S+2]=128|s>>0&63,S+=3;else{if((4292870144&s)!=0)throw"e";i[r+S]=240|s>>18,i[r+S+1]=128|s>>12&63,i[r+S+2]=128|s>>6&63,i[r+S+3]=128|s>>0&63,S+=4}}return S},sizeUTF8:function(i){for(var r=i.length,h=0,c=0;c<r;c++){var S=i.charCodeAt(c);if((4294967168&S)==0)h++;else if((4294965248&S)==0)h+=2;else if((4294901760&S)==0)h+=3;else{if((4292870144&S)!=0)throw"e";h+=4}}return h}},a.F={},a.F.deflateRaw=function(i,r,h,c){var S=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][c],b=a.F.U,s=a.F._goodIndex;a.F._hash;var n=a.F._putsE,o=0,y=h<<3,g=0,P=i.length;if(c==0){for(;o<P;)n(r,y,o+(v=Math.min(65535,P-o))==P?1:0),y=a.F._copyExact(i,o,v,r,y+8),o+=v;return y>>>3}var k=b.lits,L=b.strt,U=b.prev,O=0,M=0,Q=0,m=0,A=0,u=0;for(P>2&&(L[u=a.F._hash(i,0)]=0),o=0;o<P;o++){if(A=u,o+1<P-2){u=a.F._hash(i,o+1);var p=o+1&32767;U[p]=L[u],L[u]=p}if(g<=o){(O>14e3||M>26697)&&P-o>100&&(g<o&&(k[O]=o-g,O+=2,g=o),y=a.F._writeBlock(o==P-1||g==P?1:0,k,O,m,i,Q,o-Q,r,y),O=M=m=0,Q=o);var I=0;o<P-2&&(I=a.F._bestMatch(i,o,U,A,Math.min(S[2],P-o),S[3]));var v=I>>>16,C=65535&I;if(I!=0){C=65535&I;var x=s(v=I>>>16,b.of0);b.lhst[257+x]++;var E=s(C,b.df0);b.dhst[E]++,m+=b.exb[x]+b.dxb[E],k[O]=v<<23|o-g,k[O+1]=C<<16|x<<8|E,O+=2,g=o+v}else b.lhst[i[o]]++;M++}}for(Q==o&&i.length!=0||(g<o&&(k[O]=o-g,O+=2,g=o),y=a.F._writeBlock(1,k,O,m,i,Q,o-Q,r,y),O=0,M=0,O=M=m=0,Q=o);(7&y)!=0;)y++;return y>>>3},a.F._bestMatch=function(i,r,h,c,S,b){var s=32767&r,n=h[s],o=s-n+32768&32767;if(n==s||c!=a.F._hash(i,r-o))return 0;for(var y=0,g=0,P=Math.min(32767,r);o<=P&&--b!=0&&n!=s;){if(y==0||i[r+y]==i[r+y-o]){var k=a.F._howLong(i,r,o);if(k>y){if(g=o,(y=k)>=S)break;o+2<k&&(k=o+2);for(var L=0,U=0;U<k-2;U++){var O=r-o+U+32768&32767,M=O-h[O]+32768&32767;M>L&&(L=M,n=O)}}}o+=(s=n)-(n=h[s])+32768&32767}return y<<16|g},a.F._howLong=function(i,r,h){if(i[r]!=i[r-h]||i[r+1]!=i[r+1-h]||i[r+2]!=i[r+2-h])return 0;var c=r,S=Math.min(i.length,r+258);for(r+=3;r<S&&i[r]==i[r-h];)r++;return r-c},a.F._hash=function(i,r){return(i[r]<<8|i[r+1])+(i[r+2]<<4)&65535},a.saved=0,a.F._writeBlock=function(i,r,h,c,S,b,s,n,o){var y,g,P,k,L,U,O,M,Q,m=a.F.U,A=a.F._putsF,u=a.F._putsE;m.lhst[256]++,g=(y=a.F.getTrees())[0],P=y[1],k=y[2],L=y[3],U=y[4],O=y[5],M=y[6],Q=y[7];var p=32+((o+3&7)==0?0:8-(o+3&7))+(s<<3),I=c+a.F.contSize(m.fltree,m.lhst)+a.F.contSize(m.fdtree,m.dhst),v=c+a.F.contSize(m.ltree,m.lhst)+a.F.contSize(m.dtree,m.dhst);v+=14+3*O+a.F.contSize(m.itree,m.ihst)+(2*m.ihst[16]+3*m.ihst[17]+7*m.ihst[18]);for(var C=0;C<286;C++)m.lhst[C]=0;for(C=0;C<30;C++)m.dhst[C]=0;for(C=0;C<19;C++)m.ihst[C]=0;var x=p<I&&p<v?0:I<v?1:2;if(A(n,o,i),A(n,o+1,x),o+=3,x==0){for(;(7&o)!=0;)o++;o=a.F._copyExact(S,b,s,n,o)}else{var E,f;if(x==1&&(E=m.fltree,f=m.fdtree),x==2){a.F.makeCodes(m.ltree,g),a.F.revCodes(m.ltree,g),a.F.makeCodes(m.dtree,P),a.F.revCodes(m.dtree,P),a.F.makeCodes(m.itree,k),a.F.revCodes(m.itree,k),E=m.ltree,f=m.dtree,u(n,o,L-257),u(n,o+=5,U-1),u(n,o+=5,O-4),o+=4;for(var l=0;l<O;l++)u(n,o+3*l,m.itree[1+(m.ordr[l]<<1)]);o+=3*O,o=a.F._codeTiny(M,m.itree,n,o),o=a.F._codeTiny(Q,m.itree,n,o)}for(var d=b,w=0;w<h;w+=2){for(var q=r[w],D=q>>>23,G=d+(8388607&q);d<G;)o=a.F._writeLit(S[d++],E,n,o);if(D!=0){var H=r[w+1],R=H>>16,W=H>>8&255,N=255&H;u(n,o=a.F._writeLit(257+W,E,n,o),D-m.of0[W]),o+=m.exb[W],A(n,o=a.F._writeLit(N,f,n,o),R-m.df0[N]),o+=m.dxb[N],d+=D}}o=a.F._writeLit(256,E,n,o)}return o},a.F._copyExact=function(i,r,h,c,S){var b=S>>>3;return c[b]=h,c[b+1]=h>>>8,c[b+2]=255-c[b],c[b+3]=255-c[b+1],b+=4,c.set(new Uint8Array(i.buffer,r,h),b),S+(h+4<<3)},a.F.getTrees=function(){for(var i=a.F.U,r=a.F._hufTree(i.lhst,i.ltree,15),h=a.F._hufTree(i.dhst,i.dtree,15),c=[],S=a.F._lenCodes(i.ltree,c),b=[],s=a.F._lenCodes(i.dtree,b),n=0;n<c.length;n+=2)i.ihst[c[n]]++;for(n=0;n<b.length;n+=2)i.ihst[b[n]]++;for(var o=a.F._hufTree(i.ihst,i.itree,7),y=19;y>4&&i.itree[1+(i.ordr[y-1]<<1)]==0;)y--;return[r,h,o,S,s,y,c,b]},a.F.getSecond=function(i){for(var r=[],h=0;h<i.length;h+=2)r.push(i[h+1]);return r},a.F.nonZero=function(i){for(var r="",h=0;h<i.length;h+=2)i[h+1]!=0&&(r+=(h>>1)+",");return r},a.F.contSize=function(i,r){for(var h=0,c=0;c<r.length;c++)h+=r[c]*i[1+(c<<1)];return h},a.F._codeTiny=function(i,r,h,c){for(var S=0;S<i.length;S+=2){var b=i[S],s=i[S+1];c=a.F._writeLit(b,r,h,c);var n=b==16?2:b==17?3:7;b>
115&&(a.F._putsE(h,c,s,n),c+=n)}return c},a.F._lenCodes=function(i,r){for(var h=i.length;h!=2&&i[h-1]==0;)h-=2;for(var c=0;c<h;c+=2){var S=i[c+1],b=c+3<h?i[c+3]:-1,s=c+5<h?i[c+5]:-1,n=c==0?-1:i[c-1];if(S==0&&b==S&&s==S){for(var o=c+5;o+2<h&&i[o+2]==S;)o+=2;(y=Math.min(o+1-c>>>1,138))<11?r.push(17,y-3):r.push(18,y-11),c+=2*y-2}else if(S==n&&b==S&&s==S){for(o=c+5;o+2<h&&i[o+2]==S;)o+=2;var y=Math.min(o+1-c>>>1,6);r.push(16,y-3),c+=2*y-2}else r.push(S,0)}return h>>>1},a.F._hufTree=function(i,r,h){var c=[],S=i.length,b=r.length,s=0;for(s=0;s<b;s+=2)r[s]=0,r[s+1]=0;for(s=0;s<S;s++)i[s]!=0&&c.push({lit:s,f:i[s]});var n=c.length,o=c.slice(0);if(n==0)return 0;if(n==1){var y=c[0].lit;return o=y==0?1:0,r[1+(y<<1)]=1,r[1+(o<<1)]=1,1}c.sort((function(M,Q){return M.f-Q.f}));var g=c[0],P=c[1],k=0,L=1,U=2;for(c[0]={lit:-1,f:g.f+P.f,l:g,r:P,d:0};L!=n-1;)g=k!=L&&(U==n||c[k].f<c[U].f)?c[k++]:c[U++],P=k!=L&&(U==n||c[k].f<c[U].f)?c[k++]:c[U++],c[L++]={lit:-1,f:g.f+P.f,l:g,r:P};var O=a.F.setDepth(c[L-1],0);for(O>h&&(a.F.restrictDepth(o,h,O),O=h),s=0;s<n;s++)r[1+(o[s].lit<<1)]=o[s].d;return O},a.F.setDepth=function(i,r){return i.lit!=-1?(i.d=r,r):Math.max(a.F.setDepth(i.l,r+1),a.F.setDepth(i.r,r+1))},a.F.restrictDepth=function(i,r,h){var c=0,S=1<<h-r,b=0;for(i.sort((function(n,o){return o.d==n.d?n.f-o.f:o.d-n.d})),c=0;c<i.length&&i[c].d>r;c++){var s=i[c].d;i[c].d=r,b+=S-(1<<h-s)}for(b>>>=h-r;b>0;)(s=i[c].d)<r?(i[c].d++,b-=1<<r-s-1):c++;for(;c>=0;c--)i[c].d==r&&b<0&&(i[c].d--,b++);b!=0&&console.log("debt left")},a.F._goodIndex=function(i,r){var h=0;return r[16|h]<=i&&(h|=16),r[8|h]<=i&&(h|=8),r[4|h]<=i&&(h|=4),r[2|h]<=i&&(h|=2),r[1|h]<=i&&(h|=1),h},a.F._writeLit=function(i,r,h,c){return a.F._putsF(h,c,r[i<<1]),c+r[1+(i<<1)]},a.F.inflate=function(i,r){var h=Uint8Array;
1if(i[0]==3&&i[1]==0)return r||new h(0);var c=a.F,S=c._bitsF,b=c._bitsE,s=c._decodeTiny,n=c.makeCodes,o=c.codes2map,y=c._get17,g=c.U,P=r==null;P&&(r=new h(i.length>>>2<<3));for(var k,L,U=0,O=0,M=0,Q=0,m=0,A=0,u=0,p=0,I=0;U==0;)if(U=S(i,I,1),O=S(i,I+1,2),I+=3,O!=0){if(P&&(r=a.F._check(r,p+(1<<17))),O==1&&(k=g.flmap,L=g.fdmap,A=511,u=31),O==2){M=b(i,I,5)+257,Q=b(i,I+5,5)+1,m=b(i,I+10,4)+4,I+=14;for(var v=0;v<38;v+=2)g.itree[v]=0,g.itree[v+1]=0;var C=1;for(v=0;v<m;v++){var x=b(i,I+3*v,3);g.itree[1+(g.ordr[v]<<1)]=x,x>C&&(C=x)}I+=3*m,n(g.itree,C),o(g.itree,C,g.imap),k=g.lmap,L=g.dmap,I=s(g.imap,(1<<C)-1,M+Q,i,I,g.ttree);var E=c._copyOut(g.ttree,0,M,g.ltree);A=(1<<E)-1;var f=c._copyOut(g.ttree,M,Q,g.dtree);u=(1<<f)-1,n(g.ltree,E),o(g.ltree,E,k),n(g.dtree,f),o(g.dtree,f,L)}for(;;){var l=k[y(i,I)&A];I+=15&l;var d=l>>>4;if(!(d>>>8))r[p++]=d;else{if(d==256)break;var w=p+d-254;if(d>264){var q=g.ldef[d-257];w=p+(q>>>3)+b(i,I,7&q),I+=7&q}var D=L[y(i,I)&u];I+=15&D;var G=D>>>4,H=g.ddef[G],R=(H>>>4)+S(i,I,15&H);for(I+=15&H,P&&(r=a.F._check(r,p+(1<<17)));p<w;)r[p]=r[p++-R],r[p]=r[p++-R],r[p]=r[p++-R],r[p]=r[p++-R];p=w}}}else{(7&I)!=0&&(I+=8-(7&I));var W=4+(I>>>3),N=i[W-4]|i[W-3]<<8;P&&(r=a.F._check(r,p+N)),r.set(new h(i.buffer,i.byteOffset+W,N),p),I=W+N<<3,p+=N}return r.length==p?r:r.slice(0,p)},a.F._check=function(i,r){var h=i.length;if(r<=h)return i;var c=new Uint8Array(Math.max(h<<1,r));return c.set(i,0),c},a.F._decodeTiny=function(i,r,h,c,S,b){for(var s=a.F._bitsE,n=a.F._get17,o=0;o<h;){var y=i[n(c,S)&r];S+=15&y;var g=y>>>4;if(g<=15)b[o]=g,o++;else{var P=0,k=0;g==16?(k=3+s(c,S,2),S+=2,P=b[o-1]):g==17?(k=3+s(c,S,3),S+=3):g==18&&(k=11+s(c,S,7),S+=7);for(var L=o+k;o<L;)b[o]=P,o++}}return S},a.F._copyOut=function(i,r,h,c){for(var S=0,b=0,s=c.length>>>1;b<h;){var n=i[b+r];c[b<<1]=0,c[1+(b<<1)]=n,n>S&&(S=n),b++}for(;b<s;)c[b<<1]=0,c[1+(b<<1)]=0,b++;return S},a.F.makeCodes=function(i,r){for(var h,c,S,b,s=a.F.U,n=i.length,o=s.bl_count,y=0;y<=r;y++)o[y]=0;for(y=1;y<n;y+=2)o[i[y]]++;var g=s.next_code;for(h=0,o[0]=0,c=1;c<=r;c++)h=h+o[c-1]<<1,g[c]=h;for(S=0;S<n;S+=2)(b=i[S+1])!=0&&(i[S]=g[b],g[b]++)},a.F.codes2map=function(i,r,h){for(var c=i.length,S=a.F.U.rev15,b=0;b<c;b+=2)if(i[b+1]!=0)for(var s=b>>1,n=i[b+1],o=s<<4|n,y=r-n,g=i[b]<<y,P=g+(1<<y);g!=P;)h[S[g]>>>15-r]=o,g++},a.F.revCodes=function(i,r){for(var h=a.F.U.rev15,c=15-r,S=0;S<i.length;S+=2){var b=i[S]<<r-i[S+1];i[S]=h[b]>>>c}},a.F._putsE=function(i,r,h){h<<=7&r;var c=r>>>3;i[c]|=h,i[c+1]|=h>>>8},a.F._putsF=function(i,r,h){h<<=7&r;var c=r>>>3;i[c]|=h,i[c+1]|=h>>>8,i[c+2]|=h>>>16},a.F._bitsE=function(i,r,h){return(i[r>>>3]|i[1+(r>>>3)]<<8)>>>(7&r)&(1<<h)-1},a.F._bitsF=function(i,r,h){return(i[r>>>3]|i[1+(r>>>3)]<<8|i[2+(r>>>3)]<<16)>>>(7&r)&(1<<h)-1},a.F._get17=function(i,r){return(i[r>>>3]|i[1+(r>>>3)]<<8|i[2+(r>>>3)]<<16)>>>(7&r)},a.F._get25=function(i,r){return(i[r>>>3]|i[1+(r>>>3)]<<8|i[2+(r>>>3)]<<16|i[3+(r>>>3)]<<24)>>>(7&r)},a.F.U=(t=Uint16Array,T=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new T(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new T(286),dhst:new T(30),ihst:new T(19),lits:new T(15e3),strt:new t(65536),prev:new t(32768)}),(function(){for(var i=a.F.U,r=0;r<32768;r++){var h=r;h=(4278255360&(h=(4042322160&(h=(3435973836&(h=(2863311530&h)>>>1|(1431655765&h)<<1))>>>2|(858993459&h)<<2))>>>4|(252645135&h)<<4))>>>8|(16711935&h)<<8,i.rev15[r]=(h>>>16|h<<16)>>>17}function c(S,b,s){for(;b--!=0;)S.push(0,s)}for(r=0;r<32;r++)i.ldef[r]=i.of0[r]<<3|i.exb[r],i.ddef[r]=i.df0[r]<<4|i.dxb[r];c(i.fltree,144,8),c(i.fltree,112,9),c(i.fltree,24,7),c(i.fltree,8,8),a.F.makeCodes(i.fltree,9),a.F.codes2map(i.fltree,9,i.flmap),a.F.revCodes(i.fltree,9),c(i.fdtree,32,5),a.F.makeCodes(i.fdtree,5),a.F.codes2map(i.fdtree,5,i.fdmap),a.F.revCodes(i.fdtree,5),c(i.itree,19,0),c(i.ltree,286,0),c(i.dtree,30,0),c(i.ttree,320,0)})()})();var li=ni({__proto__:null,default:We},[We]);const me=(function(){var e={nextZero(s,n){for(;s[n]!=0;)n++;return n},readUshort:(s,n)=>s[n]<<8|s[n+1],writeUshort(s,n,o){s[n]=o>>8&255,s[n+1]=255&o},readUint:(s,n)=>16777216*s[n]+(s[n+1]<<16|s[n+2]<<8|s[n+3]),writeUint(s,n,o){s[n]=o>>24&255,s[n+1]=o>>16&255,s[n+2]=o>>8&255,s[n+3]=255&o},readASCII(s,n,o){let y="";for(let g=0;g<o;g++)y+=String.fromCharCode(s[n+g]);return y},writeASCII(s,n,o){for(let y=0;y<o.length;
1y++)s[n+y]=o.charCodeAt(y)},readBytes(s,n,o){const y=[];for(let g=0;g<o;g++)y.push(s[n+g]);return y},pad:s=>s.length<2?`0${s}`:s,readUTF8(s,n,o){let y,g="";for(let P=0;P<o;P++)g+=`%${e.pad(s[n+P].toString(16))}`;try{y=decodeURIComponent(g)}catch{return e.readASCII(s,n,o)}return y}};function t(s,n,o,y){const g=n*o,P=r(y),k=Math.ceil(n*P/8),L=new Uint8Array(4*g),U=new Uint32Array(L.buffer),{ctype:O}=y,{depth:M}=y,Q=e.readUshort;if(O==6){const q=g<<2;if(M==8)for(var m=0;m<q;m+=4)L[m]=s[m],L[m+1]=s[m+1],L[m+2]=s[m+2],L[m+3]=s[m+3];if(M==16)for(m=0;m<q;m++)L[m]=s[m<<1]}else if(O==2){const q=y.tabs.tRNS;if(q==null){if(M==8)for(m=0;m<g;m++){var A=3*m;U[m]=255<<24|s[A+2]<<16|s[A+1]<<8|s[A]}if(M==16)for(m=0;m<g;m++)A=6*m,U[m]=255<<24|s[A+4]<<16|s[A+2]<<8|s[A]}else{var u=q[0];const D=q[1],G=q[2];if(M==8)for(m=0;m<g;m++){var p=m<<2;A=3*m,U[m]=255<<24|s[A+2]<<16|s[A+1]<<8|s[A],s[A]==u&&s[A+1]==D&&s[A+2]==G&&(L[p+3]=0)}if(M==16)for(m=0;m<g;m++)p=m<<2,A=6*m,U[m]=255<<24|s[A+4]<<16|s[A+2]<<8|s[A],Q(s,A)==u&&Q(s,A+2)==D&&Q(s,A+4)==G&&(L[p+3]=0)}}else if(O==3){const q=y.tabs.PLTE,D=y.tabs.tRNS,G=D?D.length:0;if(M==1)for(var I=0;I<o;I++){var v=I*k,C=I*n;for(m=0;m<n;m++){p=C+m<<2;var x=3*(E=s[v+(m>>3)]>>7-((7&m)<<0)&1);L[p]=q[x],L[p+1]=q[x+1],L[p+2]=q[x+2],L[p+3]=E<G?D[E]:255}}if(M==2)for(I=0;I<o;I++)for(v=I*k,C=I*n,m=0;m<n;m++)p=C+m<<2,x=3*(E=s[v+(m>>2)]>>6-((3&m)<<1)&3),L[p]=q[x],L[p+1]=q[x+1],L[p+2]=q[x+2],L[p+3]=E<G?D[E]:255;if(M==4)for(I=0;I<o;I++)for(v=I*k,C=I*n,m=0;m<n;m++)p=C+m<<2,x=3*(E=s[v+(m>>1)]>>4-((1&m)<<2)&15),L[p]=q[x],L[p+1]=q[x+1],L[p+2]=q[x+2],L[p+3]=E<G?D[E]:255;if(M==8)for(m=0;m<g;m++){var E;p=m<<2,x=3*(E=s[m]),L[p]=q[x],L[p+1]=q[x+1],L[p+2]=q[x+2],L[p+3]=E<G?D[E]:255}}else if(O==4){if(M==8)for(m=0;m<g;m++){p=m<<2;var f=s[l=m<<1];L[p]=f,L[p+1]=f,L[p+2]=f,L[p+3]=s[l+1]}if(M==16)for(m=0;m<g;m++){var l;p=m<<2,f=s[l=m<<2],L[p]=f,L[p+1]=f,L[p+2]=f,L[p+3]=s[l+2]}}else if(O==0)for(u=y.tabs.tRNS?y.tabs.tRNS:-1,I=0;I<o;I++){const q=I*k,D=I*n;if(M==1)for(var d=0;d<n;d++){var w=(f=255*(s[q+(d>>>3)]>>>7-(7&d)&1))==255*u?0:255;U[D+d]=w<<24|f<<16|f<<8|f}else if(M==2)for(d=0;d<n;d++)w=(f=85*(s[q+(d>>>2)]>>>6-((3&d)<<1)&3))==85*u?0:255,U[D+d]=w<<24|f<<16|f<<8|f;else if(M==4)for(d=0;d<n;d++)w=(f=17*(s[q+(d>>>1)]>>>4-((1&d)<<2)&15))==17*u?0:255,U[D+d]=w<<24|f<<16|f<<8|f;else if(M==8)for(d=0;d<n;d++)w=(f=s[q+d])==u?0:255,U[D+d]=w<<24|f<<16|f<<8|f;else if(M==16)for(d=0;d<n;d++)f=s[q+(d<<1)],w=Q(s,q+(d<<1))==u?0:255,U[D+d]=w<<24|f<<16|f<<8|f}return L}function T(s,n,o,y){const g=r(s),P=Math.ceil(o*g/8),k=new Uint8Array((P+1+s.interlace)*y);return n=s.tabs.CgBI?i(n,k):a(n,k),s.interlace==0?n=h(n,s,0,o,y):s.interlace==1&&(n=(function(U,O){const M=O.width,Q=O.height,m=r(O),A=m>>3,u=Math.ceil(M*m/8),p=new Uint8Array(Q*u);let I=0;const v=[0,0,4,0,2,0,1],C=[0,4,0,2,0,1,0],x=[8,8,8,4,4,2,2],E=[8,8,4,4,2,2,1];let f=0;for(;f<7;){const d=x[f],w=E[f];let q=0,D=0,G=v[f];for(;G<Q;)G+=d,D++;let H=C[f];for(;H<M;)H+=w,q++;const R=Math.ceil(q*m/8);h(U,O,I,q,D);let W=0,N=v[f];for(;N<Q;){let _=C[f],j=I+W*R<<3;for(;_<M;){var l;if(m==1&&(l=(l=U[j>>3])>>7-(7&j)&1,p[N*u+(_>>3)]|=l<<7-((7&_)<<0)),m==2&&(l=(l=U[j>>3])>>6-(7&j)&3,p[N*u+(_>>2)]|=l<<6-((3&_)<<1)),m==4&&(l=(l=U[j>>3])>>4-(7&j)&15,p[N*u+(_>>1)]|=l<<4-((1&_)<<2)),m>=8){const F=N*u+_*A;for(let B=0;B<A;B++)p[F+B]=U[(j>>3)+B]}j+=m,_+=w}W++,N+=d}q*D!=0&&(I+=D*(1+R)),f+=1}return p})(n,s)),n}function a(s,n){return i(new Uint8Array(s.buffer,2,s.length-6),n)}var i=(function(){const s={H:{}};return s.H.N=function(n,o){const y=Uint8Array;let g,P,k=0,L=0,U=0,O=0,M=0,Q=0,m=0,A=0,u=0;if(n[0]==3&&n[1]==0)return o||new y(0);const p=s.H,I=p.b,v=p.e,C=p.R,x=p.n,E=p.A,f=p.Z,l=p.m,d=o==null;for(d&&(o=new y(n.length>>>2<<5));k==0;)if(k=I(n,u,1),L=I(n,u+1,2),u+=3,L!=0){if(d&&(o=s.H.W(o,A+(1<<17))),L==1&&(g=l.J,P=l.h,Q=511,m=31),L==2){U=v(n,u,5)+257,O=v(n,u+5,5)+1,M=v(n,u+10,4)+4,u+=14;let q=1;for(var w=0;w<38;w+=2)l.Q[w]=0,l.Q[w+1]=0;for(w=0;w<M;w++){const H=v(n,u+3*w,3);l.Q[1+(l.X[w]<<1)]=H,H>q&&(q=H)}u+=3*M,x(l.Q,q),E(l.Q,q,l.u),g=l.w,P=l.d,u=C(l.u,(1<<q)-1,U+O,n,u,l.v);const D=p.V(l.v,0,U,l.C);Q=(1<<D)-1;const G=p.V(l.v,U,O,l.D);m=(1<<G)-1,x(l.C,D),E(l.C,D,g),x(l.D,G),E(l.D,G,P)}for(;;){const q=g[f(n,u)&Q];u+=15&q;const D=q>>>4;if(!(D>>>8))o[A++]=D;else{if(D==256)break;{let G=A+D-254;if(D>264){const _=l.q[D-257];G=A+(_>>>3)+v(n,u,7&_),u+=7&_}const H=P[f(n,u)&m];u+=15&H;const R=H>>>4,W=l.c[R],N=(W>>>4)+I(n,u,15&W);for(u+=15&W;A<G;)o[A]=o[A++-N],o[A]=o[A++-N],o[A]=o[A++-N],o[A]=o[A++-N];A=G}}}}else{(7&u)!=0&&(u+=8-(7&u));const q=4+(u>>>3),D=n[q-4]|n[q-3]<<8;d&&(o=s.H.W(o,A+D)),o.set(new y(n.buffer,n.byteOffset+q,D),A),u=q+D<<3,A+=D}return o.length==A?o:o.slice(0,A)},s.H.W=function(n,o){const y=n.length;if(o<=y)return n;const g=new Uint8Array(y<<1);return g.set(n,0),g},s.H.R=function(n,o,y,g,P,k){const L=s.H.e,U=s.H.Z;let O=0;for(;O<y;){const M=n[U(g,P)&o];P+=15&M;const Q=M>>>4;if(Q<=15)k[O]=Q,O++;else{let m=0,A=0;Q==16?(A=3+L(g,P,2),P+=2,m=k[O-1]):Q==17?(A=3+L(g,P,3),P+=3):Q==18&&(A=11+L(g,P,7),P+=7);const u=O+A;for(;O<u;)k[O]=m,O++}}return P},s.H.V=function(n,o,y,g){let P=0,k=0;const L=g.length>>>1;for(;k<y;){const U=n[k+o];g[k<<1]=0,g[1+(k<<1)]=U,U>P&&(P=U),k++}for(;k<L;)g[k<<1]=0,g[1+(k<<1)]=0,k++;return P},s.H.n=function(n,o){const y=s.H.m,g=n.length;let P,k,L,U;const O=y.j;for(var M=0;M<=o;M++)O[M]=0;for(M=1;M<g;M+=2)O[n[M]]++;const Q=y.K;for(P=0,O[0]=0,k=1;k<=o;k++)P=P+O[k-1]<<1,Q[k]=P;
1for(L=0;L<g;L+=2)U=n[L+1],U!=0&&(n[L]=Q[U],Q[U]++)},s.H.A=function(n,o,y){const g=n.length,P=s.H.m.r;for(let k=0;k<g;k+=2)if(n[k+1]!=0){const L=k>>1,U=n[k+1],O=L<<4|U,M=o-U;let Q=n[k]<<M;const m=Q+(1<<M);for(;Q!=m;)y[P[Q]>>>15-o]=O,Q++}},s.H.l=function(n,o){const y=s.H.m.r,g=15-o;for(let P=0;P<n.length;P+=2){const k=n[P]<<o-n[P+1];n[P]=y[k]>>>g}},s.H.M=function(n,o,y){y<<=7&o;const g=o>>>3;n[g]|=y,n[g+1]|=y>>>8},s.H.I=function(n,o,y){y<<=7&o;const g=o>>>3;n[g]|=y,n[g+1]|=y>>>8,n[g+2]|=y>>>16},s.H.e=function(n,o,y){return(n[o>>>3]|n[1+(o>>>3)]<<8)>>>(7&o)&(1<<y)-1},s.H.b=function(n,o,y){return(n[o>>>3]|n[1+(o>>>3)]<<8|n[2+(o>>>3)]<<16)>>>(7&o)&(1<<y)-1},s.H.Z=function(n,o){return(n[o>>>3]|n[1+(o>>>3)]<<8|n[2+(o>>>3)]<<16)>>>(7&o)},s.H.i=function(n,o){return(n[o>>>3]|n[1+(o>>>3)]<<8|n[2+(o>>>3)]<<16|n[3+(o>>>3)]<<24)>>>(7&o)},s.H.m=(function(){const n=Uint16Array,o=Uint32Array;return{K:new n(16),j:new n(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new n(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new o(32),J:new n(512),_:[],h:new n(32),$:[],w:new n(32768),C:[],v:[],d:new n(32768),D:[],u:new n(512),Q:[],r:new n(32768),s:new o(286),Y:new o(30),a:new o(19),t:new o(15e3),k:new n(65536),g:new n(32768)}})(),(function(){const n=s.H.m;for(var o=0;o<32768;o++){let g=o;g=(2863311530&g)>>>1|(1431655765&g)<<1,g=(3435973836&g)>>>2|(858993459&g)<<2,g=(4042322160&g)>>>4|(252645135&g)<<4,g=(4278255360&g)>>>8|(16711935&g)<<8,n.r[o]=(g>>>16|g<<16)>>>17}function y(g,P,k){for(;P--!=0;)g.push(0,k)}for(o=0;o<32;o++)n.q[o]=n.S[o]<<3|n.T[o],n.c[o]=n.p[o]<<4|n.z[o];y(n._,144,8),y(n._,112,9),y(n._,24,7),y(n._,8,8),s.H.n(n._,9),s.H.A(n._,9,n.J),s.H.l(n._,9),y(n.$,32,5),s.H.n(n.$,5),s.H.A(n.$,5,n.h),s.H.l(n.$,5),y(n.Q,19,0),y(n.C,286,0),y(n.D,30,0),y(n.v,320,0)})(),s.H.N})();function r(s){return[1,null,3,1,2,null,4][s.ctype]*s.depth}function h(s,n,o,y,g){let P=r(n);const k=Math.ceil(y*P/8);let L,U;P=Math.ceil(P/8);let O=s[o],M=0;if(O>1&&(s[o]=[0,0,1][O-2]),O==3)for(M=P;M<k;M++)s[M+1]=s[M+1]+(s[M+1-P]>>>1)&255;for(let Q=0;Q<g;Q++)if(L=o+Q*k,U=L+Q+1,O=s[U-1],M=0,O==0)for(;M<k;M++)s[L+M]=s[U+M];else if(O==1){for(;M<P;M++)s[L+M]=s[U+M];for(;M<k;M++)s[L+M]=s[U+M]+s[L+M-P]}else if(O==2)for(;M<k;M++)s[L+M]=s[U+M]+s[L+M-k];else if(O==3){for(;M<P;M++)s[L+M]=s[U+M]+(s[L+M-k]>>>1);for(;M<k;M++)s[L+M]=s[U+M]+(s[L+M-k]+s[L+M-P]>>>1)}else{for(;M<P;M++)s[L+M]=s[U+M]+c(0,s[L+M-k],0);for(;M<k;M++)s[L+M]=s[U+M]+c(s[L+M-P],s[L+M-k],s[L+M-P-k])}return s}function c(s,n,o){const y=s+n-o,g=y-s,P=y-n,k=y-o;return g*g<=P*P&&g*g<=k*k?s:P*P<=k*k?n:o}function S(s,n,o){o.width=e.readUint(s,n),n+=4,o.height=e.readUint(s,n),n+=4,o.depth=s[n],n++,o.ctype=s[n],n++,o.compress=s[n],n++,o.filter=s[n],n++,o.interlace=s[n],n++}function b(s,n,o,y,g,P,k,L,U){const O=Math.min(n,g),M=Math.min(o,P);let Q=0,m=0;for(let f=0;f<M;f++)for(let l=0;l<O;l++)if(k>=0&&L>=0?(Q=f*n+l<<2,m=(L+f)*g+k+l<<2):(Q=(-L+f)*n-k+l<<2,m=f*g+l<<2),U==0)y[m]=s[Q],y[m+1]=s[Q+1],y[m+2]=s[Q+2],y[m+3]=s[Q+3];else if(U==1){var A=s[Q+3]*.00392156862745098,u=s[Q]*A,p=s[Q+1]*A,I=s[Q+2]*A,v=y[m+3]*(1/255),C=y[m]*v,x=y[m+1]*v,E=y[m+2]*v;const d=1-A,w=A+v*d,q=w==0?0:1/w;y[m+3]=255*w,y[m+0]=(u+C*d)*q,y[m+1]=(p+x*d)*q,y[m+2]=(I+E*d)*q}else if(U==2)A=s[Q+3],u=s[Q],p=s[Q+1],I=s[Q+2],v=y[m+3],C=y[m],x=y[m+1],E=y[m+2],A==v&&u==C&&p==x&&I==E?(y[m]=0,y[m+1]=0,y[m+2]=0,y[m+3]=0):(y[m]=u,y[m+1]=p,y[m+2]=I,y[m+3]=A);else if(U==3){if(A=s[Q+3],u=s[Q],p=s[Q+1],I=s[Q+2],v=y[m+3],C=y[m],x=y[m+1],E=y[m+2],A==v&&u==C&&p==x&&I==E)continue;if(A<220&&v>20)return!1}return!0}return{decode:function(n){const o=new Uint8Array(n);let y=8;const g=e,P=g.readUshort,k=g.readUint,L={tabs:{},frames:[]},U=new Uint8Array(o.length);let O,M=0,Q=0;const m=[137,80,78,71,13,10,26,10];for(var A=0;A<8;A++)if(o[A]!=m[A])throw"The input is not a PNG file!";for(;y<o.length;){const f=g.readUint(o,y);y+=4;const l=g.readASCII(o,y,4);if(y+=4,l=="IHDR")S(o,y,L);else if(l=="iCCP"){for(var u=y;o[u]!=0;)u++;g.readASCII(o,y,u-y),o[u+1];const d=o.slice(u+2,y+f);let w=null;try{w=a(d)}catch{w=i(d)}L.tabs[l]=w}else if(l=="CgBI")L.tabs[l]=o.slice(y,y+4);else if(l=="IDAT"){for(A=0;A<f;A++)U[M+A]=o[y+A];M+=f}else if(l=="acTL")L.tabs[l]={num_frames:k(o,y),num_plays:k(o,y+4)}
1,O=new Uint8Array(o.length);else if(l=="fcTL"){Q!=0&&((E=L.frames[L.frames.length-1]).data=T(L,O.slice(0,Q),E.rect.width,E.rect.height),Q=0);const d={x:k(o,y+12),y:k(o,y+16),width:k(o,y+4),height:k(o,y+8)};let w=P(o,y+22);w=P(o,y+20)/(w==0?100:w);const q={rect:d,delay:Math.round(1e3*w),dispose:o[y+24],blend:o[y+25]};L.frames.push(q)}else if(l=="fdAT"){for(A=0;A<f-4;A++)O[Q+A]=o[y+A+4];Q+=f-4}else if(l=="pHYs")L.tabs[l]=[g.readUint(o,y),g.readUint(o,y+4),o[y+8]];else if(l=="cHRM")for(L.tabs[l]=[],A=0;A<8;A++)L.tabs[l].push(g.readUint(o,y+4*A));else if(l=="tEXt"||l=="zTXt"){L.tabs[l]==null&&(L.tabs[l]={});var p=g.nextZero(o,y),I=g.readASCII(o,y,p-y),v=y+f-p-1;if(l=="tEXt")x=g.readASCII(o,p+1,v);else{var C=a(o.slice(p+2,p+2+v));x=g.readUTF8(C,0,C.length)}L.tabs[l][I]=x}else if(l=="iTXt"){L.tabs[l]==null&&(L.tabs[l]={}),p=0,u=y,p=g.nextZero(o,u),I=g.readASCII(o,u,p-u);const d=o[u=p+1];var x;o[u+1],u+=2,p=g.nextZero(o,u),g.readASCII(o,u,p-u),u=p+1,p=g.nextZero(o,u),g.readUTF8(o,u,p-u),v=f-((u=p+1)-y),d==0?x=g.readUTF8(o,u,v):(C=a(o.slice(u,u+v)),x=g.readUTF8(C,0,C.length)),L.tabs[l][I]=x}else if(l=="PLTE")L.tabs[l]=g.readBytes(o,y,f);else if(l=="hIST"){const d=L.tabs.PLTE.length/3;for(L.tabs[l]=[],A=0;A<d;A++)L.tabs[l].push(P(o,y+2*A))}else if(l=="tRNS")L.ctype==3?L.tabs[l]=g.readBytes(o,y,f):L.ctype==0?L.tabs[l]=P(o,y):L.ctype==2&&(L.tabs[l]=[P(o,y),P(o,y+2),P(o,y+4)]);else if(l=="gAMA")L.tabs[l]=g.readUint(o,y)/1e5;else if(l=="sRGB")L.tabs[l]=o[y];else if(l=="bKGD")L.ctype==0||L.ctype==4?L.tabs[l]=[P(o,y)]:L.ctype==2||L.ctype==6?L.tabs[l]=[P(o,y),P(o,y+2),P(o,y+4)]:L.ctype==3&&(L.tabs[l]=o[y]);else if(l=="IEND")break;y+=f,g.readUint(o,y),y+=4}var E;return Q!=0&&((E=L.frames[L.frames.length-1]).data=T(L,O.slice(0,Q),E.rect.width,E.rect.height)),L.data=T(L,U,L.width,L.height),delete L.compress,delete L.interlace,delete L.filter,L},toRGBA8:function(n){const o=n.width,y=n.height;if(n.tabs.acTL==null)return[t(n.data,o,y,n).buffer];const g=[];n.frames[0].data==null&&(n.frames[0].data=n.data);const P=o*y*4,k=new Uint8Array(P),L=new Uint8Array(P),U=new Uint8Array(P);for(let M=0;M<n.frames.length;M++){const Q=n.frames[M],m=Q.rect.x,A=Q.rect.y,u=Q.rect.width,p=Q.rect.height,I=t(Q.data,u,p,n);if(M!=0)for(var O=0;O<P;O++)U[O]=k[O];if(Q.blend==0?b(I,u,p,k,o,y,m,A,0):Q.blend==1&&b(I,u,p,k,o,y,m,A,1),g.push(k.buffer.slice(0)),Q.dispose!=0){if(Q.dispose==1)b(L,u,p,k,o,y,m,A,0);else if(Q.dispose==2)for(O=0;O<P;O++)k[O]=U[O]}}return g},_paeth:c,_copyTile:b,_bin:e}})();(function(){const{_copyTile:e}=me,{_bin:t}=me,T=me._paeth;var a={table:(function(){const u=new Uint32Array(256);for(let p=0;p<256;p++){let I=p;for(let v=0;v<8;v++)1&I?I=3988292384^I>>>1:I>>>=1;u[p]=I}return u})(),update(u,p,I,v){for(let C=0;C<v;C++)u=a.table[255&(u^p[I+C])]^u>>>8;return u},crc:(u,p,I)=>4294967295^a.update(4294967295,u,p,I)};function i(u,p,I,v){p[I]+=u[0]*v>>4,p[I+1]+=u[1]*v>>4,p[I+2]+=u[2]*v>>4,p[I+3]+=u[3]*v>>4}function r(u){return Math.max(0,Math.min(255,u))}function h(u,p){const I=u[0]-p[0],v=u[1]-p[1],C=u[2]-p[2],x=u[3]-p[3];return I*I+v*v+C*C+x*x}function c(u,p,I,v,C,x,E){E==null&&(E=1);const f=v.length,l=[];for(var d=0;d<f;d++){const N=v[d];l.push([N>>>0&255,N>>>8&255,N>>>16&255,N>>>24&255])}for(d=0;d<f;d++){let N=4294967295;for(var w=0,q=0;q<f;q++){var D=h(l[d],l[q]);q!=d&&D<N&&(N=D,w=q)}}const G=new Uint32Array(C.buffer),H=new Int16Array(p*I*4),R=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(d=0;d<R.length;d++)R[d]=255*((R[d]+.5)/16-.5);for(let N=0;N<I;N++)for(let _=0;_<p;_++){var W;d=4*(N*p+_),E!=2?W=[r(u[d]+H[d]),r(u[d+1]+H[d+1]),r(u[d+2]+H[d+2]),r(u[d+3]+H[d+3])]:(D=R[4*(3&N)+(3&_)],W=[r(u[d]+D),r(u[d+1]+D),r(u[d+2]+D),r(u[d+3]+D)]),w=0;let j=16777215;for(q=0;q<f;q++){const Y=h(W,l[q]);Y<j&&(j=Y,w=q)}const F=l[w],B=[W[0]-F[0],W[1]-F[1],W[2]-F[2],W[3]-F[3]];E==1&&(_!=p-1&&i(B,H,d+4,7),N!=I-1&&(_!=0&&i(B,H,d+4*p-4,3),i(B,H,d+4*p,5),_!=p-1&&i(B,H,d+4*p+4,1))),x[d>>2]=w,G[d>>2]=v[w]}}function S(u,p,I,v,C){C==null&&(C={});const{crc:x}=a,E=t.writeUint,f=t.writeUshort,l=t.writeASCII;let d=8;const w=u.frames.length>1;let q,D=!1,G=33+(w?20:0);if(C.sRGB!=null&&(G+=13),C.pHYs!=null&&(G+=21),C.iCCP!=null&&(q=pako.deflate(C.iCCP),G+=21+q.length+4),u.ctype==3){for(var H=u.plte.length,R=0;R<H;R++)u.plte[R]>>>24!=255&&(D=!0);G+=8+3*H+4+(D?8+1*H+4:0)}for(var W=0;W<u.frames.length;W++)w&&(G+=38),G+=(F=u.frames[W]).cimg.length+12,W!=0&&(G+=4);G+=12;const N=new Uint8Array(G),_=[137,80,78,71,13,10,26,10];for(R=0;R<8;R++)N[R]=_[R];if(E(N,d,13),d+=4,l(N,d,"IHDR"),d+=4,E(N,d,p),d+=4,E(N,d,I),d+=4,N[d]=u.depth,d++,N[d]=u.ctype,d++,N[d]=0,d++,N[d]=0,d++,N[d]=0,d++,E(N,d,x(N,d-17,17)),d+=4,C.sRGB!=null&&(E(N,d,1),d+=4,l(N,d,"sRGB"),d+=4,N[d]=C.sRGB,d++,E(N,d,x(N,d-5,5)),d+=4),C.iCCP!=null){const B=13+q.length;E(N,d,B),d+=4,l(N,d,"iCCP"),d+=4,l(N,d,"ICC profile"),d+=11,d+=2,N.set(q,d),d+=q.length,E(N,d,x(N,d-(B+4),B+4)),d+=4}if(C.pHYs!=null&&(E(N,d,9),d+=4,l(N,d,"pHYs"),d+=4,E(N,d,C.pHYs[0]),d+=4,E(N,d,C.pHYs[1]),d+=4,N[d]=C.pHYs[2],d++,E(N,d,x(N,d-13,13)),d+=4),w&&(E(N,d,8),d+=4,l(N,d,"acTL"),d+=4,E(N,d,u.frames.length),d+=4,E(N,d,C.loop!=null?C.loop:0),d+=4,E(N,d,x(N,d-12,12)),d+=4),u.ctype==3){for(E(N,d,3*(H=u.plte.length)),d+=4,l(N,d,"PLTE"),d+=4,R=0;R<H;R++){const B=3*R,Y=u.plte[R],J=255&Y,te=Y>>>
18&255,Ce=Y>>>16&255;N[d+B+0]=J,N[d+B+1]=te,N[d+B+2]=Ce}if(d+=3*H,E(N,d,x(N,d-3*H-4,3*H+4)),d+=4,D){for(E(N,d,H),d+=4,l(N,d,"tRNS"),d+=4,R=0;R<H;R++)N[d+R]=u.plte[R]>>>24&255;d+=H,E(N,d,x(N,d-H-4,H+4)),d+=4}}let j=0;for(W=0;W<u.frames.length;W++){var F=u.frames[W];w&&(E(N,d,26),d+=4,l(N,d,"fcTL"),d+=4,E(N,d,j++),d+=4,E(N,d,F.rect.width),d+=4,E(N,d,F.rect.height),d+=4,E(N,d,F.rect.x),d+=4,E(N,d,F.rect.y),d+=4,f(N,d,v[W]),d+=2,f(N,d,1e3),d+=2,N[d]=F.dispose,d++,N[d]=F.blend,d++,E(N,d,x(N,d-30,30)),d+=4);const B=F.cimg;E(N,d,(H=B.length)+(W==0?0:4)),d+=4;const Y=d;l(N,d,W==0?"IDAT":"fdAT"),d+=4,W!=0&&(E(N,d,j++),d+=4),N.set(B,d),d+=H,E(N,d,x(N,Y,d-Y)),d+=4}return E(N,d,0),d+=4,l(N,d,"IEND"),d+=4,E(N,d,x(N,d-4,4)),d+=4,N.buffer}function b(u,p,I){for(let v=0;v<u.frames.length;v++){const C=u.frames[v];C.rect.width;const x=C.rect.height,E=new Uint8Array(x*C.bpl+x);C.cimg=y(C.img,x,C.bpp,C.bpl,E,p,I)}}function s(u,p,I,v,C){const x=C[0],E=C[1],f=C[2],l=C[3],d=C[4],w=C[5];let q=6,D=8,G=255;for(var H=0;H<u.length;H++){const re=new Uint8Array(u[H]);for(var R=re.length,W=0;W<R;W+=4)G&=re[W+3]}const N=G!=255,_=(function(K,X,ie,ne,Z,le){const ee=[];for(var z=0;z<K.length;z++){const ae=new Uint8Array(K[z]),ye=new Uint32Array(ae.buffer);var pe;let ue=0,Te=0,fe=X,Le=ie,ze=ne?1:0;if(z!=0){const Kt=le||ne||z==1||ee[z-2].dispose!=0?1:2;let Ve=0,lt=1e9;for(let Ne=0;Ne<Kt;Ne++){var Ee=new Uint8Array(K[z-1-Ne]);const $t=new Uint32Array(K[z-1-Ne]);let ve=X,be=ie,Me=-1,He=-1;for(let Ae=0;Ae<ie;Ae++)for(let xe=0;xe<X;xe++)ye[oe=Ae*X+xe]!=$t[oe]&&(xe<ve&&(ve=xe),xe>Me&&(Me=xe),Ae<be&&(be=Ae),Ae>He&&(He=Ae));Me==-1&&(ve=be=Me=He=0),Z&&((1&ve)==1&&ve--,(1&be)==1&&be--);const pt=(Me-ve+1)*(He-be+1);pt<lt&&(lt=pt,Ve=Ne,ue=ve,Te=be,fe=Me-ve+1,Le=He-be+1)}Ee=new Uint8Array(K[z-1-Ve]),Ve==1&&(ee[z-1].dispose=2),pe=new Uint8Array(fe*Le*4),e(Ee,X,ie,pe,fe,Le,-ue,-Te,0),ze=e(ae,X,ie,pe,fe,Le,-ue,-Te,3)?1:0,ze==1?o(ae,X,ie,pe,{x:ue,y:Te,width:fe,height:Le}):e(ae,X,ie,pe,fe,Le,-ue,-Te,0)}else pe=ae.slice(0);ee.push({rect:{x:ue,y:Te,width:fe,height:Le},img:pe,blend:ze,dispose:0})}if(ne)for(z=0;z<ee.length;z++){if((qe=ee[z]).blend==1)continue;const ae=qe.rect,ye=ee[z-1].rect,ue=Math.min(ae.x,ye.x),Te=Math.min(ae.y,ye.y),fe={x:ue,y:Te,width:Math.max(ae.x+ae.width,ye.x+ye.width)-ue,height:Math.max(ae.y+ae.height,ye.y+ye.height)-Te};ee[z-1].dispose=1,z-1!=0&&n(K,X,ie,ee,z-1,fe,Z),n(K,X,ie,ee,z,fe,Z)}let Ge=0;if(K.length!=1)for(var oe=0;oe<ee.length;oe++){var qe;Ge+=(qe=ee[oe]).rect.width*qe.rect.height}return ee})(u,p,I,x,E,f),j={},F=[],B=[];if(v!=0){const re=[];for(W=0;W<_.length;W++)re.push(_[W].img.buffer);const K=(function(Z){let le=0;for(var ee=0;ee<Z.length;ee++)le+=Z[ee].byteLength;const z=new Uint8Array(le);let pe=0;for(ee=0;ee<Z.length;ee++){const Ee=new Uint8Array(Z[ee]),Ge=Ee.length;for(let oe=0;oe<Ge;oe+=4){let qe=Ee[oe],ae=Ee[oe+1],ye=Ee[oe+2];const ue=Ee[oe+3];ue==0&&(qe=ae=ye=0),z[pe+oe]=qe,z[pe+oe+1]=ae,z[pe+oe+2]=ye,z[pe+oe+3]=ue}pe+=Ge}return z.buffer})(re),X=P(K,v);for(W=0;W<X.plte.length;W++)F.push(X.plte[W].est.rgba);let ie=0;for(W=0;W<_.length;W++){const ne=(J=_[W]).img.length;var Y=new Uint8Array(X.inds.buffer,ie>>2,ne>>2);B.push(Y);const Z=new Uint8Array(X.abuf,ie,ne);w&&c(J.img,J.rect.width,J.rect.height,F,Z,Y),J.img.set(Z),ie+=ne}}else for(H=0;H<_.length;H++){var J=_[H];const re=new Uint32Array(J.img.buffer);var te=J.rect.width;for(R=re.length,Y=new Uint8Array(R),B.push(Y),W=0;W<R;W++){const K=re[W];if(W!=0&&K==re[W-1])Y[W]=Y[W-1];else if(W>te&&K==re[W-te])Y[W]=Y[W-te];else{let X=j[K];if(X==null&&(j[K]=X=F.length,F.push(K),F.length>=300))break;Y[W]=X}}}const Ce=F.length;for(Ce<=256&&d==0&&(D=Ce<=2?1:Ce<=4?2:Ce<=16?4:8,D=Math.max(D,l)),H=0;H<_.length;H++){(J=_[H]).rect.x,J.rect.y,te=J.rect.width;const re=J.rect.height;let K=J.img;new Uint32Array(K.buffer);let X=4*te,ie=4;if(Ce<=256&&d==0){X=Math.ceil(D*te/8);var ge=new Uint8Array(X*re);const ne=B[H];for(let Z=0;Z<re;Z++){W=Z*X;const le=Z*te;if(D==8)for(var $=0;$<te;$++)ge[W+$]=ne[le+$];else if(D==4)for($=0;$<te;$++)ge[W+($>>1)]|=ne[le+$]<<4-4*(1&$);else if(D==2)for($=0;$<te;$++)ge[W+($>>2)]|=ne[le+$]<<6-2*(3&$);else if(D==1)for($=0;$<te;$++)ge[W+($>>
13)]|=ne[le+$]<<7-1*(7&$)}K=ge,q=3,ie=1}else if(N==0&&_.length==1){ge=new Uint8Array(te*re*3);const ne=te*re;for(W=0;W<ne;W++){const Z=3*W,le=4*W;ge[Z]=K[le],ge[Z+1]=K[le+1],ge[Z+2]=K[le+2]}K=ge,q=2,ie=3,X=3*te}J.img=K,J.bpl=X,J.bpp=ie}return{ctype:q,depth:D,plte:F,frames:_}}function n(u,p,I,v,C,x,E){const f=Uint8Array,l=Uint32Array,d=new f(u[C-1]),w=new l(u[C-1]),q=C+1<u.length?new f(u[C+1]):null,D=new f(u[C]),G=new l(D.buffer);let H=p,R=I,W=-1,N=-1;for(let j=0;j<x.height;j++)for(let F=0;F<x.width;F++){const B=x.x+F,Y=x.y+j,J=Y*p+B,te=G[J];te==0||v[C-1].dispose==0&&w[J]==te&&(q==null||q[4*J+3]!=0)||(B<H&&(H=B),B>W&&(W=B),Y<R&&(R=Y),Y>N&&(N=Y))}W==-1&&(H=R=W=N=0),E&&((1&H)==1&&H--,(1&R)==1&&R--),x={x:H,y:R,width:W-H+1,height:N-R+1};const _=v[C];_.rect=x,_.blend=1,_.img=new Uint8Array(x.width*x.height*4),v[C-1].dispose==0?(e(d,p,I,_.img,x.width,x.height,-x.x,-x.y,0),o(D,p,I,_.img,x)):e(D,p,I,_.img,x.width,x.height,-x.x,-x.y,0)}function o(u,p,I,v,C){e(u,p,I,v,C.width,C.height,-C.x,-C.y,2)}function y(u,p,I,v,C,x,E){const f=[];let l,d=[0,1,2,3,4];x!=-1?d=[x]:(p*v>5e5||I==1)&&(d=[0]),E&&(l={level:0});const w=li;for(var q=0;q<d.length;q++){for(let H=0;H<p;H++)g(C,u,H,v,I,d[q]);f.push(w.deflate(C,l))}let D,G=1e9;for(q=0;q<f.length;q++)f[q].length<G&&(D=q,G=f[q].length);return f[D]}function g(u,p,I,v,C,x){const E=I*v;let f=E+I;if(u[f]=x,f++,x==0)if(v<500)for(var l=0;l<v;l++)u[f+l]=p[E+l];else u.set(new Uint8Array(p.buffer,E,v),f);else if(x==1){for(l=0;l<C;l++)u[f+l]=p[E+l];for(l=C;l<v;l++)u[f+l]=p[E+l]-p[E+l-C]+256&255}else if(I==0){for(l=0;l<C;l++)u[f+l]=p[E+l];if(x==2)for(l=C;l<v;l++)u[f+l]=p[E+l];if(x==3)for(l=C;l<v;l++)u[f+l]=p[E+l]-(p[E+l-C]>>1)+256&255;if(x==4)for(l=C;l<v;l++)u[f+l]=p[E+l]-T(p[E+l-C],0,0)+256&255}else{if(x==2)for(l=0;l<v;l++)u[f+l]=p[E+l]+256-p[E+l-v]&255;if(x==3){for(l=0;l<C;l++)u[f+l]=p[E+l]+256-(p[E+l-v]>>1)&255;for(l=C;l<v;l++)u[f+l]=p[E+l]+256-(p[E+l-v]+p[E+l-C]>>1)&255}if(x==4){for(l=0;l<C;l++)u[f+l]=p[E+l]+256-T(0,p[E+l-v],0)&255;for(l=C;l<v;l++)u[f+l]=p[E+l]+256-T(p[E+l-C],p[E+l-v],p[E+l-C-v])&255}}}function P(u,p){const I=new Uint8Array(u),v=I.slice(0),C=new Uint32Array(v.buffer),x=k(v,p),E=x[0],f=x[1],l=I.length,d=new Uint8Array(l>>2);let w;if(I.length<2e7)for(var q=0;q<l;q+=4)w=L(E,D=I[q]*(1/255),G=I[q+1]*(1/255),H=I[q+2]*(1/255),R=I[q+3]*(1/255)),d[q>>2]=w.ind,C[q>>2]=w.est.rgba;else for(q=0;q<l;q+=4){var D=I[q]*.00392156862745098,G=I[q+1]*(1/255),H=I[q+2]*(1/255),R=I[q+3]*(1/255);for(w=E;w.left;)w=U(w.est,D,G,H,R)<=0?w.left:w.right;d[q>>2]=w.ind,C[q>>2]=w.est.rgba}return{abuf:v.buffer,inds:d,plte:f}}function k(u,p,I){I==null&&(I=1e-4);const v=new Uint32Array(u.buffer),C={i0:0,i1:u.length,bst:null,est:null,tdst:0,left:null,right:null};C.bst=Q(u,C.i0,C.i1),C.est=m(C.bst);const x=[C];for(;x.length<p;){let f=0,l=0;for(var E=0;E<x.length;E++)x[E].est.L>f&&(f=x[E].est.L,l=E);if(f<I)break;const d=x[l],w=O(u,v,d.i0,d.i1,d.est.e,d.est.eMq255);if(d.i0>=w||d.i1<=w){d.est.L=0;continue}const q={i0:d.i0,i1:w,bst:null,est:null,tdst:0,left:null,right:null};q.bst=Q(u,q.i0,q.i1),q.est=m(q.bst);const D={i0:w,i1:d.i1,bst:null,est:null,tdst:0,left:null,right:null};for(D.bst={R:[],m:[],N:d.bst.N-q.bst.N},E=0;E<16;
1E++)D.bst.R[E]=d.bst.R[E]-q.bst.R[E];for(E=0;E<4;E++)D.bst.m[E]=d.bst.m[E]-q.bst.m[E];D.est=m(D.bst),d.left=q,d.right=D,x[l]=q,x.push(D)}for(x.sort(((f,l)=>l.bst.N-f.bst.N)),E=0;E<x.length;E++)x[E].ind=E;return[C,x]}function L(u,p,I,v,C){if(u.left==null)return u.tdst=(function(q,D,G,H,R){const W=D-q[0],N=G-q[1],_=H-q[2],j=R-q[3];return W*W+N*N+_*_+j*j})(u.est.q,p,I,v,C),u;const x=U(u.est,p,I,v,C);let E=u.left,f=u.right;x>0&&(E=u.right,f=u.left);const l=L(E,p,I,v,C);if(l.tdst<=x*x)return l;const d=L(f,p,I,v,C);return d.tdst<l.tdst?d:l}function U(u,p,I,v,C){const{e:x}=u;return x[0]*p+x[1]*I+x[2]*v+x[3]*C-u.eMq}function O(u,p,I,v,C,x){for(v-=4;I<v;){for(;M(u,I,C)<=x;)I+=4;for(;M(u,v,C)>x;)v-=4;if(I>=v)break;const E=p[I>>2];p[I>>2]=p[v>>2],p[v>>2]=E,I+=4,v-=4}for(;M(u,I,C)>x;)I-=4;return I+4}function M(u,p,I){return u[p]*I[0]+u[p+1]*I[1]+u[p+2]*I[2]+u[p+3]*I[3]}function Q(u,p,I){const v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C=[0,0,0,0],x=I-p>>2;for(let E=p;E<I;E+=4){const f=u[E]*.00392156862745098,l=u[E+1]*(1/255),d=u[E+2]*(1/255),w=u[E+3]*(1/255);C[0]+=f,C[1]+=l,C[2]+=d,C[3]+=w,v[0]+=f*f,v[1]+=f*l,v[2]+=f*d,v[3]+=f*w,v[5]+=l*l,v[6]+=l*d,v[7]+=l*w,v[10]+=d*d,v[11]+=d*w,v[15]+=w*w}return v[4]=v[1],v[8]=v[2],v[9]=v[6],v[12]=v[3],v[13]=v[7],v[14]=v[11],{R:v,m:C,N:x}}function m(u){const{R:p}=u,{m:I}=u,{N:v}=u,C=I[0],x=I[1],E=I[2],f=I[3],l=v==0?0:1/v,d=[p[0]-C*C*l,p[1]-C*x*l,p[2]-C*E*l,p[3]-C*f*l,p[4]-x*C*l,p[5]-x*x*l,p[6]-x*E*l,p[7]-x*f*l,p[8]-E*C*l,p[9]-E*x*l,p[10]-E*E*l,p[11]-E*f*l,p[12]-f*C*l,p[13]-f*x*l,p[14]-f*E*l,p[15]-f*f*l],w=d,q=A;let D=[Math.random(),Math.random(),Math.random(),Math.random()],G=0,H=0;if(v!=0)for(let W=0;W<16&&(D=q.multVec(w,D),H=Math.sqrt(q.dot(D,D)),D=q.sml(1/H,D),!(W!=0&&Math.abs(H-G)<1e-9));W++)G=H;const R=[C*l,x*l,E*l,f*l];return{Cov:d,q:R,e:D,L:G,eMq255:q.dot(q.sml(255,R),D),eMq:q.dot(D,R),rgba:(Math.round(255*R[3])<<24|Math.round(255*R[2])<<16|Math.round(255*R[1])<<8|Math.round(255*R[0])<<0)>>>0}}var A={multVec:(u,p)=>[u[0]*p[0]+u[1]*p[1]+u[2]*p[2]+u[3]*p[3],u[4]*p[0]+u[5]*p[1]+u[6]*p[2]+u[7]*p[3],u[8]*p[0]+u[9]*p[1]+u[10]*p[2]+u[11]*p[3],u[12]*p[0]+u[13]*p[1]+u[14]*p[2]+u[15]*p[3]],dot:(u,p)=>u[0]*p[0]+u[1]*p[1]+u[2]*p[2]+u[3]*p[3],sml:(u,p)=>[u*p[0],u*p[1],u*p[2],u*p[3]]};me.encode=function(p,I,v,C,x,E,f){C==null&&(C=0),f==null&&(f=!1);const l=s(p,I,v,C,[!1,!1,!1,0,f,!1]);return b(l,-1),S(l,I,v,x,E)},me.encodeLL=function(p,I,v,C,x,E,f,l){const d={ctype:0+(C==1?0:2)+(x==0?0:4),depth:E,frames:[]},w=(C+x)*E,q=w*I;for(let D=0;D<p.length;D++)d.frames.push({rect:{x:0,y:0,width:I,height:v},img:new Uint8Array(p[D]),blend:0,dispose:1,bpp:Math.ceil(w/8),bpl:Math.ceil(q/8)});return b(d,0,!0),S(d,I,v,f,l)},me.encode.compress=s,me.encode.dither=c,me.quantize=P,me.quantize.getKDtree=k,me.quantize.getNearest=L})();const It={toArrayBuffer(e,t){const T=e.width,a=e.height,i=T<<2,r=e.getContext("2d").getImageData(0,0,T,a),h=new Uint32Array(r.data.buffer),c=(32*T+31)/32<<2,S=c*a,b=122+S,s=new ArrayBuffer(b),n=new DataView(s),o=1<<20;let y,g,P,k,L=o,U=0,O=0,M=0;function Q(u){n.setUint16(O,u,!0),O+=2}function m(u){n.setUint32(O,u,!0),O+=4}function A(u){O+=u}Q(19778),m(b),A(4),m(122),m(108),m(T),m(-a>>>0),Q(1),Q(32),m(3),m(S),m(2835),m(2835),A(8),m(16711680),m(65280),m(255),m(4278190080),m(1466527264),(function u(){for(;U<a&&L>0;){for(k=122+U*c,y=0;y<i;)L--,g=h[M++],P=g>>>24,n.setUint32(k+y,g<<8|P),y+=4;U++}M<h.length?(L=o,setTimeout(u,It._dly)):t(s)})()},toBlob(e,t){this.toArrayBuffer(e,(T=>{t(new Blob([T],{type:"image/bmp"}))}))},_dly:9};var de={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},pi={[de.CHROME]:16384,[de.FIREFOX]:11180,[de.DESKTOP_SAFARI]:16384,[de.IE]:8192,[de.IOS]:4096,[de.ETC]:8192};const ot=typeof window<"u",St=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=ot&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),ui=(ot||St)&&(
1Re&&Re.getOriginalSymbol(window,"File")||typeof File<"u"&&File),Tt=(ot||St)&&(Re&&Re.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function st(e,t,T=Date.now()){return new Promise((a=>{const i=e.split(","),r=i[0].match(/:(.*?);/)[1],h=globalThis.atob(i[1]);let c=h.length;const S=new Uint8Array(c);for(;c--;)S[c]=h.charCodeAt(c);const b=new Blob([S],{type:r});b.name=t,b.lastModified=T,a(b)}))}function Et(e){return new Promise(((t,T)=>{const a=new Tt;a.onload=()=>t(a.result),a.onerror=i=>T(i),a.readAsDataURL(e)}))}function vt(e){return new Promise(((t,T)=>{const a=new Image;a.onload=()=>t(a),a.onerror=i=>T(i),a.src=e}))}function we(){if(we.cachedResult!==void 0)return we.cachedResult;let e=de.ETC;const{userAgent:t}=navigator;return/Chrom(e|ium)/i.test(t)?e=de.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)?e=de.IOS:/Safari/i.test(t)?e=de.DESKTOP_SAFARI:/Firefox/i.test(t)?e=de.FIREFOX:(/MSIE/i.test(t)||document.documentMode)&&(e=de.IE),we.cachedResult=e,we.cachedResult}function bt(e,t){const T=we(),a=pi[T];let i=e,r=t,h=i*r;const c=i>r?r/i:i/r;for(;h>a*a;){const S=(a+i)/2,b=(a+r)/2;S<b?(r=b,i=b*c):(r=S*c,i=S),h=i*r}return{width:i,height:r}}function Ye(e,t){let T,a;try{if(T=new OffscreenCanvas(e,t),a=T.getContext("2d"),a===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{T=document.createElement("canvas"),a=T.getContext("2d")}return T.width=e,T.height=t,[T,a]}function Ct(e,t){const{width:T,height:a}=bt(e.width,e.height),[i,r]=Ye(T,a);return t&&/jpe?g/.test(t)&&(r.fillStyle="white",r.fillRect(0,0,i.width,i.height)),r.drawImage(e,0,0,i.width,i.height),i}function Qe(){return Qe.cachedResult!==void 0||(Qe.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),Qe.cachedResult}function _e(e,t={}){return new Promise((function(T,a){let i,r;var h=function(){try{return r=Ct(i,t.fileType||e.type),T([i,r])}catch(S){return a(S)}},c=function(S){try{var b=function(s){try{throw s}catch(n){return a(n)}};try{let s;return Et(e).then((function(n){try{return s=n,vt(s).then((function(o){try{return i=o,(function(){try{return h()}catch(y){return a(y)}})()}catch(y){return b(y)}}),b)}catch(o){return b(o)}}),b)}catch(s){b(s)}}catch(s){return a(s)}};try{if(Qe()||[de.DESKTOP_SAFARI,de.MOBILE_SAFARI].includes(we()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(S){try{return i=S,h()}catch{return c()}}),c)}catch{c()}}))}function Be(e,t,T,a,i=1){return new Promise((function(r,h){let c;if(t==="image/png"){let b,s,n;return b=e.getContext("2d"),{data:s}=b.getImageData(0,0,e.width,e.height),n=me.encode([s.buffer],e.width,e.height,4096*i),c=new Blob([n],{type:t}),c.name=T,c.lastModified=a,S.call(this)}{let b=function(){return S.call(this)};if(t==="image/bmp")return new Promise((s=>It.toBlob(e,s))).then((function(s){try{return c=s,c.name=T,c.lastModified=a,b.call(this)}catch(n){return h(n)}}).bind(this),h);{let s=function(){return b.call(this)};if(typeof OffscreenCanvas=="function"&&e instanceof OffscreenCanvas)return e.convertToBlob({type:t,quality:i}).then((function(n){try{return c=n,c.name=T,c.lastModified=a,s.call(this)}catch(o){return h(o)}}).bind(this),h);{let n;return n=e.toDataURL(t,i),st(n,T,a).then((function(o){try{return c=o,s.call(this)}catch(y){return h(y)}}).bind(this),h)}}}function S(){return r(c)}}))}function Se(e){e.width=0,e.height=0}function De(){return new Promise((function(e,t){let T,a,i,r;return De.cachedResult!==void 0?e(De.cachedResult):st("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(h){try{return T=h,_e(T).then((function(c){try{return a=c[1],Be(a,T.type,T.name,T.lastModified).then((function(S){try{return i=S,Se(a),_e(i).then((function(b){try{return r=b[0],De.cachedResult=r.width===1&&r.height===2,e(De.cachedResult)}catch(s){return t(s)}}),t)}catch(b){return t(b)}}),t)}catch(S){return t(S)}}),t)}catch(c){return t(c)}}),t)}))}function qt(e){return new Promise(((t,T)=>{const a=new Tt;a.onload=i=>{const r=new DataView(i.target.result);if(r.getUint16(0,!1)!=65496)return t(-2);const h=r.byteLength;let c=2;for(;c<h;){if(r.getUint16(c+2,!1)<=8)return t(-1);const S=r.getUint16(c,!1);if(c+=2,S==65505){if(r.getUint32(c+=2,!1)!=1165519206)return t(-1);const b=r.getUint16(c+=6,!1)==18761;c+=r.getUint32(c+4,b);const s=r.getUint16(c,b);c+=2;for(let n=0;n<s;n++)if(r.getUint16(c+12*n,b)==274)return t(r.getUint16(c+12*n+8,b))}else{if((65280&S)!=65280)break;c+=r.getUint16(c,!1)}}return t(-1)},a.onerror=i=>T(i),a.readAsArrayBuffer(e)}))}function Lt(e,t){const{width:T}=e,{height:a}=e,{maxWidthOrHeight:i}=t;let r,h=e;return isFinite(i)&&(T>i||a>i)&&([h,r]=Ye(T,a),T>a?(h.width=i,h.height=a/T*i):(h.width=T/a*i,h.height=i),r.drawImage(e,0,0,h.width,h.height),Se(e)),h}function At(e,t){const{width:T}=e,{height:a}=e,[i,r]=Ye(T,a);switch(t>4&&t<9?(i.width=a,i.height=T):(i.width=T,i.height=a),t){case 2:r.transform(-1,0,0,1,T,0);break;case 3:r.transform(-1,0,0,-1,T,a);break;case 4:r.transform(1,0,0,-1,0,a);break;case 5:r.transform(0,1,1,0,0,0);break;case 6:r.transform(0,1,-1,0,a,0);break;case 7:r.transform(0,-1,-1,0,a,T);break;case 8:r.transform(0,-1,1,0,0,T)}return r.drawImage(e,0,0,T,a),Se(e),i}function ct(e,t,T=0){return new Promise((function(a,i){let r,h,c,S,b,s,n,o,y,g,P,k,L,U,O,M,Q,m,A,u;function p(v=5){if(t.signal&&t.signal.aborted)throw t.signal.reason;r+=v,t.onProgress(Math.min(r,100))}function I(v){if(t.signal&&t.signal.aborted)throw t.signal.reason;r=Math.min(Math.max(v,r),100),t.onProgress(r)}return r=T,h=t.maxIteration||10,c=1024*t.maxSizeMB*1024,p(),_e(e,t).then((function(v){try{return[,S]=v,p(),b=Lt(S,t),p(),new Promise((function(C,x){var E;if(!(E=t.exifOrientation))return qt(e).then((function(l){try{return E=l,f.call(this)}catch(d){return x(d)}}).bind(this),x);function f(){return C(E)}return f.call(this)})).then((function(C){try{return s=C,p(),De().then((function(x){try{return n=x?b:At(b,s),p(),o=t.initialQuality||1,y=t.fileType||e.type,Be(n,y,e.name,e.lastModified,o).then((function(E){try{{let l=function(){if(h--&&(O>c||O>L)){let w,q;return w=u?.95*A.width:A.width,q=u?.95*A.height:A.height,[Q,m]=Ye(w,q),m.drawImage(A,0,0,w,q),o*=y==="image/png"?.85:.95,Be(Q,y,e.name,e.lastModified,o).then((function(D){try{return M=D,Se(A),A=Q,O
1=M.size,I(Math.min(99,Math.floor((U-O)/(U-c)*100))),l}catch(G){return i(G)}}),i)}return[1]},d=function(){return Se(A),Se(Q),Se(b),Se(n),Se(S),I(100),a(M)};if(g=E,p(),P=g.size>c,k=g.size>e.size,!P&&!k)return I(100),a(g);var f;return L=e.size,U=g.size,O=U,A=n,u=!t.alwaysKeepResolution&&P,(f=(function(w){for(;w;){if(w.then)return void w.then(f,i);try{if(w.pop){if(w.length)return w.pop()?d.call(this):w;w=l}else w=w.call(this)}catch(q){return i(q)}}}).bind(this))(l)}}catch(l){return i(l)}}).bind(this),i)}catch(E){return i(E)}}).bind(this),i)}catch(x){return i(x)}}).bind(this),i)}catch(C){return i(C)}}).bind(this),i)}))}const ci=` 2let scriptImported = false 3self.addEventListener('message', async (e) => { 4 const { file, id, imageCompressionLibUrl, options } = e.data 5 options.onProgress = (progress) => self.postMessage({ progress, id }) 6 try { 7 if (!scriptImported) { 8 // console.log('[worker] importScripts', imageCompressionLibUrl) 9 self.importScripts(imageCompressionLibUrl) 10 scriptImported = true 11 } 12 // console.log('[worker] self', self) 13 const compressedFile = await imageCompression(file, options) 14 self.postMessage({ file: compressedFile, id }) 15 } catch (e) { 16 // console.error('[worker] error', e) 17 self.postMessage({ error: e.message + '\\n' + e.stack, id }) 18 } 19}) 20`;let je;function yi(e,t){return new Promise(((T,a)=>{je||(je=(function(h){const c=[];return c.push(h),URL.createObjectURL(new Blob(c))})(ci));const i=new Worker(je);i.addEventListener("message",(function(h){if(t.signal&&t.signal.aborted)i.terminate();else if(h.data.progress===void 0){if(h.data.error)return a(new Error(h.data.error)),void i.terminate();T(h.data.file),i.terminate()}else t.onProgress(h.data.progress)})),i.addEventListener("error",a),t.signal&&t.signal.addEventListener("abort",(()=>{a(t.signal.reason),i.terminate()})),i.postMessage({file:e,imageCompressionLibUrl:t.libURL,options:{...t,onProgress:void 0,signal:void 0}})}))}function se(e,t){return new Promise((function(T,a){let i,r,h,c,S,b;if(i={...t},h=0,{onProgress:c}=i,i.maxSizeMB=i.maxSizeMB||Number.POSITIVE_INFINITY,S=typeof i.useWebWorker!="boolean"||i.useWebWorker,delete i.useWebWorker,i.onProgress=y=>{h=y,typeof c=="function"&&c(h)},!(e instanceof Blob||e instanceof ui))return a(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(e.type))return a(new Error("The file given is not an image"));if(b=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,!S||typeof Worker!="function"||b)return ct(e,i).then((function(y){try{return r=y,o.call(this)}catch(g){return a(g)}}).bind(this),a);var s=(function(){try{return o.call(this)}catch(y){return a(y)}}).bind(this),n=function(y){try{return ct(e,i).then((function(g){try{return r=g,s()}catch(P){return a(P)}}),a)}catch(g){return a(g)}};try{return i.libURL=i.libURL||"https://cdn.jsdelivr.net/npm/[email protected]/dist/browser-image-compression.js",yi(e,i).then((function(y){try{return r=y,s()}catch{return n()}}),n)}catch{n()}function o(){try{r.name=e.name,r.lastModified=e.lastModified}catch{}try{i.preserveExif&&e.type==="image/jpeg"&&(!i.fileType||i.fileType&&i.fileType===e.type)&&(r=ft(e,r))}catch{}return T(r)}}))}se.getDataUrlFromFile=Et,se.getFilefromDataUrl=st,se.loadImage=vt,se.drawImageInCanvas=Ct,se.drawFileInCanvas=_e,se.canvasToFile=Be,se.getExifOrientation=qt,se.handleMaxWidthOrHeight=Lt,se.followExifOrientation=At,se.cleanupCanvasMemory=Se,se.isAutoOrientationInBrowser=De,se.approximateBelowMaximumCanvasSizeOfBrowser=bt,se.copyExifWithoutOrientation=ft,se.getBrowserName=we,se.version="2.0.2";const Xi=async e=>{if(!e.type.startsWith("image/"))return e;try{const T={maxSizeMB:.5,maxWidthOrHeight:1920,useWebWorker:!0,fileType:e.type},a=await se(e,T);return console.log(`Image compressed: ${(e.size/1024/1024).toFixed(2)}MB -> ${(a.size/1024/1024).toFixed(2)}MB`),a}catch(T){return console.warn("Image compression failed, using original file:",T),e}},zi=e=>new Promise((t,T)=>{const a=new FileReader;a.readAsDataURL(e),a.onload=()=>{const r=a.result.split(",")[1];r?t(r):T(new Error("Could not extract base64 string from file."))},a.onerror=i=>T(i)}),hi=.15,mi=.2,yt=52;function gi(e){if(!e||e<=0)return{weeklyLossRange:"0.00 to 0.00",timeToGoal:"12"};const t=e*hi,T=e*mi,a=t/yt,i=T/yt;return{weeklyLossRange:`${a.toFixed(2)} to ${i.toFixed(2)}`,timeToGoal:"12"}}
20function fi(e){const t=e.feet,T=e.inches,a=e.weight;if(!t||!T||!a)return{bmi:"0.00",currentWeight:"0LBS",weeksToGoal:"12.00"};const r=(t*12+T)*.0254;return{bmi:(a*.453592/(r*r)).toFixed(2),currentWeight:`${a}LBS`,weeksToGoal:"12.00"}}const $e=["Acne or hair changes","Trouble sleeping","Irritability, anxiety, depression, or mood swings","Brain fog / memory issues","Fatigue / low energy","Hot flashes / night sweats","Weight gain","Loss of muscle mass or strength","Breast tenderness","Joint or muscle pain","Migraines or headaches"],xt=["Vaginal dryness, itching, or pain (general or during sex)","Urinary incontinence or frequent UTIs"],Pt="Decreased libido",Je=["I had a hysterectomy (uterus removed), but still have my ovaries","I had a full hysterectomy â both my uterus and ovaries were removed"],Ze="Cream",ht="Oral Tablet",wt="estradiol-patch",Ii="I still have regular periods, but I'm having symptoms I think might be hormone-related";function V(e){return e.hormoneJourney===Ii}const Mt="Yes, I'm interested",Si="No, not at this time",Ti=["Birth control pill (progestin-only)","Hormonal IUD (Mirena, Liletta, Kyleena, Skyla)","Nexplanon arm implant","Birth control shot (Depo-Provera)"];function Ei(e){return(Array.isArray(e.birthControlMethods)?e.birthControlMethods:[]).some(T=>Ti.includes(T))}const vi="bi-est-cream-50-50",bi="biest-progesterone-cream",Ci="estradiol-tablets",qi="estradiol-patch",mt="progesterone",Li="estradiol-vaginal-cream",Ai="dhea-plain";function xi(e){return Je.includes(e.hormoneJourney)?!1:e.uterusIntact!=="No"}function Pi(e){if(V(e))return[];const t=Array.isArray(e.menopauseSymptomChecklist)?e.menopauseSymptomChecklist:[],T=t.some(r=>$e.includes(r)),a=t.some(r=>xt.includes(r)),i=[];if(T){const r=e.systemicRouteChoice===Ze,h=xi(e)&&!Ei(e);r&&h?i.push(bi):r?i.push(vi):e.systemicRouteChoice===wt?(i.push(qi),h&&i.push(mt)):(i.push(Ci),h&&i.push(mt))}return a&&i.push(Li),t.includes(Pt)&&e.dheaAddOnInterest===Mt&&i.push(Ai),i}const wi=["End-stage kidney disease (on or about to be on dialysis)","End-stage liver disease (cirrhosis), excluding fatty liver disease","History of suicidal thoughts and/or prior suicidal attempt","Cancer (active diagnosis, active treatment, or in remission/cancer-free for less than 5 continuous years â does not apply to non-melanoma skin cancer considered cured via simple excision)","History of organ transplant on anti-rejection medication (excluding retina transplant)","Gastroparesis or bowel blockage","Active gallbladder disease","Autoimmune conditions","Diabetic retinopathy or optic nerve damage (from trauma, reduced blood flow, or blindness)","History of or current pancreatitis","Personal or family history of Medullary Thyroid Carcinoma (MTC) or Multiple Endocrine Neoplasia Syndrome Type 2 (MEN-2)","Pregnancy or breastfeeding"],et="None of the above";function tt(e){return Array.isArray(e.longevityDisqualifyingConditions)&&e.longevityDisqualifyingConditions.some(t=>t!==et)}const Mi=[{id:"weightLossGoals",title:"What are your weight loss goals?",questions:[{id:"weightLossGoals",type:"SINGLESELECT",displayQuestion:"Let's understand your weight loss objectives",question:"Weight Loss Goals",options:["Lose 1-20lbs for good","Lose 21-50lbs for good","Lose over 50 for good","Maintain my healthy weight","None of the above"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"triedInPast",title:"What weight loss initiatives have you tried in the past?",questions:[{id:"pastInitiatives",type:"MULTISELECT",displayQuestion:"Select all that apply. This helps us understand your history.",question:"Past Initiatives",options:["Exercise","Dieting","Weight-loss Supplements","Intermittent Fasting","None of the Above"],required:!0,apiType:"MULTISELECT",optionImages:["/assets/images/option_icons/triedInPast_option1.svg","/assets/images/option_icons/triedInPast_option2.svg","/assets/images/option_icons/triedInPast_option3.svg","/assets/images/option_icons/triedInPast_option4.svg","/assets/images/option_icons/triedInPast_option5.svg"]}]},{id:"currentGlp1",title:"Are you currently taking any GLP-1 medications?",questions:[{id:"currentGlp1",displayQuestion:"This helps us understand your current treatment status",question:"Currently taking GLP-1 Medications",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"currentGlp1Type",title:"Which GLP-1 medication are you currently taking?",renderCondition:e=>e.currentGlp1==="Yes",questions:[{id:"currentGlp1Type",type:"DROPDOWN",question:"Current GLP-1 Medication",displayQuestion:"Please specify your current medication",options:["Compounded Semaglutide","Compounded Tirzepatide","Mounjaro","Wegovy","Zepbound","Ozempic"],required:!0,apiType:"TEXT"}]},{id:"lastDoseDate",title:"What was the approximate date of your last dose?",renderCondition:e=>e.currentGlp1==="Yes",questions:[{id:"lastDoseMonth",question:"Last Dose Month",displayQuestion:"Month",type:"DROPDOWN",required:!0,options:Array.from({length:12},(e,t)=>t+1),optionLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],apiType:"DATE"},{id:"lastDoseDay",question:"Last Dose Day",displayQuestion:"Day",type:"DROPDOWN",required:!0,options:Array.from({length:31},(e,t)=>t+1),apiType:"DATE"},{id:"lastDoseYear",question:"Last Dose Year",displayQuestion:"Year",type:"DROPDOWN",required:!0,options:Array.from({length:10},(e,t)=>2024-t),apiType:"DATE"}]},{id:"lastDoseStrength",title:"What was the strength of your last dose?",renderCondition:e=>e.currentGlp1==="Yes",questions:[{id:"lastDoseStrength",type:"DROPDOWN",question:"Last Dose Strength",displayQuestion:"Please provide strength in milligrams (mg) if known",options:e=>{const t=e.currentGlp1Type;if(["Compounded Semaglutide","Wegovy","Ozempic"].includes(t)){if(t==="Compounded Semaglutide")return["0.25 mg per week","0.50 mg per week","1.00 mg per week","1.50 mg per week","2.50 mg per week"];
20if(t==="Wegovy")return["0.25 mg","0.5 mg","1.0 mg","1.7 mg","2.4 mg"];if(t==="Ozempic")return["0.25 mg","0.5 mg","1.0 mg","2.0 mg"]}return["Compounded Tirzepatide","Mounjaro","Zepbound"].includes(t)?["2.5 mg","5.0 mg","7.5 mg","10.0 mg","12.5 mg","15.0 mg"]:[]},required:!0,apiType:"TEXT"}]},{id:"prescriptionUpload",title:"Please upload a copy of your current prescription",renderCondition:e=>e.currentGlp1==="Yes",questions:[{id:"prescriptionUpload",question:"Prescription Upload",displayQuestion:"This helps us verify your current medication",type:"FILE_INPUT",required:!0,apiType:"FILE"}]},{id:"pregnancyStatus",title:"Are you currently pregnant, breastfeeding, or planning to become pregnant within the next 2 months?",questions:[{id:"pregnancyStatus",displayQuestion:"This information is crucial for your safety",question:"Pregnancy Status",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"criticalConditions",title:"These conditions may prevent GLP-1 medication prescription",questions:[{id:"criticalConditions",type:"MULTISELECT",displayQuestion:"Please select all that apply",question:"Critical Medical Conditions",options:["Gastroparesis","Pancreatic Cancer","Pancreatitis","Type 1 Diabetes or Diabetes Requiring Insulin","Hypoglycemia","Medullary Thyroid Cancer (MTC) or family history of MTC","Bipolar Disorder","Schizophrenia","Multiple Endocrine Neoplasia syndrome type 2 (MEN-2) or family history of MEN-2","Anorexia or Bulimia","Current Symptomatic Gallstones or Active Gallbladder Disease","Active Substance Abuse Disorder","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"medicalConditions1",title:"Please check all current or past medical conditions",questions:[{id:"medicalConditions1",type:"MULTISELECT",displayQuestion:"This helps us understand your health profile",question:"Medical Conditions 1",options:["Hypertension (high blood pressure)","High cholesterol","Type 2 diabetes","Obstructive sleep apnea","Gout","Metabolic
20syndrome","Heart disease, stroke, or peripheral vascular disease","Heart Failure","Atrial fibrillation or flutter","Tachycardia or fast heart rate","Any ECG abnormality or heart rhythm abnormality","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"medicalConditions2",title:"Please check all current or past medical conditions",questions:[{id:"medicalConditions2",type:"MULTISELECT",displayQuestion:"Please select all that apply",question:"Medical Conditions 2",options:["Gallbladder removed","Fatty Liver (MASLD or MASH)","Cirrhosis or end-stage liver disease","Chronic Kidney Disease Stage 3 or greater","Hypothyroidism","Hyperthyroidism, or Thyroid Issues","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"currentMedications",title:"Are you currently taking any medications?",questions:[{id:"currentMedications",displayQuestion:"Including Prescription, Over-The-Counter (OTC), or Supplements",question:"Currently Taking Medications",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"medicationList",title:"Please list all medications you are currently taking",renderCondition:e=>e.currentMedications==="Yes",questions:[{id:"medicationList",displayQuestion:"Including Prescription, Over-The-Counter (OTC), or Supplements",question:"Medication List",type:"textarea",required:!0,placeholder:"List all medications, dosages, and frequency",apiType:"TEXT"}]},{id:"surgicalHistory",title:"List any surgeries you have had in the past",questions:[{id:"surgicalHistory",displayQuestion:"If you haven't had any surgeries, type N/A ",question:"Surgical History",type:"textarea",required:!0,placeholder:"List surgeries and dates, or type N/A",apiType:"TEXT"}]},{id:"allergies",title:"Please list all of your known allergies",questions:[{id:"allergies",displayQuestion:"Please type N/A if none. This helps us avoid potential reactions",type:"textarea",required:!0,placeholder:"List all known allergies, or type N/A",apiType:"TEXT"}]},{id:"consultationType",title:"Choose your preferred consultation method. Email/Text is fastest, Phone/Video has a consultation fee.",questions:[{id:"consultationType",question:"$49 consultation fee will apply only if your prescription is approved and you choose not to proceed with treatment. The consultation is free if you move forward with purchasing your prescription. If you prefer to speak with your provider prior to approval, please select Phone or Video Consultation.",type:"SINGLESELECT",options:["Email and Text Message (Fastest Option)","Video Call Consultation ($49 fee applies if you don't proceed with treatment)","Phone Call Consultation ($49 fee applies if you don't proceed with treatment)"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]}],kt=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],it=[{id:"heightWeight",title:"What is your height and weight?",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"genderIdentity",title:"What is your gender identity?",questionSubtext:"Not required. This helps us personalize your care experience.",questions:[{id:"genderIdentity",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Woman","Man","Non-binary","Prefer to self-describe","Prefer not to say"],required:!1,apiType:"SINGLESELECT"}]},{id:"hormoneJourney",title:"Which of the following best describes where you are in y
20our hormone journey?",questionSubtext:'<p>Hormone changes can begin years before your last period.</p><br/><ul class="list-disc pl-5 my-2 space-y-1"><li><strong>Perimenopause:</strong> the transition phase when your hormones begin to shift; periods may become irregular and symptoms like hot flashes or mood changes can start.</li><li><strong>Menopause:</strong> defined as 12 consecutive months without a period; most symptoms peak around this time.</li><li><strong>Post-menopause:</strong> the years after menopause; systemic symptoms often ease, but some â like vaginal dryness â can persist or worsen without treatment.</li><li><strong>Surgical menopause:</strong> menopause caused by surgical removal of the ovaries; symptoms often come on more suddenly.</li></ul><br/><p>Not sure which applies? Choose the option that feels closest â your provider will review your full history.</p>',questions:[{id:"hormoneJourney",type:"SINGLESELECT",question:"",displayQuestion:"",options:["I still have regular periods, but I'm having symptoms I think might be hormone-related","My periods have become irregular or unpredictable (this could be perimenopause)","I haven't had a period in less than 12 months (this could be perimenopause or early menopause)","I haven't had a period in 12 or more months (in menopause or may be in menopause)","I had surgery to remove my ovaries, which brought on menopause symptoms","I had a hysterectomy (uterus removed), but still have my ovaries","I had a full hysterectomy â both my uterus and ovaries were removed"],required:!0,apiType:"SINGLESELECT"}]},{id:"uterusIntact",title:"Do you have a uterus?",renderCondition:e=>!V(e)&&!Je.includes(e.hormoneJourney),questions:[{id:"uterusIntact",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No","I'm not sure"],required:!0,apiType:"SINGLESELECT"}]},{id:"progesteroneInfo",title:"Why progesterone matters â if you have a uterus",questionSubtext:"If you have a uterus and you're prescribed systemic estrogen, your provider will ensure progesterone is in your treatment plan as well. Because of how estrogen and progesterone work together, this is standard practice for patients who haven't had a hysterectomy to protect the uterine lining.",renderCondition:e=>!V(e)&&!Je.includes(e.hormoneJourney)&&e.uterusIntact!=="No",questions:[]},{id:"menopauseSymptomChecklist",title:"Which of the following symptoms are you experiencing? (check all that apply)",renderCondition:e=>!V(e),questions:[{id:"menopauseSymptomChecklist",type:"MULTISELECT",question:"Symptoms",displayQuestion:"Check all that apply.",options:["Acne or hair changes","Vaginal dryness, itching, or pain (general or during sex)","Urinary incontinence or frequent UTIs","Irregular bleeding or spotting","Trouble sleeping","Irritability, anxiety, depression, or mood swings","Brain fog / memory issues","Fatigue / low energy","Hot flashes / night sweats","Weight gain","Loss of muscle mass or strength","Decreased libido","Breast tenderness","Joint or muscle pain","Migraines or headaches"],required:!0,apiType:"MULTISELECT"}]},{id:"symptomTreatmentInfo",title:"What symptoms mean for treatment",questionSubtext:`<ul class="list-disc pl-5 my-3 space-y-2"> 21 <li><strong>Hot flashes, night sweats, sleep, mood, acne, or brain fog:</strong> Systemic hormone therapy (estrogen, with or without progesterone) addresses these whole-body symptoms.</li> 22 <li><strong>Vaginal dryness, pain during sex, or recurrent UTIs:</strong> Local vaginal estrogen treats vaginal and urinary symptoms with minimal systemic effect.</li> 23</ul> 24<p class="mt-4">Together, a bundled plan covering both systemic and local treatment may be the right fit.</p>`,renderCondition:e=>!V(e)&&Array.isArray(e.menopauseSymptomChecklist)&&e.menopauseSymptomChecklist.some(t=>$e.includes(t))||!e.menopauseSymptomChecklist.some(t=>xt.includes(t)),questions:[]},{id:"personalInfo",title:"What is your full name? This is the name your provider will use to address you.",questions:[{id:"firstName",question:"First Name",type:"text",required:!0,placeholder:"Enter your first name",apiType:"TEXT",validation:[{type:"required",message:"First name is required"}],halfWidth:!0},{id:"lastName",question:"Last Name",type:"text",required:!0,placeholder:"Enter your last name",apiType:"TEXT",validation:[{type:"required",message:"Last name is required"}],halfWidth:!0},{id:"shippingState",type:"DROPDOWN",question:"State",displayQuestion:"What state do you live in?",options:kt,required:!0,apiType:"TEXT"},{id:"email",question:"Email Address",type:"email",required:!0,placeholder:"[email protected]",apiType:"TEXT",validation:[{type:"required",message:"Email address is required"},{type:"email",message:"Please enter a valid email address"}]},{id:"phone",question:"Phone Number",type:"tel",required:!0,placeholder:"123-456-7890",apiType:"TEXT",validation:[{type:"required",message:"Phone number is required"},{type:"phone",message:"Please enter a valid US phone number (e.g., 123-456-7890 or (123) 456-7890)"}]}]},{id:"dheaAddOnInterest",title:"Would you like your provider to consider adding DHEA to your treatment plan?",questionSubtext:"DHEA is a hormone precursor that may help supp
24ort energy, mood, and libido during menopause. Your provider will confirm whether it's a safe and appropriate addition based on your full history.",renderCondition:e=>!V(e)&&Array.isArray(e.menopauseSymptomChecklist)&&e.menopauseSymptomChecklist.includes(Pt),questions:[{id:"dheaAddOnInterest",type:"SINGLESELECT",question:"",displayQuestion:"",options:[Mt,Si],required:!0,apiType:"SINGLESELECT"}]},{id:"systemicRouteChoice",title:"Do you have a preference on how you take medications?",questionSubtext:"If not, treatment will be recommended based on your symptoms.",renderCondition:e=>!V(e)&&Array.isArray(e.menopauseSymptomChecklist)&&e.menopauseSymptomChecklist.some(t=>$e.includes(t)),questions:[{id:"systemicRouteChoice",type:"SINGLESELECT",question:"",displayQuestion:"",options:[{name:Ze,value:Ze},{name:ht,value:ht},{name:"Patch",value:wt},"I'm not sure","I don't have a preference"],required:!0,apiType:"SINGLESELECT"}]},{id:"priorHormoneProducts",title:"Have you ever taken any of the below products?",renderCondition:e=>!V(e),questions:[{id:"priorHormoneProducts",type:"MULTISELECT",question:"Prior Hormone Products",displayQuestion:"Select all that apply.",options:["Estrogen patches","Estrogen cream","Vaginal estrogen cream","Injectable estrogen","Injectable testosterone","Androgel","Testosterone compounded cream","Progesterone (oral, vaginal, or cream)","None of the above"],required:!0,apiType:"MULTISELECT",exclusiveOption:"None of the above"}]},{id:"priorHormoneProductsDetails",title:"Please tell us more about the dose, delivery method, and any side effects from prior hormone products.",renderCondition:e=>!V(e)&&Array.isArray(e.priorHormoneProducts)&&e.priorHormoneProducts.some(t=>t!=="None of the above"),questions:[{id:"priorHormoneProductsDetails",type:"textarea",question:"Prior Hormone Product Details",displayQuestion:"Please tell us more about the dose, delivery method, and any side effects from prior hormone products.",required:!0,apiType:"TEXT"}]},{id:"fertilityPlans",title:"Are you currently trying to have children, breastfeeding, or planning to preserve fertility?",renderCondition:e=>!V(e),questions:[{id:"fertilityPlans",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"fertilityPlansDetails",title:"Please share more about your fertility plans or timeline.",renderCondition:e=>!V(e)&&e.fertilityPlans==="Yes",questions:[{id:"fertilityPlansDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"birthControlMethods",title:"Are you currently using any of these forms of birth control?",renderCondition:e=>!V(e),questions:[{id:"birthControlMethods",type:"MULTISELECT",question:"Birth Control Methods",displayQuestion:"Select all that apply.",options:["Birth control pill (progestin-only)","Birth control pill (other)","Birth control patch","Vaginal ring (NuvaRing or Annovera)","Birth control shot (Depo-Provera)","Nexplanon arm implant","Hormonal IUD (Mirena, Liletta, Kyleena, Skyla)","Copper IUD (Paragard)","Sterilization (tubal ligation or tubes removed)","My partner has had a vasectomy","Condoms","Phexxi","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"medicalConditions",title:"Please check all current or past medical conditions. (select all that apply)",questionSubtext:"These questions help your provider determine which treatments are safest for you. Some conditions require extra care or a different approach â this is not a judgment, it is how we make sure your plan is right for you. Please answer as completely as you can.",renderCondition:e=>!V(e),questions:[{id:"medicalConditions",type:"MULTISELECT",question:"Medical Conditions",displayQuestion:"Select all that apply.",options:["Asthma","Autoimmune disease (e.g., lupus, rheumatoid arthritis)","Active blood vessel disease or clotting disorder (e.g., DVT/PE)","Breast, uterine, or ovarian cancer","Heart disease, stroke, or peripheral vascular disease","Dementia","Edema (fluid retention)","Endometriosis","Epilepsy (seizures)","High blood lipids or cholesterol","Hypertension","Diabetes","Heart failure or stroke","Active liver disease","Kidney disease","Migraine headache","High calcium in the blood (hypercalcemia)","Uncontrolled thyroid disorder","Recent miscarriage","Vaginal bleeding","None of the above"],required:!0,apiType:"MULTISELECT",exclusiveOption:"None of the above"}]},{id:"otherMedicalConditions",title:"Do you have any other current medical conditions?",renderCondition:e=>!V(e),questions:[{id:"otherMedicalConditions",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"otherMedicalConditionsDetails",title:"Please list all current medical conditions.",renderCondition:e=>!V(e)&&e.otherMedicalConditions==="Yes",questions:[{id:"otherMedicalConditionsDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"currentMedications",title:"Are you currently taking any medications, including supplements?",renderCondition:e=>!V(e),questions:[{id:"currentMedications",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"currentMedicationsDetails",title:"Please list all current medications including Rx, OTC, and supplements with dosages.",renderCondition:e=>!V(e)&&e.currentMedications==="Yes",questions:[{id:"currentMedicationsDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"knownAllergies",title:"Do you have any known allergies?",renderCondition:e=>!V(e),questions:[{id:"knownAllergies",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"knownAllergiesDetails",title:"Please list all known allergies.",renderCondition:e=>!V(e)&&e.knownAllergies==="Yes",questions:[{id:"knownAllergiesDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"tobaccoUse",title:"Do you currently smoke or use tobacco products?",renderCondition:e=>!V(e),questions:[{id:"tobaccoUse",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"recentHormoneLabs",title:"Do you have any recent lab work related to hormone therapy completed within the past 60 days?",renderCondition:e=>!V(e),questions:[{id:"recentHormoneLabs",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"recentHormoneLabsTiming",title:"When was your most recent lab test related to hormone therapy?",renderCondition:e=>!V(e)&&e.recentHormoneLabs==="Yes",questions:[{id:"recentHormoneLabsTiming",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Within the last 30 days","Within the last 45 days","Within the last 60 days","I have not had any recent lab tests"],required:!0,apiType:"SINGLESELECT"}]}
24,{id:"recentHormoneLabsUpload",title:"Please upload a copy of your recent lab work. (ensure full name and date are visible)",questionSubtext:"This upload is optional.",renderCondition:e=>!V(e)&&e.recentHormoneLabs==="Yes"&&e.recentHormoneLabsTiming!=="I have not had any recent lab tests",questions:[{id:"recentHormoneLabsUpload",question:"Recent Lab Work",displayQuestion:"This helps your provider confirm your most recent results.",type:"FILE_INPUT",required:!1,apiType:"FILE"}]},{id:"additionalProviderInfo",title:"Is there anything else you want to tell your provider?",renderCondition:e=>!V(e),questions:[{id:"additionalProviderInfo",type:"textarea",question:"",displayQuestion:"",required:!1,apiType:"TEXT"}]},{id:"menopauseContactInfo",title:"A few last things",questions:[{id:"tosPrivacyConsent",type:"CHECKBOX",required:!0,options:['I agree to the <a href="https://lumivera.com/legal/terms-and-conditions" target="_blank" rel="noopener" class="underline">Terms of Service</a> and <a href="https://lumivera.com/legal/privacy-practices" target="_blank" rel="noopener" class="underline">Privacy Policy</a>. I agree to receive non-marketing emails or text messages related to my account (e.g., appointment reminders).'],apiType:"SINGLESELECT"},{id:"marketingConsent",type:"CHECKBOX",required:!1,options:["I consent to receive marketing emails and text messages from LumiVera at the email address and phone number provided, including promotions, discounts, and product/service updates. Msg frequency varies. Msg & data rates may apply. Reply HELP for help, STOP to opt out. Consent is not a condition of purchase."],apiType:"SINGLESELECT"}]}],nt=[{id:"menopausalSymptoms",title:"Which symptoms are you currently experiencing?",questions:[{id:"menopausalSymptoms",type:"MULTISELECT",question:"Select all that apply.",options:["Hot flashes","Night sweats","Palpitations","Joint pain","Weight gain","Fatigue","Trouble with sleep","Brain fog (e.g. poor memory, difficulty concentrating)","Mood changes (e.g. irritability, anxiety, depression)","Vaginal issues (e.g. burning, itching, vaginal dryness, decreased lubrication)","Urinary symptoms (e.g. urinary frequency, urgency, frequent UTIs, incontinence)","Painful sex","Decreased sexual arousal","Facial acne","Other facial skin concerns (e.g. collagen production, moisture, firmness, pore size, wrinkles, elasticity)","None"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"hrtTreatmentPriorities",title:"What are your top priorities with hormone replacement therapy (HRT)?",questions:[{id:"hrtTreatmentPriorities",type:"MULTISELECT",displayQuestion:"Select all that apply:",question:"Select all that apply.",options:["Reduce hot flashes and night sweats","Improve sleep quality","Address vaginal dryness or discomfort","Improve mood and emotional well-being","Increase energy and reduce fatigue","Support bone health","Improve skin health and elasticity","Address libido or sexual function concerns","Prevent long-term health risks","Other (please specify)"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"},{id:"hrtTreatmentPrioritiesOther",type:"textarea",displayQuestion:"",question:"Please specify your other priorities:",required:!0,placeholder:"Enter additional details",renderCondition:e=>{const t=e.hrtTreatmentPriorities;return Array.isArray(t)?t.includes("Other (please specify)"):t==="Other (please specify)"},apiType:"TEXT"}]},{id:"hrtProductInterest",title:"Which HRT options are you interested in?",questions:[{id:"hrtProductInterest",type:"MULTISELECT",displayQuestion:"Select all you'd like to learn more about or discuss with your provider.",question:"Which HRT options are you interested in?",options:[{name:"Estradiol Patch (applied to skin, changed 1-2x weekly)",value:"estradiol-patch"},{name:"Estradiol Vaginal Cream (applied daily to skin)",value:"estradiol-vaginal-cream"},{name:"Estradiol Tablets (taken daily by mouth)",value:"estradiol-tablets"},{name:"Progesterone Capsules (taken daily by mouth)",value:"progesterone"},{name:"Testosterone Cream",value:"testosterone-cream"},{name:"Arousal Cream",value:"arousal-cream-4"},{name:"DHEA Capsules",value:"dhea-capsules"},{name:"Bi-est Cream (50:50)",value:"bi-est-cream-50-50"},{name:"Bi-est Cream (80:20)",value:"bi-est-cream-80-20"},{name:"Iâm not sure â Iâd like the providerâs recommendation based on my symptoms.",value:"i-m-not-sure"}],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"menopausalSymptomsDetails",title:"Tell us more about what youâve been experiencing.",questions:[{id:"menopausalSymptomsDetails",type:"textarea",question:"Share any additional details about your symptoms to help your provider better understand your concerns.",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"cycleDescribed",title:"Which of the following best describes your menstrual cycle in the past 12 months?",questions:[{id:"cycleDescribed",type:"SINGLESELECT",displayQuestion:"",question:"",options:["My periods are regular","My periods are starting to become unpredictable (e.g. too close together, skipping periods or a change in duration or amount of flow)","I have not had a period in over a year","My menstrual cycle has been impacted by a medical procedure"],required:!0,apiType:"SINGLESELECT"}]}
24,{id:"unpredictablePeriods",title:"Which of the following describes how your periods are becoming more unpredictable?",renderCondition:e=>e.cycleDescribed==="My periods are starting to become unpredictable (e.g. too close together, skipping periods or a change in duration or amount of flow)",questions:[{id:"unpredictablePeriods",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Which of the following describes how your periods are becoming more unpredictable?",options:["Bleeding is more frequent than every 21 days","Bleeding last longer than 8 days","Periods are now heavier","I bleed through a tampon or pad in 1-2 hours","Bleeding is less frequent and/or I skip more than 2 months at a time","Bleeding is much lighter","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"unpredictablePeriodsDetails",title:"Please describe how your periods are becoming more unpredictable.",renderCondition:e=>{const t=e.unpredictablePeriods,T=Array.isArray(t)?t.includes("Other"):t==="Other",i=e.cycleDescribed==="My menstrual cycle has been impacted by a medical procedure";return T||i},questions:[{id:"unpredictablePeriodsDetails",type:"textarea",displayQuestion:"",question:"Please describe how your periods are becoming more unpredictable.",required:!0,apiType:"TEXT"}]},{id:"recentGynEval",title:"Have you had a recent GYN visit?",renderCondition:e=>{const t=e.unpredictablePeriods,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEval",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Have you had a recent GYN visit?",required:!0,options:["I have had a regular GYN evaluation in past 12 months","I have had a pelvic or transvaginal ultrasound","I have had an endometrial biopsy","I have had a D&C","I have had a hysteroscopy","I have had blood work done","Other - please explain"],apiType:"MULTISELECT"}]},{id:"recentGynEvalDetails",title:"Please tell us more.",renderCondition:e=>{const t=e.unpredictablePeriods,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEvalDetails",type:"textarea",displayQuestion:"Please provide details, or in your own words, a summary of relevant results.",question:"Please tell us more.",required:!0,apiType:"TEXT"}]},{id:"moreThan10Years",title:"Has it been 10 years since your last period?",renderCondition:e=>{const t=e.unpredictablePeriods,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"moreThan10Years",type:"SINGLESELECT",displayQuestion:"",question:"Has it been 10 years since your last period?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"procedureImpactedPeriods",title:"Which of the following medical procedures has impacted your menstrual cycle?",renderCondition:e=>e.cycleDescribed==="My menstrual cycle has been impacted by a medical procedure",questions:[{id:"procedureImpactedPeriods",type:"SINGLESELECT",displayQuestion:"",question:"Which of the following medical procedures has impacted your menstrual cycle?",required:!0,options:["Bilateral oophorectomy","Endometrial ablation","Uterine artery embolization (UAE)","Hormonal IUD","Hysterectomy (surgical removal of the uterus)","Other"],apiType:"SINGLESELECT"}]},{id:"bilateralOopheroctomyAge",title:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriods==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyAge",type:"text",displayQuestion:"",question:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"bilateralOopheroctomyWhy",title:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriods==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyWhy",type:"textarea",displayQuestion:"",question:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"otherProcedure",title:"What other medical procedure, if any, has impacted your menstrual cycle?",renderCondition:e=>e.procedureImpactedPeriods==="Other",questions:[{id:"otherProcedure",type:"textarea",displayQuestion:"",question:"What other medical procedure has impacted your menstrual cycle?",required:!0,apiType:"TEXT"}]},{id:"howManyPeriods",title:"How many periods have you had in the past 12 months?",renderCondition:e=>e.cycleDescribed!=="I have not had a period in over a year",questions:[{id:"howManyPeriods",type:"SINGLESELECT",displayQuestion:"",question:"Choose the option that best describes your cycle during the past year.",options:["0-2","3-5","6-12"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptoms",title:"Please indicate if you have or have had any of the following conditions.",questions:[{id:"symptoms",type:"MULTISELECT",displayQuestion:"In order for your doctor to make the right treatment recommendation, we need to know a few things about your medical history.",question:"Please indicate if you have or have had any of the following conditions.",options:["None","Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)","Personal history of breast cancer","Endometrial cancer (uterine cancer)","High blood pressure","Elevated cholesterol","Heart attack","Stroke","Blood clots in legs or lungs","Genetic condition that increases your risk for clotting","Positive BRCA1 or BRCA2 genetic test","Diabetes and taking injectable insulin (not oral)","Diabetes and NOT taking injectable insulin (incl. taking oral insulin)","Migraines","Liver disease","Lupus","Lichen Sclerosis or other vulvar skin condition","Endometriosis","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"symptomsPostmenopausal",title:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"):t==="Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"},questions:[{id:"symptomsPostmenopausal",type:"SINGLESELECT",displayQuestion:"",question:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsPostmenopausal2",title:"Please select the type of evaluation.",renderCondition:e=>e.symptomsPostmenopausal==="Yes",questions:[{id:"symptomsPostmenopausal2",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please select the type of evaluation.",options:["Pelvic exam","Pelvic or transvaginal ultrasound","Endometrial biopsy","Hysteroscopy","D&C","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"symptomsPostmenopausalDetails",title:"Please provide more detail.",renderCondition:e=>e.symptomsPostmenopausal==="Yes",questions:[{id:"symptomsPostmenopausalDetails",type:"textarea",displayQuestion:"",question:"Please provide more detail.",required:!0,apiType:"TEXT"}]},{id:"symptomsBreastCancer",title:"You have options!",subtext:"While systemic hormone therapy is generally not prescribed to patients with a history of invasive breast cancer, there are other treatment options available to manage your menopause symptoms.*<br /><br />All doctors who prescribe for LumiVera are menopause-trained and follow the guidelines provided by ACOG and The Menopause Society.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancer",type:"CHECKBOX",question:"I have read and understand",displayQuestion:"Many breast cancer patients are candidates for vaginal estrogen and non-hormonal treatments. A consultation can help you explore these options and help you find an approach for your individual needs.",required:!0,options:["I have read and understand"],apiType:"SINGLESELECT"}]},{id:"symptomsBreastCancer2",title:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancer2",type:"textarea",displayQuestion:"",question:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",required:!0,apiType:"TEXT"}]},{id:"symptomsEndometrialCancer",title:"What stage of endometrial cancer?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Endometrial cancer (uterine cancer)"):t==="Endometrial cancer (uterine cancer)"},questions:[{id:"symptomsEndometrialCancer",type:"SINGLESELECT",displayQuestion:"",question:"What stage of endometrial cancer?",options:["Stage 1 or 2","Stage 3 or 4"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsHighBloodPressure",title:"Is your blood pressure well-controlled? Well-controlled is defined as 130/80 or less.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("High blood pressure"):t==="High blood pressure"},questions:[{id:"symptomsHighBloodPressure",type:"textarea",displayQuestion:"",question:"Is your blood pressure well-controlled? Well-controlled is defined as 130/80 or less.",required:!0,apiType:"TEXT"}]},{id:"symptomsBloodClot",title:"What year did the blood clot occur? What happened? Provide as much detail as possible.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Blood clots in legs or lungs"):t==="Blood clots in legs or lungs"},questions:[{id:"symptomsBloodClot",type:"textarea",displayQuestion:"",question:"What year did the blood clot occur? What happened? Provide as much detail as possible.",required:!0,apiType:"TEXT"}]},{id:"symptomsGeneticClotting",title:"What is your genetic condition that increases your risk for clotting?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Genetic condition that increases your risk for clotting"):t==="Genetic condition that increases your risk for clotting"},questions:[{id:"symptomsGeneticClotting",type:"SINGLESELECT",displayQuestion:"",question:"What is your genetic condition that increases your risk for clotting?",options:["Factor V Leiden","Prothrombin","Protein C or S deficiency","Other"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsBrca",title:"Have you had an oophorectomy and/or bilateral mastectomy?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Positive BRCA1 or BRCA2 genetic test"):t==="Positive BRCA1 or BRCA2 genetic test"},questions:[{id:"symptomsBrca",type:"SINGLESELECT",displayQuestion:"",question:"Have you had an oophorectomy and/or bilateral mastectomy?",options:["I have had an oophorectomy","I have had a bilateral mastectomy","I have had both an oophorectomy and a bilateral mastectomy","I have had neither an oophorectomy or a bilateral mastectomy"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsBrca2",title:"At what age did you have an oophorectomy?",renderCondition:e=>{const t=e.symptomsBrca;return t==="I have had an oophorectomy"||t==="I have had both an oophorectomy and a bilateral mastectomy"},questions:[{id:"symptomsBrca2",type:"textarea",displayQuestion:"",question:"At what age did you have an oophorectomy?",required:!0,apiType:"TEXT"}]},{id:"symptomsMigraines",title:"Have you been diagnosed with migraines with aura?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Migraines"):t==="Migraines"},questions:[{id:"symptomsMigraines",type:"SINGLESELECT",displayQuestion:"(Also called classic migraines, they are recurring headaches that strike after or at the same time as sensory disturbances like flashes of light, blind spots, and other vision changes or tingling in y
24our hand or face.)",question:"Have you been diagnosed with migraines with aura?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"symptomsLiverDisease",title:"Please provide more details on your liver disease, including when you were diagnosed.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Liver disease"):t==="Liver disease"},questions:[{id:"symptomsLiverDisease",type:"textarea",displayQuestion:"Provide as much detail as possible.",question:"Please provide more details on your liver disease, including when you were diagnosed.",required:!0,apiType:"TEXT"}]},{id:"symptomsEndometriosis",title:"Please provide the stage of your endometriosis if you know it.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Endometriosis"):t==="Endometriosis"},questions:[{id:"symptomsEndometriosis",type:"textarea",displayQuestion:"Did you have extensive disease (e.g. endometriosis implants on the bowel, bladder, etc.)?",question:"Please provide the stage of your endometriosis if you know it.",required:!0,apiType:"TEXT"}]},{id:"symptomsOther",title:"What other conditions have you been currently or previously diagnosed with that are not listed above?",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Other"):t==="Other"},questions:[{id:"symptomsOther",type:"textarea",displayQuestion:"(e.g. another cancer). Provide as much detail as possible.",question:"What other conditions have you been currently or previously diagnosed with that are not listed above?",required:!0,apiType:"TEXT"}]},{id:"hysteroctomy",title:"Have you had a hysterectomy?",questions:[{id:"hysteroctomy",type:"SINGLESELECT",displayQuestion:"",question:"A hysterectomy is surgery to remove the uterus.",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"hysteroctomyAge",title:"At what age did you have a hysterectomy?",renderCondition:e=>e.hysteroctomy==="Yes",questions:[{id:"hysteroctomyAge",type:"textarea",displayQuestion:"",question:"At what age did you have a hysterectomy?",required:!0,apiType:"TEXT"}]},{id:"hysteroctomyWhy",title:"Why did you have a hysterectomy?",renderCondition:e=>e.hysteroctomy==="Yes",questions:[{id:"hysteroctomyWhy",type:"textarea",displayQuestion:"",question:"Why did you have a hysterectomy?",required:!0,apiType:"TEXT"}]},{id:"hysteroctomyOvaries",title:"Did you also have your ovaries removed with your uterus?",renderCondition:e=>e.hysteroctomy==="Yes",questions:[{id:"hysteroctomyOvaries",type:"SINGLESELECT",displayQuestion:"",question:"Did you also have your ovaries removed with your uterus?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"mammogram",title:"When was your most recent mammogram?",questions:[{id:"mammogram",type:"SINGLESELECT",displayQuestion:"This information helps your provider make safe treatment recommendations.",required:!0,options:["Within the past 12 months","1-2 years ago","More than 2 years ago","Iâve never had a mammogram","Iâve had a double mastectomy"],apiType:"SINGLESELECT"}]},{id:"mammogramRequiredNotice",title:" ",renderCondition:e=>{const t=e.mammogram;return t==="1-2 years ago"||t==="More than 2 years ago"},questions:[{id:"mammogramRequiredNotice",type:"PERFECT",displayQuestion:"",question:"",required:!1,heading1:"Please note",subtext:"A mammogram within the past year is required before starting HRT."}]},{id:"mammogramResults",title:"What were the results of your most recent mammogram?",renderCondition:e=>e.mammogram==="Within the past 12 months",questions:[{id:"mammogramResults",type:"SINGLESELECT",displayQuestion:"",question:"Select the option that best describes your results.",required:!0,options:["Normal","I had another visit for additional views, but was told everything was normal","Abnormal"],apiType:"SINGLESELECT"}]},{id:"mammogramResultsDetails",title:"Please provide any details on the result.",renderCondition:e=>e.mammogramResults==="Abnormal",questions:[{id:"mammogramResultsDetails",type:"textarea",displayQuestion:"",question:"Please provide any details on the result.",required:!0,apiType:"TEXT"}]},{id:"doYouSmoke",title:"Do you currently use nicotine products, such as cigarettes or vaping devices?",questions:[{id:"doYouSmoke",type:"SINGLESELECT",displayQuestion:"",question:"Select one.",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"birthControl",title:"Are you currently using any form of birth control?",questions:[{id:"birthControl",type:"SINGLESELECT",displayQuestion:"",question:"Select one.",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"birthControlWhich",title:"Which birth control product are you currently using?",renderCondition:e=>
24e.birthControl==="Yes",questions:[{id:"birthControlWhich",type:"MULTISELECT",displayQuestion:"",question:"Which birth control product are you currently using?",required:!0,options:["Birth control pill","Birth control patch","Vaginal ring (NuvaRing or Annovera)","Birth control shot (Depo-Provera)","Nexplanon arm implant","Hormonal IUD (Mirena, Liletta, Kyleena, Skyla)","Copper IUD (Paragard)","Sterilization (tubal ligation or tubes removed)","My partner has had a vasectomy","Condoms","Phexxi","Other"],apiType:"MULTISELECT"},{id:"birthControlWhichOther",type:"text",displayQuestion:"",question:"Please specify your other birth control method:",required:!0,placeholder:"Enter details",apiType:"TEXT",renderCondition:e=>{const t=e.birthControlWhich;return Array.isArray(t)?t.includes("Other"):t==="Other"}}]},{id:"birthControlHormonalIUD",title:"Which hormonal IUD are you currently using?",renderCondition:e=>e.birthControlWhich.includes("Hormonal IUD"),questions:[{id:"birthControlHormonalIUD",type:"SINGLESELECT",displayQuestion:"",question:"Select one.",required:!0,options:["Mirena","Liletta","Kyleena","Skyla","Other"],apiType:"SINGLESELECT"},{id:"birthControlHormonalIUDOther",type:"text",displayQuestion:"",question:"Please specify which other hormonal IUD you are using:",required:!0,placeholder:"Enter details",apiType:"TEXT",renderCondition:e=>e.birthControlHormonalIUD==="Other"}]},{id:"birthControlHormonalIUDDate",title:"When was your last hormonal IUD inserted?",renderCondition:e=>e.birthControlWhich.includes("Hormonal IUD"),questions:[{id:"birthControlHormonalIUDDate",type:"text",displayQuestion:"Please provide the month and year.",question:"When was your last hormonal IUD inserted?",required:!0,apiType:"TEXT"}]},{id:"requireContraception",title:"Do you need birth control to prevent pregnancy?",questions:[{id:"requireContraception",type:"SINGLESELECT",displayQuestion:"",question:"Do you need birth control to prevent pregnancy?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"takenHormoneTreatment",title:"Have you ever used or are you currently using hormone therapy?",questions:[{id:"takenHormoneTreatment",type:"SINGLESELECT",displayQuestion:"(e.g. birth control pills, compounded hormones or creams, sprays, gels, or hormonal pellets)",question:"Have you ever used or are you currently using hormone therapy?",required:!0,options:["Yes, I am currently using hormone therapy","I stopped using hormone therapy within the last 90 days","I used hormone therapy in the past","No, I have never used hormone therapy"],apiType:"SINGLESELECT"}]},{id:"continueHormoneTreatment",title:"Who will manage your hormone therapy prescription moving forward?",renderCondition:e=>{const t=e.takenHormoneTreatment;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"},questions:[{id:"continueHormoneTreatment",type:"SINGLESELECT",displayQuestion:" ",question:"Are you looking for LumiVera to continue prescribing your current hormone therapy, or will your existing provider maintain that prescription?",required:!0,options:["LumiVera","My current provider"],apiType:"SINGLESELECT"}]},{id:"takenHormoneTreatmentDetails",title:"Tell us about your current or recent hormone therapy",renderCondition:e=>{const t=e.takenHormoneTreatment;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentMedication",type:"REPEATABLE_BLOCK",blockLabel:"Medication",addButtonText:"+ Add another medication",minBlocks:1,fields:[{id:"name",type:"text",question:"Medication name",required:!0,placeholder:"e.g. Estradiol",apiType:"TEXT"},{id:"dose",type:"text",question:"Dose",required:!0,placeholder:"e.g. 0.5 mg",apiType:"TEXT"},{id:"frequency",type:"text",question:"How often do you take it?",required:!0,placeholder:"e.g. Daily",apiType:"TEXT"},{id:"month",type:"dropdown",question:"Month started",required:!0,options:["January","February","March","April","May","June","July","August","September","October","November","December"],optionValues:["01","02","03","04","05","06","07","08","09","10","11","12"],apiType:"TEXT"},{id:"year",type:"dropdown",question:"Year started",required:!0,options:Array.from({length:30},(e,t)=>String(new Date().getFullYear()-t)),apiType:"TEXT"}],required:!0,apiType:"TEXT"},{id:"takenHormoneTreatmentSatisfied",type:"SINGLESELECT",displayQuestion:"",question:"Overall, how satisfied are you with your current hormone therapy?",required:!0,options:["Satisfied","Somewhat satisfied","Not satisfied"],displayAsRow:!0,apiType:"SINGLESELECT"},{id:"takenHormoneTreatmentIssues",type:"textarea",displayQuestion:"",question:"What c
24oncerns or issues are you experiencing?",required:!0,renderCondition:e=>{const t=e.takenHormoneTreatmentSatisfied;return t==="Somewhat satisfied"||t==="Not satisfied"},apiType:"TEXT"}]},{id:"takenHormoneTreatmentStatus",title:"Which of the following best describe your experience or goals with hormone therapy?",renderCondition:e=>{const t=e.takenHormoneTreatment;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentStatus",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please let us know more about your current or past hormone therapy.",required:!0,options:["I am happy with my current hormone therapy","My symptoms are not fully controlled with my current hormone therapy","I am experiencing side effects from my current hormone therapy","I would like to change my current hormone therapy","I would like LumiVera to recommend and prescribe hormone therapy","My current provider will continue prescribing my hormone therapy","I have tried hormonal birth control for perimenopause symptoms and would like other options","None of the above"],apiType:"MULTISELECT"}]},{id:"takenHormoneTreatmentMoreDetails",title:"Is there anything else youâd like your provider to know about your hormone therapy experience?",renderCondition:e=>{const t=e.takenHormoneTreatment;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentMoreDetails",type:"textarea",displayQuestion:"",question:"Share any additional details about your symptoms, concerns, or treatment goals.",required:!0,apiType:"TEXT"}]},{id:"antidepressants",title:"Are you currently taking any antidepressant medications?",questions:[{id:"antidepressants",type:"SINGLESELECT",displayQuestion:"(e.g. Paxil, Effexor, Lexapro, Zoloft, Prozac, Wellbutrin, Desipramine)",question:"Are you currently taking any antidepressant medications?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"antidepressantsDetails",title:"What anti-depressant are you currently taking?",renderCondition:e=>e.antidepressants==="Yes",questions:[{id:"antidepressantsDetails",type:"textarea",displayQuestion:"Please include name of medication and dosage",question:"What anti-depressant are you currently taking?",required:!0,apiType:"TEXT"}]},{id:"medications",title:"Are you currently taking any prescription medications?",questions:[{id:"medications",type:"SINGLESELECT",displayQuestion:"Select one.",question:"Are you currently taking any prescription medications?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"medicationsDetails",title:"Please list any medications you are currently taking.",renderCondition:e=>e.medications==="Yes",questions:[{id:"medicationsDetails",type:"textarea",displayQuestion:"Include the medication name, dose, and how often you take it if known. (e.g. Levothyroxine 50mcg daily)",question:"Please list any medications you are currently taking.",required:!0,apiType:"TEXT"}]},{id:"allergies",title:"Do you have any allergies or reactions to medications or foods?",questions:[{id:"allergies",type:"SINGLESELECT",displayQuestion:"Examples include medication allergies, intolerances, or food allergies such as peanuts.",question:"Do you have any allergies or reactions to medications or foods?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"allergiesDetails",title:"Please list all allergies or reactions to medications or adhesives.",renderCondition:e=>e.allergies==="Yes",questions:[{id:"allergiesDetails",type:"textarea",displayQuestion:"If you have no known allergies, continue to the next question.",question:"Please list all allergies or reactions to medications or adhesives.",required:!0,apiType:"TEXT"}]},{id:"familyConditions",title:"Family medical history",questions:[{id:"familyConditions",type:"MULTISELECT",displayQuestion:"",question:"Do any of your parents or siblings have a history of the following conditions?",options:["Blood clots","Heart attack","Stroke","BRCA1 or BRCA2 mutation","Breast cancer","Endometrial (uterine) cancer","Ovarian cancer","Osteoporosis","Iâm not sure (e.g., adopted or no family history information available)","None of the above"],required:!0,apiType:"MULTISELECT"}]},{id:"heardAboutUs",title:"How did you hear about LumiVera?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"Select one.",question:"How did you hear about LumiVera?",options:["Reddit","Instagram","Facebook","Google search","Referred by a friend or family member","Referred by a healthcare provider","OrderlyMeds","Other (please specify)"],required:!0,apiType:"TEXT"}
24,{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],at=[{id:"skincareGoals",title:"What goals do you have for your skin?",questions:[{id:"skincareGoals",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"What goals do you have for your skin?",options:["Firmer, smoother skin","Reducing fine lines and wrinkles","Controlling acne breakouts","Moist, glowy skin","Reducing discoloration"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"skinSensitivity",title:"How sensitive is your skin?",questions:[{id:"skinSensitivity",type:"SINGLESELECT",displayQuestion:"This will let us know if your skin is easily irritated when trying new products.",question:"How sensitive is your skin?",options:["My skin is easily irritated","My skin is rarely irritated","I'm not sure"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"usingTretinoin",title:"Are you currently using tretinoin or retin-A?",questions:[{id:"usingTretinoin",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently using tretinoin or retin-A?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"tretinoinStrength",title:"What strength tretinoin or retin-A are you using?",renderCondition:e=>e.usingTretinoin==="Yes",questions:[{id:"tretinoinStrength",type:"SINGLESELECT",displayQuestion:"",question:"What strength tretinoin or retin-A are you using?",options:["~0.025%","~0.05%","~0.08%","~0.1%","I don't know"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"skinConditions",title:"Do you have any of the following conditions?",questions:[{id:"skinConditions",type:"MULTISELECT",displayQuestion:"",question:"Do you have any of the following conditions?",options:["None","Perioral dermatitis","Eczema","Rosacea","Highly sensitive skin","Personal history of skin cancer","Personal history of breast cancer","Personal history of uterine or ovarian cancer","Other"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"skinConditionsOther",title:"Please list all other conditions.",renderCondition:e=>e.skinConditions==="Other",questions:[{id:"skinConditionsOther",type:"textarea",displayQuestion:"",question:"Please list all other conditions.",required:!0,apiType:"TEXT"}]},{id:"skincareAllergies",title:"Do you have any allergies or reactions to medications?",questions:[{id:"skincareAllergies",type:"SINGLESELECT",displayQuestion:"This includes all allergies, intolerances, and reactions to foods or previous medications (e.g. peanut allergies)",question:"Do you have any allergies or reactions to medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"skincareAllergiesWhich",title:"Please note any of the following allergies.",renderCondition:e=>e.skincareAllergies==="Yes",questions:[{id:"skincareAllergiesWhich",type:"MULTISELECT",displayQuestion:"Select all that apply:",question:"Please note any of the following allergies.",options:["Tretinoin","Niacinamide","Vitamin E","Glycerin","Peptides","Hyaluronic acid","Aloe","Azelaic Acid","Metronidazole","Metronidazole","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"skincareAllergiesDetails",title:"Please list all allergies or reactions to medications or adhesives.",renderCondition:e=>{const t=e.symptoms;return Array.isArray(t)?t.includes("Other"):t==="Other"},questions:[{id:"skincareAllergiesDetails",type:"textarea",displayQuestion:"If you have no known allergies, continue to the next question.",question:"Please list all allergies or reactions to medications or adhesives.",required:!0,apiType:"TEXT"}]},{id:"pregnantBreastfeeding",title:"Are you pregnant and/or breastfeeding?",questions:[{id:"pregnantBreastfeeding",type:"SINGLESELECT",displayQuestion:"",question:"Are you pregnant and/or breastfeeding?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"takingMedications",title:"Are you currently taking any medications?",questions:[{id:"takingMedications",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently taking any medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"takingMedicationsDetails",title:"Please list all current medications.",renderCondition:e=>e.takingMedications==="Yes",questions:[{id:"takingMedicationsDetails",type:"textarea",displayQuestion:"Please be specific. For example, instead of 'thyroid medication, please specify the brand, like 'Levothyroxine'.",question:"Please list all current medications.",required:!0,apiType:"TEXT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","N
24one"],required:!0,apiType:"TEXT"},{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],dt=[{id:"genitourinarySymptoms",title:"Let's discuss your genitourinary symptoms.",questions:[{id:"genitourinarySymptoms",type:"MULTISELECT",displayQuestion:"Select all symptoms that you are experiencing:",question:"Let's discuss your genitourinary symptoms.",options:["Bladder symptoms (frequent UTIs, urinary urgency and/or frequency)","Vaginal symptoms (dryness, burning, itching or decreased lubrication)","Vulvar or labial symptoms (dryness, burning, itching)"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"lastMenstrualPeriodSex",title:"When was your last menstrual period?",questions:[{id:"lastMenstrualPeriodSex",type:"text",displayQuestion:"Approximate month and year",question:"When was your last menstrual period?",required:!0,apiType:"TEXT"}]},{id:"cycleDescribedSex",title:"",questions:[{id:"cycleDescribedSex",type:"SINGLESELECT",displayQuestion:"",question:"Which of the following best describes your menstrual cycle in the past 12 months?",options:["My periods are regular","My periods are starting to become unpredictable (e.g. too close together, skipping periods or a change in duration or amount of flow)","I have not had a period in over a year","My menstrual cycle has been impacted by a medical procedure"],required:!0,apiType:"SINGLESELECT"}]},{id:"unpredictablePeriodsSex",title:"Which of the following describes how your periods are becoming more unpredictable?",renderCondition:e=>e.cycleDescribedSex==="My periods are starting to become unpredictable (e.g. too close together, skipping periods or a change in duration or amount of flow)",questions:[{id:"unpredictablePeriodsSex",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Which of the following describes how your periods are becoming more unpredictable?",options:["Bleeding is more frequent than every 21 days","Bleeding last longer than 8 days","Periods are now heavier","I bleed through a tampon or pad in 1-2 hours","Bleeding is less frequent and/or I skip more than 2 months at a time","Bleeding is much lighter","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"unpredictablePeriodsDetailsSex",title:"Please describe how your periods are becoming more unpredictable.",renderCondition:e=>{const t=e.unpredictablePeriodsSex,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"unpredictablePeriodsDetailsSex",type:"textarea",displayQuestion:"",question:"Please describe how your periods are becoming more unpredictable.",required:!0,apiType:"TEXT"}]},{id:"recentGynEvalSex",title:"Have you had a recent GYN evaluation?",renderCondition:e=>{const t=e.unpredictablePeriodsSex,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEvalSex",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Have you had a recent GYN evaluation?",required:!0,options:["I have had a regular GYN evaluation in past 12 months","I have had a pelvic or transvaginal ultrasound","I have had an endometrial biopsy","I have had a D&C","I have had a hysteroscopy","I have had blood work done","Other - please explain"],apiType:"MULTISELECT"}]},{id:"recentGynEvalDetailsSex",title:"Please tell us more.",renderCondition:e=>{const t=e.unpredictablePeriodsSex,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEvalDetailsSex",type:"textarea",displayQuestion:"Please provide details, or in your own words, a summary of relevant results.",question:"Please tell us more.",required:!0,apiType:"TEXT"}]},{id:"moreThan10YearsSex",title:"Has it been 10 years since your last period?",renderCondition:e=>
24{const t=e.unpredictablePeriodsSex,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"moreThan10YearsSex",type:"SINGLESELECT",displayQuestion:"",question:"Has it been 10 years since your last period?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"procedureImpactedPeriodsSex",title:"Which of the following medical procedures has impacted your menstrual cycle?",renderCondition:e=>e.cycleDescribedSex==="My menstrual cycle has been impacted by a medical procedure",questions:[{id:"procedureImpactedPeriodsSex",type:"SINGLESELECT",displayQuestion:"",question:"Which of the following medical procedures has impacted your menstrual cycle?",required:!0,options:["Bilateral oophorectomy","Endometrial ablation","Uterine artery embolization (UAE)","Hormonal IUD","Hysterectomy (surgical removal of the uterus)","Other"],apiType:"SINGLESELECT"}]},{id:"bilateralOopheroctomyAgeSex",title:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriodsSex==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyAgeSex",type:"text",displayQuestion:"",question:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"bilateralOopheroctomyWhySex",title:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriodsSex==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyWhySex",type:"textarea",displayQuestion:"",question:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"otherProcedureSex",title:"What other medical procedure has impacted your menstrual cycle?",renderCondition:e=>e.procedureImpactedPeriodsSex==="Other",questions:[{id:"otherProcedureSex",type:"textarea",displayQuestion:"",question:"What other medical procedure has impacted your menstrual cycle?",required:!0,apiType:"TEXT"}]},{id:"howManyPeriodsSex",title:"How many periods have you had in the past 12 months?",questions:[{id:"howManyPeriodsSex",type:"SINGLESELECT",displayQuestion:"",question:"Choose the option that best describes your cycle during the past year.",required:!0,options:["0-2","3-5","6-12"],apiType:"SINGLESELECT"}]},{id:"conditionsSex",title:"Please indicate if you have or have had any of the following conditions.",questions:[{id:"conditionsSex",type:"MULTISELECT",displayQuestion:"",question:"Please indicate if you have or have had any of the following conditions.",required:!0,options:["None","Personal history of breast cancer","Lichen Sclerosis or other vulvar skin condition","Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)","Endometrial cancer (uterine cancer)"],apiType:"MULTISELECT"}]},{id:"symptomsBreastCancerSex",title:"You have options!",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancerSex",type:"CHECKBOX",question:"I have read and understand",displayQuestion:"While systemic hormone therapy is generally not prescribed to patients with a history of invasive breast cancer, there are other treatment options available to manage your menopause symptoms.*<br /><br />All doctors who prescribe for LumiVera are menopause-trained and follow the guidelines provided by ACOG and The Menopause Society.<br /><br />Many breast cancer patients are candidates for vaginal estrogen and non-hormonal treatments. A consultation can help you explore these options and help you find an approach for your individual needs.<br /><br />",required:!0,options:["I have read and understand"],apiType:"SINGLESELECT"}]},{id:"symptomsBreastCancerSex2",title:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancerSex2",type:"textarea",displayQuestion:"",question:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",required:!0,apiType:"TEXT"}]},{id:"symptomsPostmenopausalSex",title:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"):t==="Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"},questions:[{id:"symptomsPostmenopausalSex",type:"SINGLESELECT",displayQuestion:"",question:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsPostmenopausalSex2",title:"Please select the type of evaluation.",renderCondition:e=>e.conditionsSex==="Yes",questions:[{id:"symptomsPostmenopausalSex2",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please select the type of evaluation.",options:["Pelvic exam","Pelvic or transvaginal ultrasound","Endometrial biopsy","Hysteroscopy","D&C","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"symptomsPostmenopausalSexDetails",title:"Please provide more detail.",renderCondition:e=>e.conditionsSex==="Yes",questions:[{id:"symptomsPostmenopausalSexDetails",type:"textarea",displayQuestion:"",question:"Please provide more detail.",required:!0,apiType:"TEXT"}]},{id:"usingBirthControlSex",title:"Are you currently using any form of birth control?",questions:[{id:"usingBirthControlSex",type:"SINGLESELECT",displayQuestion:"",question:"Select one.",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"birthControlWhichSex",title:"Which birth control product are you currently using?",renderCondition:e=>e.usingBirthControlSex==="Yes",questions:[{id:"birthControlWhichSex",type:"MULTISELECT",displayQuestion:"",question:"Which birth control product are you currently using?",required:!0,options:["Birth control pill","Birth control patch","Vaginal ring (NuvaRing or Annovera)","Birth control shot (Depo-Provera)","Nexplanon arm implant","Hormonal IUD (Mirena, Liletta, Kyleena, Skyla)","Copper IUD (Paragard)","Sterilization (tubal ligation or tubes removed)","My partner has had a vasectomy","Condoms","Phexxi","Other"],apiType:"MULTISELECT"},{id:"birthControlWhichSexOther",type:"text",displayQuestion:"",question:"Please specify your other birth control method:",required:!0,placeholder:"Enter details",apiType:"TEXT",renderCondition:e=>{const t=e.birthControlWhichSex;return Array.isArray(t)?t.includes("Other"):t==="Other"}}]},{id:"takenHormoneTreatmentSex",title:"Hormone therapy history",questions:[{id:"takenHormoneTreatmentSex",type:"SINGLESELECT",displayQuestion:"(e.g. birth control pills, compounded hormones or creams, sprays, gels, or hormonal pellets)",question:"Have you ever used or are you currently using hormone therapy?",options:["Yes, I am currently using hormone therapy","I stopped using hormone therapy within the last 90 days","I used hormone therapy in the past","No, I have never used hormone therapy"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"takenHormoneTreatmentDetailsSex",title:"What menopausal hormone treatment are you currently taking or have stopped taking?",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentDetailsSex",type:"textarea",displayQuestion:"Please include name of medication and dosage.",question:"What menopausal hormone treatment are you currently taking or have stopped taking?",required:!0,apiType:"TEXT"}]},{id:"takenHormoneTreatmentStatusSex",title:"Please let us know more about your current or past hormone therapy.",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentStatusSex",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please let us know more about your current or past hormone therapy.",required:!0,options:["I am happy with my current hormone therapy","My symptoms are not completely gone on my current hormone therapy","I am having side effects to my current hormone therapy","I do not need a RX for hormone therapy, I am getting one from my own clinician","I would like LumiVera to recommend and provide the hormone therapy","I would like a change from my current hormone therapy","I have tried birth control pills for perimenopausal symptoms and I want other options like MHT","None of the above"],apiType:"MULTISELECT"}]},{id:"takenHormoneTreatmentMoreDetailsSex",title:"Please add more details.",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentMoreDetailsSex",type:"textarea",displayQuestion:"",question:"Please add more details.",required:!0,apiType:"TEXT"}]},{id:"takingMedicationsSex",title:"Are you currently taking any medications?",questions:[{id:"takingMedicationsSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently taking any medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"currentMedicationsSex",title:"Please list all current medications.",renderCondition:e=>e.takingMedicationsSex==="Yes",questions:[{id:"currentMedicationsSex",type:"textarea",displayQuestion:"Please be specific. For example, instead of 'thyroid medication,' please specify the brand, like 'Levothyroxine'.",question:"Please list all current medications.",required:!0,apiType:"TEXT"}]},{id:"sexualHealthConcerns",title:"Let's discuss your sexual health concerns.",questions:[{id:"sexualHealthConcerns",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Let's discuss your sexual health concerns.",options:["Decreased sexual desire (I don't feel the desire to engage in sexual activity)","Decreased sexual arousal (once engaged in sexual activity, I find it difficult to become aroused)","Difficulty with orgasm","Painful sex","Decreased lubrication"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"bloodThinners",title:"Are you currently using blood thinners and/or nitrates?",questions:[{id:"bloodThinners",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently using blood thinners and/or nitrates?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergiesSex",title:"Are you allergic to Sildenafil, Pentoxifylline, and/or Ergoloid Mesylate?",questions:[{id:"allergiesSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you allergic to Sildenafil, Pentoxifylline, and/or Ergoloid Mesylate?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"pregnantBreastfeedingSex",title:"Are you pregnant and/or breastfeeding?",questions:[{id:"pregnantBreastfeedingSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you pregnant and/or breastfeeding?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergyMedicationsSex",title:"Do you have any allergies or reactions to medications?",questions:[{id:"allergyMedicationsSex",type:"SINGLESELECT",displayQuestion:"This includes all allergies, intolerances, and reactions to foods or previous medications (e.g. peanut allergies)",question:"Do you have any allergies or reactions to medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergyMedicationsSexDetails",title:"Please list all allergies or reactions to medications or adhesives.",questions:[{id:"allergyMedicationsSexDetails",type:"SINGLESELECT",displayQuestion:"If you have no known allergies, continue to the next question.",question:"Please list all allergies or reactions to medications or adhesives.",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","N
24one"],required:!0,apiType:"TEXT"},{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],ki=[{id:"hairLossHistory",title:"Do you have a family history of hair loss?",questions:[{id:"hairLossHistory",type:"SINGLESELECT",displayQuestion:"",question:"Do you have a family history of hair loss?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLoss",title:"Are you experiencing hair thinning or loss?",renderCondition:e=>e.hairLossHistory==="Yes",questions:[{id:"experiencingHairLoss",type:"SINGLESELECT",displayQuestion:"",question:"Are you experiencing hair thinning or loss?",options:["Hair thinning","Hair loss","Both","Neither"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossWhere",title:"Where is this happening?",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossWhere",type:"SINGLESELECT",displayQuestion:"",question:"Where is this happening?",options:["Certain spots on top of my head","Spots on sides of my head","All over my head"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossWhen",title:"When did you first start noticing changes to your hair?",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossWhen",type:"SINGLESELECT",displayQuestion:"",question:"When did you first start noticing changes to your hair?",options:["In the past month","Over the past 3 - 6 months","Within the past year","Over a year ago","Not sure"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossHow",title:"Did these changes happen suddenly or gradually?",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossHow",type:"SINGLESELECT",displayQuestion:"",question:"Did these changes happen suddenly or gradually?",options:["All of a sudden","Gradually over time","Not sure"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossWhy",title:"Was there a trigger for your hair loss?",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossWhy",type:"SINGLESELECT",displayQuestion:"",question:"Was there a trigger for your hair loss?",options:["Medication","Stress","Scalp inflammation","Grooming practices","Other","Not sure"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossConcerns",title:"Do you have any existing concerns about facial or body hair?",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossConcerns",type:"SINGLESELECT",displayQuestion:"",question:"Do you have any existing concerns about facial or body hair?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"experiencingHairLossConcernsDetails",title:"Please elaborate on your concerns",renderCondition:e=>{const t=e.experiencingHairLoss;return t==="Hair thinning"||t==="Hair loss"||t==="Both"},questions:[{id:"experiencingHairLossConcernsDetails",type:"textarea",displayQuestion:"",question:"Please elaborate on your concerns",required:!0,apiType:"TEXT"}]},{id:"personalHistoryHairLoss",title:"Do you have a personal history of any of the following:",questions:[{id:"personalHistoryHairLoss",type:"MULTISELECT",displayQuestion:"",question:"Do you have a personal history of any of the following:",options:["Anemia","Heavy periods (e.g. bleeding is more frequent than every 21 days, bleeding lasts longer than 8 days, bleeding through a tampon or pad in 1-2 hours)","Significant cardiac disease (i.e. History of pericardial effusion, pericarditis, congestive heart failure, pulmonary hypertension)","Tachycardia or cardiac arrhythmia","Liver disease","Kidney disease or on dialysis","Low blood pressure ( BP consistently <= 90/60 )","Other types of diagnosed hair loss, including scarring alopecia","Thyroid Disorder (hypothyroid or hyperthyroid)","None of the above"],required:!0,apiType:"MULTISELECT"}]},{id:"thyroidControlled",title:"Is your thyroid condition well controlled?",renderCondition:e=>e.personalHistoryHairLoss.includes("Thyroid Disorder (hypothyroid or hyperthyroid)"),questions:[{id:"thyroidControlled",type:"SINGLESELECT",displayQuestion:"",question:"Is your thyroid condition well controlled?",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"pregnantBreastfeedingHair",title:"Are you pregnant and/or breastfeeding?",questions:[{id:"pregnantBreastfeedingHair",type:"SINGLESELECT",displayQuestion:"",question:"Are you pregnant and/or breastfeeding?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"postpartumHair",title:"Are you less than 6 months postpartum?",questions:[{id:"postpartumHair",type:"SINGLESELECT",displayQuestion:"",question:"Are you less than 6 months postpartum?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]}
24,{id:"unpredictablePeriodsHair",title:"Which of the following describes how your periods are becoming more unpredictable?",renderCondition:e=>e.personalHistoryHairLoss==="Heavy periods (e.g. bleeding is more frequent than every 21 days, bleeding lasts longer than 8 days, bleeding through a tampon or pad in 1-2 hours)",questions:[{id:"unpredictablePeriodsHair",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Which of the following describes how your periods are becoming more unpredictable?",options:["Bleeding is more frequent than every 21 days","Bleeding last longer than 8 days","Periods are now heavier","I bleed through a tampon or pad in 1-2 hours","Bleeding is less frequent and/or I skip more than 2 months at a time","Bleeding is much lighter","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"unpredictablePeriodsDetailsHair",title:"Please describe how your periods are becoming more unpredictable.",renderCondition:e=>{const t=e.unpredictablePeriodsHair,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"unpredictablePeriodsDetailsHair",type:"textarea",displayQuestion:"",question:"Please describe how your periods are becoming more unpredictable.",required:!0,apiType:"TEXT"}]},{id:"recentGynEvalHair",title:"Have you had a recent GYN evaluation?",renderCondition:e=>{const t=e.unpredictablePeriodsHair,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEvalHair",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Have you had a recent GYN evaluation?",required:!0,options:["I have had a regular GYN evaluation in past 12 months","I have had a pelvic or transvaginal ultrasound","I have had an endometrial biopsy","I have had a D&C","I have had a hysteroscopy","I have had blood work done","Other - please explain"],apiType:"MULTISELECT"}]},{id:"recentGynEvalDetailsHair",title:"Please tell us more.",renderCondition:e=>{const t=e.unpredictablePeriodsHair,T=Array.isArray(t)?t.includes("Other"):t==="Other",a=e.cycleDescribed;return T||a==="I have not had a period in over a year"||a==="My menstrual cycle has been impacted by a medical procedure"},questions:[{id:"recentGynEvalDetailsHair",type:"textarea",displayQuestion:"Please provide details, or in your own words, a summary of relevant results.",question:"Please tell us more.",required:!0,apiType:"TEXT"}]},{id:"procedureImpactedPeriodsHair",title:"Which of the following medical procedures has impacted your menstrual cycle?",renderCondition:e=>e.personalHistoryHairLoss==="My menstrual cycle has been impacted by a medical procedure",questions:[{id:"procedureImpactedPeriodsHair",type:"SINGLESELECT",displayQuestion:"",question:"Which of the following medical procedures has impacted your menstrual cycle?",required:!0,options:["Bilateral oophorectomy","Endometrial ablation","Uterine artery embolization (UAE)","Hormonal IUD","Hysterectomy (surgical removal of the uterus)","Other"],apiType:"SINGLESELECT"}]},{id:"bilateralOopheroctomyAgeHair",title:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriodsHair==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyAgeHair",type:"text",displayQuestion:"",question:"At what age did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"bilateralOopheroctomyWhyHair",title:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",renderCondition:e=>e.procedureImpactedPeriodsHair==="Bilateral oophorectomy",questions:[{id:"bilateralOopheroctomyWhyHair",type:"textarea",displayQuestion:"",question:"Why did you have a bilateral oophorectomy (removal of both ovaries)?",required:!0,apiType:"TEXT"}]},{id:"hysteroctomyAgeHair",title:"At what age did you have a hysterectomy?",renderCondition:e=>e.procedureImpactedPeriodsHair==="Hysterectomy (surgical removal of the uterus)",questions:[{id:"hysteroctomyAgeHair",type:"text",displayQuestion:"",question:"At what age did you have a hysterectomy?",required:!0,apiType:"TEXT"}]},{id:"hysteroctomyWhyHair",title:"Why did you have a hysterectomy?",renderCondition:e=>e.procedureImpactedPeriodsHair==="Hysterectomy (surgical removal of the uterus)",questions:[{id:"hysteroctomyWhyHair",type:"text",displayQuestion:"",question:"Why did you have a hysterectomy?",required:!0,apiType:"TEXT"}]},{id:"allergyHair",title:"Are you allergic to vitamin D and/or minoxidil?",questions:[{id:"allergyHair",type:"SINGLESELECT",displayQuestion:"",question:"Are you allergic to vitamin D and/or minoxidil?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"allergyMedicationHair",title:"Do you have any allergies or reactions to medications?",questions:[{id:"allergyMedicationHair",type:"SINGLESELECT",displayQuestion:"This includes all allergies, intolerances, and reactions to foods or previous medications (e.g. peanut allergies)",question:"Do you have any allergies or reactions to medications?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"allergyMedicationHairDetails",title:"Please list all allergies or reactions to medications or adhesives.",renderCondition:e=>e.allergyMedicationHair==="Yes",questions:[{id:"allergyMedicationHairDetails",type:"textarea",displayQuestion:"If you have no known allergies, continue to the next question.",question:"Please list all allergies or reactions to medications or adhesives.",required:!0,apiType:"TEXT"}]},{id:"takingMinoxidil",title:"Are you currently taking oral or topical minoxidil?",questions:[{id:"takingMinoxidil",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently taking oral or topical minoxidil?",required:!0,options:["Yes, oral only","Yes, topical only","Yes, oral and topical","No, neither"],apiType:"SINGLESELECT"}]},{id:"takingMinoxidilOral",title:"What dose of oral minoxidil are you currently taking?",renderCondition:e=>{const t=e.takingMinoxidil;return t==="Yes, oral only"||t==="Yes, oral and topical"},questions:[{id:"takingMinoxidilOral",type:"SINGLESELECT",displayQuestion:"",question:"What dose of oral minoxidil are you currently taking?",required:!0,options:["0.5mg","1mg","1.5mg","2mg"],apiType:"SINGLESELECT"}]},{id:"takingMinoxidilTopical",title:"What topical formulation are you taking?",renderCondition:e=>{const t=e.takingMinoxidil;return t==="Yes, topical only"||t==="Yes, oral and topical"},questions:[{id:"takingMinoxidilTopical",type:"SINGLESELECT",displayQuestion:"",question:"What topical formulation are you taking?",required:!0,options:["Minoxidil 2%","Minoxidil 5%","Compounded/high concentration"],apiType:"SINGLESELECT"}]},{id:"takingMinoxidilOralHappy",title:"Are you satisfied with your oral minoxidil dose?",renderCondition:e=>{const t=e.takingMinoxidil;return t==="Yes, oral only"||t==="Yes, oral and topical"},questions:[{id:"takingMinoxidilOralHappy",type:"SINGLESELECT",displayQuestion:"",question:"Are you satisfied with your oral minoxidil dose?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"takingMinoxidilTopicalHappy",title:"Are you satisfied with your topical minoxidil dose?",renderCondition:e=>{const t=e.takingMinoxidil;return t==="Yes, topical only"||t==="Yes, oral and topical"},questions:[{id:"takingMinoxidilTopicalHappy",type:"SINGLESELECT",displayQuestion:"",question:"Are you satisfied with your topical minoxidil dose?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"takingMedicationsHair",title:"Are you currently taking any medications?",questions:[{id:"takingMedicationsHair",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently taking any medications?",required:!0,options:["Yes","No"],apiType:"SINGLESELECT"}]},{id:"takingMedicationsHairDetails",title:"Please list all current medications.",renderCondition:e=>e.takingMedicationsHair==="Yes",questions:[{id:"takingMedicationsHairDetails",type:"textarea",displayQuestion:"Please be specific. For example, instead of 'thyroid medication, please specify the brand, like 'Levothyroxine'.",question:"Please list all current medications.",required:!0,apiType:"TEXT"}]},{id:"takingMedicationsHairSupplements",title:"Are you currently taking any of the following supplements for hair?",questions:[{id:"takingMedicationsHairSupplements",type:"MULTISELECT",displayQuestion:"",question:"Are you currently taking any of the following supplements for hair?",required:!0,options:["Nutrafol","Viviscal","Biotin","Vitamin D","Zinc","Other (specify)","N
24one"],apiType:"MULTISELECT"}]},{id:"takingMedicationsHairDetails",title:"Please specify the other hair supplements you are taking.",renderCondition:e=>e.personalHistoryHairLoss.includes("Other (specify)"),questions:[{id:"takingMedicationsHairDetails",type:"textarea",displayQuestion:"",question:"Please specify the other hair supplements you are taking.",required:!0,apiType:"TEXT"}]},{id:"symptomsBreastCancerSex",title:"You have options!",subtext:"While systemic hormone therapy is generally not prescribed to patients with a history of invasive breast cancer, there are other treatment options available to manage your menopause symptoms.*<br /><br />All doctors who prescribe for LumiVera are menopause-trained and follow the guidelines provided by ACOG and The Menopause Society.",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancerSex",type:"CHECKBOX",question:"I have read and understand",displayQuestion:"Many breast cancer patients are candidates for vaginal estrogen and non-hormonal treatments. A consultation can help you explore these options and help you find an approach for your individual needs.",required:!0,options:["I have read and understand"],apiType:"SINGLESELECT"}]},{id:"symptomsBreastCancerSex2",title:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Personal history of breast cancer"):t==="Personal history of breast cancer"},questions:[{id:"symptomsBreastCancerSex2",type:"textarea",displayQuestion:"",question:"Please provide the year of your breast cancer diagnosis, stage of breast cancer, and estrogen receptor status.",required:!0,apiType:"TEXT"}]},{id:"symptomsPostmenopausalSex",title:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",renderCondition:e=>{const t=e.conditionsSex;return Array.isArray(t)?t.includes("Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"):t==="Unexplained episodes of postmenopausal bleeding (if you've had no period in over a year)"},questions:[{id:"symptomsPostmenopausalSex",type:"SINGLESELECT",displayQuestion:"",question:"Have you had an evaluation for the unexplained episodes of post-menopausal bleeding?",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"symptomsPostmenopausalSex2",title:"Please select the type of evaluation.",renderCondition:e=>e.conditionsSex==="Yes",questions:[{id:"symptomsPostmenopausalSex2",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please select the type of evaluation.",options:["Pelvic exam","Pelvic or transvaginal ultrasound","Endometrial biopsy","Hysteroscopy","D&C","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"symptomsPostmenopausalSexDetails",title:"Please provide more detail.",renderCondition:e=>e.conditionsSex==="Yes",questions:[{id:"symptomsPostmenopausalSexDetails",type:"textarea",displayQuestion:"",question:"Please provide more detail.",required:!0,apiType:"TEXT"}]},{id:"usingBirthControlSex",title:"Are you currently using any form of birth control?",questions:[{id:"usingBirthControlSex",type:"SINGLESELECT",displayQuestion:"",question:"Select one.",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"birthControlWhichSex",title:"Which birth control product are you currently using?",renderCondition:e=>e.usingBirthControlSex==="Yes",questions:[{id:"birthControlWhichSex",type:"MULTISELECT",displayQuestion:"",question:"Which birth control product are you currently using?",required:!0,options:["Birth control pill","Birth control patch","Vaginal ring (NuvaRing or Annovera)","Birth control shot (Depo-Provera)","Nexplanon arm implant","Hormonal IUD (Mirena, Liletta, Kyleena, Skyla)","Copper IUD (Paragard)","Sterilization (tubal ligation or tubes removed)","My partner has had a vasectomy","Condoms","Phexxi","Other"],apiType:"MULTISELECT"},{id:"birthControlWhichSexOther",type:"text",displayQuestion:"",question:"Please specify your other birth control method:",required:!0,placeholder:"Enter details",apiType:"TEXT",renderCondition:e=>{const t=e.birthControlWhichSex;return Array.isArray(t)?t.includes("Other"):t==="Other"}}]},{id:"takenHormoneTreatmentSex",title:"Hormone therapy history",questions:[{id:"takenHormoneTreatmentSex",type:"SINGLESELECT",displayQuestion:"(e.g. birth control pills, compounded hormones or creams, sprays, gels, or hormonal pellets)",question:"Have you ever used or are you currently using hormone therapy?",options:["Yes, I am currently using hormone therapy","I stopped using hormone therapy within the last 90 days","I used hormone therapy in the past","No, I have never used hormone therapy"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"takenHormoneTreatmentDetailsSex",title:"What menopausal hormone treatment are you currently taking or have stopped taking?",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I stopped using hormone therapy within the last 90 days"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentDetailsSex",type:"textarea",displayQuestion:"Please include name of medication and dosage.",question:"What menopausal hormone treatment are you currently taking or have stopped taking?",required:!0,apiType:"TEXT"}]},{id:"takenHormoneTreatmentStatusSex",title:"Please let us know more about your current or past hormone therapy.",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I recently stopped taking hormones (within the last 90 days)"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentStatusSex",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Please let us know more about your current or past hormone therapy.",required:!0,options:["I am happy with my current hormone therapy","My symptoms are not completely gone on my current hormone therapy","I am having side effects to my current hormone therapy","I do not need a RX for hormone therapy, I am getting one from my own clinician","I would like LumiVera to recommend and provide the hormone therapy","I would like a change from my current hormone therapy","I have tried birth control pills for perimenopausal symptoms and I want other options like MHT","None of the above","I am having side effects to my current hormone therapy","I am having side effects to my current hormone therapy"],apiType:"MULTISELECT"}]},{id:"takenHormoneTreatmentMoreDetailsSex",title:"Please add more details.",renderCondition:e=>{const t=e.takenHormoneTreatmentSex;return t==="Yes, I am currently using hormone therapy"||t==="I recently stopped taking hormones (within the last 90 days)"||t==="I used hormone therapy in the past"},questions:[{id:"takenHormoneTreatmentMoreDetailsSex",type:"textarea",displayQuestion:"",question:"Please add more details.",required:!0,apiType:"TEXT"}]},{id:"takingMedicationsSex",title:"Are you currently taking any medications?",questions:[{id:"takingMedicationsSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently taking any medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"currentMedicationsSex",title:"Please list all current medications.",renderCondition:e=>e.takingMedicationsSex==="Yes",questions:[{id:"currentMedicationsSex",type:"textarea",displayQuestion:"Please be specific. For example, instead of 'thyroid medication,' please specify the brand, like 'Levothyroxine'.",question:"Please list all current medications.",required:!0,apiType:"TEXT"}]},{id:"sexualHealthConcerns",title:"Let's discuss your sexual health concerns.",questions:[{id:"sexualHealthConcerns",type:"MULTISELECT",displayQuestion:"Check all that apply:",question:"Let's discuss your sexual health concerns.",options:["Decreased sexual desire (I don't feel the desire to engage in sexual activity)","Decreased sexual arousal (once engaged in sexual activity, I find it difficult to become aroused)","Difficulty with orgasm","Painful sex","Decreased lubrication"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"bloodThinners",title:"Are you currently using blood thinners and/or nitrates?",questions:[{id:"bloodThinners",type:"SINGLESELECT",displayQuestion:"",question:"Are you currently using blood thinners and/or nitrates?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergiesSex",title:"Are you allergic to Sildenafil, Pentoxifylline, and/or Ergoloid Mesylate?",questions:[{id:"allergiesSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you allergic to Sildenafil, Pentoxifylline, and/or Ergoloid Mesylate?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"pregnantBreastfeedingSex",title:"Are you pregnant and/or breastfeeding?",questions:[{id:"pregnantBreastfeedingSex",type:"SINGLESELECT",displayQuestion:"",question:"Are you pregnant and/or breastfeeding?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergyMedicationsSex",title:"Do you have any allergies or reactions to medications?",questions:[{id:"allergyMedicationsSex",type:"SINGLESELECT",displayQuestion:"This includes all allergies, intolerances, and reactions to foods or previous medications (e.g. peanut allergies)",question:"Do you have any allergies or reactions to medications?",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"allergyMedicationsSexDetails",title:"Please list all allergies or reactions to medications or adhesives.",questions:[{id:"allergyMedicationsSexDetails",type:"SINGLESELECT",displayQuestion:"If you have no known allergies, continue to the next question.",question:"Please list all allergies or reactions to medications or adhesives.",options:["Yes","No"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","N
24one"],required:!0,apiType:"TEXT"},{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],Di=[{id:"b12DeficiencyDiagnosis",title:"Have you been diagnosed with vitamin B12 deficiency by a physician or other healthcare professional?",questions:[{id:"b12DeficiencyDiagnosis",question:"B12 Deficiency Diagnosis",displayQuestion:"This helps us understand your current medical status",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"medicalConditions",title:"Do you have any of the following conditions?",questions:[{id:"medicalConditions",question:"Medical Conditions",displayQuestion:"Please check all that apply",type:"MULTISELECT",options:["Leber's optic neuropathy","Polycythemia Vera","Gout","Low potassium levels","Anemia for any reason other than low vitamin B12","Any other blood disorder","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"heightWeight",title:"What is your height and weight? We'll use this to calculate your body mass index (BMI)",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[1,2,3,4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"gender",title:"What is your gender?",questions:[{id:"gender",type:"SINGLESELECT",question:"Gender",displayQuestion:"This helps us provide personalized care",options:["Male","Female"],required:!0,apiType:"SINGLESELECT",displayAsRow:!0}]},{id:"currentMedicalConditions",title:"Please list all current medical conditions",questions:[{id:"currentMedicalConditions",question:"Current Medical Conditions",displayQuestion:"Please type N/A if none",type:"textarea",required:!0,placeholder:"List current medical conditions, or type N/A",apiType:"TEXT"}]},{id:"currentMedications",title:"Please list all your current medications, including prescription, over-the-counter, or supplements.",questions:[{id:"currentMedications",question:"Current Medications",displayQuestion:"Please include dosages. Type N/A if none.",type:"textarea",required:!0,placeholder:"List medications with dosages, or type N/A",apiType:"TEXT"}]},{id:"allergies",title:"Please list all of your known allergies",questions:[{id:"allergies",question:"Allergies",displayQuestion:"Please type N/A if none",type:"textarea",required:!0,placeholder:"List all known allergies, or type N/A if none",apiType:"TEXT"}]},{id:"additionalInfo",title:"Is there anything else you want to tell your doctor?",questions:[{id:"additionalInfo",question:"Additional Information",displayQuestion:"Please share any additional information you think is important (optional)",type:"textarea",required:!1,placeholder:"Any additional information for your doctor",apiType:"TEXT"}]},{id:"consultationType",title:"Choose your preferred consultation method. Email/Text is fastest, Phone/Video has a consultation fee.",questions:[{id:"consultationType",type:"SINGLESELECT",displayAsRow:!0,question:"$49 consultation fee will apply only if your prescription is approved and you choose not to proceed with treatment. The consultation is free if you move forward with purchasing your prescription. If you prefer to speak with your provider prior to approval, please select Phone or Video Consultation.",options:["Email and Text Message (Fastest Option)","Video","Phone Call"],required:!0,apiType:"SINGLESELECT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","None"],required:!0,apiType:"TEXT"}
24,{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],Ni=[{id:"physicalActivity",title:"How physically active are you?",questions:[{id:"physicalActivity",question:"Physical Activity Level",displayQuestion:"Understanding your activity level helps us assess your needs",type:"SINGLESELECT",displayAsRow:!0,options:["Sedentary","Somewhat Active","Active but not athletic","Athletic","Competitive/Biohacker"],required:!0,apiType:"SINGLESELECT"}]},{id:"reproductiveStatus",title:"Which of the following apply to your reproductive status?",questions:[{id:"reproductiveStatus",type:"SINGLESELECT",displayAsRow:!0,displayQuestion:"This information helps us ensure safe treatment",question:"Reproductive Status",options:["I am not currently pregnant or breastfeeding","I am currently pregnant or breastfeeding","I plan to become pregnant or breastfeed within next 6 months","I am currently going through menopause","I had a hysterectomy or am post-menopause"],required:!0,apiType:"SINGLESELECT"}]},{id:"medicalConditionsNad",title:"Do you have any one of the following Medical Conditions?",questions:[{id:"medicalConditionsNad",type:"MULTISELECT",displayQuestion:"Select all that apply",question:"Medical Conditions",options:["Diabetes","Hypertension (High Blood Pressure)","Thyroid condition","Asthma or COPD","Anxiety or depression","HIV OR AIDS","Kidney disease","Cancer","Arrhythmia or irregular heart beat","Vascular disease (stroke, blood clots etc)","Heart Failure","Gallbladder disease","Liver disease","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"heightWeight",title:"What is your height and weight? We'll use this to calculate your body mass index (BMI)",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[1,2,3,4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"gender",title:"What is your gender?",questions:[{id:"gender",type:"SINGLESELECT",displayQuestion:"This helps us provide personalized care",question:"Gender",options:["Male","Female"],required:!0,displayAsRow:!0,apiType:"SINGLESELECT"}]},{id:"liverFunction",title:"Have you ever been told your liver is not working properly?",questions:[{id:"liverFunction",question:"Liver Function",displayQuestion:"Please provide details if applicable",type:"textarea",required:!0,placeholder:"Describe any liver issues or type N/A if none",apiType:"TEXT"}]},{id:"heartFunction",title:"Have you ever been told your heart is not pumping properly?",questions:[{id:"heartFunction",question:"Heart Function",displayQuestion:"Please provide details if applicable",type:"textarea",required:!0,placeholder:"Describe any heart issues or type N/A if none",apiType:"TEXT"}]},{id:"smokingStatus",title:"Do you currently smoke?",questions:[{id:"smokingStatus",question:"Smoking Status",displayQuestion:"Please provide details if applicable",type:"text",required:!0,placeholder:"Describe your smoking status or type N/A if none",apiType:"TEXT"}]},{id:"familyHistory",title:"Do any of your immediate family members have a history of the following conditions?",questions:[{id:"familyHistory",type:"MULTISELECT",question:"Family History",displayQuestion:"Check all that apply",options:["Cancer","Heart disease","Dementia","Diabetes","High blood pressure","High Cholesterol","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"primaryCareProvider",title:"Do you have a primary care provider?",questions:[{id:"primaryCareProvider",question:"Primary Care Provider",displayQuestion:"Please provide details if applicable",type:"textarea",required:!0,placeholder:"Describe your primary care situation or type N/A if none",apiType:"TEXT"}]},{id:"healthCheckup",title:"Have you had a general health check-up or routine physical in the past three years?",questions:[{id:"healthCheckup",question:"Health Check-up",displayQuestion:"This helps us understand your current health status",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"allergies",title:"Please list all of your known allergies",questions:[{id:"allergies",question:"Allergies",displayQuestion:"Please type N/A if none. This helps us avoid potential reactions",type:"textarea",required:!0,placeholder:"List all known allergies, or type N/A",apiType:"TEXT"}]}
24,{id:"interestInNad",title:"Understanding your goals helps us provide better care",questions:[{id:"interestInNad",question:"Interest in NAD+",displayQuestion:"Why are you interested in NAD+ Injections?",type:"textarea",required:!0,placeholder:"Please describe your interest in NAD+ therapy",apiType:"TEXT"}]},{id:"previousNadExperience",title:"Have you ever used NAD+ by patch, IV infusion, injection or nasal spray?",questions:[{id:"previousNadExperience",question:"Previous NAD+ Experience",displayQuestion:"This helps us understand your experience level",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"nadExperienceDetails",title:"Please describe and include any reactions, side effects and/or benefits you may have experienced",renderCondition:e=>e.previousNadExperience==="Yes",questions:[{id:"nadExperienceDetails",question:"NAD+ Experience Details",displayQuestion:"This helps us understand your previous experience",type:"textarea",required:!0,placeholder:"Describe your previous NAD+ experience",apiType:"TEXT"}]},{id:"selfInjectionComfort",title:"Do you feel comfortable drawing up the NAD+ solution and injecting yourself using an insulin-sized needle and syringe?",questions:[{id:"selfInjectionComfort",question:"Self Injection Comfort",displayQuestion:"This helps us determine the best administration method",type:"SINGLESELECT",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"additionalInfo",title:"Is there anything else you want to tell your doctor?",questions:[{id:"additionalInfo",question:"Additional Information",displayQuestion:"Please share any additional information you think is important (optional)",type:"textarea",required:!1,placeholder:"Any additional information for your doctor",apiType:"TEXT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","None"],required:!0,apiType:"TEXT"},{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],Hi=[{id:"heightWeight",title:"What is your height and weight?",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[1,2,3,4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"reproductiveStatus",title:"Which of the following apply to your reproductive status?",questions:[{id:"reproductiveStatus",type:"SINGLESELECT",displayAsRow:!0,options:["I am not currently pregnant nor breastfeeding","I am currently pregnant or breastfeeding","I plan to become pregnant or breastfeed within the next 6 months","I am currently going through menopause","I had a hysterectomy or am post-menopausal"],required:!1,apiType:"SINGLESELECT"}]},{id:"medicalConditions",title:"Do you have any one of the following Medical Conditions? (Check all that apply)",questions:[{id:"medicalConditions",type:"MULTISELECT",displayAsRow:!0,options:["Chronic kidney disease","Asthma","Zinc deficiency","None of the above"],required:!0,apiType:"MULTISELECT"}]},{id:"glutathioneInterest",title:"Why are you interested in glutathione supplementation?",questions:[{id:"glutathioneInterest",type:"MULTISELECT",displayAsRow:!0,options:["To help with a chronic disease","For energy support","For aging support","Other"],required:!0,apiType:"MULTISELECT"}]},{id:"currentMedicalConditions",title:"Please list all current medical conditions. Please type N/A if none.",questions:[{id:"currentMedicalConditions",type:"textarea",required:!0,placeholder:"List current medical conditions, or type N/A",apiType:"TEXT"}]},{id:"currentMedications",title:"Please list all your current medications, including prescription, over-the-counter, and supplements, including dosages. Please type N/A if none.",questions:[{id:"currentMedications",type:"textarea",required:!0,placeholder:"List medications with dosages, or type N/A",apiType:"TEXT"}]},{id:"allergies",title:"Please list allergies to prescription or over-the-counter medicines, herbs, vitamins, supplements, food, dye
24s, or anything else. Please type N/A if none.",questions:[{id:"allergies",type:"textarea",required:!0,placeholder:"List all known allergies, or type N/A",apiType:"TEXT"}]},{id:"additionalInfo",title:"Is there anything else you want to tell your doctor?",questions:[{id:"additionalInfo",type:"textarea",required:!0,placeholder:"Any additional information for your doctor",apiType:"TEXT"}]},{id:"heardAboutUs",title:"How did you hear about us?",questions:[{id:"heardAboutUs",type:"DROPDOWN",displayQuestion:"",question:"How did you hear about us?",options:["Reddit","Facebook","Google","Instagram","Word of mouth","Referral","Orderly Meds","Other (please specify)","None"],required:!0,apiType:"TEXT"},{id:"heardAboutUsDetails",type:"textarea",renderCondition:e=>e.heardAboutUs==="Other (please specify)",displayQuestion:"",question:"Please specify how you heard about us.",required:!0,apiType:"TEXT"}]}],Oi=[{id:"desiredBenefits",title:"What benefits are you seeking?",questions:[{id:"desiredBenefits",type:"MULTISELECT",question:"Desired Benefits",displayQuestion:"Please check all that apply. This helps us understand your goals",options:["Muscle gain","Fat loss","Improved healing","Memory/cognitive benefits","Better sleep","General anti-aging","Other"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"medicalContraindications",title:"Do any of the following apply to you?",questions:[{id:"medicalContraindications",type:"MULTISELECT",question:"Medical Contraindications",displayQuestion:"Please select all that apply. This helps us assess safety",options:["Active cancer diagnosis","Disease of the pituitary gland","Untreated hypothyroidism","Uncontrolled diabetes","Intracranial lesion/tumor","Heart failure","None of the above"],required:!0,displayAsRow:!0,apiType:"MULTISELECT"}]},{id:"heightWeight",title:"What is your height and weight? We'll use this to calculate your body mass index (BMI)",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[1,2,3,4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"gender",title:"What is your gender?",questions:[{id:"gender",type:"SINGLESELECT",question:"Gender",displayQuestion:"This helps us provide personalized care",options:["Male","Female"],required:!0,apiType:"SINGLESELECT",displayAsRow:!0}]},{id:"reproductiveStatus",renderCondition:e=>e.gender==="Female",title:"Are you pregnant, planning to become pregnant, or breastfeeding?",questions:[{id:"reproductiveStatus",question:"Reproductive Status",displayQuestion:"This information helps us ensure safe treatment",type:"SINGLESELECT",options:["Currently pregnant","Planning to become pregnant within the next 6 months","Breastfeeding","None of the above"],displayAsRow:!0,required:!0,apiType:"SINGLESELECT"}]},{id:"currentMedicalConditions",title:"Please list all current medical conditions",questions:[{id:"currentMedicalConditions",question:"Current Medical Conditions",displayQuestion:"Please type N/A if none. This helps us understand your health profile",type:"textarea",required:!0,placeholder:"List current medical conditions, or type N/A ",apiType:"TEXT"}]},{id:"currentMedications",title:"Please list all your current medications",questions:[{id:"currentMedications",type:"textarea",question:"Current Medications",displayQuestion:"Please include dosages. Type N/A if none.",required:!0,placeholder:"List medications with dosages, or type N/A",apiType:"TEXT"}]},{id:"allergies",title:"Please list all of your known allergies",questions:[{id:"allergies",question:"Allergies",displayQuestion:"Please type N/A if none. This helps us avoid potential reactions",type:"textarea",required:!0,placeholder:"List all known allergies, or type N/A if none",apiType:"TEXT"}]},{id:"additionalInfo",title:"Is there anything else you want to tell your doctor?",questions:[{id:"additionalInfo",question:"Additional Information",displayQuestion:"Please share any additional information you think is important (optional)",type:"textarea",required:!1,placeholder:"Any additional information for your doctor (optional)",apiType:"TEXT"}]}],gt=[{id:"heightWeight",title:"What is your height and weight?",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"longevitySymptomChecklist",title:"What are you currently experiencing?",questions:[{id:"longevitySymptomChecklist",type:"MULTISELECT",question:"Symptoms",displayQuestion:"Select all that apply.",options:["I'm tired all the time","I'm not seeing results from my workouts","I can't lose weight","I can't seem to focus","My skin is aging in a way I don't like","I get sick more often than I'd like to","I'm dealing with chronic pain","I'm having digestive or gut issues","My wounds take forever to heal","I'm not sleeping well","I'm stressed all the time","I don't feel like myself in the bedroom","I'm not sure â I just want to feel better overall"],required:!0,apiType:"MULTISELECT"}]},{id:"longevityDisqualifyingConditions",title:"Do any of these conditions apply to you?",questionSubtext:"These questions help your provider determine which treatments are safest for you. Please answer as completely as you can.",questions:[{id:"longevityDisqualifyingConditions",type:"MULTISELECT",question:"Medical Conditions",displayQuestion:"Select all that apply.",options:[...wi,et],required:!0,apiType:"MULTISELECT",exclusiveOption:et}]},{id:"currentMedications",title:"Are you currently taking any medications, including supplements?",questions:[{id:"currentMedications",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"currentMedicationsDetails",title:"Please list all current medications including Rx, OTC, and supplements with dosages.",renderCondition:e=>e.currentMedications==="Yes",questions:[{id:"currentMedicationsDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"knownAllergies",title:"Do you have any known allergies?",questions:[{id:"knownAllergies",type:"SINGLESELECT",question:"",displayQuestion:"",options:["Yes","No"],required:!0,apiType:"SINGLESELECT"}]},{id:"knownAllergiesDetails",title:"Please list all known allergies.",renderCondition:e=>e.knownAllergies==="Yes",questions:[{id:"knownAllergiesDetails",type:"textarea",question:"",displayQuestion:"",required:!0,apiType:"TEXT"}]},{id:"otherOngoingHealthConditions",title:"Please describe any other ongoing health conditions.",questions:[{id:"otherOngoingHealthConditions",type:"textarea",question:"",displayQuestion:"",required:!1,apiType:"TEXT"}]},{id:"additionalProviderInfo",title:"Is there anything else you'd like your provider to know?",questions:[{id:"additionalProviderInfo",type:"textarea",question:"",displayQuestion:"",required:!1,apiType:"TEXT"}]},{id:"personalInfo",title:"What is your full name? This is the name your provider will use to address you.",renderCondition:e=>!tt(e),questions:[{id:"firstName",question:"First Name",type:"text",required:!0,placeholder:"Enter your first name",apiType:"TEXT",validation:[{type:"required",message:"First name is required"}],halfWidth:!0},{id:"lastName",question:"Last Name",type:"text",required:!0,placeholder:"Enter your last name",apiType:"TEXT",validation:[{type:"required",message:"Last name is required"}],halfWidth:!0},{id:"shippingState",type:"DROPDOWN",question:"State",displayQuestion:"What state do you live in?",options:kt,required:!0,apiType:"TEXT"},{id:"email",question:"Email Address",type:"email",required:!0,placeholder:"[email protected]",apiType:"TEXT",validation:[{type:"required",message:"Email address is required"},{type:"email",message:"Please enter a valid email address"}]},{id:"phone",question:"Phone Number",type:"tel",required:!0,placeholder:"123-456-7890",apiType:"TEXT",validation:[{type:"required",message:"Phone number is required"},{type:"phone",message:"Please enter a valid US phone number (e.g., 123-456-7890 or (123) 456-7890)"}]}]},{id:"longevityContactInfo",title:"A few last things",renderCondition:e=>!tt(e),questions:[{id:"tosPrivacyConsent",type:"CHECKBOX",required:!0,options:['I agree to the <a href="https://lumivera.com/legal/terms-and-conditions" target="_blank" rel="noopener" class="underline">Terms of Service</a> and <a href="https://lumivera.com/legal/privacy-practices" target="_blank" rel="noopener" class="underline">Privacy Policy</a>
24. I agree to receive non-marketing emails or text messages related to my account (e.g., appointment reminders).'],apiType:"SINGLESELECT"},{id:"marketingConsent",type:"CHECKBOX",required:!1,options:["I consent to receive marketing emails and text messages from LumiVera at the email address and phone number provided, including promotions, discounts, and product/service updates. Msg frequency varies. Msg & data rates may apply. Reply HELP for help, STOP to opt out. Consent is not a condition of purchase."],apiType:"SINGLESELECT"}]}],ce=[{id:"gender",title:"What sex were you assigned at birth?",questions:[{id:"gender",type:"SINGLESELECT",question:"Gender",displayQuestion:"This helps your provider recommend the safest and most appropriate care.",options:["Female","Male"],required:!0,apiType:"SINGLESELECT",optionImages:["/assets/images/option_icons/gender_option2.svg","/assets/images/option_icons/gender_option1.svg"]}]},{id:"heightWeight",title:"What is your height and weight? We'll use this to calculate your body mass index (BMI)",displayValue:{condition:e=>e.feet&&e.inches!=null&&e.weight,calculate:e=>{const T=(e.feet*12+e.inches)*.0254;return(e.weight*.453592/(T*T)).toFixed(2)},template:"BMI: {{value}}"},questions:[{id:"feet",question:"Feet",type:"DROPDOWN",required:!0,options:[4,5,6,7],apiType:"TEXT"},{id:"inches",question:"Inches",type:"DROPDOWN",required:!0,options:[0,1,2,3,4,5,6,7,8,9,10,11],apiType:"TEXT"},{id:"weight",question:"Weight (in lbs)",type:"number",required:!0,placeholder:"Enter your weight",apiType:"TEXT"}]},{id:"dob",title:"What is your date of birth?",questions:[{id:"dobMonth",question:"Month",type:"DROPDOWN",required:!0,options:Array.from({length:12},(e,t)=>t+1),optionLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],apiType:"TEXT"},{id:"dobDay",question:"Day",type:"DROPDOWN",required:!0,options:Array.from({length:31},(e,t)=>t+1),apiType:"TEXT"},{id:"dobYear",question:"Year",type:"DROPDOWN",required:!0,options:Array.from({length:90},(e,t)=>2010-t),apiType:"TEXT"}]},{id:"personalInfo",title:"What is your full name? This is the name your provider will use to address you.",questions:[{id:"firstName",question:"First Name",type:"text",required:!0,placeholder:"Enter your first name",apiType:"TEXT",validation:[{type:"required",message:"First name is required"}]},{id:"lastName",question:"Last Name",type:"text",required:!0,placeholder:"Enter your last name",apiType:"TEXT",validation:[{type:"required",message:"Last name is required"}]}]},{id:"contactInfo",title:"Create your account to complete your intake form",questions:[{id:"email",question:"Email Address",type:"email",required:!0,placeholder:"[email protected]",apiType:"TEXT",icon:"/assets/images/email-icon.svg",validation:[{type:"required",message:"Email address is required"},{type:"email",message:"Please enter a valid email address"}]},{id:"password",question:"Password",type:"text",required:!0,placeholder:"Enter your password",apiType:"TEXT"},{id:"phone",question:"Phone Number",type:"tel",required:!0,placeholder:"123-456-7890",apiType:"TEXT",icon:"/assets/images/phone-icon.svg",validation:[{type:"required",message:"Phone number is required"},{type:"phone",message:"Please enter a valid US phone number (e.g., 123-456-7890 or (123) 456-7890)"}]},{id:"consent",type:"CHECKBOX",required:!0,options:["I confirm that I am the patient completing this intake form and have reviewed all questions carefully. I attest that my answers are true, accurate, and complete to the best of my knowledge. I understand the importance of providing my doctor with complete and accurate health information for my care."],apiType:"SINGLESELECT"},{id:"messageConsent",type:"CHECKBOX",required:!0,options:["Opt in to receive text messages regarding your account and order status."],apiType:"SINGLESELECT"},{id:"smsConsent",type:"CHECKBOX",required:!1,options:['By checking this box, I agree to receive recurring marketing emails, text messages (SMS) or calls from LumiVera, including messages sent using automated technology, and auto dialer and/or prerecorded or artificial voice. I understand that consent is not a condition of purchase, that message and data rates may apply, and that I can opt out or revoke my consent at any time by replying "STOP" to any text message.'],apiType:"SINGLESELECT"}]}],Xe=[{id:"gender",title:"What sex were you assigned at birth?",questions:[{id:"gender",type:"SINGLESELECT",question:"Gender",displayQuestion:"This helps your provider recommend the safest and most appropriate care.",options:["Female","Male"],required:!0,apiType:"SINGLESELECT",optionImages:["/assets/images/option_icons/gender_option2.svg","/assets/images/option_icons/gender_option1.svg"]}]},{id:"dob",title:"What is your date of birth?",questions:[{id:"dobMonth",question:"Month",type:"DROPDOWN",required:!0,options:Array.from({length:12},(e,t)=>t+1),optionLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],apiType:"TEXT"},{id:"dobDay",question:"Day",type:"DROPDOWN",required:!0,options:Array.from({length:31},(e,t)=>t+1),apiType:"TEXT"},{id:"dobYear",question:"Year",type:"DROPDOWN",required:!0,options:Array.from({length:90},(e,t)=>2010-t),apiType:"TEXT"}]},{id:"personalInfo",title:"What is your full name? This is the name your provider will use to address you.",questions:[{id:"firstName",question:"First Name",type:"text",required:!0,placeholder:"Enter your first name",apiType:"TEXT",validation:[{type:"required",message:"First name is required"}]},{id:"lastName",question:"Last Name",type:"text",required:!0,placeholder:"Enter your last name",apiType:"TEXT",validation:[{type:"required",message:"Last name is required"}]}]},{id:"contactInfo",title:"Let's get your contact details to complete your intake form",questions:[{id:"email",question:"Email Address",type:"email",required:!0,placeholder:"[email protected]",apiType:"TEXT",icon:"/assets/images/email-icon.svg",validation:[{type:"required",message:"Email address is required"},{type:"email",message:"Please enter a valid email address"}]},{id:"password",question:"Password",type:"text",required:!0,placeholder:"Enter your password",apiType:"TEXT"},{id:"phone",question:"Phone Number",type:"tel",required:!0,placeholder:"123-456-7890",apiType:"TEXT",icon:"/assets/images/phone-icon.svg",validation:[{type:"required",message:"Phone number is required"},{type:"phone",message:"Please enter a valid US phone number (e.g., 123-456-7890 or (123) 456-7890)"}]},{id:"consent",type:"CHECKBOX",required:!0,options:["I confirm that I am the patient completing this intake form and have reviewed all questions carefully. I attest that my answers are true, accurate, and complete to the best of my knowledge. I understand the importance of providing my doctor with complete and accurate health information for my care."],apiType:"SINGLESELECT"},{id:"messageConsent",type:"CHECKBOX",required:!0,options:["Opt in to receive text messages regarding your account and order status."],apiType:"SINGLESELECT"},{id:"smsConsent",type:"CHECKBOX",required:!1,options:['By checking this box, I agree to re
24ceive recurring marketing emails, text messages (SMS) or calls from LumiVera, including messages sent using automated technology, and auto dialer and/or prerecorded or artificial voice. I understand that consent is not a condition of purchase, that message and data rates may apply, and that I can opt out or revoke my consent at any time by replying "STOP" to any text message.'],apiType:"SINGLESELECT"}]}],Dt={id:"weight-loss",name:"Weight Loss Intake Form",description:"Comprehensive medical intake form for GLP-1 weight loss medication",version:"1.0.0",progressSteps:[{id:"start",name:"Start",description:"Weight loss goals and past initiatives",color:"#A75809"},{id:"preliminary",name:"Preliminary",description:"BMI, age, and GLP-1 medication status",color:"#A75809"},{id:"health",name:"Health",description:"Health screening and medical history",color:"#A75809"},{id:"details",name:"Details",description:"Current medications and surgical history",color:"#A75809"},{id:"eligibility",name:"Eligibility",description:"ID upload, consultation type, and consent",color:"#A75809"}],stepProgressMapping:[{stepId:"weightLossGoals",progressStepId:"start"},{stepId:"triedInPast",progressStepId:"start"},{stepId:"currentGlp1",progressStepId:"preliminary"},{stepId:"currentGlp1Type",progressStepId:"preliminary"},{stepId:"lastDoseDate",progressStepId:"preliminary"},{stepId:"lastDoseStrength",progressStepId:"preliminary"},{stepId:"prescriptionUpload",progressStepId:"preliminary"},{stepId:"pregnancyStatus",progressStepId:"health"},{stepId:"criticalConditions",progressStepId:"health"},{stepId:"medicalConditions1",progressStepId:"health"},{stepId:"medicalConditions2",progressStepId:"details"},{stepId:"currentMedications",progressStepId:"details"},{stepId:"medicationList",progressStepId:"details"},{stepId:"surgicalHistory",progressStepId:"details"},{stepId:"allergies",progressStepId:"eligibility"},{stepId:"consultationType",progressStepId:"eligibility"},{stepId:"dob",progressStepId:"eligibility"},{stepId:"personalInfo",progressStepId:"eligibility"},{stepId:"idUploadUniversal",progressStepId:"eligibility"}],steps:[...Mi,...ce],metadata:{category:"medical",estimatedTime:"15-20 minutes",targetAudience:"Adults seeking weight loss medication",compliance:["HIPAA","FDA guidelines"]}},Nt={id:"menopause",name:"Menopause Intake Form",description:"Comprehensive medical intake form for menopause treatment",version:"2.0.0",progressSteps:[{id:"basics",name:"Basics",description:"Sex, gender identity, and hormone journey",color:"#A75809"},{id:"symptoms",name:"Symptoms",description:"Current symptoms and hormone history",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions and health history",color:"#A75809"},{id:"contact",name:"Contact",description:"Account, contact info, and consents",color:"#A75809"}],stepProgressMapping:[{stepId:"gender",progressStepId:"basics"},{stepId:"genderIdentity",progressStepId:"basics"},{stepId:"hormoneJourney",progressStepId:"basics"},{stepId:"uterusIntact",progressStepId:"basics"},{stepId:"progesteroneInfo",progressStepId:"basics"},{stepId:"menopauseSymptomChecklist",progressStepId:"symptoms"},{stepId:"symptomTreatmentInfo",progressStepId:"symptoms"},{stepId:"personalInfo",progressStepId:"symptoms"},{stepId:"dob",progressStepId:"symptoms"},{stepId:"heightWeight",progressStepId:"symptoms"},{stepId:"dheaAddOnInterest",progressStepId:"symptoms"},{stepId:"systemicRouteChoice",progressStepId:"symptoms"},{stepId:"priorHormoneProducts",progressStepId:"symptoms"},{stepId:"priorHormoneProductsDetails",progressStepId:"symptoms"},{stepId:"fertilityPlans",progressStepId:"symptoms"},{stepId:"fertilityPlansDetails",progressStepId:"symptoms"},{stepId:"birthControlMethods",progressStepId:"symptoms"},{stepId:"medicalConditions",progressStepId:"history"},{stepId:"otherMedicalConditions",progressStepId:"history"},{stepId:"otherMedicalConditionsDetails",progressStepId:"history"},{stepId:"currentMedications",progressStepId:"history"},{stepId:"currentMedicationsDetails",progressStepId:"history"},{stepId:"knownAllergies",progressStepId:"history"},{stepId:"knownAllergiesDetails",progressStepId:"history"},{stepId:"tobaccoUse",progressStepId:"history"},{stepId:"recentHormoneLabs",progressStepId:"history"},{stepId:"recentHormoneLabsTiming",progressStepId:"history"},{stepId:"recentHormoneLabsUpload",progressStepId:"history"},{stepId:"additionalProviderInfo",progressStepId:"history"},{stepId:"menopauseContactInfo",progressStepId:"contact"}],steps:[ce.find(e=>e.id==="gender"),...it.filter(e=>e.id!=="heightWeight").flatMap(e=>e.id==="personalInfo"?[e,ce.find(t=>
24t.id==="dob"),it.find(t=>t.id==="heightWeight")]:[e])],metadata:{category:"medical",estimatedTime:"10-15 minutes",targetAudience:"Adults seeking menopause treatment",compliance:["HIPAA","FDA guidelines"]}},Ht={id:"skincare",name:"Skincare Intake Form",description:"Comprehensive medical intake form for skincare treatment",version:"1.0.0",progressSteps:[{id:"goals",name:"Goals",description:"Skincare goals and objectives",color:"#A75809"},{id:"skin",name:"Skin",description:"Skin sensitivity and tretinoin usage",color:"#A75809"},{id:"conditions",name:"Conditions",description:"Skin conditions and allergies",color:"#A75809"},{id:"health",name:"Health",description:"Pregnancy status and medications",color:"#A75809"},{id:"contact",name:"Contact",description:"Date of birth and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"skincareGoals",progressStepId:"goals"},{stepId:"skinSensitivity",progressStepId:"skin"},{stepId:"usingTretinoin",progressStepId:"skin"},{stepId:"tretinoinStrength",progressStepId:"skin"},{stepId:"skinConditions",progressStepId:"conditions"},{stepId:"skinConditionsOther",progressStepId:"conditions"},{stepId:"skincareAllergies",progressStepId:"conditions"},{stepId:"skincareAllergiesWhich",progressStepId:"conditions"},{stepId:"skincareAllergiesDetails",progressStepId:"conditions"},{stepId:"pregnantBreastfeeding",progressStepId:"health"},{stepId:"takingMedications",progressStepId:"health"},{stepId:"takingMedicationsDetails",progressStepId:"health"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...at,...Xe],metadata:{category:"medical",estimatedTime:"10-15 minutes",targetAudience:"Adults seeking skincare treatment",compliance:["HIPAA","FDA guidelines"]}},Ot={id:"sexual",name:"Sexual Health Intake Form",description:"Comprehensive medical intake form for sexual health treatment",version:"1.0.0",progressSteps:[{id:"symptoms",name:"Symptoms",description:"Genitourinary and sexual health symptoms",color:"#A75809"},{id:"periods",name:"Periods",description:"Menstrual cycle and period history",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions and health history",color:"#A75809"},{id:"treatment",name:"Treatment",description:"Birth control, hormones, medications, and allergies",color:"#A75809"},{id:"contact",name:"Contact",description:"Date of birth and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"genitourinarySymptoms",progressStepId:"symptoms"},{stepId:"sexualHealthConcerns",progressStepId:"symptoms"},{stepId:"lastMenstrualPeriodSex",progressStepId:"periods"},{stepId:"cycleDescribedSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetailsSex",progressStepId:"periods"},{stepId:"recentGynEvalSex",progressStepId:"periods"},{stepId:"recentGynEvalDetailsSex",progressStepId:"periods"},{stepId:"moreThan10YearsSex",progressStepId:"periods"},{stepId:"procedureImpactedPeriodsSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAgeSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhySex",progressStepId:"periods"},{stepId:"otherProcedureSex",progressStepId:"periods"},{stepId:"howManyPeriodsSex",progressStepId:"periods"},{stepId:"conditionsSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSexDetails",progressStepId:"history"},{stepId:"usingBirthControlSex",progressStepId:"treatment"},{stepId:"birthControlWhichSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetailsSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatusSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetailsSex",progressStepId:"treatment"},{stepId:"takingMedicationsSex",progressStepId:"treatment"},{stepId:"currentMedicationsSex",progressStepId:"treatment"},{stepId:"bloodThinners",progressStepId:"treatment"},{stepId:"allergiesSex",progressStepId:"treatment"},{stepId:"pregnantBreastfeedingSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSexDetails",progressStepId:"treatment"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...dt,...Xe],metadata:{category:"medical",estimatedTime:"15-20 minutes",targetAudience:"Adults seeking sexual health treatment",compliance:["HIPAA","FDA guidelines"]}},Ut={id:"hair",name:"Hair Health Intake Form",description:"Comprehensive medical intake form for hair health treatment",version:"1.0.0",progressSteps:[{id:"history",name:"History",description:"Family and personal hair loss history",color:"#A75809"}
24,{id:"symptoms",name:"Symptoms",description:"Hair loss symptoms and concerns",color:"#A75809"},{id:"health",name:"Health",description:"Medical conditions and period history",color:"#A75809"},{id:"treatment",name:"Treatment",description:"Current medications and supplements",color:"#A75809"},{id:"contact",name:"Contact",description:"Date of birth and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"hairLossHistory",progressStepId:"history"},{stepId:"personalHistoryHairLoss",progressStepId:"history"},{stepId:"thyroidControlled",progressStepId:"history"},{stepId:"experiencingHairLoss",progressStepId:"symptoms"},{stepId:"experiencingHairLossWhere",progressStepId:"symptoms"},{stepId:"experiencingHairLossWhen",progressStepId:"symptoms"},{stepId:"experiencingHairLossHow",progressStepId:"symptoms"},{stepId:"experiencingHairLossWhy",progressStepId:"symptoms"},{stepId:"experiencingHairLossConcerns",progressStepId:"symptoms"},{stepId:"experiencingHairLossConcernsDetails",progressStepId:"symptoms"},{stepId:"pregnantBreastfeedingHair",progressStepId:"health"},{stepId:"postpartumHair",progressStepId:"health"},{stepId:"unpredictablePeriodsHair",progressStepId:"health"},{stepId:"unpredictablePeriodsDetailsHair",progressStepId:"health"},{stepId:"recentGynEvalHair",progressStepId:"health"},{stepId:"recentGynEvalDetailsHair",progressStepId:"health"},{stepId:"procedureImpactedPeriodsHair",progressStepId:"health"},{stepId:"bilateralOopheroctomyAgeHair",progressStepId:"health"},{stepId:"bilateralOopheroctomyWhyHair",progressStepId:"health"},{stepId:"hysteroctomyAgeHair",progressStepId:"health"},{stepId:"hysteroctomyWhyHair",progressStepId:"health"},{stepId:"allergyHair",progressStepId:"health"},{stepId:"allergyMedicationHair",progressStepId:"health"},{stepId:"allergyMedicationHairDetails",progressStepId:"health"},{stepId:"takingMinoxidil",progressStepId:"treatment"},{stepId:"takingMinoxidilOral",progressStepId:"treatment"},{stepId:"takingMinoxidilTopical",progressStepId:"treatment"},{stepId:"takingMinoxidilOralHappy",progressStepId:"treatment"},{stepId:"takingMinoxidilTopicalHappy",progressStepId:"treatment"},{stepId:"takingMedicationsHair",progressStepId:"treatment"},{stepId:"takingMedicationsHairDetails",progressStepId:"treatment"},{stepId:"takingMedicationsHairSupplements",progressStepId:"treatment"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...ki,...Xe],metadata:{category:"medical",estimatedTime:"15-20 minutes",targetAudience:"Adults seeking hair health treatment",compliance:["HIPAA","FDA guidelines"]}},Gt={id:"gut",name:"Gut Health Intake Form",description:"Medical intake form for gut health treatment",version:"1.0.0",progressSteps:[{id:"contact",name:"Contact",description:"Date of birth and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...Xe],metadata:{category:"medical",estimatedTime:"5-10 minutes",targetAudience:"Adults seeking gut health treatment",compliance:["HIPAA","FDA guidelines"]}},Qt={id:"menopause-sexual",name:"Menopause & Sexual Health Intake Form",description:"Comprehensive medical intake form for menopause and sexual health treatment",version:"1.0.0",progressSteps:[{id:"symptoms",name:"Symptoms",description:"Menopausal and sexual health symptoms",color:"#A75809"},{id:"periods",name:"Periods",description:"Menstrual cycle and period history",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions and health history",color:"#A75809"},{id:"treatment",name:"Treatment",description:"Birth control, hormones, medications, and allergies",color:"#A75809"},{id:"contact",name:"Contact",description:"Height, weight, date of birth, and contact information",color:"#A75809"}],hideSteps:["lastMenstrualPeriodSex","cycleDescribedSex","unpredictablePeriodsSex","unpredictablePeriodsDetailsSex","howManyPeriodsSex","recentGynEvalSex","recentGynEvalDetailsSex","moreThan10YearsSex","procedureImpactedPeriodsSex","bilateralOopheroctomyAgeSex","bilateralOopheroctomyWhySex","otherProcedureSex","howManyPeriodsSex","symptomsPostmenopausalSex","symptomsPostmenopausalSex2","symptomsPostmenopausalSexDetails","symptomsBreastCancerSex","symptomsBreastCancerSex2","usingBirthControlSex","birthControlWhichSex","takenHormoneTreatmentSex","takenHormoneTreatmentDetailsSex","takenHormoneTreatmentStatusSex","takenHormoneTreatmentMoreDetailsSex","takingMedicationsSex","currentMedicationsSex","allergiesSex"],stepProgressMapping:[{stepId:"menopausalSymptoms",progressStepId:"symptoms"},{stepId:"menopausalSymptomsDetails",progressStepId:"symptoms"},{stepId:"genitourinarySymptoms",progressStepId:"symptoms"},{stepId:"sexualHealthConcerns",progressStepId:"symptoms"},{stepId:"lastMenstrualPeriod",progressStepId:"periods"},{stepId:"cycleDescribed",progressStepId:"periods"}
24,{stepId:"unpredictablePeriods",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetails",progressStepId:"periods"},{stepId:"recentGynEval",progressStepId:"periods"},{stepId:"recentGynEvalDetails",progressStepId:"periods"},{stepId:"moreThan10Years",progressStepId:"periods"},{stepId:"procedureImpactedPeriods",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAge",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhy",progressStepId:"periods"},{stepId:"otherProcedure",progressStepId:"periods"},{stepId:"howManyPeriods",progressStepId:"periods"},{stepId:"lastMenstrualPeriodSex",progressStepId:"periods"},{stepId:"cycleDescribedSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetailsSex",progressStepId:"periods"},{stepId:"recentGynEvalSex",progressStepId:"periods"},{stepId:"recentGynEvalDetailsSex",progressStepId:"periods"},{stepId:"moreThan10YearsSex",progressStepId:"periods"},{stepId:"procedureImpactedPeriodsSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAgeSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhySex",progressStepId:"periods"},{stepId:"otherProcedureSex",progressStepId:"periods"},{stepId:"howManyPeriodsSex",progressStepId:"periods"},{stepId:"lastMenstrualPeriodSex",progressStepId:"periods"},{stepId:"cycleDescribedSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetailsSex",progressStepId:"periods"},{stepId:"recentGynEvalSex",progressStepId:"periods"},{stepId:"recentGynEvalDetailsSex",progressStepId:"periods"},{stepId:"moreThan10YearsSex",progressStepId:"periods"},{stepId:"procedureImpactedPeriodsSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAgeSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhySex",progressStepId:"periods"},{stepId:"otherProcedureSex",progressStepId:"periods"},{stepId:"howManyPeriodsSex",progressStepId:"periods"},{stepId:"symptoms",progressStepId:"history"},{stepId:"symptomsPostmenopausal",progressStepId:"history"},{stepId:"symptomsPostmenopausal2",progressStepId:"history"},{stepId:"symptomsPostmenopausalDetails",progressStepId:"history"},{stepId:"symptomsBreastCancer",progressStepId:"history"},{stepId:"symptomsBreastCancer2",progressStepId:"history"},{stepId:"symptomsEndometrialCancer",progressStepId:"history"},{stepId:"symptomsHighBloodPressure",progressStepId:"history"},{stepId:"symptomsBloodClot",progressStepId:"history"},{stepId:"symptomsGeneticClotting",progressStepId:"history"},{stepId:"symptomsBrca",progressStepId:"history"},{stepId:"symptomsBrca2",progressStepId:"history"},{stepId:"symptomsMigraines",progressStepId:"history"},{stepId:"symptomsLiverDisease",progressStepId:"history"},{stepId:"symptomsEndometriosis",progressStepId:"history"},{stepId:"symptomsOther",progressStepId:"history"},{stepId:"conditionsSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSexDetails",progressStepId:"history"},{stepId:"hysteroctomy",progressStepId:"treatment"},{stepId:"hysteroctomyAge",progressStepId:"treatment"},{stepId:"hysteroctomyWhy",progressStepId:"treatment"},{stepId:"hysteroctomyOvaries",progressStepId:"treatment"},{stepId:"mammogram",progressStepId:"treatment"},{stepId:"mammogramResults",progressStepId:"treatment"},{stepId:"mammogramResultsDetails",progressStepId:"treatment"},{stepId:"doYouSmoke",progressStepId:"treatment"},{stepId:"birthControl",progressStepId:"treatment"},{stepId:"birthControlWhich",progressStepId:"treatment"},{stepId:"birthControlHormonalIUD",progressStepId:"treatment"},{stepId:"birthControlHormonalIUDDate",progressStepId:"treatment"},{stepId:"requireContraception",progressStepId:"treatment"},{stepId:"takenHormoneTreatment",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetails",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatus",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetails",progressStepId:"treatment"},{stepId:"antidepressants",progressStepId:"treatment"},{stepId:"antidepressantsDetails",progressStepId:"treatment"},{stepId:"medications",progressStepId:"treatment"},{stepId:"medicationsDetails",progressStepId:"treatment"},{stepId:"allergies",progressStepId:"treatment"},{stepId:"allergiesDetails",progressStepId:"treatment"},{stepId:"familyConditions",progressStepId:"treatment"},{stepId:"usingBirthControlSex",progressStepId:"treatment"},{stepId:"birthControlWhichSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetailsSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatusSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetailsSex",progressStepId:"treatment"},{stepId:"takingMedicationsSex",progressStepId:"treatment"},{stepId:"currentMedicationsSex",progressStepId:"treatment"},{stepId:"bloodThinners",progressStepId:"treatment"},{stepId:"allergiesSex",progressStepId:"treatment"},{stepId:"pregnantBreastfeedingSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSexDetails",progressStepId:"treatment"},{stepId:"heightWeight",progressStepId:"contact"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...nt,...dt,...ce],metadata:{category:"medical",estimatedTime:"20-25 minutes",targetAudience:"Adults seeking menopause and sexual health treatment",compliance:["HIPAA","FDA guidelines"]}},Wt={id:"menopause-skin",name:"Menopause & Skincare Intake Form",description:"Comprehensive medical intake form for menopause and skincare treatment",version:"1.0.0",progressSteps:[{id:"symptoms",name:"Symptoms",description:"Menopausal symptoms and skincare goals",color:"#A75809"},{id:"periods",name:"Periods",description:"Menstrual cycle and period history",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions, skin conditions, and health history",color:"#A75809"},{id:"treatment",name:"Treatment",description:"Medications, allergies, and skincare details",color:"#A75809"},{id:"contact",name:"Contact",description:"Height, weight, date of birth, and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"menopausalSymptoms",progressStepId:"symptoms"},{stepId:"menopausalSymptomsDetails",progressStepId:"symptoms"},{stepId:"skincareGoals",progressStepId:"symptoms"},{stepId:"lastMenstrualPeriod",progressStepId:"periods"},{stepId:"cycleDescribed",progressStepId:"periods"}
24,{stepId:"unpredictablePeriods",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetails",progressStepId:"periods"},{stepId:"recentGynEval",progressStepId:"periods"},{stepId:"recentGynEvalDetails",progressStepId:"periods"},{stepId:"moreThan10Years",progressStepId:"periods"},{stepId:"procedureImpactedPeriods",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAge",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhy",progressStepId:"periods"},{stepId:"otherProcedure",progressStepId:"periods"},{stepId:"howManyPeriods",progressStepId:"periods"},{stepId:"symptoms",progressStepId:"history"},{stepId:"symptomsPostmenopausal",progressStepId:"history"},{stepId:"symptomsPostmenopausal2",progressStepId:"history"},{stepId:"symptomsPostmenopausalDetails",progressStepId:"history"},{stepId:"symptomsBreastCancer",progressStepId:"history"},{stepId:"symptomsBreastCancer2",progressStepId:"history"},{stepId:"symptomsEndometrialCancer",progressStepId:"history"},{stepId:"symptomsHighBloodPressure",progressStepId:"history"},{stepId:"symptomsBloodClot",progressStepId:"history"},{stepId:"symptomsGeneticClotting",progressStepId:"history"},{stepId:"symptomsBrca",progressStepId:"history"},{stepId:"symptomsBrca2",progressStepId:"history"},{stepId:"symptomsMigraines",progressStepId:"history"},{stepId:"symptomsLiverDisease",progressStepId:"history"},{stepId:"symptomsEndometriosis",progressStepId:"history"},{stepId:"symptomsOther",progressStepId:"history"},{stepId:"skinSensitivity",progressStepId:"history"},{stepId:"usingTretinoin",progressStepId:"history"},{stepId:"tretinoinStrength",progressStepId:"history"},{stepId:"skinConditions",progressStepId:"history"},{stepId:"skinConditionsOther",progressStepId:"history"},{stepId:"skincareAllergies",progressStepId:"history"},{stepId:"skincareAllergiesWhich",progressStepId:"history"},{stepId:"skincareAllergiesDetails",progressStepId:"history"},{stepId:"hysteroctomy",progressStepId:"treatment"},{stepId:"hysteroctomyAge",progressStepId:"treatment"},{stepId:"hysteroctomyWhy",progressStepId:"treatment"},{stepId:"hysteroctomyOvaries",progressStepId:"treatment"},{stepId:"mammogram",progressStepId:"treatment"},{stepId:"mammogramResults",progressStepId:"treatment"},{stepId:"mammogramResultsDetails",progressStepId:"treatment"},{stepId:"doYouSmoke",progressStepId:"treatment"},{stepId:"birthControl",progressStepId:"treatment"},{stepId:"birthControlWhich",progressStepId:"treatment"},{stepId:"birthControlHormonalIUD",progressStepId:"treatment"},{stepId:"birthControlHormonalIUDDate",progressStepId:"treatment"},{stepId:"requireContraception",progressStepId:"treatment"},{stepId:"takenHormoneTreatment",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetails",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatus",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetails",progressStepId:"treatment"},{stepId:"antidepressants",progressStepId:"treatment"},{stepId:"antidepressantsDetails",progressStepId:"treatment"},{stepId:"medications",progressStepId:"treatment"},{stepId:"medicationsDetails",progressStepId:"treatment"},{stepId:"allergies",progressStepId:"treatment"},{stepId:"allergiesDetails",progressStepId:"treatment"},{stepId:"familyConditions",progressStepId:"treatment"},{stepId:"pregnantBreastfeeding",progressStepId:"treatment"},{stepId:"takingMedications",progressStepId:"treatment"},{stepId:"takingMedicationsDetails",progressStepId:"treatment"},{stepId:"heightWeight",progressStepId:"contact"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...nt,...at,...ce],metadata:{category:"medical",estimatedTime:"20-25 minutes",targetAudience:"Adults seeking menopause and skincare treatment",compliance:["HIPAA","FDA guidelines"]}},Rt={id:"menopause-sexual-skin",name:"Menopause, Sexual Health & Skincare Intake Form",description:"Comprehensive medical intake form for menopause, sexual health, and skincare treatment",version:"1.0.0",progressSteps:[{id:"symptoms",name:"Symptoms",description:"Menopausal, sexual health symptoms, and skincare goals",color:"#A75809"},{id:"periods",name:"Periods",description:"Menstrual cycle and period history",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions, skin conditions, and health history",color:"#A75809"},{id:"treatment",name:"Treatment",description:"Birth control, hormones, medications, allergies, and skincare details",color:"#A75809"},{id:"contact",name:"Contact",description:"Height, weight, date of birth, and contact information",color:"#A75809"}],hideSteps:["lastMenstrualPeriodSex","cycleDescribedSex","unpredictablePerio
24dsSex","unpredictablePeriodsDetailsSex","howManyPeriodsSex","recentGynEvalSex","recentGynEvalDetailsSex","moreThan10YearsSex","procedureImpactedPeriodsSex","bilateralOopheroctomyAgeSex","bilateralOopheroctomyWhySex","otherProcedureSex","howManyPeriodsSex","symptomsPostmenopausalSex","symptomsPostmenopausalSex2","symptomsPostmenopausalSexDetails","symptomsBreastCancerSex","symptomsBreastCancerSex2","usingBirthControlSex","birthControlWhichSex","takenHormoneTreatmentSex","takenHormoneTreatmentDetailsSex","takenHormoneTreatmentStatusSex","takenHormoneTreatmentMoreDetailsSex","takingMedicationsSex","currentMedicationsSex","allergiesSex"],stepProgressMapping:[{stepId:"menopausalSymptoms",progressStepId:"symptoms"},{stepId:"menopausalSymptomsDetails",progressStepId:"symptoms"},{stepId:"genitourinarySymptoms",progressStepId:"symptoms"},{stepId:"sexualHealthConcerns",progressStepId:"symptoms"},{stepId:"skincareGoals",progressStepId:"symptoms"},{stepId:"lastMenstrualPeriod",progressStepId:"periods"},{stepId:"cycleDescribed",progressStepId:"periods"},{stepId:"unpredictablePeriods",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetails",progressStepId:"periods"},{stepId:"recentGynEval",progressStepId:"periods"},{stepId:"recentGynEvalDetails",progressStepId:"periods"},{stepId:"moreThan10Years",progressStepId:"periods"},{stepId:"procedureImpactedPeriods",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAge",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhy",progressStepId:"periods"},{stepId:"otherProcedure",progressStepId:"periods"},{stepId:"howManyPeriods",progressStepId:"periods"},{stepId:"lastMenstrualPeriodSex",progressStepId:"periods"},{stepId:"cycleDescribedSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsSex",progressStepId:"periods"},{stepId:"unpredictablePeriodsDetailsSex",progressStepId:"periods"},{stepId:"recentGynEvalSex",progressStepId:"periods"},{stepId:"recentGynEvalDetailsSex",progressStepId:"periods"},{stepId:"moreThan10YearsSex",progressStepId:"periods"},{stepId:"procedureImpactedPeriodsSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyAgeSex",progressStepId:"periods"},{stepId:"bilateralOopheroctomyWhySex",progressStepId:"periods"},{stepId:"otherProcedureSex",progressStepId:"periods"},{stepId:"howManyPeriodsSex",progressStepId:"periods"},{stepId:"symptoms",progressStepId:"history"},{stepId:"symptomsPostmenopausal",progressStepId:"history"},{stepId:"symptomsPostmenopausal2",progressStepId:"history"},{stepId:"symptomsPostmenopausalDetails",progressStepId:"history"},{stepId:"symptomsBreastCancer",progressStepId:"history"},{stepId:"symptomsBreastCancer2",progressStepId:"history"},{stepId:"symptomsEndometrialCancer",progressStepId:"history"},{stepId:"symptomsHighBloodPressure",progressStepId:"history"},{stepId:"symptomsBloodClot",progressStepId:"history"},{stepId:"symptomsGeneticClotting",progressStepId:"history"},{stepId:"symptomsBrca",progressStepId:"history"},{stepId:"symptomsBrca2",progressStepId:"history"},{stepId:"symptomsMigraines",progressStepId:"history"},{stepId:"symptomsLiverDisease",progressStepId:"history"},{stepId:"symptomsEndometriosis",progressStepId:"history"},{stepId:"symptomsOther",progressStepId:"history"},{stepId:"conditionsSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex",progressStepId:"history"},{stepId:"symptomsBreastCancerSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex",progressStepId:"history"},{stepId:"symptomsPostmenopausalSex2",progressStepId:"history"},{stepId:"symptomsPostmenopausalSexDetails",progressStepId:"history"},{stepId:"skinSensitivity",progressStepId:"history"},{stepId:"usingTretinoin",progressStepId:"history"},{stepId:"tretinoinStrength",progressStepId:"history"},{stepId:"skinConditions",progressStepId:"history"},{stepId:"skinConditionsOther",progressStepId:"history"},{stepId:"skincareAllergies",progressStepId:"history"},{stepId:"skincareAllergiesWhich",progressStepId:"history"},{stepId:"skincareAllergiesDetails",progressStepId:"history"},{stepId:"hysteroctomy",progressStepId:"treatment"},{stepId:"hysteroctomyAge",progressStepId:"treatment"},{stepId:"hysteroctomyWhy",progressStepId:"treatment"},{stepId:"hysteroctomyOvaries",progressStepId:"treatment"},{stepId:"mammogram",progressStepId:"treatment"},{stepId:"mammogramResults",progressStepId:"treatment"},{stepId:"mammogramResultsDetails",progressStepId:"treatment"},{stepId:"doYouSmoke",progressStepId:"treatment"},{stepId:"birthControl",progressStepId:"treatment"},{stepId:"birthControlWhich",progressStepId:"treatment"},{stepId:"birthControlHormonalIUD",progressStepId:"treatment"},{stepId:"birthControlHormonalIUDDate",progressStepId:"treatment"},{stepId:"requireContraception",progressStepId:"treatment"},{stepId:"takenHormoneTreatment",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetails",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatus",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetails",progressStepId:"treatment"},{stepId:"antidepressants",progressStepId:"treatment"},{stepId:"antidepressantsDetails",progressStepId:"treatment"},{stepId:"medications",progressStepId:"treatment"},{stepId:"medicationsDetails",progressStepId:"treatment"},{stepId:"allergies",progressStepId:"treatment"},{stepId:"allergiesDetails",progressStepId:"treatment"},{stepId:"familyConditions",progressStepId:"treatment"},{stepId:"usingBirthControlSex",progressStepId:"treatment"},{stepId:"birthControlWhichSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentDetailsSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentStatusSex",progressStepId:"treatment"},{stepId:"takenHormoneTreatmentMoreDetailsSex",progressStepId:"treatment"},{stepId:"takingMedicationsSex",progressStepId:"treatment"},{stepId:"currentMedicationsSex",progressStepId:"treatment"},{stepId:"bloodThinners",progressStepId:"treatment"},{stepId:"allergiesSex",progressStepId:"treatment"},{stepId:"pregnantBreastfeedingSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSex",progressStepId:"treatment"},{stepId:"allergyMedicationsSexDetails",progressStepId:"treatment"},{stepId:"pregnantBreastfeeding",progressStepId:"treatment"},{stepId:"takingMedications",progressStepId:"treatment"},{stepId:"takingMedicationsDetails",progressStepId:"treatment"},{stepId:"heightWeight",progressStepId:"contact"},{stepId:"dob",progressStepId:"contact"},{stepId:"personalInfo",progressStepId:"contact"}],steps:[...nt,...dt,...at,...ce],metadata:{category:"medical",estimatedTime:"25-30 minutes",targetAudience:"Adults seeking menopause, sexual health, and skincare treatment",compliance:["HIPAA","FDA guidelines"]}},_t={id:"nad-injection",name:"NAD+ Injection Intake Form",description:"Comprehensive medical intake form for NAD+ Injection treatment",version:"1.0.0",progressSteps:[{id:"activity",name:"Activity & Status",description:"Physical activity and reproductive status",color:"#A75809"},{id:"health",name:"Health",description:"Medical conditions and health history",color:"#A75809"},{id:"details",name:"Details",description:"Medications, allergies, and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"physicalActivity",progressStepId:"activity"},{stepId:"reproductiveStatus",progressStepId:"activity"},{stepId:"medicalConditionsNad",progressStepId:"health"},{stepId:"heightWeight",progressStepId:"health"},{stepId:"gender",progressStepId:"health"},{stepId:"liverFunction",progressStepId:"health"},{stepId:"heartFunction",progressStepId:"health"},{stepId:"smokingStatus",progressStepId:"health"},{stepId:"familyHistory",progressStepId:"health"},{stepId:"primaryCareProvider",progressStepId:"health"},{stepId:"healthCheckup",progressStepId:"health"},{stepId:"allergies",progressStepId:"details"},{stepId:"interestInNad",progressStepId:"details"},{stepId:"previousNadExperience",progressStepId:"details"},{stepId:"nadExperienceDetails",progressStepId:"details"},{stepId:"selfInjectionComfort",progressStepId:"details"},{stepId:"additionalInfo",progressStepId:"details"}],steps:[...Ni,...ce],metadata:{category:"medical",estimatedTime:"20-25 minutes",targetAudience:"Adults seeking NAD+ Injection treatment",compliance:["HIPAA","FDA guidelines"]}},Bt={id:"b12-methylcobalamin",name:"B12 Methylcobalamin Intake Form",description:"Comprehensive medical intake form for B12 Methylcobalamin treatment",version:"1.0.0",progressSteps:[{id:"diagnosis",name:"Diagnosis",description:"B12 deficiency diagnosis and medical conditions",color:"#A75809"}
24,{id:"health",name:"Health",description:"BMI, gender, and medical information",color:"#A75809"},{id:"details",name:"Details",description:"Medications, allergies, consultation type, and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"b12DeficiencyDiagnosis",progressStepId:"diagnosis"},{stepId:"medicalConditions",progressStepId:"diagnosis"},{stepId:"heightWeight",progressStepId:"health"},{stepId:"gender",progressStepId:"health"},{stepId:"currentMedicalConditions",progressStepId:"health"},{stepId:"currentMedications",progressStepId:"details"},{stepId:"allergies",progressStepId:"details"},{stepId:"additionalInfo",progressStepId:"details"},{stepId:"consultationType",progressStepId:"details"}],steps:[...Di,...ce],metadata:{category:"medical",estimatedTime:"15-20 minutes",targetAudience:"Adults seeking B12 Methylcobalamin treatment",compliance:["HIPAA","FDA guidelines"]}},Ft={id:"glutathione-injection",name:"Glutathione Injection Intake Form",description:"Comprehensive medical intake form for Glutathione Injection treatment",version:"1.0.0",progressSteps:[{id:"diagnosis",name:"Diagnosis",description:"B12 deficiency diagnosis and medical conditions",color:"#A75809"},{id:"health",name:"Health",description:"BMI, gender, and medical information",color:"#A75809"},{id:"details",name:"Details",description:"Medications, allergies, consultation type, and contact information",color:"#A75809"}],stepProgressMapping:[{stepId:"b12DeficiencyDiagnosis",progressStepId:"diagnosis"},{stepId:"medicalConditions",progressStepId:"diagnosis"},{stepId:"heightWeight",progressStepId:"health"},{stepId:"gender",progressStepId:"health"},{stepId:"currentMedicalConditions",progressStepId:"health"},{stepId:"currentMedications",progressStepId:"details"},{stepId:"allergies",progressStepId:"details"},{stepId:"additionalInfo",progressStepId:"details"},{stepId:"consultationType",progressStepId:"details"}],steps:[...Hi,...ce],metadata:{category:"medical",estimatedTime:"15-20 minutes",targetAudience:"Adults seeking Glutathione Injection treatment",compliance:["HIPAA","FDA guidelines"]}},Yt={id:"sermorelin",name:"Sermorelin Intake Form",description:"Complete medical intake form for Sermorelin therapy",version:"1.0.0",progressSteps:[{id:"start",name:"Start",description:"Basic information and reproductive status",color:"#10B981"},{id:"preliminary",name:"Preliminary",description:"Benefits and medical screening",color:"#10B981"},{id:"health",name:"Health",description:"Medical conditions and medications",color:"#10B981"},{id:"eligibility",name:"Eligibility",description:"Additional info and ID upload",color:"#10B981"}],stepProgressMapping:[{stepId:"reproductiveStatus",progressStepId:"start"},{stepId:"desiredBenefits",progressStepId:"start"},{stepId:"medicalContraindications",progressStepId:"start"},{stepId:"heightWeight",progressStepId:"preliminary"},{stepId:"gender",progressStepId:"preliminary"},{stepId:"currentMedicalConditions",progressStepId:"health"},{stepId:"currentMedications",progressStepId:"health"},{stepId:"allergies",progressStepId:"health"},{stepId:"additionalInfo",progressStepId:"eligibility"},{stepId:"shipToMexico",progressStepId:"eligibility"},{stepId:"dob",progressStepId:"eligibility"},{stepId:"personalInfo",progressStepId:"eligibility"},{stepId:"idUploadUniversal",progressStepId:"eligibility"}],steps:[...Oi,...ce],metadata:{category:"Sermorelin Therapy",estimatedTime:"10-15 minutes",targetAudience:"Adults interested in Sermorelin therapy for anti-aging and wellness",compliance:["HIPAA Compliant","Medical Intake Form"]}},Xt={id:"longevity",name:"Longevity Intake Form",description:"Comprehensive medical intake form for longevity and peptide treatment",version:"1.0.0",progressSteps:[{id:"basics",name:"Basics",description:"Date of birth, height/weight, and sex",color:"#A75809"},{id:"symptoms",name:"Symptoms",description:"Current symptoms",color:"#A75809"},{id:"history",name:"History",description:"Medical conditions and health history",color:"#A75809"},{id:"contact",name:"Contact",description:"Name, shipping state, and contact info",color:"#A75809"}],stepProgressMapping:[{stepId:"dob",progressStepId:"basics"},{stepId:"heightWeight",progressStepId:"basics"},{stepId:"gender",progressStepId:"basics"},{stepId:"genderIdentity",progressStepId:"basics"},{stepId:"longevitySymptomChecklist",progressStepId:"symptoms"},{stepId:"longevityDisqualifyingConditions",progressStepId:"history"},{stepId:"currentMedications",progressStepId:"history"},{stepId:"currentMedicationsDetails",progressStepId:"history"},{stepId:"knownAllergies",progressStepId:"history"},{stepId:"knownAllergiesDetails",progressStepId:"history"},{stepId:"otherOngoingHealthConditions",progressStepId:"history"},{stepId:"additionalProviderInfo",progressStepId:"history"},{stepId:"personalInfo",progressStepId:"contact"},{stepId:"longevityContactInfo",progressStepId:"contact"}],steps:[ce.find(e=>e.id==="dob"),gt.find(e=>e.id==="heightWeight"),ce.find(e=>e.id==="gender"),it.find(e=>e.id==="genderIdentity"),...gt.filter(e=>e.id!=="heightWeight")],metadata:{category:"medical",estimatedTime:"10-15 minutes",targetAudience:"Adults seeking longevity and peptide treatment",compliance:["HIPAA","FDA guidelines"]}},zt=[Dt,Nt,Ht,Ot,Ut,Gt,Qt,Wt,Rt,_t,Bt,Ft,Yt,Xt];function Fe(e){return zt.find(t=>
24t.id===e)}function rt(e){const T={"nad-injection":"longevity","b12-methylcobalamin":"longevity","glutathione-injection":"longevity","sermorelin-injection":"longevity",consultation:"menopause","testosterone-cream":"menopause","arousal-cream":"menopause","arousal-cream-4":"menopause"}[e];if(T)return Fe(T)}function Vt(e,t){return e.stepProgressMapping.find(a=>a.stepId===t)?.progressStepId}const Vi=Object.freeze(Object.defineProperty({__proto__:null,availableQuizzes:zt,getProgressStepForFormStep:Vt,getQuizById:Fe,getQuizByProductId:rt,glp1WeightLossQuiz:Dt,glutathioneQuiz:Ft,gutHealthQuiz:Gt,hairQuiz:Ut,longevityQuiz:Xt,menopauseQuiz:Nt,menopauseSexQuiz:Qt,menopauseSexSkinQuiz:Rt,menopauseSkinQuiz:Wt,nadPlusQuiz:_t,sermorelinQuiz:Yt,sexualHealthQuiz:Ot,skincareQuiz:Ht,vitaminB12Quiz:Bt},Symbol.toStringTag,{value:"Module"}));function Ie(e,t){if(!e)return e;const T=a=>t[a]||null;try{const a=T("weight"),i=T("feet"),r=T("inches"),h=T("firstName"),c=T("lastName"),S=T("email"),b=T("phone"),s=T("gender"),n=gi(a),o=fi({weight:a,feet:i,inches:r});return e.replace(/\{\{weeklyLossRange\}\}/g,n.weeklyLossRange).replace(/\{\{timeToGoal\}\}/g,n.timeToGoal).replace(/\{\{bmi\}\}/g,o.bmi).replace(/\{\{currentWeight\}\}/g,o.currentWeight).replace(/\{\{weeksToGoal\}\}/g,o.weeksToGoal).replace(/\{\{weight\}\}/g,a?.toString()||"").replace(/\{\{firstName\}\}/g,h||"").replace(/\{\{lastName\}\}/g,c||"").replace(/\{\{email\}\}/g,S||"").replace(/\{\{phone\}\}/g,b||"").replace(/\{\{gender\}\}/g,s||"").replace(/\{\{feet\}\}/g,i?.toString()||"").replace(/\{\{inches\}\}/g,r?.toString()||"")}catch(a){return console.error("Error in text interpolation:",a),e}}function Ui(e,t){if(!e)return e;const T={...e,title:e.title?Ie(e.title,t):e.title,heading1:e.heading1?Ie(e.heading1,t):e.heading1,heading2:e.heading2?Ie(e.heading2,t):e.heading2,subtext:e.subtext?Ie(e.subtext,t):e.subtext,dynamicSubtext:e.dynamicSubtext?Ie(e.dynamicSubtext,t):e.dynamicSubtext,dynamicTitle:e.dynamicTitle?Ie(e.dynamicTitle,t):e.dynamicTitle,dynamicHeading1:e.dynamicHeading1?Ie(e.dynamicHeading1,t):e.dynamicHeading1,dynamicHeading2:e.dynamicHeading2?Ie(e.dynamicHeading2,t):e.dynamicHeading2};return e.questions&&(T.questions=e.questions.map(a=>{const i={...a};return a.dynamicSubtext&&(i.dynamicSubtext=Ie(a.dynamicSubtext,t)),a.dynamicText&&(i.dynamicText=Ie(a.dynamicText,t)),i})),T}function jt(e){const t=`quiz_${e}_data`,T=`quiz_${e}_step`,a="universal_id_upload",i=Pe(!1),r=Pe(-1),h=(m,A)=>{try{localStorage.setItem(A,JSON.stringify(m))}catch(u){console.error(`Failed to save to localStorage for quiz ${e}:`,u)}},c=m=>{try{const A=localStorage.getItem(m);return A?JSON.parse(A):null}catch(A){return console.error(`Failed to load from localStorage for quiz ${e}:`,A),null}},S=()=>{try{localStorage.removeItem(t),localStorage.removeItem(T),localStorage.removeItem(a)}catch(m){console.error(`Failed to clear localStorage for quiz ${e}:`,m)}},b=m=>{const A={...m};m.idUploadUniversal&&typeof m.idUploadUniversal=="object"&&"contentType"in m.idUploadUniversal&&"data"in m.idUploadUniversal&&h(m.idUploadUniversal,a),Object.keys(A).forEach(u=>{const p=A[u];p&&typeof p=="object"&&"contentType"in p&&"data"in p&&delete A[u]}),h(A,t)},s=()=>{const m=c(t);if(m){const A=c(a);A&&(m.idUploadUniversal=A)}return m},n=m=>{h(m,T)},o=()=>{const m=c(T);return m!==null?m:-1},y=(m,A)=>m.questions.filter(p=>{if(!p.renderCondition)return!0;try{return p.renderCondition(A)}catch(I){return console.warn(`Error evaluating renderCondition for question ${p.id}:`,I),!0}}).every(p=>{if(p.type==="REPEATABLE_BLOCK")return p.required?p.fields.every(C=>{if(!C.required)return!0;const x=`${p.id}_0_${C.id}
24`,E=A[x];return E!=null&&E!==""}):!0;const I=A[p.id];if(!p.required)return!0;if(I==null||I==="")return!1;if(p.type==="MULTISELECT")return Array.isArray(I)&&I.length>0;if(p.type==="FILE_INPUT")return I!==null;if(p.type==="DROPDOWN"){let v=[];return A._preCalculatedOptions&&A._preCalculatedOptions[p.id]?v=A._preCalculatedOptions[p.id]:typeof p.options=="function"?v=p.options(A):v=p.options,v.includes(I)}return["MARKETING","BEFORE_AFTER","MEDICAL_REVIEW","PERFECT","WEIGHT_SUMMARY"].includes(p.type)?!0:"validation"in p&&p.validation&&p.validation.length>0?si(I,p.validation,A).isValid:!0}),g=(m,A)=>{for(let u=0;u<m.length;u++){const p=m[u];if(p&&!y(p,A))return u-1}return m.length-1},P=(m,A)=>{for(let u=0;u<m.length;u++){const p=m[u];if(p&&!y(p,A))return u}return m.length-1},k=(m,A)=>({formAnswers:{...A},startingStep:0}),L=(m,A,u)=>{const p=s();if(p){Object.assign(A,p),typeof window<"u"&&window.preCalculateConditionalOptions&&window.preCalculateConditionalOptions(m,A);const I=m.filter(x=>x.renderCondition?x.renderCondition(A):!0),v=g(I,A),C=P(I,A);u.value=v===I.length-1?I.length-1:C,r.value=v}else{const I=U();if(I){Object.assign(A,I),typeof window<"u"&&window.preCalculateConditionalOptions&&window.preCalculateConditionalOptions(m,A),b(I);const v=m.filter(E=>E.renderCondition?E.renderCondition(A):!0),C=g(v,A),x=P(v,A);u.value=C===v.length-1?v.length-1:x,r.value=C}else r.value=-1}i.value=!0},U=()=>{try{const m="medical-intake-form-data",A="medical-intake-form-step",u=localStorage.getItem(m),p=localStorage.getItem(A);if(u){const I=JSON.parse(u);if(e==="glp1-weight-loss")return localStorage.removeItem(m),localStorage.removeItem(A),I}return null}catch(m){return console.error(`Failed to migrate old data for quiz ${e}:`,m),null}};return{isInitialized:i,lastCompletedStep:r,initializeFormData:k,restoreClientState:L,setupAutoSave:(m,A)=>{ke(m,u=>{b(u)},{deep:!0}),ke(A,u=>{n(u)})},saveFormData:b,loadFormData:s,saveCurrentStep:n,loadLastStep:o,clearLocalStorage:S,getAllQuizData:()=>{const m={};for(let A=0;A<localStorage.length;A++){const u=localStorage.key(A);if(u&&u.startsWith("quiz_")&&u.endsWith("_data"))try{const p=localStorage.getItem(u);p&&(m[u]=JSON.parse(p))}catch(p){console.error(`Failed to parse data for key ${u}:`,p)}}return m},clearAllQuizData:()=>{const m=[];for(let A=0;A<localStorage.length;A++){const u=localStorage.key(A);u&&u.startsWith("quiz_")&&m.push(u)}m.forEach(A=>{try{localStorage.removeItem(A)}catch(u){console.error(`Failed to clear key ${A}:`,u)}})},isStepComplete:y,getLastCompletedStepIndex:g,getNextIncompleteStepIndex:P}}const ji=Object.freeze(Object.defineProperty({__proto__:null,useFormPersistence:jt},Symbol.toStringTag,{value:"Module"}));function Ue(e="smooth"){window.scrollTo({top:0,behavior:e})}const Gi=()=>{const{$efTrack:e,$efConversion:t}=Zt();return{beginQuiz:()=>(console.log("ð Triggering: BEGIN QUIZ (event_id: 137)"),e(137)),completeQuiz:()=>(console.log("â
Triggering: COMPLETE QUIZ (event_id: 138)"),e(138)),productSelected:T=>(console.log("ðï¸ Triggering: PRODUCT SELECTED (event_id: 139)",T),e(139,T)),conversion:T=>(console.log("ð Triggering: CONVERSION SUCCESSFUL (event_id: 135)",T),t(T)),caseCreated:T=>(console.log("ð Triggering: CONVERSION SUCCESSFUL (event_id: 135)",T),t(T))}};async function Qi(e,t){const T=Ke(),a=ei(),i={...T.query},r=t?{...i,...t}:i;Object.keys(r).forEach(h=>{(r[h]===void 0||r[h]===null)&&delete r[h]}),await a.push({path:e,query:r})}function Wi(e,t,T){const a=Number(e),i=Number(t),r=Number(T),h=new Date;let c=h.getFullYear()-a;return h.getMonth()+1>i||h.getMonth()+1===i&&h.getDate()>=r||c--,c}const Ri=18;function Ki(){const e=Pe(0),t=ii("currentStepIndex",()=>0),T=Ke(),a=f=>({menopause:"menopause","weight-loss":"weight-loss",sexualhealth:"sexual",hair:"hair",skincare:"skincare",gut:"gut","menopause-skin":"menopause-skin","menopause-sexualhealth":"menopause-sexual","menopause-sexualhealth-skin":"menopause-sexual-skin"})[f]||f,i=he(()=>{const f=T.query.productId,l=T.query.categoryId;if(f){const d=rt(f);if(d)return d.id;const w=Jt.find(q=>q.id===f||q.variations.some(D=>D.id===f));if(w){const q=rt(w.id);return q?q.id:w.id}}return l?a(l):"weight-loss"}),r=he(()=>{const f=i.value,l=Fe(f);return l?(l&&console.log(`â Quiz loaded: ${f} -> "${l.name}"`),l):(console.error(`Quiz with ID "${f}" not found. Available quiz IDs:`,["weight-loss","menopause","skincare","sexual","hair","gut","menopause-sexual","menopause-skin","menopause-sexual-skin"]),Fe("weight-loss"))}),h=he(()=>r.value?.progressSteps||[]),c=Pe(null),S=Pe(!1),b=Pe(null),s=Pe(!1),n=he(()=>{if(!r.value)return[];const f=r.value.steps||[],l=r.value.hideSteps||[];return f.filter(d=>!l.includes(d.id))}),o=ti({}),y=()=>
24{if(!r.value||s.value)return;try{b.value=jt(i.value),s.value=!0}catch(G){console.error("Error initializing form persistence:",G);return}if(!b.value)return;const{initializeFormData:f,restoreClientState:l,setupAutoSave:d}=b.value,w={};n.value.length>0&&n.value.flatMap(G=>G.questions).forEach(G=>{if(G.type==="REPEATABLE_BLOCK")for(const H of G.fields)w[`${G.id}_0_${H.id}`]=null;else w[G.id]=G.type==="MULTISELECT"?[]:null});const{formAnswers:q,startingStep:D}=f(n.value,w);Object.keys(q).forEach(G=>{o[G]=q[G]}),t.value===0&&(t.value=D),d(o,t),ut(async()=>{l(n.value,o,t),x(n.value,o),await ut();const G=U.value.length;t.value>=G&&(t.value=Math.max(0,G-1))})};ke(r,(f,l)=>{if(!f){console.warn("No quiz selected, cannot initialize form");return}try{const d=l&&l.id&&f.id&&f.id!==l.id;if(d&&console.log(`Quiz changed: ${l.id} -> ${f.id}`),d){s.value=!1,b.value=null,Object.keys(o).forEach(q=>{delete o[q]});const w={};f.steps&&Array.isArray(f.steps)&&f.steps.flatMap(q=>q.questions||[]).forEach(q=>{q&&q.id&&(w[q.id]=q.type==="MULTISELECT"?[]:null)}
24),Object.keys(w).forEach(q=>{o[q]=w[q]}),t.value=0,Ue()}s.value||y()}catch(d){console.error("Error in selectedQuiz watcher:",d),console.error("Quiz:",f?.id,"Old Quiz:",l?.id)}},{immediate:!0});const g=he(()=>b.value?b.value:{clearLocalStorage:()=>{},lastCompletedStep:-1,isStepComplete:()=>!1}),P=()=>g.value.clearLocalStorage(),k=he(()=>g.value.lastCompletedStep),L=(f,l)=>g.value.isStepComplete(f,l),U=he(()=>n.value.length===0?[]:n.value.filter(f=>f.renderCondition?Object.keys(o).length===0?!0:f.renderCondition(o):!0)),O=he(()=>{if(U.value.length===0||t.value>=U.value.length)return 0;const f=U.value[t.value];if(!f)return 0;const l=n.value.findIndex(d=>d.id===f.id);return l>=0?l:0}),M=he(()=>{if(U.value.length===0||t.value>=U.value.length)return null;const f=U.value[t.value];return f?Ui(f,o):null}),Q=he(()=>t.value===U.value.length-1),m=he(()=>!M.value||!L(M.value,o)?!1:M.value.questions.filter(w=>{if(!w.renderCondition)return!0;try{return w.renderCondition(o)}catch(q){return console.warn(`Error evaluating renderCondition for question ${w.id}:`,q),!0}}).every(w=>(w.type==="MARKETING"||!w.required||(o[w.id],"validation"in w&&w.validation),!0))),A=async()=>{if(m.value){if(i.value==="menopause"&&M.value?.id==="dob"&&o.dobYear&&o.dobMonth&&o.dobDay&&Wi(o.dobYear,o.dobMonth,o.dobDay)<Ri){await Oe("/not-eligible-age");return}if(i.value==="menopause"&&M.value?.id==="gender"&&o.gender==="Male"){await Oe("/refer-to-provider?reason=sex-assigned-male");return}if(typeof window<"u"&&M.value)try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"click_continue",form_progress:t.value+1,total_steps:U.value.length,form_question:M.value.heading||""})}catch(f){console.warn("GTM tracking error:",f)}if(Q.value){S.value=!0;try{if(localStorage.setItem(`quiz_${i.value}_completed`,"true"),Gi().completeQuiz(),i.value==="menopause"&&V(o)){await Oe("/refer-to-provider");return}if(i.value==="longevity"&&tt(o)){await Oe("/refer-to-provider?reason=longevity-disqualifying-condition");return}let l;if(i.value==="menopause"){const d=Pi(o);if(d.length===0){await Oe("/refer-to-provider?reason=no-qualifying-symptoms");return}o.hrtProductInterest=d.slice(1),l={productId:d[0],productIds:d.join("+"),productBundleId:void 0}}await Qi("/checkout",l)}catch{c.value="Failed to complete form. Please try again."}finally{S.value=!1}}else t.value++,Ue()}},u=()=>{if(t.value>0){if(typeof window<"u"&&M.value)try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"click_back",form_progress:t.value+1,total_steps:U.value.length,form_question:M.value.heading||""})}catch(f){console.warn("GTM tracking error:",f)}t.value--,Ue()}};ke(t,f=>{const l=U.value[f]?.id;if(!l||!r.value)return;const d=Vt(r.value,l);if(d){const w=h.value.findIndex(q=>q.id===d);w!==-1&&(e.value=w)}},{immediate:!0}),ke(U,f=>{t.value>=f.length&&(t.value=0,Ue())});const p={currentGlp1Type:["lastDoseStrength","lastDoseMonth","lastDoseDay","lastDoseYear"]};Object.entries(p).forEach(([f,l])=>{ke(()=>o[f],(d,w)=>{d!==w&&w!==void 0&&(I(f,l),x(n.value,o))})});const I=(f,l)=>{const d=o[f];d!=null&&l.forEach(w=>{o[w]!==null&&o[w]!==void 0&&(o[w]=null)})},v=f=>localStorage.getItem(`quiz_${f}_completed`)==="true",C=()=>{const f=[];for(let l=0;l<localStorage.length;l++){const d=localStorage.key(l);if(d&&d.startsWith("quiz_")&&d.endsWith("_completed")){const w=d.replace("quiz_","").replace("_completed","");f.push(w)}}return f},x=(f,l)=>{const d=l._preCalculatedOptions;let w=!1;if(d&&typeof d=="object"&&(w=f.flatMap(G=>G.questions?.filter(H=>(H.type==="DROPDOWN"||H.type==="SINGLESELECT")&&typeof H.options=="function")||[]).every(G=>d[G.id]&&Array.isArray(d[G.id])&&d[G.id].length>0)),w)return;const q={};f.forEach(D=>{D.renderCondition&&!D.renderCondition(l)||D.questions?.forEach(G=>{if(G.type==="DROPDOWN"&&typeof G.options=="function")try{const H=G.options(l);q[G.id]=H}catch(H){console.warn(`Failed to pre-calculate options for ${G.id}:`,H),q[G.id]=[]}else if(G.type==="SINGLESELECT"&&typeof G.options=="function")try{const H=G.options(l);q[G.id]=H}catch(H){console.warn(`Failed to pre-calculate options for ${G.id}:`,H),q[G.id]=[]}})}),Object.assign(l,{_preCalculatedOptions:q});try{const D=localStorage.getItem(`quiz_${i.value}_data`);if(D){const G=JSON.parse(D);G._preCalculatedOptions=q,localStorage.setItem(`quiz_${i.value}_data`,JSON.stringify(G))}}catch(D){console.warn("Failed to persist pre-calculated options:",D)}};return window.preCalculateConditionalOptions=(f,l)=>{if(l._preCalculatedOptions&&Object.keys(l._preCalculatedOptions).length>0)return;let d="weight-loss";
24try{const G=Ke();if(G&&G.query){const H=G.query.categoryId,R=G.query.productBundleId;H?d=a(H):d="weight-loss"}}catch(G){console.warn("Could not determine quiz ID from route, using default:",G)}const w=l._preCalculatedOptions;let q=!1;if(w&&typeof w=="object"&&(q=f.flatMap(H=>H.questions?.filter(R=>(R.type==="DROPDOWN"||R.type==="SINGLESELECT")&&typeof R.options=="function")||[]).every(H=>w[H.id]&&Array.isArray(w[H.id])&&w[H.id].length>0)),q)return;const D={};f.forEach(G=>{G.renderCondition&&!G.renderCondition(l)||G.questions?.forEach(H=>{if(H.type==="DROPDOWN"&&typeof H.options=="function")try{const R=H.options(l);D[H.id]=R}catch(R){console.warn(`Failed to pre-calculate options for ${H.id}:`,R),D[H.id]=[]}else if(H.type==="SINGLESELECT"&&typeof H.options=="function")try{const R=H.options(l);D[H.id]=R}catch(R){console.warn(`Failed to pre-calculate options for ${H.id}:`,R),D[H.id]=[]}})}),Object.assign(l,{_preCalculatedOptions:D});try{const G=localStorage.getItem(`quiz_${d}_data`);if(G){const H=JSON.parse(G);H._preCalculatedOptions=D,localStorage.setItem(`quiz_${d}_data`,JSON.stringify(H))}else console.warn(`No existing localStorage data found for quiz ${d}`)}catch(G){console.warn("Failed to persist pre-calculated options:",G)}},{currentQuestionIndex:t,formAnswers:o,currentStepData:M,isLastQuestion:Q,isStepComplete:m,nextStep:A,prevStep:u,submissionError:c,isLoading:S,clearFormAndRestart:()=>{if(window.confirm("Are you sure you want to restart the form?")){if(P(),r.value){const f={};r.value.steps.flatMap(l=>l.questions).forEach(l=>{f[l.id]=l.type==="MULTISELECT"?[]:null}),Object.keys(o).forEach(l=>{o[l]=Array.isArray(f[l])?[]:null})}t.value=0,Ue()}else return},clearDependentFields:I,fieldDependencies:p,isQuizCompleted:v,getCompletedQuizIds:C,preCalculateConditionalOptions:x,lastCompletedStep:k,currentProgressMarker:e,progressSteps:h,selectedQuizId:i,selectedQuiz:r,visibleSteps:U,allStepsMaster:n,currentStepIndexInAllSteps:O}}export{zi as a,fi as b,Xi as c,Ki as d,Yi as e,rt as f,Fe as g,ji as h,Vi as q,Ue as s,Gi as u,si as v};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.