@8wave/ai-elements 0.121.0-beta.2 → 0.121.0-beta.4

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.
package/dist-vue/index.js CHANGED
@@ -16,7 +16,7 @@ import { C as et, E as tt, F as nt, M as rt, N as it, P as at, d as ot, h as st,
16
16
  import { t as ut } from "./_chunks/useSafeLocalStorage-C1BlCeKw.js";
17
17
  import { t as dt } from "./_chunks/useDialogConfirm-BxhvsnRr.js";
18
18
  import { n as ft, r as pt, t as mt } from "./_chunks/PkChatbotViewConversations-BHvHF0w7.js";
19
- import { i as ht, n as gt, r as _t, t as vt } from "./_chunks/PkChatbotViewChat-CZjOJn6w.js";
19
+ import { i as ht, n as gt, r as _t, t as vt } from "./_chunks/PkChatbotViewChat-B1gbdvs1.js";
20
20
  import { t as yt } from "./_chunks/PkChatbotError-BV5ga7hk.js";
21
21
  import { t as bt } from "./_chunks/useImageFallback-5vQIO0pC.js";
22
22
  import { t as xt } from "./_chunks/useLocalizedString-PfaKjIQY.js";
@@ -34,10 +34,10 @@ import { t as Un } from "./_chunks/PkChatbotFeedbackForm-pQc2JrQT.js";
34
34
  import { n as Wn, t as Gn } from "./_chunks/PkChatbotSteps-CVAkaIzk.js";
35
35
  import { t as Kn } from "./_chunks/PkChatbotStepPayload-Bga_HEps.js";
36
36
  import { t as qn } from "./_chunks/PkChatbotStepToolDetail-YbUYP-Y3.js";
37
- import { n as Jn, t as Yn } from "./_chunks/PkChatbotInput-CQup254H.js";
37
+ import { n as Jn, t as Yn } from "./_chunks/PkChatbotInput-BRhIG8HR.js";
38
38
  import { t as Xn } from "./_chunks/PkChatbotEmptyState-DqzgF4vH.js";
39
39
  import { t as Zn } from "./_chunks/PkChatbotViewProfile-_WMSVDlA.js";
40
- import { t as Qn } from "./_chunks/PkChatbot-CTZPru6f.js";
40
+ import { t as Qn } from "./_chunks/PkChatbot-DsZ8mAbt.js";
41
41
  import { i as $n, r as er, t as tr } from "./_chunks/PkToolShowSources-D8IF7g0d.js";
42
42
  import { t as nr } from "./_chunks/mcpOAuthReport-BHCMTtgf.js";
43
43
  import { t as rr } from "./_chunks/PkToolShowEmail-CUgZN0J5.js";
@@ -657,7 +657,7 @@ var Aa = { class: "flex items-center gap-4 mb-4" }, ja = { class: "font-semibold
657
657
  }
658
658
  });
659
659
  //#endregion
