@beeintel/batch-image 1.2.0 → 1.2.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.
Files changed (35) hide show
  1. package/dist/chunks/{AdjustToolPanel-JuZOeF1k.js → AdjustToolPanel-CF1xOPjp.js} +2 -2
  2. package/dist/chunks/{BackgroundToolPanel-NAH0gwan.js → BackgroundToolPanel-DcXgWXpO.js} +3 -3
  3. package/dist/chunks/{BatchMaterials-G2YYHu2n.js → BatchMaterials-DdAZgbyJ.js} +1 -1
  4. package/dist/chunks/{BatchModeChoices-Du-SOWOC.js → BatchModeChoices-D4ja8fko.js} +1 -1
  5. package/dist/chunks/{BatchOutputColorPicker-BsX8fDgK.js → BatchOutputColorPicker-CKgKjnPM.js} +1 -1
  6. package/dist/chunks/{BatchReferenceFields-DroXLmsO.js → BatchReferenceFields-CqgKGNLc.js} +3 -3
  7. package/dist/chunks/{BeautifyToolPanel-DQSkssvi.js → BeautifyToolPanel-QCRupUTh.js} +4 -4
  8. package/dist/chunks/{BrandMarkToolPanel-BIF_KhE5.js → BrandMarkToolPanel-B6rWtH5d.js} +3 -3
  9. package/dist/chunks/{ContentTrimControl-B-2aFBP0.js → ContentTrimControl-2c6CP_3D.js} +1 -1
  10. package/dist/chunks/{CropToolPanel-C75_UWJ8.js → CropToolPanel-i5wsHGDo.js} +3 -3
  11. package/dist/chunks/{CutoutToolPanel-SerddJYR.js → CutoutToolPanel-CZT9wk4_.js} +4 -4
  12. package/dist/chunks/{DisclosureToolPanel-CZAb3aD1.js → DisclosureToolPanel-CVC7xaUA.js} +2 -2
  13. package/dist/chunks/{ExpandToolPanel-LNL_pq7e.js → ExpandToolPanel-SnxlUxWY.js} +2 -2
  14. package/dist/chunks/{ImageEffectsToolPanel-DNbpno1P.js → ImageEffectsToolPanel-Ba2yJ-G5.js} +3 -3
  15. package/dist/chunks/{IpAuditToolPanel-_Kn3ogos.js → IpAuditToolPanel-DE_g6RVV.js} +2 -2
  16. package/dist/chunks/{ListingToolPanel-B5Hl18nG.js → ListingToolPanel-CvCN0aE5.js} +3 -3
  17. package/dist/chunks/{MaterialSelectionPlate-jDE8hec7.js → MaterialSelectionPlate-Dl21K0rH.js} +1 -1
  18. package/dist/chunks/{MetadataToolPanel-CCpL5G9d.js → MetadataToolPanel-Dpa0WfXK.js} +2 -2
  19. package/dist/chunks/{OrientToolPanel-BJhAc1hU.js → OrientToolPanel-cGco7-DG.js} +2 -2
  20. package/dist/chunks/{PluginActionFooter.vue_vue_type_script_setup_true_lang-BqwHbNNa.js → PluginActionFooter.vue_vue_type_script_setup_true_lang-BntgnMfA.js} +2 -2
  21. package/dist/chunks/{ResizeToolPanel-Cn0chMaX.js → ResizeToolPanel-Deku7bqI.js} +6 -6
  22. package/dist/chunks/{RetouchToolPanel-B-C2vU85.js → RetouchToolPanel-BNbgC0MG.js} +3 -3
  23. package/dist/chunks/{ShadowToolPanel-CKZMgpNb.js → ShadowToolPanel-BrnUmfk3.js} +2 -2
  24. package/dist/chunks/{SvgExportToolPanel-Bnh5bcst.js → SvgExportToolPanel-O8Zl7zHb.js} +2 -2
  25. package/dist/chunks/{TranslationToolPanel-8SddGK7x.js → TranslationToolPanel-DdtT5oAB.js} +2 -2
  26. package/dist/chunks/{UpscaleToolPanel-BerqoX0B.js → UpscaleToolPanel-CshRGB2T.js} +3 -3
  27. package/dist/chunks/{arrow-up-D2gMUXae.js → arrow-up-BdahKzw9.js} +1 -1
  28. package/dist/chunks/{entry-D43rPO3k.js → entry-iDTq3x7n.js} +499 -498
  29. package/dist/chunks/{loader-circle-CPbCP_og.js → loader-circle-DImA7y7F.js} +1 -1
  30. package/dist/chunks/{motionFeatures-CtNuOAaT.js → motionFeatures-cthZ6di3.js} +1 -1
  31. package/dist/chunks/{search-BRWGm1i8.js → search-8TznZ4ot.js} +1 -1
  32. package/dist/index.js +1 -1
  33. package/dist/resources.json +66 -66
  34. package/dist/style.css +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { effectScope as _d, ref as U, markRaw as vd, hasInjectionContext as Hr, inject as Yo, reactive as _c, isRef as Qr, isReactive as wd, toRaw as at, getCurrentScope as Cp, onScopeDispose as ra, watch as Pe, nextTick as mo, toRefs as Gb, computed as $, shallowRef as _t, defineComponent as eo, h as pt, getCurrentInstance as dl, Fragment as Fe, onMounted as It, onUnmounted as Oo, createVNode as le, Text as Ub, openBlock as k, createElementBlock as x, createElementVNode as P, useId as or, unref as c, createBlock as ke, normalizeClass as Je, createCommentVNode as O, renderList as _o, toDisplayString as C, provide as Ri, renderSlot as ba, useAttrs as $b, onBeforeUnmount as ml, onDeactivated as qb, onActivated as Wb, onBeforeUpdate as Hb, onUpdated as Kb, Comment as Xb, mergeProps as Ea, cloneVNode as Zb, resolveDynamicComponent as qi, Transition as ul, TransitionGroup as Jb, withCtx as Se, readonly as Ip, shallowReactive as Yb, normalizeStyle as Io, withModifiers as Ko, createTextVNode as Ve, onBeforeMount as Qb, triggerRef as Am, withKeys as Qa, withDirectives as pa, vModelText as xp, vModelCheckbox as Sm, Teleport as Aa, defineAsyncComponent as Ap, KeepAlive as eh, createStaticVNode as oh, vShow as On, vModelSelect as th, normalizeProps as ah, guardReactiveProps as rh, createApp as Em } from "vue";
1
+ import { effectScope as _d, ref as U, markRaw as vd, hasInjectionContext as Hr, inject as Yo, reactive as _c, isRef as Qr, isReactive as wd, toRaw as at, getCurrentScope as Cp, onScopeDispose as ra, watch as Pe, nextTick as mo, toRefs as Gb, computed as $, shallowRef as _t, defineComponent as eo, h as pt, getCurrentInstance as dl, Fragment as Fe, onMounted as It, onUnmounted as Oo, createVNode as le, Text as Ub, openBlock as k, createElementBlock as x, createElementVNode as P, useId as or, unref as c, createBlock as ke, normalizeClass as Je, createCommentVNode as V, renderList as _o, toDisplayString as C, provide as Ri, renderSlot as ba, useAttrs as $b, onBeforeUnmount as ml, onDeactivated as qb, onActivated as Wb, onBeforeUpdate as Hb, onUpdated as Kb, Comment as Xb, mergeProps as Ea, cloneVNode as Zb, resolveDynamicComponent as qi, Transition as ul, TransitionGroup as Jb, withCtx as Se, readonly as Ip, shallowReactive as Yb, normalizeStyle as Io, withModifiers as Ko, createTextVNode as Ve, onBeforeMount as Qb, triggerRef as Am, withKeys as Qa, withDirectives as pa, vModelText as xp, vModelCheckbox as Sm, Teleport as Aa, defineAsyncComponent as Ap, KeepAlive as eh, createStaticVNode as oh, vShow as On, vModelSelect as th, normalizeProps as ah, guardReactiveProps as rh, createApp as Em } from "vue";
2
2
  import { p as Ws, s as Hs, i as pl, n as ct, c as Mo, M as nh, a as Kl, g as ih, b as sh, d as lh, A as He, D as Rm, v as Ti, e as Ks, f as Tm, h as ch, j as tr, k as Fn, l as Pr, m as dh, o as Xs, r as Rn, q as yd, t as se, u as Co, w as Xt, x as xi, y as Bn, z as fa, B as Li, U as mh, C as Jo, E as Sp, F as Wi, G as uh, H as Ep, I as ph, J as Mi, K as fh, L as Jt, N as Kr, O as gh, P as bh, Q as en, R as fl, S as Zs, T as Rp, V as Tp, W as kd, X as Lp, Y as hh, Z as _h, _ as Os, $ as Mp, a0 as Pd, a1 as Lm, a2 as vh, a3 as Mm, a4 as wh, a5 as yh, a6 as Gr, a7 as ma, a8 as kh, a9 as Dn, aa as zs, ab as jm, ac as Ph, ad as zh, ae as vc, af as Dh, ag as Ch, ah as Ih, ai as Ds, aj as xh, ak as Ah, al as Sh, am as Eh, an as Rh, ao as zd, ap as Dd, aq as jp, ar as Th, as as Vp, at as Op, au as Vm, av as Lh, aw as Om, ax as Mh, ay as jh, az as Vh, aA as Fp, aB as Oh, aC as Bp } from "./hosted-resources-B1fvKmJ_.js";
