@overmap-ai/core 1.0.74-updates.2 → 1.0.74-updates.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/overmap-core.js +482 -459
  2. package/dist/overmap-core.umd.cjs +10 -10
  3. package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +2 -2
  4. package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +3 -3
  5. package/dist/store/slices/assetProcedureFieldsSlice.d.ts +3 -3
  6. package/dist/store/slices/assetProcedureInstanceSlice.d.ts +3 -3
  7. package/dist/store/slices/assetSlice.d.ts +3 -3
  8. package/dist/store/slices/assetStageSlice.d.ts +3 -3
  9. package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +2 -2
  10. package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +3 -3
  11. package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +2 -2
  12. package/dist/store/slices/assetTypeFieldsSlice.d.ts +3 -3
  13. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +2 -2
  14. package/dist/store/slices/formRevisionSlice.d.ts +3 -3
  15. package/dist/store/slices/formSlice.d.ts +1 -5
  16. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +2 -2
  17. package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
  18. package/dist/store/slices/geoImageSlice.d.ts +2 -2
  19. package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +2 -2
  20. package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +2 -2
  21. package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +2 -2
  22. package/dist/store/slices/issueTypeFieldsSlice.d.ts +4 -4
  23. package/dist/store/slices/licenseSlice.d.ts +1 -1
  24. package/dist/store/slices/projectFileSlice.d.ts +1 -1
  25. package/dist/store/slices/projectSlice.d.ts +1 -1
  26. package/dist/store/slices/userSlice.d.ts +1 -1
  27. package/package.json +1 -1
@@ -14,7 +14,7 @@ import { openDB as Ka } from "idb";
14
14
  import { RESET_STATE as Ya } from "@redux-offline/redux-offline/lib/constants";
15
15
  import Ja from "jwt-decode";
16
16
  const Qa = Object.freeze([]), Xa = Object.freeze({});
17
- var xi = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(xi || {}), Ui = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Ui || {}), d = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(d || {}), Za = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Za || {}), $i = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))($i || {}), Vi = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Vi || {}), w = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.CATEGORY = "category", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(w || {}), ec = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(ec || {}), tc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(tc || {}), sc = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.PAUSED = 2] = "PAUSED", t[t.CANCELLED = 4] = "CANCELLED", t[t.INACTIVE = 6] = "INACTIVE", t[t.PAST_DUE = 8] = "PAST_DUE", t))(sc || {});
17
+ var zi = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(zi || {}), Ui = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Ui || {}), d = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(d || {}), Za = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Za || {}), $i = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))($i || {}), Vi = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Vi || {}), w = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.CATEGORY = "category", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(w || {}), ec = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(ec || {}), tc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(tc || {}), sc = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.PAUSED = 2] = "PAUSED", t[t.CANCELLED = 4] = "CANCELLED", t[t.INACTIVE = 6] = "INACTIVE", t[t.PAST_DUE = 8] = "PAST_DUE", t))(sc || {});
18
18
  const Bh = Vi.BACKLOG, Nh = $i.MEDIUM, ic = 6e4;
19
19
  function _(t) {
20
20
  return {
@@ -68,11 +68,11 @@ function _(t) {
68
68
  })
69
69
  };
70
70
  }
