@versini/sassysaint 8.116.0 → 8.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/chunks/{AboutChangelog.CnrCMj9j.js → AboutChangelog.Bn_KfUZc.js} +2 -2
  2. package/dist/chunks/{AboutEntry.B_v4wPJu.js → AboutEntry.GETrm77g.js} +7 -7
  3. package/dist/chunks/{App.DZsmgdSf.js → App.BzCbkgv8.js} +2478 -2344
  4. package/dist/chunks/BubbleActions.CbQ9BHWl.js +174 -0
  5. package/dist/chunks/{ButtonIconDelete.qjiICD-C.js → ButtonIconDelete.B5IpSZrD.js} +2 -2
  6. package/dist/chunks/{Chart.C5TznUox.js → Chart.Czhhtzdx.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.L0EqA71V.js → ChatBubbleAssistant.DESMaXGq.js} +682 -663
  8. package/dist/chunks/{ChatBubbleUser.pCnNNynn.js → ChatBubbleUser.B_Sniupu.js} +39 -33
  9. package/dist/chunks/{ChatHistoryTable.DbqjD59m.js → ChatHistoryTable.LPF05gFQ.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.Cwwb60-v.js → HistoryEntry.CbyRX9rD.js} +6 -6
  11. package/dist/chunks/{LoginEntry.1r7TFo-0.js → LoginEntry.Bf8vuUIL.js} +4 -4
  12. package/dist/chunks/{LogoEntry.C42bjw_J.js → LogoEntry.yn5_B-fa.js} +193 -176
  13. package/dist/chunks/{MemoriesEntry.B1TYmnRs.js → MemoriesEntry.Bljvi6W9.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.S1zEigVK.js → ProfileEntry.DitROf-m.js} +4 -4
  15. package/dist/chunks/SettingsEntry.DUMuo462.js +446 -0
  16. package/dist/chunks/{UsageEntry.DLc39ETR.js → UsageEntry.CFMWYodz.js} +5 -5
  17. package/dist/chunks/{_baseUniq.BOcrAUMb.js → _baseUniq.D6y3dh-S.js} +1 -1
  18. package/dist/chunks/{arc.Bc6CZu6T.js → arc.CitIvzp8.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.QGHUq491.js → architecture-U656AL7Q.IEP3vDFZ.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.CfOCGFjg.js → architectureDiagram-VXUJARFQ.BhDBUrYi.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.BZGQL0K-.js → blockDiagram-VD42YOAC.BFTM8GAn.js} +5 -5
  22. package/dist/chunks/{browser.BES7M-cr.js → browser.DK_o_vwl.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.tKgp2iCo.js → c4Diagram-YG6GDRKO.B1vLaqvZ.js} +2 -2
  24. package/dist/chunks/{channel.DS7_B1sD.js → channel.PCRnhDz7.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.BsziT60f.js → chunk-4BX2VUAB.C6rU7w6S.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.BFD2aM1b.js → chunk-55IACEB6.BpJZHN1o.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.Dp_dUjXu.js → chunk-B4BG7PRW.F4PL3cMr.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.BSSR2fsl.js → chunk-DI55MBZ5.BF8GKejt.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.zFBdnbSj.js → chunk-FMBD7UC4.B1OYwU0R.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL.CNmLyW5z.js → chunk-QN33PNHL.BD5brt5t.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.CHIiOTWa.js → chunk-QZHKN3VN.D5WYYv36.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.DgmCkWAE.js → chunk-TZMSLE5B.C-MZAsEe.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.C1Cu3qVH.js → classDiagram-2ON5EDUG.C5vYqJ4o.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.C1Cu3qVH.js → classDiagram-v2-WZHVMYZB.C5vYqJ4o.js} +2 -2
  35. package/dist/chunks/{clone.taNKkvJ9.js → clone.REJ_Pnlj.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DfVNXfXH.js → cose-bilkent-S5V4N54A.DXqAwGZ0.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.DYhO6A5e.js → dagre-6UL2VRFP.CoGy5JIV.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.B3Zgu9PL.js → diagram-PSM6KHXK.D9vCcidT.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.BwV8LoQ9.js → diagram-QEK2KX5R.6csREdR0.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.b7ck1ocM.js → diagram-S2PKOQOG.YPf4qVIj.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.BLOJ7KTi.js → erDiagram-Q2GNP2WA.CGV8xXOX.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.BfXJbb56.js → flowDiagram-NV44I4VS.eQKIimm7.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.TvvsmtiM.js → ganttDiagram-JELNMOA3.BazHhqv4.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.DDGwiGGr.js → gitGraph-F6HP7TQM.Cb-fQXsF.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.B0JPvRv6.js → gitGraphDiagram-NY62KEGX.Dvqk5LX3.js} +4 -4
  46. package/dist/chunks/{graph.ZKIG5uo9.js → graph.CgbRK_Pv.js} +2 -2
  47. package/dist/chunks/{index.Dq3ux59q.js → index.BEg4_Utt.js} +1 -1
  48. package/dist/chunks/{index.Caq09BtO.js → index.BMJ9q_CF.js} +3 -3
  49. package/dist/chunks/{index.BDIm0XZX.js → index.BkL02aS1.js} +3 -3
  50. package/dist/chunks/{index.B9-d3ocn.js → index.BkPtehbe.js} +1 -1
  51. package/dist/chunks/{index.C5Cu_bRP.js → index.Bzms2RRF.js} +1 -1
  52. package/dist/chunks/{index.DNjv4c6J.js → index.CX_kqcF4.js} +1 -1
  53. package/dist/chunks/{index.C9tD1xGj.js → index.DzZEadJV.js} +1 -1
  54. package/dist/chunks/{index.-nrmM1wy.js → index.OAZ5W9VH.js} +5 -2
  55. package/dist/chunks/{index.DstuTKv0.js → index.hL-ju5aR.js} +1 -1
  56. package/dist/chunks/{info-NVLQJR56.XGDhf5c8.js → info-NVLQJR56.53x0eQWW.js} +1 -1
  57. package/dist/chunks/{infoDiagram-WHAUD3N6.C4VTOkJb.js → infoDiagram-WHAUD3N6.BlrSZ-3e.js} +2 -2
  58. package/dist/chunks/{journeyDiagram-XKPGCS4Q.wNzwy5O8.js → journeyDiagram-XKPGCS4Q.CJqy8tkA.js} +4 -4
  59. package/dist/chunks/{kanban-definition-3W4ZIXB7.KhavzAgf.js → kanban-definition-3W4ZIXB7.CRKN0s6T.js} +2 -2
  60. package/dist/chunks/{layout.DVg04aS2.js → layout.B3vPW_pZ.js} +4 -4
  61. package/dist/chunks/{mermaid-parser.core.B9sUQvnf.js → mermaid-parser.core.ChRIRaJW.js} +10 -10
  62. package/dist/chunks/{min.DoYCfdSM.js → min.CnRvIY0R.js} +2 -2
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.C2JDgwiq.js → mindmap-definition-VGOIOE7T.D_ABLFPV.js} +4 -4
  64. package/dist/chunks/{packet-BFZMPI3H.CWfh7GKW.js → packet-BFZMPI3H.CxGfStzw.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.R4UTwYem.js → pie-7BOR55EZ.DNt3EJ4F.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.DEKssSj0.js → pieDiagram-ADFJNKIX.DIQfkreO.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.CstUaqn3.js → quadrantDiagram-AYHSOK5B.CiwquW9n.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.BJURKYxU.js → radar-NHE76QYJ.BjalOWfU.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.DNscECQS.js → rehype-mermaid.DiVW4LDn.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.D8kKOp2K.js → requirementDiagram-UZGBJVZJ.zxucHbPP.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.C3seK2D-.js → sankeyDiagram-TZEHDZUN.DD-PyOn-.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.D2210RR-.js → sequenceDiagram-WL72ISMW.DR9lsGWA.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.DNysZp29.js → stateDiagram-FKZM4ZOC.CsNkAXRg.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BlXDb-uk.js → stateDiagram-v2-4FDKWEC3.8NFC4sNp.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.C3Fi9VMD.js → timeline-definition-IT6M3QCI.KVweqk-o.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.BeOdsYcu.js → treemap-KMMF4GRG.VQYaLH7h.js} +1 -1
  77. package/dist/chunks/{useMarkdown.C8cTc4ru.js → useMarkdown.BwBe50mc.js} +8 -8
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.BN17tfAJ.js → xychartDiagram-PRI3JC2R.DLJNhHkJ.js} +1 -1
  79. package/dist/components/SassySaint/SassySaint.js +1 -1
  80. package/dist/index.js +3 -3
  81. package/package.json +3 -3
  82. package/dist/chunks/Bubble.DkpO1hUq.js +0 -144
  83. package/dist/chunks/SettingsEntry.DRxV4Mnv.js +0 -456