3
3
  function Nn(e) {
4
4
  if (e && typeof e == "object" && !Object.isFrozen(e)) {
@@ -95,12 +95,12 @@ function Up(e, o, t = {}, a, r, n) {
95
95
  !n && !w && (a.state.value[e] = {});
96
96
  let m;
97
97
  function z(I) {
98
- let V;
99
- d = u = !1, typeof I == "function" ? (I(a.state.value[e]), V = {
98
+ let O;
99
+ d = u = !1, typeof I == "function" ? (I(a.state.value[e]), O = {
100
100
  type: "patch function",
101
101
  storeId: e,
102
102
  events: b
103
- }) : (yc(a.state.value[e], I), V = {
103
+ }) : (yc(a.state.value[e], I), O = {
104
104
  type: "patch object",
105
105
  payload: I,
106
106
  storeId: e,
@@ -109,10 +109,10 @@ function Up(e, o, t = {}, a, r, n) {
109
109
  const j = m = Symbol();
110
110
  mo().then(() => {
111
111
  m === j && (d = !0);
112
- }), u = !0, Cn(p, V, a.state.value[e]);
112
+ }), u = !0, Cn(p, O, a.state.value[e]);
113
113
  }
114
114
  const _ = n ? function() {
115
- const { state: V } = t, j = V ? V() : {};
115
+ const { state: O } = t, j = O ? O() : {};
116
116
  this.$patch((J) => {
117
117
  pr(J, j);
118
118
  });
@@ -120,9 +120,9 @@ function Up(e, o, t = {}, a, r, n) {
120
120
  function f() {
121
121
  i.stop(), p.clear(), h.clear(), a._s.delete(e);
122
122
  }
123
- const v = (I, V = "") => {
123
+ const v = (I, O = "") => {
124
124
  if (Nm in I)
125
- return I[Xl] = V, I;
125
+ return I[Xl] = O, I;
126
126
  const j = function() {
127
127
  gl(a);
128
128
  const J = Array.from(arguments), M = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set();
@@ -147,23 +147,23 @@ function Up(e, o, t = {}, a, r, n) {
147
147
  }
148
148
  return ne instanceof Promise ? ne.then((he) => (Cn(M, he), he)).catch((he) => (Cn(R, he), Promise.reject(he))) : (Cn(M, ne), ne);
149
149
  };
150
- return j[Nm] = !0, j[Xl] = V, j;
150
+ return j[Nm] = !0, j[Xl] = O, j;
151
151
  }, y = {
152
152
  _p: a,
153
153
  $id: e,
154
154
  $onAction: Bm.bind(null, h),
155
155
  $patch: z,
156
156
  $reset: _,
157
- $subscribe(I, V = {}) {
157
+ $subscribe(I, O = {}) {
158
158
  if (p.has(I))
159
159
  return wc;
160
- const j = Bm(p, I, V.detached, () => J()), J = i.run(() => Pe(() => a.state.value[e], (M) => {
161
- (V.flush === "sync" ? u : d) && I({
160
+ const j = Bm(p, I, O.detached, () => J()), J = i.run(() => Pe(() => a.state.value[e], (M) => {
161
+ (O.flush === "sync" ? u : d) && I({
162
162
  storeId: e,
163
163
  type: "direct",
164
164
  events: b
165
165
  }, M);
166
- }, pr({}, l, V)));
166
+ }, pr({}, l, O)));
167
167
  return j;
168
168
  },
169
169
  $dispose: f
@@ -171,24 +171,24 @@ function Up(e, o, t = {}, a, r, n) {
171
171
  a._s.set(e, S);
172
172
  const F = (a._a && a._a.runWithContext || Bh)(() => a._e.run(() => (i = _d()).run(() => o({ action: v }))));
173
173
  for (const I in F) {
174
- const V = F[I];
175
- Qr(V) && !Uh(V) || wd(V) ? n || (w && Gh(V) && (Qr(V) ? V.value = w[I] : ((V instanceof Set || V instanceof Map) && V.clear(), yc(V, w[I]))), a.state.value[e][I] = V) : typeof V == "function" && (F[I] = v(V, I), s.actions[I] = V);
174
+ const O = F[I];
175
+ Qr(O) && !Uh(O) || wd(O) ? n || (w && Gh(O) && (Qr(O) ? O.value = w[I] : ((O instanceof Set || O instanceof Map) && O.clear(), yc(O, w[I]))), a.state.value[e][I] = O) : typeof O == "function" && (F[I] = v(O, I), s.actions[I] = O);
176
176
  }
177
177
  return pr(S, F), pr(at(S), F), Object.defineProperty(S, "$state", {
178
178
  get: () => a.state.value[e],
179
179
  set: (I) => {
180
- z((V) => {
181
- pr(V, I);
180
+ z((O) => {
181
+ pr(O, I);
182
182
  });
183
183
  }
184
184
  }), a._p.forEach((I) => {
185
- const V = i.run(() => I({
185
+ const O = i.run(() => I({
186
186
  store: S,
187
187
  app: a._a,
188
188
  pinia: a,
189
189
  options: s
190
190
  }));
191
- pr(S, V);
191
+ pr(S, O);
192
192
  }), w && n && t.hydrate && t.hydrate(S.$state, w), d = !0, u = !0, S;
193
193
  }
194
194
  /*! #__NO_SIDE_EFFECTS__ */
@@ -13661,7 +13661,7 @@ function s0(e, o = {}) {
13661
13661
  const Re = _(q.currentPeek());
13662
13662
  return q.resetPeek(), Re;
13663
13663
  }
13664
- function V(q, W) {
13664
+ function O(q, W) {
13665
13665
  const { currentType: pe } = W;
13666
13666
  if (!(pe === 7 || pe === 11))
13667
13667
  return !1;
@@ -13916,7 +13916,7 @@ function s0(e, o = {}) {
13916
13916
  /* TokenChars.LinkedDelimiter */
13917
13917
  );
13918
13918
  default:
13919
- return J(q) ? (Re = h(W, 1, po(q)), W.braceNest = 0, W.inLinked = !1, Re) : F(q, W) || V(q, W) ? (z(q), vo(q, W)) : I(q, W) ? (z(q), h(W, 11, Ke(q))) : j(q, W) ? (z(q), De === "{" ? no(q, W) || Re : h(W, 10, oo(q))) : (pe === 7 && p(To.INVALID_LINKED_FORMAT, n(), 0), W.braceNest = 0, W.inLinked = !1, So(q, W));
13919
+ return J(q) ? (Re = h(W, 1, po(q)), W.braceNest = 0, W.inLinked = !1, Re) : F(q, W) || O(q, W) ? (z(q), vo(q, W)) : I(q, W) ? (z(q), h(W, 11, Ke(q))) : j(q, W) ? (z(q), De === "{" ? no(q, W) || Re : h(W, 10, oo(q))) : (pe === 7 && p(To.INVALID_LINKED_FORMAT, n(), 0), W.braceNest = 0, W.inLinked = !1, So(q, W));
13920
13920
  }
13921
13921
  }
13922
13922
  function So(q, W) {
@@ -13987,11 +13987,11 @@ function p0(e = {}) {
13987
13987
  function a(_, f, v, y, ...S) {
13988
13988
  const F = _.currentPosition();
13989
13989
  if (F.offset += y, F.column += y, t) {
13990
- const I = o ? xc(v, F) : null, V = hl(f, I, {
13990
+ const I = o ? xc(v, F) : null, O = hl(f, I, {
13991
13991
  domain: l0,
13992
13992
  args: S
13993
13993
  });
13994
- t(V);
13994
+ t(O);
13995
13995
  }
13996
13996
  }
13997
13997
  function r(_, f, v) {
@@ -14089,8 +14089,8 @@ function p0(e = {}) {
14089
14089
  }
14090
14090
  }
14091
14091
  } while (f.currentType !== 13 && f.currentType !== 1);
14092
- const I = f.currentType === 1 ? f.lastOffset : _.currentOffset(), V = f.currentType === 1 ? f.lastEndLoc : _.currentPosition();
14093
- return n(S, I, V), S;
14092
+ const I = f.currentType === 1 ? f.lastOffset : _.currentOffset(), O = f.currentType === 1 ? f.lastEndLoc : _.currentPosition();
14093
+ return n(S, I, O), S;
14094
14094
  }
14095
14095
  function w(_, f, v, y) {
14096
14096
  const S = _.context();
@@ -14098,8 +14098,8 @@ function p0(e = {}) {
14098
14098
  const I = r(1, f, v);
14099
14099
  I.cases = [], I.cases.push(y);
14100
14100
  do {
14101
- const V = b(_);
14102
- F || (F = V.items.length === 0), I.cases.push(V);
14101
+ const O = b(_);
14102
+ F || (F = O.items.length === 0), I.cases.push(O);
14103
14103
  } while (S.currentType !== 13);
14104
14104
  return F && a(_, To.MUST_HAVE_MESSAGES_IN_PLURAL, v, 0), n(I, _.currentOffset(), _.currentPosition()), I;
14105
14105
  }
@@ -14977,7 +14977,7 @@ const iu = (e) => {
14977
14977
  }, su = () => bf;
14978
14978
  let lu = 0;
14979
14979
  function rv(e = {}) {
14980
- const o = Ho(e.onWarn) ? e.onWarn : O_, t = Be(e.version) ? e.version : J0, a = Be(e.locale) || Ho(e.locale) ? e.locale : Oi, r = Ho(a) ? Oi : a, n = $o(e.fallbackLocale) || Lo(e.fallbackLocale) || Be(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, i = Lo(e.messages) ? e.messages : Yl(r), s = Lo(e.datetimeFormats) ? e.datetimeFormats : Yl(r), l = Lo(e.numberFormats) ? e.numberFormats : Yl(r), d = mt(jo(), e.modifiers, Y0()), u = e.pluralRules || jo(), p = Ho(e.missing) ? e.missing : null, h = xo(e.missingWarn) || Un(e.missingWarn) ? e.missingWarn : !0, b = xo(e.fallbackWarn) || Un(e.fallbackWarn) ? e.fallbackWarn : !0, w = !!e.fallbackFormat, m = !!e.unresolving, z = Ho(e.postTranslation) ? e.postTranslation : null, _ = Lo(e.processor) ? e.processor : null, f = xo(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, y = Ho(e.messageCompiler) ? e.messageCompiler : uf, S = Ho(e.messageResolver) ? e.messageResolver : pf || X0, F = Ho(e.localeFallbacker) ? e.localeFallbacker : ff || B0, I = zo(e.fallbackContext) ? e.fallbackContext : void 0, V = e, j = zo(V.__datetimeFormatters) ? V.__datetimeFormatters : /* @__PURE__ */ new Map(), J = zo(V.__numberFormatters) ? V.__numberFormatters : /* @__PURE__ */ new Map(), M = zo(V.__meta) ? V.__meta : {};
14980
+ const o = Ho(e.onWarn) ? e.onWarn : O_, t = Be(e.version) ? e.version : J0, a = Be(e.locale) || Ho(e.locale) ? e.locale : Oi, r = Ho(a) ? Oi : a, n = $o(e.fallbackLocale) || Lo(e.fallbackLocale) || Be(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, i = Lo(e.messages) ? e.messages : Yl(r), s = Lo(e.datetimeFormats) ? e.datetimeFormats : Yl(r), l = Lo(e.numberFormats) ? e.numberFormats : Yl(r), d = mt(jo(), e.modifiers, Y0()), u = e.pluralRules || jo(), p = Ho(e.missing) ? e.missing : null, h = xo(e.missingWarn) || Un(e.missingWarn) ? e.missingWarn : !0, b = xo(e.fallbackWarn) || Un(e.fallbackWarn) ? e.fallbackWarn : !0, w = !!e.fallbackFormat, m = !!e.unresolving, z = Ho(e.postTranslation) ? e.postTranslation : null, _ = Lo(e.processor) ? e.processor : null, f = xo(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, y = Ho(e.messageCompiler) ? e.messageCompiler : uf, S = Ho(e.messageResolver) ? e.messageResolver : pf || X0, F = Ho(e.localeFallbacker) ? e.localeFallbacker : ff || B0, I = zo(e.fallbackContext) ? e.fallbackContext : void 0, O = e, j = zo(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), J = zo(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), M = zo(O.__meta) ? O.__meta : {};
14981
14981
  lu++;
14982
14982
  const R = {
14983
14983
  version: t,
@@ -15204,9 +15204,9 @@ function pv(e = {}) {
15204
15204
  const [v, y] = f;
15205
15205
  let S = "text", F = "";
15206
15206
  f.length === 1 ? zo(v) ? (F = v.modifier || F, S = v.type || S) : Be(v) && (F = v || F) : f.length === 2 && (Be(v) && (F = v || F), Be(y) && (S = y || S));
15207
- const I = u(_, !0)(z), V = I === "" || I === void 0 ? _ : I, j = (
15207
+ const I = u(_, !0)(z), O = I === "" || I === void 0 ? _ : I, j = (
15208
15208
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
15209
- S === "vnode" && $o(V) && F ? V[0] : V
15209
+ S === "vnode" && $o(O) && F ? O[0] : O
15210
15210
  );
15211
15211
  return F ? p(F)(j, S) : j;
15212
15212
  },
@@ -15232,10 +15232,10 @@ function gu(e, ...o) {
15232
15232
  let F = !1;
15233
15233
  const I = () => {
15234
15234
  F = !0;
15235
- }, V = ta(y) ? y : Df(e, l, f, y, S, I);
15235
+ }, O = ta(y) ? y : Df(e, l, f, y, S, I);
15236
15236
  if (F)
15237
15237
  return y;
15238
- const j = hv(e, f, v, d), J = pv(j), M = gv(e, V, J);
15238
+ const j = hv(e, f, v, d), J = pv(j), M = gv(e, O, J);
15239
15239
  let R = a ? a(M, l) : M;
15240
15240
  if (h && Be(R) && (R = J_(R)), __INTLIFY_PROD_DEVTOOLS__) {
15241
15241
  const oe = {
@@ -15748,9 +15748,9 @@ function kv(e) {
15748
15748
  let w = e.messages;
15749
15749
  if (Lo(e.sharedMessages)) {
15750
15750
  const S = e.sharedMessages;
15751
- w = Object.keys(S).reduce((I, V) => {
15752
- const j = I[V] || (I[V] = {});
15753
- return mt(j, S[V]), I;
15751
+ w = Object.keys(S).reduce((I, O) => {
15752
+ const j = I[O] || (I[O] = {});
15753
+ return mt(j, S[O]), I;
15754
15754
  }, w || {});
15755
15755
  }
15756
15756
  const { __i18n: m, __root: z, __injectWithOption: _ } = e, f = e.datetimeFormats, v = e.numberFormats, y = e.flatJson;
@@ -17983,7 +17983,7 @@ const A1 = {
17983
17983
  execution: () => "task-api",
17984
17984
  defaultDrafts: () => ({ orient: { ...Rm } }),
17985
17985
  submission: (e) => ({ toolId: "orient", params: { ...Ti(e.orient) } }),
17986
- loadPanel: () => import("./OrientToolPanel-BJhAc1hU.js"),
17986
+ loadPanel: () => import("./OrientToolPanel-cGco7-DG.js"),
17987
17987
  createTaskAdapter: (e) => yt("orient", "1", "node", e)
17988
17988
  }, S1 = "" + new URL("../assets/flatlay-fold-B-CRYy87.webp", import.meta.url).href, E1 = "" + new URL("../assets/flatlay-open-Dzas8okC.webp", import.meta.url).href, R1 = "" + new URL("../assets/ghost-front-WFgA4sUo.webp", import.meta.url).href, T1 = "" + new URL("../assets/ghost-three-quarter-Rt8cXj34.webp", import.meta.url).href, L1 = "" + new URL("../assets/upscale-creative-DnZnQufJ.webp", import.meta.url).href, M1 = "" + new URL("../assets/upscale-crisp-Ckdmbsnn.webp", import.meta.url).href, j1 = "" + new URL("../assets/dewrinkle-kFzP6LqD.webp", import.meta.url).href, V1 = "" + new URL("../assets/edit-Cv-txfZm.webp", import.meta.url).href, O1 = "" + new URL("../assets/flatlay-CPiVmlAa.webp", import.meta.url).href, F1 = "" + new URL("../assets/ghost-BCEAx_Zx.webp", import.meta.url).href, B1 = "" + new URL("../assets/model-BjWhieit.webp", import.meta.url).href, N1 = "" + new URL("../assets/polish-DFy6LNG7.webp", import.meta.url).href, G1 = "" + new URL("../assets/recolor-mBX7vdFT.webp", import.meta.url).href, U1 = "" + new URL("../assets/staging-CIc8pQJ6.webp", import.meta.url).href, $1 = "" + new URL("../assets/upscale-BrLadyUk.webp", import.meta.url).href, q1 = "" + new URL("../assets/background-DGdZUdkL.webp", import.meta.url).href, W1 = "" + new URL("../assets/cutout-CzMvV5An.webp", import.meta.url).href, H1 = "" + new URL("../assets/expand-C60VE9nK.webp", import.meta.url).href, K1 = "" + new URL("../assets/ascii_art-B4UGbtGs.webp", import.meta.url).href, X1 = "" + new URL("../assets/contour_lines-C_CqrgV1.webp", import.meta.url).href, Z1 = "" + new URL("../assets/dither-CcxmO2e6.webp", import.meta.url).href, J1 = "" + new URL("../assets/duotone-Cdg_3fQf.webp", import.meta.url).href, Y1 = "" + new URL("../assets/engraving-BENh1O2O.webp", import.meta.url).href, Q1 = "" + new URL("../assets/film_stock-Bqauwcq4.webp", import.meta.url).href, ew = "" + new URL("../assets/glass_tiles-3IXP-Hmg.webp", import.meta.url).href, ow = "" + new URL("../assets/glitch_art-D1i3qben.webp", import.meta.url).href, tw = "" + new URL("../assets/glitch_blur-C4q_9zyq.webp", import.meta.url).href, aw = "" + new URL("../assets/glow-Bv9EHBU5.webp", import.meta.url).href, rw = "" + new URL("../assets/gradient_map-BR-UVYMP.webp", import.meta.url).href, nw = "" + new URL("../assets/halftone-CWdKu2_6.webp", import.meta.url).href, iw = "" + new URL("../assets/holo_sticker-BQDikLg2.webp", import.meta.url).href, sw = "" + new URL("../assets/kaleidoscope-BxqMZuWo.webp", import.meta.url).href, lw = "" + new URL("../assets/lens_flare-DgyiAv_j.webp", import.meta.url).href, cw = "" + new URL("../assets/light_leak-kUdpoFuC.webp", import.meta.url).href, dw = "" + new URL("../assets/lo_fi-DSdl3yY_.webp", import.meta.url).href, mw = "" + new URL("../assets/mirror_collage-JtSKCeSh.webp", import.meta.url).href, uw = "" + new URL("../assets/motion_blur-B8YUHeSg.webp", import.meta.url).href, pw = "" + new URL("../assets/paper_texture-CXphyIrs.webp", import.meta.url).href, fw = "" + new URL("../assets/posterize-SpLVGq1s.webp", import.meta.url).href, gw = "" + new URL("../assets/sparkle-CD5GSGip.webp", import.meta.url).href, bw = "" + new URL("../assets/textured_glass-D2coxp7n.webp", import.meta.url).href, hw = "" + new URL("../assets/tilt_shift-BKs46yeX.webp", import.meta.url).href, _w = "" + new URL("../assets/tritone-CcR4qizk.webp", import.meta.url).href, vw = "" + new URL("../assets/watercolor-CV67zYNE.webp", import.meta.url).href, ww = "" + new URL("../assets/wave_distortion-CV5jVfK4.webp", import.meta.url).href, yw = "" + new URL("../assets/xerox_noise-CbbHY1S1.webp", import.meta.url).href, kw = "" + new URL("../assets/resize-DVEAl0Um.webp", import.meta.url).href, Pw = "" + new URL("../assets/body-CUFdRg8w.webp", import.meta.url).href, zw = "" + new URL("../assets/model-BbeF-fsf.webp", import.meta.url).href, Dw = "" + new URL("../assets/text-DQW2mBGp.webp", import.meta.url).href, Cw = "" + new URL("../assets/watermark-CpPrxaT5.webp", import.meta.url).href, Iw = /* @__PURE__ */ Object.assign({
17989
17989
  "./cards/mode-cards-v3/flatlay-fold.webp": S1,
@@ -18046,7 +18046,7 @@ function Xn(e) {
18046
18046
  const xw = {
18047
18047
  toolId: "expand",
18048
18048
  toolVersion: "1",
18049
- loadPanel: () => import("./ExpandToolPanel-LNL_pq7e.js"),
18049
+ loadPanel: () => import("./ExpandToolPanel-SnxlUxWY.js"),
18050
18050
  getCardImage: () => Xn("tool-cards/expand.webp"),
18051
18051
  ui: {
18052
18052
  toolId: "expand",
@@ -18672,7 +18672,7 @@ const jw = {
18672
18672
  execution: () => "task-api",
18673
18673
  defaultDrafts: () => ({ adjust: { ...Tm } }),
18674
18674
  submission: (e) => ({ toolId: "adjust", params: { ...Fn(e.adjust) } }),
18675
- loadPanel: () => import("./AdjustToolPanel-JuZOeF1k.js"),
18675
+ loadPanel: () => import("./AdjustToolPanel-CF1xOPjp.js"),
18676
18676
  createTaskAdapter: (e) => yt("adjust", "1", "node", e)
18677
18677
  }, Vw = {
18678
18678
  toolId: "crop",
@@ -18688,7 +18688,7 @@ const jw = {
18688
18688
  execution: () => "task-api",
18689
18689
  defaultDrafts: () => ({ crop: { ...ch } }),
18690
18690
  submission: (e) => ({ toolId: "crop", params: { ...tr(e.crop) } }),
18691
- loadPanel: () => import("./CropToolPanel-C75_UWJ8.js"),
18691
+ loadPanel: () => import("./CropToolPanel-i5wsHGDo.js"),
18692
18692
  createTaskAdapter: (e) => yt("crop", "1", "node", e)
18693
18693
  }, Ow = {
18694
18694
  toolId: "resize",
@@ -18729,7 +18729,7 @@ const jw = {
18729
18729
  const o = tc(e.sizeCrop);
18730
18730
  return { toolId: o.toolId, params: { ...o.params } };
18731
18731
  },
18732
- loadPanel: () => import("./ResizeToolPanel-Cn0chMaX.js"),
18732
+ loadPanel: () => import("./ResizeToolPanel-Deku7bqI.js"),
18733
18733
  createTaskAdapter: (e) => yt("resize", "1", "node", e)
18734
18734
  }, Fw = "" + new URL("../assets/background-card-wK7DRpvM.png", import.meta.url).href, Bw = "" + new URL("../assets/cutout-card-CN4gNFBz.png", import.meta.url).href;
18735
18735
  function Nw(e, o) {
@@ -18741,7 +18741,7 @@ function Nw(e, o) {
18741
18741
  }
18742
18742
  }
18743
18743
  const Gw = "" + new URL("../assets/shadow-card-DTZEH60r.png", import.meta.url).href, Uw = {
18744
- loadPanel: () => import("./BackgroundToolPanel-NAH0gwan.js"),
18744
+ loadPanel: () => import("./BackgroundToolPanel-DcXgWXpO.js"),
18745
18745
  getCardImage: () => Fw,
18746
18746
  toolId: "background",
18747
18747
  toolVersion: "1",
@@ -18774,10 +18774,10 @@ const Gw = "" + new URL("../assets/shadow-card-DTZEH60r.png", import.meta.url).h
18774
18774
  execution: () => "task-api",
18775
18775
  defaultDrafts: () => ({ shadow: { ...dh } }),
18776
18776
  submission: (e) => ({ toolId: "shadow", params: { ...Pr(e.shadow) } }),
18777
- loadPanel: () => import("./ShadowToolPanel-CKZMgpNb.js"),
18777
+ loadPanel: () => import("./ShadowToolPanel-BrnUmfk3.js"),
18778
18778
  createTaskAdapter: (e) => yt("shadow", "1", "node", e)
18779
18779
  }, qw = {
18780
- loadPanel: () => import("./CutoutToolPanel-SerddJYR.js"),
18780
+ loadPanel: () => import("./CutoutToolPanel-CZT9wk4_.js"),
18781
18781
  getCardImage: () => Bw,
18782
18782
  toolId: "cutout",
18783
18783
  toolVersion: "1",
@@ -19191,24 +19191,24 @@ function tg(e, o = {}) {
19191
19191
  i.push(f);
19192
19192
  const v = /* @__PURE__ */ new Set();
19193
19193
  for (let F = 0; F < z; F++) {
19194
- const I = b + 2 + F * 12, V = r(I), j = r(I + 2), J = n(I + 4);
19195
- (v.has(V) || !Vu[j]) && se("Exif重复字段或无效类型"), v.add(V);
19194
+ const I = b + 2 + F * 12, O = r(I), j = r(I + 2), J = n(I + 4);
19195
+ (v.has(O) || !Vu[j]) && se("Exif重复字段或无效类型"), v.add(O);
19196
19196
  const M = J * Vu[j], R = M > 4 ? n(I + 8) : I + 8;
19197
19197
  (!Number.isSafeInteger(M) || R + M > e.length || M > 4 && R < 8) && se("Exif字段数据越界");
19198
- const oe = { at: I, tag: V, type: j, count: J, start: R, end: R + M, size: M, group: w, removed: !1 };
19199
- s.push(oe), f.entries.push(oe), M > 4 && d.push(oe), (V === 37500 || V === 330 || V === 34377) && (u.push("厂商嵌套元数据"), o.allowOpaque || se("暂不支持安全清理MakerNote或厂商嵌套元数据")), [700, 33723].includes(V) && u.push("Exif内嵌XMP/IPTC"), w === "gps" && V > 31 && se("GPS IFD含不支持的厂商字段"), V === 274 && (j !== 3 || J !== 1 || r(R) < 1 || r(R) > 8) && se("Exif方向字段无效"), [34665, 34853, 40965].includes(V) && ((![4, 13].includes(j) || J !== 1 || n(R) < 8) && se("Exif IFD引用无效"), p(n(R), V === 34853 ? "gps" : V === 34665 ? "exif" : "interop", m + 1));
19198
+ const oe = { at: I, tag: O, type: j, count: J, start: R, end: R + M, size: M, group: w, removed: !1 };
19199
+ s.push(oe), f.entries.push(oe), M > 4 && d.push(oe), (O === 37500 || O === 330 || O === 34377) && (u.push("厂商嵌套元数据"), o.allowOpaque || se("暂不支持安全清理MakerNote或厂商嵌套元数据")), [700, 33723].includes(O) && u.push("Exif内嵌XMP/IPTC"), w === "gps" && O > 31 && se("GPS IFD含不支持的厂商字段"), O === 274 && (j !== 3 || J !== 1 || r(R) < 1 || r(R) > 8) && se("Exif方向字段无效"), [34665, 34853, 40965].includes(O) && ((![4, 13].includes(j) || J !== 1 || n(R) < 8) && se("Exif IFD引用无效"), p(n(R), O === 34853 ? "gps" : O === 34665 ? "exif" : "interop", m + 1));
19200
19200
  }
19201
19201
  const y = f.entries.find((F) => F.tag === 513), S = f.entries.find((F) => F.tag === 514);
19202
19202
  if (!!y != !!S && se("Exif缩略图引用不完整"), y) {
19203
19203
  u.push("Exif缩略图"), (y.type !== 4 || y.count !== 1 || S.type !== 4 || S.count !== 1) && se("Exif缩略图引用无效");
19204
- const F = n(y.start), I = n(S.start), V = F + I;
19205
- (F < 8 || I < 4 || V > e.length || e[F] !== 255 || e[F + 1] !== 216 || e[V - 2] !== 255 || e[V - 1] !== 217) && se("Exif缩略图越界");
19204
+ const F = n(y.start), I = n(S.start), O = F + I;
19205
+ (F < 8 || I < 4 || O > e.length || e[F] !== 255 || e[F + 1] !== 216 || e[O - 2] !== 255 || e[O - 1] !== 217) && se("Exif缩略图越界");
19206
19206
  let j = F + 2;
19207
- for (; j + 4 < V && e[j] === 255 && e[j + 1] !== 218; ) {
19207
+ for (; j + 4 < O && e[j] === 255 && e[j + 1] !== 218; ) {
19208
19208
  const J = e[j + 1], M = a.getUint16(j + 2), R = j + 2 + M;
19209
- (M < 2 || R > V) && se("Exif缩略图段无效"), ([225, 237].includes(J) || o.authorComments && J === 254) && (u.push("Exif缩略图内元数据"), o.allowOpaque || se("暂不支持含隐私元数据的Exif缩略图")), j = R;
19209
+ (M < 2 || R > O) && se("Exif缩略图段无效"), ([225, 237].includes(J) || o.authorComments && J === 254) && (u.push("Exif缩略图内元数据"), o.allowOpaque || se("暂不支持含隐私元数据的Exif缩略图")), j = R;
19210
19210
  }
19211
- d.push({ start: F, end: V, removed: !1 });
19211
+ d.push({ start: F, end: O, removed: !1 });
19212
19212
  }
19213
19213
  f.next && p(f.next, w, m + 1);
19214
19214
  }
@@ -19449,8 +19449,8 @@ function sg(e, o, t, a, r) {
19449
19449
  let S = y;
19450
19450
  if (r?.chunk?.(z, y), z === "VP8X" && ((s !== 1 || l !== void 0 || _ !== 10 || y[0] & 193 || y[1] || y[2] || y[3]) && se("WebP VP8X无效"), l = y[0]), (z === "VP8 " || z === "VP8L") && ((d || w) && se("WebP图像段重复"), d = !0), z === "ANIM" && ((b || _ !== 6) && se("WebP动画头无效"), b = !0), z === "ANMF" && ((!b || d || _ < 16) && se("WebP动画帧无效"), w++), z === "ICCP" && (h && se("WebP ICC重复"), h = !0, r?.icc?.(y.length)), z === "EXIF") {
19451
19451
  u && se("WebP Exif重复"), u = !0;
19452
- const F = Jo(y, 0, "Exif\0\0") ? 6 : 0, I = y.subarray(F), V = r?.exif ? r.exif(I) : Wd(I, o, t, a);
19453
- V !== I && (S = Xt([y.subarray(0, F), V]));
19452
+ const F = Jo(y, 0, "Exif\0\0") ? 6 : 0, I = y.subarray(F), O = r?.exif ? r.exif(I) : Wd(I, o, t, a);
19453
+ O !== I && (S = Xt([y.subarray(0, F), O]));
19454
19454
  }
19455
19455
  z === "XMP " && (p && se("WebP XMP重复"), p = !0, a(), S = r?.xmp ? r.xmp(y) : Xi(y, o, t)), n.push(S === y ? e.subarray(i, v) : ph(z, S)), i = v;
19456
19456
  }
@@ -19760,10 +19760,10 @@ const P2 = {
19760
19760
  toolId: "metadata_cleanup",
19761
19761
  params: { ...Ji(e.metadata) }
19762
19762
  }),
19763
- loadPanel: () => import("./MetadataToolPanel-CCpL5G9d.js"),
19763
+ loadPanel: () => import("./MetadataToolPanel-Dpa0WfXK.js"),
19764
19764
  createMetadataExecutor: Hd
19765
19765
  }, z2 = {
19766
- loadPanel: () => import("./DisclosureToolPanel-CZAb3aD1.js"),
19766
+ loadPanel: () => import("./DisclosureToolPanel-CVC7xaUA.js"),
19767
19767
  toolId: "ai_disclosure",
19768
19768
  toolVersion: "1",
19769
19769
  ui: kt(
@@ -19814,7 +19814,7 @@ const P2 = {
19814
19814
  toolId: "brand_mark",
19815
19815
  params: { ...ic(e.brandMark) }
19816
19816
  }),
19817
- loadPanel: () => import("./BrandMarkToolPanel-BIF_KhE5.js"),
19817
+ loadPanel: () => import("./BrandMarkToolPanel-B6rWtH5d.js"),
19818
19818
  createTaskAdapter: (e) => yt("brand_mark", "1", "node", e)
19819
19819
  }, lg = "beepop-translation-language", Uc = "beepop-translation-locale", cg = (e) => `beepop-translation-draft:${encodeURIComponent(e)}`, $c = (e) => typeof e == "string" && Object.hasOwn(Rp, e);
19820
19820
  function C2(e, o) {
@@ -19992,7 +19992,7 @@ function M2(e, o = kd().submitLirSegment) {
19992
19992
  ...z ? { serviceEpoch: z } : {},
19993
19993
  params: JSON.parse(JSON.stringify(n.params)),
19994
19994
  references: b.map((y) => {
19995
- const S = s.items.find((V) => V.id === y.itemId), F = S.versions.find((V) => V.id === y.inputVersionId), I = F.asset;
19995
+ const S = s.items.find((O) => O.id === y.itemId), F = S.versions.find((O) => O.id === y.inputVersionId), I = F.asset;
19996
19996
  return {
19997
19997
  clientRequestId: y.clientRequestId,
19998
19998
  itemId: y.itemId,
@@ -20037,8 +20037,8 @@ function M2(e, o = kd().submitLirSegment) {
20037
20037
  if (!l()) return;
20038
20038
  const S = new Map(y.tasks.map((I) => [I.clientRequestId, I]));
20039
20039
  if (!y.segmentId || S.size !== b.length || y.tasks.length !== b.length || b.some((I) => {
20040
- const V = S.get(I.clientRequestId);
20041
- return !V || !V.taskId || V.operationId !== n.id || V.itemId !== I.itemId || V.inputVersionId !== I.inputVersionId;
20040
+ const O = S.get(I.clientRequestId);
20041
+ return !O || !O.taskId || O.operationId !== n.id || O.itemId !== I.itemId || O.inputVersionId !== I.inputVersionId;
20042
20042
  }))
20043
20043
  throw new He("SUBMISSION_UNKNOWN", "LIR逐图回执缺失或身份不符", "unknown");
20044
20044
  for (const I of m)
@@ -20072,7 +20072,7 @@ function M2(e, o = kd().submitLirSegment) {
20072
20072
  };
20073
20073
  }
20074
20074
  const j2 = {
20075
- loadPanel: () => import("./IpAuditToolPanel-_Kn3ogos.js"),
20075
+ loadPanel: () => import("./IpAuditToolPanel-DE_g6RVV.js"),
20076
20076
  toolId: "ip_audit",
20077
20077
  toolVersion: "1",
20078
20078
  ui: kt(
@@ -20101,7 +20101,7 @@ const j2 = {
20101
20101
  }),
20102
20102
  createTaskAdapter: (e) => yt("ip_audit", "1", "python-ai", e)
20103
20103
  }, V2 = {
20104
- loadPanel: () => import("./TranslationToolPanel-8SddGK7x.js"),
20104
+ loadPanel: () => import("./TranslationToolPanel-DdtT5oAB.js"),
20105
20105
  onBatchDraft: (e) => ({ translation: C2(e) }),
20106
20106
  persistDraft: (e, o) => {
20107
20107
  o.translation && I2(e, o.translation);
@@ -20143,7 +20143,7 @@ const j2 = {
20143
20143
  }))
20144
20144
  }
20145
20145
  }),
20146
- loadPanel: () => import("./ListingToolPanel-B5Hl18nG.js"),
20146
+ loadPanel: () => import("./ListingToolPanel-CvCN0aE5.js"),
20147
20147
  createOperationDispatcher: M2,
20148
20148
  createTaskAdapter: (e) => yt("listing_remake", "1", "python-ai", e)
20149
20149
  }, F2 = [
@@ -20238,7 +20238,7 @@ const B2 = {
20238
20238
  if (!o.modes?.includes(e.retouch?.mode ?? ""))
20239
20239
  throw new Error("该修图模式服务暂不可用");
20240
20240
  },
20241
- loadPanel: () => import("./RetouchToolPanel-B-C2vU85.js"),
20241
+ loadPanel: () => import("./RetouchToolPanel-BNbgC0MG.js"),
20242
20242
  getCardImage: (e) => e ? Xn(`tool-cards/ai-v2/${e}.webp`) : void 0,
20243
20243
  toolId: "retouch",
20244
20244
  toolVersion: "2",
@@ -20258,7 +20258,7 @@ const B2 = {
20258
20258
  if (!o.modes?.includes(e.upscale?.mode ?? ""))
20259
20259
  throw new Error("高清服务暂不可用");
20260
20260
  },
20261
- loadPanel: () => import("./UpscaleToolPanel-BerqoX0B.js"),
20261
+ loadPanel: () => import("./UpscaleToolPanel-CshRGB2T.js"),
20262
20262
  getCardImage: (e) => e ? Xn(`tool-cards/ai-v2/${e}.webp`) : void 0,
20263
20263
  toolId: "upscale",
20264
20264
  toolVersion: "2",
@@ -20278,7 +20278,7 @@ const B2 = {
20278
20278
  if (!o.modes?.includes(e.beautify?.mode ?? ""))
20279
20279
  throw new Error("该商品美化模式服务暂不可用");
20280
20280
  },
20281
- loadPanel: () => import("./BeautifyToolPanel-DQSkssvi.js"),
20281
+ loadPanel: () => import("./BeautifyToolPanel-QCRupUTh.js"),
20282
20282
  getCardImage: (e) => e ? Xn(`tool-cards/ai-v2/${e}.webp`) : void 0,
20283
20283
  toolId: "beautify",
20284
20284
  toolVersion: "2",
@@ -20892,7 +20892,7 @@ const lS = [
20892
20892
  toolId: "vectorize_svg",
20893
20893
  params: { ...e.svgExport, schemaVersion: 2 }
20894
20894
  }),
20895
- loadPanel: () => import("./SvgExportToolPanel-Bnh5bcst.js"),
20895
+ loadPanel: () => import("./SvgExportToolPanel-O8Zl7zHb.js"),
20896
20896
  createTaskAdapter: (e) => yt("vectorize_svg", "2", "python-ai", e)
20897
20897
  }, ug = [
20898
20898
  "sparkle",
@@ -22095,15 +22095,15 @@ function Ag(e = {}) {
22095
22095
  if (!z()) return;
22096
22096
  if (i && F !== i.toLowerCase())
22097
22097
  throw new Za("SOURCE_CHANGED", "特效输入与冻结指纹不一致");
22098
- let I = r, V, j;
22098
+ let I = r, O, j;
22099
22099
  if (r.type === "image/svg+xml") {
22100
22100
  const R = nl(new Uint8Array(S));
22101
- if (V = R.width, j = R.height, I = await xg(r, b.signal), !z()) return;
22101
+ if (O = R.width, j = R.height, I = await xg(r, b.signal), !z()) return;
22102
22102
  } else {
22103
22103
  const R = Kn(new Uint8Array(S));
22104
22104
  if (!R.withinBudget || r.type && R.mime !== r.type)
22105
22105
  throw Ht("特效输入格式或像素预算无效");
22106
- V = R.displayWidth, j = R.displayHeight;
22106
+ O = R.displayWidth, j = R.displayHeight;
22107
22107
  }
22108
22108
  const J = ++zy;
22109
22109
  p = Jt(uy, { type: "module" });
@@ -22129,13 +22129,13 @@ function Ag(e = {}) {
22129
22129
  return;
22130
22130
  }
22131
22131
  const oe = R.result;
22132
- if (!lc(oe) || !(oe.bytes instanceof ArrayBuffer) || oe.mime !== y.mime || oe.outputKind !== y.outputKind || oe.width !== V || oe.height !== j || typeof oe.alpha != "boolean" || oe.inputSha256 !== F) {
22132
+ if (!lc(oe) || !(oe.bytes instanceof ArrayBuffer) || oe.mime !== y.mime || oe.outputKind !== y.outputKind || oe.width !== O || oe.height !== j || typeof oe.alpha != "boolean" || oe.inputSha256 !== F) {
22133
22133
  m(Ht("特效输出运行契约无效"));
22134
22134
  return;
22135
22135
  }
22136
22136
  const te = oe.bytes;
22137
22137
  if (v.effectVersion === "7" && v.effectId !== "xerox_noise" || v.effectVersion === "8" || v.effectVersion === "9") {
22138
- if (!Uu(v.effectVersion, oe.processingAudit) || oe.processingAudit.width !== V || oe.processingAudit.height !== j) {
22138
+ if (!Uu(v.effectVersion, oe.processingAudit) || oe.processingAudit.width !== O || oe.processingAudit.height !== j) {
22139
22139
  m(Ht("特效执行审计无效"));
22140
22140
  return;
22141
22141
  }
@@ -22150,10 +22150,10 @@ function Ag(e = {}) {
22150
22150
  (async () => {
22151
22151
  if (y.outputKind === "svg") {
22152
22152
  const de = nl(new Uint8Array(te));
22153
- if (de.width !== V || de.height !== j) throw Ht("SVG尺寸无效");
22153
+ if (de.width !== O || de.height !== j) throw Ht("SVG尺寸无效");
22154
22154
  } else {
22155
22155
  const de = Kn(new Uint8Array(te));
22156
- if (de.mime !== y.mime || de.displayWidth !== V || de.displayHeight !== j || de.orientation !== 1)
22156
+ if (de.mime !== y.mime || de.displayWidth !== O || de.displayHeight !== j || de.orientation !== 1)
22157
22157
  throw Ht("PNG输出尺寸或方向无效");
22158
22158
  }
22159
22159
  const ne = await Xc(te);
@@ -22163,7 +22163,7 @@ function Ag(e = {}) {
22163
22163
  const he = {
22164
22164
  blob: new Blob([te], { type: y.mime }),
22165
22165
  mime: y.mime,
22166
- width: V,
22166
+ width: O,
22167
22167
  height: j,
22168
22168
  alpha: oe.alpha === !0,
22169
22169
  outputKind: y.outputKind,
@@ -22245,7 +22245,7 @@ const qu = (e) => Object.fromEntries(
22245
22245
  params: { ...Hc(e.imageEffects) }
22246
22246
  }),
22247
22247
  preview: (e) => e.imageEffects ? { recipe: { tool: "image_effects", params: Hc(e.imageEffects) } } : {},
22248
- loadPanel: () => import("./ImageEffectsToolPanel-DNbpno1P.js"),
22248
+ loadPanel: () => import("./ImageEffectsToolPanel-Ba2yJ-G5.js"),
22249
22249
  createImageEffectsExecutor: Ag
22250
22250
  };
22251
22251
  function Wu(e, o) {
@@ -24212,7 +24212,7 @@ const ok = ({
24212
24212
  class: S = ""
24213
24213
  } = ek(), F = Es(r) || Es(n) || r === !0 || n === !0 || v === !0, I = Es(i) || Es(s) || i === !0 || s === !0 || y === !0;
24214
24214
  delete w.class;
24215
- const V = m.default?.(), [, j, J = []] = Zy(a, {
24215
+ const O = m.default?.(), [, j, J = []] = Zy(a, {
24216
24216
  color: b ?? _,
24217
24217
  width: p ?? u ?? z,
24218
24218
  height: h ?? u ?? z,
@@ -24220,12 +24220,12 @@ const ok = ({
24220
24220
  absoluteStrokeWidth: F,
24221
24221
  nonScalingStroke: I,
24222
24222
  className: S,
24223
- hasA11yProp: V != null && V.length > 0 || Jy(w),
24223
+ hasA11yProp: O != null && O.length > 0 || Jy(w),
24224
24224
  attributes: w
24225
24225
  });
24226
24226
  return pt("svg", j, [
24227
24227
  ...J.map((M) => pt(...M)),
24228
- ...V ?? []
24228
+ ...O ?? []
24229
24229
  ]);
24230
24230
  };
24231
24231
  /**
@@ -25029,7 +25029,7 @@ const p8 = ["aria-label", "title", "aria-expanded"], f8 = ["aria-label", "title"
25029
25029
  class: Je(["icon-motion icon-motion--sun", { "is-theme-changed": d.value }]),
25030
25030
  onAnimationend: p
25031
25031
  }, null, 8, ["class"]))
25032
- ], 8, p8)) : O("", !0),
25032
+ ], 8, p8)) : V("", !0),
25033
25033
  e.showLanguage ? (k(), x("button", {
25034
25034
  key: 1,
25035
25035
  type: "button",
@@ -25046,7 +25046,7 @@ const p8 = ["aria-label", "title", "aria-expanded"], f8 = ["aria-label", "title"
25046
25046
  class: "icon-motion icon-motion--globe",
25047
25047
  size: 19
25048
25048
  })
25049
- ], 8, f8)) : O("", !0),
25049
+ ], 8, f8)) : V("", !0),
25050
25050
  h.value === "appearance" ? (k(), x("div", {
25051
25051
  key: 2,
25052
25052
  id: s,
@@ -25075,9 +25075,9 @@ const p8 = ["aria-label", "title", "aria-expanded"], f8 = ["aria-label", "title"
25075
25075
  c(t).themeMode === S ? (k(), ke(c(Zc), {
25076
25076
  key: 3,
25077
25077
  size: 16
25078
- })) : O("", !0)
25078
+ })) : V("", !0)
25079
25079
  ], 8, b8)), 64))
25080
- ], 8, g8)) : O("", !0),
25080
+ ], 8, g8)) : V("", !0),
25081
25081
  h.value === "language" ? (k(), x("div", {
25082
25082
  key: 3,
25083
25083
  id: l,
@@ -25101,9 +25101,9 @@ const p8 = ["aria-label", "title", "aria-expanded"], f8 = ["aria-label", "title"
25101
25101
  c(a).uiLocale === S ? (k(), ke(c(Zc), {
25102
25102
  key: 0,
25103
25103
  size: 16
25104
- })) : O("", !0)
25104
+ })) : V("", !0)
25105
25105
  ], 8, _8))), 128))
25106
- ], 8, h8)) : O("", !0)
25106
+ ], 8, h8)) : V("", !0)
25107
25107
  ], 544));
25108
25108
  }
25109
25109
  }), et = (e, o) => {
@@ -25320,8 +25320,8 @@ function I8(e) {
25320
25320
  signal: d.signal,
25321
25321
  async readAsset(I) {
25322
25322
  u();
25323
- const V = await Jn(e, I, d.signal);
25324
- return u(), V;
25323
+ const O = await Jn(e, I, d.signal);
25324
+ return u(), O;
25325
25325
  },
25326
25326
  progress(I) {
25327
25327
  u(), n.progress(I);
@@ -25498,7 +25498,7 @@ function M8(e, o) {
25498
25498
  };
25499
25499
  return { schedule: Rs.reduce((v, y) => {
25500
25500
  const S = i[y];
25501
- return v[y] = (F, I = !1, V = !1) => (t || z(), S.schedule(F, I, V)), v;
25501
+ return v[y] = (F, I = !1, O = !1) => (t || z(), S.schedule(F, I, O)), v;
25502
25502
  }, {}), cancel: (v) => {
25503
25503
  for (let y = 0; y < Rs.length; y++)
25504
25504
  i[Rs[y]].cancel(v);
@@ -27937,7 +27937,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
27937
27937
  resolveAsset: h,
27938
27938
  submitTask: b,
27939
27939
  uploadLocal: w
27940
- } = n, m = { submit: b, get: u, byRequest: p }, z = a?.assets.read ?? sb, _ = Hr() ? Yo(um, void 0) : void 0, f = Hr() ? Yo(Ug, "0") : "0", v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set(), S = a ? I8(a) : void 0, F = a?.assets.write ?? g3, I = a?.assets.remove ?? b3, V = a ? (g) => a.persistence.save(e3(g, a.namespace)) : _3, j = U(!1), J = U(), M = U(["resize", "background"]), R = ib({
27940
+ } = n, m = { submit: b, get: u, byRequest: p }, z = a?.assets.read ?? sb, _ = Hr() ? Yo(um, void 0) : void 0, f = Hr() ? Yo(Ug, "0") : "0", v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set(), S = a ? I8(a) : void 0, F = a?.assets.write ?? g3, I = a?.assets.remove ?? b3, O = a ? (g) => a.persistence.save(e3(g, a.namespace)) : _3, j = U(!1), J = U(), M = U(["resize", "background"]), R = ib({
27941
27941
  storage: {
27942
27942
  getItem: (g) => a ? null : sessionStorage.getItem(g),
27943
27943
  setItem: (g, T) => {
@@ -28021,7 +28021,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
28021
28021
  N,
28022
28022
  ...re.value.filter((Z) => Z.id !== N.id)
28023
28023
  ].sort((Z, ae) => ae.createdAt - Z.createdAt), Go && (D.value.paused = !0, L.paused = !0, qo = qo.catch(() => {
28024
- }), Go = !1), qo = qo.then(() => V(L)), qo.then(g.resolve, T);
28024
+ }), Go = !1), qo = qo.then(() => O(L)), qo.then(g.resolve, T);
28025
28025
  } catch (L) {
28026
28026
  T(L);
28027
28027
  }
@@ -28115,7 +28115,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
28115
28115
  if (!we) {
28116
28116
  const $e = JSON.parse(JSON.stringify(at(D.value)));
28117
28117
  let ko;
28118
- if (a ? (qo = qo.then(() => V($e)), await qo, ko = $e) : ko = await mc($e), !be()) {
28118
+ if (a ? (qo = qo.then(() => O($e)), await qo, ko = $e) : ko = await mc($e), !be()) {
28119
28119
  ze(), Q(!1);
28120
28120
  return;
28121
28121
  }
@@ -28195,7 +28195,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
28195
28195
  async (ae) => {
28196
28196
  if (!ae) return;
28197
28197
  const ue = await Vn(g.id);
28198
- xe || T !== ge || ue && (ue.expiredAt ??= L.at, ue.paused = !0, await V(ue), N = !0);
28198
+ xe || T !== ge || ue && (ue.expiredAt ??= L.at, ue.paused = !0, await O(ue), N = !0);
28199
28199
  }
28200
28200
  ), xe || T !== ge) return;
28201
28201
  const Z = await mc({ ...t(), id: L.toId });
@@ -30172,7 +30172,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
30172
30172
  class: "thumbnail-focus-ring",
30173
30173
  "layout-id": "thumbnail-focus",
30174
30174
  transition: c(io)
30175
- }, null, 8, ["transition"])) : O("", !0),
30175
+ }, null, 8, ["transition"])) : V("", !0),
30176
30176
  i.value ? (k(), x("img", {
30177
30177
  key: 1,
30178
30178
  src: i.value,
@@ -30180,8 +30180,8 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
30180
30180
  draggable: !1,
30181
30181
  onLoad: h
30182
30182
  }, null, 40, k3)) : (k(), x("span", P3, "…")),
30183
- e.position ? (k(), x("span", z3, C(e.position), 1)) : O("", !0),
30184
- e.item.busyAttemptId ? (k(), x("span", D3)) : O("", !0)
30183
+ e.position ? (k(), x("span", z3, C(e.position), 1)) : V("", !0),
30184
+ e.item.busyAttemptId ? (k(), x("span", D3)) : V("", !0)
30185
30185
  ]),
30186
30186
  _: 1
30187
30187
  }, 8, ["data-item-id", "class", "title", "aria-label", "aria-current"]),
@@ -30229,7 +30229,7 @@ const Yn = /* @__PURE__ */ qh("batch", () => {
30229
30229
  v && _ !== void 0 && (m ? f.scrollTop += v.getBoundingClientRect().top - _ : f.scrollLeft += v.getBoundingClientRect().left - _);
30230
30230
  const y = f.querySelector('[aria-current="true"]')?.closest(".thumbnail-tile");
30231
30231
  if (!y) return;
30232
- const S = y.nextElementSibling ?? y, F = f.getBoundingClientRect(), I = y.getBoundingClientRect(), V = S.getBoundingClientRect(), j = m ? f.scrollTop : f.scrollLeft, J = m ? F.top : F.left, M = j + (m ? I.top : I.left) - J, R = j + (m ? V.bottom : V.right) - J, oe = m ? f.clientHeight : f.clientWidth, te = M < j ? M : R > j + oe ? Math.min(M, R - oe) : j;
30232
+ const S = y.nextElementSibling ?? y, F = f.getBoundingClientRect(), I = y.getBoundingClientRect(), O = S.getBoundingClientRect(), j = m ? f.scrollTop : f.scrollLeft, J = m ? F.top : F.left, M = j + (m ? I.top : I.left) - J, R = j + (m ? O.bottom : O.right) - J, oe = m ? f.clientHeight : f.clientWidth, te = M < j ? M : R > j + oe ? Math.min(M, R - oe) : j;
30233
30233
  typeof f.scrollTo == "function" ? f.scrollTo({
30234
30234
  ...m ? { top: te } : { left: te },
30235
30235
  behavior: s.value ? "instant" : "smooth"
@@ -30430,8 +30430,8 @@ const j3 = {
30430
30430
  }, null, 8, ["class"]))
30431
30431
  ], 2),
30432
30432
  P("span", null, C(c(o)("common.taskActivity_5253040d")), 1),
30433
- e.summary.operations || e.exportBusy ? (k(), x("small", j3, C(e.summary.operations + (e.exportBusy ? 1 : 0)), 1)) : O("", !0),
30434
- e.summary.attention ? (k(), x("small", V3, C(e.summary.attention), 1)) : O("", !0)
30433
+ e.summary.operations || e.exportBusy ? (k(), x("small", j3, C(e.summary.operations + (e.exportBusy ? 1 : 0)), 1)) : V("", !0),
30434
+ e.summary.attention ? (k(), x("small", V3, C(e.summary.attention), 1)) : V("", !0)
30435
30435
  ], 64));
30436
30436
  }
30437
30437
  });
@@ -30601,17 +30601,17 @@ const G3 = ["aria-label"], U3 = { class: "queue-control-row" }, $3 = ["disabled"
30601
30601
  }, [
30602
30602
  le(c(pk), { size: 14 }),
30603
30603
  Ve(C(b.value("common.queue.cancelRemainingCount", { steps: e.summary.waitingSteps })), 1)
30604
- ], 8, q3)) : O("", !0)
30604
+ ], 8, q3)) : V("", !0)
30605
30605
  ]),
30606
- e.paused ? O("", !0) : (k(), x("span", {
30606
+ e.paused ? V("", !0) : (k(), x("span", {
30607
30607
  key: 0,
30608
30608
  id: c(h),
30609
30609
  role: "tooltip",
30610
30610
  class: "queue-pause-tooltip"
30611
30611
  }, C(b.value("common.queue.pauseHint")), 9, W3)),
30612
- e.summary.waitingSteps ? (k(), x("p", H3, C(b.value("common.queue.waiting", { steps: e.summary.waitingSteps, images: e.summary.waitingImages })), 1)) : O("", !0),
30613
- e.summary.submittedSteps ? (k(), x("p", K3, C(b.value("common.queue.continueSubmitted", { count: e.summary.submittedSteps })), 1)) : O("", !0),
30614
- e.paused ? (k(), x("p", X3, C(b.value("common.queue.paused")), 1)) : O("", !0),
30612
+ e.summary.waitingSteps ? (k(), x("p", H3, C(b.value("common.queue.waiting", { steps: e.summary.waitingSteps, images: e.summary.waitingImages })), 1)) : V("", !0),
30613
+ e.summary.submittedSteps ? (k(), x("p", K3, C(b.value("common.queue.continueSubmitted", { count: e.summary.submittedSteps })), 1)) : V("", !0),
30614
+ e.paused ? (k(), x("p", X3, C(b.value("common.queue.paused")), 1)) : V("", !0),
30615
30615
  n.value && e.summary.waitingSteps ? (k(), ke(ud, {
30616
30616
  key: 4,
30617
30617
  label: b.value("common.queue.cancelRemainingTitle"),
@@ -30627,7 +30627,7 @@ const G3 = ["aria-label"], U3 = { class: "queue-control-row" }, $3 = ["disabled"
30627
30627
  steps: e.summary.waitingSteps,
30628
30628
  images: e.summary.waitingImages
30629
30629
  })), 1),
30630
- e.summary.submittedSteps ? (k(), x("p", J3, C(b.value("common.queue.continueSubmitted", { count: e.summary.submittedSteps })), 1)) : O("", !0),
30630
+ e.summary.submittedSteps ? (k(), x("p", J3, C(b.value("common.queue.continueSubmitted", { count: e.summary.submittedSteps })), 1)) : V("", !0),
30631
30631
  P("div", null, [
30632
30632
  P("button", {
30633
30633
  ref_key: "confirmButton",
@@ -30641,8 +30641,8 @@ const G3 = ["aria-label"], U3 = { class: "queue-control-row" }, $3 = ["disabled"
30641
30641
  ])
30642
30642
  ]),
30643
30643
  _: 1
30644
- }, 8, ["label"])) : O("", !0)
30645
- ], 8, G3)) : O("", !0);
30644
+ }, 8, ["label"])) : V("", !0)
30645
+ ], 8, G3)) : V("", !0);
30646
30646
  }
30647
30647
  }), lb = /* @__PURE__ */ et(Q3, [["__scopeId", "data-v-bd6126a8"]]);
30648
30648
  function Xa(e) {
@@ -30935,8 +30935,8 @@ const t4 = { class: "version-thumb" }, a4 = ["src", "alt"], r4 = { key: 1 }, Cl
30935
30935
  }
30936
30936
  const F = U(!1);
30937
30937
  let I;
30938
- const V = () => I?.abort();
30939
- Oo(V), Pe(() => l.batch.id, V, { flush: "sync" });
30938
+ const O = () => I?.abort();
30939
+ Oo(O), Pe(() => l.batch.id, O, { flush: "sync" });
30940
30940
  async function j(J, M, R = "optimized") {
30941
30941
  if (F.value) return;
30942
30942
  F.value = !0;
@@ -30998,7 +30998,7 @@ const t4 = { class: "version-thumb" }, a4 = ["src", "alt"], r4 = { key: 1 }, Cl
30998
30998
  max: u.value.counts.total || 1,
30999
30999
  "aria-label": c(t)("common.taskPopover_4a47c567")
31000
31000
  }, null, 8, s4),
31001
- !u.value.paused && !u.value.active ? (k(), x("p", l4, C(u.value.counts.blocked || u.value.counts.unknown ? c(t)("common.taskPopover_6d457eab") : c(t)("common.taskPopover_9cf78728")), 1)) : O("", !0),
31001
+ !u.value.paused && !u.value.active ? (k(), x("p", l4, C(u.value.counts.blocked || u.value.counts.unknown ? c(t)("common.taskPopover_6d457eab") : c(t)("common.taskPopover_9cf78728")), 1)) : V("", !0),
31002
31002
  (k(!0), x(Fe, null, _o(u.value.images, (R) => (k(), x("div", {
31003
31003
  key: R.attempt.id,
31004
31004
  class: "peek-image"
@@ -31015,7 +31015,7 @@ const t4 = { class: "version-thumb" }, a4 = ["src", "alt"], r4 = { key: 1 }, Cl
31015
31015
  class: "peek-export-download",
31016
31016
  disabled: F.value,
31017
31017
  onClick: (oe) => j(R.attempt, R.item.name, "raw")
31018
- }, C(c(t)("tools.vectorize_svg.download")), 9, c4)) : O("", !0),
31018
+ }, C(c(t)("tools.vectorize_svg.download")), 9, c4)) : V("", !0),
31019
31019
  R.attempt.exportArtifact && R.attempt.submittedParams?.optimize !== !1 ? (k(), x("button", {
31020
31020
  key: 1,
31021
31021
  class: "peek-export-download",
@@ -31023,32 +31023,32 @@ const t4 = { class: "version-thumb" }, a4 = ["src", "alt"], r4 = { key: 1 }, Cl
31023
31023
  disabled: F.value,
31024
31024
  "aria-busy": F.value,
31025
31025
  onClick: (oe) => j(R.attempt, R.item.name)
31026
- }, C(c(t)("tools.vectorize_svg.downloadOptimized")), 9, d4)) : O("", !0)
31026
+ }, C(c(t)("tools.vectorize_svg.downloadOptimized")), 9, d4)) : V("", !0)
31027
31027
  ])
31028
31028
  ]))), 128)),
31029
- u.value.processingCount > 3 ? (k(), x("p", m4, C(c(t)("common.taskPopover_4eabe838", { p0: u.value.processingCount - 3 })), 1)) : O("", !0),
31030
- h.value ? (k(), x("p", u4, C(h.value), 1)) : O("", !0),
31029
+ u.value.processingCount > 3 ? (k(), x("p", m4, C(c(t)("common.taskPopover_4eabe838", { p0: u.value.processingCount - 3 })), 1)) : V("", !0),
31030
+ h.value ? (k(), x("p", u4, C(h.value), 1)) : V("", !0),
31031
31031
  P("p", p4, [
31032
31032
  Ve(C(c(t)("common.taskPopover_b4eec9d5", {
31033
31033
  p0: u.value.counts.succeeded,
31034
31034
  p1: u.value.counts.failed
31035
31035
  })), 1),
31036
- u.value.counts.blocked ? (k(), x("span", f4, C(c(t)("common.taskPopover_2858e5c5", { p0: u.value.counts.blocked })), 1)) : O("", !0),
31037
- u.value.counts.unknown ? (k(), x("span", g4, C(c(t)("common.taskPopover_57a247a6", { p0: u.value.counts.unknown })), 1)) : O("", !0)
31036
+ u.value.counts.blocked ? (k(), x("span", f4, C(c(t)("common.taskPopover_2858e5c5", { p0: u.value.counts.blocked })), 1)) : V("", !0),
31037
+ u.value.counts.unknown ? (k(), x("span", g4, C(c(t)("common.taskPopover_57a247a6", { p0: u.value.counts.unknown })), 1)) : V("", !0)
31038
31038
  ])
31039
- ], 64)) : O("", !0),
31039
+ ], 64)) : V("", !0),
31040
31040
  b.value ? (k(), x("div", b4, [
31041
31041
  P("strong", null, C(c(t)("common.taskPopover_4a60d873", { p0: b.value.done, p1: b.value.total })), 1),
31042
31042
  P("p", null, [
31043
31043
  Ve(C(c(i)(b.value.stage)), 1),
31044
- b.value.itemName ? (k(), x("span", h4, " · " + C(b.value.itemName), 1)) : O("", !0)
31044
+ b.value.itemName ? (k(), x("span", h4, " · " + C(b.value.itemName), 1)) : V("", !0)
31045
31045
  ])
31046
- ])) : O("", !0),
31047
- !u.value && !b.value ? (k(), x("p", _4, C(c(t)("common.taskPopover_4cde1ba7")), 1)) : O("", !0),
31046
+ ])) : V("", !0),
31047
+ !u.value && !b.value ? (k(), x("p", _4, C(c(t)("common.taskPopover_4cde1ba7")), 1)) : V("", !0),
31048
31048
  m.value ? (k(), x("p", v4, C(c(t)(
31049
31049
  m.value.kind === "query_delayed" ? "common.queue.queryDelayed" : m.value.kind === "recovering" ? "common.queue.recovering" : "common.queue.longRunning",
31050
31050
  { count: m.value.count ?? 0, seconds: m.value.seconds ?? 0 }
31051
- )), 1)) : O("", !0),
31051
+ )), 1)) : V("", !0),
31052
31052
  le(lb, {
31053
31053
  summary: c(mg)(e.batch),
31054
31054
  paused: e.batch.paused,
@@ -31175,7 +31175,7 @@ const z4 = { class: "receipt-stack" }, D4 = ["src"], C4 = /* @__PURE__ */ eo({
31175
31175
  alt: "",
31176
31176
  style: Io({ transform: `rotate(${(l - 1) * 7}deg) translateX(${l * 8}px)` })
31177
31177
  }, null, 12, D4))), 128)),
31178
- e.receipt.images.length ? O("", !0) : (k(), ke(c(Tk), {
31178
+ e.receipt.images.length ? V("", !0) : (k(), ke(c(Tk), {
31179
31179
  key: 0,
31180
31180
  size: 28
31181
31181
  }))
@@ -31351,15 +31351,15 @@ function S4(e, o, t, a) {
31351
31351
  `.image-card[data-item-id="${m}"] .card-media img`
31352
31352
  ), v = f?.getBoundingClientRect();
31353
31353
  if (!f?.complete || !f.naturalWidth || !v?.width) return !1;
31354
- const y = n, S = _.currentVersionId, F = f.naturalWidth, I = f.naturalHeight, V = id(v, F, I);
31354
+ const y = n, S = _.currentVersionId, F = f.naturalWidth, I = f.naturalHeight, O = id(v, F, I);
31355
31355
  return r.value = {
31356
31356
  id: y,
31357
31357
  itemId: m,
31358
31358
  returning: z,
31359
31359
  moving: !1,
31360
31360
  src: f.currentSrc || f.src,
31361
- from: V,
31362
- to: V
31361
+ from: O,
31362
+ to: O
31363
31363
  }, d = { id: m, version: S, seq: y, width: F, height: I, returning: z }, s = setTimeout(() => u(y), 1200), r.value.src.startsWith("blob:") && o.imageUrl({ ..._, currentVersionId: S }, !0).then((j) => {
31364
31364
  if (y !== n) {
31365
31365
  o.releaseImageUrl(j);
@@ -31960,9 +31960,9 @@ class q4 {
31960
31960
  S = v[I * 2] + v[I * 2 + 1] + d;
31961
31961
  }
31962
31962
  for (let I = b; I < t; I++) {
31963
- const V = n(I);
31964
- y[I] = V;
31965
- const j = h.get(V), J = typeof j == "number" ? j : this.options.estimateSize(I);
31963
+ const O = n(I);
31964
+ y[I] = O;
31965
+ const j = h.get(O), J = typeof j == "number" ? j : this.options.estimateSize(I);
31966
31966
  v[I * 2] = S, v[I * 2 + 1] = J, S += J + d;
31967
31967
  }
31968
31968
  this._singleLaneMeasurements = { flat: v, items: y };
@@ -31994,7 +31994,7 @@ class q4 {
31994
31994
  S = M, F = R + d, I && this.laneAssignments.set(f, S);
31995
31995
  } else
31996
31996
  S = f % this.options.lanes, F = a + r, I && this.laneAssignments.set(f, S);
31997
- const V = h.get(v), j = typeof V == "number" ? V : this.options.estimateSize(f), J = F + j;
31997
+ const O = h.get(v), j = typeof O == "number" ? O : this.options.estimateSize(f), J = F + j;
31998
31998
  w[f] = {
31999
31999
  index: f,
32000
32000
  start: F,
@@ -32616,7 +32616,7 @@ function Q4(e, o = ub) {
32616
32616
  oe() && S(te);
32617
32617
  });
32618
32618
  }
32619
- function V() {
32619
+ function O() {
32620
32620
  return f((R) => v([...w.value], R));
32621
32621
  }
32622
32622
  function j(R) {
@@ -32647,7 +32647,7 @@ function Q4(e, o = ub) {
32647
32647
  local: y,
32648
32648
  urls: F,
32649
32649
  xlsx: I,
32650
- confirm: V,
32650
+ confirm: O,
32651
32651
  remove: j,
32652
32652
  dispose: J
32653
32653
  };
@@ -32798,8 +32798,8 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32798
32798
  ...S.currentTarget.querySelectorAll(
32799
32799
  "button:not(:disabled),textarea,input:not([hidden]):not(:disabled),a[href]"
32800
32800
  )
32801
- ].filter((j) => j.getClientRects().length), I = F[0], V = F.at(-1);
32802
- S.shiftKey && document.activeElement === I ? (S.preventDefault(), V?.focus()) : !S.shiftKey && document.activeElement === V && (S.preventDefault(), I?.focus());
32801
+ ].filter((j) => j.getClientRects().length), I = F[0], O = F.at(-1);
32802
+ S.shiftKey && document.activeElement === I ? (S.preventDefault(), O?.focus()) : !S.shiftKey && document.activeElement === O && (S.preventDefault(), I?.focus());
32803
32803
  }
32804
32804
  return It(
32805
32805
  () => void mo(() => b.value?.querySelector("button")?.focus())
@@ -32842,8 +32842,8 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32842
32842
  le(c(Zt), { size: 18 })
32843
32843
  ], 8, c5)
32844
32844
  ]),
32845
- e.retentionHours === 48 ? (k(), x("p", d5, C(c(o)("common.retention.notice")), 1)) : O("", !0),
32846
- e.localOnly ? O("", !0) : (k(), x("div", {
32845
+ e.retentionHours === 48 ? (k(), x("p", d5, C(c(o)("common.retention.notice")), 1)) : V("", !0),
32846
+ e.localOnly ? V("", !0) : (k(), x("div", {
32847
32847
  key: 1,
32848
32848
  class: "import-tabs",
32849
32849
  role: "tablist",
@@ -32854,7 +32854,7 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32854
32854
  role: "tab",
32855
32855
  "aria-selected": c(r) === I.id,
32856
32856
  disabled: c(s),
32857
- onClick: (V) => r.value = I.id
32857
+ onClick: (O) => r.value = I.id
32858
32858
  }, C(c(t)(I.label)), 9, u5))), 128))
32859
32859
  ], 8, m5)),