71
- var zi;
72
- zi = Symbol.toStringTag;
71
+ var xi;
72
+ xi = Symbol.toStringTag;
73
73
  class nc {
74
74
  constructor() {
75
- y(this, zi, "Promise");
75
+ y(this, xi, "Promise");
76
76
  y(this, "_promise");
77
77
  y(this, "_resolve");
78
78
  y(this, "_reject");
@@ -138,7 +138,7 @@ function Jh(t, e) {
138
138
  if (t[s] !== e[s]) return !1;
139
139
  return !0;
140
140
  }
141
- const g = (t) => t.length === 0 ? Qa : t, xe = (t) => Object.keys(t).length === 0 ? Xa : t, cc = Gi((t) => {
141
+ const b = (t) => t.length === 0 ? Qa : t, ze = (t) => Object.keys(t).length === 0 ? Xa : t, cc = Gi((t) => {
142
142
  if (!t) return "";
143
143
  const e = new Date(t), s = e.getFullYear() === St.getFullYear(), i = { day: "numeric", month: "short" };
144
144
  return s || (i.year = "numeric"), e.toLocaleDateString([], i);
@@ -271,7 +271,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
271
271
  setConversation: ke.setOne,
272
272
  updateConversation: ke.updateOne
273
273
  }
274
- }), { initializeConversations: fc, addConversation: yc, setConversation: Ac, updateConversation: gc } = Li.actions, Bi = (t) => t.agentsReducer.instances, lm = p(
274
+ }), { initializeConversations: fc, addConversation: yc, setConversation: Ac, updateConversation: bc } = Li.actions, Bi = (t) => t.agentsReducer.instances, lm = p(
275
275
  [Bi],
276
276
  (t) => Object.values(t)
277
277
  ), hm = A(
@@ -279,7 +279,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
279
279
  [Bi, (t, e) => e],
280
280
  (t, e) => t[e]
281
281
  )
282
- ), bc = Li.reducer, C = _((t) => t.uuid), Dt = C.getInitialState({}), Ni = T({
282
+ ), gc = Li.reducer, C = _((t) => t.uuid), Dt = C.getInitialState({}), Ni = T({
283
283
  name: "assetAttachments",
284
284
  initialState: Dt,
285
285
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Dt)),
@@ -295,7 +295,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
295
295
  deleteAssetAttachments: C.deleteMany
296
296
  }
297
297
  }), {
298
- initializeAssetAttachments: zt,
298
+ initializeAssetAttachments: xt,
299
299
  addAssetAttachment: mm,
300
300
  addAssetAttachments: Hi,
301
301
  setAssetAttachment: Sc,
@@ -310,14 +310,14 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
310
310
  ), Ic = (t) => (e) => e.assetAttachmentReducer.instances[t], Fc = A(
311
311
  p(
312
312
  [Oc, (t, e) => e],
313
- (t, e) => g(t.filter(({ asset: s }) => e === s))
313
+ (t, e) => b(t.filter(({ asset: s }) => e === s))
314
314
  )
315
315
  ), Pc = Ni.reducer, D = _(
316
316
  (t) => t.uuid
317
- ), xt = D.getInitialState({}), Ki = T({
317
+ ), zt = D.getInitialState({}), Ki = T({
318
318
  name: "assetProcedureFieldsAttachments",
319
- initialState: xt,
320
- extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, xt)),
319
+ initialState: zt,
320
+ extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zt)),
321
321
  reducers: {
322
322
  initializeAssetProcedureFieldsAttachments: D.initialize,
323
323
  addAssetProcedureFieldsAttachment: D.addOne,
@@ -334,8 +334,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
334
334
  addAssetProcedureFieldsAttachment: ym,
335
335
  addAssetProcedureFieldsAttachments: wc,
336
336
  setAssetProcedureFieldsAttachment: Am,
337
- setAssetProcedureFieldsAttachments: gm,
338
- updateAssetProcedureFieldsAttachment: bm,
337
+ setAssetProcedureFieldsAttachments: bm,
338
+ updateAssetProcedureFieldsAttachment: gm,
339
339
  updateAssetProcedureFieldsAttachments: Ec,
340
340
  deleteAssetProcedureFieldsAttachment: Sm,
341
341
  deleteAssetProcedureFieldsAttachments: kc
@@ -343,21 +343,21 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
343
343
  [qc],
344
344
  (t) => Object.values(t)
345
345
  ), Tm = A(
346
- p([jc, (t, e) => e], (t, e) => g(t.filter((s) => s.fields_revision === e)))
347
- ), Rm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Mc = Ki.reducer, z = _((t) => t.uuid), Ut = z.getInitialState({}), Yi = T({
346
+ p([jc, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
347
+ ), Rm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Mc = Ki.reducer, x = _((t) => t.uuid), Ut = x.getInitialState({}), Yi = T({
348
348
  name: "assetProcedureFields",
349
349
  initialState: Ut,
350
350
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ut)),
351
351
  reducers: {
352
- initializeAssetProcedureFields: z.initialize,
353
- addAssetProcedureFields: z.addOne,
354
- addAssetProcedureFieldsMany: z.addMany,
355
- setAssetProcedureFields: z.setOne,
356
- setAssetProcedureFieldsMany: z.setMany,
357
- updateAssetProcedureFields: z.updateOne,
358
- updateAssetProcedureFieldsMany: z.updateMany,
359
- deleteAssetProcedureFields: z.deleteOne,
360
- deleteAssetProcedureFieldsMany: z.deleteMany
352
+ initializeAssetProcedureFields: x.initialize,
353
+ addAssetProcedureFields: x.addOne,
354
+ addAssetProcedureFieldsMany: x.addMany,
355
+ setAssetProcedureFields: x.setOne,
356
+ setAssetProcedureFieldsMany: x.setMany,
357
+ updateAssetProcedureFields: x.updateOne,
358
+ updateAssetProcedureFieldsMany: x.updateMany,
359
+ deleteAssetProcedureFields: x.deleteOne,
360
+ deleteAssetProcedureFieldsMany: x.deleteMany
361
361
  }
362
362
  }), {
363
363
  initializeAssetProcedureFields: Cc,
@@ -365,33 +365,33 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
365
365
  addAssetProcedureFieldsMany: _m,
366
366
  setAssetProcedureFields: Om,
367
367
  setAssetProcedureFieldsMany: Im,
368
- updateAssetProcedureFields: zc,
368
+ updateAssetProcedureFields: xc,
369
369
  updateAssetProcedureFieldsMany: Fm,
370
- deleteAssetProcedureFields: xc,
370
+ deleteAssetProcedureFields: zc,
371
371
  deleteAssetProcedureFieldsMany: Pm
372
372
  } = Yi.actions, Uc = (t) => t.assetProcedureFieldsReducer.instances, Ji = p([Uc], (t) => Object.values(t)), vm = A(
373
373
  p(
374
374
  [Ji, (t, e) => e],
375
- (t, e) => g(t.filter((s) => s.asset_procedure === e))
375
+ (t, e) => b(t.filter((s) => s.asset_procedure === e))
376
376
  )
377
377
  ), wm = A(
378
378
  p([Ji, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
379
- ), Em = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], $c = Yi.reducer, x = _(
379
+ ), Em = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], $c = Yi.reducer, z = _(
380
380
  (t) => t.uuid
381
- ), $t = x.getInitialState({}), Qi = T({
381
+ ), $t = z.getInitialState({}), Qi = T({
382
382
  name: "assetProcedureFieldValuesAttachments",
383
383
  initialState: $t,
384
384
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $t)),
385
385
  reducers: {
386
- initializeAssetProcedureFieldValuesAttachments: x.initialize,
387
- addAssetProcedureFieldValuesAttachment: x.addOne,
388
- addAssetProcedureFieldValuesAttachments: x.addMany,
389
- setAssetProcedureFieldValuesAttachment: x.setOne,
390
- setAssetProcedureFieldValuesAttachments: x.setMany,
391
- updateAssetProcedureFieldValuesAttachment: x.updateOne,
392
- updateAssetProcedureFieldValuesAttachments: x.updateMany,
393
- deleteAssetProcedureFieldValuesAttachment: x.deleteOne,
394
- deleteAssetProcedureFieldValuesAttachments: x.deleteMany
386
+ initializeAssetProcedureFieldValuesAttachments: z.initialize,
387
+ addAssetProcedureFieldValuesAttachment: z.addOne,
388
+ addAssetProcedureFieldValuesAttachments: z.addMany,
389
+ setAssetProcedureFieldValuesAttachment: z.setOne,
390
+ setAssetProcedureFieldValuesAttachments: z.setMany,
391
+ updateAssetProcedureFieldValuesAttachment: z.updateOne,
392
+ updateAssetProcedureFieldValuesAttachments: z.updateMany,
393
+ deleteAssetProcedureFieldValuesAttachment: z.deleteOne,
394
+ deleteAssetProcedureFieldValuesAttachments: z.deleteMany
395
395
  }
396
396
  }), {
397
397
  initializeAssetProcedureFieldValuesAttachments: Vc,
@@ -408,16 +408,20 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
408
408
  (t) => Object.values(t)
409
409
  ), Dm = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Bc = A(
410
410
  p(
411
- [Xi, (t, e) => e],
411
+ [
412
+ Xi,
413
+ (t, e) => e
414
+ ],
412
415
  (t, e) => {
413
416
  const s = new Set(e);
414
- return g(
415
- Object.values(t).filter((i) => s.has(i.uuid))
416
- );
417
+ return b(Object.values(t).filter((i) => s.has(i.uuid)));
417
418
  }
418
419
  )
419
420
  ), Nc = A(
420
- p([Lc, (t, e) => e], (t, e) => g(t.filter((s) => s.field_values === e)))
421
+ p(
422
+ [Lc, (t, e) => e],
423
+ (t, e) => b(t.filter((s) => s.field_values === e))
424
+ )
421
425
  ), Hc = Qi.reducer, U = _(
422
426
  (t) => t.uuid
423
427
  ), Vt = U.getInitialState({}), Zi = T({
@@ -439,8 +443,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
439
443
  initializeAssetProcedureFieldValues: Wc,
440
444
  addAssetProcedureFieldValues: Gt,
441
445
  addAssetProcedureFieldValuesMany: Kc,
442
- setAssetProcedureFieldValues: zm,
443
- setAssetProcedureFieldValuesMany: xm,
446
+ setAssetProcedureFieldValues: xm,
447
+ setAssetProcedureFieldValuesMany: zm,
444
448
  updateAssetProcedureFieldValues: Ge,
445
449
  updateAssetProcedureFieldValuesMany: Yc,
446
450
  deleteAssetProcedureFieldValues: Lt,
@@ -449,9 +453,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
449
453
  [Qc],
450
454
  (t) => Object.values(t)
451
455
  ), Um = A(
452
- p([en, (t, e) => e], (t, e) => g(t.filter((s) => s.asset === e)))
456
+ p([en, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
453
457
  ), $m = A(
454
- p([en, (t, e) => e], (t, e) => g(t.filter((s) => s.asset_procedure_instance === e)))
458
+ p([en, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
455
459
  ), Bt = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Xc = Zi.reducer, $ = _(
456
460
  (t) => t.uuid
457
461
  ), Nt = $.getInitialState({}), tn = T({
@@ -485,7 +489,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
485
489
  ), sr = A(
486
490
  p(
487
491
  [nn, (t, e) => e],
488
- (t, e) => g(
492
+ (t, e) => b(
489
493
  t.filter(
490
494
  (s) => s.asset_procedure === e
491
495
  )
@@ -494,7 +498,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
494
498
  ), Bm = A(
495
499
  p(
496
500
  [nn, (t, e) => e],
497
- (t, e) => g(
501
+ (t, e) => b(
498
502
  t.filter(
499
503
  (s) => s.asset_type === e
500
504
  )
@@ -509,7 +513,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
509
513
  const n = t[i];
510
514
  n && s.push(n);
511
515
  }
512
- return g(s);
516
+ return b(s);
513
517
  }
514
518
  )
515
519
  ), ir = tn.reducer, V = _((t) => t.uuid), Yt = V.getInitialState({}), an = T({
@@ -540,19 +544,22 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
540
544
  } = an.actions, cn = (t) => t.assetProcedureReducer.instances, ar = p([cn], (t) => Object.values(t)), Qm = A(
541
545
  p(
542
546
  [ar, (t, e) => e],
543
- (t, e) => g(
547
+ (t, e) => b(
544
548
  t.filter((s) => s.organization === e)
545
549
  )
546
550
  )
547
551
  ), Xt = (t) => (e) => e.assetProcedureReducer.instances[t], Xm = A(
548
- p([cn, (t, e) => e], (t, e) => {
549
- const s = [];
550
- for (const i of e) {
551
- const n = t[i];
552
- n && s.push(n);
552
+ p(
553
+ [cn, (t, e) => e],
554
+ (t, e) => {
555
+ const s = [];
556
+ for (const i of e) {
557
+ const n = t[i];
558
+ n && s.push(n);
559
+ }
560
+ return b(s);
553
561
  }
554
- return g(s);
555
- })
562
+ )
556
563
  ), cr = an.reducer, G = _((t) => t.uuid), Zt = G.getInitialState({}), rn = T({
557
564
  name: "assets",
558
565
  initialState: Zt,
@@ -578,8 +585,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
578
585
  deleteAssets: or,
579
586
  setAsset: ep,
580
587
  setAssets: tp
581
- } = rn.actions, dn = (t) => t.assetReducer.instances, dr = p([dn], (t) => g(Object.values(t))), un = A(
582
- p([dr, (t, e) => e], (t, e) => g(t.filter((s) => s.asset_type === e)))
588
+ } = rn.actions, dn = (t) => t.assetReducer.instances, dr = p([dn], (t) => b(Object.values(t))), un = A(
589
+ p([dr, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
583
590
  ), ss = (t) => (e) => e.assetReducer.instances[t], sp = A(
584
591
  p([dn, (t, e) => e], (t, e) => {
585
592
  const s = [];
@@ -587,7 +594,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
587
594
  const n = t[i];
588
595
  n && s.push(n);
589
596
  }
590
- return g(s);
597
+ return b(s);
591
598
  })
592
599
  ), ip = (t) => (e) => un(t)(e).length, ur = rn.reducer, me = _(
593
600
  (t) => t.uuid
@@ -616,14 +623,17 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
616
623
  [hn],
617
624
  (t) => Object.values(t)
618
625
  ), fr = (t) => (e) => e.assetStageCompletionReducer.instances[t], yr = A(
619
- p([hn, (t, e) => e], (t, e) => {
620
- const s = new Set(e);
621
- return g(
622
- Object.values(t).filter(
623
- (i) => s.has(i.uuid)
624
- )
625
- );
626
- })
626
+ p(
627
+ [hn, (t, e) => e],
628
+ (t, e) => {
629
+ const s = new Set(e);
630
+ return b(
631
+ Object.values(t).filter(
632
+ (i) => s.has(i.uuid)
633
+ )
634
+ );
635
+ }
636
+ )
627
637
  ), L = _((t) => t.uuid), os = L.getInitialState({}), mn = T({
628
638
  name: "assetStages",
629
639
  initialState: os,
@@ -641,7 +651,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
641
651
  }
642
652
  }), {
643
653
  initializeAssetStages: Ar,
644
- setAssetStage: gr,
654
+ setAssetStage: br,
645
655
  setAssetStages: ap,
646
656
  addAssetStage: cp,
647
657
  addAssetStages: ds,
@@ -649,15 +659,15 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
649
659
  updateAssetStages: nt,
650
660
  deleteAssetStage: rp,
651
661
  deleteAssetStages: ls
652
- } = mn.actions, br = mn.reducer, Tt = (t) => t.assetStageReducer.instances, Sr = (t) => (e) => e.assetStageReducer.instances[t], Tr = p([Tt], (t) => Object.values(t)), op = A(
662
+ } = mn.actions, gr = mn.reducer, Tt = (t) => t.assetStageReducer.instances, Sr = (t) => (e) => e.assetStageReducer.instances[t], Tr = p([Tt], (t) => Object.values(t)), op = A(
653
663
  p([Tt, (t, e) => e], (t, e) => {
654
664
  const s = {};
655
665
  for (const [i, n] of Object.entries(t))
656
666
  n.asset_procedure === e && (s[i] = n);
657
- return xe(s);
667
+ return ze(s);
658
668
  })
659
669
  ), dp = A(
660
- p([Tr, (t, e) => e], (t, e) => g(t.filter((s) => s.asset_procedure === e)))
670
+ p([Tr, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
661
671
  ), hs = A(
662
672
  p([Tt, (t, e) => e], (t, e) => {
663
673
  const s = [];
@@ -665,7 +675,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
665
675
  const n = t[i];
666
676
  n ? s.push(n) : console.warn("selectStagesFromStageIds: No stage exists with the id", i);
667
677
  }
668
- return g(s);
678
+ return b(s);
669
679
  })
670
680
  ), B = _((t) => t.uuid), ms = B.getInitialState({}), pn = T({
671
681
  name: "assetTypeAttachments",
@@ -698,7 +708,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
698
708
  ), vr = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], wr = A(
699
709
  p(
700
710
  [Pr, (t, e) => e],
701
- (t, e) => g(t.filter(({ asset_type: s }) => e === s))
711
+ (t, e) => b(t.filter(({ asset_type: s }) => e === s))
702
712
  )
703
713
  ), Er = pn.reducer, N = _(
704
714
  (t) => t.uuid
@@ -730,9 +740,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
730
740
  } = An.actions, Cr = (t) => t.assetTypeFieldsAttachmentReducer.instances, Dr = p(
731
741
  [Cr],
732
742
  (t) => Object.values(t)
733
- ), gp = A(
734
- p([Dr, (t, e) => e], (t, e) => g(t.filter((s) => s.fields_revision === e)))
735
- ), bp = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], zr = An.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), gn = T({
743
+ ), bp = A(
744
+ p([Dr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
745
+ ), gp = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], xr = An.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), bn = T({
736
746
  name: "assetTypeFields",
737
747
  initialState: fs,
738
748
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
@@ -748,7 +758,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
748
758
  deleteAssetTypeFieldsMany: H.deleteMany
749
759
  }
750
760
  }), {
751
- initializeAssetTypeFields: xr,
761
+ initializeAssetTypeFields: zr,
752
762
  addAssetTypeFields: Ur,
753
763
  addAssetTypeFieldsMany: Sp,
754
764
  setAssetTypeFields: Tp,
@@ -757,13 +767,13 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
757
767
  updateAssetTypeFieldsMany: _p,
758
768
  deleteAssetTypeFields: Vr,
759
769
  deleteAssetTypeFieldsMany: Op
760
- } = gn.actions, Gr = (t) => t.assetTypeFieldsReducer.instances, Rt = p([Gr], (t) => Object.values(t)), Ip = A(
761
- p([Rt, (t, e) => e], (t, e) => g(t.filter((s) => s.asset_type === e)))
770
+ } = bn.actions, Gr = (t) => t.assetTypeFieldsReducer.instances, Rt = p([Gr], (t) => Object.values(t)), Ip = A(
771
+ p([Rt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
762
772
  ), Fp = A(
763
773
  p([Rt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
764
- ), Pp = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Lr = gn.reducer, W = _(
774
+ ), Pp = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Lr = bn.reducer, W = _(
765
775
  (t) => t.uuid
766
- ), ys = W.getInitialState({}), bn = T({
776
+ ), ys = W.getInitialState({}), gn = T({
767
777
  name: "assetTypeFieldValuesAttachments",
768
778
  initialState: ys,
769
779
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ys)),
@@ -788,22 +798,25 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
788
798
  updateAssetTypeFieldValuesAttachments: Nr,
789
799
  deleteAssetTypeFieldValuesAttachment: qp,
790
800
  deleteAssetTypeFieldValuesAttachments: ft
791
- } = bn.actions, Sn = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, Hr = p(
801
+ } = gn.actions, Sn = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, Hr = p(
792
802
  [Sn],
793
803
  (t) => Object.values(t)
794
804
  ), jp = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], Wr = A(
795
805
  p(
796
- [Sn, (t, e) => e],
806
+ [
807
+ Sn,
808
+ (t, e) => e
809
+ ],
797
810
  (t, e) => {
798
811
  const s = new Set(e);
799
- return g(
812
+ return b(
800
813
  Object.values(t).filter((i) => s.has(i.uuid))
801
814
  );
802
815
  }
803
816
  )
804
817
  ), Kr = A(
805
- p([Hr, (t, e) => e], (t, e) => g(t.filter((s) => s.field_values === e)))
806
- ), Yr = bn.reducer, K = _((t) => t.uuid), As = K.getInitialState({}), Tn = T({
818
+ p([Hr, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
819
+ ), Yr = gn.reducer, K = _((t) => t.uuid), As = K.getInitialState({}), Tn = T({
807
820
  name: "assetTypeFieldValues",
808
821
  initialState: As,
809
822
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, As)),
@@ -820,24 +833,24 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
820
833
  }
821
834
  }), {
822
835
  initializeAssetTypeFieldValues: Jr,
823
- addAssetTypeFieldValues: gs,
836
+ addAssetTypeFieldValues: bs,
824
837
  addAssetTypeFieldValuesMany: Qr,
825
838
  setAssetTypeFieldValues: Mp,
826
839
  setAssetTypeFieldValuesMany: Cp,
827
840
  updateAssetTypeFieldValues: He,
828
841
  updateAssetTypeFieldValuesMany: Xr,
829
- deleteAssetTypeFieldValues: bs,
842
+ deleteAssetTypeFieldValues: gs,
830
843
  deleteAssetTypeFieldValuesMany: Zr
831
844
  } = Tn.actions, eo = (t) => t.assetTypeFieldValuesReducer.instances, Rn = p([eo], (t) => Object.values(t)), Dp = A(
832
- p([Rn, (t, e) => e], (t, e) => g(t.filter((s) => s.asset === e)))
833
- ), zp = A(
845
+ p([Rn, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
846
+ ), xp = A(
834
847
  p(
835
848
  [Rt, Rn, (t, e) => e],
836
849
  (t, e, s) => {
837
850
  const i = new Set(
838
851
  t.filter((n) => n.asset_type === s).map((n) => n.uuid)
839
852
  );
840
- return g(e.filter((n) => i.has(n.fields_revision)));
853
+ return b(e.filter((n) => i.has(n.fields_revision)));
841
854
  }
842
855
  )
843
856
  ), Ss = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], to = Tn.reducer, Y = _((t) => t.uuid), Ts = Y.getInitialState({}), _n = T({
@@ -857,7 +870,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
857
870
  }
858
871
  }), {
859
872
  initializeAssetTypes: so,
860
- setAssetType: xp,
873
+ setAssetType: zp,
861
874
  setAssetTypes: Up,
862
875
  addAssetType: Rs,
863
876
  addAssetTypes: $p,
@@ -877,7 +890,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
877
890
  const n = t[i];
878
891
  n ? s.push(n) : console.warn("selectAssetTypesByIds: No assetType exists with the id", i);
879
892
  }
880
- return g(s);
893
+ return b(s);
881
894
  }
882
895
  )
883
896
  ), io = _n.reducer, Is = {
@@ -918,7 +931,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
918
931
  const n = t[i];
919
932
  n ? s.push(n) : console.warn("selectCategoryByIds: No category exists with the id", i);
920
933
  }
921
- return g(s);
934
+ return b(s);
922
935
  }
923
936
  )
924
937
  ), Qp = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, uo = In.reducer, J = _((t) => t.uuid), ws = J.getInitialState({}), Pn = T({
@@ -946,13 +959,13 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
946
959
  updateDocumentAttachments: po,
947
960
  deleteDocumentAttachment: fo,
948
961
  deleteDocumentAttachments: yo
949
- } = Pn.actions, Ao = (t) => t.documentAttachmentReducer.instances, go = p(
962
+ } = Pn.actions, Ao = (t) => t.documentAttachmentReducer.instances, bo = p(
950
963
  [Ao],
951
964
  (t) => Object.values(t)
952
- ), bo = (t) => (e) => e.documentAttachmentReducer.instances[t], tf = A(
965
+ ), go = (t) => (e) => e.documentAttachmentReducer.instances[t], tf = A(
953
966
  p(
954
- [go, (t, e) => e],
955
- (t, e) => g(t.filter(({ document: s }) => e === s))
967
+ [bo, (t, e) => e],
968
+ (t, e) => b(t.filter(({ document: s }) => e === s))
956
969
  )
957
970
  ), So = Pn.reducer, Es = {
958
971
  documents: {}
@@ -1092,21 +1105,24 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1092
1105
  const n = t[i];
1093
1106
  n ? s.push(n) : console.warn("selectDocumentByIds: No document exists with the id", i);
1094
1107
  }
1095
- return g(s);
1108
+ return b(s);
1096
1109
  }
1097
1110
  )
1098
1111
  ), nf = A(
1099
- p([De, (t, e) => e], (t, e) => {
1100
- const s = [], i = t[e];
1101
- if (!i || !i.parent_document) return s;
1102
- let n = t[i.parent_document];
1103
- for (; n; )
1104
- s.push(n.uuid), n = t[n.parent_document ?? ""];
1105
- return g(s);
1106
- })
1112
+ p(
1113
+ [De, (t, e) => e],
1114
+ (t, e) => {
1115
+ const s = [], i = t[e];
1116
+ if (!i || !i.parent_document) return s;
1117
+ let n = t[i.parent_document];
1118
+ for (; n; )
1119
+ s.push(n.uuid), n = t[n.parent_document ?? ""];
1120
+ return b(s);
1121
+ }
1122
+ )
1107
1123
  ), af = p(
1108
1124
  [Oo],
1109
- (t) => g(t.filter((e) => !e.parent_document))
1125
+ (t) => b(t.filter((e) => !e.parent_document))
1110
1126
  ), Fo = vn.reducer, Ze = _((t) => t.uuid), Po = Ze.getInitialState({}), wn = T({
1111
1127
  name: "emailDomains",
1112
1128
  initialState: Po,
@@ -1118,7 +1134,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1118
1134
  }), { initializeEmailDomains: vo, addEmailDomain: wo, deleteEmailDomain: Eo } = wn.actions, ko = (t) => t.emailDomainsReducer.instances, qo = p([ko], (t) => Object.values(t)), cf = A(
1119
1135
  p(
1120
1136
  [qo, (t, e) => e],
1121
- (t, e) => g(
1137
+ (t, e) => b(
1122
1138
  t.filter((s) => s.organization === e)
1123
1139
  )
1124
1140
  )
@@ -1145,7 +1161,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1145
1161
  const i = (/* @__PURE__ */ new Date()).getTime();
1146
1162
  if (!((s.exp ?? i) - i < En))
1147
1163
  return s;
1148
- }, zo = kn.reducer, Q = _(
1164
+ }, xo = kn.reducer, Q = _(
1149
1165
  (t) => t.uuid
1150
1166
  ), js = Q.getInitialState({}), qn = T({
1151
1167
  name: "formRevisionAttachments",
@@ -1163,7 +1179,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1163
1179
  deleteFormRevisionAttachments: Q.deleteMany
1164
1180
  }
1165
1181
  }), {
1166
- initializeFormRevisionAttachments: xo,
1182
+ initializeFormRevisionAttachments: zo,
1167
1183
  addFormRevisionAttachment: rf,
1168
1184
  addFormRevisionAttachments: Uo,
1169
1185
  setFormRevisionAttachment: of,
@@ -1175,7 +1191,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1175
1191
  } = qn.actions, Go = (t) => t.formRevisionAttachmentReducer.instances, hf = A(
1176
1192
  p(
1177
1193
  [Go, (t, e) => e],
1178
- (t, e) => g(
1194
+ (t, e) => b(
1179
1195
  Object.values(t).filter((s) => s.form_revision === e)
1180
1196
  )
1181
1197
  )
@@ -1217,26 +1233,26 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1217
1233
  ), Jo = A(
1218
1234
  p(
1219
1235
  [Yo, (t, e) => e],
1220
- (t, e) => g(t.filter((s) => s.form === e))
1236
+ (t, e) => b(t.filter((s) => s.form === e))
1221
1237
  )
1222
- ), Qo = jn.reducer, ge = _((t) => t.uuid), Cs = ge.getInitialState({}), Dn = T({
1238
+ ), Qo = jn.reducer, be = _((t) => t.uuid), Cs = be.getInitialState({}), Dn = T({
1223
1239
  name: "forms",
1224
1240
  initialState: Cs,
1225
1241
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Cs)),
1226
1242
  reducers: {
1227
- initializeForms: ge.initialize,
1228
- setForm: ge.setOne,
1229
- addForm: ge.addOne,
1230
- addForms: ge.addMany,
1231
- updateForm: ge.updateOne,
1232
- deleteForm: ge.deleteOne
1233
- }
1234
- }), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm: zs } = Dn.actions, Zo = Dn.reducer, ed = (t) => t.formReducer.instances, gf = p([ed], (t) => Object.values(t)), td = (t) => (e) => e.formReducer.instances[t], X = _(
1243
+ initializeForms: be.initialize,
1244
+ setForm: be.setOne,
1245
+ addForm: be.addOne,
1246
+ addForms: be.addMany,
1247
+ updateForm: be.updateOne,
1248
+ deleteForm: be.deleteOne
1249
+ }
1250
+ }), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm: xs } = Dn.actions, Zo = Dn.reducer, ed = (t) => t.formReducer.instances, bf = p([ed], (t) => Object.values(t)), td = (t) => (e) => e.formReducer.instances[t], X = _(
1235
1251
  (t) => t.uuid
1236
- ), xs = X.getInitialState({}), zn = T({
1252
+ ), zs = X.getInitialState({}), xn = T({
1237
1253
  name: "formSubmissionAttachments",
1238
- initialState: xs,
1239
- extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, xs)),
1254
+ initialState: zs,
1255
+ extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
1240
1256
  reducers: {
1241
1257
  initializeFormSubmissionAttachments: X.initialize,
1242
1258
  addFormSubmissionAttachment: X.addOne,
@@ -1250,7 +1266,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1250
1266
  }
1251
1267
  }), {
1252
1268
  initializeFormSubmissionAttachments: sd,
1253
- addFormSubmissionAttachment: bf,
1269
+ addFormSubmissionAttachment: gf,
1254
1270
  addFormSubmissionAttachments: yt,
1255
1271
  setFormSubmissionAttachment: Sf,
1256
1272
  setFormSubmissionAttachments: Tf,
@@ -1258,26 +1274,27 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1258
1274
  updateFormSubmissionAttachments: id,
1259
1275
  deleteFormSubmissionAttachment: _f,
1260
1276
  deleteFormSubmissionAttachments: At
1261
- } = zn.actions, xn = (t) => t.formSubmissionAttachmentReducer.instances, nd = A(
1277
+ } = xn.actions, zn = (t) => t.formSubmissionAttachmentReducer.instances, nd = A(
1262
1278
  p(
1263
- [xn, (t, e) => e],
1279
+ [
1280
+ zn,
1281
+ (t, e) => e
1282
+ ],
1264
1283
  (t, e) => {
1265
1284
  const s = new Set(e);
1266
- return g(
1285
+ return b(
1267
1286
  Object.values(t).filter((i) => s.has(i.uuid))
1268
1287
  );
1269
1288
  }
1270
1289
  )
1271
1290
  ), ad = A(
1272
1291
  p(
1273
- [xn, (t, e) => e],
1274
- (t, e) => g(
1275
- Object.values(t).filter(
1276
- (s) => s.form_submission === e
1277
- )
1292
+ [zn, (t, e) => e],
1293
+ (t, e) => b(
1294
+ Object.values(t).filter((s) => s.form_submission === e)
1278
1295
  )
1279
1296
  )
1280
- ), cd = zn.reducer, Z = _((t) => t.uuid), Us = Z.getInitialState({}), Un = T({
1297
+ ), cd = xn.reducer, Z = _((t) => t.uuid), Us = Z.getInitialState({}), Un = T({
1281
1298
  name: "formSubmissions",
1282
1299
  initialState: Us,
1283
1300
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
@@ -1359,9 +1376,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1359
1376
  updateGeoImage: Ad,
1360
1377
  updateGeoImages: Ff,
1361
1378
  deleteGeoImage: Bs,
1362
- deleteGeoImages: gd
1363
- } = Gn.actions, bd = (t) => t.geoImageReducer.instances, Sd = p([bd], (t) => Object.values(t)), Ns = (t) => (e) => e.geoImageReducer.instances[t], Pf = A(
1364
- p([Sd, (t, e) => e], (t, e) => g(t.filter((s) => s.project === e)))
1379
+ deleteGeoImages: bd
1380
+ } = Gn.actions, gd = (t) => t.geoImageReducer.instances, Sd = p([gd], (t) => Object.values(t)), Ns = (t) => (e) => e.geoImageReducer.instances[t], Pf = A(
1381
+ p([Sd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1365
1382
  ), Td = Gn.reducer, te = _((t) => t.uuid), Hs = te.getInitialState({}), Ln = T({
1366
1383
  name: "issueAssociations",
1367
1384
  initialState: Hs,
@@ -1390,19 +1407,19 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1390
1407
  } = Ln.actions, it = (t) => t.issueAssociationReducer.instances, kf = p([it], (t) => Object.values(t)), Od = (t) => (e) => e.issueAssociationReducer.instances[t], Id = A(
1391
1408
  p(
1392
1409
  [it, (t, e) => e],
1393
- (t, e) => g(
1410
+ (t, e) => b(
1394
1411
  Object.values(t).filter((s) => s.associated_issue === e)
1395
1412
  )
1396
1413
  )
1397
1414
  ), Fd = A(
1398
1415
  p(
1399
1416
  [it, (t, e) => e],
1400
- (t, e) => g(Object.values(t).filter((s) => s.issue === e))
1417
+ (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1401
1418
  )
1402
1419
  ), Pd = A(
1403
1420
  p(
1404
1421
  [it, (t, e) => e],
1405
- (t, e) => g(Object.values(t).filter((s) => s.asset === e))
1422
+ (t, e) => b(Object.values(t).filter((s) => s.asset === e))
1406
1423
  )
1407
1424
  ), vd = Ln.reducer, se = _((t) => t.uuid), Ys = se.getInitialState({}), Hn = T({
1408
1425
  name: "issueAttachments",
@@ -1435,7 +1452,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1435
1452
  ), Md = A(
1436
1453
  p(
1437
1454
  [jd, (t, e) => e],
1438
- (t, e) => g(t.filter(({ issue: s }) => e === s))
1455
+ (t, e) => b(t.filter(({ issue: s }) => e === s))
1439
1456
  )
1440
1457
  ), Cd = (t) => (e) => e.issueAttachmentReducer.instances[t], Dd = Hn.reducer, ie = _(
1441
1458
  (t) => t.uuid
@@ -1457,32 +1474,35 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1457
1474
  }), {
1458
1475
  initializeIssueCommentAttachments: Xs,
1459
1476
  addIssueCommentAttachment: Cf,
1460
- addIssueCommentAttachments: zd,
1461
- setIssueCommentAttachment: xd,
1477
+ addIssueCommentAttachments: xd,
1478
+ setIssueCommentAttachment: zd,
1462
1479
  setIssueCommentAttachments: Df,
1463
- updateIssueCommentAttachment: zf,
1480
+ updateIssueCommentAttachment: xf,
1464
1481
  updateIssueCommentAttachments: Ud,
1465
1482
  deleteIssueCommentAttachment: $d,
1466
1483
  deleteIssueCommentAttachments: Vd
1467
1484
  } = Yn.actions, Gd = (t) => t.issueCommentAttachmentReducer.instances, Ld = p(
1468
1485
  [Gd],
1469
1486
  (t) => Object.values(t)
1470
- ), Bd = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], xf = A(
1487
+ ), Bd = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], zf = A(
1471
1488
  p(
1472
- [Ld, (t, e) => e],
1473
- (t, e) => g(t.filter(({ issue_comment: s }) => e === s))
1489
+ [
1490
+ Ld,
1491
+ (t, e) => e
1492
+ ],
1493
+ (t, e) => b(t.filter(({ issue_comment: s }) => e === s))
1474
1494
  )
1475
- ), Nd = Yn.reducer, be = _((t) => t.uuid), Zs = be.getInitialState({}), Jn = T({
1495
+ ), Nd = Yn.reducer, ge = _((t) => t.uuid), Zs = ge.getInitialState({}), Jn = T({
1476
1496
  name: "issueComments",
1477
1497
  initialState: Zs,
1478
1498
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zs)),
1479
1499
  reducers: {
1480
- addIssueComment: be.addOne,
1481
- addIssueComments: be.addMany,
1482
- setIssueComment: be.setOne,
1483
- setIssueComments: be.setMany,
1484
- deleteIssueComment: be.deleteOne,
1485
- deleteIssueComments: be.deleteMany
1500
+ addIssueComment: ge.addOne,
1501
+ addIssueComments: ge.addMany,
1502
+ setIssueComment: ge.setOne,
1503
+ setIssueComments: ge.setMany,
1504
+ deleteIssueComment: ge.deleteOne,
1505
+ deleteIssueComments: ge.deleteMany
1486
1506
  }
1487
1507
  }), {
1488
1508
  setIssueComments: Hd,
@@ -1492,7 +1512,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1492
1512
  deleteIssueComment: si,
1493
1513
  deleteIssueComments: $f
1494
1514
  } = Jn.actions, Wd = (t) => t.issueCommentReducer.instances, ii = (t) => (e) => e.issueCommentReducer.instances[t], Vf = A(
1495
- p([Wd, (t, e) => e], (t, e) => g(Object.values(t).filter((s) => s.issue === e)))
1515
+ p(
1516
+ [Wd, (t, e) => e],
1517
+ (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1518
+ )
1496
1519
  ), Kd = Jn.reducer, Se = _((t) => t.uuid), ni = Se.getInitialState({}), Qn = T({
1497
1520
  name: "issues",
1498
1521
  initialState: ni,
@@ -1514,7 +1537,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1514
1537
  const n = t[i];
1515
1538
  n ? s.push(n) : console.warn("selectIssuesByIds: No issue exists with the id", i);
1516
1539
  }
1517
- return g(s);
1540
+ return b(s);
1518
1541
  })
1519
1542
  ), Zd = Qn.reducer, ne = _((t) => t.uuid), oi = ne.getInitialState({}), Xn = T({
1520
1543
  name: "issueTypeAttachments",
@@ -1547,7 +1570,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1547
1570
  ), ru = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Hf = A(
1548
1571
  p(
1549
1572
  [cu, (t, e) => e],
1550
- (t, e) => g(t.filter(({ issue_type: s }) => e === s))
1573
+ (t, e) => b(t.filter(({ issue_type: s }) => e === s))
1551
1574
  )
1552
1575
  ), ou = Xn.reducer, ae = _(
1553
1576
  (t) => t.uuid
@@ -1582,7 +1605,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1582
1605
  ), Xf = A(
1583
1606
  p(
1584
1607
  [pu, (t, e) => e],
1585
- (t, e) => g(
1608
+ (t, e) => b(
1586
1609
  t.filter((s) => s.fields_revision === e)
1587
1610
  )
1588
1611
  )
@@ -1612,8 +1635,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1612
1635
  deleteIssueTypeFieldValues: mi,
1613
1636
  deleteIssueTypeFieldValuesMany: ny
1614
1637
  } = ea.actions, Au = (t) => t.issueTypeFieldValuesReducer.instances, ta = p([Au], (t) => Object.values(t)), ay = A(
1615
- p([ta, (t, e) => e], (t, e) => g(t.filter((s) => s.issue === e)))
1616
- ), pi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], gu = ea.reducer, re = _((t) => t.uuid), fi = re.getInitialState({}), sa = T({
1638
+ p([ta, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
1639
+ ), pi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], bu = ea.reducer, re = _((t) => t.uuid), fi = re.getInitialState({}), sa = T({
1617
1640
  name: "issueTypeFields",
1618
1641
  initialState: fi,
1619
1642
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fi)),
@@ -1629,7 +1652,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1629
1652
  deleteIssueTypeFieldsMany: re.deleteMany
1630
1653
  }
1631
1654
  }), {
1632
- initializeIssueTypeFields: bu,
1655
+ initializeIssueTypeFields: gu,
1633
1656
  addIssueTypeFields: Su,
1634
1657
  addIssueTypeFieldsMany: cy,
1635
1658
  setIssueTypeFields: ry,
@@ -1639,7 +1662,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1639
1662
  deleteIssueTypeFields: Ru,
1640
1663
  deleteIssueTypeFieldsMany: uy
1641
1664
  } = sa.actions, _u = (t) => t.issueTypeFieldsReducer.instances, Pt = p([_u], (t) => Object.values(t)), ly = A(
1642
- p([Pt, (t, e) => e], (t, e) => g(t.filter((s) => s.issue_type === e)))
1665
+ p([Pt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
1643
1666
  ), hy = A(
1644
1667
  p([Pt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
1645
1668
  ), my = A(
@@ -1649,7 +1672,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1649
1672
  const i = new Set(
1650
1673
  t.filter((n) => n.issue_type === s).map((n) => n.uuid)
1651
1674
  );
1652
- return g(e.filter((n) => i.has(n.fields_revision)));
1675
+ return b(e.filter((n) => i.has(n.fields_revision)));
1653
1676
  }
1654
1677
  )
1655
1678
  ), py = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ou = sa.reducer, oe = _(
@@ -1672,22 +1695,25 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1672
1695
  }), {
1673
1696
  initializeIssueTypeFieldValuesAttachments: Iu,
1674
1697
  addIssueTypeFieldValuesAttachment: fy,
1675
- addIssueTypeFieldValuesAttachments: gt,
1698
+ addIssueTypeFieldValuesAttachments: bt,
1676
1699
  setIssueTypeFieldValuesAttachment: yy,
1677
1700
  setIssueTypeFieldValuesAttachments: Ay,
1678
- updateIssueTypeFieldValuesAttachment: gy,
1701
+ updateIssueTypeFieldValuesAttachment: by,
1679
1702
  updateIssueTypeFieldValuesAttachments: Fu,
1680
- deleteIssueTypeFieldValuesAttachment: by,
1681
- deleteIssueTypeFieldValuesAttachments: bt
1703
+ deleteIssueTypeFieldValuesAttachment: gy,
1704
+ deleteIssueTypeFieldValuesAttachments: gt
1682
1705
  } = ia.actions, na = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Pu = p(
1683
1706
  [na],
1684
1707
  (t) => Object.values(t)
1685
1708
  ), Sy = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], vu = A(
1686
1709
  p(
1687
- [na, (t, e) => e],
1710
+ [
1711
+ na,
1712
+ (t, e) => e
1713
+ ],
1688
1714
  (t, e) => {
1689
1715
  const s = new Set(e);
1690
- return g(
1716
+ return b(
1691
1717
  Object.values(t).filter((i) => s.has(i.uuid))
1692
1718
  );
1693
1719
  }
@@ -1695,7 +1721,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1695
1721
  ), wu = A(
1696
1722
  p(
1697
1723
  [Pu, (t, e) => e],
1698
- (t, e) => g(t.filter((s) => s.field_values === e))
1724
+ (t, e) => b(t.filter((s) => s.field_values === e))
1699
1725
  )
1700
1726
  ), Eu = ia.reducer, Ie = _((t) => t.uuid), Ai = Ie.getInitialState({}), aa = T({
1701
1727
  name: "issueTypes",
@@ -1710,10 +1736,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1710
1736
  updateIssueType: Ie.updateOne,
1711
1737
  removeIssueType: Ie.deleteOne
1712
1738
  }
1713
- }), { initializeIssueTypes: ku, setIssueType: Je, addIssueType: qu, updateIssueType: ju, removeIssueType: gi } = aa.actions, Mu = (t) => t.issueTypeReducer.instances, Cu = p(
1739
+ }), { initializeIssueTypes: ku, setIssueType: Je, addIssueType: qu, updateIssueType: ju, removeIssueType: bi } = aa.actions, Mu = (t) => t.issueTypeReducer.instances, Cu = p(
1714
1740
  Mu,
1715
1741
  (t) => Object.values(t)
1716
- ), bi = (t) => (e) => e.issueTypeReducer.instances[t], Ty = (t) => (e) => {
1742
+ ), gi = (t) => (e) => e.issueTypeReducer.instances[t], Ty = (t) => (e) => {
1717
1743
  const s = [];
1718
1744
  for (const i of t) {
1719
1745
  const n = e.issueTypeReducer.instances[i];
@@ -1723,12 +1749,12 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1723
1749
  }, Ry = A(
1724
1750
  p(
1725
1751
  [Cu, (t, e) => e],
1726
- (t, e) => g(t.filter((s) => s.organization === e))
1752
+ (t, e) => b(t.filter((s) => s.organization === e))
1727
1753
  )
1728
1754
  ), ca = A(
1729
1755
  p(
1730
1756
  [(t) => t.issueReducer.instances, (t, e) => e],
1731
- (t, e) => g(
1757
+ (t, e) => b(
1732
1758
  Object.values(t).filter((s) => s.issue_type === e)
1733
1759
  )
1734
1760
  )
@@ -1745,16 +1771,16 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1745
1771
  deleteIssueUpdates: Te.deleteMany
1746
1772
  }
1747
1773
  }), {
1748
- initializeIssueUpdates: zu,
1774
+ initializeIssueUpdates: xu,
1749
1775
  setIssueUpdate: Oy,
1750
- addIssueUpdate: xu,
1776
+ addIssueUpdate: zu,
1751
1777
  addIssueUpdates: Uu,
1752
1778
  deleteIssueUpdate: $u,
1753
1779
  deleteIssueUpdates: Vu
1754
1780
  } = ra.actions, Gu = (t) => t.issueUpdateReducer.instances, Lu = A(
1755
1781
  p(
1756
1782
  [Gu, (t, e) => e],
1757
- (t, e) => g(Object.values(t).filter((s) => s.issue === e))
1783
+ (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1758
1784
  )
1759
1785
  ), Bu = ra.reducer, et = _((t) => t.uuid), Ti = et.getInitialState({}), oa = T({
1760
1786
  name: "license",
@@ -1767,10 +1793,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1767
1793
  }
1768
1794
  }), { initializeLicences: Nu, addLicenses: Iy, updateLicense: pe } = oa.actions, vt = (t) => t.licenseReducer.instances, Fy = (t) => (e) => e.licenseReducer.instances[t], Hu = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), Py = p(
1769
1795
  [vt],
1770
- (t) => g(Object.values(t).filter((e) => e.is_active))
1796
+ (t) => b(Object.values(t).filter((e) => e.is_active))
1771
1797
  ), vy = p(
1772
1798
  [vt],
1773
- (t) => xe(
1799
+ (t) => ze(
1774
1800
  Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
1775
1801
  )
1776
1802
  ), Wu = oa.reducer, q = _((t) => t.uuid), Ri = q.getInitialState({
@@ -1814,8 +1840,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1814
1840
  deleteUser: Cy,
1815
1841
  deleteUsers: Dy,
1816
1842
  removeUser: Yu,
1817
- setCurrentUser: zy,
1818
- setProfilePicture: xy
1843
+ setCurrentUser: xy,
1844
+ setProfilePicture: zy
1819
1845
  } = da.actions, Ju = da.reducer, wt = (t) => t.userReducer.currentUser, Et = (t) => t.userReducer.instances, Uy = (t) => (e) => e.userReducer.instances[t], $y = A(
1820
1846
  p([Et, (t, e) => e], (t, e) => {
1821
1847
  const s = [];
@@ -1823,7 +1849,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1823
1849
  const n = t[i];
1824
1850
  n ? s.push(n) : console.warn("selectUsersByIds: No user exists with the uuid", i);
1825
1851
  }
1826
- return g(s);
1852
+ return b(s);
1827
1853
  })
1828
1854
  ), tt = _(
1829
1855
  (t) => t.uuid
@@ -1847,7 +1873,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1847
1873
  const e = {};
1848
1874
  for (const s of Object.values(t.organizationAccessReducer.instances))
1849
1875
  e[s.user] = s;
1850
- return xe(e);
1876
+ return ze(e);
1851
1877
  }, tl = ua.reducer, je = _((t) => t.uuid), Oi = je.getInitialState({}), ha = T({
1852
1878
  name: "projectAccess",
1853
1879
  initialState: Oi,
@@ -1867,7 +1893,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1867
1893
  const e = {};
1868
1894
  for (const s of Object.values(t.projectAccessReducer.instances))
1869
1895
  e[s.user] = s;
1870
- return xe(e);
1896
+ return ze(e);
1871
1897
  }, rl = ha.reducer, de = _((t) => t.uuid), Ii = de.getInitialState({}), fa = T({
1872
1898
  name: "projects",
1873
1899
  initialState: Ii,
@@ -1900,7 +1926,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1900
1926
  deleteProject: ul,
1901
1927
  deleteProjects: Qy,
1902
1928
  acceptProjectInvite: ll
1903
- } = fa.actions, hl = fa.reducer, kt = (t) => t.projectReducer.instances, Xy = p([kt], (t) => g(Object.values(t))), Zy = (t) => (e) => e.projectReducer.instances[t], ml = p(
1929
+ } = fa.actions, hl = fa.reducer, kt = (t) => t.projectReducer.instances, Xy = p([kt], (t) => b(Object.values(t))), Zy = (t) => (e) => e.projectReducer.instances[t], ml = p(
1904
1930
  [pa],
1905
1931
  (t) => Object.values(t).map((e) => e.user)
1906
1932
  ), pl = p(
@@ -1908,14 +1934,14 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1908
1934
  (t, e) => t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
1909
1935
  ), eA = p(
1910
1936
  [wt, pl, cl],
1911
- (t, e, s) => g(
1937
+ (t, e, s) => b(
1912
1938
  Object.values(e).sort((i, n) => {
1913
1939
  if (i.uuid === (t == null ? void 0 : t.uuid))
1914
1940
  return -1;
1915
1941
  if (n.uuid === (t == null ? void 0 : t.uuid))
1916
1942
  return 1;
1917
1943
  const a = s[i.uuid], c = s[n.uuid];
1918
- return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === xi.ADMIN ? -1 : 1;
1944
+ return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === zi.ADMIN ? -1 : 1;
1919
1945
  })
1920
1946
  )
1921
1947
  ), ue = _((t) => t.uuid), Fi = ue.getInitialState({}), ya = T({
@@ -1945,34 +1971,34 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
1945
1971
  deleteOrganizations: oA
1946
1972
  } = ya.actions, yl = (t) => t.organizationReducer.instances, Al = p([yl], (t) => Object.values(t)), dA = (t) => (e) => e.organizationReducer.instances[t], uA = p(
1947
1973
  [Al],
1948
- (t) => g(
1974
+ (t) => b(
1949
1975
  Object.values(t).filter((e) => e.has_access)
1950
1976
  )
1951
- ), gl = p(
1977
+ ), bl = p(
1952
1978
  [la],
1953
1979
  (t) => Object.values(t).map((e) => e.user)
1954
1980
  ), lA = A(
1955
1981
  p(
1956
1982
  [kt, (t, e) => e],
1957
- (t, e) => g(
1983
+ (t, e) => b(
1958
1984
  Object.values(t).filter((s) => s.organization_owner === e)
1959
1985
  )
1960
1986
  )
1961
1987
  ), hA = A(
1962
1988
  p(
1963
1989
  [vt, (t, e) => e],
1964
- (t, e) => g(
1990
+ (t, e) => b(
1965
1991
  Object.values(t).filter((s) => s.organization_owner === e)
1966
1992
  )
1967
1993
  )
1968
- ), bl = p(
1969
- [gl, Et],
1970
- (t, e) => xe(
1994
+ ), gl = p(
1995
+ [bl, Et],
1996
+ (t, e) => ze(
1971
1997
  t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
1972
1998
  )
1973
1999
  ), mA = p(
1974
- [wt, bl, el],
1975
- (t, e, s) => g(
2000
+ [wt, gl, el],
2001
+ (t, e, s) => b(
1976
2002
  Object.values(e).sort((i, n) => {
1977
2003
  if (i.uuid === (t == null ? void 0 : t.uuid))
1978
2004
  return -1;
@@ -2028,7 +2054,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
2028
2054
  t.latestRetryTime = e.payload;
2029
2055
  }
2030
2056
  }
2031
- }), pA = (t) => t.outboxReducer.deletedRequests, fA = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Rl, markForDeletion: yA, markAsDeleted: _l, _setLatestRetryTime: Ol } = Aa.actions, Il = Aa.reducer, le = _((t) => t.uuid), vi = le.getInitialState({}), ga = T({
2057
+ }), pA = (t) => t.outboxReducer.deletedRequests, fA = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Rl, markForDeletion: yA, markAsDeleted: _l, _setLatestRetryTime: Ol } = Aa.actions, Il = Aa.reducer, le = _((t) => t.uuid), vi = le.getInitialState({}), ba = T({
2032
2058
  name: "projectAttachments",
2033
2059
  initialState: vi,
2034
2060
  extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vi)),
@@ -2049,19 +2075,19 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
2049
2075
  addProjectAttachments: Pl,
2050
2076
  setProjectAttachment: vl,
2051
2077
  setProjectAttachments: wl,
2052
- updateProjectAttachment: gA,
2078
+ updateProjectAttachment: bA,
2053
2079
  updateProjectAttachments: El,
2054
2080
  deleteProjectAttachment: kl,
2055
- deleteProjectAttachments: ba
2056
- } = ga.actions, ql = (t) => t.projectAttachmentReducer.instances, jl = p(
2081
+ deleteProjectAttachments: ga
2082
+ } = ba.actions, ql = (t) => t.projectAttachmentReducer.instances, jl = p(
2057
2083
  [ql],
2058
2084
  (t) => Object.values(t)
2059
2085
  ), Ml = (t) => (e) => e.projectAttachmentReducer.instances[t], Cl = A(
2060
2086
  p(
2061
2087
  [jl, (t, e) => e],
2062
- (t, e) => g(t.filter(({ project: s }) => e === s))
2088
+ (t, e) => b(t.filter(({ project: s }) => e === s))
2063
2089
  )
2064
- ), Dl = ga.reducer, he = _((t) => t.uuid), wi = he.getInitialState({
2090
+ ), Dl = ba.reducer, he = _((t) => t.uuid), wi = he.getInitialState({
2065
2091
  activeProjectFileId: null,
2066
2092
  isImportingProjectFile: !1
2067
2093
  }), Sa = T({
@@ -2102,11 +2128,11 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
2102
2128
  }
2103
2129
  }
2104
2130
  }), {
2105
- initializeProjectFiles: zl,
2106
- setProjectFile: bA,
2131
+ initializeProjectFiles: xl,
2132
+ setProjectFile: gA,
2107
2133
  setProjectFiles: SA,
2108
2134
  addProjectFile: TA,
2109
- addProjectFiles: xl,
2135
+ addProjectFiles: zl,
2110
2136
  updateProjectFile: Ei,
2111
2137
  updateProjectFiles: RA,
2112
2138
  deleteProjectFile: Ul,
@@ -2116,7 +2142,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
2116
2142
  setActiveProjectFileId: Gl,
2117
2143
  saveActiveProjectFileBounds: Ll,
2118
2144
  resetProjectFileObjectUrls: _A
2119
- } = Sa.actions, Bl = (t) => t.projectFileReducer.instances, Nl = p([Bl], (t) => g(Object.values(t).sort((e, s) => e.z_index - s.z_index))), OA = (t) => (e) => e.projectFileReducer.instances[t], IA = (t) => t.projectFileReducer.activeProjectFileId, FA = (t) => t.projectFileReducer.isImportingProjectFile, Hl = Sa.reducer, Wl = {
2145
+ } = Sa.actions, Bl = (t) => t.projectFileReducer.instances, Nl = p([Bl], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), OA = (t) => (e) => e.projectFileReducer.instances[t], IA = (t) => t.projectFileReducer.activeProjectFileId, FA = (t) => t.projectFileReducer.isImportingProjectFile, Hl = Sa.reducer, Wl = {
2120
2146
  isRehydrated: !1
2121
2147
  }, Ta = T({
2122
2148
  name: "rehydrated",
@@ -2147,16 +2173,16 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
2147
2173
  const n = t[i];
2148
2174
  n ? s.push(n) : console.warn("selectTeamsByIds: No team exists with the id", i);
2149
2175
  }
2150
- return g(s);
2176
+ return b(s);
2151
2177
  }
2152
2178
  )
2153
2179
  ), EA = A(
2154
2180
  p(
2155
2181
  [Oa, (t, e) => e],
2156
- (t, e) => g(t.filter((s) => s.organization === e))
2182
+ (t, e) => b(t.filter((s) => s.organization === e))
2157
2183
  )
2158
2184
  ), kA = A(
2159
- p([Oa, (t, e) => e], (t, e) => g(t.filter((s) => s.members.includes(e))))
2185
+ p([Oa, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
2160
2186
  ), Ql = Ra.reducer, Xl = {
2161
2187
  version: 0
2162
2188
  }, Zl = T({
@@ -2198,13 +2224,13 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
2198
2224
  }, qa = [ka, Mi, Mi, nh], ch = Object.fromEntries(qa.map((t, e) => [e, ah(t)])), ja = "versioning", rh = {
2199
2225
  // TODO: attachmentReducer,
2200
2226
  [ja]: eh,
2201
- fileReducer: zo,
2227
+ fileReducer: xo,
2202
2228
  authReducer: ao,
2203
2229
  categoryReducer: uo,
2204
2230
  assetReducer: ur,
2205
2231
  assetAttachmentReducer: Pc,
2206
2232
  assetStageCompletionReducer: pr,
2207
- assetStageReducer: br,
2233
+ assetStageReducer: gr,
2208
2234
  assetTypeReducer: io,
2209
2235
  assetTypeAttachmentReducer: Er,
2210
2236
  issueReducer: Zd,
@@ -2230,19 +2256,19 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
2230
2256
  documentsReducer: Fo,
2231
2257
  documentAttachmentReducer: So,
2232
2258
  teamReducer: Ql,
2233
- agentsReducer: bc,
2259
+ agentsReducer: gc,
2234
2260
  issueCommentReducer: Kd,
2235
2261
  issueCommentAttachmentReducer: Nd,
2236
2262
  issueUpdateReducer: Bu,
2237
2263
  geoImageReducer: Td,
2238
2264
  issueAssociationReducer: vd,
2239
2265
  issueTypeFieldsReducer: Ou,
2240
- issueTypeFieldValuesReducer: gu,
2266
+ issueTypeFieldValuesReducer: bu,
2241
2267
  issueTypeFieldsAttachmentReducer: fu,
2242
2268
  issueTypeFieldValuesAttachmentReducer: Eu,
2243
2269
  assetTypeFieldsReducer: Lr,
2244
2270
  assetTypeFieldValuesReducer: to,
2245
- assetTypeFieldsAttachmentReducer: zr,
2271
+ assetTypeFieldsAttachmentReducer: xr,
2246
2272
  assetTypeFieldValuesAttachmentReducer: Yr,
2247
2273
  assetProcedureReducer: cr,
2248
2274
  assetProcedureInstanceReducer: ir,
@@ -2285,7 +2311,7 @@ const mh = {
2285
2311
  effect: hh,
2286
2312
  // Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
2287
2313
  // but redux-offline does not know this.
2288
- discard: za,
2314
+ discard: xa,
2289
2315
  returnPromises: !0,
2290
2316
  persistCallback: dh,
2291
2317
  retry: Rh,
@@ -2329,11 +2355,11 @@ async function Ma(t, e) {
2329
2355
  ...a,
2330
2356
  ...c.request
2331
2357
  }, R = c.request;
2332
- let b = R.url;
2358
+ let g = R.url;
2333
2359
  const F = h ? await e.files.fetchCache(h) : void 0;
2334
2360
  if (h && !F)
2335
2361
  throw new Error(`Cannot upload file ${h} because it's not cached.`);
2336
- !m && !b.startsWith("http") && (!b.startsWith("/") && !b.startsWith("blob:") && (b = "/" + b), b = t.meta.offline.effect.BASE_URL + b);
2362
+ !m && !g.startsWith("http") && (!g.startsWith("/") && !g.startsWith("blob:") && (g = "/" + g), g = t.meta.offline.effect.BASE_URL + g);
2337
2363
  const k = (v) => {
2338
2364
  if (h) {
2339
2365
  const M = R.s3url;
@@ -2345,26 +2371,26 @@ async function Ma(t, e) {
2345
2371
  return v.set("x-amz-checksum-sha1", ve).field({ ...o, ...M.fields }).attach("file", F);
2346
2372
  }
2347
2373
  return v.send(o);
2348
- }, xa = {
2349
- [d.GET]: () => S ? Oe.get(b.toString()).responseType("blob") : Oe.get(b.toString()),
2374
+ }, za = {
2375
+ [d.GET]: () => S ? Oe.get(g.toString()).responseType("blob") : Oe.get(g.toString()),
2350
2376
  [d.POST]: () => {
2351
- const v = Oe.post(b.toString());
2377
+ const v = Oe.post(g.toString());
2352
2378
  return k(v);
2353
2379
  },
2354
2380
  [d.PATCH]: () => {
2355
- const v = Oe.patch(b.toString());
2381
+ const v = Oe.patch(g.toString());
2356
2382
  return k(v);
2357
2383
  },
2358
2384
  [d.PUT]: () => {
2359
- const v = Oe.put(b.toString());
2385
+ const v = Oe.put(g.toString());
2360
2386
  return k(v);
2361
2387
  },
2362
2388
  [d.DELETE]: () => {
2363
- const v = Oe.delete(b.toString());
2389
+ const v = Oe.delete(g.toString());
2364
2390
  return k(v);
2365
2391
  }
2366
2392
  }[r];
2367
- let fe = xa();
2393
+ let fe = za();
2368
2394
  if (f && i) {
2369
2395
  const v = s.auth.getAuthHeader();
2370
2396
  fe = fe.set("Authorization", v);
@@ -2419,18 +2445,18 @@ class Ah extends Ca {
2419
2445
  return super.run(e);
2420
2446
  }
2421
2447
  }
2422
- class gh extends Ca {
2448
+ class bh extends Ca {
2423
2449
  async run(e) {
2424
2450
  return super.run(e);
2425
2451
  }
2426
2452
  }
2427
- const bh = new Ah().then(new gh()).compile();
2453
+ const gh = new Ah().then(new bh()).compile();
2428
2454
  function Sh(t) {
2429
2455
  var e;
2430
- return (e = bh[0]) == null ? void 0 : e.run(t);
2456
+ return (e = gh[0]) == null ? void 0 : e.run(t);
2431
2457
  }
2432
2458
  const Da = [400, 409, 403, 404, 405, 500];
2433
- function za(t, e, s = 0) {
2459
+ function xa(t, e, s = 0) {
2434
2460
  var r;
2435
2461
  if (console.debug(
2436
2462
  "Considering discarding request due to error:",
@@ -2486,7 +2512,7 @@ function Th(t, e, s) {
2486
2512
  function Rh(t, e) {
2487
2513
  return Ue().dispatch(Ol((/* @__PURE__ */ new Date()).getTime())), ic;
2488
2514
  }
2489
- const ze = "An unknown error occurred", _h = 500, Di = ["non_field_errors", "detail"];
2515
+ const xe = "An unknown error occurred", _h = 500, Di = ["non_field_errors", "detail"];
2490
2516
  function Oh(t, e) {
2491
2517
  let s;
2492
2518
  if (t != null && t.body)
@@ -2507,18 +2533,18 @@ function Oh(t, e) {
2507
2533
  }
2508
2534
  } else typeof t.body == "string" && (s = t.body);
2509
2535
  else t != null && t.text ? s = t.text : e instanceof Error && (s = e.message);
2510
- return !s || s.length > _h ? ze : s;
2536
+ return !s || s.length > _h ? xe : s;
2511
2537
  }
2512
2538
  class j extends Error {
2513
2539
  constructor(s) {
2514
- super(ze);
2540
+ super(xe);
2515
2541
  // NOTE: Needs to conform to NetworkError in @redux-offline/redux-offline, which has `status` and `response`.
2516
2542
  y(this, "status");
2517
2543
  y(this, "response");
2518
2544
  y(this, "message");
2519
2545
  y(this, "options");
2520
2546
  const { response: i, innerError: n } = s;
2521
- this.message = s.message ?? Oh(i, n) ?? ze, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
2547
+ this.message = s.message ?? Oh(i, n) ?? xe, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
2522
2548
  }
2523
2549
  }
2524
2550
  class MA {
@@ -2557,7 +2583,7 @@ class MA {
2557
2583
  Ma(o, this).then((l) => {
2558
2584
  n.resolve(l.body);
2559
2585
  }).catch((l) => {
2560
- za(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? ze).toString()));
2586
+ xa(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? xe).toString()));
2561
2587
  });
2562
2588
  } else {
2563
2589
  const c = this.store.dispatch(
@@ -2771,7 +2797,7 @@ class DA extends I {
2771
2797
  blocks: ["prompt"],
2772
2798
  queryParams: { conversation_id: s }
2773
2799
  }).then((n) => {
2774
- this.dispatch(gc(n));
2800
+ this.dispatch(bc(n));
2775
2801
  });
2776
2802
  }
2777
2803
  async fetchDetails(e) {
@@ -2929,12 +2955,12 @@ class _e extends E {
2929
2955
  }), n;
2930
2956
  }
2931
2957
  }
2932
- class zA extends _e {
2958
+ class xA extends _e {
2933
2959
  constructor() {
2934
2960
  super(...arguments);
2935
2961
  y(this, "name", "Asset Attachment");
2936
2962
  y(this, "url", "/asset-attachments");
2937
- y(this, "initializeAttachments", zt);
2963
+ y(this, "initializeAttachments", xt);
2938
2964
  y(this, "addAttachments", Hi);
2939
2965
  y(this, "updateAttachments", Tc);
2940
2966
  y(this, "removeAttachments", Wi);
@@ -2977,10 +3003,10 @@ class zA extends _e {
2977
3003
  blocks: [],
2978
3004
  blockers: []
2979
3005
  });
2980
- this.dispatch(zt(i));
3006
+ this.dispatch(xt(i));
2981
3007
  }
2982
3008
  }
2983
- class xA extends E {
3009
+ class zA extends E {
2984
3010
  async bulkAdd(e) {
2985
3011
  var l;
2986
3012
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
@@ -3063,9 +3089,9 @@ class UA extends I {
3063
3089
  blocks: [a.uuid]
3064
3090
  });
3065
3091
  return c.then((l) => {
3066
- this.dispatch(zc(l));
3092
+ this.dispatch(xc(l));
3067
3093
  }).catch((l) => {
3068
- throw this.dispatch(xc(a.uuid)), l;
3094
+ throw this.dispatch(zc(a.uuid)), l;
3069
3095
  }), [a, c];
3070
3096
  }
3071
3097
  async refreshStore(e) {
@@ -3097,13 +3123,13 @@ class $A extends E {
3097
3123
  for (const u of a) {
3098
3124
  const h = {}, m = [];
3099
3125
  for (const f of u) {
3100
- const { fieldValuesUuid: S, fieldIdentifier: R, file: b } = f, F = await this.getFilePayload(b);
3126
+ const { fieldValuesUuid: S, fieldIdentifier: R, file: g } = f, F = await this.getFilePayload(g);
3101
3127
  F.sha1 in h || (h[F.sha1] = F);
3102
3128
  const k = O(
3103
3129
  {
3104
- file: URL.createObjectURL(b),
3105
- file_type: b.type,
3106
- file_name: b.name,
3130
+ file: URL.createObjectURL(g),
3131
+ file_type: g.type,
3132
+ file_name: g.name,
3107
3133
  file_sha1: F.sha1,
3108
3134
  created_by: n,
3109
3135
  field_values: S,
@@ -3114,7 +3140,7 @@ class $A extends E {
3114
3140
  c.push(k);
3115
3141
  const Ve = {
3116
3142
  uuid: k.uuid,
3117
- file_name: b.name,
3143
+ file_name: g.name,
3118
3144
  file_sha1: F.sha1,
3119
3145
  file_extension: F.extension,
3120
3146
  field_identifier: R,
@@ -3318,7 +3344,7 @@ class GA extends I {
3318
3344
  this.dispatch(Kc(a));
3319
3345
  const l = [];
3320
3346
  for (const u of o) {
3321
- const h = u.field_values.map((b) => b.asset), m = u.field_values.map((b) => b.fields_revision), f = u.field_values.map((b) => b.asset_procedure_instance), S = u.field_values.map((b) => b.uuid), R = this.enqueueRequest({
3347
+ const h = u.field_values.map((g) => g.asset), m = u.field_values.map((g) => g.fields_revision), f = u.field_values.map((g) => g.asset_procedure_instance), S = u.field_values.map((g) => g.uuid), R = this.enqueueRequest({
3322
3348
  description: "Bulk add asset procedure field values",
3323
3349
  method: d.POST,
3324
3350
  url: "/asset-procedure-field-values/bulk/",
@@ -3641,7 +3667,7 @@ class NA extends I {
3641
3667
  r && S.push(r);
3642
3668
  const R = f;
3643
3669
  R.push(h);
3644
- const b = this.enqueueRequest({
3670
+ const g = this.enqueueRequest({
3645
3671
  description: "Batch create assets",
3646
3672
  method: d.POST,
3647
3673
  url: "/assets/bulk/",
@@ -3649,7 +3675,7 @@ class NA extends I {
3649
3675
  blockers: S,
3650
3676
  blocks: R
3651
3677
  });
3652
- r = u.batchId, l.push(b);
3678
+ r = u.batchId, l.push(g);
3653
3679
  }
3654
3680
  return Promise.all(l).then((u) => {
3655
3681
  const h = u.flat();
@@ -3845,7 +3871,7 @@ class WA extends I {
3845
3871
  return a.then((c) => {
3846
3872
  this.dispatch(us(c));
3847
3873
  }).catch(() => {
3848
- this.dispatch(gr(i));
3874
+ this.dispatch(br(i));
3849
3875
  }), [n, a];
3850
3876
  }
3851
3877
  async refreshStore(e) {
@@ -4011,7 +4037,7 @@ class JA extends I {
4011
4037
  blockers: [],
4012
4038
  blocks: []
4013
4039
  });
4014
- this.dispatch(xr(s));
4040
+ this.dispatch(zr(s));
4015
4041
  }
4016
4042
  }
4017
4043
  class QA extends E {
@@ -4021,12 +4047,12 @@ class QA extends E {
4021
4047
  for (const u of a) {
4022
4048
  const h = {}, m = [];
4023
4049
  for (const f of u) {
4024
- const { fieldValuesUuid: S, fieldIdentifier: R, file: b } = f, F = await this.getFilePayload(b);
4050
+ const { fieldValuesUuid: S, fieldIdentifier: R, file: g } = f, F = await this.getFilePayload(g);
4025
4051
  F.sha1 in h || (h[F.sha1] = F);
4026
4052
  const k = O({
4027
- file: URL.createObjectURL(b),
4028
- file_type: b.type,
4029
- file_name: b.name,
4053
+ file: URL.createObjectURL(g),
4054
+ file_type: g.type,
4055
+ file_name: g.name,
4030
4056
  file_sha1: F.sha1,
4031
4057
  created_by: n,
4032
4058
  field_values: S,
@@ -4036,7 +4062,7 @@ class QA extends E {
4036
4062
  c.push(k);
4037
4063
  const Ve = {
4038
4064
  uuid: k.uuid,
4039
- file_name: b.name,
4065
+ file_name: g.name,
4040
4066
  file_sha1: F.sha1,
4041
4067
  file_extension: F.extension,
4042
4068
  field_identifier: R,
@@ -4119,8 +4145,8 @@ class XA extends I {
4119
4145
  blockers: [e.asset, e.fields_revision],
4120
4146
  blocks: [n.uuid]
4121
4147
  });
4122
- return this.dispatch(gs(n)), a.then((o) => (this.dispatch(He(o)), o)).catch(() => {
4123
- this.dispatch(bs(n.uuid));
4148
+ return this.dispatch(bs(n)), a.then((o) => (this.dispatch(He(o)), o)).catch(() => {
4149
+ this.dispatch(gs(n.uuid));
4124
4150
  }), [n, a];
4125
4151
  }
4126
4152
  bulkAdd(e, s) {
@@ -4200,7 +4226,7 @@ class XA extends I {
4200
4226
  if (!n)
4201
4227
  throw new Error(`Expected submission with uuid ${e} to exist`);
4202
4228
  const a = Kr(e)(i);
4203
- this.dispatch(bs(e)), this.dispatch(ft(a.map((c) => c.uuid)));
4229
+ this.dispatch(gs(e)), this.dispatch(ft(a.map((c) => c.uuid)));
4204
4230
  try {
4205
4231
  await this.enqueueRequest({
4206
4232
  description: "Delete asset type field values",
@@ -4210,7 +4236,7 @@ class XA extends I {
4210
4236
  blocks: []
4211
4237
  });
4212
4238
  } catch (c) {
4213
- throw this.dispatch(gs(n)), this.dispatch(pt(a)), c;
4239
+ throw this.dispatch(bs(n)), this.dispatch(pt(a)), c;
4214
4240
  }
4215
4241
  }
4216
4242
  async refreshStore(e) {
@@ -4306,7 +4332,7 @@ class ZA extends I {
4306
4332
  this.dispatch(so(s));
4307
4333
  }
4308
4334
  }
4309
- class eg extends I {
4335
+ class eb extends I {
4310
4336
  add(e) {
4311
4337
  var o;
4312
4338
  const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
@@ -4320,7 +4346,7 @@ class eg extends I {
4320
4346
  method: d.POST,
4321
4347
  url: "/categories/",
4322
4348
  payload: P(a),
4323
- blockers: [e.project.toString()],
4349
+ blockers: [e.project],
4324
4350
  blocks: [a.uuid]
4325
4351
  });
4326
4352
  return [a, c];
@@ -4371,7 +4397,7 @@ class eg extends I {
4371
4397
  this.dispatch(co(s));
4372
4398
  }
4373
4399
  }
4374
- class tg extends _e {
4400
+ class tb extends _e {
4375
4401
  constructor() {
4376
4402
  super(...arguments);
4377
4403
  y(this, "name", "Document Attachment");
@@ -4381,7 +4407,7 @@ class tg extends _e {
4381
4407
  y(this, "removeAttachments", yo);
4382
4408
  y(this, "removeAttachment", fo);
4383
4409
  y(this, "setAttachment", mo);
4384
- y(this, "selectAttachment", bo);
4410
+ y(this, "selectAttachment", go);
4385
4411
  }
4386
4412
  buildOfflineAttachment(s) {
4387
4413
  return O({
@@ -4408,7 +4434,7 @@ class tg extends _e {
4408
4434
  for (const m of s) {
4409
4435
  const { documentUuid: f, file: S } = m, R = await this.getFilePayload(S);
4410
4436
  R.sha1 in l || (l[R.sha1] = R, r[R.sha1] = []);
4411
- const b = this.buildOfflineAttachment({
4437
+ const g = this.buildOfflineAttachment({
4412
4438
  file: S,
4413
4439
  file_sha1: R.sha1,
4414
4440
  submitted_at: a,
@@ -4416,14 +4442,14 @@ class tg extends _e {
4416
4442
  description: "",
4417
4443
  modelUuid: f
4418
4444
  });
4419
- c.push(b), o.push({
4420
- uuid: b.uuid,
4421
- file_name: b.file_name,
4422
- file_sha1: b.file_sha1,
4445
+ c.push(g), o.push({
4446
+ uuid: g.uuid,
4447
+ file_name: g.file_name,
4448
+ file_sha1: g.file_sha1,
4423
4449
  file_extension: R.extension,
4424
- description: b.description,
4450
+ description: g.description,
4425
4451
  document: f
4426
- }), r[R.sha1].push(b.uuid);
4452
+ }), r[R.sha1].push(g.uuid);
4427
4453
  }
4428
4454
  this.dispatch(this.addAttachments(c));
4429
4455
  const u = this.enqueueRequest({
@@ -4441,8 +4467,8 @@ class tg extends _e {
4441
4467
  return u.then(({ attachments: m, presigned_urls: f }) => {
4442
4468
  this.dispatch(this.updateAttachments(m));
4443
4469
  const S = this.processPresignedUrls(f);
4444
- for (const [R, b] of Object.entries(S))
4445
- b.then(() => {
4470
+ for (const [R, g] of Object.entries(S))
4471
+ g.then(() => {
4446
4472
  const F = r[R];
4447
4473
  for (const k of F)
4448
4474
  this.makeReadable(k);
@@ -4486,7 +4512,7 @@ class tg extends _e {
4486
4512
  this.dispatch(this.addAttachments(a));
4487
4513
  }
4488
4514
  }
4489
- class sg extends I {
4515
+ class sb extends I {
4490
4516
  add(e) {
4491
4517
  var o;
4492
4518
  const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
@@ -4602,7 +4628,7 @@ class sg extends I {
4602
4628
  this.dispatch(To([...await i, ...await n]));
4603
4629
  }
4604
4630
  }
4605
- class ig extends I {
4631
+ class ib extends I {
4606
4632
  async add(e, s) {
4607
4633
  return this.enqueueRequest({
4608
4634
  description: "Add email domain to organization",
@@ -4635,7 +4661,7 @@ class ig extends I {
4635
4661
  this.dispatch(vo(s));
4636
4662
  }
4637
4663
  }
4638
- class ng extends I {
4664
+ class nb extends I {
4639
4665
  async getVerificationCode(e) {
4640
4666
  return this.enqueueRequest({
4641
4667
  description: "Get verification code",
@@ -4661,7 +4687,7 @@ class ng extends I {
4661
4687
  const Qe = {}, ot = /* @__PURE__ */ new Set();
4662
4688
  let Xe = 0, dt = 0, ut = 0;
4663
4689
  const Fh = 20;
4664
- class ag extends I {
4690
+ class ab extends I {
4665
4691
  constructor() {
4666
4692
  super(...arguments);
4667
4693
  y(this, "host");
@@ -4818,7 +4844,7 @@ class ag extends I {
4818
4844
  return r;
4819
4845
  }
4820
4846
  }
4821
- class cg extends E {
4847
+ class cb extends E {
4822
4848
  async bulkAdd(e) {
4823
4849
  var l;
4824
4850
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
@@ -4878,10 +4904,10 @@ class cg extends E {
4878
4904
  blockers: [e],
4879
4905
  blocks: []
4880
4906
  });
4881
- this.dispatch(xo(s));
4907
+ this.dispatch(zo(s));
4882
4908
  }
4883
4909
  }
4884
- class rg extends E {
4910
+ class rb extends E {
4885
4911
  add(e) {
4886
4912
  var o;
4887
4913
  const { store: s } = this.client, n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, a = O({
@@ -4918,7 +4944,7 @@ class rg extends E {
4918
4944
  this.dispatch(Ho(s));
4919
4945
  }
4920
4946
  }
4921
- const og = async (t) => {
4947
+ const ob = async (t) => {
4922
4948
  const e = {}, s = [];
4923
4949
  for (const i of t) {
4924
4950
  if (i.type !== "section")
@@ -4942,7 +4968,7 @@ const og = async (t) => {
4942
4968
  }
4943
4969
  return { fields: s, images: e };
4944
4970
  };
4945
- class dg extends E {
4971
+ class db extends E {
4946
4972
  add(e, s) {
4947
4973
  var r;
4948
4974
  const { store: i } = this.client, n = (/* @__PURE__ */ new Date()).toISOString(), a = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.uuid, c = O({
@@ -4974,7 +5000,7 @@ class dg extends E {
4974
5000
  blocks: [c.uuid, o.uuid]
4975
5001
  });
4976
5002
  return l.catch((u) => {
4977
- throw this.dispatch(zs(c.uuid)), this.dispatch(Cn(o.uuid)), u;
5003
+ throw this.dispatch(xs(c.uuid)), this.dispatch(Cn(o.uuid)), u;
4978
5004
  }), [c, o, l];
4979
5005
  }
4980
5006
  async delete(e) {
@@ -4984,7 +5010,7 @@ class dg extends E {
4984
5010
  const a = dd(e)(i);
4985
5011
  a.length > 0 && this.dispatch(Ft(a.map(({ uuid: o }) => o)));
4986
5012
  const c = Jo(e)(i);
4987
- c.length > 0 && this.dispatch(Ko(c.map(({ uuid: o }) => o))), this.dispatch(zs(e));
5013
+ c.length > 0 && this.dispatch(Ko(c.map(({ uuid: o }) => o))), this.dispatch(xs(e));
4988
5014
  try {
4989
5015
  return await this.enqueueRequest({
4990
5016
  description: "Delete form",
@@ -5011,7 +5037,7 @@ class dg extends E {
5011
5037
  this.dispatch(Xo(s));
5012
5038
  }
5013
5039
  }
5014
- class ug extends E {
5040
+ class ub extends E {
5015
5041
  async bulkAdd(e) {
5016
5042
  var l;
5017
5043
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
@@ -5092,7 +5118,7 @@ class ug extends E {
5092
5118
  this.dispatch(sd(s));
5093
5119
  }
5094
5120
  }
5095
- class lg extends E {
5121
+ class lb extends E {
5096
5122
  async add(e) {
5097
5123
  var h;
5098
5124
  const { store: s } = this.client, { file: i, ...n } = e, a = (/* @__PURE__ */ new Date()).toISOString(), c = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.uuid, o = n.project, l = await this.getFilePayload(i), r = O({
@@ -5122,8 +5148,8 @@ class lg extends E {
5122
5148
  original_date: r.original_date,
5123
5149
  file: l
5124
5150
  },
5125
- blocks: [o.toString()],
5126
- blockers: [o.toString()]
5151
+ blocks: [o],
5152
+ blockers: [o]
5127
5153
  });
5128
5154
  return u.then((m) => {
5129
5155
  this.processPresignedUrls(m.presigned_urls), this.dispatch(Ke(m.geo_image));
@@ -5137,7 +5163,7 @@ class lg extends E {
5137
5163
  for (const m of e) {
5138
5164
  const { file: f, ...S } = m, R = await this.getFilePayload(f);
5139
5165
  R.sha1 in r || (r[R.sha1] = R);
5140
- const b = O({
5166
+ const g = O({
5141
5167
  ...S,
5142
5168
  file_name: f.name,
5143
5169
  file_sha1: R.sha1,
@@ -5146,16 +5172,16 @@ class lg extends E {
5146
5172
  created_by: a,
5147
5173
  project: s
5148
5174
  });
5149
- c.push(b), o.push(b.uuid), l.push({
5150
- uuid: b.uuid,
5151
- sha1: b.file_sha1,
5152
- file_name: b.file_name,
5153
- title: b.title,
5154
- description: b.description,
5155
- geo_marker: b.geo_marker,
5156
- canvas_marker: b.canvas_marker,
5157
- direction: b.direction,
5158
- original_date: b.original_date
5175
+ c.push(g), o.push(g.uuid), l.push({
5176
+ uuid: g.uuid,
5177
+ sha1: g.file_sha1,
5178
+ file_name: g.file_name,
5179
+ title: g.title,
5180
+ description: g.description,
5181
+ geo_marker: g.geo_marker,
5182
+ canvas_marker: g.canvas_marker,
5183
+ direction: g.direction,
5184
+ original_date: g.original_date
5159
5185
  });
5160
5186
  }
5161
5187
  this.dispatch(yd(c));
@@ -5169,13 +5195,13 @@ class lg extends E {
5169
5195
  geo_images: l,
5170
5196
  files: Object.values(r)
5171
5197
  },
5172
- blocks: [s.toString()],
5198
+ blocks: [s],
5173
5199
  blockers: o
5174
5200
  });
5175
5201
  return u.then((m) => {
5176
5202
  this.processPresignedUrls(m.presigned_urls), this.dispatch(pd(m.geo_images));
5177
5203
  }).catch(() => {
5178
- this.dispatch(gd(o));
5204
+ this.dispatch(bd(o));
5179
5205
  }), [c, u.then((m) => m.geo_images)];
5180
5206
  }
5181
5207
  update(e) {
@@ -5225,7 +5251,7 @@ class lg extends E {
5225
5251
  this.dispatch(md(s));
5226
5252
  }
5227
5253
  }
5228
- class hg extends I {
5254
+ class hb extends I {
5229
5255
  add(e) {
5230
5256
  var o;
5231
5257
  const { store: s } = this.client, i = (/* @__PURE__ */ new Date()).toISOString(), n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, a = O({
@@ -5280,7 +5306,7 @@ class hg extends I {
5280
5306
  this.dispatch(Rd(s));
5281
5307
  }
5282
5308
  }
5283
- class mg extends _e {
5309
+ class mb extends _e {
5284
5310
  constructor() {
5285
5311
  super(...arguments);
5286
5312
  y(this, "name", "Issue Attachment");
@@ -5331,17 +5357,17 @@ class mg extends _e {
5331
5357
  this.dispatch(Js(i));
5332
5358
  }
5333
5359
  }
5334
- class pg extends _e {
5360
+ class pb extends _e {
5335
5361
  constructor() {
5336
5362
  super(...arguments);
5337
5363
  y(this, "name", "Issue Comment Attachment");
5338
5364
  y(this, "url", "/issue-comment-attachments");
5339
5365
  y(this, "initializeAttachments", Xs);
5340
- y(this, "addAttachments", zd);
5366
+ y(this, "addAttachments", xd);
5341
5367
  y(this, "updateAttachments", Ud);
5342
5368
  y(this, "removeAttachments", Vd);
5343
5369
  y(this, "removeAttachment", $d);
5344
- y(this, "setAttachment", xd);
5370
+ y(this, "setAttachment", zd);
5345
5371
  y(this, "selectAttachment", Bd);
5346
5372
  }
5347
5373
  buildOfflineAttachment(s) {
@@ -5382,7 +5408,7 @@ class pg extends _e {
5382
5408
  this.dispatch(Xs(i));
5383
5409
  }
5384
5410
  }
5385
- class fg extends I {
5411
+ class fb extends I {
5386
5412
  add(e) {
5387
5413
  var a;
5388
5414
  const { store: s } = this.client, i = O({
@@ -5454,7 +5480,7 @@ class fg extends I {
5454
5480
  this.dispatch(Hd(s));
5455
5481
  }
5456
5482
  }
5457
- class yg extends I {
5483
+ class yb extends I {
5458
5484
  add(e) {
5459
5485
  var l;
5460
5486
  const { store: s } = this.client, i = s.getState(), n = (/* @__PURE__ */ new Date()).toISOString(), a = (l = i.userReducer.currentUser) == null ? void 0 : l.uuid, c = O({
@@ -5546,7 +5572,7 @@ class yg extends I {
5546
5572
  issue: i.uuid,
5547
5573
  changes: a
5548
5574
  });
5549
- this.dispatch(xu(c));
5575
+ this.dispatch(zu(c));
5550
5576
  const o = this.enqueueRequest({
5551
5577
  description: "Edit issue",
5552
5578
  method: d.PATCH,
@@ -5596,7 +5622,7 @@ class yg extends I {
5596
5622
  this.dispatch(Yd(s));
5597
5623
  }
5598
5624
  }
5599
- class Ag extends _e {
5625
+ class Ab extends _e {
5600
5626
  constructor() {
5601
5627
  super(...arguments);
5602
5628
  y(this, "name", "Issue Type Attachment");
@@ -5647,7 +5673,7 @@ class Ag extends _e {
5647
5673
  this.dispatch(di(i));
5648
5674
  }
5649
5675
  }
5650
- class gg extends E {
5676
+ class bb extends E {
5651
5677
  async bulkAdd(e) {
5652
5678
  var l;
5653
5679
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
@@ -5712,7 +5738,7 @@ class gg extends E {
5712
5738
  this.dispatch(du(s));
5713
5739
  }
5714
5740
  }
5715
- class bg extends I {
5741
+ class gb extends I {
5716
5742
  add(e) {
5717
5743
  var o;
5718
5744
  const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
@@ -5746,10 +5772,10 @@ class bg extends I {
5746
5772
  blockers: [],
5747
5773
  blocks: []
5748
5774
  });
5749
- this.dispatch(bu(s));
5775
+ this.dispatch(gu(s));
5750
5776
  }
5751
5777
  }
5752
- class Sg extends E {
5778
+ class Sb extends E {
5753
5779
  async bulkAdd(e) {
5754
5780
  var l;
5755
5781
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
@@ -5777,7 +5803,7 @@ class Sg extends E {
5777
5803
  };
5778
5804
  c.push(R);
5779
5805
  }
5780
- this.dispatch(gt(a));
5806
+ this.dispatch(bt(a));
5781
5807
  const o = this.enqueueRequest({
5782
5808
  description: "Add issue type field values attachments",
5783
5809
  method: d.POST,
@@ -5794,7 +5820,7 @@ class Sg extends E {
5794
5820
  this.processPresignedUrls(r), this.dispatch(Fu(u));
5795
5821
  }).catch((r) => {
5796
5822
  throw this.dispatch(
5797
- bt(
5823
+ gt(
5798
5824
  a.map((u) => u.uuid)
5799
5825
  )
5800
5826
  ), r;
@@ -5802,7 +5828,7 @@ class Sg extends E {
5802
5828
  }
5803
5829
  async bulkDelete(e) {
5804
5830
  const { store: s } = this.client, i = s.getState(), n = vu(e)(i);
5805
- this.dispatch(bt(e));
5831
+ this.dispatch(gt(e));
5806
5832
  try {
5807
5833
  await this.enqueueRequest({
5808
5834
  description: "Delete issue type field values attachments",
@@ -5813,7 +5839,7 @@ class Sg extends E {
5813
5839
  blocks: []
5814
5840
  });
5815
5841
  } catch (a) {
5816
- throw this.dispatch(gt(n)), a;
5842
+ throw this.dispatch(bt(n)), a;
5817
5843
  }
5818
5844
  }
5819
5845
  async refreshStore(e) {
@@ -5830,7 +5856,7 @@ class Sg extends E {
5830
5856
  this.dispatch(Iu(s));
5831
5857
  }
5832
5858
  }
5833
- class Tg extends I {
5859
+ class Tb extends I {
5834
5860
  add(e) {
5835
5861
  var c;
5836
5862
  const { store: s } = this.client, i = s.getState(), n = O({
@@ -5881,7 +5907,7 @@ class Tg extends I {
5881
5907
  if (!n)
5882
5908
  throw new Error(`Expected submission with uuid ${e} to exist`);
5883
5909
  const a = wu(e)(i);
5884
- this.dispatch(mi(e)), this.dispatch(bt(a.map((c) => c.uuid)));
5910
+ this.dispatch(mi(e)), this.dispatch(gt(a.map((c) => c.uuid)));
5885
5911
  try {
5886
5912
  await this.enqueueRequest({
5887
5913
  description: "Delete issue type field values",
@@ -5891,7 +5917,7 @@ class Tg extends I {
5891
5917
  blocks: []
5892
5918
  });
5893
5919
  } catch (c) {
5894
- throw this.dispatch(hi(n)), this.dispatch(gt(a)), c;
5920
+ throw this.dispatch(hi(n)), this.dispatch(bt(a)), c;
5895
5921
  }
5896
5922
  }
5897
5923
  async refreshStore(e) {
@@ -5908,7 +5934,7 @@ class Tg extends I {
5908
5934
  this.dispatch(yu(s));
5909
5935
  }
5910
5936
  }
5911
- class Rg extends I {
5937
+ class Rb extends I {
5912
5938
  add(e) {
5913
5939
  var c;
5914
5940
  const { store: s } = this.client, i = s.getState(), n = O({
@@ -5927,11 +5953,11 @@ class Rg extends I {
5927
5953
  return a.then((o) => {
5928
5954
  this.dispatch(Je(o));
5929
5955
  }).catch(() => {
5930
- this.dispatch(gi(n.uuid));
5956
+ this.dispatch(bi(n.uuid));
5931
5957
  }), [n, a];
5932
5958
  }
5933
5959
  update(e) {
5934
- const { store: s } = this.client, i = s.getState(), n = bi(e.uuid)(i);
5960
+ const { store: s } = this.client, i = s.getState(), n = gi(e.uuid)(i);
5935
5961
  if (!n)
5936
5962
  throw new Error(`IssueType with uuid ${e.uuid} does not exist in the store.`);
5937
5963
  const a = {
@@ -5953,11 +5979,11 @@ class Rg extends I {
5953
5979
  }), [a, c];
5954
5980
  }
5955
5981
  delete(e) {
5956
- const { store: s } = this.client, i = s.getState(), n = bi(e)(i);
5982
+ const { store: s } = this.client, i = s.getState(), n = gi(e)(i);
5957
5983
  if (!n)
5958
5984
  throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
5959
5985
  const a = ca(e)(i);
5960
- this.dispatch(gi(e)), this.dispatch(Qd(a.map((o) => o.uuid)));
5986
+ this.dispatch(bi(e)), this.dispatch(Qd(a.map((o) => o.uuid)));
5961
5987
  const c = this.enqueueRequest({
5962
5988
  method: d.DELETE,
5963
5989
  url: `/issue-types/${e}/`,
@@ -5981,7 +6007,7 @@ class Rg extends I {
5981
6007
  this.dispatch(ku(s));
5982
6008
  }
5983
6009
  }
5984
- class _g extends I {
6010
+ class _b extends I {
5985
6011
  async refreshStore(e) {
5986
6012
  const s = await this.enqueueRequest({
5987
6013
  description: "Get issue updates",
@@ -5993,7 +6019,7 @@ class _g extends I {
5993
6019
  blockers: [],
5994
6020
  blocks: []
5995
6021
  });
5996
- this.dispatch(zu(s));
6022
+ this.dispatch(xu(s));
5997
6023
  }
5998
6024
  }
5999
6025
  class Ph extends va {
@@ -6007,7 +6033,7 @@ function wh(t) {
6007
6033
  if (!t.refresh) throw new Error("Missing refresh token");
6008
6034
  return { accessToken: t.access, refreshToken: t.refresh };
6009
6035
  }
6010
- class Og extends Ph {
6036
+ class Ob extends Ph {
6011
6037
  constructor() {
6012
6038
  super(...arguments);
6013
6039
  // _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
@@ -6089,7 +6115,7 @@ class Og extends Ph {
6089
6115
  try {
6090
6116
  await this.renewTokens();
6091
6117
  } catch (s) {
6092
- return s instanceof j && this.clearAuth(), s instanceof Error ? Promise.reject(s) : Promise.reject(new Error((s ?? ze).toString()));
6118
+ return s instanceof j && this.clearAuth(), s instanceof Error ? Promise.reject(s) : Promise.reject(new Error((s ?? xe).toString()));
6093
6119
  }
6094
6120
  }
6095
6121
  }
@@ -6129,14 +6155,14 @@ class Og extends Ph {
6129
6155
  });
6130
6156
  }
6131
6157
  }
6132
- class Ig extends I {
6158
+ class Ib extends I {
6133
6159
  async getLicense(e) {
6134
6160
  const s = await this.enqueueRequest({
6135
6161
  description: "Get license",
6136
6162
  method: d.GET,
6137
6163
  url: `/billing/${e.uuid}/`,
6138
6164
  isAuthNeeded: !0,
6139
- blockers: [e.organization_owner ? e.organization_owner.toString() : ""],
6165
+ blockers: [e.organization_owner],
6140
6166
  blocks: []
6141
6167
  });
6142
6168
  return this.dispatch(pe(s)), s;
@@ -6147,7 +6173,7 @@ class Ig extends I {
6147
6173
  method: d.DELETE,
6148
6174
  url: `/billing/${e.uuid}/suspend/`,
6149
6175
  isAuthNeeded: !0,
6150
- blockers: [e.organization_owner ? e.organization_owner.toString() : ""],
6176
+ blockers: [e.organization_owner],
6151
6177
  blocks: []
6152
6178
  });
6153
6179
  return this.dispatch(pe(s)), s;
@@ -6158,7 +6184,7 @@ class Ig extends I {
6158
6184
  method: d.PATCH,
6159
6185
  url: `/billing/${e.uuid}/suspend/`,
6160
6186
  isAuthNeeded: !0,
6161
- blockers: [e.organization_owner ? e.organization_owner.toString() : ""],
6187
+ blockers: [e.organization_owner],
6162
6188
  blocks: []
6163
6189
  });
6164
6190
  return this.dispatch(pe(s)), s;
@@ -6169,7 +6195,7 @@ class Ig extends I {
6169
6195
  method: d.DELETE,
6170
6196
  url: `/billing/${e.uuid}/`,
6171
6197
  isAuthNeeded: !0,
6172
- blockers: [e.organization_owner ? e.organization_owner.toString() : ""],
6198
+ blockers: [e.organization_owner],
6173
6199
  blocks: []
6174
6200
  });
6175
6201
  return this.dispatch(pe(s)), s;
@@ -6181,10 +6207,7 @@ class Ig extends I {
6181
6207
  url: `/billing/${e.uuid}/project/`,
6182
6208
  isAuthNeeded: !0,
6183
6209
  payload: { project: s.uuid },
6184
- blockers: [
6185
- e.organization_owner ? e.organization_owner.toString() : "",
6186
- s.uuid ? s.uuid.toString() : ""
6187
- ],
6210
+ blockers: [e.organization_owner, s.uuid],
6188
6211
  blocks: ["add-issue", "add-form-entry", "change-access-level", "add-workspace"]
6189
6212
  });
6190
6213
  return this.dispatch(pe(i)), i;
@@ -6195,7 +6218,7 @@ class Ig extends I {
6195
6218
  method: d.DELETE,
6196
6219
  url: `/billing/${e.uuid}/project/`,
6197
6220
  isAuthNeeded: !0,
6198
- blockers: [e.organization_owner ? e.organization_owner.toString() : ""],
6221
+ blockers: [e.organization_owner],
6199
6222
  blocks: ["add-issue", "add-form-entry", "change-access-level", "add-workspace"]
6200
6223
  });
6201
6224
  return this.dispatch(pe(s)), s;
@@ -6234,7 +6257,7 @@ class Ig extends I {
6234
6257
  this.dispatch(Nu(Object.values(i)));
6235
6258
  }
6236
6259
  }
6237
- class Fg extends I {
6260
+ class Fb extends I {
6238
6261
  async update(e) {
6239
6262
  const s = this.enqueueRequest({
6240
6263
  description: "Edit organization access",
@@ -6268,7 +6291,7 @@ class Fg extends I {
6268
6291
  this.dispatch(Qu(s));
6269
6292
  }
6270
6293
  }
6271
- class Pg extends I {
6294
+ class Pb extends I {
6272
6295
  create(e) {
6273
6296
  return this.enqueueRequest({
6274
6297
  description: "Create organization",
@@ -6285,8 +6308,8 @@ class Pg extends I {
6285
6308
  method: d.PATCH,
6286
6309
  url: `/organizations/${e.uuid}/`,
6287
6310
  payload: e,
6288
- blockers: [`add-org-${e.name}`, e.uuid.toString()],
6289
- blocks: [e.uuid.toString()]
6311
+ blockers: [`add-org-${e.name}`, e.uuid],
6312
+ blocks: [e.uuid]
6290
6313
  });
6291
6314
  }
6292
6315
  async invite(e, s) {
@@ -6318,7 +6341,7 @@ class Pg extends I {
6318
6341
  i[a.uuid] = a, this.dispatch(fl(Object.values(i)));
6319
6342
  }
6320
6343
  }
6321
- class vg extends I {
6344
+ class vb extends I {
6322
6345
  async update(e) {
6323
6346
  return this.dispatch(sl(e)), this.enqueueRequest({
6324
6347
  description: "Edit project access",
@@ -6353,14 +6376,14 @@ class vg extends I {
6353
6376
  this.dispatch(ma(s));
6354
6377
  }
6355
6378
  }
6356
- class wg extends _e {
6379
+ class wb extends _e {
6357
6380
  constructor() {
6358
6381
  super(...arguments);
6359
6382
  y(this, "name", "Project Attachment");
6360
6383
  y(this, "url", "/project-attachments");
6361
6384
  y(this, "addAttachments", Pl);
6362
6385
  y(this, "updateAttachments", El);
6363
- y(this, "removeAttachments", ba);
6386
+ y(this, "removeAttachments", ga);
6364
6387
  y(this, "removeAttachment", kl);
6365
6388
  y(this, "setAttachment", vl);
6366
6389
  y(this, "selectAttachment", Ml);
@@ -6403,7 +6426,7 @@ class wg extends _e {
6403
6426
  this.dispatch(Fl(i));
6404
6427
  }
6405
6428
  }
6406
- class Eg extends I {
6429
+ class Eb extends I {
6407
6430
  async saveExisting(e) {
6408
6431
  if (!e.uuid)
6409
6432
  throw new Error(
@@ -6478,10 +6501,10 @@ class Eg extends I {
6478
6501
  blockers: [],
6479
6502
  blocks: []
6480
6503
  });
6481
- this.dispatch(zl(s));
6504
+ this.dispatch(xl(s));
6482
6505
  }
6483
6506
  }
6484
- class kg extends I {
6507
+ class kb extends I {
6485
6508
  async add(e) {
6486
6509
  if (!e.bounds && !e.canvas_bounds)
6487
6510
  throw new Error("Project must either have bounds or canvas_bounds set");
@@ -6509,8 +6532,8 @@ class kg extends I {
6509
6532
  name: e.name,
6510
6533
  bounds: e.bounds
6511
6534
  },
6512
- blockers: [e.uuid.toString()],
6513
- blocks: [e.uuid.toString()]
6535
+ blockers: [e.uuid],
6536
+ blocks: [e.uuid]
6514
6537
  });
6515
6538
  }
6516
6539
  async delete(e) {
@@ -6520,7 +6543,7 @@ class kg extends I {
6520
6543
  const c = Nl(i).filter((u) => u.project === e);
6521
6544
  this.dispatch($l(c.map(({ uuid: u }) => u)));
6522
6545
  const o = Cl(a.uuid)(i);
6523
- this.dispatch(ba(o.map(({ uuid: u }) => u)));
6546
+ this.dispatch(ga(o.map(({ uuid: u }) => u)));
6524
6547
  const l = al(i);
6525
6548
  this.dispatch(nl(l.map(({ uuid: u }) => u))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(ul(a.uuid));
6526
6549
  const r = Hu(a.uuid)(i);
@@ -6530,11 +6553,11 @@ class kg extends I {
6530
6553
  description: "Delete project",
6531
6554
  method: d.DELETE,
6532
6555
  url: `/projects/${e}/`,
6533
- blockers: [e.toString()],
6556
+ blockers: [e],
6534
6557
  blocks: []
6535
6558
  }), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
6536
6559
  } catch (u) {
6537
- throw this.dispatch(ol(Object.values(n))), this.dispatch(ma(Object.values(l))), this.dispatch(xl(c)), this.dispatch(wl(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(pe({ ...r, project: a.uuid })), u;
6560
+ throw this.dispatch(ol(Object.values(n))), this.dispatch(ma(Object.values(l))), this.dispatch(zl(c)), this.dispatch(wl(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(pe({ ...r, project: a.uuid })), u;
6538
6561
  }
6539
6562
  }
6540
6563
  invite(e, s) {
@@ -6565,14 +6588,14 @@ class kg extends I {
6565
6588
  description: "Accept project invite",
6566
6589
  method: d.PATCH,
6567
6590
  url: `/projects/${e}/accept-invite/`,
6568
- blockers: [e.toString()],
6569
- blocks: [e.toString()]
6591
+ blockers: [e],
6592
+ blocks: [e]
6570
6593
  }).then(() => {
6571
6594
  this.dispatch(ll(e));
6572
6595
  });
6573
6596
  }
6574
6597
  }
6575
- class qg extends I {
6598
+ class qb extends I {
6576
6599
  add(e) {
6577
6600
  const s = O({
6578
6601
  ...e,
@@ -6682,7 +6705,7 @@ class qg extends I {
6682
6705
  this.dispatch(Yl(s));
6683
6706
  }
6684
6707
  }
6685
- class jg extends I {
6708
+ class jb extends I {
6686
6709
  async refreshStore(e, s) {
6687
6710
  const i = {}, n = await this.enqueueRequest({
6688
6711
  description: "Fetch organization users",
@@ -6709,10 +6732,10 @@ var Eh = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATIO
6709
6732
  export {
6710
6733
  j as APIError,
6711
6734
  DA as AgentService,
6712
- zA as AssetAttachmentService,
6735
+ xA as AssetAttachmentService,
6713
6736
  $A as AssetProcedureFieldValuesAttachmentService,
6714
6737
  GA as AssetProcedureFieldValuesService,
6715
- xA as AssetProcedureFieldsAttachmentService,
6738
+ zA as AssetProcedureFieldsAttachmentService,
6716
6739
  UA as AssetProcedureFieldsService,
6717
6740
  LA as AssetProcedureInstanceService,
6718
6741
  BA as AssetProcedureService,
@@ -6729,57 +6752,57 @@ export {
6729
6752
  I as BaseApiService,
6730
6753
  MA as BaseSDK,
6731
6754
  hc as COMMON_AUTO_FIELDS,
6732
- eg as CategoryService,
6755
+ eb as CategoryService,
6733
6756
  Nh as DEFAULT_ISSUE_PRIORITY,
6734
6757
  Bh as DEFAULT_ISSUE_STATUS,
6735
6758
  nc as DeferredPromise,
6736
- tg as DocumentAttachmentService,
6737
- sg as DocumentService,
6759
+ tb as DocumentAttachmentService,
6760
+ sb as DocumentService,
6738
6761
  Qa as EMPTY_ARRAY,
6739
6762
  Xa as EMPTY_OBJECT,
6740
- ig as EmailDomainsService,
6741
- ng as EmailVerificationService,
6742
- ag as FileService,
6743
- cg as FormRevisionAttachmentService,
6744
- rg as FormRevisionService,
6745
- dg as FormService,
6746
- ug as FormSubmissionAttachmentService,
6763
+ ib as EmailDomainsService,
6764
+ nb as EmailVerificationService,
6765
+ ab as FileService,
6766
+ cb as FormRevisionAttachmentService,
6767
+ rb as FormRevisionService,
6768
+ db as FormService,
6769
+ ub as FormSubmissionAttachmentService,
6747
6770
  VA as FormSubmissionService,
6748
- lg as GeoImageService,
6771
+ lb as GeoImageService,
6749
6772
  d as HttpMethod,
6750
- hg as IssueAssociationService,
6751
- mg as IssueAttachmentService,
6752
- pg as IssueCommentAttachmentService,
6753
- fg as IssueCommentService,
6773
+ hb as IssueAssociationService,
6774
+ mb as IssueAttachmentService,
6775
+ pb as IssueCommentAttachmentService,
6776
+ fb as IssueCommentService,
6754
6777
  $i as IssuePriority,
6755
- yg as IssueService,
6778
+ yb as IssueService,
6756
6779
  Vi as IssueStatus,
6757
- Ag as IssueTypeAttachmentService,
6758
- Sg as IssueTypeFieldValuesAttachmentService,
6759
- Tg as IssueTypeFieldValuesService,
6760
- gg as IssueTypeFieldsAttachmentService,
6761
- bg as IssueTypeFieldsService,
6762
- Rg as IssueTypeService,
6780
+ Ab as IssueTypeAttachmentService,
6781
+ Sb as IssueTypeFieldValuesAttachmentService,
6782
+ Tb as IssueTypeFieldValuesService,
6783
+ bb as IssueTypeFieldsAttachmentService,
6784
+ gb as IssueTypeFieldsService,
6785
+ Rb as IssueTypeService,
6763
6786
  w as IssueUpdateChange,
6764
- _g as IssueUpdateService,
6765
- Og as JWTService,
6787
+ _b as IssueUpdateService,
6788
+ Ob as JWTService,
6766
6789
  tc as LicenseLevel,
6767
- Ig as LicenseService,
6790
+ Ib as LicenseService,
6768
6791
  sc as LicenseStatus,
6769
6792
  ic as OUTBOX_RETRY_DELAY,
6770
6793
  Ui as OrganizationAccessLevel,
6771
- Fg as OrganizationAccessService,
6772
- Pg as OrganizationService,
6794
+ Fb as OrganizationAccessService,
6795
+ Pb as OrganizationService,
6773
6796
  Me as OutboxCoordinator,
6774
6797
  ec as PaddleCheckoutEvent,
6775
- xi as ProjectAccessLevel,
6776
- vg as ProjectAccessService,
6777
- wg as ProjectAttachmentService,
6778
- Eg as ProjectFileService,
6779
- kg as ProjectService,
6780
- qg as TeamService,
6781
- ze as UNKNOWN_ERROR_MESSAGE,
6782
- jg as UserService,
6798
+ zi as ProjectAccessLevel,
6799
+ vb as ProjectAccessService,
6800
+ wb as ProjectAttachmentService,
6801
+ Eb as ProjectFileService,
6802
+ kb as ProjectService,
6803
+ qb as TeamService,
6804
+ xe as UNKNOWN_ERROR_MESSAGE,
6805
+ jb as UserService,
6783
6806
  ja as VERSION_REDUCER_KEY,
6784
6807
  Eh as VerificationCodeType,
6785
6808
  Ol as _setLatestRetryTime,
@@ -6806,7 +6829,7 @@ export {
6806
6829
  Rs as addAssetType,
6807
6830
  up as addAssetTypeAttachment,
6808
6831
  fn as addAssetTypeAttachments,
6809
- gs as addAssetTypeFieldValues,
6832
+ bs as addAssetTypeFieldValues,
6810
6833
  vp as addAssetTypeFieldValuesAttachment,
6811
6834
  pt as addAssetTypeFieldValuesAttachments,
6812
6835
  Qr as addAssetTypeFieldValuesMany,
@@ -6828,7 +6851,7 @@ export {
6828
6851
  Uo as addFormRevisionAttachments,
6829
6852
  Wo as addFormRevisions,
6830
6853
  $s as addFormSubmission,
6831
- bf as addFormSubmissionAttachment,
6854
+ gf as addFormSubmissionAttachment,
6832
6855
  yt as addFormSubmissionAttachments,
6833
6856
  It as addFormSubmissions,
6834
6857
  yf as addForms,
@@ -6841,20 +6864,20 @@ export {
6841
6864
  Wn as addIssueAttachments,
6842
6865
  ti as addIssueComment,
6843
6866
  Cf as addIssueCommentAttachment,
6844
- zd as addIssueCommentAttachments,
6867
+ xd as addIssueCommentAttachments,
6845
6868
  Uf as addIssueComments,
6846
6869
  qu as addIssueType,
6847
6870
  Lf as addIssueTypeAttachment,
6848
6871
  eu as addIssueTypeAttachments,
6849
6872
  hi as addIssueTypeFieldValues,
6850
6873
  fy as addIssueTypeFieldValuesAttachment,
6851
- gt as addIssueTypeFieldValuesAttachments,
6874
+ bt as addIssueTypeFieldValuesAttachments,
6852
6875
  ey as addIssueTypeFieldValuesMany,
6853
6876
  Su as addIssueTypeFields,
6854
6877
  Wf as addIssueTypeFieldsAttachment,
6855
6878
  uu as addIssueTypeFieldsAttachments,
6856
6879
  cy as addIssueTypeFieldsMany,
6857
- xu as addIssueUpdate,
6880
+ zu as addIssueUpdate,
6858
6881
  Uu as addIssueUpdates,
6859
6882
  Jd as addIssues,
6860
6883
  Iy as addLicenses,
@@ -6864,12 +6887,12 @@ export {
6864
6887
  AA as addProjectAttachment,
6865
6888
  Pl as addProjectAttachments,
6866
6889
  TA as addProjectFile,
6867
- xl as addProjectFiles,
6890
+ zl as addProjectFiles,
6868
6891
  Ky as addProjects,
6869
6892
  Jl as addTeam,
6870
6893
  qy as addUser,
6871
6894
  ky as addUsers,
6872
- bc as agentsReducer,
6895
+ gc as agentsReducer,
6873
6896
  Li as agentsSlice,
6874
6897
  Jh as areArraysEqual,
6875
6898
  Pc as assetAttachmentReducer,
@@ -6890,18 +6913,18 @@ export {
6890
6913
  rn as assetSlice,
6891
6914
  pr as assetStageCompletionReducer,
6892
6915
  ln as assetStageCompletionSlice,
6893
- br as assetStageReducer,
6916
+ gr as assetStageReducer,
6894
6917
  mn as assetStageSlice,
6895
6918
  Er as assetTypeAttachmentReducer,
6896
6919
  pn as assetTypeAttachmentSlice,
6897
6920
  Yr as assetTypeFieldValuesAttachmentReducer,
6898
- bn as assetTypeFieldValuesAttachmentSlice,
6921
+ gn as assetTypeFieldValuesAttachmentSlice,
6899
6922
  to as assetTypeFieldValuesReducer,
6900
6923
  Tn as assetTypeFieldValuesSlice,
6901
- zr as assetTypeFieldsAttachmentReducer,
6924
+ xr as assetTypeFieldsAttachmentReducer,
6902
6925
  An as assetTypeFieldsAttachmentSlice,
6903
6926
  Lr as assetTypeFieldsReducer,
6904
- gn as assetTypeFieldsSlice,
6927
+ bn as assetTypeFieldsSlice,
6905
6928
  io as assetTypeReducer,
6906
6929
  _n as assetTypeSlice,
6907
6930
  ao as authReducer,
@@ -6925,7 +6948,7 @@ export {
6925
6948
  Cm as deleteAssetProcedureFieldValuesAttachment,
6926
6949
  mt as deleteAssetProcedureFieldValuesAttachments,
6927
6950
  Jc as deleteAssetProcedureFieldValuesMany,
6928
- xc as deleteAssetProcedureFields,
6951
+ zc as deleteAssetProcedureFields,
6929
6952
  Sm as deleteAssetProcedureFieldsAttachment,
6930
6953
  kc as deleteAssetProcedureFieldsAttachments,
6931
6954
  Pm as deleteAssetProcedureFieldsMany,
@@ -6939,7 +6962,7 @@ export {
6939
6962
  _s as deleteAssetType,
6940
6963
  Ir as deleteAssetTypeAttachment,
6941
6964
  yn as deleteAssetTypeAttachments,
6942
- bs as deleteAssetTypeFieldValues,
6965
+ gs as deleteAssetTypeFieldValues,
6943
6966
  qp as deleteAssetTypeFieldValuesAttachment,
6944
6967
  ft as deleteAssetTypeFieldValuesAttachments,
6945
6968
  Zr as deleteAssetTypeFieldValuesMany,
@@ -6953,7 +6976,7 @@ export {
6953
6976
  fo as deleteDocumentAttachment,
6954
6977
  yo as deleteDocumentAttachments,
6955
6978
  Eo as deleteEmailDomain,
6956
- zs as deleteForm,
6979
+ xs as deleteForm,
6957
6980
  Cn as deleteFormRevision,
6958
6981
  lf as deleteFormRevisionAttachment,
6959
6982
  Vo as deleteFormRevisionAttachments,
@@ -6963,7 +6986,7 @@ export {
6963
6986
  At as deleteFormSubmissionAttachments,
6964
6987
  Ft as deleteFormSubmissions,
6965
6988
  Bs as deleteGeoImage,
6966
- gd as deleteGeoImages,
6989
+ bd as deleteGeoImages,
6967
6990
  ci as deleteIssue,
6968
6991
  Ks as deleteIssueAssociation,
6969
6992
  Nn as deleteIssueAssociations,
@@ -6976,8 +6999,8 @@ export {
6976
6999
  iu as deleteIssueTypeAttachment,
6977
7000
  nu as deleteIssueTypeAttachments,
6978
7001
  mi as deleteIssueTypeFieldValues,
6979
- by as deleteIssueTypeFieldValuesAttachment,
6980
- bt as deleteIssueTypeFieldValuesAttachments,
7002
+ gy as deleteIssueTypeFieldValuesAttachment,
7003
+ gt as deleteIssueTypeFieldValuesAttachments,
6981
7004
  ny as deleteIssueTypeFieldValuesMany,
6982
7005
  Ru as deleteIssueTypeFields,
6983
7006
  Qf as deleteIssueTypeFieldsAttachment,
@@ -6993,7 +7016,7 @@ export {
6993
7016
  il as deleteProjectAccess,
6994
7017
  nl as deleteProjectAccesses,
6995
7018
  kl as deleteProjectAttachment,
6996
- ba as deleteProjectAttachments,
7019
+ ga as deleteProjectAttachments,
6997
7020
  Ul as deleteProjectFile,
6998
7021
  $l as deleteProjectFiles,
6999
7022
  Qy as deleteProjects,
@@ -7001,7 +7024,7 @@ export {
7001
7024
  Cy as deleteUser,
7002
7025
  Dy as deleteUsers,
7003
7026
  lh as dequeue,
7004
- za as discard,
7027
+ xa as discard,
7005
7028
  So as documentAttachmentReducer,
7006
7029
  Pn as documentAttachmentSlice,
7007
7030
  vn as documentSlice,
@@ -7013,9 +7036,9 @@ export {
7013
7036
  um as emailRegex,
7014
7037
  uh as enqueue,
7015
7038
  Rl as enqueueRequest,
7016
- g as fallbackToEmptyArray,
7017
- xe as fallbackToEmptyObject,
7018
- zo as fileReducer,
7039
+ b as fallbackToEmptyArray,
7040
+ ze as fallbackToEmptyObject,
7041
+ xo as fileReducer,
7019
7042
  kn as fileSlice,
7020
7043
  lc as fileToBlob,
7021
7044
  Zo as formReducer,
@@ -7025,7 +7048,7 @@ export {
7025
7048
  jn as formRevisionsSlice,
7026
7049
  Dn as formSlice,
7027
7050
  cd as formSubmissionAttachmentReducer,
7028
- zn as formSubmissionAttachmentSlice,
7051
+ xn as formSubmissionAttachmentSlice,
7029
7052
  hd as formSubmissionReducer,
7030
7053
  Un as formSubmissionSlice,
7031
7054
  Td as geoImageReducer,
@@ -7038,7 +7061,7 @@ export {
7038
7061
  uc as getRenamedFile,
7039
7062
  Ce as hashFile,
7040
7063
  CA as initSDK,
7041
- zt as initializeAssetAttachments,
7064
+ xt as initializeAssetAttachments,
7042
7065
  Wc as initializeAssetProcedureFieldValues,
7043
7066
  Vc as initializeAssetProcedureFieldValuesAttachments,
7044
7067
  Cc as initializeAssetProcedureFields,
@@ -7050,7 +7073,7 @@ export {
7050
7073
  Rr as initializeAssetTypeAttachments,
7051
7074
  Jr as initializeAssetTypeFieldValues,
7052
7075
  Br as initializeAssetTypeFieldValuesAttachments,
7053
- xr as initializeAssetTypeFields,
7076
+ zr as initializeAssetTypeFields,
7054
7077
  kr as initializeAssetTypeFieldsAttachments,
7055
7078
  so as initializeAssetTypes,
7056
7079
  rr as initializeAssets,
@@ -7058,7 +7081,7 @@ export {
7058
7081
  fc as initializeConversations,
7059
7082
  lo as initializeDocumentAttachments,
7060
7083
  vo as initializeEmailDomains,
7061
- xo as initializeFormRevisionAttachments,
7084
+ zo as initializeFormRevisionAttachments,
7062
7085
  Ho as initializeFormRevisions,
7063
7086
  sd as initializeFormSubmissionAttachments,
7064
7087
  rd as initializeFormSubmissions,
@@ -7070,17 +7093,17 @@ export {
7070
7093
  di as initializeIssueTypeAttachments,
7071
7094
  yu as initializeIssueTypeFieldValues,
7072
7095
  Iu as initializeIssueTypeFieldValuesAttachments,
7073
- bu as initializeIssueTypeFields,
7096
+ gu as initializeIssueTypeFields,
7074
7097
  du as initializeIssueTypeFieldsAttachments,
7075
7098
  ku as initializeIssueTypes,
7076
- zu as initializeIssueUpdates,
7099
+ xu as initializeIssueUpdates,
7077
7100
  Yd as initializeIssues,
7078
7101
  Nu as initializeLicences,
7079
7102
  Qu as initializeOrganizationAccesses,
7080
7103
  tA as initializeOrganizations,
7081
7104
  ma as initializeProjectAccesses,
7082
7105
  Fl as initializeProjectAttachments,
7083
- zl as initializeProjectFiles,
7106
+ xl as initializeProjectFiles,
7084
7107
  Hy as initializeProjects,
7085
7108
  Yl as initializeTeams,
7086
7109
  wy as initializeUsers,
@@ -7099,7 +7122,7 @@ export {
7099
7122
  Xn as issueTypeAttachmentSlice,
7100
7123
  Eu as issueTypeFieldValuesAttachmentReducer,
7101
7124
  ia as issueTypeFieldValuesAttachmentSlice,
7102
- gu as issueTypeFieldValuesReducer,
7125
+ bu as issueTypeFieldValuesReducer,
7103
7126
  ea as issueTypeFieldValuesSlice,
7104
7127
  fu as issueTypeFieldsAttachmentReducer,
7105
7128
  Zn as issueTypeFieldsAttachmentSlice,
@@ -7132,7 +7155,7 @@ export {
7132
7155
  rl as projectAccessReducer,
7133
7156
  ha as projectAccessSlice,
7134
7157
  Dl as projectAttachmentReducer,
7135
- ga as projectAttachmentSlice,
7158
+ ba as projectAttachmentSlice,
7136
7159
  Hl as projectFileReducer,
7137
7160
  Sa as projectFileSlice,
7138
7161
  hl as projectReducer,
@@ -7140,7 +7163,7 @@ export {
7140
7163
  Kl as rehydratedReducer,
7141
7164
  Ta as rehydratedSlice,
7142
7165
  ks as removeDocuments,
7143
- gi as removeIssueType,
7166
+ bi as removeIssueType,
7144
7167
  Yu as removeUser,
7145
7168
  _A as resetProjectFileObjectUrls,
7146
7169
  oh as resetStore,
@@ -7150,7 +7173,7 @@ export {
7150
7173
  Gy as selectActiveOrganizationAccess,
7151
7174
  IA as selectActiveProjectFileId,
7152
7175
  Py as selectActiveStatusLicenses,
7153
- go as selectAllDocumentAttachments,
7176
+ bo as selectAllDocumentAttachments,
7154
7177
  jl as selectAllProjectAttachments,
7155
7178
  nf as selectAncestorIdsOfDocument,
7156
7179
  Ic as selectAssetAttachmentById,
@@ -7205,13 +7228,13 @@ export {
7205
7228
  eo as selectAssetTypeFieldValuesMapping,
7206
7229
  Dp as selectAssetTypeFieldValuesOfAsset,
7207
7230
  Rt as selectAssetTypeFields,
7208
- bp as selectAssetTypeFieldsAttachmentById,
7231
+ gp as selectAssetTypeFieldsAttachmentById,
7209
7232
  Dr as selectAssetTypeFieldsAttachments,
7210
7233
  Cr as selectAssetTypeFieldsAttachmentsMapping,
7211
7234
  Pp as selectAssetTypeFieldsById,
7212
7235
  Gr as selectAssetTypeFieldsMapping,
7213
7236
  Ip as selectAssetTypeFieldsOfAssetType,
7214
- zp as selectAssetTypeValuesOfAssetType,
7237
+ xp as selectAssetTypeValuesOfAssetType,
7215
7238
  Lp as selectAssetTypes,
7216
7239
  Bp as selectAssetTypesByIds,
7217
7240
  On as selectAssetTypesMapping,
@@ -7224,12 +7247,12 @@ export {
7224
7247
  Tm as selectAttachmentsOfAssetProcedureFields,
7225
7248
  wr as selectAttachmentsOfAssetType,
7226
7249
  Kr as selectAttachmentsOfAssetTypeFieldValues,
7227
- gp as selectAttachmentsOfAssetTypeFields,
7250
+ bp as selectAttachmentsOfAssetTypeFields,
7228
7251
  tf as selectAttachmentsOfDocument,
7229
7252
  hf as selectAttachmentsOfFormRevision,
7230
7253
  ad as selectAttachmentsOfFormSubmission,
7231
7254
  Md as selectAttachmentsOfIssue,
7232
- xf as selectAttachmentsOfIssueComment,
7255
+ zf as selectAttachmentsOfIssueComment,
7233
7256
  Hf as selectAttachmentsOfIssueType,
7234
7257
  wu as selectAttachmentsOfIssueTypeFieldValues,
7235
7258
  Xf as selectAttachmentsOfIssueTypeFields,
@@ -7244,7 +7267,7 @@ export {
7244
7267
  lm as selectConversations,
7245
7268
  wt as selectCurrentUser,
7246
7269
  pA as selectDeletedRequests,
7247
- bo as selectDocumentAttachmentById,
7270
+ go as selectDocumentAttachmentById,
7248
7271
  Ao as selectDocumentAttachmentMapping,
7249
7272
  Io as selectDocumentById,
7250
7273
  Oo as selectDocuments,
@@ -7262,16 +7285,16 @@ export {
7262
7285
  Yo as selectFormRevisions,
7263
7286
  Jo as selectFormRevisionsOfForm,
7264
7287
  nd as selectFormSubmissionAttachemntsByIds,
7265
- xn as selectFormSubmissionAttachmentsMapping,
7288
+ zn as selectFormSubmissionAttachmentsMapping,
7266
7289
  Gs as selectFormSubmissionById,
7267
7290
  Vn as selectFormSubmissions,
7268
7291
  $n as selectFormSubmissionsMapping,
7269
7292
  ld as selectFormSubmissionsOfAsset,
7270
7293
  dd as selectFormSubmissionsOfForm,
7271
7294
  ud as selectFormSubmissionsOfIssue,
7272
- gf as selectForms,
7295
+ bf as selectForms,
7273
7296
  Ns as selectGeoImageById,
7274
- bd as selectGeoImageMapping,
7297
+ gd as selectGeoImageMapping,
7275
7298
  Sd as selectGeoImages,
7276
7299
  Pf as selectGeoImagesOfProject,
7277
7300
  FA as selectIsImportingProjectFile,
@@ -7296,7 +7319,7 @@ export {
7296
7319
  ru as selectIssueTypeAttachmentById,
7297
7320
  au as selectIssueTypeAttachmentMapping,
7298
7321
  cu as selectIssueTypeAttachments,
7299
- bi as selectIssueTypeById,
7322
+ gi as selectIssueTypeById,
7300
7323
  ta as selectIssueTypeFieldValues,
7301
7324
  Sy as selectIssueTypeFieldValuesAttachmentById,
7302
7325
  Pu as selectIssueTypeFieldValuesAttachments,
@@ -7338,8 +7361,8 @@ export {
7338
7361
  el as selectOrganizationAccessUserMapping,
7339
7362
  la as selectOrganizationAccesses,
7340
7363
  dA as selectOrganizationById,
7341
- bl as selectOrganizationUsersAsMapping,
7342
- gl as selectOrganizationUsersIds,
7364
+ gl as selectOrganizationUsersAsMapping,
7365
+ bl as selectOrganizationUsersIds,
7343
7366
  Al as selectOrganizations,
7344
7367
  yl as selectOrganizationsMapping,
7345
7368
  uA as selectOrganizationsWithAccess,
@@ -7375,26 +7398,26 @@ export {
7375
7398
  $y as selectUsersByIds,
7376
7399
  Et as selectUsersMapping,
7377
7400
  st as separateFilesFromValues,
7378
- og as separateImageFromFields,
7401
+ ob as separateImageFromFields,
7379
7402
  Gl as setActiveProjectFileId,
7380
7403
  ep as setAsset,
7381
7404
  Sc as setAssetAttachment,
7382
7405
  pm as setAssetAttachments,
7383
7406
  Ym as setAssetProcedure,
7384
- zm as setAssetProcedureFieldValues,
7407
+ xm as setAssetProcedureFieldValues,
7385
7408
  qm as setAssetProcedureFieldValuesAttachment,
7386
7409
  jm as setAssetProcedureFieldValuesAttachments,
7387
- xm as setAssetProcedureFieldValuesMany,
7410
+ zm as setAssetProcedureFieldValuesMany,
7388
7411
  Om as setAssetProcedureFields,
7389
7412
  Am as setAssetProcedureFieldsAttachment,
7390
- gm as setAssetProcedureFieldsAttachments,
7413
+ bm as setAssetProcedureFieldsAttachments,
7391
7414
  Im as setAssetProcedureFieldsMany,
7392
7415
  Gm as setAssetProcedureInstance,
7393
7416
  Lm as setAssetProcedureInstances,
7394
7417
  Jm as setAssetProcedures,
7395
- gr as setAssetStage,
7418
+ br as setAssetStage,
7396
7419
  ap as setAssetStages,
7397
- xp as setAssetType,
7420
+ zp as setAssetType,
7398
7421
  _r as setAssetTypeAttachment,
7399
7422
  lp as setAssetTypeAttachments,
7400
7423
  Mp as setAssetTypeFieldValues,
@@ -7408,7 +7431,7 @@ export {
7408
7431
  Up as setAssetTypes,
7409
7432
  tp as setAssets,
7410
7433
  Ac as setConversation,
7411
- zy as setCurrentUser,
7434
+ xy as setCurrentUser,
7412
7435
  mo as setDocumentAttachment,
7413
7436
  Zp as setDocumentAttachments,
7414
7437
  To as setDocuments,
@@ -7428,7 +7451,7 @@ export {
7428
7451
  wd as setIssueAttachment,
7429
7452
  jf as setIssueAttachments,
7430
7453
  ei as setIssueComment,
7431
- xd as setIssueCommentAttachment,
7454
+ zd as setIssueCommentAttachment,
7432
7455
  Df as setIssueCommentAttachments,
7433
7456
  Hd as setIssueComments,
7434
7457
  Je as setIssueType,
@@ -7446,11 +7469,11 @@ export {
7446
7469
  no as setLoggedIn,
7447
7470
  sA as setOrganization,
7448
7471
  fl as setOrganizations,
7449
- xy as setProfilePicture,
7472
+ zy as setProfilePicture,
7450
7473
  Wy as setProject,
7451
7474
  vl as setProjectAttachment,
7452
7475
  wl as setProjectAttachments,
7453
- bA as setProjectFile,
7476
+ gA as setProjectFile,
7454
7477
  SA as setProjectFiles,
7455
7478
  ol as setProjects,
7456
7479
  PA as setRehydrated,
@@ -7475,8 +7498,8 @@ export {
7475
7498
  Mm as updateAssetProcedureFieldValuesAttachment,
7476
7499
  Gc as updateAssetProcedureFieldValuesAttachments,
7477
7500
  Yc as updateAssetProcedureFieldValuesMany,
7478
- zc as updateAssetProcedureFields,
7479
- bm as updateAssetProcedureFieldsAttachment,
7501
+ xc as updateAssetProcedureFields,
7502
+ gm as updateAssetProcedureFieldsAttachment,
7480
7503
  Ec as updateAssetProcedureFieldsAttachments,
7481
7504
  Fm as updateAssetProcedureFieldsMany,
7482
7505
  Le as updateAssetProcedureInstance,
@@ -7500,7 +7523,7 @@ export {
7500
7523
  Vp as updateAssetTypes,
7501
7524
  Zm as updateAssets,
7502
7525
  ro as updateCategory,
7503
- gc as updateConversation,
7526
+ bc as updateConversation,
7504
7527
  ef as updateDocumentAttachment,
7505
7528
  po as updateDocumentAttachments,
7506
7529
  ye as updateDocuments,
@@ -7518,13 +7541,13 @@ export {
7518
7541
  Ef as updateIssueAssociations,
7519
7542
  Mf as updateIssueAttachment,
7520
7543
  Ed as updateIssueAttachments,
7521
- zf as updateIssueCommentAttachment,
7544
+ xf as updateIssueCommentAttachment,
7522
7545
  Ud as updateIssueCommentAttachments,
7523
7546
  ju as updateIssueType,
7524
7547
  Nf as updateIssueTypeAttachment,
7525
7548
  su as updateIssueTypeAttachments,
7526
7549
  Ye as updateIssueTypeFieldValues,
7527
- gy as updateIssueTypeFieldValuesAttachment,
7550
+ by as updateIssueTypeFieldValuesAttachment,
7528
7551
  Fu as updateIssueTypeFieldValuesAttachments,
7529
7552
  iy as updateIssueTypeFieldValuesMany,
7530
7553
  Tu as updateIssueTypeFields,
@@ -7537,7 +7560,7 @@ export {
7537
7560
  aA as updateOrganizations,
7538
7561
  dl as updateProject,
7539
7562
  sl as updateProjectAccess,
7540
- gA as updateProjectAttachment,
7563
+ bA as updateProjectAttachment,
7541
7564
  El as updateProjectAttachments,
7542
7565
  Ei as updateProjectFile,
7543
7566
  RA as updateProjectFiles,