660
- //#region virtual:intlify-i18n-1
660
+ //#region virtual:intlify-i18n-0
661
661
  function La(e) {
662
662
  let t = e;
663
663
  t.__i18n = t.__i18n || [], t.__i18n.push({
@@ -766,7 +766,7 @@ var Ra = Ia, za = { class: "flex items-center gap-4 mb-4" }, Ba = { class: "font
766
766
  }
767
767
  });
768
768
  //#endregion
769
- //#region virtual:intlify-i18n-0
769
+ //#region virtual:intlify-i18n-1
770
770
  function Ya(e) {
771
771
  let t = e;
772
772
  t.__i18n = t.__i18n || [], t.__i18n.push({
@@ -18426,6 +18426,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18426
18426
  typeModifiers: {},
18427
18427
  initialMessage: { default: void 0 },
18428
18428
  initialMessageModifiers: {},
18429
+ greeting: { default: void 0 },
18430
+ greetingModifiers: {},
18429
18431
  messagePlaceholder: { default: void 0 },
18430
18432
  messagePlaceholderModifiers: {},
18431
18433
  dismissableNotice: { default: void 0 },
@@ -18617,7 +18619,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18617
18619
  ranking: { default: void 0 },
18618
18620
  rankingModifiers: {}
18619
18621
  }),
18620
- emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:copilotFrame.update:copilotPageCss.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:imageHosts.update:disabledTools.update:approvalTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:toolWorkingSetMode.update:voiceEnabled.update:voiceMaxSessionSeconds.update:voiceId.update:voiceLanguage.update:voiceFirstMessage.update:voiceCascadeTimeoutSeconds.update:voiceFillerAfterSeconds.update:voiceFillerMessage.update:voiceIgnoreBackgroundVoices.update:voiceTurnEagerness.update:voiceTurnTimeoutSeconds.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:smoothStream.update:showExtendedSteps.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:ranking".split("."),
18622
+ emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:greeting.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:copilotFrame.update:copilotPageCss.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:imageHosts.update:disabledTools.update:approvalTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:toolWorkingSetMode.update:voiceEnabled.update:voiceMaxSessionSeconds.update:voiceId.update:voiceLanguage.update:voiceFirstMessage.update:voiceCascadeTimeoutSeconds.update:voiceFillerAfterSeconds.update:voiceFillerMessage.update:voiceIgnoreBackgroundVoices.update:voiceTurnEagerness.update:voiceTurnTimeoutSeconds.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:smoothStream.update:showExtendedSteps.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:ranking".split("."),
18621
18623
  setup(e) {
18622
18624
  let { t: n, te: r, n: i, locale: a, availableLocales: o } = q({ useScope: "global" }), s = A(() => [...o.filter((e) => e === a.value), ...o.filter((e) => e !== a.value)]), c = {
18623
18625
  freshnessScale: oi(),
@@ -18634,10 +18636,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18634
18636
  return Array.isArray(e) ? e : [];
18635
18637
  }
18636
18638
  return [];
18637
- }, u = e, { errors: d } = ai(u), f = W(e, "agentId"), p = W(e, "name"), m = W(e, "type"), h = W(e, "initialMessage"), g = W(e, "messagePlaceholder"), _ = W(e, "dismissableNotice"), v = W(e, "footerMessage"), x = W(e, "model"), S = A(() => Pe(x.value)), C = A(() => u.catalog?.find((e) => e.id === x.value)), w = A(() => {
18638
- let e = C.value;
18639
- if (e) return e.retired ? n("hint.modelRetired") : jt.value && e.zdr === Yi.None || Mt.value && e.noTraining === Yi.None ? n("hint.modelNotCompatible") : jt.value && e.zdr === Yi.Some || Mt.value && e.noTraining === Yi.Some ? n("hint.modelGuaranteedOnSome") : e.contextWindow ? n("hint.modelContextWindow", { count: i(Math.round(e.contextWindow / 1e3)) }) : void 0;
18640
- }), ee = W(e, "temperature"), te = W(e, "prompt"), re = W(e, "status"), ie = W(e, "visibility"), se = W(e, "limit"), ce = W(e, "maxStepCount"), le = W(e, "maxOutputTokens"), ue = W(e, "presencePenalty"), de = W(e, "frequencyPenalty"), fe = W(e, "searchMode"), pe = W(e, "reasoning"), me = W(e, "webSearch"), he = W(e, "theme"), ge = W(e, "mainColor"), ve = W(e, "textColor"), be = W(e, "useColorsForAgentHeader"), Se = W(e, "welcomePopup"), we = W(e, "interactiveLogin"), Te = W(e, "floatingButtonPosition"), De = W(e, "layout"), Oe = W(e, "workingGlow"), ke = W(e, "copilotFrame"), Ae = W(e, "copilotPageCss"), je = W(e, "maxMessageLength"), Me = W(e, "media"), Ne = W(e, "minuteRateLimit"), Fe = W(e, "hourRateLimit"), Ie = W(e, "dayRateLimit"), Le = W(e, "monthRateLimit"), Re = W(e, "trustedOrigins"), ze = W(e, "imageHosts"), Be = W(e, "disabledTools"), Ve = W(e, "approvalTools"), He = W(e, "useAllUserKb"), Ue = W(e, "useAllUserFiles"), Ge = W(e, "formMaxSteps"), Ke = W(e, "formMaxOptionsPerStep"), qe = W(e, "widgetUrl"), Je = W(e, "loadDelay"), Ye = W(e, "loaderStrategy"), Xe = W(e, "fileUploadEnabled"), Ze = W(e, "toolWorkingSetMode"), Qe = W(e, "voiceEnabled"), $e = W(e, "voiceMaxSessionSeconds"), et = W(e, "voiceId"), tt = W(e, "voiceLanguage"), nt = W(e, "voiceFirstMessage"), it = W(e, "voiceCascadeTimeoutSeconds"), at = W(e, "voiceFillerAfterSeconds"), ot = W(e, "voiceFillerMessage"), st = W(e, "voiceIgnoreBackgroundVoices"), ct = W(e, "voiceTurnEagerness"), lt = W(e, "voiceTurnTimeoutSeconds"), ut = [
18639
+ }, u = e, { errors: d } = ai(u), f = W(e, "agentId"), p = W(e, "name"), m = W(e, "type"), h = W(e, "initialMessage"), g = W(e, "greeting"), _ = (e, t) => {
18640
+ g.value = [{
18641
+ ...g.value?.[0],
18642
+ [e]: t
18643
+ }, ...g.value?.slice(1) ?? []];
18644
+ }, v = W(e, "messagePlaceholder"), x = W(e, "dismissableNotice"), S = W(e, "footerMessage"), C = W(e, "model"), w = A(() => Pe(C.value)), ee = A(() => u.catalog?.find((e) => e.id === C.value)), te = A(() => {
18645
+ let e = ee.value;
18646
+ if (e) return e.retired ? n("hint.modelRetired") : Nt.value && e.zdr === Yi.None || Pt.value && e.noTraining === Yi.None ? n("hint.modelNotCompatible") : Nt.value && e.zdr === Yi.Some || Pt.value && e.noTraining === Yi.Some ? n("hint.modelGuaranteedOnSome") : e.contextWindow ? n("hint.modelContextWindow", { count: i(Math.round(e.contextWindow / 1e3)) }) : void 0;
18647
+ }), re = W(e, "temperature"), ie = W(e, "prompt"), se = W(e, "status"), ce = W(e, "visibility"), le = W(e, "limit"), ue = W(e, "maxStepCount"), de = W(e, "maxOutputTokens"), fe = W(e, "presencePenalty"), pe = W(e, "frequencyPenalty"), me = W(e, "searchMode"), he = W(e, "reasoning"), ge = W(e, "webSearch"), ve = W(e, "theme"), be = W(e, "mainColor"), Se = W(e, "textColor"), we = W(e, "useColorsForAgentHeader"), Te = W(e, "welcomePopup"), De = W(e, "interactiveLogin"), Oe = W(e, "floatingButtonPosition"), ke = W(e, "layout"), Ae = W(e, "workingGlow"), je = W(e, "copilotFrame"), Me = W(e, "copilotPageCss"), Ne = W(e, "maxMessageLength"), Fe = W(e, "media"), Ie = W(e, "minuteRateLimit"), Le = W(e, "hourRateLimit"), Re = W(e, "dayRateLimit"), ze = W(e, "monthRateLimit"), Be = W(e, "trustedOrigins"), Ve = W(e, "imageHosts"), He = W(e, "disabledTools"), Ue = W(e, "approvalTools"), Ge = W(e, "useAllUserKb"), Ke = W(e, "useAllUserFiles"), qe = W(e, "formMaxSteps"), Je = W(e, "formMaxOptionsPerStep"), Ye = W(e, "widgetUrl"), Xe = W(e, "loadDelay"), Ze = W(e, "loaderStrategy"), Qe = W(e, "fileUploadEnabled"), $e = W(e, "toolWorkingSetMode"), et = W(e, "voiceEnabled"), tt = W(e, "voiceMaxSessionSeconds"), nt = W(e, "voiceId"), it = W(e, "voiceLanguage"), at = W(e, "voiceFirstMessage"), ot = W(e, "voiceCascadeTimeoutSeconds"), st = W(e, "voiceFillerAfterSeconds"), ct = W(e, "voiceFillerMessage"), lt = W(e, "voiceIgnoreBackgroundVoices"), ut = W(e, "voiceTurnEagerness"), dt = W(e, "voiceTurnTimeoutSeconds"), ft = [
18641
18648
  "it",
18642
18649
  "en",
18643
18650
  "es",
@@ -18645,46 +18652,46 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18645
18652
  "de",
18646
18653
  "pt",
18647
18654
  "nl"
18648
- ], dt = [
18655
+ ], pt = [
18649
18656
  "gender",
18650
18657
  "age",
18651
18658
  "accent",
18652
18659
  "descriptive",
18653
18660
  "description",
18654
18661
  "use_case"
18655
- ], ft = ["language"], pt = (e) => {
18662
+ ], mt = ["language"], ht = (e) => {
18656
18663
  let t = e.replace(/_/g, " ");
18657
18664
  return t.charAt(0).toUpperCase() + t.slice(1);
18658
- }, mt = (e) => {
18659
- let t = e.labels ?? {}, n = [...dt.filter((e) => e in t), ...Object.keys(t).filter((e) => !dt.includes(e) && !ft.includes(e))], r = /* @__PURE__ */ new Set();
18665
+ }, gt = (e) => {
18666
+ let t = e.labels ?? {}, n = [...pt.filter((e) => e in t), ...Object.keys(t).filter((e) => !pt.includes(e) && !mt.includes(e))], r = /* @__PURE__ */ new Set();
18660
18667
  return n.flatMap((e) => {
18661
18668
  let n = t[e]?.trim().toLowerCase();
18662
- return !n || r.has(n) ? [] : (r.add(n), [pt(n)]);
18669
+ return !n || r.has(n) ? [] : (r.add(n), [ht(n)]);
18663
18670
  }).join(" · ");
18664
- }, ht = A(() => (u.voices ?? []).map((e) => ({
18671
+ }, _t = A(() => (u.voices ?? []).map((e) => ({
18665
18672
  label: e.name,
18666
18673
  value: e.voiceId,
18667
- description: mt(e)
18668
- }))), gt = (e, t) => {
18674
+ description: gt(e)
18675
+ }))), vt = (e, t) => {
18669
18676
  let n = e.trim().toLowerCase();
18670
18677
  return n ? t.filter((e) => `${e.label} ${e.description}`.toLowerCase().includes(n)) : t;
18671
- }, _t = A(() => n("hint.voiceId")), vt = B(), yt = B(!1), bt = () => {
18672
- vt.value?.pause(), vt.value = void 0, yt.value = !1;
18673
- }, xt = () => {
18674
- if (yt.value) {
18675
- bt();
18678
+ }, yt = A(() => n("hint.voiceId")), bt = B(), xt = B(!1), St = () => {
18679
+ bt.value?.pause(), bt.value = void 0, xt.value = !1;
18680
+ }, Ct = () => {
18681
+ if (xt.value) {
18682
+ St();
18676
18683
  return;
18677
18684
  }
18678
- let e = u.voices?.find((e) => e.voiceId === et.value)?.previewUrl;
18685
+ let e = u.voices?.find((e) => e.voiceId === nt.value)?.previewUrl;
18679
18686
  if (!e) return;
18680
- bt();
18687
+ St();
18681
18688
  let t = new Audio(e);
18682
- t.addEventListener("ended", bt), vt.value = t, yt.value = !0, t.play().catch(bt);
18683
- }, St = A(() => !!u.voices?.find((e) => e.voiceId === et.value)?.previewUrl);
18684
- G(et, bt), Jr(bt);
18685
- let Ct = W(e, "fileUploadMaxFileSize"), Tt = W(e, "fileUploadAllowedMimeTypes"), Et = W(e, "fileUploadMaxFilesPerMessage"), Dt = W(e, "fileUploadMaxFilesPerChat"), Ot = W(e, "customCss"), kt = W(e, "privacyPolicyNotice"), At = W(e, "fallbackModels"), jt = W(e, "zeroDataRetention"), Mt = W(e, "disallowPromptTraining"), Nt = W(e, "providerTimeoutMs"), Pt = W(e, "smoothStream"), Ft = W(e, "showExtendedSteps"), It = W(e, "channels"), Lt = W(e, "externalContextSchema"), Rt = W(e, "hostTools"), zt = W(e, "pageAccess"), Bt = W(e, "ranking");
18686
- G(Bt, (e) => {
18687
- (!e?.freshness || !e?.priority || !e?.mmr) && (Bt.value = Qr({
18689
+ t.addEventListener("ended", St), bt.value = t, xt.value = !0, t.play().catch(St);
18690
+ }, Tt = A(() => !!u.voices?.find((e) => e.voiceId === nt.value)?.previewUrl);
18691
+ G(nt, St), Jr(St);
18692
+ let Et = W(e, "fileUploadMaxFileSize"), Dt = W(e, "fileUploadAllowedMimeTypes"), Ot = W(e, "fileUploadMaxFilesPerMessage"), kt = W(e, "fileUploadMaxFilesPerChat"), At = W(e, "customCss"), jt = W(e, "privacyPolicyNotice"), Mt = W(e, "fallbackModels"), Nt = W(e, "zeroDataRetention"), Pt = W(e, "disallowPromptTraining"), Ft = W(e, "providerTimeoutMs"), It = W(e, "smoothStream"), Lt = W(e, "showExtendedSteps"), Rt = W(e, "channels"), zt = W(e, "externalContextSchema"), Bt = W(e, "hostTools"), E = W(e, "pageAccess"), Vt = W(e, "ranking");
18693
+ G(Vt, (e) => {
18694
+ (!e?.freshness || !e?.priority || !e?.mmr) && (Vt.value = Qr({
18688
18695
  freshness: {
18689
18696
  enabled: !1,
18690
18697
  scale: 7776e3,
@@ -18703,16 +18710,16 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18703
18710
  }
18704
18711
  }));
18705
18712
  }, { immediate: !0 });
18706
- let E = A({
18713
+ let Ht = A({
18707
18714
  get: () => {
18708
- let e = Bt.value?.freshness?.scale ?? 7776e3;
18715
+ let e = Vt.value?.freshness?.scale ?? 7776e3;
18709
18716
  return e >= 86400 ? Math.round(e / 86400) : e;
18710
18717
  },
18711
18718
  set: (e) => {
18712
- Bt.value?.freshness && (Bt.value.freshness.scale = e * 86400);
18719
+ Vt.value?.freshness && (Vt.value.freshness.scale = e * 86400);
18713
18720
  }
18714
- }), Vt = A(() => {
18715
- let e = E.value, t = e * 4, r = Math.round(t / 30.4 * 10) / 10, i = Bt.value?.freshness?.weight ?? .1, a = Math.round(i / 2 * 1e3) / 1e3, o = Math.round(i * .06 * 1e3) / 1e3, s = {
18721
+ }), Ut = A(() => {
18722
+ let e = Ht.value, t = e * 4, r = Math.round(t / 30.4 * 10) / 10, i = Vt.value?.freshness?.weight ?? .1, a = Math.round(i / 2 * 1e3) / 1e3, o = Math.round(i * .06 * 1e3) / 1e3, s = {
18716
18723
  half: e,
18717
18724
  zero: t,
18718
18725
  months: r,
@@ -18721,17 +18728,17 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18721
18728
  zeroWeight: o.toFixed(3).replace(/0+$/, "").replace(/\.$/, "")
18722
18729
  };
18723
18730
  return n(t >= 30 ? "hint.freshnessScaleExplanationMonths" : "hint.freshnessScaleExplanationDays", s);
18724
- }), Ht = B(!1), Ut = ci("panelRoot"), Wt = async () => {
18725
- await Wr(), Ut.value?.querySelector(".vv-tab .vv-nav__item-label.current")?.scrollIntoView({
18731
+ }), Wt = B(!1), Gt = ci("panelRoot"), Kt = async () => {
18732
+ await Wr(), Gt.value?.querySelector(".vv-tab .vv-nav__item-label.current")?.scrollIntoView({
18726
18733
  block: "nearest",
18727
18734
  inline: "nearest"
18728
18735
  });
18729
- }, Gt = A({
18730
- get: () => Lt.value != null,
18736
+ }, qt = A({
18737
+ get: () => zt.value != null,
18731
18738
  set: (e) => {
18732
- Lt.value = e ? {} : void 0;
18739
+ zt.value = e ? {} : void 0;
18733
18740
  }
18734
- }), Kt = {
18741
+ }), Jt = {
18735
18742
  images: [
18736
18743
  "image/jpeg",
18737
18744
  "image/png",
@@ -18747,7 +18754,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18747
18754
  code: [...y],
18748
18755
  spreadsheets: [ne],
18749
18756
  audio: [...b]
18750
- }, qt = A(() => [
18757
+ }, Yt = A(() => [
18751
18758
  {
18752
18759
  label: n("label.mimeTypeImages"),
18753
18760
  value: "images"
@@ -18772,21 +18779,21 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18772
18779
  label: n("label.mimeTypeAudio"),
18773
18780
  value: "audio"
18774
18781
  }]
18775
- ]), Jt = A(() => Object.values(ye).map((e) => ({
18782
+ ]), Xt = A(() => Object.values(ye).map((e) => ({
18776
18783
  label: n(`agent.toolWorkingSetMode.${e}`),
18777
18784
  value: e
18778
- }))), Yt = A({
18779
- get: () => Object.entries(Kt).filter(([, e]) => e.every((e) => Tt.value.includes(e))).map(([e]) => e),
18785
+ }))), Zt = A({
18786
+ get: () => Object.entries(Jt).filter(([, e]) => e.every((e) => Dt.value.includes(e))).map(([e]) => e),
18780
18787
  set: (e) => {
18781
- let t = new Set(Yt.value.filter((t) => !e.includes(t)).flatMap((e) => Kt[e] ?? []));
18782
- Tt.value = [.../* @__PURE__ */ new Set([...Tt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => Kt[e] ?? [])])];
18788
+ let t = new Set(Zt.value.filter((t) => !e.includes(t)).flatMap((e) => Jt[e] ?? []));
18789
+ Dt.value = [.../* @__PURE__ */ new Set([...Dt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => Jt[e] ?? [])])];
18783
18790
  }
18784
- }), Xt = A({
18785
- get: () => Math.round(Ct.value / 1048576),
18791
+ }), Qt = A({
18792
+ get: () => Math.round(Et.value / 1048576),
18786
18793
  set: (e) => {
18787
- Ct.value = e * 1024 * 1024;
18794
+ Et.value = e * 1024 * 1024;
18788
18795
  }
18789
- }), Zt = A(() => new Set(Da(u.features))), Qt = A(() => [
18796
+ }), $t = A(() => new Set(Da(u.features))), en = A(() => [
18790
18797
  {
18791
18798
  key: "knowledgeSearch",
18792
18799
  icon: "ri:search-line",
@@ -18855,30 +18862,30 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18855
18862
  icon: "ri:chat-3-line",
18856
18863
  tools: [T.FetchTeamsChannelHistory]
18857
18864
  }
18858
- ]), $t = A(() => Qt.value.map((e) => ({
18865
+ ]), tn = A(() => en.value.map((e) => ({
18859
18866
  ...e,
18860
- tools: e.tools.filter((e) => !Zt.value.has(e))
18861
- })).filter((e) => e.tools.length > 0)), en = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !Be.value.includes(T.SearchInKnowledgeBase) : e !== T.ShowWeather || !Be.value.includes(T.GetWeather), tn = (e) => oe(e) || e === T.Spreadsheet, nn = A(() => x.value ? [x.value] : []);
18862
- function rn(e) {
18863
- return !Be.value.includes(e);
18867
+ tools: e.tools.filter((e) => !$t.value.has(e))
18868
+ })).filter((e) => e.tools.length > 0)), nn = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !He.value.includes(T.SearchInKnowledgeBase) : e !== T.ShowWeather || !He.value.includes(T.GetWeather), rn = (e) => oe(e) || e === T.Spreadsheet, an = A(() => C.value ? [C.value] : []);
18869
+ function on(e) {
18870
+ return !He.value.includes(e);
18864
18871
  }
18865
- function an(e) {
18872
+ function sn(e) {
18866
18873
  return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || Ce(e);
18867
18874
  }
18868
- function on(e) {
18869
- return Ve.value.includes(e);
18875
+ function cn(e) {
18876
+ return Ue.value.includes(e);
18870
18877
  }
18871
- let sn = A(() => Ve.value.filter((e) => Ce(e) && rn(e)).map((e) => rt(e, {
18878
+ let ln = A(() => Ue.value.filter((e) => Ce(e) && on(e)).map((e) => rt(e, {
18872
18879
  t: n,
18873
18880
  te: r
18874
18881
  })));
18875
- function cn(e, t) {
18876
- Ve.value = t ? [...Ve.value, e] : Ve.value.filter((t) => t !== e);
18882
+ function un(e, t) {
18883
+ Ue.value = t ? [...Ue.value, e] : Ue.value.filter((t) => t !== e);
18877
18884
  }
18878
- function ln(e, t) {
18879
- t ? Be.value = Be.value.filter((t) => t !== e) : (Be.value = [...Be.value, e], cn(e, !1), e === T.UserMemory && (He.value = !1), e === T.SearchInUserFiles && (Ue.value = !1));
18885
+ function dn(e, t) {
18886
+ t ? He.value = He.value.filter((t) => t !== e) : (He.value = [...He.value, e], un(e, !1), e === T.UserMemory && (Ge.value = !1), e === T.SearchInUserFiles && (Ke.value = !1));
18880
18887
  }
18881
- let un = A(() => x.value?.split("/")[0] ?? ""), dn = A(() => m.value === Ee.Chat), fn = A(() => {
18888
+ let fn = A(() => C.value?.split("/")[0] ?? ""), D = A(() => m.value === Ee.Chat), O = A(() => {
18882
18889
  let e = [
18883
18890
  {
18884
18891
  tab: "general",
@@ -18893,7 +18900,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18893
18900
  label: n("label.tools")
18894
18901
  }
18895
18902
  ];
18896
- return dn.value && (u.playground || (e.push({
18903
+ return D.value && (u.playground || (e.push({
18897
18904
  tab: "security",
18898
18905
  label: n("label.security"),
18899
18906
  class: d.value?.security ? "invalid" : ""
@@ -18904,18 +18911,18 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18904
18911
  tab: "embed",
18905
18912
  label: n("label.embed")
18906
18913
  })), e;
18907
- }), D = A(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}`), O = A(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}/chat`), pn = A(() => `<script src="${`${u.baseUrl}/api/v1/public/organizations/${u.organizationSlug}/agents/${f.value}/embed.js`}" defer><\/script>`), mn = A(() => `<iframe src="${D.value}" width="100%" height="600" frameborder="0"
18914
+ }), pn = A(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}`), mn = A(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}/chat`), hn = A(() => `<script src="${`${u.baseUrl}/api/v1/public/organizations/${u.organizationSlug}/agents/${f.value}/embed.js`}" defer><\/script>`), gn = A(() => `<iframe src="${pn.value}" width="100%" height="600" frameborder="0"
18908
18915
  style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
18909
18916
  return (r, a) => {
18910
- let o = xr, u = Or, d = Dr, f = br, y = Tr, b = Ar, C = We, ne = mr, ye = kr, Ee = vr, Pe = Sr;
18917
+ let o = xr, u = Or, d = Dr, f = br, y = Tr, b = Ar, ee = We, ne = mr, ye = kr, Ee = vr, Pe = Sr;
18911
18918
  return z(), N("div", {
18912
18919
  ref_key: "panelRoot",
18913
- ref: Ut,
18920
+ ref: Gt,
18914
18921
  class: "pk-agent-settings-panel"
18915
18922
  }, [I(ye, {
18916
- items: fn.value,
18923
+ items: O.value,
18917
18924
  lazy: "once",
18918
- "onUpdate:modelValue": Wt
18925
+ "onUpdate:modelValue": Kt
18919
18926
  }, {
18920
18927
  "panel::general": K(() => [
18921
18928
  I(Ra, {
@@ -18927,10 +18934,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18927
18934
  vertical: ""
18928
18935
  }, null, 8, ["modelValue", "label"]),
18929
18936
  I(o, {
18930
- modelValue: re.value,
18931
- "onUpdate:modelValue": a[1] ||= (e) => re.value = e,
18937
+ modelValue: se.value,
18938
+ "onUpdate:modelValue": a[1] ||= (e) => se.value = e,
18932
18939
  name: "status",
18933
- icon: U(jw)(re.value),
18940
+ icon: U(jw)(se.value),
18934
18941
  label: U(n)("label.status"),
18935
18942
  placeholder: U(n)("placeholder.select"),
18936
18943
  unselectable: !1,
@@ -18967,10 +18974,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18967
18974
  "disabled"
18968
18975
  ]),
18969
18976
  I(o, {
18970
- modelValue: ie.value,
18971
- "onUpdate:modelValue": a[2] ||= (e) => ie.value = e,
18977
+ modelValue: ce.value,
18978
+ "onUpdate:modelValue": a[2] ||= (e) => ce.value = e,
18972
18979
  name: "visibility",
18973
- icon: U(Mw)(ie.value),
18980
+ icon: U(Mw)(ce.value),
18974
18981
  label: U(n)("label.visibility"),
18975
18982
  placeholder: U(n)("placeholder.select"),
18976
18983
  unselectable: !1,
@@ -18991,8 +18998,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
18991
18998
  value: "organization"
18992
18999
  }
18993
19000
  ],
18994
- "hint-label": dn.value ? ie.value ? U(n)(`agent.visibilityHint.${ie.value}`) : void 0 : U(n)("hint.reasoningVisibility"),
18995
- disabled: e.playground || !dn.value
19001
+ "hint-label": D.value ? ce.value ? U(n)(`agent.visibilityHint.${ce.value}`) : void 0 : U(n)("hint.reasoningVisibility"),
19002
+ disabled: e.playground || !D.value
18996
19003
  }, {
18997
19004
  option: K(({ option: e }) => [I(as, {
18998
19005
  icon: U(Mw)(String(e.value)),
@@ -19025,16 +19032,16 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19025
19032
  "placeholder"
19026
19033
  ]),
19027
19034
  I(iT, {
19028
- modelValue: x.value,
19029
- "onUpdate:modelValue": a[4] ||= (e) => x.value = e,
19035
+ modelValue: C.value,
19036
+ "onUpdate:modelValue": a[4] ||= (e) => C.value = e,
19030
19037
  name: "model",
19031
19038
  label: U(n)("label.model"),
19032
19039
  strategy: "fixed",
19033
19040
  placeholder: U(n)("action.select"),
19034
19041
  catalog: e.catalog,
19035
- "zero-data-retention": jt.value,
19036
- "disallow-prompt-training": Mt.value,
19037
- current: x.value,
19042
+ "zero-data-retention": Nt.value,
19043
+ "disallow-prompt-training": Pt.value,
19044
+ current: C.value,
19038
19045
  unselectable: !1
19039
19046
  }, null, 8, [
19040
19047
  "modelValue",
@@ -19045,8 +19052,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19045
19052
  "disallow-prompt-training",
19046
19053
  "current"
19047
19054
  ]),
19048
- w.value ? (z(), N("p", xT, H(w.value), 1)) : M("", !0),
19049
- S.value && e.features?.gateway !== !1 ? (z(), j(KC, {
19055
+ te.value ? (z(), N("p", xT, H(te.value), 1)) : M("", !0),
19056
+ w.value && e.features?.gateway !== !1 ? (z(), j(KC, {
19050
19057
  key: 1,
19051
19058
  icon: "ri:server-line",
19052
19059
  class: "mb-md"
@@ -19055,8 +19062,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19055
19062
  _: 1
19056
19063
  })) : M("", !0),
19057
19064
  I(NC, {
19058
- modelValue: te.value,
19059
- "onUpdate:modelValue": a[5] ||= (e) => te.value = e,
19065
+ modelValue: ie.value,
19066
+ "onUpdate:modelValue": a[5] ||= (e) => ie.value = e,
19060
19067
  name: "prompt",
19061
19068
  label: U(n)("label.prompt"),
19062
19069
  placeholder: U(n)("placeholder.insert")
@@ -19073,19 +19080,19 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19073
19080
  default: K(() => [P("div", ST, [
19074
19081
  I(ts, { legend: U(n)("label.modelParameters") }, {
19075
19082
  default: K(() => [
19076
- S.value ? M("", !0) : (z(), j(iT, {
19083
+ w.value ? M("", !0) : (z(), j(iT, {
19077
19084
  key: 0,
19078
- modelValue: At.value,
19079
- "onUpdate:modelValue": a[6] ||= (e) => At.value = e,
19085
+ modelValue: Mt.value,
19086
+ "onUpdate:modelValue": a[6] ||= (e) => Mt.value = e,
19080
19087
  name: "fallbackModels",
19081
19088
  multiple: "",
19082
19089
  strategy: "fixed",
19083
19090
  label: U(n)("label.fallbackModels"),
19084
19091
  placeholder: U(n)("placeholder.select"),
19085
19092
  catalog: e.catalog,
19086
- "zero-data-retention": jt.value,
19087
- "disallow-prompt-training": Mt.value,
19088
- "exclude-models": nn.value
19093
+ "zero-data-retention": Nt.value,
19094
+ "disallow-prompt-training": Pt.value,
19095
+ "exclude-models": an.value
19089
19096
  }, null, 8, [
19090
19097
  "modelValue",
19091
19098
  "label",
@@ -19096,8 +19103,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19096
19103
  "exclude-models"
19097
19104
  ])),
19098
19105
  I(u, {
19099
- modelValue: le.value,
19100
- "onUpdate:modelValue": a[7] ||= (e) => le.value = e,
19106
+ modelValue: de.value,
19107
+ "onUpdate:modelValue": a[7] ||= (e) => de.value = e,
19101
19108
  name: "maxOutputTokens",
19102
19109
  type: "number",
19103
19110
  min: "0",
@@ -19110,8 +19117,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19110
19117
  "placeholder"
19111
19118
  ]),
19112
19119
  I(d, {
19113
- modelValue: ee.value,
19114
- "onUpdate:modelValue": a[8] ||= (e) => ee.value = e,
19120
+ modelValue: re.value,
19121
+ "onUpdate:modelValue": a[8] ||= (e) => re.value = e,
19115
19122
  name: "temperature",
19116
19123
  label: U(n)("label.temperature"),
19117
19124
  min: "0",
@@ -19124,8 +19131,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19124
19131
  "format-value"
19125
19132
  ]),
19126
19133
  I(d, {
19127
- modelValue: ue.value,
19128
- "onUpdate:modelValue": a[9] ||= (e) => ue.value = e,
19134
+ modelValue: fe.value,
19135
+ "onUpdate:modelValue": a[9] ||= (e) => fe.value = e,
19129
19136
  name: "presencePenalty",
19130
19137
  label: U(n)("label.presencePenalty"),
19131
19138
  min: "-2",
@@ -19138,8 +19145,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19138
19145
  "format-value"
19139
19146
  ]),
19140
19147
  I(d, {
19141
- modelValue: de.value,
19142
- "onUpdate:modelValue": a[10] ||= (e) => de.value = e,
19148
+ modelValue: pe.value,
19149
+ "onUpdate:modelValue": a[10] ||= (e) => pe.value = e,
19143
19150
  name: "frequencyPenalty",
19144
19151
  label: U(n)("label.frequencyPenalty"),
19145
19152
  min: "-2",
@@ -19152,8 +19159,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19152
19159
  "format-value"
19153
19160
  ]),
19154
19161
  I(u, {
19155
- modelValue: Nt.value,
19156
- "onUpdate:modelValue": a[11] ||= (e) => Nt.value = e,
19162
+ modelValue: Ft.value,
19163
+ "onUpdate:modelValue": a[11] ||= (e) => Ft.value = e,
19157
19164
  name: "providerTimeoutMs",
19158
19165
  type: "number",
19159
19166
  min: "1000",
@@ -19162,7 +19169,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19162
19169
  class: "mb-0",
19163
19170
  label: U(n)("label.providerTimeoutMs"),
19164
19171
  placeholder: U(n)("placeholder.insert"),
19165
- invalid: Nt.value !== void 0 && (Nt.value < 1e3 || Nt.value > 789e3),
19172
+ invalid: Ft.value !== void 0 && (Ft.value < 1e3 || Ft.value > 789e3),
19166
19173
  "hint-label": U(n)("hint.providerTimeoutMs")
19167
19174
  }, null, 8, [
19168
19175
  "modelValue",
@@ -19176,12 +19183,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19176
19183
  }, 8, ["legend"]),
19177
19184
  I(ts, { legend: U(n)("label.reasoning") }, {
19178
19185
  default: K(() => [I(oT, {
19179
- reasoning: pe.value,
19180
- "onUpdate:reasoning": a[12] ||= (e) => pe.value = e,
19181
- "active-provider": un.value
19186
+ reasoning: he.value,
19187
+ "onUpdate:reasoning": a[12] ||= (e) => he.value = e,
19188
+ "active-provider": fn.value
19182
19189
  }, null, 8, ["reasoning", "active-provider"]), I(GC, {
19183
- modelValue: Ft.value,
19184
- "onUpdate:modelValue": a[13] ||= (e) => Ft.value = e,
19190
+ modelValue: Lt.value,
19191
+ "onUpdate:modelValue": a[13] ||= (e) => Lt.value = e,
19185
19192
  name: "showExtendedSteps",
19186
19193
  class: "mt-md mb-0",
19187
19194
  switch: "",
@@ -19197,8 +19204,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19197
19204
  I(ts, { legend: U(n)("label.searchAndExecution") }, {
19198
19205
  default: K(() => [
19199
19206
  I(o, {
19200
- modelValue: fe.value,
19201
- "onUpdate:modelValue": a[14] ||= (e) => fe.value = e,
19207
+ modelValue: me.value,
19208
+ "onUpdate:modelValue": a[14] ||= (e) => me.value = e,
19202
19209
  name: "searchMode",
19203
19210
  icon: "ri:search-line",
19204
19211
  strategy: "fixed",
@@ -19229,8 +19236,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19229
19236
  "options"
19230
19237
  ]),
19231
19238
  I(d, {
19232
- modelValue: se.value,
19233
- "onUpdate:modelValue": a[15] ||= (e) => se.value = e,
19239
+ modelValue: le.value,
19240
+ "onUpdate:modelValue": a[15] ||= (e) => le.value = e,
19234
19241
  name: "limit",
19235
19242
  label: U(n)("label.limit"),
19236
19243
  min: "0",
@@ -19243,8 +19250,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19243
19250
  "format-value"
19244
19251
  ]),
19245
19252
  I(d, {
19246
- modelValue: ce.value,
19247
- "onUpdate:modelValue": a[16] ||= (e) => ce.value = e,
19253
+ modelValue: ue.value,
19254
+ "onUpdate:modelValue": a[16] ||= (e) => ue.value = e,
19248
19255
  name: "maxStepCount",
19249
19256
  label: U(n)("label.maxStepCount"),
19250
19257
  min: "1",
@@ -19262,10 +19269,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19262
19269
  }, 8, ["legend"]),
19263
19270
  I(ts, { legend: U(n)("label.smartRanking") }, {
19264
19271
  default: K(() => [
19265
- Bt.value?.freshness ? (z(), j(f, {
19272
+ Vt.value?.freshness ? (z(), j(f, {
19266
19273
  key: 0,
19267
- modelValue: Bt.value.freshness.enabled,
19268
- "onUpdate:modelValue": a[17] ||= (e) => Bt.value.freshness.enabled = e,
19274
+ modelValue: Vt.value.freshness.enabled,
19275
+ "onUpdate:modelValue": a[17] ||= (e) => Vt.value.freshness.enabled = e,
19269
19276
  name: "freshnessEnabled",
19270
19277
  switch: "",
19271
19278
  value: !0,
@@ -19275,7 +19282,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19275
19282
  default: K(() => [P("div", CT, [P("strong", null, H(U(n)("label.freshnessBoost")), 1), P("small", wT, H(U(n)("hint.freshnessBoost")), 1)])]),
19276
19283
  _: 1
19277
19284
  }, 8, ["modelValue"])) : M("", !0),
19278
- Bt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div", TT, [P("div", ET, [P("label", {
19285
+ Vt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div", TT, [P("div", ET, [P("label", {
19279
19286
  class: "block text-12 text-word-3",
19280
19287
  for: c.freshnessScale
19281
19288
  }, H(U(n)("hint.freshnessScale")), 9, DT), P("div", OT, [I(y, {
@@ -19286,8 +19293,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19286
19293
  value: U(n)("hint.freshnessScaleTooltip")
19287
19294
  }, null, 8, ["value"])])]), I(d, {
19288
19295
  id: c.freshnessScale,
19289
- modelValue: E.value,
19290
- "onUpdate:modelValue": a[18] ||= (e) => E.value = e,
19296
+ modelValue: Ht.value,
19297
+ "onUpdate:modelValue": a[18] ||= (e) => Ht.value = e,
19291
19298
  name: "freshnessScale",
19292
19299
  min: "1",
19293
19300
  max: "365",
@@ -19309,11 +19316,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19309
19316
  position: "bottom",
19310
19317
  value: U(n)("hint.freshnessWeightTooltip")
19311
19318
  }, null, 8, ["value"])])]),
19312
- Bt.value?.freshness ? (z(), j(d, {
19319
+ Vt.value?.freshness ? (z(), j(d, {
19313
19320
  key: 0,
19314
19321
  id: c.freshnessWeight,
19315
- modelValue: Bt.value.freshness.weight,
19316
- "onUpdate:modelValue": a[19] ||= (e) => Bt.value.freshness.weight = e,
19322
+ modelValue: Vt.value.freshness.weight,
19323
+ "onUpdate:modelValue": a[19] ||= (e) => Vt.value.freshness.weight = e,
19317
19324
  name: "freshnessWeight",
19318
19325
  min: "0.05",
19319
19326
  max: "0.5",
@@ -19325,12 +19332,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19325
19332
  "modelValue",
19326
19333
  "format-value"
19327
19334
  ])) : M("", !0),
19328
- P("p", NT, H(Vt.value), 1)
19335
+ P("p", NT, H(Ut.value), 1)
19329
19336
  ])], 64)) : M("", !0),
19330
- Bt.value?.mmr ? (z(), j(f, {
19337
+ Vt.value?.mmr ? (z(), j(f, {
19331
19338
  key: 2,
19332
- modelValue: Bt.value.mmr.enabled,
19333
- "onUpdate:modelValue": a[20] ||= (e) => Bt.value.mmr.enabled = e,
19339
+ modelValue: Vt.value.mmr.enabled,
19340
+ "onUpdate:modelValue": a[20] ||= (e) => Vt.value.mmr.enabled = e,
19334
19341
  name: "mmrEnabled",
19335
19342
  switch: "",
19336
19343
  value: !0,
@@ -19340,7 +19347,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19340
19347
  default: K(() => [P("div", PT, [P("strong", null, H(U(n)("label.mmr")), 1), P("small", FT, H(U(n)("hint.mmr")), 1)])]),
19341
19348
  _: 1
19342
19349
  }, 8, ["modelValue"])) : M("", !0),
19343
- Bt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div", IT, [P("div", LT, [P("label", {
19350
+ Vt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div", IT, [P("div", LT, [P("label", {
19344
19351
  class: "block text-12 text-word-3",
19345
19352
  for: c.mmrDiversity
19346
19353
  }, H(U(n)("label.mmrDiversity")), 9, RT), P("div", zT, [I(y, {
@@ -19349,11 +19356,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19349
19356
  }), I(b, {
19350
19357
  position: "bottom",
19351
19358
  value: U(n)("hint.mmrDiversityTooltip")
19352
- }, null, 8, ["value"])])]), Bt.value?.mmr ? (z(), j(d, {
19359
+ }, null, 8, ["value"])])]), Vt.value?.mmr ? (z(), j(d, {
19353
19360
  key: 0,
19354
19361
  id: c.mmrDiversity,
19355
- modelValue: Bt.value.mmr.diversity,
19356
- "onUpdate:modelValue": a[21] ||= (e) => Bt.value.mmr.diversity = e,
19362
+ modelValue: Vt.value.mmr.diversity,
19363
+ "onUpdate:modelValue": a[21] ||= (e) => Vt.value.mmr.diversity = e,
19357
19364
  name: "mmrDiversity",
19358
19365
  min: "0",
19359
19366
  max: "1",
@@ -19373,11 +19380,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19373
19380
  }), I(b, {
19374
19381
  position: "bottom",
19375
19382
  value: U(n)("hint.mmrCandidatesLimitTooltip")
19376
- }, null, 8, ["value"])])]), Bt.value?.mmr ? (z(), j(d, {
19383
+ }, null, 8, ["value"])])]), Vt.value?.mmr ? (z(), j(d, {
19377
19384
  key: 0,
19378
19385
  id: c.mmrCandidatesLimit,
19379
- modelValue: Bt.value.mmr.candidatesLimit,
19380
- "onUpdate:modelValue": a[22] ||= (e) => Bt.value.mmr.candidatesLimit = e,
19386
+ modelValue: Vt.value.mmr.candidatesLimit,
19387
+ "onUpdate:modelValue": a[22] ||= (e) => Vt.value.mmr.candidatesLimit = e,
19381
19388
  name: "mmrCandidatesLimit",
19382
19389
  min: "20",
19383
19390
  max: "100",
@@ -19392,14 +19399,14 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19392
19399
  ]),
19393
19400
  _: 1
19394
19401
  }, 8, ["legend"]),
19395
- S.value ? M("", !0) : (z(), j(ts, {
19402
+ w.value ? M("", !0) : (z(), j(ts, {
19396
19403
  key: 0,
19397
19404
  legend: U(n)("label.privacy"),
19398
19405
  class: "mb-0"
19399
19406
  }, {
19400
19407
  default: K(() => [I(f, {
19401
- modelValue: jt.value,
19402
- "onUpdate:modelValue": a[23] ||= (e) => jt.value = e,
19408
+ modelValue: Nt.value,
19409
+ "onUpdate:modelValue": a[23] ||= (e) => Nt.value = e,
19403
19410
  name: "zeroDataRetention",
19404
19411
  switch: "",
19405
19412
  value: !0,
@@ -19408,10 +19415,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19408
19415
  }, {
19409
19416
  default: K(() => [P("div", WT, [P("strong", null, H(U(n)("label.zeroDataRetention")), 1), P("small", GT, H(U(n)("hint.zeroDataRetention")), 1)])]),
19410
19417
  _: 1
19411
- }, 8, ["modelValue"]), jt.value ? M("", !0) : (z(), j(f, {
19418
+ }, 8, ["modelValue"]), Nt.value ? M("", !0) : (z(), j(f, {
19412
19419
  key: 0,
19413
- modelValue: Mt.value,
19414
- "onUpdate:modelValue": a[24] ||= (e) => Mt.value = e,
19420
+ modelValue: Pt.value,
19421
+ "onUpdate:modelValue": a[24] ||= (e) => Pt.value = e,
19415
19422
  name: "disallowPromptTraining",
19416
19423
  switch: "",
19417
19424
  value: !0,
@@ -19429,8 +19436,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19429
19436
  class: "mb-0 mt-md"
19430
19437
  }, {
19431
19438
  default: K(() => [I(f, {
19432
- modelValue: Qe.value,
19433
- "onUpdate:modelValue": a[25] ||= (e) => Qe.value = e,
19439
+ modelValue: et.value,
19440
+ "onUpdate:modelValue": a[25] ||= (e) => et.value = e,
19434
19441
  name: "voiceEnabled",
19435
19442
  switch: "",
19436
19443
  value: !0,
@@ -19439,38 +19446,38 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19439
19446
  }, {
19440
19447
  default: K(() => [P("div", JT, [P("strong", null, H(U(n)("label.voiceEnabled")), 1), P("small", YT, H(U(n)("hint.voiceEnabled")), 1)])]),
19441
19448
  _: 1
19442
- }, 8, ["modelValue"]), Qe.value ? (z(), N(k, { key: 0 }, [
19443
- sn.value.length ? (z(), j(KC, {
19449
+ }, 8, ["modelValue"]), et.value ? (z(), N(k, { key: 0 }, [
19450
+ ln.value.length ? (z(), j(KC, {
19444
19451
  key: 0,
19445
19452
  level: "warning",
19446
19453
  class: "mt-md mb-0"
19447
19454
  }, {
19448
- default: K(() => [F(H(U(n)("hint.voiceApprovalRefused", { tools: sn.value.join(", ") })), 1)]),
19455
+ default: K(() => [F(H(U(n)("hint.voiceApprovalRefused", { tools: ln.value.join(", ") })), 1)]),
19449
19456
  _: 1
19450
19457
  })) : M("", !0),
19451
19458
  P("div", XT, [I(o, {
19452
- modelValue: et.value,
19453
- "onUpdate:modelValue": a[27] ||= (e) => et.value = e,
19459
+ modelValue: nt.value,
19460
+ "onUpdate:modelValue": a[27] ||= (e) => nt.value = e,
19454
19461
  name: "voiceId",
19455
19462
  icon: "ri:user-voice-line",
19456
19463
  strategy: "fixed",
19457
19464
  class: "flex-1 mb-0",
19458
19465
  searchable: "",
19459
19466
  label: U(n)("label.voiceId"),
19460
- "hint-label": _t.value,
19467
+ "hint-label": yt.value,
19461
19468
  placeholder: U(n)("placeholder.select"),
19462
19469
  "select-hint-label": "",
19463
19470
  "deselect-hint-label": "",
19464
19471
  "selected-hint-label": "",
19465
- options: ht.value,
19466
- "search-function": gt
19472
+ options: _t.value,
19473
+ "search-function": vt
19467
19474
  }, {
19468
- after: K(() => [I(C, {
19475
+ after: K(() => [I(ee, {
19469
19476
  modifiers: "action-quiet",
19470
- icon: yt.value ? "ri:stop-circle-line" : "ri:play-circle-line",
19471
- disabled: !St.value,
19472
- title: U(n)(yt.value ? "action.stopVoicePreview" : "action.playVoicePreview"),
19473
- onClick: a[26] ||= (e) => xt()
19477
+ icon: xt.value ? "ri:stop-circle-line" : "ri:play-circle-line",
19478
+ disabled: !Tt.value,
19479
+ title: U(n)(xt.value ? "action.stopVoicePreview" : "action.playVoicePreview"),
19480
+ onClick: a[26] ||= (e) => Ct()
19474
19481
  }, null, 8, [
19475
19482
  "icon",
19476
19483
  "disabled",
@@ -19486,8 +19493,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19486
19493
  "options"
19487
19494
  ])]),
19488
19495
  I(o, {
19489
- modelValue: tt.value,
19490
- "onUpdate:modelValue": a[28] ||= (e) => tt.value = e,
19496
+ modelValue: it.value,
19497
+ "onUpdate:modelValue": a[28] ||= (e) => it.value = e,
19491
19498
  name: "voiceLanguage",
19492
19499
  icon: "ri:translate-2",
19493
19500
  strategy: "fixed",
@@ -19499,7 +19506,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19499
19506
  "select-hint-label": "",
19500
19507
  "deselect-hint-label": "",
19501
19508
  "selected-hint-label": "",
19502
- options: ut.map((e) => ({
19509
+ options: ft.map((e) => ({
19503
19510
  label: U(n)(`language.${e}`),
19504
19511
  value: e
19505
19512
  }))
@@ -19511,8 +19518,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19511
19518
  "options"
19512
19519
  ]),
19513
19520
  I(u, {
19514
- modelValue: nt.value,
19515
- "onUpdate:modelValue": a[29] ||= (e) => nt.value = e,
19521
+ modelValue: at.value,
19522
+ "onUpdate:modelValue": a[29] ||= (e) => at.value = e,
19516
19523
  name: "voiceFirstMessage",
19517
19524
  maxlength: "300",
19518
19525
  class: "mb-0 mt-md",
@@ -19532,8 +19539,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19532
19539
  }, {
19533
19540
  default: K(() => [P("div", eE, [
19534
19541
  I(f, {
19535
- modelValue: st.value,
19536
- "onUpdate:modelValue": a[30] ||= (e) => st.value = e,
19542
+ modelValue: lt.value,
19543
+ "onUpdate:modelValue": a[30] ||= (e) => lt.value = e,
19537
19544
  name: "voiceIgnoreBackgroundVoices",
19538
19545
  switch: "",
19539
19546
  value: !0,
@@ -19544,8 +19551,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19544
19551
  _: 1
19545
19552
  }, 8, ["modelValue"]),
19546
19553
  I(o, {
19547
- modelValue: ct.value,
19548
- "onUpdate:modelValue": a[31] ||= (e) => ct.value = e,
19554
+ modelValue: ut.value,
19555
+ "onUpdate:modelValue": a[31] ||= (e) => ut.value = e,
19549
19556
  name: "voiceTurnEagerness",
19550
19557
  icon: "ri:hourglass-line",
19551
19558
  strategy: "fixed",
@@ -19579,8 +19586,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19579
19586
  "options"
19580
19587
  ]),
19581
19588
  P("div", rE, [I(u, {
19582
- modelValue: lt.value,
19583
- "onUpdate:modelValue": a[32] ||= (e) => lt.value = e,
19589
+ modelValue: dt.value,
19590
+ "onUpdate:modelValue": a[32] ||= (e) => dt.value = e,
19584
19591
  name: "voiceTurnTimeoutSeconds",
19585
19592
  type: "number",
19586
19593
  min: "1",
@@ -19594,8 +19601,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19594
19601
  "label",
19595
19602
  "placeholder"
19596
19603
  ]), I(u, {
19597
- modelValue: it.value,
19598
- "onUpdate:modelValue": a[33] ||= (e) => it.value = e,
19604
+ modelValue: ot.value,
19605
+ "onUpdate:modelValue": a[33] ||= (e) => ot.value = e,
19599
19606
  name: "voiceCascadeTimeoutSeconds",
19600
19607
  type: "number",
19601
19608
  min: "5",
@@ -19611,8 +19618,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19611
19618
  ])]),
19612
19619
  P("small", iE, H(U(n)("hint.voiceTurnTimeoutSeconds")), 1),
19613
19620
  I(u, {
19614
- modelValue: $e.value,
19615
- "onUpdate:modelValue": a[34] ||= (e) => $e.value = e,
19621
+ modelValue: tt.value,
19622
+ "onUpdate:modelValue": a[34] ||= (e) => tt.value = e,
19616
19623
  name: "voiceMaxSessionSeconds",
19617
19624
  type: "number",
19618
19625
  min: "30",
@@ -19633,8 +19640,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19633
19640
  _: 1
19634
19641
  }),
19635
19642
  I(u, {
19636
- modelValue: at.value,
19637
- "onUpdate:modelValue": a[35] ||= (e) => at.value = e,
19643
+ modelValue: st.value,
19644
+ "onUpdate:modelValue": a[35] ||= (e) => st.value = e,
19638
19645
  name: "voiceFillerAfterSeconds",
19639
19646
  type: "number",
19640
19647
  min: "0.5",
@@ -19651,8 +19658,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19651
19658
  "placeholder"
19652
19659
  ]),
19653
19660
  I(u, {
19654
- modelValue: ot.value,
19655
- "onUpdate:modelValue": a[36] ||= (e) => ot.value = e,
19661
+ modelValue: ct.value,
19662
+ "onUpdate:modelValue": a[36] ||= (e) => ct.value = e,
19656
19663
  name: "voiceFillerMessage",
19657
19664
  maxlength: "200",
19658
19665
  class: "mb-0 mt-md",
@@ -19673,8 +19680,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19673
19680
  }, 8, ["legend"])) : M("", !0),
19674
19681
  e.playground ? M("", !0) : (z(), j(cT, {
19675
19682
  key: 2,
19676
- modelValue: It.value,
19677
- "onUpdate:modelValue": a[37] ||= (e) => It.value = e,
19683
+ modelValue: Rt.value,
19684
+ "onUpdate:modelValue": a[37] ||= (e) => Rt.value = e,
19678
19685
  class: "mb-0 mt-md",
19679
19686
  type: m.value
19680
19687
  }, null, 8, ["modelValue", "type"]))
@@ -19685,8 +19692,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19685
19692
  "panel::style": K(() => [
19686
19693
  e.playground ? M("", !0) : (z(), j(EC, {
19687
19694
  key: 0,
19688
- modelValue: Me.value,
19689
- "onUpdate:modelValue": a[38] ||= (e) => Me.value = e,
19695
+ modelValue: Fe.value,
19696
+ "onUpdate:modelValue": a[38] ||= (e) => Fe.value = e,
19690
19697
  name: "media",
19691
19698
  label: U(n)("label.logo"),
19692
19699
  placeholder: U(n)("placeholder.uploadFile"),
@@ -19702,10 +19709,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19702
19709
  "label-add",
19703
19710
  "label-remove"
19704
19711
  ])),
19705
- dn.value ? (z(), j(t, {
19712
+ D.value ? (z(), j(t, {
19706
19713
  key: 1,
19707
- modelValue: he.value,
19708
- "onUpdate:modelValue": a[39] ||= (e) => he.value = e,
19714
+ modelValue: ve.value,
19715
+ "onUpdate:modelValue": a[39] ||= (e) => ve.value = e,
19709
19716
  name: "theme",
19710
19717
  segmented: "",
19711
19718
  label: U(n)("label.theme"),
@@ -19744,13 +19751,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19744
19751
  ])) : M("", !0),
19745
19752
  I(ts, { legend: U(n)("label.appearance") }, {
19746
19753
  default: K(() => [I(fT, {
19747
- modelValue: ge.value,
19748
- "onUpdate:modelValue": a[40] ||= (e) => ge.value = e,
19754
+ modelValue: be.value,
19755
+ "onUpdate:modelValue": a[40] ||= (e) => be.value = e,
19749
19756
  name: "mainColor",
19750
19757
  label: U(n)("label.mainColor")
19751
19758
  }, null, 8, ["modelValue", "label"]), I(t, {
19752
- modelValue: ve.value,
19753
- "onUpdate:modelValue": a[41] ||= (e) => ve.value = e,
19759
+ modelValue: Se.value,
19760
+ "onUpdate:modelValue": a[41] ||= (e) => Se.value = e,
19754
19761
  name: "textColor",
19755
19762
  segmented: "",
19756
19763
  label: U(n)("label.textColor"),
@@ -19782,10 +19789,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19782
19789
  class: "border border-surface-3 rounded-lg mt-md mb-md"
19783
19790
  }, {
19784
19791
  default: K(() => [P("div", aE, [
19785
- dn.value ? (z(), j(GC, {
19792
+ D.value ? (z(), j(GC, {
19786
19793
  key: 0,
19787
- modelValue: be.value,
19788
- "onUpdate:modelValue": a[42] ||= (e) => be.value = e,
19794
+ modelValue: we.value,
19795
+ "onUpdate:modelValue": a[42] ||= (e) => we.value = e,
19789
19796
  name: "useColorsForAgentHeader",
19790
19797
  switch: "",
19791
19798
  class: "mb-0",
@@ -19796,10 +19803,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19796
19803
  "label",
19797
19804
  "hint-label"
19798
19805
  ])) : M("", !0),
19799
- dn.value ? (z(), j(GC, {
19806
+ D.value ? (z(), j(GC, {
19800
19807
  key: 1,
19801
- modelValue: Pt.value,
19802
- "onUpdate:modelValue": a[43] ||= (e) => Pt.value = e,
19808
+ modelValue: It.value,
19809
+ "onUpdate:modelValue": a[43] ||= (e) => It.value = e,
19803
19810
  name: "smoothStream",
19804
19811
  class: "mt-md mb-0",
19805
19812
  switch: "",
@@ -19810,10 +19817,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19810
19817
  "label",
19811
19818
  "hint-label"
19812
19819
  ])) : M("", !0),
19813
- !e.playground && dn.value ? (z(), j(GC, {
19820
+ !e.playground && D.value ? (z(), j(GC, {
19814
19821
  key: 2,
19815
- modelValue: Se.value,
19816
- "onUpdate:modelValue": a[44] ||= (e) => Se.value = e,
19822
+ modelValue: Te.value,
19823
+ "onUpdate:modelValue": a[44] ||= (e) => Te.value = e,
19817
19824
  name: "welcomePopup",
19818
19825
  class: "mt-md mb-0",
19819
19826
  switch: "",
@@ -19824,10 +19831,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19824
19831
  "label",
19825
19832
  "hint-label"
19826
19833
  ])) : M("", !0),
19827
- !e.playground && dn.value && ie.value === "public" ? (z(), j(GC, {
19834
+ !e.playground && D.value && ce.value === "public" ? (z(), j(GC, {
19828
19835
  key: 3,
19829
- modelValue: we.value,
19830
- "onUpdate:modelValue": a[45] ||= (e) => we.value = e,
19836
+ modelValue: De.value,
19837
+ "onUpdate:modelValue": a[45] ||= (e) => De.value = e,
19831
19838
  name: "interactiveLogin",
19832
19839
  class: "mt-md mb-0",
19833
19840
  switch: "",
@@ -19838,14 +19845,14 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19838
19845
  "label",
19839
19846
  "hint-label"
19840
19847
  ])) : M("", !0),
19841
- !e.playground && dn.value ? (z(), j(t, {
19848
+ !e.playground && D.value ? (z(), j(t, {
19842
19849
  key: 4,
19843
- modelValue: De.value,
19844
- "onUpdate:modelValue": a[46] ||= (e) => De.value = e,
19850
+ modelValue: ke.value,
19851
+ "onUpdate:modelValue": a[46] ||= (e) => ke.value = e,
19845
19852
  name: "layout",
19846
19853
  segmented: "",
19847
19854
  label: U(n)("label.widgetLayout"),
19848
- "hint-label": De.value === "copilot" ? U(n)("hint.widgetLayoutCopilot") : U(n)("hint.widgetLayoutFloating"),
19855
+ "hint-label": ke.value === "copilot" ? U(n)("hint.widgetLayoutCopilot") : U(n)("hint.widgetLayoutFloating"),
19849
19856
  options: [{
19850
19857
  label: U(n)("label.widgetLayoutFloating"),
19851
19858
  value: "floating"
@@ -19870,10 +19877,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19870
19877
  "hint-label",
19871
19878
  "options"
19872
19879
  ])) : M("", !0),
19873
- !e.playground && dn.value ? (z(), j(t, {
19880
+ !e.playground && D.value ? (z(), j(t, {
19874
19881
  key: 5,
19875
- modelValue: Te.value,
19876
- "onUpdate:modelValue": a[47] ||= (e) => Te.value = e,
19882
+ modelValue: Oe.value,
19883
+ "onUpdate:modelValue": a[47] ||= (e) => Oe.value = e,
19877
19884
  name: "floatingButtonPosition",
19878
19885
  segmented: "",
19879
19886
  label: U(n)("label.floatingButtonPosition"),
@@ -19900,14 +19907,14 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19900
19907
  "label",
19901
19908
  "options"
19902
19909
  ])) : M("", !0),
19903
- !e.playground && dn.value && De.value === "copilot" ? (z(), j(t, {
19910
+ !e.playground && D.value && ke.value === "copilot" ? (z(), j(t, {
19904
19911
  key: 6,
19905
- modelValue: ke.value,
19906
- "onUpdate:modelValue": a[48] ||= (e) => ke.value = e,
19912
+ modelValue: je.value,
19913
+ "onUpdate:modelValue": a[48] ||= (e) => je.value = e,
19907
19914
  name: "copilotFrame",
19908
19915
  segmented: "",
19909
19916
  label: U(n)("label.copilotFrame"),
19910
- "hint-label": ke.value === "push" ? U(n)("hint.copilotFramePush") : U(n)("hint.copilotFrameOverlay"),
19917
+ "hint-label": je.value === "push" ? U(n)("hint.copilotFramePush") : U(n)("hint.copilotFrameOverlay"),
19911
19918
  options: [{
19912
19919
  label: U(n)("label.copilotFrameOverlay"),
19913
19920
  value: "overlay"
@@ -19922,10 +19929,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19922
19929
  "hint-label",
19923
19930
  "options"
19924
19931
  ])) : M("", !0),
19925
- !e.playground && dn.value && De.value === "copilot" ? (z(), j(GC, {
19932
+ !e.playground && D.value && ke.value === "copilot" ? (z(), j(GC, {
19926
19933
  key: 7,
19927
- modelValue: Oe.value,
19928
- "onUpdate:modelValue": a[49] ||= (e) => Oe.value = e,
19934
+ modelValue: Ae.value,
19935
+ "onUpdate:modelValue": a[49] ||= (e) => Ae.value = e,
19929
19936
  name: "workingGlow",
19930
19937
  class: "mt-md mb-0",
19931
19938
  switch: "",
@@ -19936,10 +19943,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19936
19943
  "label",
19937
19944
  "hint-label"
19938
19945
  ])) : M("", !0),
19939
- !e.playground && dn.value && De.value === "copilot" ? (z(), j(Qo, {
19946
+ !e.playground && D.value && ke.value === "copilot" ? (z(), j(Qo, {
19940
19947
  key: 8,
19941
- modelValue: Ae.value,
19942
- "onUpdate:modelValue": a[50] ||= (e) => Ae.value = e,
19948
+ modelValue: Me.value,
19949
+ "onUpdate:modelValue": a[50] ||= (e) => Me.value = e,
19943
19950
  language: "css",
19944
19951
  class: "mt-md mb-0",
19945
19952
  label: U(n)("label.copilotPageCss"),
@@ -19951,10 +19958,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19951
19958
  "hint-label",
19952
19959
  "placeholder"
19953
19960
  ])) : M("", !0),
19954
- dn.value ? (z(), j(u, {
19961
+ D.value ? (z(), j(u, {
19955
19962
  key: 9,
19956
- modelValue: je.value,
19957
- "onUpdate:modelValue": a[51] ||= (e) => je.value = e,
19963
+ modelValue: Ne.value,
19964
+ "onUpdate:modelValue": a[51] ||= (e) => Ne.value = e,
19958
19965
  name: "maxMessageLength",
19959
19966
  type: "number",
19960
19967
  min: "1",
@@ -19969,8 +19976,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19969
19976
  ])) : M("", !0),
19970
19977
  e.playground ? M("", !0) : (z(), j(Qo, {
19971
19978
  key: 10,
19972
- modelValue: Ot.value,
19973
- "onUpdate:modelValue": a[52] ||= (e) => Ot.value = e,
19979
+ modelValue: At.value,
19980
+ "onUpdate:modelValue": a[52] ||= (e) => At.value = e,
19974
19981
  language: "css",
19975
19982
  class: "mt-md mb-0",
19976
19983
  label: U(n)("label.customCss"),
@@ -19985,7 +19992,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
19985
19992
  ])]),
19986
19993
  _: 1
19987
19994
  }, 8, ["title"]),
19988
- dn.value ? (z(), j(ye, {
19995
+ D.value ? (z(), j(ye, {
19989
19996
  key: 2,
19990
19997
  items: s.value.map((e) => ({
19991
19998
  tab: e,
@@ -20013,12 +20020,29 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20013
20020
  "onUpdate:modelValue"
20014
20021
  ]),
20015
20022
  I(u, {
20016
- "model-value": g.value?.[e] ?? "",
20023
+ "model-value": g.value?.[0]?.[e] ?? "",
20024
+ name: `greeting.${e}`,
20025
+ label: U(n)("label.greeting"),
20026
+ placeholder: U(n)("message.defaultAgentWelcome", {}, { locale: e }),
20027
+ "onUpdate:modelValue": (t) => _(e, t)
20028
+ }, null, 8, [
20029
+ "model-value",
20030
+ "name",
20031
+ "label",
20032
+ "placeholder",
20033
+ "onUpdate:modelValue"
20034
+ ]),
20035
+ I(KC, { class: "nt-8" }, {
20036
+ default: K(() => [F(H(U(n)("hint.greeting")), 1)]),
20037
+ _: 1
20038
+ }),
20039
+ I(u, {
20040
+ "model-value": v.value?.[e] ?? "",
20017
20041
  name: `messagePlaceholder.${e}`,
20018
20042
  label: U(n)("label.messagePlaceholder"),
20019
20043
  placeholder: U(n)("placeholder.askAnything", {}, { locale: e }),
20020
- "onUpdate:modelValue": (t) => g.value = {
20021
- ...g.value,
20044
+ "onUpdate:modelValue": (t) => v.value = {
20045
+ ...v.value,
20022
20046
  [e]: t
20023
20047
  }
20024
20048
  }, null, 8, [
@@ -20029,13 +20053,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20029
20053
  "onUpdate:modelValue"
20030
20054
  ]),
20031
20055
  I(NC, {
20032
- "model-value": _.value?.[e] ?? "",
20056
+ "model-value": x.value?.[e] ?? "",
20033
20057
  name: `dismissableNotice.${e}`,
20034
20058
  label: U(n)("label.dismissableNotice"),
20035
20059
  placeholder: U(n)("placeholder.insert"),
20036
20060
  "hint-label": U(n)("hint.dismissableNotice"),
20037
- "onUpdate:modelValue": (t) => _.value = {
20038
- ..._.value,
20061
+ "onUpdate:modelValue": (t) => x.value = {
20062
+ ...x.value,
20039
20063
  [e]: t ?? ""
20040
20064
  }
20041
20065
  }, null, 8, [
@@ -20047,12 +20071,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20047
20071
  "onUpdate:modelValue"
20048
20072
  ]),
20049
20073
  I(NC, {
20050
- "model-value": v.value?.[e] ?? "",
20074
+ "model-value": S.value?.[e] ?? "",
20051
20075
  name: `footerMessage.${e}`,
20052
20076
  label: U(n)("label.footer"),
20053
20077
  placeholder: U(n)("placeholder.insert"),
20054
- "onUpdate:modelValue": (t) => v.value = {
20055
- ...v.value,
20078
+ "onUpdate:modelValue": (t) => S.value = {
20079
+ ...S.value,
20056
20080
  [e]: t ?? ""
20057
20081
  }
20058
20082
  }, null, 8, [
@@ -20062,16 +20086,16 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20062
20086
  "placeholder",
20063
20087
  "onUpdate:modelValue"
20064
20088
  ]),
20065
- !Be.value.includes(U(T).ShowContactForm) && !Zt.value.has(U(T).ShowContactForm) ? (z(), j(NC, {
20089
+ !He.value.includes(U(T).ShowContactForm) && !$t.value.has(U(T).ShowContactForm) ? (z(), j(NC, {
20066
20090
  key: 0,
20067
- "model-value": kt.value?.[e] ?? "",
20091
+ "model-value": jt.value?.[e] ?? "",
20068
20092
  name: `privacyPolicyNotice.${e}`,
20069
20093
  label: U(n)("label.privacyPolicyNotice"),
20070
20094
  placeholder: U(n)("placeholder.insert"),
20071
20095
  "hint-label": U(n)("hint.privacyPolicyNotice"),
20072
20096
  class: "mb-0",
20073
- "onUpdate:modelValue": (t) => kt.value = {
20074
- ...kt.value,
20097
+ "onUpdate:modelValue": (t) => jt.value = {
20098
+ ...jt.value,
20075
20099
  [e]: t ?? ""
20076
20100
  }
20077
20101
  }, null, 8, [
@@ -20091,8 +20115,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20091
20115
  legend: U(n)("label.fileUpload")
20092
20116
  }, {
20093
20117
  default: K(() => [I(GC, {
20094
- modelValue: Xe.value,
20095
- "onUpdate:modelValue": a[53] ||= (e) => Xe.value = e,
20118
+ modelValue: Qe.value,
20119
+ "onUpdate:modelValue": a[53] ||= (e) => Qe.value = e,
20096
20120
  disabled: e.playground,
20097
20121
  name: "fileUploadEnabled",
20098
20122
  switch: "",
@@ -20103,10 +20127,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20103
20127
  "disabled",
20104
20128
  "label",
20105
20129
  "hint-label"
20106
- ]), Xe.value ? (z(), N(k, { key: 0 }, [
20130
+ ]), Qe.value ? (z(), N(k, { key: 0 }, [
20107
20131
  I(u, {
20108
- modelValue: Xt.value,
20109
- "onUpdate:modelValue": a[54] ||= (e) => Xt.value = e,
20132
+ modelValue: Qt.value,
20133
+ "onUpdate:modelValue": a[54] ||= (e) => Qt.value = e,
20110
20134
  disabled: e.playground,
20111
20135
  name: "fileUploadMaxFileSize",
20112
20136
  type: "number",
@@ -20121,15 +20145,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20121
20145
  "placeholder"
20122
20146
  ]),
20123
20147
  I(o, {
20124
- modelValue: Yt.value,
20125
- "onUpdate:modelValue": a[55] ||= (e) => Yt.value = e,
20148
+ modelValue: Zt.value,
20149
+ "onUpdate:modelValue": a[55] ||= (e) => Zt.value = e,
20126
20150
  disabled: e.playground,
20127
20151
  name: "fileUploadAllowedMimeTypes",
20128
20152
  "select-hint-label": "",
20129
20153
  "deselect-hint-label": "",
20130
20154
  label: U(n)("label.fileUploadAllowedMimeTypes"),
20131
20155
  placeholder: U(n)("placeholder.select"),
20132
- options: qt.value,
20156
+ options: Yt.value,
20133
20157
  badges: "",
20134
20158
  multiple: "",
20135
20159
  strategy: "fixed"
@@ -20141,8 +20165,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20141
20165
  "options"
20142
20166
  ]),
20143
20167
  P("div", oE, [I(u, {
20144
- modelValue: Et.value,
20145
- "onUpdate:modelValue": a[56] ||= (e) => Et.value = e,
20168
+ modelValue: Ot.value,
20169
+ "onUpdate:modelValue": a[56] ||= (e) => Ot.value = e,
20146
20170
  disabled: e.playground,
20147
20171
  name: "fileUploadMaxFilesPerMessage",
20148
20172
  type: "number",
@@ -20156,8 +20180,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20156
20180
  "label",
20157
20181
  "placeholder"
20158
20182
  ]), I(u, {
20159
- modelValue: Dt.value,
20160
- "onUpdate:modelValue": a[57] ||= (e) => Dt.value = e,
20183
+ modelValue: kt.value,
20184
+ "onUpdate:modelValue": a[57] ||= (e) => kt.value = e,
20161
20185
  disabled: e.playground,
20162
20186
  name: "fileUploadMaxFilesPerChat",
20163
20187
  type: "number",
@@ -20174,28 +20198,28 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20174
20198
  ], 64)) : M("", !0)]),
20175
20199
  _: 1
20176
20200
  }, 8, ["legend"])),
20177
- S.value ? M("", !0) : (z(), j(ts, {
20201
+ w.value ? M("", !0) : (z(), j(ts, {
20178
20202
  key: 1,
20179
20203
  legend: U(n)("label.webSearch")
20180
20204
  }, {
20181
20205
  default: K(() => [I(sT, {
20182
- "web-search": me.value,
20183
- "onUpdate:webSearch": a[58] ||= (e) => me.value = e,
20184
- "active-provider": un.value
20206
+ "web-search": ge.value,
20207
+ "onUpdate:webSearch": a[58] ||= (e) => ge.value = e,
20208
+ "active-provider": fn.value
20185
20209
  }, null, 8, ["web-search", "active-provider"])]),
20186
20210
  _: 1
20187
20211
  }, 8, ["legend"])),
20188
- e.features?.gateway !== !1 && !S.value ? (z(), j(ts, {
20212
+ e.features?.gateway !== !1 && !w.value ? (z(), j(ts, {
20189
20213
  key: 2,
20190
20214
  legend: U(n)("label.toolWorkingSet")
20191
20215
  }, {
20192
20216
  default: K(() => [I(o, {
20193
- modelValue: Ze.value,
20194
- "onUpdate:modelValue": a[59] ||= (e) => Ze.value = e,
20217
+ modelValue: $e.value,
20218
+ "onUpdate:modelValue": a[59] ||= (e) => $e.value = e,
20195
20219
  disabled: e.playground,
20196
20220
  name: "toolWorkingSetMode",
20197
20221
  label: U(n)("label.toolWorkingSetMode"),
20198
- options: Jt.value,
20222
+ options: Xt.value,
20199
20223
  unselectable: !1,
20200
20224
  "select-hint-label": "",
20201
20225
  "deselect-hint-label": "",
@@ -20208,12 +20232,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20208
20232
  "label",
20209
20233
  "options"
20210
20234
  ]), I(KC, { class: "mt-md mb-0" }, {
20211
- default: K(() => [F(H(U(n)(`hint.toolWorkingSetMode.${Ze.value}`)), 1)]),
20235
+ default: K(() => [F(H(U(n)(`hint.toolWorkingSetMode.${$e.value}`)), 1)]),
20212
20236
  _: 1
20213
20237
  })]),
20214
20238
  _: 1
20215
20239
  }, 8, ["legend"])) : M("", !0),
20216
- P("div", sE, [P("p", cE, H(U(n)("hint.approvalChannels")), 1), (z(!0), N(k, null, ei($t.value, (t) => (z(), N(k, { key: t.key }, [dn.value || !t.tools.every((e) => tn(e)) ? (z(), j(ts, {
20240
+ P("div", sE, [P("p", cE, H(U(n)("hint.approvalChannels")), 1), (z(!0), N(k, null, ei(tn.value, (t) => (z(), N(k, { key: t.key }, [D.value || !t.tools.every((e) => rn(e)) ? (z(), j(ts, {
20217
20241
  key: 0,
20218
20242
  class: "mb-0"
20219
20243
  }, {
@@ -20221,15 +20245,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20221
20245
  name: t.icon,
20222
20246
  class: "text-16"
20223
20247
  }, null, 8, ["name"]), F(" " + H(U(n)(`toolGroup.${t.key}`)), 1)])]),
20224
- default: K(() => [P("p", uE, H(U(n)(`toolGroupInfo.${t.key}`)), 1), P("div", dE, [(z(!0), N(k, null, ei(t.tools, (t) => (z(), N(k, { key: t }, [!tn(t) || dn.value ? (z(), N(k, { key: 0 }, [I(f, {
20248
+ default: K(() => [P("p", uE, H(U(n)(`toolGroupInfo.${t.key}`)), 1), P("div", dE, [(z(!0), N(k, null, ei(t.tools, (t) => (z(), N(k, { key: t }, [!rn(t) || D.value ? (z(), N(k, { key: 0 }, [I(f, {
20225
20249
  class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
20226
- "model-value": rn(t),
20250
+ "model-value": on(t),
20227
20251
  name: `tool.${t}`,
20228
20252
  value: !0,
20229
20253
  "unchecked-value": !1,
20230
- disabled: !en(t),
20254
+ disabled: !nn(t),
20231
20255
  switch: "",
20232
- "onUpdate:modelValue": (e) => ln(t, e)
20256
+ "onUpdate:modelValue": (e) => dn(t, e)
20233
20257
  }, {
20234
20258
  default: K(() => [P("div", fE, [
20235
20259
  P("div", pE, [
@@ -20241,7 +20265,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20241
20265
  default: K(() => [F(H(U(n)("label.deprecated")), 1)]),
20242
20266
  _: 1
20243
20267
  })) : M("", !0),
20244
- on(t) ? (z(), j(Vw, { key: 1 })) : M("", !0)
20268
+ cn(t) ? (z(), j(Vw, { key: 1 })) : M("", !0)
20245
20269
  ]),
20246
20270
  P("small", hE, H(U(n)(`hint.tool.${t}`)), 1),
20247
20271
  U(oe)(t) && U(ae)(t) ? (z(), N("div", {
@@ -20274,7 +20298,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20274
20298
  "name",
20275
20299
  "disabled",
20276
20300
  "onUpdate:modelValue"
20277
- ]), an(t) && rn(t) ? (z(), j(ne, {
20301
+ ]), sn(t) && on(t) ? (z(), j(ne, {
20278
20302
  key: 0,
20279
20303
  title: U(n)("label.advancedOptions"),
20280
20304
  modifiers: "details",
@@ -20282,8 +20306,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20282
20306
  }, {
20283
20307
  default: K(() => [P("div", _E, [
20284
20308
  t === U(T).ShowForm ? (z(), N(k, { key: 0 }, [I(u, {
20285
- modelValue: Ge.value,
20286
- "onUpdate:modelValue": a[60] ||= (e) => Ge.value = e,
20309
+ modelValue: qe.value,
20310
+ "onUpdate:modelValue": a[60] ||= (e) => qe.value = e,
20287
20311
  name: "formMaxSteps",
20288
20312
  type: "number",
20289
20313
  min: 1,
@@ -20296,8 +20320,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20296
20320
  "label",
20297
20321
  "disabled"
20298
20322
  ]), I(u, {
20299
- modelValue: Ke.value,
20300
- "onUpdate:modelValue": a[61] ||= (e) => Ke.value = e,
20323
+ modelValue: Je.value,
20324
+ "onUpdate:modelValue": a[61] ||= (e) => Je.value = e,
20301
20325
  name: "formMaxOptionsPerStep",
20302
20326
  type: "number",
20303
20327
  min: 2,
@@ -20312,8 +20336,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20312
20336
  ])], 64)) : M("", !0),
20313
20337
  t === U(T).UserMemory ? (z(), j(GC, {
20314
20338
  key: 1,
20315
- modelValue: He.value,
20316
- "onUpdate:modelValue": a[62] ||= (e) => He.value = e,
20339
+ modelValue: Ge.value,
20340
+ "onUpdate:modelValue": a[62] ||= (e) => Ge.value = e,
20317
20341
  name: "useAllUserKb",
20318
20342
  label: U(n)("agent.tool.useAllUserKb"),
20319
20343
  "hint-label": U(n)("hint.tool.useAllUserKb"),
@@ -20326,8 +20350,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20326
20350
  ])) : M("", !0),
20327
20351
  t === U(T).SearchInUserFiles ? (z(), j(GC, {
20328
20352
  key: 2,
20329
- modelValue: Ue.value,
20330
- "onUpdate:modelValue": a[63] ||= (e) => Ue.value = e,
20353
+ modelValue: Ke.value,
20354
+ "onUpdate:modelValue": a[63] ||= (e) => Ke.value = e,
20331
20355
  name: "useAllUserFiles",
20332
20356
  label: U(n)("agent.tool.useAllUserFiles"),
20333
20357
  "hint-label": U(n)("hint.tool.useAllUserFiles"),
@@ -20340,13 +20364,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20340
20364
  ])) : M("", !0),
20341
20365
  U(Ce)(t) ? (z(), j(GC, {
20342
20366
  key: 3,
20343
- "model-value": on(t),
20367
+ "model-value": cn(t),
20344
20368
  name: `tool.${t}.approval`,
20345
20369
  label: U(n)("label.toolRequiresApproval"),
20346
20370
  "hint-label": U(n)("hint.toolRequiresApproval"),
20347
20371
  disabled: e.playground,
20348
20372
  class: "mb-0",
20349
- "onUpdate:modelValue": (e) => cn(t, e)
20373
+ "onUpdate:modelValue": (e) => un(t, e)
20350
20374
  }, null, 8, [
20351
20375
  "model-value",
20352
20376
  "name",
@@ -20362,7 +20386,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20362
20386
  }, 1024)) : M("", !0)], 64))), 128))])
20363
20387
  ]),
20364
20388
  "panel::embed": K(() => [P("div", vE, [
20365
- It.value.includes(U(xe).Widget) ? M("", !0) : (z(), j(KC, {
20389
+ Rt.value.includes(U(xe).Widget) ? M("", !0) : (z(), j(KC, {
20366
20390
  key: 0,
20367
20391
  level: "warning",
20368
20392
  class: "mb-0"
@@ -20370,7 +20394,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20370
20394
  default: K(() => [F(H(U(n)("hint.channelWidgetDisabled")), 1)]),
20371
20395
  _: 1
20372
20396
  })),
20373
- It.value.includes(U(xe).App) ? M("", !0) : (z(), j(KC, {
20397
+ Rt.value.includes(U(xe).App) ? M("", !0) : (z(), j(KC, {
20374
20398
  key: 1,
20375
20399
  level: "warning",
20376
20400
  class: "mb-0"
@@ -20379,9 +20403,9 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20379
20403
  _: 1
20380
20404
  })),
20381
20405
  P("div", null, [P("h3", yE, H(U(n)("label.chatWidget")), 1), P("p", bE, H(U(n)("hint.embedCode")), 1)]),
20382
- I(dT, { source: pn.value }, {
20406
+ I(dT, { source: hn.value }, {
20383
20407
  default: K(() => [I(wt, {
20384
- code: pn.value,
20408
+ code: hn.value,
20385
20409
  language: "html",
20386
20410
  line: "",
20387
20411
  class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
@@ -20389,8 +20413,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20389
20413
  _: 1
20390
20414
  }, 8, ["source"]),
20391
20415
  e.playground ? M("", !0) : (z(), N("div", xE, [I(u, {
20392
- modelValue: qe.value,
20393
- "onUpdate:modelValue": a[64] ||= (e) => qe.value = e,
20416
+ modelValue: Ye.value,
20417
+ "onUpdate:modelValue": a[64] ||= (e) => Ye.value = e,
20394
20418
  name: "widgetUrl",
20395
20419
  type: "url",
20396
20420
  icon: "ri:links-line",
@@ -20407,8 +20431,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20407
20431
  }, {
20408
20432
  default: K(() => [P("div", SE, [
20409
20433
  I(u, {
20410
- modelValue: Je.value,
20411
- "onUpdate:modelValue": a[65] ||= (e) => Je.value = e,
20434
+ modelValue: Xe.value,
20435
+ "onUpdate:modelValue": a[65] ||= (e) => Xe.value = e,
20412
20436
  name: "loadDelay",
20413
20437
  type: "number",
20414
20438
  step: "100",
@@ -20424,8 +20448,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20424
20448
  "hint-label"
20425
20449
  ]),
20426
20450
  I(o, {
20427
- modelValue: Ye.value,
20428
- "onUpdate:modelValue": a[66] ||= (e) => Ye.value = e,
20451
+ modelValue: Ze.value,
20452
+ "onUpdate:modelValue": a[66] ||= (e) => Ze.value = e,
20429
20453
  name: "loaderStrategy",
20430
20454
  "select-hint-label": "",
20431
20455
  "deselect-hint-label": "",
@@ -20451,20 +20475,20 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20451
20475
  "label",
20452
20476
  "options"
20453
20477
  ]),
20454
- Ye.value ? (z(), j(KC, {
20478
+ Ze.value ? (z(), j(KC, {
20455
20479
  key: 0,
20456
20480
  class: "mt-md mb-0"
20457
20481
  }, {
20458
- default: K(() => [F(H(U(n)(`hint.loaderStrategy.${Ye.value}`)), 1)]),
20482
+ default: K(() => [F(H(U(n)(`hint.loaderStrategy.${Ze.value}`)), 1)]),
20459
20483
  _: 1
20460
20484
  })) : M("", !0)
20461
20485
  ])]),
20462
20486
  _: 1
20463
20487
  }, 8, ["title"])])),
20464
20488
  P("div", null, [P("h3", CE, H(U(n)("label.iframe")), 1), P("p", wE, H(U(n)("hint.embedIframe")), 1)]),
20465
- I(dT, { source: mn.value }, {
20489
+ I(dT, { source: gn.value }, {
20466
20490
  default: K(() => [I(wt, {
20467
- code: mn.value,
20491
+ code: gn.value,
20468
20492
  language: "html",
20469
20493
  line: "",
20470
20494
  class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
@@ -20472,15 +20496,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20472
20496
  _: 1
20473
20497
  }, 8, ["source"]),
20474
20498
  P("div", null, [P("h4", TE, H(U(n)("label.preview")), 1), P("p", EE, H(U(n)("hint.embedPreview")), 1)]),
20475
- I(dT, { source: O.value }, {
20476
- actions: K(() => [I(C, {
20499
+ I(dT, { source: mn.value }, {
20500
+ actions: K(() => [I(ee, {
20477
20501
  modifiers: "action-quiet-small",
20478
20502
  icon: "ri:eye-line",
20479
20503
  label: U(n)("action.view"),
20480
- href: O.value,
20504
+ href: mn.value,
20481
20505
  target: "_blank"
20482
20506
  }, null, 8, ["label", "href"])]),
20483
- default: K(() => [P("code", DE, H(O.value), 1)]),
20507
+ default: K(() => [P("code", DE, H(mn.value), 1)]),
20484
20508
  _: 1
20485
20509
  }, 8, ["source"])
20486
20510
  ])]),
@@ -20491,8 +20515,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20491
20515
  default: K(() => [
20492
20516
  P("p", kE, H(U(n)("hint.externalContextSchema")), 1),
20493
20517
  I(GC, {
20494
- modelValue: Gt.value,
20495
- "onUpdate:modelValue": a[67] ||= (e) => Gt.value = e,
20518
+ modelValue: qt.value,
20519
+ "onUpdate:modelValue": a[67] ||= (e) => qt.value = e,
20496
20520
  name: "externalContextEnabled",
20497
20521
  switch: "",
20498
20522
  label: U(n)("label.externalContextSchema"),
@@ -20502,27 +20526,27 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20502
20526
  "label",
20503
20527
  "hint-label"
20504
20528
  ]),
20505
- Gt.value ? (z(), j(C, {
20529
+ qt.value ? (z(), j(ee, {
20506
20530
  key: 0,
20507
20531
  modifiers: "action-small",
20508
20532
  icon: "ri:code-line",
20509
20533
  class: "ml-auto",
20510
20534
  label: U(n)("action.editSchema"),
20511
- onClick: a[68] ||= (e) => Ht.value = !0
20535
+ onClick: a[68] ||= (e) => Wt.value = !0
20512
20536
  }, null, 8, ["label"])) : M("", !0),
20513
20537
  I(Pe, {
20514
- modelValue: Ht.value,
20515
- "onUpdate:modelValue": a[71] ||= (e) => Ht.value = e,
20538
+ modelValue: Wt.value,
20539
+ "onUpdate:modelValue": a[71] ||= (e) => Wt.value = e,
20516
20540
  title: U(n)("label.externalContextSchema"),
20517
20541
  "keep-open": ""
20518
20542
  }, {
20519
- footer: K(() => [I(C, {
20543
+ footer: K(() => [I(ee, {
20520
20544
  label: U(n)("action.close"),
20521
- onClick: a[70] ||= (e) => Ht.value = !1
20545
+ onClick: a[70] ||= (e) => Wt.value = !1
20522
20546
  }, null, 8, ["label"])]),
20523
20547
  default: K(() => [I(Ss, {
20524
- modelValue: Lt.value,
20525
- "onUpdate:modelValue": a[69] ||= (e) => Lt.value = e,
20548
+ modelValue: zt.value,
20549
+ "onUpdate:modelValue": a[69] ||= (e) => zt.value = e,
20526
20550
  label: U(n)("label.externalContextSchema"),
20527
20551
  placeholder: U(n)("placeholder.insert")
20528
20552
  }, null, 8, [
@@ -20535,20 +20559,20 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20535
20559
  ]),
20536
20560
  _: 1
20537
20561
  }, 8, ["legend"]), e.features?.hostTools === !0 ? (z(), N(k, { key: 0 }, [I(hT, {
20538
- modelValue: Rt.value,
20539
- "onUpdate:modelValue": a[72] ||= (e) => Rt.value = e,
20540
- "trusted-origins": Re.value.origins
20562
+ modelValue: Bt.value,
20563
+ "onUpdate:modelValue": a[72] ||= (e) => Bt.value = e,
20564
+ "trusted-origins": Be.value.origins
20541
20565
  }, null, 8, ["modelValue", "trusted-origins"]), I(bT, {
20542
- modelValue: zt.value,
20543
- "onUpdate:modelValue": a[73] ||= (e) => zt.value = e,
20544
- "trusted-origins": Re.value.origins
20566
+ modelValue: E.value,
20567
+ "onUpdate:modelValue": a[73] ||= (e) => E.value = e,
20568
+ "trusted-origins": Be.value.origins
20545
20569
  }, null, 8, ["modelValue", "trusted-origins"])], 64)) : M("", !0)])]),
20546
20570
  "panel::security": K(() => [
20547
20571
  I(ts, { legend: U(n)("label.rateLimits") }, {
20548
20572
  default: K(() => [P("div", AE, [
20549
20573
  I(u, {
20550
- modelValue: Ne.value,
20551
- "onUpdate:modelValue": a[74] ||= (e) => Ne.value = e,
20574
+ modelValue: Ie.value,
20575
+ "onUpdate:modelValue": a[74] ||= (e) => Ie.value = e,
20552
20576
  name: "minuteRateLimit",
20553
20577
  type: "number",
20554
20578
  label: U(n)("label.minuteRateLimit"),
@@ -20564,8 +20588,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20564
20588
  "invalid-label"
20565
20589
  ]),
20566
20590
  I(u, {
20567
- modelValue: Fe.value,
20568
- "onUpdate:modelValue": a[75] ||= (e) => Fe.value = e,
20591
+ modelValue: Le.value,
20592
+ "onUpdate:modelValue": a[75] ||= (e) => Le.value = e,
20569
20593
  name: "hourRateLimit",
20570
20594
  type: "number",
20571
20595
  label: U(n)("label.hourRateLimit"),
@@ -20581,8 +20605,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20581
20605
  "invalid-label"
20582
20606
  ]),
20583
20607
  I(u, {
20584
- modelValue: Ie.value,
20585
- "onUpdate:modelValue": a[76] ||= (e) => Ie.value = e,
20608
+ modelValue: Re.value,
20609
+ "onUpdate:modelValue": a[76] ||= (e) => Re.value = e,
20586
20610
  name: "dayRateLimit",
20587
20611
  type: "number",
20588
20612
  label: U(n)("label.dayRateLimit"),
@@ -20598,8 +20622,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20598
20622
  "invalid-label"
20599
20623
  ]),
20600
20624
  I(u, {
20601
- modelValue: Le.value,
20602
- "onUpdate:modelValue": a[77] ||= (e) => Le.value = e,
20625
+ modelValue: ze.value,
20626
+ "onUpdate:modelValue": a[77] ||= (e) => ze.value = e,
20603
20627
  name: "monthRateLimit",
20604
20628
  type: "number",
20605
20629
  label: U(n)("label.monthRateLimit"),
@@ -20618,8 +20642,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20618
20642
  _: 1
20619
20643
  }, 8, ["legend"]),
20620
20644
  I(VC, {
20621
- modelValue: Re.value.origins,
20622
- "onUpdate:modelValue": a[78] ||= (e) => Re.value.origins = e,
20645
+ modelValue: Be.value.origins,
20646
+ "onUpdate:modelValue": a[78] ||= (e) => Be.value.origins = e,
20623
20647
  name: "trustedOrigins",
20624
20648
  label: U(n)("label.trustedOrigins"),
20625
20649
  placeholder: U(n)("placeholder.noTrustedOrigins"),
@@ -20630,8 +20654,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20630
20654
  "allow-empty": ""
20631
20655
  }, {
20632
20656
  default: K(({ index: e }) => [I(u, {
20633
- modelValue: Re.value.origins[e],
20634
- "onUpdate:modelValue": (t) => Re.value.origins[e] = t,
20657
+ modelValue: Be.value.origins[e],
20658
+ "onUpdate:modelValue": (t) => Be.value.origins[e] = t,
20635
20659
  name: `trustedOrigins.${e}`,
20636
20660
  label: U(n)("label.origin"),
20637
20661
  placeholder: U(n)("placeholder.insertOrigin"),
@@ -20656,8 +20680,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20656
20680
  "invalid-label"
20657
20681
  ]),
20658
20682
  I(VC, {
20659
- modelValue: ze.value,
20660
- "onUpdate:modelValue": a[79] ||= (e) => ze.value = e,
20683
+ modelValue: Ve.value,
20684
+ "onUpdate:modelValue": a[79] ||= (e) => Ve.value = e,
20661
20685
  name: "imageHosts",
20662
20686
  label: U(n)("label.imageHosts"),
20663
20687
  placeholder: U(n)("placeholder.noImageHosts"),
@@ -20668,8 +20692,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
20668
20692
  "allow-empty": ""
20669
20693
  }, {
20670
20694
  default: K(({ index: e }) => [I(u, {
20671
- modelValue: ze.value[e],
20672
- "onUpdate:modelValue": (t) => ze.value[e] = t,
20695
+ modelValue: Ve.value[e],
20696
+ "onUpdate:modelValue": (t) => Ve.value[e] = t,
20673
20697
  name: `imageHosts.${e}`,
20674
20698
  label: U(n)("label.imageHost"),
20675
20699
  placeholder: U(n)("placeholder.insertImageHost"),