32860
32860
  c(r) === "local" ? (k(), x("div", p5, [
@@ -32904,8 +32904,8 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32904
32904
  onChange: _
32905
32905
  }, null, 40, k5)
32906
32906
  ])),
32907
- c(i) ? (k(), x("p", P5, C(c(s) ? c(o)("common.importDialog_ebbeec0c") : c(o)("common.importDialog_5864548f")), 1)) : O("", !0),
32908
- c(l) || c(h) ? (k(), x("p", z5, C(c(t)(c(l) || c(h))), 1)) : O("", !0),
32907
+ c(i) ? (k(), x("p", P5, C(c(s) ? c(o)("common.importDialog_ebbeec0c") : c(o)("common.importDialog_5864548f")), 1)) : V("", !0),
32908
+ c(l) || c(h) ? (k(), x("p", z5, C(c(t)(c(l) || c(h))), 1)) : V("", !0),
32909
32909
  c(n).length ? (k(), x("div", D5, [
32910
32910
  P("div", C5, [
32911
32911
  P("strong", null, C(c(o)("common.importDialog_aac06fc8", { p0: c(n).length })), 1),
@@ -32916,7 +32916,7 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32916
32916
  })), 1),
32917
32917
  c(n).some((I) => I.duplicate) ? (k(), x("span", I5, C(c(o)("common.importDialog_7451de12", {
32918
32918
  p0: c(n).filter((I) => I.duplicate).length
32919
- })), 1)) : O("", !0)
32919
+ })), 1)) : V("", !0)
32920
32920
  ])
32921
32921
  ]),
32922
32922
  (k(!0), x(Fe, null, _o(c(n).slice(0, m.value), (I) => (k(), x("div", {
@@ -32924,7 +32924,7 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32924
32924
  class: "import-candidate"
32925
32925
  }, [
32926
32926
  pa(P("input", {
32927
- "onUpdate:modelValue": (V) => I.selected = V,
32927
+ "onUpdate:modelValue": (O) => I.selected = O,
32928
32928
  type: "checkbox",
32929
32929
  "aria-label": c(o)("common.importDialog_6748391e", { p0: I.url }),
32930
32930
  disabled: !!I.error || !!I.duplicate || c(s)
@@ -32943,7 +32943,7 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32943
32943
  P("button", {
32944
32944
  "aria-label": c(o)("common.importDialog_df11e0a6", { p0: I.url }),
32945
32945
  disabled: c(s),
32946
- onClick: (V) => e.session.remove(I.id)
32946
+ onClick: (O) => e.session.remove(I.id)
32947
32947
  }, [
32948
32948
  le(c(Zt), { size: 14 })
32949
32949
  ], 8, S5)
@@ -32951,8 +32951,8 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32951
32951
  c(n).length > m.value ? (k(), x("button", {
32952
32952
  key: 0,
32953
32953
  onClick: F[5] || (F[5] = (I) => m.value += 20)
32954
- }, C(c(o)("common.importDialog_d3b786e8", { p0: m.value, p1: c(n).length })), 1)) : O("", !0)
32955
- ])) : O("", !0),
32954
+ }, C(c(o)("common.importDialog_d3b786e8", { p0: m.value, p1: c(n).length })), 1)) : V("", !0)
32955
+ ])) : V("", !0),
32956
32956
  c(n).some((I) => I.groupLabel) ? (k(), x("label", E5, [
32957
32957
  pa(P("input", {
32958
32958
  "onUpdate:modelValue": F[6] || (F[6] = (I) => Qr(u) ? u.value = I : null),
@@ -32962,7 +32962,7 @@ const e5 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
32962
32962
  [Sm, c(u)]
32963
32963
  ]),
32964
32964
  Ve(C(c(o)("common.importDialog_6886d297")), 1)
32965
- ])) : O("", !0),
32965
+ ])) : V("", !0),
32966
32966
  P("footer", null, [
32967
32967
  P("button", {
32968
32968
  disabled: c(s),
@@ -33033,34 +33033,34 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33033
33033
  ), i = o, s = or(), l = `${s}-brand-mark-clip`, d = `${s}-brand-mark-checker`, u = `${s}-brand-mark-tile`, p = U("loading"), h = U("loading"), b = $(() => {
33034
33034
  if (!(!r.sourceUrl || !n.value || r.params.opacity === 0))
33035
33035
  try {
33036
- const V = en(r.params), j = Ah(
33036
+ const O = en(r.params), j = Ah(
33037
33037
  r.width,
33038
33038
  r.height,
33039
33039
  r.logoWidth,
33040
33040
  r.logoHeight,
33041
- V
33041
+ O
33042
33042
  );
33043
33043
  return {
33044
- params: V,
33044
+ params: O,
33045
33045
  geometry: j,
33046
- ...V.mode === "tile" ? {
33046
+ ...O.mode === "tile" ? {
33047
33047
  tile: Sh(
33048
33048
  r.width,
33049
33049
  r.height,
33050
33050
  r.logoWidth,
33051
33051
  r.logoHeight,
33052
- V
33052
+ O
33053
33053
  )
33054
33054
  } : {}
33055
33055
  };
33056
- } catch (V) {
33056
+ } catch (O) {
33057
33057
  return {
33058
- error: V instanceof Error ? V.message : t("tools.brand_mark.brandMarkDraftPreview_880e8ddf")
33058
+ error: O instanceof Error ? O.message : t("tools.brand_mark.brandMarkDraftPreview_880e8ddf")
33059
33059
  };
33060
33060
  }
33061
33061
  }), w = $(() => {
33062
- const V = b.value;
33063
- return V?.geometry && V.params ? { params: V.params, geometry: V.geometry, tile: V.tile } : void 0;
33062
+ const O = b.value;
33063
+ return O?.geometry && O.params ? { params: O.params, geometry: O.geometry, tile: O.tile } : void 0;
33064
33064
  }), m = $(() => r.sourceUrl), z = $(
33065
33065
  () => JSON.stringify([
33066
33066
  r.params.logo?.assetId,
@@ -33069,12 +33069,12 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33069
33069
  n.value
33070
33070
  ])
33071
33071
  );
33072
- for (const [V, j, J] of [
33072
+ for (const [O, j, J] of [
33073
33073
  [m, () => r.sourceUrl, p],
33074
33074
  [z, () => n.value, h]
33075
33075
  ])
33076
33076
  Pe(
33077
- V,
33077
+ O,
33078
33078
  (M, R, oe) => {
33079
33079
  if (J.value = "loading", !j()) return;
33080
33080
  const te = new Image();
@@ -33093,9 +33093,9 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33093
33093
  },
33094
33094
  { immediate: !0, flush: "sync" }
33095
33095
  );
33096
- function _(V, j, J) {
33096
+ function _(O, j, J) {
33097
33097
  const M = j === "source" ? m.value : z.value;
33098
- V.currentTarget?.getAttribute("data-load-key") === M && (j === "source" ? p.value = J : h.value = J);
33098
+ O.currentTarget?.getAttribute("data-load-key") === M && (j === "source" ? p.value = J : h.value = J);
33099
33099
  }
33100
33100
  const f = $(
33101
33101
  () => !!w.value && p.value === "ready" && h.value === "ready"
@@ -33104,12 +33104,12 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33104
33104
  ), y = $(
33105
33105
  () => b.value?.error || (p.value === "error" ? t("tools.brand_mark.brandMarkDraftPreview_40ee6333") : h.value === "error" ? t("tools.brand_mark.brandMarkDraftPreview_ef409eff") : "")
33106
33106
  ), S = $(() => b.value ? y.value ? t("tools.brand_mark.brandMarkDraftPreview_5deac585", { p0: y.value }) : f.value ? w.value?.tile ? r.nativeGeometry ? t("tools.brand_mark.brandMarkDraftPreview_d857c48f") : t("tools.brand_mark.brandMarkDraftPreview_280d8ae4") : r.nativeGeometry ? t("tools.brand_mark.brandMarkDraftPreview_604192c2") : t("tools.brand_mark.brandMarkDraftPreview_d30d2997") : t("tools.brand_mark.brandMarkDraftPreview_3aa89772") : ""), F = $(() => {
33107
- const V = w.value?.params;
33108
- return !V || V.mode === "tile" || !V.anchor.startsWith("top");
33107
+ const O = w.value?.params;
33108
+ return !O || O.mode === "tile" || !O.anchor.startsWith("top");
33109
33109
  }), I = $(
33110
33110
  () => y.value ? t("tools.brand_mark.brandMarkDraftPreview_bdc69a10", { p0: y.value }) : r.nativeGeometry ? w.value?.tile ? t("tools.brand_mark.brandMarkDraftPreview_7a1695cd") : t("tools.brand_mark.brandMarkDraftPreview_d35424d8") : t("tools.brand_mark.brandMarkDraftPreview_2bc0065a")
33111
33111
  );
33112
- return (V, j) => (k(), x(Fe, null, [
33112
+ return (O, j) => (k(), x(Fe, null, [
33113
33113
  w.value?.geometry ? (k(), x("div", {
33114
33114
  key: 0,
33115
33115
  class: Je(["brand-mark-draft-layer", [
@@ -33161,7 +33161,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33161
33161
  height: "10",
33162
33162
  fill: "#e4e4e7"
33163
33163
  }, null, -1)
33164
- ])])) : O("", !0),
33164
+ ])])) : V("", !0),
33165
33165
  w.value.tile ? (k(), x("pattern", {
33166
33166
  key: 1,
33167
33167
  id: u,
@@ -33188,7 +33188,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33188
33188
  onLoad: j[0] || (j[0] = (J) => _(J, "logo", "ready")),
33189
33189
  onError: j[1] || (j[1] = (J) => _(J, "logo", "error"))
33190
33190
  }, null, 40, G5))
33191
- ], 8, N5)) : O("", !0)
33191
+ ], 8, N5)) : V("", !0)
33192
33192
  ]),
33193
33193
  P("g", {
33194
33194
  "clip-path": `url(#${l})`
@@ -33238,7 +33238,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33238
33238
  }, null, 40, H5))
33239
33239
  ], 8, U5)
33240
33240
  ], 8, F5))
33241
- ], 6)) : O("", !0),
33241
+ ], 6)) : V("", !0),
33242
33242
  (k(), ke(Aa, {
33243
33243
  to: e.captionTarget ?? "body",
33244
33244
  disabled: !e.captionTarget
@@ -33258,7 +33258,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33258
33258
  Ve(C(c(a)(S.value)), 1)
33259
33259
  ]),
33260
33260
  _: 1
33261
- }, 8, ["class", "type", "title", "aria-label"])) : O("", !0)
33261
+ }, 8, ["class", "type", "title", "aria-label"])) : V("", !0)
33262
33262
  ], 8, ["to", "disabled"]))
33263
33263
  ], 64));
33264
33264
  }
@@ -33341,7 +33341,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33341
33341
  geometry: v.value?.geometry
33342
33342
  });
33343
33343
  }
33344
- function V() {
33344
+ function O() {
33345
33345
  w?.(), w = void 0, m && (m.src = "", m = void 0);
33346
33346
  }
33347
33347
  function j(M) {
@@ -33373,7 +33373,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33373
33373
  [() => r.sourceUrl, () => r.image],
33374
33374
  async ([M, R]) => {
33375
33375
  const oe = ++b;
33376
- if (V(), d.value = void 0, p.value = M, h.value = R, u.value = M ? "pending" : "unknown", I(), !!M)
33376
+ if (O(), d.value = void 0, p.value = M, h.value = R, u.value = M ? "pending" : "unknown", I(), !!M)
33377
33377
  try {
33378
33378
  let te = R;
33379
33379
  te || (te = new Image(), te.crossOrigin = "anonymous", m = te, te.src = M);
@@ -33387,7 +33387,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33387
33387
  },
33388
33388
  { immediate: !0, flush: "post" }
33389
33389
  ), Pe([_, f, () => r.variant], I, { flush: "post" }), Oo(() => {
33390
- b++, V();
33390
+ b++, O();
33391
33391
  }), (M, R) => e.sourceUrl ? (k(), x("div", {
33392
33392
  key: 0,
33393
33393
  class: Je(["shadow-draft-preview", [`shadow-draft-${e.variant}`, v.value ? `lc-bg-${e.background}` : void 0]])
@@ -33480,14 +33480,14 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33480
33480
  filter: `url(#${s})`,
33481
33481
  preserveAspectRatio: "none"
33482
33482
  }, null, 8, o6)
33483
- ], 8, X5)) : O("", !0),
33483
+ ], 8, X5)) : V("", !0),
33484
33484
  (k(), ke(Aa, {
33485
33485
  to: e.captionTarget ?? "body",
33486
33486
  disabled: !e.captionTarget
33487
33487
  }, [
33488
- F.value ? (k(), x("span", t6, C(c(a)(F.value)), 1)) : O("", !0)
33488
+ F.value ? (k(), x("span", t6, C(c(a)(F.value)), 1)) : V("", !0)
33489
33489
  ], 8, ["to", "disabled"]))