@@ -1,456 +0,0 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
- import { n as Ie, useEntitlements as Oe, useUserPreferences as Pe, F as ee, LOCAL_STORAGE_OLED_MODE as Ae, LOCAL_STORAGE_FULL_SCREEN as Re, e as te, canEvaluateModels as ke, j as Be, b as ve, Z as oe, applyOledMode as se, getCurrentGeoLocation as xe, graphQLRequest as ae, SERVICE_TYPES as ne } from "./index.-nrmM1wy.js";
3
- import { AppContext as Ue, SETTINGS_TITLE as Ge, CARDS as n, Button as re, PROMPTS_DESCRIPTION as je, APP_SET_OLED_MODE as le, APP_SET_FULL_SCREEN as ce } from "./LogoEntry.C42bjw_J.js";
4
- import { Card as h } from "./index.Dq3ux59q.js";
5
- import { useCapability as ie, useLocalStorage as de, Panel as Fe, Toggle as r, ButtonCancel as Ve } from "./App.DZsmgdSf.js";
6
- import { TextArea as ue } from "./index.B9-d3ocn.js";
7
- import { useRef as $e, useContext as ze, useState as s, useMemo as Ye, useEffect as He } from "react";
8
- const et = ({
9
- open: me,
10
- onOpenChange: O
11
- }) => {
12
- const P = $e(null), { getAccessToken: N, user: A } = Ie(), { allowedModels: C, status: R } = Oe(), { dispatch: T } = ze(Ue), {
13
- data: t,
14
- isSuccess: Ee,
15
- refetch: k
16
- } = Pe({
17
- user: A?.username,
18
- getAccessToken: N
19
- }), [B, g] = s({
20
- loadingLocation: !1
21
- }), [L, v] = s({
22
- prompts: []
23
- }), [x, U] = s(""), [G, p] = s(""), [j, F] = s(!1), [V, $] = s(!1), [z, Y] = s(!1), [M, H] = s(!1), [q, K] = s(!1), Q = ie(ee.TOOL.MEMORIES), W = ie(ee.ADDON.REASONING), [i, he] = de({
24
- key: Ae,
25
- initialValue: !1
26
- }), [u, Se] = de({
27
- key: Re,
28
- initialValue: !1
29
- }), [m, w] = s(!1), [S, y] = s(!1), [Z, J] = s(te), fe = Ye(() => ke(C, R) ? Be(C) : !1, [C, R]), Te = (e) => {
30
- K(e);
31
- }, ge = (e) => {
32
- F(e);
33
- }, pe = (e) => {
34
- Q && $(e);
35
- }, be = (e) => {
36
- W && Y(e);
37
- }, Ne = (e) => {
38
- H(e);
39
- }, Ce = (e) => {
40
- w(e);
41
- }, Le = (e) => {
42
- y(e);
43
- }, Me = (e) => {
44
- J(e ? oe : te);
45
- }, we = async (e) => {
46
- e.preventDefault();
47
- try {
48
- await ae({
49
- accessToken: await N(),
50
- type: ne.SET_USER_PREFERENCES,
51
- params: {
52
- user: A?.username,
53
- instructions: x,
54
- location: G,
55
- provider: t?.provider,
56
- /**
57
- * When nested model selection is disabled, explicitly clear any stored
58
- * model preference so the user relies solely on provider defaults. Empty
59
- * string signals to backend to use provider's default model.
60
- */
61
- model: M && t?.model || "",
62
- tags: L.prompts,
63
- sendOnEnter: j,
64
- useMemory: V,
65
- showDetails: q,
66
- showReasoningButton: z,
67
- useNestedModelSelection: M,
68
- themeMode: Z
69
- }
70
- }), m !== i && (he(m), se(m), T({
71
- type: le,
72
- payload: { oledMode: m }
73
- })), S !== u && (Se(S), T({
74
- type: ce,
75
- payload: { fullScreen: S }
76
- })), k(), g({
77
- loadingLocation: !1
78
- });
79
- } catch {
80
- }
81
- }, ye = async () => {
82
- g({
83
- loadingLocation: !0
84
- }), p("...");
85
- try {
86
- const e = Date.now(), a = await xe(), b = await ae({
87
- accessToken: await N(),
88
- type: ne.GET_LOCATION,
89
- params: {
90
- latitude: a.latitude,
91
- longitude: a.longitude
92
- }
93
- }), E = Date.now() - e;
94
- E < 2e3 && await new Promise((_e) => setTimeout(_e, 2e3 - E));
95
- const { city: d, state: l, country: f, displayName: I } = b.data, De = d && l && f ? `${d}, ${l}, ${f}` : I;
96
- g({
97
- loadingLocation: !1
98
- }), p(De);
99
- } catch {
100
- g({
101
- loadingLocation: !1
102
- });
103
- }
104
- }, X = () => {
105
- m !== i && (w(i), se(i), T({
106
- type: le,
107
- payload: { oledMode: i }
108
- })), S !== u && (y(u), T({
109
- type: ce,
110
- payload: { fullScreen: u }
111
- })), k(), O(!1);
112
- }, D = ({
113
- enabled: e = !1,
114
- privateChat: a = !1,
115
- clipboardAccess: b = !1,
116
- ..._
117
- }) => {
118
- v((E) => {
119
- const d = E.prompts, l = {
120
- ..._,
121
- enabled: e,
122
- privateChat: a,
123
- clipboardAccess: b
124
- };
125
- b ? l.content = l.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : l.content = l.content.replace(/{{clipboard}}/g, "");
126
- const f = d.findIndex((I) => I.slot === _.slot);
127
- return f === -1 ? {
128
- ...E,
129
- prompts: [...d, { ...l }]
130
- } : (d[f] = l, {
131
- ...E,
132
- prompts: [...d]
133
- });
134
- });
135
- };
136
- return He(() => {
137
- t && (t.instructions && U(t.instructions), t.location && p(t.location), t.tags && v({ prompts: t.tags }), t.sendOnEnter !== void 0 && F(t.sendOnEnter), t.useMemory !== void 0 && $(t.useMemory), t.showDetails !== void 0 && K(t.showDetails), t.showReasoningButton !== void 0 && Y(t.showReasoningButton), t.useNestedModelSelection !== void 0 && H(t.useNestedModelSelection), t.themeMode !== void 0 && J(t.themeMode), w(i), y(u));
138
- }, [t, i, u]), Ee ? /* @__PURE__ */ c(
139
- Fe,
140
- {
141
- open: me,
142
- onOpenChange: X,
143
- title: Ge,
144
- animation: !0,
145
- animationType: "fade",
146
- blurEffect: "large",
147
- initialFocus: P,
148
- footer: /* @__PURE__ */ c("div", { className: "flex flex-wrap justify-end gap-x-2 pb-8 sm:pb-0", children: [
149
- /* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
150
- Ve,
151
- {
152
- onOpenChange: X,
153
- label: "Cancel",
154
- ref: P
155
- }
156
- ) }),
157
- /* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
158
- re,
159
- {
160
- mode: "light",
161
- focusMode: "light",
162
- onClick: async (e) => {
163
- O(!1), await we(e);
164
- },
165
- children: "Save"
166
- }
167
- ) })
168
- ] }),
169
- children: [
170
- /* @__PURE__ */ c(
171
- h,
172
- {
173
- header: n.SETTINGS_DETAILS.TITLE,
174
- className: "prose-dark dark:prose-lighter",
175
- noBorder: !0,
176
- children: [
177
- /* @__PURE__ */ o(
178
- r,
179
- {
180
- noBorder: !0,
181
- narrow: !0,
182
- className: "mt-2 justify-between",
183
- labelPosition: "left",
184
- label: "Message Statistics",
185
- subLabel: n.SETTINGS_DETAILS.DETAILS,
186
- name: "show-message-statistics",
187
- onChange: Te,
188
- checked: q
189
- }
190
- ),
191
- /* @__PURE__ */ o(
192
- r,
193
- {
194
- noBorder: !0,
195
- narrow: !0,
196
- className: "mt-2 justify-between",
197
- labelPosition: "left",
198
- label: "Send Message on Enter",
199
- subLabel: n.SETTINGS_DETAILS.SEND_ON_ENTER,
200
- name: "send-message-on-enter",
201
- onChange: ge,
202
- checked: j
203
- }
204
- ),
205
- Q && /* @__PURE__ */ o(
206
- r,
207
- {
208
- noBorder: !0,
209
- narrow: !0,
210
- className: "mt-2 justify-between",
211
- labelPosition: "left",
212
- label: "Use Memory",
213
- subLabel: n.SETTINGS_DETAILS.USE_MEMORY,
214
- name: "use-memory",
215
- onChange: pe,
216
- checked: V
217
- }
218
- )
219
- ]
220
- }
221
- ),
222
- /* @__PURE__ */ c(
223
- h,
224
- {
225
- header: "Custom Instructions",
226
- className: "prose-dark dark:prose-lighter mt-4",
227
- noBorder: !0,
228
- children: [
229
- /* @__PURE__ */ c("p", { className: "text-sm", children: [
230
- "What would you like ",
231
- /* @__PURE__ */ o("em", { children: ve }),
232
- " to know about you to provide better responses?"
233
- ] }),
234
- /* @__PURE__ */ o(
235
- ue,
236
- {
237
- mode: "alt-system",
238
- autoCapitalize: "off",
239
- autoComplete: "off",
240
- autoCorrect: "off",
241
- name: "customInstructions",
242
- label: "Custom Instructions",
243
- value: x,
244
- onChange: (e) => {
245
- U(e.target.value);
246
- },
247
- helperText: "Press ENTER to add a new line."
248
- }
249
- )
250
- ]
251
- }
252
- ),
253
- /* @__PURE__ */ c(
254
- h,
255
- {
256
- header: "Location",
257
- className: "prose-dark dark:prose-lighter mt-4",
258
- noBorder: !0,
259
- children: [
260
- /* @__PURE__ */ o("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
261
- /* @__PURE__ */ o(
262
- ue,
263
- {
264
- mode: "alt-system",
265
- name: "location",
266
- label: "Location",
267
- value: G,
268
- onChange: (e) => {
269
- p(e.target.value);
270
- },
271
- helperText: "Enter your location or press auto-detect."
272
- }
273
- ),
274
- /* @__PURE__ */ o(
275
- re,
276
- {
277
- className: "mt-2",
278
- size: "small",
279
- noBorder: !0,
280
- variant: "secondary",
281
- disabled: B.loadingLocation,
282
- onClick: ye,
283
- children: B.loadingLocation ? "Detecting..." : "Auto-detect"
284
- }
285
- )
286
- ]
287
- }
288
- ),
289
- /* @__PURE__ */ c(
290
- h,
291
- {
292
- header: n.SETTINGS_PROMPTS.TITLE,
293
- className: "prose-dark dark:prose-lighter mt-4",
294
- noBorder: !0,
295
- children: [
296
- /* @__PURE__ */ o("p", { className: "text-sm", children: je }),
297
- L.prompts && L.prompts.slice(0, 3).map((e) => /* @__PURE__ */ c(
298
- h,
299
- {
300
- mode: "dark",
301
- noBorder: !0,
302
- header: e.label.replace("...", ""),
303
- className: "prose-light mb-2",
304
- children: [
305
- /* @__PURE__ */ o("p", { className: "text-sm", children: e.description }),
306
- /* @__PURE__ */ o(
307
- r,
308
- {
309
- noBorder: !0,
310
- narrow: !0,
311
- mode: "dark",
312
- focusMode: "light",
313
- className: "mt-2",
314
- label: "Enabled",
315
- name: e.slot.toString(),
316
- onChange: (a) => {
317
- D({
318
- ...e,
319
- enabled: a
320
- });
321
- },
322
- checked: e.enabled
323
- }
324
- ),
325
- /* @__PURE__ */ o(
326
- r,
327
- {
328
- noBorder: !0,
329
- narrow: !0,
330
- mode: "dark",
331
- focusMode: "light",
332
- className: "mt-2",
333
- label: "Private Chat",
334
- name: `private-${e.slot.toString()}`,
335
- onChange: (a) => {
336
- D({
337
- ...e,
338
- privateChat: a
339
- });
340
- },
341
- checked: e.privateChat
342
- }
343
- ),
344
- /* @__PURE__ */ o(
345
- r,
346
- {
347
- noBorder: !0,
348
- narrow: !0,
349
- mode: "dark",
350
- focusMode: "light",
351
- className: "mt-2",
352
- label: "Use Clipboard",
353
- name: `clipboard-${e.slot.toString()}`,
354
- onChange: (a) => {
355
- D({
356
- ...e,
357
- clipboardAccess: a
358
- });
359
- },
360
- checked: e.clipboardAccess
361
- }
362
- )
363
- ]
364
- },
365
- `prompt-slot-${e.slot}`
366
- ))
367
- ]
368
- }
369
- ),
370
- /* @__PURE__ */ c(
371
- h,
372
- {
373
- header: n.SETTINGS_ADVANCED.TITLE,
374
- className: "prose-dark dark:prose-lighter mt-4 ",
375
- noBorder: !0,
376
- children: [
377
- W && /* @__PURE__ */ o(
378
- r,
379
- {
380
- noBorder: !0,
381
- narrow: !0,
382
- className: "mt-2 justify-between",
383
- labelPosition: "left",
384
- label: "Reasoning Button",
385
- subLabel: n.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION,
386
- name: "show-reasoning-button",
387
- onChange: be,
388
- checked: z
389
- }
390
- ),
391
- fe && /* @__PURE__ */ o(
392
- r,
393
- {
394
- noBorder: !0,
395
- narrow: !0,
396
- className: "mt-2 justify-between",
397
- labelPosition: "left",
398
- label: "Model Selection",
399
- subLabel: n.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION,
400
- name: "use-nested-model-selection",
401
- onChange: Ne,
402
- checked: M
403
- }
404
- ),
405
- /* @__PURE__ */ o(
406
- r,
407
- {
408
- noBorder: !0,
409
- narrow: !0,
410
- className: "mt-2 justify-between",
411
- labelPosition: "left",
412
- label: "OLED Mode",
413
- subLabel: n.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
414
- name: "enable-oled-mode",
415
- onChange: Ce,
416
- checked: m
417
- }
418
- ),
419
- /* @__PURE__ */ o(
420
- r,
421
- {
422
- noBorder: !0,
423
- narrow: !0,
424
- className: "mt-2 justify-between",
425
- labelPosition: "left",
426
- label: "Alternative Theme",
427
- subLabel: n.SETTINGS_ADVANCED.THEME_MODE_DESCRIPTION,
428
- name: "enable-alternative-theme",
429
- onChange: Me,
430
- checked: Z === oe
431
- }
432
- ),
433
- /* @__PURE__ */ o(
434
- r,
435
- {
436
- noBorder: !0,
437
- narrow: !0,
438
- className: "mt-2 justify-between",
439
- labelPosition: "left",
440
- label: "Full Screen",
441
- subLabel: n.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
442
- name: "enable-full-screen",
443
- onChange: Le,
444
- checked: S
445
- }
446
- )
447
- ]
448
- }
449
- )
450
- ]
451
- }
452
- ) : null;
453
- };
454
- export {
455
- et as SettingsPanel
456
- };