@brftech/filex 0.7.6 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/{ArchiveViewer-CRNYNvBQ.js → ArchiveViewer-dhyEJGoA.js} +2 -2
  2. package/dist/{ArchiveViewer-CRNYNvBQ.js.map → ArchiveViewer-dhyEJGoA.js.map} +1 -1
  3. package/dist/{CsvViewer-Xq5HT-xk.js → CsvViewer-CXNTcpS1.js} +2 -2
  4. package/dist/{CsvViewer-Xq5HT-xk.js.map → CsvViewer-CXNTcpS1.js.map} +1 -1
  5. package/dist/{DrawioViewer-BF1QfKNh.js → DrawioViewer-Qi79q1_e.js} +2 -2
  6. package/dist/{DrawioViewer-BF1QfKNh.js.map → DrawioViewer-Qi79q1_e.js.map} +1 -1
  7. package/dist/{EpubViewer-nUYQFSXO.js → EpubViewer-BYPM7kAx.js} +2 -2
  8. package/dist/{EpubViewer-nUYQFSXO.js.map → EpubViewer-BYPM7kAx.js.map} +1 -1
  9. package/dist/{IpynbViewer-VMWGdKRV.js → IpynbViewer-BdYRtrd1.js} +2 -2
  10. package/dist/{IpynbViewer-VMWGdKRV.js.map → IpynbViewer-BdYRtrd1.js.map} +1 -1
  11. package/dist/{MermaidViewer-uTQ8uD6s.js → MermaidViewer-B9sDQEEp.js} +2 -2
  12. package/dist/{MermaidViewer-uTQ8uD6s.js.map → MermaidViewer-B9sDQEEp.js.map} +1 -1
  13. package/dist/{PsdViewer-CP3Jb3Eq.js → PsdViewer-CuOyeBa8.js} +2 -2
  14. package/dist/{PsdViewer-CP3Jb3Eq.js.map → PsdViewer-CuOyeBa8.js.map} +1 -1
  15. package/dist/{TiffViewer-B6U7bc5d.js → TiffViewer-C006NhoB.js} +2 -2
  16. package/dist/{TiffViewer-B6U7bc5d.js.map → TiffViewer-C006NhoB.js.map} +1 -1
  17. package/dist/{Viewer3D-CcTHCVPD.js → Viewer3D-2DLrDPvE.js} +2 -2
  18. package/dist/{Viewer3D-CcTHCVPD.js.map → Viewer3D-2DLrDPvE.js.map} +1 -1
  19. package/dist/filex.js +1 -1
  20. package/dist/filex.umd.cjs +6 -6
  21. package/dist/filex.umd.cjs.map +1 -1
  22. package/dist/{index-CqPZUXjB.js → index-DKJAEESH.js} +495 -492
  23. package/dist/index-DKJAEESH.js.map +1 -0
  24. package/package.json +2 -2
  25. package/dist/index-CqPZUXjB.js.map +0 -1