33490
- ], 2)) : O("", !0);
33490
+ ], 2)) : V("", !0);
33491
33491
  }
33492
33492
  }), gb = /* @__PURE__ */ et(a6, [["__scopeId", "data-v-e7070063"]]), r6 = ["viewBox"], n6 = ["width", "height"], i6 = ["clip-path"], s6 = ["width", "height", "fill"], l6 = ["d", "fill"], c6 = ["href", "x", "y", "width", "height"], d6 = /* @__PURE__ */ eo({
33493
33493
  __name: "ResizeDraftPreview",
@@ -33567,7 +33567,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33567
33567
  height: "10",
33568
33568
  fill: "#e4e4e7"
33569
33569
  }, null, -1)
33570
- ])])) : O("", !0)
33570
+ ])])) : V("", !0)
33571
33571
  ]),
33572
33572
  P("g", {
33573
33573
  "clip-path": `url(#${a})`
@@ -33586,7 +33586,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33586
33586
  d: s.value,
33587
33587
  fill: i.value.params.background,
33588
33588
  "fill-rule": "evenodd"
33589
- }, null, 8, l6)) : O("", !0),
33589
+ }, null, 8, l6)) : V("", !0),
33590
33590
  P("image", {
33591
33591
  href: e.sourceUrl,
33592
33592
  x: i.value.geometry.imageRect.x,
@@ -33597,7 +33597,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33597
33597
  }, null, 8, c6)
33598
33598
  ], 8, i6)
33599
33599
  ], 8, r6))
33600
- ], 6)) : O("", !0);
33600
+ ], 6)) : V("", !0);
33601
33601
  }
33602
33602
  }), bb = /* @__PURE__ */ et(d6, [["__scopeId", "data-v-323677d3"]]), m6 = ["viewBox"], u6 = ["width", "height"], p6 = ["width", "height"], f6 = ["width", "height"], g6 = ["x", "y", "width", "height"], b6 = ["x", "y", "width", "height"], h6 = ["width", "height", "fill"], _6 = ["d", "fill"], v6 = ["href", "x", "y", "width", "height", "clip-path"], w6 = ["x", "y", "width", "height"], y6 = ["width", "height"], k6 = /* @__PURE__ */ eo({
33603
33603
  __name: "ContentTrimPreview",
@@ -33666,7 +33666,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33666
33666
  d: `M0 0H${e.geometry.width}V${e.geometry.height}H0Z M${e.geometry.padding} ${e.geometry.padding}h${e.geometry.sourceRect.width}v${e.geometry.sourceRect.height}h-${e.geometry.sourceRect.width}Z`,
33667
33667
  "fill-rule": "evenodd",
33668
33668
  fill: e.paddingColor
33669
- }, null, 8, _6)) : O("", !0),
33669
+ }, null, 8, _6)) : V("", !0),
33670
33670
  P("image", {
33671
33671
  href: e.sourceUrl,
33672
33672
  x: e.geometry.padding - e.geometry.sourceRect.x,
@@ -33688,7 +33688,7 @@ const F5 = ["viewBox"], B5 = ["width", "height"], N5 = ["x", "y", "width", "heig
33688
33688
  stroke: "var(--green, #a3be00)",
33689
33689
  "stroke-dasharray": "4 3",
33690
33690
  "vector-effect": "non-scaling-stroke"
33691
- }, null, 8, w6)) : O("", !0),
33691
+ }, null, 8, w6)) : V("", !0),
33692
33692
  P("rect", {
33693
33693
  width: e.geometry.width,
33694
33694
  height: e.geometry.height,
@@ -33940,7 +33940,7 @@ function S6(e = {}) {
33940
33940
  function I() {
33941
33941
  d++, b !== void 0 && clearTimeout(b), b = void 0, m = !1, w = [], z?.abort();
33942
33942
  }
33943
- function V(R, oe) {
33943
+ function O(R, oe) {
33944
33944
  for (const te of i.values()) te.key === R && f(te, oe);
33945
33945
  }
33946
33946
  async function j(R, oe) {
@@ -33965,10 +33965,10 @@ function S6(e = {}) {
33965
33965
  if (he.signal.aborted || R !== d) return;
33966
33966
  if (!F(D.blob.size)) throw new Error("此图片暂不能在网格预览,请打开单图查看");
33967
33967
  const re = t(D.blob);
33968
- s.set(te, { url: re, size: D.blob.size }), l += D.blob.size, V(te, { status: "ready", url: re });
33968
+ s.set(te, { url: re, size: D.blob.size }), l += D.blob.size, O(te, { status: "ready", url: re });
33969
33969
  } catch (de) {
33970
33970
  if (he.signal.aborted || R !== d) return;
33971
- V(te, {
33971
+ O(te, {
33972
33972
  status: "error",
33973
33973
  message: de instanceof Error ? de.message : "调色预览失败"
33974
33974
  });
@@ -34419,7 +34419,7 @@ const L6 = {
34419
34419
  } catch (de) {
34420
34420
  return { error: de.message };
34421
34421
  }
34422
- }), I = $(() => F.value.box), V = $(() => {
34422
+ }), I = $(() => F.value.box), O = $(() => {
34423
34423
  if (!m.value || r.recipe.tool !== "crop" || r.recipe.params.ratio === "original" || _.value && r.alphaSource)
34424
34424
  return {};
34425
34425
  try {
@@ -34427,7 +34427,7 @@ const L6 = {
34427
34427
  } catch (de) {
34428
34428
  return { error: de.message };
34429
34429
  }
34430
- }), j = $(() => V.value.box), J = $(() => {
34430
+ }), j = $(() => O.value.box), J = $(() => {
34431
34431
  const de = j.value;
34432
34432
  return de ? `M0 0H${r.width}V${r.height}H0Z M${de.x} ${de.y}V${de.y + de.height}H${de.x + de.width}V${de.y}Z` : "";
34433
34433
  }), M = $(() => {
@@ -34451,10 +34451,10 @@ const L6 = {
34451
34451
  }
34452
34452
  }), R = $(() => M.value.box), oe = $(
34453
34453
  () => R.value ? `translate(${R.value.width / 2} ${R.value.height / 2}) matrix(${R.value.matrix.join(" ")} 0 0)` : ""
34454
- ), te = $(() => f.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : _.value && z.value.status === "loading" ? o("tools.crop.contentTrim.loading") : v.value ? v.value.kind === "skip" ? o("tools.crop.contentTrim.transparentSkip") : o("tools.adjust.basicGridPreview_ed519d9b") : I.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_4ee3fe68") : I.value.skipped ? o("tools.adjust.basicGridPreview_f65a8bff") : o("tools.adjust.basicGridPreview_eb438ae3") : F.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : R.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_cc5d785d") : o("tools.adjust.basicGridPreview_8b90b651") : M.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : j.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_6da4a4e4") : o("tools.adjust.basicGridPreview_ed519d9b") : V.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : s.value.status === "loading" ? o("tools.adjust.basicGridPreview_72a9c9e5") : s.value.status === "ready" ? o("tools.adjust.basicGridPreview_87f0abb5") : s.value.status === "error" ? o("tools.adjust.basicGridPreview_82b43f0d") : ""), ne = $(
34455
- () => !!f.value.error || !!F.value.error || !!I.value && r.nativeGeometry === !1 || !!M.value.error || !!R.value && r.nativeGeometry === !1 || !!V.value.error || !!j.value && r.nativeGeometry === !1 || s.value.status === "error"
34454
+ ), te = $(() => f.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : _.value && z.value.status === "loading" ? o("tools.crop.contentTrim.loading") : v.value ? v.value.kind === "skip" ? o("tools.crop.contentTrim.transparentSkip") : o("tools.adjust.basicGridPreview_ed519d9b") : I.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_4ee3fe68") : I.value.skipped ? o("tools.adjust.basicGridPreview_f65a8bff") : o("tools.adjust.basicGridPreview_eb438ae3") : F.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : R.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_cc5d785d") : o("tools.adjust.basicGridPreview_8b90b651") : M.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : j.value ? r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_6da4a4e4") : o("tools.adjust.basicGridPreview_ed519d9b") : O.value.error ? o("tools.adjust.basicGridPreview_82b43f0d") : s.value.status === "loading" ? o("tools.adjust.basicGridPreview_72a9c9e5") : s.value.status === "ready" ? o("tools.adjust.basicGridPreview_87f0abb5") : s.value.status === "error" ? o("tools.adjust.basicGridPreview_82b43f0d") : ""), ne = $(
34455
+ () => !!f.value.error || !!F.value.error || !!I.value && r.nativeGeometry === !1 || !!M.value.error || !!R.value && r.nativeGeometry === !1 || !!O.value.error || !!j.value && r.nativeGeometry === !1 || s.value.status === "error"
34456
34456
  ), he = $(
34457
- () => f.value.error || F.value.error || (I.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_44faae57") : void 0) || M.value.error || V.value.error || (R.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_905eaf6d") : j.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_b3f2c617") : s.value.status === "error" ? s.value.message : o("tools.adjust.basicGridPreview_de3136e3"))
34457
+ () => f.value.error || F.value.error || (I.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_44faae57") : void 0) || M.value.error || O.value.error || (R.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_905eaf6d") : j.value && r.nativeGeometry === !1 ? o("tools.adjust.basicGridPreview_b3f2c617") : s.value.status === "error" ? s.value.message : o("tools.adjust.basicGridPreview_de3136e3"))
34458
34458
  );
34459
34459
  return Oo(() => {
34460
34460
  d++, l?.(), n?.remove(r.id), b();
@@ -34468,7 +34468,7 @@ const L6 = {
34468
34468
  "padding-color": e.recipe.params.paddingColor,
34469
34469
  onError: D[0] || (D[0] = (re) => z.value = { status: "error", message: "无法显示预览" })
34470
34470
  }, null, 8, ["source-url", "source-width", "source-height", "geometry", "padding-color"])
34471
- ])) : O("", !0),
34471
+ ])) : V("", !0),
34472
34472
  m.value && e.recipe.tool === "image_effects" ? (k(), x("div", {
34473
34473
  key: 1,
34474
34474
  class: "magic-draft-preview",
@@ -34481,12 +34481,12 @@ const L6 = {
34481
34481
  src: c(y).url,
34482
34482
  alt: c(o)("tools.image_effects.preview")
34483
34483
  }, null, 8, V6)
34484
- ])) : O("", !0),
34484
+ ])) : V("", !0),
34485
34485
  P("span", {
34486
34486
  class: "grid-preview-caption",
34487
34487
  role: c(y).status === "error" ? "alert" : "status"
34488
34488
  }, C(c(y).status === "ready" ? c(o)("tools.image_effects.preview") : c(y).status === "error" ? c(a)(c(y).message) : c(o)("tools.image_effects.previewing")), 9, O6)
34489
- ], 8, M6)) : O("", !0),
34489
+ ], 8, M6)) : V("", !0),
34490
34490
  m.value && e.recipe.tool === "brand_mark" ? (k(), ke(fb, {
34491
34491
  key: 2,
34492
34492
  variant: "grid",
@@ -34498,7 +34498,7 @@ const L6 = {
34498
34498
  "logo-width": e.recipe.logoWidth,
34499
34499
  "logo-height": e.recipe.logoHeight,
34500
34500
  "native-geometry": e.nativeGeometry
34501
- }, null, 8, ["source-url", "width", "height", "params", "logo-url", "logo-width", "logo-height", "native-geometry"])) : O("", !0),
34501
+ }, null, 8, ["source-url", "width", "height", "params", "logo-url", "logo-width", "logo-height", "native-geometry"])) : V("", !0),
34502
34502
  m.value && e.recipe.tool === "shadow" ? (k(), ke(gb, {
34503
34503
  key: 3,
34504
34504
  variant: "grid",
@@ -34508,7 +34508,7 @@ const L6 = {
34508
34508
  width: e.width,
34509
34509
  height: e.height,
34510
34510
  params: e.recipe.params
34511
- }, null, 8, ["native-geometry", "image", "source-url", "width", "height", "params"])) : O("", !0),
34511
+ }, null, 8, ["native-geometry", "image", "source-url", "width", "height", "params"])) : V("", !0),
34512
34512
  I.value && e.recipe.tool === "resize" ? (k(), ke(bb, {
34513
34513
  key: 4,
34514
34514
  variant: "grid",
@@ -34516,14 +34516,14 @@ const L6 = {
34516
34516
  width: e.width,
34517
34517
  height: e.height,
34518
34518
  params: S.value
34519
- }, null, 8, ["source-url", "width", "height", "params"])) : O("", !0),
34519
+ }, null, 8, ["source-url", "width", "height", "params"])) : V("", !0),
34520
34520
  m.value && s.value.status === "ready" && s.value.url ? (k(), x("div", F6, [
34521
34521
  P("img", {
34522
34522
  src: s.value.url,
34523
34523
  alt: "",
34524
34524
  onError: D[1] || (D[1] = (re) => s.value = { status: "error", message: "无法显示预览" })
34525
34525
  }, null, 40, B6)
34526
- ])) : O("", !0),
34526
+ ])) : V("", !0),
34527
34527
  R.value ? (k(), x("div", N6, [
34528
34528
  (k(), x("svg", {
34529
34529
  viewBox: `0 0 ${R.value.width} ${R.value.height}`,
@@ -34541,7 +34541,7 @@ const L6 = {
34541
34541
  }, null, 40, $6)
34542
34542
  ], 8, U6)
34543
34543
  ], 8, G6))
34544
- ])) : O("", !0),
34544
+ ])) : V("", !0),
34545
34545
  j.value ? (k(), x("svg", {
34546
34546
  key: 7,
34547
34547
  class: "grid-crop-overlay",
@@ -34565,7 +34565,7 @@ const L6 = {
34565
34565
  "stroke-width": "2",
34566
34566
  "vector-effect": "non-scaling-stroke"
34567
34567
  }, null, 8, H6)
34568
- ], 8, q6)) : O("", !0),
34568
+ ], 8, q6)) : V("", !0),
34569
34569
  m.value && te.value ? (k(), ke(qi(ne.value ? "button" : "span"), {
34570
34570
  key: 8,
34571
34571
  class: "grid-preview-caption",
@@ -34577,7 +34577,7 @@ const L6 = {
34577
34577
  Ve(C(c(t)(te.value)), 1)
34578
34578
  ]),
34579
34579
  _: 1
34580
- }, 8, ["type", "title", "aria-label"])) : O("", !0)
34580
+ }, 8, ["type", "title", "aria-label"])) : V("", !0)
34581
34581
  ], 64));
34582
34582
  }
34583
34583
  }), X6 = /* @__PURE__ */ et(K6, [["__scopeId", "data-v-45308480"]]), Z6 = ["src", "alt"], J6 = {
@@ -34593,65 +34593,65 @@ const L6 = {
34593
34593
  emits: ["select", "open", "replace"],
34594
34594
  setup(e, { emit: o }) {
34595
34595
  const { ui: t, uiText: a } = Do(), r = e, n = o, i = Yn(), s = U(""), l = U(!1), d = U(), u = U(), p = U({ width: 0, height: 0 }), h = $(() => {
34596
- const V = Mo(r.item).asset;
34597
- return V && V.orientation !== void 0 ? fl(V) : p.value;
34596
+ const O = Mo(r.item).asset;
34597
+ return O && O.orientation !== void 0 ? fl(O) : p.value;
34598
34598
  }), b = $(() => {
34599
- const V = Mo(r.item).asset;
34600
- return v.value || !!V && V.orientation !== void 0;
34599
+ const O = Mo(r.item).asset;
34600
+ return v.value || !!O && O.orientation !== void 0;
34601
34601
  });
34602
- function w(V) {
34603
- const j = V.target;
34602
+ function w(O) {
34603
+ const j = O.target;
34604
34604
  p.value = { width: j.naturalWidth, height: j.naturalHeight };
34605
34605
  }
34606
34606
  const m = $(() => {
34607
- const V = Mo(r.item), j = {
34608
- ...V,
34609
- source: { ...V.source },
34610
- ...V.asset ? { asset: { ...V.asset } } : {}
34611
- }, J = { ...r.item, currentVersionId: V.id, versions: [j] };
34607
+ const O = Mo(r.item), j = {
34608
+ ...O,
34609
+ source: { ...O.source },
34610
+ ...O.asset ? { asset: { ...O.asset } } : {}
34611
+ }, J = { ...r.item, currentVersionId: O.id, versions: [j] };
34612
34612
  return {
34613
- sourceKey: JSON.stringify([i.batch.id, J.id, V.id, j.source]),
34613
+ sourceKey: JSON.stringify([i.batch.id, J.id, O.id, j.source]),
34614
34614
  async acquireOriginal() {
34615
34615
  const R = await i.imageUrl(J, !1);
34616
34616
  return { url: R, release: () => i.releaseImageUrl(R) };
34617
34617
  }
34618
34618
  };
34619
34619
  }), z = $(() => {
34620
- const V = r.item.versions.findIndex(
34620
+ const O = r.item.versions.findIndex(
34621
34621
  (j) => j.id === r.item.currentVersionId
34622
34622
  );
34623
- return V <= 0 ? t("common.historyDrawer_4b1db520") : t("common.historyDrawer_0b778462", { p0: V + 1 });
34623
+ return O <= 0 ? t("common.historyDrawer_4b1db520") : t("common.historyDrawer_0b778462", { p0: O + 1 });
34624
34624
  }), _ = $(
34625
- () => i.itemTasks.get(r.item.id) ?? [...i.batch.attempts].reverse().find((V) => V.itemId === r.item.id)
34625
+ () => i.itemTasks.get(r.item.id) ?? [...i.batch.attempts].reverse().find((O) => O.itemId === r.item.id)
34626
34626
  ), f = $(() => {
34627
- const V = i.batch.attempts.find((j) => j.id === r.item.busyAttemptId);
34628
- return V?.remoteWaitingTimedOut ? "" : V?.status === "blocked_dependency" ? "blocked" : V?.status === "waiting_dependency" ? "waiting" : V && ["running", "submitting"].includes(V.status) ? "running" : V ? "queued" : "";
34627
+ const O = i.batch.attempts.find((j) => j.id === r.item.busyAttemptId);
34628
+ return O?.remoteWaitingTimedOut ? "" : O?.status === "blocked_dependency" ? "blocked" : O?.status === "waiting_dependency" ? "waiting" : O && ["running", "submitting"].includes(O.status) ? "running" : O ? "queued" : "";
34629
34629
  }), v = $(() => Mo(r.item).source.kind === "local"), y = $(
34630
34630
  () => i.writer && v.value && (l.value || r.item.error?.startsWith(t("common.card_72e1fdcf")))
34631
34631
  ), S = $(() => {
34632
34632
  if (r.item.error) return a(r.item.error);
34633
34633
  if (l.value && v.value) return t("common.card_cca0ef3b");
34634
34634
  if (r.item.busyAttemptId) {
34635
- const V = i.batch.attempts.find((j) => j.id === r.item.busyAttemptId);
34636
- return V?.remoteWaitingTimedOut ? t("remote.resultPending") : V && ["waiting_source", "ready_to_submit", "waiting_dependency"].includes(V.status) && i.executionOperationId && i.executionOperationId !== V.operationId ? t("common.card_372e49f2") : V?.status === "waiting_dependency" ? t("common.imageViewer_7c665c69") : V?.status === "blocked_dependency" ? t("common.taskPopover_6d457eab") : V?.status === "submission_unknown" ? t("common.card_fd9707e9") : V && ["accepted", "queued"].includes(V.status) ? t("common.taskPopover_d6f766f2") : V?.status === "waiting_source" || V?.status === "ready_to_submit" ? t("common.historyDrawer_bb6b135b") : a(V?.stage) || t("common.historyDrawer_694b71bc");
34635
+ const O = i.batch.attempts.find((j) => j.id === r.item.busyAttemptId);
34636
+ return O?.remoteWaitingTimedOut ? t("remote.resultPending") : O && ["waiting_source", "ready_to_submit", "waiting_dependency"].includes(O.status) && i.executionOperationId && i.executionOperationId !== O.operationId ? t("common.card_372e49f2") : O?.status === "waiting_dependency" ? t("common.imageViewer_7c665c69") : O?.status === "blocked_dependency" ? t("common.taskPopover_6d457eab") : O?.status === "submission_unknown" ? t("common.card_fd9707e9") : O && ["accepted", "queued"].includes(O.status) ? t("common.taskPopover_d6f766f2") : O?.status === "waiting_source" || O?.status === "ready_to_submit" ? t("common.historyDrawer_bb6b135b") : a(O?.stage) || t("common.historyDrawer_694b71bc");
34637
34637
  }
34638
- return _.value?.status === "succeeded" && _.value.details?.skipped ? i.batch.operations.find((V) => V.id === _.value?.operationId)?.toolId === "image_translation" ? a(Op(_.value.details.reasonCode)) : a(_.value.details.reason) || t("common.card_60ce7a23") : _.value?.errorCode === "TRANSLATION_NEEDS_REVIEW" || _.value?.errorCode === "INVALID_TRANSLATION_PLAN" || _.value?.errorCode === "INVALID_TRANSLATION_VERIFICATION" ? t("common.card_0f257e25") + (_.value.error || t("common.card_151a6c6d")) : _.value?.status === "failed" ? t("common.card_0481fb55", { p0: a(_.value.error ?? t("common.card_a2577bae")) }) : _.value?.status === "succeeded" ? t("common.card_93b5664a") : _.value?.status === "cancelled" ? t("common.card_6f96c2ad") : t("common.card_2af54f85");
34638
+ return _.value?.status === "succeeded" && _.value.details?.skipped ? i.batch.operations.find((O) => O.id === _.value?.operationId)?.toolId === "image_translation" ? a(Op(_.value.details.reasonCode)) : a(_.value.details.reason) || t("common.card_60ce7a23") : _.value?.errorCode === "TRANSLATION_NEEDS_REVIEW" || _.value?.errorCode === "INVALID_TRANSLATION_PLAN" || _.value?.errorCode === "INVALID_TRANSLATION_VERIFICATION" ? t("common.card_0f257e25") + (_.value.error || t("common.card_151a6c6d")) : _.value?.status === "failed" ? t("common.card_0481fb55", { p0: a(_.value.error ?? t("common.card_a2577bae")) }) : _.value?.status === "succeeded" ? t("common.card_93b5664a") : _.value?.status === "cancelled" ? t("common.card_6f96c2ad") : t("common.card_2af54f85");
34639
34639
  });
34640
34640
  let F = "", I = 0;
34641
34641
  return Pe(
34642
34642
  () => {
34643
- const V = Mo(r.item).source;
34643
+ const O = Mo(r.item).source;
34644
34644
  return JSON.stringify([
34645
34645
  r.item.currentVersionId,
34646
- V.kind,
34647
- V.kind === "external_url" ? [V.url, V.expectedSha256] : V.kind === "asset" ? [V.assetId, V.assetVersionId] : V.blobKey
34646
+ O.kind,
34647
+ O.kind === "external_url" ? [O.url, O.expectedSha256] : O.kind === "asset" ? [O.assetId, O.assetVersionId] : O.blobKey
34648
34648
  ]);
34649
34649
  },
34650
34650
  async () => {
34651
- const V = ++I;
34651
+ const O = ++I;
34652
34652
  l.value = !1, p.value = { width: 0, height: 0 }, F && i.releaseImageUrl(F), F = "", s.value = "";
34653
- const j = await i.imageUrl(r.item, !0).catch(() => (V === I && (l.value = !0), ""));
34654
- if (V !== I) {
34653
+ const j = await i.imageUrl(r.item, !0).catch(() => (O === I && (l.value = !0), ""));
34654
+ if (O !== I) {
34655
34655
  i.releaseImageUrl(j);
34656
34656
  return;
34657
34657
  }
@@ -34660,7 +34660,7 @@ const L6 = {
34660
34660
  { immediate: !0 }
34661
34661
  ), Oo(() => {
34662
34662
  I++, F && i.releaseImageUrl(F);
34663
- }), (V, j) => (k(), ke(c(Le).article, {
34663
+ }), (O, j) => (k(), ke(c(Le).article, {
34664
34664
  "while-hover": { y: -2 },
34665
34665
  transition: c(io),
34666
34666
  class: Je(["image-card", { selected: e.selected }]),
@@ -34699,7 +34699,7 @@ const L6 = {
34699
34699
  "native-geometry": b.value,
34700
34700
  "source-orientation": c(Mo)(e.item).asset?.orientation,
34701
34701
  recipe: e.basicRecipe
34702
- }, null, 8, ["id", "batch-id", "version-id", "source-url", "alpha-source", "width", "height", "media", "image", "local", "native-geometry", "source-orientation", "recipe"])) : O("", !0),
34702
+ }, null, 8, ["id", "batch-id", "version-id", "source-url", "alpha-source", "width", "height", "media", "image", "local", "native-geometry", "source-orientation", "recipe"])) : V("", !0),
34703
34703
  P("button", {
34704
34704
  class: "card-select",
34705
34705
  type: "button",
@@ -34707,7 +34707,7 @@ const L6 = {
34707
34707
  "aria-pressed": e.selected,
34708
34708
  onClick: j[1] || (j[1] = Ko((J) => n("select", e.item.id), ["stop"]))
34709
34709
  }, [
34710
- e.selected ? (k(), x("span", Q6, "✓")) : O("", !0)
34710
+ e.selected ? (k(), x("span", Q6, "✓")) : V("", !0)
34711
34711
  ], 8, Y6),
34712
34712
  j[5] || (j[5] = P("svg", {
34713
34713
  class: "card-overlay",
@@ -34729,7 +34729,7 @@ const L6 = {
34729
34729
  type: "button",
34730
34730
  "aria-label": c(t)("common.card_8b0dfeda", { p0: e.item.name }),
34731
34731
  onClick: j[3] || (j[3] = (J) => n("replace", e.item.id))
34732
- }, C(c(t)("common.card_9b904c0e")), 9, r9)) : O("", !0),
34732
+ }, C(c(t)("common.card_9b904c0e")), 9, r9)) : V("", !0),
34733
34733
  P("span", n9, C(z.value), 1),
34734
34734
  P("button", {
34735
34735
  class: "card-open",
@@ -34838,7 +34838,7 @@ const c9 = {
34838
34838
  class: "batch-floating-shade",
34839
34839
  "aria-hidden": "true",
34840
34840
  onPointerdown: v[0] || (v[0] = (y) => i("close"))
34841
- }, null, 32)) : O("", !0),
34841
+ }, null, 32)) : V("", !0),
34842
34842
  P("section", {
34843
34843
  id: e.id,
34844
34844
  ref_key: "panel",
@@ -34863,7 +34863,7 @@ const c9 = {
34863
34863
  ba(f.$slots, "default")
34864
34864
  ])
34865
34865
  ], 12, d9)
34866
- ])) : O("", !0)
34866
+ ])) : V("", !0)
34867
34867
  ]),
34868
34868
  _: 3
34869
34869
  })
@@ -34965,7 +34965,7 @@ const c9 = {
34965
34965
  e.help ? (k(), ke(kb, {
34966
34966
  key: 0,
34967
34967
  text: e.help
34968
- }, null, 8, ["text"])) : O("", !0),
34968
+ }, null, 8, ["text"])) : V("", !0),
34969
34969
  e.changed && e.context.resetAllowed !== !1 ? (k(), ke(c(Le).button, {
34970
34970
  key: 1,
34971
34971
  class: "tool-reset icon-motion-trigger",
@@ -34984,7 +34984,7 @@ const c9 = {
34984
34984
  })
34985
34985
  ]),
34986
34986
  _: 1
34987
- }, 8, ["aria-label", "title", "disabled", "transition"])) : O("", !0),
34987
+ }, 8, ["aria-label", "title", "disabled", "transition"])) : V("", !0),
34988
34988
  le(c(Le).button, {
34989
34989
  class: "tool-close icon-motion-trigger",
34990
34990
  "aria-label": c(t)("common.toolPanel_08c744de"),
@@ -35006,7 +35006,7 @@ const c9 = {
35006
35006
  le(pb, {
35007
35007
  onFiles: i[1] || (i[1] = (s) => c(a).addFiles(s))
35008
35008
  })
35009
- ])) : O("", !0),
35009
+ ])) : V("", !0),
35010
35010
  P("div", {
35011
35011
  class: Je(["plugin-panel-body", e.bodyClass])
35012
35012
  }, [
@@ -35015,7 +35015,7 @@ const c9 = {
35015
35015
  i[2] || (i[2] = P("div", { class: "tool-spacer" }, null, -1)),
35016
35016
  n.$slots.actions ? (k(), x("div", w9, [
35017
35017
  ba(n.$slots, "actions", {}, void 0, !0)
35018
- ])) : O("", !0)
35018
+ ])) : V("", !0)
35019
35019
  ], 10, h9));
35020
35020
  }
35021
35021
  }), k9 = /* @__PURE__ */ et(y9, [["__scopeId", "data-v-93ef2224"]]), P9 = ["role"], z9 = /* @__PURE__ */ eo({
@@ -35040,7 +35040,7 @@ const c9 = {
35040
35040
  key: 0,
35041
35041
  type: "button",
35042
35042
  onClick: n[0] || (n[0] = (i) => a("retry"))
35043
- }, C(c(t)("common.app_1133d675")), 1)) : O("", !0)
35043
+ }, C(c(t)("common.app_1133d675")), 1)) : V("", !0)
35044
35044
  ]),
