@synopackageland/sdk 0.11.0 → 0.12.1

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { appRefusal as da, appDenial as Be, delegateCopy as Ve, appLifecycle as Ce, lifecycleRetryDelay as ca, uiLocale as va, lifecycleCopy as Ne, shellCopy as sa, isFullPage as $a, format as Je, nasCopy as Te, nasErrorCopy as Sa, saveCopy as fa, saveError as Ye, createNasProvider as Pa, identityCopy as Xa, backgroundCopy as Wa, createBackgroundPickerProvider as Ga, backgroundErrorCopy as Ja, requestKey as ba, labelSeparator as Ea, lifecycleRefusal as Ya, errorCopy as Qa, scopedPicker as Za, authorizationCopy as ja } from "./index.js";
2
- import { DEFAULT_REQUEST_TIMEOUT as xo, FILE_STATION_APP as Co, LIFECYCLE_RETRY_MAX_MS as $o, LIFECYCLE_STARTING_RETRY_MAX_MS as So, activePage as Po, authorizationCatalogs as Eo, backgroundCatalogs as To, bridgeCatalogs as zo, bridgeErrorCopy as Ao, catalogs as Ro, clientTimeout as Io, createBackgroundSaveFacade as Do, createDsmSession as Uo, createFileTransfers as Vo, createPortalAccess as No, createStandaloneContext as Bo, createStandaloneHost as Lo, decodeResponse as Oo, delegateCatalogs as Fo, encodeRequest as qo, fileStationPath as Mo, identityCatalogs as Ko, mergeCatalogs as Ho, nasCatalogs as Xo, openFileInFileStation as Wo, openFolderInFileStation as Go, portalCatalogs as Jo, portalMessages as Yo, protocolCodes as Qo, protocolOps as Zo, protocolSchemas as jo, saveCatalogs as es, shellCatalogs as as, shellPages as ts, uiLocales as ls } from "./index.js";
3
- import { inject as Ee, ref as y, computed as _, onBeforeUnmount as we, Comment as et, Text as at, Fragment as oe, watch as Oe, onMounted as Se, defineComponent as fe, openBlock as l, createElementBlock as $, normalizeClass as De, createElementVNode as S, createVNode as v, unref as e, toDisplayString as s, createCommentVNode as g, renderList as ge, createTextVNode as h, renderSlot as be, createBlock as b, withCtx as n, resolveDynamicComponent as Xe, normalizeProps as Qe, mergeProps as pa, withModifiers as qe, isRef as Ze, provide as Le, useTemplateRef as He, useSlots as Ta, watchEffect as ga, guardReactiveProps as ha, createSlots as za, Teleport as Aa, markRaw as tt, h as lt, onUnmounted as Ra, nextTick as nt } from "vue";
2
+ import { DEFAULT_REQUEST_TIMEOUT as Co, FILE_STATION_APP as $o, LIFECYCLE_RETRY_MAX_MS as So, LIFECYCLE_STARTING_RETRY_MAX_MS as Po, activePage as Eo, authorizationCatalogs as To, backgroundCatalogs as zo, bridgeCatalogs as Ao, bridgeErrorCopy as Ro, catalogs as Io, clientTimeout as Do, createBackgroundSaveFacade as Uo, createDsmSession as Vo, createFileTransfers as No, createPortalAccess as Bo, createStandaloneContext as Lo, createStandaloneHost as Oo, decodeResponse as Fo, delegateCatalogs as qo, encodeRequest as Mo, fileStationPath as Ko, identityCatalogs as Ho, mergeCatalogs as Xo, nasCatalogs as Wo, openFileInFileStation as Go, openFolderInFileStation as Jo, portalCatalogs as Yo, portalMessages as Qo, protocolCodes as Zo, protocolOps as jo, protocolSchemas as es, saveCatalogs as as, shellCatalogs as ts, shellPages as ls, uiLocales as ns } from "./index.js";
3
+ import { inject as Ee, ref as y, computed as _, onBeforeUnmount as we, Comment as et, Text as at, Fragment as oe, watch as Oe, onMounted as Se, defineComponent as fe, openBlock as l, createElementBlock as $, normalizeClass as De, createElementVNode as S, createVNode as v, unref as e, toDisplayString as s, createCommentVNode as b, renderList as ge, createTextVNode as h, renderSlot as be, createBlock as g, withCtx as n, resolveDynamicComponent as Xe, normalizeProps as Qe, mergeProps as pa, withModifiers as qe, isRef as Ze, provide as Le, useTemplateRef as He, useSlots as Ta, watchEffect as ga, guardReactiveProps as ha, createSlots as za, Teleport as Aa, markRaw as tt, h as lt, onUnmounted as Ra, nextTick as nt } from "vue";
4
4
  import { SettingsSection as ke, Callout as j, Button as V, SettingsRow as xe, Skeleton as Fe, Badge as ia, PathDisplay as Ue, Form as Me, FormItem as $e, Select as ma, Input as ze, Dialog as Ge, ensureDeviceViewport as ot, AppRoot as st, ConfigProvider as it, PageContent as ka, PageHeader as wa, AppLayout as ut, AppSidebar as rt, AppSidebarUser as dt, InfoTip as ct, FileTypeIcon as la, IconButton as na, Breadcrumb as vt, FilePicker as ft, TreeView as pt, DataGrid as mt, Link as ua, FormActions as aa, Card as _a, Checkbox as yt, LoadingArea as bt } from "@synopackageland/ui";
5
5
  import { Timer as gt, Info as ht, ShieldCheck as Ia, ChevronRight as Da, ChevronLeft as kt, RotateCw as wt } from "@lucide/vue";
6
6
  const We = /* @__PURE__ */ Symbol("executor-setup"), Ua = /* @__PURE__ */ Symbol("executor-preload");
@@ -24,32 +24,32 @@ const xt = ["password_rejected", "password_required", "password_confirm_failed"]
24
24
  function je(t) {
25
25
  if (t.state !== "blocked") return;
26
26
  if (t.code) return xt.includes(t.code) ? t.code : void 0;
27
- const p = t.reason ?? "";
28
- if (/^dsm_3121\b/.test(p)) return "password_rejected";
29
- if (/^\S+: administrator password confirmation failed\./.test(p)) return "password_confirm_failed";
27
+ const m = t.reason ?? "";
28
+ if (/^dsm_3121\b/.test(m)) return "password_rejected";
29
+ if (/^\S+: administrator password confirmation failed\./.test(m)) return "password_confirm_failed";
30
30
  }
31
31
  function Ct(t) {
32
32
  return /: the executor status request failed\.$/.test(t ?? "");
33
33
  }
