Anvil/assets/SettingsSidebar.stories-4w0ZX9dp.js

2 lines
9.3 KiB
JavaScript
Raw Normal View History

2024-07-05 17:21:03 +02:00
import{S as _e,c as ge,a as me,d,e as h,m as b,b as v,t as w,f as S,g as Z,l as D,o as H,p as I,q as de,n as z}from"./index-CFSywFfb.js";import{b as T,k as F,i as g,d as $,a as q,f as G,h as K,l as he,v as te,q as be,r as ve,w as we,t as E,j as N,u as ae,m as R,n as j}from"./lifecycle-u0QeOdKt.js";import{e as re}from"./each-BfZOZzPH.js";import{a as Se,b as ke,c as L,d as Q}from"./XPro-CT_nc-YB.js";import{b as ne,c as Ae,$ as Pe}from"./runtime-BvEoAjCK.js";import{P as Ce,i as Ee,K as Ne,j as Te,B as Fe}from"./ZoomOut24-BLVY8N49.js";import"./index-DZGdSOdS.js";import"./spread-CgU5AtxT.js";import"./globals-D0QH3NT1.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";function le(n,e,a){const t=n.slice();return t[12]=e[a],t}function qe(n){let e,a=n[3]("settings.profile.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.profile.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Ge(n){let e,a;return e=new Ce({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Ke(n){let e,a=n[3]("settings.account.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.account.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Oe(n){let e,a;return e=new Ee({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Re(n){let e,a=n[3]("settings.ssh_gpg_keys.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.ssh_gpg_keys.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function je(n){let e,a;return e=new Ne({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Be(n){let e,a=n[3]("settings.appearance.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.appearance.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function Me(n){let e,a;return e=new Te({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function De(n){let e,a=n[3]("settings.notifications.label")+"",t;return{c(){e=q("span"),t=E(a)},l(r){e=G(r,"SPAN",{});var l=K(e);t=N(l,a),l.forEach($)},m(r,l){g(r,e,l),R(e,t)},p(r,l){l&8&&a!==(a=r[3]("settings.notifications.label")+"")&&j(t,a)},d(r){r&&$(e)}}}function He(n){let e,a;return e=new Fe({props:{fill:"currentColor",class:"inline"}}),{c(){d(e.$$.fragment)},l(t){h(e.$$.fragment,t)},m(t,r){b(e,t,r),a=!0},p:z,i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){w(e.$$.fragment,t),a=!1},d(t){S(e,t)}}}function Ie(n){let e,a,t,r,l,p,_,P,C,m,A,c,o,f,i;function O(s){n[6](s)}let B={name:"profile",value:"profile",title:"Profile",$$slots:{lead:[Ge],default:[qe]},$$scope:{ctx:n}};n[0]!==void 0&&(B.group=n[0]),e=new L({props:B}),D.push(()=>H(e,"group",O)),e.$on("change",n[4]);function k(s){n[7](s)}let M={name:"account",value:"account",title:"Account",$$slots:{lead:[Oe],default:[Ke]},$$scope:{ctx:n}};n[0]!==void 0&&(M.group=n[0]),r=new L({props:M}),D.push(()=>H(r,"group",k)),r.$on("change",n[4]);function ue(s){n[8](s)}let y={name:"ssh_gpg_keys",value:"ssh_gpg_keys",title:"SSH/GPG Keys",$$slots:{lead:[je],default:[Re]},$$scope:{ctx:n}};n[0]!==void 0&&(y.group=n[0]),_=new L({props:y}),D.push(()=>H(_,"group",ue)),_.$on("change",n[4]);function $e(s){n[9](s)}let x={name:"appearance",value:"appearance",title:"Appearance",$$slots:{lead:[Me],default:[Be]},$$scope:{ctx:n}};n[0]!==void 0&