35045
35045
  _: 1
35046
35046
  }, 8, ["context"]));
@@ -35280,20 +35280,20 @@ const c9 = {
35280
35280
  function I(j) {
35281
35281
  j.entryId ? d("entry", j.entryId) : d("tool", j.toolId);
35282
35282
  }
35283
- function V() {
35283
+ function O() {
35284
35284
  return l.visible !== !1 && !!p.value?.hasOverlay?.();
35285
35285
  }
35286
35286
  return o({
35287
- hasOverlay: V,
35288
- blocksShortcuts: () => l.visible !== !1 && (p.value?.blocksShortcuts?.() ?? V()),
35289
- dismissOverlay: () => V() && !!p.value?.dismissOverlay?.()
35287
+ hasOverlay: O,
35288
+ blocksShortcuts: () => l.visible !== !1 && (p.value?.blocksShortcuts?.() ?? O()),
35289
+ dismissOverlay: () => O() && !!p.value?.dismissOverlay?.()
35290
35290
  }), (j, J) => (k(), ke(c(Le).aside, Ea({
35291
35291
  inert: e.visible === !1 ? !0 : void 0,
35292
35292
  "aria-hidden": e.visible === !1 ? "true" : void 0,
35293
35293
  class: "tools-panel plugin-host"
35294
35294
  }, c(rs)), {
35295
35295
  default: Se(() => [
35296
- e.tool ? O("", !0) : (k(), x(Fe, { key: 0 }, [
35296
+ e.tool ? V("", !0) : (k(), x(Fe, { key: 0 }, [
35297
35297
  P("header", D9, [
35298
35298
  P("h1", null, C(c(r)(c(sd)[e.group])), 1),
35299
35299
  le(c(Le).button, {
@@ -35333,10 +35333,10 @@ const c9 = {
35333
35333
  class: "icon-motion icon-motion--sparkles",
35334
35334
  size: 17,
35335
35335
  "aria-hidden": "true"
35336
- })) : O("", !0),
35336
+ })) : V("", !0),
35337
35337
  Ve(C(c(a)(M.titleKey)), 1)
35338
35338
  ]),
35339
- M.descriptionKey ? (k(), x("small", C9, C(c(a)(M.descriptionKey)), 1)) : O("", !0)
35339
+ M.descriptionKey ? (k(), x("small", C9, C(c(a)(M.descriptionKey)), 1)) : V("", !0)
35340
35340
  ]),
35341
35341
  M.image ? (k(), x("img", {
35342
35342
  key: 0,
@@ -35346,7 +35346,7 @@ const c9 = {
35346
35346
  decoding: "async",
35347
35347
  width: "72",
35348
35348
  height: "72"
35349
- }, null, 8, I9)) : O("", !0)
35349
+ }, null, 8, I9)) : V("", !0)
35350
35350
  ]),
35351
35351
  _: 2
35352
35352
  }, 1032, ["class", "transition", "onClick"]))), 128))
@@ -35363,7 +35363,7 @@ const c9 = {
35363
35363
  ref_key: "panelRef",
35364
35364
  ref: p,
35365
35365
  context: S.value
35366
- }, null, 8, ["context"])) : O("", !0)
35366
+ }, null, 8, ["context"])) : V("", !0)
35367
35367
  ], 1032, ["include"]))
35368
35368
  ]),
35369
35369
  _: 1
@@ -35582,7 +35582,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35582
35582
  onClick: d[1] || (d[1] = (u) => l.$emit("delete", e.entry.id))
35583
35583
  }, [
35584
35584
  le(c(im), { size: 16 })
35585
- ], 8, K9)) : O("", !0)
35585
+ ], 8, K9)) : V("", !0)
35586
35586
  ]),
35587
35587
  P("div", X9, [
35588
35588
  e.entry.expiredAt ? (k(), ke(c(ak), {
@@ -35597,20 +35597,20 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35597
35597
  version: u.versions[0]
35598
35598
  }, null, 8, ["item", "version"]))), 128)) : (k(), x("span", Z9)),
35599
35599
  P("span", J9, C(c(t)("common.app_aa1d9e96", { p0: e.entry.itemCount })), 1),
35600
- !e.entry.expiredAt && e.entry.pendingCount ? (k(), x("span", Y9, C(c(t)("common.historyCard_df9fbc34", { p0: e.entry.pendingCount })), 1)) : O("", !0),
35601
- !e.entry.expiredAt && e.entry.attentionCount ? (k(), x("span", Q9, C(c(o)("common.project.attentionCount", { count: e.entry.attentionCount })), 1)) : O("", !0),
35600
+ !e.entry.expiredAt && e.entry.pendingCount ? (k(), x("span", Y9, C(c(t)("common.historyCard_df9fbc34", { p0: e.entry.pendingCount })), 1)) : V("", !0),
35601
+ !e.entry.expiredAt && e.entry.attentionCount ? (k(), x("span", Q9, C(c(o)("common.project.attentionCount", { count: e.entry.attentionCount })), 1)) : V("", !0),
35602
35602
  e.entry.expiredAt ? (k(), x("span", e7, C(c(t)(
35603
35603
  "common.quantity.operations",
35604
35604
  { count: e.entry.operationCount ?? 0 },
35605
35605
  e.entry.operationCount ?? 0
35606
- )), 1)) : O("", !0)
35606
+ )), 1)) : V("", !0)
35607
35607
  ]),
35608
35608
  !e.entry.expiredAt && (e.entry.pendingCount || e.entry.operationCount) ? (k(), x("button", {
35609
35609
  key: 0,
35610
35610
  class: "history-review-tasks",
35611
35611
  disabled: !e.current && e.openBlocked,
35612
35612
  onClick: d[2] || (d[2] = (u) => l.$emit("review", e.entry.id))
35613
- }, C(e.entry.pendingCount ? c(t)("common.project.reviewTasks") : c(o)("common.project.viewTasks")), 9, o7)) : O("", !0)
35613
+ }, C(e.entry.pendingCount ? c(t)("common.project.reviewTasks") : c(o)("common.project.viewTasks")), 9, o7)) : V("", !0)
35614
35614
  ], 10, U9));
35615
35615
  }
35616
35616
  }), a7 = /* @__PURE__ */ et(t7, [["__scopeId", "data-v-9d2e09e1"]]), r7 = ["aria-label"], n7 = ["value", "max", "aria-label"], i7 = {
@@ -35645,13 +35645,13 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35645
35645
  max: e.session.total || 1,
35646
35646
  "aria-label": c(o)("common.exportProgress_df396b52")
35647
35647
  }, null, 8, n7),
35648
- e.session.status === "running" && e.session.itemName ? (k(), x("p", i7, C(e.session.itemName) + " · " + C(c(r)(e.session.stage)), 1)) : O("", !0),
35649
- e.session.error ? (k(), x("p", s7, C(c(t)(e.session.error)), 1)) : O("", !0),
35650
- e.session.status !== "running" ? (k(), x("p", l7, C(c(o)("common.exportProgress_dca52457", { p0: e.session.exported, p1: e.session.excluded.length })), 1)) : O("", !0),
35648
+ e.session.status === "running" && e.session.itemName ? (k(), x("p", i7, C(e.session.itemName) + " · " + C(c(r)(e.session.stage)), 1)) : V("", !0),
35649
+ e.session.error ? (k(), x("p", s7, C(c(t)(e.session.error)), 1)) : V("", !0),
35650
+ e.session.status !== "running" ? (k(), x("p", l7, C(c(o)("common.exportProgress_dca52457", { p0: e.session.exported, p1: e.session.excluded.length })), 1)) : V("", !0),
35651
35651
  e.session.excluded.length ? (k(), x("details", c7, [
35652
35652
  P("summary", null, C(c(o)("common.exportProgress_eaa5658d")), 1),
35653
35653
  (k(!0), x(Fe, null, _o(e.session.excluded, (l, d) => (k(), x("p", { key: d }, C(l.item) + ":" + C(c(n)(l.reason)), 1))), 128))
35654
- ])) : O("", !0),
35654
+ ])) : V("", !0),
35655
35655
  e.session.items?.length ? (k(), x("details", d7, [
35656
35656
  P("summary", null, C(c(o)("common.exportProgress_df396b52")), 1),
35657
35657
  P("ul", null, [
@@ -35661,28 +35661,28 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35661
35661
  P("span", null, C(l.status === "exported" ? l.filename ?? l.item : l.item), 1),
35662
35662
  l.status === "exported" && l.inputBytes !== void 0 ? (k(), x("span", m7, [
35663
35663
  Ve(C(c(Xa)(l.inputBytes)) + " → " + C(c(Xa)(l.outputBytes ?? 0)) + " · " + C(c(t)(c(a)(l.inputBytes, l.outputBytes ?? 0))) + " ", 1),
35664
- l.preservedOriginal ? (k(), x("em", u7, "· " + C(c(o)("common.exportProgress_preservedOriginal")), 1)) : O("", !0)
35664
+ l.preservedOriginal ? (k(), x("em", u7, "· " + C(c(o)("common.exportProgress_preservedOriginal")), 1)) : V("", !0)
35665
35665
  ])) : (k(), x("span", p7, C(c(n)(l.reason ?? "")), 1)),
35666
35666
  e.session.downloads?.find((u) => u.filename === l.filename) ? (k(), x("a", {
35667
35667
  key: 2,
35668
35668
  href: e.session.downloads?.find((u) => u.filename === l.filename)?.url,
35669
35669
  download: l.filename
35670
- }, C(c(o)("common.exportDialog_downloadFile")), 9, f7)) : O("", !0)
35670
+ }, C(c(o)("common.exportDialog_downloadFile")), 9, f7)) : V("", !0)
35671
35671
  ]))), 128))
35672
35672
  ])
35673
- ])) : O("", !0),
35673
+ ])) : V("", !0),
35674
35674
  e.session.url ? (k(), x("a", {
35675
35675
  key: 5,
35676
35676
  class: "export-download",
35677
35677
  href: e.session.url,
35678
35678
  download: e.session.filename
35679
- }, C(c(o)("common.exportProgress_25a9fd02")), 9, g7)) : O("", !0),
35679
+ }, C(c(o)("common.exportProgress_25a9fd02")), 9, g7)) : V("", !0),
35680
35680
  e.session.status !== "running" ? (k(), x("footer", b7, [
35681
35681
  P("small", null, C(c(o)("common.exportProgress_98d032f7")), 1),
35682
35682
  P("button", {
35683
35683
  onClick: s[0] || (s[0] = (l) => i.$emit("dismiss"))
35684
35684
  }, C(c(o)("common.exportProgress_45350131")), 1)
35685
- ])) : O("", !0)
35685
+ ])) : V("", !0)
35686
35686
  ], 8, r7));
35687
35687
  }
35688
35688
  }), _7 = { class: "task-drawer-heading" }, v7 = ["aria-label"], w7 = ["aria-selected"], y7 = ["aria-selected"], k7 = ["aria-label", "title"], P7 = {
@@ -35793,7 +35793,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35793
35793
  },
35794
35794
  emits: ["close", "update:tab", "open", "batch", "create", "reconfigure", "dismiss-export"],
35795
35795
  setup(e, { emit: o }) {
35796
- const { ui: t, uiText: a, uiNotice: r, uiDate: n } = Do(), i = Qn(), s = pm(), l = qg(), d = e, u = o, p = (B, H) => B.startsWith("common.queue.") && !["common.queue.waiting", "common.queue.keep"].includes(B) ? i(B, H) : t(B, H), h = U(), b = U(), w = U(!1), m = U(""), z = U(""), _ = U(!1), f = Yn(), v = U(), y = U(!1), S = U(""), F = U(), I = U(), V = U();
35796
+ const { ui: t, uiText: a, uiNotice: r, uiDate: n } = Do(), i = Qn(), s = pm(), l = qg(), d = e, u = o, p = (B, H) => B.startsWith("common.queue.") && !["common.queue.waiting", "common.queue.keep"].includes(B) ? i(B, H) : t(B, H), h = U(), b = U(), w = U(!1), m = U(""), z = U(""), _ = U(!1), f = Yn(), v = U(), y = U(!1), S = U(""), F = U(), I = U(), O = U();
35797
35797
  function j(B) {
35798
35798
  return [
35799
35799
  ...ee(B.id) ? [
@@ -35823,26 +35823,26 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35823
35823
  return I.value?.querySelector(".operation-menu");
35824
35824
  }
35825
35825
  function R(B = !1) {
35826
- const H = V.value, Y = pd({
35826
+ const H = O.value, Y = pd({
35827
35827
  confirmation: M() ?? void 0,
35828
35828
  scopeId: f.batch.id,
35829
35829
  currentScopeId: () => f.batch.id,
35830
35830
  preferred: () => [H ? J(H) : void 0],
35831
35831
  context: I.value?.closest(".task-drawer")
35832
35832
  });
35833
- V.value = void 0, B && mo(Y);
35833
+ O.value = void 0, B && mo(Y);
35834
35834
  }
35835
35835
  async function oe(B) {
35836
- if (V.value === B) return R(!0);
35837
- V.value = B, await mo(), M()?.querySelector('[role="menuitem"]:not(:disabled)')?.focus();
35836
+ if (O.value === B) return R(!0);
35837
+ O.value = B, await mo(), M()?.querySelector('[role="menuitem"]:not(:disabled)')?.focus();
35838
35838
  }
35839
35839
  function te(B) {
35840
- if (!(!V.value || B.isComposing)) {
35840
+ if (!(!O.value || B.isComposing)) {
35841
35841
  if (B.key === "Escape")
35842
35842
  B.preventDefault(), B.stopPropagation(), R(!0);
35843
35843
  else if (B.key === "Tab") {
35844
35844
  B.preventDefault(), B.stopPropagation();
35845
- const H = J(V.value);
35845
+ const H = J(O.value);
35846
35846
  R(), mo(() => {
35847
35847
  const Y = [
35848
35848
  ...I.value?.closest(".task-drawer")?.querySelectorAll("button:not(:disabled),a[href],summary") ?? []
@@ -35860,7 +35860,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35860
35860
  }
35861
35861
  function ne(B) {
35862
35862
  const H = M();
35863
- if (!V.value || !(B.target instanceof Element) || H?.parentElement?.contains(B.target))
35863
+ if (!O.value || !(B.target instanceof Element) || H?.parentElement?.contains(B.target))
35864
35864
  return;
35865
35865
  const Y = !!H?.contains(document.activeElement) && !!I.value?.closest(".task-drawer")?.contains(B.target) && B.cancelable && B.button === 0 && !B.shiftKey && !B.ctrlKey && !B.metaKey && !B.altKey && !B.target.closest(
35866
35866
  'button,a[href],input,select,textarea,summary,label,[tabindex],[contenteditable=""],[contenteditable="true"]'
@@ -35873,15 +35873,15 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
35873
35873
  Pe(
35874
35874
  () => [f.batch.id, f.writer, f.queueCommitPending, d.tab],
35875
35875
  () => {
35876
- V.value && R(!!M()?.contains(document.activeElement));
35876
+ O.value && R(!!M()?.contains(document.activeElement));
35877
35877
  }
35878
35878
  ), Pe(
35879
35879
  () => {
35880
- const B = f.batch.operations.find((H) => H.id === V.value);
35880
+ const B = f.batch.operations.find((H) => H.id === O.value);
35881
35881
  return B ? j(B).map((H) => H.id).join(",") : "";
35882
35882
  },
35883
35883
  async (B) => {
35884
- if (!V.value) return;
35884
+ if (!O.value) return;
35885
35885
  const H = M()?.contains(document.activeElement);
35886
35886
  if (!B) return R(!!H);
35887
35887
  await mo(), H && !M()?.contains(document.activeElement) && M()?.querySelector('[role="menuitem"]:not(:disabled)')?.focus();
@@ -36380,7 +36380,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36380
36380
  key: 0,
36381
36381
  "layout-id": "history-tab",
36382
36382
  class: "history-tab-highlight"
36383
- })) : O("", !0),
36383
+ })) : V("", !0),
36384
36384
  Ve(C(c(t)("common.historyDrawer_75db758d")), 1)
36385
36385
  ], 8, w7),
36386
36386
  P("button", {
@@ -36392,7 +36392,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36392
36392
  key: 0,
36393
36393
  "layout-id": "history-tab",
36394
36394
  class: "history-tab-highlight"
36395
- })) : O("", !0),
36395
+ })) : V("", !0),
36396
36396
  Ve(C(c(i)("common.project.list")), 1)
36397
36397
  ], 8, y7)
36398
36398
  ], 8, v7)
@@ -36418,7 +36418,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36418
36418
  }, [
36419
36419
  le(c($s), { size: 16 }),
36420
36420
  Ve(C(c(t)("common.app_e403558a")), 1)
36421
- ], 8, z7)) : O("", !0),
36421
+ ], 8, z7)) : V("", !0),
36422
36422
  gt.value ? (k(), x("button", {
36423
36423
  key: 1,
36424
36424
  class: "icon history-clear",
@@ -36428,15 +36428,15 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36428
36428
  onClick: _a
36429
36429
  }, [
36430
36430
  le(c(im), { size: 17 })
36431
- ], 8, D7)) : O("", !0)
36432
- ])) : O("", !0),
36431
+ ], 8, D7)) : V("", !0)
36432
+ ])) : V("", !0),
36433
36433
  P("div", {
36434
36434
  ref_key: "actionRoot",
36435
36435
  ref: I,
36436
36436
  class: "task-drawer-body"
36437
36437
  }, [
36438
- (e.tab === "batches" ? m.value : z.value) ? (k(), x("p", C7, C(c(r)(e.tab === "batches" ? m.value : z.value)), 1)) : O("", !0),
36439
- S.value ? (k(), x("p", I7, C(S.value), 1)) : O("", !0),
36438
+ (e.tab === "batches" ? m.value : z.value) ? (k(), x("p", C7, C(c(r)(e.tab === "batches" ? m.value : z.value)), 1)) : V("", !0),
36439
+ S.value ? (k(), x("p", I7, C(S.value), 1)) : V("", !0),
36440
36440
  h.value ? (k(), x("div", {
36441
36441
  key: 2,
36442
36442
  class: "history-clear-backdrop",
@@ -36469,7 +36469,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36469
36469
  }, C(c(t)("common.historyDrawer_3c7a4fb3")), 9, S7)
36470
36470
  ])
36471
36471
  ], 40, x7)
36472
- ])) : O("", !0),
36472
+ ])) : V("", !0),
36473
36473
  b.value ? (k(), ke(ud, {
36474
36474
  key: 3,
36475
36475
  label: c(t)("common.historyCard_95399909", { p0: b.value.name }),
@@ -36494,13 +36494,13 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36494
36494
  ])
36495
36495
  ]),
36496
36496
  _: 1
36497
- }, 8, ["label"])) : O("", !0),
36497
+ }, 8, ["label"])) : V("", !0),
36498
36498
  v.value ? (k(), x("div", L7, [
36499
36499
  P("p", null, C(c(t)("common.historyDrawer_6498b36e", {
36500
36500
  p0: v.value.inputs.length,
36501
36501
  p1: v.value.name
36502
36502
  })), 1),
36503
- c(f).batch.paused ? (k(), x("p", M7, C(c(t)("common.historyDrawer_52552f6c")), 1)) : O("", !0),
36503
+ c(f).batch.paused ? (k(), x("p", M7, C(c(t)("common.historyDrawer_52552f6c")), 1)) : V("", !0),
36504
36504
  P("button", {
36505
36505
  class: "primary-action",
36506
36506
  disabled: !c(f).writer || c(f).queueCommitPending,
@@ -36512,14 +36512,14 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36512
36512
  P("button", {
36513
36513
  onClick: H[5] || (H[5] = (Y) => v.value = void 0)
36514
36514
  }, C(c(t)("common.app_2cd0f3be")), 1)
36515
- ])) : O("", !0),
36515
+ ])) : V("", !0),
36516
36516
  d.tab === "tasks" ? (k(), x(Fe, { key: 5 }, [
36517
36517
  P("div", V7, [
36518
36518
  P("strong", null, C(c(f).batch.name), 1),
36519
36519
  c(f).batch.operations.length || Ue.value || c(f).batch.paused ? (k(), ke(kb, {
36520
36520
  key: 0,
36521
36521
  text: c(t)("common.historyDrawer_822a10d0")
36522
- }, null, 8, ["text"])) : O("", !0),
36522
+ }, null, 8, ["text"])) : V("", !0),
36523
36523
  c(f).batch.operations.length || Ue.value || c(f).batch.paused ? (k(), x(Fe, { key: 1 }, [
36524
36524
  P("p", null, C(c(t)("common.historyDrawer_6fee2593", {
36525
36525
  p0: D.value.summary.operations + (Ue.value?.status === "running" ? 1 : 0)
@@ -36548,18 +36548,18 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36548
36548
  disabled: !c(f).writer,
36549
36549
  onClick: H[7] || (H[7] = //@ts-ignore
36550
36550
  (...Y) => c(f).retryUploads && c(f).retryUploads(...Y))
36551
- }, C(c(t)("common.historyDrawer_aff93d88")), 9, O7)) : O("", !0)
36552
- ], 64)) : O("", !0)
36551
+ }, C(c(t)("common.historyDrawer_aff93d88")), 9, O7)) : V("", !0)
36552
+ ], 64)) : V("", !0)
36553
36553
  ]),
36554
36554
  Ue.value ? (k(), ke(h7, {
36555
36555
  key: 0,
36556
36556
  session: Ue.value,
36557
36557
  onDismiss: H[8] || (H[8] = (Y) => u("dismiss-export"))
36558
- }, null, 8, ["session"])) : O("", !0),
36558
+ }, null, 8, ["session"])) : V("", !0),
36559
36559
  Oe.value ? (k(), ke(G9, {
36560
36560
  key: 1,
36561
36561
  steps: Oe.value.steps
36562
- }, null, 8, ["steps"])) : O("", !0),
36562
+ }, null, 8, ["steps"])) : V("", !0),
36563
36563
  ce.value && xe.value?.steps ? (k(), ke(ud, {
36564
36564
  key: 2,
36565
36565
  label: c(i)("common.queue.cancelRemainingTitle"),
@@ -36599,8 +36599,8 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36599
36599
  ])
36600
36600
  ]),
36601
36601
  _: 1
36602
- }, 8, ["label"])) : O("", !0),
36603
- !c(f).batch.operations.length && !Ue.value ? (k(), x("div", N7, C(c(t)("common.historyDrawer_bb60de6d")), 1)) : O("", !0),
36602
+ }, 8, ["label"])) : V("", !0),
36603
+ !c(f).batch.operations.length && !Ue.value ? (k(), x("div", N7, C(c(t)("common.historyDrawer_bb60de6d")), 1)) : V("", !0),
36604
36604
  (k(!0), x(Fe, null, _o(fe.value, ({ operation: Y }) => (k(), x("section", {
36605
36605
  key: Y.id,
36606
36606
  class: "task-operation",
@@ -36657,27 +36657,28 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36657
36657
  }, null, 8, q7),
36658
36658
  P("small", null, C(ao(X.counts)), 1)
36659
36659
  ]))), 128))
36660
- ], 2)) : O("", !0),
36660
+ ], 2)) : V("", !0),
36661
36661
  Y.skippedItemIds?.length ? (k(), x("p", W7, C(c(t)("common.historyDrawer_fb76b4d6", {
36662
36662
  p0: Y.skippedItemIds.length,
36663
36663
  p1: Y.skippedItemIds.map(bo).join("、")
36664
- })), 1)) : O("", !0),
36664
+ })), 1)) : V("", !0),
36665
36665
  Pt(Y) || c(Ms)(c(f).batch, { kind: "operation", operationId: Y.id }).steps || j(Y).length ? (k(), x("div", H7, [
36666
36666
  Pt(Y) ? (k(), x("div", K7, [
36667
36667
  P("button", {
36668
36668
  disabled: !c(f).writer || c(f).queueCommitPending,
36669
- "aria-describedby": `force-hint-${Y.id}`,
36669
+ "aria-describedby": v.value ? void 0 : `force-hint-${Y.id}`,
36670
36670
  onClick: (X) => Lt(Y)
36671
36671
  }, [
36672
36672
  le(c(Yc), { size: 15 }),
36673
36673
  Ve(C(c(i)("common.taskGroup.forceCurrent")), 1)
36674
36674
  ], 8, X7),
36675
- P("span", {
36675
+ v.value ? V("", !0) : (k(), x("span", {
36676
+ key: 0,
36676
36677
  id: `force-hint-${Y.id}`,
36677
36678
  role: "tooltip",
36678
36679
  class: "operation-force-hint"
36679
- }, C(c(i)("common.taskGroup.forceCurrentHint")), 9, Z7)
36680
- ])) : O("", !0),
36680
+ }, C(c(i)("common.taskGroup.forceCurrentHint")), 9, Z7))
36681
+ ])) : V("", !0),
36681
36682
  c(Ms)(c(f).batch, { kind: "operation", operationId: Y.id }).steps ? (k(), x("div", J7, [
36682
36683
  P("button", {
36683
36684
  disabled: !c(f).writer || c(f).queueCommitPending,
@@ -36688,7 +36689,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36688
36689
  operationId: Y.id
36689
36690
  }).steps
36690
36691
  })), 9, Y7)
36691
- ])) : O("", !0),
36692
+ ])) : V("", !0),
36692
36693
  j(Y).length ? (k(), x("div", {
36693
36694
  key: 2,
36694
36695
  class: "operation-more",
@@ -36701,13 +36702,13 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36701
36702
  "aria-label": c(t)("common.historyDrawer_9f07d2ce"),
36702
36703
  title: c(t)("common.historyDrawer_9f07d2ce"),
36703
36704
  "aria-haspopup": "menu",
36704
- "aria-expanded": V.value === Y.id,
36705
+ "aria-expanded": O.value === Y.id,
36705
36706
  "aria-controls": `operation-menu-${Y.id}`,
36706
36707
  onClick: (X) => oe(Y.id)
36707
36708
  }, [
36708
36709
  le(c(bk), { size: 18 })
36709
36710
  ], 8, Q7),
36710
- V.value === Y.id ? (k(), x("div", {
36711
+ O.value === Y.id ? (k(), x("div", {
36711
36712
  key: 0,
36712
36713
  id: `operation-menu-${Y.id}`,
36713
36714
  class: "operation-menu",
@@ -36722,9 +36723,9 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36722
36723
  disabled: !c(f).writer || c(f).queueCommitPending || y.value,
36723
36724
  onClick: (_e) => he(Y, X.id)
36724
36725
  }, C(X.label), 9, oz))), 128))
36725
- ], 8, ez)) : O("", !0)
36726
- ], 32)) : O("", !0)
36727
- ])) : O("", !0),
36726
+ ], 8, ez)) : V("", !0)
36727
+ ], 32)) : V("", !0)
36728
+ ])) : V("", !0),
36728
36729
  Y.toolId === "vectorize_svg" ? (k(), x("div", tz, [
36729
36730
  (k(), x(Fe, null, _o(["raw", "optimized"], (X) => P("button", {
36730
36731
  key: X,
@@ -36740,10 +36741,10 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36740
36741
  )) + " · " + C(c(t)("tools.vectorize_svg.excluded", {
36741
36742
  count: W(Y.id).length - So(Y.id, X)
36742
36743
  })) + " ", 1),
36743
- ot(Y.id, X) ? (k(), x("span", rz, " · " + C(ot(Y.id, X)), 1)) : O("", !0)
36744
+ ot(Y.id, X) ? (k(), x("span", rz, " · " + C(ot(Y.id, X)), 1)) : V("", !0)
36744
36745
  ])), 64))
36745
- ])) : O("", !0),
36746
- ar(Y) ? (k(), x("p", nz, C(c(a)(ar(Y))), 1)) : O("", !0),
36746
+ ])) : V("", !0),
36747
+ ar(Y) ? (k(), x("p", nz, C(c(a)(ar(Y))), 1)) : V("", !0),
36747
36748
  le(ul, { name: "task-details" }, {
36748
36749
  default: Se(() => [
36749
36750
  F.value === Y.id ? (k(), x("div", iz, [
@@ -36751,7 +36752,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36751
36752
  Y.busySkippedItemIds?.length ? (k(), x("p", lz, C(c(t)("common.historyDrawer_918f7d5f", {
36752
36753
  p0: Y.busySkippedItemIds.length,
36753
36754
  p1: Y.busySkippedItemIds.map(bo).join("、")
36754
- })), 1)) : O("", !0),
36755
+ })), 1)) : V("", !0),
36755
36756
  (k(!0), x(Fe, null, _o(W(Y.id).slice(0, de.value), (X) => (k(), x("div", {
36756
36757
  key: `${X.operationId}/${X.itemId}`,
36757
36758
  class: Je(["task-item", { "is-resolved": !!X.continuation }]),
@@ -36765,7 +36766,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36765
36766
  lo(X) ? (k(), ke(Cl, Ea({
36766
36767
  key: 0,
36767
36768
  ref_for: !0
36768
- }, lo(X)), null, 16)) : O("", !0),
36769
+ }, lo(X)), null, 16)) : V("", !0),
36769
36770
  P("span", mz, C(bo(X.itemId)), 1),
36770
36771
  P("span", {
36771
36772
  class: Je(["task-state", X.status])
@@ -36779,21 +36780,21 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36779
36780
  (k(!0), x(Fe, null, _o(Ae(X), (_e, yo) => (k(), x(Fe, {
36780
36781
  key: _e.id
36781
36782
  }, [
36782
- yo ? (k(), x("span", pz, "→")) : O("", !0),
36783
+ yo ? (k(), x("span", pz, "→")) : V("", !0),
36783
36784
  P("span", {
36784
36785
  class: Je({ current: _e.operationId === X.operationId })
36785
36786
  }, C(Ie(_e)), 3)
36786
36787
  ], 64))), 128))
36787
- ], 8, uz)) : O("", !0),
36788
+ ], 8, uz)) : V("", !0),
36788
36789
  fe.value.some(
36789
36790
  ({ operation: _e }) => _e.id === X.dependsOnOperationId
36790
36791
  ) && ["waiting_dependency", "blocked_dependency"].includes(X.status) ? (k(), x("button", {
36791
36792
  key: 1,
36792
36793
  type: "button",
36793
36794
  onClick: (_e) => Me(X)
36794
- }, C(c(i)("common.project.viewPredecessor")), 9, fz)) : O("", !0),
36795
+ }, C(c(i)("common.project.viewPredecessor")), 9, fz)) : V("", !0),
36795
36796
  P("small", gz, C(c(t)("common.historyDrawer_97bc039a", { p0: De(X) })), 1),