34
- function io(t) {
35
- const p = y(), o = _(() => p.value ? { code: p.value, ...da({ code: p.value }, t.locale, t.displayName) } : void 0), a = y(!1), i = y(!1), u = y(), r = y("");
36
- let c = !1, m = 0, d, f;
34
+ function uo(t) {
35
+ const m = y(), o = _(() => m.value ? { code: m.value, ...da({ code: m.value }, t.locale, t.displayName) } : void 0), a = y(!1), i = y(!1), u = y(), r = y("");
36
+ let c = !1, f = 0, d, p;
37
37
  function x() {
38
- clearTimeout(d), clearTimeout(f);
38
+ clearTimeout(d), clearTimeout(p);
39
39
  }
40
40
  function P(B = "") {
41
- m++, x(), u.value = void 0, r.value = B;
41
+ f++, x(), u.value = void 0, r.value = B;
42
42
  }
43
43
  function w(B) {
44
44
  const K = Be(B);
45
- return c || !K ? !1 : (P(), p.value = K, !0);
45
+ return c || !K ? !1 : (P(), m.value = K, !0);
46
46
  }
47
47
  async function C(B, K) {
48
- const L = m;
48
+ const L = f;
49
49
  try {
50
50
  return await t.call(B, K);
51
51
  } catch (R) {
52
- throw L === m && w(R), R;
52
+ throw L === f && w(R), R;
53
53
  }
54
54
  }
55
55
  function E(B) {
@@ -59,14 +59,14 @@ function io(t) {
59
59
  P("expired");
60
60
  return;
61
61
  }
62
- x(), p.value = void 0, u.value = B, r.value = "", d = setTimeout(() => P("expired"), K);
63
- const L = m;
64
- f = setTimeout(async () => {
62
+ x(), m.value = void 0, u.value = B, r.value = "", d = setTimeout(() => P("expired"), K);
63
+ const L = f;
64
+ p = setTimeout(async () => {
65
65
  try {
66
66
  const R = await C("identity.session");
67
- !c && m === L && E(R);
67
+ !c && f === L && E(R);
68
68
  } catch (R) {
69
- !c && m === L && !w(R) && P("expired");
69
+ !c && f === L && !w(R) && P("expired");
70
70
  }
71
71
  }, Math.min(6e4, K));
72
72
  }
@@ -74,7 +74,7 @@ function io(t) {
74
74
  try {
75
75
  const B = await C("identity.status");
76
76
  if (c) return;
77
- if (p.value = void 0, a.value = B.enabled === !0, a.value)
77
+ if (m.value = void 0, a.value = B.enabled === !0, a.value)
78
78
  try {
79
79
  E(await C("identity.session", { bootstrap: !0 }));
80
80
  } catch (K) {
@@ -89,24 +89,24 @@ function io(t) {
89
89
  }
90
90
  }
91
91
  async function T(B, K) {
92
- const L = m;
92
+ const L = f;
93
93
  try {
94
94
  const R = await t.call(B, K);
95
- if (c || a.value && L !== m) throw { code: "session_required" };
95
+ if (c || a.value && L !== f) throw { code: "session_required" };
96
96
  return R;
97
97
  } catch (R) {
98
- L === m && w(R);
98
+ L === f && w(R);
99
99
  const A = R?.code;
100
- throw !c && L === m && a.value && ["session_required", "session_revalidation_required"].includes(A || "") && P(A === "session_revalidation_required" ? "revalidate" : "expired"), R;
100
+ throw !c && L === f && a.value && ["session_required", "session_revalidation_required"].includes(A || "") && P(A === "session_revalidation_required" ? "revalidate" : "expired"), R;
101
101
  }
102
102
  }
103
103
  async function N(B, K, L) {
104
104
  const R = await C("identity.login", { account: B, password: K, otp: L });
105
- c || (m++, E(R));
105
+ c || (f++, E(R));
106
106
  }
107
107
  async function te() {
108
108
  const B = await C("identity.session", { bootstrap: !0 });
109
- c || (m++, E(B));
109
+ c || (f++, E(B));
110
110
  }
111
111
  async function F() {
112
112
  await C("identity.logout"), c || P();
@@ -117,42 +117,42 @@ function io(t) {
117
117
  return { enabled: a, ready: i, subject: u, notice: r, denied: o, start: k, call: T, login: N, bootstrap: te, logout: F, dispose: Y };
118
118
  }
119
119
  function $t() {
120
- const t = y(!1), p = y();
120
+ const t = y(!1), m = y();
121
121
  let o = !1, a = 0, i;
122
122
  function u() {
123
- a++, i?.abort(), i = void 0, t.value = !1, p.value = void 0;
123
+ a++, i?.abort(), i = void 0, t.value = !1, m.value = void 0;
124
124
  }
125
125
  async function r(c) {
126
126
  if (o || t.value) return;
127
- const m = ++a, d = new AbortController();
128
- i = d, t.value = !0, p.value = void 0;
127
+ const f = ++a, d = new AbortController();
128
+ i = d, t.value = !0, m.value = void 0;
129
129
  try {
130
- const f = await c(d.signal);
131
- return !o && m === a ? f : void 0;
132
- } catch (f) {
133
- !o && m === a && (p.value = f);
130
+ const p = await c(d.signal);
131
+ return !o && f === a ? p : void 0;
132
+ } catch (p) {
133
+ !o && f === a && (m.value = p);
134
134
  return;
135
135
  } finally {
136
- !o && m === a && (t.value = !1, i = void 0);
136
+ !o && f === a && (t.value = !1, i = void 0);
137
137
  }
138
138
  }
139
139
  return we(() => {
140
140
  o = !0, u();
141
- }), { busy: t, error: p, run: r, cancel: u };
141
+ }), { busy: t, error: m, run: r, cancel: u };
142
142
  }
143
143
  const xa = ".sds-standalone-main-window";
144
144
  function St(t) {
145
- const p = { brand: !1, user: !1 };
145
+ const m = { brand: !1, user: !1 };
146
146
  try {
147
147
  const o = t.closest(xa);
148
- if (!t.isConnected || !o || o.classList.contains("sds-standalone-main-window--no-banner")) return p;
148
+ if (!t.isConnected || !o || o.classList.contains("sds-standalone-main-window--no-banner")) return m;
149
149
  const a = (i) => Array.from(o.querySelectorAll(i)).some((u) => {
150
150
  if (t.contains(u) || u.closest(xa) !== o || !u.textContent?.trim()) return !1;
151
151
  const r = u.ownerDocument.defaultView;
152
152
  if (!r) return !1;
153
- for (let m = u; m; m = m.parentElement) {
154
- const d = r.getComputedStyle(m);
155
- if (m.hidden || d.display === "none" || d.visibility === "hidden" || d.visibility === "collapse" || d.opacity === "0") return !1;
153
+ for (let f = u; f; f = f.parentElement) {
154
+ const d = r.getComputedStyle(f);
155
+ if (f.hidden || d.display === "none" || d.visibility === "hidden" || d.visibility === "collapse" || d.opacity === "0") return !1;
156
156
  }
157
157
  const c = u.getBoundingClientRect();
158
158
  return c.width > 0 && c.height > 0;
@@ -162,36 +162,36 @@ function St(t) {
162
162
  user: a(".sds-standalone-main-window-header .sds-standalone-main-window-header__toolbar__btn")
163
163
  };
164
164
  } catch {
165
- return p;
165
+ return m;
166
166
  }
167
167
  }
168
168
  function Na(t) {
169
- return Array.isArray(t) && t.some((p) => {
170
- const o = p;
169
+ return Array.isArray(t) && t.some((m) => {
170
+ const o = m;
171
171
  return o.type === et ? !1 : o.type === at ? String(o.children).trim() !== "" : o.type === oe ? Na(o.children) : !0;
172
172
  });
173
173
  }
174
174
  function Pt(t) {
175
- return Array.from(t.childNodes).some((p) => p.nodeType === Node.ELEMENT_NODE || p.nodeType === Node.TEXT_NODE && p.textContent.trim() !== "");
175
+ return Array.from(t.childNodes).some((m) => m.nodeType === Node.ELEMENT_NODE || m.nodeType === Node.TEXT_NODE && m.textContent.trim() !== "");
176
176
  }
177
177
  const Et = { status: ht, background: gt };
178
- function Tt(t, p) {
179
- return t.map((o) => typeof o == "string" ? { id: o, title: p[o], icon: Et[o] } : o);
178
+ function Tt(t, m) {
179
+ return t.map((o) => typeof o == "string" ? { id: o, title: m[o], icon: Et[o] } : o);
180
180
  }
181
181
  function zt(t) {
182
- const p = /* @__PURE__ */ new Map(), o = { items: [] };
182
+ const m = /* @__PURE__ */ new Map(), o = { items: [] };
183
183
  for (const a of t) {
184
184
  if (a.hidden) continue;
185
- let i = a.placement === "bottom" ? o : p.get(a.group);
186
- i || p.set(a.group, i = a.group === void 0 ? { items: [] } : { label: a.group, items: [] }), i.items.push({ key: a.id, label: a.title, icon: a.icon, badge: a.badge });
185
+ let i = a.placement === "bottom" ? o : m.get(a.group);
186
+ i || m.set(a.group, i = a.group === void 0 ? { items: [] } : { label: a.group, items: [] }), i.items.push({ key: a.id, label: a.title, icon: a.icon, badge: a.badge });
187
187
  }
188
- return o.items.length ? [...p.values(), o] : [...p.values()];
188
+ return o.items.length ? [...m.values(), o] : [...m.values()];
189
189
  }
190
190
  const At = { password_rejected: "passwordRejected", password_required: "passwordRequired", password_confirm_failed: "passwordConfirmFailed" }, Rt = 6e4, It = 1e3;
191
- function Ba(t, p) {
192
- const o = Va(), a = _(() => Ve(t.locale)), i = y(), u = y(""), r = y(!1), c = y(!1), m = y(!1), d = y(), f = y(!1), x = _(() => f.value ? a.value.passwordRequired : d.value && "confirm" in d.value ? a.value[At[d.value.confirm]] : "");
191
+ function Ba(t, m) {
192
+ const o = Va(), a = _(() => Ve(t.locale)), i = y(), u = y(""), r = y(!1), c = y(!1), f = y(!1), d = y(), p = y(!1), x = _(() => p.value ? a.value.passwordRequired : d.value && "confirm" in d.value ? a.value[At[d.value.confirm]] : "");
193
193
  Oe(u, () => {
194
- f.value = !1;
194
+ p.value = !1;
195
195
  });
196
196
  const P = y(), w = y(""), C = y([]), E = _(() => P.value?.scope_mode === "install-selected"), k = _(() => !!P.value?.scope_mode), T = _(() => [{ label: a.value.homeScope, value: "home" }, ...C.value]), N = _(() => !E.value || !!w.value && T.value.some((M) => M.value === w.value)), te = _(() => E.value && !P.value?.selection);
197
197
  let F = !1;
@@ -215,11 +215,11 @@ function Ba(t, p) {
215
215
  }
216
216
  async function B(M) {
217
217
  if (!(!t.admin || r.value)) {
218
- r.value = !0, m.value = !1, d.value = void 0;
218
+ r.value = !0, f.value = !1, d.value = void 0;
219
219
  try {
220
220
  await Y(M);
221
221
  } catch {
222
- F || (m.value = !0);
222
+ F || (f.value = !0);
223
223
  } finally {
224
224
  F || (r.value = !1);
225
225
  }
@@ -227,8 +227,8 @@ function Ba(t, p) {
227
227
  }
228
228
  const K = () => B();
229
229
  async function L() {
230
- if (!t.admin || r.value || !u.value || !N.value || m.value) return;
231
- r.value = !0, m.value = !1, d.value = void 0;
230
+ if (!t.admin || r.value || !u.value || !N.value || f.value) return;
231
+ r.value = !0, f.value = !1, d.value = void 0;
232
232
  const M = u.value, se = w.value;
233
233
  u.value = "", c.value = !0;
234
234
  try {
@@ -246,15 +246,15 @@ function Ba(t, p) {
246
246
  F || (d.value = { reason: H.reason ?? "", code: H.code });
247
247
  return;
248
248
  }
249
- F || await p();
249
+ F || await m();
250
250
  } catch {
251
- F || (m.value = !0);
251
+ F || (f.value = !0);
252
252
  } finally {
253
253
  F || (r.value = !1, c.value = !1);
254
254
  }
255
255
  }
256
256
  function R() {
257
- return !u.value && !r.value ? (f.value = !0, Promise.resolve()) : L();
257
+ return !u.value && !r.value ? (p.value = !0, Promise.resolve()) : L();
258
258
  }
259
259
  async function A(M) {
260
260
  for (const se = Date.now() + Rt; !F; await new Promise((H) => setTimeout(H, It))) {
@@ -272,13 +272,13 @@ function Ba(t, p) {
272
272
  }), B(t.initial);
273
273
  }), we(() => {
274
274
  F = !0, u.value = "";
275
- }), { status: i, password: u, busy: r, confirming: c, error: m, failure: d, passwordError: x, scope: P, chosen: w, options: T, dynamic: E, files: k, webapiProfiles: o.webapiProfiles, canConfirm: N, needsScope: te, refresh: K, authorize: L, submit: R, explain: q };
275
+ }), { status: i, password: u, busy: r, confirming: c, error: f, failure: d, passwordError: x, scope: P, chosen: w, options: T, dynamic: E, files: k, webapiProfiles: o.webapiProfiles, canConfirm: N, needsScope: te, refresh: K, authorize: L, submit: R, explain: q };
276
276
  }
277
- function Ke(t, p) {
277
+ function Ke(t, m) {
278
278
  let o = !1, a, i = 0;
279
279
  function u() {
280
280
  clearTimeout(a), a = setTimeout(() => {
281
- p().then(() => {
281
+ m().then(() => {
282
282
  !o && t() && u();
283
283
  });
284
284
  }, ca(i++, t()));
@@ -306,10 +306,13 @@ const Dt = ["data-audience"], Ut = {
306
306
  key: 0,
307
307
  "data-webapi-profiles": ""
308
308
  }, qt = {
309
+ key: 0,
310
+ "data-webapi-raw": ""
311
+ }, Mt = {
309
312
  key: 1,
310
313
  class: "executor-consent-more",
311
314
  "data-consent-points": ""
312
- }, Mt = /* @__PURE__ */ fe({
315
+ }, Kt = /* @__PURE__ */ fe({
313
316
  __name: "ExecutorConsent",
314
317
  props: {
315
318
  admin: { type: Boolean },
@@ -320,7 +323,7 @@ const Dt = ["data-audience"], Ut = {
320
323
  webapiProfiles: {}
321
324
  },
322
325
  setup(t) {
323
- const p = t, o = _(() => Ve(p.locale)), a = _(() => ["zh-TW", "zh-CN", "ja"].includes(va(p.locale ?? "en")) ? "" : " "), i = _(() => [o.value.consentWhy, p.purpose || (p.files ? o.value.consentPurposeFiles : o.value.consentPurpose)].join(a.value)), u = _(() => [o.value.pointPassword, o.value.pointLimited, o.value.pointUpdate, o.value.pointRevoke]);
326
+ const m = t, o = _(() => Ve(m.locale)), a = _(() => ["zh-TW", "zh-CN", "ja"].includes(va(m.locale ?? "en")) ? "" : " "), i = _(() => [o.value.consentWhy, m.purpose || (m.files ? o.value.consentPurposeFiles : o.value.consentPurpose)].join(a.value)), u = _(() => [o.value.pointPassword, o.value.pointLimited, o.value.pointUpdate, o.value.pointRevoke]);
324
327
  return (r, c) => (l(), $("div", {
325
328
  class: De(["executor-consent", `executor-consent-${t.layout ?? "inline"}`]),
326
329
  "data-executor-consent": "",
@@ -335,23 +338,24 @@ const Dt = ["data-audience"], Ut = {
335
338
  S("div", Nt, [
336
339
  S("p", Bt, s(t.admin ? o.value.consentTitle : o.value.consentTitleUser), 1),
337
340
  S("p", Lt, s(i.value), 1),
338
- t.admin ? g("", !0) : (l(), $("p", Ot, s(o.value.consentAsk), 1))
341
+ t.admin ? b("", !0) : (l(), $("p", Ot, s(o.value.consentAsk), 1))
339
342
  ]),
340
343
  t.webapiProfiles && Object.keys(t.webapiProfiles).length ? (l(), $("ul", Ft, [
341
- (l(!0), $(oe, null, ge(t.webapiProfiles, (m, d) => (l(), $("li", { key: d }, [
344
+ (l(!0), $(oe, null, ge(t.webapiProfiles, (f, d) => (l(), $("li", { key: d }, [
342
345
  S("strong", null, s(d), 1),
343
- h(": " + s(m.purpose) + " ", 1),
346
+ h(": " + s(f.purpose) + " ", 1),
344
347
  S("details", null, [
345
348
  S("summary", null, s(o.value.details), 1),
346
- (l(!0), $(oe, null, ge(m.apis, (f, x) => (l(), $("div", { key: x }, [
349
+ (l(!0), $(oe, null, ge(f.apis, (p, x) => (l(), $("div", { key: x }, [
347
350
  S("code", null, s(x), 1),
348
- (l(!0), $(oe, null, ge(f, (P, w) => (l(), $("div", { key: w }, s(w) + " (" + s(P.join(", ")) + ")", 1))), 128))
349
- ]))), 128))
351
+ (l(!0), $(oe, null, ge(p, (P, w) => (l(), $("div", { key: w }, s(w) + " (" + s(P.join(", ")) + ")", 1))), 128))
352
+ ]))), 128)),
353
+ f.raw_max_bytes ? (l(), $("code", qt, s(o.value.rawLimit) + ": " + s(f.raw_max_bytes), 1)) : b("", !0)
350
354
  ])
351
355
  ]))), 128))
352
- ])) : g("", !0),
356
+ ])) : b("", !0),
353
357
  be(r.$slots, "default", {}, void 0, !0),
354
- t.admin ? (l(), $("details", qt, [
358
+ t.admin ? (l(), $("details", Mt, [
355
359
  S("summary", null, [
356
360
  v(e(Da), {
357
361
  class: "executor-consent-chevron",
@@ -361,27 +365,27 @@ const Dt = ["data-audience"], Ut = {
361
365
  h(s(o.value.consentDetails), 1)
362
366
  ]),
363
367
  S("ul", null, [
364
- (l(!0), $(oe, null, ge(u.value, (m) => (l(), $("li", { key: m }, s(m), 1))), 128))
368
+ (l(!0), $(oe, null, ge(u.value, (f) => (l(), $("li", { key: f }, s(f), 1))), 128))
365
369
  ])
366
- ])) : g("", !0)
370
+ ])) : b("", !0)
367
371
  ])
368
372
  ], 10, Dt));
369
373
  }
370
- }), me = (t, p) => {
374
+ }), me = (t, m) => {
371
375
  const o = t.__vccOpts || t;
372
- for (const [a, i] of p)
376
+ for (const [a, i] of m)
373
377
  o[a] = i;
374
378
  return o;
375
- }, ea = /* @__PURE__ */ me(Mt, [["__scopeId", "data-v-896bcab3"]]), Kt = { class: "executor-alert" }, Ht = {
379
+ }, ea = /* @__PURE__ */ me(Kt, [["__scopeId", "data-v-aacde22e"]]), Ht = { class: "executor-alert" }, Xt = {
376
380
  key: 0,
377
381
  class: "executor-reason"
378
- }, Xt = {
382
+ }, Wt = {
379
383
  key: 0,
380
384
  class: "executor-summary"
381
- }, Wt = {
385
+ }, Gt = {
382
386
  key: 1,
383
387
  class: "executor-summary"
384
- }, Gt = ["data-executor-status"], Jt = { class: "executor-reason" }, Yt = /* @__PURE__ */ fe({
388
+ }, Jt = ["data-executor-status"], Yt = { class: "executor-reason" }, Qt = /* @__PURE__ */ fe({
385
389
  __name: "ExecutorSettings",
386
390
  props: {
387
391
  admin: { type: Boolean },
@@ -393,30 +397,30 @@ const Dt = ["data-audience"], Ut = {
393
397
  layout: {}
394
398
  },
395
399
  emits: ["confirmed"],
396
- setup(t, { expose: p, emit: o }) {
397
- const a = t, i = o, u = _(() => Ve(a.locale)), { status: r, password: c, busy: m, confirming: d, error: f, failure: x, passwordError: P, scope: w, chosen: C, options: E, dynamic: k, files: T, webapiProfiles: N, canConfirm: te, needsScope: F, refresh: Y, submit: B, explain: K } = Ba(a, () => i("confirmed")), L = _(() => d.value ? "confirming" : r.value ? r.value.state === "ready" ? "ready" : "blocked" : void 0), R = _(() => ({ ready: { tone: "success", text: u.value.statusReady }, blocked: { tone: "danger", text: u.value.statusBlocked }, confirming: { tone: "info", text: u.value.statusConfirming } })[L.value ?? "confirming"]), A = _(() => d.value ? void 0 : Ce(r.value));
400
+ setup(t, { expose: m, emit: o }) {
401
+ const a = t, i = o, u = _(() => Ve(a.locale)), { status: r, password: c, busy: f, confirming: d, error: p, failure: x, passwordError: P, scope: w, chosen: C, options: E, dynamic: k, files: T, webapiProfiles: N, canConfirm: te, needsScope: F, refresh: Y, submit: B, explain: K } = Ba(a, () => i("confirmed")), L = _(() => d.value ? "confirming" : r.value ? r.value.state === "ready" ? "ready" : "blocked" : void 0), R = _(() => ({ ready: { tone: "success", text: u.value.statusReady }, blocked: { tone: "danger", text: u.value.statusBlocked }, confirming: { tone: "info", text: u.value.statusConfirming } })[L.value ?? "confirming"]), A = _(() => d.value ? void 0 : Ce(r.value));
398
402
  Ke(() => A.value, Y);
399
403
  const q = _(() => !A.value && (r.value?.state === "needs-admin-approval" || F.value)), M = _(() => q.value || !!r.value?.retry);
400
- return p({ refresh: Y }), (se, H) => t.admin ? (l(), b(e(ke), {
404
+ return m({ refresh: Y }), (se, H) => t.admin ? (l(), g(e(ke), {
401
405
  key: 0,
402
406
  title: t.title ?? u.value.setupTitle,
403
407
  description: q.value ? void 0 : e(T) ? u.value.setupHelpFiles : u.value.setupHelp,
404
408
  collapsible: !1,
405
- "aria-busy": e(m) || !e(r) && !e(d) && !e(f)
409
+ "aria-busy": e(f) || !e(r) && !e(d) && !e(p)
406
410
  }, {
407
411
  default: n(() => [
408
- e(f) ? (l(), b(e(j), {
412
+ e(p) ? (l(), g(e(j), {
409
413
  key: 0,
410
414
  tone: "danger",
411
415
  role: "alert"
412
416
  }, {
413
417
  default: n(() => [
414
- S("span", Kt, [
418
+ S("span", Ht, [
415
419
  S("span", null, s(u.value.setupError), 1),
416
420
  v(e(V), {
417
421
  variant: "secondary",
418
422
  size: "sm",
419
- disabled: e(m),
423
+ disabled: e(f),
420
424
  onClick: e(Y)
421
425
  }, {
422
426
  default: n(() => [
@@ -427,18 +431,18 @@ const Dt = ["data-audience"], Ut = {
427
431
  ])
428
432
  ]),
429
433
  _: 1
430
- })) : e(x) && !("confirm" in e(x)) ? (l(), b(e(j), {
434
+ })) : e(x) && !("confirm" in e(x)) ? (l(), g(e(j), {
431
435
  key: 1,
432
436
  tone: "danger",
433
437
  role: "alert"
434
438
  }, {
435
439
  default: n(() => [
436
440
  h(s(e(x).code === "session_ended" ? u.value.session : e(K)(e(x)) ?? u.value.setupError), 1),
437
- e(x).reason ? (l(), $("span", Ht, s(e(x).reason), 1)) : g("", !0)
441
+ e(x).reason ? (l(), $("span", Xt, s(e(x).reason), 1)) : b("", !0)
438
442
  ]),
439
443
  _: 1
440
- })) : g("", !0),
441
- A.value ? (l(), b(e(j), {
444
+ })) : b("", !0),
445
+ A.value ? (l(), g(e(j), {
442
446
  key: 2,
443
447
  tone: "info",
444
448
  role: "status"
@@ -448,7 +452,7 @@ const Dt = ["data-audience"], Ut = {
448
452
  ]),
449
453
  _: 1
450
454
  })) : (l(), $(oe, { key: 3 }, [
451
- !e(r) && !e(d) && !e(f) ? (l(), $("div", Xt, [
455
+ !e(r) && !e(d) && !e(p) ? (l(), $("div", Wt, [
452
456
  v(e(xe), {
453
457
  label: u.value.status,
454
458
  "data-placeholder-row": ""
@@ -461,8 +465,8 @@ const Dt = ["data-audience"], Ut = {
461
465
  ]),
462
466
  _: 1
463
467
  }, 8, ["label"])
464
- ])) : g("", !0),
465
- (e(r) || e(d)) && !q.value ? (l(), $("div", Wt, [
468
+ ])) : b("", !0),
469
+ (e(r) || e(d)) && !q.value ? (l(), $("div", Gt, [
466
470
  v(e(xe), {
467
471
  label: u.value.status
468
472
  }, {
@@ -479,25 +483,25 @@ const Dt = ["data-audience"], Ut = {
479
483
  ]),
480
484
  _: 1
481
485
  }, 8, ["tone"])
482
- ], 8, Gt)
486
+ ], 8, Jt)
483
487
  ]),
484
488
  _: 1
485
489
  }, 8, ["label"]),
486
- e(r)?.reason && (e(r).state === "blocked" || e(r).state === "unsupported") ? (l(), b(e(xe), {
490
+ e(r)?.reason && (e(r).state === "blocked" || e(r).state === "unsupported") ? (l(), g(e(xe), {
487
491
  key: 0,
488
492
  label: u.value.details
489
493
  }, {
490
494
  default: n(() => [
491
495
  e(K)(e(r)) ? (l(), $(oe, { key: 0 }, [
492
496
  h(s(e(K)(e(r))), 1),
493
- S("span", Jt, s(e(r).reason), 1)
497
+ S("span", Yt, s(e(r).reason), 1)
494
498
  ], 64)) : (l(), $(oe, { key: 1 }, [
495
499
  h(s(e(r).reason), 1)
496
500
  ], 64))
497
501
  ]),
498
502
  _: 1
499
- }, 8, ["label"])) : g("", !0),
500
- e(w)?.selection ? (l(), b(e(xe), {
503
+ }, 8, ["label"])) : b("", !0),
504
+ e(w)?.selection ? (l(), g(e(xe), {
501
505
  key: 1,
502
506
  label: u.value.protectedScope
503
507
  }, {
@@ -507,9 +511,9 @@ const Dt = ["data-audience"], Ut = {
507
511
  }, null, 8, ["path"])
508
512
  ]),
509
513
  _: 1
510
- }, 8, ["label"])) : g("", !0)
511
- ])) : g("", !0),
512
- L.value === "blocked" && !q.value ? (l(), b(e(j), {
514
+ }, 8, ["label"])) : b("", !0)
515
+ ])) : b("", !0),
516
+ L.value === "blocked" && !q.value ? (l(), g(e(j), {
513
517
  key: 2,
514
518
  tone: "warning"
515
519
  }, {
@@ -517,8 +521,8 @@ const Dt = ["data-audience"], Ut = {
517
521
  h(s(e(T) ? u.value.blocked : u.value.executorBlocked), 1)
518
522
  ]),
519
523
  _: 1
520
- })) : g("", !0),
521
- e(w)?.mismatch ? (l(), b(e(j), {
524
+ })) : b("", !0),
525
+ e(w)?.mismatch ? (l(), g(e(j), {
522
526
  key: 3,
523
527
  tone: "warning"
524
528
  }, {
@@ -526,8 +530,8 @@ const Dt = ["data-audience"], Ut = {
526
530
  h(s(u.value.scopeMismatch), 1)
527
531
  ]),
528
532
  _: 1
529
- })) : g("", !0),
530
- M.value ? (l(), b(Xe(q.value ? ea : "div"), Qe(pa({ key: 4 }, q.value ? { admin: !0, locale: t.locale, files: e(T), purpose: t.purpose, layout: t.layout, webapiProfiles: e(N) } : {})), {
533
+ })) : b("", !0),
534
+ M.value ? (l(), g(Xe(q.value ? ea : "div"), Qe(pa({ key: 4 }, q.value ? { admin: !0, locale: t.locale, files: e(T), purpose: t.purpose, layout: t.layout, webapiProfiles: e(N) } : {})), {
531
535
  default: n(() => [
532
536
  v(e(Me), {
533
537
  direction: "vertical",
@@ -535,7 +539,7 @@ const Dt = ["data-audience"], Ut = {
535
539
  onSubmit: qe(e(B), ["prevent"])
536
540
  }, {
537
541
  default: n(() => [
538
- e(k) ? (l(), b(e($e), {
542
+ e(k) ? (l(), g(e($e), {
539
543
  key: 0,
540
544
  label: u.value.scopeLabel,
541
545
  description: u.value.preselectionHelp
@@ -546,11 +550,11 @@ const Dt = ["data-audience"], Ut = {
546
550
  modelValue: e(C),
547
551
  "onUpdate:modelValue": H[0] || (H[0] = (G) => Ze(C) ? C.value = G : null),
548
552
  options: e(E),
549
- disabled: e(m) || e(f)
553
+ disabled: e(f) || e(p)
550
554
  }, null, 8, ["modelValue", "options", "disabled"])
551
555
  ]),
552
556
  _: 1
553
- }, 8, ["label", "description"])) : g("", !0),
557
+ }, 8, ["label", "description"])) : b("", !0),
554
558
  v(e($e), {
555
559
  label: u.value.password,
556
560
  description: e(d) ? u.value.confirmingHelp : u.value.passwordNote,
@@ -564,7 +568,7 @@ const Dt = ["data-audience"], Ut = {
564
568
  type: "submit",
565
569
  variant: "primary",
566
570
  loading: e(d),
567
- disabled: e(m) || e(f) || !e(te)
571
+ disabled: e(f) || e(p) || !e(te)
568
572
  }, {
569
573
  default: n(() => [
570
574
  h(s(e(k) ? u.value.confirmShare : u.value.authorize), 1)
@@ -580,7 +584,7 @@ const Dt = ["data-audience"], Ut = {
580
584
  type: "password",
581
585
  autocomplete: "current-password",
582
586
  invalid: !!e(P),
583
- disabled: e(m) || e(f)
587
+ disabled: e(f) || e(p)
584
588
  }, null, 8, ["modelValue", "invalid", "disabled"])
585
589
  ]),
586
590
  _: 1
@@ -590,19 +594,19 @@ const Dt = ["data-audience"], Ut = {
590
594
  }, 8, ["onSubmit"])
591
595
  ]),
592
596
  _: 1
593
- }, 16)) : g("", !0)
597
+ }, 16)) : b("", !0)
594
598
  ], 64))
595
599
  ]),
596
600
  _: 1
597
- }, 8, ["title", "description", "aria-busy"])) : g("", !0);
601
+ }, 8, ["title", "description", "aria-busy"])) : b("", !0);
598
602
  }
599
- }), La = /* @__PURE__ */ me(Yt, [["__scopeId", "data-v-5a1f26e3"]]), Qt = {
603
+ }), La = /* @__PURE__ */ me(Qt, [["__scopeId", "data-v-5a1f26e3"]]), Zt = {
600
604
  key: 0,
601
605
  class: "executor-notice"
602
- }, Zt = {
606
+ }, jt = {
603
607
  key: 1,
604
608
  class: "executor-notice"
605
- }, jt = { class: "executor-notice-body" }, el = /* @__PURE__ */ fe({
609
+ }, el = { class: "executor-notice-body" }, al = /* @__PURE__ */ fe({
606
610
  __name: "ExecutorNotice",
607
611
  props: {
608
612
  locale: {},
@@ -610,10 +614,10 @@ const Dt = ["data-audience"], Ut = {
610
614
  ctx: {}
611
615
  },
612
616
  setup(t) {
613
- const p = t, o = _(() => Ve(p.locale)), a = Ee(We, void 0) ?? p.ctx.executor;
617
+ const m = t, o = _(() => Ve(m.locale)), a = Ee(We, void 0) ?? m.ctx.executor;
614
618
  a && Le(We, a);
615
- const i = y("checking"), u = y(), r = y(!1), c = _(() => p.ctx.user?.isAdmin === !0), m = _(() => !u.value && (i.value === "needs-admin-approval" || i.value === "blocked")), d = _(() => a?.call ? { call: (k, T) => a.call(k, T) } : p.ctx.call ? p.ctx : void 0);
616
- let f = !1, x, P, w = 0;
619
+ const i = y("checking"), u = y(), r = y(!1), c = _(() => m.ctx.user?.isAdmin === !0), f = _(() => !u.value && (i.value === "needs-admin-approval" || i.value === "blocked")), d = _(() => a?.call ? { call: (k, T) => a.call(k, T) } : m.ctx.call ? m.ctx : void 0);
620
+ let p = !1, x, P, w = 0;
617
621
  function C(k) {
618
622
  const T = u.value;
619
623
  if (u.value = Ce(k), i.value = k?.state ?? "unknown", clearTimeout(P), k && !u.value) {
@@ -632,17 +636,17 @@ const Dt = ["data-audience"], Ut = {
632
636
  } catch {
633
637
  k = void 0;
634
638
  }
635
- f || C(k);
639
+ p || C(k);
636
640
  }
637
641
  return Se(() => {
638
642
  a && (a.subscribe?.((k) => {
639
- !f && !je(k) && C(k);
640
- }), x = p.ctx.reopen?.(() => {
643
+ !p && !je(k) && C(k);
644
+ }), x = m.ctx.reopen?.(() => {
641
645
  E();
642
646
  }), E());
643
647
  }), we(() => {
644
- f = !0, clearTimeout(P), x?.();
645
- }), (k, T) => u.value ? (l(), $("div", Qt, [
648
+ p = !0, clearTimeout(P), x?.();
649
+ }), (k, T) => u.value ? (l(), $("div", Zt, [
646
650
  v(e(j), {
647
651
  tone: "info",
648
652
  role: "status"
@@ -652,12 +656,12 @@ const Dt = ["data-audience"], Ut = {
652
656
  ]),
653
657
  _: 1
654
658
  })
655
- ])) : m.value ? (l(), $("div", Zt, [
659
+ ])) : f.value ? (l(), $("div", jt, [
656
660
  v(e(j), { tone: "warning" }, {
657
661
  default: n(() => [
658
- S("span", jt, [
662
+ S("span", el, [
659
663
  h(s(c.value ? o.value.noticeAdmin : o.value.noticeUser), 1),
660
- c.value ? (l(), b(e(V), {
664
+ c.value ? (l(), g(e(V), {
661
665
  key: 0,
662
666
  variant: "secondary",
663
667
  size: "sm",
@@ -667,16 +671,15 @@ const Dt = ["data-audience"], Ut = {
667
671
  h(s(o.value.noticeApprove), 1)
668
672
  ]),
669
673
  _: 1
670
- })) : g("", !0)
674
+ })) : b("", !0)
671
675
  ])
672
676
  ]),
673
677
  _: 1
674
678
  }),
675
- c.value ? (l(), b(e(Ge), {
679
+ c.value ? (l(), g(e(Ge), {
676
680
  key: 0,
677
- open: r.value && m.value,
681
+ open: r.value && f.value,
678
682
  title: o.value.setupTitle,
679
- width: "560px",
680
683
  "onUpdate:open": T[1] || (T[1] = (N) => r.value = N)
681
684
  }, {
682
685
  default: n(() => [
@@ -690,16 +693,16 @@ const Dt = ["data-audience"], Ut = {
690
693
  }, null, 8, ["locale", "ctx", "purpose"])
691
694
  ]),
692
695
  _: 1
693
- }, 8, ["open", "title"])) : g("", !0)
694
- ])) : g("", !0);
696
+ }, 8, ["open", "title"])) : b("", !0)
697
+ ])) : b("", !0);
695
698
  }
696
- }), al = /* @__PURE__ */ me(el, [["__scopeId", "data-v-d0ed5a05"]]), Oa = /* @__PURE__ */ Symbol("synopackageland:page-actions"), Fa = /* @__PURE__ */ Symbol("synopackageland:page-info"), qa = /* @__PURE__ */ Symbol("synopackageland:shell-locale"), tl = { role: "alert" }, ll = {
699
+ }), tl = /* @__PURE__ */ me(al, [["__scopeId", "data-v-d0aeb4e7"]]), Oa = /* @__PURE__ */ Symbol("synopackageland:page-actions"), Fa = /* @__PURE__ */ Symbol("synopackageland:page-info"), qa = /* @__PURE__ */ Symbol("synopackageland:shell-locale"), ll = { role: "alert" }, nl = {
697
700
  ref: "page-info",
698
701
  class: "app-page-info"
699
- }, nl = {
702
+ }, ol = {
700
703
  ref: "page-actions",
701
704
  class: "app-page-actions"
702
- }, ol = ["hidden"], sl = { class: "app-page-content" }, il = /* @__PURE__ */ fe({
705
+ }, sl = ["hidden"], il = { class: "app-page-content" }, ul = /* @__PURE__ */ fe({
703
706
  __name: "AppShell",
704
707
  props: {
705
708
  locale: {},
@@ -717,10 +720,10 @@ const Dt = ["data-audience"], Ut = {
717
720
  appRoot: { type: Boolean }
718
721
  },
719
722
  emits: ["update:modelValue"],
720
- setup(t, { emit: p }) {
721
- const o = t, a = p, i = _(() => sa(o.locale)), u = _(() => Tt(o.pages, i.value)), r = _(() => zt(u.value)), c = _(() => u.value.find((L) => L.id === o.modelValue)), m = _(() => c.value?.title ?? i.value[o.modelValue] ?? i.value.status), d = He("scroller"), f = _(() => o.pages.some((L) => typeof L != "string"));
723
+ setup(t, { emit: m }) {
724
+ const o = t, a = m, i = _(() => sa(o.locale)), u = _(() => Tt(o.pages, i.value)), r = _(() => zt(u.value)), c = _(() => u.value.find((L) => L.id === o.modelValue)), f = _(() => c.value?.title ?? i.value[o.modelValue] ?? i.value.status), d = He("scroller"), p = _(() => o.pages.some((L) => typeof L != "string"));
722
725
  Oe(() => o.modelValue, () => {
723
- f.value && !o.keepScroll && d.value && (d.value.$el.scrollTop = 0);
726
+ p.value && !o.keepScroll && d.value && (d.value.$el.scrollTop = 0);
724
727
  }, { flush: "post" });
725
728
  const x = Ta(), P = _(() => o.denied === !0 ? {} : o.denied || void 0), w = _(() => da(P.value, o.locale, o.brandName ?? o.ctx?.displayName)), C = _(() => o.ctx !== void 0 && $a(o.ctx)), E = _(() => C.value ? o.ctx : void 0), k = (L, { slots: R }) => R.default?.(), T = _(() => o.ctx !== void 0 && !C.value);
726
729
  function N() {
@@ -761,31 +764,31 @@ const Dt = ["data-audience"], Ut = {
761
764
  q.observe(R, { childList: !0, subtree: !0, characterData: !0 }), L(() => q.disconnect());
762
765
  }, { flush: "post" }), ga((L) => {
763
766
  C.value && L(ot());
764
- }), (L, R) => (l(), b(Xe(t.appRoot ? e(st) : k), Qe(ha(t.appRoot ? { modalScope: "app", dialogBounds: T.value ? "viewport" : "app", style: "height: 100%;", onActivate: N } : {})), {
767
+ }), (L, R) => (l(), g(Xe(t.appRoot ? e(st) : k), Qe(ha(t.appRoot ? { modalScope: "app", dialogBounds: T.value ? "viewport" : "app", style: "height: 100%;", onActivate: N } : {})), {
765
768
  default: n(() => [
766
- (l(), b(Xe(t.appRoot ? e(it) : k), Qe(ha(t.appRoot ? { locale: e(va)(t.locale) } : {})), {
769
+ (l(), g(Xe(t.appRoot ? e(it) : k), Qe(ha(t.appRoot ? { locale: e(va)(t.locale) } : {})), {
767
770
  default: n(() => [
768
- P.value ? (l(), b(e(ka), {
771
+ P.value ? (l(), g(e(ka), {
769
772
  key: 0,
770
773
  class: "app-denied",
771
774
  width: t.pageWidth
772
775
  }, {
773
776
  default: n(() => [
774
- P.value.header !== !1 ? (l(), b(e(wa), {
777
+ P.value.header !== !1 ? (l(), g(e(wa), {
775
778
  key: 0,
776
779
  title: P.value.title ?? w.value?.title ?? i.value.deniedTitle
777
- }, null, 8, ["title"])) : g("", !0),
780
+ }, null, 8, ["title"])) : b("", !0),
778
781
  be(L.$slots, "denied", {}, () => [
779
782
  v(e(j), { tone: "danger" }, {
780
783
  default: n(() => [
781
- S("span", tl, s(P.value.message ?? w.value?.message ?? i.value.deniedMessage), 1)
784
+ S("span", ll, s(P.value.message ?? w.value?.message ?? i.value.deniedMessage), 1)
782
785
  ]),
783
786
  _: 1
784
787
  })
785
788
  ], !0)
786
789
  ]),
787
790
  _: 3
788
- }, 8, ["width"])) : (l(), b(e(ut), {
791
+ }, 8, ["width"])) : (l(), g(e(ut), {
789
792
  key: 1,
790
793
  ref_key: "layout",
791
794
  ref: te,
@@ -811,26 +814,26 @@ const Dt = ["data-audience"], Ut = {
811
814
  width: t.pageWidth
812
815
  }, {
813
816
  default: n(() => [
814
- c.value?.header !== !1 ? (l(), b(e(wa), {
817
+ c.value?.header !== !1 ? (l(), g(e(wa), {
815
818
  key: 0,
816
- title: m.value,
819
+ title: f.value,
817
820
  description: c.value?.description ?? t.description
818
821
  }, {
819
822
  meta: n(() => [
820
- S("span", ll, null, 512),
823
+ S("span", nl, null, 512),
821
824
  be(L.$slots, "meta", { page: t.modelValue }, void 0, !0)
822
825
  ]),
823
826
  actions: n(() => [
824
- S("div", nl, null, 512),
827
+ S("div", ol, null, 512),
825
828
  be(L.$slots, "actions", { page: t.modelValue }, void 0, !0)
826
829
  ]),
827
830
  _: 3
828
- }, 8, ["title", "description"])) : g("", !0),
829
- t.ctx?.executor ? (l(), b(al, {
831
+ }, 8, ["title", "description"])) : b("", !0),
832
+ t.ctx?.executor ? (l(), g(tl, {
830
833
  key: 1,
831
834
  ctx: t.ctx,
832
835
  locale: t.locale
833
- }, null, 8, ["ctx", "locale"])) : g("", !0),
836
+ }, null, 8, ["ctx", "locale"])) : b("", !0),
834
837
  e(Na)(x.notices?.({ page: t.modelValue })) ? (l(), $("div", {
835
838
  key: 2,
836
839
  ref: "notices",
@@ -838,11 +841,11 @@ const Dt = ["data-audience"], Ut = {
838
841
  hidden: K.value
839
842
  }, [
840
843
  be(L.$slots, "notices", { page: t.modelValue }, void 0, !0)
841
- ], 8, ol)) : g("", !0),
842
- S("div", sl, [
843
- c.value?.component ? (l(), b(Xe(c.value.component), {
844
+ ], 8, sl)) : b("", !0),
845
+ S("div", il, [
846
+ c.value?.component ? (l(), g(Xe(c.value.component), {
844
847
  key: c.value.id
845
- })) : g("", !0),
848
+ })) : b("", !0),
846
849
  be(L.$slots, "default", { page: t.modelValue }, void 0, !0)
847
850
  ])
848
851
  ]),
@@ -855,11 +858,11 @@ const Dt = ["data-audience"], Ut = {
855
858
  name: "sidebar-footer",
856
859
  fn: n(() => [
857
860
  be(L.$slots, "sidebar-footer", {}, () => [
858
- Y.value ? (l(), b(e(dt), {
861
+ Y.value ? (l(), g(e(dt), {
859
862
  key: 0,
860
863
  name: Y.value.name,
861
864
  detail: Y.value.isAdmin ? i.value.administrator : i.value.dsmUser
862
- }, null, 8, ["name", "detail"])) : g("", !0)
865
+ }, null, 8, ["name", "detail"])) : b("", !0)
863
866
  ], !0)
864
867
  ]),
865
868
  key: "0"
@@ -879,18 +882,18 @@ const Dt = ["data-audience"], Ut = {
879
882
  _: 3
880
883
  }, 16));
881
884
  }
882
- }), uo = /* @__PURE__ */ me(il, [["__scopeId", "data-v-efb2bbce"]]), ro = /* @__PURE__ */ fe({
885
+ }), ro = /* @__PURE__ */ me(ul, [["__scopeId", "data-v-59f635a8"]]), co = /* @__PURE__ */ fe({
883
886
  __name: "PageActions",
884
887
  setup(t) {
885
- const p = Ee(Oa, null), o = _(() => p?.value ?? null);
886
- return (a, i) => o.value ? (l(), b(Aa, {
888
+ const m = Ee(Oa, null), o = _(() => m?.value ?? null);
889
+ return (a, i) => o.value ? (l(), g(Aa, {
887
890
  key: 0,
888
891
  to: o.value
889
892
  }, [
890
893
  be(a.$slots, "default")
891
- ], 8, ["to"])) : g("", !0);
894
+ ], 8, ["to"])) : b("", !0);
892
895
  }
893
- }), ul = { class: "page-info-notes" }, rl = /* @__PURE__ */ fe({
896
+ }), rl = { class: "page-info-notes" }, dl = /* @__PURE__ */ fe({
894
897
  inheritAttrs: !1,
895
898
  __name: "PageInfo",
896
899
  props: {
@@ -902,17 +905,17 @@ const Dt = ["data-audience"], Ut = {
902
905
  align: { default: "start" }
903
906
  },
904
907
  setup(t) {
905
- const p = t, o = Ta(), a = _(() => (p.notes ?? []).filter(Boolean)), i = p.inline ? null : Ee(Fa, null), u = _(() => i?.value ?? null), r = Ee(qa, null), c = _(() => {
906
- if (p.label) return p.label;
907
- const m = p.locale ?? r?.value ?? "en";
908
- return o.default ? sa(m).notes : Je(sa(m).notesCount, { count: a.value.length }, m);
908
+ const m = t, o = Ta(), a = _(() => (m.notes ?? []).filter(Boolean)), i = m.inline ? null : Ee(Fa, null), u = _(() => i?.value ?? null), r = Ee(qa, null), c = _(() => {
909
+ if (m.label) return m.label;
910
+ const f = m.locale ?? r?.value ?? "en";
911
+ return o.default ? sa(f).notes : Je(sa(f).notesCount, { count: a.value.length }, f);
909
912
  });
910
- return (m, d) => (a.value.length || o.default) && (!e(i) || u.value) ? (l(), b(Aa, {
913
+ return (f, d) => (a.value.length || o.default) && (!e(i) || u.value) ? (l(), g(Aa, {
911
914
  key: 0,
912
915
  to: u.value ?? "body",
913
916
  disabled: !e(i)
914
917
  }, [
915
- v(e(ct), pa(m.$attrs, {
918
+ v(e(ct), pa(f.$attrs, {
916
919
  class: "page-info",
917
920
  icon: "info",
918
921
  "trigger-action": "click",
@@ -921,37 +924,37 @@ const Dt = ["data-audience"], Ut = {
921
924
  "aria-label": c.value
922
925
  }), {
923
926
  default: n(() => [
924
- be(m.$slots, "default", {}, () => [
925
- S("ul", ul, [
926
- (l(!0), $(oe, null, ge(a.value, (f) => (l(), $("li", { key: f }, s(f), 1))), 128))
927
+ be(f.$slots, "default", {}, () => [
928
+ S("ul", rl, [
929
+ (l(!0), $(oe, null, ge(a.value, (p) => (l(), $("li", { key: p }, s(p), 1))), 128))
927
930
  ])
928
931
  ], !0)
929
932
  ]),
930
933
  _: 3
931
934
  }, 16, ["side", "align", "aria-label"])
932
- ], 8, ["to", "disabled"])) : g("", !0);
935
+ ], 8, ["to", "disabled"])) : b("", !0);
933
936
  }
934
- }), co = /* @__PURE__ */ me(rl, [["__scopeId", "data-v-93861654"]]), Ca = ["B", "KB", "MB", "GB", "TB", "PB"];
935
- function ra(t, p) {
937
+ }), vo = /* @__PURE__ */ me(dl, [["__scopeId", "data-v-93861654"]]), Ca = ["B", "KB", "MB", "GB", "TB", "PB"];
938
+ function ra(t, m) {
936
939
  let o = 0, a = t;
937
940
  for (; a >= 1024 && o < Ca.length - 1; )
938
941
  a /= 1024, o++;
939
- return `${new Intl.NumberFormat(p, { maximumFractionDigits: o ? 1 : 0 }).format(a)} ${Ca[o]}`;
942
+ return `${new Intl.NumberFormat(m, { maximumFractionDigits: o ? 1 : 0 }).format(a)} ${Ca[o]}`;
940
943
  }
941
- const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-location" }, vl = ["aria-label"], fl = {
944
+ const cl = ["aria-busy", "aria-label"], vl = { class: "file-toolbar file-location" }, fl = ["aria-label"], pl = {
942
945
  key: 0,
943
946
  class: "file-toolbar"
944
- }, pl = {
947
+ }, ml = {
945
948
  key: 1,
946
949
  role: "status"
947
- }, ml = { role: "alert" }, yl = {
950
+ }, yl = { role: "alert" }, bl = {
948
951
  key: 4,
949
952
  role: "status"
950
- }, bl = { class: "file-columns" }, gl = ["aria-label"], hl = { class: "file-content" }, kl = { class: "file-name" }, wl = { class: "file-empty" }, _l = { class: "file-bytes" }, xl = {
953
+ }, gl = { class: "file-columns" }, hl = ["aria-label"], kl = { class: "file-content" }, wl = { class: "file-name" }, _l = { class: "file-empty" }, xl = { class: "file-bytes" }, Cl = {
951
954
  key: 5,
952
955
  class: "file-selection",
953
956
  role: "status"
954
- }, Cl = /* @__PURE__ */ fe({
957
+ }, $l = /* @__PURE__ */ fe({
955
958
  __name: "FileBrowser",
956
959
  props: {
957
960
  provider: {},
@@ -961,17 +964,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
961
964
  transfers: { type: Boolean, default: !1 }
962
965
  },
963
966
  emits: ["selected"],
964
- setup(t, { emit: p }) {
965
- const o = t, a = p, i = _(() => Te(o.locale)), u = $t(), { busy: r, error: c } = u, m = y([]), d = y([]), f = y([]), x = y(), P = y(), w = y(), C = y([]), E = y(), k = y({ key: "name", direction: "asc" }), T = y(0), N = y([]), te = y(!1);
967
+ setup(t, { emit: m }) {
968
+ const o = t, a = m, i = _(() => Te(o.locale)), u = $t(), { busy: r, error: c } = u, f = y([]), d = y([]), p = y([]), x = y(), P = y(), w = y(), C = y([]), E = y(), k = y({ key: "name", direction: "asc" }), T = y(0), N = y([]), te = y(!1);
966
969
  let F = new AbortController();
967
970
  async function Y() {
968
971
  const D = x.value;
969
972
  !D || D.isDir || !o.provider.download || await u.run(async (U) => (await o.provider.info(D.path, U), o.provider.download(D.path), !0));
970
973
  }
971
974
  async function B() {
972
- const D = f.value.at(-1)?.path, U = N.value[0];
975
+ const D = p.value.at(-1)?.path, U = N.value[0];
973
976
  if (!D || !U || !o.provider.upload) return;
974
- te.value = !1, await u.run(async (Z) => (await o.provider.upload(D, U, Z), !0)) && (N.value = [], await Q(f.value), te.value = !0);
977
+ te.value = !1, await u.run(async (Z) => (await o.provider.upload(D, U, Z), !0)) && (N.value = [], await Q(p.value), te.value = !0);
975
978
  }
976
979
  const K = _(() => [
977
980
  { key: "name", label: i.value.nameColumn, sortable: !0 },
@@ -985,12 +988,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
985
988
  x.value = D, a("selected", D?.path);
986
989
  }
987
990
  function q(D) {
988
- P.value = D.path, A(o.mode === "folder" ? D.isDir ? D : f.value.at(-1) : D.isDir ? void 0 : D);
991
+ P.value = D.path, A(o.mode === "folder" ? D.isDir ? D : p.value.at(-1) : D.isDir ? void 0 : D);
989
992
  }
990
993
  function M(D) {
991
994
  D.isDir ? Ae(D) : q(D);
992
995
  }
993
- const se = (D) => m.value.find((U) => U.path === D);
996
+ const se = (D) => f.value.find((U) => U.path === D);
994
997
  function H(D, U, O = []) {
995
998
  for (const Z of D) {
996
999
  const ce = [...O, Z.data];
@@ -1042,29 +1045,29 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1042
1045
  }
1043
1046
  async function Q(D, U = !1) {
1044
1047
  if (r.value) return;
1045
- A(), P.value = void 0, m.value = U ? m.value : [], w.value = U ? w.value : void 0;
1048
+ A(), P.value = void 0, f.value = U ? f.value : [], w.value = U ? w.value : void 0;
1046
1049
  const O = U ? w.value ?? 0 : 0, Z = D.at(-1)?.path;
1047
- f.value = D;
1050
+ p.value = D;
1048
1051
  const ce = await u.run((z) => Z ? o.provider.list(Z, { offset: O, sortBy: k.value.key, sortDirection: k.value.direction === "asc" ? "ASC" : "DESC" }, z) : o.provider.shares(O, z));
1049
- ce && (m.value = U ? [...m.value, ...ce.entries] : ce.entries, w.value = ce.nextOffset, Z ? o.mode === "folder" && !U && A(D.at(-1)) : d.value = m.value.filter((z) => z.isDir).map(R), U || ee(D));
1052
+ ce && (f.value = U ? [...f.value, ...ce.entries] : ce.entries, w.value = ce.nextOffset, Z ? o.mode === "folder" && !U && A(D.at(-1)) : d.value = f.value.filter((z) => z.isDir).map(R), U || ee(D));
1050
1053
  }
1051
- const de = _(() => [{ id: "", display: i.value.roots }, ...f.value.map((D) => ({ id: D.path, display: D.name }))]);
1054
+ const de = _(() => [{ id: "", display: i.value.roots }, ...p.value.map((D) => ({ id: D.path, display: D.name }))]);
1052
1055
  function he(D) {
1053
1056
  const U = de.value.findIndex((O) => O.id === D.id);
1054
- U < f.value.length && ie(f.value.slice(0, U));
1057
+ U < p.value.length && ie(p.value.slice(0, U));
1055
1058
  }
1056
1059
  function Ae(D) {
1057
- ie([...f.value, D]);
1060
+ ie([...p.value, D]);
1058
1061
  }
1059
1062
  const _e = y([[]]), J = y(0);
1060
1063
  function ie(D) {
1061
- r.value || (D.at(-1)?.path !== f.value.at(-1)?.path && (_e.value = [..._e.value.slice(0, J.value + 1), D], J.value++), Q(D));
1064
+ r.value || (D.at(-1)?.path !== p.value.at(-1)?.path && (_e.value = [..._e.value.slice(0, J.value + 1), D], J.value++), Q(D));
1062
1065
  }
1063
1066
  function ne(D) {
1064
1067
  r.value || (J.value += D, Q(_e.value[J.value]));
1065
1068
  }
1066
1069
  function ye(D) {
1067
- k.value = { key: D?.key === "bytes" ? "size" : "name", direction: D?.direction ?? "asc" }, Q(f.value);
1070
+ k.value = { key: D?.key === "bytes" ? "size" : "name", direction: D?.direction ?? "asc" }, Q(p.value);
1068
1071
  }
1069
1072
  function Pe() {
1070
1073
  r.value || (T.value++, F.abort(), F = new AbortController(), d.value = [], C.value = [], E.value = void 0, _e.value = [[]], J.value = 0, Q([]));
@@ -1078,7 +1081,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1078
1081
  "aria-busy": e(r),
1079
1082
  "aria-label": i.value.title
1080
1083
  }, [
1081
- S("div", cl, [
1084
+ S("div", vl, [
1082
1085
  v(e(na), {
1083
1086
  label: i.value.back,
1084
1087
  size: "sm",
@@ -1130,9 +1133,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1130
1133
  "collapsed-label": i.value.fullPath,
1131
1134
  onClickItem: he
1132
1135
  }, null, 8, ["items", "collapsed-label"])
1133
- ], 8, vl)
1136
+ ], 8, fl)
1134
1137
  ]),
1135
- t.transfers && t.provider.upload && f.value.length ? (l(), $("div", fl, [
1138
+ t.transfers && t.provider.upload && p.value.length ? (l(), $("div", pl, [
1136
1139
  v(e(ft), {
1137
1140
  modelValue: N.value,
1138
1141
  "onUpdate:modelValue": U[2] || (U[2] = (O) => N.value = O),
@@ -1153,9 +1156,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1153
1156
  ]),
1154
1157
  _: 1
1155
1158
  }, 8, ["disabled"])
1156
- ])) : g("", !0),
1157
- te.value ? (l(), $("p", pl, s(i.value.uploaded), 1)) : g("", !0),
1158
- t.transfers && t.provider.download && x.value && !x.value.isDir && !e(c) ? (l(), b(e(V), {
1159
+ ])) : b("", !0),
1160
+ te.value ? (l(), $("p", ml, s(i.value.uploaded), 1)) : b("", !0),
1161
+ t.transfers && t.provider.download && x.value && !x.value.isDir && !e(c) ? (l(), g(e(V), {
1159
1162
  key: 2,
1160
1163
  variant: "secondary",
1161
1164
  disabled: e(r),
@@ -1165,23 +1168,23 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1165
1168
  h(s(i.value.download), 1)
1166
1169
  ]),
1167
1170
  _: 1
1168
- }, 8, ["disabled"])) : g("", !0),
1169
- e(c) ? (l(), b(e(j), {
1171
+ }, 8, ["disabled"])) : b("", !0),
1172
+ e(c) ? (l(), g(e(j), {
1170
1173
  key: 3,
1171
1174
  tone: "danger"
1172
1175
  }, {
1173
1176
  default: n(() => [
1174
- S("span", ml, s(e(Sa)(e(c), i.value, t.locale, t.name)), 1)
1177
+ S("span", yl, s(e(Sa)(e(c), i.value, t.locale, t.name)), 1)
1175
1178
  ]),
1176
1179
  _: 1
1177
- })) : g("", !0),
1178
- e(r) ? (l(), $("p", yl, s(i.value.loading), 1)) : g("", !0),
1179
- S("div", bl, [
1180
+ })) : b("", !0),
1181
+ e(r) ? (l(), $("p", bl, s(i.value.loading), 1)) : b("", !0),
1182
+ S("div", gl, [
1180
1183
  S("aside", {
1181
1184
  class: "file-tree",
1182
1185
  "aria-label": i.value.roots
1183
1186
  }, [
1184
- d.value.length ? (l(), b(e(pt), {
1187
+ d.value.length ? (l(), g(e(pt), {
1185
1188
  key: T.value,
1186
1189
  "selection-style": "background",
1187
1190
  modelValue: E.value,
@@ -1193,13 +1196,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1193
1196
  "load-children": X,
1194
1197
  "expand-label": (O, Z) => e(Je)(Z ? i.value.collapse : i.value.expand, { name: O.label }),
1195
1198
  onSelect: U[7] || (U[7] = (O) => ie(H(d.value, O.id) ?? [O.data]))
1196
- }, null, 8, ["modelValue", "nodes", "expanded", "expand-label"])) : g("", !0)
1197
- ], 8, gl),
1198
- S("div", hl, [
1199
- e(c) ? g("", !0) : (l(), b(e(mt), {
1199
+ }, null, 8, ["modelValue", "nodes", "expanded", "expand-label"])) : b("", !0)
1200
+ ], 8, hl),
1201
+ S("div", kl, [
1202
+ e(c) ? b("", !0) : (l(), g(e(mt), {
1200
1203
  key: 0,
1201
1204
  columns: K.value,
1202
- rows: m.value.map((O) => ({ ...O, kind: O.isDir ? i.value.directoryKind : i.value.fileKind })),
1205
+ rows: f.value.map((O) => ({ ...O, kind: O.isDir ? i.value.directoryKind : i.value.fileKind })),
1203
1206
  "row-key": "path",
1204
1207
  footer: !1,
1205
1208
  resizable: !1,
@@ -1223,7 +1226,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1223
1226
  })
1224
1227
  }, {
1225
1228
  "cell-name": n(({ row: O }) => [
1226
- S("span", kl, [
1229
+ S("span", wl, [
1227
1230
  v(e(la), {
1228
1231
  kind: O.isDir ? "folder" : "file",
1229
1232
  name: O.name
@@ -1232,7 +1235,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1232
1235
  ])
1233
1236
  ]),
1234
1237
  empty: n(() => [
1235
- S("div", wl, [
1238
+ S("div", _l, [
1236
1239
  v(e(la), {
1237
1240
  kind: "folder",
1238
1241
  size: [40, 40]
@@ -1241,30 +1244,30 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1241
1244
  ])
1242
1245
  ]),
1243
1246
  "cell-bytes": n(({ row: O }) => [
1244
- S("span", _l, s(O.isDir || O.bytes === void 0 ? "—" : e(ra)(O.bytes, e(va)(t.locale))), 1)
1247
+ S("span", xl, s(O.isDir || O.bytes === void 0 ? "—" : e(ra)(O.bytes, e(va)(t.locale))), 1)
1245
1248
  ]),
1246
1249
  _: 1
1247
1250
  }, 8, ["columns", "rows", "loading", "loading-text", "sort", "labels", "selected-keys"])),
1248
- w.value !== void 0 && !e(c) ? (l(), b(e(V), {
1251
+ w.value !== void 0 && !e(c) ? (l(), g(e(V), {
1249
1252
  key: 1,
1250
1253
  variant: "secondary",
1251
1254
  disabled: e(r),
1252
- onClick: U[11] || (U[11] = (O) => Q(f.value, !0))
1255
+ onClick: U[11] || (U[11] = (O) => Q(p.value, !0))
1253
1256
  }, {
1254
1257
  default: n(() => [
1255
1258
  h(s(i.value.loadMore), 1)
1256
1259
  ]),
1257
1260
  _: 1
1258
- }, 8, ["disabled"])) : g("", !0)
1261
+ }, 8, ["disabled"])) : b("", !0)
1259
1262
  ])
1260
1263
  ]),
1261
- x.value && !e(c) ? (l(), $("p", xl, s(e(Je)(i.value.selected, { name: x.value.path })), 1)) : g("", !0)
1262
- ], 8, dl));
1264
+ x.value && !e(c) ? (l(), $("p", Cl, s(e(Je)(i.value.selected, { name: x.value.path })), 1)) : b("", !0)
1265
+ ], 8, cl));
1263
1266
  }
1264
- }), Ma = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-f4863cea"]]), $l = {
1267
+ }), Ma = /* @__PURE__ */ me($l, [["__scopeId", "data-v-f4863cea"]]), Sl = {
1265
1268
  key: 0,
1266
1269
  class: "save-consent"
1267
- }, Sl = ["aria-busy", "inert"], Pl = /* @__PURE__ */ fe({
1270
+ }, Pl = ["aria-busy", "inert"], El = /* @__PURE__ */ fe({
1268
1271
  __name: "NasPicker",
1269
1272
  props: {
1270
1273
  open: { type: Boolean },
@@ -1278,43 +1281,43 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1278
1281
  errorText: { type: Function }
1279
1282
  },
1280
1283
  emits: ["update:open", "selected", "authorized", "refused"],
1281
- setup(t, { emit: p }) {
1282
- const o = t, a = p, i = y(), u = _(() => Te(o.locale)), r = _(() => fa(o.locale)), c = y(!1), m = y();
1283
- let d = 0, f = !1;
1284
+ setup(t, { emit: m }) {
1285
+ const o = t, a = m, i = y(), u = _(() => Te(o.locale)), r = _(() => fa(o.locale)), c = y(!1), f = y();
1286
+ let d = 0, p = !1;
1284
1287
  Oe(() => o.open, () => {
1285
- d++, i.value = void 0, m.value = void 0;
1288
+ d++, i.value = void 0, f.value = void 0;
1286
1289
  }), we(() => {
1287
- f = !0, d++;
1290
+ p = !0, d++;
1288
1291
  });
1289
1292
  function x() {
1290
1293
  c.value || (i.value = void 0, a("update:open", !1));
1291
1294
  }
1292
1295
  async function P() {
1293
1296
  const w = i.value, C = o.destination, E = d;
1294
- if (!(!w || c.value || !o.open || f || C && o.mode !== "folder")) {
1297
+ if (!(!w || c.value || !o.open || p || C && o.mode !== "folder")) {
1295
1298
  if (!C) {
1296
1299
  a("selected", w), x();
1297
1300
  return;
1298
1301
  }
1299
- c.value = !0, m.value = void 0;
1302
+ c.value = !0, f.value = void 0;
1300
1303
  try {
1301
1304
  const k = await C.selectDestination({ key: C.key, path: w });
1302
- if (f || E !== d) return;
1305
+ if (p || E !== d) return;
1303
1306
  if (!k || typeof k.id != "string" || !k.id || typeof k.username != "string" || !k.username || k.path !== w || k.key !== C.key || k.lifetime !== "until-revoked") throw { code: "commit-uncertain" };
1304
1307
  a("authorized", k), c.value = !1, x();
1305
1308
  } catch (k) {
1306
- if (f || E !== d) return;
1309
+ if (p || E !== d) return;
1307
1310
  if (k?.code === "APP_DENIED") {
1308
1311
  c.value = !1, a("refused", k), x();
1309
1312
  return;
1310
1313
  }
1311
- m.value = k;
1314
+ f.value = k;
1312
1315
  } finally {
1313
- f || (c.value = !1);
1316
+ p || (c.value = !1);
1314
1317
  }
1315
1318
  }
1316
1319
  }
1317
- return (w, C) => (l(), b(e(Ge), {
1320
+ return (w, C) => (l(), g(e(Ge), {
1318
1321
  open: t.open,
1319
1322
  title: t.title ?? (t.mode === "folder" ? u.value.choose : u.value.chooseFile),
1320
1323
  description: t.description ?? u.value.ownPermissions,
@@ -1354,67 +1357,67 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1354
1357
  }, 8, ["disabled"])
1355
1358
  ]),
1356
1359
  default: n(() => [
1357
- t.destination ? (l(), $("p", $l, s(r.value.selection), 1)) : g("", !0),
1358
- m.value ? (l(), b(e(j), {
1360
+ t.destination ? (l(), $("p", Sl, s(r.value.selection), 1)) : b("", !0),
1361
+ f.value ? (l(), g(e(j), {
1359
1362
  key: 1,
1360
1363
  tone: "danger",
1361
1364
  role: "alert",
1362
1365
  class: "save-message"
1363
1366
  }, {
1364
1367
  default: n(() => [
1365
- h(s(t.errorText?.(m.value) ?? e(Ye)(m.value, r.value, "select", t.locale, t.name)), 1)
1368
+ h(s(t.errorText?.(f.value) ?? e(Ye)(f.value, r.value, "select", t.locale, t.name)), 1)
1366
1369
  ]),
1367
1370
  _: 1
1368
- })) : g("", !0),
1371
+ })) : b("", !0),
1369
1372
  S("div", {
1370
1373
  class: "nas-picker-content",
1371
1374
  "aria-busy": c.value,
1372
1375
  inert: c.value
1373
1376
  }, [
1374
- t.open ? (l(), b(Ma, {
1377
+ t.open ? (l(), g(Ma, {
1375
1378
  key: 0,
1376
1379
  provider: t.provider,
1377
1380
  locale: t.locale,
1378
1381
  name: t.name,
1379
1382
  mode: t.mode,
1380
1383
  onSelected: C[0] || (C[0] = (E) => i.value = E)
1381
- }, null, 8, ["provider", "locale", "name", "mode"])) : g("", !0)
1382
- ], 8, Sl)
1384
+ }, null, 8, ["provider", "locale", "name", "mode"])) : b("", !0)
1385
+ ], 8, Pl)
1383
1386
  ]),
1384
1387
  _: 1
1385
1388
  }, 8, ["open", "title", "description", "close-label", "show-close"]));
1386
1389
  }
1387
- }), ta = /* @__PURE__ */ me(Pl, [["__scopeId", "data-v-08be5e1e"]]), El = { role: "alert" }, Tl = { class: "files-actions" }, zl = {
1390
+ }), ta = /* @__PURE__ */ me(El, [["__scopeId", "data-v-08be5e1e"]]), Tl = { role: "alert" }, zl = { class: "files-actions" }, Al = {
1388
1391
  key: 0,
1389
1392
  class: "files-path",
1390
1393
  role: "status"
1391
- }, Al = /* @__PURE__ */ fe({
1394
+ }, Rl = /* @__PURE__ */ fe({
1392
1395
  __name: "FilesPage",
1393
1396
  props: {
1394
1397
  ctx: {}
1395
1398
  },
1396
1399
  setup(t) {
1397
- const p = t, o = y(), a = y(), i = y(!1), u = y("folder"), r = y(!1), c = y(""), m = y(0), d = Pa(p.ctx);
1398
- let f = !1, x;
1400
+ const m = t, o = y(), a = y(), i = y(!1), u = y("folder"), r = y(!1), c = y(""), f = y(0), d = Pa(m.ctx);
1401
+ let p = !1, x;
1399
1402
  async function P() {
1400
- if (!f) {
1401
- o.value = void 0, i.value = !1, c.value = "", r.value = !1, m.value++;
1403
+ if (!p) {
1404
+ o.value = void 0, i.value = !1, c.value = "", r.value = !1, f.value++;
1402
1405
  try {
1403
- await p.ctx.call("nas.session.status"), f || (a.value = void 0, i.value = !0);
1406
+ await m.ctx.call("nas.session.status"), p || (a.value = void 0, i.value = !0);
1404
1407
  } catch (w) {
1405
- if (f) return;
1408
+ if (p) return;
1406
1409
  a.value = Ce(w), !a.value && w?.code !== "unknown_method" && (o.value = w);
1407
1410
  }
1408
1411
  }
1409
1412
  }
1410
1413
  return Ke(() => a.value, P), Se(() => {
1411
- x = p.ctx.reopen(() => {
1414
+ x = m.ctx.reopen(() => {
1412
1415
  P();
1413
1416
  }), P();
1414
1417
  }), we(() => {
1415
- f = !0, x?.(), d.dispose();
1418
+ p = !0, x?.(), d.dispose();
1416
1419
  }), (w, C) => (l(), $(oe, null, [
1417
- a.value ? (l(), b(e(j), {
1420
+ a.value ? (l(), g(e(j), {
1418
1421
  key: 0,
1419
1422
  tone: "info",
1420
1423
  role: "status"
@@ -1423,13 +1426,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1423
1426
  h(s(e(Ne)(a.value, t.ctx.locale)), 1)
1424
1427
  ]),
1425
1428
  _: 1
1426
- })) : g("", !0),
1427
- o.value ? (l(), b(e(j), {
1429
+ })) : b("", !0),
1430
+ o.value ? (l(), g(e(j), {
1428
1431
  key: 1,
1429
1432
  tone: "danger"
1430
1433
  }, {
1431
1434
  default: n(() => [
1432
- S("span", El, s(e(Sa)(o.value, e(Te)(t.ctx.locale), t.ctx.locale, t.ctx.displayName)), 1),
1435
+ S("span", Tl, s(e(Sa)(o.value, e(Te)(t.ctx.locale), t.ctx.locale, t.ctx.displayName)), 1),
1433
1436
  v(e(V), {
1434
1437
  variant: "secondary",
1435
1438
  onClick: P
@@ -1441,15 +1444,15 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1441
1444
  })
1442
1445
  ]),
1443
1446
  _: 1
1444
- })) : g("", !0),
1445
- i.value ? (l(), b(e(ke), {
1447
+ })) : b("", !0),
1448
+ i.value ? (l(), g(e(ke), {
1446
1449
  key: 2,
1447
1450
  title: e(Te)(t.ctx.locale).title,
1448
1451
  description: e(Te)(t.ctx.locale).ownPermissions,
1449
1452
  collapsible: !1
1450
1453
  }, {
1451
1454
  default: n(() => [
1452
- S("div", Tl, [
1455
+ S("div", zl, [
1453
1456
  v(e(V), {
1454
1457
  variant: "secondary",
1455
1458
  onClick: C[0] || (C[0] = (E) => {
@@ -1473,11 +1476,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1473
1476
  _: 1
1474
1477
  })
1475
1478
  ]),
1476
- c.value ? (l(), $("p", zl, [
1479
+ c.value ? (l(), $("p", Al, [
1477
1480
  v(e(Ue), { path: c.value }, null, 8, ["path"])
1478
- ])) : g("", !0),
1479
- (l(), b(Ma, {
1480
- key: m.value,
1481
+ ])) : b("", !0),
1482
+ (l(), g(Ma, {
1483
+ key: f.value,
1481
1484
  provider: e(d),
1482
1485
  locale: t.ctx.locale,
1483
1486
  name: t.ctx.displayName,
@@ -1494,16 +1497,16 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1494
1497
  }, null, 8, ["provider", "locale", "name", "mode", "open"])
1495
1498
  ]),
1496
1499
  _: 1
1497
- }, 8, ["title", "description"])) : g("", !0)
1500
+ }, 8, ["title", "description"])) : b("", !0)
1498
1501
  ], 64));
1499
1502
  }
1500
- }), vo = /* @__PURE__ */ me(Al, [["__scopeId", "data-v-a8fc5aa4"]]), Rl = { role: "status" }, Il = { role: "alert" }, oa = /* @__PURE__ */ new WeakMap(), fo = /* @__PURE__ */ fe({
1503
+ }), fo = /* @__PURE__ */ me(Rl, [["__scopeId", "data-v-a8fc5aa4"]]), Il = { role: "status" }, Dl = { role: "alert" }, oa = /* @__PURE__ */ new WeakMap(), po = /* @__PURE__ */ fe({
1501
1504
  __name: "PortalSettings",
1502
1505
  props: {
1503
1506
  portal: {}
1504
1507
  },
1505
1508
  setup(t) {
1506
- const p = t, o = Va(), a = p.portal.messages, i = y(), u = y(""), r = y(!1), c = y(""), m = y(!0), d = y(!1), f = y(oa.get(p.portal));
1509
+ const m = t, o = Va(), a = m.portal.messages, i = y(), u = y(""), r = y(!1), c = y(""), f = y(!0), d = y(!1), p = y(oa.get(m.portal));
1507
1510
  let x = !1, P = !1;
1508
1511
  function w(R) {
1509
1512
  if (!P && (i.value = R, u.value = R.alias || R.defaultAlias, R.url))
@@ -1513,7 +1516,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1513
1516
  } catch {
1514
1517
  }
1515
1518
  }
1516
- const C = p.portal.lastStatus?.();
1519
+ const C = m.portal.lastStatus?.();
1517
1520
  C && w(C);
1518
1521
  const E = 5e3, k = /* @__PURE__ */ Symbol("late");
1519
1522
  async function T(R) {
@@ -1526,11 +1529,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1526
1529
  w(q);
1527
1530
  return;
1528
1531
  }
1529
- w(await p.portal.status());
1532
+ w(await m.portal.status());
1530
1533
  try {
1531
1534
  await A;
1532
1535
  } finally {
1533
- w(await p.portal.status());
1536
+ w(await m.portal.status());
1534
1537
  }
1535
1538
  } catch (q) {
1536
1539
  P || (c.value = a[q?.code || ""] || a.portal_unavailable);
@@ -1547,23 +1550,23 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1547
1550
  }
1548
1551
  }), F = a.link?.replace(/\s*[::]\s*$/, "");
1549
1552
  async function Y() {
1550
- const R = await p.portal.register();
1551
- return R.canManage && R.entry === "registered" && R.state === "inactive" ? (w(R), p.portal.apply(R.alias || R.defaultAlias)) : R;
1553
+ const R = await m.portal.register();
1554
+ return R.canManage && R.entry === "registered" && R.state === "inactive" ? (w(R), m.portal.apply(R.alias || R.defaultAlias)) : R;
1552
1555
  }
1553
1556
  function B() {
1554
- !r.value && !f.value && p.portal.status().then(w, () => {
1557
+ !r.value && !p.value && m.portal.status().then(w, () => {
1555
1558
  }).finally(() => {
1556
- P || (m.value = !1);
1559
+ P || (f.value = !1);
1557
1560
  });
1558
1561
  }
1559
1562
  function K() {
1560
- x ? d.value = !0 : T(() => p.portal.unregister());
1563
+ x ? d.value = !0 : T(() => m.portal.unregister());
1561
1564
  }
1562
1565
  async function L() {
1563
1566
  if (d.value = !1, !r.value) {
1564
- r.value = !0, f.value = "removalUnconfirmed", oa.set(p.portal, f.value);
1567
+ r.value = !0, p.value = "removalUnconfirmed", oa.set(m.portal, p.value);
1565
1568
  try {
1566
- await p.portal.unregister(), f.value = "removedFromPage", oa.set(p.portal, f.value);
1569
+ await m.portal.unregister(), p.value = "removedFromPage", oa.set(m.portal, p.value);
1567
1570
  } catch {
1568
1571
  } finally {
1569
1572
  P || (r.value = !1);
@@ -1575,7 +1578,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1575
1578
  }), we(() => {
1576
1579
  P = !0;
1577
1580
  }), (R, A) => (l(), $(oe, null, [
1578
- f.value ? (l(), b(e(ke), {
1581
+ p.value ? (l(), g(e(ke), {
1579
1582
  key: 0,
1580
1583
  title: e(a).title,
1581
1584
  collapsible: !1
@@ -1583,7 +1586,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1583
1586
  default: n(() => [
1584
1587
  v(e(j), { tone: "info" }, {
1585
1588
  default: n(() => [
1586
- S("span", Rl, s(e(a)[f.value]), 1)
1589
+ S("span", Il, s(e(a)[p.value]), 1)
1587
1590
  ]),
1588
1591
  _: 1
1589
1592
  }),
@@ -1598,7 +1601,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1598
1601
  })
1599
1602
  ]),
1600
1603
  _: 1
1601
- }, 8, ["title"])) : i.value || m.value ? (l(), b(e(ke), {
1604
+ }, 8, ["title"])) : i.value || f.value ? (l(), g(e(ke), {
1602
1605
  key: 1,
1603
1606
  title: e(a).title,
1604
1607
  description: te.value,
@@ -1607,7 +1610,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1607
1610
  }, za({
1608
1611
  default: n(() => [
1609
1612
  i.value ? (l(), $(oe, { key: 1 }, [
1610
- i.value.state === "active" ? (l(), b(e(xe), {
1613
+ i.value.state === "active" ? (l(), g(e(xe), {
1611
1614
  key: 0,
1612
1615
  label: e(F)
1613
1616
  }, {
@@ -1623,8 +1626,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1623
1626
  }, 8, ["href"])
1624
1627
  ]),
1625
1628
  _: 1
1626
- }, 8, ["label"])) : g("", !0),
1627
- i.value.canManage && !N.value ? (l(), b(e(Me), {
1629
+ }, 8, ["label"])) : b("", !0),
1630
+ i.value.canManage && !N.value ? (l(), g(e(Me), {
1628
1631
  key: 1,
1629
1632
  onSubmit: A[3] || (A[3] = qe((q) => T(() => t.portal.apply(u.value)), ["prevent"]))
1630
1633
  }, {
@@ -1662,7 +1665,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1662
1665
  ]),
1663
1666
  _: 1
1664
1667
  }, 8, ["disabled"]),
1665
- i.value.state === "active" ? (l(), b(e(V), {
1668
+ i.value.state === "active" ? (l(), g(e(V), {
1666
1669
  key: 0,
1667
1670
  variant: "secondary",
1668
1671
  disabled: r.value,
@@ -1672,7 +1675,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1672
1675
  h(s(e(a).disable), 1)
1673
1676
  ]),
1674
1677
  _: 1
1675
- }, 8, ["disabled"])) : g("", !0),
1678
+ }, 8, ["disabled"])) : b("", !0),
1676
1679
  v(e(V), {
1677
1680
  variant: "secondary",
1678
1681
  onClick: A[2] || (A[2] = (q) => t.portal.openControlPanel())
@@ -1682,7 +1685,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1682
1685
  ]),
1683
1686
  _: 1
1684
1687
  }),
1685
- i.value.entry ? (l(), b(e(V), {
1688
+ i.value.entry ? (l(), g(e(V), {
1686
1689
  key: 1,
1687
1690
  variant: "secondary",
1688
1691
  disabled: r.value,
@@ -1692,7 +1695,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1692
1695
  h(s(e(a).unregister), 1)
1693
1696
  ]),
1694
1697
  _: 1
1695
- }, 8, ["disabled"])) : g("", !0)
1698
+ }, 8, ["disabled"])) : b("", !0)
1696
1699
  ]),
1697
1700
  _: 1
1698
1701
  })
@@ -1701,17 +1704,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1701
1704
  })
1702
1705
  ]),
1703
1706
  _: 1
1704
- })) : g("", !0),
1705
- c.value ? (l(), b(e(j), {
1707
+ })) : b("", !0),
1708
+ c.value ? (l(), g(e(j), {
1706
1709
  key: 2,
1707
1710
  tone: "danger"
1708
1711
  }, {
1709
1712
  default: n(() => [
1710
- S("span", Il, s(c.value), 1)
1713
+ S("span", Dl, s(c.value), 1)
1711
1714
  ]),
1712
1715
  _: 1
1713
- })) : g("", !0)
1714
- ], 64)) : (l(!0), $(oe, { key: 0 }, ge([[e(F), "20px"], [e(a).alias, "32px"], ["", "32px"]], ([q, M], se) => (l(), b(e(xe), {
1716
+ })) : b("", !0)
1717
+ ], 64)) : (l(!0), $(oe, { key: 0 }, ge([[e(F), "20px"], [e(a).alias, "32px"], ["", "32px"]], ([q, M], se) => (l(), g(e(xe), {
1715
1718
  key: se,
1716
1719
  label: q,
1717
1720
  "data-placeholder-row": ""
@@ -1730,7 +1733,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1730
1733
  i.value && N.value ? {
1731
1734
  name: "footer",
1732
1735
  fn: n(() => [
1733
- i.value.entry === "unregistered" ? (l(), b(e(V), {
1736
+ i.value.entry === "unregistered" ? (l(), g(e(V), {
1734
1737
  key: 0,
1735
1738
  variant: "primary",
1736
1739
  disabled: r.value,
@@ -1740,7 +1743,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1740
1743
  h(s(e(a).register), 1)
1741
1744
  ]),
1742
1745
  _: 1
1743
- }, 8, ["disabled"])) : (l(), b(e(V), {
1746
+ }, 8, ["disabled"])) : (l(), g(e(V), {
1744
1747
  key: 1,
1745
1748
  variant: "primary",
1746
1749
  disabled: r.value,
@@ -1768,14 +1771,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1768
1771
  ]),
1769
1772
  key: "1"
1770
1773
  } : void 0
1771
- ]), 1032, ["title", "description", "aria-busy"])) : g("", !0),
1774
+ ]), 1032, ["title", "description", "aria-busy"])) : b("", !0),
1772
1775
  v(e(Ge), {
1773
1776
  open: d.value,
1774
1777
  "onUpdate:open": A[7] || (A[7] = (q) => d.value = q),
1775
1778
  title: e(a).unregister,
1776
1779
  description: e(a).removeFromPage,
1777
- "close-label": e(a).cancel,
1778
- width: "480px"
1780
+ "close-label": e(a).cancel
1779
1781
  }, {
1780
1782
  footer: n(() => [
1781
1783
  v(e(V), {
@@ -1802,30 +1804,30 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1802
1804
  }, 8, ["open", "title", "description", "close-label"])
1803
1805
  ], 64));
1804
1806
  }
1805
- }), Dl = ["aria-busy"], Ul = { role: "alert" }, Vl = {
1807
+ }), Ul = ["aria-busy"], Vl = { role: "alert" }, Nl = {
1806
1808
  key: 2,
1807
1809
  role: "status"
1808
- }, Nl = { role: "alert" }, Bl = { role: "status" }, Ll = /* @__PURE__ */ fe({
1810
+ }, Bl = { role: "alert" }, Ll = { role: "status" }, Ol = /* @__PURE__ */ fe({
1809
1811
  __name: "LoginPage",
1810
1812
  props: {
1811
1813
  session: {},
1812
1814
  locale: {}
1813
1815
  },
1814
1816
  setup(t) {
1815
- const p = t, o = _(() => Xa(p.locale)), a = y(""), i = y(""), u = y(""), r = y(!1), c = y(!1), m = y(""), d = y(), f = _(() => window.location.protocol === "https:");
1817
+ const m = t, o = _(() => Xa(m.locale)), a = y(""), i = y(""), u = y(""), r = y(!1), c = y(!1), f = y(""), d = y(), p = _(() => window.location.protocol === "https:");
1816
1818
  let x = !1;
1817
1819
  function P(k) {
1818
1820
  const T = k?.code;
1819
- return p.session.denied.value?.message || o.value.errors[T || ""] || o.value.errors.failed;
1821
+ return m.session.denied.value?.message || o.value.errors[T || ""] || o.value.errors.failed;
1820
1822
  }
1821
1823
  async function w() {
1822
- if (!(c.value || !f.value || !a.value || !i.value || r.value && !u.value)) {
1823
- c.value = !0, m.value = "";
1824
+ if (!(c.value || !p.value || !a.value || !i.value || r.value && !u.value)) {
1825
+ c.value = !0, f.value = "";
1824
1826
  try {
1825
- await p.session.login(a.value, i.value, u.value), i.value = "", u.value = "";
1827
+ await m.session.login(a.value, i.value, u.value), i.value = "", u.value = "";
1826
1828
  } catch (k) {
1827
1829
  if (x) return;
1828
- u.value = "", k?.code === "otp_required" ? r.value = !0 : (m.value = P(k), i.value = "", r.value = !1);
1830
+ u.value = "", k?.code === "otp_required" ? r.value = !0 : (f.value = P(k), i.value = "", r.value = !1);
1829
1831
  } finally {
1830
1832
  x || (c.value = !1, r.value && (await nt(), x || d.value?.querySelector("input")?.focus()));
1831
1833
  }
@@ -1833,18 +1835,18 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1833
1835
  }
1834
1836
  async function C() {
1835
1837
  if (!c.value) {
1836
- c.value = !0, m.value = "";
1838
+ c.value = !0, f.value = "";
1837
1839
  try {
1838
- await p.session.bootstrap();
1840
+ await m.session.bootstrap();
1839
1841
  } catch (k) {
1840
- x || (m.value = P(k));
1842
+ x || (f.value = P(k));
1841
1843
  } finally {
1842
1844
  x || (c.value = !1);
1843
1845
  }
1844
1846
  }
1845
1847
  }
1846
1848
  function E() {
1847
- i.value = "", u.value = "", r.value = !1, m.value = "";
1849
+ i.value = "", u.value = "", r.value = !1, f.value = "";
1848
1850
  }
1849
1851
  return Ra(() => {
1850
1852
  x = !0, i.value = "", u.value = "";
@@ -1858,7 +1860,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1858
1860
  collapsible: !1
1859
1861
  }, {
1860
1862
  default: n(() => [
1861
- f.value ? g("", !0) : (l(), b(e(j), {
1863
+ p.value ? b("", !0) : (l(), g(e(j), {
1862
1864
  key: 0,
1863
1865
  tone: "warning",
1864
1866
  title: o.value.httpsTitle
@@ -1868,26 +1870,26 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1868
1870
  ]),
1869
1871
  _: 1
1870
1872
  }, 8, ["title"])),
1871
- t.session.denied.value ? (l(), b(e(j), {
1873
+ t.session.denied.value ? (l(), g(e(j), {
1872
1874
  key: 1,
1873
1875
  tone: "danger"
1874
1876
  }, {
1875
1877
  default: n(() => [
1876
- S("span", Ul, s(t.session.denied.value.message), 1)
1878
+ S("span", Vl, s(t.session.denied.value.message), 1)
1877
1879
  ]),
1878
1880
  _: 1
1879
- })) : t.session.notice.value ? (l(), $("p", Vl, s(o.value.notices[t.session.notice.value]), 1)) : g("", !0),
1880
- m.value && !t.session.denied.value ? (l(), b(e(j), {
1881
+ })) : t.session.notice.value ? (l(), $("p", Nl, s(o.value.notices[t.session.notice.value]), 1)) : b("", !0),
1882
+ f.value && !t.session.denied.value ? (l(), g(e(j), {
1881
1883
  key: 3,
1882
1884
  tone: "danger",
1883
1885
  title: o.value.failedTitle
1884
1886
  }, {
1885
1887
  default: n(() => [
1886
- S("span", Nl, s(m.value), 1)
1888
+ S("span", Bl, s(f.value), 1)
1887
1889
  ]),
1888
1890
  _: 1
1889
- }, 8, ["title"])) : g("", !0),
1890
- t.session.denied.value ? g("", !0) : (l(), b(e(Me), {
1891
+ }, 8, ["title"])) : b("", !0),
1892
+ t.session.denied.value ? b("", !0) : (l(), g(e(Me), {
1891
1893
  key: 4,
1892
1894
  onSubmit: qe(w, ["prevent"])
1893
1895
  }, {
@@ -1900,13 +1902,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1900
1902
  modelValue: a.value,
1901
1903
  "onUpdate:modelValue": T[0] || (T[0] = (N) => a.value = N),
1902
1904
  autocomplete: "username",
1903
- disabled: c.value || r.value || !f.value
1905
+ disabled: c.value || r.value || !p.value
1904
1906
  }, null, 8, ["modelValue", "disabled"])
1905
1907
  ]),
1906
1908
  _: 1
1907
1909
  }, 8, ["label"]),
1908
1910
  r.value ? (l(), $(oe, { key: 1 }, [
1909
- S("p", Bl, s(o.value.otpPrompt), 1),
1911
+ S("p", Ll, s(o.value.otpPrompt), 1),
1910
1912
  S("div", {
1911
1913
  ref_key: "otpField",
1912
1914
  ref: d
@@ -1926,7 +1928,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1926
1928
  _: 1
1927
1929
  }, 8, ["label"])
1928
1930
  ], 512)
1929
- ], 64)) : (l(), b(e($e), {
1931
+ ], 64)) : (l(), g(e($e), {
1930
1932
  key: 0,
1931
1933
  label: o.value.password
1932
1934
  }, {
@@ -1936,7 +1938,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1936
1938
  "onUpdate:modelValue": T[1] || (T[1] = (N) => i.value = N),
1937
1939
  type: "password",
1938
1940
  autocomplete: "current-password",
1939
- disabled: c.value || !f.value
1941
+ disabled: c.value || !p.value
1940
1942
  }, null, 8, ["modelValue", "disabled"])
1941
1943
  ]),
1942
1944
  _: 1
@@ -1946,14 +1948,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1946
1948
  v(e(V), {
1947
1949
  type: "submit",
1948
1950
  variant: "primary",
1949
- disabled: c.value || !f.value || !a.value || !i.value || r.value && !u.value
1951
+ disabled: c.value || !p.value || !a.value || !i.value || r.value && !u.value
1950
1952
  }, {
1951
1953
  default: n(() => [
1952
1954
  h(s(c.value ? o.value.signingIn : r.value ? o.value.verify : o.value.signIn), 1)
1953
1955
  ]),
1954
1956
  _: 1
1955
1957
  }, 8, ["disabled"]),
1956
- r.value ? (l(), b(e(V), {
1958
+ r.value ? (l(), g(e(V), {
1957
1959
  key: 0,
1958
1960
  variant: "secondary",
1959
1961
  disabled: c.value,
@@ -1963,10 +1965,10 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1963
1965
  h(s(o.value.otherAccount), 1)
1964
1966
  ]),
1965
1967
  _: 1
1966
- }, 8, ["disabled"])) : (l(), b(e(V), {
1968
+ }, 8, ["disabled"])) : (l(), g(e(V), {
1967
1969
  key: 1,
1968
1970
  variant: "secondary",
1969
- disabled: c.value || !f.value,
1971
+ disabled: c.value || !p.value,
1970
1972
  onClick: C
1971
1973
  }, {
1972
1974
  default: n(() => [
@@ -1983,47 +1985,47 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1983
1985
  ]),
1984
1986
  _: 1
1985
1987
  }, 8, ["title", "description"])
1986
- ], 8, Dl));
1988
+ ], 8, Ul));
1987
1989
  }
1988
- }), po = /* @__PURE__ */ me(Ll, [["__scopeId", "data-v-07e4497c"]]), Ol = { class: "integration-actions" }, Fl = { role: "status" }, ql = { class: "integration-help" }, Ml = { class: "integration-help" }, Kl = { class: "integration-help" }, Hl = { class: "integration-actions" }, Xl = {
1990
+ }), mo = /* @__PURE__ */ me(Ol, [["__scopeId", "data-v-07e4497c"]]), Fl = { class: "integration-actions" }, ql = { role: "status" }, Ml = { class: "integration-help" }, Kl = { class: "integration-help" }, Hl = { class: "integration-help" }, Xl = { class: "integration-actions" }, Wl = {
1989
1991
  key: 0,
1990
1992
  role: "status",
1991
1993
  "data-bg-picked": "",
1992
1994
  class: "bg-path"
1993
- }, Wl = { class: "integration-actions" }, Gl = { key: 2 }, Jl = {
1995
+ }, Gl = { class: "integration-actions" }, Jl = { key: 2 }, Yl = {
1994
1996
  key: 3,
1995
1997
  class: "bg-cards"
1996
- }, Yl = { class: "bg-card-body" }, Ql = {
1998
+ }, Ql = { class: "bg-card-body" }, Zl = {
1997
1999
  key: 0,
1998
2000
  class: "integration-help"
1999
- }, Zl = {
2001
+ }, jl = {
2000
2002
  key: 1,
2001
2003
  class: "integration-help"
2002
- }, jl = {
2004
+ }, en = {
2003
2005
  key: 2,
2004
2006
  class: "integration-help bg-path"
2005
- }, en = {
2007
+ }, an = {
2006
2008
  key: 3,
2007
2009
  class: "integration-help"
2008
- }, an = {
2010
+ }, tn = {
2009
2011
  key: 4,
2010
2012
  class: "integration-help"
2011
- }, tn = { class: "integration-actions" }, ln = { key: 1 }, nn = {
2013
+ }, ln = { class: "integration-actions" }, nn = { key: 1 }, on = {
2012
2014
  key: 2,
2013
2015
  class: "bg-cards"
2014
- }, on = { class: "bg-card-body" }, sn = {
2016
+ }, sn = { class: "bg-card-body" }, un = {
2015
2017
  key: 0,
2016
2018
  class: "integration-help"
2017
- }, un = {
2019
+ }, rn = {
2018
2020
  key: 1,
2019
2021
  class: "integration-help"
2020
- }, rn = { class: "integration-help" }, dn = { class: "integration-actions" }, cn = { class: "integration-actions" }, vn = { class: "integration-actions" }, fn = /* @__PURE__ */ fe({
2022
+ }, dn = { class: "integration-help" }, cn = { class: "integration-actions" }, vn = { class: "integration-actions" }, fn = { class: "integration-actions" }, pn = /* @__PURE__ */ fe({
2021
2023
  __name: "BackgroundPanel",
2022
2024
  props: {
2023
2025
  ctx: {}
2024
2026
  },
2025
- setup(t, { expose: p }) {
2026
- const o = t, a = _(() => Wa(o.ctx.locale)), i = (z, W) => Je(z, W, o.ctx.locale), u = y(), r = y([]), c = y(), m = y(!1), d = y(!1), f = y([]), x = y(), P = y(!1), w = y("3600"), C = y(), E = y(), k = y(), T = y(!1), N = y(), te = _(() => !u.value && !c.value && !m.value && !N.value), F = y(!1), Y = y(), B = y(""), K = y(""), L = Ga(o.ctx);
2027
+ setup(t, { expose: m }) {
2028
+ const o = t, a = _(() => Wa(o.ctx.locale)), i = (z, W) => Je(z, W, o.ctx.locale), u = y(), r = y([]), c = y(), f = y(!1), d = y(!1), p = y([]), x = y(), P = y(!1), w = y("3600"), C = y(), E = y(), k = y(), T = y(!1), N = y(), te = _(() => !u.value && !c.value && !f.value && !N.value), F = y(!1), Y = y(), B = y(""), K = y(""), L = Ga(o.ctx);
2027
2029
  let R, A = !1;
2028
2030
  const q = (z) => !["queued", "running"].includes(z.state), M = (z) => q(z) && z.state !== "paused", se = (z) => z.state === "running" && z.pauseRequested, H = (z) => se(z) ? a.value.pausing : a.value[`state_${z.state}`], G = (z) => se(z) ? "warning" : { queued: "info", running: "info", paused: "warning", succeeded: "success", failed: "danger", canceled: "neutral", interrupted: "danger" }[z.state];
2029
2031
  async function le(z, W, I = !1) {
@@ -2031,7 +2033,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2031
2033
  return await o.ctx.call(z, W);
2032
2034
  } catch (ve) {
2033
2035
  if (A || I && (N.value = Ce(ve))) return;
2034
- ve?.code === "unsupported" ? (m.value = !0, r.value = [], f.value = [], x.value = void 0, C.value = void 0, E.value = void 0, u.value = void 0, k.value = void 0, Y.value = void 0, B.value && URL.revokeObjectURL(B.value), B.value = "") : A || (c.value = ve);
2036
+ ve?.code === "unsupported" ? (f.value = !0, r.value = [], p.value = [], x.value = void 0, C.value = void 0, E.value = void 0, u.value = void 0, k.value = void 0, Y.value = void 0, B.value && URL.revokeObjectURL(B.value), B.value = "") : A || (c.value = ve);
2035
2037
  return;
2036
2038
  }
2037
2039
  }
@@ -2045,11 +2047,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2045
2047
  c.value = { code: "unavailable" };
2046
2048
  return;
2047
2049
  }
2048
- m.value = !1, u.value = z;
2050
+ f.value = !1, u.value = z;
2049
2051
  const W = await le("bg.jobs.list", void 0, !0);
2050
2052
  W && !A && (r.value = W.jobs ?? []);
2051
2053
  const I = await le("bg.schedules.list", void 0, !0);
2052
- I && !A && (f.value = I.schedules ?? []), !A && r.value.every(q) && f.value.every((ve) => !ve.enabled) && R && (clearInterval(R), R = void 0);
2054
+ I && !A && (p.value = I.schedules ?? []), !A && r.value.every(q) && p.value.every((ve) => !ve.enabled) && R && (clearInterval(R), R = void 0);
2053
2055
  } finally {
2054
2056
  T.value = !1;
2055
2057
  }
@@ -2064,7 +2066,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2064
2066
  if (!d.value) {
2065
2067
  d.value = !0, c.value = void 0;
2066
2068
  try {
2067
- await z(), await re(), (f.value.some((W) => W.enabled) || r.value.some((W) => !q(W))) && ee();
2069
+ await z(), await re(), (p.value.some((W) => W.enabled) || r.value.some((W) => !q(W))) && ee();
2068
2070
  } finally {
2069
2071
  A || (d.value = !1);
2070
2072
  }
@@ -2098,21 +2100,21 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2098
2100
  const W = await le("bg.jobs.result", { id: z.id });
2099
2101
  !W || A || (B.value && URL.revokeObjectURL(B.value), B.value = URL.createObjectURL(new Blob([JSON.stringify(W.result, null, 2)], { type: "application/json" })), K.value = `${z.name || z.id}.sha256.json`);
2100
2102
  }
2101
- return Ke(() => N.value, re), p({ refresh: re }), Se(() => {
2103
+ return Ke(() => N.value, re), m({ refresh: re }), Se(() => {
2102
2104
  re().then(() => {
2103
- (f.value.some((z) => z.enabled) || r.value.some((z) => !q(z))) && ee();
2105
+ (p.value.some((z) => z.enabled) || r.value.some((z) => !q(z))) && ee();
2104
2106
  });
2105
2107
  }), we(() => {
2106
2108
  A = !0, L.dispose(), R && clearInterval(R), B.value && URL.revokeObjectURL(B.value);
2107
- }), (z, W) => (l(), b(e(ke), {
2109
+ }), (z, W) => (l(), g(e(ke), {
2108
2110
  "aria-busy": d.value || T.value || te.value,
2109
2111
  title: a.value.title,
2110
- description: m.value ? void 0 : a.value.help,
2112
+ description: f.value ? void 0 : a.value.help,
2111
2113
  collapsible: !1,
2112
2114
  "data-background-panel": ""
2113
2115
  }, {
2114
2116
  default: n(() => [
2115
- m.value ? (l(), b(e(j), {
2117
+ f.value ? (l(), g(e(j), {
2116
2118
  key: 0,
2117
2119
  tone: "warning"
2118
2120
  }, {
@@ -2121,7 +2123,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2121
2123
  ]),
2122
2124
  _: 1
2123
2125
  })) : (l(), $(oe, { key: 1 }, [
2124
- N.value ? (l(), b(e(j), {
2126
+ N.value ? (l(), g(e(j), {
2125
2127
  key: 0,
2126
2128
  tone: "info",
2127
2129
  role: "status"
@@ -2130,8 +2132,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2130
2132
  h(s(e(Ne)(N.value, t.ctx.locale)), 1)
2131
2133
  ]),
2132
2134
  _: 1
2133
- })) : g("", !0),
2134
- c.value ? (l(), b(e(j), {
2135
+ })) : b("", !0),
2136
+ c.value ? (l(), g(e(j), {
2135
2137
  key: 1,
2136
2138
  tone: "danger",
2137
2139
  role: "alert"
@@ -2140,7 +2142,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2140
2142
  h(s(e(Ja)(c.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2141
2143
  ]),
2142
2144
  _: 1
2143
- })) : g("", !0),
2145
+ })) : b("", !0),
2144
2146
  te.value ? (l(), $(oe, { key: 2 }, [
2145
2147
  (l(), $(oe, null, ge(["14rem", "24rem", "18rem", "24rem"], (I, ve) => S("p", {
2146
2148
  key: ve,
@@ -2151,7 +2153,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2151
2153
  height: "20px"
2152
2154
  }, null, 8, ["width"])
2153
2155
  ])), 64)),
2154
- S("div", Ol, [
2156
+ S("div", Fl, [
2155
2157
  v(e(V), {
2156
2158
  variant: "secondary",
2157
2159
  disabled: ""
@@ -2171,13 +2173,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2171
2173
  _: 1
2172
2174
  })
2173
2175
  ])
2174
- ], 64)) : g("", !0),
2176
+ ], 64)) : b("", !0),
2175
2177
  u.value ? (l(), $(oe, { key: 3 }, [
2176
- S("p", Fl, s(u.value.worker?.alive ? i(a.value.workerRunning, { user: u.value.worker.username }) : a.value.workerStopped), 1),
2177
- S("p", ql, s(i(a.value.limits, { size: u.value.limits.maxInputBytes / 1024, queue: u.value.limits.maxQueued, seconds: u.value.limits.jobTimeoutSeconds })), 1),
2178
- S("p", Ml, s(u.value.admin ? a.value.adminScope : a.value.ownerScope), 1),
2179
- S("p", Kl, s(i(a.value.ownerLimits, { jobs: u.value.limits.maxOwnerPending, size: u.value.limits.maxOwnerBytes / 1024 })), 1),
2180
- S("div", Hl, [
2178
+ S("p", ql, s(u.value.worker?.alive ? i(a.value.workerRunning, { user: u.value.worker.username }) : a.value.workerStopped), 1),
2179
+ S("p", Ml, s(i(a.value.limits, { size: u.value.limits.maxInputBytes / 1024, queue: u.value.limits.maxQueued, seconds: u.value.limits.jobTimeoutSeconds })), 1),
2180
+ S("p", Kl, s(u.value.admin ? a.value.adminScope : a.value.ownerScope), 1),
2181
+ S("p", Hl, s(i(a.value.ownerLimits, { jobs: u.value.limits.maxOwnerPending, size: u.value.limits.maxOwnerBytes / 1024 })), 1),
2182
+ S("div", Xl, [
2181
2183
  v(e(V), {
2182
2184
  variant: "secondary",
2183
2185
  disabled: d.value,
@@ -2199,12 +2201,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2199
2201
  _: 1
2200
2202
  }, 8, ["disabled"])
2201
2203
  ]),
2202
- Y.value ? (l(), $("p", Xl, [
2204
+ Y.value ? (l(), $("p", Wl, [
2203
2205
  h(s(i(a.value.chosen, { path: "" }).trim()) + " ", 1),
2204
2206
  v(e(Ue), {
2205
2207
  path: `${Y.value.folder}/${Y.value.relative}`
2206
2208
  }, null, 8, ["path"])
2207
- ])) : g("", !0),
2209
+ ])) : b("", !0),
2208
2210
  v(ta, {
2209
2211
  open: F.value,
2210
2212
  "onUpdate:open": W[1] || (W[1] = (I) => F.value = I),
@@ -2216,13 +2218,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2216
2218
  description: a.value.pickerConsent,
2217
2219
  onSelected: O
2218
2220
  }, null, 8, ["open", "locale", "name", "provider", "title", "description"]),
2219
- k.value && u.value.admin ? (l(), b(e(j), {
2221
+ k.value && u.value.admin ? (l(), g(e(j), {
2220
2222
  key: 1,
2221
2223
  tone: "warning"
2222
2224
  }, {
2223
2225
  default: n(() => [
2224
2226
  S("p", null, s(i(a.value.purgeConfirm, { user: k.value.user, uid: k.value.uid })), 1),
2225
- S("div", Wl, [
2227
+ S("div", Gl, [
2226
2228
  v(e(V), {
2227
2229
  variant: "secondary",
2228
2230
  disabled: d.value,
@@ -2246,9 +2248,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2246
2248
  ])
2247
2249
  ]),
2248
2250
  _: 1
2249
- })) : g("", !0),
2250
- r.value.length ? (l(), $("div", Jl, [
2251
- (l(!0), $(oe, null, ge(r.value, (I) => (l(), b(e(_a), {
2251
+ })) : b("", !0),
2252
+ r.value.length ? (l(), $("div", Yl, [
2253
+ (l(!0), $(oe, null, ge(r.value, (I) => (l(), g(e(_a), {
2252
2254
  key: I.id,
2253
2255
  title: I.name,
2254
2256
  "layout-type": "compact",
@@ -2267,19 +2269,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2267
2269
  }, 1032, ["tone"])
2268
2270
  ]),
2269
2271
  default: n(() => [
2270
- S("div", Yl, [
2271
- I.progress?.total ? (l(), $("span", Ql, s(i(a.value.progressItems, { done: I.progress.done, count: I.progress.total })), 1)) : g("", !0),
2272
- I.progress?.totalBytes ? (l(), $("span", Zl, s(i(a.value.progressBytes, { done: e(ra)(I.progress.bytes, t.ctx.locale), total: e(ra)(I.progress.totalBytes, t.ctx.locale) })), 1)) : g("", !0),
2273
- I.progress?.item ? (l(), $("span", jl, [
2272
+ S("div", Ql, [
2273
+ I.progress?.total ? (l(), $("span", Zl, s(i(a.value.progressItems, { done: I.progress.done, count: I.progress.total })), 1)) : b("", !0),
2274
+ I.progress?.totalBytes ? (l(), $("span", jl, s(i(a.value.progressBytes, { done: e(ra)(I.progress.bytes, t.ctx.locale), total: e(ra)(I.progress.totalBytes, t.ctx.locale) })), 1)) : b("", !0),
2275
+ I.progress?.item ? (l(), $("span", en, [
2274
2276
  h(s(i(a.value.progressItem, { item: "" }).trim()) + " ", 1),
2275
2277
  v(e(Ue), {
2276
2278
  path: I.progress.item
2277
2279
  }, null, 8, ["path"])
2278
- ])) : g("", !0),
2279
- u.value.admin && I.submitter ? (l(), $("span", en, s(i(a.value.owner, { user: I.submitter.user, uid: I.submitter.uid })), 1)) : g("", !0),
2280
- I.scheduleId ? (l(), $("span", an, s(a.value.scheduledJob), 1)) : g("", !0),
2281
- S("div", tn, [
2282
- u.value.admin && I.submitter ? (l(), b(e(V), {
2280
+ ])) : b("", !0),
2281
+ u.value.admin && I.submitter ? (l(), $("span", an, s(i(a.value.owner, { user: I.submitter.user, uid: I.submitter.uid })), 1)) : b("", !0),
2282
+ I.scheduleId ? (l(), $("span", tn, s(a.value.scheduledJob), 1)) : b("", !0),
2283
+ S("div", ln, [
2284
+ u.value.admin && I.submitter ? (l(), g(e(V), {
2283
2285
  key: 0,
2284
2286
  variant: "secondary",
2285
2287
  disabled: d.value,
@@ -2289,8 +2291,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2289
2291
  h(s(a.value.purgeOwner), 1)
2290
2292
  ]),
2291
2293
  _: 1
2292
- }, 8, ["disabled", "onClick"])) : g("", !0),
2293
- !q(I) && !I.pauseRequested && !I.delegation_id ? (l(), b(e(V), {
2294
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2295
+ !q(I) && !I.pauseRequested && !I.delegation_id ? (l(), g(e(V), {
2294
2296
  key: 1,
2295
2297
  variant: "secondary",
2296
2298
  disabled: d.value,
@@ -2300,8 +2302,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2300
2302
  h(s(a.value.pause), 1)
2301
2303
  ]),
2302
2304
  _: 1
2303
- }, 8, ["disabled", "onClick"])) : g("", !0),
2304
- I.state === "paused" || se(I) ? (l(), b(e(V), {
2305
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2306
+ I.state === "paused" || se(I) ? (l(), g(e(V), {
2305
2307
  key: 2,
2306
2308
  variant: "secondary",
2307
2309
  disabled: d.value,
@@ -2311,8 +2313,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2311
2313
  h(s(a.value.resume), 1)
2312
2314
  ]),
2313
2315
  _: 1
2314
- }, 8, ["disabled", "onClick"])) : g("", !0),
2315
- M(I) ? g("", !0) : (l(), b(e(V), {
2316
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2317
+ M(I) ? b("", !0) : (l(), g(e(V), {
2316
2318
  key: 3,
2317
2319
  variant: "secondary",
2318
2320
  disabled: d.value,
@@ -2323,7 +2325,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2323
2325
  ]),
2324
2326
  _: 1
2325
2327
  }, 8, ["disabled", "onClick"])),
2326
- ye(I) ? (l(), b(e(V), {
2328
+ ye(I) ? (l(), g(e(V), {
2327
2329
  key: 4,
2328
2330
  variant: "secondary",
2329
2331
  disabled: d.value,
@@ -2333,8 +2335,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2333
2335
  h(s(a.value.scheduleCopy), 1)
2334
2336
  ]),
2335
2337
  _: 1
2336
- }, 8, ["disabled", "onClick"])) : g("", !0),
2337
- I.state === "succeeded" ? (l(), b(e(V), {
2338
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2339
+ I.state === "succeeded" ? (l(), g(e(V), {
2338
2340
  key: 5,
2339
2341
  variant: "secondary",
2340
2342
  disabled: d.value,
@@ -2344,13 +2346,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2344
2346
  h(s(a.value.result), 1)
2345
2347
  ]),
2346
2348
  _: 1
2347
- }, 8, ["disabled", "onClick"])) : g("", !0)
2349
+ }, 8, ["disabled", "onClick"])) : b("", !0)
2348
2350
  ])
2349
2351
  ])
2350
2352
  ]),
2351
2353
  _: 2
2352
2354
  }, 1032, ["title", "data-job-state", "data-job-id"]))), 128))
2353
- ])) : (l(), $("p", Gl, s(a.value.noJobs), 1)),
2355
+ ])) : (l(), $("p", Jl, s(a.value.noJobs), 1)),
2354
2356
  v(e(ke), {
2355
2357
  "data-bg-schedules": "",
2356
2358
  class: "bg-schedules",
@@ -2359,7 +2361,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2359
2361
  collapsible: !1
2360
2362
  }, {
2361
2363
  default: n(() => [
2362
- x.value ? (l(), b(e(Me), {
2364
+ x.value ? (l(), g(e(Me), {
2363
2365
  key: 0,
2364
2366
  class: "bg-schedule-form",
2365
2367
  onSubmit: qe(Ae, ["prevent"])
@@ -2415,9 +2417,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2415
2417
  })
2416
2418
  ]),
2417
2419
  _: 1
2418
- })) : g("", !0),
2419
- f.value.length ? (l(), $("div", nn, [
2420
- (l(!0), $(oe, null, ge(f.value, (I) => (l(), b(e(_a), {
2420
+ })) : b("", !0),
2421
+ p.value.length ? (l(), $("div", on, [
2422
+ (l(!0), $(oe, null, ge(p.value, (I) => (l(), g(e(_a), {
2421
2423
  key: I.id,
2422
2424
  title: I.name,
2423
2425
  "layout-type": "compact",
@@ -2435,11 +2437,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2435
2437
  }, 1032, ["tone"])
2436
2438
  ]),
2437
2439
  default: n(() => [
2438
- S("div", on, [
2439
- u.value.admin ? (l(), $("span", sn, s(i(a.value.owner, { user: I.owner.user, uid: I.owner.uid })), 1)) : g("", !0),
2440
- I.enabled ? (l(), $("span", un, s(i(a.value.nextRun, { time: ne(I.nextAt) })), 1)) : g("", !0),
2441
- S("span", rn, s(i(a.value.missedRuns, { count: I.missed })), 1),
2442
- I.reason === "worker-changed" ? (l(), b(e(j), {
2440
+ S("div", sn, [
2441
+ u.value.admin ? (l(), $("span", un, s(i(a.value.owner, { user: I.owner.user, uid: I.owner.uid })), 1)) : b("", !0),
2442
+ I.enabled ? (l(), $("span", rn, s(i(a.value.nextRun, { time: ne(I.nextAt) })), 1)) : b("", !0),
2443
+ S("span", dn, s(i(a.value.missedRuns, { count: I.missed })), 1),
2444
+ I.reason === "worker-changed" ? (l(), g(e(j), {
2443
2445
  key: 2,
2444
2446
  tone: "warning"
2445
2447
  }, {
@@ -2447,7 +2449,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2447
2449
  h(s(a.value.revisionChanged), 1)
2448
2450
  ]),
2449
2451
  _: 1
2450
- })) : I.reason === "input-unavailable" ? (l(), b(e(j), {
2452
+ })) : I.reason === "input-unavailable" ? (l(), g(e(j), {
2451
2453
  key: 3,
2452
2454
  tone: "warning"
2453
2455
  }, {
@@ -2455,9 +2457,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2455
2457
  h(s(a.value.errors["input-unavailable"]), 1)
2456
2458
  ]),
2457
2459
  _: 1
2458
- })) : g("", !0),
2459
- S("div", dn, [
2460
- I.enabled ? (l(), b(e(V), {
2460
+ })) : b("", !0),
2461
+ S("div", cn, [
2462
+ I.enabled ? (l(), g(e(V), {
2461
2463
  key: 0,
2462
2464
  variant: "secondary",
2463
2465
  disabled: d.value,
@@ -2467,7 +2469,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2467
2469
  h(s(a.value.disableSchedule), 1)
2468
2470
  ]),
2469
2471
  _: 1
2470
- }, 8, ["disabled", "onClick"])) : u.value.admin ? (l(), b(e(V), {
2472
+ }, 8, ["disabled", "onClick"])) : u.value.admin ? (l(), g(e(V), {
2471
2473
  key: 1,
2472
2474
  variant: "secondary",
2473
2475
  disabled: d.value,
@@ -2477,7 +2479,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2477
2479
  h(s(a.value.enableSchedule), 1)
2478
2480
  ]),
2479
2481
  _: 1
2480
- }, 8, ["disabled", "onClick"])) : g("", !0),
2482
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2481
2483
  v(e(V), {
2482
2484
  variant: "secondary",
2483
2485
  disabled: d.value,
@@ -2493,14 +2495,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2493
2495
  ]),
2494
2496
  _: 2
2495
2497
  }, 1032, ["title", "data-schedule-id"]))), 128))
2496
- ])) : (l(), $("p", ln, s(a.value.noSchedules), 1)),
2497
- C.value ? (l(), b(e(j), {
2498
+ ])) : (l(), $("p", nn, s(a.value.noSchedules), 1)),
2499
+ C.value ? (l(), g(e(j), {
2498
2500
  key: 3,
2499
2501
  tone: "warning"
2500
2502
  }, {
2501
2503
  default: n(() => [
2502
2504
  S("p", null, s(i(a.value.deleteScheduleConsent, { name: C.value.name })), 1),
2503
- S("div", cn, [
2505
+ S("div", vn, [
2504
2506
  v(e(V), {
2505
2507
  variant: "danger",
2506
2508
  disabled: d.value,
@@ -2524,14 +2526,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2524
2526
  ])
2525
2527
  ]),
2526
2528
  _: 1
2527
- })) : g("", !0),
2528
- E.value ? (l(), b(e(j), {
2529
+ })) : b("", !0),
2530
+ E.value ? (l(), g(e(j), {
2529
2531
  key: 4,
2530
2532
  tone: "warning"
2531
2533
  }, {
2532
2534
  default: n(() => [
2533
2535
  S("p", null, s(i(a.value.enableScheduleConsent, { name: E.value.name })), 1),
2534
- S("div", vn, [
2536
+ S("div", fn, [
2535
2537
  v(e(V), {
2536
2538
  variant: "primary",
2537
2539
  disabled: d.value,
@@ -2555,11 +2557,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2555
2557
  ])
2556
2558
  ]),
2557
2559
  _: 1
2558
- })) : g("", !0)
2560
+ })) : b("", !0)
2559
2561
  ]),
2560
2562
  _: 1
2561
2563
  }, 8, ["title", "description"]),
2562
- B.value ? (l(), b(e(ua), {
2564
+ B.value ? (l(), g(e(ua), {
2563
2565
  key: 4,
2564
2566
  href: B.value,
2565
2567
  download: K.value
@@ -2568,20 +2570,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2568
2570
  h(s(a.value.download), 1)
2569
2571
  ]),
2570
2572
  _: 1
2571
- }, 8, ["href", "download"])) : g("", !0)
2572
- ], 64)) : g("", !0)
2573
+ }, 8, ["href", "download"])) : b("", !0)
2574
+ ], 64)) : b("", !0)
2573
2575
  ], 64))
2574
2576
  ]),
2575
2577
  _: 1
2576
2578
  }, 8, ["aria-busy", "title", "description"]));
2577
2579
  }
2578
- }), mo = /* @__PURE__ */ me(fn, [["__scopeId", "data-v-a7c98d9d"]]), pn = ["inert", "aria-hidden"], mn = {
2580
+ }), yo = /* @__PURE__ */ me(pn, [["__scopeId", "data-v-a7c98d9d"]]), mn = ["inert", "aria-hidden"], yn = {
2579
2581
  key: 3,
2580
2582
  class: "executor-approval"
2581
- }, yn = {
2583
+ }, bn = {
2582
2584
  key: 0,
2583
2585
  class: "executor-brand"
2584
- }, bn = ["src"], gn = /* @__PURE__ */ fe({
2586
+ }, gn = ["src"], hn = /* @__PURE__ */ fe({
2585
2587
  __name: "ExecutorApproval",
2586
2588
  props: {
2587
2589
  admin: { type: Boolean },
@@ -2591,31 +2593,31 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2591
2593
  preload: { type: Boolean }
2592
2594
  },
2593
2595
  setup(t) {
2594
- const p = t, o = Ee(We, void 0), a = _(() => Ve(p.locale)), i = y("checking"), u = y(), r = _(() => {
2595
- const w = p.ctx;
2596
+ const m = t, o = Ee(We, void 0), a = _(() => Ve(m.locale)), i = y("checking"), u = y(), r = _(() => {
2597
+ const w = m.ctx;
2596
2598
  return (w?.fullPage ?? (w?.host ? $a({ host: w.host }) : !1)) && w?.displayName ? w : void 0;
2597
2599
  });
2598
2600
  function c(w) {
2599
2601
  u.value = w, i.value = w.state;
2600
2602
  }
2601
- let m = !1, d;
2602
- async function f() {
2603
+ let f = !1, d;
2604
+ async function p() {
2603
2605
  try {
2604
2606
  const w = await o.status();
2605
- m || c(w);
2607
+ f || c(w);
2606
2608
  } catch {
2607
- m || (u.value = void 0, i.value = "blocked");
2609
+ f || (u.value = void 0, i.value = "blocked");
2608
2610
  }
2609
2611
  }
2610
- const x = _(() => Ce(u.value)), P = _(() => !!p.preload && !!o && (i.value === "ready" || i.value === "checking"));
2611
- return Le(Ua, _(() => P.value && i.value === "checking")), Ke(() => x.value, f), Se(() => {
2612
+ const x = _(() => Ce(u.value)), P = _(() => !!m.preload && !!o && (i.value === "ready" || i.value === "checking"));
2613
+ return Le(Ua, _(() => P.value && i.value === "checking")), Ke(() => x.value, p), Se(() => {
2612
2614
  o && (o.subscribe?.((w) => {
2613
- !m && !je(w) && c(w);
2614
- }), d = p.ctx?.reopen(() => {
2615
- f();
2616
- }), f());
2615
+ !f && !je(w) && c(w);
2616
+ }), d = m.ctx?.reopen(() => {
2617
+ p();
2618
+ }), p());
2617
2619
  }), we(() => {
2618
- m = !0, d?.();
2620
+ f = !0, d?.();
2619
2621
  }), (w, C) => (l(), $(oe, null, [
2620
2622
  P.value ? (l(), $("div", {
2621
2623
  key: 0,
@@ -2624,20 +2626,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2624
2626
  "aria-hidden": i.value === "checking" ? "true" : void 0
2625
2627
  }, [
2626
2628
  be(w.$slots, "default", {}, void 0, !0)
2627
- ], 10, pn)) : !e(o) || i.value === "ready" ? be(w.$slots, "default", {}, void 0, !0, 1) : g("", !0),
2628
- e(o) && i.value === "checking" ? (l(), b(e(bt), {
2629
+ ], 10, mn)) : !e(o) || i.value === "ready" ? be(w.$slots, "default", {}, void 0, !0, 1) : b("", !0),
2630
+ e(o) && i.value === "checking" ? (l(), g(e(bt), {
2629
2631
  key: 2,
2630
2632
  text: a.value.loading
2631
- }, null, 8, ["text"])) : e(o) && i.value !== "ready" ? (l(), $("div", mn, [
2632
- r.value ? (l(), $("header", yn, [
2633
+ }, null, 8, ["text"])) : e(o) && i.value !== "ready" ? (l(), $("div", yn, [
2634
+ r.value ? (l(), $("header", bn, [
2633
2635
  r.value.appIcon ? (l(), $("img", {
2634
2636
  key: 0,
2635
2637
  src: r.value.appIcon,
2636
2638
  alt: ""
2637
- }, null, 8, bn)) : g("", !0),
2639
+ }, null, 8, gn)) : b("", !0),
2638
2640
  S("span", null, s(r.value.displayName), 1)
2639
- ])) : g("", !0),
2640
- x.value ? (l(), b(e(j), {
2641
+ ])) : b("", !0),
2642
+ x.value ? (l(), g(e(j), {
2641
2643
  key: 1,
2642
2644
  tone: "info",
2643
2645
  role: "status"
@@ -2646,7 +2648,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2646
2648
  h(s(e(Ne)(x.value, t.locale)), 1)
2647
2649
  ]),
2648
2650
  _: 1
2649
- })) : t.admin ? (l(), b(La, {
2651
+ })) : t.admin ? (l(), g(La, {
2650
2652
  key: 2,
2651
2653
  admin: !0,
2652
2654
  locale: t.locale,
@@ -2654,14 +2656,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2654
2656
  purpose: t.purpose,
2655
2657
  title: "",
2656
2658
  layout: "page",
2657
- onConfirmed: f
2658
- }, null, 8, ["locale", "initial", "purpose"])) : i.value === "needs-admin-approval" ? (l(), b(ea, {
2659
+ onConfirmed: p
2660
+ }, null, 8, ["locale", "initial", "purpose"])) : i.value === "needs-admin-approval" ? (l(), g(ea, {
2659
2661
  key: 3,
2660
2662
  admin: !1,
2661
2663
  locale: t.locale,
2662
2664
  purpose: t.purpose,
2663
2665
  layout: "page"
2664
- }, null, 8, ["locale", "purpose"])) : (l(), b(e(j), {
2666
+ }, null, 8, ["locale", "purpose"])) : (l(), g(e(j), {
2665
2667
  key: 4,
2666
2668
  tone: "info"
2667
2669
  }, {
@@ -2670,59 +2672,59 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2670
2672
  ]),
2671
2673
  _: 1
2672
2674
  }))
2673
- ])) : g("", !0)
2675
+ ])) : b("", !0)
2674
2676
  ], 64));
2675
2677
  }
2676
- }), yo = /* @__PURE__ */ me(gn, [["__scopeId", "data-v-59aae3f3"]]), hn = {
2678
+ }), bo = /* @__PURE__ */ me(hn, [["__scopeId", "data-v-59aae3f3"]]), kn = {
2677
2679
  key: 2,
2678
2680
  role: "status"
2679
- }, kn = {
2681
+ }, wn = {
2680
2682
  key: 3,
2681
2683
  role: "status"
2682
- }, wn = {
2684
+ }, _n = {
2683
2685
  key: 0,
2684
2686
  role: "status",
2685
2687
  class: "destination"
2686
- }, _n = {
2688
+ }, xn = {
2687
2689
  key: 0,
2688
2690
  "data-placeholder-row": ""
2689
- }, xn = { key: 1 }, Cn = {
2691
+ }, Cn = { key: 1 }, $n = {
2690
2692
  key: 2,
2691
2693
  class: "records"
2692
- }, $n = ["data-job-state"], Sn = ["role"], Pn = {
2694
+ }, Sn = ["data-job-state"], Pn = ["role"], En = {
2693
2695
  key: 0,
2694
2696
  "data-placeholder-row": ""
2695
- }, En = { key: 1 }, Tn = {
2697
+ }, Tn = { key: 1 }, zn = {
2696
2698
  key: 2,
2697
2699
  class: "records"
2698
- }, zn = /* @__PURE__ */ fe({
2700
+ }, An = /* @__PURE__ */ fe({
2699
2701
  __name: "DelegatePanel",
2700
2702
  props: {
2701
2703
  ctx: {}
2702
2704
  },
2703
- setup(t, { expose: p }) {
2704
- const o = t, a = _(() => Ve(o.ctx.locale)), i = _(() => Ea(o.ctx.locale)), u = Pa(o.ctx), r = y(), c = y([]), m = y([]), d = y(!1), f = y(), x = y(""), P = y(!1), w = y(""), C = y(""), E = y("");
2705
+ setup(t, { expose: m }) {
2706
+ const o = t, a = _(() => Ve(o.ctx.locale)), i = _(() => Ea(o.ctx.locale)), u = Pa(o.ctx), r = y(), c = y([]), f = y([]), d = y(!1), p = y(), x = y(""), P = y(!1), w = y(""), C = y(""), E = y("");
2705
2707
  let k = !1, T, N;
2706
2708
  const te = y();
2707
2709
  Oe([C, w, E], () => {
2708
2710
  N = void 0;
2709
2711
  }, { flush: "sync" });
2710
- const F = (ee) => ["queued", "running", "waiting_executor"].includes(ee.state), Y = _(() => m.value.some((ee) => ee.state === "waiting_executor")), B = ["EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT"], K = _(() => Y.value && B.includes(f.value?.code ?? "")), L = _(() => !r.value && !f.value && !te.value), R = _(() => r.value && r.value.state !== "ready" && !(Y.value && r.value.state === "needs-admin-approval" && B.includes(r.value.reason ?? "")));
2712
+ const F = (ee) => ["queued", "running", "waiting_executor"].includes(ee.state), Y = _(() => f.value.some((ee) => ee.state === "waiting_executor")), B = ["EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT"], K = _(() => Y.value && B.includes(p.value?.code ?? "")), L = _(() => !r.value && !p.value && !te.value), R = _(() => r.value && r.value.state !== "ready" && !(Y.value && r.value.state === "needs-admin-approval" && B.includes(r.value.reason ?? "")));
2711
2713
  async function A() {
2712
2714
  if (k) return;
2713
2715
  const [ee, X, Q] = await Promise.allSettled([o.ctx.call("delegate.status"), o.ctx.call("delegate.list"), o.ctx.call("delegate.jobs.list")]);
2714
2716
  if (k) return;
2715
- ee.status === "fulfilled" && (r.value = ee.value), X.status === "fulfilled" && (c.value = (X.value.delegations ?? []).filter((he) => !he.revoked)), Q.status === "fulfilled" && (m.value = Q.value.jobs ?? []);
2717
+ ee.status === "fulfilled" && (r.value = ee.value), X.status === "fulfilled" && (c.value = (X.value.delegations ?? []).filter((he) => !he.revoked)), Q.status === "fulfilled" && (f.value = Q.value.jobs ?? []);
2716
2718
  const de = [ee, X, Q].find((he) => he.status === "rejected");
2717
2719
  if (te.value = de && Ce(de.reason), de && !te.value) throw de.reason;
2718
2720
  }
2719
2721
  async function q(ee) {
2720
2722
  if (!(d.value || k)) {
2721
- d.value = !0, f.value = void 0;
2723
+ d.value = !0, p.value = void 0;
2722
2724
  try {
2723
2725
  await ee();
2724
2726
  } catch (X) {
2725
- k || (f.value = X);
2727
+ k || (p.value = X);
2726
2728
  } finally {
2727
2729
  k || (d.value = !1);
2728
2730
  }
@@ -2741,13 +2743,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2741
2743
  const X = new Date(ee);
2742
2744
  return Number.isNaN(X.getTime()) ? "—" : X.toLocaleString(o.ctx.locale);
2743
2745
  };
2744
- return p({ refresh: M }), Se(() => {
2746
+ return m({ refresh: M }), Se(() => {
2745
2747
  M(), T = setInterval(() => {
2746
- m.value.some(F) && M();
2748
+ f.value.some(F) && M();
2747
2749
  }, 3e3);
2748
2750
  }), we(() => {
2749
2751
  k = !0, T && clearInterval(T), u.dispose();
2750
- }), (ee, X) => (l(), b(e(ke), {
2752
+ }), (ee, X) => (l(), g(e(ke), {
2751
2753
  title: a.value.title,
2752
2754
  description: a.value.help,
2753
2755
  collapsible: !1,
@@ -2755,17 +2757,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2755
2757
  class: "delegate-panel"
2756
2758
  }, {
2757
2759
  default: n(() => [
2758
- f.value && !K.value ? (l(), b(e(j), {
2760
+ p.value && !K.value ? (l(), g(e(j), {
2759
2761
  key: 0,
2760
2762
  tone: "danger",
2761
2763
  role: "alert"
2762
2764
  }, {
2763
2765
  default: n(() => [
2764
- h(s(e(Ya)(f.value, t.ctx.locale) ?? e(Qa)(f.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2766
+ h(s(e(Ya)(p.value, t.ctx.locale) ?? e(Qa)(p.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2765
2767
  ]),
2766
2768
  _: 1
2767
- })) : g("", !0),
2768
- te.value ? (l(), b(e(j), {
2769
+ })) : b("", !0),
2770
+ te.value ? (l(), g(e(j), {
2769
2771
  key: 1,
2770
2772
  tone: "info",
2771
2773
  role: "status"
@@ -2774,9 +2776,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2774
2776
  h(s(e(Ne)(te.value, t.ctx.locale)), 1)
2775
2777
  ]),
2776
2778
  _: 1
2777
- })) : g("", !0),
2778
- x.value ? (l(), $("p", hn, s(x.value), 1)) : g("", !0),
2779
- R.value ? (l(), $("p", kn, s(r.value?.state === "needs-admin-approval" ? a.value.needs : a.value.blocked), 1)) : g("", !0),
2779
+ })) : b("", !0),
2780
+ x.value ? (l(), $("p", kn, s(x.value), 1)) : b("", !0),
2781
+ R.value ? (l(), $("p", wn, s(r.value?.state === "needs-admin-approval" ? a.value.needs : a.value.blocked), 1)) : b("", !0),
2780
2782
  v(e(Me), {
2781
2783
  direction: "vertical",
2782
2784
  onSubmit: qe(le, ["prevent"])
@@ -2813,10 +2815,10 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2813
2815
  _: 1
2814
2816
  }, 8, ["label"]),
2815
2817
  S("p", null, s(a.value.size), 1),
2816
- w.value ? (l(), $("p", wn, [
2818
+ w.value ? (l(), $("p", _n, [
2817
2819
  h(s(a.value.destination) + s(i.value), 1),
2818
2820
  v(e(Ue), { path: w.value }, null, 8, ["path"])
2819
- ])) : g("", !0),
2821
+ ])) : b("", !0),
2820
2822
  v(e(aa), null, {
2821
2823
  default: n(() => [
2822
2824
  v(e(V), {
@@ -2861,20 +2863,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2861
2863
  class: "delegate-group"
2862
2864
  }, {
2863
2865
  default: n(() => [
2864
- L.value ? (l(), $("p", _n, [
2866
+ L.value ? (l(), $("p", xn, [
2865
2867
  v(e(Fe), {
2866
2868
  width: "12rem",
2867
2869
  height: "20px"
2868
2870
  })
2869
- ])) : !m.value.length && !f.value ? (l(), $("p", xn, s(a.value.noJobs), 1)) : (l(), $("ul", Cn, [
2870
- (l(!0), $(oe, null, ge(m.value, (Q) => (l(), $("li", {
2871
+ ])) : !f.value.length && !p.value ? (l(), $("p", Cn, s(a.value.noJobs), 1)) : (l(), $("ul", $n, [
2872
+ (l(!0), $(oe, null, ge(f.value, (Q) => (l(), $("li", {
2871
2873
  key: Q.id,
2872
2874
  "data-job-state": Q.state
2873
2875
  }, [
2874
2876
  S("span", {
2875
2877
  role: Q.state === "waiting_executor" ? "status" : void 0
2876
- }, s(Q.name) + " · " + s(a.value[Q.state]), 9, Sn),
2877
- F(Q) ? (l(), b(e(V), {
2878
+ }, s(Q.name) + " · " + s(a.value[Q.state]), 9, Pn),
2879
+ F(Q) ? (l(), g(e(V), {
2878
2880
  key: 0,
2879
2881
  variant: "secondary",
2880
2882
  disabled: d.value,
@@ -2884,8 +2886,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2884
2886
  h(s(a.value.cancel), 1)
2885
2887
  ]),
2886
2888
  _: 1
2887
- }, 8, ["disabled", "onClick"])) : g("", !0)
2888
- ], 8, $n))), 128))
2889
+ }, 8, ["disabled", "onClick"])) : b("", !0)
2890
+ ], 8, Sn))), 128))
2889
2891
  ]))
2890
2892
  ]),
2891
2893
  _: 1
@@ -2896,12 +2898,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2896
2898
  class: "delegate-group"
2897
2899
  }, {
2898
2900
  default: n(() => [
2899
- L.value ? (l(), $("p", Pn, [
2901
+ L.value ? (l(), $("p", En, [
2900
2902
  v(e(Fe), {
2901
2903
  width: "12rem",
2902
2904
  height: "20px"
2903
2905
  })
2904
- ])) : !c.value.length && !f.value ? (l(), $("p", En, s(a.value.noDelegations), 1)) : (l(), $("ul", Tn, [
2906
+ ])) : !c.value.length && !p.value ? (l(), $("p", Tn, s(a.value.noDelegations), 1)) : (l(), $("ul", zn, [
2905
2907
  (l(!0), $(oe, null, ge(c.value, (Q) => (l(), $("li", {
2906
2908
  key: Q.delegation_id
2907
2909
  }, [
@@ -2930,19 +2932,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2930
2932
  _: 1
2931
2933
  }, 8, ["title", "description", "aria-busy"]));
2932
2934
  }
2933
- }), bo = /* @__PURE__ */ me(zn, [["__scopeId", "data-v-987b56d5"]]), An = { class: "save-alert" }, Rn = { "data-save-error": "" }, In = { class: "save-alert" }, Dn = {
2935
+ }), go = /* @__PURE__ */ me(An, [["__scopeId", "data-v-987b56d5"]]), Rn = { class: "save-alert" }, In = { "data-save-error": "" }, Dn = { class: "save-alert" }, Un = {
2934
2936
  key: 0,
2935
2937
  class: "save-reason"
2936
- }, Un = {
2938
+ }, Vn = {
2937
2939
  key: 0,
2938
2940
  class: "save-reason"
2939
- }, Vn = { class: "save-alert" }, Nn = {
2941
+ }, Nn = { class: "save-alert" }, Bn = {
2940
2942
  key: 0,
2941
2943
  class: "save-help"
2942
- }, Bn = { class: "save-actions" }, Ln = {
2944
+ }, Ln = { class: "save-actions" }, On = {
2943
2945
  key: 1,
2944
2946
  class: "save-none"
2945
- }, On = /* @__PURE__ */ fe({
2947
+ }, Fn = /* @__PURE__ */ fe({
2946
2948
  __name: "BackgroundSaveSettings",
2947
2949
  props: {
2948
2950
  sdk: {},
@@ -2954,14 +2956,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2954
2956
  pickerErrorText: { type: Function }
2955
2957
  },
2956
2958
  emits: ["authorized", "confirmed", "destinations"],
2957
- setup(t, { expose: p, emit: o }) {
2958
- const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ve(a.locale)), c = Ee(We, void 0), m = _(() => a.ctx ?? (c?.call ? { call: c.call.bind(c) } : void 0)), d = Ba({ get admin() {
2959
+ setup(t, { expose: m, emit: o }) {
2960
+ const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ve(a.locale)), c = Ee(We, void 0), f = _(() => a.ctx ?? (c?.call ? { call: c.call.bind(c) } : void 0)), d = Ba({ get admin() {
2959
2961
  return a.admin;
2960
2962
  }, get locale() {
2961
2963
  return a.locale;
2962
2964
  }, get ctx() {
2963
- return m.value;
2964
- } }, J), { password: f, busy: x, confirming: P, failure: w, passwordError: C, scope: E, chosen: k, options: T, dynamic: N, canConfirm: te } = d, F = y(), Y = y([]), B = y(!1), K = y(!1), L = y(), R = y(!1), A = y(!1), q = y(!1), M = y(""), se = y(), H = _(() => se.value ?? (B.value ? Ce(d.status.value) : void 0));
2965
+ return f.value;
2966
+ } }, J), { password: p, busy: x, confirming: P, failure: w, passwordError: C, scope: E, chosen: k, options: T, dynamic: N, canConfirm: te } = d, F = y(), Y = y([]), B = y(!1), K = y(!1), L = y(), R = y(!1), A = y(!1), q = y(!1), M = y(""), se = y(), H = _(() => se.value ?? (B.value ? Ce(d.status.value) : void 0));
2965
2967
  let G = !1;
2966
2968
  async function le() {
2967
2969
  let ue;
@@ -3039,13 +3041,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3039
3041
  return !ue || "confirm" in ue ? "" : ue.code === "session_ended" ? r.value.session : d.explain(ue) ?? r.value.setupError;
3040
3042
  }), W = _(() => a.admin && Pe.value && !A.value), I = _(() => x.value || K.value || d.error.value || !te.value);
3041
3043
  function ve() {
3042
- A.value = !1, f.value = "", w.value = void 0, k.value = E.value?.selection?.scope ?? "";
3044
+ A.value = !1, p.value = "", w.value = void 0, k.value = E.value?.selection?.scope ?? "";
3043
3045
  }
3044
- return Ke(() => H.value, () => Promise.all([ee(), a.admin ? d.refresh() : void 0])), p({ refresh: X }), Se(() => {
3046
+ return Ke(() => H.value, () => Promise.all([ee(), a.admin ? d.refresh() : void 0])), m({ refresh: X }), Se(() => {
3045
3047
  ee();
3046
3048
  }), we(() => {
3047
3049
  G = !0;
3048
- }), (ue, pe) => (l(), b(e(ke), {
3050
+ }), (ue, pe) => (l(), g(e(ke), {
3049
3051
  title: t.title ?? u.value.title,
3050
3052
  description: Pe.value && !A.value ? void 0 : u.value.help,
3051
3053
  collapsible: !1,
@@ -3053,7 +3055,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3053
3055
  class: "background-save-settings"
3054
3056
  }, {
3055
3057
  default: n(() => [
3056
- ye.value ? (l(!0), $(oe, { key: 0 }, ge(t.picker?.keys ?? [], (ae) => (l(), b(e(xe), {
3058
+ ye.value ? (l(!0), $(oe, { key: 0 }, ge(t.picker?.keys ?? [], (ae) => (l(), g(e(xe), {
3057
3059
  key: ae,
3058
3060
  label: ce(ae),
3059
3061
  "field-width": "full",
@@ -3066,7 +3068,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3066
3068
  })
3067
3069
  ]),
3068
3070
  _: 1
3069
- }, 8, ["label"]))), 128)) : H.value ? (l(), b(e(j), {
3071
+ }, 8, ["label"]))), 128)) : H.value ? (l(), g(e(j), {
3070
3072
  key: 1,
3071
3073
  tone: "info",
3072
3074
  role: "status"
@@ -3076,14 +3078,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3076
3078
  ]),
3077
3079
  _: 1
3078
3080
  })) : (l(), $(oe, { key: 2 }, [
3079
- L.value ? (l(), b(e(j), {
3081
+ L.value ? (l(), g(e(j), {
3080
3082
  key: 0,
3081
3083
  tone: "danger",
3082
3084
  role: "alert"
3083
3085
  }, {
3084
3086
  default: n(() => [
3085
- S("span", An, [
3086
- S("span", Rn, s(he.value), 1),
3087
+ S("span", Rn, [
3088
+ S("span", In, s(he.value), 1),
3087
3089
  v(e(V), {
3088
3090
  variant: "secondary",
3089
3091
  size: "sm",
@@ -3098,14 +3100,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3098
3100
  ])
3099
3101
  ]),
3100
3102
  _: 1
3101
- })) : g("", !0),
3102
- e(d).error.value ? (l(), b(e(j), {
3103
+ })) : b("", !0),
3104
+ e(d).error.value ? (l(), g(e(j), {
3103
3105
  key: 1,
3104
3106
  tone: "danger",
3105
3107
  role: "alert"
3106
3108
  }, {
3107
3109
  default: n(() => [
3108
- S("span", In, [
3110
+ S("span", Dn, [
3109
3111
  h(s(r.value.setupError), 1),
3110
3112
  v(e(V), {
3111
3113
  variant: "secondary",
@@ -3121,41 +3123,41 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3121
3123
  ])
3122
3124
  ]),
3123
3125
  _: 1
3124
- })) : g("", !0),
3125
- z.value ? (l(), b(e(j), {
3126
+ })) : b("", !0),
3127
+ z.value ? (l(), g(e(j), {
3126
3128
  key: 2,
3127
3129
  tone: "danger",
3128
3130
  role: "alert"
3129
3131
  }, {
3130
3132
  default: n(() => [
3131
3133
  h(s(z.value), 1),
3132
- e(w) && "reason" in e(w) && e(w).reason ? (l(), $("span", Dn, s(e(w).reason), 1)) : g("", !0)
3134
+ e(w) && "reason" in e(w) && e(w).reason ? (l(), $("span", Un, s(e(w).reason), 1)) : b("", !0)
3133
3135
  ]),
3134
3136
  _: 1
3135
- })) : g("", !0),
3136
- D.value ? (l(), b(e(j), {
3137
+ })) : b("", !0),
3138
+ D.value ? (l(), g(e(j), {
3137
3139
  key: 3,
3138
3140
  tone: "warning"
3139
3141
  }, {
3140
3142
  default: n(() => [
3141
3143
  h(s(e(d).explain(e(d).status.value) ?? r.value.blocked), 1),
3142
- e(d).status.value?.reason ? (l(), $("span", Un, s(e(d).status.value.reason), 1)) : g("", !0)
3144
+ e(d).status.value?.reason ? (l(), $("span", Vn, s(e(d).status.value.reason), 1)) : b("", !0)
3143
3145
  ]),
3144
3146
  _: 1
3145
- })) : Pe.value && !t.admin ? (l(), b(ea, {
3147
+ })) : Pe.value && !t.admin ? (l(), g(ea, {
3146
3148
  key: 4,
3147
3149
  admin: !1,
3148
3150
  locale: t.locale,
3149
3151
  files: ""
3150
- }, null, 8, ["locale"])) : g("", !0),
3151
- F.value?.disabled ? (l(), b(e(j), {
3152
+ }, null, 8, ["locale"])) : b("", !0),
3153
+ F.value?.disabled ? (l(), g(e(j), {
3152
3154
  key: 5,
3153
3155
  tone: "warning"
3154
3156
  }, {
3155
3157
  default: n(() => [
3156
- S("span", Vn, [
3158
+ S("span", Nn, [
3157
3159
  S("span", null, s(u.value.disabled), 1),
3158
- t.admin ? (l(), b(e(V), {
3160
+ t.admin ? (l(), g(e(V), {
3159
3161
  key: 0,
3160
3162
  variant: "secondary",
3161
3163
  size: "sm",
@@ -3166,12 +3168,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3166
3168
  h(s(u.value.enable), 1)
3167
3169
  ]),
3168
3170
  _: 1
3169
- }, 8, ["disabled"])) : g("", !0)
3171
+ }, 8, ["disabled"])) : b("", !0)
3170
3172
  ])
3171
3173
  ]),
3172
3174
  _: 1
3173
- })) : g("", !0),
3174
- U.value && Y.value.some((ae) => ae.status === "reselection-required") ? (l(), b(e(j), {
3175
+ })) : b("", !0),
3176
+ U.value && Y.value.some((ae) => ae.status === "reselection-required") ? (l(), g(e(j), {
3175
3177
  key: 6,
3176
3178
  tone: "warning"
3177
3179
  }, {
@@ -3179,8 +3181,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3179
3181
  h(s(u.value.reselect), 1)
3180
3182
  ]),
3181
3183
  _: 1
3182
- })) : g("", !0),
3183
- O.value || A.value ? (l(), b(Xe(W.value ? ea : "div"), Qe(pa({ key: 7 }, W.value ? { admin: !0, locale: t.locale, files: !0 } : {})), {
3184
+ })) : b("", !0),
3185
+ O.value || A.value ? (l(), g(Xe(W.value ? ea : "div"), Qe(pa({ key: 7 }, W.value ? { admin: !0, locale: t.locale, files: !0 } : {})), {
3184
3186
  default: n(() => [
3185
3187
  v(e(Me), {
3186
3188
  direction: "vertical",
@@ -3188,8 +3190,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3188
3190
  onSubmit: qe(e(d).submit, ["prevent"])
3189
3191
  }, {
3190
3192
  default: n(() => [
3191
- A.value ? (l(), $("p", Nn, s(u.value.changeHelp), 1)) : g("", !0),
3192
- e(N) ? (l(), b(e($e), {
3193
+ A.value ? (l(), $("p", Bn, s(u.value.changeHelp), 1)) : b("", !0),
3194
+ e(N) ? (l(), g(e($e), {
3193
3195
  key: 1,
3194
3196
  label: u.value.folder,
3195
3197
  description: W.value ? u.value.approveHelp : void 0,
@@ -3205,7 +3207,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3205
3207
  }, null, 8, ["modelValue", "options", "disabled"])
3206
3208
  ]),
3207
3209
  _: 1
3208
- }, 8, ["label", "description"])) : g("", !0),
3210
+ }, 8, ["label", "description"])) : b("", !0),
3209
3211
  v(e($e), {
3210
3212
  label: u.value.password,
3211
3213
  description: e(P) ? r.value.confirmingHelp : W.value ? r.value.passwordNote : void 0,
@@ -3226,7 +3228,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3226
3228
  ]),
3227
3229
  _: 1
3228
3230
  }, 8, ["class", "loading", "disabled"]),
3229
- A.value ? (l(), b(e(V), {
3231
+ A.value ? (l(), g(e(V), {
3230
3232
  key: 0,
3231
3233
  class: De(ae.afterItem),
3232
3234
  type: "button",
@@ -3238,13 +3240,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3238
3240
  h(s(u.value.cancelChange), 1)
3239
3241
  ]),
3240
3242
  _: 1
3241
- }, 8, ["class", "disabled"])) : g("", !0)
3243
+ }, 8, ["class", "disabled"])) : b("", !0)
3242
3244
  ]),
3243
3245
  default: n(() => [
3244
3246
  v(e(ze), {
3245
3247
  id: "save-password",
3246
- modelValue: e(f),
3247
- "onUpdate:modelValue": pe[1] || (pe[1] = (ae) => Ze(f) ? f.value = ae : null),
3248
+ modelValue: e(p),
3249
+ "onUpdate:modelValue": pe[1] || (pe[1] = (ae) => Ze(p) ? p.value = ae : null),
3248
3250
  type: "password",
3249
3251
  autocomplete: "current-password",
3250
3252
  invalid: !!e(C),
@@ -3258,19 +3260,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3258
3260
  }, 8, ["onSubmit"])
3259
3261
  ]),
3260
3262
  _: 1
3261
- }, 16)) : g("", !0),
3262
- U.value && !A.value && !O.value ? (l(!0), $(oe, { key: 8 }, ge(Y.value, (ae) => (l(), b(e(xe), {
3263
+ }, 16)) : b("", !0),
3264
+ U.value && !A.value && !O.value ? (l(!0), $(oe, { key: 8 }, ge(Y.value, (ae) => (l(), g(e(xe), {
3263
3265
  key: ae.key,
3264
3266
  label: ce(ae.key),
3265
3267
  "field-width": "full",
3266
3268
  "data-save-row": "folder"
3267
3269
  }, {
3268
3270
  default: n(() => [
3269
- S("div", Bn, [
3270
- ae.status === "active" && ae.destination ? (l(), b(e(Ue), {
3271
+ S("div", Ln, [
3272
+ ae.status === "active" && ae.destination ? (l(), g(e(Ue), {
3271
3273
  key: 0,
3272
3274
  path: ae.destination.path
3273
- }, null, 8, ["path"])) : (l(), $("span", Ln, s(u.value.folderNone), 1)),
3275
+ }, null, 8, ["path"])) : (l(), $("span", On, s(u.value.folderNone), 1)),
3274
3276
  v(e(V), {
3275
3277
  variant: "secondary",
3276
3278
  size: "sm",
@@ -3282,7 +3284,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3282
3284
  ]),
3283
3285
  _: 1
3284
3286
  }, 8, ["disabled", "onClick"]),
3285
- ae.status === "active" && ae.destination ? (l(), b(e(V), {
3287
+ ae.status === "active" && ae.destination ? (l(), g(e(V), {
3286
3288
  key: 2,
3287
3289
  variant: "ghost",
3288
3290
  size: "sm",
@@ -3293,14 +3295,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3293
3295
  h(s(u.value.revoke), 1)
3294
3296
  ]),
3295
3297
  _: 1
3296
- }, 8, ["disabled", "onClick"])) : g("", !0)
3298
+ }, 8, ["disabled", "onClick"])) : b("", !0)
3297
3299
  ])
3298
3300
  ]),
3299
3301
  _: 2
3300
- }, 1032, ["label"]))), 128)) : g("", !0)
3302
+ }, 1032, ["label"]))), 128)) : b("", !0)
3301
3303
  ], 64)),
3302
3304
  be(ue.$slots, "default", {}, void 0, !0),
3303
- Z.value ? (l(), b(ta, {
3305
+ Z.value ? (l(), g(ta, {
3304
3306
  key: ne.value?.scope,
3305
3307
  open: q.value,
3306
3308
  "onUpdate:open": pe[2] || (pe[2] = (ae) => q.value = ae),
@@ -3312,15 +3314,15 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3312
3314
  onAuthorized: Q,
3313
3315
  onRefused: de,
3314
3316
  "error-text": t.pickerErrorText
3315
- }, null, 8, ["open", "provider", "locale", "name", "destination", "error-text"])) : g("", !0)
3317
+ }, null, 8, ["open", "provider", "locale", "name", "destination", "error-text"])) : b("", !0)
3316
3318
  ]),
3317
3319
  _: 3
3318
3320
  }, 8, ["title", "description", "aria-busy"]));
3319
3321
  }
3320
- }), Fn = /* @__PURE__ */ me(On, [["__scopeId", "data-v-79ce68f8"]]), qn = { class: "background-save-panel" }, Mn = {
3322
+ }), qn = /* @__PURE__ */ me(Fn, [["__scopeId", "data-v-79ce68f8"]]), Mn = { class: "background-save-panel" }, Kn = {
3321
3323
  key: 1,
3322
3324
  class: "save-example"
3323
- }, Kn = { class: "save-help" }, Hn = { class: "save-actions" }, Xn = /* @__PURE__ */ fe({
3325
+ }, Hn = { class: "save-help" }, Xn = { class: "save-actions" }, Wn = /* @__PURE__ */ fe({
3324
3326
  __name: "BackgroundSavePanel",
3325
3327
  props: {
3326
3328
  sdk: {},
@@ -3333,25 +3335,25 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3333
3335
  sampleSave: { type: Boolean }
3334
3336
  },
3335
3337
  emits: ["authorized"],
3336
- setup(t, { expose: p, emit: o }) {
3337
- const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ea(a.locale)), c = y([]), m = y(), d = () => (x.value = void 0, m.value?.refresh() ?? Promise.resolve()), f = y(!1), x = y();
3338
+ setup(t, { expose: m, emit: o }) {
3339
+ const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ea(a.locale)), c = y([]), f = y(), d = () => (x.value = void 0, f.value?.refresh() ?? Promise.resolve()), p = y(!1), x = y();
3338
3340
  async function P(C) {
3339
- if (f.value) return;
3340
- f.value = !0, x.value = void 0;
3341
+ if (p.value) return;
3342
+ p.value = !0, x.value = void 0;
3341
3343
  const E = "example-" + Array.from(crypto.getRandomValues(new Uint8Array(16)), (k) => k.toString(16).padStart(2, "0")).join("");
3342
3344
  try {
3343
3345
  await a.sdk.exportExample({ key: C, job_id: E });
3344
3346
  } catch (k) {
3345
3347
  x.value = k;
3346
3348
  } finally {
3347
- f.value = !1;
3349
+ p.value = !1;
3348
3350
  }
3349
3351
  }
3350
3352
  const w = (C) => a.picker?.labels?.[C] ? `${u.value.example}${r.value}${a.picker.labels[C]}` : u.value.example;
3351
- return p({ refresh: d }), (C, E) => (l(), $("div", qn, [
3352
- v(Fn, {
3353
+ return m({ refresh: d }), (C, E) => (l(), $("div", Mn, [
3354
+ v(qn, {
3353
3355
  ref_key: "settings",
3354
- ref: m,
3356
+ ref: f,
3355
3357
  sdk: t.sdk,
3356
3358
  admin: t.admin,
3357
3359
  locale: t.locale,
@@ -3363,7 +3365,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3363
3365
  onDestinations: E[1] || (E[1] = (k) => c.value = k.filter((T) => T.status === "active"))
3364
3366
  }, {
3365
3367
  default: n(() => [
3366
- x.value ? (l(), b(e(j), {
3368
+ x.value ? (l(), g(e(j), {
3367
3369
  key: 0,
3368
3370
  tone: "danger",
3369
3371
  role: "alert"
@@ -3372,14 +3374,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3372
3374
  h(s(e(Ye)(x.value, u.value, "save", t.locale, t.ctx?.displayName)), 1)
3373
3375
  ]),
3374
3376
  _: 1
3375
- })) : g("", !0),
3376
- t.sampleSave && c.value.length ? (l(), $("div", Mn, [
3377
- S("p", Kn, s(u.value.exampleHelp), 1),
3378
- S("div", Hn, [
3379
- (l(!0), $(oe, null, ge(c.value, (k) => (l(), b(e(V), {
3377
+ })) : b("", !0),
3378
+ t.sampleSave && c.value.length ? (l(), $("div", Kn, [
3379
+ S("p", Hn, s(u.value.exampleHelp), 1),
3380
+ S("div", Xn, [
3381
+ (l(!0), $(oe, null, ge(c.value, (k) => (l(), g(e(V), {
3380
3382
  key: k.key,
3381
3383
  variant: "secondary",
3382
- disabled: f.value,
3384
+ disabled: p.value,
3383
3385
  onClick: (T) => P(k.key)
3384
3386
  }, {
3385
3387
  default: n(() => [
@@ -3388,33 +3390,33 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3388
3390
  _: 2
3389
3391
  }, 1032, ["disabled", "onClick"]))), 128))
3390
3392
  ])
3391
- ])) : g("", !0)
3393
+ ])) : b("", !0)
3392
3394
  ]),
3393
3395
  _: 1
3394
3396
  }, 8, ["sdk", "admin", "locale", "title", "picker", "ctx", "picker-error-text"])
3395
3397
  ]));
3396
3398
  }
3397
- }), go = /* @__PURE__ */ me(Xn, [["__scopeId", "data-v-05618cb8"]]);
3398
- function Wn(t) {
3399
- const { code: p, message: o } = t ?? {};
3400
- return !!Be(t) || typeof p == "string" && ["APP_DENIED", "PERMISSION_DENIED", "cross_origin", "origin_required"].includes(p) || p === "bad_response" && /HTTP 40[13]\b/.test(String(o));
3399
+ }), ho = /* @__PURE__ */ me(Wn, [["__scopeId", "data-v-05618cb8"]]);
3400
+ function Gn(t) {
3401
+ const { code: m, message: o } = t ?? {};
3402
+ return !!Be(t) || typeof m == "string" && ["APP_DENIED", "PERMISSION_DENIED", "cross_origin", "origin_required"].includes(m) || m === "bad_response" && /HTTP 40[13]\b/.test(String(o));
3401
3403
  }
3402
3404
  const Ka = /* @__PURE__ */ Symbol("authorization");
3403
- function Gn() {
3405
+ function Jn() {
3404
3406
  const t = Ee(Ka, void 0);
3405
3407
  if (!t) throw Error("authorization controls must be placed inside AuthorizationGate");
3406
3408
  return t;
3407
3409
  }
3408
- const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authorization-state"], Qn = { class: "authorization-body" }, Zn = /* @__PURE__ */ fe({
3410
+ const Yn = { class: "authorization-content" }, Qn = ["aria-busy", "data-authorization-state"], Zn = { class: "authorization-body" }, jn = /* @__PURE__ */ fe({
3409
3411
  __name: "AuthorizationGate",
3410
3412
  props: {
3411
3413
  ctx: {},
3412
3414
  name: {}
3413
3415
  },
3414
3416
  emits: ["ready"],
3415
- setup(t, { emit: p }) {
3416
- const o = t, a = p, i = y(), u = y(), r = y(!1), c = y(!1), m = y(!1), d = _t();
3417
- let f = [], x = !1, P = 0, w = !1, C, E = 0, k;
3417
+ setup(t, { emit: m }) {
3418
+ const o = t, a = m, i = y(), u = y(), r = y(!1), c = y(!1), f = y(!1), d = _t();
3419
+ let p = [], x = !1, P = 0, w = !1, C, E = 0, k;
3418
3420
  const T = _(() => ja(o.ctx.locale, o.name ?? o.ctx.displayName ?? "")), N = _(() => i.value || u.value), te = _(() => N.value?.state === "authorization_required"), F = _(() => ["helper_untrusted", "cli_untrusted"].includes(N.value?.reason || "")), Y = _(() => te.value && !F.value), B = _(() => N.value?.state === "unavailable" ? Ce(N.value) : void 0), K = _(() => B.value ?? { credential_not_ready: "credential", access_denied: "denied", check_failed: "config" }[N.value?.reason ?? ""] ?? "unavailable"), L = _(() => da({ code: N.value?.reason }, o.ctx.locale, o.name ?? o.ctx.displayName)), R = _(() => L.value?.title ?? (N.value ? te.value ? T.value("title") : N.value.state === "ready" ? T.value("ready") : N.value.state === "not_admin" ? T.value("not_admin.title") : N.value.state === "session_expired" ? T.value("session_expired.title") : T.value(K.value + ".title") : T.value("checking"))), A = _(() => L.value?.message ?? (te.value ? T.value("purpose") : N.value?.state === "not_admin" ? T.value("not_admin.body") : N.value?.state === "session_expired" ? T.value("session_expired.body") : N.value?.state === "unavailable" ? T.value(K.value + ".body") : T.value("purpose"))), q = ["grant_missing", "upgrade_reapproval", "helper_untrusted", "cli_untrusted", "grant_incompatible", "package_identity_changed", "maintenance_task_missing", "maintenance_task_mismatch", "helper_health_rejected", "capability_missing"], M = _(() => q.includes(N.value?.reason || "") ? N.value.reason : "unknown"), se = _(() => F.value ? "next.reinstall" : M.value === "grant_missing" ? "next.install" : M.value === "upgrade_reapproval" || M.value === "grant_incompatible" ? "next.update" : "next.repair");
3419
3421
  function H(J) {
3420
3422
  if (!J || J.command !== "authorization" || J.schema_version !== 1 || !["ready", "authorization_required", "not_admin", "session_expired", "unavailable"].includes(J.state) || J.reason === "upgrade_reapproval" && J.state !== "authorization_required") throw Error("invalid status");
@@ -3423,7 +3425,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3423
3425
  const G = ["service_unavailable", "request_timeout", "request_canceled", "network", "app_unavailable", "internal", "auth_unavailable", "EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT", "EXECUTOR_PAUSED"];
3424
3426
  function le(J) {
3425
3427
  const { code: ie } = J ?? {}, ne = Ce(J);
3426
- return ne ? ne === "stopped" ? "APP_STOPPED" : "APP_STARTING" : ie === "credential_not_ready" ? ie : Be(J) ? Be(J) : Wn(J) ? "access_denied" : typeof ie == "string" && G.includes(ie) || ie === void 0 ? "service_unavailable" : "check_failed";
3428
+ return ne ? ne === "stopped" ? "APP_STOPPED" : "APP_STARTING" : ie === "credential_not_ready" ? ie : Be(J) ? Be(J) : Gn(J) ? "access_denied" : typeof ie == "string" && G.includes(ie) || ie === void 0 ? "service_unavailable" : "check_failed";
3427
3429
  }
3428
3430
  let re;
3429
3431
  function ee() {
@@ -3433,7 +3435,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3433
3435
  }
3434
3436
  const X = [1e3, 3e3];
3435
3437
  async function Q(J) {
3436
- const ie = J === "status" && !m.value ? X : [];
3438
+ const ie = J === "status" && !f.value ? X : [];
3437
3439
  for (let ne = 0; ; ne++) {
3438
3440
  try {
3439
3441
  const ye = H(await o.ctx.authorization?.[J]());
@@ -3451,22 +3453,22 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3451
3453
  try {
3452
3454
  const ne = await Q(J);
3453
3455
  if (x || ie !== P) return;
3454
- i.value = ne, m.value = ne.state !== "ready", ne.state === "ready" && he(!0), ne.state === "ready" && a("ready");
3456
+ i.value = ne, f.value = ne.state !== "ready", ne.state === "ready" && he(!0), ne.state === "ready" && a("ready");
3455
3457
  } catch (ne) {
3456
- !x && ie === P && (i.value = ne.code === "session_required" ? { command: "authorization", schema_version: 1, state: "session_expired", reason: "session_expired" } : u.value || { command: "authorization", schema_version: 1, state: "unavailable", reason: le(ne) }, c.value = !L.value && K.value === "unavailable", m.value = !0);
3458
+ !x && ie === P && (i.value = ne.code === "session_required" ? { command: "authorization", schema_version: 1, state: "session_expired", reason: "session_expired" } : u.value || { command: "authorization", schema_version: 1, state: "unavailable", reason: le(ne) }, c.value = !L.value && K.value === "unavailable", f.value = !0);
3457
3459
  } finally {
3458
3460
  !x && ie === P && (r.value = !1, u.value = void 0, w ? (w = !1, de("status")) : ee());
3459
3461
  }
3460
3462
  }
3461
3463
  function he(J) {
3462
- const ie = f;
3463
- f = [], ie.forEach((ne) => ne(J));
3464
+ const ie = p;
3465
+ p = [], ie.forEach((ne) => ne(J));
3464
3466
  }
3465
3467
  function Ae(J) {
3466
- m.value = J, J || he(!1);
3468
+ f.value = J, J || he(!1);
3467
3469
  }
3468
3470
  function _e() {
3469
- return i.value?.state === "ready" ? Promise.resolve(!0) : (r.value || (m.value = !0), new Promise((J) => f.push(J)));
3471
+ return i.value?.state === "ready" ? Promise.resolve(!0) : (r.value || (f.value = !0), new Promise((J) => p.push(J)));
3470
3472
  }
3471
3473
  return Le(Ka, { state: _(() => i.value?.state ?? "checking"), requireAuthorization: _e, text: T, busy: r, canManage: () => !!o.ctx.authorization?.canManage?.(), revoke: () => de("revoke") }), Se(() => {
3472
3474
  k = o.ctx.reopen(() => {
@@ -3475,17 +3477,16 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3475
3477
  }), Ra(() => {
3476
3478
  x = !0, P++, clearTimeout(C), he(!1), typeof k == "function" && k();
3477
3479
  }), (J, ie) => (l(), $(oe, null, [
3478
- S("div", Jn, [
3480
+ S("div", Yn, [
3479
3481
  be(J.$slots, "default", {}, void 0, !0)
3480
3482
  ]),
3481
3483
  v(e(Ge), {
3482
- open: m.value && !e(d),
3484
+ open: f.value && !e(d),
3483
3485
  title: R.value,
3484
- width: "480px",
3485
3486
  "onUpdate:open": Ae
3486
3487
  }, {
3487
3488
  footer: n(() => [
3488
- Y.value ? (l(), b(e(V), {
3489
+ Y.value ? (l(), g(e(V), {
3489
3490
  key: 0,
3490
3491
  variant: "primary",
3491
3492
  loading: r.value,
@@ -3496,7 +3497,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3496
3497
  h(s(r.value ? T.value("authorizing") : T.value("authorize")), 1)
3497
3498
  ]),
3498
3499
  _: 1
3499
- }, 8, ["loading", "disabled"])) : (l(), b(e(V), {
3500
+ }, 8, ["loading", "disabled"])) : (l(), g(e(V), {
3500
3501
  key: 1,
3501
3502
  variant: "primary",
3502
3503
  loading: r.value,
@@ -3515,8 +3516,8 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3515
3516
  "aria-busy": r.value,
3516
3517
  "data-authorization-state": i.value?.state || "checking"
3517
3518
  }, [
3518
- S("p", Qn, s(A.value), 1),
3519
- te.value ? (l(), b(e(j), {
3519
+ S("p", Zn, s(A.value), 1),
3520
+ te.value ? (l(), g(e(j), {
3520
3521
  key: 0,
3521
3522
  class: "authorization-status",
3522
3523
  tone: ["grant_missing", "upgrade_reapproval"].includes(M.value) ? "info" : "warning",
@@ -3526,8 +3527,8 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3526
3527
  h(s(T.value(se.value)), 1)
3527
3528
  ]),
3528
3529
  _: 1
3529
- }, 8, ["tone", "title"])) : g("", !0),
3530
- c.value ? (l(), b(e(j), {
3530
+ }, 8, ["tone", "title"])) : b("", !0),
3531
+ c.value ? (l(), g(e(j), {
3531
3532
  key: 1,
3532
3533
  class: "authorization-failed",
3533
3534
  tone: "warning"
@@ -3536,21 +3537,21 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3536
3537
  h(s(T.value("failed")), 1)
3537
3538
  ]),
3538
3539
  _: 1
3539
- })) : g("", !0)
3540
- ], 8, Yn)
3540
+ })) : b("", !0)
3541
+ ], 8, Qn)
3541
3542
  ]),
3542
3543
  _: 1
3543
3544
  }, 8, ["open", "title"])
3544
3545
  ], 64));
3545
3546
  }
3546
- }), ho = /* @__PURE__ */ me(Zn, [["__scopeId", "data-v-3e998887"]]), jn = { class: "authorization-setting" }, eo = {
3547
+ }), ko = /* @__PURE__ */ me(jn, [["__scopeId", "data-v-42db0617"]]), eo = { class: "authorization-setting" }, ao = {
3547
3548
  class: "authorization-state",
3548
3549
  role: "status"
3549
- }, ao = { class: "authorization-revoke-body" }, to = /* @__PURE__ */ fe({
3550
+ }, to = { class: "authorization-revoke-body" }, lo = /* @__PURE__ */ fe({
3550
3551
  __name: "AuthorizationSettings",
3551
3552
  setup(t) {
3552
- const { state: p, requireAuthorization: o, text: a, busy: i, canManage: u, revoke: r } = Gn(), c = y(!1), m = { checking: "checking", ready: "ready", authorization_required: "state.required", not_admin: "not_admin.title", session_expired: "session_expired.title", unavailable: "state.unavailable" };
3553
- return (d, f) => (l(), $(oe, null, [
3553
+ const { state: m, requireAuthorization: o, text: a, busy: i, canManage: u, revoke: r } = Jn(), c = y(!1), f = { checking: "checking", ready: "ready", authorization_required: "state.required", not_admin: "not_admin.title", session_expired: "session_expired.title", unavailable: "state.unavailable" };
3554
+ return (d, p) => (l(), $(oe, null, [
3554
3555
  v(e(ke), {
3555
3556
  title: e(a)("settings.title"),
3556
3557
  collapsible: !1
@@ -3562,35 +3563,35 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3562
3563
  align: "center"
3563
3564
  }, {
3564
3565
  default: n(() => [
3565
- S("div", jn, [
3566
- S("span", eo, [
3567
- e(p) === "ready" ? (l(), b(e(Ia), {
3566
+ S("div", eo, [
3567
+ S("span", ao, [
3568
+ e(m) === "ready" ? (l(), g(e(Ia), {
3568
3569
  key: 0,
3569
3570
  size: 16,
3570
3571
  "aria-hidden": "true"
3571
- })) : g("", !0),
3572
- h(s(e(a)(m[e(p)])), 1)
3572
+ })) : b("", !0),
3573
+ h(s(e(a)(f[e(m)])), 1)
3573
3574
  ]),
3574
- e(p) === "ready" && e(u)() ? (l(), b(e(V), {
3575
+ e(m) === "ready" && e(u)() ? (l(), g(e(V), {
3575
3576
  key: 0,
3576
3577
  variant: "secondary",
3577
3578
  disabled: e(i),
3578
- onClick: f[0] || (f[0] = (x) => c.value = !0)
3579
+ onClick: p[0] || (p[0] = (x) => c.value = !0)
3579
3580
  }, {
3580
3581
  default: n(() => [
3581
3582
  h(s(e(a)("revoke")), 1)
3582
3583
  ]),
3583
3584
  _: 1
3584
- }, 8, ["disabled"])) : e(p) !== "ready" && e(p) !== "checking" ? (l(), b(e(V), {
3585
+ }, 8, ["disabled"])) : e(m) !== "ready" && e(m) !== "checking" ? (l(), g(e(V), {
3585
3586
  key: 1,
3586
3587
  variant: "secondary",
3587
- onClick: f[1] || (f[1] = (x) => e(o)())
3588
+ onClick: p[1] || (p[1] = (x) => e(o)())
3588
3589
  }, {
3589
3590
  default: n(() => [
3590
3591
  h(s(e(a)("settings.details")), 1)
3591
3592
  ]),
3592
3593
  _: 1
3593
- })) : g("", !0)
3594
+ })) : b("", !0)
3594
3595
  ])
3595
3596
  ]),
3596
3597
  _: 1
@@ -3600,14 +3601,13 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3600
3601
  }, 8, ["title"]),
3601
3602
  v(e(Ge), {
3602
3603
  open: c.value,
3603
- "onUpdate:open": f[4] || (f[4] = (x) => c.value = x),
3604
- title: e(a)("revoke.title"),
3605
- width: "480px"
3604
+ "onUpdate:open": p[4] || (p[4] = (x) => c.value = x),
3605
+ title: e(a)("revoke.title")
3606
3606
  }, {
3607
3607
  footer: n(() => [
3608
3608
  v(e(V), {
3609
3609
  variant: "secondary",
3610
- onClick: f[2] || (f[2] = (x) => c.value = !1)
3610
+ onClick: p[2] || (p[2] = (x) => c.value = !1)
3611
3611
  }, {
3612
3612
  default: n(() => [
3613
3613
  h(s(e(a)("cancel")), 1)
@@ -3617,7 +3617,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3617
3617
  v(e(V), {
3618
3618
  variant: "danger",
3619
3619
  disabled: e(i),
3620
- onClick: f[3] || (f[3] = (x) => {
3620
+ onClick: p[3] || (p[3] = (x) => {
3621
3621
  c.value = !1, e(r)();
3622
3622
  })
3623
3623
  }, {
@@ -3628,97 +3628,97 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3628
3628
  }, 8, ["disabled"])
3629
3629
  ]),
3630
3630
  default: n(() => [
3631
- S("p", ao, s(e(a)("revoke.body")), 1)
3631
+ S("p", to, s(e(a)("revoke.body")), 1)
3632
3632
  ]),
3633
3633
  _: 1
3634
3634
  }, 8, ["open", "title"])
3635
3635
  ], 64));
3636
3636
  }
3637
- }), ko = /* @__PURE__ */ me(to, [["__scopeId", "data-v-f031e7c7"]]);
3637
+ }), wo = /* @__PURE__ */ me(lo, [["__scopeId", "data-v-fc7dce79"]]);
3638
3638
  export {
3639
- uo as AppShell,
3640
- ho as AuthorizationGate,
3641
- ko as AuthorizationSettings,
3642
- mo as BackgroundPanel,
3643
- go as BackgroundSavePanel,
3644
- Fn as BackgroundSaveSettings,
3645
- xo as DEFAULT_REQUEST_TIMEOUT,
3646
- bo as DelegatePanel,
3647
- yo as ExecutorApproval,
3648
- al as ExecutorNotice,
3639
+ ro as AppShell,
3640
+ ko as AuthorizationGate,
3641
+ wo as AuthorizationSettings,
3642
+ yo as BackgroundPanel,
3643
+ ho as BackgroundSavePanel,
3644
+ qn as BackgroundSaveSettings,
3645
+ Co as DEFAULT_REQUEST_TIMEOUT,
3646
+ go as DelegatePanel,
3647
+ bo as ExecutorApproval,
3648
+ tl as ExecutorNotice,
3649
3649
  Ua as ExecutorPreloadKey,
3650
3650
  La as ExecutorSettings,
3651
3651
  We as ExecutorSetupKey,
3652
- Co as FILE_STATION_APP,
3652
+ $o as FILE_STATION_APP,
3653
3653
  Ma as FileBrowser,
3654
- vo as FilesPage,
3655
- $o as LIFECYCLE_RETRY_MAX_MS,
3656
- So as LIFECYCLE_STARTING_RETRY_MAX_MS,
3657
- po as LoginPage,
3654
+ fo as FilesPage,
3655
+ So as LIFECYCLE_RETRY_MAX_MS,
3656
+ Po as LIFECYCLE_STARTING_RETRY_MAX_MS,
3657
+ mo as LoginPage,
3658
3658
  ta as NasPicker,
3659
- ro as PageActions,
3659
+ co as PageActions,
3660
3660
  Oa as PageActionsTarget,
3661
- co as PageInfo,
3661
+ vo as PageInfo,
3662
3662
  Fa as PageInfoTarget,
3663
- fo as PortalSettings,
3664
- Po as activePage,
3663
+ po as PortalSettings,
3664
+ Eo as activePage,
3665
3665
  Be as appDenial,
3666
3666
  Ce as appLifecycle,
3667
3667
  da as appRefusal,
3668
- Eo as authorizationCatalogs,
3668
+ To as authorizationCatalogs,
3669
3669
  ja as authorizationCopy,
3670
- To as backgroundCatalogs,
3670
+ zo as backgroundCatalogs,
3671
3671
  Wa as backgroundCopy,
3672
3672
  Ja as backgroundErrorCopy,
3673
- zo as bridgeCatalogs,
3674
- Ao as bridgeErrorCopy,
3675
- Ro as catalogs,
3676
- Io as clientTimeout,
3673
+ Ao as bridgeCatalogs,
3674
+ Ro as bridgeErrorCopy,
3675
+ Io as catalogs,
3676
+ Do as clientTimeout,
3677
3677
  Ga as createBackgroundPickerProvider,
3678
- Do as createBackgroundSaveFacade,
3679
- Uo as createDsmSession,
3680
- Vo as createFileTransfers,
3678
+ Uo as createBackgroundSaveFacade,
3679
+ Vo as createDsmSession,
3680
+ No as createFileTransfers,
3681
3681
  Pa as createNasProvider,
3682
- No as createPortalAccess,
3683
- io as createSession,
3684
- Bo as createStandaloneContext,
3685
- Lo as createStandaloneHost,
3686
- Oo as decodeResponse,
3687
- Fo as delegateCatalogs,
3682
+ Bo as createPortalAccess,
3683
+ uo as createSession,
3684
+ Lo as createStandaloneContext,
3685
+ Oo as createStandaloneHost,
3686
+ Fo as decodeResponse,
3687
+ qo as delegateCatalogs,
3688
3688
  Ve as delegateCopy,
3689
- qo as encodeRequest,
3689
+ Mo as encodeRequest,
3690
3690
  Qa as errorCopy,
3691
- Mo as fileStationPath,
3691
+ Ko as fileStationPath,
3692
3692
  Je as format,
3693
- Ko as identityCatalogs,
3693
+ Ho as identityCatalogs,
3694
3694
  Xa as identityCopy,
3695
3695
  $a as isFullPage,
3696
3696
  Ea as labelSeparator,
3697
3697
  Ne as lifecycleCopy,
3698
3698
  Ya as lifecycleRefusal,
3699
3699
  ca as lifecycleRetryDelay,
3700
- Ho as mergeCatalogs,
3701
- Xo as nasCatalogs,
3700
+ Xo as mergeCatalogs,
3701
+ Wo as nasCatalogs,
3702
3702
  Te as nasCopy,
3703
3703
  Sa as nasErrorCopy,
3704
- Wo as openFileInFileStation,
3705
- Go as openFolderInFileStation,
3706
- Jo as portalCatalogs,
3707
- Yo as portalMessages,
3708
- Qo as protocolCodes,
3709
- Zo as protocolOps,
3710
- jo as protocolSchemas,
3704
+ Go as openFileInFileStation,
3705
+ Jo as openFolderInFileStation,
3706
+ Yo as portalCatalogs,
3707
+ Qo as portalMessages,
3708
+ Zo as protocolCodes,
3709
+ jo as protocolOps,
3710
+ es as protocolSchemas,
3711
3711
  ba as requestKey,
3712
- es as saveCatalogs,
3712
+ as as saveCatalogs,
3713
3713
  fa as saveCopy,
3714
3714
  Ye as saveError,
3715
3715
  Za as scopedPicker,
3716
- as as shellCatalogs,
3716
+ ts as shellCatalogs,
3717
3717
  sa as shellCopy,
3718
- ts as shellPages,
3718
+ ls as shellPages,
3719
3719
  va as uiLocale,
3720
- ls as uiLocales,
3721
- Gn as useAuthorization,
3720
+ ns as uiLocales,
3721
+ Jn as useAuthorization,
3722
3722
  _t as useExecutorPreload,
3723
3723
  Va as useExecutorSetup,
3724
3724
  $t as useNasRequest