PageSourceSearch

https://peatch.ai/assets/GeneralSettingsPage-B6hEP_K7.js

js peatch.ai collected 2026-10-05 12:36:22 UTC 20,446 bytes, 2 lines download raw bytes

1import{b as d,c as He,v as e,i as r,S as pe,e as $,j as ne,F as ie,l as ge,t as o,G as Oe,E as je,J as Ue,I as Re,g as _e}from"./solid-vendor-CQ4bklhx.js";import{i as Ie,T as Me,u as be,a8 as Ne,m as We,ae as Fe,bp as Ge,B as Pe,e as $e,a4 as Ve,bf as Be,a as Je,A as Ye,aS as ze,aV as qe,aD as ye,bq as Xe,k as Qe,br as Ze,bs as Se,x as et,bt as tt,bu as Ce,aW as rt,Y as at,U as lt}from"./index-BMJwaYYL.js";import{i as st,s as nt}from"./jobOffers.api-4kpG4k70.js";import{B as ot}from"./Bell-CXYucUi2.js";import{C as it}from"./ChatCircle-CxNNgvmg.js";import{F as we}from"./Flask-IBD2T_4j.js";import{M as ct}from"./Monitor-BNQ5hM0l.js";import{S as dt,M as ut}from"./Sun-Jncf9p_h.js";import{P as ke}from"./Palette-D2NBMnkC.js";import{T as mt}from"./Translate-CVwSDaWL.js";import{T as gt}from"./Trash-CNBTey9F.js";import{T as pt}from"./Trophy-2h5N-dvb.js";import{T as bt}from"./Tabs-BLjnyLiH.js";import{S as ue}from"./Switch-C6bErAvW.js";import{A as vt}from"./AchievementsContent-DFv9WjfT.js";import{u as ht}from"./formatters-_QZKJmKi.js";import{G as ft,L as xt}from"./LinkedinLogo-BJ8jgB7g.js";import{G as _t}from"./Globe-BGRinLVA.js";import{r as $t}from"./resolvePhoneForSave-CVlywKSV.js";import{S as me,X as yt,a as St,b as Ct}from"./socialLinks-CB3g0YK5.js";import{W as wt,a as kt}from"./ProfileHeader-FoKhTVB5.js";import"./AppShell-BJTkHxR6.js";import{P as Tt}from"./PageContainer-EK4IkFM8.js";import{P as Pt}from"./PageHeader-Y1siV6n8.js";import"./ResumeImportDialog-cSc_tC38.js";import{S as Et}from"./SectionHeading-i9N7ezqe.js";import{S as Kt}from"./SwitchField-BGdZG1DM.js";import"./ui-vendor-CMjh0a6q.js";import"./gamificationCatalog-fRL7UYIx.js";import"./Briefcase-Bohp-giT.js";import"./Calendar-Dnflji4p.js";import"./Compass-1nPSXulC.js";import"./Users-CFx5EflW.js";import"./AvatarDisplay-B5W3JH6C.js";import"./Pencil-DpDXFyGB.js";import"./avatarPresets-Cr-wxx7h.js";import"./Dialog-CHpC-y1y.js";import"./focusReturn-DVsHGUsg.js";import"./List-CKIc4tFB.js";import"./EnvelopeSimple-CXrRdzZ9.js";import"./emailVerificationSignal-CxN5gjpq.js";import"./Coin-OUMvt2Sl.js";import"./visibleActions-Bef-FR3s.js";import"./Activity-DOprSFYv.js";import"./Barbell-BG03pchE.js";import"./Brain-DNy2RO9Z.js";import"./Buildings-D2RJJxp5.js";import"./CalendarCheck-Bu1f0KfY.js";import"./ChartBar-DY_2iH4I.js";import"./Columns-BwP9XChp.js";import"./FileText-C8YXIpu-.js";import"./Flag-Cal5-tYg.js";import"./Gear-BVtxGog7.js";import"./Microphone-PA9oRevB.js";import"./Sparkle-D1Wcl2JM.js";import"./SquaresFour-Np04Bv39.js";import"./Target-ChoK037U.js";import"./Tray-Dk98svgj.js";import"./User-CcQ1nDDb.js";import"./useFileParser-CkphKoZw.js";import"./useCvImport-a9Sn4PI2.js";import"./resume.api-C30YIl1N.js";import"./analytics-bdL2dtBw.js";import"./CompanionModeMark-BWQzKzlL.js";import"./VoiceWave-Snua-fCv.js";import"./drawer.store-_PH7KqTm.js";import"./agent-drawer.store-nwz10ejO.js";import"./effect-CfYYUERt.js";import"./formatters-Ch-wDJY-.js";import"./Chat-BfnUlM5M.js";import"./ShieldWarning-pkNsYiT7.js";import"./Indicator-BIeRCWLi.js";import"./breadcrumb.store-BYxfVcKJ.js";import"./Banner-DQ1DfhSN.js";import"./Card-xg3jCnGU.js";import"./Lock-CGbkwPJz.js";import"./ArrowsDownUp-CPw6aUwL.js";import"./Rocket-C4rPvj2w.js";import"./SignOut-DWRXfq_i.js";import"./sidebar.store-DdWqwWfz.js";import"./ProfileSwitcher-CmDX94mN.js";import"./Camera-DtZOnbp8.js";import"./PaperPlaneTilt-Cywn6Jou.js";import"./support.api-6RksjCAf.js";import"./UploadSimple-DOGSpQPQ.js";async function Lt(){return Ie("api/candidate/processing-preferences")}async function At(t){return Me("api/candidate/processing-preferences",{objects_to_model_training:t})}var Dt=o('<p class="mt-0.5 text-[length:var(--text-xs)] text-[var(--color-text-muted)]">'),Ht=o('<div class="grid gap-2 py-4 sm:grid-cols-[minmax(0,200px)_minmax(0,1fr)] sm:items-center sm:gap-6"><div class=min-w-0><p class="text-[length:var(--text-sm)] font-semibold text-[var(--color-text)]"></p></div><div class=min-w-0>'),oe=o('<input type=text class="w-full rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-surface)] px-3.5 py-2.5 text-[length:var(--text-sm)] text-[var(--color-text)] outline-none transition-colors placeholder:text-[var(--color-text-subtle)] focu
1s:border-[var(--color-primary-400)] focus:ring-2 focus:ring-[color:color-mix(in_srgb,var(--color-primary-400)_35%,transparent)]">'),Ot=o('<select class="w-full rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-surface)] px-3.5 py-2.5 text-[length:var(--text-sm)] text-[var(--color-text)] outline-none transition-colors placeholder:text-[var(--color-text-subtle)] focus:border-[var(--color-primary-400)] focus:ring-2 focus:ring-[color:color-mix(in_srgb,var(--color-primary-400)_35%,transparent)]">'),jt=o('<p class="text-[length:var(--text-sm)] text-[var(--color-text-muted)]">'),Ut=o("<div class=space-y-2.5>"),Rt=o('<select class="w-full rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-surface)] px-3.5 py-2.5 text-[length:var(--text-sm)] text-[var(--color-text)] outline-none transition-colors placeholder:text-[var(--color-text-subtle)] focus:border-[var(--color-primary-400)] focus:ring-2 focus:ring-[color:color-mix(in_srgb,var(--color-primary-400)_35%,transparent)]"><option value>'),It=o('<div><div class="flex flex-wrap items-start justify-between gap-4"><div class=min-w-0><h2 class="font-[family-name:var(--font-display)] text-[length:var(--text-xl)] font-semibold tracking-[-0.015em] text-[var(--color-text)]"></h2><p class="mt-1 max-w-[52ch] text-[length:var(--text-sm)] leading-[1.55] text-[var(--color-text-muted)]"></p></div></div><div class="mt-4 divide-y divide-[var(--color-border)] border-t border-[var(--color-border)]"></div><div class="mt-6 flex items-center justify-end gap-3">'),Mt=o('<p class="text-[length:var(--text-xs)] text-[var(--color-text-subtle)]"> · '),Te=o("<option>"),Nt=o('<div class="flex items-center gap-2.5"><input type=url class="w-full rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-surface)] px-3.5 py-2.5 text-[length:var(--text-sm)] text-[var(--color-text)] outline-none transition-colors placeholder:text-[var(--color-text-subtle)] focus:border-[var(--color-primary-400)] focus:ring-2 focus:ring-[color:color-mix(in_srgb,var(--color-primary-400)_35%,transparent)]">');const Wt=["male","female","non_binary","prefer_not_to_say"],Ft={male:"gender.male",female:"gender.female",non_binary:"gender.nonBinary",prefer_not_to_say:"gender.preferNotToSay"},Gt={linkedin:xt,github:ft,x:yt,website:_t},y=t=>(()=>{var l=Ht(),b=l.firstChild,S=b.firstChild,u=b.nextSibling;return e(S,()=>t.label),e(b,r(pe,{get when(){return t.hint},get children(){var C=Dt();return e(C,()=>t.hint),C}}),null),e(u,()=>t.children),l})(),Vt=t=>{const{t:l}=be(),b=Ne(),{formatDate:S}=ht(),u=()=>$e.getState().user,C=()=>t.profileData()?.contact??{},[V,B]=d(null),[J,Y]=d(null),[z,N]=d(null),[O,q]=d(null),[j,U]=d(null),[X,Q]=d(null),[Z,R]=d(null),[ee,te]=d(null),[re,ae]=d(null),[W,le]=d(!1),[ce,s]=d(!1),v=()=>X()??u()?.first_name??"",_=()=>Z()??u()?.last_name??"",P=()=>ee()??u()?.linkedin_headline??"",w=()=>re()??u()?.work_status??"open_to_work",L=()=>V()??C().location??"",g=()=>J()??C().phone??"",k=()=>z()??t.profileData()?.date_of_birth??"",A=()=>O()??t.profileData()?.gender??"",E=i=>j()?.[i]??C()[i]??"",I=(i,h)=>{const p={...j()};for(const f of me)p[f]===void 0&&(p[f]=C()[f]??"");p[i]=h,U(p)},D=He(()=>X()!==null||Z()!==null||ee()!==null||re()!==null||V()!==null||J()!==null||z()!==null||O()!==null||j()!==null),M=async()=>{const i=t.profileData();if(!i||W())return;const h=$t(g());if(!h.ok){s(!0);return}le(!0);try{const p={};for(const c of me)p[c]=E(c).trim();const f=await Ve.updateCandidateProfile({first_name:v().trim(),last_name:_().trim(),work_status:w(),linkedin_headline:P().trim()});$e.setUser(f,"candidate");const H=await Be({...i,contact:{...i.contact,location:L().trim(),phone:h.value,...p},date_of_birth:k()||null,gender:A()||null});t.mutateProfile(H),Q(null),R(null),te(null),ae(null),B(null),Y(null),N(null),q(null),U(null),b.addToast({type:"success",message:l("profile.updateSuccess")})}catch(p){b.addToast({type:"error",message:Je(p,l)})}finally{le(!1)}};return(()=>{var i=It(),h=i.firstChild,p=h.firstChild,f=p.firstChild,H=f.nextSibling,c=h.nextSibling,se=c.nextSibling;return e(f,()=>l("profileHub.personal.title")),e(H,()=>l("profileHub.personal.lede")),e(h,r(pe,{get when(){return u()?.updated_at},children:a=>(()=>{var n=Mt(),m=n.firstChild;return e(n,()=>l("profileHub.header.updated"),m),e(n,()=>S(a()),null),n})()}),null),e(c,r(y,{get label(){return l("profile.firstName")},get children(){var a=oe();return a.$$input=n=>Q(n.currentTarget.value),$(()=>a.value=v()),a}}),null),e(c,r(y,{get label(){return l("profile.lastName")},get children(){var a=oe();return a.$$input=n=>R(n.currentTarget.value),$(()=>a.value=_()),a}}),null),e(c,r(y,{get label(){return l("profileHub.header.headline")},get children(){var a=oe();return a.$$input=n=>te(n.currentTarget.value),$(()=>ne(a,"placeholder",l("profileHub.header.headlinePlaceholder"))),$(()=>a.value=P()),a}}),null),e(c,r(y,{get label(){return l("profile.workStatus")},get children(){var a=Ot();return a.addEventListener("change",n=>
1ae(n.currentTarget.value)),e(a,r(ie,{each:wt,children:n=>(()=>{var m=Te();return m.value=n,e(m,()=>l(kt[n])),m})()})),$(()=>a.value=w()),a}}),null),e(c,r(y,{get label(){return l("profileHub.contact.location")},get children(){var a=oe();return a.$$input=n=>B(n.currentTarget.value),$(()=>ne(a,"placeholder",l("profileHub.personal.locationPlaceholder"))),$(()=>a.value=L()),a}}),null),e(c,r(y,{get label(){return l("profile.email")},get hint(){return l("profileHub.personal.emailHint")},get children(){var a=jt();return e(a,()=>u()?.email??""),a}}),null),e(c,r(y,{get label(){return l("profileHub.contact.phone")},get children(){return r(We,{get value(){return g()},get placeholder(){return l("profileHub.personal.phonePlaceholder")},get error(){return ge(()=>!!ce())()?l("profileHub.contact.phoneInvalid"):""},onChange:a=>{Y(a),s(!1)}})}}),null),e(c,r(y,{get label(){return l("profileHub.contact.links")},get children(){var a=Ut();return e(a,r(ie,{each:me,children:n=>{const m=Gt[n];return(()=>{var T=Nt(),K=T.firstChild;return e(T,r(m,{class:"h-4 w-4 flex-none text-[var(--color-text-muted)]"}),K),K.$$input=x=>I(n,x.currentTarget.value),$(x=>{var F=l(St[n]),G=l(Ct[n]);return F!==x.e&&ne(K,"aria-label",x.e=F),G!==x.t&&ne(K,"placeholder",x.t=G),x},{e:void 0,t:void 0}),$(()=>K.value=E(n)),T})()}})),a}}),null),e(c,r(y,{get label(){return l("profileHub.header.birthDate")},get children(){return r(Fe,{get value(){return k()},onChange:N,get max(){return Ge()}})}}),null),e(c,r(y,{get label(){return l("profile.gender")},get children(){var a=Rt(),n=a.firstChild;return a.addEventListener("change",m=>q(m.currentTarget.value)),e(n,()=>l("profileHub.personal.genderUnset")),e(a,r(ie,{each:Wt,children:m=>(()=>{var T=Te();return T.value=m,e(T,()=>l(Ft[m])),T})()}),null),$(()=>a.value=A()),a}}),null),e(se,r(Pe,{variant:"primary",size:"sm",get disabled(){return!D()||W()},onClick:M,get children(){return ge(()=>!!W())()?l("common.saving"):l("common.save")}})),i})()};Oe(["input"]);var Bt=o('<section><div class="mt-4 space-y-3">');const Jt=t=>{const{t:l}=be();return(()=>{var b=Bt(),S=b.firstChild;return e(b,r(Et,{get eyebrow(){return l("settings.dataUse.title")}}),S),e(S,r(Kt,{get label(){return l("settings.dataUse.label")},get description(){return l("settings.dataUse.hint")},get checked(){return!t.objects},get disabled(){return t.loading??!1},onChange:u=>t.onChange(!u)}),null),e(S,r(pe,{get when(){return t.errorMessage},get children(){return r(Ye,{variant:"error",get children(){return t.errorMessage}})}}),null),b})()};var Yt=o('<div class="bg-[var(--color-surface)] border border-[var(--color-border)] rounded-[var(--radius-lg)] p-6"><div class=space-y-8><section></section><section><div class="flex items-center gap-2 mb-4"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><div class=space-y-3><p class="text-xs font-semibold text-[var(--color-text-muted)] uppercase tracking-wide"></p><p class="text-xs text-[var(--color-text-muted)]"></p></div></section><hr class=border-[var(--color-border)]><section><div class="flex items-center gap-2 mb-4"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><div class=space-y-3><p class="text-xs text-[var(--color-text-muted)]"></p></div></section><hr class=border-[var(--color-border)]><section><div class="flex items-center gap-2 mb-4"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><div class="flex items-start justify-between gap-4"><div class=min-w-0><p class="text-sm font-medium text-[var(--color-text)]"></p><p class="text-xs text-[var(--color-text-muted)] mt-0.5"></p></div></div></section><hr class=border-[var(--color-border)]><section><div class="flex items-center gap-2 mb-4"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><div class="flex items-start justify-between gap-4"><div class=min-w-0><p class="text-sm font-medium text-[var(--color-text)]"></p><p class="text-xs text-[var(--color-text-muted)] mt-0.5"></p></div></div></section><hr class=border-[var(--color-border)]><hr class=border-[var(--color-border)]><section><div class="flex items-center gap-2 mb-4"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><div class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between"><p class="max-w-[60ch] text-sm text-[var(--color-text-muted)]">'),zt=o('<div class="bg-[var(--color-surface)] border border-[var(--color-border)] rounded-[var(--radius-lg)] p-6"><div class=space-y-6><div class="flex items-center gap-2 mb-2"><h2 class="text-base font-semibold text-[var(--color-text)]"></h2></div><p class="text-sm text-[var(--color-text-muted)]"></p><div class=space-y-3>'),qt=o('<div class="flex items-start justify-between gap-4 p-4 bg-[var(--color-neutral-50)] border border-[var(--color-border)] rounded-[var(--radius-lg)]"><div class=min-w-0><div class="flex items-center gap-2"><p class="text-sm font-medium text-[var(--color-text)]"></p></div><p class="text-xs text-[var(--color-text-muted)] mt-0.5">'),Xt=o('<span class="px-1.5 py-0.5 text-2xs font-semibold uppercase tracking-wide rounded-md bg-[var(--color-primary-500)]/10 text-[var(--color-primary-600)]">'),Qt=o('<div class="bg-[var(--color-surface)] border border-[var(--color-border)] rounded-[var(--radius-lg)] p-6">'),Zt=o("<div class=w-full>");const er=[{value:"light",labelKey:"settings.theme.light",icon:dt},{value:"dark",labelKey:"settings.theme.dark",icon:ut},{value:"system",labelKey:"settings.theme.system",icon:ct}],tr=at.map(t=>({value:t,label:lt[t]})),rr=[{key:"dailyWorkout",labelKey:"settings.lab.candidate.dailyWorkout",descriptionKey:"settings.lab.candidate.dailyWorkout.description"},{key:"mockInterview",labelKey:"settings.lab.candidate.mockInterview",descriptionKey:"settings.lab.candidate.mockInterview.description"},{key:"pitchGenerator",labelKey:"settings.lab.candidate.pitchGenerator",descriptionKey:"settings.lab.candidate.pitchGenerator.description"},{key:"practiceHistory",labelKey:"settings.lab.candidate.practiceHistory",descriptionKey:"settings.lab.candidate.practiceHistory.description"},{key:"jobTracker",labelKey:"settings.lab.candidate.jobTracker",descriptionKey:"settings.lab.candidate.jobTracker.description"},{key:"resumeScanner",labelKey:"settings.lab.candidate.resumeScanner",descriptionKey:"settings.lab.candidate.resumeScanner.description"},{key:"achievements",labelKey:"settings.lab.candidate.achievements",descriptionKey:"settings.lab.candidate.achievements.description"},{key:"coachingPath",labelKey:"settings.lab.candidate.coachingPath",descriptionKey:"settings.lab.candidate.coachingPath.description"},{key:"resumeAlignment",labelKey:"settings.lab.candidate.resumeAlignment",descriptionKey:"settings.lab.candidate.resumeAlignment.description"},{key:"dashboard",labelKey:"settings.lab.candidate.dashboard",descriptionKey:"settings.lab.candidate.dashboard.description"}],Ha=()=>{const{t}=be(),l=()=>er.map(s=>({value:s.value,label:t(s.labelKey),icon:s.icon})),b=je(),[S]=Ue(),u=S.tab,C=u==="lab",[V,B]=d(u==="lab"||u==="achievements"?u:"general"),J=rt,[Y,{mutate:z}]=Re(ze),[N,O]=d(!1);_e(async()=>{try{const{opted_out:s}=await st();O(s)}catch{}});const q=async()=>{const s=!N();O(s);try{await nt(s)}catch{O(!s)}},[j,U]=d(!1),[X,Q]=d(!1),[Z,R]=d(null);_e(async()=>{try{const{objects_to_model_training:s}=await Lt();U(s),Q(!0)}catch{R("load")}});const ee=async s=>{const v=j();R(null),U(s);try{await At(s)}catch{U(v),R("save")}},te=()=>{const s=Z();if(s==="load")return t("settings.dataUse.loadError");
1if(s==="save")return t("settings.dataUse.saveError")},re=()=>(()=>{var s=Yt(),v=s.firstChild,_=v.firstChild,P=_.nextSibling,w=P.firstChild,L=w.firstChild,g=w.nextSibling,k=g.firstChild,A=k.nextSibling,E=P.nextSibling,I=E.nextSibling,D=I.firstChild,M=D.firstChild,i=D.nextSibling,h=i.firstChild,p=I.nextSibling,f=p.nextSibling,H=f.firstChild,c=H.firstChild,se=H.nextSibling,a=se.firstChild,n=a.firstChild,m=n.nextSibling,T=f.nextSibling,K=T.nextSibling,x=K.firstChild,F=x.firstChild,G=x.nextSibling,Ee=G.firstChild,ve=Ee.firstChild,Ke=ve.nextSibling,Le=K.nextSibling,he=Le.nextSibling,Ae=he.nextSibling,de=Ae.firstChild,fe=de.firstChild,xe=de.nextSibling,De=xe.firstChild;return e(_,r(Vt,{profileData:Y,mutateProfile:z})),e(w,r(ke,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),L),e(L,()=>t("settings.appearance")),e(k,()=>t("settings.theme.label")),e(g,r(ye,{get label(){return t("settings.theme.label")},get options(){return l()},get value(){return J()},onChange:qe}),A),e(A,()=>t("settings.theme.description")),e(D,r(mt,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),M),e(M,()=>t("language.title")),e(i,r(ye,{get label(){return t("language.title")},options:tr,get value(){return Qe()},onChange:Xe}),h),e(h,()=>t("language.hint")),e(H,r(it,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),c),e(c,()=>t("settings.supportWidget")),e(n,()=>t("settings.supportWidget.show")),e(m,()=>t("settings.supportWidget.description")),e(se,r(ue,{get checked(){return Se()},get"aria-label"(){return t("settings.supportWidget.show")},onChange:()=>Ze(!Se())}),null),e(x,r(ot,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),F),e(F,()=>t("settings.notifications.title")),e(ve,()=>t("settings.jobSuggestions.title")),e(Ke,()=>t("settings.jobSuggestions.description")),e(G,r(ue,{get checked(){return!N()},get"aria-label"(){return t("settings.jobSuggestions.title")},onChange:q}),null),e(v,r(Jt,{get objects(){return j()},onChange:ee,get loading(){return!X()},get errorMessage(){return te()}}),he),e(de,r(gt,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),fe),e(fe,()=>t("settings.deleteAccount.section")),e(De,()=>t("settings.deleteAccount.sectionDesc")),e(xe,r(Pe,{danger:!0,size:"sm",class:"shrink-0 self-start",onClick:()=>b("/app/candidate/settings/delete"),get children(){return t("settings.deleteAccount.link")}}),null),s})(),ae=()=>(()=>{var s=zt(),v=s.firstChild,_=v.firstChild,P=_.firstChild,w=_.nextSibling,L=w.nextSibling;return e(_,r(we,{class:"w-5 h-5 text-[var(--color-text-muted)]"}),P),e(P,()=>t("settings.lab")),e(_,r(et,{variant:"secondary",size:"sm",get children(){return t("settings.lab.experimental")}}),null),e(w,()=>t("settings.lab.description")),e(L,r(ie,{each:rr,children:g=>(()=>{var k=qt(),A=k.firstChild,E=A.firstChild,I=E.firstChild,D=E.nextSibling;return e(I,()=>t(g.labelKey)),e(E,(()=>{var M=ge(()=>!!g.showNewBadge);return()=>M()&&(()=>{var i=Xt();return e(i,()=>t("settings.lab.new")),i})()})(),null),e(D,()=>t(g.descriptionKey)),e(k,r(ue,{get checked(){return Ce()[g.key]},get"aria-label"(){return t(g.labelKey)},onChange:()=>tt({[g.key]:!Ce()[g.key]})}),null),k})()})),s})(),W=()=>(()=>{var s=Qt();return e(s,r(vt,{})),s})(),le={value:"lab",get label(){return t("settings.lab")},icon:r(we,{}),content:ae},ce=[{value:"general",get label(){return t("routes.general")},icon:r(ke,{}),content:re},{value:"achievements",get label(){return t("achievements.title")},icon:r(pt,{}),content:W},...C?[le]:[]];return r(Tt,{get children(){return[r(Pt,{get title(){return t("sidebar.personalSettings")}}),(()=>{var s=Zt();return e(s,r(bt,{items:ce,get value(){return V()},onChange:v=>B(v)})),s})()]}})};export{Ha as default};
2//# sourceMappingURL=GeneralSettingsPage-B6hEP_K7.js.map

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.