36796
- X.error && X.error !== ar(Y) ? (k(), x("p", bz, C(c(a)(X.error)), 1)) : X.remoteWaitingTimedOut ? O("", !0) : (k(), x("p", hz, C(X.exportArtifact ? c(t)("tools.vectorize_svg.readyToDownload") : c(r)(X.stage || pe(X))), 1)),
36797
+ X.error && X.error !== ar(Y) ? (k(), x("p", bz, C(c(a)(X.error)), 1)) : X.remoteWaitingTimedOut ? V("", !0) : (k(), x("p", hz, C(X.exportArtifact ? c(t)("tools.vectorize_svg.readyToDownload") : c(r)(X.stage || pe(X))), 1)),
36797
36798
  X.remotePlan ? (k(), x("div", {
36798
36799
  key: 4,
36799
36800
  class: "remote-task-facts",
@@ -36801,9 +36802,9 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36801
36802
  }, [
36802
36803
  X.remoteReceipt?.status === "succeeded" && (X.remoteReceipt.generated || X.remoteReceipt.result?.kind === "image") ? (k(), x("p", vz, C(c(t)("remote.generated")) + " · " + C(c(t)(
36803
36804
  X.remotePublicationStatus === "published" || X.remoteReceipt.result ? "remote.published" : "remote.publicationPending"
36804
- )) + " · " + C(c(t)(X.applied ? "remote.adopted" : "remote.unadopted")), 1)) : O("", !0),
36805
- Y.toolId === "image_translation" && X.details?.skipped ? (k(), x("p", wz, C(c(a)(c(Op)(X.details.reasonCode))) + " · " + C(c(a)(X.details.reason ?? "")), 1)) : O("", !0),
36806
- X.remoteWaitingStopped ? (k(), x("p", yz, C(c(t)("remote.waitingStopped")), 1)) : O("", !0),
36805
+ )) + " · " + C(c(t)(X.applied ? "remote.adopted" : "remote.unadopted")), 1)) : V("", !0),
36806
+ Y.toolId === "image_translation" && X.details?.skipped ? (k(), x("p", wz, C(c(a)(c(Op)(X.details.reasonCode))) + " · " + C(c(a)(X.details.reason ?? "")), 1)) : V("", !0),
36807
+ X.remoteWaitingStopped ? (k(), x("p", yz, C(c(t)("remote.waitingStopped")), 1)) : V("", !0),
36807
36808
  Gt(X) && c(f).workspaceAdapter?.execution?.remote ? (k(), x(Fe, { key: 3 }, [
36808
36809
  P("button", {
36809
36810
  type: "button",
@@ -36817,9 +36818,9 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36817
36818
  type: "button",
36818
36819
  disabled: !c(f).writer,
36819
36820
  onClick: (_e) => Yt(X, "cancel")
36820
- }, C(c(t)("remote.cancel")), 9, Pz)) : O("", !0)
36821
- ], 64)) : O("", !0)
36822
- ], 8, _z)) : O("", !0),
36821
+ }, C(c(t)("remote.cancel")), 9, Pz)) : V("", !0)
36822
+ ], 64)) : V("", !0)
36823
+ ], 8, _z)) : V("", !0),
36823
36824
  X.exportArtifact ? (k(), x("div", zz, [
36824
36825
  P("button", {
36825
36826
  class: "peek-export-download",
@@ -36833,10 +36834,10 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36833
36834
  disabled: Ke.value,
36834
36835
  "aria-busy": Ke.value,
36835
36836
  onClick: (_e) => no(X, bo(X.itemId))
36836
- }, C(c(t)("tools.vectorize_svg.downloadOptimized")), 9, Cz)) : O("", !0)
36837
- ])) : O("", !0),
36838
- X.queueBlockReason === "source_changed" || X.queueBlockReason === "unapplied_result" ? (k(), x("p", Iz, C(c(t)("common.historyDrawer_9ac8fb85")), 1)) : O("", !0),
36839
- X.partialResult ? (k(), x("p", xz, C(c(t)("common.historyDrawer_f1e5bdff")), 1)) : O("", !0),
36837
+ }, C(c(t)("tools.vectorize_svg.downloadOptimized")), 9, Cz)) : V("", !0)
36838
+ ])) : V("", !0),
36839
+ X.queueBlockReason === "source_changed" || X.queueBlockReason === "unapplied_result" ? (k(), x("p", Iz, C(c(t)("common.historyDrawer_9ac8fb85")), 1)) : V("", !0),
36840
+ X.partialResult ? (k(), x("p", xz, C(c(t)("common.historyDrawer_f1e5bdff")), 1)) : V("", !0),
36840
36841
  X.steps?.length ? (k(), x("ol", Az, [
36841
36842
  (k(!0), x(Fe, null, _o(X.steps, (_e) => (k(), x("li", {
36842
36843
  key: _e.name
@@ -36861,7 +36862,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36861
36862
  started: c(t)("common.historyDrawer_694b71bc")
36862
36863
  }[_e.status]), 1)
36863
36864
  ]))), 128))
36864
- ])) : O("", !0),
36865
+ ])) : V("", !0),
36865
36866
  (!c(s) || c(s).allows(Y)) && X.status === "failed" && !X.continuation && [
36866
36867
  "TARGET_UNCERTAIN",
36867
36868
  "OUTPUT_GEOMETRY_CHANGED",
@@ -36871,7 +36872,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36871
36872
  key: 9,
36872
36873
  disabled: !c(f).writer || c(f).queueCommitPending,
36873
36874
  onClick: (_e) => u("reconfigure", X.id)
36874
- }, C(X.errorCode === "UPSCALE_OUTPUT_TOO_LARGE" ? c(t)("common.historyDrawer_24d37e48") : X.errorCode === "UPSCALE_RESOLUTION_SHORTFALL" ? c(t)("common.historyDrawer_88d50456") : c(t)("common.historyDrawer_fd4f3cd1")), 9, Sz)) : O("", !0),
36875
+ }, C(X.errorCode === "UPSCALE_OUTPUT_TOO_LARGE" ? c(t)("common.historyDrawer_24d37e48") : X.errorCode === "UPSCALE_RESOLUTION_SHORTFALL" ? c(t)("common.historyDrawer_88d50456") : c(t)("common.historyDrawer_fd4f3cd1")), 9, Sz)) : V("", !0),
36875
36876
  Nt(X) ? (k(), x("button", {
36876
36877
  key: 10,
36877
36878
  class: "query-original",
@@ -36879,7 +36880,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36879
36880
  onClick: (_e) => ft(X)
36880
36881
  }, C(c(t)(
36881
36882
  X.errorCode === "REMOTE_RESULT_UNAVAILABLE" ? "common.audit.recoverResult" : "common.historyDrawer_9f26cd70"
36882
- )), 9, Ez)) : O("", !0)
36883
+ )), 9, Ez)) : V("", !0)
36883
36884
  ], 10, cz))), 128)),
36884
36885
  W(Y.id).length > de.value ? (k(), x("button", {
36885
36886
  key: 1,
@@ -36887,19 +36888,19 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36887
36888
  }, C(c(t)("common.historyDrawer_f693e881", {
36888
36889
  p0: de.value,
36889
36890
  p1: W(Y.id).length
36890
- })), 1)) : O("", !0)
36891
+ })), 1)) : V("", !0)
36891
36892
  ])
36892
- ])) : O("", !0)
36893
+ ])) : V("", !0)
36893
36894
  ]),
36894
36895
  _: 2
36895
36896
  }, 1024)
36896
36897
  ], 8, G7))), 128))
36897
36898
  ], 64)) : (k(), x(Fe, { key: 6 }, [
36898
36899
  P("p", Rz, C(c(t)("common.historyDrawer_b844dd3f")), 1),
36899
- gt.value ? Xo.value.length && !vt.value.length ? (k(), x("p", Lz, C(c(i)("common.project.noCleanupCandidates")), 1)) : O("", !0) : (k(), x("p", Tz, C(c(i)("common.project.cleanupUnavailable")), 1)),
36900
- Xo.value.some((Y) => !Y.expiredAt && Y.pendingCount) ? (k(), x("p", Mz, C(c(i)("common.project.finishTasks")), 1)) : O("", !0),
36901
- nt.value && (Ut.value || Xo.value.some((Y) => Y.id !== c(f).batch.id && !Y.expiredAt)) ? (k(), x("p", jz, C(!c(f).writer && !c(f).workspaceAdapter?.pageSession ? c(i)("common.app_0bdf8dd7") : c(i)("common.project.switchBlocked")), 1)) : O("", !0),
36902
- !rt.value && Xo.value.some((Y) => Y.id !== c(f).batch.id && !Y.expiredAt) ? (k(), x("p", Vz, C(c(i)("common.project.openUnavailable")), 1)) : O("", !0),
36900
+ gt.value ? Xo.value.length && !vt.value.length ? (k(), x("p", Lz, C(c(i)("common.project.noCleanupCandidates")), 1)) : V("", !0) : (k(), x("p", Tz, C(c(i)("common.project.cleanupUnavailable")), 1)),
36901
+ Xo.value.some((Y) => !Y.expiredAt && Y.pendingCount) ? (k(), x("p", Mz, C(c(i)("common.project.finishTasks")), 1)) : V("", !0),
36902
+ nt.value && (Ut.value || Xo.value.some((Y) => Y.id !== c(f).batch.id && !Y.expiredAt)) ? (k(), x("p", jz, C(!c(f).writer && !c(f).workspaceAdapter?.pageSession ? c(i)("common.app_0bdf8dd7") : c(i)("common.project.switchBlocked")), 1)) : V("", !0),
36903
+ !rt.value && Xo.value.some((Y) => Y.id !== c(f).batch.id && !Y.expiredAt) ? (k(), x("p", Vz, C(c(i)("common.project.openUnavailable")), 1)) : V("", !0),
36903
36904
  P("div", Oz, [
36904
36905
  (k(!0), x(Fe, null, _o(Xo.value, (Y) => (k(), ke(a7, {
36905
36906
  key: Y.id,
@@ -36913,7 +36914,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36913
36914
  onDelete: rr
36914
36915
  }, null, 8, ["entry", "current", "open-blocked", "delete-available", "delete-blocked"]))), 128))
36915
36916
  ]),
36916
- Xo.value.length ? O("", !0) : (k(), x("p", Fz, C(c(t)("common.historyDrawer_cede18c9")), 1))
36917
+ Xo.value.length ? V("", !0) : (k(), x("p", Fz, C(c(t)("common.historyDrawer_cede18c9")), 1))
36917
36918
  ], 64))
36918
36919
  ], 512)
36919
36920
  ]),
@@ -36923,7 +36924,7 @@ const N9 = ["data-cancelled-steps"], G9 = /* @__PURE__ */ eo({
36923
36924
  _: 1
36924
36925
  }));
36925
36926
  }
36926
- }), Nz = /* @__PURE__ */ et(Bz, [["__scopeId", "data-v-5cf2c944"]]), Cb = Symbol("batch-workspace-slots");
36927
+ }), Nz = /* @__PURE__ */ et(Bz, [["__scopeId", "data-v-ff4f0da5"]]), Cb = Symbol("batch-workspace-slots");
36927
36928
  function Gz() {
36928
36929
  return Yo(Cb, void 0);
36929
36930
  }
@@ -37088,9 +37089,9 @@ function qz(e) {
37088
37089
  };
37089
37090
  S.consumers.add(F), S.result && S.state.status !== "ready" ? b(S, S.result) : F.onState(S.state), w();
37090
37091
  const I = S;
37091
- let V = !1;
37092
+ let O = !1;
37092
37093
  return () => {
37093
- if (!V && (V = !0, I.consumers.delete(F), t.get(y) === I && !I.consumers.size)) {
37094
+ if (!O && (O = !0, I.consumers.delete(F), t.get(y) === I && !I.consumers.size)) {
37094
37095
  I.abort?.abort(), d(I), I.result ? (t.delete(y), t.set(y, I), p()) : t.delete(y);
37095
37096
  for (const j of t.values())
37096
37097
  j.state.status === "error" && j.state.message === "PREVIEW_CAPACITY" && l(j, { status: "loading" });
@@ -37251,7 +37252,7 @@ const Zz = ["data-zoom"], Jz = {
37251
37252
  a.fitPadding,
37252
37253
  a.fitMaxScale
37253
37254
  ) : Math.max(0.1, Math.min(4, a.zoom)) : 0
37254
- ), I = _t(F.value), V = Xz(I.value, (ee) => {
37255
+ ), I = _t(F.value), O = Xz(I.value, (ee) => {
37255
37256
  I.value = ee;
37256
37257
  });
37257
37258
  let j = a.zoom, J = "";
@@ -37274,15 +37275,15 @@ const Zz = ["data-zoom"], Jz = {
37274
37275
  }),
37275
37276
  ({ value: ee, zoom: ce, geometry: Oe }) => {
37276
37277
  const Eo = !!a.smoothZoom && j !== ce && J === Oe;
37277
- j = ce, J = Oe, V.to(ee, Eo);
37278
+ j = ce, J = Oe, O.to(ee, Eo);
37278
37279
  },
37279
37280
  { immediate: !0 }
37280
37281
  ), Pe(
37281
37282
  () => a.smoothZoom,
37282
37283
  (ee) => {
37283
- ee || V.settle();
37284
+ ee || O.settle();
37284
37285
  }
37285
- ), ra(() => V.stop());
37286
+ ), ra(() => O.stop());
37286
37287
  const M = $(() => v.value ? y.value.width * I.value : 0), R = $(() => v.value ? y.value.height * I.value : 0), oe = $(
37287
37288
  () => !a.compare && !a.disabled && _.value && f.value && v.value && I.value > 0
37288
37289
  ), te = $(() => a.tool === "erase" || a.tool === "restore");
@@ -37355,7 +37356,7 @@ const Zz = ["data-zoom"], Jz = {
37355
37356
  return ee.currentTarget;
37356
37357
  }
37357
37358
  function fe(ee) {
37358
- if (!i.value || (u = null, V.settle(), n.value?.focus({ preventScroll: !0 }), m.value) || !oe.value || a.tool === "compare") return;
37359
+ if (!i.value || (u = null, O.settle(), n.value?.focus({ preventScroll: !0 }), m.value) || !oe.value || a.tool === "compare") return;
37359
37360
  ee.preventDefault();
37360
37361
  const ce = D(ee);
37361
37362
  if (a.tool === "select") {
@@ -37398,7 +37399,7 @@ const Zz = ["data-zoom"], Jz = {
37398
37399
  }
37399
37400
  function lo(ee) {
37400
37401
  if (!m.value || d.value || ee.button !== 0 || ee.isPrimary === !1 || !n.value) return;
37401
- ee.preventDefault(), u = null, V.settle();
37402
+ ee.preventDefault(), u = null, O.settle();
37402
37403
  const ce = n.value;
37403
37404
  d.value = {
37404
37405
  pointerId: ee.pointerId,
@@ -37545,7 +37546,7 @@ const Zz = ["data-zoom"], Jz = {
37545
37546
  e.compare && e.resultUrl && oo.value === void 0 ? (k(), x("div", Jz, [
37546
37547
  P("span", null, C(e.sourceLabel), 1),
37547
37548
  P("span", null, C(e.resultLabel), 1)
37548
- ])) : O("", !0),
37549
+ ])) : V("", !0),
37549
37550
  P("div", {
37550
37551
  ref_key: "imageRef",
37551
37552
  ref: i,
@@ -37587,13 +37588,13 @@ const Zz = ["data-zoom"], Jz = {
37587
37588
  src: e.sourceUrl,
37588
37589
  alt: "",
37589
37590
  draggable: !1
37590
- }, null, 8, Qz)) : O("", !0),
37591
+ }, null, 8, Qz)) : V("", !0),
37591
37592
  e.resultUrl ? (k(), x(Fe, { key: 1 }, [
37592
37593
  oo.value === void 0 ? (k(), x("div", {
37593
37594
  key: 0,
37594
37595
  class: Je(["lc-layer lc-result-backing", e.backgroundColor ? "" : `lc-bg-${e.background}`]),
37595
37596
  style: Io({ clipPath: Ae.value, backgroundColor: e.backgroundColor })
37596
- }, null, 6)) : O("", !0),
37597
+ }, null, 6)) : V("", !0),
37597
37598
  P("div", {
37598
37599
  class: "lc-layer lc-result",
37599
37600
  style: Io({ clipPath: Ae.value, opacity: oo.value })
@@ -37617,14 +37618,14 @@ const Zz = ["data-zoom"], Jz = {
37617
37618
  })
37618
37619
  }, null, 44, eD)
37619
37620
  ], 4)
37620
- ], 64)) : O("", !0),
37621
+ ], 64)) : V("", !0),
37621
37622
  e.placeholderUrl && (!_.value || !f.value) ? (k(), x("img", {
37622
37623
  key: 2,
37623
37624
  class: "lc-placeholder",
37624
37625
  src: e.placeholderUrl,
37625
37626
  alt: "",
37626
37627
  draggable: !1
37627
- }, null, 8, oD)) : O("", !0),
37628
+ }, null, 8, oD)) : V("", !0),
37628
37629
  ba(ee.$slots, "overlay"),
37629
37630
  e.selectionUrl ? (k(), x("div", tD, [
37630
37631
  P("img", {
@@ -37632,7 +37633,7 @@ const Zz = ["data-zoom"], Jz = {
37632
37633
  alt: "辅助选择预览",
37633
37634
  draggable: !1
37634
37635
  }, null, 8, aD)
37635
- ])) : O("", !0),
37636
+ ])) : V("", !0),
37636
37637
  e.compare && e.resultUrl && oo.value === void 0 ? (k(), x(Fe, { key: 4 }, [
37637
37638
  P("span", {
37638
37639
  class: "lc-wipe-line",
@@ -37660,7 +37661,7 @@ const Zz = ["data-zoom"], Jz = {
37660
37661
  onKeyup: ce[4] || (ce[4] = (Oe) => Oe.code !== "Space" && Oe.stopPropagation()),
37661
37662
  onInput: ce[5] || (ce[5] = (Oe) => r("wipe", Number(Oe.target.value)))
37662
37663
  }, null, 40, rD)
37663
- ], 64)) : O("", !0),
37664
+ ], 64)) : V("", !0),
37664
37665
  (k(), x("svg", {
37665
37666
  class: "lc-overlay",
37666
37667
  viewBox: `${y.value.x} ${y.value.y} ${y.value.width} ${y.value.height}`,
@@ -37673,13 +37674,13 @@ const Zz = ["data-zoom"], Jz = {
37673
37674
  y: ie.value.y,
37674
37675
  width: ie.value.width,
37675
37676
  height: ie.value.height
37676
- }, null, 8, iD)) : O("", !0),
37677
+ }, null, 8, iD)) : V("", !0),
37677
37678
  h.value.length ? (k(), x("polyline", {
37678
37679
  key: 1,
37679
37680
  class: Je(["lc-brush-stroke", `lc-brush-${e.tool}`]),
37680
37681
  points: h.value.map((Oe) => `${Oe.x},${Oe.y}`).join(" "),
37681
37682
  "stroke-width": Math.max(1, e.brushRadius) * 2
37682
- }, null, 10, sD)) : O("", !0),
37683
+ }, null, 10, sD)) : V("", !0),
37683
37684
  b.value && te.value ? (k(), x("g", lD, [
37684
37685
  P("circle", {
37685
37686
  class: "lc-brush-cursor-dark",
@@ -37699,8 +37700,8 @@ const Zz = ["data-zoom"], Jz = {
37699
37700
  cx: b.value.x,
37700
37701
  cy: b.value.y,
37701
37702
  r: Math.max(1, e.brushRadius) * Math.max(0, e.brushHardness)
37702
- }, null, 8, mD)) : O("", !0)
37703
- ])) : O("", !0)
37703
+ }, null, 8, mD)) : V("", !0)
37704
+ ])) : V("", !0)
37704
37705
  ], 8, nD)),
37705
37706
  e.loading || !_.value || !f.value ? (k(), x("div", {
37706
37707
  key: 5,
@@ -37708,7 +37709,7 @@ const Zz = ["data-zoom"], Jz = {
37708
37709
  role: "status"
37709
37710
  }, [...ce[11] || (ce[11] = [
37710
37711
  P("span", null, "正在加载清晰图…", -1)
37711
- ])], 2)) : O("", !0)
37712
+ ])], 2)) : V("", !0)
37712
37713
  ], 38)
37713
37714
  ], 6)) : (k(), x("div", uD, "正在准备画布…"))
37714
37715
  ], 4)
@@ -37826,7 +37827,7 @@ const Zz = ["data-zoom"], Jz = {
37826
37827
  async function I() {
37827
37828
  z.value = !0, await mo(), w.value?.focus();
37828
37829
  }
37829
- function V(re) {
37830
+ function O(re) {
37830
37831
  re.key === "Escape" && z.value && (re.stopPropagation(), re.preventDefault(), F());
37831
37832
  }
37832
37833
  function j(re) {
@@ -37874,7 +37875,7 @@ const Zz = ["data-zoom"], Jz = {
37874
37875
  role: "dialog",
37875
37876
  "aria-modal": "true",
37876
37877
  "aria-label": c(t)("common.taskPopover_2c2b79a0"),
37877
- onKeydown: V
37878
+ onKeydown: O
37878
37879
  }, [
37879
37880
  P("header", fD, [
37880
37881
  P("div", null, [
@@ -37887,7 +37888,7 @@ const Zz = ["data-zoom"], Jz = {
37887
37888
  class: "svg-entry",
37888
37889
  disabled: e.busy,
37889
37890
  onClick: fe[0] || (fe[0] = (K) => s("open-svg"))
37890
- }, C(c(t)("tools.vectorize_svg.title")), 9, gD)) : O("", !0),
37891
+ }, C(c(t)("tools.vectorize_svg.title")), 9, gD)) : V("", !0),
37891
37892
  P("button", {
37892
37893
  type: "button",
37893
37894
  class: "icon-button",
@@ -37903,7 +37904,7 @@ const Zz = ["data-zoom"], Jz = {
37903
37904
  ref: m,
37904
37905
  class: "dialog-body"
37905
37906
  }, [
37906
- z.value ? O("", !0) : (k(), x("div", hD, [
37907
+ z.value ? V("", !0) : (k(), x("div", hD, [
37907
37908
  P("fieldset", { disabled: e.busy }, [
37908
37909
  P("label", vD, [
37909
37910
  Ve(C(c(t)("common.exportDialog_ae72b532")), 1),
@@ -37950,7 +37951,7 @@ const Zz = ["data-zoom"], Jz = {
37950
37951
  P("span", ED, C(c(t)(
37951
37952
  e.options.pngCompression === "size" ? "common.exportDialog_pngSizeHint" : "common.exportDialog_pngHint"
37952
37953
  )), 1)
37953
- ])) : O("", !0),
37954
+ ])) : V("", !0),
37954
37955
  d.value ? (k(), x("div", RD, [
37955
37956
  P("div", TD, [
37956
37957
  P("label", LD, C(c(t)(
@@ -37970,7 +37971,7 @@ const Zz = ["data-zoom"], Jz = {
37970
37971
  value: u.value,
37971
37972
  onInput: M
37972
37973
  }, null, 40, jD)
37973
- ])) : O("", !0),
37974
+ ])) : V("", !0),
37974
37975
  e.options.format === "jpeg" ? (k(), x("div", VD, [
37975
37976
  P("span", null, C(c(t)("common.exportDialog_1d7704db")), 1),
37976
37977
  P("label", {
@@ -37985,7 +37986,7 @@ const Zz = ["data-zoom"], Jz = {
37985
37986
  onInput: fe[2] || (fe[2] = (K) => j({ jpegBackground: K.target.value }))
37986
37987
  }, null, 40, FD)
37987
37988
  ], 12, OD)
37988
- ])) : O("", !0),
37989
+ ])) : V("", !0),
37989
37990
  P("details", BD, [
37990
37991
  P("summary", null, C(c(t)("common.exportDialog_f42a0719")), 1),
37991
37992
  P("label", null, [
@@ -38016,7 +38017,7 @@ const Zz = ["data-zoom"], Jz = {
38016
38017
  }, null, 40, $D),
38017
38018
  Ve(C(c(t)("common.exportDialog_fe3e0d78")), 1)
38018
38019
  ])
38019
- ])) : O("", !0),
38020
+ ])) : V("", !0),
38020
38021
  P("p", qD, C(c(t)("common.exportDialog_fc610a23")), 1)
38021
38022
  ])
38022
38023
  ], 8, _D),
@@ -38030,7 +38031,7 @@ const Zz = ["data-zoom"], Jz = {
38030
38031
  }, [
38031
38032
  le(c(Xu), { size: 16 }),
38032
38033
  Ve(C(h.value ? c(t)("common.exportDialog_50a996c9") : c(t)("common.exportDialog_c990c859")), 1)
38033
- ], 8, WD)) : O("", !0)
38034
+ ], 8, WD)) : V("", !0)
38034
38035
  ])),
38035
38036
  h.value ? (k(), x("div", HD, [
38036
38037
  P("div", KD, [
@@ -38044,14 +38045,14 @@ const Zz = ["data-zoom"], Jz = {
38044
38045
  }, [
38045
38046
  le(c(Ku), { size: 16 }),
38046
38047
  Ve(C(c(t)("common.exportDialog_572cf45b")), 1)
38047
- ], 8, XD)) : O("", !0),
38048
+ ], 8, XD)) : V("", !0),
38048
38049
  P("select", {
38049
38050
  "aria-label": c(t)("common.exportDialog_de078ce9"),
38050
38051
  value: e.previewId,
38051
38052
  disabled: e.busy || !e.candidates.length,
38052
38053
  onChange: ne
38053
38054
  }, [
38054
- e.candidates.length ? O("", !0) : (k(), x("option", JD, C(c(t)("common.exportDialog_a21f964d")), 1)),
38055
+ e.candidates.length ? V("", !0) : (k(), x("option", JD, C(c(t)("common.exportDialog_a21f964d")), 1)),
38055
38056
  (k(!0), x(Fe, null, _o(e.candidates, (K) => (k(), x("option", {
38056
38057
  key: K.id,
38057
38058
  value: K.id
@@ -38067,7 +38068,7 @@ const Zz = ["data-zoom"], Jz = {
38067
38068
  onClick: he
38068
38069
  }, [
38069
38070
  le(c(Xk), { size: 16 })
38070
- ], 8, QD)) : O("", !0)
38071
+ ], 8, QD)) : V("", !0)
38071
38072
  ]),
38072
38073
  e.preview ? (k(), x("div", eC, [
38073
38074
  P("label", null, [
@@ -38109,7 +38110,7 @@ const Zz = ["data-zoom"], Jz = {
38109
38110
  le(c(Og), { size: 16 })
38110
38111
  ], 8, rC))
38111
38112
  ])
38112
- ])) : O("", !0),
38113
+ ])) : V("", !0),
38113
38114
  P("div", {
38114
38115
  class: "single-board",
38115
38116
  "aria-busy": e.previewBusy
@@ -38136,7 +38137,7 @@ const Zz = ["data-zoom"], Jz = {
38136
38137
  le(c(Xu), { size: 26 }),
38137
38138
  P("p", null, C(e.previewBusy ? c(t)("common.exportDialog_b798cede") : c(t)("common.exportDialog_35ad0d69")), 1)
38138
38139
  ])),
38139
- e.previewBusy && e.preview ? (k(), x("div", sC, C(c(t)("common.exportDialog_a67609f9")), 1)) : O("", !0)
38140
+ e.previewBusy && e.preview ? (k(), x("div", sC, C(c(t)("common.exportDialog_a67609f9")), 1)) : V("", !0)
38140
38141
  ], 8, nC),
38141
38142
  e.preview && !e.previewBusy && !e.error ? (k(), x("div", {
38142
38143
  key: 1,
@@ -38148,12 +38149,12 @@ const Zz = ["data-zoom"], Jz = {
38148
38149
  "data-preview-delta": "",
38149
38150
  class: Je({ larger: e.preview.outputBytes > e.preview.sourceBytes })
38150
38151
  }, C(c(r)(e.preview.sourceBytes, e.preview.outputBytes)), 3)
38151
- ], 8, lC)) : O("", !0)
38152
- ])) : O("", !0)
38152
+ ], 8, lC)) : V("", !0)
38153
+ ])) : V("", !0)
38153
38154
  ], 512), [
38154
38155
  [On, p.value === "settings"]
38155
38156
  ]),
