1import{a as A}from"./chunk-5L5UWA5S.js";import{a as C}from"./chunk-Q7AUS4L2.js";import{a as D}from"./chunk-M3ZQG2UA.js";import{a as x}from"./chunk-HN6TYDDR.js";import{a as w,cb as k,ya as P,za as T}from"./chunk-2VV6H4ZY.js";import"./chunk-GVUUFT5F.js";import"./chunk-GPYBP3ZM.js";import{Jc as _,Qb as m,Rb as g,Sb as u,Tb as o,Ub as s,Uc as S,ac as h,db as r,ec as f,gc as a,ha as c,ma as p,na as l,ub as d,vc as v,xc as y}from"./chunk-ZXYMVVVP.js";import"./chunk-PRARYYF3.js";var I=(i,t)=>t.value;function E(i,t){if(i&1){let e=h();o(0,"app-settings-option-card",4),f("selected",function(F){p(e);let b=a();return l(b.applyPreference(F))}),v(1),s()}if(i&2){let e=t.$implicit,n=a();u("value",e.value)("icon",e.icon)("title",e.title)("checked",n.preference()===e.value),r(),y(" ",e.value==="system"?n.systemDescription():e.description," ")}}var M=class i{theme=c(C);preference=this.theme.preference;options=[{value:"light",title:"Light",description:"The default workspace.",icon:"lucideSun"},{value:"dark",title:"Dark",description:"Easier in a dim room.",icon:"lucideMoon"},{value:"system",title:"System",description:"",icon:"lucideMonitor"}];systemDescription=S(()=>this.theme.systemTheme()==="dark"?"Follows your device, which is dark right now.":"Follows your device, which is light right now.");applyPreference(t){this.theme.setPreference(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=d({type:i,selectors:[["app-appearance-settings-page"]],features:[_([w({lucideMonitor:P,lucideMoon:T,lucideSun:k})])],decls:5,vars:0,consts:[["title","Appearance"],["title","Theme","description","Applies to this browser on this device. It is not shared with the rest of your workspace."],["role","radiogroup","aria-label","Theme",1,"grid","gap-2.5","sm:grid-cols-3"],["name","theme",3,"value","icon","title","checked"],["name","theme",3,"selected","value","icon","title","checked"]],template:function(e,n){e&1&&(o(0,"app-settings-page",0)(1,"app-settings-section",1)(2,"div",2),m(3,E,2,5,"app-settings-option-card",3,I),s()()()),e&2&&(r(3),g(n.options))},dependencies:[A,x,D],encapsulation:2,changeDetection:0})};export{M as AppearanceSettingsPage};
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.