@pristy/pristy-libvue 0.4.1 → 0.5.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.
@@ -1,87 +1,87 @@
1
- import { AlfrescoApi as Lt, ContentApi as Tt, UploadApi as Ft, RenditionsApi as Dt, NodesApi as jt, SitesApi as Ut, SearchApi as Bt, PeopleApi as It, FavoritesApi as Vt, TrashcanApi as Mt } from "@alfresco/js-api";
2
- import { getCurrentInstance as ot, inject as $t, markRaw as B, ref as it, watch as zt, reactive as qt, effectScope as Ht, isRef as Y, isReactive as Fe, toRef as fe, toRaw as Wt, nextTick as Ve, computed as at, onUnmounted as Jt, toRefs as Me } from "vue";
3
- let de = null;
4
- function v() {
5
- return de || (de = new Lt({
1
+ import { AlfrescoApi as Tt, ContentApi as Ft, UploadApi as Dt, RenditionsApi as jt, NodesApi as Ut, SitesApi as Vt, SearchApi as Bt, PeopleApi as It, FavoritesApi as Mt, TrashcanApi as Wt } from "@alfresco/js-api";
2
+ import { getCurrentInstance as it, inject as $t, markRaw as B, ref as ct, watch as zt, reactive as qt, effectScope as Ht, isRef as Z, isReactive as De, toRef as fe, toRaw as Jt, nextTick as We, computed as ut, onUnmounted as Xt, toRefs as $e } from "vue";
3
+ let pe = null;
4
+ function _() {
5
+ return pe || (pe = new Tt({
6
6
  hostEcm: window.config.ALFRESCO_HOST,
7
7
  authType: window.config.ALFRESCO_AUTH,
8
8
  contextRoot: window.config.ALFRESCO_ROOT
9
- })), de;
9
+ })), pe;
10
10
  }
11
- let pe = null;
12
- function he() {
13
- return pe || (pe = new Tt(v())), pe;
11
+ let he = null;
12
+ function me() {
13
+ return he || (he = new Ft(_())), he;
14
14
  }
15
- let me = null;
16
- function Xt() {
17
- return me || (me = new Ft(v())), me;
15
+ let be = null;
16
+ function Gt() {
17
+ return be || (be = new Dt(_())), be;
18
18
  }
19
19
  let Ee = null;
20
- function $e() {
21
- return Ee || (Ee = new Dt(v())), Ee;
22
- }
23
- let be = null;
24
- function P() {
25
- return be || (be = new jt(v())), be;
20
+ function ze() {
21
+ return Ee || (Ee = new jt(_())), Ee;
26
22
  }
27
23
  let we = null;
28
- function L() {
29
- return we || (we = new Ut(v())), we;
24
+ function P() {
25
+ return we || (we = new Ut(_())), we;
30
26
  }
31
27
  let ye = null;
32
- function Gt() {
33
- return ye || (ye = new Bt(v())), ye;
28
+ function T() {
29
+ return ye || (ye = new Vt(_())), ye;
34
30
  }
35
31
  let ge = null;
32
+ function Kt() {
33
+ return ge || (ge = new Bt(_())), ge;
34
+ }
35
+ let ke = null;
36
36
  function Re() {
37
- return ge || (ge = new It(v())), ge;
37
+ return ke || (ke = new It(_())), ke;
38
38
  }
39
39
  let Ne = null;
40
40
  function Se() {
41
- return Ne || (Ne = new Vt(v())), Ne;
41
+ return Ne || (Ne = new Mt(_())), Ne;
42
42
  }
43
- let Ae = null;
44
- function bn() {
45
- return Ae || (Ae = new Mt(v())), Ae;
43
+ let ve = null;
44
+ function Es() {
45
+ return ve || (ve = new Wt(_())), ve;
46
46
  }
47
- class ct {
47
+ class je {
48
48
  uploadFileError(t, r) {
49
- let n;
49
+ let s;
50
50
  switch (t.status) {
51
51
  case 400:
52
- n = "Les param\xE8tres de la requ\xEAte sont invalides.";
52
+ s = "Les param\xE8tres de la requ\xEAte sont invalides.";
53
53
  break;
54
54
  case 403:
55
- n = "Vous n'avez pas les droits pour cr\xE9er un fichier.";
55
+ s = "Vous n'avez pas les droits pour cr\xE9er un fichier.";
56
56
  break;
57
57
  case 404:
58
- n = "Impossible de trouver le dossier parent.";
58
+ s = "Impossible de trouver le dossier parent.";
59
59
  break;
60
60
  case 409:
61
- n = "Le fichier " + r + " existe d\xE9j\xE0.";
61
+ s = "Le fichier " + r + " existe d\xE9j\xE0.";
62
62
  break;
63
63
  case 413:
64
- n = "Le contenu d\xE9passe la limite de taille de fichier individuelle configur\xE9e pour le r\xE9seau ou le syst\xE8me";
64
+ s = "Le contenu d\xE9passe la limite de taille de fichier individuelle configur\xE9e pour le r\xE9seau ou le syst\xE8me";
65
65
  break;
66
66
  case 415:
67
- n = "Le type du contenu du noeud n'est pas support\xE9.";
67
+ s = "Le type du contenu du noeud n'est pas support\xE9.";
68
68
  break;
69
69
  case 422:
70
- n = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
70
+ s = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
71
71
  break;
72
72
  case 502:
73
- n = "La r\xE9ponse re\xE7ue est non valide.";
73
+ s = "La r\xE9ponse re\xE7ue est non valide.";
74
74
  break;
75
75
  case 504:
76
- n = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
76
+ s = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
77
77
  break;
78
78
  case 507:
79
- n = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
79
+ s = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
80
80
  break;
81
81
  default:
82
- n = t.message;
82
+ s = t.message;
83
83
  }
84
- throw new Error(n);
84
+ throw new Error(s);
85
85
  }
86
86
  createNodeError(t) {
87
87
  let r;
@@ -118,21 +118,21 @@ class ct {
118
118
  throw new Error(r);
119
119
  }
120
120
  deleteNodeError(t, r) {
121
- let n;
121
+ let s;
122
122
  switch (t.status) {
123
123
  case 403:
124
- n = `Vous n'avez pas la permission de supprimer ce ${r}.`;
124
+ s = `Vous n'avez pas la permission de supprimer ce ${r}.`;
125
125
  break;
126
126
  case 404:
127
- n = `Le ${r} \xE0 supprimer n'existe pas.`;
127
+ s = `Le ${r} \xE0 supprimer n'existe pas.`;
128
128
  break;
129
129
  case 409:
130
- n = `Vous ne pouvez pas supprimer ce ${r}, ce dernier est verrouill\xE9.`;
130
+ s = `Vous ne pouvez pas supprimer ce ${r}, ce dernier est verrouill\xE9.`;
131
131
  break;
132
132
  default:
133
- n = t.message;
133
+ s = t.message;
134
134
  }
135
- throw new Error(n);
135
+ throw new Error(s);
136
136
  }
137
137
  updateContentNodeError(t) {
138
138
  let r;
@@ -206,8 +206,293 @@ class ct {
206
206
  }
207
207
  throw new Error(r);
208
208
  }
209
+ getWorkspacesError(t) {
210
+ let r;
211
+ switch (t.status) {
212
+ case 400:
213
+ r = "Param\xE8tres invalides lors de la recherche de sites.";
214
+ break;
215
+ case 401:
216
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
217
+ break;
218
+ case 502:
219
+ r = "La r\xE9ponse re\xE7ue est non valide.";
220
+ break;
221
+ case 504:
222
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
223
+ break;
224
+ default:
225
+ r = t.message;
226
+ }
227
+ throw new Error(r);
228
+ }
229
+ searchAllWorkspacesError(t) {
230
+ let r;
231
+ switch (t.status) {
232
+ case 400:
233
+ r = "Param\xE8tres invalides lors de la recherche de tous les sites.";
234
+ break;
235
+ case 401:
236
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
237
+ break;
238
+ case 502:
239
+ r = "La r\xE9ponse re\xE7ue est non valide.";
240
+ break;
241
+ case 504:
242
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
243
+ break;
244
+ default:
245
+ r = t.message;
246
+ }
247
+ throw new Error(r);
248
+ }
249
+ getWorkspaceError(t) {
250
+ let r;
251
+ switch (t.status) {
252
+ case 400:
253
+ r = "Param\xE8tre invalide lors de la recherche d'un site";
254
+ break;
255
+ case 401:
256
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
257
+ break;
258
+ case 404:
259
+ r = "Le site recherch\xE9 n'existe pas ou plus.";
260
+ break;
261
+ case 502:
262
+ r = "La r\xE9ponse re\xE7ue est non valide.";
263
+ break;
264
+ case 504:
265
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
266
+ break;
267
+ default:
268
+ r = t.message;
269
+ }
270
+ throw new Error(r);
271
+ }
272
+ getWorkspaceMembershipsError(t) {
273
+ let r;
274
+ switch (t.status) {
275
+ case 400:
276
+ r = "Param\xE8tres invalides lors de la recherche de tous les membres d'un site.";
277
+ break;
278
+ case 401:
279
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
280
+ break;
281
+ case 404:
282
+ r = "Le site dont les membres sont recherch\xE9s n'existe pas ou plus.";
283
+ break;
284
+ case 502:
285
+ r = "La r\xE9ponse re\xE7ue est non valide.";
286
+ break;
287
+ case 504:
288
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
289
+ break;
290
+ default:
291
+ r = t.message;
292
+ }
293
+ throw new Error(r);
294
+ }
295
+ createWorkspaceError(t) {
296
+ let r;
297
+ switch (t.status) {
298
+ case 400:
299
+ r = "L'identifiant choisi ne respecte pas le format requis.";
300
+ break;
301
+ case 401:
302
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
303
+ break;
304
+ case 409:
305
+ r = "L'identifiant choisi est d\xE9j\xE0 existant.";
306
+ break;
307
+ case 502:
308
+ r = "La r\xE9ponse re\xE7ue est non valide.";
309
+ break;
310
+ case 504:
311
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
312
+ break;
313
+ default:
314
+ r = t.message;
315
+ }
316
+ throw new Error(r);
317
+ }
318
+ updateWorkspaceMemberRoleError(t) {
319
+ let r;
320
+ switch (t.status) {
321
+ case 400:
322
+ r = "Param\xE8tres invalides lors de la mise \xE0 jour du r\xF4le d'un membre sur un site.";
323
+ break;
324
+ case 401:
325
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
326
+ break;
327
+ case 404:
328
+ r = "L'identifiant entr\xE9 ne correspond \xE0 aucun utilisateur.";
329
+ break;
330
+ case 422:
331
+ r = "Au moins un utilisateur doit \xEAtre Gestionnaire. Si ce n'est pas le cas, vous n'avez pas la permission de modifier le r\xF4le de cet utilisateur.";
332
+ break;
333
+ case 502:
334
+ r = "La r\xE9ponse re\xE7ue est non valide.";
335
+ break;
336
+ case 504:
337
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
338
+ break;
339
+ default:
340
+ r = t.message;
341
+ }
342
+ throw new Error(r);
343
+ }
344
+ deleteWorkspaceMemberError(t) {
345
+ let r;
346
+ switch (t.status) {
347
+ case 400:
348
+ r = "Impossible de supprimer le seul Gestionnaire de l'espace.";
349
+ break;
350
+ case 401:
351
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
352
+ break;
353
+ case 404:
354
+ r = "Vous ne pouvez pas supprimer un utilisateur inexistant.";
355
+ break;
356
+ case 422:
357
+ r = "Vous n'avez pas la permission de supprimer l'acc\xE8s \xE0 cet utilisateur.";
358
+ break;
359
+ case 502:
360
+ r = "La r\xE9ponse re\xE7ue est non valide.";
361
+ break;
362
+ case 504:
363
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
364
+ break;
365
+ default:
366
+ r = t.message;
367
+ }
368
+ throw new Error(r);
369
+ }
370
+ addWorkspaceMemberError(t) {
371
+ let r;
372
+ switch (t.status) {
373
+ case 400:
374
+ r = "Param\xE8tres invalides lors de l'ajout d'un membre sur un site.";
375
+ break;
376
+ case 401:
377
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
378
+ break;
379
+ case 403:
380
+ r = "Vous ne pouvez pas inviter sur ce site.";
381
+ break;
382
+ case 404:
383
+ r = "Vous ne pouvez pas ajouter un utilisateur inexistant.";
384
+ break;
385
+ case 409:
386
+ r = "L'utilisateur a d\xE9j\xE0 acc\xE8s \xE0 cet espace.";
387
+ break;
388
+ case 502:
389
+ r = "La r\xE9ponse re\xE7ue est non valide.";
390
+ break;
391
+ case 504:
392
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
393
+ break;
394
+ default:
395
+ r = t.message;
396
+ }
397
+ throw new Error(r);
398
+ }
399
+ updateWorkspaceTypeError(t) {
400
+ let r;
401
+ switch (t.status) {
402
+ case 400:
403
+ r = "Param\xE8tres invalides lors de la mise \xE0 jour d'un site.";
404
+ break;
405
+ case 401:
406
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
407
+ break;
408
+ case 404:
409
+ r = "Vous ne pouvez pas mettre \xE0 jour un espace inexistant.";
410
+ break;
411
+ case 502:
412
+ r = "La r\xE9ponse re\xE7ue est non valide.";
413
+ break;
414
+ case 504:
415
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
416
+ break;
417
+ default:
418
+ r = t.message;
419
+ }
420
+ throw new Error(r);
421
+ }
422
+ getAllUsersError(t) {
423
+ let r;
424
+ switch (t.status) {
425
+ case 400:
426
+ r = "Param\xE8tres invalides lors de la recherche de tous les utilisateurs.";
427
+ break;
428
+ case 401:
429
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
430
+ break;
431
+ case 502:
432
+ r = "La r\xE9ponse re\xE7ue est non valide.";
433
+ break;
434
+ case 504:
435
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
436
+ break;
437
+ default:
438
+ r = t.message;
439
+ }
440
+ throw new Error(r);
441
+ }
442
+ deleteWorkspaceError(t) {
443
+ let r;
444
+ switch (t.status) {
445
+ case 400:
446
+ r = "Param\xE8tres invalides lors de la suppression du site.";
447
+ break;
448
+ case 401:
449
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
450
+ break;
451
+ case 403:
452
+ r = "Vous n'avez pas les permission pour supprimer ce site.";
453
+ break;
454
+ case 404:
455
+ r = "Le site que vous essayez de supprimer n'existe pas ou plus.";
456
+ break;
457
+ case 502:
458
+ r = "La r\xE9ponse re\xE7ue est non valide.";
459
+ break;
460
+ case 504:
461
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
462
+ break;
463
+ default:
464
+ r = t.message;
465
+ }
466
+ throw new Error(r);
467
+ }
468
+ updateWorkspaceError(t) {
469
+ let r;
470
+ switch (t.status) {
471
+ case 400:
472
+ r = "Param\xE8tres invalides lors de la mise \xE0 jour du site.";
473
+ break;
474
+ case 401:
475
+ r = "Vous n'\xEAtes pas ou plus connect\xE9.";
476
+ break;
477
+ case 403:
478
+ r = "Vous n'avez pas les permission pour mettre \xE0 jour ce site.";
479
+ break;
480
+ case 404:
481
+ r = "Le site que vous essayez de modifier n'existe pas ou plus.";
482
+ break;
483
+ case 502:
484
+ r = "La r\xE9ponse re\xE7ue est non valide.";
485
+ break;
486
+ case 504:
487
+ r = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
488
+ break;
489
+ default:
490
+ r = t.message;
491
+ }
492
+ throw new Error(r);
493
+ }
209
494
  }
210
- function Kt(e) {
495
+ function Qt(e) {
211
496
  let t, r = JSON.parse(e.message).error;
212
497
  switch (r.statusCode) {
213
498
  case 401:
@@ -221,7 +506,7 @@ function Kt(e) {
221
506
  }
222
507
  throw new Error(t);
223
508
  }
224
- function Qt(e) {
509
+ function Yt(e) {
225
510
  let t;
226
511
  switch (e.status) {
227
512
  case 404:
@@ -235,7 +520,7 @@ function Qt(e) {
235
520
  }
236
521
  throw new Error(t);
237
522
  }
238
- function Yt(e) {
523
+ function Zt(e) {
239
524
  let t;
240
525
  switch (e.status) {
241
526
  case 404:
@@ -249,7 +534,7 @@ function Yt(e) {
249
534
  }
250
535
  throw new Error(t);
251
536
  }
252
- function Zt(e) {
537
+ function er(e) {
253
538
  let t;
254
539
  switch (e.status) {
255
540
  case 404:
@@ -263,7 +548,7 @@ function Zt(e) {
263
548
  }
264
549
  throw new Error(t);
265
550
  }
266
- function er(e) {
551
+ function tr(e) {
267
552
  let t;
268
553
  switch (e.status) {
269
554
  case 404:
@@ -277,7 +562,7 @@ function er(e) {
277
562
  }
278
563
  throw new Error(t);
279
564
  }
280
- function tr(e) {
565
+ function rr(e) {
281
566
  let t;
282
567
  switch (e.status) {
283
568
  case 404:
@@ -294,7 +579,7 @@ function tr(e) {
294
579
  }
295
580
  throw new Error(t);
296
581
  }
297
- function rr(e) {
582
+ function sr(e) {
298
583
  let t;
299
584
  switch (e.status) {
300
585
  case 401:
@@ -334,36 +619,36 @@ function nr(e) {
334
619
  }
335
620
  throw new Error(t);
336
621
  }
337
- function sr() {
338
- return new ct();
622
+ function or() {
623
+ return new je();
339
624
  }
340
- class wn {
625
+ class ws {
341
626
  getThumbnailUrl(t) {
342
- return he().getDocumentThumbnailUrl(t);
627
+ return me().getDocumentThumbnailUrl(t);
343
628
  }
344
629
  getPreviewUrl(t) {
345
- return he().getDocumentPreviewUrl(t);
630
+ return me().getDocumentPreviewUrl(t);
346
631
  }
347
632
  getContentUrl(t) {
348
- return he().getContentUrl(t);
633
+ return me().getContentUrl(t);
349
634
  }
350
- uploadFile(t, r, n) {
351
- return Xt().uploadFile(n, null, t, null, r).on("progress", (s) => {
352
- console.log("Percent :" + s.percent);
635
+ uploadFile(t, r, s) {
636
+ return Gt().uploadFile(s, null, t, null, r).on("progress", (n) => {
637
+ console.log("Percent :" + n.percent);
353
638
  }).then(
354
- (s) => this.createAllRendition(s.entry.id).then(() => s).catch((i) => i),
355
- (s) => {
356
- sr().uploadFileError(s, n.name);
639
+ (n) => this.createAllRendition(n.entry.id).then(() => n).catch((a) => a),
640
+ (n) => {
641
+ or().uploadFileError(n, s.name);
357
642
  }
358
643
  );
359
644
  }
360
645
  createRendition(t, r) {
361
- return $e().createRendition(t, {
646
+ return ze().createRendition(t, {
362
647
  id: r
363
648
  });
364
649
  }
365
650
  createAllRendition(t) {
366
- return $e().createRendition(t, [
651
+ return ze().createRendition(t, [
367
652
  {
368
653
  id: "doclib"
369
654
  },
@@ -374,9 +659,9 @@ class wn {
374
659
  }
375
660
  }
376
661
  function $() {
377
- return new ct();
662
+ return new je();
378
663
  }
379
- class yn {
664
+ class ys {
380
665
  getNode(t) {
381
666
  const r = {
382
667
  include: [
@@ -386,13 +671,13 @@ class yn {
386
671
  "permissions"
387
672
  ]
388
673
  };
389
- return P().getNode(t, r).then((n) => n.entry);
674
+ return P().getNode(t, r).then((s) => s.entry);
390
675
  }
391
676
  createNode(t, r) {
392
677
  return P().createNode(t, r).then(
393
- (n) => n,
394
- (n) => {
395
- $().createNodeError(n);
678
+ (s) => s,
679
+ (s) => {
680
+ $().createNodeError(s);
396
681
  }
397
682
  );
398
683
  }
@@ -405,30 +690,30 @@ class yn {
405
690
  "permissions"
406
691
  ]
407
692
  };
408
- return P().listNodeChildren(t, r).then((n) => {
409
- let s = n.list.entries.map((o) => o.entry), i = s.filter(
693
+ return P().listNodeChildren(t, r).then((s) => {
694
+ let n = s.list.entries.map((o) => o.entry), a = n.filter(
410
695
  (o) => o.name === "documentLibrary"
411
696
  )[0];
412
- return i ? this.getChildren(i.id).then((o) => ({
413
- documentLibrary: i,
697
+ return a ? this.getChildren(a.id).then((o) => ({
698
+ documentLibrary: a,
414
699
  subChildren: o
415
- })) : s;
700
+ })) : n;
416
701
  });
417
702
  }
418
703
  updateNode(t, r) {
419
704
  return P().updateNode(t, r).then(
420
- (n) => n,
421
- function(n) {
422
- $().updateNodeError(n);
705
+ (s) => s,
706
+ function(s) {
707
+ $().updateNodeError(s);
423
708
  }
424
709
  );
425
710
  }
426
711
  deleteNode(t, r) {
427
- const n = {};
428
- return P().deleteNode(t, n).then(
429
- (s) => s,
430
- function(s) {
431
- $().deleteNodeError(s, r);
712
+ const s = {};
713
+ return P().deleteNode(t, s).then(
714
+ (n) => n,
715
+ function(n) {
716
+ $().deleteNodeError(n, r);
432
717
  }
433
718
  );
434
719
  }
@@ -436,12 +721,12 @@ class yn {
436
721
  const r = {
437
722
  include: ["isFavorite", "properties"]
438
723
  };
439
- return P().listParents(t, r).then((n) => {
440
- let s = n.list.entries.map((o) => o.entry), i = s[0];
441
- return i && i.name === "documentLibrary" ? this.getParents(i.id).then((o) => ({
442
- documentLibrary: i,
724
+ return P().listParents(t, r).then((s) => {
725
+ let n = s.list.entries.map((o) => o.entry), a = n[0];
726
+ return a && a.name === "documentLibrary" ? this.getParents(a.id).then((o) => ({
727
+ documentLibrary: a,
443
728
  supParent: o
444
- })) : s[0];
729
+ })) : n[0];
445
730
  });
446
731
  }
447
732
  getDocumentLibrary(t) {
@@ -453,42 +738,45 @@ class yn {
453
738
  "permissions"
454
739
  ]
455
740
  };
456
- return P().listNodeChildren(t, r).then((n) => n.list.entries.map((i) => i.entry).find((i) => i.name === "documentLibrary"));
741
+ return P().listNodeChildren(t, r).then((s) => s.list.entries.map((a) => a.entry).find((a) => a.name === "documentLibrary"));
457
742
  }
458
- updateContentNode(t, r) {
459
- return P().updateNodeContent(t, r).then(
460
- (n) => n,
461
- function(n) {
462
- $().updateContentNodeError(n);
743
+ updateContentNode(t, r, s) {
744
+ let n = {
745
+ majorVersion: s
746
+ };
747
+ return P().updateNodeContent(t, r, n).then(
748
+ (a) => a,
749
+ function(a) {
750
+ $().updateContentNodeError(a);
463
751
  }
464
752
  );
465
753
  }
466
- copyNode(t, r, n) {
467
- const s = n !== null ? {
754
+ copyNode(t, r, s) {
755
+ const n = s !== null ? {
468
756
  targetParentId: r,
469
- name: n
757
+ name: s
470
758
  } : {
471
759
  targetParentId: r
472
- }, i = {
760
+ }, a = {
473
761
  include: ["path"]
474
762
  };
475
- return P().copyNode(t, s, i).then(
763
+ return P().copyNode(t, n, a).then(
476
764
  (o) => o,
477
765
  function(o) {
478
766
  $().copyNodeError(o);
479
767
  }
480
768
  );
481
769
  }
482
- moveNode(t, r, n) {
483
- const s = n !== null ? {
770
+ moveNode(t, r, s) {
771
+ const n = s !== null ? {
484
772
  targetParentId: r,
485
- name: n
773
+ name: s
486
774
  } : {
487
775
  targetParentId: r
488
- }, i = {
776
+ }, a = {
489
777
  include: ["path"]
490
778
  };
491
- return P().moveNode(t, s, i).then(
779
+ return P().moveNode(t, n, a).then(
492
780
  (o) => o,
493
781
  function(o) {
494
782
  $().moveNodeError(o);
@@ -496,20 +784,23 @@ class yn {
496
784
  );
497
785
  }
498
786
  }
499
- class gn {
787
+ class gs {
500
788
  getPublicLink() {
501
789
  }
502
790
  createPublicLink() {
503
791
  }
504
792
  }
505
- class Nn {
793
+ function O() {
794
+ return new je();
795
+ }
796
+ class ks {
506
797
  getWorkspaces() {
507
798
  const t = {
508
799
  skipCount: 0,
509
800
  maxItems: 100
510
801
  };
511
- return L().listSites(t).then((r) => r.list.entries.map((n) => n.entry)).catch((r) => {
512
- throw new Error(r.message);
802
+ return T().listSites(t).then((r) => r.list.entries.map((s) => s.entry)).catch((r) => {
803
+ O().getWorkspacesError(r);
513
804
  });
514
805
  }
515
806
  searchAllWorkspaces(t = "") {
@@ -524,169 +815,102 @@ class Nn {
524
815
  },
525
816
  localization: { locales: ["fr_FR"] }
526
817
  };
527
- return Gt().search(r).then((n) => n.list.entries.map((s) => {
528
- let i = s.entry;
529
- return i.title = s.entry.properties["cm:title"], i.visibility = s.entry.properties["st:siteVisibility"], i.typeEspace = s.entry.properties["pm:typeEspace"], i;
530
- })).catch((n) => {
531
- throw new Error(n.message);
818
+ return Kt().search(r).then((s) => s.list.entries.map((n) => {
819
+ let a = n.entry;
820
+ return a.title = n.entry.properties["cm:title"], a.visibility = n.entry.properties["st:siteVisibility"], a.typeEspace = n.entry.properties["pm:typeEspace"], a;
821
+ })).catch((s) => {
822
+ O().searchAllWorkspacesError(s);
532
823
  });
533
824
  }
534
825
  getWorkspace(t) {
535
826
  const r = {};
536
- return L().getSite(t, r).then((n) => n.entry).catch((n) => {
537
- throw new Error(n.message);
827
+ return T().getSite(t, r).then((s) => s.entry).catch((s) => {
828
+ O().getWorkspaceError(s);
538
829
  });
539
830
  }
540
831
  getWorkspaceMemberships(t) {
541
832
  const r = {};
542
- return L().listSiteMemberships(t, r).then((n) => n.list.entries.map((s) => s.entry)).catch((n) => {
543
- throw new Error(n.message);
833
+ return T().listSiteMemberships(t, r).then((s) => s.list.entries.map((n) => n.entry)).catch((s) => {
834
+ O().getWorkspaceMembershipsError(s);
544
835
  });
545
836
  }
546
- createWorkspace(t, r, n, s) {
547
- const i = {
837
+ createWorkspace(t, r, s, n) {
838
+ const a = {
548
839
  id: t,
549
840
  title: r,
550
- description: n,
551
- visibility: s
841
+ description: s,
842
+ visibility: n
552
843
  };
553
- return L().createSite(i).then((o) => o).catch((o) => {
554
- let u;
555
- switch (o.status) {
556
- case 400:
557
- u = "L'identifiant choisi ne respecte pas le format requis.";
558
- break;
559
- case 409:
560
- u = "L'identifiant choisi est d\xE9j\xE0 existant.";
561
- break;
562
- default:
563
- u = o.message;
564
- }
565
- throw new Error(u);
844
+ return T().createSite(a).then((o) => o).catch((o) => {
845
+ O().createWorkspaceError(o);
566
846
  });
567
847
  }
568
- async getWorskpaceUuid(t) {
569
- const r = {
570
- skipCount: 0,
571
- maxItems: 100
572
- };
573
- let n = null;
574
- const s = (await L.listSiteContainers(t, r)).list.entries;
575
- for (let i in s)
576
- s[i].entry.folderId === "documentLibrary" && (n = s[i].entry.id);
577
- return n;
578
- }
579
- updateWorkspaceMemberRole(t, r, n) {
580
- const s = {
581
- role: n
582
- }, i = {};
583
- return L().updateSiteMembership(t, r, s, i).then((o) => o).catch((o) => {
584
- let u;
585
- switch (o.status) {
586
- case 404:
587
- u = "L'identifiant entr\xE9 ne correspond \xE0 aucun utilisateur.";
588
- break;
589
- case 422:
590
- u = "Au moins un utilisateur doit \xEAtre Gestionnaire. Si ce n'est pas le cas, vous n'avez pas la permission de modifier le r\xF4le de cet utilisateur.";
591
- break;
592
- default:
593
- u = o.message;
594
- }
595
- throw new Error(u);
848
+ updateWorkspaceMemberRole(t, r, s) {
849
+ const n = {
850
+ role: s
851
+ }, a = {};
852
+ return T().updateSiteMembership(t, r, n, a).then((o) => o).catch((o) => {
853
+ O().updateWorkspaceMemberRoleError(o);
596
854
  });
597
855
  }
598
856
  deleteWorkspaceMember(t, r) {
599
- return L().deleteSiteMembership(t, r).then(() => r).catch((n) => {
600
- let s;
601
- switch (n.status) {
602
- case 400:
603
- s = "Impossible de supprimer le seul Gestionnaire de l'espace.";
604
- break;
605
- case 404:
606
- s = "Vous ne pouvez pas supprimer un utilisateur inexistant.";
607
- break;
608
- case 422:
609
- s = "Vous n'avez pas la permission de supprimer l'acc\xE8s \xE0 cet utilisateur.";
610
- break;
611
- default:
612
- s = n.message;
613
- }
614
- throw new Error(s);
857
+ return T().deleteSiteMembership(t, r).then(() => r).catch((s) => {
858
+ O().deleteWorkspaceMemberError(s);
615
859
  });
616
860
  }
617
- addWorkspaceMember(t, r, n) {
618
- const s = {
619
- role: n,
861
+ addWorkspaceMember(t, r, s) {
862
+ const n = {
863
+ role: s,
620
864
  id: r
621
- }, i = {};
622
- return L().createSiteMembership(t, s, i).then((o) => o).catch((o) => {
623
- let u;
624
- switch (o.status) {
625
- case 403:
626
- u = "Vous ne pouvez pas inviter sur ce site.";
627
- break;
628
- case 404:
629
- u = "Vous ne pouvez pas ajouter un utilisateur inexistant.";
630
- break;
631
- case 409:
632
- u = "L'utilisateur a d\xE9j\xE0 acc\xE8s \xE0 cet espace.";
633
- break;
634
- default:
635
- u = o.message;
636
- }
637
- throw new Error(u);
865
+ }, a = {};
866
+ return T().createSiteMembership(t, n, a).then((o) => o).catch((o) => {
867
+ O().addWorkspaceMemberError(o);
638
868
  });
639
869
  }
640
870
  updateWorkspaceType(t, r) {
641
- const n = {
871
+ const s = {
642
872
  properties: {
643
873
  "pm:typeEspace": r
644
874
  }
645
875
  };
646
- return P().updateNode(t, n).then((s) => s).catch((s) => {
647
- let i;
648
- switch (s.status) {
649
- case 404:
650
- i = "Vous ne pouvez pas mettre \xE0 jour un espace inexistant.";
651
- break;
652
- default:
653
- i = s.message;
654
- }
655
- throw new Error(i);
876
+ return P().updateNode(t, s).then((n) => n).catch((n) => {
877
+ O().updateWorkspaceTypeError(n);
656
878
  });
657
879
  }
658
880
  async getAllUsers() {
659
881
  return Re().listPeople().then((t) => t.list.entries.map((r) => {
660
- let n = r.entry;
661
- return n.email = (n == null ? void 0 : n.email) || "", n.firstName = (n == null ? void 0 : n.firstName) || n.email, n.lastName = (n == null ? void 0 : n.lastName) || n.email, {
662
- firstname: n.firstName,
663
- lastname: n.lastName,
664
- email: n.email,
665
- id: n.id,
666
- label: `${n.firstName} ${n.lastName}`,
667
- label2: `${n.lastName} ${n.firstName}`
882
+ let s = r.entry;
883
+ return s.email = (s == null ? void 0 : s.email) || "", s.firstName = (s == null ? void 0 : s.firstName) || s.email, s.lastName = (s == null ? void 0 : s.lastName) || s.email, {
884
+ firstname: s.firstName,
885
+ lastname: s.lastName,
886
+ email: s.email,
887
+ id: s.id,
888
+ label: `${s.firstName} ${s.lastName}`,
889
+ label2: `${s.lastName} ${s.firstName}`
668
890
  };
669
- }));
891
+ })).catch((t) => {
892
+ O().getAllUsersError(t);
893
+ });
670
894
  }
671
895
  deleteWorkspace(t) {
672
896
  const r = {};
673
- return L().deleteSite(t, r).then(() => {
897
+ return T().deleteSite(t, r).then(() => {
674
898
  console.log("Site deletion successful.");
675
- }).catch((n) => {
676
- throw new Error(n.message);
899
+ }).catch((s) => {
900
+ O().deleteWorkspaceError(s);
677
901
  });
678
902
  }
679
903
  updateWorkspace(t, r) {
680
- return L().updateSite(t, r).then((n) => n).catch((n) => {
681
- throw new Error(n.message);
904
+ return T().updateSite(t, r).then((s) => s).catch((s) => {
905
+ O().updateWorkspaceError(s);
682
906
  });
683
907
  }
684
908
  }
685
- var or = !1;
686
- function se(e, t, r) {
909
+ var ar = !1;
910
+ function oe(e, t, r) {
687
911
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), r) : (e[t] = r, r);
688
912
  }
689
- function Oe(e, t) {
913
+ function Ae(e, t) {
690
914
  if (Array.isArray(e)) {
691
915
  e.splice(t, 1);
692
916
  return;
@@ -698,277 +922,277 @@ function Oe(e, t) {
698
922
  * (c) 2022 Eduardo San Martin Morote
699
923
  * @license MIT
700
924
  */
701
- let X;
702
- const ae = (e) => X = e, ir = process.env.NODE_ENV !== "production" ? Symbol("pinia") : Symbol();
703
- function V(e) {
925
+ let G;
926
+ const ce = (e) => G = e, ir = process.env.NODE_ENV !== "production" ? Symbol("pinia") : Symbol();
927
+ function M(e) {
704
928
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
705
929
  }
706
- var Q;
930
+ var Y;
707
931
  (function(e) {
708
932
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
709
- })(Q || (Q = {}));
710
- const G = typeof window < "u";
711
- function ut(e, t) {
933
+ })(Y || (Y = {}));
934
+ const K = typeof window < "u";
935
+ function lt(e, t) {
712
936
  for (const r in t) {
713
- const n = t[r];
937
+ const s = t[r];
714
938
  if (!(r in e))
715
939
  continue;
716
- const s = e[r];
717
- V(s) && V(n) && !Y(n) && !Fe(n) ? e[r] = ut(s, n) : e[r] = n;
940
+ const n = e[r];
941
+ M(n) && M(s) && !Z(s) && !De(s) ? e[r] = lt(n, s) : e[r] = s;
718
942
  }
719
943
  return e;
720
944
  }
721
- const lt = () => {
945
+ const dt = () => {
722
946
  };
723
- function ze(e, t, r, n = lt) {
947
+ function qe(e, t, r, s = dt) {
724
948
  e.push(t);
725
- const s = () => {
726
- const i = e.indexOf(t);
727
- i > -1 && (e.splice(i, 1), n());
949
+ const n = () => {
950
+ const a = e.indexOf(t);
951
+ a > -1 && (e.splice(a, 1), s());
728
952
  };
729
- return !r && ot() && Jt(s), s;
953
+ return !r && it() && Xt(n), n;
730
954
  }
731
955
  function z(e, ...t) {
732
956
  e.slice().forEach((r) => {
733
957
  r(...t);
734
958
  });
735
959
  }
736
- function ke(e, t) {
960
+ function Le(e, t) {
737
961
  for (const r in t) {
738
962
  if (!t.hasOwnProperty(r))
739
963
  continue;
740
- const n = t[r], s = e[r];
741
- V(s) && V(n) && e.hasOwnProperty(r) && !Y(n) && !Fe(n) ? e[r] = ke(s, n) : e[r] = n;
964
+ const s = t[r], n = e[r];
965
+ M(n) && M(s) && e.hasOwnProperty(r) && !Z(s) && !De(s) ? e[r] = Le(n, s) : e[r] = s;
742
966
  }
743
967
  return e;
744
968
  }
745
- const ar = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : Symbol();
746
- function cr(e) {
747
- return !V(e) || !e.hasOwnProperty(ar);
969
+ const cr = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : Symbol();
970
+ function ur(e) {
971
+ return !M(e) || !e.hasOwnProperty(cr);
748
972
  }
749
973
  const { assign: x } = Object;
750
- function qe(e) {
751
- return !!(Y(e) && e.effect);
974
+ function He(e) {
975
+ return !!(Z(e) && e.effect);
752
976
  }
753
- function He(e, t, r, n) {
754
- const { state: s, actions: i, getters: o } = t, u = r.state.value[e];
755
- let f;
977
+ function Je(e, t, r, s) {
978
+ const { state: n, actions: a, getters: o } = t, u = r.state.value[e];
979
+ let d;
756
980
  function c() {
757
- !u && (process.env.NODE_ENV === "production" || !n) && (r.state.value[e] = s ? s() : {});
758
- const d = process.env.NODE_ENV !== "production" && n ? Me(it(s ? s() : {}).value) : Me(r.state.value[e]);
759
- return x(d, i, Object.keys(o || {}).reduce((m, g) => (process.env.NODE_ENV !== "production" && g in d && console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), m[g] = B(at(() => {
760
- ae(r);
981
+ !u && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = n ? n() : {});
982
+ const f = process.env.NODE_ENV !== "production" && s ? $e(ct(n ? n() : {}).value) : $e(r.state.value[e]);
983
+ return x(f, a, Object.keys(o || {}).reduce((m, g) => (process.env.NODE_ENV !== "production" && g in f && console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), m[g] = B(ut(() => {
984
+ ce(r);
761
985
  const h = r._s.get(e);
762
986
  return o[g].call(h, h);
763
987
  })), m), {}));
764
988
  }
765
- return f = Pe(e, c, t, r, n, !0), f.$reset = function() {
766
- const m = s ? s() : {};
989
+ return d = Pe(e, c, t, r, s, !0), d.$reset = function() {
990
+ const m = n ? n() : {};
767
991
  this.$patch((g) => {
768
992
  x(g, m);
769
993
  });
770
- }, f;
994
+ }, d;
771
995
  }
772
- function Pe(e, t, r = {}, n, s, i) {
996
+ function Pe(e, t, r = {}, s, n, a) {
773
997
  let o;
774
998
  const u = x({ actions: {} }, r);
775
- if (process.env.NODE_ENV !== "production" && !n._e.active)
999
+ if (process.env.NODE_ENV !== "production" && !s._e.active)
776
1000
  throw new Error("Pinia destroyed");
777
- const f = {
1001
+ const d = {
778
1002
  deep: !0
779
1003
  };
780
- process.env.NODE_ENV !== "production" && !or && (f.onTrigger = (b) => {
781
- c ? h = b : c == !1 && !E._hotUpdating && (Array.isArray(h) ? h.push(b) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1004
+ process.env.NODE_ENV !== "production" && !ar && (d.onTrigger = (E) => {
1005
+ c ? h = E : c == !1 && !b._hotUpdating && (Array.isArray(h) ? h.push(E) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
782
1006
  });
783
- let c, d, m = B([]), g = B([]), h;
784
- const l = n.state.value[e];
785
- !i && !l && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
786
- const N = it({});
1007
+ let c, f, m = B([]), g = B([]), h;
1008
+ const l = s.state.value[e];
1009
+ !a && !l && (process.env.NODE_ENV === "production" || !n) && (s.state.value[e] = {});
1010
+ const k = ct({});
787
1011
  let C;
788
- function A(b) {
1012
+ function S(E) {
789
1013
  let p;
790
- c = d = !1, process.env.NODE_ENV !== "production" && (h = []), typeof b == "function" ? (b(n.state.value[e]), p = {
791
- type: Q.patchFunction,
1014
+ c = f = !1, process.env.NODE_ENV !== "production" && (h = []), typeof E == "function" ? (E(s.state.value[e]), p = {
1015
+ type: Y.patchFunction,
792
1016
  storeId: e,
793
1017
  events: h
794
- }) : (ke(n.state.value[e], b), p = {
795
- type: Q.patchObject,
796
- payload: b,
1018
+ }) : (Le(s.state.value[e], E), p = {
1019
+ type: Y.patchObject,
1020
+ payload: E,
797
1021
  storeId: e,
798
1022
  events: h
799
1023
  });
800
1024
  const w = C = Symbol();
801
- Ve().then(() => {
1025
+ We().then(() => {
802
1026
  C === w && (c = !0);
803
- }), d = !0, z(m, p, n.state.value[e]);
1027
+ }), f = !0, z(m, p, s.state.value[e]);
804
1028
  }
805
- const D = process.env.NODE_ENV !== "production" ? () => {
1029
+ const j = process.env.NODE_ENV !== "production" ? () => {
806
1030
  throw new Error(`\u{1F34D}: Store "${e}" is built using the setup syntax and does not implement $reset().`);
807
- } : lt;
808
- function M() {
809
- o.stop(), m = [], g = [], n._s.delete(e);
1031
+ } : dt;
1032
+ function W() {
1033
+ o.stop(), m = [], g = [], s._s.delete(e);
810
1034
  }
811
- function re(b, p) {
1035
+ function se(E, p) {
812
1036
  return function() {
813
- ae(n);
814
- const w = Array.from(arguments), O = [], k = [];
815
- function xt(_) {
816
- O.push(_);
1037
+ ce(s);
1038
+ const w = Array.from(arguments), v = [], L = [];
1039
+ function xt(A) {
1040
+ v.push(A);
817
1041
  }
818
- function Ct(_) {
819
- k.push(_);
1042
+ function Ct(A) {
1043
+ L.push(A);
820
1044
  }
821
1045
  z(g, {
822
1046
  args: w,
823
- name: b,
824
- store: E,
1047
+ name: E,
1048
+ store: b,
825
1049
  after: xt,
826
1050
  onError: Ct
827
1051
  });
828
- let W;
1052
+ let J;
829
1053
  try {
830
- W = p.apply(this && this.$id === e ? this : E, w);
831
- } catch (_) {
832
- throw z(k, _), _;
1054
+ J = p.apply(this && this.$id === e ? this : b, w);
1055
+ } catch (A) {
1056
+ throw z(L, A), A;
833
1057
  }
834
- return W instanceof Promise ? W.then((_) => (z(O, _), _)).catch((_) => (z(k, _), Promise.reject(_))) : (z(O, W), W);
1058
+ return J instanceof Promise ? J.then((A) => (z(v, A), A)).catch((A) => (z(L, A), Promise.reject(A))) : (z(v, J), J);
835
1059
  };
836
1060
  }
837
1061
  const ne = /* @__PURE__ */ B({
838
1062
  actions: {},
839
1063
  getters: {},
840
1064
  state: [],
841
- hotState: N
1065
+ hotState: k
842
1066
  }), Pt = {
843
- _p: n,
1067
+ _p: s,
844
1068
  $id: e,
845
- $onAction: ze.bind(null, g),
846
- $patch: A,
847
- $reset: D,
848
- $subscribe(b, p = {}) {
849
- const w = ze(m, b, p.detached, () => O()), O = o.run(() => zt(() => n.state.value[e], (k) => {
850
- (p.flush === "sync" ? d : c) && b({
1069
+ $onAction: qe.bind(null, g),
1070
+ $patch: S,
1071
+ $reset: j,
1072
+ $subscribe(E, p = {}) {
1073
+ const w = qe(m, E, p.detached, () => v()), v = o.run(() => zt(() => s.state.value[e], (L) => {
1074
+ (p.flush === "sync" ? f : c) && E({
851
1075
  storeId: e,
852
- type: Q.direct,
1076
+ type: Y.direct,
853
1077
  events: h
854
- }, k);
855
- }, x({}, f, p)));
1078
+ }, L);
1079
+ }, x({}, d, p)));
856
1080
  return w;
857
1081
  },
858
- $dispose: M
859
- }, E = qt(x(
860
- process.env.NODE_ENV !== "production" && G ? {
1082
+ $dispose: W
1083
+ }, b = qt(x(
1084
+ process.env.NODE_ENV !== "production" && K ? {
861
1085
  _customProperties: B(/* @__PURE__ */ new Set()),
862
1086
  _hmrPayload: ne
863
1087
  } : {},
864
1088
  Pt
865
1089
  ));
866
- n._s.set(e, E);
867
- const j = n._e.run(() => (o = Ht(), o.run(() => t())));
868
- for (const b in j) {
869
- const p = j[b];
870
- if (Y(p) && !qe(p) || Fe(p))
871
- process.env.NODE_ENV !== "production" && s ? se(N.value, b, fe(j, b)) : i || (l && cr(p) && (Y(p) ? p.value = l[b] : ke(p, l[b])), n.state.value[e][b] = p), process.env.NODE_ENV !== "production" && ne.state.push(b);
1090
+ s._s.set(e, b);
1091
+ const U = s._e.run(() => (o = Ht(), o.run(() => t())));
1092
+ for (const E in U) {
1093
+ const p = U[E];
1094
+ if (Z(p) && !He(p) || De(p))
1095
+ process.env.NODE_ENV !== "production" && n ? oe(k.value, E, fe(U, E)) : a || (l && ur(p) && (Z(p) ? p.value = l[E] : Le(p, l[E])), s.state.value[e][E] = p), process.env.NODE_ENV !== "production" && ne.state.push(E);
872
1096
  else if (typeof p == "function") {
873
- const w = process.env.NODE_ENV !== "production" && s ? p : re(b, p);
874
- j[b] = w, process.env.NODE_ENV !== "production" && (ne.actions[b] = p), u.actions[b] = p;
1097
+ const w = process.env.NODE_ENV !== "production" && n ? p : se(E, p);
1098
+ U[E] = w, process.env.NODE_ENV !== "production" && (ne.actions[E] = p), u.actions[E] = p;
875
1099
  } else
876
- process.env.NODE_ENV !== "production" && qe(p) && (ne.getters[b] = i ? r.getters[b] : p, G && (j._getters || (j._getters = B([]))).push(b));
1100
+ process.env.NODE_ENV !== "production" && He(p) && (ne.getters[E] = a ? r.getters[E] : p, K && (U._getters || (U._getters = B([]))).push(E));
877
1101
  }
878
- if (x(E, j), x(Wt(E), j), Object.defineProperty(E, "$state", {
879
- get: () => process.env.NODE_ENV !== "production" && s ? N.value : n.state.value[e],
880
- set: (b) => {
881
- if (process.env.NODE_ENV !== "production" && s)
1102
+ if (x(b, U), x(Jt(b), U), Object.defineProperty(b, "$state", {
1103
+ get: () => process.env.NODE_ENV !== "production" && n ? k.value : s.state.value[e],
1104
+ set: (E) => {
1105
+ if (process.env.NODE_ENV !== "production" && n)
882
1106
  throw new Error("cannot set hotState");
883
- A((p) => {
884
- x(p, b);
1107
+ S((p) => {
1108
+ x(p, E);
885
1109
  });
886
1110
  }
887
1111
  }), process.env.NODE_ENV !== "production") {
888
- E._hotUpdate = B((p) => {
889
- E._hotUpdating = !0, p._hmrPayload.state.forEach((w) => {
890
- if (w in E.$state) {
891
- const O = p.$state[w], k = E.$state[w];
892
- typeof O == "object" && V(O) && V(k) ? ut(O, k) : p.$state[w] = k;
1112
+ b._hotUpdate = B((p) => {
1113
+ b._hotUpdating = !0, p._hmrPayload.state.forEach((w) => {
1114
+ if (w in b.$state) {
1115
+ const v = p.$state[w], L = b.$state[w];
1116
+ typeof v == "object" && M(v) && M(L) ? lt(v, L) : p.$state[w] = L;
893
1117
  }
894
- se(E, w, fe(p.$state, w));
895
- }), Object.keys(E.$state).forEach((w) => {
896
- w in p.$state || Oe(E, w);
897
- }), c = !1, d = !1, n.state.value[e] = fe(p._hmrPayload, "hotState"), d = !0, Ve().then(() => {
1118
+ oe(b, w, fe(p.$state, w));
1119
+ }), Object.keys(b.$state).forEach((w) => {
1120
+ w in p.$state || Ae(b, w);
1121
+ }), c = !1, f = !1, s.state.value[e] = fe(p._hmrPayload, "hotState"), f = !0, We().then(() => {
898
1122
  c = !0;
899
1123
  });
900
1124
  for (const w in p._hmrPayload.actions) {
901
- const O = p[w];
902
- se(E, w, re(w, O));
1125
+ const v = p[w];
1126
+ oe(b, w, se(w, v));
903
1127
  }
904
1128
  for (const w in p._hmrPayload.getters) {
905
- const O = p._hmrPayload.getters[w], k = i ? at(() => (ae(n), O.call(E, E))) : O;
906
- se(E, w, k);
1129
+ const v = p._hmrPayload.getters[w], L = a ? ut(() => (ce(s), v.call(b, b))) : v;
1130
+ oe(b, w, L);
907
1131
  }
908
- Object.keys(E._hmrPayload.getters).forEach((w) => {
909
- w in p._hmrPayload.getters || Oe(E, w);
910
- }), Object.keys(E._hmrPayload.actions).forEach((w) => {
911
- w in p._hmrPayload.actions || Oe(E, w);
912
- }), E._hmrPayload = p._hmrPayload, E._getters = p._getters, E._hotUpdating = !1;
1132
+ Object.keys(b._hmrPayload.getters).forEach((w) => {
1133
+ w in p._hmrPayload.getters || Ae(b, w);
1134
+ }), Object.keys(b._hmrPayload.actions).forEach((w) => {
1135
+ w in p._hmrPayload.actions || Ae(b, w);
1136
+ }), b._hmrPayload = p._hmrPayload, b._getters = p._getters, b._hotUpdating = !1;
913
1137
  });
914
- const b = {
1138
+ const E = {
915
1139
  writable: !0,
916
1140
  configurable: !0,
917
1141
  enumerable: !1
918
1142
  };
919
- G && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((p) => {
920
- Object.defineProperty(E, p, {
921
- value: E[p],
922
- ...b
1143
+ K && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((p) => {
1144
+ Object.defineProperty(b, p, {
1145
+ value: b[p],
1146
+ ...E
923
1147
  });
924
1148
  });
925
1149
  }
926
- return n._p.forEach((b) => {
927
- if (process.env.NODE_ENV !== "production" && G) {
928
- const p = o.run(() => b({
929
- store: E,
930
- app: n._a,
931
- pinia: n,
1150
+ return s._p.forEach((E) => {
1151
+ if (process.env.NODE_ENV !== "production" && K) {
1152
+ const p = o.run(() => E({
1153
+ store: b,
1154
+ app: s._a,
1155
+ pinia: s,
932
1156
  options: u
933
1157
  }));
934
- Object.keys(p || {}).forEach((w) => E._customProperties.add(w)), x(E, p);
1158
+ Object.keys(p || {}).forEach((w) => b._customProperties.add(w)), x(b, p);
935
1159
  } else
936
- x(E, o.run(() => b({
937
- store: E,
938
- app: n._a,
939
- pinia: n,
1160
+ x(b, o.run(() => E({
1161
+ store: b,
1162
+ app: s._a,
1163
+ pinia: s,
940
1164
  options: u
941
1165
  })));
942
- }), process.env.NODE_ENV !== "production" && E.$state && typeof E.$state == "object" && typeof E.$state.constructor == "function" && !E.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
1166
+ }), process.env.NODE_ENV !== "production" && b.$state && typeof b.$state == "object" && typeof b.$state.constructor == "function" && !b.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
943
1167
  state: () => new MyClass()
944
- Found in store "${E.$id}".`), l && i && r.hydrate && r.hydrate(E.$state, l), c = !0, d = !0, E;
945
- }
946
- function ur(e, t, r) {
947
- let n, s;
948
- const i = typeof t == "function";
949
- typeof e == "string" ? (n = e, s = i ? r : t) : (s = e, n = e.id);
950
- function o(u, f) {
951
- const c = ot();
952
- if (u = (process.env.NODE_ENV === "test" && X && X._testing ? null : u) || c && $t(ir), u && ae(u), process.env.NODE_ENV !== "production" && !X)
1168
+ Found in store "${b.$id}".`), l && a && r.hydrate && r.hydrate(b.$state, l), c = !0, f = !0, b;
1169
+ }
1170
+ function lr(e, t, r) {
1171
+ let s, n;
1172
+ const a = typeof t == "function";
1173
+ typeof e == "string" ? (s = e, n = a ? r : t) : (n = e, s = e.id);
1174
+ function o(u, d) {
1175
+ const c = it();
1176
+ if (u = (process.env.NODE_ENV === "test" && G && G._testing ? null : u) || c && $t(ir), u && ce(u), process.env.NODE_ENV !== "production" && !G)
953
1177
  throw new Error(`[\u{1F34D}]: getActivePinia was called with no active Pinia. Did you forget to install pinia?
954
1178
  const pinia = createPinia()
955
1179
  app.use(pinia)
956
1180
  This will fail in production.`);
957
- u = X, u._s.has(n) || (i ? Pe(n, t, s, u) : He(n, s, u), process.env.NODE_ENV !== "production" && (o._pinia = u));
958
- const d = u._s.get(n);
959
- if (process.env.NODE_ENV !== "production" && f) {
960
- const m = "__hot:" + n, g = i ? Pe(m, t, s, u, !0) : He(m, x({}, s), u, !0);
961
- f._hotUpdate(g), delete u.state.value[m], u._s.delete(m);
1181
+ u = G, u._s.has(s) || (a ? Pe(s, t, n, u) : Je(s, n, u), process.env.NODE_ENV !== "production" && (o._pinia = u));
1182
+ const f = u._s.get(s);
1183
+ if (process.env.NODE_ENV !== "production" && d) {
1184
+ const m = "__hot:" + s, g = a ? Pe(m, t, n, u, !0) : Je(m, x({}, n), u, !0);
1185
+ d._hotUpdate(g), delete u.state.value[m], u._s.delete(m);
962
1186
  }
963
- if (process.env.NODE_ENV !== "production" && G && c && c.proxy && !f) {
1187
+ if (process.env.NODE_ENV !== "production" && K && c && c.proxy && !d) {
964
1188
  const m = c.proxy, g = "_pStores" in m ? m._pStores : m._pStores = {};
965
- g[n] = d;
1189
+ g[s] = f;
966
1190
  }
967
- return d;
1191
+ return f;
968
1192
  }
969
- return o.$id = n, o;
1193
+ return o.$id = s, o;
970
1194
  }
971
- const We = ur({
1195
+ const Xe = lr({
972
1196
  id: "user",
973
1197
  state: () => ({
974
1198
  displayName: "",
@@ -993,10 +1217,10 @@ const We = ur({
993
1217
  },
994
1218
  isLoggedIn() {
995
1219
  let e;
996
- return this.apiAlfresco ? e = this.apiAlfresco : e = v(), Re().getPerson("-me-").then((t) => (this.$patch({
1220
+ return this.apiAlfresco ? e = this.apiAlfresco : e = _(), Re().getPerson("-me-").then((t) => (this.$patch({
997
1221
  person: t.entry,
998
1222
  apiAlfresco: e
999
- }), !0)).catch((t) => lr(t));
1223
+ }), !0)).catch((t) => dr(t));
1000
1224
  },
1001
1225
  async login(e, t) {
1002
1226
  if (!e || !t)
@@ -1006,12 +1230,12 @@ const We = ur({
1006
1230
  person: r.entry
1007
1231
  });
1008
1232
  }).catch((r) => {
1009
- Kt(r);
1233
+ Qt(r);
1010
1234
  });
1011
1235
  },
1012
1236
  apiLogin(e, t) {
1013
- return v().login(e, t).then(() => (this.$patch({
1014
- apiAlfresco: v()
1237
+ return _().login(e, t).then(() => (this.$patch({
1238
+ apiAlfresco: _()
1015
1239
  }), Re().getPerson("-me-"))).catch((r) => Promise.reject(r));
1016
1240
  },
1017
1241
  async publiclogoff() {
@@ -1038,33 +1262,33 @@ const We = ur({
1038
1262
  }
1039
1263
  }
1040
1264
  });
1041
- function lr(e) {
1265
+ function dr(e) {
1042
1266
  let t = JSON.parse(e.message).error;
1043
1267
  if (t.statusCode === 401 || t.statusCode === 403)
1044
1268
  return !1;
1045
1269
  throw new Error(e);
1046
1270
  }
1047
- class Sn {
1271
+ class Ns {
1048
1272
  getFavorites(t) {
1049
- const r = We(), n = {
1273
+ const r = Xe(), s = {
1050
1274
  skipCount: 0,
1051
1275
  maxItems: 100,
1052
1276
  include: ["properties", "path"]
1053
1277
  };
1054
- return t && (n.where = `(EXISTS(target/${t}))`), Se().listFavorites(r.person.id, n).then((s) => s.list.entries.map((i) => i.entry)).catch((s) => {
1055
- tr(s);
1278
+ return t && (s.where = `(EXISTS(target/${t}))`), Se().listFavorites(r.person.id, s).then((n) => n.list.entries.map((a) => a.entry)).catch((n) => {
1279
+ rr(n);
1056
1280
  });
1057
1281
  }
1058
1282
  changeSingleFavorite(t) {
1059
- const r = We();
1283
+ const r = Xe();
1060
1284
  if (t.isFavorite)
1061
- return Se().deleteFavorite(r.person.id, t.id).then(() => (t.isFavorite = !1, t)).catch((n) => {
1062
- nr(n);
1285
+ return Se().deleteFavorite(r.person.id, t.id).then(() => (t.isFavorite = !1, t)).catch((s) => {
1286
+ nr(s);
1063
1287
  });
1064
1288
  {
1065
- let n = { target: {} }, s = { guid: t.id };
1066
- return t.nodeType === "st:site" ? n.target = { site: s } : t.isFile ? n.target = { file: s } : n.target = { folder: s }, Se().createFavorite(r.person.id, n).then((i) => (t.isFavorite = i.entry.targetGuid === t.id, t)).catch((i) => {
1067
- rr(i);
1289
+ let s = { target: {} }, n = { guid: t.id };
1290
+ return t.nodeType === "st:site" ? s.target = { site: n } : t.isFile ? s.target = { file: n } : s.target = { folder: n }, Se().createFavorite(r.person.id, s).then((a) => (t.isFavorite = a.entry.targetGuid === t.id, t)).catch((a) => {
1291
+ sr(a);
1068
1292
  });
1069
1293
  }
1070
1294
  }
@@ -1074,109 +1298,109 @@ function ft(e, t) {
1074
1298
  return e.apply(t, arguments);
1075
1299
  };
1076
1300
  }
1077
- const { toString: dt } = Object.prototype, { getPrototypeOf: De } = Object, je = ((e) => (t) => {
1078
- const r = dt.call(t);
1301
+ const { toString: pt } = Object.prototype, { getPrototypeOf: Ue } = Object, Ve = ((e) => (t) => {
1302
+ const r = pt.call(t);
1079
1303
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
1080
- })(/* @__PURE__ */ Object.create(null)), F = (e) => (e = e.toLowerCase(), (t) => je(t) === e), ce = (e) => (t) => typeof t === e, { isArray: ee } = Array, xe = ce("undefined");
1304
+ })(/* @__PURE__ */ Object.create(null)), D = (e) => (e = e.toLowerCase(), (t) => Ve(t) === e), ue = (e) => (t) => typeof t === e, { isArray: te } = Array, xe = ue("undefined");
1081
1305
  function fr(e) {
1082
1306
  return e !== null && !xe(e) && e.constructor !== null && !xe(e.constructor) && q(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1083
1307
  }
1084
- const pt = F("ArrayBuffer");
1085
- function dr(e) {
1308
+ const ht = D("ArrayBuffer");
1309
+ function pr(e) {
1086
1310
  let t;
1087
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && pt(e.buffer), t;
1311
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ht(e.buffer), t;
1088
1312
  }
1089
- const pr = ce("string"), q = ce("function"), ht = ce("number"), mt = (e) => e !== null && typeof e == "object", hr = (e) => e === !0 || e === !1, oe = (e) => {
1090
- if (je(e) !== "object")
1313
+ const hr = ue("string"), q = ue("function"), mt = ue("number"), bt = (e) => e !== null && typeof e == "object", mr = (e) => e === !0 || e === !1, ae = (e) => {
1314
+ if (Ve(e) !== "object")
1091
1315
  return !1;
1092
- const t = De(e);
1316
+ const t = Ue(e);
1093
1317
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1094
- }, mr = F("Date"), Er = F("File"), br = F("Blob"), wr = F("FileList"), yr = (e) => mt(e) && q(e.pipe), gr = (e) => {
1318
+ }, br = D("Date"), Er = D("File"), wr = D("Blob"), yr = D("FileList"), gr = (e) => bt(e) && q(e.pipe), kr = (e) => {
1095
1319
  const t = "[object FormData]";
1096
- return e && (typeof FormData == "function" && e instanceof FormData || dt.call(e) === t || q(e.toString) && e.toString() === t);
1097
- }, Nr = F("URLSearchParams"), Sr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1098
- function ue(e, t, { allOwnKeys: r = !1 } = {}) {
1320
+ return e && (typeof FormData == "function" && e instanceof FormData || pt.call(e) === t || q(e.toString) && e.toString() === t);
1321
+ }, Nr = D("URLSearchParams"), Sr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1322
+ function le(e, t, { allOwnKeys: r = !1 } = {}) {
1099
1323
  if (e === null || typeof e > "u")
1100
1324
  return;
1101
- let n, s;
1102
- if (typeof e != "object" && (e = [e]), ee(e))
1103
- for (n = 0, s = e.length; n < s; n++)
1104
- t.call(null, e[n], n, e);
1325
+ let s, n;
1326
+ if (typeof e != "object" && (e = [e]), te(e))
1327
+ for (s = 0, n = e.length; s < n; s++)
1328
+ t.call(null, e[s], s, e);
1105
1329
  else {
1106
- const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
1330
+ const a = r ? Object.getOwnPropertyNames(e) : Object.keys(e), o = a.length;
1107
1331
  let u;
1108
- for (n = 0; n < o; n++)
1109
- u = i[n], t.call(null, e[u], u, e);
1332
+ for (s = 0; s < o; s++)
1333
+ u = a[s], t.call(null, e[u], u, e);
1110
1334
  }
1111
1335
  }
1112
1336
  function Ce() {
1113
- const e = {}, t = (r, n) => {
1114
- oe(e[n]) && oe(r) ? e[n] = Ce(e[n], r) : oe(r) ? e[n] = Ce({}, r) : ee(r) ? e[n] = r.slice() : e[n] = r;
1337
+ const e = {}, t = (r, s) => {
1338
+ ae(e[s]) && ae(r) ? e[s] = Ce(e[s], r) : ae(r) ? e[s] = Ce({}, r) : te(r) ? e[s] = r.slice() : e[s] = r;
1115
1339
  };
1116
- for (let r = 0, n = arguments.length; r < n; r++)
1117
- arguments[r] && ue(arguments[r], t);
1340
+ for (let r = 0, s = arguments.length; r < s; r++)
1341
+ arguments[r] && le(arguments[r], t);
1118
1342
  return e;
1119
1343
  }
1120
- const Ar = (e, t, r, { allOwnKeys: n } = {}) => (ue(t, (s, i) => {
1121
- r && q(s) ? e[i] = ft(s, r) : e[i] = s;
1122
- }, { allOwnKeys: n }), e), Or = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), _r = (e, t, r, n) => {
1123
- e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
1344
+ const vr = (e, t, r, { allOwnKeys: s } = {}) => (le(t, (n, a) => {
1345
+ r && q(n) ? e[a] = ft(n, r) : e[a] = n;
1346
+ }, { allOwnKeys: s }), e), Ar = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Or = (e, t, r, s) => {
1347
+ e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
1124
1348
  value: t.prototype
1125
1349
  }), r && Object.assign(e.prototype, r);
1126
- }, vr = (e, t, r, n) => {
1127
- let s, i, o;
1350
+ }, _r = (e, t, r, s) => {
1351
+ let n, a, o;
1128
1352
  const u = {};
1129
1353
  if (t = t || {}, e == null)
1130
1354
  return t;
1131
1355
  do {
1132
- for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
1133
- o = s[i], (!n || n(o, e, t)) && !u[o] && (t[o] = e[o], u[o] = !0);
1134
- e = r !== !1 && De(e);
1356
+ for (n = Object.getOwnPropertyNames(e), a = n.length; a-- > 0; )
1357
+ o = n[a], (!s || s(o, e, t)) && !u[o] && (t[o] = e[o], u[o] = !0);
1358
+ e = r !== !1 && Ue(e);
1135
1359
  } while (e && (!r || r(e, t)) && e !== Object.prototype);
1136
1360
  return t;
1137
1361
  }, Rr = (e, t, r) => {
1138
1362
  e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
1139
- const n = e.indexOf(t, r);
1140
- return n !== -1 && n === r;
1141
- }, kr = (e) => {
1363
+ const s = e.indexOf(t, r);
1364
+ return s !== -1 && s === r;
1365
+ }, Lr = (e) => {
1142
1366
  if (!e)
1143
1367
  return null;
1144
- if (ee(e))
1368
+ if (te(e))
1145
1369
  return e;
1146
1370
  let t = e.length;
1147
- if (!ht(t))
1371
+ if (!mt(t))
1148
1372
  return null;
1149
1373
  const r = new Array(t);
1150
1374
  for (; t-- > 0; )
1151
1375
  r[t] = e[t];
1152
1376
  return r;
1153
- }, Pr = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && De(Uint8Array)), xr = (e, t) => {
1154
- const n = (e && e[Symbol.iterator]).call(e);
1155
- let s;
1156
- for (; (s = n.next()) && !s.done; ) {
1157
- const i = s.value;
1158
- t.call(e, i[0], i[1]);
1377
+ }, Pr = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ue(Uint8Array)), xr = (e, t) => {
1378
+ const s = (e && e[Symbol.iterator]).call(e);
1379
+ let n;
1380
+ for (; (n = s.next()) && !n.done; ) {
1381
+ const a = n.value;
1382
+ t.call(e, a[0], a[1]);
1159
1383
  }
1160
1384
  }, Cr = (e, t) => {
1161
1385
  let r;
1162
- const n = [];
1386
+ const s = [];
1163
1387
  for (; (r = e.exec(t)) !== null; )
1164
- n.push(r);
1165
- return n;
1166
- }, Lr = F("HTMLFormElement"), Tr = (e) => e.toLowerCase().replace(
1388
+ s.push(r);
1389
+ return s;
1390
+ }, Tr = D("HTMLFormElement"), Fr = (e) => e.toLowerCase().replace(
1167
1391
  /[_-\s]([a-z\d])(\w*)/g,
1168
- function(r, n, s) {
1169
- return n.toUpperCase() + s;
1170
- }
1171
- ), Je = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Fr = F("RegExp"), Et = (e, t) => {
1172
- const r = Object.getOwnPropertyDescriptors(e), n = {};
1173
- ue(r, (s, i) => {
1174
- t(s, i, e) !== !1 && (n[i] = s);
1175
- }), Object.defineProperties(e, n);
1176
- }, Dr = (e) => {
1392
+ function(r, s, n) {
1393
+ return s.toUpperCase() + n;
1394
+ }
1395
+ ), Ge = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Dr = D("RegExp"), Et = (e, t) => {
1396
+ const r = Object.getOwnPropertyDescriptors(e), s = {};
1397
+ le(r, (n, a) => {
1398
+ t(n, a, e) !== !1 && (s[a] = n);
1399
+ }), Object.defineProperties(e, s);
1400
+ }, jr = (e) => {
1177
1401
  Et(e, (t, r) => {
1178
- const n = e[r];
1179
- if (!!q(n)) {
1402
+ const s = e[r];
1403
+ if (!!q(s)) {
1180
1404
  if (t.enumerable = !1, "writable" in t) {
1181
1405
  t.writable = !1;
1182
1406
  return;
@@ -1186,62 +1410,62 @@ const Ar = (e, t, r, { allOwnKeys: n } = {}) => (ue(t, (s, i) => {
1186
1410
  });
1187
1411
  }
1188
1412
  });
1189
- }, jr = (e, t) => {
1190
- const r = {}, n = (s) => {
1191
- s.forEach((i) => {
1192
- r[i] = !0;
1413
+ }, Ur = (e, t) => {
1414
+ const r = {}, s = (n) => {
1415
+ n.forEach((a) => {
1416
+ r[a] = !0;
1193
1417
  });
1194
1418
  };
1195
- return ee(e) ? n(e) : n(String(e).split(t)), r;
1196
- }, Ur = () => {
1197
- }, Br = (e, t) => (e = +e, Number.isFinite(e) ? e : t), a = {
1198
- isArray: ee,
1199
- isArrayBuffer: pt,
1419
+ return te(e) ? s(e) : s(String(e).split(t)), r;
1420
+ }, Vr = () => {
1421
+ }, Br = (e, t) => (e = +e, Number.isFinite(e) ? e : t), i = {
1422
+ isArray: te,
1423
+ isArrayBuffer: ht,
1200
1424
  isBuffer: fr,
1201
- isFormData: gr,
1202
- isArrayBufferView: dr,
1203
- isString: pr,
1204
- isNumber: ht,
1205
- isBoolean: hr,
1206
- isObject: mt,
1207
- isPlainObject: oe,
1425
+ isFormData: kr,
1426
+ isArrayBufferView: pr,
1427
+ isString: hr,
1428
+ isNumber: mt,
1429
+ isBoolean: mr,
1430
+ isObject: bt,
1431
+ isPlainObject: ae,
1208
1432
  isUndefined: xe,
1209
- isDate: mr,
1433
+ isDate: br,
1210
1434
  isFile: Er,
1211
- isBlob: br,
1212
- isRegExp: Fr,
1435
+ isBlob: wr,
1436
+ isRegExp: Dr,
1213
1437
  isFunction: q,
1214
- isStream: yr,
1438
+ isStream: gr,
1215
1439
  isURLSearchParams: Nr,
1216
1440
  isTypedArray: Pr,
1217
- isFileList: wr,
1218
- forEach: ue,
1441
+ isFileList: yr,
1442
+ forEach: le,
1219
1443
  merge: Ce,
1220
- extend: Ar,
1444
+ extend: vr,
1221
1445
  trim: Sr,
1222
- stripBOM: Or,
1223
- inherits: _r,
1224
- toFlatObject: vr,
1225
- kindOf: je,
1226
- kindOfTest: F,
1446
+ stripBOM: Ar,
1447
+ inherits: Or,
1448
+ toFlatObject: _r,
1449
+ kindOf: Ve,
1450
+ kindOfTest: D,
1227
1451
  endsWith: Rr,
1228
- toArray: kr,
1452
+ toArray: Lr,
1229
1453
  forEachEntry: xr,
1230
1454
  matchAll: Cr,
1231
- isHTMLForm: Lr,
1232
- hasOwnProperty: Je,
1233
- hasOwnProp: Je,
1455
+ isHTMLForm: Tr,
1456
+ hasOwnProperty: Ge,
1457
+ hasOwnProp: Ge,
1234
1458
  reduceDescriptors: Et,
1235
- freezeMethods: Dr,
1236
- toObjectSet: jr,
1237
- toCamelCase: Tr,
1238
- noop: Ur,
1459
+ freezeMethods: jr,
1460
+ toObjectSet: Ur,
1461
+ toCamelCase: Fr,
1462
+ noop: Vr,
1239
1463
  toFiniteNumber: Br
1240
1464
  };
1241
- function y(e, t, r, n, s) {
1242
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), s && (this.response = s);
1465
+ function y(e, t, r, s, n) {
1466
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), s && (this.request = s), n && (this.response = n);
1243
1467
  }
1244
- a.inherits(y, Error, {
1468
+ i.inherits(y, Error, {
1245
1469
  toJSON: function() {
1246
1470
  return {
1247
1471
  message: this.message,
@@ -1258,7 +1482,7 @@ a.inherits(y, Error, {
1258
1482
  };
1259
1483
  }
1260
1484
  });
1261
- const bt = y.prototype, wt = {};
1485
+ const wt = y.prototype, yt = {};
1262
1486
  [
1263
1487
  "ERR_BAD_OPTION_VALUE",
1264
1488
  "ERR_BAD_OPTION",
@@ -1273,99 +1497,99 @@ const bt = y.prototype, wt = {};
1273
1497
  "ERR_NOT_SUPPORT",
1274
1498
  "ERR_INVALID_URL"
1275
1499
  ].forEach((e) => {
1276
- wt[e] = { value: e };
1500
+ yt[e] = { value: e };
1277
1501
  });
1278
- Object.defineProperties(y, wt);
1279
- Object.defineProperty(bt, "isAxiosError", { value: !0 });
1280
- y.from = (e, t, r, n, s, i) => {
1281
- const o = Object.create(bt);
1282
- return a.toFlatObject(e, o, function(f) {
1283
- return f !== Error.prototype;
1284
- }, (u) => u !== "isAxiosError"), y.call(o, e.message, t, r, n, s), o.cause = e, o.name = e.name, i && Object.assign(o, i), o;
1502
+ Object.defineProperties(y, yt);
1503
+ Object.defineProperty(wt, "isAxiosError", { value: !0 });
1504
+ y.from = (e, t, r, s, n, a) => {
1505
+ const o = Object.create(wt);
1506
+ return i.toFlatObject(e, o, function(d) {
1507
+ return d !== Error.prototype;
1508
+ }, (u) => u !== "isAxiosError"), y.call(o, e.message, t, r, s, n), o.cause = e, o.name = e.name, a && Object.assign(o, a), o;
1285
1509
  };
1286
1510
  var Ir = typeof self == "object" ? self.FormData : window.FormData;
1287
- function Le(e) {
1288
- return a.isPlainObject(e) || a.isArray(e);
1511
+ function Te(e) {
1512
+ return i.isPlainObject(e) || i.isArray(e);
1289
1513
  }
1290
- function yt(e) {
1291
- return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
1514
+ function gt(e) {
1515
+ return i.endsWith(e, "[]") ? e.slice(0, -2) : e;
1292
1516
  }
1293
- function Xe(e, t, r) {
1294
- return e ? e.concat(t).map(function(s, i) {
1295
- return s = yt(s), !r && i ? "[" + s + "]" : s;
1517
+ function Ke(e, t, r) {
1518
+ return e ? e.concat(t).map(function(n, a) {
1519
+ return n = gt(n), !r && a ? "[" + n + "]" : n;
1296
1520
  }).join(r ? "." : "") : t;
1297
1521
  }
1298
- function Vr(e) {
1299
- return a.isArray(e) && !e.some(Le);
1522
+ function Mr(e) {
1523
+ return i.isArray(e) && !e.some(Te);
1300
1524
  }
1301
- const Mr = a.toFlatObject(a, {}, null, function(t) {
1525
+ const Wr = i.toFlatObject(i, {}, null, function(t) {
1302
1526
  return /^is[A-Z]/.test(t);
1303
1527
  });
1304
1528
  function $r(e) {
1305
- return e && a.isFunction(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator];
1529
+ return e && i.isFunction(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator];
1306
1530
  }
1307
- function le(e, t, r) {
1308
- if (!a.isObject(e))
1531
+ function de(e, t, r) {
1532
+ if (!i.isObject(e))
1309
1533
  throw new TypeError("target must be an object");
1310
- t = t || new (Ir || FormData)(), r = a.toFlatObject(r, {
1534
+ t = t || new (Ir || FormData)(), r = i.toFlatObject(r, {
1311
1535
  metaTokens: !0,
1312
1536
  dots: !1,
1313
1537
  indexes: !1
1314
- }, !1, function(N, C) {
1315
- return !a.isUndefined(C[N]);
1538
+ }, !1, function(k, C) {
1539
+ return !i.isUndefined(C[k]);
1316
1540
  });
1317
- const n = r.metaTokens, s = r.visitor || d, i = r.dots, o = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && $r(t);
1318
- if (!a.isFunction(s))
1541
+ const s = r.metaTokens, n = r.visitor || f, a = r.dots, o = r.indexes, d = (r.Blob || typeof Blob < "u" && Blob) && $r(t);
1542
+ if (!i.isFunction(n))
1319
1543
  throw new TypeError("visitor must be a function");
1320
1544
  function c(l) {
1321
1545
  if (l === null)
1322
1546
  return "";
1323
- if (a.isDate(l))
1547
+ if (i.isDate(l))
1324
1548
  return l.toISOString();
1325
- if (!f && a.isBlob(l))
1549
+ if (!d && i.isBlob(l))
1326
1550
  throw new y("Blob is not supported. Use a Buffer instead.");
1327
- return a.isArrayBuffer(l) || a.isTypedArray(l) ? f && typeof Blob == "function" ? new Blob([l]) : Buffer.from(l) : l;
1551
+ return i.isArrayBuffer(l) || i.isTypedArray(l) ? d && typeof Blob == "function" ? new Blob([l]) : Buffer.from(l) : l;
1328
1552
  }
1329
- function d(l, N, C) {
1330
- let A = l;
1553
+ function f(l, k, C) {
1554
+ let S = l;
1331
1555
  if (l && !C && typeof l == "object") {
1332
- if (a.endsWith(N, "{}"))
1333
- N = n ? N : N.slice(0, -2), l = JSON.stringify(l);
1334
- else if (a.isArray(l) && Vr(l) || a.isFileList(l) || a.endsWith(N, "[]") && (A = a.toArray(l)))
1335
- return N = yt(N), A.forEach(function(M, re) {
1336
- !(a.isUndefined(M) || M === null) && t.append(
1337
- o === !0 ? Xe([N], re, i) : o === null ? N : N + "[]",
1338
- c(M)
1556
+ if (i.endsWith(k, "{}"))
1557
+ k = s ? k : k.slice(0, -2), l = JSON.stringify(l);
1558
+ else if (i.isArray(l) && Mr(l) || i.isFileList(l) || i.endsWith(k, "[]") && (S = i.toArray(l)))
1559
+ return k = gt(k), S.forEach(function(W, se) {
1560
+ !(i.isUndefined(W) || W === null) && t.append(
1561
+ o === !0 ? Ke([k], se, a) : o === null ? k : k + "[]",
1562
+ c(W)
1339
1563
  );
1340
1564
  }), !1;
1341
1565
  }
1342
- return Le(l) ? !0 : (t.append(Xe(C, N, i), c(l)), !1);
1566
+ return Te(l) ? !0 : (t.append(Ke(C, k, a), c(l)), !1);
1343
1567
  }
1344
- const m = [], g = Object.assign(Mr, {
1345
- defaultVisitor: d,
1568
+ const m = [], g = Object.assign(Wr, {
1569
+ defaultVisitor: f,
1346
1570
  convertValue: c,
1347
- isVisitable: Le
1571
+ isVisitable: Te
1348
1572
  });
1349
- function h(l, N) {
1350
- if (!a.isUndefined(l)) {
1573
+ function h(l, k) {
1574
+ if (!i.isUndefined(l)) {
1351
1575
  if (m.indexOf(l) !== -1)
1352
- throw Error("Circular reference detected in " + N.join("."));
1353
- m.push(l), a.forEach(l, function(A, D) {
1354
- (!(a.isUndefined(A) || A === null) && s.call(
1576
+ throw Error("Circular reference detected in " + k.join("."));
1577
+ m.push(l), i.forEach(l, function(S, j) {
1578
+ (!(i.isUndefined(S) || S === null) && n.call(
1355
1579
  t,
1356
- A,
1357
- a.isString(D) ? D.trim() : D,
1358
- N,
1580
+ S,
1581
+ i.isString(j) ? j.trim() : j,
1582
+ k,
1359
1583
  g
1360
- )) === !0 && h(A, N ? N.concat(D) : [D]);
1584
+ )) === !0 && h(S, k ? k.concat(j) : [j]);
1361
1585
  }), m.pop();
1362
1586
  }
1363
1587
  }
1364
- if (!a.isObject(e))
1588
+ if (!i.isObject(e))
1365
1589
  throw new TypeError("data must be an object");
1366
1590
  return h(e), t;
1367
1591
  }
1368
- function Ge(e) {
1592
+ function Qe(e) {
1369
1593
  const t = {
1370
1594
  "!": "%21",
1371
1595
  "'": "%27",
@@ -1375,23 +1599,23 @@ function Ge(e) {
1375
1599
  "%20": "+",
1376
1600
  "%00": "\0"
1377
1601
  };
1378
- return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
1379
- return t[n];
1602
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(s) {
1603
+ return t[s];
1380
1604
  });
1381
1605
  }
1382
- function Ue(e, t) {
1383
- this._pairs = [], e && le(e, this, t);
1606
+ function Be(e, t) {
1607
+ this._pairs = [], e && de(e, this, t);
1384
1608
  }
1385
- const gt = Ue.prototype;
1386
- gt.append = function(t, r) {
1609
+ const kt = Be.prototype;
1610
+ kt.append = function(t, r) {
1387
1611
  this._pairs.push([t, r]);
1388
1612
  };
1389
- gt.toString = function(t) {
1390
- const r = t ? function(n) {
1391
- return t.call(this, n, Ge);
1392
- } : Ge;
1393
- return this._pairs.map(function(s) {
1394
- return r(s[0]) + "=" + r(s[1]);
1613
+ kt.toString = function(t) {
1614
+ const r = t ? function(s) {
1615
+ return t.call(this, s, Qe);
1616
+ } : Qe;
1617
+ return this._pairs.map(function(n) {
1618
+ return r(n[0]) + "=" + r(n[1]);
1395
1619
  }, "").join("&");
1396
1620
  };
1397
1621
  function zr(e) {
@@ -1400,24 +1624,24 @@ function zr(e) {
1400
1624
  function Nt(e, t, r) {
1401
1625
  if (!t)
1402
1626
  return e;
1403
- const n = r && r.encode || zr, s = r && r.serialize;
1404
- let i;
1405
- if (s ? i = s(t, r) : i = a.isURLSearchParams(t) ? t.toString() : new Ue(t, r).toString(n), i) {
1627
+ const s = r && r.encode || zr, n = r && r.serialize;
1628
+ let a;
1629
+ if (n ? a = n(t, r) : a = i.isURLSearchParams(t) ? t.toString() : new Be(t, r).toString(s), a) {
1406
1630
  const o = e.indexOf("#");
1407
- o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1631
+ o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + a;
1408
1632
  }
1409
1633
  return e;
1410
1634
  }
1411
- class Ke {
1635
+ class Ye {
1412
1636
  constructor() {
1413
1637
  this.handlers = [];
1414
1638
  }
1415
- use(t, r, n) {
1639
+ use(t, r, s) {
1416
1640
  return this.handlers.push({
1417
1641
  fulfilled: t,
1418
1642
  rejected: r,
1419
- synchronous: n ? n.synchronous : !1,
1420
- runWhen: n ? n.runWhen : null
1643
+ synchronous: s ? s.synchronous : !1,
1644
+ runWhen: s ? s.runWhen : null
1421
1645
  }), this.handlers.length - 1;
1422
1646
  }
1423
1647
  eject(t) {
@@ -1427,8 +1651,8 @@ class Ke {
1427
1651
  this.handlers && (this.handlers = []);
1428
1652
  }
1429
1653
  forEach(t) {
1430
- a.forEach(this.handlers, function(n) {
1431
- n !== null && t(n);
1654
+ i.forEach(this.handlers, function(s) {
1655
+ s !== null && t(s);
1432
1656
  });
1433
1657
  }
1434
1658
  }
@@ -1436,55 +1660,55 @@ const St = {
1436
1660
  silentJSONParsing: !0,
1437
1661
  forcedJSONParsing: !0,
1438
1662
  clarifyTimeoutError: !1
1439
- }, qr = typeof URLSearchParams < "u" ? URLSearchParams : Ue, Hr = FormData, Wr = (() => {
1663
+ }, qr = typeof URLSearchParams < "u" ? URLSearchParams : Be, Hr = FormData, Jr = (() => {
1440
1664
  let e;
1441
1665
  return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
1442
- })(), T = {
1666
+ })(), F = {
1443
1667
  isBrowser: !0,
1444
1668
  classes: {
1445
1669
  URLSearchParams: qr,
1446
1670
  FormData: Hr,
1447
1671
  Blob
1448
1672
  },
1449
- isStandardBrowserEnv: Wr,
1673
+ isStandardBrowserEnv: Jr,
1450
1674
  protocols: ["http", "https", "file", "blob", "url", "data"]
1451
1675
  };
1452
- function Jr(e, t) {
1453
- return le(e, new T.classes.URLSearchParams(), Object.assign({
1454
- visitor: function(r, n, s, i) {
1455
- return T.isNode && a.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1676
+ function Xr(e, t) {
1677
+ return de(e, new F.classes.URLSearchParams(), Object.assign({
1678
+ visitor: function(r, s, n, a) {
1679
+ return F.isNode && i.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
1456
1680
  }
1457
1681
  }, t));
1458
1682
  }
1459
- function Xr(e) {
1460
- return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1461
- }
1462
1683
  function Gr(e) {
1684
+ return i.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1685
+ }
1686
+ function Kr(e) {
1463
1687
  const t = {}, r = Object.keys(e);
1464
- let n;
1465
- const s = r.length;
1466
- let i;
1467
- for (n = 0; n < s; n++)
1468
- i = r[n], t[i] = e[i];
1688
+ let s;
1689
+ const n = r.length;
1690
+ let a;
1691
+ for (s = 0; s < n; s++)
1692
+ a = r[s], t[a] = e[a];
1469
1693
  return t;
1470
1694
  }
1471
- function At(e) {
1472
- function t(r, n, s, i) {
1473
- let o = r[i++];
1474
- const u = Number.isFinite(+o), f = i >= r.length;
1475
- return o = !o && a.isArray(s) ? s.length : o, f ? (a.hasOwnProp(s, o) ? s[o] = [s[o], n] : s[o] = n, !u) : ((!s[o] || !a.isObject(s[o])) && (s[o] = []), t(r, n, s[o], i) && a.isArray(s[o]) && (s[o] = Gr(s[o])), !u);
1695
+ function vt(e) {
1696
+ function t(r, s, n, a) {
1697
+ let o = r[a++];
1698
+ const u = Number.isFinite(+o), d = a >= r.length;
1699
+ return o = !o && i.isArray(n) ? n.length : o, d ? (i.hasOwnProp(n, o) ? n[o] = [n[o], s] : n[o] = s, !u) : ((!n[o] || !i.isObject(n[o])) && (n[o] = []), t(r, s, n[o], a) && i.isArray(n[o]) && (n[o] = Kr(n[o])), !u);
1476
1700
  }
1477
- if (a.isFormData(e) && a.isFunction(e.entries)) {
1701
+ if (i.isFormData(e) && i.isFunction(e.entries)) {
1478
1702
  const r = {};
1479
- return a.forEachEntry(e, (n, s) => {
1480
- t(Xr(n), s, r, 0);
1703
+ return i.forEachEntry(e, (s, n) => {
1704
+ t(Gr(s), n, r, 0);
1481
1705
  }), r;
1482
1706
  }
1483
1707
  return null;
1484
1708
  }
1485
- function Kr(e, t, r) {
1486
- const n = r.config.validateStatus;
1487
- !r.status || !n || n(r.status) ? e(r) : t(new y(
1709
+ function Qr(e, t, r) {
1710
+ const s = r.config.validateStatus;
1711
+ !r.status || !s || s(r.status) ? e(r) : t(new y(
1488
1712
  "Request failed with status code " + r.status,
1489
1713
  [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
1490
1714
  r.config,
@@ -1492,15 +1716,15 @@ function Kr(e, t, r) {
1492
1716
  r
1493
1717
  ));
1494
1718
  }
1495
- const Qr = T.isStandardBrowserEnv ? function() {
1719
+ const Yr = F.isStandardBrowserEnv ? function() {
1496
1720
  return {
1497
- write: function(r, n, s, i, o, u) {
1498
- const f = [];
1499
- f.push(r + "=" + encodeURIComponent(n)), a.isNumber(s) && f.push("expires=" + new Date(s).toGMTString()), a.isString(i) && f.push("path=" + i), a.isString(o) && f.push("domain=" + o), u === !0 && f.push("secure"), document.cookie = f.join("; ");
1721
+ write: function(r, s, n, a, o, u) {
1722
+ const d = [];
1723
+ d.push(r + "=" + encodeURIComponent(s)), i.isNumber(n) && d.push("expires=" + new Date(n).toGMTString()), i.isString(a) && d.push("path=" + a), i.isString(o) && d.push("domain=" + o), u === !0 && d.push("secure"), document.cookie = d.join("; ");
1500
1724
  },
1501
1725
  read: function(r) {
1502
- const n = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
1503
- return n ? decodeURIComponent(n[3]) : null;
1726
+ const s = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
1727
+ return s ? decodeURIComponent(s[3]) : null;
1504
1728
  },
1505
1729
  remove: function(r) {
1506
1730
  this.write(r, "", Date.now() - 864e5);
@@ -1517,20 +1741,20 @@ const Qr = T.isStandardBrowserEnv ? function() {
1517
1741
  }
1518
1742
  };
1519
1743
  }();
1520
- function Yr(e) {
1744
+ function Zr(e) {
1521
1745
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1522
1746
  }
1523
- function Zr(e, t) {
1747
+ function es(e, t) {
1524
1748
  return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
1525
1749
  }
1526
- function Ot(e, t) {
1527
- return e && !Yr(t) ? Zr(e, t) : t;
1750
+ function At(e, t) {
1751
+ return e && !Zr(t) ? es(e, t) : t;
1528
1752
  }
1529
- const en = T.isStandardBrowserEnv ? function() {
1753
+ const ts = F.isStandardBrowserEnv ? function() {
1530
1754
  const t = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a");
1531
- let n;
1532
- function s(i) {
1533
- let o = i;
1755
+ let s;
1756
+ function n(a) {
1757
+ let o = a;
1534
1758
  return t && (r.setAttribute("href", o), o = r.href), r.setAttribute("href", o), {
1535
1759
  href: r.href,
1536
1760
  protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
@@ -1542,26 +1766,26 @@ const en = T.isStandardBrowserEnv ? function() {
1542
1766
  pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname
1543
1767
  };
1544
1768
  }
1545
- return n = s(window.location.href), function(o) {
1546
- const u = a.isString(o) ? s(o) : o;
1547
- return u.protocol === n.protocol && u.host === n.host;
1769
+ return s = n(window.location.href), function(o) {
1770
+ const u = i.isString(o) ? n(o) : o;
1771
+ return u.protocol === s.protocol && u.host === s.host;
1548
1772
  };
1549
1773
  }() : function() {
1550
1774
  return function() {
1551
1775
  return !0;
1552
1776
  };
1553
1777
  }();
1554
- function te(e, t, r) {
1778
+ function re(e, t, r) {
1555
1779
  y.call(this, e == null ? "canceled" : e, y.ERR_CANCELED, t, r), this.name = "CanceledError";
1556
1780
  }
1557
- a.inherits(te, y, {
1781
+ i.inherits(re, y, {
1558
1782
  __CANCEL__: !0
1559
1783
  });
1560
- function tn(e) {
1784
+ function rs(e) {
1561
1785
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1562
1786
  return t && t[1] || "";
1563
1787
  }
1564
- const rn = a.toObjectSet([
1788
+ const ss = i.toObjectSet([
1565
1789
  "age",
1566
1790
  "authorization",
1567
1791
  "content-length",
@@ -1579,210 +1803,210 @@ const rn = a.toObjectSet([
1579
1803
  "referer",
1580
1804
  "retry-after",
1581
1805
  "user-agent"
1582
- ]), nn = (e) => {
1806
+ ]), ns = (e) => {
1583
1807
  const t = {};
1584
- let r, n, s;
1808
+ let r, s, n;
1585
1809
  return e && e.split(`
1586
1810
  `).forEach(function(o) {
1587
- s = o.indexOf(":"), r = o.substring(0, s).trim().toLowerCase(), n = o.substring(s + 1).trim(), !(!r || t[r] && rn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
1811
+ n = o.indexOf(":"), r = o.substring(0, n).trim().toLowerCase(), s = o.substring(n + 1).trim(), !(!r || t[r] && ss[r]) && (r === "set-cookie" ? t[r] ? t[r].push(s) : t[r] = [s] : t[r] = t[r] ? t[r] + ", " + s : s);
1588
1812
  }), t;
1589
- }, Qe = Symbol("internals"), _t = Symbol("defaults");
1590
- function K(e) {
1813
+ }, Ze = Symbol("internals"), Ot = Symbol("defaults");
1814
+ function Q(e) {
1591
1815
  return e && String(e).trim().toLowerCase();
1592
1816
  }
1593
1817
  function ie(e) {
1594
- return e === !1 || e == null ? e : a.isArray(e) ? e.map(ie) : String(e);
1818
+ return e === !1 || e == null ? e : i.isArray(e) ? e.map(ie) : String(e);
1595
1819
  }
1596
- function sn(e) {
1820
+ function os(e) {
1597
1821
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1598
- let n;
1599
- for (; n = r.exec(e); )
1600
- t[n[1]] = n[2];
1822
+ let s;
1823
+ for (; s = r.exec(e); )
1824
+ t[s[1]] = s[2];
1601
1825
  return t;
1602
1826
  }
1603
- function Ye(e, t, r, n) {
1604
- if (a.isFunction(n))
1605
- return n.call(this, t, r);
1606
- if (!!a.isString(t)) {
1607
- if (a.isString(n))
1608
- return t.indexOf(n) !== -1;
1609
- if (a.isRegExp(n))
1610
- return n.test(t);
1611
- }
1612
- }
1613
- function on(e) {
1614
- return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
1615
- }
1616
- function an(e, t) {
1617
- const r = a.toCamelCase(" " + t);
1618
- ["get", "set", "has"].forEach((n) => {
1619
- Object.defineProperty(e, n + r, {
1620
- value: function(s, i, o) {
1621
- return this[n].call(this, t, s, i, o);
1827
+ function et(e, t, r, s) {
1828
+ if (i.isFunction(s))
1829
+ return s.call(this, t, r);
1830
+ if (!!i.isString(t)) {
1831
+ if (i.isString(s))
1832
+ return t.indexOf(s) !== -1;
1833
+ if (i.isRegExp(s))
1834
+ return s.test(t);
1835
+ }
1836
+ }
1837
+ function as(e) {
1838
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, s) => r.toUpperCase() + s);
1839
+ }
1840
+ function is(e, t) {
1841
+ const r = i.toCamelCase(" " + t);
1842
+ ["get", "set", "has"].forEach((s) => {
1843
+ Object.defineProperty(e, s + r, {
1844
+ value: function(n, a, o) {
1845
+ return this[s].call(this, t, n, a, o);
1622
1846
  },
1623
1847
  configurable: !0
1624
1848
  });
1625
1849
  });
1626
1850
  }
1627
- function J(e, t) {
1851
+ function X(e, t) {
1628
1852
  t = t.toLowerCase();
1629
1853
  const r = Object.keys(e);
1630
- let n = r.length, s;
1631
- for (; n-- > 0; )
1632
- if (s = r[n], t === s.toLowerCase())
1633
- return s;
1854
+ let s = r.length, n;
1855
+ for (; s-- > 0; )
1856
+ if (n = r[s], t === n.toLowerCase())
1857
+ return n;
1634
1858
  return null;
1635
1859
  }
1636
1860
  function R(e, t) {
1637
- e && this.set(e), this[_t] = t || null;
1861
+ e && this.set(e), this[Ot] = t || null;
1638
1862
  }
1639
1863
  Object.assign(R.prototype, {
1640
1864
  set: function(e, t, r) {
1641
- const n = this;
1642
- function s(i, o, u) {
1643
- const f = K(o);
1644
- if (!f)
1865
+ const s = this;
1866
+ function n(a, o, u) {
1867
+ const d = Q(o);
1868
+ if (!d)
1645
1869
  throw new Error("header name must be a non-empty string");
1646
- const c = J(n, f);
1647
- c && u !== !0 && (n[c] === !1 || u === !1) || (n[c || o] = ie(i));
1870
+ const c = X(s, d);
1871
+ c && u !== !0 && (s[c] === !1 || u === !1) || (s[c || o] = ie(a));
1648
1872
  }
1649
- return a.isPlainObject(e) ? a.forEach(e, (i, o) => {
1650
- s(i, o, t);
1651
- }) : s(t, e, r), this;
1873
+ return i.isPlainObject(e) ? i.forEach(e, (a, o) => {
1874
+ n(a, o, t);
1875
+ }) : n(t, e, r), this;
1652
1876
  },
1653
1877
  get: function(e, t) {
1654
- if (e = K(e), !e)
1878
+ if (e = Q(e), !e)
1655
1879
  return;
1656
- const r = J(this, e);
1880
+ const r = X(this, e);
1657
1881
  if (r) {
1658
- const n = this[r];
1882
+ const s = this[r];
1659
1883
  if (!t)
1660
- return n;
1884
+ return s;
1661
1885
  if (t === !0)
1662
- return sn(n);
1663
- if (a.isFunction(t))
1664
- return t.call(this, n, r);
1665
- if (a.isRegExp(t))
1666
- return t.exec(n);
1886
+ return os(s);
1887
+ if (i.isFunction(t))
1888
+ return t.call(this, s, r);
1889
+ if (i.isRegExp(t))
1890
+ return t.exec(s);
1667
1891
  throw new TypeError("parser must be boolean|regexp|function");
1668
1892
  }
1669
1893
  },
1670
1894
  has: function(e, t) {
1671
- if (e = K(e), e) {
1672
- const r = J(this, e);
1673
- return !!(r && (!t || Ye(this, this[r], r, t)));
1895
+ if (e = Q(e), e) {
1896
+ const r = X(this, e);
1897
+ return !!(r && (!t || et(this, this[r], r, t)));
1674
1898
  }
1675
1899
  return !1;
1676
1900
  },
1677
1901
  delete: function(e, t) {
1678
1902
  const r = this;
1679
- let n = !1;
1680
- function s(i) {
1681
- if (i = K(i), i) {
1682
- const o = J(r, i);
1683
- o && (!t || Ye(r, r[o], o, t)) && (delete r[o], n = !0);
1903
+ let s = !1;
1904
+ function n(a) {
1905
+ if (a = Q(a), a) {
1906
+ const o = X(r, a);
1907
+ o && (!t || et(r, r[o], o, t)) && (delete r[o], s = !0);
1684
1908
  }
1685
1909
  }
1686
- return a.isArray(e) ? e.forEach(s) : s(e), n;
1910
+ return i.isArray(e) ? e.forEach(n) : n(e), s;
1687
1911
  },
1688
1912
  clear: function() {
1689
1913
  return Object.keys(this).forEach(this.delete.bind(this));
1690
1914
  },
1691
1915
  normalize: function(e) {
1692
1916
  const t = this, r = {};
1693
- return a.forEach(this, (n, s) => {
1694
- const i = J(r, s);
1695
- if (i) {
1696
- t[i] = ie(n), delete t[s];
1917
+ return i.forEach(this, (s, n) => {
1918
+ const a = X(r, n);
1919
+ if (a) {
1920
+ t[a] = ie(s), delete t[n];
1697
1921
  return;
1698
1922
  }
1699
- const o = e ? on(s) : String(s).trim();
1700
- o !== s && delete t[s], t[o] = ie(n), r[o] = !0;
1923
+ const o = e ? as(n) : String(n).trim();
1924
+ o !== n && delete t[n], t[o] = ie(s), r[o] = !0;
1701
1925
  }), this;
1702
1926
  },
1703
1927
  toJSON: function(e) {
1704
1928
  const t = /* @__PURE__ */ Object.create(null);
1705
- return a.forEach(
1706
- Object.assign({}, this[_t] || null, this),
1707
- (r, n) => {
1708
- r == null || r === !1 || (t[n] = e && a.isArray(r) ? r.join(", ") : r);
1929
+ return i.forEach(
1930
+ Object.assign({}, this[Ot] || null, this),
1931
+ (r, s) => {
1932
+ r == null || r === !1 || (t[s] = e && i.isArray(r) ? r.join(", ") : r);
1709
1933
  }
1710
1934
  ), t;
1711
1935
  }
1712
1936
  });
1713
1937
  Object.assign(R, {
1714
1938
  from: function(e) {
1715
- return a.isString(e) ? new this(nn(e)) : e instanceof this ? e : new this(e);
1939
+ return i.isString(e) ? new this(ns(e)) : e instanceof this ? e : new this(e);
1716
1940
  },
1717
1941
  accessor: function(e) {
1718
- const r = (this[Qe] = this[Qe] = {
1942
+ const r = (this[Ze] = this[Ze] = {
1719
1943
  accessors: {}
1720
- }).accessors, n = this.prototype;
1721
- function s(i) {
1722
- const o = K(i);
1723
- r[o] || (an(n, i), r[o] = !0);
1944
+ }).accessors, s = this.prototype;
1945
+ function n(a) {
1946
+ const o = Q(a);
1947
+ r[o] || (is(s, a), r[o] = !0);
1724
1948
  }
1725
- return a.isArray(e) ? e.forEach(s) : s(e), this;
1949
+ return i.isArray(e) ? e.forEach(n) : n(e), this;
1726
1950
  }
1727
1951
  });
1728
1952
  R.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent"]);
1729
- a.freezeMethods(R.prototype);
1730
- a.freezeMethods(R);
1731
- function cn(e, t) {
1953
+ i.freezeMethods(R.prototype);
1954
+ i.freezeMethods(R);
1955
+ function cs(e, t) {
1732
1956
  e = e || 10;
1733
- const r = new Array(e), n = new Array(e);
1734
- let s = 0, i = 0, o;
1735
- return t = t !== void 0 ? t : 1e3, function(f) {
1736
- const c = Date.now(), d = n[i];
1737
- o || (o = c), r[s] = f, n[s] = c;
1738
- let m = i, g = 0;
1739
- for (; m !== s; )
1957
+ const r = new Array(e), s = new Array(e);
1958
+ let n = 0, a = 0, o;
1959
+ return t = t !== void 0 ? t : 1e3, function(d) {
1960
+ const c = Date.now(), f = s[a];
1961
+ o || (o = c), r[n] = d, s[n] = c;
1962
+ let m = a, g = 0;
1963
+ for (; m !== n; )
1740
1964
  g += r[m++], m = m % e;
1741
- if (s = (s + 1) % e, s === i && (i = (i + 1) % e), c - o < t)
1965
+ if (n = (n + 1) % e, n === a && (a = (a + 1) % e), c - o < t)
1742
1966
  return;
1743
- const h = d && c - d;
1967
+ const h = f && c - f;
1744
1968
  return h ? Math.round(g * 1e3 / h) : void 0;
1745
1969
  };
1746
1970
  }
1747
- function Ze(e, t) {
1971
+ function tt(e, t) {
1748
1972
  let r = 0;
1749
- const n = cn(50, 250);
1750
- return (s) => {
1751
- const i = s.loaded, o = s.lengthComputable ? s.total : void 0, u = i - r, f = n(u), c = i <= o;
1752
- r = i;
1753
- const d = {
1754
- loaded: i,
1973
+ const s = cs(50, 250);
1974
+ return (n) => {
1975
+ const a = n.loaded, o = n.lengthComputable ? n.total : void 0, u = a - r, d = s(u), c = a <= o;
1976
+ r = a;
1977
+ const f = {
1978
+ loaded: a,
1755
1979
  total: o,
1756
- progress: o ? i / o : void 0,
1980
+ progress: o ? a / o : void 0,
1757
1981
  bytes: u,
1758
- rate: f || void 0,
1759
- estimated: f && o && c ? (o - i) / f : void 0
1982
+ rate: d || void 0,
1983
+ estimated: d && o && c ? (o - a) / d : void 0
1760
1984
  };
1761
- d[t ? "download" : "upload"] = !0, e(d);
1985
+ f[t ? "download" : "upload"] = !0, e(f);
1762
1986
  };
1763
1987
  }
1764
- function et(e) {
1765
- return new Promise(function(r, n) {
1766
- let s = e.data;
1767
- const i = R.from(e.headers).normalize(), o = e.responseType;
1988
+ function rt(e) {
1989
+ return new Promise(function(r, s) {
1990
+ let n = e.data;
1991
+ const a = R.from(e.headers).normalize(), o = e.responseType;
1768
1992
  let u;
1769
- function f() {
1993
+ function d() {
1770
1994
  e.cancelToken && e.cancelToken.unsubscribe(u), e.signal && e.signal.removeEventListener("abort", u);
1771
1995
  }
1772
- a.isFormData(s) && T.isStandardBrowserEnv && i.setContentType(!1);
1996
+ i.isFormData(n) && F.isStandardBrowserEnv && a.setContentType(!1);
1773
1997
  let c = new XMLHttpRequest();
1774
1998
  if (e.auth) {
1775
1999
  const h = e.auth.username || "", l = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1776
- i.set("Authorization", "Basic " + btoa(h + ":" + l));
2000
+ a.set("Authorization", "Basic " + btoa(h + ":" + l));
1777
2001
  }
1778
- const d = Ot(e.baseURL, e.url);
1779
- c.open(e.method.toUpperCase(), Nt(d, e.params, e.paramsSerializer), !0), c.timeout = e.timeout;
2002
+ const f = At(e.baseURL, e.url);
2003
+ c.open(e.method.toUpperCase(), Nt(f, e.params, e.paramsSerializer), !0), c.timeout = e.timeout;
1780
2004
  function m() {
1781
2005
  if (!c)
1782
2006
  return;
1783
2007
  const h = R.from(
1784
2008
  "getAllResponseHeaders" in c && c.getAllResponseHeaders()
1785
- ), N = {
2009
+ ), k = {
1786
2010
  data: !o || o === "text" || o === "json" ? c.responseText : c.response,
1787
2011
  status: c.status,
1788
2012
  statusText: c.statusText,
@@ -1790,111 +2014,111 @@ function et(e) {
1790
2014
  config: e,
1791
2015
  request: c
1792
2016
  };
1793
- Kr(function(A) {
1794
- r(A), f();
1795
- }, function(A) {
1796
- n(A), f();
1797
- }, N), c = null;
2017
+ Qr(function(S) {
2018
+ r(S), d();
2019
+ }, function(S) {
2020
+ s(S), d();
2021
+ }, k), c = null;
1798
2022
  }
1799
2023
  if ("onloadend" in c ? c.onloadend = m : c.onreadystatechange = function() {
1800
2024
  !c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(m);
1801
2025
  }, c.onabort = function() {
1802
- !c || (n(new y("Request aborted", y.ECONNABORTED, e, c)), c = null);
2026
+ !c || (s(new y("Request aborted", y.ECONNABORTED, e, c)), c = null);
1803
2027
  }, c.onerror = function() {
1804
- n(new y("Network Error", y.ERR_NETWORK, e, c)), c = null;
2028
+ s(new y("Network Error", y.ERR_NETWORK, e, c)), c = null;
1805
2029
  }, c.ontimeout = function() {
1806
2030
  let l = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
1807
- const N = e.transitional || St;
1808
- e.timeoutErrorMessage && (l = e.timeoutErrorMessage), n(new y(
2031
+ const k = e.transitional || St;
2032
+ e.timeoutErrorMessage && (l = e.timeoutErrorMessage), s(new y(
1809
2033
  l,
1810
- N.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
2034
+ k.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1811
2035
  e,
1812
2036
  c
1813
2037
  )), c = null;
1814
- }, T.isStandardBrowserEnv) {
1815
- const h = (e.withCredentials || en(d)) && e.xsrfCookieName && Qr.read(e.xsrfCookieName);
1816
- h && i.set(e.xsrfHeaderName, h);
2038
+ }, F.isStandardBrowserEnv) {
2039
+ const h = (e.withCredentials || ts(f)) && e.xsrfCookieName && Yr.read(e.xsrfCookieName);
2040
+ h && a.set(e.xsrfHeaderName, h);
1817
2041
  }
1818
- s === void 0 && i.setContentType(null), "setRequestHeader" in c && a.forEach(i.toJSON(), function(l, N) {
1819
- c.setRequestHeader(N, l);
1820
- }), a.isUndefined(e.withCredentials) || (c.withCredentials = !!e.withCredentials), o && o !== "json" && (c.responseType = e.responseType), typeof e.onDownloadProgress == "function" && c.addEventListener("progress", Ze(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", Ze(e.onUploadProgress)), (e.cancelToken || e.signal) && (u = (h) => {
1821
- !c || (n(!h || h.type ? new te(null, e, c) : h), c.abort(), c = null);
2042
+ n === void 0 && a.setContentType(null), "setRequestHeader" in c && i.forEach(a.toJSON(), function(l, k) {
2043
+ c.setRequestHeader(k, l);
2044
+ }), i.isUndefined(e.withCredentials) || (c.withCredentials = !!e.withCredentials), o && o !== "json" && (c.responseType = e.responseType), typeof e.onDownloadProgress == "function" && c.addEventListener("progress", tt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", tt(e.onUploadProgress)), (e.cancelToken || e.signal) && (u = (h) => {
2045
+ !c || (s(!h || h.type ? new re(null, e, c) : h), c.abort(), c = null);
1822
2046
  }, e.cancelToken && e.cancelToken.subscribe(u), e.signal && (e.signal.aborted ? u() : e.signal.addEventListener("abort", u)));
1823
- const g = tn(d);
1824
- if (g && T.protocols.indexOf(g) === -1) {
1825
- n(new y("Unsupported protocol " + g + ":", y.ERR_BAD_REQUEST, e));
2047
+ const g = rs(f);
2048
+ if (g && F.protocols.indexOf(g) === -1) {
2049
+ s(new y("Unsupported protocol " + g + ":", y.ERR_BAD_REQUEST, e));
1826
2050
  return;
1827
2051
  }
1828
- c.send(s || null);
2052
+ c.send(n || null);
1829
2053
  });
1830
2054
  }
1831
- const tt = {
1832
- http: et,
1833
- xhr: et
1834
- }, rt = {
2055
+ const st = {
2056
+ http: rt,
2057
+ xhr: rt
2058
+ }, nt = {
1835
2059
  getAdapter: (e) => {
1836
- if (a.isString(e)) {
1837
- const t = tt[e];
2060
+ if (i.isString(e)) {
2061
+ const t = st[e];
1838
2062
  if (!e)
1839
2063
  throw Error(
1840
- a.hasOwnProp(e) ? `Adapter '${e}' is not available in the build` : `Can not resolve adapter '${e}'`
2064
+ i.hasOwnProp(e) ? `Adapter '${e}' is not available in the build` : `Can not resolve adapter '${e}'`
1841
2065
  );
1842
2066
  return t;
1843
2067
  }
1844
- if (!a.isFunction(e))
2068
+ if (!i.isFunction(e))
1845
2069
  throw new TypeError("adapter is not a function");
1846
2070
  return e;
1847
2071
  },
1848
- adapters: tt
1849
- }, un = {
2072
+ adapters: st
2073
+ }, us = {
1850
2074
  "Content-Type": "application/x-www-form-urlencoded"
1851
2075
  };
1852
- function ln() {
2076
+ function ls() {
1853
2077
  let e;
1854
- return typeof XMLHttpRequest < "u" ? e = rt.getAdapter("xhr") : typeof process < "u" && a.kindOf(process) === "process" && (e = rt.getAdapter("http")), e;
2078
+ return typeof XMLHttpRequest < "u" ? e = nt.getAdapter("xhr") : typeof process < "u" && i.kindOf(process) === "process" && (e = nt.getAdapter("http")), e;
1855
2079
  }
1856
- function fn(e, t, r) {
1857
- if (a.isString(e))
2080
+ function ds(e, t, r) {
2081
+ if (i.isString(e))
1858
2082
  try {
1859
- return (t || JSON.parse)(e), a.trim(e);
1860
- } catch (n) {
1861
- if (n.name !== "SyntaxError")
1862
- throw n;
2083
+ return (t || JSON.parse)(e), i.trim(e);
2084
+ } catch (s) {
2085
+ if (s.name !== "SyntaxError")
2086
+ throw s;
1863
2087
  }
1864
2088
  return (r || JSON.stringify)(e);
1865
2089
  }
1866
2090
  const H = {
1867
2091
  transitional: St,
1868
- adapter: ln(),
2092
+ adapter: ls(),
1869
2093
  transformRequest: [function(t, r) {
1870
- const n = r.getContentType() || "", s = n.indexOf("application/json") > -1, i = a.isObject(t);
1871
- if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
1872
- return s && s ? JSON.stringify(At(t)) : t;
1873
- if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t))
2094
+ const s = r.getContentType() || "", n = s.indexOf("application/json") > -1, a = i.isObject(t);
2095
+ if (a && i.isHTMLForm(t) && (t = new FormData(t)), i.isFormData(t))
2096
+ return n && n ? JSON.stringify(vt(t)) : t;
2097
+ if (i.isArrayBuffer(t) || i.isBuffer(t) || i.isStream(t) || i.isFile(t) || i.isBlob(t))
1874
2098
  return t;
1875
- if (a.isArrayBufferView(t))
2099
+ if (i.isArrayBufferView(t))
1876
2100
  return t.buffer;
1877
- if (a.isURLSearchParams(t))
2101
+ if (i.isURLSearchParams(t))
1878
2102
  return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1879
2103
  let u;
1880
- if (i) {
1881
- if (n.indexOf("application/x-www-form-urlencoded") > -1)
1882
- return Jr(t, this.formSerializer).toString();
1883
- if ((u = a.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
1884
- const f = this.env && this.env.FormData;
1885
- return le(
2104
+ if (a) {
2105
+ if (s.indexOf("application/x-www-form-urlencoded") > -1)
2106
+ return Xr(t, this.formSerializer).toString();
2107
+ if ((u = i.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
2108
+ const d = this.env && this.env.FormData;
2109
+ return de(
1886
2110
  u ? { "files[]": t } : t,
1887
- f && new f(),
2111
+ d && new d(),
1888
2112
  this.formSerializer
1889
2113
  );
1890
2114
  }
1891
2115
  }
1892
- return i || s ? (r.setContentType("application/json", !1), fn(t)) : t;
2116
+ return a || n ? (r.setContentType("application/json", !1), ds(t)) : t;
1893
2117
  }],
1894
2118
  transformResponse: [function(t) {
1895
- const r = this.transitional || H.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
1896
- if (t && a.isString(t) && (n && !this.responseType || s)) {
1897
- const o = !(r && r.silentJSONParsing) && s;
2119
+ const r = this.transitional || H.transitional, s = r && r.forcedJSONParsing, n = this.responseType === "json";
2120
+ if (t && i.isString(t) && (s && !this.responseType || n)) {
2121
+ const o = !(r && r.silentJSONParsing) && n;
1898
2122
  try {
1899
2123
  return JSON.parse(t);
1900
2124
  } catch (u) {
@@ -1910,8 +2134,8 @@ const H = {
1910
2134
  maxContentLength: -1,
1911
2135
  maxBodyLength: -1,
1912
2136
  env: {
1913
- FormData: T.classes.FormData,
1914
- Blob: T.classes.Blob
2137
+ FormData: F.classes.FormData,
2138
+ Blob: F.classes.Blob
1915
2139
  },
1916
2140
  validateStatus: function(t) {
1917
2141
  return t >= 200 && t < 300;
@@ -1922,78 +2146,78 @@ const H = {
1922
2146
  }
1923
2147
  }
1924
2148
  };
1925
- a.forEach(["delete", "get", "head"], function(t) {
2149
+ i.forEach(["delete", "get", "head"], function(t) {
1926
2150
  H.headers[t] = {};
1927
2151
  });
1928
- a.forEach(["post", "put", "patch"], function(t) {
1929
- H.headers[t] = a.merge(un);
2152
+ i.forEach(["post", "put", "patch"], function(t) {
2153
+ H.headers[t] = i.merge(us);
1930
2154
  });
1931
- function _e(e, t) {
1932
- const r = this || H, n = t || r, s = R.from(n.headers);
1933
- let i = n.data;
1934
- return a.forEach(e, function(u) {
1935
- i = u.call(r, i, s.normalize(), t ? t.status : void 0);
1936
- }), s.normalize(), i;
2155
+ function Oe(e, t) {
2156
+ const r = this || H, s = t || r, n = R.from(s.headers);
2157
+ let a = s.data;
2158
+ return i.forEach(e, function(u) {
2159
+ a = u.call(r, a, n.normalize(), t ? t.status : void 0);
2160
+ }), n.normalize(), a;
1937
2161
  }
1938
- function vt(e) {
2162
+ function _t(e) {
1939
2163
  return !!(e && e.__CANCEL__);
1940
2164
  }
1941
- function ve(e) {
2165
+ function _e(e) {
1942
2166
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1943
- throw new te();
2167
+ throw new re();
1944
2168
  }
1945
- function nt(e) {
1946
- return ve(e), e.headers = R.from(e.headers), e.data = _e.call(
2169
+ function ot(e) {
2170
+ return _e(e), e.headers = R.from(e.headers), e.data = Oe.call(
1947
2171
  e,
1948
2172
  e.transformRequest
1949
- ), (e.adapter || H.adapter)(e).then(function(n) {
1950
- return ve(e), n.data = _e.call(
2173
+ ), (e.adapter || H.adapter)(e).then(function(s) {
2174
+ return _e(e), s.data = Oe.call(
1951
2175
  e,
1952
2176
  e.transformResponse,
1953
- n
1954
- ), n.headers = R.from(n.headers), n;
1955
- }, function(n) {
1956
- return vt(n) || (ve(e), n && n.response && (n.response.data = _e.call(
2177
+ s
2178
+ ), s.headers = R.from(s.headers), s;
2179
+ }, function(s) {
2180
+ return _t(s) || (_e(e), s && s.response && (s.response.data = Oe.call(
1957
2181
  e,
1958
2182
  e.transformResponse,
1959
- n.response
1960
- ), n.response.headers = R.from(n.response.headers))), Promise.reject(n);
2183
+ s.response
2184
+ ), s.response.headers = R.from(s.response.headers))), Promise.reject(s);
1961
2185
  });
1962
2186
  }
1963
- function Z(e, t) {
2187
+ function ee(e, t) {
1964
2188
  t = t || {};
1965
2189
  const r = {};
1966
- function n(c, d) {
1967
- return a.isPlainObject(c) && a.isPlainObject(d) ? a.merge(c, d) : a.isPlainObject(d) ? a.merge({}, d) : a.isArray(d) ? d.slice() : d;
2190
+ function s(c, f) {
2191
+ return i.isPlainObject(c) && i.isPlainObject(f) ? i.merge(c, f) : i.isPlainObject(f) ? i.merge({}, f) : i.isArray(f) ? f.slice() : f;
1968
2192
  }
1969
- function s(c) {
1970
- if (a.isUndefined(t[c])) {
1971
- if (!a.isUndefined(e[c]))
1972
- return n(void 0, e[c]);
2193
+ function n(c) {
2194
+ if (i.isUndefined(t[c])) {
2195
+ if (!i.isUndefined(e[c]))
2196
+ return s(void 0, e[c]);
1973
2197
  } else
1974
- return n(e[c], t[c]);
2198
+ return s(e[c], t[c]);
1975
2199
  }
1976
- function i(c) {
1977
- if (!a.isUndefined(t[c]))
1978
- return n(void 0, t[c]);
2200
+ function a(c) {
2201
+ if (!i.isUndefined(t[c]))
2202
+ return s(void 0, t[c]);
1979
2203
  }
1980
2204
  function o(c) {
1981
- if (a.isUndefined(t[c])) {
1982
- if (!a.isUndefined(e[c]))
1983
- return n(void 0, e[c]);
2205
+ if (i.isUndefined(t[c])) {
2206
+ if (!i.isUndefined(e[c]))
2207
+ return s(void 0, e[c]);
1984
2208
  } else
1985
- return n(void 0, t[c]);
2209
+ return s(void 0, t[c]);
1986
2210
  }
1987
2211
  function u(c) {
1988
2212
  if (c in t)
1989
- return n(e[c], t[c]);
2213
+ return s(e[c], t[c]);
1990
2214
  if (c in e)
1991
- return n(void 0, e[c]);
2215
+ return s(void 0, e[c]);
1992
2216
  }
1993
- const f = {
1994
- url: i,
1995
- method: i,
1996
- data: i,
2217
+ const d = {
2218
+ url: a,
2219
+ method: a,
2220
+ data: a,
1997
2221
  baseURL: o,
1998
2222
  transformRequest: o,
1999
2223
  transformResponse: o,
@@ -2019,177 +2243,177 @@ function Z(e, t) {
2019
2243
  responseEncoding: o,
2020
2244
  validateStatus: u
2021
2245
  };
2022
- return a.forEach(Object.keys(e).concat(Object.keys(t)), function(d) {
2023
- const m = f[d] || s, g = m(d);
2024
- a.isUndefined(g) && m !== u || (r[d] = g);
2246
+ return i.forEach(Object.keys(e).concat(Object.keys(t)), function(f) {
2247
+ const m = d[f] || n, g = m(f);
2248
+ i.isUndefined(g) && m !== u || (r[f] = g);
2025
2249
  }), r;
2026
2250
  }
2027
- const Rt = "1.1.3", Be = {};
2251
+ const Rt = "1.1.3", Ie = {};
2028
2252
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
2029
- Be[e] = function(n) {
2030
- return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
2253
+ Ie[e] = function(s) {
2254
+ return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
2031
2255
  };
2032
2256
  });
2033
- const st = {};
2034
- Be.transitional = function(t, r, n) {
2035
- function s(i, o) {
2036
- return "[Axios v" + Rt + "] Transitional option '" + i + "'" + o + (n ? ". " + n : "");
2257
+ const at = {};
2258
+ Ie.transitional = function(t, r, s) {
2259
+ function n(a, o) {
2260
+ return "[Axios v" + Rt + "] Transitional option '" + a + "'" + o + (s ? ". " + s : "");
2037
2261
  }
2038
- return (i, o, u) => {
2262
+ return (a, o, u) => {
2039
2263
  if (t === !1)
2040
2264
  throw new y(
2041
- s(o, " has been removed" + (r ? " in " + r : "")),
2265
+ n(o, " has been removed" + (r ? " in " + r : "")),
2042
2266
  y.ERR_DEPRECATED
2043
2267
  );
2044
- return r && !st[o] && (st[o] = !0, console.warn(
2045
- s(
2268
+ return r && !at[o] && (at[o] = !0, console.warn(
2269
+ n(
2046
2270
  o,
2047
2271
  " has been deprecated since v" + r + " and will be removed in the near future"
2048
2272
  )
2049
- )), t ? t(i, o, u) : !0;
2273
+ )), t ? t(a, o, u) : !0;
2050
2274
  };
2051
2275
  };
2052
- function dn(e, t, r) {
2276
+ function fs(e, t, r) {
2053
2277
  if (typeof e != "object")
2054
2278
  throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
2055
- const n = Object.keys(e);
2056
- let s = n.length;
2057
- for (; s-- > 0; ) {
2058
- const i = n[s], o = t[i];
2279
+ const s = Object.keys(e);
2280
+ let n = s.length;
2281
+ for (; n-- > 0; ) {
2282
+ const a = s[n], o = t[a];
2059
2283
  if (o) {
2060
- const u = e[i], f = u === void 0 || o(u, i, e);
2061
- if (f !== !0)
2062
- throw new y("option " + i + " must be " + f, y.ERR_BAD_OPTION_VALUE);
2284
+ const u = e[a], d = u === void 0 || o(u, a, e);
2285
+ if (d !== !0)
2286
+ throw new y("option " + a + " must be " + d, y.ERR_BAD_OPTION_VALUE);
2063
2287
  continue;
2064
2288
  }
2065
2289
  if (r !== !0)
2066
- throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
2290
+ throw new y("Unknown option " + a, y.ERR_BAD_OPTION);
2067
2291
  }
2068
2292
  }
2069
- const Te = {
2070
- assertOptions: dn,
2071
- validators: Be
2072
- }, U = Te.validators;
2293
+ const Fe = {
2294
+ assertOptions: fs,
2295
+ validators: Ie
2296
+ }, V = Fe.validators;
2073
2297
  class I {
2074
2298
  constructor(t) {
2075
2299
  this.defaults = t, this.interceptors = {
2076
- request: new Ke(),
2077
- response: new Ke()
2300
+ request: new Ye(),
2301
+ response: new Ye()
2078
2302
  };
2079
2303
  }
2080
2304
  request(t, r) {
2081
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Z(this.defaults, r);
2082
- const { transitional: n, paramsSerializer: s } = r;
2083
- n !== void 0 && Te.assertOptions(n, {
2084
- silentJSONParsing: U.transitional(U.boolean),
2085
- forcedJSONParsing: U.transitional(U.boolean),
2086
- clarifyTimeoutError: U.transitional(U.boolean)
2087
- }, !1), s !== void 0 && Te.assertOptions(s, {
2088
- encode: U.function,
2089
- serialize: U.function
2305
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = ee(this.defaults, r);
2306
+ const { transitional: s, paramsSerializer: n } = r;
2307
+ s !== void 0 && Fe.assertOptions(s, {
2308
+ silentJSONParsing: V.transitional(V.boolean),
2309
+ forcedJSONParsing: V.transitional(V.boolean),
2310
+ clarifyTimeoutError: V.transitional(V.boolean)
2311
+ }, !1), n !== void 0 && Fe.assertOptions(n, {
2312
+ encode: V.function,
2313
+ serialize: V.function
2090
2314
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
2091
- const i = r.headers && a.merge(
2315
+ const a = r.headers && i.merge(
2092
2316
  r.headers.common,
2093
2317
  r.headers[r.method]
2094
2318
  );
2095
- i && a.forEach(
2319
+ a && i.forEach(
2096
2320
  ["delete", "get", "head", "post", "put", "patch", "common"],
2097
2321
  function(l) {
2098
2322
  delete r.headers[l];
2099
2323
  }
2100
- ), r.headers = new R(r.headers, i);
2324
+ ), r.headers = new R(r.headers, a);
2101
2325
  const o = [];
2102
2326
  let u = !0;
2103
2327
  this.interceptors.request.forEach(function(l) {
2104
2328
  typeof l.runWhen == "function" && l.runWhen(r) === !1 || (u = u && l.synchronous, o.unshift(l.fulfilled, l.rejected));
2105
2329
  });
2106
- const f = [];
2330
+ const d = [];
2107
2331
  this.interceptors.response.forEach(function(l) {
2108
- f.push(l.fulfilled, l.rejected);
2332
+ d.push(l.fulfilled, l.rejected);
2109
2333
  });
2110
- let c, d = 0, m;
2334
+ let c, f = 0, m;
2111
2335
  if (!u) {
2112
- const h = [nt.bind(this), void 0];
2113
- for (h.unshift.apply(h, o), h.push.apply(h, f), m = h.length, c = Promise.resolve(r); d < m; )
2114
- c = c.then(h[d++], h[d++]);
2336
+ const h = [ot.bind(this), void 0];
2337
+ for (h.unshift.apply(h, o), h.push.apply(h, d), m = h.length, c = Promise.resolve(r); f < m; )
2338
+ c = c.then(h[f++], h[f++]);
2115
2339
  return c;
2116
2340
  }
2117
2341
  m = o.length;
2118
2342
  let g = r;
2119
- for (d = 0; d < m; ) {
2120
- const h = o[d++], l = o[d++];
2343
+ for (f = 0; f < m; ) {
2344
+ const h = o[f++], l = o[f++];
2121
2345
  try {
2122
2346
  g = h(g);
2123
- } catch (N) {
2124
- l.call(this, N);
2347
+ } catch (k) {
2348
+ l.call(this, k);
2125
2349
  break;
2126
2350
  }
2127
2351
  }
2128
2352
  try {
2129
- c = nt.call(this, g);
2353
+ c = ot.call(this, g);
2130
2354
  } catch (h) {
2131
2355
  return Promise.reject(h);
2132
2356
  }
2133
- for (d = 0, m = f.length; d < m; )
2134
- c = c.then(f[d++], f[d++]);
2357
+ for (f = 0, m = d.length; f < m; )
2358
+ c = c.then(d[f++], d[f++]);
2135
2359
  return c;
2136
2360
  }
2137
2361
  getUri(t) {
2138
- t = Z(this.defaults, t);
2139
- const r = Ot(t.baseURL, t.url);
2362
+ t = ee(this.defaults, t);
2363
+ const r = At(t.baseURL, t.url);
2140
2364
  return Nt(r, t.params, t.paramsSerializer);
2141
2365
  }
2142
2366
  }
2143
- a.forEach(["delete", "get", "head", "options"], function(t) {
2144
- I.prototype[t] = function(r, n) {
2145
- return this.request(Z(n || {}, {
2367
+ i.forEach(["delete", "get", "head", "options"], function(t) {
2368
+ I.prototype[t] = function(r, s) {
2369
+ return this.request(ee(s || {}, {
2146
2370
  method: t,
2147
2371
  url: r,
2148
- data: (n || {}).data
2372
+ data: (s || {}).data
2149
2373
  }));
2150
2374
  };
2151
2375
  });
2152
- a.forEach(["post", "put", "patch"], function(t) {
2153
- function r(n) {
2154
- return function(i, o, u) {
2155
- return this.request(Z(u || {}, {
2376
+ i.forEach(["post", "put", "patch"], function(t) {
2377
+ function r(s) {
2378
+ return function(a, o, u) {
2379
+ return this.request(ee(u || {}, {
2156
2380
  method: t,
2157
- headers: n ? {
2381
+ headers: s ? {
2158
2382
  "Content-Type": "multipart/form-data"
2159
2383
  } : {},
2160
- url: i,
2384
+ url: a,
2161
2385
  data: o
2162
2386
  }));
2163
2387
  };
2164
2388
  }
2165
2389
  I.prototype[t] = r(), I.prototype[t + "Form"] = r(!0);
2166
2390
  });
2167
- class Ie {
2391
+ class Me {
2168
2392
  constructor(t) {
2169
2393
  if (typeof t != "function")
2170
2394
  throw new TypeError("executor must be a function.");
2171
2395
  let r;
2172
- this.promise = new Promise(function(i) {
2173
- r = i;
2396
+ this.promise = new Promise(function(a) {
2397
+ r = a;
2174
2398
  });
2175
- const n = this;
2176
- this.promise.then((s) => {
2177
- if (!n._listeners)
2399
+ const s = this;
2400
+ this.promise.then((n) => {
2401
+ if (!s._listeners)
2178
2402
  return;
2179
- let i = n._listeners.length;
2180
- for (; i-- > 0; )
2181
- n._listeners[i](s);
2182
- n._listeners = null;
2183
- }), this.promise.then = (s) => {
2184
- let i;
2403
+ let a = s._listeners.length;
2404
+ for (; a-- > 0; )
2405
+ s._listeners[a](n);
2406
+ s._listeners = null;
2407
+ }), this.promise.then = (n) => {
2408
+ let a;
2185
2409
  const o = new Promise((u) => {
2186
- n.subscribe(u), i = u;
2187
- }).then(s);
2410
+ s.subscribe(u), a = u;
2411
+ }).then(n);
2188
2412
  return o.cancel = function() {
2189
- n.unsubscribe(i);
2413
+ s.unsubscribe(a);
2190
2414
  }, o;
2191
- }, t(function(i, o, u) {
2192
- n.reason || (n.reason = new te(i, o, u), r(n.reason));
2415
+ }, t(function(a, o, u) {
2416
+ s.reason || (s.reason = new re(a, o, u), r(s.reason));
2193
2417
  });
2194
2418
  }
2195
2419
  throwIfRequested() {
@@ -2212,99 +2436,99 @@ class Ie {
2212
2436
  static source() {
2213
2437
  let t;
2214
2438
  return {
2215
- token: new Ie(function(s) {
2216
- t = s;
2439
+ token: new Me(function(n) {
2440
+ t = n;
2217
2441
  }),
2218
2442
  cancel: t
2219
2443
  };
2220
2444
  }
2221
2445
  }
2222
- function pn(e) {
2446
+ function ps(e) {
2223
2447
  return function(r) {
2224
2448
  return e.apply(null, r);
2225
2449
  };
2226
2450
  }
2227
- function hn(e) {
2228
- return a.isObject(e) && e.isAxiosError === !0;
2451
+ function hs(e) {
2452
+ return i.isObject(e) && e.isAxiosError === !0;
2229
2453
  }
2230
- function kt(e) {
2454
+ function Lt(e) {
2231
2455
  const t = new I(e), r = ft(I.prototype.request, t);
2232
- return a.extend(r, I.prototype, t, { allOwnKeys: !0 }), a.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2233
- return kt(Z(e, s));
2456
+ return i.extend(r, I.prototype, t, { allOwnKeys: !0 }), i.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(n) {
2457
+ return Lt(ee(e, n));
2234
2458
  }, r;
2235
2459
  }
2236
- const S = kt(H);
2237
- S.Axios = I;
2238
- S.CanceledError = te;
2239
- S.CancelToken = Ie;
2240
- S.isCancel = vt;
2241
- S.VERSION = Rt;
2242
- S.toFormData = le;
2243
- S.AxiosError = y;
2244
- S.Cancel = S.CanceledError;
2245
- S.all = function(t) {
2460
+ const N = Lt(H);
2461
+ N.Axios = I;
2462
+ N.CanceledError = re;
2463
+ N.CancelToken = Me;
2464
+ N.isCancel = _t;
2465
+ N.VERSION = Rt;
2466
+ N.toFormData = de;
2467
+ N.AxiosError = y;
2468
+ N.Cancel = N.CanceledError;
2469
+ N.all = function(t) {
2246
2470
  return Promise.all(t);
2247
2471
  };
2248
- S.spread = pn;
2249
- S.isAxiosError = hn;
2250
- S.formToJSON = (e) => At(a.isHTMLForm(e) ? new FormData(e) : e);
2251
- class An {
2472
+ N.spread = ps;
2473
+ N.isAxiosError = hs;
2474
+ N.formToJSON = (e) => vt(i.isHTMLForm(e) ? new FormData(e) : e);
2475
+ class Ss {
2252
2476
  getLoolUrl(t) {
2253
2477
  let r = `${t}/alfresco/service/lool/host/url`;
2254
- return S.get(r).then((n) => n.data).catch((n) => {
2255
- Qt(n);
2478
+ return N.get(r).then((s) => s.data).catch((s) => {
2479
+ Yt(s);
2256
2480
  });
2257
2481
  }
2258
- getAccessToken(t, r, n) {
2259
- let s = `${t}/alfresco/service/lool/token?nodeRef=workspace://SpacesStore/${r}&action=${n}`, i = {
2482
+ getAccessToken(t, r, s) {
2483
+ let n = `${t}/alfresco/service/lool/token?nodeRef=workspace://SpacesStore/${r}&action=${s}`, a = {
2260
2484
  headers: {
2261
2485
  Authorization: `basic ${window.btoa(
2262
2486
  window.localStorage["ticket-ECM"]
2263
2487
  )}`
2264
2488
  }
2265
2489
  };
2266
- return S.get(s, i).then((o) => o.data).catch((o) => {
2267
- Yt(o);
2490
+ return N.get(n, a).then((o) => o.data).catch((o) => {
2491
+ Zt(o);
2268
2492
  });
2269
2493
  }
2270
2494
  }
2271
- class On {
2495
+ class vs {
2272
2496
  getCollaboraExtensions(t) {
2273
- return S.get(`${t}/hosting/discovery`).then((r) => new DOMParser().parseFromString(r.data, "text/xml")).catch((r) => {
2274
- Zt(r);
2497
+ return N.get(`${t}/hosting/discovery`).then((r) => new DOMParser().parseFromString(r.data, "text/xml")).catch((r) => {
2498
+ er(r);
2275
2499
  });
2276
2500
  }
2277
- canOpenWithCollabora(t, r, n) {
2278
- return this.getCollaboraExtensions(t).then((s) => this.checkIfExists(s, r, n)).catch((s) => {
2279
- er(s);
2501
+ canOpenWithCollabora(t, r, s) {
2502
+ return this.getCollaboraExtensions(t).then((n) => this.checkIfExists(n, r, s)).catch((n) => {
2503
+ tr(n);
2280
2504
  });
2281
2505
  }
2282
- checkIfExists(t, r, n) {
2283
- const i = [...t.getElementsByTagName("app")].find(
2506
+ checkIfExists(t, r, s) {
2507
+ const a = [...t.getElementsByTagName("app")].find(
2284
2508
  (o) => o.attributes.name.value === r
2285
2509
  );
2286
- return i ? !![...i.getElementsByTagName("action")].find(
2287
- (f) => f.attributes.name.value === n
2288
- ) : !!i;
2510
+ return a ? !![...a.getElementsByTagName("action")].find(
2511
+ (d) => d.attributes.name.value === s
2512
+ ) : !!a;
2289
2513
  }
2290
2514
  }
2291
2515
  export {
2292
- wn as AlfrescoFileService,
2293
- yn as AlfrescoNodeService,
2294
- gn as AlfrescoPermissionService,
2295
- An as CollaboraAccessService,
2296
- On as CollaboraExtensionService,
2297
- ct as ErrorService,
2298
- Sn as FavoriteService,
2299
- Nn as WorkspaceService,
2300
- v as alfrescoApi,
2516
+ ws as AlfrescoFileService,
2517
+ ys as AlfrescoNodeService,
2518
+ gs as AlfrescoPermissionService,
2519
+ Ss as CollaboraAccessService,
2520
+ vs as CollaboraExtensionService,
2521
+ je as ErrorService,
2522
+ Ns as FavoriteService,
2523
+ ks as WorkspaceService,
2524
+ _ as alfrescoApi,
2301
2525
  Se as favoritesApi,
2302
2526
  P as nodesApi,
2303
2527
  Re as peopleApi,
2304
- $e as renditionsApi,
2305
- Gt as searchApi,
2306
- L as sitesApi,
2307
- bn as trashcanApi,
2308
- Xt as uploadApi,
2309
- We as useUserStore
2528
+ ze as renditionsApi,
2529
+ Kt as searchApi,
2530
+ T as sitesApi,
2531
+ Es as trashcanApi,
2532
+ Gt as uploadApi,
2533
+ Xe as useUserStore
2310
2534
  };