38156
- e.error ? (k(), x("div", dC, C(c(a)(e.error)), 1)) : O("", !0),
38157
+ e.error ? (k(), x("div", dC, C(c(a)(e.error)), 1)) : V("", !0),
38157
38158
  e.progress ? pa((k(), x("div", mC, [
38158
38159
  P("div", null, [
38159
38160
  P("strong", null, C(c(t)(
@@ -38172,14 +38173,14 @@ const Zz = ["data-zoom"], Jz = {
38172
38173
  e.progress.name ? (k(), x("small", {
38173
38174
  key: 0,
38174
38175
  title: e.progress.name
38175
- }, C(e.progress.name), 9, pC)) : O("", !0)
38176
+ }, C(e.progress.name), 9, pC)) : V("", !0)
38176
38177
  ], 512)), [
38177
38178
  [On, p.value === "results"]
38178
- ]) : O("", !0),
38179
+ ]) : V("", !0),
38179
38180
  e.report ? pa((k(), x("div", fC, [
38180
38181
  P("strong", null, [
38181
38182
  Ve(C(c(t)("common.exportDialog_c5c991e0", { p0: e.report.exported })), 1),
38182
- e.report.excluded.length ? (k(), x("span", gC, C(c(t)("common.exportDialog_bf61852a", { p0: e.report.excluded.length })), 1)) : O("", !0)
38183
+ e.report.excluded.length ? (k(), x("span", gC, C(c(t)("common.exportDialog_bf61852a", { p0: e.report.excluded.length })), 1)) : V("", !0)
38183
38184
  ]),
38184
38185
  P("p", null, C(c(Xa)(e.report.inputBytes)) + " → " + C(c(Xa)(e.report.outputBytes)) + " · " + C(c(r)(e.report.inputBytes, e.report.outputBytes)), 1),
38185
38186
  e.report.items?.length ? (k(), x("div", bC, [
@@ -38192,16 +38193,16 @@ const Zz = ["data-zoom"], Jz = {
38192
38193
  K.status === "exported" ? (k(), x(Fe, { key: 0 }, [
38193
38194
  P("span", null, C(c(Xa)(K.inputBytes ?? 0)) + " → " + C(c(Xa)(K.outputBytes ?? 0)), 1),
38194
38195
  P("span", null, C(c(r)(K.inputBytes ?? 0, K.outputBytes ?? 0)), 1),
38195
- K.preservedOriginal ? (k(), x("span", vC, C(c(t)("common.exportDialog_keptOriginal")), 1)) : O("", !0),
38196
+ K.preservedOriginal ? (k(), x("span", vC, C(c(t)("common.exportDialog_keptOriginal")), 1)) : V("", !0),
38196
38197
  e.downloads?.find((Me) => Me.filename === K.filename) ? (k(), x("a", {
38197
38198
  key: 1,
38198
38199
  href: e.downloads?.find((Me) => Me.filename === K.filename)?.url,
38199
38200
  download: K.filename
38200
- }, C(c(t)("common.exportDialog_downloadFile")), 9, wC)) : O("", !0)
38201
+ }, C(c(t)("common.exportDialog_downloadFile")), 9, wC)) : V("", !0)
38201
38202
  ], 64)) : (k(), x("span", yC, C(c(a)(c(n)(K.reason ?? ""))), 1))
38202
38203
  ]))), 128))
38203
38204
  ])
38204
- ])) : O("", !0),
38205
+ ])) : V("", !0),
38205
38206
  e.report.excluded.length ? (k(), x("details", kC, [
38206
38207
  P("summary", null, C(c(t)("common.exportDialog_2071cdd8")), 1),
38207
38208
  P("ul", PC, [
@@ -38210,10 +38211,10 @@ const Zz = ["data-zoom"], Jz = {
38210
38211
  P("span", null, C(c(a)(c(n)(K.reason))), 1)
38211
38212
  ]))), 128))
38212
38213
  ])
38213
- ])) : O("", !0)
38214
+ ])) : V("", !0)
38214
38215
  ], 512)), [
38215
38216
  [On, p.value === "results"]
38216
- ]) : O("", !0),
38217
+ ]) : V("", !0),
38217
38218
  P("footer", zC, [
38218
38219
  p.value === "results" && e.downloadUrl ? (k(), x("span", DC, C(c(t)("common.exportDialog_4d038851")), 1)) : (k(), x("span", CC, C(c(t)("common.exportDialog_93eac01e")), 1)),
38219
38220
  P("div", null, [
@@ -38227,7 +38228,7 @@ const Zz = ["data-zoom"], Jz = {
38227
38228
  }, [
38228
38229
  le(c(Ku), { size: 16 }),
38229
38230
  Ve(C(c(t)("common.exportDialog_572cf45b")), 1)
38230
- ], 8, IC)) : O("", !0),
38231
+ ], 8, IC)) : V("", !0),
38231
38232
  e.busy || e.previewBusy ? (k(), x("button", {
38232
38233
  key: 1,
38233
38234
  type: "button",
@@ -38264,7 +38265,7 @@ const Zz = ["data-zoom"], Jz = {
38264
38265
  }), EC = /* @__PURE__ */ et(SC, [["__scopeId", "data-v-7e4ad7b0"]]);
38265
38266
  function RC(e, o, t, a, r, n) {
38266
38267
  const i = U(!1), s = U({ ...Lh }), l = U("selected"), d = U(""), u = U(!1), p = U(), h = U(!1), b = U(!1), w = U(), m = U(), z = U(""), _ = U(""), f = U(""), v = U([]);
38267
- let y, S, F, I, V = 0, j = 0, J = !1;
38268
+ let y, S, F, I, O = 0, j = 0, J = !1;
38268
38269
  const M = $(() => {
38269
38270
  const Me = e(), Ue = new Set(l.value === "all" ? Me.items.map((ao) => ao.id) : Me.selectedIds);
38270
38271
  return Me.items.filter((ao) => Ue.has(ao.id)).map((ao) => ({ id: ao.id, name: ao.name, versionId: ao.currentVersionId }));
@@ -38274,7 +38275,7 @@ function RC(e, o, t, a, r, n) {
38274
38275
  Me && (URL.revokeObjectURL(Me.sourceUrl), URL.revokeObjectURL(Me.resultUrl)), p.value = void 0;
38275
38276
  }
38276
38277
  function oe(Me = !1) {
38277
- S && clearTimeout(S), S = void 0, V++, F?.abort(), F = void 0, h.value = !1, Me || R();
38278
+ S && clearTimeout(S), S = void 0, O++, F?.abort(), F = void 0, h.value = !1, Me || R();
38278
38279
  }
38279
38280
  function te() {
38280
38281
  y = void 0;
@@ -38347,13 +38348,13 @@ function RC(e, o, t, a, r, n) {
38347
38348
  async function fe() {
38348
38349
  if (!ne()) return;
38349
38350
  oe(!0), z.value = "";
38350
- const Me = V, Ue = new AbortController(), ao = e(), lo = ao.id;
38351
+ const Me = O, Ue = new AbortController(), ao = e(), lo = ao.id;
38351
38352
  F = Ue, h.value = !0;
38352
38353
  try {
38353
38354
  const Ne = Om(ao, [d.value], s.value), uo = Ne.entries[0];
38354
38355
  if (!uo) throw Error(Ne.excluded[0]?.reason ?? "没有可预览图片");
38355
38356
  const so = await Dc(uo, o, Ue.signal), bo = await t.render(so.blob, Ne.settings, Ue.signal);
38356
- if (J || Ue.signal.aborted || Me !== V || e().id !== lo)
38357
+ if (J || Ue.signal.aborted || Me !== O || e().id !== lo)
38357
38358
  return;
38358
38359
  if (bo.width * bo.height > jh)
38359
38360
  throw Error("原文件可下载,但像素超过预览预算。");
@@ -38374,9 +38375,9 @@ function RC(e, o, t, a, r, n) {
38374
38375
  mime: bo.mime
38375
38376
  };
38376
38377
  } catch (Ne) {
38377
- !J && Me === V && !Ue.signal.aborted && (z.value = Ne.message);
38378
+ !J && Me === O && !Ue.signal.aborted && (z.value = Ne.message);
38378
38379
  } finally {
38379
- Me === V && (h.value = !1, F = void 0);
38380
+ Me === O && (h.value = !1, F = void 0);
38380
38381
  }
38381
38382
  }
38382
38383
  async function K() {
@@ -38778,7 +38779,7 @@ const OC = ["src"], FC = {
38778
38779
  ), I = $(() => {
38779
38780
  const M = y.value, R = v.value;
38780
38781
  return M?.kind === "render" && (M.padding === 0 || F.value === "transparent") && !!R && M.width === R.sourceWidth && M.height === R.sourceHeight && M.sourceRect.x === M.padding && M.sourceRect.y === M.padding;
38781
- }), V = $(
38782
+ }), O = $(
38782
38783
  () => r.recipe.tool !== "orient" && y.value?.kind !== "render" && r.rect ? {
38783
38784
  left: `${r.rect.x / r.boardWidth * 100}%`,
38784
38785
  top: `${r.rect.y / r.boardHeight * 100}%`,
@@ -38853,7 +38854,7 @@ const OC = ["src"], FC = {
38853
38854
  }), (M, R) => (k(), x(Fe, null, [
38854
38855
  P("div", {
38855
38856
  class: Je(["basic-preview-overlay", l.value || y.value?.kind === "render" ? `lc-bg-${e.background}` : void 0]),
38856
- style: Io(V.value),
38857
+ style: Io(O.value),
38857
38858
  "aria-hidden": "true"
38858
38859
  }, [
38859
38860
  y.value?.kind === "render" && v.value ? (k(), ke(hb, {
@@ -38864,19 +38865,19 @@ const OC = ["src"], FC = {
38864
38865
  geometry: y.value,
38865
38866
  background: e.background,
38866
38867
  "padding-color": F.value
38867
- }, null, 8, ["source-url", "source-width", "source-height", "geometry", "background", "padding-color"])) : O("", !0),
38868
+ }, null, 8, ["source-url", "source-width", "source-height", "geometry", "background", "padding-color"])) : V("", !0),
38868
38869
  l.value ? (k(), x("img", {
38869
38870
  key: 1,
38870
38871
  class: Je(["basic-adjust-image", { "basic-orient-image": e.recipe.tool === "orient" }]),
38871
38872
  style: Io(j.value),
38872
38873
  src: l.value,
38873
38874
  alt: ""
38874
- }, null, 14, OC)) : O("", !0),
38875
+ }, null, 14, OC)) : V("", !0),
38875
38876
  J.value ? (k(), x("div", {
38876
38877
  key: 2,
38877
38878
  class: "basic-crop-frame",
38878
38879
  style: Io(J.value)
38879
- }, null, 4)) : O("", !0)
38880
+ }, null, 4)) : V("", !0)
38880
38881
  ], 6),
38881
38882
  (k(), ke(Aa, {
38882
38883
  to: e.captionTarget ?? "body",
@@ -38907,7 +38908,7 @@ const OC = ["src"], FC = {
38907
38908
  ], 64)) : (k(), x(Fe, { key: 7 }, [
38908
38909
  Ve(C(c(t)("tools.adjust.basicEditPreview_801830ca")), 1)
38909
38910
  ], 64))
38910
- ])) : O("", !0)
38911
+ ])) : V("", !0)
38911
38912
  ], 8, ["to", "disabled"]))
38912
38913
  ], 64));
38913
38914
  }
@@ -38969,7 +38970,7 @@ const OC = ["src"], FC = {
38969
38970
  src: n(l),
38970
38971
  alt: c(o)("tools.listing_remake.lirResultDetails_9972bb95", { p0: d + 1 }),
38971
38972
  loading: "lazy"
38972
- }, null, 8, YC)) : O("", !0),
38973
+ }, null, 8, YC)) : V("", !0),
38973
38974
  P("figcaption", null, C(c(o)("tools.listing_remake.lirResultDetails_56d4dcae", { p0: d + 1 })), 1)
38974
38975
  ]))), 128))
38975
38976
  ])
@@ -39013,7 +39014,7 @@ const OC = ["src"], FC = {
39013
39014
  }, [
39014
39015
  P("span", null, C(c(o)("tools.image_translation.translationRegions_a924d739")), 1)
39015
39016
  ], 4)
39016
- ], 4)) : O("", !0),
39017
+ ], 4)) : V("", !0),
39017
39018
  P("div", {
39018
39019
  class: "translation-clip",
39019
39020
  style: Io(e.compare ? { clipPath: `inset(0 0 0 ${e.wipe}%)` } : void 0)
@@ -39132,7 +39133,7 @@ const OC = ["src"], FC = {
39132
39133
  I.value = "";
39133
39134
  }
39134
39135
  );
39135
- const V = $(() => s.sourceWidth ?? s.width), j = $(() => s.sourceHeight ?? s.height), J = $(
39136
+ const O = $(() => s.sourceWidth ?? s.width), j = $(() => s.sourceHeight ?? s.height), J = $(
39136
39137
  () => !!s.resultUrl && !!s.sourceRect && !!s.resultRect && (Math.abs(s.sourceRect.x - s.resultRect.x) > 1 || Math.abs(s.sourceRect.y - s.resultRect.y) > 1 || Math.abs(s.sourceRect.width - s.resultRect.width) > 1 || Math.abs(s.sourceRect.height - s.resultRect.height) > 1)
39137
39138
  ), M = $(
39138
39139
  () => !s.magicPreviewState && s.sourceVersionId === s.task?.inputVersionId ? s.task?.details?.analysis : void 0
@@ -39305,8 +39306,8 @@ const OC = ["src"], FC = {
39305
39306
  e.translationView.details.targetLocale || e.translationView.details.targetLanguage
39306
39307
  ),
39307
39308
  p1: e.translationView.details.replacements.length
39308
- })), 9, rI)) : O("", !0),
39309
- e.embedded ? O("", !0) : (k(), x("header", nI, [
39309
+ })), 9, rI)) : V("", !0),
39310
+ e.embedded ? V("", !0) : (k(), x("header", nI, [
39310
39311
  P("h2", null, C(e.name), 1),
39311
39312
  P("div", null, [
39312
39313
  P("button", {
@@ -39333,7 +39334,7 @@ const OC = ["src"], FC = {
39333
39334
  }, [...Ae[21] || (Ae[21] = [
39334
39335
  P("span", null, null, -1)
39335
39336
  ])], 8, cI)
39336
- ])) : O("", !0),
39337
+ ])) : V("", !0),
39337
39338
  M.value ? (k(), x("button", {
39338
39339
  key: 1,
39339
39340
  class: "risk-trigger",
@@ -39344,8 +39345,8 @@ const OC = ["src"], FC = {
39344
39345
  P("span", {
39345
39346
  class: Je(["risk-count", { alert: M.value.findings.length > 0 }])
39346
39347
  }, C(M.value.findings.length), 3)
39347
- ], 8, dI)) : O("", !0),
39348
- e.embedded ? O("", !0) : (k(), x("button", {
39348
+ ], 8, dI)) : V("", !0),
39349
+ e.embedded ? V("", !0) : (k(), x("button", {
39349
39350
  key: 2,
39350
39351
  class: "file-info-icon",
39351
39352
  title: c(a)("common.app_800e19b4"),
@@ -39356,12 +39357,12 @@ const OC = ["src"], FC = {
39356
39357
  le(c(nm), { size: 17 })
39357
39358
  ], 8, mI))
39358
39359
  ]),
39359
- e.embedded ? O("", !0) : (k(), ke(Ib, {
39360
+ e.embedded ? V("", !0) : (k(), ke(Ib, {
39360
39361
  key: 0,
39361
39362
  modelValue: h.value,
39362
39363
  "onUpdate:modelValue": Ae[7] || (Ae[7] = (Ie) => h.value = Ie)
39363
39364
  }, null, 8, ["modelValue"])),
39364
- e.embedded ? O("", !0) : (k(), x("div", uI, [
39365
+ e.embedded ? V("", !0) : (k(), x("div", uI, [
39365
39366
  P("button", {
39366
39367
  "aria-label": c(a)("common.app_290f6803"),
39367
39368
  onClick: ot
@@ -39373,7 +39374,7 @@ const OC = ["src"], FC = {
39373
39374
  }, "+", 8, fI),
39374
39375
  P("button", { onClick: q }, C(c(a)("common.app_b194450a")), 1)
39375
39376
  ]))
39376
- ])) : O("", !0),
39377
+ ])) : V("", !0),
39377
39378
  F.value ? (k(), x("div", gI, [
39378
39379
  P("span", null, C(e.outputWidth ?? e.width) + " × " + C(e.outputHeight ?? e.height), 1),
39379
39380
  e.disclosure ? (k(), x(Fe, { key: 0 }, [
@@ -39388,14 +39389,14 @@ const OC = ["src"], FC = {
39388
39389
  onClick: Ae[8] || (Ae[8] = (Ie) => {
39389
39390
  f.value = !f.value, y.value = !0;
39390
39391
  })
39391
- }, C(f.value ? c(a)("common.imageViewer_c3392440") : c(a)("common.imageViewer_4895dc17")), 1)) : O("", !0)
39392
- ])) : O("", !0),
39392
+ }, C(f.value ? c(a)("common.imageViewer_c3392440") : c(a)("common.imageViewer_4895dc17")), 1)) : V("", !0)
39393
+ ])) : V("", !0),
39393
39394
  e.task?.details?.lir ? (k(), ke(eI, {
39394
39395
  key: 4,
39395
39396
  lir: e.task.details.lir
39396
- }, null, 8, ["lir"])) : O("", !0),
39397
+ }, null, 8, ["lir"])) : V("", !0),
39397
39398
  e.magicPreviewState ? (k(), x("div", hI, [
39398
- e.embedded ? ba(De.$slots, "selection", {}, void 0, !0, 0) : O("", !0),
39399
+ e.embedded ? ba(De.$slots, "selection", {}, void 0, !0, 0) : V("", !0),
39399
39400
  P("div", {
39400
39401
  class: "magic-draft-preview",
39401
39402
  "data-preview-state": e.magicPreviewState.status,
@@ -39403,8 +39404,8 @@ const OC = ["src"], FC = {
39403
39404
  "data-preview-sha": e.magicPreviewState.status === "ready" ? e.magicPreviewState.sha : void 0,
39404
39405
  role: e.magicPreviewState.status === "error" ? "alert" : "status"
39405
39406
  }, C(e.magicPreviewState.status === "ready" ? c(a)("tools.image_effects.preview") : e.magicPreviewState.status === "error" ? c(i)(e.magicPreviewState.message) : c(a)("tools.image_effects.previewing")), 9, _I),
39406
- e.embedded ? ba(De.$slots, "feedback", {}, void 0, !0, 1) : O("", !0)
39407
- ])) : O("", !0),
39407
+ e.embedded ? ba(De.$slots, "feedback", {}, void 0, !0, 1) : V("", !0)
39408
+ ])) : V("", !0),
39408
39409
  P("div", vI, [
39409
39410
  le(c(Ha), null, {
39410
39411
  default: Se(() => [
@@ -39429,7 +39430,7 @@ const OC = ["src"], FC = {
39429
39430
  P("button", {
39430
39431
  onClick: Ae[10] || (Ae[10] = (Ie) => m.value = !m.value)
39431
39432
  }, C(m.value ? c(a)("common.imageViewer_dd2c05de") : c(a)("common.imageViewer_e329e073")), 1),
39432
- R.value.length && oe.value ? (k(), x("p", kI, C(c(a)("common.imageViewer_a67a8edf")), 1)) : R.value.length && e.resultUrl ? (k(), x("p", PI, C(c(a)("common.imageViewer_ba7db2d1")), 1)) : O("", !0),
39433
+ R.value.length && oe.value ? (k(), x("p", kI, C(c(a)("common.imageViewer_a67a8edf")), 1)) : R.value.length && e.resultUrl ? (k(), x("p", PI, C(c(a)("common.imageViewer_ba7db2d1")), 1)) : V("", !0),
39433
39434
  P("p", null, C(M.value.summary), 1),
39434
39435
  P("ol", null, [
39435
39436
  (k(!0), x(Fe, null, _o(M.value.findings, (Ie) => (k(), x("li", {
@@ -39440,19 +39441,19 @@ const OC = ["src"], FC = {
39440
39441
  p1: Ie.risk
39441
39442
  })), 1),
39442
39443
  P("span", null, C(Ie.evidence), 1),
39443
- Ie.box ? O("", !0) : (k(), x("small", zI, C(c(a)("common.imageViewer_24e9cbe3")), 1))
39444
+ Ie.box ? V("", !0) : (k(), x("small", zI, C(c(a)("common.imageViewer_24e9cbe3")), 1))
39444
39445
  ]))), 128))
39445
39446
  ]),
39446
- M.value.findings.length ? O("", !0) : (k(), x("p", DI, C(c(a)("common.imageViewer_5816a5dc")), 1))
39447
+ M.value.findings.length ? V("", !0) : (k(), x("p", DI, C(c(a)("common.imageViewer_5816a5dc")), 1))
39447
39448
  ]),
39448
39449
  _: 1
39449
- }, 16, ["aria-label"])) : O("", !0)
39450
+ }, 16, ["aria-label"])) : V("", !0)
39450
39451
  ]),
39451
39452
  _: 1
39452
39453
  }),
39453
39454
  y.value && f.value ? (k(), x("div", CI, [
39454
39455
  P("figure", null, [
39455
- P("figcaption", null, C(c(a)("common.imageViewer_aed5673d", { p0: V.value, p1: j.value })), 1),
39456
+ P("figcaption", null, C(c(a)("common.imageViewer_aed5673d", { p0: O.value, p1: j.value })), 1),
39456
39457
  le(qs, {
39457
39458
  "space-pan-held": e.spacePanHeld,
39458
39459
  onPanStart: Ae[11] || (Ae[11] = (Ie) => l("panStart")),
@@ -39464,7 +39465,7 @@ const OC = ["src"], FC = {
39464
39465
  "wipe-aria-label": c(a)("common.canvas.wipeAria"),
39465
39466
  "source-url": e.sourceUrl,
39466
39467
  "placeholder-url": e.sourcePreviewUrl,
39467
- width: V.value,
39468
+ width: O.value,
39468
39469
  height: j.value,
39469
39470
  background: S.value,
39470
39471
  wipe: 50,
@@ -39557,7 +39558,7 @@ const OC = ["src"], FC = {
39557
39558
  "result-rect": e.resultRect,
39558
39559
  compare: y.value && !!e.resultUrl,
39559
39560
  wipe: p.value
39560
- }, null, 8, ["box", "width", "height", "source-rect", "result-rect", "compare", "wipe"])) : O("", !0),
39561
+ }, null, 8, ["box", "width", "height", "source-rect", "result-rect", "compare", "wipe"])) : V("", !0),
39561
39562
  e.basicRecipe?.tool === "brand_mark" && !y.value ? (k(), ke(fb, {
39562
39563
  key: 1,
39563
39564
  "caption-target": e.captionTarget,
@@ -39569,7 +39570,7 @@ const OC = ["src"], FC = {
39569
39570
  "logo-width": e.basicRecipe.logoWidth,
39570
39571
  "logo-height": e.basicRecipe.logoHeight,
39571
39572
  background: S.value
39572
- }, null, 8, ["caption-target", "source-url", "width", "height", "params", "logo-url", "logo-width", "logo-height", "background"])) : O("", !0),
39573
+ }, null, 8, ["caption-target", "source-url", "width", "height", "params", "logo-url", "logo-width", "logo-height", "background"])) : V("", !0),
39573
39574
  e.basicRecipe?.tool === "shadow" && !y.value ? (k(), ke(gb, {
39574
39575
  key: 2,
39575
39576
  "caption-target": e.captionTarget,
@@ -39579,7 +39580,7 @@ const OC = ["src"], FC = {
39579
39580
  height: e.outputHeight ?? e.height,
39580
39581
  params: e.basicRecipe.params,
39581
39582
  background: S.value
39582
- }, null, 8, ["caption-target", "source-url", "width", "height", "params", "background"])) : O("", !0),
39583
+ }, null, 8, ["caption-target", "source-url", "width", "height", "params", "background"])) : V("", !0),
39583
39584
  e.basicRecipe?.tool === "resize" && !y.value ? (k(), ke(bb, {
39584
39585
  key: 3,
39585
39586
  "source-url": e.resultUrl || e.sourceUrl,
@@ -39587,7 +39588,7 @@ const OC = ["src"], FC = {
39587
39588
  height: e.outputHeight ?? e.height,
39588
39589
  params: e.basicRecipe.params,
39589
39590
  background: S.value
39590
- }, null, 8, ["source-url", "width", "height", "params", "background"])) : O("", !0),
39591
+ }, null, 8, ["source-url", "width", "height", "params", "background"])) : V("", !0),
39591
39592
  (k(), ke(Aa, {
39592
39593
  to: e.captionTarget ?? "body",
39593
39594
  disabled: !e.captionTarget
@@ -39601,7 +39602,7 @@ const OC = ["src"], FC = {
39601
39602
  p1: uo.value.height
39602
39603
  })), 1)
39603
39604
  ], 64))
39604
- ])) : O("", !0)
39605
+ ])) : V("", !0)
39605
39606
  ], 8, ["to", "disabled"])),
39606
39607
  e.basicRecipe && e.basicRecipe.tool !== "resize" && e.basicRecipe.tool !== "shadow" && e.basicRecipe.tool !== "brand_mark" && e.basicRecipe.tool !== "image_effects" && !y.value ? (k(), ke(UC, {
39607
39608
  key: 4,
@@ -39615,7 +39616,7 @@ const OC = ["src"], FC = {
39615
39616
  "board-width": oo.value,
39616
39617
  "board-height": po.value,
39617
39618
  background: S.value
39618
- }, null, 8, ["caption-target", "source-url", "read-original", "version-id", "recipe", "rect", "board-width", "board-height", "background"])) : O("", !0),
39619
+ }, null, 8, ["caption-target", "source-url", "read-original", "version-id", "recipe", "rect", "board-width", "board-height", "background"])) : V("", !0),
39619
39620
  m.value && M.value ? (k(), x(Fe, { key: 5 }, [
39620
39621
  P("div", {
39621
39622
  class: "risk-clip",
@@ -39660,12 +39661,12 @@ const OC = ["src"], FC = {
39660
39661
  class: Je({ high: Ie.risk >= 7 })
39661
39662
  }, null, 10, AI))), 128))
39662
39663
  ], 4))
39663
- ], 4)) : O("", !0)
39664
- ], 64)) : O("", !0),
39664
+ ], 4)) : V("", !0)
39665
+ ], 64)) : V("", !0),
39665
39666
  re.value || D.value ? (k(), x("div", {
39666
39667
  key: 6,
39667
39668
  class: Je(["viewer-image-scan", { queued: D.value }])
39668
- }, null, 2)) : O("", !0),
39669
+ }, null, 2)) : V("", !0),
39669
39670
  K.value ? (k(), x("div", {
39670
39671
  key: 7,
39671
39672
  class: "expansion-outline",
@@ -39675,38 +39676,38 @@ const OC = ["src"], FC = {
39675
39676
  width: `${K.value.box.width / K.value.width * 100}%`,
39676
39677
  height: `${K.value.box.height / K.value.height * 100}%`
39677
39678
  })
39678
- }, null, 4)) : O("", !0)
39679
+ }, null, 4)) : V("", !0)
39679
39680
  ]),
39680
39681
  _: 1
39681
39682
  }, 8, ["space-pan-held", "source-label", "result-label", "source-alt", "result-alt", "wipe-title", "wipe-aria-label", "smooth-zoom", "source-url", "placeholder-url", "result-url", "source-rect", "result-rect", "width", "height", "background", "background-color", "wipe", "fit-padding", "fit-max-scale", "compare", "zoom"]),
39682
39683
  re.value || D.value ? (k(), x("div", {
39683
39684
  key: 0,
39684
39685
  class: Je(["viewer-processing", { queued: D.value }])
39685
- }, C(no.value), 3)) : O("", !0)
39686
+ }, C(no.value), 3)) : V("", !0)
39686
39687
  ]),
39687
39688
  _: 1
39688
39689
  }, 8, ["initial"]))
39689
39690
  ]),
39690
- de.value?.status === "waiting_dependency" ? (k(), x("p", SI, C(e.dependencyName ? c(a)("common.imageViewer.waitingForToolResult", { tool: e.dependencyName }) : c(a)("common.imageViewer_7c665c69")), 1)) : O("", !0),
39691
- K.value ? (k(), x("p", EI, C(c(a)("common.imageViewer_1c3317d5")), 1)) : O("", !0),
39691
+ de.value?.status === "waiting_dependency" ? (k(), x("p", SI, C(e.dependencyName ? c(a)("common.imageViewer.waitingForToolResult", { tool: e.dependencyName }) : c(a)("common.imageViewer_7c665c69")), 1)) : V("", !0),
39692
+ K.value ? (k(), x("p", EI, C(c(a)("common.imageViewer_1c3317d5")), 1)) : V("", !0),
39692
39693
  e.previewNotice ? (k(), x("footer", RI, [
39693
39694
  P("span", null, C(e.previewNotice), 1),
39694
39695
  P("button", {
39695
39696
  onClick: Ae[18] || (Ae[18] = (Ie) => l("retry"))
39696
39697
  }, C(c(a)("common.app_1133d675")), 1)
39697
- ])) : O("", !0),
39698
+ ])) : V("", !0),
39698
39699
  I.value || de.value && (de.value.remoteWaitingTimedOut || de.value.status === "failed" || de.value.status === "submission_unknown" || de.value.status === "blocked_dependency" || de.value.details?.needsReview) ? (k(), x("footer", TI, [
39699
39700
  P("strong", null, C(I.value || no.value), 1),
39700
39701
  !I.value && de.value && (de.value.remoteWaitingTimedOut || de.value.status === "failed" || de.value.status === "blocked_dependency" || de.value.status === "submission_unknown") ? (k(), x("button", {
39701
39702
  key: 0,
39702
39703
  onClick: Ae[19] || (Ae[19] = (Ie) => l("history"))
39703
- }, C(c(a)("common.imageViewer_7559bd83")), 1)) : O("", !0),
39704
+ }, C(c(a)("common.imageViewer_7559bd83")), 1)) : V("", !0),
39704
39705
  I.value ? (k(), x("button", {
39705
39706
  key: 1,
39706
39707
  onClick: Ae[20] || (Ae[20] = (Ie) => l("retry"))
39707
- }, C(c(a)("common.app_1133d675")), 1)) : O("", !0),
39708
- de.value?.partialResult && de.value.status === "failed" ? (k(), x("span", LI, C(de.value.errorCode === "TRANSLATION_NEEDS_REVIEW" ? c(a)("common.imageViewer_aa1e6775") : c(a)("common.imageViewer_c9f709c1")), 1)) : O("", !0)
39709
- ])) : O("", !0),
39708
+ }, C(c(a)("common.app_1133d675")), 1)) : V("", !0),
39709
+ de.value?.partialResult && de.value.status === "failed" ? (k(), x("span", LI, C(de.value.errorCode === "TRANSLATION_NEEDS_REVIEW" ? c(a)("common.imageViewer_aa1e6775") : c(a)("common.imageViewer_c9f709c1")), 1)) : V("", !0)
39710
+ ])) : V("", !0),
39710
39711
  ba(De.$slots, "output", {}, void 0, !0)
39711
39712
  ], 10, aI));
39712
39713
  }
