1import{r as h,j as e}from"./react-vendor-CU6Sz31W.js";import{u as Ce,al as Me,b as Pe,am as We,an as Oe,ao as ze,i as Q,a3 as Be,S as _e,z as De,ap as Fe,t as k,aq as Ne,ar as qe,as as Ge,a0 as U,I as P,e as S,d as Je,at as Qe,U as Ve,au as Ie,av as Ee,g as T}from"./index-DEXJEDAi.js";import{g as Ye,d as Xe,r as Se,u as Ke,a as Ze,b as et}from"./firebase-w6DYUbFN.js";import{C as tt}from"./cloud-upload-DO_CTloa.js";import"./payment-icons-Daq1K3F1.js";const C=4,st=["Nausea","Constipation","Diarrhea","Heartburn","Fatigue","Headache","Dizziness","Injection site reaction","Other"],at={glp1:["Nausea","Vomiting","Low appetite","Stomach pain","Constipation","Diarrhea","Heartburn"],trt:["Acne or oily skin","Mood changes","Swelling","Sleep changes","Injection site reaction"],peptide:["Recovery changes","Sleep changes","Flushing","Tingling","Headache","Nausea","Injection site reaction"]};function V(t){const a=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),d=String(t.getDate()).padStart(2,"0");return`${a}-${s}-${d}`}function Ae(t,a={}){const s=a.checkinId?encodeURIComponent(a.checkinId):"";switch(t){case"getSubmittedWeeks":return{method:"GET",url:T("getSubmittedCheckInWeeks")};case"create":return{method:"POST",url:T("createCheckIn",s),body:a};case"update":return{method:"PATCH",url:T("updateCheckIn",s),body:a};case"complete":return{method:"POST",url:T("completeCheckIn",`${s}/completions`),body:a};case"deletePhoto":return{method:"DELETE",url:T("deleteCheckInPhoto",`${s}/photos/${encodeURIComponent(a.photoName||"")}`),body:a};default:return{method:"GET",url:T("getCheckIn",s)}}}function nt(t=[]){return t.length>1?"How did your treatments feel this week?":t.includes("glp1")?"How did your GLP-1 treatment feel this week?":t.includes("trt")?"How did your TRT treatment feel this week?":t.includes("peptide")?"How did your peptide treatment feel this week?":"How did your treatment feel this week?"}function rt(t=[]){const a=t.flatMap(s=>at[s]||[]);return[...new Set(a.length?[...a,"Other"]:st)]}function ft({onClose:t,setDialogProps:a}){const{userDoc:s}=Ce(),{branding:d}=Me(),c=(d==null?void 0:d.accentColor)||Pe,p=s==null?void 0:s.clientId,[i,n]=h.useState(1),[l,g]=h.useState(!0),[m,x]=h.useState(!1),[y,_]=h.useState(1),[r,w]=h.useState(""),[f,v]=h.useState(null),[j,R]=h.useState(!1),[D,W]=h.useState([]),[O,X]=h.useState(""),[u,F]=h.useState({weight:"",weightUnit:"lbs",waistCircumference:"",appetiteLevel:5,energyLevel:5,mood:5,sleepHours:"",exerciseMinutes:"",medicationAdherence:100,sideEffects:[],notes:"",photos:[]});h.useEffect(()=>{typeof a=="function"&&a({title:"Weekly check-in",description:r?`Week ${y}, ${r}`:"Weekly patient health check-in",descriptionClassName:"sr-only",headerRight:l?null:e.jsxs("span",{className:"text-xs font-medium tabular-nums text-content-tertiary",children:[i," of ",C]}),contentClassName:"sm:max-w-lg",bodyClassName:"p-3 sm:p-4 max-lg:p-2.5",mobileStickyFooter:!0})},[i,l,a,r,y]);async function H(o,I={}){const A=Ie.currentUser;if(!A)throw new Error("Not authenticated");const z=await A.getIdToken(),N=Ae(o,I),$=await fetch(N.url,{method:N.method,headers:{"Content-Type":"application/json",Authorization:`Bearer ${z}`},body:N.body===void 0?void 0:JSON.stringify(N.body)}),E=await $.json().catch(()=>null);if(!$.ok||!(E!=null&&E.success))throw new Error((E==null?void 0:E.error)||"Operation failed");return E}h.useEffect(()=>{if(!(s!=null&&s.id)||!(s!=null&&s.createdAt))return;let o=!1;async function I(){var A,z;try{g(!0);const N=await H("getSubmittedWeeks");if(o)return;const $=Fe(s.createdAt,N.weeks||[]);if(!$){t==null||t(),k.info("No weekly check-in is available right now.");return}const{startDate:E,endDate:Re}=Ne(s.createdAt,$),Z=`${s.id}_week${$}`;_($),w(qe(E,Re)),v(Z),W(((A=N.treatmentContext)==null?void 0:A.programs)||[]);const J=await Ye(Xe(Ge,"CheckIn",Z));if(o||!J.exists()||((z=J.data())==null?void 0:z.status)!=="pending")return;const b=J.data()||{};R(!0),n(Math.min(C,Math.max(1,Number(b.step)||1))),F(He=>{var ee,te,se,ae,ne,re,ie,le,oe,ce,de,ue,he,pe,me,xe,fe,ge,be,ye,ve,we,ke,je;return{...He,weight:((te=(ee=b.formData)==null?void 0:ee.step1)==null?void 0:te.weight)??"",weightUnit:((ae=(se=b.formData)==null?void 0:se.step1)==null?void 0:ae.weightUnit)||"lbs",waistCircumference:((re=(ne=b.formData)==null?void 0:ne.step1)==null?void 0:re.waistCircumference)??"",photos:((le=(ie=b.formData)==null?void 0:ie.step1)==null?void 0:le.photos)||[],appetiteLevel:((ce=(oe=b.formData)==null?void 0:oe.step2)==null?void 0:ce.appetiteLevel)??5,energyLevel:((ue=(de=b.formData)==null?void 0:de.step2)==null?void 0:ue.energyLevel)??5,mood:((pe=(he=b.formData)==null?void 0:he.step2)==null?void 0:pe.mood)??5,sleepHours:((xe=(me=b.formData)==null?void 0:me.step2)==null?void 0:xe.sleepHours)??"",exerciseMinutes:((ge=(fe=b.formData)==null?void 0:fe.step2)==null?void 0:ge.exerciseMinutes)??"",medicationAdherence:((ye
1=(be=b.formData)==null?void 0:be.step3)==null?void 0:ye.medicationAdherence)??100,sideEffects:((we=(ve=b.formData)==null?void 0:ve.step3)==null?void 0:we.sideEffects)||[],notes:((je=(ke=b.formData)==null?void 0:ke.step4)==null?void 0:je.notes)??""}})}catch(N){console.error("Error loading check-in:",N),k.error("Unable to load your check-in. Please try again.")}finally{o||g(!1)}}return I(),()=>{o=!0}},[s==null?void 0:s.id,s==null?void 0:s.createdAt]);function q(o,I){F(A=>({...A,[o]:I}))}function L(o){return o===1?{weight:u.weight,weightUnit:u.weightUnit,waistCircumference:u.waistCircumference,photos:u.photos}:o===2?{appetiteLevel:u.appetiteLevel,energyLevel:u.energyLevel,mood:u.mood,sleepHours:u.sleepHours,exerciseMinutes:u.exerciseMinutes}:o===3?{medicationAdherence:u.medicationAdherence,sideEffects:u.sideEffects}:{notes:u.notes}}function $e(){if(i===1){const o=Number(u.weight);if(!Number.isFinite(o)||o<=0)return X("Enter your current weight to continue."),!1;X("")}return!0}async function G(){if(j)return;const{startDate:o,endDate:I}=Ne(s.createdAt,y);await H("create",{week:y,weekStartDate:V(o),weekEndDate:V(I),checkinId:f,clientId:p}),R(!0)}async function Ue(){if(!(!$e()||i>=C))try{x(!0),await G(),await H("update",{currentStep:i,nextStep:i+1,stepData:L(i),checkinId:f,clientId:p}),n(o=>o+1)}catch(o){console.error("Error saving check-in step:",o),k.error("Unable to save that step. Please try again.")}finally{x(!1)}}async function Le(){try{x(!0),await G(),await H("update",{currentStep:i,nextStep:i,stepData:L(i),checkinId:f,clientId:p}),t==null||t()}catch(o){console.error("Error saving check-in draft:",o),k.error("Unable to save your check-in draft. Please try again.")}finally{x(!1)}}async function Te(){try{x(!0),await G(),await H("complete",{checkinId:f,week:y,clientId:p,completionDate:V(new Date),formData:{step1:L(1),step2:L(2),step3:L(3),step4:L(4)}}),localStorage.setItem("checkinCompleted",JSON.stringify({weekNumber:y,timestamp:Date.now()})),window.dispatchEvent(new CustomEvent("checkinCompleted",{detail:{weekNumber:y}}
1)),t==null||t(),k.success("Weekly check-in complete. Your Daily Health data is updated.")}catch(o){console.error("Error completing check-in:",o),k.error("Unable to complete your check-in. Please try again.")}finally{x(!1)}}if(l)return e.jsx(dt,{});const K=i/C*100;return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center justify-between text-2xs font-medium text-content-tertiary",children:[e.jsxs("span",{children:["Week ",y]}),e.jsxs("span",{children:[Math.round(K),"%"]})]}),e.jsx(We,{value:K,className:"h-1.5 bg-slate-200 dark:bg-slate-700",indicatorClassName:"bg-[--checkin-accent] transition-transform duration-250",style:{"--checkin-accent":c}})]}),e.jsx("div",{className:"min-h-[31rem] overflow-hidden rounded-2xl border border-subtle bg-surface-raised p-5 max-lg:min-h-[26rem] max-lg:p-4",children:e.jsx(Oe,{mode:"wait",initial:!1,children:e.jsxs(ze.div,{initial:{opacity:0,x:8,filter:"blur(3px)"},animate:{opacity:1,x:0,filter:"blur(0px)"},exit:{opacity:0,x:-8,filter:"blur(3px)"},transition:{duration:.25,ease:[.22,1,.36,1]},children:[i===1?e.jsx(it,{formData:u,updateFormData:q,accentColor:c,checkinId:f,documentReady:j,weightError:O}):null,i===2?e.jsx(lt,{formData:u,updateFormData:q,accentColor:c}):null,i===3?e.jsx(ot,{formData:u,setFormData:F,accentColor:c,treatmentPrograms:D}):null,i===4?e.jsx(ct,{formData:u,updateFormData:q}):null]},i)})}),e.jsxs("div",{className:"flex items-center justify-between gap-2 pt-1",children:[e.jsx(Q,{type:"button",variant:"ghost",onClick:Le,disabled:m,className:"rounded-full text-content-tertiary",children:"Finish later"}),e.jsxs("div",{className:"flex items-center gap-2",children:[i>1?e.jsxs(Q,{type:"button",variant:"outline",onClick:()=>n(o=>o-1),disabled:m,className:"rounded-full",children:[e.jsx(Be,{className:"mr-1 size-4"})," Back"]}):null,e.jsxs(Q,{type:"button",onClick:i===C?Te:Ue,disabled:m,className:"rounded-full text-white hover:brightness-95",style:{backgroundColor:c},"data-testid":i===C?"button-check-in-complete":"button-check-in-next",children:[m?e.jsx(_e,{size:"md",className:"mr-1.5"}):null,i===C?"Complete":"Continue",!m&&i<C?e.jsx(De,{className:"ml-1 size-4"}):null]})]})]})]})}function B({children:t}){const[a,s]=h.useState(!1);return h.useEffect(()=>{const d=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(d)},[]),e.jsx("div",{className:S("t-stagger mb-6",a&&"is-shown"),children:e.jsx("h2",{className:"t-stagger-line t-stagger-line--1 font-display text-3xl font-semibold leading-tight text-slate-950 dark:text-white max-lg:text-2xl",children:t})})}function it({formData:t,updateFormData:a,accentColor:s,checkinId:d,documentReady:c,weightError:p}){const i=h.useRef(null),{userDoc:n}=Ce(),[l,g]=h.useState(!1),[m,x]=h.useState(!1);async function y(r){const w=Array.from(r||[]).filter(v=>v.type.startsWith("image/")).slice(0,6);if(!w.length||!(n!=null&&n.id))return;const f=k.loading("Uploading photosâ¦");try{g(!0);const v=await Promise.all(w.map(async(j,R)=>{const D=j.name.split(".").pop()||"jpg",W=`weeklycheckin_${Date.now()}_${R+1}.${D}`,O=Se(Ee,`checkins/${n.id}/${W}`);return await Ke(O,j),{name:W,url:await Ze(O)}}));a("photos",[...t.photos,...v].slice(0,6)),k.success(`${v.length} photo${v.length===1?"":"s"} added`,{id:f})}catch(v){console.error("Unable to upload check-in photos:",v),k.error("Unable to upload those photos.",{id:f})}finally{g(!1),i.current&&(i.current.value="")}}async function _(r){const w=t.photos.filter(f=>f.name!==r.name);a("photos",w);try{if(c){const f=Ie.currentUser;if(!f)throw new Error("Not authenticated");const v=await f.getIdToken(),j=Ae("deletePhoto",{checkinId:d,photoName:r.name,updatedPhotos:w});if(!(await fetch(j.url,{method:j.method,headers:{"Content-Type":"application/json",Authorization:`Bearer ${v}`},body:JSON.stringify(j.body)})).ok)throw new Error("Delete failed")}else await et(Se(Ee,`checkins/${n.id}/${r.name}`))}catch(f){console.error("Unable to remove check-in photo:",f),k.error("Photo removed from this check-in, but storage cleanup is still pending.")}}return e.jsxs("div",{children:[e.jsx(B,{children:"What's your current weight?"}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"flex items-stretch gap-2",children:[e.jsx(P,{type:"number",inputMode:"decimal",min:"1",step:"0.1",value:t.weight,onChange:r=>a("weight",r.target.value),placeholder:"0.0","aria-label":"Current weight","aria-invalid":!!p,"data-testid":"input-check-in-weight",className:S("h-16 flex-1 rounded-xl px-4 text-2xl font-semibold tabular-nums",p&&"border-rose-500")}),e.jsx("div",{className:"grid grid-cols-1 gap-1 rounded-xl bg-slate-100 p-1 dark:bg-slate-900",children:["lbs","kg"].map(r=>e.jsx("button",{type:"button",onClick:()=>a("weightUnit",r),className:S("min-w-16 rounded-lg px-3 text-sm font-semibold transition",t.weightUnit===r?"text-white shadow-sm":"text-content-tertiary hover:bg-white dark:hover:bg-slate-800"),style:t.weightUnit===r?{backgroundColor:s}:void 0,"aria-pressed":t.weightUnit===r,children:r},r))})]}
1),p?e.jsx("p",{className:"text-sm text-rose-600 dark:text-rose-400",children:p}):null,e.jsx(P,{type:"number",inputMode:"decimal",min:"1",step:"0.1",value:t.waistCircumference,onChange:r=>a("waistCircumference",r.target.value),placeholder:"Waist in inches (optional)","aria-label":"Waist circumference in inches, optional",className:"h-12 rounded-xl px-4 text-base"}),e.jsxs("label",{className:S("flex min-h-32 cursor-pointer flex-col items-center justify-center rounded-2xl border-2 border-dashed px-4 text-center transition",m?"bg-slate-100 dark:bg-slate-700/60":"border-subtle bg-surface-sunken hover:border-slate-300 dark:hover:border-slate-500"),style:m?{borderColor:s}:void 0,onDragEnter:r=>{r.preventDefault(),x(!0)},onDragOver:r=>{r.preventDefault(),x(!0)},onDragLeave:()=>x(!1),onDrop:r=>{r.preventDefault(),x(!1),y(r.dataTransfer.files)},"data-testid":"dropzone-check-in-photos",children:[l?e.jsx(Je,{className:"mb-2 size-6 animate-spin",style:{color:s}}):e.jsx(tt,{className:"mb-2 size-6 text-slate-400"}),e.jsx("span",{className:"text-sm font-semibold text-slate-800 dark:text-slate-100",children:"Add progress photos"}),e.jsx("span",{className:"mt-1 text-xs text-content-tertiary",children:"Tap to choose or drop images here"}),e.jsx("input",{ref:i,type:"file",accept:"image/*",multiple:!0,disabled:l,className:"sr-only",onChange:r=>y(r.target.files),"aria-label":"Upload check-in progress photos"})]}),t.photos.length?e.jsx("div",{className:"grid grid-cols-3 gap-2",children:t.photos.map((r,w)=>e.jsxs("div",{className:"group relative overflow-hidden rounded-xl border border-subtle",children:[e.jsx("img",{src:r.url,alt:`Progress upload ${w+1}`,className:"aspect-square w-full object-cover"}),e.jsx("button",{type:"button",onClick:()=>_(r),className:"absolute right-1.5 top-1.5 flex size-8 items-center justify-center rounded-full bg-slate-950/70 text-white opacity-0 transition hover:bg-slate-950 group-hover:opacity-100 focus:opacity-100 max-lg:opacity-100","aria-label":`Remove progress photo ${w+1}`,children:e.jsx(Qe,{className:"size-4"})})]},r.name||r.url))}):null]})]})}function Y({label:t,value:a,options:s,onChange:d,accentColor:c}){return e.jsxs("fieldset",{className:"space-y-2",children:[e.jsx("legend",{className:"text-sm font-semibold text-slate-800 dark:text-slate-100",children:t}),e.jsx("div",{className:"grid grid-cols-5 gap-1.5",children:s.map(p=>{const i=a===p.value;return e.jsx("button",{type:"button",onClick:()=>d(p.value),className:S("min-h-12 rounded-xl border px-1 text-xs font-semibold transition",i?"text-white shadow-sm":"border-subtle bg-surface-raised text-content-secondary hover:bg-slate-50 dark:hover:bg-slate-700"),style:i?{backgroundColor:c,borderColor:c}:void 0,"aria-pressed":i,children:p.label},p.value)})})]})}function lt({formData:t,updateFormData:a,accentColor:s}){const d=[{value:1,label:"Very low"},{value:3,label:"Low"},{value:5,label:"Steady"},{value:7,label:"Good"},{value:10,label:"Great"}];return e.jsxs("div",{children:[e.jsx(B,{children:"How did this week feel?"}),e.jsxs("div",{className:"space-y-5",children:[e.jsx(Y,{label:"Appetite",value:t.appetiteLevel,options:d,onChange:c=>a("appetiteLevel",c),accentColor:s}),e.jsx(Y,{label:"Energy",value:t.energyLevel,options:d,onChange:c=>a("energyLevel",c),accentColor:s}),e.jsx(Y,{label:"Mood",value:t.mood,options:d,onChange:c=>a("mood",c),accentColor:s}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(P,{type:"number",inputMode:"decimal",min:"0",max:"24",step:"0.5",value:t.sleepHours,onChange:c=>a("sleepHours",c.target.value),placeholder:"Sleep hours","aria-label":"Average sleep hours",className:"h-12 rounded-xl px-3 text-base"}),e.jsx(P,{type:"number",inputMode:"numeric",min:"0",max:"1440",value:t.exerciseMinutes,onChange:c=>a("exerciseMinutes",c.target.value),placeholder:"Active minutes","aria-label":"Active minutes",className:"h-12 rounded-xl px-3 text-base"})]})]})]})}function ot({formData:t,setFormData:a,accentColor:s,treatmentPrograms:d}){const c=rt(d);function p(n){a(l=>{const g=l.sideEffects.some(m=>m.selectedEffect===n);return{...l,sideEffects:g?l.sideEffects.filter(m=>m.selectedEffect!==n):[...l.sideEffects,{id:`${Date.now()}-${n}
1`,selectedEffect:n,severity:"mild",description:""}]}})}function i(n,l,g){a(m=>({...m,sideEffects:m.sideEffects.map(x=>x.selectedEffect===n?{...x,[l]:g}:x)}))}return e.jsxs("div",{children:[e.jsx(B,{children:nt(d)}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("fieldset",{className:"space-y-2",children:[e.jsx("legend",{className:"text-sm font-semibold text-slate-800 dark:text-slate-100",children:"Doses taken as planned"}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:[{value:100,label:"All on schedule"},{value:75,label:"Mostly on schedule"},{value:50,label:"Some missed"},{value:0,label:"None this week"}].map(n=>{const l=t.medicationAdherence===n.value;return e.jsx("button",{type:"button",onClick:()=>a(g=>({...g,medicationAdherence:n.value})),className:S("min-h-12 rounded-xl border px-3 text-sm font-semibold transition",l?"text-white shadow-sm":"border-subtle bg-surface-raised text-slate-700 hover:bg-slate-50 dark:text-slate-200 dark:hover:bg-slate-700"),style:l?{backgroundColor:s,borderColor:s}:void 0,"aria-pressed":l,children:n.label},n.value)})})]}),e.jsxs("fieldset",{className:"space-y-2",children:[e.jsx("legend",{className:"text-sm font-semibold text-slate-800 dark:text-slate-100",children:"Anything you noticed"}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx("button",{type:"button",onClick:()=>a(n=>({...n,sideEffects:[]})),className:S("min-h-10 rounded-full border px-4 text-sm font-semibold transition",t.sideEffects.length===0?"text-white":"border-subtle bg-surface-raised text-slate-700 dark:text-slate-200"),style:t.sideEffects.length===0?{backgroundColor:s,borderColor:s}:void 0,"aria-pressed":t.sideEffects.length===0,children:"Nothing to report"}),c.map(n=>{const l=t.sideEffects.some(g=>g.selectedEffect===n);return e.jsx("button",{type:"button",onClick:()=>p(n),className:S("min-h-10 rounded-full border px-4 text-sm font-semibold transition",l?"text-white":"border-subtle bg-surface-raised text-slate-700 hover:bg-slate-50 dark:text-slate-200 dark:hover:bg-slate-700"),style:l?{backgroundColor:s,borderColor:s}:void 0,"aria-pressed":l,children:n},n)})]})]}),t.sideEffects.map(n=>e.jsxs("div",{className:"space-y-2 border-t border-subtle pt-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-sm font-semibold text-content-primary",children:n.selectedEffect}),e.jsx("div",{className:"flex gap-1",children:["mild","moderate","severe"].map(l=>e.jsx("button",{type:"button",onClick:()=>i(n.selectedEffect,"severity",l),className:S("min-h-9 rounded-full border px-3 text-xs font-semibold capitalize transition",n.severity===l?"text-white":"border-subtle text-content-secondary"),style:n.severity===l?{backgroundColor:l==="severe"?"#dc2626":s,borderColor:l==="severe"?"#dc2626":s}:void 0,"aria-pressed":n.severity===l,children:l},l))})]}),e.jsx(P,{value:n.description||"",onChange:l=>i(n.selectedEffect,"description",l.target.value),placeholder:"Add a detail (optional)","aria-label":`Details for ${n.selectedEffect}`,className:"h-11 rounded-xl"})]},n.id||n.selectedEffect))]})]})}function ct({formData:t,updateFormData:a}){return e.jsxs("div",{children:[e.jsx(B,{children:"Anything your care team should know?"}),e.jsxs("div",{className:"space-y-5",children:[e.jsx(Ve,{value:t.notes,onChange:s=>a("notes",s.target.value),placeholder:"Share changes, questions, or anything that felt differentâ¦","aria-label":"Notes for your care team",className:"min-h-40 resize-none rounded-xl p-4 text-base leading-relaxed"}),e.jsxs("div",{className:"divide-y divide-slate-200 border-y border-subtle text-sm dark:divide-slate-700",children:[e.jsx(M,{label:"Weight",value:`${t.weight} ${t.weightUnit}`}),e.jsx(M,{label:"Sleep",value:t.sleepHours?`${t.sleepHours} hours`:"Not added"}),e.jsx(M,{label:"Active time",value:t.exerciseMinutes?`${t.exerciseMinutes} minutes`:"Not added"}),e.jsx(M,{label:"Treatment",value:`${t.medicationAdherence}% on schedule`}),e.jsx(M,{label:"Noticed",value:t.sideEffects.length?`${t.sideEffects.length} item${t.sideEffects.length===1?"":"s"}`:"Nothing"})]})]})]})}function M({label:t,value:a}){return e.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[e.jsx("span",{className:"text-content-tertiary",children:t}),e.jsx("span",{className:"text-right font-semibold text-content-primary",children:a})]})}function dt(){return e.jsxs("div",{className:"space-y-3",children:[e.jsx(U,{className:"h-1.5 w-full rounded-full"}),e.jsxs("div",{className:"min-h-[31rem] space-y-5 rounded-2xl border border-subtle bg-surface-raised p-5",children:[e.jsx(U,{className:"h-10 w-4/5"}),e.jsx(U,{className:"h-16 w-full rounded-xl"}),e.jsx(U,{className:"h-12 w-full rounded-xl"}),e.jsx(U,{className:"h-32 w-full rounded-2xl"})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(U,{className:"h-10 w-24 rounded-full"}),e.jsx(U,{className:"h-10 w-28 rounded-full"})]})]})}export{ft as default};
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.