@@ -2866,10 +2866,10 @@ function kp(e, t) {
2866
2866
  nextSibling: w,
2867
2867
  setScopeId: S = sr,
2868
2868
  insertStaticContent: R
2869
- } = e, P = ($, I, X, ie = null, ne = null, se = null, _e = void 0, O = null, U = !!I.dynamicChildren) => {
2869
+ } = e, P = ($, I, X, ie = null, ne = null, se = null, _e = void 0, O = null, V = !!I.dynamicChildren) => {
2870
2870
  if ($ === I)
2871
2871
  return;
2872
- $ && !qr($, I) && (ie = He($), _($, ne, se, !0), $ = null), I.patchFlag === -2 && (U = !1, I.dynamicChildren = null);
2872
+ $ && !qr($, I) && (ie = He($), _($, ne, se, !0), $ = null), I.patchFlag === -2 && (V = !1, I.dynamicChildren = null);
2873
2873
  const { type: q, ref: ve, shapeFlag: he } = I;
2874
2874
  switch (q) {
2875
2875
  case ea:
@@ -2891,7 +2891,7 @@ function kp(e, t) {
2891
2891
  se,
2892
2892
  _e,
2893
2893
  O,
2894
- U
2894
+ V
2895
2895
  );
2896
2896
  break;
2897
2897
  default:
@@ -2904,7 +2904,7 @@ function kp(e, t) {
2904
2904
  se,
2905
2905
  _e,
2906
2906
  O,
2907
- U
2907
+ V
2908
2908
  ) : he & 6 ? Y(
2909
2909
  $,
2910
2910
  I,
@@ -2914,7 +2914,7 @@ function kp(e, t) {
2914
2914
  se,
2915
2915
  _e,
2916
2916
  O,
2917
- U
2917
+ V
2918
2918
  ) : (he & 64 || he & 128) && q.process(
2919
2919
  $,
2920
2920
  I,
@@ -2924,7 +2924,7 @@ function kp(e, t) {
2924
2924
  se,
2925
2925
  _e,
2926
2926
  O,
2927
- U,
2927
+ V,
2928
2928
  pe
2929
2929
  );
2930
2930
  }
@@ -2965,7 +2965,7 @@ function kp(e, t) {
2965
2965
  for (; $ && $ !== I; )
2966
2966
  X = w($), n($), $ = X;
2967
2967
  n(I);
2968
- }, K = ($, I, X, ie, ne, se, _e, O, U) => {
2968
+ }, K = ($, I, X, ie, ne, se, _e, O, V) => {
2969
2969
  if (I.type === "svg" ? _e = "svg" : I.type === "math" && (_e = "mathml"), $ == null)
2970
2970
  G(
2971
2971
  I,
@@ -2975,7 +2975,7 @@ function kp(e, t) {
2975
2975
  se,
2976
2976
  _e,
2977
2977
  O,
2978
- U
2978
+ V
2979
2979
  );
2980
2980
  else {
2981
2981
  const q = $.el && $.el._isVueCE ? $.el : null;
@@ -2987,39 +2987,39 @@ function kp(e, t) {
2987
2987
  se,
2988
2988
  _e,
2989
2989
  O,
2990
- U
2990
+ V
2991
2991
  );
2992
2992
  } finally {
2993
2993
  q && q._endPatch();
2994
2994
  }
2995
2995
  }
2996
2996
  }, G = ($, I, X, ie, ne, se, _e, O) => {
2997
- let U, q;
2997
+ let V, q;
2998
2998
  const { props: ve, shapeFlag: he, transition: xe, dirs: we } = $;
2999
- if (U = $.el = s(
2999
+ if (V = $.el = s(
3000
3000
  $.type,
3001
3001
  se,
3002
3002
  ve && ve.is,
3003
3003
  ve
3004
- ), he & 8 ? v(U, $.children) : he & 16 && W(
3004
+ ), he & 8 ? v(V, $.children) : he & 16 && W(
3005
3005
  $.children,
3006
- U,
3006
+ V,
3007
3007
  null,
3008
3008
  ie,
3009
3009
  ne,
3010
3010
  Oa($, se),
3011
3011
  _e,
3012
3012
  O
3013
- ), we && Fr($, null, ie, "created"), B(U, $, $.scopeId, _e, ie), ve) {
3013
+ ), we && Fr($, null, ie, "created"), B(V, $, $.scopeId, _e, ie), ve) {
3014
3014
  for (const Me in ve)
3015
- Me !== "value" && !Ro(Me) && a(U, Me, null, ve[Me], se, ie);
3016
- "value" in ve && a(U, "value", null, ve.value, se), (q = ve.onVnodeBeforeMount) && tr(q, ie, $);
3015
+ Me !== "value" && !Ro(Me) && a(V, Me, null, ve[Me], se, ie);
3016
+ "value" in ve && a(V, "value", null, ve.value, se), (q = ve.onVnodeBeforeMount) && tr(q, ie, $);
3017
3017
  }
3018
3018
  we && Fr($, null, ie, "beforeMount");
3019
3019
  const Te = $p(ne, xe);
3020
- Te && xe.beforeEnter(U), o(U, I, X), ((q = ve && ve.onVnodeMounted) || Te || we) && Mt(() => {
3020
+ Te && xe.beforeEnter(V), o(V, I, X), ((q = ve && ve.onVnodeMounted) || Te || we) && Mt(() => {
3021
3021
  try {
3022
- q && tr(q, ie, $), Te && xe.enter(U), we && Fr($, null, ie, "mounted");
3022
+ q && tr(q, ie, $), Te && xe.enter(V), we && Fr($, null, ie, "mounted");
3023
3023
  } finally {
3024
3024
  }
3025
3025
  }, ne);
@@ -3040,8 +3040,8 @@ function kp(e, t) {
3040
3040
  );
3041
3041
  }
3042
3042
  }
3043
- }, W = ($, I, X, ie, ne, se, _e, O, U = 0) => {
3044
- for (let q = U; q < $.length; q++) {
3043
+ }, W = ($, I, X, ie, ne, se, _e, O, V = 0) => {
3044
+ for (let q = V; q < $.length; q++) {
3045
3045
  const ve = $[q] = O ? _r($[q]) : ar($[q]);
3046
3046
  P(
3047
3047
  null,
@@ -3057,8 +3057,8 @@ function kp(e, t) {
3057
3057
  }
3058
3058
  }, x = ($, I, X, ie, ne, se, _e) => {
3059
3059
  const O = I.el = $.el;
3060
- let { patchFlag: U, dynamicChildren: q, dirs: ve } = I;
3061
- U |= $.patchFlag & 16;
3060
+ let { patchFlag: V, dynamicChildren: q, dirs: ve } = I;
3061
+ V |= $.patchFlag & 16;
3062
3062
  const he = $.props || st, xe = I.props || st;
3063
3063
  let we;
3064
3064
  if (X && Ur(X, !1), (we = xe.onVnodeBeforeUpdate) && tr(we, X, I, $), ve && Fr(I, $, X, "beforeUpdate"), X && Ur(X, !0), (he.innerHTML && xe.innerHTML == null || he.textContent && xe.textContent == null) && v(O, ""), q ? T(
@@ -3079,39 +3079,39 @@ function kp(e, t) {
3079
3079
  Oa(I, ne),
3080
3080
  se,
3081
3081
  !1
3082
- ), U > 0) {
3083
- if (U & 16)
3082
+ ), V > 0) {
3083
+ if (V & 16)
3084
3084
  C(O, he, xe, X, ne);
3085
- else if (U & 2 && he.class !== xe.class && a(O, "class", null, xe.class, ne), U & 4 && a(O, "style", he.style, xe.style, ne), U & 8) {
3085
+ else if (V & 2 && he.class !== xe.class && a(O, "class", null, xe.class, ne), V & 4 && a(O, "style", he.style, xe.style, ne), V & 8) {
3086
3086
  const Te = I.dynamicProps;
3087
3087
  for (let Me = 0; Me < Te.length; Me++) {
3088
3088
  const Ue = Te[Me], rt = he[Ue], ce = xe[Ue];
3089
3089
  (ce !== rt || Ue === "value") && a(O, Ue, rt, ce, ne, X);
3090
3090
  }
3091
3091
  }
3092
- U & 1 && $.children !== I.children && v(O, I.children);
3092
+ V & 1 && $.children !== I.children && v(O, I.children);
3093
3093
  } else !_e && q == null && C(O, he, xe, X, ne);
3094
3094
  ((we = xe.onVnodeUpdated) || ve) && Mt(() => {
3095
3095
  we && tr(we, X, I, $), ve && Fr(I, $, X, "updated");
3096
3096
  }, ie);
3097
3097
  }, T = ($, I, X, ie, ne, se, _e) => {
3098
3098
  for (let O = 0; O < I.length; O++) {
3099
- const U = $[O], q = I[O], ve = (
3099
+ const V = $[O], q = I[O], ve = (
3100
3100
  // oldVNode may be an errored async setup() component inside Suspense
3101
3101
  // which will not have a mounted element
3102
- U.el && // - In the case of a Fragment, we need to provide the actual parent
3102
+ V.el && // - In the case of a Fragment, we need to provide the actual parent
3103
3103
  // of the Fragment itself so it can move its children.
3104
- (U.type === fe || // - In the case of different nodes, there is going to be a replacement
3104
+ (V.type === fe || // - In the case of different nodes, there is going to be a replacement
3105
3105
  // which also requires the correct parent container
3106
- !qr(U, q) || // - In the case of a component, it could contain anything.
3107
- U.shapeFlag & 198) ? y(U.el) : (
3106
+ !qr(V, q) || // - In the case of a component, it could contain anything.
3107
+ V.shapeFlag & 198) ? y(V.el) : (
3108
3108
  // In other cases, the parent container is not actually used so we
3109
3109
  // just pass the block element here to avoid a DOM parentNode call.
3110
3110
  X
3111
3111
  )
3112
3112
  );
3113
3113
  P(
3114
- U,
3114
+ V,
3115
3115
  q,
3116
3116
  ve,
3117
3117
  null,
@@ -3141,7 +3141,7 @@ function kp(e, t) {
3141
3141
  }
3142
3142
  "value" in X && a($, "value", I.value, X.value, ne);
3143
3143
  }
3144
- }, H = ($, I, X, ie, ne, se, _e, O, U) => {
3144
+ }, H = ($, I, X, ie, ne, se, _e, O, V) => {
3145
3145
  const q = I.el = $ ? $.el : i(""), ve = I.anchor = $ ? $.anchor : i("");
3146
3146
  let { patchFlag: he, dynamicChildren: xe, slotScopeIds: we } = I;
3147
3147
  we && (O = O ? O.concat(we) : we), $ == null ? (o(q, X, ie), o(ve, X, ie), W(
@@ -3156,7 +3156,7 @@ function kp(e, t) {
3156
3156
  se,
3157
3157
  _e,
3158
3158
  O,
3159
- U
3159
+ V
3160
3160
  )) : he > 0 && he & 64 && xe && // #2715 the previous fragment could've been a BAILed one as a result
3161
3161
  // of renderSlot() with no valid children
3162
3162
  $.dynamicChildren && $.dynamicChildren.length === xe.length ? (T(
@@ -3185,15 +3185,15 @@ function kp(e, t) {
3185
3185
  se,
3186
3186
  _e,
3187
3187
  O,
3188
- U
3188
+ V
3189
3189
  );
3190
- }, Y = ($, I, X, ie, ne, se, _e, O, U) => {
3190
+ }, Y = ($, I, X, ie, ne, se, _e, O, V) => {
3191
3191
  I.slotScopeIds = O, $ == null ? I.shapeFlag & 512 ? ne.ctx.activate(
3192
3192
  I,
3193
3193
  X,
3194
3194
  ie,
3195
3195
  _e,
3196
- U
3196
+ V
3197
3197
  ) : ee(
3198
3198
  I,
3199
3199
  X,
@@ -3201,8 +3201,8 @@ function kp(e, t) {
3201
3201
  ne,
3202
3202
  se,
3203
3203
  _e,
3204
- U
3205
- ) : be($, I, U);
3204
+ V
3205
+ ) : be($, I, V);
3206
3206
  }, ee = ($, I, X, ie, ne, se, _e) => {
3207
3207
  const O = $.component = zp(
3208
3208
  $,
@@ -3211,8 +3211,8 @@ function kp(e, t) {
3211
3211
  );
3212
3212
  if (Xn($) && (O.ctx.renderer = pe), Pp(O, !1, _e), O.asyncDep) {
3213
3213
  if (ne && ne.registerDep(O, ue, _e), !$.el) {
3214
- const U = O.subTree = Ie(Ct);
3215
- D(null, U, I, X), $.placeholder = U.el;
3214
+ const V = O.subTree = Ie(Ct);
3215
+ D(null, V, I, X), $.placeholder = V.el;
3216
3216
  }
3217
3217
  } else
3218
3218
  ue(
@@ -3297,15 +3297,15 @@ function kp(e, t) {
3297
3297
  }
3298
3298
  };
3299
3299
  $.scope.on();
3300
- const U = $.effect = new Vl(O);
3300
+ const V = $.effect = new Vl(O);
3301
3301
  $.scope.off();
3302
- const q = $.update = U.run.bind(U), ve = $.job = U.runIfDirty.bind(U);
3303
- ve.i = $, ve.id = $.uid, U.scheduler = () => Si(ve), Ur($, !0), q();
3302
+ const q = $.update = V.run.bind(V), ve = $.job = V.runIfDirty.bind(V);
3303
+ ve.i = $, ve.id = $.uid, V.scheduler = () => Si(ve), Ur($, !0), q();
3304
3304
  }, ge = ($, I, X) => {
3305
3305
  I.component = $;
3306
3306
  const ie = $.vnode.props;
3307
3307
  $.vnode = I, $.next = null, gp($, I.props, ie, X), yp($, I.children, X), $r(), ws($), Cr();
3308
- }, ye = ($, I, X, ie, ne, se, _e, O, U = !1) => {
3308
+ }, ye = ($, I, X, ie, ne, se, _e, O, V = !1) => {
3309
3309
  const q = $ && $.children, ve = $ ? $.shapeFlag : 0, he = I.children, { patchFlag: xe, shapeFlag: we } = I;
3310
3310
  if (xe > 0) {
3311
3311
  if (xe & 128) {
@@ -3318,7 +3318,7 @@ function kp(e, t) {
3318
3318
  se,
3319
3319
  _e,
3320
3320
  O,
3321
- U
3321
+ V
3322
3322
  );
3323
3323
  return;
3324
3324
  } else if (xe & 256) {
@@ -3331,7 +3331,7 @@ function kp(e, t) {
3331
3331
  se,
3332
3332
  _e,
3333
3333
  O,
3334
- U
3334
+ V
3335
3335
  );
3336
3336
  return;
3337
3337
  }
@@ -3345,7 +3345,7 @@ function kp(e, t) {
3345
3345
  se,
3346
3346
  _e,
3347
3347
  O,
3348
- U
3348
+ V
3349
3349
  ) : Ee(q, ne, se, !0) : (ve & 8 && v(X, ""), we & 16 && W(
3350
3350
  he,
3351
3351
  X,
@@ -3354,14 +3354,14 @@ function kp(e, t) {
3354
3354
  se,
3355
3355
  _e,
3356
3356
  O,
3357
- U
3357
+ V
3358
3358
  ));
3359
- }, N = ($, I, X, ie, ne, se, _e, O, U) => {
3359
+ }, N = ($, I, X, ie, ne, se, _e, O, V) => {
3360
3360
  $ = $ || co, I = I || co;
3361
3361
  const q = $.length, ve = I.length, he = Math.min(q, ve);
3362
3362
  let xe;
3363
3363
  for (xe = 0; xe < he; xe++) {
3364
- const we = I[xe] = U ? _r(I[xe]) : ar(I[xe]);
3364
+ const we = I[xe] = V ? _r(I[xe]) : ar(I[xe]);
3365
3365
  P(
3366
3366
  $[xe],
3367
3367
  we,
@@ -3371,7 +3371,7 @@ function kp(e, t) {
3371
3371
  se,
3372
3372
  _e,
3373
3373
  O,
3374
- U
3374
+ V
3375
3375
  );
3376
3376
  }
3377
3377
  q > ve ? Ee(
@@ -3389,15 +3389,15 @@ function kp(e, t) {
3389
3389
  se,
3390
3390
  _e,
3391
3391
  O,
3392
- U,
3392
+ V,
3393
3393
  he
3394
3394
  );
3395
- }, k = ($, I, X, ie, ne, se, _e, O, U) => {
3395
+ }, k = ($, I, X, ie, ne, se, _e, O, V) => {
3396
3396
  let q = 0;
3397
3397
  const ve = I.length;
3398
3398
  let he = $.length - 1, xe = ve - 1;
3399
3399
  for (; q <= he && q <= xe; ) {
3400
- const we = $[q], Te = I[q] = U ? _r(I[q]) : ar(I[q]);
3400
+ const we = $[q], Te = I[q] = V ? _r(I[q]) : ar(I[q]);
3401
3401
  if (qr(we, Te))
3402
3402
  P(
3403
3403
  we,
@@ -3408,14 +3408,14 @@ function kp(e, t) {
3408
3408
  se,
3409
3409
  _e,
3410
3410
  O,
3411
- U
3411
+ V
3412
3412
  );
3413
3413
  else
3414
3414
  break;
3415
3415
  q++;
3416
3416
  }
3417
3417
  for (; q <= he && q <= xe; ) {
3418
- const we = $[he], Te = I[xe] = U ? _r(I[xe]) : ar(I[xe]);
3418
+ const we = $[he], Te = I[xe] = V ? _r(I[xe]) : ar(I[xe]);
3419
3419
  if (qr(we, Te))
3420
3420
  P(
3421
3421
  we,
@@ -3426,7 +3426,7 @@ function kp(e, t) {
3426
3426
  se,
3427
3427
  _e,
3428
3428
  O,
3429
- U
3429
+ V
3430
3430
  );
3431
3431
  else
3432
3432
  break;
@@ -3438,14 +3438,14 @@ function kp(e, t) {
3438
3438
  for (; q <= xe; )
3439
3439
  P(
3440
3440
  null,
3441
- I[q] = U ? _r(I[q]) : ar(I[q]),
3441
+ I[q] = V ? _r(I[q]) : ar(I[q]),
3442
3442
  X,
3443
3443
  Te,
3444
3444
  ne,
3445
3445
  se,
3446
3446
  _e,
3447
3447
  O,
3448
- U
3448
+ V
3449
3449
  ), q++;
3450
3450
  }
3451
3451
  } else if (q > xe)
@@ -3454,7 +3454,7 @@ function kp(e, t) {
3454
3454
  else {
3455
3455
  const we = q, Te = q, Me = /* @__PURE__ */ new Map();
3456
3456
  for (q = Te; q <= xe; q++) {
3457
- const Re = I[q] = U ? _r(I[q]) : ar(I[q]);
3457
+ const Re = I[q] = V ? _r(I[q]) : ar(I[q]);
3458
3458
  Re.key != null && Me.set(Re.key, q);
3459
3459
  }
3460
3460
  let Ue, rt = 0;
@@ -3486,7 +3486,7 @@ function kp(e, t) {
3486
3486
  se,
3487
3487
  _e,
3488
3488
  O,
3489
- U
3489
+ V
3490
3490
  ), rt++);
3491
3491
  }
3492
3492
  const Oe = re ? Cp(Pe) : co;
@@ -3504,12 +3504,12 @@ function kp(e, t) {
3504
3504
  se,
3505
3505
  _e,
3506
3506
  O,
3507
- U
3507
+ V
3508
3508
  ) : re && (Ue < 0 || q !== Oe[Ue] ? b(Je, X, Ot, 2) : Ue--);
3509
3509
  }
3510
3510
  }
3511
3511
  }, b = ($, I, X, ie, ne = null) => {
3512
- const { el: se, type: _e, transition: O, children: U, shapeFlag: q } = $;
3512
+ const { el: se, type: _e, transition: O, children: V, shapeFlag: q } = $;
3513
3513
  if (q & 6) {
3514
3514
  b($.component.subTree, I, X, ie);
3515
3515
  return;
@@ -3524,8 +3524,8 @@ function kp(e, t) {
3524
3524
  }
3525
3525
  if (_e === fe) {
3526
3526
  o(se, I, X);
3527
- for (let he = 0; he < U.length; he++)
3528
- b(U[he], I, X, ie);
3527
+ for (let he = 0; he < V.length; he++)
3528
+ b(V[he], I, X, ie);
3529
3529
  o($.anchor, I, X);
3530
3530
  return;
3531
3531
  }
@@ -3556,7 +3556,7 @@ function kp(e, t) {
3556
3556
  type: se,
3557
3557
  props: _e,
3558
3558
  ref: O,
3559
- children: U,
3559
+ children: V,
3560
3560
  dynamicChildren: q,
3561
3561
  shapeFlag: ve,
3562
3562
  patchFlag: he,
@@ -3571,7 +3571,7 @@ function kp(e, t) {
3571
3571
  const Me = ve & 1 && xe, Ue = !po($);
3572
3572
  let rt;
3573
3573
  if (Ue && (rt = _e && _e.onVnodeBeforeUnmount) && tr(rt, I, $), ve & 6)
3574
- Be($.component, X, ie);
3574
+ Ne($.component, X, ie);
3575
3575
  else {
3576
3576
  if (ve & 128) {
3577
3577
  $.suspense.unmount(X, ie);
@@ -3595,13 +3595,13 @@ function kp(e, t) {
3595
3595
  X,
3596
3596
  !1,
3597
3597
  !0
3598
- ) : (se === fe && he & 384 || !ne && ve & 16) && Ee(U, I, X), ie && F($);
3598
+ ) : (se === fe && he & 384 || !ne && ve & 16) && Ee(V, I, X), ie && U($);
3599
3599
  }
3600
3600
  const ce = Te != null && we == null;
3601
3601
  (Ue && (rt = _e && _e.onVnodeUnmounted) || Me || ce) && Mt(() => {
3602
3602
  rt && tr(rt, I, $), Me && Fr($, null, I, "unmounted"), ce && ($.el = null);
3603
3603
  }, X);
3604
- }, F = ($) => {
3604
+ }, U = ($) => {
3605
3605
  const { type: I, el: X, anchor: ie, transition: ne } = $;
3606
3606
  if (I === fe) {
3607
3607
  ke(X, ie);
@@ -3615,8 +3615,8 @@ function kp(e, t) {
3615
3615
  n(X), ne && !ne.persisted && ne.afterLeave && ne.afterLeave();
3616
3616
  };
3617
3617
  if ($.shapeFlag & 1 && ne && !ne.persisted) {
3618
- const { leave: _e, delayLeave: O } = ne, U = () => _e(X, se);
3619
- O ? O($.el, se, U) : U();
3618
+ const { leave: _e, delayLeave: O } = ne, V = () => _e(X, se);
3619
+ O ? O($.el, se, V) : V();
3620
3620
  } else
3621
3621
  se();
3622
3622
  }, ke = ($, I) => {
@@ -3624,9 +3624,9 @@ function kp(e, t) {
3624
3624
  for (; $ !== I; )
3625
3625
  X = w($), n($), $ = X;
3626
3626
  n(I);
3627
- }, Be = ($, I, X) => {
3628
- const { bum: ie, scope: ne, job: se, subTree: _e, um: O, m: U, a: q } = $;
3629
- Rs(U), Rs(q), ie && yn(ie), ne.stop(), se && (se.flags |= 8, _(_e, $, I, X)), O && Mt(O, I), Mt(() => {
3627
+ }, Ne = ($, I, X) => {
3628
+ const { bum: ie, scope: ne, job: se, subTree: _e, um: O, m: V, a: q } = $;
3629
+ Rs(V), Rs(q), ie && yn(ie), ne.stop(), se && (se.flags |= 8, _(_e, $, I, X)), O && Mt(O, I), Mt(() => {
3630
3630
  $.isUnmounted = !0;
3631
3631
  }, I);
3632
3632
  }, Ee = ($, I, X, ie = !1, ne = !1, se = 0) => {
@@ -3656,7 +3656,7 @@ function kp(e, t) {
3656
3656
  p: P,
3657
3657
  um: _,
3658
3658
  m: b,
3659
- r: F,
3659
+ r: U,
3660
3660
  mt: ee,
3661
3661
  mc: W,
3662
3662
  pc: ye,
@@ -5124,35 +5124,35 @@ function kv(e) {
5124
5124
  function $v(e) {
5125
5125
  const t = yv(e), r = kv(e.auth);
5126
5126
  async function o(O = {}) {
5127
- const U = { Accept: "application/json", ...O };
5127
+ const V = { Accept: "application/json", ...O };
5128
5128
  if (r.kind === "bearer") {
5129
5129
  const q = await wv(r.token);
5130
- q && (U.Authorization = `Bearer ${q}`);
5130
+ q && (V.Authorization = `Bearer ${q}`);
5131
5131
  } else if (r.kind === "csrf")
5132
- U["X-CSRF-TOKEN"] = r.csrf, U["X-Requested-With"] = "XMLHttpRequest";
5132
+ V["X-CSRF-TOKEN"] = r.csrf, V["X-Requested-With"] = "XMLHttpRequest";
5133
5133
  else if (r.kind === "basic") {
5134
5134
  const q = btoa(`${r.user}:${r.pass}`);
5135
- U.Authorization = `Basic ${q}`;
5135
+ V.Authorization = `Basic ${q}`;
5136
5136
  }
5137
- return U;
5137
+ return V;
5138
5138
  }
5139
5139
  function n(O = {}) {
5140
- const U = { Accept: "application/json", ...O };
5140
+ const V = { Accept: "application/json", ...O };
5141
5141
  if (r.kind === "bearer" && typeof r.token == "string")
5142
- U.Authorization = `Bearer ${r.token}`;
5142
+ V.Authorization = `Bearer ${r.token}`;
5143
5143
  else if (r.kind === "csrf")
5144
- U["X-CSRF-TOKEN"] = r.csrf, U["X-Requested-With"] = "XMLHttpRequest";
5144
+ V["X-CSRF-TOKEN"] = r.csrf, V["X-Requested-With"] = "XMLHttpRequest";
5145
5145
  else if (r.kind === "basic") {
5146
5146
  const q = btoa(`${r.user}:${r.pass}`);
5147
- U.Authorization = `Basic ${q}`;
5147
+ V.Authorization = `Basic ${q}`;
5148
5148
  }
5149
- return U;
5149
+ return V;
5150
5150
  }
5151
5151
  function a() {
5152
5152
  return r.kind === "csrf" ? "include" : "same-origin";
5153
5153
  }
5154
5154
  function s(O) {
5155
- const U = (e.locale ?? "tr") !== "en", ve = {
5155
+ const V = (e.locale ?? "tr") !== "en", ve = {
5156
5156
  400: ["Geçersiz istek", "Bad request"],
5157
5157
  401: ["Oturum gerekli, tekrar giriş yapın", "Sign-in required"],
5158
5158
  403: ["Bu işlem için yetkiniz yok", "You are not allowed to do this"],
@@ -5166,14 +5166,14 @@ function $v(e) {
5166
5166
  501: ["Bu işlem desteklenmiyor", "Not supported"],
5167
5167
  503: ["Servis şu an kullanılamıyor", "Service unavailable"]
5168
5168
  }[O];
5169
- return ve ? U ? ve[0] : ve[1] : U ? `Hata (${O})` : `Error (${O})`;
5169
+ return ve ? V ? ve[0] : ve[1] : V ? `Hata (${O})` : `Error (${O})`;
5170
5170
  }
5171
- async function i(O, U = {}) {
5171
+ async function i(O, V = {}) {
5172
5172
  const q = {
5173
5173
  ...await o(),
5174
- ...U.headers ?? {}
5174
+ ...V.headers ?? {}
5175
5175
  }, ve = await fetch(O, {
5176
- ...U,
5176
+ ...V,
5177
5177
  headers: q,
5178
5178
  credentials: a()
5179
5179
  });
@@ -5198,8 +5198,8 @@ function $v(e) {
5198
5198
  async function w(O) {
5199
5199
  return i(f(), { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(O) });
5200
5200
  }
5201
- async function S(O, U) {
5202
- return i(f("/" + O), { method: "PATCH", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ level: U }) });
5201
+ async function S(O, V) {
5202
+ return i(f("/" + O), { method: "PATCH", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ level: V }) });
5203
5203
  }
5204
5204
  async function R(O) {
5205
5205
  return i(f("/" + O), { method: "DELETE" });
@@ -5211,78 +5211,78 @@ function $v(e) {
5211
5211
  return i(f("/share-mail"), { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(O) });
5212
5212
  }
5213
5213
  function D(O) {
5214
- const U = new URLSearchParams();
5214
+ const V = new URLSearchParams();
5215
5215
  for (const [q, ve] of Object.entries(O))
5216
- ve != null && U.set(q, String(ve));
5217
- return U.toString();
5216
+ ve != null && V.set(q, String(ve));
5217
+ return V.toString();
5218
5218
  }
5219
- function A(O, U = {}) {
5219
+ function A(O, V = {}) {
5220
5220
  const q = t.manager.includes("?") ? "&" : "?";
5221
- return `${t.manager}${q}${D({ q: O, action: O, ...U })}`;
5221
+ return `${t.manager}${q}${D({ q: O, action: O, ...V })}`;
5222
5222
  }
5223
5223
  async function Q(O) {
5224
5224
  return i(A("index", { path: O }));
5225
5225
  }
5226
- async function z(O, U) {
5227
- return i(A("search", { path: O, filter: U }));
5226
+ async function z(O, V) {
5227
+ return i(A("search", { path: O, filter: V }));
5228
5228
  }
5229
- async function K(O, U = {}) {
5230
- const q = t.manager.replace(/\/manager(\?.*)?$/, "/search"), ve = q.includes("?") ? "&" : "?", he = `${q}${ve}${D({ q: O, limit: U.limit, scope: U.scope })}`, xe = await i(he);
5229
+ async function K(O, V = {}) {
5230
+ const q = t.manager.replace(/\/manager(\?.*)?$/, "/search"), ve = q.includes("?") ? "&" : "?", he = `${q}${ve}${D({ q: O, limit: V.limit, scope: V.scope })}`, xe = await i(he);
5231
5231
  return Array.isArray(xe == null ? void 0 : xe.results) ? xe.results : [];
5232
5232
  }
5233
5233
  async function G(O) {
5234
5234
  return i(A("subfolders", { path: O }));
5235
5235
  }
5236
- async function B(O, U) {
5236
+ async function B(O, V) {
5237
5237
  return i(A("newfolder"), {
5238
5238
  method: "POST",
5239
5239
  headers: { "Content-Type": "application/json" },
5240
- body: JSON.stringify({ path: O, name: U })
5240
+ body: JSON.stringify({ path: O, name: V })
5241
5241
  });
5242
5242
  }
5243
- async function W(O, U, q) {
5243
+ async function W(O, V, q) {
5244
5244
  return i(A("rename"), {
5245
5245
  method: "POST",
5246
5246
  headers: { "Content-Type": "application/json" },
5247
- body: JSON.stringify({ path: O, item: U, name: q })
5247
+ body: JSON.stringify({ path: O, item: V, name: q })
5248
5248
  });
5249
5249
  }
5250
- async function x(O, U, q) {
5250
+ async function x(O, V, q) {
5251
5251
  return i(A("move"), {
5252
5252
  method: "POST",
5253
5253
  headers: { "Content-Type": "application/json" },
5254
- body: JSON.stringify({ path: O, item: q, items: U.map((ve) => ({ path: ve })) })
5254
+ body: JSON.stringify({ path: O, item: q, items: V.map((ve) => ({ path: ve })) })
5255
5255
  });
5256
5256
  }
5257
- async function T(O, U) {
5257
+ async function T(O, V) {
5258
5258
  return i(A("delete"), {
5259
5259
  method: "POST",
5260
5260
  headers: { "Content-Type": "application/json" },
5261
- body: JSON.stringify({ path: O, items: U.map((q) => ({ path: q })) })
5261
+ body: JSON.stringify({ path: O, items: V.map((q) => ({ path: q })) })
5262
5262
  });
5263
5263
  }
5264
- async function C(O, U) {
5264
+ async function C(O, V) {
5265
5265
  if (!t.copy) throw new Error("copy endpoint not configured");
5266
5266
  return i(t.copy, {
5267
5267
  method: "POST",
5268
5268
  headers: { "Content-Type": "application/json" },
5269
- body: JSON.stringify({ source: O, target: U })
5269
+ body: JSON.stringify({ source: O, target: V })
5270
5270
  });
5271
5271
  }
5272
- async function H(O, U, q) {
5272
+ async function H(O, V, q) {
5273
5273
  if (!t.moveAsync) throw new Error("moveAsync endpoint not configured");
5274
5274
  return i(t.moveAsync, {
5275
5275
  method: "POST",
5276
5276
  headers: { "Content-Type": "application/json" },
5277
- body: JSON.stringify({ source: O, target: U, sourceDir: q })
5277
+ body: JSON.stringify({ source: O, target: V, sourceDir: q })
5278
5278
  });
5279
5279
  }
5280
- async function Y(O, U) {
5280
+ async function Y(O, V) {
5281
5281
  if (!t.deleteAsync) throw new Error("deleteAsync endpoint not configured");
5282
5282
  return i(t.deleteAsync, {
5283
5283
  method: "POST",
5284
5284
  headers: { "Content-Type": "application/json" },
5285
- body: JSON.stringify({ source: O, sourceDir: U })
5285
+ body: JSON.stringify({ source: O, sourceDir: V })
5286
5286
  });
5287
5287
  }
5288
5288
  async function ee(O) {
@@ -5295,16 +5295,16 @@ function $v(e) {
5295
5295
  }
5296
5296
  async function be(O) {
5297
5297
  if (!t.trashList) throw new Error("trashList endpoint not configured");
5298
- const U = t.trashList, q = U.includes("?") ? "&" : "?", ve = O ? `${U}${q}storage=${encodeURIComponent(O)}` : U;
5298
+ const V = t.trashList, q = V.includes("?") ? "&" : "?", ve = O ? `${V}${q}storage=${encodeURIComponent(O)}` : V;
5299
5299
  return i(ve);
5300
5300
  }
5301
5301
  async function ue(O) {
5302
- const U = t.trashRestore;
5303
- if (!U) throw new Error("trashRestore endpoint not configured");
5302
+ const V = t.trashRestore;
5303
+ if (!V) throw new Error("trashRestore endpoint not configured");
5304
5304
  let q = 0;
5305
5305
  for (const ve of O)
5306
5306
  try {
5307
- await i(U, {
5307
+ await i(V, {
5308
5308
  method: "POST",
5309
5309
  headers: { "Content-Type": "application/json" },
5310
5310
  body: JSON.stringify({ node_id: ve })
@@ -5313,10 +5313,10 @@ function $v(e) {
5313
5313
  }
5314
5314
  return { restored: q };
5315
5315
  }
5316
- async function ge(O, U, q) {
5316
+ async function ge(O, V, q) {
5317
5317
  const ve = new FormData();
5318
5318
  ve.append("path", O);
5319
- for (const xe of U)
5319
+ for (const xe of V)
5320
5320
  ve.append("file[]", xe, xe.name);
5321
5321
  const he = await o();
5322
5322
  return new Promise((xe, we) => {
@@ -5345,8 +5345,8 @@ function $v(e) {
5345
5345
  return A("preview", { path: O });
5346
5346
  }
5347
5347
  async function k(O) {
5348
- const U = await o(), q = await fetch(N(O), {
5349
- headers: U,
5348
+ const V = await o(), q = await fetch(N(O), {
5349
+ headers: V,
5350
5350
  credentials: a()
5351
5351
  });
5352
5352
  if (!q.ok) {
@@ -5359,8 +5359,8 @@ function $v(e) {
5359
5359
  return { url: URL.createObjectURL(ve), blob: ve, mime: he };
5360
5360
  }
5361
5361
  async function b(O) {
5362
- const U = await o(), q = await fetch(N(O), {
5363
- headers: U,
5362
+ const V = await o(), q = await fetch(N(O), {
5363
+ headers: V,
5364
5364
  credentials: a()
5365
5365
  });
5366
5366
  if (!q.ok) {
@@ -5374,7 +5374,7 @@ function $v(e) {
5374
5374
  async function _() {
5375
5375
  return t.limits ? i(t.limits) : { max_upload_mb: 1024 };
5376
5376
  }
5377
- async function F() {
5377
+ async function U() {
5378
5378
  return t.capabilities ? i(t.capabilities) : {
5379
5379
  ffmpeg: !1,
5380
5380
  ghostscript: !1,
@@ -5394,15 +5394,15 @@ function $v(e) {
5394
5394
  body: JSON.stringify(O)
5395
5395
  });
5396
5396
  }
5397
- async function Be(O) {
5397
+ async function Ne(O) {
5398
5398
  if (!t.shareList) return { shares: [] };
5399
- const U = t.shareList.includes("?") ? "&" : "?";
5400
- return i(`${t.shareList}${U}path=${encodeURIComponent(O)}`);
5399
+ const V = t.shareList.includes("?") ? "&" : "?";
5400
+ return i(`${t.shareList}${V}path=${encodeURIComponent(O)}`);
5401
5401
  }
5402
5402
  async function Ee(O) {
5403
5403
  if (!t.shareDelete) throw new Error("shareDelete endpoint not configured");
5404
- const U = t.shareDelete.replace("{uuid}", encodeURIComponent(O));
5405
- return i(U, { method: "DELETE" });
5404
+ const V = t.shareDelete.replace("{uuid}", encodeURIComponent(O));
5405
+ return i(V, { method: "DELETE" });
5406
5406
  }
5407
5407
  async function He(O) {
5408
5408
  if (!t.archiveList) throw new Error("archiveList endpoint not configured");
@@ -5422,38 +5422,38 @@ function $v(e) {
5422
5422
  }))
5423
5423
  };
5424
5424
  }
5425
- async function de(O, U) {
5425
+ async function de(O, V) {
5426
5426
  if (!t.archiveExtract) throw new Error("archiveExtract endpoint not configured");
5427
5427
  return i(t.archiveExtract, {
5428
5428
  method: "POST",
5429
5429
  headers: { "Content-Type": "application/json" },
5430
- body: JSON.stringify({ path: O, members: U })
5430
+ body: JSON.stringify({ path: O, members: V })
5431
5431
  });
5432
5432
  }
5433
- async function Ce(O, U) {
5433
+ async function Ce(O, V) {
5434
5434
  if (!t.archiveAdd) throw new Error("archiveAdd endpoint not configured");
5435
5435
  return i(t.archiveAdd, {
5436
5436
  method: "POST",
5437
5437
  headers: { "Content-Type": "application/json" },
5438
- body: JSON.stringify({ path: O, files: U })
5438
+ body: JSON.stringify({ path: O, files: V })
5439
5439
  });
5440
5440
  }
5441
5441
  function pe(O = "") {
5442
5442
  return t.manager.replace(/\/manager(\?.*)?$/, "/versions") + O;
5443
5443
  }
5444
5444
  async function Fe(O) {
5445
- const U = await i(
5445
+ const V = await i(
5446
5446
  pe() + "?node_id=" + encodeURIComponent(String(O))
5447
5447
  );
5448
- return Array.isArray(U == null ? void 0 : U.versions) ? U.versions : [];
5448
+ return Array.isArray(V == null ? void 0 : V.versions) ? V.versions : [];
5449
5449
  }
5450
- async function $(O, U, q = !0) {
5450
+ async function $(O, V, q = !0) {
5451
5451
  await i(pe("/restore"), {
5452
5452
  method: "POST",
5453
5453
  headers: { "Content-Type": "application/json" },
5454
5454
  body: JSON.stringify({
5455
5455
  node_id: O,
5456
- version_id: U,
5456
+ version_id: V,
5457
5457
  snapshot_current: q
5458
5458
  })
5459
5459
  });
@@ -5469,16 +5469,16 @@ function $v(e) {
5469
5469
  return t.manager.replace(/\/manager(\?.*)?$/, "/comments") + O;
5470
5470
  }
5471
5471
  async function ie(O) {
5472
- const U = await i(
5472
+ const V = await i(
5473
5473
  X() + "?node_id=" + encodeURIComponent(String(O))
5474
5474
  );
5475
- return Array.isArray(U == null ? void 0 : U.comments) ? U.comments : [];
5475
+ return Array.isArray(V == null ? void 0 : V.comments) ? V.comments : [];
5476
5476
  }
5477
- async function ne(O, U) {
5477
+ async function ne(O, V) {
5478
5478
  return (await i(X(), {
5479
5479
  method: "POST",
5480
5480
  headers: { "Content-Type": "application/json" },
5481
- body: JSON.stringify({ node_id: O, body: U })
5481
+ body: JSON.stringify({ node_id: O, body: V })
5482
5482
  })).comment;
5483
5483
  }
5484
5484
  async function se(O) {
@@ -5519,9 +5519,9 @@ function $v(e) {
5519
5519
  fetchArrayBuffer: b,
5520
5520
  // Peripheral
5521
5521
  limits: _,
5522
- capabilities: F,
5522
+ capabilities: U,
5523
5523
  createShare: ke,
5524
- listShares: Be,
5524
+ listShares: Ne,
5525
5525
  revokeShare: Ee,
5526
5526
  archiveList: He,
5527
5527
  archiveExtract: de,
@@ -5934,6 +5934,7 @@ const Lv = {
5934
5934
  "upload.progress": "Yükleniyor",
5935
5935
  "upload.done": "Tamamlandı",
5936
5936
  "upload.error": "Hata",
5937
+ "upload.failed": "“{name}” yüklenemedi",
5937
5938
  "upload.aborted": "İptal edildi",
5938
5939
  "upload.cancel": "İptal",
5939
5940
  "empty.folder": "Bu klasör boş",
@@ -6305,6 +6306,7 @@ const Lv = {
6305
6306
  "upload.progress": "Uploading",
6306
6307
  "upload.done": "Done",
6307
6308
  "upload.error": "Error",
6309
+ "upload.failed": "Could not upload “{name}”",
6308
6310
  "upload.aborted": "Aborted",
6309
6311
  "upload.cancel": "Cancel",
6310
6312
  "empty.folder": "This folder is empty",
@@ -7110,10 +7112,10 @@ const Qv = {
7110
7112
  function P() {
7111
7113
  const N = v.value;
7112
7114
  if (!N || typeof window > "u") return;
7113
- const k = N.getBoundingClientRect(), b = 8, _ = window.innerWidth, F = window.innerHeight;
7114
- if (w + k.height > F - b) {
7115
+ const k = N.getBoundingClientRect(), b = 8, _ = window.innerWidth, U = window.innerHeight;
7116
+ if (w + k.height > U - b) {
7115
7117
  const ke = w - k.height;
7116
- f.value = ke >= b ? ke : Math.max(b, F - k.height - b);
7118
+ f.value = ke >= b ? ke : Math.max(b, U - k.height - b);
7117
7119
  }
7118
7120
  if (y + k.width > _ - b) {
7119
7121
  const ke = y - k.width;
@@ -7246,7 +7248,7 @@ const Qv = {
7246
7248
  class: Se(["fe-ctx__item fe-sheet__item", { "is-danger": b.danger, "is-disabled": b.disabled }]),
7247
7249
  disabled: b.disabled,
7248
7250
  role: "menuitem",
7249
- onClick: (F) => H(b)
7251
+ onClick: (U) => H(b)
7250
7252
  }, [
7251
7253
  b.icon ? (u(), h("span", bh, g(b.icon), 1)) : J("", !0),
7252
7254
  c("span", _h, g(b.label), 1)
@@ -7274,7 +7276,7 @@ const Qv = {
7274
7276
  class: Se(["fe-ctx__item", { "is-danger": b.danger, "is-disabled": b.disabled }]),
7275
7277
  disabled: b.disabled,
7276
7278
  role: "menuitem",
7277
- onClick: (F) => H(b)
7279
+ onClick: (U) => H(b)
7278
7280
  }, [
7279
7281
  b.icon ? (u(), h("span", kh, g(b.icon), 1)) : J("", !0),
7280
7282
  c("span", $h, g(b.label), 1)
@@ -7367,17 +7369,17 @@ const Qv = {
7367
7369
  Q.value = R.value.length;
7368
7370
  return;
7369
7371
  }
7370
- const F = parseFloat(getComputedStyle(b).gap) || 8;
7372
+ const U = parseFloat(getComputedStyle(b).gap) || 8;
7371
7373
  let ke = 0;
7372
7374
  for (const pe of Array.from(b.children))
7373
- pe === _ || pe === D.value || pe.classList.contains("fe-btn--fold") || pe.offsetWidth > 0 && (ke += pe.offsetWidth + F);
7374
- const Be = Array.from(_.children).map((pe) => pe.offsetWidth + F), Ee = Be.reduce((pe, Fe) => pe + Fe, 0), He = b.clientWidth - ke;
7375
+ pe === _ || pe === D.value || pe.classList.contains("fe-btn--fold") || pe.offsetWidth > 0 && (ke += pe.offsetWidth + U);
7376
+ const Ne = Array.from(_.children).map((pe) => pe.offsetWidth + U), Ee = Ne.reduce((pe, Fe) => pe + Fe, 0), He = b.clientWidth - ke;
7375
7377
  if (Ee <= He) {
7376
- Q.value = Be.length;
7378
+ Q.value = Ne.length;
7377
7379
  return;
7378
7380
  }
7379
- let de = om + F, Ce = 0;
7380
- for (const pe of Be) {
7381
+ let de = om + U, Ce = 0;
7382
+ for (const pe of Ne) {
7381
7383
  if (de + pe > He) break;
7382
7384
  de += pe, Ce += 1;
7383
7385
  }
@@ -7392,9 +7394,9 @@ const Qv = {
7392
7394
  { deep: !1 }
7393
7395
  );
7394
7396
  function W() {
7395
- var _, F;
7397
+ var _, U;
7396
7398
  const b = (_ = D.value) == null ? void 0 : _.getBoundingClientRect();
7397
- (F = A.value) == null || F.show({ clientX: b ? b.right : 0, clientY: b ? b.bottom + 4 : 0 }, []);
7399
+ (U = A.value) == null || U.show({ clientX: b ? b.right : 0, clientY: b ? b.bottom + 4 : 0 }, []);
7398
7400
  }
7399
7401
  function x(b) {
7400
7402
  n("action", b);
@@ -7434,9 +7436,9 @@ const Qv = {
7434
7436
  }), o.viewMode !== "list" && b.push({ key: "view-list", label: i("toolbar.view.list"), icon: "☰" }), o.viewMode !== "grid" && b.push({ key: "view-grid", label: i("toolbar.view.grid"), icon: "▦" }), o.viewMode !== "gallery" && b.push({ key: "view-gallery", label: i("toolbar.view.gallery"), icon: "▣" }), b.push({ key: "inspector", label: i("toolbar.inspector"), icon: "ℹ" }), b.push({ key: "theme", label: i("theme.menu"), icon: "🎨" }), b.push({ key: "shortcut-settings", label: i("shortcuts.settings.menu"), icon: "⌨" }), b.push({ key: "tour", label: i("tour.restart"), icon: "🎓" }), b;
7435
7437
  });
7436
7438
  function N() {
7437
- var _, F;
7439
+ var _, U;
7438
7440
  const b = (_ = ue.value) == null ? void 0 : _.getBoundingClientRect();
7439
- (F = ge.value) == null || F.show({ clientX: b ? b.right : 0, clientY: b ? b.bottom + 4 : 0 }, []);
7441
+ (U = ge.value) == null || U.show({ clientX: b ? b.right : 0, clientY: b ? b.bottom + 4 : 0 }, []);
7440
7442
  }
7441
7443
  function k(b) {
7442
7444
  var _;
@@ -7512,7 +7514,7 @@ const Qv = {
7512
7514
  class: "fe-btn fe-btn--icon-only",
7513
7515
  title: m(i)("toolbar.go_up"),
7514
7516
  "aria-label": m(i)("toolbar.go_up"),
7515
- onClick: _[10] || (_[10] = (F) => n("go-up"))
7517
+ onClick: _[10] || (_[10] = (U) => n("go-up"))
7516
7518
  }, [..._[28] || (_[28] = [
7517
7519
  c("span", { class: "fe-icon" }, "↑", -1)
7518
7520
  ])], 8, Zh)) : J("", !0),
@@ -7532,7 +7534,7 @@ const Qv = {
7532
7534
  class: "fe-btn fe-btn--icon-only",
7533
7535
  title: m(i)("toolbar.upload"),
7534
7536
  "aria-label": m(i)("toolbar.upload"),
7535
- onClick: _[11] || (_[11] = (F) => n("upload"))
7537
+ onClick: _[11] || (_[11] = (U) => n("upload"))
7536
7538
  }, [..._[30] || (_[30] = [
7537
7539
  c("span", { class: "fe-icon" }, "⬆", -1)
7538
7540
  ])], 8, tm)) : J("", !0),
@@ -7570,7 +7572,7 @@ const Qv = {
7570
7572
  class: "fe-btn fe-btn--icon-only",
7571
7573
  title: m(i)("toolbar.go_up"),
7572
7574
  "aria-label": m(i)("toolbar.go_up"),
7573
- onClick: _[0] || (_[0] = (F) => n("go-up"))
7575
+ onClick: _[0] || (_[0] = (U) => n("go-up"))
7574
7576
  }, [..._[13] || (_[13] = [
7575
7577
  c("span", { class: "fe-icon" }, "↑", -1)
7576
7578
  ])], 8, Ch)) : J("", !0),
@@ -7579,21 +7581,21 @@ const Qv = {
7579
7581
  type: "button",
7580
7582
  class: "fe-btn fe-btn--primary",
7581
7583
  title: m(i)("toolbar.new_folder"),
7582
- onClick: _[1] || (_[1] = (F) => n("new-folder"))
7584
+ onClick: _[1] || (_[1] = (U) => n("new-folder"))
7583
7585
  }, [
7584
7586
  _[14] || (_[14] = c("span", { class: "fe-icon" }, "📁", -1)),
7585
7587
  c("span", Th, g(m(i)("toolbar.new_folder")), 1)
7586
7588
  ], 8, Sh)) : J("", !0),
7587
- (u(!0), h(fe, null, ze(z.value, (F) => (u(), h("button", {
7588
- key: F.key,
7589
+ (u(!0), h(fe, null, ze(z.value, (U) => (u(), h("button", {
7590
+ key: U.key,
7589
7591
  type: "button",
7590
- class: Se(["fe-btn fe-btn--fold", { "fe-btn--danger": F.danger, "is-disabled": F.disabled }]),
7591
- disabled: F.disabled,
7592
- title: F.label,
7593
- onClick: (ke) => x(F.key)
7592
+ class: Se(["fe-btn fe-btn--fold", { "fe-btn--danger": U.danger, "is-disabled": U.disabled }]),
7593
+ disabled: U.disabled,
7594
+ title: U.label,
7595
+ onClick: (ke) => x(U.key)
7594
7596
  }, [
7595
- c("span", Ah, g(F.icon), 1),
7596
- c("span", Mh, g(F.label), 1)
7597
+ c("span", Ah, g(U.icon), 1),
7598
+ c("span", Mh, g(U.label), 1)
7597
7599
  ], 10, Eh))), 128)),
7598
7600
  K.value.length > 0 ? (u(), h("button", {
7599
7601
  key: 2,
@@ -7614,14 +7616,14 @@ const Qv = {
7614
7616
  class: "fe-toolbar__measure",
7615
7617
  "aria-hidden": "true"
7616
7618
  }, [
7617
- (u(!0), h(fe, null, ze(R.value, (F) => (u(), h("button", {
7618
- key: "m-" + F.key,
7619
+ (u(!0), h(fe, null, ze(R.value, (U) => (u(), h("button", {
7620
+ key: "m-" + U.key,
7619
7621
  type: "button",
7620
7622
  class: "fe-btn",
7621
7623
  tabindex: "-1"
7622
7624
  }, [
7623
- c("span", zh, g(F.icon), 1),
7624
- c("span", Ph, g(F.label), 1)
7625
+ c("span", zh, g(U.icon), 1),
7626
+ c("span", Ph, g(U.label), 1)
7625
7627
  ]))), 128))
7626
7628
  ], 512),
7627
7629
  e.pasteEnabled && S.value === "none" && !e.trashActive && !e.atVirtualRoot && e.canWrite !== !1 ? (u(), h("button", {
@@ -7629,7 +7631,7 @@ const Qv = {
7629
7631
  type: "button",
7630
7632
  class: "fe-btn",
7631
7633
  title: m(i)("ctx.paste"),
7632
- onClick: _[2] || (_[2] = (F) => x("paste"))
7634
+ onClick: _[2] || (_[2] = (U) => x("paste"))
7633
7635
  }, [
7634
7636
  _[16] || (_[16] = c("span", { class: "fe-icon" }, "📋", -1)),
7635
7637
  c("span", Oh, g(m(i)("ctx.paste")), 1)
@@ -7655,7 +7657,7 @@ const Qv = {
7655
7657
  class: "fe-btn fe-btn--icon-only",
7656
7658
  title: m(i)("toolbar.upload"),
7657
7659
  "aria-label": m(i)("toolbar.upload"),
7658
- onClick: _[3] || (_[3] = (F) => n("upload"))
7660
+ onClick: _[3] || (_[3] = (U) => n("upload"))
7659
7661
  }, [..._[17] || (_[17] = [
7660
7662
  c("span", {
7661
7663
  class: "fe-icon",
@@ -7667,7 +7669,7 @@ const Qv = {
7667
7669
  class: "fe-btn fe-btn--icon-only",
7668
7670
  title: m(i)("toolbar.refresh"),
7669
7671
  "aria-label": m(i)("toolbar.refresh"),
7670
- onClick: _[4] || (_[4] = (F) => n("refresh"))
7672
+ onClick: _[4] || (_[4] = (U) => n("refresh"))
7671
7673
  }, [..._[18] || (_[18] = [
7672
7674
  c("span", {
7673
7675
  class: "fe-icon",
@@ -7695,7 +7697,7 @@ const Qv = {
7695
7697
  "aria-pressed": !!e.inspectorOpen,
7696
7698
  title: m(i)("toolbar.inspector"),
7697
7699
  "aria-label": m(i)("toolbar.inspector"),
7698
- onClick: _[5] || (_[5] = (F) => n("toggle-inspector"))
7700
+ onClick: _[5] || (_[5] = (U) => n("toggle-inspector"))
7699
7701
  }, [..._[21] || (_[21] = [
7700
7702
  c("svg", {
7701
7703
  class: "fe-ficon",
@@ -7727,7 +7729,7 @@ const Qv = {
7727
7729
  class: "fe-btn fe-btn--icon-only fe-toolbar__theme",
7728
7730
  title: m(i)("theme.menu"),
7729
7731
  "aria-label": m(i)("theme.menu"),
7730
- onClick: _[6] || (_[6] = (F) => n("open-theme"))
7732
+ onClick: _[6] || (_[6] = (U) => n("open-theme"))
7731
7733
  }, [..._[22] || (_[22] = [
7732
7734
  c("svg", {
7733
7735
  class: "fe-ficon",
@@ -7777,7 +7779,7 @@ const Qv = {
7777
7779
  "aria-selected": e.viewMode === "list",
7778
7780
  title: m(i)("toolbar.view.list"),
7779
7781
  "aria-label": m(i)("toolbar.view.list"),
7780
- onClick: _[7] || (_[7] = (F) => n("update:viewMode", "list"))
7782
+ onClick: _[7] || (_[7] = (U) => n("update:viewMode", "list"))
7781
7783
  }, [..._[23] || (_[23] = [
7782
7784
  c("span", {
7783
7785
  class: "fe-icon",
@@ -7791,7 +7793,7 @@ const Qv = {
7791
7793
  "aria-selected": e.viewMode === "grid",
7792
7794
  title: m(i)("toolbar.view.grid"),
7793
7795
  "aria-label": m(i)("toolbar.view.grid"),
7794
- onClick: _[8] || (_[8] = (F) => n("update:viewMode", "grid"))
7796
+ onClick: _[8] || (_[8] = (U) => n("update:viewMode", "grid"))
7795
7797
  }, [..._[24] || (_[24] = [
7796
7798
  c("span", {
7797
7799
  class: "fe-icon",
@@ -7805,7 +7807,7 @@ const Qv = {
7805
7807
  "aria-selected": e.viewMode === "gallery",
7806
7808
  title: m(i)("toolbar.view.gallery"),
7807
7809
  "aria-label": m(i)("toolbar.view.gallery"),
7808
- onClick: _[9] || (_[9] = (F) => n("update:viewMode", "gallery"))
7810
+ onClick: _[9] || (_[9] = (U) => n("update:viewMode", "gallery"))
7809
7811
  }, [..._[25] || (_[25] = [
7810
7812
  c("span", {
7811
7813
  class: "fe-icon",
@@ -7822,7 +7824,7 @@ const Qv = {
7822
7824
  theme: e.theme || "auto",
7823
7825
  sheet: !1,
7824
7826
  actions: K.value,
7825
- onSelect: _[12] || (_[12] = (F) => x(F.key))
7827
+ onSelect: _[12] || (_[12] = (U) => x(U.key))
7826
7828
  }, null, 8, ["locale", "theme", "actions"]))
7827
7829
  ], 2));
7828
7830
  }
@@ -8568,13 +8570,13 @@ const Pm = ["aria-pressed", "title"], Im = {
8568
8570
  if (!k) return r.files;
8569
8571
  const b = [], _ = [];
8570
8572
  for (const ke of r.files) (K(ke) ? b : _).push(ke);
8571
- const F = C.value === "asc" ? 1 : -1;
8572
- return _.sort((ke, Be) => {
8573
+ const U = C.value === "asc" ? 1 : -1;
8574
+ return _.sort((ke, Ne) => {
8573
8575
  if (k === "name")
8574
- return F * ke.basename.localeCompare(Be.basename, void 0, { numeric: !0, sensitivity: "base" });
8575
- if (k === "size") return F * ((ke.size ?? -1) - (Be.size ?? -1));
8576
- const Ee = be(ke), He = be(Be);
8577
- return Ee == null && He == null ? 0 : Ee == null ? 1 : He == null ? -1 : F * (Ee - He);
8576
+ return U * ke.basename.localeCompare(Ne.basename, void 0, { numeric: !0, sensitivity: "base" });
8577
+ if (k === "size") return U * ((ke.size ?? -1) - (Ne.size ?? -1));
8578
+ const Ee = be(ke), He = be(Ne);
8579
+ return Ee == null && He == null ? 0 : Ee == null ? 1 : He == null ? -1 : U * (Ee - He);
8578
8580
  }), [...b, ..._];
8579
8581
  }), ge = ae(
8580
8582
  () => new Intl.DateTimeFormat(r.locale === "tr" ? "tr-TR" : "en-US", {
@@ -8584,17 +8586,17 @@ const Pm = ["aria-pressed", "title"], Im = {
8584
8586
  );
8585
8587
  function ye(k) {
8586
8588
  if (k == null) return { id: "none", label: n("group.no_date") };
8587
- const b = new Date(k), _ = /* @__PURE__ */ new Date(), F = (He) => new Date(He.getFullYear(), He.getMonth(), He.getDate()).getTime(), ke = F(_), Be = F(b), Ee = 864e5;
8588
- return Be >= ke ? { id: "today", label: n("group.today") } : Be === ke - Ee ? { id: "yesterday", label: n("group.yesterday") } : Be > ke - 7 * Ee ? { id: "week", label: n("group.this_week") } : b.getFullYear() === _.getFullYear() && b.getMonth() === _.getMonth() ? { id: "month", label: n("group.this_month") } : { id: `m-${b.getFullYear()}-${b.getMonth()}`, label: ge.value.format(b) };
8589
+ const b = new Date(k), _ = /* @__PURE__ */ new Date(), U = (He) => new Date(He.getFullYear(), He.getMonth(), He.getDate()).getTime(), ke = U(_), Ne = U(b), Ee = 864e5;
8590
+ return Ne >= ke ? { id: "today", label: n("group.today") } : Ne === ke - Ee ? { id: "yesterday", label: n("group.yesterday") } : Ne > ke - 7 * Ee ? { id: "week", label: n("group.this_week") } : b.getFullYear() === _.getFullYear() && b.getMonth() === _.getMonth() ? { id: "month", label: n("group.this_month") } : { id: `m-${b.getFullYear()}-${b.getMonth()}`, label: ge.value.format(b) };
8589
8591
  }
8590
8592
  const N = ae(() => {
8591
8593
  const k = ue.value;
8592
8594
  if (T.value !== "modified") return [{ id: "all", label: null, nodes: k }];
8593
8595
  const b = [];
8594
8596
  let _ = null;
8595
- for (const F of k) {
8596
- const ke = K(F) ? { id: "pinned", label: null } : ye(be(F));
8597
- (!_ || _.id !== ke.id) && (_ = { id: ke.id, label: ke.label, nodes: [] }, b.push(_)), _.nodes.push(F);
8597
+ for (const U of k) {
8598
+ const ke = K(U) ? { id: "pinned", label: null } : ye(be(U));
8599
+ (!_ || _.id !== ke.id) && (_ = { id: ke.id, label: ke.label, nodes: [] }, b.push(_)), _.nodes.push(U);
8598
8600
  }
8599
8601
  return b;
8600
8602
  });
@@ -8662,31 +8664,31 @@ const Pm = ["aria-pressed", "title"], Im = {
8662
8664
  key: _.id
8663
8665
  }, [
8664
8666
  _.label ? (u(), h("div", Qm, g(_.label), 1)) : J("", !0),
8665
- (u(!0), h(fe, null, ze(_.nodes, (F) => {
8666
- var ke, Be;
8667
+ (u(!0), h(fe, null, ze(_.nodes, (U) => {
8668
+ var ke, Ne;
8667
8669
  return u(), h("div", {
8668
- key: F.path,
8670
+ key: U.path,
8669
8671
  class: Se(["fe-list__row", {
8670
- "is-selected": i(F),
8671
- "is-dir": F.type === "dir",
8672
- "is-trash": F.trashed,
8673
- "is-clipped": (ke = e.clipped) == null ? void 0 : ke.has(F.path),
8674
- "is-droptarget": w.value === F.path
8672
+ "is-selected": i(U),
8673
+ "is-dir": U.type === "dir",
8674
+ "is-trash": U.trashed,
8675
+ "is-clipped": (ke = e.clipped) == null ? void 0 : ke.has(U.path),
8676
+ "is-droptarget": w.value === U.path
8675
8677
  }]),
8676
8678
  role: "row",
8677
8679
  tabindex: "0",
8678
- "aria-selected": i(F) ? "true" : "false",
8679
- "aria-label": m(s)(F),
8680
- "data-fe-path": F.path,
8680
+ "aria-selected": i(U) ? "true" : "false",
8681
+ "aria-label": m(s)(U),
8682
+ "data-fe-path": U.path,
8681
8683
  draggable: "true",
8682
- onClick: (Ee) => f(F, Ee),
8683
- onDblclick: (Ee) => p(F),
8684
- onContextmenu: (Ee) => v(F, Ee),
8685
- onDragstart: (Ee) => y(F, Ee),
8686
- onDragover: (Ee) => S(F, Ee),
8687
- onDragleave: (Ee) => R(F),
8688
- onDrop: (Ee) => P(F, Ee),
8689
- onTouchstartPassive: (Ee) => A(F, Ee),
8684
+ onClick: (Ee) => f(U, Ee),
8685
+ onDblclick: (Ee) => p(U),
8686
+ onContextmenu: (Ee) => v(U, Ee),
8687
+ onDragstart: (Ee) => y(U, Ee),
8688
+ onDragover: (Ee) => S(U, Ee),
8689
+ onDragleave: (Ee) => R(U),
8690
+ onDrop: (Ee) => P(U, Ee),
8691
+ onTouchstartPassive: (Ee) => A(U, Ee),
8690
8692
  onTouchend: Q,
8691
8693
  onTouchmove: Q
8692
8694
  }, [
@@ -8696,38 +8698,38 @@ const Pm = ["aria-pressed", "title"], Im = {
8696
8698
  onClick: b[3] || (b[3] = Ye(() => {
8697
8699
  }, ["stop"]))
8698
8700
  }, [
8699
- typeof F.id == "number" && F.type === "file" ? (u(), tt(Bm, {
8701
+ typeof U.id == "number" && U.type === "file" ? (u(), tt(Bm, {
8700
8702
  key: 0,
8701
- starred: !!((Be = e.starredIds) != null && Be.has(F.id)),
8702
- "node-id": F.id,
8703
+ starred: !!((Ne = e.starredIds) != null && Ne.has(U.id)),
8704
+ "node-id": U.id,
8703
8705
  "api-base": e.apiBase,
8704
8706
  "auth-headers": e.authHeaders,
8705
8707
  compact: "",
8706
- onChange: (Ee) => o("star-change", F, Ee)
8708
+ onChange: (Ee) => o("star-change", U, Ee)
8707
8709
  }, null, 8, ["starred", "node-id", "api-base", "auth-headers", "onChange"])) : J("", !0)
8708
8710
  ]),
8709
8711
  c("div", eg, [
8710
- z(F) ? (u(), h("span", tg, g(z(F)), 1)) : (u(), h("span", {
8712
+ z(U) ? (u(), h("span", tg, g(z(U)), 1)) : (u(), h("span", {
8711
8713
  key: 1,
8712
8714
  class: "fe-list__icon fe-list__icon--svg",
8713
8715
  "aria-hidden": "true",
8714
- innerHTML: m(mo)(F)
8716
+ innerHTML: m(mo)(U)
8715
8717
  }, null, 8, rg)),
8716
8718
  c("div", og, [
8717
8719
  c("span", {
8718
8720
  class: "fe-list__name",
8719
- title: F.basename
8721
+ title: U.basename
8720
8722
  }, [
8721
- Ke(g(m(s)(F)) + " ", 1),
8722
- x(F) ? (u(), h("span", ag, g(m(n)("search.in_content")), 1)) : J("", !0)
8723
+ Ke(g(m(s)(U)) + " ", 1),
8724
+ x(U) ? (u(), h("span", ag, g(m(n)("search.in_content")), 1)) : J("", !0)
8723
8725
  ], 8, ng),
8724
8726
  e.showParentPath ? (u(), h("span", {
8725
8727
  key: 0,
8726
8728
  class: "fe-list__parent",
8727
- title: B(F.path)
8728
- }, g(B(F.path) || "—"), 9, ig)) : J("", !0),
8729
- W(F) ? (u(), h("span", sg, [
8730
- (u(!0), h(fe, null, ze(m(Bn)(W(F)), (Ee, He) => (u(), h(fe, { key: He }, [
8729
+ title: B(U.path)
8730
+ }, g(B(U.path) || "—"), 9, ig)) : J("", !0),
8731
+ W(U) ? (u(), h("span", sg, [
8732
+ (u(!0), h(fe, null, ze(m(Bn)(W(U)), (Ee, He) => (u(), h(fe, { key: He }, [
8731
8733
  Ee.match ? (u(), h("mark", lg, g(Ee.text), 1)) : (u(), h(fe, { key: 1 }, [
8732
8734
  Ke(g(Ee.text), 1)
8733
8735
  ], 64))
@@ -8735,8 +8737,8 @@ const Pm = ["aria-pressed", "title"], Im = {
8735
8737
  ])) : J("", !0)
8736
8738
  ])
8737
8739
  ]),
8738
- c("div", cg, g(m(a)(F.size)), 1),
8739
- c("div", dg, g(G(F.last_modified)), 1)
8740
+ c("div", cg, g(m(a)(U.size)), 1),
8741
+ c("div", dg, g(G(U.last_modified)), 1)
8740
8742
  ], 42, Zm);
8741
8743
  }), 128))
8742
8744
  ], 64))), 128)),
@@ -9351,9 +9353,9 @@ const Pm = ["aria-pressed", "title"], Im = {
9351
9353
  return typeof ((de = i.value) == null ? void 0 : de.id) == "number" ? i.value.id : null;
9352
9354
  }
9353
9355
  );
9354
- let F = 0;
9356
+ let U = 0;
9355
9357
  async function ke() {
9356
- const de = ++F, Ce = _.value;
9358
+ const de = ++U, Ce = _.value;
9357
9359
  if (Ce == null) {
9358
9360
  ye.value = "hidden", N.value = [];
9359
9361
  return;
@@ -9361,16 +9363,16 @@ const Pm = ["aria-pressed", "title"], Im = {
9361
9363
  ye.value = N.value.length > 0 ? "ok" : "loading";
9362
9364
  try {
9363
9365
  const pe = await r.api.listComments(Ce);
9364
- if (de !== F) return;
9366
+ if (de !== U) return;
9365
9367
  N.value = pe, ye.value = "ok";
9366
9368
  } catch (pe) {
9367
- if (de !== F) return;
9369
+ if (de !== U) return;
9368
9370
  N.value = [];
9369
9371
  const Fe = pe.status;
9370
9372
  ye.value = Fe === 401 || Fe === 403 || Fe === 404 ? "hidden" : "error";
9371
9373
  }
9372
9374
  }
9373
- async function Be() {
9375
+ async function Ne() {
9374
9376
  const de = _.value, Ce = k.value.trim();
9375
9377
  if (!(de == null || Ce === "" || b.value)) {
9376
9378
  b.value = !0;
@@ -9649,7 +9651,7 @@ const Pm = ["aria-pressed", "title"], Im = {
9649
9651
  ])),
9650
9652
  c("form", {
9651
9653
  class: "fe-inspector__comment-form",
9652
- onSubmit: Ye(Be, ["prevent"])
9654
+ onSubmit: Ye(Ne, ["prevent"])
9653
9655
  }, [
9654
9656
  ot(c("input", {
9655
9657
  "onUpdate:modelValue": Ce[6] || (Ce[6] = (pe) => k.value = pe),
@@ -9720,10 +9722,10 @@ const Pm = ["aria-pressed", "title"], Im = {
9720
9722
  const r = e, o = t, { t: n, nodeDisplayName: a } = ft(() => r.locale), s = /* @__PURE__ */ E(""), i = /* @__PURE__ */ E(0), f = /* @__PURE__ */ E(null), p = /* @__PURE__ */ E(null);
9721
9723
  function v(N, k) {
9722
9724
  if (!k) return 0;
9723
- const b = N.toLocaleLowerCase(), _ = k.toLocaleLowerCase(), F = b.indexOf(_);
9724
- if (F === -1) return -1;
9725
- let ke = 100 - Math.min(F, 50);
9726
- return F === 0 && (ke += 40), ke -= Math.min(b.length, 40) / 4, ke;
9725
+ const b = N.toLocaleLowerCase(), _ = k.toLocaleLowerCase(), U = b.indexOf(_);
9726
+ if (U === -1) return -1;
9727
+ let ke = 100 - Math.min(U, 50);
9728
+ return U === 0 && (ke += 40), ke -= Math.min(b.length, 40) / 4, ke;
9727
9729
  }
9728
9730
  const y = ae(() => {
9729
9731
  const N = s.value.trim();
@@ -9787,8 +9789,8 @@ const Pm = ["aria-pressed", "title"], Im = {
9787
9789
  }, O_);
9788
9790
  }
9789
9791
  function Q(N) {
9790
- const k = String(N.path ?? "").replace(/^\/+|\/+$/g, ""), b = k.lastIndexOf("/"), _ = b === -1 ? "" : k.slice(0, b), F = typeof N.storage == "string" && N.storage || typeof N.storage_name == "string" && N.storage_name || "";
9791
- return F && _ ? `${F}/${_}` : F || _ || "/";
9792
+ const k = String(N.path ?? "").replace(/^\/+|\/+$/g, ""), b = k.lastIndexOf("/"), _ = b === -1 ? "" : k.slice(0, b), U = typeof N.storage == "string" && N.storage || typeof N.storage_name == "string" && N.storage_name || "";
9793
+ return U && _ ? `${U}/${_}` : U || _ || "/";
9792
9794
  }
9793
9795
  const z = ae(
9794
9796
  () => R.value.map((N) => ({
@@ -10002,8 +10004,8 @@ const Pm = ["aria-pressed", "title"], Im = {
10002
10004
  class: Se(["fe-cmdp__item", { "is-active": _ === i.value }]),
10003
10005
  role: "option",
10004
10006
  "aria-selected": _ === i.value,
10005
- onMouseenter: (F) => i.value = _,
10006
- onClick: (F) => ge(b)
10007
+ onMouseenter: (U) => i.value = _,
10008
+ onClick: (U) => ge(b)
10007
10009
  }, [
10008
10010
  c("span", a_, g(b.icon), 1),
10009
10011
  c("span", i_, g(b.label), 1)
@@ -10016,8 +10018,8 @@ const Pm = ["aria-pressed", "title"], Im = {
10016
10018
  class: Se(["fe-cmdp__item", { "is-active": H.value + _ === i.value }]),
10017
10019
  role: "option",
10018
10020
  "aria-selected": H.value + _ === i.value,
10019
- onMouseenter: (F) => i.value = H.value + _,
10020
- onClick: (F) => ge(b)
10021
+ onMouseenter: (U) => i.value = H.value + _,
10022
+ onClick: (U) => ge(b)
10021
10023
  }, [
10022
10024
  c("span", c_, g(b.icon), 1),
10023
10025
  c("span", d_, g(b.label), 1)
@@ -10032,8 +10034,8 @@ const Pm = ["aria-pressed", "title"], Im = {
10032
10034
  class: Se(["fe-cmdp__item fe-cmdp__item--hit", { "is-active": Y.value + _ === i.value }]),
10033
10035
  role: "option",
10034
10036
  "aria-selected": Y.value + _ === i.value,
10035
- onMouseenter: (F) => i.value = Y.value + _,
10036
- onClick: (F) => ge(b)
10037
+ onMouseenter: (U) => i.value = Y.value + _,
10038
+ onClick: (U) => ge(b)
10037
10039
  }, [
10038
10040
  c("span", v_, g(b.icon), 1),
10039
10041
  c("span", h_, [
@@ -10047,9 +10049,9 @@ const Pm = ["aria-pressed", "title"], Im = {
10047
10049
  title: b.crumb
10048
10050
  }, g(b.crumb), 9, __)) : J("", !0),
10049
10051
  b.snippet ? (u(), h("span", x_, [
10050
- (u(!0), h(fe, null, ze(m(Bn)(b.snippet), (F, ke) => (u(), h(fe, { key: ke }, [
10051
- F.match ? (u(), h("mark", y_, g(F.text), 1)) : (u(), h(fe, { key: 1 }, [
10052
- Ke(g(F.text), 1)
10052
+ (u(!0), h(fe, null, ze(m(Bn)(b.snippet), (U, ke) => (u(), h(fe, { key: ke }, [
10053
+ U.match ? (u(), h("mark", y_, g(U.text), 1)) : (u(), h(fe, { key: 1 }, [
10054
+ Ke(g(U.text), 1)
10053
10055
  ], 64))
10054
10056
  ], 64))), 128))
10055
10057
  ])) : J("", !0)
@@ -10064,9 +10066,9 @@ const Pm = ["aria-pressed", "title"], Im = {
10064
10066
  role: "option",
10065
10067
  "aria-selected": ee.value + _ === i.value,
10066
10068
  tabindex: "-1",
10067
- onMouseenter: (F) => i.value = ee.value + _,
10068
- onClick: (F) => ge(b),
10069
- onKeydown: zt(Ye((F) => ge(b), ["prevent"]), ["enter"])
10069
+ onMouseenter: (U) => i.value = ee.value + _,
10070
+ onClick: (U) => ge(b),
10071
+ onKeydown: zt(Ye((U) => ge(b), ["prevent"]), ["enter"])
10070
10072
  }, [
10071
10073
  c("span", $_, g(b.icon), 1),
10072
10074
  c("span", C_, g(b.label), 1),
@@ -10076,7 +10078,7 @@ const Pm = ["aria-pressed", "title"], Im = {
10076
10078
  class: "fe-cmdp__del",
10077
10079
  title: m(n)("palette.saved.delete"),
10078
10080
  "aria-label": m(n)("palette.saved.delete"),
10079
- onClick: Ye((F) => x(b.query), ["stop"])
10081
+ onClick: Ye((U) => x(b.query), ["stop"])
10080
10082
  }, "🗑", 8, S_)) : J("", !0)
10081
10083
  ], 42, k_))), 128))
10082
10084
  ], 64)) : J("", !0),
@@ -10088,8 +10090,8 @@ const Pm = ["aria-pressed", "title"], Im = {
10088
10090
  class: Se(["fe-cmdp__item", { "is-active": be.value + _ === i.value }]),
10089
10091
  role: "option",
10090
10092
  "aria-selected": be.value + _ === i.value,
10091
- onMouseenter: (F) => i.value = be.value + _,
10092
- onClick: (F) => ge(b)
10093
+ onMouseenter: (U) => i.value = be.value + _,
10094
+ onClick: (U) => ge(b)
10093
10095
  }, [
10094
10096
  c("span", A_, g(b.icon), 1),
10095
10097
  c("span", M_, g(b.label), 1)
@@ -11077,28 +11079,28 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11077
11079
  diff: "diff",
11078
11080
  patch: "diff"
11079
11081
  }, v = ["txt", "log"], y = ["docx", "doc", "xlsx", "xls", "pptx", "ppt", "odt", "ods", "odp", "rtf"], w = {
11080
- glb: () => import("./Viewer3D-CcTHCVPD.js"),
11081
- gltf: () => import("./Viewer3D-CcTHCVPD.js"),
11082
- obj: () => import("./Viewer3D-CcTHCVPD.js"),
11083
- stl: () => import("./Viewer3D-CcTHCVPD.js"),
11084
- fbx: () => import("./Viewer3D-CcTHCVPD.js"),
11085
- "3ds": () => import("./Viewer3D-CcTHCVPD.js"),
11086
- epub: () => import("./EpubViewer-nUYQFSXO.js"),
11087
- mmd: () => import("./MermaidViewer-uTQ8uD6s.js"),
11088
- mermaid: () => import("./MermaidViewer-uTQ8uD6s.js"),
11089
- drawio: () => import("./DrawioViewer-BF1QfKNh.js"),
11090
- dio: () => import("./DrawioViewer-BF1QfKNh.js"),
11091
- tif: () => import("./TiffViewer-B6U7bc5d.js"),
11092
- tiff: () => import("./TiffViewer-B6U7bc5d.js"),
11093
- psd: () => import("./PsdViewer-CP3Jb3Eq.js"),
11082
+ glb: () => import("./Viewer3D-2DLrDPvE.js"),
11083
+ gltf: () => import("./Viewer3D-2DLrDPvE.js"),
11084
+ obj: () => import("./Viewer3D-2DLrDPvE.js"),
11085
+ stl: () => import("./Viewer3D-2DLrDPvE.js"),
11086
+ fbx: () => import("./Viewer3D-2DLrDPvE.js"),
11087
+ "3ds": () => import("./Viewer3D-2DLrDPvE.js"),
11088
+ epub: () => import("./EpubViewer-BYPM7kAx.js"),
11089
+ mmd: () => import("./MermaidViewer-B9sDQEEp.js"),
11090
+ mermaid: () => import("./MermaidViewer-B9sDQEEp.js"),
11091
+ drawio: () => import("./DrawioViewer-Qi79q1_e.js"),
11092
+ dio: () => import("./DrawioViewer-Qi79q1_e.js"),
11093
+ tif: () => import("./TiffViewer-C006NhoB.js"),
11094
+ tiff: () => import("./TiffViewer-C006NhoB.js"),
11095
+ psd: () => import("./PsdViewer-CuOyeBa8.js"),
11094
11096
  // PDF deliberately uses the native browser viewer (`kind === 'pdf'`
11095
11097
  // branch in the template). PdfViewer.vue still exists for callers
11096
11098
  // that want the rich custom UI but the SFC default keeps things
11097
11099
  // minimal — the browser already paints search/zoom/page UI for free.
11098
- ipynb: () => import("./IpynbViewer-VMWGdKRV.js"),
11099
- csv: () => import("./CsvViewer-Xq5HT-xk.js"),
11100
- tsv: () => import("./CsvViewer-Xq5HT-xk.js"),
11101
- zip: () => import("./ArchiveViewer-CRNYNvBQ.js")
11100
+ ipynb: () => import("./IpynbViewer-BdYRtrd1.js"),
11101
+ csv: () => import("./CsvViewer-CXNTcpS1.js"),
11102
+ tsv: () => import("./CsvViewer-CXNTcpS1.js"),
11103
+ zip: () => import("./ArchiveViewer-dhyEJGoA.js")
11102
11104
  }, S = ae(() => {
11103
11105
  const ce = a(r.file);
11104
11106
  if (!ce) return "other";
@@ -11225,7 +11227,7 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11225
11227
  let ye, N;
11226
11228
  function k() {
11227
11229
  ue.value = !0, ye && clearTimeout(ye), ye = setTimeout(() => {
11228
- Be(ee.value);
11230
+ Ne(ee.value);
11229
11231
  }, 250), N && clearTimeout(N), N = setTimeout(() => {
11230
11232
  b();
11231
11233
  }, 1500);
@@ -11276,15 +11278,15 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11276
11278
  H.value = !1;
11277
11279
  }
11278
11280
  }
11279
- const F = /* @__PURE__ */ E(""), ke = /* @__PURE__ */ E(null);
11280
- async function Be(ce) {
11281
+ const U = /* @__PURE__ */ E(""), ke = /* @__PURE__ */ E(null);
11282
+ async function Ne(ce) {
11281
11283
  try {
11282
11284
  const re = await import(
11283
11285
  /* @vite-ignore */
11284
11286
  "markdown-it"
11285
11287
  ).catch(() => null);
11286
11288
  if (!re) {
11287
- F.value = "";
11289
+ U.value = "";
11288
11290
  return;
11289
11291
  }
11290
11292
  const me = re.default ?? re, Oe = new me({
@@ -11293,9 +11295,9 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11293
11295
  breaks: !0,
11294
11296
  typographer: !0
11295
11297
  }).render(ce);
11296
- F.value = Ee(Oe), await new Promise((Re) => setTimeout(Re, 0)), await He();
11298
+ U.value = Ee(Oe), await new Promise((Re) => setTimeout(Re, 0)), await He();
11297
11299
  } catch (re) {
11298
- F.value = "", Y.value = re instanceof Error ? re.message : String(re);
11300
+ U.value = "", Y.value = re instanceof Error ? re.message : String(re);
11299
11301
  }
11300
11302
  }
11301
11303
  function Ee(ce) {
@@ -11444,17 +11446,17 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11444
11446
  fontSize: 13
11445
11447
  }), Oe && (Fe.addCommand(
11446
11448
  me.KeyMod.CtrlCmd | me.KeyCode.KeyS,
11447
- () => void U()
11449
+ () => void V()
11448
11450
  ), Fe.onDidChangeModelContent(() => {
11449
11451
  $ && clearTimeout($), $ = setTimeout(() => {
11450
- U();
11452
+ V();
11451
11453
  }, 1500);
11452
11454
  })), I.value = !0, !0;
11453
11455
  } catch (Oe) {
11454
11456
  return Y.value = `Monaco mount fail: ${Oe.message}`, !1;
11455
11457
  }
11456
11458
  }
11457
- async function U() {
11459
+ async function V() {
11458
11460
  if (!(!r.saveTextEndpoint || !r.file) && r.openMode !== "view" && !X.value) {
11459
11461
  X.value = !0, ie.value = !1, ne.value = null;
11460
11462
  try {
@@ -11484,7 +11486,7 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11484
11486
  }
11485
11487
  }
11486
11488
  async function q(ce, re, me) {
11487
- if (ee.value = "", F.value = "", de.value = "", Y.value = null, xe.value = null, R.value = null, P.value = null, M.value = !1, Me(), se(), !(!ce || !re)) {
11489
+ if (ee.value = "", U.value = "", de.value = "", Y.value = null, xe.value = null, R.value = null, P.value = null, M.value = !1, Me(), se(), !(!ce || !re)) {
11488
11490
  if (me === "viewer") {
11489
11491
  await D(a(r.file));
11490
11492
  return;
@@ -11492,7 +11494,7 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11492
11494
  if (me === "markdown" || me === "code" || me === "text") {
11493
11495
  if (await _(re), be.value) return;
11494
11496
  if (me === "markdown") {
11495
- await Be(ee.value);
11497
+ await Ne(ee.value);
11496
11498
  return;
11497
11499
  }
11498
11500
  const Pe = p[a(r.file)] || "";
@@ -11705,7 +11707,7 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11705
11707
  ref_key: "markdownEl",
11706
11708
  ref: ke,
11707
11709
  class: "fe-preview__md-split-output fe-preview__md",
11708
- innerHTML: F.value
11710
+ innerHTML: U.value
11709
11711
  }, null, 8, Gx)
11710
11712
  ])
11711
11713
  ])) : Y.value ? (u(), h("div", Jx, [
@@ -11714,12 +11716,12 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11714
11716
  href: T.value,
11715
11717
  class: "fe-btn fe-btn--primary"
11716
11718
  }, g(m(n)("viewer.download")), 9, Xx)
11717
- ])) : F.value ? (u(), h("div", {
11719
+ ])) : U.value ? (u(), h("div", {
11718
11720
  key: 4,
11719
11721
  ref_key: "markdownEl",
11720
11722
  ref: ke,
11721
11723
  class: "fe-preview__md",
11722
- innerHTML: F.value
11724
+ innerHTML: U.value
11723
11725
  }, null, 8, Qx)) : (u(), h("pre", Zx, g(ee.value), 1))
11724
11726
  ], 64)) : S.value === "viewer" ? (u(), h(fe, { key: 5 }, [
11725
11727
  P.value && !M.value ? (u(), h("div", ey, [
@@ -11764,7 +11766,7 @@ const nx = { class: "fe-themes__hint" }, ax = ["aria-label"], ix = ["aria-select
11764
11766
  type: "button",
11765
11767
  class: "fe-btn fe-btn--primary",
11766
11768
  disabled: X.value,
11767
- onClick: U
11769
+ onClick: V
11768
11770
  }, g(X.value ? m(n)("viewer.saving") : m(n)("viewer.save")), 9, hy)) : J("", !0)
11769
11771
  ]),
11770
11772
  c("div", {
@@ -12842,19 +12844,19 @@ const B1 = ["aria-label"], N1 = { class: "fe-split__crumbs" }, K1 = ["title"], j
12842
12844
  }
12843
12845
  S(o.initialPath ?? "");
12844
12846
  const R = ae(() => {
12845
- const k = (s.value || "").replace(/^\/+|\/+$/g, ""), b = k ? k.split("/") : [], _ = (o.floor || "").replace(/^\/+|\/+$/g, ""), F = [];
12847
+ const k = (s.value || "").replace(/^\/+|\/+$/g, ""), b = k ? k.split("/") : [], _ = (o.floor || "").replace(/^\/+|\/+$/g, ""), U = [];
12846
12848
  let ke = "";
12847
- for (const Be of b)
12848
- ke = ke ? `${ke}/${Be}` : Be, !(_ && !(ke === _ || ke.startsWith(_ + "/"))) && F.push({ label: Be, target: ke, last: !1 });
12849
- return F.length > 0 && (F[F.length - 1].last = !0), F;
12849
+ for (const Ne of b)
12850
+ ke = ke ? `${ke}/${Ne}` : Ne, !(_ && !(ke === _ || ke.startsWith(_ + "/"))) && U.push({ label: Ne, target: ke, last: !1 });
12851
+ return U.length > 0 && (U[U.length - 1].last = !0), U;
12850
12852
  }), P = ae(() => !o.floor);
12851
12853
  function M(k) {
12852
12854
  n("activate"), S(k);
12853
12855
  }
12854
12856
  function D(k, b) {
12855
12857
  n("activate");
12856
- const _ = b.ctrl || b.shift, F = new Set(_ ? v.value : []);
12857
- _ && F.has(k.path) ? F.delete(k.path) : F.add(k.path), v.value = F;
12858
+ const _ = b.ctrl || b.shift, U = new Set(_ ? v.value : []);
12859
+ _ && U.has(k.path) ? U.delete(k.path) : U.add(k.path), v.value = U;
12858
12860
  }
12859
12861
  function A(k, b) {
12860
12862
  b.preventDefault(), b.stopPropagation(), n("activate"), v.value.has(k.path) || (v.value = /* @__PURE__ */ new Set([k.path])), n("context", k, b);
@@ -12884,12 +12886,12 @@ const B1 = ["aria-label"], N1 = { class: "fe-split__crumbs" }, K1 = ["title"], j
12884
12886
  return;
12885
12887
  }
12886
12888
  v.value.has(k.path) || (v.value = /* @__PURE__ */ new Set([k.path]));
12887
- const _ = i.value.filter((F) => v.value.has(F.path) && !y(F)).map((F) => ({ path: F.path, basename: F.basename, type: F.type }));
12889
+ const _ = i.value.filter((U) => v.value.has(U.path) && !y(U)).map((U) => ({ path: U.path, basename: U.basename, type: U.type }));
12888
12890
  if (_.length === 0) {
12889
12891
  b.preventDefault();
12890
12892
  return;
12891
12893
  }
12892
- b.dataTransfer.setData(Va, JSON.stringify(_)), b.dataTransfer.setData(Al, o.qualify(s.value)), b.dataTransfer.setData("text/plain", _.map((F) => F.path).join(`
12894
+ b.dataTransfer.setData(Va, JSON.stringify(_)), b.dataTransfer.setData(Al, o.qualify(s.value)), b.dataTransfer.setData("text/plain", _.map((U) => U.path).join(`
12893
12895
  `)), b.dataTransfer.effectAllowed = "move";
12894
12896
  }
12895
12897
  const W = /* @__PURE__ */ E(!1);
@@ -12901,14 +12903,14 @@ const B1 = ["aria-label"], N1 = { class: "fe-split__crumbs" }, K1 = ["title"], j
12901
12903
  var Ee, He;
12902
12904
  const _ = (Ee = k.dataTransfer) == null ? void 0 : Ee.getData(Va);
12903
12905
  if (!_ || !b) return;
12904
- let F = [];
12906
+ let U = [];
12905
12907
  try {
12906
- F = JSON.parse(_);
12908
+ U = JSON.parse(_);
12907
12909
  } catch {
12908
12910
  return;
12909
12911
  }
12910
- const ke = ((He = k.dataTransfer) == null ? void 0 : He.getData(Al)) || void 0, Be = F.map((de) => de.path).filter((de) => de && de !== b && !b.startsWith(de + "/"));
12911
- Be.length !== 0 && (k.preventDefault(), k.stopPropagation(), n("transfer", { sources: Be, targetWire: b, originWire: ke }));
12912
+ const ke = ((He = k.dataTransfer) == null ? void 0 : He.getData(Al)) || void 0, Ne = U.map((de) => de.path).filter((de) => de && de !== b && !b.startsWith(de + "/"));
12913
+ Ne.length !== 0 && (k.preventDefault(), k.stopPropagation(), n("transfer", { sources: Ne, targetWire: b, originWire: ke }));
12912
12914
  }
12913
12915
  function C(k) {
12914
12916
  !x(k) || w.value || (k.preventDefault(), k.stopPropagation(), k.dataTransfer && (k.dataTransfer.dropEffect = "move"), W.value = !0);
@@ -12966,7 +12968,7 @@ const B1 = ["aria-label"], N1 = { class: "fe-split__crumbs" }, K1 = ["title"], j
12966
12968
  type: "button",
12967
12969
  class: Se(["fe-split__crumb", { "is-last": _.last }]),
12968
12970
  title: _.label,
12969
- onClick: (F) => M(_.target)
12971
+ onClick: (U) => M(_.target)
12970
12972
  }, g(_.label), 11, j1)
12971
12973
  ], 64))), 128)),
12972
12974
  b[5] || (b[5] = c("span", { class: "fe-split__spacer" }, null, -1)),
@@ -13814,7 +13816,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
13814
13816
  { v: 1, l: a("1 gün", "1 day") },
13815
13817
  { v: 7, l: a("7 gün", "7 days") },
13816
13818
  { v: 30, l: a("30 gün", "30 days") }
13817
- ], b = /* @__PURE__ */ E(!1), _ = /* @__PURE__ */ E(0), F = /* @__PURE__ */ E(!1), ke = /* @__PURE__ */ E(""), Be = /* @__PURE__ */ E(""), Ee = /* @__PURE__ */ E(""), He = /* @__PURE__ */ E(!0), de = /* @__PURE__ */ E(!1), Ce = /* @__PURE__ */ E(""), pe = /* @__PURE__ */ E(null), Fe = /* @__PURE__ */ E(""), $ = /* @__PURE__ */ E(!1), I = /* @__PURE__ */ E("");
13819
+ ], b = /* @__PURE__ */ E(!1), _ = /* @__PURE__ */ E(0), U = /* @__PURE__ */ E(!1), ke = /* @__PURE__ */ E(""), Ne = /* @__PURE__ */ E(""), Ee = /* @__PURE__ */ E(""), He = /* @__PURE__ */ E(!0), de = /* @__PURE__ */ E(!1), Ce = /* @__PURE__ */ E(""), pe = /* @__PURE__ */ E(null), Fe = /* @__PURE__ */ E(""), $ = /* @__PURE__ */ E(!1), I = /* @__PURE__ */ E("");
13818
13820
  function X(oe) {
13819
13821
  const Z = /* @__PURE__ */ new Set(), $e = [];
13820
13822
  for (const at of oe.split(/[,;\s]+/)) {
@@ -13880,7 +13882,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
13880
13882
  M.value = !1;
13881
13883
  }
13882
13884
  }
13883
- async function U() {
13885
+ async function V() {
13884
13886
  const oe = R.value.trim().toLowerCase();
13885
13887
  if (!oe || !oe.includes("@")) {
13886
13888
  D.value = a("Geçerli bir e-posta girin.", "Enter a valid email.");
@@ -14004,7 +14006,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14004
14006
  de.value = !0, Ce.value = "", pe.value = null, I.value = "";
14005
14007
  try {
14006
14008
  const oe = { ask_name: He.value };
14007
- ke.value && (oe.max_files = Number(ke.value)), Be.value && (oe.max_file_size_mb = Number(Be.value));
14009
+ ke.value && (oe.max_files = Number(ke.value)), Ne.value && (oe.max_file_size_mb = Number(Ne.value));
14008
14010
  const Z = Ee.value.split(/[,\s]+/).map((at) => at.trim().replace(/^\./, "")).filter(Boolean);
14009
14011
  Z.length && (oe.allowed_ext = Z);
14010
14012
  const $e = await r.api.createShare({
@@ -14094,7 +14096,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14094
14096
  }
14095
14097
  function wo() {
14096
14098
  var ur, Pt;
14097
- const oe = s.value.name, Z = ((ur = pe.value) == null ? void 0 : ur.url) ?? "", $e = ((Pt = pe.value) == null ? void 0 : Pt.pin) ?? "", at = Number(ke.value) || 20, le = Number(Be.value) || 500, Xe = Ee.value.split(/[,\s]+/).map((rn) => rn.trim().replace(/^\./, "")).filter(Boolean), Ht = a(`${oe} adlı klasöre dosya eklemeniz istendi`, `You've been asked to add files to ${oe}`), Qe = [];
14099
+ const oe = s.value.name, Z = ((ur = pe.value) == null ? void 0 : ur.url) ?? "", $e = ((Pt = pe.value) == null ? void 0 : Pt.pin) ?? "", at = Number(ke.value) || 20, le = Number(Ne.value) || 500, Xe = Ee.value.split(/[,\s]+/).map((rn) => rn.trim().replace(/^\./, "")).filter(Boolean), Ht = a(`${oe} adlı klasöre dosya eklemeniz istendi`, `You've been asked to add files to ${oe}`), Qe = [];
14098
14100
  return Qe.push(a("Merhaba,", "Hello,"), ""), Qe.push(a("Dosya yüklemeniz istendi.", "You've been invited to upload files."), ""), Qe.push(a(`Klasör: ${oe}`, `Folder: ${oe}`)), Qe.push(a(`Sınır: en fazla ${at} dosya, dosya başına ${le} MB.`, `Limit: up to ${at} file(s), ${le} MB per file.`)), Qe.push(Xe.length ? a(`İzinli türler: ${Xe.join(", ")}`, `Allowed types: ${Xe.join(", ")}`) : a("İzinli türler: tüm türler", "Allowed types: all")), Qe.push("", a("Dosyalarınızı buradan yükleyebilirsiniz:", "Upload your files here:"), Z), $e && Qe.push("", a(`PIN (erişim kodu): ${$e}`, `PIN (access code): ${$e}`)), Qe.push("", Et(_.value)), { title: Ht, text: Qe.join(`
14099
14101
  `) };
14100
14102
  }
@@ -14163,7 +14165,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14163
14165
  autocomplete: "off",
14164
14166
  placeholder: a("İsim veya e-posta", "Name or email"),
14165
14167
  onInput: _e,
14166
- onKeyup: zt(U, ["enter"]),
14168
+ onKeyup: zt(V, ["enter"]),
14167
14169
  onFocus: _e
14168
14170
  }, null, 40, e0), [
14169
14171
  [gt, R.value]
@@ -14196,7 +14198,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14196
14198
  c("button", {
14197
14199
  class: "fx-perm-btn fx-perm-btn--primary",
14198
14200
  disabled: M.value,
14199
- onClick: U
14201
+ onClick: V
14200
14202
  }, g(a("Ekle", "Add")), 9, c0)
14201
14203
  ]),
14202
14204
  A.value ? (u(), h("div", d0, [
@@ -14436,9 +14438,9 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14436
14438
  c("button", {
14437
14439
  type: "button",
14438
14440
  class: "fx-perm-btn fx-perm-btn--ghost fx-perm-advtoggle",
14439
- onClick: Z[15] || (Z[15] = (le) => F.value = !F.value)
14440
- }, g(F.value ? a("Gelişmiş ▲", "Advanced ▲") : a("Gelişmiş ▼", "Advanced ▼")), 1),
14441
- F.value ? (u(), h("div", sk, [
14441
+ onClick: Z[15] || (Z[15] = (le) => U.value = !U.value)
14442
+ }, g(U.value ? a("Gelişmiş ▲", "Advanced ▲") : a("Gelişmiş ▼", "Advanced ▼")), 1),
14443
+ U.value ? (u(), h("div", sk, [
14442
14444
  c("label", lk, [
14443
14445
  c("span", ck, g(a("En fazla dosya", "Max files")), 1),
14444
14446
  ot(c("input", {
@@ -14454,13 +14456,13 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14454
14456
  c("label", dk, [
14455
14457
  c("span", fk, g(a("Dosya başı MB", "MB / file")), 1),
14456
14458
  ot(c("input", {
14457
- "onUpdate:modelValue": Z[17] || (Z[17] = (le) => Be.value = le),
14459
+ "onUpdate:modelValue": Z[17] || (Z[17] = (le) => Ne.value = le),
14458
14460
  type: "number",
14459
14461
  min: "1",
14460
14462
  class: "fx-perm-input fx-perm-input--sm",
14461
14463
  placeholder: "500"
14462
14464
  }, null, 512), [
14463
- [gt, Be.value]
14465
+ [gt, Ne.value]
14464
14466
  ])
14465
14467
  ]),
14466
14468
  c("label", uk, [
@@ -14625,12 +14627,12 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14625
14627
  var L;
14626
14628
  const d = R.get(l.id);
14627
14629
  if (R.delete(l.id), l.status === "error")
14628
- Ne(l.error_message || "İşlem başarısız");
14630
+ Be(l.error_message || "İşlem başarısız");
14629
14631
  else if (d)
14630
14632
  on(`${d.message} (${l.progress_total})`, d.fn);
14631
14633
  else {
14632
14634
  const j = l.op_type === "copy" ? "Kopyalandı" : l.op_type === "move" ? "Taşındı" : "Silindi";
14633
- Ne(`${j} (${l.progress_total})`);
14635
+ Be(`${j} (${l.progress_total})`);
14634
14636
  }
14635
14637
  Ge(), (L = mt.value) == null || L.reload();
14636
14638
  }
@@ -14690,7 +14692,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14690
14692
  f.setFocus(l.length === 1 ? l[0].basename : null);
14691
14693
  }
14692
14694
  );
14693
- const F = /* @__PURE__ */ E({ mode: null, items: [], sourcePath: null }), ke = /* @__PURE__ */ E(null), Be = /* @__PURE__ */ E(/* @__PURE__ */ new Set()), Ee = /* @__PURE__ */ E(!1), He = /* @__PURE__ */ E(!1), de = /* @__PURE__ */ E(null), Ce = /* @__PURE__ */ E(0);
14695
+ const U = /* @__PURE__ */ E({ mode: null, items: [], sourcePath: null }), ke = /* @__PURE__ */ E(null), Ne = /* @__PURE__ */ E(/* @__PURE__ */ new Set()), Ee = /* @__PURE__ */ E(!1), He = /* @__PURE__ */ E(!1), de = /* @__PURE__ */ E(null), Ce = /* @__PURE__ */ E(0);
14694
14696
  async function pe() {
14695
14697
  try {
14696
14698
  const l = await jr(), d = o.config.apiBase ?? "", L = await fetch(`${d}/api/files/manager/star/list?limit=500`, {
@@ -14699,14 +14701,14 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14699
14701
  });
14700
14702
  if (!L.ok) return;
14701
14703
  const j = await L.json(), te = Array.isArray(j) ? j : Array.isArray(j == null ? void 0 : j.entries) ? j.entries : Array.isArray(j == null ? void 0 : j.nodes) ? j.nodes : [];
14702
- Be.value = new Set(te.map((V) => V.id).filter((V) => typeof V == "number"));
14704
+ Ne.value = new Set(te.map((F) => F.id).filter((F) => typeof F == "number"));
14703
14705
  } catch {
14704
14706
  }
14705
14707
  }
14706
14708
  function Fe(l, d) {
14707
14709
  if (typeof l.id != "number") return;
14708
- const L = new Set(Be.value);
14709
- d ? L.add(l.id) : L.delete(l.id), Be.value = L;
14710
+ const L = new Set(Ne.value);
14711
+ d ? L.add(l.id) : L.delete(l.id), Ne.value = L;
14710
14712
  }
14711
14713
  async function $(l) {
14712
14714
  if (typeof l.id == "number")
@@ -14750,7 +14752,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14750
14752
  var l;
14751
14753
  return o.config.convertBase || ((l = ke.value) == null ? void 0 : l.convert_url) || null;
14752
14754
  }
14753
- ), O = /* @__PURE__ */ E([]), U = /* @__PURE__ */ E(null), q = /* @__PURE__ */ E(!1), ve = /* @__PURE__ */ E(!1), he = /* @__PURE__ */ E(!1), xe = /* @__PURE__ */ E(!1), we = /* @__PURE__ */ E(!1), Te = /* @__PURE__ */ E(null), Me = /* @__PURE__ */ E(!1), Ue = /* @__PURE__ */ E(null), rt = /* @__PURE__ */ E(null), ce = /* @__PURE__ */ E(null), re = /* @__PURE__ */ E("edit"), me = /* @__PURE__ */ E(!1), Pe = /* @__PURE__ */ E(null), Oe = /* @__PURE__ */ E(!1), Re = /* @__PURE__ */ E(null), Je = /* @__PURE__ */ E(
14755
+ ), O = /* @__PURE__ */ E([]), V = /* @__PURE__ */ E(null), q = /* @__PURE__ */ E(!1), ve = /* @__PURE__ */ E(!1), he = /* @__PURE__ */ E(!1), xe = /* @__PURE__ */ E(!1), we = /* @__PURE__ */ E(!1), Te = /* @__PURE__ */ E(null), Me = /* @__PURE__ */ E(!1), Ue = /* @__PURE__ */ E(null), rt = /* @__PURE__ */ E(null), ce = /* @__PURE__ */ E(null), re = /* @__PURE__ */ E("edit"), me = /* @__PURE__ */ E(!1), Pe = /* @__PURE__ */ E(null), Oe = /* @__PURE__ */ E(!1), Re = /* @__PURE__ */ E(null), Je = /* @__PURE__ */ E(
14754
14756
  (() => {
14755
14757
  try {
14756
14758
  return localStorage.getItem(Dl) === "1";
@@ -14799,8 +14801,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14799
14801
  pt(() => {
14800
14802
  var l;
14801
14803
  typeof ResizeObserver < "u" && Qe.value && (Qr = new ResizeObserver((d) => {
14802
- var j, te, V;
14803
- const L = ((te = (j = d[0]) == null ? void 0 : j.contentRect) == null ? void 0 : te.width) ?? ((V = Qe.value) == null ? void 0 : V.clientWidth) ?? 0;
14804
+ var j, te, F;
14805
+ const L = ((te = (j = d[0]) == null ? void 0 : j.contentRect) == null ? void 0 : te.width) ?? ((F = Qe.value) == null ? void 0 : F.clientWidth) ?? 0;
14804
14806
  Pt.value = L > 0 && L < 560;
14805
14807
  }), Qr.observe(Qe.value)), typeof window < "u" && window.matchMedia && (Wt = window.matchMedia("(pointer: coarse)"), na(Wt), (l = Wt.addEventListener) == null || l.call(Wt, "change", na));
14806
14808
  }), ct(() => {
@@ -14812,7 +14814,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14812
14814
  function Ri(l, d) {
14813
14815
  Qt.value = l, Zr && clearTimeout(Zr), Zr = setTimeout(() => Qt.value = null, d);
14814
14816
  }
14815
- function Ne(l) {
14817
+ function Be(l) {
14816
14818
  Ri({ message: l }, 2500);
14817
14819
  }
14818
14820
  function on(l, d) {
@@ -14826,9 +14828,9 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14826
14828
  const l = (d = Qt.value) == null ? void 0 : d.action;
14827
14829
  if (aa(), !!l)
14828
14830
  try {
14829
- await l(), Ne(i("toast.undone")), await Ge();
14831
+ await l(), Be(i("toast.undone")), await Ge();
14830
14832
  } catch {
14831
- Ne(i("toast.undo_failed"));
14833
+ Be(i("toast.undo_failed"));
14832
14834
  }
14833
14835
  }
14834
14836
  const xt = ae(() => o.config.multiStorageRoot === !0);
@@ -14883,7 +14885,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14883
14885
  x.value = String(d), Rt.value = "", B.value = [], n("error", { message: j, context: { path: l } });
14884
14886
  return;
14885
14887
  }
14886
- T.value = j, C = typeof d == "string" ? d : void 0, n("error", { message: j, context: { path: l } }), B.value.length > 0 && Ne(j);
14888
+ T.value = j, C = typeof d == "string" ? d : void 0, n("error", { message: j, context: { path: l } }), B.value.length > 0 && Be(j);
14887
14889
  } finally {
14888
14890
  M.value = !1;
14889
14891
  }
@@ -14915,7 +14917,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14915
14917
  ), G.value = ".trash", z.value = ".trash";
14916
14918
  } catch (l) {
14917
14919
  const d = l instanceof Error ? l.message : String(l);
14918
- n("error", { message: d, context: { op: "trash-list" } }), Ne(d);
14920
+ n("error", { message: d, context: { op: "trash-list" } }), Be(d);
14919
14921
  } finally {
14920
14922
  M.value = !1;
14921
14923
  }
@@ -14938,8 +14940,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14938
14940
  }
14939
14941
  function sa(l, d) {
14940
14942
  const L = (j) => {
14941
- const te = j.indexOf("://"), V = te === -1 ? "" : j.slice(0, te + 3), De = (te === -1 ? j : j.slice(te + 3)).replace(/\/+$/, "");
14942
- return V + De;
14943
+ const te = j.indexOf("://"), F = te === -1 ? "" : j.slice(0, te + 3), De = (te === -1 ? j : j.slice(te + 3)).replace(/\/+$/, "");
14944
+ return F + De;
14943
14945
  };
14944
14946
  return L(l) === L(d);
14945
14947
  }
@@ -14948,12 +14950,12 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
14948
14950
  }
14949
14951
  function Ki(l, d, L, j) {
14950
14952
  if (!j || !L) return;
14951
- const te = d.map((V) => $o(L, Ni(V)));
14953
+ const te = d.map((F) => $o(L, Ni(F)));
14952
14954
  te.length !== 0 && R.set(l, {
14953
14955
  message: i("toast.moved"),
14954
14956
  fn: async () => {
14955
- const { op: V } = await a.moveAsync(te, j, L);
14956
- P.register(V);
14957
+ const { op: F } = await a.moveAsync(te, j, L);
14958
+ P.register(F);
14957
14959
  }
14958
14960
  });
14959
14961
  }
@@ -15036,13 +15038,13 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15036
15038
  const d = String(l.path ?? "").replace(/^\/+|\/+$/g, "");
15037
15039
  if (!d) return;
15038
15040
  const L = l.type === "dir", j = d.lastIndexOf("/"), te = L ? d : j === -1 ? "" : d.slice(0, j);
15039
- let V = te;
15041
+ let F = te;
15040
15042
  if (xt.value) {
15041
15043
  const We = o.config.storages ?? [], yt = typeof l.storage == "string" && l.storage || typeof l.storage_name == "string" && l.storage_name || (We.length === 1 ? We[0].name : "") || K.value;
15042
15044
  if (!yt) return;
15043
- V = te ? `${yt}/${te}` : yt;
15045
+ F = te ? `${yt}/${te}` : yt;
15044
15046
  }
15045
- if (await Ge(V), L) return;
15047
+ if (await Ge(F), L) return;
15046
15048
  const De = String(l.name ?? d.slice(j + 1)), Ve = B.value.find((We) => We.type === "file" && We.basename === De);
15047
15049
  Ve && (_.click(Ve.path), Zt(Ve));
15048
15050
  }
@@ -15188,13 +15190,13 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15188
15190
  if (d.length !== 0)
15189
15191
  try {
15190
15192
  if (ue.value) {
15191
- const te = d.map((De) => De.id).filter((De) => typeof De == "number"), { restored: V } = await a.restoreIds(te);
15192
- Ne(`${V} öğe geri getirildi`), _.clear(), await ko();
15193
+ const te = d.map((De) => De.id).filter((De) => typeof De == "number"), { restored: F } = await a.restoreIds(te);
15194
+ Be(`${F} öğe geri getirildi`), _.clear(), await ko();
15193
15195
  return;
15194
15196
  }
15195
15197
  if (!a.endpoints.restore) return;
15196
15198
  const L = d.map((te) => te.path), { restored: j } = await a.restore(L);
15197
- Ne(`${j} öğe geri getirildi`), _.clear(), await Ge();
15199
+ Be(`${j} öğe geri getirildi`), _.clear(), await Ge();
15198
15200
  } catch (L) {
15199
15201
  n("error", { message: L.message, context: { op: "restore" } });
15200
15202
  }
@@ -15208,8 +15210,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15208
15210
  }
15209
15211
  function Md(l) {
15210
15212
  if (l.type === "dir") {
15211
- const V = xt.value ? eo(l.path) : Kr(l.path);
15212
- Ge(V);
15213
+ const F = xt.value ? eo(l.path) : Kr(l.path);
15214
+ Ge(F);
15213
15215
  return;
15214
15216
  }
15215
15217
  if (jt.value) {
@@ -15265,11 +15267,11 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15265
15267
  { key: "copy-path", label: i("breadcrumb.copy_path"), icon: "📋" }
15266
15268
  ];
15267
15269
  if (It.value === "pane") {
15268
- const V = to.value;
15269
- return V.length === 0 ? [
15270
+ const F = to.value;
15271
+ return F.length === 0 ? [
15270
15272
  { key: "new-folder", label: i("toolbar.new_folder"), icon: "📁" },
15271
- { key: "paste", label: i("ctx.paste"), icon: "📋", disabled: !F.value.mode }
15272
- ] : fa(V);
15273
+ { key: "paste", label: i("ctx.paste"), icon: "📋", disabled: !U.value.mode }
15274
+ ] : fa(F);
15273
15275
  }
15274
15276
  const l = _.nodes.value, d = l.length > 0, L = l.length === 1;
15275
15277
  if (ye.value)
@@ -15284,12 +15286,12 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15284
15286
  { key: "open-tab", label: i("ctx.open_new_tab"), icon: "⧉" }
15285
15287
  ] : [] : [] : d ? fa(l) : $e(W.value) ? [
15286
15288
  { key: "new-folder", label: i("toolbar.new_folder"), icon: "📁" },
15287
- { key: "paste", label: i("ctx.paste"), icon: "📋", disabled: !F.value.mode }
15289
+ { key: "paste", label: i("ctx.paste"), icon: "📋", disabled: !U.value.mode }
15288
15290
  ] : [];
15289
15291
  });
15290
15292
  function fa(l) {
15291
15293
  var hs, ms, gs;
15292
- const d = l.length > 0, L = l.length === 1, j = L && ((hs = l[0]) == null ? void 0 : hs.type) === "file", te = s.value === "en" ? "Tags…" : "Etiketler…", V = L && typeof ((ms = l[0]) == null ? void 0 : ms.id) == "number", De = s.value === "en" ? "Copy node id" : "Node id'yi kopyala", Ve = at(l), We = $e(Ve), yt = s.value === "en" ? "Share / Permissions" : "Paylaş / İzinler";
15294
+ const d = l.length > 0, L = l.length === 1, j = L && ((hs = l[0]) == null ? void 0 : hs.type) === "file", te = s.value === "en" ? "Tags…" : "Etiketler…", F = L && typeof ((ms = l[0]) == null ? void 0 : ms.id) == "number", De = s.value === "en" ? "Copy node id" : "Node id'yi kopyala", Ve = at(l), We = $e(Ve), yt = s.value === "en" ? "Share / Permissions" : "Paylaş / İzinler";
15293
15295
  return [
15294
15296
  { key: "open", label: i("ctx.open"), icon: "↗", hidden: !L },
15295
15297
  { key: "open-tab", label: i("ctx.open_new_tab"), icon: "⧉", hidden: !L || ((gs = l[0]) == null ? void 0 : gs.type) !== "dir" },
@@ -15304,14 +15306,14 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15304
15306
  /* wiring:e2 — paylaşım MVP'de kapalı (link ciphertext verir) */
15305
15307
  },
15306
15308
  { key: "details", label: i("ctx.details"), icon: "ℹ", hidden: !d },
15307
- { key: "copy-id", label: De, icon: "🆔", hidden: !V, disabled: !V },
15309
+ { key: "copy-id", label: De, icon: "🆔", hidden: !F, disabled: !F },
15308
15310
  { divider: !0, key: "sep1", label: "", hidden: !We },
15309
15311
  { key: "rename", label: i("ctx.rename"), icon: "✎", hidden: !L || !We, disabled: !L },
15310
15312
  { key: "cut", label: i("ctx.cut"), icon: "✂", hidden: !d || !We, disabled: !d },
15311
15313
  { key: "copy", label: i("ctx.copy"), icon: "❐", hidden: !d, disabled: !d },
15312
- { key: "paste", label: i("ctx.paste"), icon: "📋", hidden: !We, disabled: !F.value.mode },
15313
- { divider: !0, key: "sep-meta", label: "", hidden: !V },
15314
- { key: "tags", label: te, icon: "🏷", hidden: !V, disabled: !V },
15314
+ { key: "paste", label: i("ctx.paste"), icon: "📋", hidden: !We, disabled: !U.value.mode },
15315
+ { divider: !0, key: "sep-meta", label: "", hidden: !F },
15316
+ { key: "tags", label: te, icon: "🏷", hidden: !F, disabled: !F },
15315
15317
  { divider: !0, key: "sep2", label: "", hidden: !We },
15316
15318
  { key: "delete", label: i("ctx.delete"), icon: "🗑", danger: !0, hidden: !d || !We, disabled: !d }
15317
15319
  ];
@@ -15365,8 +15367,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15365
15367
  if (d[0] && typeof d[0].id == "number") {
15366
15368
  const j = d[0].id;
15367
15369
  (L = navigator.clipboard) == null || L.writeText(String(j)).then(
15368
- () => Ne(s.value === "en" ? `Node id ${j} copied` : `Node id ${j} kopyalandı`),
15369
- () => Ne(`#${j}`)
15370
+ () => Be(s.value === "en" ? `Node id ${j} copied` : `Node id ${j} kopyalandı`),
15371
+ () => Be(`#${j}`)
15370
15372
  );
15371
15373
  }
15372
15374
  break;
@@ -15377,10 +15379,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15377
15379
  d[0] && (Te.value = d[0], Me.value = It.value === "pane", ve.value = !0);
15378
15380
  break;
15379
15381
  case "cut":
15380
- It.value === "pane" ? ls() : (F.value = { mode: "cut", items: d, sourcePath: z.value }, Ne("Kes → Yapıştır hazır"));
15382
+ It.value === "pane" ? ls() : (U.value = { mode: "cut", items: d, sourcePath: z.value }, Be("Kes → Yapıştır hazır"));
15381
15383
  break;
15382
15384
  case "copy":
15383
- It.value === "pane" ? cs() : (F.value = { mode: "copy", items: d, sourcePath: z.value }, Ne("Kopyala → Yapıştır hazır"));
15385
+ It.value === "pane" ? cs() : (U.value = { mode: "copy", items: d, sourcePath: z.value }, Be("Kopyala → Yapıştır hazır"));
15384
15386
  break;
15385
15387
  case "paste":
15386
15388
  It.value === "pane" || Kt.value ? await ds() : await Yi();
@@ -15403,28 +15405,28 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15403
15405
  }
15404
15406
  }
15405
15407
  function Kd() {
15406
- _.isEmpty.value || (F.value = { mode: "cut", items: _.nodes.value, sourcePath: z.value }, Ne("Kesildi"));
15408
+ _.isEmpty.value || (U.value = { mode: "cut", items: _.nodes.value, sourcePath: z.value }, Be("Kesildi"));
15407
15409
  }
15408
15410
  function jd() {
15409
- _.isEmpty.value || (F.value = { mode: "copy", items: _.nodes.value, sourcePath: z.value }, Ne("Kopyalandı"));
15411
+ _.isEmpty.value || (U.value = { mode: "copy", items: _.nodes.value, sourcePath: z.value }, Be("Kopyalandı"));
15410
15412
  }
15411
15413
  async function Yi() {
15412
- const l = F.value;
15414
+ const l = U.value;
15413
15415
  if (!(!l.mode || l.items.length === 0))
15414
15416
  try {
15415
15417
  const d = l.items.map((te) => te.path), L = l.sourcePath || "";
15416
15418
  if (l.mode === "cut" && L === z.value) {
15417
- Ne("Aynı klasöre kesilemez");
15419
+ Be("Aynı klasöre kesilemez");
15418
15420
  return;
15419
15421
  }
15420
15422
  if (l.mode === "cut") {
15421
- const te = ut(z.value), V = ut(L) || void 0, { op: De } = await a.moveAsync(d, te, V);
15422
- Ki(De.id, d, te, V), P.register(De), Ne("Taşıma kuyruğa alındı");
15423
+ const te = ut(z.value), F = ut(L) || void 0, { op: De } = await a.moveAsync(d, te, F);
15424
+ Ki(De.id, d, te, F), P.register(De), Be("Taşıma kuyruğa alındı");
15423
15425
  } else {
15424
15426
  const { op: te } = await a.copy(d, ut(z.value));
15425
- P.register(te), Ne("Kopyalama kuyruğa alındı");
15427
+ P.register(te), Be("Kopyalama kuyruğa alındı");
15426
15428
  }
15427
- F.value = { mode: null, items: [], sourcePath: null };
15429
+ U.value = { mode: null, items: [], sourcePath: null };
15428
15430
  } catch (d) {
15429
15431
  n("error", { message: d.message, context: { op: "paste" } });
15430
15432
  }
@@ -15461,21 +15463,21 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15461
15463
  if (!d) return;
15462
15464
  const L = Me.value;
15463
15465
  try {
15464
- const V = ut(L ? ((j = mt.value) == null ? void 0 : j.getPath()) ?? "" : z.value), De = d.path, Ve = d.basename;
15465
- if (await a.rename(V, De, l), ve.value = !1, Te.value = null, L ? await ((te = mt.value) == null ? void 0 : te.reload()) : await Ge(), l && l !== Ve) {
15466
+ const F = ut(L ? ((j = mt.value) == null ? void 0 : j.getPath()) ?? "" : z.value), De = d.path, Ve = d.basename;
15467
+ if (await a.rename(F, De, l), ve.value = !1, Te.value = null, L ? await ((te = mt.value) == null ? void 0 : te.reload()) : await Ge(), l && l !== Ve) {
15466
15468
  const We = $o(nn(De), l);
15467
15469
  on(i("toast.renamed"), async () => {
15468
- await a.rename(V, We, Ve);
15470
+ await a.rename(F, We, Ve);
15469
15471
  });
15470
15472
  }
15471
- } catch (V) {
15472
- n("error", { message: V.message, context: { op: "rename" } });
15473
+ } catch (F) {
15474
+ n("error", { message: F.message, context: { op: "rename" } });
15473
15475
  }
15474
15476
  }
15475
15477
  async function Wd() {
15476
15478
  var De, Ve, We;
15477
15479
  if (ue.value) {
15478
- he.value = !1, Ne("Çöpteki öğeler saklama süresi sonunda otomatik silinir. Kalıcı silme yönetici panelinden yapılır.");
15480
+ he.value = !1, Be("Çöpteki öğeler saklama süresi sonunda otomatik silinir. Kalıcı silme yönetici panelinden yapılır.");
15479
15481
  return;
15480
15482
  }
15481
15483
  const l = Me.value, d = l ? to.value : _.nodes.value, L = ut(l ? ((De = mt.value) == null ? void 0 : De.getPath()) ?? "" : z.value), j = d.map((yt) => yt.path);
@@ -15483,16 +15485,16 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15483
15485
  he.value = !1;
15484
15486
  return;
15485
15487
  }
15486
- const te = d.map((yt) => yt.id).filter((yt) => typeof yt == "number"), V = a.endpoints.trashRestore && te.length === d.length ? async () => {
15488
+ const te = d.map((yt) => yt.id).filter((yt) => typeof yt == "number"), F = a.endpoints.trashRestore && te.length === d.length ? async () => {
15487
15489
  const { restored: yt } = await a.restoreIds(te);
15488
15490
  if (yt === 0) throw new Error("restore failed");
15489
15491
  } : null;
15490
15492
  try {
15491
15493
  if (a.endpoints.deleteAsync) {
15492
15494
  const { op: yt } = await a.deleteAsync(j, L);
15493
- V && R.set(yt.id, { message: i("toast.trashed"), fn: V }), P.register(yt), Ne("Silme kuyruğa alındı");
15495
+ F && R.set(yt.id, { message: i("toast.trashed"), fn: F }), P.register(yt), Be("Silme kuyruğa alındı");
15494
15496
  } else
15495
- await a.deleteItems(L, j), l ? await ((Ve = mt.value) == null ? void 0 : Ve.reload()) : await Ge(), V && on(i("toast.trashed"), V);
15497
+ await a.deleteItems(L, j), l ? await ((Ve = mt.value) == null ? void 0 : Ve.reload()) : await Ge(), F && on(i("toast.trashed"), F);
15496
15498
  he.value = !1, l ? (We = mt.value) == null || We.reload() : _.clear();
15497
15499
  } catch (yt) {
15498
15500
  n("error", { message: yt.message, context: { op: "delete" } });
@@ -15505,7 +15507,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15505
15507
  Pe.value = l, me.value = !0;
15506
15508
  }
15507
15509
  function Gd(l) {
15508
- Ne(s.value === "en" ? `Converted → ${l}` : `Dönüştürüldü → ${l}`), Ge();
15510
+ Be(s.value === "en" ? `Converted → ${l}` : `Dönüştürüldü → ${l}`), Ge();
15509
15511
  }
15510
15512
  async function Jd(l) {
15511
15513
  const d = Ue.value;
@@ -15529,10 +15531,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15529
15531
  function ln() {
15530
15532
  var l;
15531
15533
  if (!le.value) {
15532
- Ne(s.value === "en" ? "Read-only here" : "Burada yazma yetkiniz yok");
15534
+ Be(s.value === "en" ? "Read-only here" : "Burada yazma yetkiniz yok");
15533
15535
  return;
15534
15536
  }
15535
- (l = U.value) == null || l.click();
15537
+ (l = V.value) == null || l.click();
15536
15538
  }
15537
15539
  function Qd(l) {
15538
15540
  const d = l.target, L = d.files ? Array.from(d.files) : [];
@@ -15541,7 +15543,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15541
15543
  async function qi(l) {
15542
15544
  if (l.length === 0) return;
15543
15545
  if (ka.value) {
15544
- Ne(i("e2e.upload.locked"));
15546
+ Be(i("e2e.upload.locked"));
15545
15547
  return;
15546
15548
  }
15547
15549
  if (er.value && (l = await Nf(l), l.length === 0))
@@ -15559,18 +15561,19 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15559
15561
  } }
15560
15562
  ];
15561
15563
  const j = (te) => {
15562
- const V = O.value.findIndex((Ve) => Ve.id === d);
15563
- if (V === -1) return;
15564
+ const F = O.value.findIndex((Ve) => Ve.id === d);
15565
+ if (F === -1) return;
15564
15566
  const De = [...O.value];
15565
- De[V] = { ...De[V], ...te }, O.value = De;
15567
+ De[F] = { ...De[F], ...te }, O.value = De;
15566
15568
  };
15567
15569
  try {
15568
15570
  await a.uploadMultipart(L, [l], (te) => {
15569
15571
  j({ percent: te, uploadedBytes: Math.round(te / 100 * l.size) }), n("upload-progress", { uploadId: d, percent: te, done: te >= 100 });
15570
15572
  }), j({ percent: 100, uploadedBytes: l.size, status: "done" }), n("upload-progress", { uploadId: d, percent: 100, done: !0 });
15571
15573
  } catch (te) {
15572
- j({ status: "error" }), n("error", {
15573
- message: te.message,
15574
+ const F = te.message;
15575
+ j({ status: "error", error: F }), Be(i("upload.failed", { name: l.name })), n("error", {
15576
+ message: F,
15574
15577
  context: { op: "upload", file: l.name }
15575
15578
  });
15576
15579
  }
@@ -15584,10 +15587,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15584
15587
  file: l,
15585
15588
  onProgress: (j) => {
15586
15589
  if (L) {
15587
- const te = O.value.findIndex((V) => V.id === d);
15590
+ const te = O.value.findIndex((F) => F.id === d);
15588
15591
  if (te !== -1) {
15589
- const V = [...O.value];
15590
- V[te] = { ...j, id: d }, O.value = V;
15592
+ const F = [...O.value];
15593
+ F[te] = { ...j, id: d }, O.value = F;
15591
15594
  }
15592
15595
  } else {
15593
15596
  if (j.status !== "uploading" && j.uploadedBytes <= 0) return;
@@ -15636,12 +15639,12 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15636
15639
  function nf(l) {
15637
15640
  var L, j, te;
15638
15641
  if ((L = l.dataTransfer) != null && L.types.includes(Ir)) {
15639
- const V = l.dataTransfer.getData(Ya) || "", De = ut(z.value);
15640
- if (V && De && V !== De && !ue.value && le.value) {
15642
+ const F = l.dataTransfer.getData(Ya) || "", De = ut(z.value);
15643
+ if (F && De && F !== De && !ue.value && le.value) {
15641
15644
  l.preventDefault(), Ar.value = 0, Mr.value = !1;
15642
15645
  try {
15643
15646
  const Ve = JSON.parse(l.dataTransfer.getData(Ir));
15644
- To(Ve.map((We) => We.path), De, V);
15647
+ To(Ve.map((We) => We.path), De, F);
15645
15648
  } catch {
15646
15649
  }
15647
15650
  return;
@@ -15656,7 +15659,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15656
15659
  return;
15657
15660
  }
15658
15661
  if (l.preventDefault(), Ar.value = 0, Mr.value = !1, !le.value) {
15659
- Ne(s.value === "en" ? "Read-only here" : "Burada yazma yetkiniz yok");
15662
+ Be(s.value === "en" ? "Read-only here" : "Burada yazma yetkiniz yok");
15660
15663
  return;
15661
15664
  }
15662
15665
  const d = (te = l.dataTransfer) != null && te.files ? Array.from(l.dataTransfer.files) : [];
@@ -15675,7 +15678,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15675
15678
  }), ct(() => {
15676
15679
  window.removeEventListener("dragover", Gi), window.removeEventListener("drop", Ji), window.removeEventListener("hashchange", Hi);
15677
15680
  });
15678
- const cn = ae(() => F.value.mode !== "cut" ? /* @__PURE__ */ new Set() : new Set(F.value.items.map((l) => l.path)));
15681
+ const cn = ae(() => U.value.mode !== "cut" ? /* @__PURE__ */ new Set() : new Set(U.value.items.map((l) => l.path)));
15679
15682
  function va(l, d) {
15680
15683
  if (!d.dataTransfer) return;
15681
15684
  if (l.basename === ".trash") {
@@ -15691,13 +15694,13 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15691
15694
  try {
15692
15695
  const te = j ?? ut(z.value);
15693
15696
  if (a.endpoints.moveAsync) {
15694
- const { op: V } = await a.moveAsync(l, d, te);
15695
- Ki(V.id, l, d, te), P.register(V), Ne("Taşıma kuyruğa alındı");
15697
+ const { op: F } = await a.moveAsync(l, d, te);
15698
+ Ki(F.id, l, d, te), P.register(F), Be("Taşıma kuyruğa alındı");
15696
15699
  } else {
15697
15700
  await a.move(te, l, d), await Ge();
15698
- const V = l.map((De) => $o(d, Ni(De)));
15701
+ const F = l.map((De) => $o(d, Ni(De)));
15699
15702
  on(i("toast.moved"), async () => {
15700
- await a.move(d, V, te);
15703
+ await a.move(d, F, te);
15701
15704
  });
15702
15705
  }
15703
15706
  _.clear();
@@ -15717,8 +15720,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15717
15720
  return;
15718
15721
  }
15719
15722
  if (j.length === 0) return;
15720
- const te = l.path, V = j.map((Ve) => Ve.path).filter((Ve) => Ve && Ve !== te && !te.startsWith(Ve + "/") && !sa(nn(Ve), te));
15721
- V.length !== 0 && await To(V, te, us(d));
15723
+ const te = l.path, F = j.map((Ve) => Ve.path).filter((Ve) => Ve && Ve !== te && !te.startsWith(Ve + "/") && !sa(nn(Ve), te));
15724
+ F.length !== 0 && await To(F, te, us(d));
15722
15725
  }
15723
15726
  async function sf(l, d) {
15724
15727
  var De;
@@ -15731,8 +15734,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15731
15734
  return;
15732
15735
  }
15733
15736
  if (j.length === 0) return;
15734
- const te = l, V = j.map((Ve) => Ve.path).filter((Ve) => Ve && Ve !== te && !te.startsWith(Ve + "/") && !sa(nn(Ve), te));
15735
- V.length !== 0 && await To(V, te, us(d));
15737
+ const te = l, F = j.map((Ve) => Ve.path).filter((Ve) => Ve && Ve !== te && !te.startsWith(Ve + "/") && !sa(nn(Ve), te));
15738
+ F.length !== 0 && await To(F, te, us(d));
15736
15739
  }
15737
15740
  function lf(l) {
15738
15741
  l.cancel();
@@ -15753,7 +15756,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15753
15756
  }
15754
15757
  async function Xi(l) {
15755
15758
  try {
15756
- await navigator.clipboard.writeText(l), Ne(i("breadcrumb.copy_path"));
15759
+ await navigator.clipboard.writeText(l), Be(i("breadcrumb.copy_path"));
15757
15760
  } catch {
15758
15761
  }
15759
15762
  }
@@ -15795,7 +15798,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15795
15798
  try {
15796
15799
  await Sa(d);
15797
15800
  } catch {
15798
- Ne(i("e2e.decrypt_failed"));
15801
+ Be(i("e2e.decrypt_failed"));
15799
15802
  return;
15800
15803
  }
15801
15804
  pr.value = d, Dr.value = !0, $(d);
@@ -15806,10 +15809,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15806
15809
  }
15807
15810
  }
15808
15811
  function pf(l) {
15809
- const d = B.value.filter((V) => V.type === "file");
15812
+ const d = B.value.filter((F) => F.type === "file");
15810
15813
  if (d.length === 0) return;
15811
15814
  const L = pr.value;
15812
- let j = L ? d.findIndex((V) => V.path === L.path) : -1;
15815
+ let j = L ? d.findIndex((F) => F.path === L.path) : -1;
15813
15816
  j = j === -1 ? l > 0 ? 0 : d.length - 1 : (j + l + d.length) % d.length;
15814
15817
  const te = d[j];
15815
15818
  !te || te.path === (L == null ? void 0 : L.path) || _.click(te.path);
@@ -15839,25 +15842,25 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15839
15842
  );
15840
15843
  const ga = s1();
15841
15844
  function hf(l) {
15842
- O.value = O.value.filter((V) => V.id !== l.id);
15845
+ O.value = O.value.filter((F) => F.id !== l.id);
15843
15846
  const d = l.file, L = l.path || ut(z.value), j = crypto.randomUUID();
15844
15847
  O.value = [
15845
15848
  ...O.value,
15846
15849
  { id: j, file: d, path: L, totalBytes: d.size, uploadedBytes: 0, percent: 0, status: "uploading", cancel() {
15847
15850
  } }
15848
15851
  ];
15849
- const te = (V) => {
15852
+ const te = (F) => {
15850
15853
  const De = O.value.findIndex((We) => We.id === j);
15851
15854
  if (De === -1) return;
15852
15855
  const Ve = [...O.value];
15853
- Ve[De] = { ...Ve[De], ...V }, O.value = Ve;
15856
+ Ve[De] = { ...Ve[De], ...F }, O.value = Ve;
15854
15857
  };
15855
- a.uploadMultipart(L, [d], (V) => {
15856
- te({ percent: V, uploadedBytes: Math.round(V / 100 * d.size) }), n("upload-progress", { uploadId: j, percent: V, done: V >= 100 });
15858
+ a.uploadMultipart(L, [d], (F) => {
15859
+ te({ percent: F, uploadedBytes: Math.round(F / 100 * d.size) }), n("upload-progress", { uploadId: j, percent: F, done: F >= 100 });
15857
15860
  }).then(() => {
15858
15861
  te({ percent: 100, uploadedBytes: d.size, status: "done" }), n("upload-progress", { uploadId: j, percent: 100, done: !0 }), Ge();
15859
- }).catch((V) => {
15860
- te({ status: "error", error: V.message }), n("error", { message: V.message, context: { op: "upload-retry", file: d.name } });
15862
+ }).catch((F) => {
15863
+ te({ status: "error", error: F.message }), Be(i("upload.failed", { name: d.name })), n("error", { message: F.message, context: { op: "upload-retry", file: d.name } });
15861
15864
  });
15862
15865
  }
15863
15866
  const un = /* @__PURE__ */ E(!1);
@@ -15945,7 +15948,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
15945
15948
  if (l.button !== 1) return;
15946
15949
  const d = l.target, L = d && typeof d.closest == "function" ? d.closest("[data-fe-path]") : null, j = L == null ? void 0 : L.getAttribute("data-fe-path");
15947
15950
  if (!j) return;
15948
- const te = B.value.find((V) => V.path === j);
15951
+ const te = B.value.find((F) => F.path === j);
15949
15952
  !te || te.type !== "dir" || te.basename === ".trash" || (l.preventDefault(), rs(te));
15950
15953
  }
15951
15954
  function ns(l) {
@@ -16008,22 +16011,22 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16008
16011
  function ls() {
16009
16012
  var d, L;
16010
16013
  const l = ((d = mt.value) == null ? void 0 : d.selectedNodes()) ?? [];
16011
- l.length !== 0 && (F.value = { mode: "cut", items: l, sourcePath: ((L = mt.value) == null ? void 0 : L.getPath()) ?? "" }, Ne("Kesildi"));
16014
+ l.length !== 0 && (U.value = { mode: "cut", items: l, sourcePath: ((L = mt.value) == null ? void 0 : L.getPath()) ?? "" }, Be("Kesildi"));
16012
16015
  }
16013
16016
  function cs() {
16014
16017
  var d, L;
16015
16018
  const l = ((d = mt.value) == null ? void 0 : d.selectedNodes()) ?? [];
16016
- l.length !== 0 && (F.value = { mode: "copy", items: l, sourcePath: ((L = mt.value) == null ? void 0 : L.getPath()) ?? "" }, Ne("Kopyalandı"));
16019
+ l.length !== 0 && (U.value = { mode: "copy", items: l, sourcePath: ((L = mt.value) == null ? void 0 : L.getPath()) ?? "" }, Be("Kopyalandı"));
16017
16020
  }
16018
16021
  async function ds() {
16019
- const l = F.value, d = mt.value;
16022
+ const l = U.value, d = mt.value;
16020
16023
  if (!l.mode || l.items.length === 0 || !d) return;
16021
16024
  const L = ut(d.getPath() ?? ""), j = ut(l.sourcePath || "") || void 0;
16022
16025
  if (l.mode === "cut" && j === L) {
16023
- Ne("Aynı klasöre kesilemez");
16026
+ Be("Aynı klasöre kesilemez");
16024
16027
  return;
16025
16028
  }
16026
- await To(l.items.map((te) => te.path), L, j, l.mode === "copy"), F.value = { mode: null, items: [], sourcePath: null };
16029
+ await To(l.items.map((te) => te.path), L, j, l.mode === "copy"), U.value = { mode: null, items: [], sourcePath: null };
16027
16030
  }
16028
16031
  function fs(l) {
16029
16032
  const d = l.indexOf("://");
@@ -16039,13 +16042,13 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16039
16042
  (We) => We && We !== d && !d.startsWith(We + "/") && !sa(nn(We), d)
16040
16043
  );
16041
16044
  if (te.length === 0 || !d) return;
16042
- const V = fs(d), De = te.some((We) => fs(We) !== V);
16045
+ const F = fs(d), De = te.some((We) => fs(We) !== F);
16043
16046
  if (De || j)
16044
16047
  try {
16045
16048
  const { op: We } = await a.copy(te, d);
16046
- P.register(We), Ne(i(De ? "split.cross_copy" : "split.copy_queued"));
16049
+ P.register(We), Be(i(De ? "split.cross_copy" : "split.copy_queued"));
16047
16050
  } catch (We) {
16048
- n("error", { message: We.message, context: { op: "transfer", targetWire: d } }), Ne(De ? i("split.cross_failed") : We.message);
16051
+ n("error", { message: We.message, context: { op: "transfer", targetWire: d } }), Be(De ? i("split.cross_failed") : We.message);
16049
16052
  return;
16050
16053
  }
16051
16054
  else
@@ -16093,7 +16096,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16093
16096
  }
16094
16097
  }
16095
16098
  function Lf() {
16096
- Rt.value && (ro.lock(Rt.value), Eo.value++, ps(), Ne(i("e2e.locked_toast")));
16099
+ Rt.value && (ro.lock(Rt.value), Eo.value++, ps(), Be(i("e2e.locked_toast")));
16097
16100
  }
16098
16101
  const Rf = {
16099
16102
  txt: "text/plain",
@@ -16135,8 +16138,8 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16135
16138
  if (!L) return null;
16136
16139
  const j = await a.fetchArrayBuffer(l.path);
16137
16140
  if (!vi(j)) return null;
16138
- const te = await El(L, j), V = URL.createObjectURL(new Blob([te], { type: vs(l) }));
16139
- return Ao.set(l.path, V), V;
16141
+ const te = await El(L, j), F = URL.createObjectURL(new Blob([te], { type: vs(l) }));
16142
+ return Ao.set(l.path, F), F;
16140
16143
  }
16141
16144
  function hn(l) {
16142
16145
  return Ao.get(l) ?? a.previewUrl(l);
@@ -16145,7 +16148,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16145
16148
  try {
16146
16149
  await Sa(l);
16147
16150
  } catch {
16148
- Ne(i("e2e.decrypt_failed"));
16151
+ Be(i("e2e.decrypt_failed"));
16149
16152
  return;
16150
16153
  }
16151
16154
  re.value = "view", ce.value = l, we.value = !0, n("file-opened", { path: l.path, basename: l.basename }), $(l);
@@ -16158,10 +16161,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16158
16161
  if (!L) throw new Error("locked");
16159
16162
  j = await El(L, d);
16160
16163
  }
16161
- const te = URL.createObjectURL(new Blob([j], { type: vs(l) })), V = document.createElement("a");
16162
- V.href = te, V.download = l.basename, document.body.appendChild(V), V.click(), V.remove(), setTimeout(() => URL.revokeObjectURL(te), 3e4);
16164
+ const te = URL.createObjectURL(new Blob([j], { type: vs(l) })), F = document.createElement("a");
16165
+ F.href = te, F.download = l.basename, document.body.appendChild(F), F.click(), F.remove(), setTimeout(() => URL.revokeObjectURL(te), 3e4);
16163
16166
  } catch {
16164
- Ne(i("e2e.download.failed"));
16167
+ Be(i("e2e.download.failed"));
16165
16168
  }
16166
16169
  }
16167
16170
  async function Nf(l) {
@@ -16171,7 +16174,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16171
16174
  for (const j of l)
16172
16175
  if (j.name !== Sn) {
16173
16176
  if (j.size > fd) {
16174
- Ne(i("e2e.upload.too_big"));
16177
+ Be(i("e2e.upload.too_big"));
16175
16178
  continue;
16176
16179
  }
16177
16180
  try {
@@ -16185,7 +16188,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16185
16188
  }
16186
16189
  async function Kf(l) {
16187
16190
  if (jt.value) {
16188
- Ne(i("e2e.create.nested"));
16191
+ Be(i("e2e.create.nested"));
16189
16192
  return;
16190
16193
  }
16191
16194
  $a.value = !0;
@@ -16194,10 +16197,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16194
16197
  await a.newFolder(d, l.name);
16195
16198
  const { marker: L, kek: j } = await M1(l.password), te = new File([JSON.stringify(L)], Sn, {
16196
16199
  type: "application/json"
16197
- }), V = $o(d, l.name);
16198
- await a.uploadMultipart(V, [te]), ro.set(V, j), Eo.value++, vn.value = !1, Ne(i("e2e.create.done")), await Ge();
16200
+ }), F = $o(d, l.name);
16201
+ await a.uploadMultipart(F, [te]), ro.set(F, j), Eo.value++, vn.value = !1, Be(i("e2e.create.done")), await Ge();
16199
16202
  } catch (d) {
16200
- n("error", { message: d.message, context: { op: "e2e-create" } }), Ne(i("e2e.create.failed"));
16203
+ n("error", { message: d.message, context: { op: "e2e-create" } }), Be(i("e2e.create.failed"));
16201
16204
  } finally {
16202
16205
  $a.value = !1;
16203
16206
  }
@@ -16231,7 +16234,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16231
16234
  onSelect: kf,
16232
16235
  onClose: ts,
16233
16236
  onNew: ya,
16234
- onReorder: d[0] || (d[0] = (V, De) => m(ht).move(V, De)),
16237
+ onReorder: d[0] || (d[0] = (F, De) => m(ht).move(F, De)),
16235
16238
  onToggleSplit: as
16236
16239
  }, null, 8, ["tabs", "active-id", "locale", "split-enabled", "split-active"])) : J("", !0),
16237
16240
  Ie(nm, {
@@ -16242,7 +16245,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16242
16245
  "trash-active": ye.value,
16243
16246
  actions: Bd.value,
16244
16247
  "selection-mode": zd.value,
16245
- "paste-enabled": !!F.value.mode,
16248
+ "paste-enabled": !!U.value.mode,
16246
16249
  "convert-enabled": !!_e.value,
16247
16250
  "can-go-up": N.value,
16248
16251
  "at-virtual-root": k.value,
@@ -16252,17 +16255,17 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16252
16255
  theme: e.config.theme || "auto",
16253
16256
  "inspector-open": Je.value,
16254
16257
  onToggleInspector: Ot,
16255
- onOpenTheme: d[1] || (d[1] = (V) => dn.value = !0),
16256
- "onUpdate:viewMode": d[2] || (d[2] = (V) => ss(V)),
16257
- "onUpdate:searchQuery": d[3] || (d[3] = (V) => be.value = V),
16258
- "onUpdate:density": d[4] || (d[4] = (V) => ee.value = V),
16259
- onOpenShortcutSettings: d[5] || (d[5] = (V) => Co.value = !0),
16260
- onNewFolder: d[6] || (d[6] = (V) => q.value = !0),
16258
+ onOpenTheme: d[1] || (d[1] = (F) => dn.value = !0),
16259
+ "onUpdate:viewMode": d[2] || (d[2] = (F) => ss(F)),
16260
+ "onUpdate:searchQuery": d[3] || (d[3] = (F) => be.value = F),
16261
+ "onUpdate:density": d[4] || (d[4] = (F) => ee.value = F),
16262
+ onOpenShortcutSettings: d[5] || (d[5] = (F) => Co.value = !0),
16263
+ onNewFolder: d[6] || (d[6] = (F) => q.value = !0),
16261
16264
  onUpload: ln,
16262
16265
  onRefresh: d[7] || (d[7] = () => Ge()),
16263
16266
  onGoUp: b,
16264
16267
  onAction: Pd,
16265
- onOpenRecents: d[8] || (d[8] = (V) => Ee.value = !0)
16268
+ onOpenRecents: d[8] || (d[8] = (F) => Ee.value = !0)
16266
16269
  }, null, 8, ["view-mode", "search-query", "trash-active", "actions", "selection-mode", "paste-enabled", "convert-enabled", "can-go-up", "at-virtual-root", "can-write", "locale", "narrow", "theme", "inspector-open", "onToggleInspector"]),
16267
16270
  c("div", {
16268
16271
  class: Se([
@@ -16323,22 +16326,22 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16323
16326
  ])) : J("", !0),
16324
16327
  c("div", {
16325
16328
  class: "fe__body",
16326
- onPointerdownCapture: d[13] || (d[13] = (V) => Mf()),
16327
- onClick: d[14] || (d[14] = Ye((V) => m(_).clear(), ["self"]))
16329
+ onPointerdownCapture: d[13] || (d[13] = (F) => Mf()),
16330
+ onClick: d[14] || (d[14] = Ye((F) => m(_).clear(), ["self"]))
16328
16331
  }, [
16329
16332
  M.value && B.value.length === 0 ? (u(), h("div", Dk, [
16330
16333
  c("span", zk, g(m(i)("loading")), 1),
16331
16334
  Y.value !== "list" ? (u(), h("div", Pk, [
16332
- (u(), h(fe, null, ze(8, (V) => c("div", {
16333
- key: V,
16335
+ (u(), h(fe, null, ze(8, (F) => c("div", {
16336
+ key: F,
16334
16337
  class: "fe-skel-card"
16335
16338
  }, [...d[52] || (d[52] = [
16336
16339
  c("div", { class: "fe-skel fe-skel--thumb" }, null, -1),
16337
16340
  c("div", { class: "fe-skel fe-skel--label" }, null, -1)
16338
16341
  ])])), 64))
16339
16342
  ])) : (u(), h("div", Ik, [
16340
- (u(), h(fe, null, ze(8, (V) => c("div", {
16341
- key: V,
16343
+ (u(), h(fe, null, ze(8, (F) => c("div", {
16344
+ key: F,
16342
16345
  class: "fe-skel-row"
16343
16346
  }, [...d[53] || (d[53] = [
16344
16347
  c("div", { class: "fe-skel fe-skel--icon" }, null, -1),
@@ -16404,7 +16407,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16404
16407
  onSubmit: Ye(Of, ["prevent"])
16405
16408
  }, [
16406
16409
  ot(c("input", {
16407
- "onUpdate:modelValue": d[9] || (d[9] = (V) => oo.value = V),
16410
+ "onUpdate:modelValue": d[9] || (d[9] = (F) => oo.value = F),
16408
16411
  type: "password",
16409
16412
  class: "fe-input fe-e2e-lock__input",
16410
16413
  placeholder: m(i)("e2e.locked.pw_placeholder"),
@@ -16474,10 +16477,10 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16474
16477
  "show-parent-path": !!be.value,
16475
16478
  locale: s.value,
16476
16479
  loading: M.value,
16477
- "starred-ids": Be.value,
16480
+ "starred-ids": Ne.value,
16478
16481
  "api-base": o.config.apiBase ?? "",
16479
16482
  "auth-headers": () => jr(),
16480
- onClickRow: d[10] || (d[10] = (V, De) => m(_).click(V.path, De)),
16483
+ onClickRow: d[10] || (d[10] = (F, De) => m(_).click(F.path, De)),
16481
16484
  onDblRow: Zt,
16482
16485
  onContextRow: da,
16483
16486
  onItemDragStart: va,
@@ -16492,7 +16495,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16492
16495
  locale: s.value,
16493
16496
  loading: M.value,
16494
16497
  "thumb-src": m(w).src,
16495
- onClickCard: d[11] || (d[11] = (V, De) => m(_).click(V.path, De)),
16498
+ onClickCard: d[11] || (d[11] = (F, De) => m(_).click(F.path, De)),
16496
16499
  onDblCard: Zt,
16497
16500
  onContextCard: da,
16498
16501
  onItemDragStart: va,
@@ -16506,7 +16509,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16506
16509
  locale: s.value,
16507
16510
  loading: M.value,
16508
16511
  "thumb-src": m(w).src,
16509
- onClickCard: d[12] || (d[12] = (V, De) => m(_).click(V.path, De)),
16512
+ onClickCard: d[12] || (d[12] = (F, De) => m(_).click(F.path, De)),
16510
16513
  onDblCard: Zt,
16511
16514
  onContextCard: da,
16512
16515
  onItemDragStart: va,
@@ -16533,9 +16536,9 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16533
16536
  "thumb-src": m(w).src,
16534
16537
  "trash-visible": e.config.trashVisible !== !1,
16535
16538
  onNavigate: Tf,
16536
- onActivate: d[15] || (d[15] = (V) => hr.value = "split"),
16539
+ onActivate: d[15] || (d[15] = (F) => hr.value = "split"),
16537
16540
  onClose: Sf,
16538
- onOpenTab: d[16] || (d[16] = (V) => m(ht).openTab(V, { viewMode: Y.value, background: !0 })),
16541
+ onOpenTab: d[16] || (d[16] = (F) => m(ht).openTab(F, { viewMode: Y.value, background: !0 })),
16539
16542
  onTransfer: If,
16540
16543
  onContext: Ld,
16541
16544
  onOpenTrash: Ef
@@ -16553,7 +16556,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16553
16556
  "thumb-src": m(w).src,
16554
16557
  onClose: Nr,
16555
16558
  onManagePermissions: Z,
16556
- onToast: Ne,
16559
+ onToast: Be,
16557
16560
  onChanged: d[17] || (d[17] = () => Ge())
16558
16561
  }, null, 8, ["api", "nodes", "dir-label", "dir-count", "dir-perm", "locale", "narrow", "thumb-src"])) : J("", !0)
16559
16562
  ], 2),
@@ -16575,7 +16578,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16575
16578
  ops: m(P).ops.value,
16576
16579
  locale: s.value,
16577
16580
  center: m(ga),
16578
- onDismiss: d[18] || (d[18] = (V) => m(P).dismiss(V))
16581
+ onDismiss: d[18] || (d[18] = (F) => m(P).dismiss(F))
16579
16582
  }, null, 8, ["ops", "locale", "center"]),
16580
16583
  Ie(n1, {
16581
16584
  center: m(ga),
@@ -16616,9 +16619,9 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16616
16619
  open: q.value,
16617
16620
  locale: s.value,
16618
16621
  "encrypted-option": !jt.value,
16619
- onClose: d[19] || (d[19] = (V) => q.value = !1),
16622
+ onClose: d[19] || (d[19] = (F) => q.value = !1),
16620
16623
  onSubmit: Vd,
16621
- onEncrypted: d[20] || (d[20] = (V) => {
16624
+ onEncrypted: d[20] || (d[20] = (F) => {
16622
16625
  q.value = !1, vn.value = !0;
16623
16626
  })
16624
16627
  }, null, 8, ["open", "locale", "encrypted-option"]),
@@ -16626,21 +16629,21 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16626
16629
  open: vn.value,
16627
16630
  locale: s.value,
16628
16631
  busy: $a.value,
16629
- onClose: d[21] || (d[21] = (V) => vn.value = !1),
16632
+ onClose: d[21] || (d[21] = (F) => vn.value = !1),
16630
16633
  onSubmit: Kf
16631
16634
  }, null, 8, ["open", "locale", "busy"]),
16632
16635
  Ie(lw, {
16633
16636
  open: ve.value,
16634
16637
  locale: s.value,
16635
16638
  "current-name": ((L = Te.value) == null ? void 0 : L.basename) || "",
16636
- onClose: d[22] || (d[22] = (V) => ve.value = !1),
16639
+ onClose: d[22] || (d[22] = (F) => ve.value = !1),
16637
16640
  onSubmit: Hd
16638
16641
  }, null, 8, ["open", "locale", "current-name"]),
16639
16642
  Ie(cw, {
16640
16643
  open: he.value,
16641
16644
  locale: s.value,
16642
16645
  count: m(_).size.value,
16643
- onClose: d[23] || (d[23] = (V) => he.value = !1),
16646
+ onClose: d[23] || (d[23] = (F) => he.value = !1),
16644
16647
  onConfirm: Wd
16645
16648
  }, null, 8, ["open", "locale", "count"]),
16646
16649
  Ie(kw, {
@@ -16649,15 +16652,15 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16649
16652
  share: rt.value,
16650
16653
  onClose: Xd,
16651
16654
  onSubmit: Jd,
16652
- onToast: Ne
16655
+ onToast: Be
16653
16656
  }, null, 8, ["open", "locale", "share"]),
16654
16657
  Ie(dd, {
16655
16658
  open: we.value,
16656
16659
  locale: s.value,
16657
16660
  file: ce.value,
16658
16661
  theme: e.config.theme || "auto",
16659
- "preview-url": (V) => hn(V),
16660
- "download-url": (V) => er.value ? hn(V) : m(a).downloadUrl(V),
16662
+ "preview-url": (F) => hn(F),
16663
+ "download-url": (F) => er.value ? hn(F) : m(a).downloadUrl(F),
16661
16664
  "only-office-base": jt.value ? null : ie.value,
16662
16665
  "only-office-config-endpoint": ne.value,
16663
16666
  "new-tab-enabled": !jt.value,
@@ -16669,19 +16672,19 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16669
16672
  "pdf-worker-url": o.config.pdfWorkerUrl || null,
16670
16673
  "pdf-save-url": o.config.pdfSaveUrl || null,
16671
16674
  "viewer-base-url": o.config.viewerBaseUrl || null,
16672
- onClose: d[24] || (d[24] = (V) => we.value = !1)
16675
+ onClose: d[24] || (d[24] = (F) => we.value = !1)
16673
16676
  }, null, 8, ["open", "locale", "file", "theme", "preview-url", "download-url", "only-office-base", "only-office-config-endpoint", "new-tab-enabled", "save-text-endpoint", "open-mode", "auth-headers", "auth-credentials", "drawio-url", "pdf-worker-url", "pdf-save-url", "viewer-base-url"]),
16674
16677
  me.value && Pe.value && _e.value ? (u(), tt(Bw, {
16675
16678
  key: 3,
16676
16679
  "convert-url": _e.value,
16677
16680
  "file-name": ((j = Pe.value) == null ? void 0 : j.basename) || ((te = Pe.value) == null ? void 0 : te.path) || "",
16678
16681
  "fetch-bytes": () => {
16679
- var V;
16680
- return m(a).fetchArrayBuffer(((V = Pe.value) == null ? void 0 : V.path) ?? "");
16682
+ var F;
16683
+ return m(a).fetchArrayBuffer(((F = Pe.value) == null ? void 0 : F.path) ?? "");
16681
16684
  },
16682
- upload: (V) => m(a).uploadMultipart(ut(z.value), [V]).then(() => {
16685
+ upload: (F) => m(a).uploadMultipart(ut(z.value), [F]).then(() => {
16683
16686
  }),
16684
- onClose: d[25] || (d[25] = (V) => me.value = !1),
16687
+ onClose: d[25] || (d[25] = (F) => me.value = !1),
16685
16688
  onDone: Gd
16686
16689
  }, null, 8, ["convert-url", "file-name", "fetch-bytes", "upload"])) : J("", !0),
16687
16690
  Oe.value && Re.value ? (u(), tt(Sk, {
@@ -16691,7 +16694,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16691
16694
  "is-dir": Re.value.type === "dir",
16692
16695
  size: typeof Re.value.size == "number" ? Re.value.size : void 0,
16693
16696
  locale: s.value === "en" ? "en" : "tr",
16694
- onClose: d[26] || (d[26] = (V) => Oe.value = !1)
16697
+ onClose: d[26] || (d[26] = (F) => Oe.value = !1)
16695
16698
  }, null, 8, ["api", "path", "is-dir", "size", "locale"])) : J("", !0),
16696
16699
  Ie(wr, { name: "fe-modal" }, {
16697
16700
  default: it(() => [
@@ -16701,7 +16704,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16701
16704
  "fe--theme-light": e.config.theme === "light",
16702
16705
  "fe--theme-dark": e.config.theme === "dark"
16703
16706
  }]),
16704
- onClick: d[30] || (d[30] = (V) => Ee.value = !1)
16707
+ onClick: d[30] || (d[30] = (F) => Ee.value = !1)
16705
16708
  }, [
16706
16709
  c("div", {
16707
16710
  class: "fe-recents__panel",
@@ -16713,7 +16716,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16713
16716
  c("button", {
16714
16717
  class: "fe-recents__close",
16715
16718
  "aria-label": "Close",
16716
- onClick: d[27] || (d[27] = (V) => Ee.value = !1)
16719
+ onClick: d[27] || (d[27] = (F) => Ee.value = !1)
16717
16720
  }, "×")
16718
16721
  ]),
16719
16722
  Ie(gm, {
@@ -16722,7 +16725,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16722
16725
  limit: 20,
16723
16726
  "refresh-key": Ce.value,
16724
16727
  onOpen: X,
16725
- onError: d[28] || (d[28] = (V) => n("error", { message: V, context: { op: "recents" } }))
16728
+ onError: d[28] || (d[28] = (F) => n("error", { message: F, context: { op: "recents" } }))
16726
16729
  }, null, 8, ["api-base", "auth-headers", "refresh-key"])
16727
16730
  ])
16728
16731
  ], 2)) : J("", !0)
@@ -16734,7 +16737,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16734
16737
  He.value && de.value && typeof de.value.id == "number" ? (u(), h("div", {
16735
16738
  key: 0,
16736
16739
  class: "fe-modal__backdrop",
16737
- onClick: d[34] || (d[34] = (V) => He.value = !1)
16740
+ onClick: d[34] || (d[34] = (F) => He.value = !1)
16738
16741
  }, [
16739
16742
  c("div", {
16740
16743
  class: "fe-modal__card fe-modal__card--md",
@@ -16746,7 +16749,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16746
16749
  c("button", {
16747
16750
  class: "fe-modal__close",
16748
16751
  "aria-label": "Close",
16749
- onClick: d[31] || (d[31] = (V) => He.value = !1)
16752
+ onClick: d[31] || (d[31] = (F) => He.value = !1)
16750
16753
  }, "×")
16751
16754
  ]),
16752
16755
  c("div", h2, [
@@ -16754,7 +16757,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16754
16757
  "node-id": de.value.id,
16755
16758
  "api-base": o.config.apiBase ?? "",
16756
16759
  "auth-headers": () => jr(),
16757
- onError: d[32] || (d[32] = (V) => n("error", { message: V, context: { op: "tags" } }))
16760
+ onError: d[32] || (d[32] = (F) => n("error", { message: F, context: { op: "tags" } }))
16758
16761
  }, null, 8, ["node-id", "api-base", "auth-headers"])
16759
16762
  ])
16760
16763
  ])
@@ -16770,28 +16773,28 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16770
16773
  "can-write": le.value && !k.value && !ye.value,
16771
16774
  "can-go-up": N.value,
16772
16775
  "global-search": $d,
16773
- onClose: d[35] || (d[35] = (V) => la.value = !1),
16776
+ onClose: d[35] || (d[35] = (F) => la.value = !1),
16774
16777
  onOpenHit: Cd,
16775
16778
  onOpenNode: Zt,
16776
- onNavigate: d[36] || (d[36] = (V) => Ge(V)),
16777
- onNewFolder: d[37] || (d[37] = (V) => q.value = !0),
16779
+ onNavigate: d[36] || (d[36] = (F) => Ge(F)),
16780
+ onNewFolder: d[37] || (d[37] = (F) => q.value = !0),
16778
16781
  onUpload: ln,
16779
- onToggleView: d[38] || (d[38] = (V) => ss(wa.value === "list" ? "grid" : wa.value === "grid" ? "gallery" : "list")),
16782
+ onToggleView: d[38] || (d[38] = (F) => ss(wa.value === "list" ? "grid" : wa.value === "grid" ? "gallery" : "list")),
16780
16783
  onOpenTrash: ko,
16781
16784
  onRefresh: d[39] || (d[39] = () => Ge()),
16782
16785
  onGoUp: b,
16783
- onOpenTheme: d[40] || (d[40] = (V) => dn.value = !0),
16784
- onOpenShortcutSettings: d[41] || (d[41] = (V) => Co.value = !0),
16785
- onStartTour: d[42] || (d[42] = (V) => _a()),
16786
+ onOpenTheme: d[40] || (d[40] = (F) => dn.value = !0),
16787
+ onOpenShortcutSettings: d[41] || (d[41] = (F) => Co.value = !0),
16788
+ onStartTour: d[42] || (d[42] = (F) => _a()),
16786
16789
  "split-enabled": !Pt.value,
16787
- onTabNew: d[43] || (d[43] = (V) => ya()),
16788
- onSplitToggle: d[44] || (d[44] = (V) => as())
16790
+ onTabNew: d[43] || (d[43] = (F) => ya()),
16791
+ onSplitToggle: d[44] || (d[44] = (F) => as())
16789
16792
  }, null, 8, ["open", "locale", "files", "view-mode", "can-write", "can-go-up", "split-enabled"]),
16790
16793
  Ie(J_, {
16791
16794
  open: sn.value,
16792
16795
  locale: s.value,
16793
- onClose: d[45] || (d[45] = (V) => sn.value = !1),
16794
- onCustomize: d[46] || (d[46] = (V) => {
16796
+ onClose: d[45] || (d[45] = (F) => sn.value = !1),
16797
+ onCustomize: d[46] || (d[46] = (F) => {
16795
16798
  sn.value = !1, Co.value = !0;
16796
16799
  })
16797
16800
  }, null, 8, ["open", "locale"]),
@@ -16801,12 +16804,12 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16801
16804
  theme: e.config.theme || "auto",
16802
16805
  dark: ma.value,
16803
16806
  current: m(fn),
16804
- onClose: d[47] || (d[47] = (V) => dn.value = !1),
16807
+ onClose: d[47] || (d[47] = (F) => dn.value = !1),
16805
16808
  onSelect: m(ff)
16806
16809
  }, null, 8, ["open", "locale", "theme", "dark", "current", "onSelect"]),
16807
16810
  c("input", {
16808
16811
  ref_key: "fileInputEl",
16809
- ref: U,
16812
+ ref: V,
16810
16813
  type: "file",
16811
16814
  multiple: "",
16812
16815
  class: "fe__file-input",
@@ -16835,15 +16838,15 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16835
16838
  open: Co.value,
16836
16839
  locale: s.value,
16837
16840
  theme: e.config.theme || "auto",
16838
- onClose: d[48] || (d[48] = (V) => Co.value = !1)
16841
+ onClose: d[48] || (d[48] = (F) => Co.value = !1)
16839
16842
  }, null, 8, ["open", "locale", "theme"]),
16840
16843
  Ie($y, {
16841
16844
  open: Dr.value,
16842
16845
  locale: s.value,
16843
16846
  file: pr.value,
16844
16847
  theme: e.config.theme || "auto",
16845
- "preview-url": (V) => hn(V),
16846
- "download-url": (V) => er.value ? hn(V) : m(a).downloadUrl(V),
16848
+ "preview-url": (F) => hn(F),
16849
+ "download-url": (F) => er.value ? hn(F) : m(a).downloadUrl(F),
16847
16850
  "only-office-base": jt.value ? null : ie.value,
16848
16851
  "only-office-config-endpoint": ne.value,
16849
16852
  "auth-headers": () => jr({ "Content-Type": "application/json" }),
@@ -16851,7 +16854,7 @@ const q1 = ["placeholder", "disabled"], G1 = ["placeholder", "disabled"], J1 = [
16851
16854
  "drawio-url": se.value,
16852
16855
  "pdf-worker-url": o.config.pdfWorkerUrl || null,
16853
16856
  "viewer-base-url": o.config.viewerBaseUrl || null,
16854
- onClose: d[49] || (d[49] = (V) => Dr.value = !1),
16857
+ onClose: d[49] || (d[49] = (F) => Dr.value = !1),
16855
16858
  onNav: pf,
16856
16859
  onOpenFull: vf
16857
16860
  }, null, 8, ["open", "locale", "file", "theme", "preview-url", "download-url", "only-office-base", "only-office-config-endpoint", "auth-headers", "auth-credentials", "drawio-url", "pdf-worker-url", "viewer-base-url"]),
@@ -16978,4 +16981,4 @@ export {
16978
16981
  w2 as v,
16979
16982
  je as w
16980
16983
  };
16981
- //# sourceMappingURL=index-CqPZUXjB.js.map
16984
+ //# sourceMappingURL=index-DKJAEESH.js.map