@@ -39902,11 +39903,11 @@ const GI = ["aria-label", "title", "aria-expanded", "aria-keyshortcuts"], UI = {
39902
39903
  }, [
39903
39904
  P("dt", null, [
39904
39905
  Ve(C(c(a)(m.label)), 1),
39905
- m.context ? (k(), x("small", WI, C(c(a)(m.context)), 1)) : O("", !0)
39906
+ m.context ? (k(), x("small", WI, C(c(a)(m.context)), 1)) : V("", !0)
39906
39907
  ]),
39907
39908
  P("dd", null, [
39908
39909
  (k(!0), x(Fe, null, _o(c(xb)(m.id, e.platform), (z, _) => (k(), x(Fe, { key: _ }, [
39909
- _ ? (k(), x("span", HI, "/")) : O("", !0),
39910
+ _ ? (k(), x("span", HI, "/")) : V("", !0),
39910
39911
  (k(!0), x(Fe, null, _o(z, (f) => (k(), x("kbd", { key: f }, C(f), 1))), 128))
39911
39912
  ], 64))), 128))
39912
39913
  ])
@@ -39915,7 +39916,7 @@ const GI = ["aria-label", "title", "aria-expanded", "aria-keyshortcuts"], UI = {
39915
39916
  ]))), 128)),
39916
39917
  P("footer", null, C(c(t)("common.shortcutHelp_60ebf712")), 1)
39917
39918
  ], 544)
39918
- ])) : O("", !0)
39919
+ ])) : V("", !0)
39919
39920
  ], 8, ["to"]))
39920
39921
  ], 64));
39921
39922
  }
@@ -40025,7 +40026,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
40025
40026
  }
40026
40027
  return { tool: void 0, group: "file", entry: void 0 };
40027
40028
  }
40028
- const b = e, w = () => import("./motionFeatures-CtNuOAaT.js").then((E) => E.default), m = Yn(), z = Yo(Pl, () => "body"), _ = Q4({
40029
+ const b = e, w = () => import("./motionFeatures-cthZ6di3.js").then((E) => E.default), m = Yn(), z = Yo(Pl, () => "body"), _ = Q4({
40029
40030
  batch: () => m.batch,
40030
40031
  writable: () => m.writer,
40031
40032
  addFile: (E) => m.addLocal([E]),
@@ -40039,7 +40040,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
40039
40040
  receipt: S,
40040
40041
  arrived: F,
40041
40042
  prepare: I,
40042
- complete: V
40043
+ complete: O
40043
40044
  } = I4(f, m, v), j = U(m.workspaceAdapter ? "metadata_cleanup" : "resize"), J = U(m.workspaceAdapter ? "file" : "size"), M = U(
40044
40045
  En(Kt(), s?.config.value.parameterDefaults)
40045
40046
  ), R = U(), oe = U(0), te = U(!0);
@@ -40270,7 +40271,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
40270
40271
  Y,
40271
40272
  () => to.value ?? no.value,
40272
40273
  () => b.onboardingObserver
40273
- ), { open: yo, busy: Go } = _e, xr = Ap(() => import("./BatchMaterials-G2YYHu2n.js")), tt = $(() => {
40274
+ ), { open: yo, busy: Go } = _e, xr = Ap(() => import("./BatchMaterials-DdAZgbyJ.js")), tt = $(() => {
40274
40275
  const E = Hh(m.batch), A = H.value;
40275
40276
  if (A?.batchId === m.batch.id) {
40276
40277
  if (A.status === "running")
@@ -41408,9 +41409,9 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41408
41409
  onClick: Vl
41409
41410
  }, [
41410
41411
  le(c(Vk), { size: 16 })
41411
- ], 8, ox)) : O("", !0),
41412
+ ], 8, ox)) : V("", !0),
41412
41413
  d("brand") ? (k(), x(Fe, { key: 1 }, [
41413
- c(m).workspaceAdapter ? O("", !0) : (k(), x("img", {
41414
+ c(m).workspaceAdapter ? V("", !0) : (k(), x("img", {
41414
41415
  key: 0,
41415
41416
  src: c(Wh),
41416
41417
  alt: "BeePop"
@@ -41418,7 +41419,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41418
41419
  P("strong", null, C(c(m).workspaceAdapter ? "Batch Images" : "BeePop"), 1),
41419
41420
  A[58] || (A[58] = P("span", { class: "brand-divider" }, null, -1)),
41420
41421
  P("span", null, C(c(t)("common.app_dc153a59")), 1)
41421
- ], 64)) : O("", !0),
41422
+ ], 64)) : V("", !0),
41422
41423
  ya.value ? pa((k(), x("input", {
41423
41424
  key: 2,
41424
41425
  "onUpdate:modelValue": A[1] || (A[1] = (G) => ir.value = G),
@@ -41466,7 +41467,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41466
41467
  size: 16
41467
41468
  }),
41468
41469
  P("span", null, C(c(t)("common.audit.newProject")), 1)
41469
- ], 8, sx)) : O("", !0)
41470
+ ], 8, sx)) : V("", !0)
41470
41471
  ]),
41471
41472
  P("div", lx, [
41472
41473
  le(c(Le).button, {
@@ -41542,7 +41543,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41542
41543
  Ve(C(c(t)("common.app_9f0d4e46")), 1)
41543
41544
  ]),
41544
41545
  _: 1
41545
- }, 8, ["transition", "data-material-action", "disabled"])) : O("", !0),
41546
+ }, 8, ["transition", "data-material-action", "disabled"])) : V("", !0),
41546
41547
  d("export") ? (k(), ke(c(Le).button, {
41547
41548
  key: 1,
41548
41549
  "while-press": { scale: 0.97 },
@@ -41561,13 +41562,13 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41561
41562
  Ve(C(c(t)("common.app_76420433")), 1)
41562
41563
  ]),
41563
41564
  _: 1
41564
- }, 8, ["transition", "data-material-action", "disabled"])) : O("", !0),
41565
+ }, 8, ["transition", "data-material-action", "disabled"])) : V("", !0),
41565
41566
  d("theme") || d("language") ? (k(), ke(y8, {
41566
41567
  key: 2,
41567
41568
  "show-theme": d("theme"),
41568
41569
  "show-language": d("language"),
41569
41570
  "motion-disabled": c(v) || c(y)
41570
- }, null, 8, ["show-theme", "show-language", "motion-disabled"])) : O("", !0)
41571
+ }, null, 8, ["show-theme", "show-language", "motion-disabled"])) : V("", !0)
41571
41572
  ])
41572
41573
  ]),
41573
41574
  le(c(mm), { id: "batch-tool-rail" }, {
@@ -41596,11 +41597,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41596
41597
  "layout-id": "tool-group-highlight",
41597
41598
  class: "rail-active-background",
41598
41599
  transition: c(io)
41599
- }, null, 8, ["transition"])) : O("", !0),
41600
+ }, null, 8, ["transition"])) : V("", !0),
41600
41601
  P("span", null, C(c(t)("groups.size.short")), 1)
41601
41602
  ]),
41602
41603
  _: 1
41603
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41604
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41604
41605
  p("edit") ? (k(), ke(c(Le).button, {
41605
41606
  key: 1,
41606
41607
  "aria-label": c(t)("common.app_d721fd52"),
@@ -41620,11 +41621,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41620
41621
  "layout-id": "tool-group-highlight",
41621
41622
  class: "rail-active-background",
41622
41623
  transition: c(io)
41623
- }, null, 8, ["transition"])) : O("", !0),
41624
+ }, null, 8, ["transition"])) : V("", !0),
41624
41625
  P("span", null, C(c(t)("groups.edit.short")), 1)
41625
41626
  ]),
41626
41627
  _: 1
41627
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41628
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41628
41629
  p("background") ? (k(), ke(c(Le).button, {
41629
41630
  key: 2,
41630
41631
  "aria-label": c(t)("common.app_f4b669c5"),
@@ -41644,11 +41645,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41644
41645
  "layout-id": "tool-group-highlight",
41645
41646
  class: "rail-active-background",
41646
41647
  transition: c(io)
41647
- }, null, 8, ["transition"])) : O("", !0),
41648
+ }, null, 8, ["transition"])) : V("", !0),
41648
41649
  P("span", null, C(c(t)("groups.background.short")), 1)
41649
41650
  ]),
41650
41651
  _: 1
41651
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41652
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41652
41653
  p("ip") ? (k(), ke(c(Le).button, {
41653
41654
  key: 3,
41654
41655
  "aria-label": c(t)("common.app_47248c2a"),
@@ -41668,11 +41669,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41668
41669
  "layout-id": "tool-group-highlight",
41669
41670
  class: "rail-active-background",
41670
41671
  transition: c(io)
41671
- }, null, 8, ["transition"])) : O("", !0),
41672
+ }, null, 8, ["transition"])) : V("", !0),
41672
41673
  P("span", null, C(c(t)("groups.ip.short")), 1)
41673
41674
  ]),
41674
41675
  _: 1
41675
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41676
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41676
41677
  p("disclosure") ? (k(), ke(c(Le).button, {
41677
41678
  key: 4,
41678
41679
  "aria-label": c(t)("common.app_69a0de50"),
@@ -41692,11 +41693,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41692
41693
  "layout-id": "tool-group-highlight",
41693
41694
  class: "rail-active-background",
41694
41695
  transition: c(io)
41695
- }, null, 8, ["transition"])) : O("", !0),
41696
+ }, null, 8, ["transition"])) : V("", !0),
41696
41697
  P("span", null, C(c(t)("groups.disclosure.short")), 1)
41697
41698
  ]),
41698
41699
  _: 1
41699
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41700
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41700
41701
  p("file") ? (k(), ke(c(Le).button, {
41701
41702
  key: 5,
41702
41703
  "aria-label": c(t)("groups.file.title"),
@@ -41716,11 +41717,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41716
41717
  "layout-id": "tool-group-highlight",
41717
41718
  class: "rail-active-background",
41718
41719
  transition: c(io)
41719
- }, null, 8, ["transition"])) : O("", !0),
41720
+ }, null, 8, ["transition"])) : V("", !0),
41720
41721
  P("span", null, C(c(t)("groups.file.short")), 1)
41721
41722
  ]),
41722
41723
  _: 1
41723
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41724
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41724
41725
  p("listing") ? (k(), ke(c(Le).button, {
41725
41726
  key: 6,
41726
41727
  "aria-label": c(t)("common.app_2755b173"),
@@ -41740,11 +41741,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41740
41741
  "layout-id": "tool-group-highlight",
41741
41742
  class: "rail-active-background",
41742
41743
  transition: c(io)
41743
- }, null, 8, ["transition"])) : O("", !0),
41744
+ }, null, 8, ["transition"])) : V("", !0),
41744
41745
  P("span", null, C(c(t)("groups.listing.short")), 1)
41745
41746
  ]),
41746
41747
  _: 1
41747
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0),
41748
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0),
41748
41749
  p("ai") ? (k(), ke(c(Le).button, {
41749
41750
  key: 7,
41750
41751
  "aria-label": c(t)("common.app_adddbd77"),
@@ -41764,11 +41765,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41764
41765
  "layout-id": "tool-group-highlight",
41765
41766
  class: "rail-active-background",
41766
41767
  transition: c(io)
41767
- }, null, 8, ["transition"])) : O("", !0),
41768
+ }, null, 8, ["transition"])) : V("", !0),
41768
41769
  P("span", null, C(c(t)("groups.ai.short")), 1)
41769
41770
  ]),
41770
41771
  _: 1
41771
- }, 8, ["aria-label", "title", "transition", "class"])) : O("", !0)
41772
+ }, 8, ["aria-label", "title", "transition", "class"])) : V("", !0)
41772
41773
  ]),
41773
41774
  le(KI, {
41774
41775
  open: qt.value,
@@ -41810,10 +41811,10 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41810
41811
  Ve("+" + C(c(F)), 1)
41811
41812
  ]),
41812
41813
  _: 1
41813
- }, 8, ["transition"])) : O("", !0)
41814
+ }, 8, ["transition"])) : V("", !0)
41814
41815
  ]),
41815
41816
  _: 1
41816
- }, 8, ["transition", "aria-label", "title"])) : O("", !0)
41817
+ }, 8, ["transition", "aria-label", "title"])) : V("", !0)
41817
41818
  ], 8, dx)
41818
41819
  ]),
41819
41820
  _: 1
@@ -41885,7 +41886,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41885
41886
  name: Ge.value?.name || "",
41886
41887
  onSelect: A[18] || (A[18] = (G) => de.value = G),
41887
41888
  onClose: cr
41888
- }, null, 8, ["view", "selected", "name"])) : O("", !0)
41889
+ }, null, 8, ["view", "selected", "name"])) : V("", !0)
41889
41890
  ]),
41890
41891
  _: 1
41891
41892
  }),
@@ -41936,7 +41937,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41936
41937
  P("span", null, C(c(a)(
41937
41938
  g(Ge.value, jt.value?.id ?? Ge.value.currentVersionId)
41938
41939
  )), 1),
41939
- bn.value ? (k(), x("span", yx, C(c(a)(bn.value.reason)), 1)) : O("", !0)
41940
+ bn.value ? (k(), x("span", yx, C(c(a)(bn.value.reason)), 1)) : V("", !0)
41940
41941
  ])
41941
41942
  ]),
41942
41943
  P("span", kx, C(c(t)("common.focus.position", {
@@ -41944,7 +41945,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41944
41945
  total: c(m).batch.items.length
41945
41946
  })), 1),
41946
41947
  P("span", Px, C(c(t)("common.app_4e6243a8", { p0: c(m).batch.selectedIds.length })), 1),
41947
- wo.value === "version" && jt.value ? (k(), x("span", zx, C(c(t)("common.app_11b441c1", { p0: g(Ge.value, jt.value.id) })), 1)) : O("", !0)
41948
+ wo.value === "version" && jt.value ? (k(), x("span", zx, C(c(t)("common.app_11b441c1", { p0: g(Ge.value, jt.value.id) })), 1)) : V("", !0)
41948
41949
  ]),
41949
41950
  P("div", Dx, [
41950
41951
  Xo.value && ft.value && (ge.value || _s.value) ? (k(), x("label", Cx, [
@@ -41963,7 +41964,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41963
41964
  ])]),
41964
41965
  _: 1
41965
41966
  }, 8, ["transition", "aria-label", "aria-checked"])
41966
- ])) : O("", !0),
41967
+ ])) : V("", !0),
41967
41968
  le(Ib, {
41968
41969
  modelValue: Mt.value,
41969
41970
  "onUpdate:modelValue": A[21] || (A[21] = (G) => Mt.value = G)
@@ -41981,7 +41982,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
41981
41982
  _: 1
41982
41983
  }, 8, ["transition", "class"])
41983
41984
  ])
41984
- ])) : O("", !0),
41985
+ ])) : V("", !0),
41985
41986
  P("div", Ix, [
41986
41987
  le(c(Ha), null, {
41987
41988
  default: Se(() => [
@@ -42009,11 +42010,11 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42009
42010
  }, 8, ["transition", "aria-label"])
42010
42011
  ]),
42011
42012
  _: 1
42012
- })) : O("", !0)
42013
+ })) : V("", !0)
42013
42014
  ]),
42014
42015
  _: 1
42015
42016
  }),
42016
- ms.value ? (k(), x("p", xx, C(c(i)("common.toolLink.invalid")), 1)) : O("", !0),
42017
+ ms.value ? (k(), x("p", xx, C(c(i)("common.toolLink.invalid")), 1)) : V("", !0),
42017
42018
  c(m).legacyBatchId && !c(m).batch.items.length ? (k(), x("div", Ax, [
42018
42019
  Ve(C(c(t)("common.app_ac7c0209")), 1),
42019
42020
  P("button", {
@@ -42024,14 +42025,14 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42024
42025
  W.value = "batches", Ao.value = !0;
42025
42026
  })
42026
42027
  }, C(c(t)("common.app_1ddd9cd9")), 1)
42027
- ])) : O("", !0)
42028
+ ])) : V("", !0)
42028
42029
  ]),
42029
42030
  c(m).expiryProblem ? (k(), x("div", Sx, [
42030
42031
  P("span", null, C(c(n)(c(m).expiryProblem)), 1),
42031
42032
  P("button", {
42032
42033
  onClick: A[25] || (A[25] = (G) => c(m).init())
42033
42034
  }, C(c(t)("common.app_e403558a")), 1)
42034
- ])) : O("", !0),
42035
+ ])) : V("", !0),
42035
42036
  c(m).ready && !c(m).writer && !c(m).expiryProblem ? (k(), x("div", Ex, [
42036
42037
  le(c(t8), {
42037
42038
  size: 20,
@@ -42051,7 +42052,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42051
42052
  Ve(C(c(m).leasePending ? c(t)("common.app_85ab3026") : c(t)("common.app_2d8d2fad")), 1)
42052
42053
  ]),
42053
42054
  _: 1
42054
- }, 8, ["disabled"])) : O("", !0),
42055
+ }, 8, ["disabled"])) : V("", !0),
42055
42056
  P("button", {
42056
42057
  disabled: c(m).workspaceAdapter?.pageSession ? !c(m).canStartNewBatch : !c(s)?.config.value.navigation,
42057
42058
  onClick: A[27] || (A[27] = (G) => zm("readonly")),
@@ -42061,7 +42062,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42061
42062
  Ve(C(c(t)("common.app_c7532372")), 1)
42062
42063
  ], 8, Tx)
42063
42064
  ])
42064
- ])) : O("", !0),
42065
+ ])) : V("", !0),
42065
42066
  pa(P("div", Lx, [
42066
42067
  P("label", Mx, [
42067
42068
  P("input", {
@@ -42082,7 +42083,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42082
42083
  P("option", Fx, C(c(t)("common.app_01d70f87")), 1),
42083
42084
  P("option", Bx, C(c(t)("common.app_c6447b0d")), 1)
42084
42085
  ], 40, Ox)
42085
- ])) : O("", !0),
42086
+ ])) : V("", !0),
42086
42087
  P("div", Nx, [
42087
42088
  P("div", Gx, [
42088
42089
  pa(P("select", {
@@ -42233,8 +42234,8 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42233
42234
  onPointerdown: Na,
42234
42235
  onFocusin: dr
42235
42236
  }, [
42236
- gt.value && !bt.value ? (k(), x("span", oA, C(c(t)("common.app_a9aee79c", { p0: gt.value })), 1)) : O("", !0),
42237
- bt.value ? O("", !0) : (k(), x("span", tA, C(c(t)("common.app_4e6243a8", { p0: c(m).batch.selectedIds.length })), 1)),
42237
+ gt.value && !bt.value ? (k(), x("span", oA, C(c(t)("common.app_a9aee79c", { p0: gt.value })), 1)) : V("", !0),
42238
+ bt.value ? V("", !0) : (k(), x("span", tA, C(c(t)("common.app_4e6243a8", { p0: c(m).batch.selectedIds.length })), 1)),
42238
42239
  to.value && Ge.value && Xo.value ? (k(), ke(jI, {
42239
42240
  key: 2,
42240
42241
  "space-pan-held": St.value,
@@ -42303,7 +42304,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42303
42304
  P("span", aA, C(c(t)("common.app_4e6243a8", { p0: c(m).batch.selectedIds.length })), 1)
42304
42305
  ]),
42305
42306
  feedback: Se(() => [
42306
- gt.value ? (k(), x("span", rA, C(c(t)("common.app_a9aee79c", { p0: gt.value })), 1)) : O("", !0)
42307
+ gt.value ? (k(), x("span", rA, C(c(t)("common.app_a9aee79c", { p0: gt.value })), 1)) : V("", !0)
42307
42308
  ]),
42308
42309
  _: 1
42309
42310
  }, 8, ["space-pan-held", "initial-zoom", "caption-target", "translation-view", "translation-selected", "translation-open", "motion-key", "motion-direction", "motion-enabled", "basic-recipe", "magic-preview-state", "basic-version-id", "basic-read-original", "basic-source-orientation", "name", "source-url", "preview-url", "source-preview-url", "source-version-id", "preview-notice", "result-only", "result-url", "width", "height", "output-width", "output-height", "source-width", "source-height", "source-rect", "result-rect", "task", "status-task", "dependency-name", "queue-paused", "readonly", "output-color", "expansion-ratio", "disclosure", "preview-background", "compare-enabled", "svg-comparison-enabled"])) : (k(), x("div", nA, [
@@ -42311,7 +42312,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42311
42312
  key: 0,
42312
42313
  src: Nt.value,
42313
42314
  alt: c(t)("common.app_eef72fa5")
42314
- }, null, 8, iA)) : O("", !0),
42315
+ }, null, 8, iA)) : V("", !0),
42315
42316
  rt.value ? (k(), x("span", sA, [
42316
42317
  Ve(C(c(a)(rt.value)), 1),
42317
42318
  le(c(Le).button, {
@@ -42331,7 +42332,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42331
42332
  }, 8, ["transition"])
42332
42333
  ])) : (k(), x("span", lA, C(c(t)("common.app_6ad87dc3")), 1))
42333
42334
  ]))
42334
- ], 40, eA)) : O("", !0)
42335
+ ], 40, eA)) : V("", !0)
42335
42336
  ])
42336
42337
  ], 2),
42337
42338
  P("footer", cA, [
@@ -42341,7 +42342,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42341
42342
  ref: l,
42342
42343
  class: "focus-caption",
42343
42344
  "aria-live": "polite"
42344
- }, null, 512)) : O("", !0),
42345
+ }, null, 512)) : V("", !0),
42345
42346
  Ne.value === "focus" ? (k(), ke(R3, {
42346
42347
  key: 1,
42347
42348
  items: c(m).batch.items,
@@ -42351,7 +42352,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42351
42352
  onSelect: A[42] || (A[42] = (G) => c(m).select([G], !0)),
42352
42353
  onOpen: A[43] || (A[43] = (G) => Et(G)),
42353
42354
  onNavigate: gi
42354
- }, null, 8, ["items", "focused-id", "selected-ids", "selection-disabled"])) : O("", !0),
42355
+ }, null, 8, ["items", "focused-id", "selected-ids", "selection-disabled"])) : V("", !0),
42355
42356
  P("div", {
42356
42357
  class: "view-controls",
42357
42358
  "data-material-static": c(m).workspaceAdapter ? !0 : void 0,
@@ -42431,7 +42432,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42431
42432
  onEnter: va,
42432
42433
  onLeave: Ar,
42433
42434
  onOpen: Er
42434
- }, null, 8, ["batch", "anchor", "export-session", "disabled", "feedback", "onPause", "onResume"])) : O("", !0)
42435
+ }, null, 8, ["batch", "anchor", "export-session", "disabled", "feedback", "onPause", "onResume"])) : V("", !0)
42435
42436
  ]),
42436
42437
  _: 1
42437
42438
  })
@@ -42473,7 +42474,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42473
42474
  }, 8, ["aria-label"])
42474
42475
  ]),
42475
42476
  P("p", mA, C(c(t)("common.app_85dede63")), 1),
42476
- Po.value ? O("", !0) : (k(), x("p", uA, C(c(t)("common.app_118d0524")), 1)),
42477
+ Po.value ? V("", !0) : (k(), x("p", uA, C(c(t)("common.app_118d0524")), 1)),
42477
42478
  P("footer", null, [
42478
42479
  le(c(Le).button, {
42479
42480
  class: "delete-confirm-cancel",
@@ -42500,7 +42501,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42500
42501
  }, 16, ["aria-label"])
42501
42502
  ]),
42502
42503
  _: 1
42503
- })) : O("", !0)
42504
+ })) : V("", !0)
42504
42505
  ]),
42505
42506
  _: 1
42506
42507
  }),
@@ -42515,7 +42516,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42515
42516
  session: c(_),
42516
42517
  "local-only": !!c(m).workspaceAdapter && !c(m).workspaceAdapter.assets.readExternal,
42517
42518
  writer: c(m).writer
42518
- }, null, 8, ["retention-hours", "session", "local-only", "writer"])) : O("", !0)
42519
+ }, null, 8, ["retention-hours", "session", "local-only", "writer"])) : V("", !0)
42519
42520
  ]),
42520
42521
  _: 1
42521
42522
  })
@@ -42568,7 +42569,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42568
42569
  }, 16)
42569
42570
  ]),
42570
42571
  _: 1
42571
- }, 8, ["onClick"])) : O("", !0)
42572
+ }, 8, ["onClick"])) : V("", !0)
42572
42573
  ]),
42573
42574
  _: 1
42574
42575
  }),
@@ -42594,7 +42595,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42594
42595
  await Nl(!0), Ao.value = !1;
42595
42596
  },
42596
42597
  onReconfigure: ws
42597
- }, null, 8, ["operation-id", "export-session", "tab", "attention-item-id", "review-project", "project-switch-blocked", "open-project", "create-project"])) : O("", !0)
42598
+ }, null, 8, ["operation-id", "export-session", "tab", "attention-item-id", "review-project", "project-switch-blocked", "open-project", "create-project"])) : V("", !0)
42598
42599
  ]),
42599
42600
  _: 1
42600
42601
  }),
@@ -42657,8 +42658,8 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42657
42658
  P("small", null, C(c(r)(G.createdAt)), 1),
42658
42659
  G.parentVersionId ? (k(), x("small", gA, C(c(t)("common.app_2f28a158", {
42659
42660
  p0: g(Ge.value, G.parentVersionId)
42660
- })), 1)) : O("", !0),
42661
- G.asset ? (k(), x("small", bA, C(G.asset.width) + " × " + C(G.asset.height), 1)) : O("", !0)
42661
+ })), 1)) : V("", !0),
42662
+ G.asset ? (k(), x("small", bA, C(G.asset.width) + " × " + C(G.asset.height), 1)) : V("", !0)
42662
42663
  ])
42663
42664
  ]),
42664
42665
  _: 2
@@ -42682,7 +42683,7 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42682
42683
  }, 16, ["aria-label"])
42683
42684
  ]),
42684
42685
  _: 1
42685
- })) : O("", !0)
42686
+ })) : V("", !0)
42686
42687
  ]),
42687
42688
  _: 1
42688
42689
  })
@@ -42699,13 +42700,13 @@ const YI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
42699
42700
  c(S) ? (k(), ke(C4, {
42700
42701
  key: c(S).id,
42701
42702
  receipt: c(S),
42702
- onComplete: c(V)
42703
- }, null, 8, ["receipt", "onComplete"])) : O("", !0),
42703
+ onComplete: c(O)
42704
+ }, null, 8, ["receipt", "onComplete"])) : V("", !0),
42704
42705
  c(xt) ? (k(), ke(A4, {
42705
42706
  key: c(xt).id,
42706
42707
  flight: c(xt),
42707
42708
  onComplete: c(At)
42708
- }, null, 8, ["flight", "onComplete"])) : O("", !0)
42709
+ }, null, 8, ["flight", "onComplete"])) : V("", !0)
42709
42710
  ]),
42710
42711
  _: 1
42711
42712
  })
@@ -43337,7 +43338,7 @@ function Eb(e, o) {
43337
43338
  media: typeof window.matchMedia == "function" ? window.matchMedia("(prefers-color-scheme: dark)") : void 0
43338
43339
  });
43339
43340
  I.setThemeMode(e.display?.theme ?? "light");
43340
- const V = m8(I), j = F.connectDisplayPreferences(I);
43341
+ const O = m8(I), j = F.connectDisplayPreferences(I);
43341
43342
  let J, M;
43342
43343
  const R = () => M ?? Nn({
43343
43344
  schemaVersion: 1,
@@ -43418,10 +43419,10 @@ function Eb(e, o) {
43418
43419
  {
43419
43420
  class: "batch-workspace-host",
43420
43421
  "data-batch-ui": "",
43421
- "data-batch-theme": V.displayState.value.resolvedTheme,
43422
- lang: V.displayState.value.uiLocale,
43423
- dir: V.displayState.value.direction,
43424
- style: { colorScheme: V.displayState.value.resolvedTheme }
43422
+ "data-batch-theme": O.displayState.value.resolvedTheme,
43423
+ lang: O.displayState.value.uiLocale,
43424
+ dir: O.displayState.value.direction,
43425
+ style: { colorScheme: O.displayState.value.resolvedTheme }
43425
43426
  },
43426
43427
  [
43427
43428
  pt(
@@ -43453,10 +43454,10 @@ function Eb(e, o) {
43453
43454
  {
43454
43455
  class: "batch-workspace-host",
43455
43456
  "data-batch-ui": "",
43456
- "data-batch-theme": V.displayState.value.resolvedTheme,
43457
- lang: V.displayState.value.uiLocale,
43458
- dir: V.displayState.value.direction,
43459
- style: { colorScheme: V.displayState.value.resolvedTheme }
43457
+ "data-batch-theme": O.displayState.value.resolvedTheme,
43458
+ lang: O.displayState.value.uiLocale,
43459
+ dir: O.displayState.value.direction,
43460
+ style: { colorScheme: O.displayState.value.resolvedTheme }
43460
43461
  },
43461
43462
  [
43462
43463
  ...S.value ? [pt("p", { role: "alert" }, S.value)] : [],
@@ -43466,17 +43467,17 @@ function Eb(e, o) {
43466
43467
  ref: t,
43467
43468
  class: "batch-workspace-host batch-overlay-host",
43468
43469
  "data-batch-ui": "",
43469
- "data-batch-theme": V.displayState.value.resolvedTheme,
43470
- lang: V.displayState.value.uiLocale,
43471
- dir: V.displayState.value.direction,
43472
- style: { colorScheme: V.displayState.value.resolvedTheme }
43470
+ "data-batch-theme": O.displayState.value.resolvedTheme,
43471
+ lang: O.displayState.value.uiLocale,
43472
+ dir: O.displayState.value.direction,
43473
+ style: { colorScheme: O.displayState.value.resolvedTheme }
43473
43474
  })
43474
43475
  ])
43475
43476
  ]
43476
43477
  );
43477
43478
  }
43478
43479
  })
43479
- ), z.use(ve).use(F.batchI18n), z.config.idPrefix = a, z.provide(tm, F), z.provide(Ng, V), z.provide(os, r), z.provide(um, i), z.provide(
43480
+ ), z.use(ve).use(F.batchI18n), z.config.idPrefix = a, z.provide(tm, F), z.provide(Ng, O), z.provide(os, r), z.provide(um, i), z.provide(
43480
43481
  Cb,
43481
43482
  $z({
43482
43483
  slots: e.slots,