@overmap-ai/core 1.0.78-workflows-2.6 → 1.0.78-workflows-2.7

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.
@@ -2,16 +2,16 @@ var Ic = Object.defineProperty;
2
2
  var bc = (t, s, e) => s in t ? Ic(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
3
  var h = (t, s, e) => bc(t, typeof s != "symbol" ? s + "" : s, e);
4
4
  import "@redux-offline/redux-offline/lib/types";
5
- import { createAction as Lt, createSelector as p, createSlice as T, isAnyOf as g, combineReducers as Yi, compose as gc } from "@reduxjs/toolkit";
5
+ import { createAction as Ht, createSelector as p, createSlice as T, isAnyOf as g, combineReducers as Yi, compose as gc } from "@reduxjs/toolkit";
6
6
  import mt from "superagent";
7
7
  import { v4 as ut } from "uuid";
8
8
  import { useMemo as kc } from "react";
9
9
  import { saveAs as Pc } from "file-saver";
10
10
  import Qi from "fast-tree-builder";
11
11
  import { Tree as Mt } from "ts-tree-lib";
12
- import { offline as Mc } from "@redux-offline/redux-offline";
12
+ import { offline as Fc } from "@redux-offline/redux-offline";
13
13
  import Os from "@redux-offline/redux-offline/lib/defaults";
14
- import Fc from "localforage";
14
+ import Mc from "localforage";
15
15
  import Rc from "redux-persist-migrate";
16
16
  import "buffer";
17
17
  import "@overmap-ai/forms";
@@ -20,12 +20,12 @@ import vc from "jwt-decode";
20
20
  import { DepGraph as Bc } from "dependency-graph";
21
21
  import "@tiptap/core";
22
22
  const Vc = Object.freeze([]), zc = Object.freeze({});
23
- var qc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(qc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Dc = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Dc || {}), $c = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))($c || {}), Ji = /* @__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))(Ji || {}), W = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(W || {}), jc = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(jc || {}), xc = /* @__PURE__ */ ((t) => (t[t.ADD_ASSIGNEE = 0] = "ADD_ASSIGNEE", t[t.REMOVE_ASSIGNEE = 2] = "REMOVE_ASSIGNEE", t[t.ADD_REVIEWER = 4] = "ADD_REVIEWER", t[t.REMOVE_REVIEWER = 6] = "REMOVE_REVIEWER", t[t.ADD_REVIEW_REQUEST = 8] = "ADD_REVIEW_REQUEST", t[t.REMOVE_REVIEW_REQUEST = 10] = "REMOVE_REVIEW_REQUEST", t))(xc || {}), kt = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.COMPLETED = 2] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(kt || {}), Pt = /* @__PURE__ */ ((t) => (t[t.APPROVED = 0] = "APPROVED", t[t.REJECTED = 2] = "REJECTED", t[t.CHANGES_REQUESTED = 4] = "CHANGES_REQUESTED", t))(Pt || {});
23
+ var qc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(qc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Dc = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Dc || {}), $c = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))($c || {}), Ji = /* @__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))(Ji || {}), W = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(W || {}), jc = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(jc || {}), xc = /* @__PURE__ */ ((t) => (t[t.ADD_ASSIGNEE = 0] = "ADD_ASSIGNEE", t[t.REMOVE_ASSIGNEE = 2] = "REMOVE_ASSIGNEE", t[t.ADD_REVIEWER = 4] = "ADD_REVIEWER", t[t.REMOVE_REVIEWER = 6] = "REMOVE_REVIEWER", t[t.ADD_REVIEW_REQUEST = 8] = "ADD_REVIEW_REQUEST", t[t.REMOVE_REVIEW_REQUEST = 10] = "REMOVE_REVIEW_REQUEST", t))(xc || {}), Pt = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.COMPLETED = 2] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(Pt || {}), Ft = /* @__PURE__ */ ((t) => (t[t.APPROVED = 0] = "APPROVED", t[t.REJECTED = 2] = "REJECTED", t[t.CHANGES_REQUESTED = 4] = "CHANGES_REQUESTED", t))(Ft || {});
24
24
  const Ik = Ji.MEDIUM, Wc = 6e4, bk = [
25
- Pt.APPROVED,
26
- Pt.REJECTED,
27
- Pt.CHANGES_REQUESTED
28
- ], gk = [kt.ACTIVE, kt.COMPLETED, kt.CANCELLED];
25
+ Ft.APPROVED,
26
+ Ft.REJECTED,
27
+ Ft.CHANGES_REQUESTED
28
+ ], gk = [Pt.ACTIVE, Pt.COMPLETED, Pt.CANCELLED];
29
29
  function I(t) {
30
30
  return {
31
31
  addOne: (l, m) => {
@@ -116,7 +116,7 @@ function kk() {
116
116
  })
117
117
  };
118
118
  }
119
- const Ft = "versioning", O = Lt("RESET"), z = Lt("RESET_PROJECT_STATE"), b = Lt("RESET_ORGANIZATION_STATE");
119
+ const Rt = "versioning", O = Ht("RESET"), z = Ht("RESET_PROJECT_STATE"), b = Ht("RESET_ORGANIZATION_STATE");
120
120
  function Pk(t, s) {
121
121
  return kc(t, s);
122
122
  }
@@ -155,10 +155,10 @@ class Ts {
155
155
  throw new Error("`finally` not implemented");
156
156
  }
157
157
  }
158
- let Ut = !1;
158
+ let Nt = !1;
159
159
  const Cc = "";
160
- ["true", "1"].includes(Cc.toLowerCase()) && (Ut = !0);
161
- function Mk(t, s) {
160
+ ["true", "1"].includes(Cc.toLowerCase()) && (Nt = !0);
161
+ function Fk(t, s) {
162
162
  if (t === s) return !0;
163
163
  if (typeof t != typeof s)
164
164
  return !1;
@@ -175,27 +175,27 @@ function Zi(t) {
175
175
  const s = {};
176
176
  return function() {
177
177
  const e = Array.prototype.slice.call(arguments);
178
- return e in s ? (Ut && console.debug(`Memoization debug: Using memorized return value for ${t.toString()}(`, e, ")"), s[e]) : (Ut && console.debug(`Memoization debug: Cache miss! Memoizing ${t.toString()}(`, e, ")"), s[e] = t.apply(this, e));
178
+ return e in s ? (Nt && console.debug(`Memoization debug: Using memorized return value for ${t.toString()}(`, e, ")"), s[e]) : (Nt && console.debug(`Memoization debug: Cache miss! Memoizing ${t.toString()}(`, e, ")"), s[e] = t.apply(this, e));
179
179
  };
180
180
  }
181
- function Fk(t, s) {
181
+ function Mk(t, s) {
182
182
  if (t.length !== s.length) return !1;
183
183
  for (let e = 0; e < t.length; e++)
184
184
  if (t[e] !== s[e]) return !1;
185
185
  return !0;
186
186
  }
187
- const S = (t) => t.length === 0 ? Vc : t, Nt = (t) => Object.keys(t).length === 0 ? zc : t, Uc = Zi((t) => {
187
+ const S = (t) => t.length === 0 ? Vc : t, Gt = (t) => Object.keys(t).length === 0 ? zc : t, Uc = Zi((t) => {
188
188
  if (!t) return "";
189
- const s = new Date(t), e = s.getFullYear() === Ht.getFullYear(), i = { day: "numeric", month: "short" };
189
+ const s = new Date(t), e = s.getFullYear() === Kt.getFullYear(), i = { day: "numeric", month: "short" };
190
190
  return e || (i.year = "numeric"), s.toLocaleDateString([], i);
191
- }), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400, Ht = /* @__PURE__ */ new Date(), Rk = (t) => new Date(t).toDateString() === Ht.toDateString(), Ek = Zi((t, s, e) => {
192
- const i = Math.round((new Date(t).getTime() - Ht.getTime()) / Nc);
191
+ }), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400, Kt = /* @__PURE__ */ new Date(), Rk = (t) => new Date(t).toDateString() === Kt.toDateString(), Ek = Zi((t, s, e) => {
192
+ const i = Math.round((new Date(t).getTime() - Kt.getTime()) / Nc);
193
193
  return i < s || i > e ? Uc(t) : Lc.format(i, "days");
194
194
  });
195
195
  function Hc(t) {
196
196
  return new Uint8Array(t).reduce((e, i) => e + i.toString(16).padStart(2, "0"), "");
197
197
  }
198
- function xt(t) {
198
+ function Ct(t) {
199
199
  return new Promise((s, e) => {
200
200
  const i = new FileReader();
201
201
  i.onload = () => {
@@ -260,11 +260,11 @@ function Dk(t) {
260
260
  function V(t) {
261
261
  return t.map(({ uuid: s }) => s);
262
262
  }
263
- function Gt(t, s) {
263
+ function Yt(t, s) {
264
264
  return t.localeCompare(s);
265
265
  }
266
266
  function Xi(t, s) {
267
- return Gt(t.uuid, s.uuid);
267
+ return Yt(t.uuid, s.uuid);
268
268
  }
269
269
  function $k(t, s = void 0, e = 255) {
270
270
  let i = t.replace(/[^a-z0-9_\-.]/gi, "_").replace(/_{2,}/g, "_");
@@ -289,7 +289,7 @@ function Wk(t, s) {
289
289
  return e.slice(0, e.lastIndexOf(" ")) + "…";
290
290
  }
291
291
  const Ck = /^.+@.+\..+$/;
292
- function F(t) {
292
+ function M(t) {
293
293
  const s = { ...t };
294
294
  for (const e of [...Jc, "created_by"])
295
295
  e in s && delete s[e];
@@ -484,8 +484,8 @@ const f = (
484
484
  updateAssetProcedureTypeAttachment: go,
485
485
  updateAssetProcedureTypeAttachments: ko,
486
486
  deleteAssetProcedureTypeAttachment: Po,
487
- deleteAssetProcedureTypeAttachments: Mo
488
- } = dn.actions, Fo = dn.reducer, Ro = (t) => t.assetProcedureTypeAttachmentReducer.instances, un = p([Ro], (t) => Object.values(t)), Eo = (t) => (s) => s.assetProcedureTypeAttachmentReducer.instances[t], vo = f(
487
+ deleteAssetProcedureTypeAttachments: Fo
488
+ } = dn.actions, Mo = dn.reducer, Ro = (t) => t.assetProcedureTypeAttachmentReducer.instances, un = p([Ro], (t) => Object.values(t)), Eo = (t) => (s) => s.assetProcedureTypeAttachmentReducer.instances[t], vo = f(
489
489
  p(
490
490
  [un, (t, s) => s],
491
491
  (t, s) => {
@@ -574,35 +574,35 @@ const f = (
574
574
  updateAssetProcedureTypeFieldsMany: Zo,
575
575
  deleteAssetProcedureTypeFields: Xo,
576
576
  deleteAssetProcedureTypeFieldsMany: ed
577
- } = pn.actions, td = pn.reducer, sd = (t) => t.assetProcedureTypeFieldsReducer.instances, Kt = p(
577
+ } = pn.actions, td = pn.reducer, sd = (t) => t.assetProcedureTypeFieldsReducer.instances, Qt = p(
578
578
  [sd],
579
579
  (t) => Object.values(t)
580
580
  ), tP = f(
581
581
  p(
582
- [Kt, (t, s) => s],
582
+ [Qt, (t, s) => s],
583
583
  (t, s) => S(t.filter((e) => e.asset_procedure_type === s))
584
584
  )
585
585
  ), sP = f(
586
586
  p(
587
- [Kt, (t, s) => s],
587
+ [Qt, (t, s) => s],
588
588
  (t, s) => t.filter((e) => e.asset_procedure_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0]
589
589
  )
590
590
  ), id = (t) => (s) => s.assetProcedureTypeFieldsReducer.instances[t], nd = f(
591
591
  p(
592
- [Kt, (t, s) => s],
592
+ [Qt, (t, s) => s],
593
593
  (t, s) => {
594
594
  const e = new Set(s);
595
595
  return S(t.filter(({ uuid: i }) => e.has(i)));
596
596
  }
597
597
  )
598
- ), Y = I(({ uuid: t }) => t), Ms = {
598
+ ), Y = I(({ uuid: t }) => t), Fs = {
599
599
  instances: {}
600
600
  }, mn = T({
601
601
  name: "assetProcedureTypeFieldValuesAttachments",
602
- initialState: Ms,
602
+ initialState: Fs,
603
603
  extraReducers: (t) => t.addMatcher(
604
604
  g(O, z, b),
605
- (s) => Object.assign(s, Ms)
605
+ (s) => Object.assign(s, Fs)
606
606
  ),
607
607
  reducers: {
608
608
  initializeAssetProcedureTypeFieldValuesAttachments: Y.initialize,
@@ -644,14 +644,14 @@ const f = (
644
644
  [Sn, (t, s) => s],
645
645
  (t, s) => S(t.filter((e) => e.field_values === s))
646
646
  )
647
- ), Q = I(({ uuid: t }) => t), Fs = {
647
+ ), Q = I(({ uuid: t }) => t), Ms = {
648
648
  instances: {}
649
649
  }, An = T({
650
650
  name: "assetProcedureTypeFieldValues",
651
- initialState: Fs,
651
+ initialState: Ms,
652
652
  extraReducers: (t) => t.addMatcher(
653
653
  g(O, z, b),
654
- (s) => Object.assign(s, Fs)
654
+ (s) => Object.assign(s, Ms)
655
655
  ),
656
656
  reducers: {
657
657
  initializeAssetProcedureTypeFieldValues: Q.initialize,
@@ -674,22 +674,22 @@ const f = (
674
674
  updateAssetProcedureTypeFieldValuesMany: Id,
675
675
  deleteAssetProcedureTypeFieldValues: bd,
676
676
  deleteAssetProcedureTypeFieldValuesMany: gd
677
- } = An.actions, kd = An.reducer, Pd = (t) => t.assetProcedureTypeFieldValuesReducer.instances, Yt = p(
677
+ } = An.actions, kd = An.reducer, Pd = (t) => t.assetProcedureTypeFieldValuesReducer.instances, Jt = p(
678
678
  [Pd],
679
679
  (t) => Object.values(t)
680
680
  ), iP = f(
681
681
  p(
682
- [Yt, (t, s) => s],
682
+ [Jt, (t, s) => s],
683
683
  (t, s) => S(t.filter((e) => e.asset === s))
684
684
  )
685
685
  ), nP = f(
686
686
  p(
687
- [Yt, (t, s) => s],
687
+ [Jt, (t, s) => s],
688
688
  (t, s) => S(t.filter((e) => e.asset_procedure === s))
689
689
  )
690
- ), Md = (t) => (s) => s.assetProcedureTypeFieldValuesReducer.instances[t], Fd = f(
690
+ ), Fd = (t) => (s) => s.assetProcedureTypeFieldValuesReducer.instances[t], Md = f(
691
691
  p(
692
- [Yt, (t, s) => s],
692
+ [Jt, (t, s) => s],
693
693
  (t, s) => {
694
694
  const e = new Set(s);
695
695
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -727,17 +727,17 @@ const f = (
727
727
  deleteAssetProcedures: Tn,
728
728
  setAssetProcedure: zd,
729
729
  setAssetProcedures: qd
730
- } = wn.actions, Dd = wn.reducer, $d = (t) => t.assetProcedureReducer.instances, Qt = p([$d], (t) => Object.values(t)), jd = f(
730
+ } = wn.actions, Dd = wn.reducer, $d = (t) => t.assetProcedureReducer.instances, Zt = p([$d], (t) => Object.values(t)), jd = f(
731
731
  p(
732
- [Qt, (t, s) => s],
732
+ [Zt, (t, s) => s],
733
733
  (t, s) => S(
734
734
  t.filter((e) => e.asset_procedure_type === s)
735
735
  )
736
736
  )
737
737
  ), aP = f(
738
- p([Qt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
738
+ p([Zt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
739
739
  ), xd = (t) => (s) => s.assetProcedureReducer.instances[t], Wd = f(
740
- p([Qt, (t, s) => s], (t, s) => {
740
+ p([Zt, (t, s) => s], (t, s) => {
741
741
  const e = new Set(s);
742
742
  return S(t.filter(({ uuid: i }) => e.has(i)));
743
743
  })
@@ -863,17 +863,17 @@ const f = (
863
863
  updateAssetProcedureStepFieldsMany: Ou,
864
864
  deleteAssetProcedureStepFields: Tu,
865
865
  deleteAssetProcedureStepFieldsMany: _u
866
- } = kn.actions, Pn = (t) => t.assetProcedureStepFieldsReducer.instances, Jt = p(
866
+ } = kn.actions, Pn = (t) => t.assetProcedureStepFieldsReducer.instances, Xt = p(
867
867
  [Pn],
868
868
  (t) => Object.values(t)
869
869
  ), oP = f(
870
870
  p(
871
- [Jt, (t, s) => s],
871
+ [Xt, (t, s) => s],
872
872
  (t, s) => S(t.filter((e) => e.asset_procedure_step === s))
873
873
  )
874
874
  ), dP = f(
875
875
  p(
876
- [Jt, (t, s) => s],
876
+ [Xt, (t, s) => s],
877
877
  (t, s) => t.filter((e) => e.asset_procedure_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0]
878
878
  )
879
879
  ), uP = p(
@@ -888,7 +888,7 @@ const f = (
888
888
  }
889
889
  ), Iu = (t) => (s) => s.assetProcedureStepFieldsReducer.instances[t], bu = f(
890
890
  p(
891
- [Jt, (t, s) => s],
891
+ [Xt, (t, s) => s],
892
892
  (t, s) => {
893
893
  const e = new Set(s);
894
894
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -896,7 +896,7 @@ const f = (
896
896
  )
897
897
  ), gu = kn.reducer, te = I((t) => t.uuid), Vs = {
898
898
  instances: {}
899
- }, Mn = T({
899
+ }, Fn = T({
900
900
  name: "assetProcedureStepFieldValuesAttachments",
901
901
  initialState: Vs,
902
902
  extraReducers: (t) => t.addMatcher(
@@ -917,14 +917,14 @@ const f = (
917
917
  }), {
918
918
  initializeAssetProcedureStepFieldValuesAttachments: ku,
919
919
  addAssetProcedureStepFieldValuesAttachment: Pu,
920
- addAssetProcedureStepFieldValuesAttachments: Fn,
921
- setAssetProcedureStepFieldValuesAttachment: Mu,
922
- setAssetProcedureStepFieldValuesAttachments: Fu,
920
+ addAssetProcedureStepFieldValuesAttachments: Mn,
921
+ setAssetProcedureStepFieldValuesAttachment: Fu,
922
+ setAssetProcedureStepFieldValuesAttachments: Mu,
923
923
  updateAssetProcedureStepFieldValuesAttachment: Ru,
924
924
  updateAssetProcedureStepFieldValuesAttachments: Eu,
925
925
  deleteAssetProcedureStepFieldValuesAttachment: vu,
926
926
  deleteAssetProcedureStepFieldValuesAttachments: Rn
927
- } = Mn.actions, Bu = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, En = p(
927
+ } = Fn.actions, Bu = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, En = p(
928
928
  [Bu],
929
929
  (t) => Object.values(t)
930
930
  ), Vu = (t) => (s) => s.assetProcedureStepFieldValuesAttachmentReducer.instances[t], zu = f(
@@ -943,7 +943,7 @@ const f = (
943
943
  [En, (t, s) => s],
944
944
  (t, s) => S(t.filter((e) => e.field_values === s))
945
945
  )
946
- ), Du = Mn.reducer, se = I((t) => t.uuid), zs = {
946
+ ), Du = Fn.reducer, se = I((t) => t.uuid), zs = {
947
947
  instances: {}
948
948
  }, vn = T({
949
949
  name: "assetProcedureStepFieldValues",
@@ -973,27 +973,27 @@ const f = (
973
973
  updateAssetProcedureStepFieldValuesMany: Lu,
974
974
  deleteAssetProcedureStepFieldValues: Nu,
975
975
  deleteAssetProcedureStepFieldValuesMany: Hu
976
- } = vn.actions, Gu = (t) => t.assetProcedureStepFieldValuesReducer.instances, Rt = p(
976
+ } = vn.actions, Gu = (t) => t.assetProcedureStepFieldValuesReducer.instances, Et = p(
977
977
  [Gu],
978
978
  (t) => Object.values(t)
979
979
  ), lP = f(
980
980
  p(
981
- [Rt, (t, s) => s],
981
+ [Et, (t, s) => s],
982
982
  (t, s) => S(t.filter((e) => e.asset === s))
983
983
  )
984
984
  ), hP = f(
985
985
  p(
986
- [Rt, (t, s) => s],
986
+ [Et, (t, s) => s],
987
987
  (t, s) => S(t.filter((e) => e.asset_procedure === s))
988
988
  )
989
989
  ), pP = f(
990
990
  p(
991
- [Rt, (t, s) => s],
991
+ [Et, (t, s) => s],
992
992
  (t, s) => S(t.filter((e) => e.asset_procedure_step === s))
993
993
  )
994
994
  ), Ku = (t) => (s) => s.assetProcedureStepFieldValuesReducer.instances[t], Yu = f(
995
995
  p(
996
- [Rt, (t, s) => s],
996
+ [Et, (t, s) => s],
997
997
  (t, s) => {
998
998
  const e = new Set(s);
999
999
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -1029,14 +1029,14 @@ const f = (
1029
1029
  updateAssetProcedureSteps: il,
1030
1030
  deleteAssetProcedureStep: nl,
1031
1031
  deleteAssetProcedureSteps: al
1032
- } = Bn.actions, rl = Bn.reducer, Zt = (t) => t.assetProcedureStepReducer.instances, cl = (t) => (s) => s.assetProcedureStepReducer.instances[t], Vn = p([Zt], (t) => Object.values(t)), mP = f(
1032
+ } = Bn.actions, rl = Bn.reducer, es = (t) => t.assetProcedureStepReducer.instances, cl = (t) => (s) => s.assetProcedureStepReducer.instances[t], Vn = p([es], (t) => Object.values(t)), mP = f(
1033
1033
  p(
1034
- [Zt, (t, s) => s],
1034
+ [es, (t, s) => s],
1035
1035
  (t, s) => {
1036
1036
  const e = {};
1037
1037
  for (const [i, n] of Object.entries(t))
1038
1038
  n.asset_procedure_type === s && (e[i] = n);
1039
- return Nt(e);
1039
+ return Gt(e);
1040
1040
  }
1041
1041
  )
1042
1042
  ), yP = f(
@@ -1051,7 +1051,7 @@ const f = (
1051
1051
  )
1052
1052
  ), dl = f(
1053
1053
  p(
1054
- [Zt, (t, s) => s],
1054
+ [es, (t, s) => s],
1055
1055
  (t, s) => {
1056
1056
  if (!t[s]) return S([]);
1057
1057
  const n = Zc(s, Object.values(t)).all().map(({ model: a }) => a);
@@ -1088,12 +1088,12 @@ const f = (
1088
1088
  deleteAssets: Dn,
1089
1089
  setAsset: yl,
1090
1090
  setAssets: fl
1091
- } = zn.actions, Sl = (t) => t.assetReducer.instances, Xt = p([Sl], (t) => S(Object.values(t))), fP = f(
1092
- p([Xt, (t, s) => s], (t, s) => S(t.filter(({ project: e }) => e === s)))
1091
+ } = zn.actions, Sl = (t) => t.assetReducer.instances, ts = p([Sl], (t) => S(Object.values(t))), fP = f(
1092
+ p([ts, (t, s) => s], (t, s) => S(t.filter(({ project: e }) => e === s)))
1093
1093
  ), Al = f(
1094
- p([Xt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
1094
+ p([ts, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
1095
1095
  ), wl = (t) => (s) => s.assetReducer.instances[t], Ol = f(
1096
- p([Xt, (t, s) => s], (t, s) => {
1096
+ p([ts, (t, s) => s], (t, s) => {
1097
1097
  const e = new Set(s);
1098
1098
  return S(t.filter(({ uuid: i }) => e.has(i)));
1099
1099
  })
@@ -1124,8 +1124,8 @@ const f = (
1124
1124
  setAssetStageCompletion: gl,
1125
1125
  setAssetStageCompletions: kl,
1126
1126
  updateAssetStageCompletion: Pl,
1127
- updateAssetStageCompletions: Ml,
1128
- deleteAssetStageCompletion: Fl,
1127
+ updateAssetStageCompletions: Fl,
1128
+ deleteAssetStageCompletion: Ml,
1129
1129
  deleteAssetStageCompletions: Rl
1130
1130
  } = $n.actions, El = $n.reducer, vl = (t) => t.assetStageCompletionReducer.instances, Bl = p(
1131
1131
  [vl],
@@ -1175,7 +1175,7 @@ const f = (
1175
1175
  const e = {};
1176
1176
  for (const [i, n] of Object.entries(t))
1177
1177
  n.asset_procedure_type === s && (e[i] = n);
1178
- return Nt(e);
1178
+ return Gt(e);
1179
1179
  })
1180
1180
  ), AP = f(
1181
1181
  p([Wn, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_procedure_type === s)))
@@ -1303,12 +1303,12 @@ const f = (
1303
1303
  updateAssetTypeFieldsMany: gh,
1304
1304
  deleteAssetTypeFields: kh,
1305
1305
  deleteAssetTypeFieldsMany: Ph
1306
- } = Kn.actions, Mh = (t) => t.assetTypeFieldsReducer.instances, Et = p([Mh], (t) => Object.values(t)), OP = f(
1307
- p([Et, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
1306
+ } = Kn.actions, Fh = (t) => t.assetTypeFieldsReducer.instances, vt = p([Fh], (t) => Object.values(t)), OP = f(
1307
+ p([vt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
1308
1308
  ), TP = f(
1309
- p([Et, (t, s) => s], (t, s) => t.filter((e) => e.asset_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
1310
- ), Fh = (t) => (s) => s.assetTypeFieldsReducer.instances[t], Rh = f(
1311
- p([Et, (t, s) => s], (t, s) => {
1309
+ p([vt, (t, s) => s], (t, s) => t.filter((e) => e.asset_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
1310
+ ), Mh = (t) => (s) => s.assetTypeFieldsReducer.instances[t], Rh = f(
1311
+ p([vt, (t, s) => s], (t, s) => {
1312
1312
  const e = new Set(s);
1313
1313
  return S(t.filter(({ uuid: i }) => e.has(i)));
1314
1314
  })
@@ -1388,11 +1388,11 @@ const f = (
1388
1388
  updateAssetTypeFieldValuesMany: Qh,
1389
1389
  deleteAssetTypeFieldValues: Jh,
1390
1390
  deleteAssetTypeFieldValuesMany: Zh
1391
- } = Xn.actions, Xh = (t) => t.assetTypeFieldValuesReducer.instances, es = p([Xh], (t) => Object.values(t)), _P = f(
1392
- p([es, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
1391
+ } = Xn.actions, Xh = (t) => t.assetTypeFieldValuesReducer.instances, ss = p([Xh], (t) => Object.values(t)), _P = f(
1392
+ p([ss, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
1393
1393
  ), IP = f(
1394
1394
  p(
1395
- [Et, es, (t, s) => s],
1395
+ [vt, ss, (t, s) => s],
1396
1396
  (t, s, e) => {
1397
1397
  const i = new Set(
1398
1398
  t.filter((n) => n.asset_type === e).map((n) => n.uuid)
@@ -1402,7 +1402,7 @@ const f = (
1402
1402
  )
1403
1403
  ), ep = (t) => (s) => s.assetTypeFieldValuesReducer.instances[t], tp = f(
1404
1404
  p(
1405
- [es, (t, s) => s],
1405
+ [ss, (t, s) => s],
1406
1406
  (t, s) => {
1407
1407
  const e = new Set(s);
1408
1408
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -1481,27 +1481,27 @@ const f = (
1481
1481
  updateAssetTypeIdentifierValues: _p,
1482
1482
  deleteAssetTypeIdentifierValue: Ip,
1483
1483
  deleteAssetTypeIdentifierValues: bp
1484
- } = sa.actions, gp = (t) => t.assetTypeIdentifierValueReducer.instances, ts = p(
1484
+ } = sa.actions, gp = (t) => t.assetTypeIdentifierValueReducer.instances, is = p(
1485
1485
  [gp],
1486
1486
  (t) => Object.values(t)
1487
1487
  ), kp = (t) => (s) => s.assetTypeIdentifierValueReducer.instances[t], Pp = f(
1488
1488
  p(
1489
- [ts, (t, s) => s],
1489
+ [is, (t, s) => s],
1490
1490
  (t, s) => {
1491
1491
  const e = new Set(s);
1492
1492
  return S(t.filter(({ uuid: i }) => e.has(i)));
1493
1493
  }
1494
1494
  )
1495
1495
  ), gP = f(
1496
- p([ts, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
1496
+ p([is, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
1497
1497
  ), kP = f(
1498
1498
  p(
1499
- [ts, (t, s) => s],
1499
+ [is, (t, s) => s],
1500
1500
  (t, s) => S(
1501
1501
  t.filter((e) => e.asset_type_identifier === s)
1502
1502
  )
1503
1503
  )
1504
- ), Mp = sa.reducer, me = I(
1504
+ ), Fp = sa.reducer, me = I(
1505
1505
  (t) => t.uuid
1506
1506
  ), Gs = {
1507
1507
  instances: {}
@@ -1524,7 +1524,7 @@ const f = (
1524
1524
  deleteAssetTypes: me.deleteMany
1525
1525
  }
1526
1526
  }), {
1527
- initializeAssetTypes: Fp,
1527
+ initializeAssetTypes: Mp,
1528
1528
  setAssetType: Rp,
1529
1529
  setAssetTypes: Ep,
1530
1530
  addAssetType: vp,
@@ -1578,13 +1578,13 @@ const f = (
1578
1578
  const e = new Set(s);
1579
1579
  return S(t.filter(({ uuid: i }) => e.has(i)));
1580
1580
  })
1581
- ), MP = f(
1581
+ ), FP = f(
1582
1582
  p([ra, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
1583
1583
  ), em = aa.reducer, Ys = {
1584
1584
  accessToken: "",
1585
1585
  refreshToken: "",
1586
1586
  isLoggedIn: !1
1587
- }, ss = T({
1587
+ }, ns = T({
1588
1588
  name: "auth",
1589
1589
  initialState: Ys,
1590
1590
  extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, Ys)),
@@ -1596,10 +1596,10 @@ const f = (
1596
1596
  t.accessToken = "", t.refreshToken = "";
1597
1597
  },
1598
1598
  setLoggedIn: (t, s) => {
1599
- s.payload || ss.caseReducers.clearTokens(t), t.isLoggedIn = s.payload;
1599
+ s.payload || ns.caseReducers.clearTokens(t), t.isLoggedIn = s.payload;
1600
1600
  }
1601
1601
  }
1602
- }), { setTokens: FP, clearTokens: RP, setLoggedIn: tm } = ss.actions, EP = (t) => t.authReducer.accessToken, vP = (t) => t.authReducer.isLoggedIn, sm = ss.reducer, fe = I((t) => t.uuid), Qs = {
1602
+ }), { setTokens: MP, clearTokens: RP, setLoggedIn: tm } = ns.actions, EP = (t) => t.authReducer.accessToken, vP = (t) => t.authReducer.isLoggedIn, sm = ns.reducer, fe = I((t) => t.uuid), Qs = {
1603
1603
  instances: {}
1604
1604
  }, ca = T({
1605
1605
  name: "documentAttachments",
@@ -1668,19 +1668,19 @@ const f = (
1668
1668
  updateDocuments: _m,
1669
1669
  deleteDocument: Im,
1670
1670
  deleteDocuments: bm
1671
- } = da.actions, gm = da.reducer, ua = (t) => t.documentsReducer.instances, is = p(
1671
+ } = da.actions, gm = da.reducer, ua = (t) => t.documentsReducer.instances, as = p(
1672
1672
  [ua],
1673
1673
  (t) => Object.values(t)
1674
1674
  ), km = (t) => (s) => s.documentsReducer.instances[t], Pm = f(
1675
- p([is, (t, s) => s], (t, s) => {
1675
+ p([as, (t, s) => s], (t, s) => {
1676
1676
  const e = new Set(s);
1677
1677
  return S(t.filter(({ uuid: i }) => e.has(i)));
1678
1678
  })
1679
1679
  ), VP = f(
1680
- p([is, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
1680
+ p([as, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
1681
1681
  ), zP = f(
1682
- p([is, (t, s) => s], (t, s) => t.filter((e) => e.organization === s))
1683
- ), Mm = f(
1682
+ p([as, (t, s) => s], (t, s) => t.filter((e) => e.organization === s))
1683
+ ), Fm = f(
1684
1684
  p([ua, (t, s) => s], (t, s) => {
1685
1685
  if (!t[s]) return S([]);
1686
1686
  const n = to(s, Object.values(t)).all().map(({ model: a }) => a);
@@ -1709,7 +1709,7 @@ const f = (
1709
1709
  deleteEmailDomains: Ae.deleteMany
1710
1710
  }
1711
1711
  }), {
1712
- initializeEmailDomains: Fm,
1712
+ initializeEmailDomains: Mm,
1713
1713
  addEmailDomain: Rm,
1714
1714
  addEmailDomains: Em,
1715
1715
  setEmailDomain: vm,
@@ -1820,12 +1820,12 @@ const f = (
1820
1820
  updateFormIdentifierValues: dy,
1821
1821
  deleteFormIdentifierValue: uy,
1822
1822
  deleteFormIdentifierValues: ly
1823
- } = Sa.actions, hy = (t) => t.formIdentifierValueReducer.instances, ns = p(
1823
+ } = Sa.actions, hy = (t) => t.formIdentifierValueReducer.instances, rs = p(
1824
1824
  [hy],
1825
1825
  (t) => Object.values(t)
1826
1826
  ), py = (t) => (s) => s.formIdentifierValueReducer.instances[t], my = f(
1827
1827
  p(
1828
- [ns, (t, s) => s],
1828
+ [rs, (t, s) => s],
1829
1829
  (t, s) => {
1830
1830
  const e = new Set(s);
1831
1831
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -1833,14 +1833,14 @@ const f = (
1833
1833
  )
1834
1834
  ), xP = f(
1835
1835
  p(
1836
- [ns, (t, s) => s],
1836
+ [rs, (t, s) => s],
1837
1837
  (t, s) => S(
1838
1838
  t.filter((e) => e.form_submission === s)
1839
1839
  )
1840
1840
  )
1841
1841
  ), WP = f(
1842
1842
  p(
1843
- [ns, (t, s) => s],
1843
+ [rs, (t, s) => s],
1844
1844
  (t, s) => S(
1845
1845
  t.filter((e) => e.form_identifier === s)
1846
1846
  )
@@ -1875,12 +1875,12 @@ const f = (
1875
1875
  updateFormRevisionAttachments: _y,
1876
1876
  deleteFormRevisionAttachment: Iy,
1877
1877
  deleteFormRevisionAttachments: by
1878
- } = Aa.actions, as = (t) => t.formRevisionAttachmentReducer.instances, gy = p(
1879
- [as],
1878
+ } = Aa.actions, cs = (t) => t.formRevisionAttachmentReducer.instances, gy = p(
1879
+ [cs],
1880
1880
  (t) => Object.values(t)
1881
1881
  ), ky = f(
1882
1882
  p(
1883
- [as, (t, s) => s],
1883
+ [cs, (t, s) => s],
1884
1884
  (t, s) => t[s]
1885
1885
  )
1886
1886
  ), Py = f(
@@ -1892,10 +1892,10 @@ const f = (
1892
1892
  }
1893
1893
  )
1894
1894
  ), CP = f(
1895
- p([as, (t, s) => s], (t, s) => S(
1895
+ p([cs, (t, s) => s], (t, s) => S(
1896
1896
  Object.values(t).filter((e) => e.form_revision === s)
1897
1897
  ))
1898
- ), My = Aa.reducer, _e = I(
1898
+ ), Fy = Aa.reducer, _e = I(
1899
1899
  (t) => t.uuid
1900
1900
  ), ii = {
1901
1901
  instances: {}
@@ -1918,7 +1918,7 @@ const f = (
1918
1918
  deleteFormRevisions: _e.deleteMany
1919
1919
  }
1920
1920
  }), {
1921
- initializeFormRevisions: Fy,
1921
+ initializeFormRevisions: My,
1922
1922
  addFormRevision: Oa,
1923
1923
  addFormRevisions: Ta,
1924
1924
  setFormRevision: Ry,
@@ -1927,19 +1927,19 @@ const f = (
1927
1927
  updateFormRevisions: By,
1928
1928
  deleteFormRevision: _a,
1929
1929
  deleteFormRevisions: Ia
1930
- } = wa.actions, ba = (t) => t.formRevisionReducer.instances, rs = p(
1930
+ } = wa.actions, ba = (t) => t.formRevisionReducer.instances, os = p(
1931
1931
  [ba],
1932
1932
  (t) => Object.values(t)
1933
1933
  ), Vy = (t) => (s) => s.formRevisionReducer.instances[t], zy = f(
1934
- p([rs, (t, s) => s], (t, s) => {
1934
+ p([os, (t, s) => s], (t, s) => {
1935
1935
  const e = new Set(s);
1936
1936
  return S(t.filter(({ uuid: i }) => e.has(i)));
1937
1937
  })
1938
1938
  ), UP = f(
1939
- p([rs, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
1939
+ p([os, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
1940
1940
  ), qy = f(
1941
1941
  p(
1942
- [rs, (t, s) => s],
1942
+ [os, (t, s) => s],
1943
1943
  (t, s) => S(t.filter((e) => e.form === s))
1944
1944
  )
1945
1945
  ), Dy = wa.reducer, Ie = I((t) => t.uuid), ni = {
@@ -2002,13 +2002,13 @@ const f = (
2002
2002
  }), {
2003
2003
  initializeFormSubmissionAttachments: Jy,
2004
2004
  addFormSubmissionAttachment: Zy,
2005
- addFormSubmissionAttachments: Ma,
2005
+ addFormSubmissionAttachments: Fa,
2006
2006
  setFormSubmissionAttachment: Xy,
2007
2007
  setFormSubmissionAttachments: ef,
2008
2008
  updateFormSubmissionAttachment: tf,
2009
2009
  updateFormSubmissionAttachments: sf,
2010
2010
  deleteFormSubmissionAttachment: nf,
2011
- deleteFormSubmissionAttachments: Fa
2011
+ deleteFormSubmissionAttachments: Ma
2012
2012
  } = Pa.actions, Ra = (t) => t.formSubmissionAttachmentReducer.instances, Ea = p(
2013
2013
  [Ra],
2014
2014
  (t) => Object.values(t)
@@ -2116,8 +2116,8 @@ const f = (
2116
2116
  addGeoImages: gf,
2117
2117
  updateGeoImage: kf,
2118
2118
  updateGeoImages: Pf,
2119
- deleteGeoImage: Mf,
2120
- deleteGeoImages: Ff
2119
+ deleteGeoImage: Ff,
2120
+ deleteGeoImages: Mf
2121
2121
  } = Da.actions, Rf = (t) => t.geoImageReducer.instances, $a = p([Rf], (t) => Object.values(t)), Ef = (t) => (s) => s.geoImageReducer.instances[t], vf = f(
2122
2122
  p([$a, (t, s) => s], (t, s) => {
2123
2123
  const e = new Set(s);
@@ -2184,7 +2184,7 @@ const f = (
2184
2184
  p([At, (t, s) => s], (t, s) => S(t.filter(({ issue: e }) => e === s)))
2185
2185
  ), Kf = f(
2186
2186
  p([At, (t, s) => s], (t, s) => S(t.filter(({ asset: e }) => e === s)))
2187
- ), Yf = ja.reducer, Me = I((t) => t.uuid), di = {
2187
+ ), Yf = ja.reducer, Fe = I((t) => t.uuid), di = {
2188
2188
  instances: {}
2189
2189
  }, xa = T({
2190
2190
  name: "issueAttachments",
@@ -2194,15 +2194,15 @@ const f = (
2194
2194
  (s) => Object.assign(s, di)
2195
2195
  ),
2196
2196
  reducers: {
2197
- initializeIssueAttachments: Me.initialize,
2198
- addIssueAttachment: Me.addOne,
2199
- addIssueAttachments: Me.addMany,
2200
- setIssueAttachment: Me.setOne,
2201
- setIssueAttachments: Me.setMany,
2202
- updateIssueAttachment: Me.updateOne,
2203
- updateIssueAttachments: Me.updateMany,
2204
- deleteIssueAttachment: Me.deleteOne,
2205
- deleteIssueAttachments: Me.deleteMany
2197
+ initializeIssueAttachments: Fe.initialize,
2198
+ addIssueAttachment: Fe.addOne,
2199
+ addIssueAttachments: Fe.addMany,
2200
+ setIssueAttachment: Fe.setOne,
2201
+ setIssueAttachments: Fe.setMany,
2202
+ updateIssueAttachment: Fe.updateOne,
2203
+ updateIssueAttachments: Fe.updateMany,
2204
+ deleteIssueAttachment: Fe.deleteOne,
2205
+ deleteIssueAttachments: Fe.deleteMany
2206
2206
  }
2207
2207
  }), {
2208
2208
  initializeIssueAttachments: Qf,
@@ -2227,7 +2227,7 @@ const f = (
2227
2227
  const e = new Set(s);
2228
2228
  return S(t.filter(({ uuid: i }) => e.has(i)));
2229
2229
  })
2230
- ), cS = xa.reducer, Fe = I((t) => t.uuid), ui = {
2230
+ ), cS = xa.reducer, Me = I((t) => t.uuid), ui = {
2231
2231
  instances: {}
2232
2232
  }, La = T({
2233
2233
  name: "issueCommentAttachments",
@@ -2237,15 +2237,15 @@ const f = (
2237
2237
  (s) => Object.assign(s, ui)
2238
2238
  ),
2239
2239
  reducers: {
2240
- initializeIssueCommentAttachments: Fe.initialize,
2241
- addIssueCommentAttachment: Fe.addOne,
2242
- addIssueCommentAttachments: Fe.addMany,
2243
- setIssueCommentAttachment: Fe.setOne,
2244
- setIssueCommentAttachments: Fe.setMany,
2245
- updateIssueCommentAttachment: Fe.updateOne,
2246
- updateIssueCommentAttachments: Fe.updateMany,
2247
- deleteIssueCommentAttachment: Fe.deleteOne,
2248
- deleteIssueCommentAttachments: Fe.deleteMany
2240
+ initializeIssueCommentAttachments: Me.initialize,
2241
+ addIssueCommentAttachment: Me.addOne,
2242
+ addIssueCommentAttachments: Me.addMany,
2243
+ setIssueCommentAttachment: Me.setOne,
2244
+ setIssueCommentAttachments: Me.setMany,
2245
+ updateIssueCommentAttachment: Me.updateOne,
2246
+ updateIssueCommentAttachments: Me.updateMany,
2247
+ deleteIssueCommentAttachment: Me.deleteOne,
2248
+ deleteIssueCommentAttachments: Me.deleteMany
2249
2249
  }
2250
2250
  }), {
2251
2251
  initializeIssueCommentAttachments: oS,
@@ -2300,8 +2300,8 @@ const f = (
2300
2300
  setIssueComments: gS,
2301
2301
  updateIssueComment: kS,
2302
2302
  updateIssueComments: PS,
2303
- deleteIssueComment: MS,
2304
- deleteIssueComments: FS
2303
+ deleteIssueComment: FS,
2304
+ deleteIssueComments: MS
2305
2305
  } = Ha.actions, Ga = (t) => t.issueCommentReducer.instances, RS = (t) => (s) => s.issueCommentReducer.instances[t], ES = f(
2306
2306
  p([Ga, (t, s) => s], (t, s) => {
2307
2307
  const e = new Set(s);
@@ -2344,18 +2344,18 @@ const f = (
2344
2344
  updateIssues: $S,
2345
2345
  deleteIssue: jS,
2346
2346
  deleteIssues: Qa
2347
- } = Ka.actions, xS = (t) => t.issueReducer.instances, cs = p(
2347
+ } = Ka.actions, xS = (t) => t.issueReducer.instances, ds = p(
2348
2348
  [xS],
2349
2349
  (t) => Object.values(t)
2350
2350
  ), WS = (t) => (s) => s.issueReducer.instances[t], CS = f(
2351
- p([cs, (t, s) => s], (t, s) => {
2351
+ p([ds, (t, s) => s], (t, s) => {
2352
2352
  const e = new Set(s);
2353
2353
  return S(t.filter(({ uuid: i }) => e.has(i)));
2354
2354
  })
2355
2355
  ), KP = f(
2356
- p([cs, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
2356
+ p([ds, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
2357
2357
  ), US = f(
2358
- p([cs, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
2358
+ p([ds, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
2359
2359
  ), LS = Ka.reducer, ve = I((t) => t.uuid), pi = {
2360
2360
  instances: {}
2361
2361
  }, Ja = T({
@@ -2475,17 +2475,17 @@ const f = (
2475
2475
  updateIssueTypeFieldValuesMany: IA,
2476
2476
  deleteIssueTypeFieldValues: bA,
2477
2477
  deleteIssueTypeFieldValuesMany: gA
2478
- } = tr.actions, kA = (t) => t.issueTypeFieldValuesReducer.instances, os = p([kA], (t) => Object.values(t)), JP = f(
2479
- p([os, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
2480
- ), PA = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t], MA = f(
2478
+ } = tr.actions, kA = (t) => t.issueTypeFieldValuesReducer.instances, us = p([kA], (t) => Object.values(t)), JP = f(
2479
+ p([us, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
2480
+ ), PA = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t], FA = f(
2481
2481
  p(
2482
- [os, (t, s) => s],
2482
+ [us, (t, s) => s],
2483
2483
  (t, s) => {
2484
2484
  const e = new Set(s);
2485
2485
  return S(t.filter(({ uuid: i }) => e.has(i)));
2486
2486
  }
2487
2487
  )
2488
- ), FA = tr.reducer, ze = I((t) => t.uuid), fi = {
2488
+ ), MA = tr.reducer, ze = I((t) => t.uuid), fi = {
2489
2489
  instances: {}
2490
2490
  }, sr = T({
2491
2491
  name: "issueTypeFields",
@@ -2515,13 +2515,13 @@ const f = (
2515
2515
  updateIssueTypeFieldsMany: qA,
2516
2516
  deleteIssueTypeFields: DA,
2517
2517
  deleteIssueTypeFieldsMany: $A
2518
- } = sr.actions, jA = (t) => t.issueTypeFieldsReducer.instances, vt = p([jA], (t) => Object.values(t)), ZP = f(
2519
- p([vt, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
2518
+ } = sr.actions, jA = (t) => t.issueTypeFieldsReducer.instances, Bt = p([jA], (t) => Object.values(t)), ZP = f(
2519
+ p([Bt, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
2520
2520
  ), XP = f(
2521
- p([vt, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
2522
- ), eM = f(
2521
+ p([Bt, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
2522
+ ), eF = f(
2523
2523
  p(
2524
- [vt, os, (t, s) => s],
2524
+ [Bt, us, (t, s) => s],
2525
2525
  (t, s, e) => {
2526
2526
  const i = new Set(
2527
2527
  t.filter((n) => n.issue_type === e).map((n) => n.uuid)
@@ -2530,7 +2530,7 @@ const f = (
2530
2530
  }
2531
2531
  )
2532
2532
  ), xA = (t) => (s) => s.issueTypeFieldsReducer.instances[t], WA = f(
2533
- p([vt, (t, s) => s], (t, s) => {
2533
+ p([Bt, (t, s) => s], (t, s) => {
2534
2534
  const e = new Set(s);
2535
2535
  return S(t.filter(({ uuid: i }) => e.has(i)));
2536
2536
  })
@@ -2621,7 +2621,7 @@ const f = (
2621
2621
  return S(t.filter(({ uuid: i }) => e.has(i)));
2622
2622
  }
2623
2623
  )
2624
- ), tM = f(
2624
+ ), tF = f(
2625
2625
  p([or, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
2626
2626
  ), pw = cr.reducer, $e = I((t) => t.uuid), wi = {
2627
2627
  instances: {}
@@ -2653,22 +2653,22 @@ const f = (
2653
2653
  updateIssueTypeIdentifierValues: Ow,
2654
2654
  deleteIssueTypeIdentifierValue: Tw,
2655
2655
  deleteIssueTypeIdentifierValues: _w
2656
- } = dr.actions, Iw = (t) => t.issueTypeIdentifierValueReducer.instances, ds = p(
2656
+ } = dr.actions, Iw = (t) => t.issueTypeIdentifierValueReducer.instances, ls = p(
2657
2657
  [Iw],
2658
2658
  (t) => Object.values(t)
2659
2659
  ), bw = (t) => (s) => s.issueTypeIdentifierValueReducer.instances[t], gw = f(
2660
2660
  p(
2661
- [ds, (t, s) => s],
2661
+ [ls, (t, s) => s],
2662
2662
  (t, s) => {
2663
2663
  const e = new Set(s);
2664
2664
  return S(t.filter(({ uuid: i }) => e.has(i)));
2665
2665
  }
2666
2666
  )
2667
- ), sM = f(
2668
- p([ds, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
2669
- ), iM = f(
2667
+ ), sF = f(
2668
+ p([ls, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
2669
+ ), iF = f(
2670
2670
  p(
2671
- [ds, (t, s) => s],
2671
+ [ls, (t, s) => s],
2672
2672
  (t, s) => S(
2673
2673
  t.filter((e) => e.issue_type_identifier === s)
2674
2674
  )
@@ -2697,8 +2697,8 @@ const f = (
2697
2697
  }
2698
2698
  }), {
2699
2699
  initializeIssueTypes: Pw,
2700
- addIssueType: Mw,
2701
- addIssueTypes: Fw,
2700
+ addIssueType: Fw,
2701
+ addIssueTypes: Mw,
2702
2702
  setIssueType: Rw,
2703
2703
  setIssueTypes: Ew,
2704
2704
  updateIssueType: vw,
@@ -2713,7 +2713,7 @@ const f = (
2713
2713
  const e = new Set(s);
2714
2714
  return S(t.filter(({ uuid: i }) => e.has(i)));
2715
2715
  })
2716
- ), nM = f(
2716
+ ), nF = f(
2717
2717
  p([lr, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
2718
2718
  ), jw = ur.reducer, xe = I((t) => t.uuid), Ti = {
2719
2719
  instances: {}
@@ -2750,7 +2750,7 @@ const f = (
2750
2750
  const e = new Set(s);
2751
2751
  return S(t.filter(({ uuid: i }) => e.has(i)));
2752
2752
  })
2753
- ), aM = f(
2753
+ ), aF = f(
2754
2754
  p([pr, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
2755
2755
  ), Jw = hr.reducer, We = I(
2756
2756
  (t) => t.uuid
@@ -2841,10 +2841,10 @@ const f = (
2841
2841
  updateUser: hO,
2842
2842
  deleteUser: br,
2843
2843
  deleteUsers: pO,
2844
- setCurrentUser: rM,
2845
- setCurrentUserProfile: cM
2846
- } = _r.actions, mO = _r.reducer, yO = (t) => t.userReducer.currentUser, gr = (t) => t.userReducer.instances, us = p([gr], (t) => Object.values(t)), ls = (t) => (s) => s.userReducer.instances[t], fO = f(
2847
- p([us, (t, s) => s], (t, s) => {
2844
+ setCurrentUser: rF,
2845
+ setCurrentUserProfile: cF
2846
+ } = _r.actions, mO = _r.reducer, yO = (t) => t.userReducer.currentUser, gr = (t) => t.userReducer.instances, hs = p([gr], (t) => Object.values(t)), ps = (t) => (s) => s.userReducer.instances[t], fO = f(
2847
+ p([hs, (t, s) => s], (t, s) => {
2848
2848
  const e = new Set(s);
2849
2849
  return S(t.filter(({ id: i }) => e.has(i)));
2850
2850
  })
@@ -2878,27 +2878,27 @@ const f = (
2878
2878
  updateOrganizationAccesses: IO,
2879
2879
  deleteOrganizationAccess: bO,
2880
2880
  deleteOrganizationAccesses: gO
2881
- } = kr.actions, kO = kr.reducer, hs = (t) => t.organizationAccessReducer.instances, PO = (t) => (s) => s.organizationAccessReducer.instances[t], MO = f(
2881
+ } = kr.actions, kO = kr.reducer, ms = (t) => t.organizationAccessReducer.instances, PO = (t) => (s) => s.organizationAccessReducer.instances[t], FO = f(
2882
2882
  p(
2883
- [hs, (t, s) => s],
2883
+ [ms, (t, s) => s],
2884
2884
  (t, s) => {
2885
2885
  const e = new Set(s);
2886
2886
  return S(Object.values(t).filter(({ uuid: i }) => e.has(i)));
2887
2887
  }
2888
2888
  )
2889
- ), oM = p(
2890
- [yO, hs],
2889
+ ), oF = p(
2890
+ [yO, ms],
2891
2891
  (t, s) => Object.values(s).find(
2892
2892
  (i) => i.user === (t == null ? void 0 : t.id)
2893
2893
  ) ?? null
2894
- ), FO = p([hs], (t) => {
2894
+ ), MO = p([ms], (t) => {
2895
2895
  const s = {};
2896
2896
  for (const e of Object.values(t))
2897
2897
  s[e.user] = e;
2898
- return Nt(s);
2899
- }), dM = f(
2898
+ return Gt(s);
2899
+ }), dF = f(
2900
2900
  p(
2901
- [gr, FO, (t, s) => s],
2901
+ [gr, MO, (t, s) => s],
2902
2902
  (t, s, e) => S(
2903
2903
  Object.values(t).filter((i) => {
2904
2904
  const n = s[i.id];
@@ -2960,7 +2960,7 @@ const f = (
2960
2960
  }, ki = {
2961
2961
  deletedRequests: [],
2962
2962
  latestRetryTime: 0
2963
- }, Mr = T({
2963
+ }, Fr = T({
2964
2964
  name: "outbox",
2965
2965
  initialState: ki,
2966
2966
  extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, ki)),
@@ -2987,11 +2987,11 @@ const f = (
2987
2987
  t.latestRetryTime = s.payload;
2988
2988
  }
2989
2989
  }
2990
- }), uM = (t) => t.outboxReducer.deletedRequests, lM = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: NO, markForDeletion: hM, markAsDeleted: HO, _setLatestRetryTime: GO } = Mr.actions, KO = Mr.reducer, Ne = I(
2990
+ }), uF = (t) => t.outboxReducer.deletedRequests, lF = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: NO, markForDeletion: hF, markAsDeleted: HO, _setLatestRetryTime: GO } = Fr.actions, KO = Fr.reducer, Ne = I(
2991
2991
  (t) => t.uuid
2992
2992
  ), Pi = {
2993
2993
  instances: {}
2994
- }, Fr = T({
2994
+ }, Mr = T({
2995
2995
  name: "projectAccess",
2996
2996
  initialState: Pi,
2997
2997
  extraReducers: (t) => t.addMatcher(
@@ -3019,44 +3019,44 @@ const f = (
3019
3019
  updateProjectAccesses: tT,
3020
3020
  deleteProjectAccess: sT,
3021
3021
  deleteProjectAccesses: iT
3022
- } = Fr.actions, nT = Fr.reducer, Rr = (t) => t.projectAccessReducer.instances, Bt = p(
3022
+ } = Mr.actions, nT = Mr.reducer, Rr = (t) => t.projectAccessReducer.instances, Vt = p(
3023
3023
  Rr,
3024
3024
  (t) => Object.values(t)
3025
3025
  ), aT = (t) => (s) => s.projectAccessReducer.instances[t], rT = f(
3026
- p([Bt, (t, s) => s], (t, s) => {
3026
+ p([Vt, (t, s) => s], (t, s) => {
3027
3027
  const e = new Set(s);
3028
3028
  return S(t.filter(({ uuid: i }) => e.has(i)));
3029
3029
  })
3030
- ), pM = f(
3030
+ ), pF = f(
3031
3031
  p(
3032
3032
  [Rr, (t, s) => s],
3033
3033
  (t, s) => S(
3034
3034
  Object.values(t).filter((e) => e.project === s)
3035
3035
  )
3036
3036
  )
3037
- ), mM = f(
3038
- p([Bt, (t, s) => s], (t, s) => {
3037
+ ), mF = f(
3038
+ p([Vt, (t, s) => s], (t, s) => {
3039
3039
  const e = {};
3040
3040
  for (const i of t.filter((n) => n.project === s))
3041
3041
  e[i.user] = i;
3042
3042
  return e;
3043
3043
  })
3044
- ), yM = f(
3044
+ ), yF = f(
3045
3045
  p(
3046
- [us, Bt, (t, s) => s],
3046
+ [hs, Vt, (t, s) => s],
3047
3047
  (t, s, e) => {
3048
3048
  const i = new Set(s.filter((n) => n.project === e).map((n) => n.user));
3049
3049
  return S(t.filter((n) => i.has(n.id)));
3050
3050
  }
3051
3051
  )
3052
- ), He = I((t) => t.uuid), Mi = {
3052
+ ), He = I((t) => t.uuid), Fi = {
3053
3053
  instances: {}
3054
3054
  }, Er = T({
3055
3055
  name: "projectAttachments",
3056
- initialState: Mi,
3056
+ initialState: Fi,
3057
3057
  extraReducers: (t) => t.addMatcher(
3058
3058
  g(O, b),
3059
- (s) => Object.assign(s, Mi)
3059
+ (s) => Object.assign(s, Fi)
3060
3060
  ),
3061
3061
  reducers: {
3062
3062
  initializeProjectAttachments: He.initialize,
@@ -3087,18 +3087,18 @@ const f = (
3087
3087
  const e = new Set(s);
3088
3088
  return S(t.filter(({ uuid: i }) => e.has(i)));
3089
3089
  })
3090
- ), fM = f(
3090
+ ), fF = f(
3091
3091
  p([vr, (t, s) => s], (t, s) => S(t.filter(({ project: e }) => s === e)))
3092
3092
  ), wT = Er.reducer, Ge = I(
3093
3093
  (t) => t.uuid
3094
- ), Fi = {
3094
+ ), Mi = {
3095
3095
  instances: {}
3096
3096
  }, Br = T({
3097
3097
  name: "projectFiles",
3098
- initialState: Fi,
3098
+ initialState: Mi,
3099
3099
  extraReducers: (t) => t.addMatcher(
3100
3100
  g(O, z, b),
3101
- (s) => Object.assign(s, Fi)
3101
+ (s) => Object.assign(s, Mi)
3102
3102
  ),
3103
3103
  reducers: {
3104
3104
  initializeProjectFiles: Ge.initialize,
@@ -3120,8 +3120,8 @@ const f = (
3120
3120
  updateProjectFile: gT,
3121
3121
  updateProjectFiles: kT,
3122
3122
  deleteProjectFile: PT,
3123
- deleteProjectFiles: MT
3124
- } = Br.actions, FT = (t) => t.projectFileReducer.instances, RT = p([FT], (t) => S(Object.values(t).sort((s, e) => s.z_index - e.z_index))), ET = (t) => (s) => s.projectFileReducer.instances[t], vT = f(
3123
+ deleteProjectFiles: FT
3124
+ } = Br.actions, MT = (t) => t.projectFileReducer.instances, RT = p([MT], (t) => S(Object.values(t).sort((s, e) => s.z_index - e.z_index))), ET = (t) => (s) => s.projectFileReducer.instances[t], vT = f(
3125
3125
  p([RT, (t, s) => s], (t, s) => {
3126
3126
  const e = new Set(s);
3127
3127
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -3156,18 +3156,18 @@ const f = (
3156
3156
  updateProject: xT,
3157
3157
  deleteProject: WT,
3158
3158
  deleteProjects: CT
3159
- } = Vr.actions, UT = Vr.reducer, LT = (t) => t.projectReducer.instances, ps = p([LT], (t) => Object.values(t)), NT = (t) => (s) => s.projectReducer.instances[t], HT = f(
3160
- p([ps, (t, s) => s], (t, s) => {
3159
+ } = Vr.actions, UT = Vr.reducer, LT = (t) => t.projectReducer.instances, ys = p([LT], (t) => Object.values(t)), NT = (t) => (s) => s.projectReducer.instances[t], HT = f(
3160
+ p([ys, (t, s) => s], (t, s) => {
3161
3161
  const e = new Set(s);
3162
3162
  return S(t.filter(({ uuid: i }) => e.has(i)));
3163
3163
  })
3164
- ), SM = f(
3165
- p([ps, Bt, (t, s) => s], (t, s, e) => {
3164
+ ), SF = f(
3165
+ p([ys, Vt, (t, s) => s], (t, s, e) => {
3166
3166
  const i = new Set(s.filter((n) => n.user === e).map((n) => n.project));
3167
3167
  return S(t.filter((n) => i.has(n.uuid)));
3168
3168
  })
3169
- ), AM = f(
3170
- p([ps, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
3169
+ ), AF = f(
3170
+ p([ys, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
3171
3171
  ), GT = {
3172
3172
  isRehydrated: !1
3173
3173
  }, zr = T({
@@ -3179,7 +3179,7 @@ const f = (
3179
3179
  t.isRehydrated = s.payload;
3180
3180
  }
3181
3181
  }
3182
- }), { setRehydrated: wM } = zr.actions, OM = (t) => t.rehydratedReducer.isRehydrated, KT = zr.reducer, Ye = I(
3182
+ }), { setRehydrated: wF } = zr.actions, OF = (t) => t.rehydratedReducer.isRehydrated, KT = zr.reducer, Ye = I(
3183
3183
  (t) => t.uuid
3184
3184
  ), Ei = {
3185
3185
  instances: {}
@@ -3211,24 +3211,24 @@ const f = (
3211
3211
  updateTeamMemberships: t_,
3212
3212
  deleteTeamMembership: s_,
3213
3213
  deleteTeamMemberships: i_
3214
- } = qr.actions, n_ = qr.reducer, a_ = (t) => t.teamMembershipReducer.instances, ms = p(
3214
+ } = qr.actions, n_ = qr.reducer, a_ = (t) => t.teamMembershipReducer.instances, fs = p(
3215
3215
  [a_],
3216
3216
  (t) => Object.values(t)
3217
3217
  ), r_ = (t) => (s) => s.teamMembershipReducer.instances[t], c_ = f(
3218
- p([ms, (t, s) => s], (t, s) => {
3218
+ p([fs, (t, s) => s], (t, s) => {
3219
3219
  const e = new Set(s);
3220
3220
  return S(t.filter(({ uuid: i }) => e.has(i)));
3221
3221
  })
3222
- ), TM = f(
3223
- p([ms, (t, s) => s], (t, s) => {
3222
+ ), TF = f(
3223
+ p([fs, (t, s) => s], (t, s) => {
3224
3224
  const e = {};
3225
3225
  for (const i of t.filter((n) => n.team === s))
3226
3226
  e[i.user] = i;
3227
3227
  return e;
3228
3228
  })
3229
- ), _M = f(
3229
+ ), _F = f(
3230
3230
  p(
3231
- [us, ms, (t, s) => s],
3231
+ [hs, fs, (t, s) => s],
3232
3232
  (t, s, e) => {
3233
3233
  const i = new Set(s.filter((n) => n.team === e).map((n) => n.user));
3234
3234
  return S(t.filter((n) => i.has(n.id)));
@@ -3269,7 +3269,7 @@ const f = (
3269
3269
  const e = new Set(s);
3270
3270
  return S(t.filter(({ uuid: i }) => e.has(i)));
3271
3271
  })
3272
- ), IM = f(
3272
+ ), IF = f(
3273
3273
  p([$r, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
3274
3274
  ), O_ = Dr.reducer, T_ = {
3275
3275
  version: 0
@@ -3304,23 +3304,23 @@ const f = (
3304
3304
  addWorkflow: g_,
3305
3305
  addWorkflows: k_,
3306
3306
  setWorkflow: P_,
3307
- setWorkflows: M_,
3308
- updateWorkflow: F_,
3307
+ setWorkflows: F_,
3308
+ updateWorkflow: M_,
3309
3309
  updateWorkflows: R_,
3310
3310
  deleteWorkflow: E_,
3311
3311
  deleteWorkflows: v_
3312
- } = jr.actions, B_ = (t) => t.workflowReducer.instances, ys = p(
3312
+ } = jr.actions, B_ = (t) => t.workflowReducer.instances, Ss = p(
3313
3313
  [B_],
3314
3314
  (t) => Object.values(t)
3315
3315
  ), V_ = (t) => (s) => s.workflowReducer.instances[t], z_ = f(
3316
- p([ys, (t, s) => s], (t, s) => {
3316
+ p([Ss, (t, s) => s], (t, s) => {
3317
3317
  const e = new Set(s);
3318
3318
  return S(t.filter(({ uuid: i }) => e.has(i)));
3319
3319
  })
3320
- ), bM = f(
3321
- p([ys, (t, s) => s], (t, s) => S(t.filter((e) => e.project === s)))
3322
- ), gM = f(
3323
- p([ys, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_type === s)))
3320
+ ), bF = f(
3321
+ p([Ss, (t, s) => s], (t, s) => S(t.filter((e) => e.project === s)))
3322
+ ), gF = f(
3323
+ p([Ss, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_type === s)))
3324
3324
  ), q_ = jr.reducer, Ze = I((t) => t.uuid), Vi = {
3325
3325
  instances: {}
3326
3326
  }, xr = T({
@@ -3351,22 +3351,22 @@ const f = (
3351
3351
  updateWorkflowStepAssignees: U_,
3352
3352
  deleteWorkflowStepAssignee: L_,
3353
3353
  deleteWorkflowStepAssignees: N_
3354
- } = xr.actions, H_ = (t) => t.workflowStepAssigneeReducer.instances, Vt = p([H_], (t) => Object.values(t)), G_ = (t) => (s) => s.workflowStepAssigneeReducer.instances[t], K_ = f(
3354
+ } = xr.actions, H_ = (t) => t.workflowStepAssigneeReducer.instances, zt = p([H_], (t) => Object.values(t)), G_ = (t) => (s) => s.workflowStepAssigneeReducer.instances[t], K_ = f(
3355
3355
  p(
3356
- [Vt, (t, s) => s],
3356
+ [zt, (t, s) => s],
3357
3357
  (t, s) => {
3358
3358
  const e = new Set(s);
3359
3359
  return S(t.filter(({ uuid: i }) => e.has(i)));
3360
3360
  }
3361
3361
  )
3362
- ), kM = f(
3363
- p([Vt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3364
- ), PM = f(
3365
- p([Vt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3366
- ), MM = f(
3362
+ ), kF = f(
3363
+ p([zt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3364
+ ), PF = f(
3365
+ p([zt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3366
+ ), FF = f(
3367
3367
  p(
3368
3368
  [
3369
- Vt,
3369
+ zt,
3370
3370
  (t, s) => s,
3371
3371
  (t, s, e) => e
3372
3372
  ],
@@ -3406,22 +3406,22 @@ const f = (
3406
3406
  updateWorkflowStepComments: sI,
3407
3407
  deleteWorkflowStepComment: iI,
3408
3408
  deleteWorkflowStepComments: nI
3409
- } = Wr.actions, aI = (t) => t.workflowStepCommentReducer.instances, zt = p([aI], (t) => Object.values(t)), rI = (t) => (s) => s.workflowStepCommentReducer.instances[t], cI = f(
3409
+ } = Wr.actions, aI = (t) => t.workflowStepCommentReducer.instances, qt = p([aI], (t) => Object.values(t)), rI = (t) => (s) => s.workflowStepCommentReducer.instances[t], cI = f(
3410
3410
  p(
3411
- [zt, (t, s) => s],
3411
+ [qt, (t, s) => s],
3412
3412
  (t, s) => {
3413
3413
  const e = new Set(s);
3414
3414
  return S(t.filter(({ uuid: i }) => e.has(i)));
3415
3415
  }
3416
3416
  )
3417
- ), FM = f(
3418
- p([zt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3419
- ), RM = f(
3420
- p([zt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3421
- ), EM = f(
3417
+ ), MF = f(
3418
+ p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3419
+ ), RF = f(
3420
+ p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3421
+ ), EF = f(
3422
3422
  p(
3423
3423
  [
3424
- zt,
3424
+ qt,
3425
3425
  (t, s) => s,
3426
3426
  (t, s, e) => e
3427
3427
  ],
@@ -3461,19 +3461,19 @@ const f = (
3461
3461
  updateWorkflowStepEvents: yI,
3462
3462
  deleteWorkflowStepEvent: fI,
3463
3463
  deleteWorkflowStepEvents: SI
3464
- } = Cr.actions, AI = (t) => t.workflowStepEventReducer.instances, qt = p([AI], (t) => Object.values(t)), wI = (t) => (s) => s.workflowStepEventReducer.instances[t], OI = f(
3465
- p([qt, (t, s) => s], (t, s) => {
3464
+ } = Cr.actions, AI = (t) => t.workflowStepEventReducer.instances, Dt = p([AI], (t) => Object.values(t)), wI = (t) => (s) => s.workflowStepEventReducer.instances[t], OI = f(
3465
+ p([Dt, (t, s) => s], (t, s) => {
3466
3466
  const e = new Set(s);
3467
3467
  return S(t.filter(({ uuid: i }) => e.has(i)));
3468
3468
  })
3469
- ), vM = f(
3470
- p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3471
- ), BM = f(
3472
- p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3473
- ), VM = f(
3469
+ ), vF = f(
3470
+ p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3471
+ ), BF = f(
3472
+ p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3473
+ ), VF = f(
3474
3474
  p(
3475
3475
  [
3476
- qt,
3476
+ Dt,
3477
3477
  (t, s) => s,
3478
3478
  (t, s, e) => e
3479
3479
  ],
@@ -3511,10 +3511,10 @@ const f = (
3511
3511
  setWorkflowStepFieldsAttachments: gI,
3512
3512
  updateWorkflowStepFieldsAttachment: kI,
3513
3513
  updateWorkflowStepFieldsAttachments: PI,
3514
- deleteWorkflowStepFieldsAttachment: MI,
3514
+ deleteWorkflowStepFieldsAttachment: FI,
3515
3515
  deleteWorkflowStepFieldsAttachments: Nr
3516
- } = Ur.actions, FI = (t) => t.workflowStepFieldsAttachmentReducer.instances, Hr = p(
3517
- [FI],
3516
+ } = Ur.actions, MI = (t) => t.workflowStepFieldsAttachmentReducer.instances, Hr = p(
3517
+ [MI],
3518
3518
  (t) => Object.values(t)
3519
3519
  ), RI = f(
3520
3520
  p(
@@ -3559,13 +3559,13 @@ const f = (
3559
3559
  updateWorkflowStepFieldsMany: xI,
3560
3560
  deleteWorkflowStepFields: WI,
3561
3561
  deleteWorkflowStepFieldsMany: CI
3562
- } = Gr.actions, UI = (t) => t.workflowStepFieldsReducer.instances, fs = p([UI], (t) => Object.values(t)), zM = f(
3563
- p([fs, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3564
- ), qM = f(
3565
- p([fs, (t, s) => s], (t, s) => t.filter((e) => e.workflow_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
3562
+ } = Gr.actions, UI = (t) => t.workflowStepFieldsReducer.instances, As = p([UI], (t) => Object.values(t)), zF = f(
3563
+ p([As, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3564
+ ), qF = f(
3565
+ p([As, (t, s) => s], (t, s) => t.filter((e) => e.workflow_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
3566
3566
  ), LI = (t) => (s) => s.workflowStepFieldsReducer.instances[t], NI = f(
3567
3567
  p(
3568
- [fs, (t, s) => s],
3568
+ [As, (t, s) => s],
3569
3569
  (t, s) => {
3570
3570
  const e = new Set(s);
3571
3571
  return S(t.filter(({ uuid: i }) => e.has(i)));
@@ -3620,113 +3620,116 @@ const f = (
3620
3620
  ), nb = Kr.reducer, nt = I((t) => t.uuid), xi = {
3621
3621
  instances: {}
3622
3622
  }, Zr = T({
3623
- name: "workflowStepFieldValuesReviewRequests",
3623
+ name: "workflowStepFieldValues",
3624
3624
  initialState: xi,
3625
3625
  extraReducers: (t) => t.addMatcher(
3626
3626
  g(O, z, b),
3627
3627
  (s) => Object.assign(s, xi)
3628
3628
  ),
3629
3629
  reducers: {
3630
- initializeWorkflowStepFieldValuesReviewRequests: nt.initialize,
3631
- addWorkflowStepFieldValuesReviewRequest: nt.addOne,
3632
- addWorkflowStepFieldValuesReviewRequests: nt.addMany,
3633
- setWorkflowStepFieldValuesReviewRequest: nt.setOne,
3634
- setWorkflowStepFieldValuesReviewRequests: nt.setMany,
3635
- updateWorkflowStepFieldValuesReviewRequest: nt.updateOne,
3636
- updateWorkflowStepFieldValuesReviewRequests: nt.updateMany,
3637
- deleteWorkflowStepFieldValuesReviewRequest: nt.deleteOne,
3638
- deleteWorkflowStepFieldValuesReviewRequests: nt.deleteMany
3630
+ initializeWorkflowStepFieldValues: nt.initialize,
3631
+ addWorkflowStepFieldValues: nt.addOne,
3632
+ addWorkflowStepFieldValuesMany: nt.addMany,
3633
+ setWorkflowStepFieldValues: nt.setOne,
3634
+ setWorkflowStepFieldValuesMany: nt.setMany,
3635
+ updateWorkflowStepFieldValues: nt.updateOne,
3636
+ updateWorkflowStepFieldValuesMany: nt.updateMany,
3637
+ deleteWorkflowStepFieldValues: nt.deleteOne,
3638
+ deleteWorkflowStepFieldValuesMany: nt.deleteMany
3639
3639
  }
3640
3640
  }), {
3641
- initializeWorkflowStepFieldValuesReviewRequests: ab,
3642
- addWorkflowStepFieldValuesReviewRequest: rb,
3643
- addWorkflowStepFieldValuesReviewRequests: Xr,
3644
- setWorkflowStepFieldValuesReviewRequest: cb,
3645
- setWorkflowStepFieldValuesReviewRequests: ob,
3646
- updateWorkflowStepFieldValuesReviewRequest: db,
3647
- updateWorkflowStepFieldValuesReviewRequests: ub,
3648
- deleteWorkflowStepFieldValuesReviewRequest: lb,
3649
- deleteWorkflowStepFieldValuesReviewRequests: ec
3650
- } = Zr.actions, hb = (t) => t.workflowStepFieldValuesReviewRequestReducer.instances, Ss = p(
3651
- [hb],
3641
+ initializeWorkflowStepFieldValues: ab,
3642
+ addWorkflowStepFieldValues: rb,
3643
+ addWorkflowStepFieldValuesMany: cb,
3644
+ setWorkflowStepFieldValues: ob,
3645
+ setWorkflowStepFieldValuesMany: db,
3646
+ updateWorkflowStepFieldValues: ub,
3647
+ updateWorkflowStepFieldValuesMany: lb,
3648
+ deleteWorkflowStepFieldValues: hb,
3649
+ deleteWorkflowStepFieldValuesMany: pb
3650
+ } = Zr.actions, mb = (t) => t.workflowStepFieldValuesReducer.instances, wt = p(
3651
+ [mb],
3652
3652
  (t) => Object.values(t)
3653
- ), pb = (t) => (s) => s.workflowStepFieldValuesReviewRequestReducer.instances[t], mb = f(
3653
+ ), DF = f(
3654
+ p([wt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3655
+ ), $F = f(
3654
3656
  p(
3655
- [
3656
- Ss,
3657
- (t, s) => s
3658
- ],
3657
+ [wt, (t, s) => s],
3658
+ (t, s) => S(t.filter((e) => e.workflow_step === s))
3659
+ )
3660
+ ), yb = (t) => (s) => s.workflowStepFieldValuesReducer.instances[t], fb = f(
3661
+ p(
3662
+ [wt, (t, s) => s],
3659
3663
  (t, s) => {
3660
3664
  const e = new Set(s);
3661
3665
  return S(t.filter(({ uuid: i }) => e.has(i)));
3662
3666
  }
3663
3667
  )
3664
- ), yb = f(
3668
+ ), jF = f(
3665
3669
  p(
3666
- [Ss, (t, s) => s],
3667
- (t, s) => S(t.filter((e) => e.field_values === s))
3668
- )
3669
- ), DM = f(
3670
- p(
3671
- [Ss, (t, s) => s],
3672
- (t, s) => {
3673
- let e;
3674
- for (const i of t) {
3675
- const { field_values: n } = i;
3676
- n === s && (!e || e.submitted_at <= i.submitted_at) && (e = i);
3677
- }
3678
- return e;
3679
- }
3670
+ [
3671
+ wt,
3672
+ (t, s) => s,
3673
+ (t, s, e) => e
3674
+ ],
3675
+ (t, s, e) => S(
3676
+ t.filter(
3677
+ ({ workflow: i, workflow_step: n }) => i === s && n === e
3678
+ )
3679
+ )
3680
3680
  )
3681
- ), fb = Zr.reducer, at = I((t) => t.uuid), Wi = {
3681
+ ), Sb = Zr.reducer, at = I((t) => t.uuid), Wi = {
3682
3682
  instances: {}
3683
- }, tc = T({
3684
- name: "workflowStepFieldValuesReviews",
3683
+ }, Xr = T({
3684
+ name: "workflowStepFieldValuesReviewRequests",
3685
3685
  initialState: Wi,
3686
3686
  extraReducers: (t) => t.addMatcher(
3687
3687
  g(O, z, b),
3688
3688
  (s) => Object.assign(s, Wi)
3689
3689
  ),
3690
3690
  reducers: {
3691
- initializeWorkflowStepFieldValuesReviews: at.initialize,
3692
- addWorkflowStepFieldValuesReview: at.addOne,
3693
- addWorkflowStepFieldValuesReviews: at.addMany,
3694
- setWorkflowStepFieldValuesReview: at.setOne,
3695
- setWorkflowStepFieldValuesReviews: at.setMany,
3696
- updateWorkflowStepFieldValuesReview: at.updateOne,
3697
- updateWorkflowStepFieldValuesReviews: at.updateMany,
3698
- deleteWorkflowStepFieldValuesReview: at.deleteOne,
3699
- deleteWorkflowStepFieldValuesReviews: at.deleteMany
3691
+ initializeWorkflowStepFieldValuesReviewRequests: at.initialize,
3692
+ addWorkflowStepFieldValuesReviewRequest: at.addOne,
3693
+ addWorkflowStepFieldValuesReviewRequests: at.addMany,
3694
+ setWorkflowStepFieldValuesReviewRequest: at.setOne,
3695
+ setWorkflowStepFieldValuesReviewRequests: at.setMany,
3696
+ updateWorkflowStepFieldValuesReviewRequest: at.updateOne,
3697
+ updateWorkflowStepFieldValuesReviewRequests: at.updateMany,
3698
+ deleteWorkflowStepFieldValuesReviewRequest: at.deleteOne,
3699
+ deleteWorkflowStepFieldValuesReviewRequests: at.deleteMany
3700
3700
  }
3701
3701
  }), {
3702
- initializeWorkflowStepFieldValuesReviews: Sb,
3703
- addWorkflowStepFieldValuesReview: Ab,
3704
- addWorkflowStepFieldValuesReviews: sc,
3705
- setWorkflowStepFieldValuesReview: wb,
3706
- setWorkflowStepFieldValuesReviews: Ob,
3707
- updateWorkflowStepFieldValuesReview: Tb,
3708
- updateWorkflowStepFieldValuesReviews: _b,
3709
- deleteWorkflowStepFieldValuesReview: Ib,
3710
- deleteWorkflowStepFieldValuesReviews: ic
3711
- } = tc.actions, bb = (t) => t.workflowStepFieldValuesReviewReducer.instances, As = p(
3712
- [bb],
3702
+ initializeWorkflowStepFieldValuesReviewRequests: Ab,
3703
+ addWorkflowStepFieldValuesReviewRequest: wb,
3704
+ addWorkflowStepFieldValuesReviewRequests: ec,
3705
+ setWorkflowStepFieldValuesReviewRequest: Ob,
3706
+ setWorkflowStepFieldValuesReviewRequests: Tb,
3707
+ updateWorkflowStepFieldValuesReviewRequest: _b,
3708
+ updateWorkflowStepFieldValuesReviewRequests: Ib,
3709
+ deleteWorkflowStepFieldValuesReviewRequest: bb,
3710
+ deleteWorkflowStepFieldValuesReviewRequests: tc
3711
+ } = Xr.actions, gb = (t) => t.workflowStepFieldValuesReviewRequestReducer.instances, $t = p(
3712
+ [gb],
3713
3713
  (t) => Object.values(t)
3714
- ), gb = (t) => (s) => s.workflowStepFieldValuesReviewReducer.instances[t], kb = f(
3714
+ ), kb = (t) => (s) => s.workflowStepFieldValuesReviewRequestReducer.instances[t], Pb = f(
3715
3715
  p(
3716
- [As, (t, s) => s],
3716
+ [
3717
+ $t,
3718
+ (t, s) => s
3719
+ ],
3717
3720
  (t, s) => {
3718
3721
  const e = new Set(s);
3719
3722
  return S(t.filter(({ uuid: i }) => e.has(i)));
3720
3723
  }
3721
3724
  )
3722
- ), Pb = f(
3725
+ ), Fb = f(
3723
3726
  p(
3724
- [As, (t, s) => s],
3727
+ [$t, (t, s) => s],
3725
3728
  (t, s) => S(t.filter((e) => e.field_values === s))
3726
3729
  )
3727
- ), $M = f(
3730
+ ), xF = f(
3728
3731
  p(
3729
- [As, (t, s) => s],
3732
+ [$t, (t, s) => s],
3730
3733
  (t, s) => {
3731
3734
  let e;
3732
3735
  for (const i of t) {
@@ -3736,68 +3739,107 @@ const f = (
3736
3739
  return e;
3737
3740
  }
3738
3741
  )
3739
- ), Mb = tc.reducer, rt = I((t) => t.uuid), Ci = {
3742
+ ), WF = f(
3743
+ p(
3744
+ [
3745
+ wt,
3746
+ $t,
3747
+ (t, s) => s,
3748
+ (t, s, e) => e
3749
+ ],
3750
+ (t, s, e, i) => {
3751
+ const n = new Set(
3752
+ V(
3753
+ t.filter(
3754
+ ({ workflow_step: a, workflow: r }) => e === r && a === i
3755
+ )
3756
+ )
3757
+ );
3758
+ return S(
3759
+ s.filter(({ field_values: a }) => n.has(a))
3760
+ );
3761
+ }
3762
+ )
3763
+ ), Mb = Xr.reducer, rt = I((t) => t.uuid), Ci = {
3740
3764
  instances: {}
3741
- }, nc = T({
3742
- name: "workflowStepFieldValues",
3765
+ }, sc = T({
3766
+ name: "workflowStepFieldValuesReviews",
3743
3767
  initialState: Ci,
3744
3768
  extraReducers: (t) => t.addMatcher(
3745
3769
  g(O, z, b),
3746
3770
  (s) => Object.assign(s, Ci)
3747
3771
  ),
3748
3772
  reducers: {
3749
- initializeWorkflowStepFieldValues: rt.initialize,
3750
- addWorkflowStepFieldValues: rt.addOne,
3751
- addWorkflowStepFieldValuesMany: rt.addMany,
3752
- setWorkflowStepFieldValues: rt.setOne,
3753
- setWorkflowStepFieldValuesMany: rt.setMany,
3754
- updateWorkflowStepFieldValues: rt.updateOne,
3755
- updateWorkflowStepFieldValuesMany: rt.updateMany,
3756
- deleteWorkflowStepFieldValues: rt.deleteOne,
3757
- deleteWorkflowStepFieldValuesMany: rt.deleteMany
3773
+ initializeWorkflowStepFieldValuesReviews: rt.initialize,
3774
+ addWorkflowStepFieldValuesReview: rt.addOne,
3775
+ addWorkflowStepFieldValuesReviews: rt.addMany,
3776
+ setWorkflowStepFieldValuesReview: rt.setOne,
3777
+ setWorkflowStepFieldValuesReviews: rt.setMany,
3778
+ updateWorkflowStepFieldValuesReview: rt.updateOne,
3779
+ updateWorkflowStepFieldValuesReviews: rt.updateMany,
3780
+ deleteWorkflowStepFieldValuesReview: rt.deleteOne,
3781
+ deleteWorkflowStepFieldValuesReviews: rt.deleteMany
3758
3782
  }
3759
3783
  }), {
3760
- initializeWorkflowStepFieldValues: Fb,
3761
- addWorkflowStepFieldValues: Rb,
3762
- addWorkflowStepFieldValuesMany: Eb,
3763
- setWorkflowStepFieldValues: vb,
3764
- setWorkflowStepFieldValuesMany: Bb,
3765
- updateWorkflowStepFieldValues: Vb,
3766
- updateWorkflowStepFieldValuesMany: zb,
3767
- deleteWorkflowStepFieldValues: qb,
3768
- deleteWorkflowStepFieldValuesMany: Db
3769
- } = nc.actions, $b = (t) => t.workflowStepFieldValuesReducer.instances, Dt = p(
3770
- [$b],
3784
+ initializeWorkflowStepFieldValuesReviews: Rb,
3785
+ addWorkflowStepFieldValuesReview: Eb,
3786
+ addWorkflowStepFieldValuesReviews: ic,
3787
+ setWorkflowStepFieldValuesReview: vb,
3788
+ setWorkflowStepFieldValuesReviews: Bb,
3789
+ updateWorkflowStepFieldValuesReview: Vb,
3790
+ updateWorkflowStepFieldValuesReviews: zb,
3791
+ deleteWorkflowStepFieldValuesReview: qb,
3792
+ deleteWorkflowStepFieldValuesReviews: nc
3793
+ } = sc.actions, Db = (t) => t.workflowStepFieldValuesReviewReducer.instances, jt = p(
3794
+ [Db],
3771
3795
  (t) => Object.values(t)
3772
- ), jM = f(
3773
- p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3774
- ), xM = f(
3775
- p(
3776
- [Dt, (t, s) => s],
3777
- (t, s) => S(t.filter((e) => e.workflow_step === s))
3778
- )
3779
- ), jb = (t) => (s) => s.workflowStepFieldValuesReducer.instances[t], xb = f(
3796
+ ), $b = (t) => (s) => s.workflowStepFieldValuesReviewReducer.instances[t], jb = f(
3780
3797
  p(
3781
- [Dt, (t, s) => s],
3798
+ [jt, (t, s) => s],
3782
3799
  (t, s) => {
3783
3800
  const e = new Set(s);
3784
3801
  return S(t.filter(({ uuid: i }) => e.has(i)));
3785
3802
  }
3786
3803
  )
3787
- ), WM = f(
3804
+ ), xb = f(
3805
+ p(
3806
+ [jt, (t, s) => s],
3807
+ (t, s) => S(t.filter((e) => e.field_values === s))
3808
+ )
3809
+ ), CF = f(
3810
+ p(
3811
+ [jt, (t, s) => s],
3812
+ (t, s) => {
3813
+ let e;
3814
+ for (const i of t) {
3815
+ const { field_values: n } = i;
3816
+ n === s && (!e || e.submitted_at <= i.submitted_at) && (e = i);
3817
+ }
3818
+ return e;
3819
+ }
3820
+ )
3821
+ ), UF = f(
3788
3822
  p(
3789
3823
  [
3790
- Dt,
3824
+ wt,
3825
+ jt,
3791
3826
  (t, s) => s,
3792
3827
  (t, s, e) => e
3793
3828
  ],
3794
- (t, s, e) => S(
3795
- t.filter(
3796
- ({ workflow: i, workflow_step: n }) => i === s && n === e
3797
- )
3798
- )
3829
+ (t, s, e, i) => {
3830
+ const n = new Set(
3831
+ V(
3832
+ t.filter(
3833
+ ({ workflow_step: a, workflow: r }) => e === r && a === i
3834
+ )
3835
+ )
3836
+ );
3837
+ return S(
3838
+ s.filter(({ field_values: a }) => n.has(a))
3839
+ );
3840
+ }
3799
3841
  )
3800
- ), Wb = nc.reducer, ct = I((t) => t.uuid), Ui = {
3842
+ ), Wb = sc.reducer, ct = I((t) => t.uuid), Ui = {
3801
3843
  instances: {}
3802
3844
  }, ac = T({
3803
3845
  name: "workflowStepReviewers",
@@ -3827,22 +3869,22 @@ const f = (
3827
3869
  updateWorkflowStepReviewers: Kb,
3828
3870
  deleteWorkflowStepReviewer: Yb,
3829
3871
  deleteWorkflowStepReviewers: Qb
3830
- } = ac.actions, Jb = (t) => t.workflowStepReviewerReducer.instances, $t = p([Jb], (t) => Object.values(t)), Zb = (t) => (s) => s.workflowStepReviewerReducer.instances[t], Xb = f(
3872
+ } = ac.actions, Jb = (t) => t.workflowStepReviewerReducer.instances, xt = p([Jb], (t) => Object.values(t)), Zb = (t) => (s) => s.workflowStepReviewerReducer.instances[t], Xb = f(
3831
3873
  p(
3832
- [$t, (t, s) => s],
3874
+ [xt, (t, s) => s],
3833
3875
  (t, s) => {
3834
3876
  const e = new Set(s);
3835
3877
  return S(t.filter(({ uuid: i }) => e.has(i)));
3836
3878
  }
3837
3879
  )
3838
- ), CM = f(
3839
- p([$t, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3840
- ), UM = f(
3841
- p([$t, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3842
- ), LM = f(
3880
+ ), LF = f(
3881
+ p([xt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
3882
+ ), NF = f(
3883
+ p([xt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
3884
+ ), HF = f(
3843
3885
  p(
3844
3886
  [
3845
- $t,
3887
+ xt,
3846
3888
  (t, s) => s,
3847
3889
  (t, s, e) => e
3848
3890
  ],
@@ -3892,7 +3934,7 @@ const f = (
3892
3934
  const e = new Set(s);
3893
3935
  return S(t.filter(({ uuid: i }) => e.has(i)));
3894
3936
  })
3895
- ), NM = f(
3937
+ ), GF = f(
3896
3938
  p([cc, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_type === s)))
3897
3939
  ), pg = rc.reducer, dt = I(
3898
3940
  (t) => t.uuid
@@ -3934,15 +3976,15 @@ const f = (
3934
3976
  const e = new Set(s);
3935
3977
  return S(t.filter(({ uuid: i }) => e.has(i)));
3936
3978
  })
3937
- ), HM = f(
3979
+ ), KF = f(
3938
3980
  p([dc, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
3939
3981
  ), kg = oc.reducer, uc = {
3940
3982
  outboxReducer: KO,
3941
3983
  fileReducer: Um,
3942
3984
  authReducer: sm
3943
- }, GM = Yi(uc), Pg = {
3985
+ }, YF = Yi(uc), Pg = {
3944
3986
  ...uc,
3945
- [Ft]: I_,
3987
+ [Rt]: I_,
3946
3988
  assetReducer: Tl,
3947
3989
  assetAttachmentReducer: wo,
3948
3990
  assetStageCompletionReducer: El,
@@ -3962,7 +4004,7 @@ const f = (
3962
4004
  rehydratedReducer: KT,
3963
4005
  formReducer: Gy,
3964
4006
  formRevisionReducer: Dy,
3965
- formRevisionAttachmentReducer: My,
4007
+ formRevisionAttachmentReducer: Fy,
3966
4008
  formSubmissionAttachmentReducer: of,
3967
4009
  formSubmissionReducer: Of,
3968
4010
  formIdentifierReducer: sy,
@@ -3979,7 +4021,7 @@ const f = (
3979
4021
  geoImageReducer: Bf,
3980
4022
  issueAssociationReducer: Yf,
3981
4023
  issueTypeFieldsReducer: CA,
3982
- issueTypeFieldValuesReducer: FA,
4024
+ issueTypeFieldValuesReducer: MA,
3983
4025
  issueTypeFieldsAttachmentReducer: fA,
3984
4026
  issueTypeFieldValuesAttachmentReducer: ew,
3985
4027
  issueTypeIdentifierReducer: pw,
@@ -3990,7 +4032,7 @@ const f = (
3990
4032
  assetTypeFieldsAttachmentReducer: Ah,
3991
4033
  assetTypeFieldValuesAttachmentReducer: Uh,
3992
4034
  assetTypeIdentifierReducer: yp,
3993
- assetTypeIdentifierValueReducer: Mp,
4035
+ assetTypeIdentifierValueReducer: Fp,
3994
4036
  assetTypeStatusReducer: em,
3995
4037
  assetProcedureTypeReducer: Jd,
3996
4038
  assetProcedureReducer: Dd,
@@ -3998,7 +4040,7 @@ const f = (
3998
4040
  assetProcedureTypeFieldValuesReducer: kd,
3999
4041
  assetProcedureTypeFieldsAttachmentReducer: Co,
4000
4042
  assetProcedureTypeFieldValuesAttachmentReducer: hd,
4001
- assetProcedureTypeAttachmentReducer: Fo,
4043
+ assetProcedureTypeAttachmentReducer: Mo,
4002
4044
  assetProcedureStepFieldsAttachmentReducer: pu,
4003
4045
  assetProcedureStepFieldsReducer: gu,
4004
4046
  assetProcedureStepFieldValuesAttachmentReducer: Du,
@@ -4013,16 +4055,16 @@ const f = (
4013
4055
  workflowStepAssigneeReducer: Y_,
4014
4056
  workflowStepCommentReducer: oI,
4015
4057
  workflowStepEventReducer: TI,
4016
- workflowStepFieldValuesReducer: Wb,
4058
+ workflowStepFieldValuesReducer: Sb,
4017
4059
  workflowStepFieldValuesAttachmentReducer: nb,
4018
- workflowStepFieldValuesReviewReducer: Mb,
4019
- workflowStepFieldValuesReviewRequestReducer: fb,
4060
+ workflowStepFieldValuesReviewReducer: Wb,
4061
+ workflowStepFieldValuesReviewRequestReducer: Mb,
4020
4062
  workflowStepReviewerReducer: eg
4021
- }, KM = Yi(Pg), Mg = 1e4, Fg = 200, lc = [400, 409, 403, 404, 405, 500], lt = 1e4, hc = {};
4063
+ }, QF = Yi(Pg), Fg = 1e4, Mg = 200, lc = [400, 409, 403, 404, 405, 500], lt = 1e4, hc = {};
4022
4064
  class pc {
4023
4065
  constructor(s) {
4024
4066
  h(this, "client");
4025
- h(this, "pageSize", Mg);
4067
+ h(this, "pageSize", Fg);
4026
4068
  hc[this.constructor.name] = this, this.client = s;
4027
4069
  }
4028
4070
  async performRequest(s, e) {
@@ -4039,12 +4081,12 @@ class pc {
4039
4081
  this.client.store.dispatch(s);
4040
4082
  }
4041
4083
  }
4042
- const mc = () => fc.length - 1, yc = (t) => (t[Ft] = { version: mc() }, t), Hi = () => yc({}), Rg = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Eg = (t) => (s) => {
4084
+ const mc = () => fc.length - 1, yc = (t) => (t[Rt] = { version: mc() }, t), Hi = () => yc({}), Rg = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Eg = (t) => (s) => {
4043
4085
  var e;
4044
- return s === void 0 && (s = {}), ((e = s[Ft]) == null ? void 0 : e.version) === mc() ? s : t(s);
4086
+ return s === void 0 && (s = {}), ((e = s[Rt]) == null ? void 0 : e.version) === mc() ? s : t(s);
4045
4087
  }, fc = [yc, Hi, Hi, Rg], vg = Object.fromEntries(fc.map((t, s) => [s, Eg(t)])), Bg = (t) => {
4046
4088
  if (t) throw t;
4047
- const s = bt();
4089
+ const s = gt();
4048
4090
  s ? s.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
4049
4091
  }, Vg = (t, s, e) => {
4050
4092
  const i = St();
@@ -4072,7 +4114,7 @@ const Dg = {
4072
4114
  retry: Cg,
4073
4115
  // Modify the configuration of the offline store to use localforage
4074
4116
  // which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
4075
- persistOptions: { storage: Fc },
4117
+ persistOptions: { storage: Mc },
4076
4118
  // TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
4077
4119
  // and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
4078
4120
  // that same issue"
@@ -4083,7 +4125,7 @@ const Dg = {
4083
4125
  // Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
4084
4126
  peek: (...t) => Wg(...t)
4085
4127
  }
4086
- }, $g = Rc(vg, Ft), YM = gc(Mc(Dg), $g);
4128
+ }, $g = Rc(vg, Rt), JF = gc(Fc(Dg), $g);
4087
4129
  async function jg(t, s, e) {
4088
4130
  if (s.store.getState().outboxReducer.deletedRequests.includes(t.payload.uuid))
4089
4131
  throw new Error("Request was marked for deletion");
@@ -4116,7 +4158,7 @@ Retries:`,
4116
4158
  t,
4117
4159
  "(throwing immediately, which may lead to unexpected behavior)"
4118
4160
  ), t;
4119
- const i = bt(), a = i.getState().outboxReducer.deletedRequests, r = s.payload.uuid;
4161
+ const i = gt(), a = i.getState().outboxReducer.deletedRequests, r = s.payload.uuid;
4120
4162
  function c() {
4121
4163
  i.dispatch(HO(r));
4122
4164
  const l = St();
@@ -4148,9 +4190,9 @@ function Wg(t, s, e) {
4148
4190
  return (i = St()) == null ? void 0 : i.peek();
4149
4191
  }
4150
4192
  function Cg(t, s) {
4151
- return bt().dispatch(GO((/* @__PURE__ */ new Date()).getTime())), Wc;
4193
+ return gt().dispatch(GO((/* @__PURE__ */ new Date()).getTime())), Wc;
4152
4194
  }
4153
- const _t = "An unknown error occurred", Ug = 500, Gi = ["non_field_errors", "detail"];
4195
+ const It = "An unknown error occurred", Ug = 500, Gi = ["non_field_errors", "detail"];
4154
4196
  function Lg(t, s) {
4155
4197
  let e;
4156
4198
  if (t != null && t.body)
@@ -4171,18 +4213,18 @@ function Lg(t, s) {
4171
4213
  }
4172
4214
  } else typeof t.body == "string" && (e = t.body);
4173
4215
  else t != null && t.text ? e = t.text : s instanceof Error && (e = s.message);
4174
- return !e || e.length > Ug ? _t : e;
4216
+ return !e || e.length > Ug ? It : e;
4175
4217
  }
4176
4218
  class C extends Error {
4177
4219
  constructor(e) {
4178
- super(_t);
4220
+ super(It);
4179
4221
  // NOTE: Needs to conform to NetworkError in @redux-offline/redux-offline, which has `status` and `response`.
4180
4222
  h(this, "status");
4181
4223
  h(this, "response");
4182
4224
  h(this, "message");
4183
4225
  h(this, "options");
4184
4226
  const { response: i, innerError: n } = e;
4185
- this.message = e.message ?? Lg(i, n) ?? _t, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, e.discard = e.discard ?? !1, this.options = e;
4227
+ this.message = e.message ?? Lg(i, n) ?? It, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, e.discard = e.discard ?? !1, this.options = e;
4186
4228
  }
4187
4229
  }
4188
4230
  function Ng(t) {
@@ -4201,14 +4243,14 @@ class Hg extends pc {
4201
4243
  super(s);
4202
4244
  }
4203
4245
  }
4204
- class wt extends pc {
4246
+ class Ot extends pc {
4205
4247
  constructor(e, i) {
4206
4248
  super(e);
4207
4249
  h(this, "auth");
4208
4250
  this.auth = i;
4209
4251
  }
4210
4252
  }
4211
- class QM extends wt {
4253
+ class ZF extends Ot {
4212
4254
  async startConversation(s, e) {
4213
4255
  return this.enqueueRequest({
4214
4256
  description: "Start agent conversation",
@@ -4302,7 +4344,7 @@ function A(t, s, e) {
4302
4344
  return `Delete ${i}`;
4303
4345
  }
4304
4346
  }
4305
- class E extends wt {
4347
+ class E extends Ot {
4306
4348
  async get(s, e) {
4307
4349
  return this.performRequest(
4308
4350
  {
@@ -4332,7 +4374,7 @@ class E extends wt {
4332
4374
  class $ extends E {
4333
4375
  constructor() {
4334
4376
  super(...arguments);
4335
- h(this, "pageSize", Fg);
4377
+ h(this, "pageSize", Mg);
4336
4378
  }
4337
4379
  async add(e) {
4338
4380
  const { addOne: i, updateOne: n, deleteOne: a } = this.actions;
@@ -4381,18 +4423,18 @@ class $ extends E {
4381
4423
  async bulkAdd(e, i) {
4382
4424
  const { addMany: n, updateMany: a, deleteMany: r } = this.actions, c = (/* @__PURE__ */ new Date()).toISOString(), o = [], d = /* @__PURE__ */ new Set(), l = ht(e, Math.min(i ?? e.length, lt)), m = [];
4383
4425
  for (const v of l) {
4384
- const k = [], R = {}, M = [], D = [];
4426
+ const k = [], R = {}, F = [], D = [];
4385
4427
  for (const q of v) {
4386
4428
  let j;
4387
4429
  if ("file" in q) {
4388
- const { file: jt, ..._c } = q, pt = await this.client.files.getFilePayload(jt);
4430
+ const { file: Wt, ..._c } = q, pt = await this.client.files.getFilePayload(Wt);
4389
4431
  pt.sha1 in R || (R[pt.sha1] = pt);
4390
- const ws = URL.createObjectURL(jt);
4432
+ const ws = URL.createObjectURL(Wt);
4391
4433
  d.add(ws), j = {
4392
4434
  ..._c,
4393
4435
  file_sha1: pt.sha1,
4394
4436
  file_type: pt.file_type,
4395
- file_name: jt.name,
4437
+ file_name: Wt.name,
4396
4438
  file_extension: pt.extension,
4397
4439
  file_url: ws
4398
4440
  };
@@ -4402,8 +4444,8 @@ class $ extends E {
4402
4444
  o.push(B);
4403
4445
  const U = this.buildBulkPayload(B);
4404
4446
  k.push(U);
4405
- const gt = this.getBlockers(B);
4406
- M.push(...gt);
4447
+ const kt = this.getBlockers(B);
4448
+ F.push(...kt);
4407
4449
  const Tc = this.getBlocks(B);
4408
4450
  D.push(...Tc);
4409
4451
  }
@@ -4411,14 +4453,14 @@ class $ extends E {
4411
4453
  payloads: k,
4412
4454
  submittedAt: c,
4413
4455
  files: Object.values(R),
4414
- blockers: M,
4456
+ blockers: F,
4415
4457
  blocks: D
4416
4458
  };
4417
4459
  m.push(x);
4418
4460
  }
4419
4461
  this.dispatch(n(o));
4420
4462
  const y = m.map((v) => {
4421
- const { submittedAt: k, files: R, payloads: M, blocks: D, blockers: x } = v;
4463
+ const { submittedAt: k, files: R, payloads: F, blocks: D, blockers: x } = v;
4422
4464
  return this.enqueueRequest({
4423
4465
  description: A(u.POST, this.name, !0),
4424
4466
  method: u.POST,
@@ -4426,7 +4468,7 @@ class $ extends E {
4426
4468
  payload: {
4427
4469
  submitted_at: k,
4428
4470
  files: R,
4429
- payloads: M
4471
+ payloads: F
4430
4472
  },
4431
4473
  blockers: x,
4432
4474
  blocks: D
@@ -4444,8 +4486,8 @@ class $ extends E {
4444
4486
  const w = Promise.all(y).then((v) => v.flatMap(({ instances: k }) => k)), P = Promise.all(y).then(async (v) => {
4445
4487
  const k = [];
4446
4488
  for (const { presigned_urls: R } of v) {
4447
- const M = this.client.files.processPresignedUrls(R);
4448
- for (const [D, x] of Object.entries(M))
4489
+ const F = this.client.files.processPresignedUrls(R);
4490
+ for (const [D, x] of Object.entries(F))
4449
4491
  try {
4450
4492
  await x, k.push(D);
4451
4493
  } catch (q) {
@@ -4474,7 +4516,7 @@ class $ extends E {
4474
4516
  }
4475
4517
  }
4476
4518
  }
4477
- class JM extends $ {
4519
+ class XF extends $ {
4478
4520
  constructor() {
4479
4521
  super(...arguments);
4480
4522
  h(this, "name", "Asset attachment");
@@ -4545,7 +4587,7 @@ class JM extends $ {
4545
4587
  return this.dispatch(n(r)), r;
4546
4588
  }
4547
4589
  }
4548
- class ZM extends $ {
4590
+ class eM extends $ {
4549
4591
  constructor() {
4550
4592
  super(...arguments);
4551
4593
  h(this, "name", "Asset Procedure Attachment");
@@ -4558,7 +4600,7 @@ class ZM extends $ {
4558
4600
  updateOne: go,
4559
4601
  updateMany: ko,
4560
4602
  deleteOne: Po,
4561
- deleteMany: Mo,
4603
+ deleteMany: Fo,
4562
4604
  initialize: Oo
4563
4605
  });
4564
4606
  h(this, "selectors", {
@@ -4620,7 +4662,7 @@ class ZM extends $ {
4620
4662
  return this.dispatch(n(a)), a;
4621
4663
  }
4622
4664
  }
4623
- class XM extends $ {
4665
+ class tM extends $ {
4624
4666
  constructor() {
4625
4667
  super(...arguments);
4626
4668
  h(this, "name", "Asset Procedure Type Fields Attachment");
@@ -4694,7 +4736,7 @@ class XM extends $ {
4694
4736
  return this.dispatch(n(a)), a;
4695
4737
  }
4696
4738
  }
4697
- class eF extends E {
4739
+ class sM extends E {
4698
4740
  constructor() {
4699
4741
  super(...arguments);
4700
4742
  h(this, "name", "Asset Procedure Type Fields");
@@ -4727,7 +4769,7 @@ class eF extends E {
4727
4769
  description: A(u.POST, this.name, !1),
4728
4770
  method: u.POST,
4729
4771
  url: `${this.url}/`,
4730
- payload: F(d),
4772
+ payload: M(d),
4731
4773
  blockers: [d.asset_procedure_type],
4732
4774
  blocks: [d.uuid]
4733
4775
  });
@@ -4749,7 +4791,7 @@ class eF extends E {
4749
4791
  return this.dispatch(n(a)), a;
4750
4792
  }
4751
4793
  }
4752
- class tF extends $ {
4794
+ class iM extends $ {
4753
4795
  constructor() {
4754
4796
  super(...arguments);
4755
4797
  h(this, "name", "Asset Procedure Type Field Values Attachment");
@@ -4840,7 +4882,7 @@ class tF extends $ {
4840
4882
  return this.dispatch(n(r)), r;
4841
4883
  }
4842
4884
  }
4843
- class sF extends E {
4885
+ class nM extends E {
4844
4886
  constructor() {
4845
4887
  super(...arguments);
4846
4888
  h(this, "name", "Asset Procedure Type Field Values");
@@ -4857,8 +4899,8 @@ class sF extends E {
4857
4899
  initialize: Sd
4858
4900
  });
4859
4901
  h(this, "selectors", {
4860
- selectById: Md,
4861
- selectByIds: Fd
4902
+ selectById: Fd,
4903
+ selectByIds: Md
4862
4904
  });
4863
4905
  }
4864
4906
  add(e) {
@@ -4871,7 +4913,7 @@ class sF extends E {
4871
4913
  description: A(u.POST, this.name, !1),
4872
4914
  method: u.POST,
4873
4915
  url: `${this.url}/`,
4874
- payload: F(l),
4916
+ payload: M(l),
4875
4917
  blockers: [e.asset, e.fields_revision, e.asset_procedure],
4876
4918
  blocks: [l.uuid]
4877
4919
  });
@@ -4886,19 +4928,19 @@ class sF extends E {
4886
4928
  const { values: n, payloads: a } = e, { addMany: r, setMany: c, deleteMany: o } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), l = ((v = this.client.store.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, m = [], y = ht(a, Math.min(i ?? a.length, lt)), w = [];
4887
4929
  for (const k of y) {
4888
4930
  const R = [];
4889
- for (const M of k) {
4931
+ for (const F of k) {
4890
4932
  const D = _({
4891
- ...M,
4892
- values: M.values,
4933
+ ...F,
4934
+ values: F.values,
4893
4935
  created_by: l,
4894
4936
  submitted_at: d
4895
4937
  });
4896
4938
  m.push(D), R.push({
4897
4939
  uuid: D.uuid,
4898
- asset: M.asset,
4899
- fields_revision: M.fields_revision,
4900
- asset_procedure: M.asset_procedure,
4901
- published_at: M.published_at,
4940
+ asset: F.asset,
4941
+ fields_revision: F.fields_revision,
4942
+ asset_procedure: F.asset_procedure,
4943
+ published_at: F.published_at,
4902
4944
  values: D.values
4903
4945
  });
4904
4946
  }
@@ -4911,12 +4953,12 @@ class sF extends E {
4911
4953
  this.dispatch(r(m));
4912
4954
  const P = [];
4913
4955
  for (const k of w) {
4914
- const { field_values: R } = k, M = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
4956
+ const { field_values: R } = k, F = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
4915
4957
  description: A(u.POST, this.name, !0),
4916
4958
  method: u.POST,
4917
4959
  url: `${this.url}/bulk/`,
4918
4960
  payload: k,
4919
- blockers: M.concat(D).concat(x),
4961
+ blockers: F.concat(D).concat(x),
4920
4962
  blocks: q
4921
4963
  });
4922
4964
  P.push(j);
@@ -4985,7 +5027,7 @@ class sF extends E {
4985
5027
  return this.dispatch(n(r)), r;
4986
5028
  }
4987
5029
  }
4988
- class iF extends E {
5030
+ class aM extends E {
4989
5031
  constructor() {
4990
5032
  super(...arguments);
4991
5033
  h(this, "name", "Asset Procedure");
@@ -5018,7 +5060,7 @@ class iF extends E {
5018
5060
  description: A(u.POST, this.name, !1),
5019
5061
  method: u.POST,
5020
5062
  url: `${this.url}/`,
5021
- payload: F(d),
5063
+ payload: M(d),
5022
5064
  blockers: [e.asset_procedure_type, e.asset_type],
5023
5065
  blocks: [d.uuid]
5024
5066
  });
@@ -5080,7 +5122,7 @@ class iF extends E {
5080
5122
  return this.dispatch(n(r)), r;
5081
5123
  }
5082
5124
  }
5083
- class nF extends E {
5125
+ class rM extends E {
5084
5126
  constructor() {
5085
5127
  super(...arguments);
5086
5128
  h(this, "name", "Asset Procedure Type");
@@ -5113,7 +5155,7 @@ class nF extends E {
5113
5155
  description: A(u.POST, this.name, !1),
5114
5156
  method: u.POST,
5115
5157
  url: `${this.url}/`,
5116
- payload: F(d),
5158
+ payload: M(d),
5117
5159
  blockers: [],
5118
5160
  blocks: [d.uuid]
5119
5161
  });
@@ -5176,7 +5218,7 @@ class nF extends E {
5176
5218
  return this.dispatch(n(a)), a;
5177
5219
  }
5178
5220
  }
5179
- class aF extends $ {
5221
+ class cM extends $ {
5180
5222
  constructor() {
5181
5223
  super(...arguments);
5182
5224
  h(this, "name", "Asset Procedure Step Fields Attachment");
@@ -5248,7 +5290,7 @@ class aF extends $ {
5248
5290
  return this.dispatch(n(a)), a;
5249
5291
  }
5250
5292
  }
5251
- class rF extends E {
5293
+ class oM extends E {
5252
5294
  constructor() {
5253
5295
  super(...arguments);
5254
5296
  h(this, "name", "Asset Procedure Step Fields");
@@ -5281,7 +5323,7 @@ class rF extends E {
5281
5323
  description: A(u.POST, this.name, !1),
5282
5324
  method: u.POST,
5283
5325
  url: `${this.url}/`,
5284
- payload: F(d),
5326
+ payload: M(d),
5285
5327
  blockers: [d.asset_procedure_step],
5286
5328
  blocks: [d.uuid]
5287
5329
  });
@@ -5343,16 +5385,16 @@ class rF extends E {
5343
5385
  return this.dispatch(n(a)), a;
5344
5386
  }
5345
5387
  }
5346
- class cF extends $ {
5388
+ class dM extends $ {
5347
5389
  constructor() {
5348
5390
  super(...arguments);
5349
5391
  h(this, "name", "Asset Procedure Step Field Values Attachment");
5350
5392
  h(this, "url", "/asset-procedure-step-field-values-attachments");
5351
5393
  h(this, "actions", {
5352
5394
  addOne: Pu,
5353
- addMany: Fn,
5354
- setOne: Mu,
5355
- setMany: Fu,
5395
+ addMany: Mn,
5396
+ setOne: Fu,
5397
+ setMany: Mu,
5356
5398
  updateOne: Ru,
5357
5399
  updateMany: Eu,
5358
5400
  deleteOne: vu,
@@ -5434,7 +5476,7 @@ class cF extends $ {
5434
5476
  return this.dispatch(n(r)), r;
5435
5477
  }
5436
5478
  }
5437
- class oF extends E {
5479
+ class uM extends E {
5438
5480
  constructor() {
5439
5481
  super(...arguments);
5440
5482
  h(this, "name", "Asset Procedure Step Field Values");
@@ -5465,7 +5507,7 @@ class oF extends E {
5465
5507
  description: A(u.POST, this.name, !1),
5466
5508
  method: u.POST,
5467
5509
  url: `${this.url}/`,
5468
- payload: F(l),
5510
+ payload: M(l),
5469
5511
  blockers: [e.asset, e.fields_revision, e.asset_procedure],
5470
5512
  blocks: [l.uuid]
5471
5513
  });
@@ -5480,20 +5522,20 @@ class oF extends E {
5480
5522
  const { payloads: n, values: a } = e, { addMany: r, setMany: c, deleteMany: o } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), l = ((v = this.client.store.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, m = [], y = ht(n, Math.min(i ?? n.length, lt)), w = [];
5481
5523
  for (const k of y) {
5482
5524
  const R = [];
5483
- for (const M of k) {
5525
+ for (const F of k) {
5484
5526
  const D = _({
5485
- ...M,
5486
- values: M.values,
5527
+ ...F,
5528
+ values: F.values,
5487
5529
  created_by: l,
5488
5530
  submitted_at: d
5489
5531
  });
5490
5532
  m.push(D), R.push({
5491
5533
  uuid: D.uuid,
5492
- asset: M.asset,
5493
- fields_revision: M.fields_revision,
5494
- asset_procedure: M.asset_procedure,
5495
- asset_procedure_step: M.asset_procedure_step,
5496
- published_at: M.published_at,
5534
+ asset: F.asset,
5535
+ fields_revision: F.fields_revision,
5536
+ asset_procedure: F.asset_procedure,
5537
+ asset_procedure_step: F.asset_procedure_step,
5538
+ published_at: F.published_at,
5497
5539
  values: D.values
5498
5540
  });
5499
5541
  }
@@ -5506,12 +5548,12 @@ class oF extends E {
5506
5548
  this.dispatch(r(m));
5507
5549
  const P = [];
5508
5550
  for (const k of w) {
5509
- const { field_values: R } = k, M = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
5551
+ const { field_values: R } = k, F = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
5510
5552
  description: A(u.POST, this.name, !0),
5511
5553
  method: u.POST,
5512
5554
  url: `${this.url}/bulk/`,
5513
5555
  payload: k,
5514
- blockers: M.concat(D).concat(x),
5556
+ blockers: F.concat(D).concat(x),
5515
5557
  blocks: q
5516
5558
  });
5517
5559
  P.push(j);
@@ -5566,7 +5608,7 @@ class oF extends E {
5566
5608
  blocks: []
5567
5609
  });
5568
5610
  } catch (l) {
5569
- throw this.dispatch(a(o)), this.dispatch(Fn(d)), l;
5611
+ throw this.dispatch(a(o)), this.dispatch(Mn(d)), l;
5570
5612
  }
5571
5613
  }
5572
5614
  async refreshStore(e, i) {
@@ -5582,7 +5624,7 @@ class oF extends E {
5582
5624
  return this.dispatch(n(r)), r;
5583
5625
  }
5584
5626
  }
5585
- class dF extends E {
5627
+ class lM extends E {
5586
5628
  constructor() {
5587
5629
  super(...arguments);
5588
5630
  h(this, "name", "Asset Procedure Step");
@@ -5615,7 +5657,7 @@ class dF extends E {
5615
5657
  description: A(u.POST, this.name, !1),
5616
5658
  method: u.POST,
5617
5659
  url: `${this.url}/`,
5618
- payload: F(d),
5660
+ payload: M(d),
5619
5661
  blockers: [d.asset_procedure_type],
5620
5662
  blocks: [d.uuid]
5621
5663
  });
@@ -5681,7 +5723,7 @@ class dF extends E {
5681
5723
  return this.dispatch(n(a)), a;
5682
5724
  }
5683
5725
  }
5684
- class uF extends E {
5726
+ class hM extends E {
5685
5727
  constructor() {
5686
5728
  super(...arguments);
5687
5729
  h(this, "url", "/assets");
@@ -5714,7 +5756,7 @@ class uF extends E {
5714
5756
  description: A(u.POST, this.name, !1),
5715
5757
  method: u.POST,
5716
5758
  url: `${this.url}/`,
5717
- payload: F(d),
5759
+ payload: M(d),
5718
5760
  blockers: [d.asset_type],
5719
5761
  blocks: [d.uuid]
5720
5762
  });
@@ -5781,7 +5823,7 @@ class uF extends E {
5781
5823
  }), o = [];
5782
5824
  let d = null;
5783
5825
  for (const l of c) {
5784
- const { batchId: m, payload: y } = l, w = y.assets.map(({ uuid: M }) => M), P = y.assets.map(({ asset_type: M }) => M), v = y.assets.map(({ project: M }) => M), k = y.assets.map(({ status: M }) => M), R = this.enqueueRequest({
5826
+ const { batchId: m, payload: y } = l, w = y.assets.map(({ uuid: F }) => F), P = y.assets.map(({ asset_type: F }) => F), v = y.assets.map(({ project: F }) => F), k = y.assets.map(({ status: F }) => F), R = this.enqueueRequest({
5785
5827
  description: A(u.POST, this.name, !0),
5786
5828
  method: u.POST,
5787
5829
  url: `${this.url}/bulk/`,
@@ -5797,7 +5839,7 @@ class uF extends E {
5797
5839
  }), o;
5798
5840
  }
5799
5841
  bulkUpdate(e, i) {
5800
- const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Gt);
5842
+ const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Yt);
5801
5843
  if (c.length !== e.length)
5802
5844
  throw new Error("payloads contains duplicate uuids.");
5803
5845
  const o = r(c)(n.getState()).toSorted(Xi);
@@ -5815,7 +5857,7 @@ class uF extends E {
5815
5857
  const l = ht(e, Math.min(i ?? e.length, lt)), m = [];
5816
5858
  let y = null;
5817
5859
  for (const w of l) {
5818
- const P = ut(), v = V(w), k = w.map(({ status: M }) => M).filter(Boolean), R = this.enqueueRequest({
5860
+ const P = ut(), v = V(w), k = w.map(({ status: F }) => F).filter(Boolean), R = this.enqueueRequest({
5819
5861
  description: A(u.PATCH, this.name, !0),
5820
5862
  method: u.PATCH,
5821
5863
  url: `${this.url}/bulk/`,
@@ -5861,7 +5903,7 @@ class uF extends E {
5861
5903
  return this.dispatch(n(r)), r;
5862
5904
  }
5863
5905
  }
5864
- class lF extends E {
5906
+ class pM extends E {
5865
5907
  constructor() {
5866
5908
  super(...arguments);
5867
5909
  h(this, "name", "Asset Stage Completion");
@@ -5872,8 +5914,8 @@ class lF extends E {
5872
5914
  setOne: gl,
5873
5915
  setMany: kl,
5874
5916
  updateOne: Pl,
5875
- updateMany: Ml,
5876
- deleteOne: Fl,
5917
+ updateMany: Fl,
5918
+ deleteOne: Ml,
5877
5919
  deleteMany: Rl,
5878
5920
  initialize: _l
5879
5921
  });
@@ -5894,7 +5936,7 @@ class lF extends E {
5894
5936
  description: A(u.POST, this.name, !1),
5895
5937
  method: u.POST,
5896
5938
  url: `${this.url}/`,
5897
- payload: F(d),
5939
+ payload: M(d),
5898
5940
  blockers: [e.asset, e.asset_stage],
5899
5941
  blocks: [d.uuid]
5900
5942
  });
@@ -5978,7 +6020,7 @@ class lF extends E {
5978
6020
  return this.dispatch(n(r)), r;
5979
6021
  }
5980
6022
  }
5981
- class hF extends E {
6023
+ class mM extends E {
5982
6024
  constructor() {
5983
6025
  super(...arguments);
5984
6026
  h(this, "name", "Asset Stage");
@@ -6011,7 +6053,7 @@ class hF extends E {
6011
6053
  description: A(u.POST, this.name, !1),
6012
6054
  method: u.POST,
6013
6055
  url: `${this.url}/`,
6014
- payload: F(d),
6056
+ payload: M(d),
6015
6057
  blockers: [d.asset_procedure_type],
6016
6058
  blocks: [d.uuid]
6017
6059
  });
@@ -6071,7 +6113,7 @@ class hF extends E {
6071
6113
  return this.dispatch(n(a)), a;
6072
6114
  }
6073
6115
  }
6074
- class pF extends $ {
6116
+ class yM extends $ {
6075
6117
  constructor() {
6076
6118
  super(...arguments);
6077
6119
  h(this, "name", "Asset Type Attachment");
@@ -6141,7 +6183,7 @@ class pF extends $ {
6141
6183
  return this.dispatch(n(a)), a;
6142
6184
  }
6143
6185
  }
6144
- class mF extends $ {
6186
+ class fM extends $ {
6145
6187
  constructor() {
6146
6188
  super(...arguments);
6147
6189
  h(this, "name", "Asset Type Fields Attachment");
@@ -6215,7 +6257,7 @@ class mF extends $ {
6215
6257
  return this.dispatch(n(a)), a;
6216
6258
  }
6217
6259
  }
6218
- class yF extends E {
6260
+ class SM extends E {
6219
6261
  constructor() {
6220
6262
  super(...arguments);
6221
6263
  h(this, "name", "Asset Type Fields");
@@ -6232,7 +6274,7 @@ class yF extends E {
6232
6274
  initialize: wh
6233
6275
  });
6234
6276
  h(this, "selectors", {
6235
- selectById: Fh,
6277
+ selectById: Mh,
6236
6278
  selectByIds: Rh
6237
6279
  });
6238
6280
  }
@@ -6248,7 +6290,7 @@ class yF extends E {
6248
6290
  description: A(u.POST, this.name, !1),
6249
6291
  method: u.POST,
6250
6292
  url: `${this.url}/`,
6251
- payload: F(d),
6293
+ payload: M(d),
6252
6294
  blockers: [d.asset_type],
6253
6295
  blocks: [d.uuid]
6254
6296
  });
@@ -6270,7 +6312,7 @@ class yF extends E {
6270
6312
  return this.dispatch(n(a)), a;
6271
6313
  }
6272
6314
  }
6273
- class fF extends $ {
6315
+ class AM extends $ {
6274
6316
  constructor() {
6275
6317
  super(...arguments);
6276
6318
  h(this, "name", "Asset Type Field Values Attachment");
@@ -6361,7 +6403,7 @@ class fF extends $ {
6361
6403
  return this.dispatch(n(r)), r;
6362
6404
  }
6363
6405
  }
6364
- class SF extends E {
6406
+ class wM extends E {
6365
6407
  constructor() {
6366
6408
  super(...arguments);
6367
6409
  h(this, "name", "Asset Type Field Values");
@@ -6392,7 +6434,7 @@ class SF extends E {
6392
6434
  description: A(u.POST, this.name, !1),
6393
6435
  method: u.POST,
6394
6436
  url: `${this.url}/`,
6395
- payload: F(l),
6437
+ payload: M(l),
6396
6438
  blockers: [e.asset, e.fields_revision],
6397
6439
  blocks: [l.uuid]
6398
6440
  });
@@ -6408,18 +6450,18 @@ class SF extends E {
6408
6450
  for (const v of m) {
6409
6451
  const k = [];
6410
6452
  for (const R of v) {
6411
- const M = _({
6453
+ const F = _({
6412
6454
  ...R,
6413
6455
  values: R.values,
6414
6456
  created_by: ((P = this.client.store.getState().userReducer.currentUser) == null ? void 0 : P.id) ?? null,
6415
6457
  submitted_at: d
6416
6458
  });
6417
- l.push(M), k.push({
6418
- uuid: M.uuid,
6459
+ l.push(F), k.push({
6460
+ uuid: F.uuid,
6419
6461
  asset: R.asset,
6420
6462
  fields_revision: R.fields_revision,
6421
6463
  published_at: R.published_at,
6422
- values: M.values
6464
+ values: F.values
6423
6465
  });
6424
6466
  }
6425
6467
  y.push({
@@ -6431,12 +6473,12 @@ class SF extends E {
6431
6473
  this.dispatch(r(l));
6432
6474
  const w = [];
6433
6475
  for (const v of y) {
6434
- const { field_values: k } = v, R = k.map(({ asset: q }) => q), M = k.map(({ fields_revision: q }) => q), D = k.map(({ uuid: q }) => q), x = this.enqueueRequest({
6476
+ const { field_values: k } = v, R = k.map(({ asset: q }) => q), F = k.map(({ fields_revision: q }) => q), D = k.map(({ uuid: q }) => q), x = this.enqueueRequest({
6435
6477
  description: A(u.POST, this.name, !0),
6436
6478
  method: u.POST,
6437
6479
  url: `${this.url}/bulk/`,
6438
6480
  payload: v,
6439
- blockers: R.concat(M),
6481
+ blockers: R.concat(F),
6440
6482
  blocks: D
6441
6483
  });
6442
6484
  w.push(x);
@@ -6505,7 +6547,7 @@ class SF extends E {
6505
6547
  return this.dispatch(n(r)), r;
6506
6548
  }
6507
6549
  }
6508
- class AF extends E {
6550
+ class OM extends E {
6509
6551
  constructor() {
6510
6552
  super(...arguments);
6511
6553
  h(this, "name", "Asset Type Identifier");
@@ -6538,7 +6580,7 @@ class AF extends E {
6538
6580
  description: A(u.POST, this.name, !1),
6539
6581
  method: u.POST,
6540
6582
  url: `${this.url}/`,
6541
- payload: F(d),
6583
+ payload: M(d),
6542
6584
  blockers: [d.asset_type],
6543
6585
  blocks: [d.uuid]
6544
6586
  });
@@ -6600,7 +6642,7 @@ class AF extends E {
6600
6642
  return this.dispatch(n(a)), a;
6601
6643
  }
6602
6644
  }
6603
- class wF extends E {
6645
+ class TM extends E {
6604
6646
  constructor() {
6605
6647
  super(...arguments);
6606
6648
  h(this, "name", "Asset Type Identifier Value");
@@ -6633,7 +6675,7 @@ class wF extends E {
6633
6675
  description: A(u.POST, this.name, !1),
6634
6676
  method: u.POST,
6635
6677
  url: `${this.url}/`,
6636
- payload: F(d),
6678
+ payload: M(d),
6637
6679
  blockers: [e.asset, e.asset_type_identifier],
6638
6680
  blocks: [d.uuid]
6639
6681
  });
@@ -6647,7 +6689,7 @@ class wF extends E {
6647
6689
  var v;
6648
6690
  const { store: n } = this.client, { addMany: a, updateMany: r, deleteMany: c } = this.actions, o = (/* @__PURE__ */ new Date()).toISOString(), d = ((v = n.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, l = ht(e, Math.min(i ?? e.length, lt)), m = [], y = [];
6649
6691
  for (const k of l) {
6650
- const R = [], M = [], D = [];
6692
+ const R = [], F = [], D = [];
6651
6693
  for (const q of k) {
6652
6694
  const j = _({
6653
6695
  ...q,
@@ -6661,25 +6703,25 @@ class wF extends E {
6661
6703
  asset_type_identifier: j.asset_type_identifier,
6662
6704
  value: j.value
6663
6705
  };
6664
- R.push(B), M.push(j.asset), M.push(j.asset_type_identifier), D.push(j.uuid);
6706
+ R.push(B), F.push(j.asset), F.push(j.asset_type_identifier), D.push(j.uuid);
6665
6707
  }
6666
6708
  const x = {
6667
6709
  payloads: R,
6668
6710
  submitted_at: o,
6669
- blockers: M,
6711
+ blockers: F,
6670
6712
  blocks: D
6671
6713
  };
6672
6714
  m.push(x);
6673
6715
  }
6674
6716
  this.dispatch(a(y));
6675
6717
  const w = m.map((k) => {
6676
- const { payloads: R, submitted_at: M, blockers: D, blocks: x } = k;
6718
+ const { payloads: R, submitted_at: F, blockers: D, blocks: x } = k;
6677
6719
  return this.enqueueRequest({
6678
6720
  description: A(u.POST, this.name, !0),
6679
6721
  method: u.POST,
6680
6722
  url: `${this.url}/bulk/`,
6681
6723
  payload: {
6682
- submitted_at: M,
6724
+ submitted_at: F,
6683
6725
  payloads: R
6684
6726
  },
6685
6727
  blockers: D,
@@ -6724,7 +6766,7 @@ class wF extends E {
6724
6766
  return this.dispatch(n(r)), r;
6725
6767
  }
6726
6768
  }
6727
- class OF extends E {
6769
+ class _M extends E {
6728
6770
  constructor() {
6729
6771
  super(...arguments);
6730
6772
  h(this, "name", "Asset Type");
@@ -6738,7 +6780,7 @@ class OF extends E {
6738
6780
  updateMany: zp,
6739
6781
  deleteOne: qp,
6740
6782
  deleteMany: Dp,
6741
- initialize: Fp
6783
+ initialize: Mp
6742
6784
  });
6743
6785
  h(this, "selectors", {
6744
6786
  selectById: jp,
@@ -6757,7 +6799,7 @@ class OF extends E {
6757
6799
  description: A(u.POST, this.name, !1),
6758
6800
  method: u.POST,
6759
6801
  url: `${this.url}/`,
6760
- payload: F(d),
6802
+ payload: M(d),
6761
6803
  blockers: [],
6762
6804
  blocks: [d.uuid]
6763
6805
  });
@@ -6820,7 +6862,7 @@ class OF extends E {
6820
6862
  return this.dispatch(n(a)), a;
6821
6863
  }
6822
6864
  }
6823
- class TF extends E {
6865
+ class IM extends E {
6824
6866
  constructor() {
6825
6867
  super(...arguments);
6826
6868
  h(this, "name", "Asset Type Status");
@@ -6853,7 +6895,7 @@ class TF extends E {
6853
6895
  description: A(u.POST, this.name, !1),
6854
6896
  method: u.POST,
6855
6897
  url: `${this.url}/`,
6856
- payload: F(d),
6898
+ payload: M(d),
6857
6899
  blockers: [e.asset_type],
6858
6900
  blocks: [d.uuid]
6859
6901
  });
@@ -6912,7 +6954,7 @@ class TF extends E {
6912
6954
  return this.dispatch(n(a)), a;
6913
6955
  }
6914
6956
  }
6915
- class _F extends $ {
6957
+ class bM extends $ {
6916
6958
  constructor() {
6917
6959
  super(...arguments);
6918
6960
  h(this, "name", "Document Attachment");
@@ -7012,7 +7054,7 @@ class _F extends $ {
7012
7054
  return this.dispatch(n(o)), o;
7013
7055
  }
7014
7056
  }
7015
- class IF extends E {
7057
+ class gM extends E {
7016
7058
  constructor() {
7017
7059
  super(...arguments);
7018
7060
  h(this, "name", "Document");
@@ -7045,7 +7087,7 @@ class IF extends E {
7045
7087
  description: A(u.POST, this.name, !1),
7046
7088
  method: u.POST,
7047
7089
  url: `${this.url}/`,
7048
- payload: F(d),
7090
+ payload: M(d),
7049
7091
  blockers: d.parent_document ? [d.parent_document] : [],
7050
7092
  blocks: [d.uuid]
7051
7093
  });
@@ -7084,7 +7126,7 @@ class IF extends E {
7084
7126
  const { store: i } = this.client, { deleteOne: n, addOne: a, addMany: r, deleteMany: c } = this.actions, { selectById: o } = this.selectors, d = i.getState(), l = o(e)(d);
7085
7127
  if (!l)
7086
7128
  throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
7087
- const m = Mm(e)(d);
7129
+ const m = Fm(e)(d);
7088
7130
  this.dispatch(n(e)), this.dispatch(c(V(m)));
7089
7131
  try {
7090
7132
  return await this.enqueueRequest({
@@ -7117,7 +7159,7 @@ class IF extends E {
7117
7159
  return this.dispatch(n(o)), o;
7118
7160
  }
7119
7161
  }
7120
- class It extends wt {
7162
+ class bt extends Ot {
7121
7163
  async get(s, e) {
7122
7164
  return this.performRequest(
7123
7165
  {
@@ -7144,7 +7186,7 @@ class It extends wt {
7144
7186
  );
7145
7187
  }
7146
7188
  }
7147
- class bF extends It {
7189
+ class kM extends bt {
7148
7190
  constructor() {
7149
7191
  super(...arguments);
7150
7192
  h(this, "name", "Email Domains");
@@ -7158,7 +7200,7 @@ class bF extends It {
7158
7200
  updateMany: zm,
7159
7201
  deleteOne: qm,
7160
7202
  deleteMany: Dm,
7161
- initialize: Fm
7203
+ initialize: Mm
7162
7204
  });
7163
7205
  h(this, "selectors", {
7164
7206
  selectById: jm,
@@ -7202,7 +7244,7 @@ class bF extends It {
7202
7244
  return this.dispatch(n(a)), a;
7203
7245
  }
7204
7246
  }
7205
- class gF extends wt {
7247
+ class PM extends Ot {
7206
7248
  async getVerificationCode(s) {
7207
7249
  return this.enqueueRequest({
7208
7250
  description: "Get verification code",
@@ -7225,8 +7267,8 @@ class gF extends wt {
7225
7267
  });
7226
7268
  }
7227
7269
  }
7228
- const Ot = {}, Wt = /* @__PURE__ */ new Set();
7229
- class kF extends wt {
7270
+ const Tt = {}, Ut = /* @__PURE__ */ new Set();
7271
+ class FM extends Ot {
7230
7272
  constructor() {
7231
7273
  super(...arguments);
7232
7274
  h(this, "host");
@@ -7252,13 +7294,13 @@ class kF extends wt {
7252
7294
  throw new Error(`Cant add a file without a type to cache: ${e.name}`);
7253
7295
  if (!e.size)
7254
7296
  throw new Error(`Cant add an empty file to cache: ${e.name}`);
7255
- const i = await xt(e);
7256
- if (Wt.has(i)) return;
7297
+ const i = await Ct(e);
7298
+ if (Ut.has(i)) return;
7257
7299
  const n = await this.getDB();
7258
- !!await n.get("files", i) ? console.warn(`Attempting to add a file already cached, ${e.name}`) : await n.put("files", e, i), Wt.add(i);
7300
+ !!await n.get("files", i) ? console.warn(`Attempting to add a file already cached, ${e.name}`) : await n.put("files", e, i), Ut.add(i);
7259
7301
  }
7260
7302
  async removeCache(e) {
7261
- await (await this.getDB()).delete("files", e), Wt.delete(e);
7303
+ await (await this.getDB()).delete("files", e), Ut.delete(e);
7262
7304
  }
7263
7305
  async fetchCache(e) {
7264
7306
  return (await this.getDB()).get("files", e);
@@ -7277,7 +7319,7 @@ class kF extends wt {
7277
7319
  const a = e.split("?")[0] ?? e, r = await this.fetchCache(i);
7278
7320
  if (r) return r;
7279
7321
  let c;
7280
- a in Ot ? c = Ot[a] : Qc(e) ? (c = Yc(e, n), Ot[a] = c) : (c = new Promise((l) => {
7322
+ a in Tt ? c = Tt[a] : Qc(e) ? (c = Yc(e, n), Tt[a] = c) : (c = new Promise((l) => {
7281
7323
  this.performRequest({
7282
7324
  method: u.GET,
7283
7325
  url: e,
@@ -7290,14 +7332,14 @@ class kF extends wt {
7290
7332
  const y = new File([m], n, { type: m.type });
7291
7333
  l(y);
7292
7334
  });
7293
- }), Ot[a] = c);
7335
+ }), Tt[a] = c);
7294
7336
  let o;
7295
7337
  try {
7296
7338
  o = await c;
7297
7339
  } catch (l) {
7298
- throw l instanceof C && delete Ot[a], l;
7340
+ throw l instanceof C && delete Tt[a], l;
7299
7341
  }
7300
- const d = await xt(o);
7342
+ const d = await Ct(o);
7301
7343
  if (d !== i) {
7302
7344
  const l = `The hash of the file returned from the server (${d}) does not match the
7303
7345
  expected hash (${i}). This can happen if you're using a local development server and the
@@ -7337,7 +7379,7 @@ class kF extends wt {
7337
7379
  }
7338
7380
  async getFilePayload(e) {
7339
7381
  const n = {
7340
- sha1: await xt(e),
7382
+ sha1: await Ct(e),
7341
7383
  file_type: e.type,
7342
7384
  extension: Gc(e),
7343
7385
  size: e.size
@@ -7345,7 +7387,7 @@ class kF extends wt {
7345
7387
  return await this.client.files.addCache(e), n;
7346
7388
  }
7347
7389
  }
7348
- class PF extends E {
7390
+ class MM extends E {
7349
7391
  constructor() {
7350
7392
  super(...arguments);
7351
7393
  h(this, "name", "Form Identifier");
@@ -7378,7 +7420,7 @@ class PF extends E {
7378
7420
  description: A(u.POST, this.name, !1),
7379
7421
  method: u.POST,
7380
7422
  url: `${this.url}/`,
7381
- payload: F(d),
7423
+ payload: M(d),
7382
7424
  blockers: [d.form],
7383
7425
  blocks: [d.uuid]
7384
7426
  });
@@ -7440,7 +7482,7 @@ class PF extends E {
7440
7482
  return this.dispatch(n(a)), a;
7441
7483
  }
7442
7484
  }
7443
- class MF extends E {
7485
+ class RM extends E {
7444
7486
  constructor() {
7445
7487
  super(...arguments);
7446
7488
  h(this, "name", "Form Identifier Value");
@@ -7473,7 +7515,7 @@ class MF extends E {
7473
7515
  description: A(u.POST, this.name, !1),
7474
7516
  method: u.POST,
7475
7517
  url: `${this.url}/`,
7476
- payload: F(d),
7518
+ payload: M(d),
7477
7519
  blockers: [e.form_submission, e.form_identifier],
7478
7520
  blocks: [d.uuid]
7479
7521
  });
@@ -7513,7 +7555,7 @@ class MF extends E {
7513
7555
  return this.dispatch(n(r)), r;
7514
7556
  }
7515
7557
  }
7516
- class FF extends $ {
7558
+ class EM extends $ {
7517
7559
  constructor() {
7518
7560
  super(...arguments);
7519
7561
  h(this, "name", "Form Revision Attachment");
@@ -7587,7 +7629,7 @@ class FF extends $ {
7587
7629
  return this.dispatch(n(a)), a;
7588
7630
  }
7589
7631
  }
7590
- class RF extends E {
7632
+ class vM extends E {
7591
7633
  constructor() {
7592
7634
  super(...arguments);
7593
7635
  h(this, "name", "Form Revision");
@@ -7601,7 +7643,7 @@ class RF extends E {
7601
7643
  updateMany: By,
7602
7644
  deleteOne: _a,
7603
7645
  deleteMany: Ia,
7604
- initialize: Fy
7646
+ initialize: My
7605
7647
  });
7606
7648
  h(this, "selectors", {
7607
7649
  selectById: Vy,
@@ -7620,7 +7662,7 @@ class RF extends E {
7620
7662
  description: A(u.POST, this.name, !1),
7621
7663
  method: u.POST,
7622
7664
  url: `${this.url}/`,
7623
- payload: F(l),
7665
+ payload: M(l),
7624
7666
  blockers: [e.form],
7625
7667
  blocks: [l.uuid]
7626
7668
  });
@@ -7642,7 +7684,7 @@ class RF extends E {
7642
7684
  return this.dispatch(n(a)), a;
7643
7685
  }
7644
7686
  }
7645
- class EF extends E {
7687
+ class BM extends E {
7646
7688
  constructor() {
7647
7689
  super(...arguments);
7648
7690
  h(this, "name", "Form");
@@ -7681,7 +7723,7 @@ class EF extends E {
7681
7723
  method: u.POST,
7682
7724
  url: `${this.url}/`,
7683
7725
  payload: {
7684
- ...F(d),
7726
+ ...M(d),
7685
7727
  initial_revision: {
7686
7728
  uuid: l.uuid,
7687
7729
  submitted_at: l.submitted_at,
@@ -7727,20 +7769,20 @@ class EF extends E {
7727
7769
  return this.dispatch(n(a)), a;
7728
7770
  }
7729
7771
  }
7730
- class vF extends $ {
7772
+ class VM extends $ {
7731
7773
  constructor() {
7732
7774
  super(...arguments);
7733
7775
  h(this, "name", "Form Submission Attachment");
7734
7776
  h(this, "url", "/form-submission-attachments");
7735
7777
  h(this, "actions", {
7736
7778
  addOne: Zy,
7737
- addMany: Ma,
7779
+ addMany: Fa,
7738
7780
  setOne: Xy,
7739
7781
  setMany: ef,
7740
7782
  updateOne: tf,
7741
7783
  updateMany: sf,
7742
7784
  deleteOne: nf,
7743
- deleteMany: Fa,
7785
+ deleteMany: Ma,
7744
7786
  initialize: Jy
7745
7787
  });
7746
7788
  h(this, "selectors", {
@@ -7817,7 +7859,7 @@ class vF extends $ {
7817
7859
  return this.dispatch(n(r)), r;
7818
7860
  }
7819
7861
  }
7820
- class BF extends E {
7862
+ class zM extends E {
7821
7863
  constructor() {
7822
7864
  super(...arguments);
7823
7865
  h(this, "name", "Form Submission");
@@ -7848,7 +7890,7 @@ class BF extends E {
7848
7890
  description: A(u.POST, this.name, !1),
7849
7891
  method: u.POST,
7850
7892
  url: `${this.url}/`,
7851
- payload: F(l),
7893
+ payload: M(l),
7852
7894
  blockers: [e.form_revision],
7853
7895
  blocks: [l.uuid]
7854
7896
  });
@@ -7886,7 +7928,7 @@ class BF extends E {
7886
7928
  if (!o)
7887
7929
  throw new Error(`Expected submission with uuid ${e} to exist`);
7888
7930
  const d = cf(e)(c);
7889
- this.dispatch(n(e)), this.dispatch(Fa(V(d)));
7931
+ this.dispatch(n(e)), this.dispatch(Ma(V(d)));
7890
7932
  try {
7891
7933
  return await this.enqueueRequest({
7892
7934
  description: A(u.DELETE, this.name, !1),
@@ -7896,7 +7938,7 @@ class BF extends E {
7896
7938
  blocks: []
7897
7939
  });
7898
7940
  } catch (l) {
7899
- throw this.dispatch(a(o)), this.dispatch(Ma(d)), l;
7941
+ throw this.dispatch(a(o)), this.dispatch(Fa(d)), l;
7900
7942
  }
7901
7943
  }
7902
7944
  async refreshStore(e, i) {
@@ -7913,7 +7955,7 @@ class BF extends E {
7913
7955
  return this.dispatch(n(r)), r;
7914
7956
  }
7915
7957
  }
7916
- class VF extends $ {
7958
+ class qM extends $ {
7917
7959
  constructor() {
7918
7960
  super(...arguments);
7919
7961
  h(this, "name", "Geo Image");
@@ -7925,8 +7967,8 @@ class VF extends $ {
7925
7967
  setMany: If,
7926
7968
  updateOne: kf,
7927
7969
  updateMany: Pf,
7928
- deleteOne: Mf,
7929
- deleteMany: Ff,
7970
+ deleteOne: Ff,
7971
+ deleteMany: Mf,
7930
7972
  initialize: Tf
7931
7973
  });
7932
7974
  h(this, "selectors", {
@@ -8015,7 +8057,7 @@ class VF extends $ {
8015
8057
  return this.dispatch(n(a)), a;
8016
8058
  }
8017
8059
  }
8018
- class zF extends E {
8060
+ class DM extends E {
8019
8061
  constructor() {
8020
8062
  super(...arguments);
8021
8063
  h(this, "name", "Issue Association");
@@ -8048,7 +8090,7 @@ class zF extends E {
8048
8090
  description: A(u.POST, this.name, !1),
8049
8091
  method: u.POST,
8050
8092
  url: `${this.url}/`,
8051
- payload: F(d),
8093
+ payload: M(d),
8052
8094
  blockers: [
8053
8095
  e.associated_issue,
8054
8096
  ...e.issue ? [e.issue] : [],
@@ -8091,7 +8133,7 @@ class zF extends E {
8091
8133
  return this.dispatch(n(r)), r;
8092
8134
  }
8093
8135
  }
8094
- class qF extends $ {
8136
+ class $M extends $ {
8095
8137
  constructor() {
8096
8138
  super(...arguments);
8097
8139
  h(this, "name", "Issue Attachment");
@@ -8161,7 +8203,7 @@ class qF extends $ {
8161
8203
  return this.dispatch(n(r)), r;
8162
8204
  }
8163
8205
  }
8164
- class DF extends $ {
8206
+ class jM extends $ {
8165
8207
  constructor() {
8166
8208
  super(...arguments);
8167
8209
  h(this, "name", "Issue Comment Attachment");
@@ -8231,7 +8273,7 @@ class DF extends $ {
8231
8273
  return this.dispatch(n(r)), r;
8232
8274
  }
8233
8275
  }
8234
- class $F extends E {
8276
+ class xM extends E {
8235
8277
  constructor() {
8236
8278
  super(...arguments);
8237
8279
  h(this, "name", "Issue Comment");
@@ -8243,8 +8285,8 @@ class $F extends E {
8243
8285
  setMany: gS,
8244
8286
  updateOne: kS,
8245
8287
  updateMany: PS,
8246
- deleteOne: MS,
8247
- deleteMany: FS,
8288
+ deleteOne: FS,
8289
+ deleteMany: MS,
8248
8290
  initialize: TS
8249
8291
  });
8250
8292
  h(this, "selectors", {
@@ -8263,7 +8305,7 @@ class $F extends E {
8263
8305
  description: A(u.POST, this.name, !1),
8264
8306
  method: u.POST,
8265
8307
  url: `${this.url}/`,
8266
- payload: F(c),
8308
+ payload: M(c),
8267
8309
  blockers: [e.issue],
8268
8310
  blocks: [c.uuid]
8269
8311
  });
@@ -8325,7 +8367,7 @@ class $F extends E {
8325
8367
  return this.dispatch(n(r)), r;
8326
8368
  }
8327
8369
  }
8328
- class jF extends E {
8370
+ class WM extends E {
8329
8371
  constructor() {
8330
8372
  super(...arguments);
8331
8373
  h(this, "name", "Issue");
@@ -8358,7 +8400,7 @@ class jF extends E {
8358
8400
  description: A(u.POST, this.name, !1),
8359
8401
  method: u.POST,
8360
8402
  url: `${this.url}/`,
8361
- payload: F(l),
8403
+ payload: M(l),
8362
8404
  blockers: [l.project, l.issue_type, l.status],
8363
8405
  blocks: [l.uuid]
8364
8406
  });
@@ -8414,7 +8456,7 @@ class jF extends E {
8414
8456
  if (w === null)
8415
8457
  o[y] = null;
8416
8458
  else {
8417
- const P = ls(w)(a);
8459
+ const P = ps(w)(a);
8418
8460
  if (!P)
8419
8461
  throw new Error(`Trying to update assigned to with ${w} which does not exist in store.`);
8420
8462
  o[y] = {
@@ -8447,7 +8489,7 @@ class jF extends E {
8447
8489
  }), [c, l];
8448
8490
  }
8449
8491
  bulkUpdate(e, i) {
8450
- const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Gt);
8492
+ const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Yt);
8451
8493
  if (c.length !== e.length)
8452
8494
  throw new Error("payloads contains duplicate uuids.");
8453
8495
  const o = r(c)(n.getState()).toSorted(Xi);
@@ -8465,7 +8507,7 @@ class jF extends E {
8465
8507
  const l = ht(e, Math.min(i ?? e.length, lt)), m = [];
8466
8508
  let y = null;
8467
8509
  for (const w of l) {
8468
- const P = ut(), v = V(w), k = w.map(({ status: M }) => M).filter(Boolean), R = this.enqueueRequest({
8510
+ const P = ut(), v = V(w), k = w.map(({ status: F }) => F).filter(Boolean), R = this.enqueueRequest({
8469
8511
  description: A(u.PATCH, this.name, !0),
8470
8512
  method: u.PATCH,
8471
8513
  url: `${this.url}/bulk/`,
@@ -8529,7 +8571,7 @@ class jF extends E {
8529
8571
  return this.dispatch(n(r)), r;
8530
8572
  }
8531
8573
  }
8532
- class xF extends $ {
8574
+ class CM extends $ {
8533
8575
  constructor() {
8534
8576
  super(...arguments);
8535
8577
  h(this, "name", "Issue Type Attachment");
@@ -8599,7 +8641,7 @@ class xF extends $ {
8599
8641
  return this.dispatch(n(a)), a;
8600
8642
  }
8601
8643
  }
8602
- class WF extends $ {
8644
+ class UM extends $ {
8603
8645
  constructor() {
8604
8646
  super(...arguments);
8605
8647
  h(this, "name", "Issue Type Fields Attachment");
@@ -8673,7 +8715,7 @@ class WF extends $ {
8673
8715
  return this.dispatch(n(a)), a;
8674
8716
  }
8675
8717
  }
8676
- class CF extends E {
8718
+ class LM extends E {
8677
8719
  constructor() {
8678
8720
  super(...arguments);
8679
8721
  h(this, "name", "Issue Type Fields");
@@ -8706,7 +8748,7 @@ class CF extends E {
8706
8748
  description: A(u.POST, this.name, !1),
8707
8749
  method: u.POST,
8708
8750
  url: `${this.url}/`,
8709
- payload: F(d),
8751
+ payload: M(d),
8710
8752
  blockers: [d.issue_type],
8711
8753
  blocks: [d.uuid]
8712
8754
  });
@@ -8728,7 +8770,7 @@ class CF extends E {
8728
8770
  return this.dispatch(n(a)), a;
8729
8771
  }
8730
8772
  }
8731
- class UF extends $ {
8773
+ class NM extends $ {
8732
8774
  constructor() {
8733
8775
  super(...arguments);
8734
8776
  h(this, "name", "Issue Type Field Values Attachment");
@@ -8819,7 +8861,7 @@ class UF extends $ {
8819
8861
  return this.dispatch(n(r)), r;
8820
8862
  }
8821
8863
  }
8822
- class LF extends E {
8864
+ class HM extends E {
8823
8865
  constructor() {
8824
8866
  super(...arguments);
8825
8867
  h(this, "name", "Issue Type Field Values");
@@ -8837,7 +8879,7 @@ class LF extends E {
8837
8879
  });
8838
8880
  h(this, "selectors", {
8839
8881
  selectById: PA,
8840
- selectByIds: MA
8882
+ selectByIds: FA
8841
8883
  });
8842
8884
  }
8843
8885
  add(e) {
@@ -8850,7 +8892,7 @@ class LF extends E {
8850
8892
  description: A(u.POST, this.name, !1),
8851
8893
  method: u.POST,
8852
8894
  url: `${this.url}/`,
8853
- payload: F(l),
8895
+ payload: M(l),
8854
8896
  blockers: [e.issue, e.fields_revision],
8855
8897
  blocks: [l.uuid]
8856
8898
  });
@@ -8918,7 +8960,7 @@ class LF extends E {
8918
8960
  return this.dispatch(n(r)), r;
8919
8961
  }
8920
8962
  }
8921
- class NF extends E {
8963
+ class GM extends E {
8922
8964
  constructor() {
8923
8965
  super(...arguments);
8924
8966
  h(this, "name", "Issue Type Identifier");
@@ -8951,7 +8993,7 @@ class NF extends E {
8951
8993
  description: A(u.POST, this.name, !1),
8952
8994
  method: u.POST,
8953
8995
  url: `${this.url}/`,
8954
- payload: F(d),
8996
+ payload: M(d),
8955
8997
  blockers: [d.issue_type],
8956
8998
  blocks: [d.uuid]
8957
8999
  });
@@ -9013,7 +9055,7 @@ class NF extends E {
9013
9055
  return this.dispatch(n(a)), a;
9014
9056
  }
9015
9057
  }
9016
- class HF extends E {
9058
+ class KM extends E {
9017
9059
  constructor() {
9018
9060
  super(...arguments);
9019
9061
  h(this, "name", "Issue Type Identifier Value");
@@ -9046,7 +9088,7 @@ class HF extends E {
9046
9088
  description: A(u.POST, this.name, !1),
9047
9089
  method: u.POST,
9048
9090
  url: `${this.url}/`,
9049
- payload: F(d),
9091
+ payload: M(d),
9050
9092
  blockers: [e.issue, e.issue_type_identifier],
9051
9093
  blocks: [d.uuid]
9052
9094
  });
@@ -9086,14 +9128,14 @@ class HF extends E {
9086
9128
  return this.dispatch(n(r)), r;
9087
9129
  }
9088
9130
  }
9089
- class GF extends E {
9131
+ class YM extends E {
9090
9132
  constructor() {
9091
9133
  super(...arguments);
9092
9134
  h(this, "name", "Issue Type");
9093
9135
  h(this, "url", "/issue-types");
9094
9136
  h(this, "actions", {
9095
- addOne: Mw,
9096
- addMany: Fw,
9137
+ addOne: Fw,
9138
+ addMany: Mw,
9097
9139
  setOne: Rw,
9098
9140
  setMany: Ew,
9099
9141
  updateOne: vw,
@@ -9118,7 +9160,7 @@ class GF extends E {
9118
9160
  const m = this.enqueueRequest({
9119
9161
  method: u.POST,
9120
9162
  url: `${this.url}/`,
9121
- payload: F(l),
9163
+ payload: M(l),
9122
9164
  blockers: [],
9123
9165
  blocks: [l.uuid]
9124
9166
  });
@@ -9180,7 +9222,7 @@ class GF extends E {
9180
9222
  return this.dispatch(n(a)), a;
9181
9223
  }
9182
9224
  }
9183
- class KF extends E {
9225
+ class QM extends E {
9184
9226
  constructor() {
9185
9227
  super(...arguments);
9186
9228
  h(this, "name", "Issue Type Status");
@@ -9213,7 +9255,7 @@ class KF extends E {
9213
9255
  description: A(u.POST, this.name, !1),
9214
9256
  method: u.POST,
9215
9257
  url: `${this.url}/`,
9216
- payload: F(d),
9258
+ payload: M(d),
9217
9259
  blockers: [e.issue_type],
9218
9260
  blocks: [d.uuid]
9219
9261
  });
@@ -9272,7 +9314,7 @@ class KF extends E {
9272
9314
  return this.dispatch(n(a)), a;
9273
9315
  }
9274
9316
  }
9275
- class YF extends E {
9317
+ class JM extends E {
9276
9318
  constructor() {
9277
9319
  super(...arguments);
9278
9320
  h(this, "name", "Issue Update");
@@ -9311,7 +9353,7 @@ function Kg(t) {
9311
9353
  if (!t.refresh) throw new Error("Missing refresh token");
9312
9354
  return { accessToken: t.access, refreshToken: t.refresh };
9313
9355
  }
9314
- class QF extends Hg {
9356
+ class ZM extends Hg {
9315
9357
  constructor() {
9316
9358
  super(...arguments);
9317
9359
  // _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
@@ -9388,7 +9430,7 @@ class QF extends Hg {
9388
9430
  try {
9389
9431
  await this.renewTokens();
9390
9432
  } catch (e) {
9391
- return e instanceof C && this.clearAuth(), e instanceof Error ? Promise.reject(e) : Promise.reject(new Error((e ?? _t).toString()));
9433
+ return e instanceof C && this.clearAuth(), e instanceof Error ? Promise.reject(e) : Promise.reject(new Error((e ?? It).toString()));
9392
9434
  }
9393
9435
  }
9394
9436
  }
@@ -9424,7 +9466,7 @@ class QF extends Hg {
9424
9466
  });
9425
9467
  }
9426
9468
  }
9427
- class JF extends It {
9469
+ class XM extends bt {
9428
9470
  constructor() {
9429
9471
  super(...arguments);
9430
9472
  h(this, "name", "Organization Access");
@@ -9442,7 +9484,7 @@ class JF extends It {
9442
9484
  });
9443
9485
  h(this, "selectors", {
9444
9486
  selectById: PO,
9445
- selectByIds: MO
9487
+ selectByIds: FO
9446
9488
  });
9447
9489
  }
9448
9490
  // TODO: add method when support for displaying an invited user
@@ -9467,7 +9509,7 @@ class JF extends It {
9467
9509
  }), [c, o];
9468
9510
  }
9469
9511
  async delete(e) {
9470
- const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c), d = ls(o.user)(c);
9512
+ const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c), d = ps(o.user)(c);
9471
9513
  this.dispatch(n(o.uuid)), this.dispatch(br(o.user));
9472
9514
  try {
9473
9515
  return await this.enqueueRequest({
@@ -9493,7 +9535,7 @@ class JF extends It {
9493
9535
  return this.dispatch(n(a)), a;
9494
9536
  }
9495
9537
  }
9496
- class ZF extends It {
9538
+ class eR extends bt {
9497
9539
  constructor() {
9498
9540
  super(...arguments);
9499
9541
  h(this, "name", "Organization");
@@ -9550,7 +9592,7 @@ class ZF extends It {
9550
9592
  return this.dispatch(i(n)), n;
9551
9593
  }
9552
9594
  }
9553
- class XF extends E {
9595
+ class tR extends E {
9554
9596
  constructor() {
9555
9597
  super(...arguments);
9556
9598
  h(this, "name", "Project Access");
@@ -9582,7 +9624,7 @@ class XF extends E {
9582
9624
  description: A(u.POST, this.name, !1),
9583
9625
  method: u.POST,
9584
9626
  url: `${this.url}/`,
9585
- payload: F(c),
9627
+ payload: M(c),
9586
9628
  blockers: [c.organization_access, c.project],
9587
9629
  blocks: [c.uuid]
9588
9630
  });
@@ -9600,7 +9642,7 @@ class XF extends E {
9600
9642
  description: A(u.POST, this.name, !0),
9601
9643
  method: u.POST,
9602
9644
  url: `${this.url}/bulk/`,
9603
- payload: { project_accesses: o.map((m) => F(m)) },
9645
+ payload: { project_accesses: o.map((m) => M(m)) },
9604
9646
  blockers: o.flatMap((m) => [
9605
9647
  m.project,
9606
9648
  m.organization_access
@@ -9660,7 +9702,7 @@ class XF extends E {
9660
9702
  return this.dispatch(n(a)), a;
9661
9703
  }
9662
9704
  }
9663
- class eR extends $ {
9705
+ class sR extends $ {
9664
9706
  constructor() {
9665
9707
  super(...arguments);
9666
9708
  h(this, "name", "Project Attachment");
@@ -9730,7 +9772,7 @@ class eR extends $ {
9730
9772
  return this.dispatch(n(a)), a;
9731
9773
  }
9732
9774
  }
9733
- class tR extends $ {
9775
+ class iR extends $ {
9734
9776
  constructor() {
9735
9777
  super(...arguments);
9736
9778
  h(this, "name", "Project File");
@@ -9743,7 +9785,7 @@ class tR extends $ {
9743
9785
  updateOne: gT,
9744
9786
  updateMany: kT,
9745
9787
  deleteOne: PT,
9746
- deleteMany: MT,
9788
+ deleteMany: FT,
9747
9789
  initialize: OT
9748
9790
  });
9749
9791
  h(this, "selectors", {
@@ -9826,7 +9868,7 @@ class tR extends $ {
9826
9868
  return this.dispatch(n(r)), r;
9827
9869
  }
9828
9870
  }
9829
- class sR extends It {
9871
+ class nR extends bt {
9830
9872
  constructor() {
9831
9873
  super(...arguments);
9832
9874
  h(this, "name", "Project");
@@ -9851,7 +9893,7 @@ class sR extends It {
9851
9893
  const { addOne: i } = this.actions, n = await this.performRequest({
9852
9894
  method: u.POST,
9853
9895
  url: `${this.url}/`,
9854
- payload: F(e)
9896
+ payload: M(e)
9855
9897
  });
9856
9898
  return this.dispatch(i(n)), n;
9857
9899
  }
@@ -9859,7 +9901,7 @@ class sR extends It {
9859
9901
  const { updateOne: i } = this.actions, n = await this.performRequest({
9860
9902
  method: u.PATCH,
9861
9903
  url: `${this.url}/${e.uuid}/`,
9862
- payload: F(e)
9904
+ payload: M(e)
9863
9905
  });
9864
9906
  return this.dispatch(i(n)), n;
9865
9907
  }
@@ -9885,7 +9927,7 @@ class sR extends It {
9885
9927
  return this.dispatch(n(a)), a;
9886
9928
  }
9887
9929
  }
9888
- class iR extends E {
9930
+ class aR extends E {
9889
9931
  constructor() {
9890
9932
  super(...arguments);
9891
9933
  h(this, "name", "Team Membership");
@@ -9917,7 +9959,7 @@ class iR extends E {
9917
9959
  description: A(u.POST, this.name, !1),
9918
9960
  method: u.POST,
9919
9961
  url: `${this.url}/`,
9920
- payload: F(c),
9962
+ payload: M(c),
9921
9963
  blockers: [e.team],
9922
9964
  blocks: [c.uuid]
9923
9965
  });
@@ -9935,7 +9977,7 @@ class iR extends E {
9935
9977
  description: A(u.POST, this.name, !0),
9936
9978
  method: u.POST,
9937
9979
  url: `${this.url}/bulk/`,
9938
- payload: { team_memberships: o.map((m) => F(m)) },
9980
+ payload: { team_memberships: o.map((m) => M(m)) },
9939
9981
  blockers: o.map((m) => m.team),
9940
9982
  blocks: o.map((m) => m.uuid)
9941
9983
  });
@@ -9974,7 +10016,7 @@ class iR extends E {
9974
10016
  return this.dispatch(n(a)), a;
9975
10017
  }
9976
10018
  }
9977
- class nR extends E {
10019
+ class rR extends E {
9978
10020
  constructor() {
9979
10021
  super(...arguments);
9980
10022
  h(this, "name", "Team");
@@ -10007,7 +10049,7 @@ class nR extends E {
10007
10049
  description: A(u.POST, this.name, !1),
10008
10050
  method: u.POST,
10009
10051
  url: `${this.url}/`,
10010
- payload: F(c),
10052
+ payload: M(c),
10011
10053
  blockers: [],
10012
10054
  blocks: [c.uuid]
10013
10055
  });
@@ -10030,7 +10072,7 @@ class nR extends E {
10030
10072
  description: A(u.PATCH, this.name, !1),
10031
10073
  method: u.PATCH,
10032
10074
  url: `${this.url}/${e.uuid}/`,
10033
- payload: F(e),
10075
+ payload: M(e),
10034
10076
  blockers: [e.uuid],
10035
10077
  blocks: [e.uuid]
10036
10078
  });
@@ -10069,7 +10111,7 @@ class nR extends E {
10069
10111
  return this.dispatch(n(a)), a;
10070
10112
  }
10071
10113
  }
10072
- class aR extends It {
10114
+ class cR extends bt {
10073
10115
  constructor() {
10074
10116
  super(...arguments);
10075
10117
  h(this, "name", "User");
@@ -10086,7 +10128,7 @@ class aR extends It {
10086
10128
  initialize: cO
10087
10129
  });
10088
10130
  h(this, "selectors", {
10089
- selectById: ls,
10131
+ selectById: ps,
10090
10132
  selectByIds: fO
10091
10133
  });
10092
10134
  }
@@ -10111,7 +10153,7 @@ class aR extends It {
10111
10153
  return this.dispatch(n(a)), a;
10112
10154
  }
10113
10155
  }
10114
- class rR extends E {
10156
+ class oR extends E {
10115
10157
  constructor() {
10116
10158
  super(...arguments);
10117
10159
  h(this, "name", "Workflow");
@@ -10120,8 +10162,8 @@ class rR extends E {
10120
10162
  addOne: g_,
10121
10163
  addMany: k_,
10122
10164
  setOne: P_,
10123
- setMany: M_,
10124
- updateOne: F_,
10165
+ setMany: F_,
10166
+ updateOne: M_,
10125
10167
  updateMany: R_,
10126
10168
  deleteOne: E_,
10127
10169
  deleteMany: v_,
@@ -10144,7 +10186,7 @@ class rR extends E {
10144
10186
  description: A(u.POST, this.name, !1),
10145
10187
  method: u.POST,
10146
10188
  url: `${this.url}/`,
10147
- payload: F(c),
10189
+ payload: M(c),
10148
10190
  blockers: [c.workflow_type, c.project],
10149
10191
  blocks: [c.uuid]
10150
10192
  });
@@ -10206,7 +10248,7 @@ class rR extends E {
10206
10248
  return this.dispatch(n(r)), r;
10207
10249
  }
10208
10250
  }
10209
- class cR extends E {
10251
+ class dR extends E {
10210
10252
  constructor() {
10211
10253
  super(...arguments);
10212
10254
  h(this, "name", "Workflow Step Assignee");
@@ -10239,7 +10281,7 @@ class cR extends E {
10239
10281
  description: A(u.POST, this.name, !1),
10240
10282
  method: u.POST,
10241
10283
  url: `${this.url}/`,
10242
- payload: F(c),
10284
+ payload: M(c),
10243
10285
  blockers: [c.workflow, c.workflow_step],
10244
10286
  blocks: [c.uuid]
10245
10287
  });
@@ -10264,7 +10306,7 @@ class cR extends E {
10264
10306
  method: u.POST,
10265
10307
  url: `${this.url}/bulk/`,
10266
10308
  payload: {
10267
- workflow_step_assignees: d.map((y) => F(y)),
10309
+ workflow_step_assignees: d.map((y) => M(y)),
10268
10310
  submitted_at: o
10269
10311
  },
10270
10312
  blockers: d.flatMap((y) => [y.workflow, y.workflow_step]),
@@ -10321,7 +10363,7 @@ class cR extends E {
10321
10363
  return this.dispatch(n(r)), r;
10322
10364
  }
10323
10365
  }
10324
- class oR extends E {
10366
+ class uR extends E {
10325
10367
  constructor() {
10326
10368
  super(...arguments);
10327
10369
  h(this, "name", "Workflow Step Comment");
@@ -10354,7 +10396,7 @@ class oR extends E {
10354
10396
  description: A(u.POST, this.name, !1),
10355
10397
  method: u.POST,
10356
10398
  url: `${this.url}/`,
10357
- payload: F(c),
10399
+ payload: M(c),
10358
10400
  blockers: [c.workflow, c.workflow_step],
10359
10401
  blocks: [c.uuid]
10360
10402
  });
@@ -10416,7 +10458,7 @@ class oR extends E {
10416
10458
  return this.dispatch(n(r)), r;
10417
10459
  }
10418
10460
  }
10419
- class dR extends E {
10461
+ class lR extends E {
10420
10462
  constructor() {
10421
10463
  super(...arguments);
10422
10464
  h(this, "name", "Workflow Step Event");
@@ -10449,7 +10491,7 @@ class dR extends E {
10449
10491
  return this.dispatch(n(r)), r;
10450
10492
  }
10451
10493
  }
10452
- class uR extends $ {
10494
+ class hR extends $ {
10453
10495
  constructor() {
10454
10496
  super(...arguments);
10455
10497
  h(this, "name", "Workflow Step Fields Attachment");
@@ -10461,7 +10503,7 @@ class uR extends $ {
10461
10503
  setMany: gI,
10462
10504
  updateOne: kI,
10463
10505
  updateMany: PI,
10464
- deleteOne: MI,
10506
+ deleteOne: FI,
10465
10507
  deleteMany: Nr,
10466
10508
  initialize: _I
10467
10509
  });
@@ -10523,7 +10565,7 @@ class uR extends $ {
10523
10565
  return this.dispatch(n(a)), a;
10524
10566
  }
10525
10567
  }
10526
- class lR extends E {
10568
+ class pR extends E {
10527
10569
  constructor() {
10528
10570
  super(...arguments);
10529
10571
  h(this, "name", "Workflow Step Fields");
@@ -10556,7 +10598,7 @@ class lR extends E {
10556
10598
  description: A(u.POST, this.name, !1),
10557
10599
  method: u.POST,
10558
10600
  url: `${this.url}/`,
10559
- payload: F(c),
10601
+ payload: M(c),
10560
10602
  blockers: [c.workflow_step],
10561
10603
  blocks: [c.uuid]
10562
10604
  });
@@ -10596,7 +10638,7 @@ class lR extends E {
10596
10638
  return this.dispatch(n(a)), a;
10597
10639
  }
10598
10640
  }
10599
- class hR extends $ {
10641
+ class mR extends $ {
10600
10642
  constructor() {
10601
10643
  super(...arguments);
10602
10644
  h(this, "name", "Workflow Step Field Values Attachment");
@@ -10687,25 +10729,25 @@ class hR extends $ {
10687
10729
  return this.dispatch(n(r)), r;
10688
10730
  }
10689
10731
  }
10690
- class pR extends E {
10732
+ class yR extends E {
10691
10733
  constructor() {
10692
10734
  super(...arguments);
10693
10735
  h(this, "name", "Workflow Step Field Values Review Request");
10694
10736
  h(this, "url", "/workflow-step-field-values-review-requests");
10695
10737
  h(this, "actions", {
10696
- addOne: rb,
10697
- addMany: Xr,
10698
- setOne: cb,
10699
- setMany: ob,
10700
- updateOne: db,
10701
- updateMany: ub,
10702
- deleteOne: lb,
10703
- deleteMany: ec,
10704
- initialize: ab
10738
+ addOne: wb,
10739
+ addMany: ec,
10740
+ setOne: Ob,
10741
+ setMany: Tb,
10742
+ updateOne: _b,
10743
+ updateMany: Ib,
10744
+ deleteOne: bb,
10745
+ deleteMany: tc,
10746
+ initialize: Ab
10705
10747
  });
10706
10748
  h(this, "selectors", {
10707
- selectById: pb,
10708
- selectByIds: mb
10749
+ selectById: kb,
10750
+ selectByIds: Pb
10709
10751
  });
10710
10752
  }
10711
10753
  add(e) {
@@ -10720,7 +10762,7 @@ class pR extends E {
10720
10762
  description: A(u.POST, this.name, !1),
10721
10763
  method: u.POST,
10722
10764
  url: `${this.url}/`,
10723
- payload: F(c),
10765
+ payload: M(c),
10724
10766
  blockers: [c.field_values],
10725
10767
  blocks: [c.uuid]
10726
10768
  });
@@ -10759,25 +10801,25 @@ class pR extends E {
10759
10801
  return this.dispatch(n(r)), r;
10760
10802
  }
10761
10803
  }
10762
- class mR extends E {
10804
+ class fR extends E {
10763
10805
  constructor() {
10764
10806
  super(...arguments);
10765
10807
  h(this, "name", "Workflow Step Field Values Review");
10766
10808
  h(this, "url", "/workflow-step-field-values-reviews");
10767
10809
  h(this, "actions", {
10768
- addOne: Ab,
10769
- addMany: sc,
10770
- setOne: wb,
10771
- setMany: Ob,
10772
- updateOne: Tb,
10773
- updateMany: _b,
10774
- deleteOne: Ib,
10775
- deleteMany: ic,
10776
- initialize: Sb
10810
+ addOne: Eb,
10811
+ addMany: ic,
10812
+ setOne: vb,
10813
+ setMany: Bb,
10814
+ updateOne: Vb,
10815
+ updateMany: zb,
10816
+ deleteOne: qb,
10817
+ deleteMany: nc,
10818
+ initialize: Rb
10777
10819
  });
10778
10820
  h(this, "selectors", {
10779
- selectById: gb,
10780
- selectByIds: kb
10821
+ selectById: $b,
10822
+ selectByIds: jb
10781
10823
  });
10782
10824
  }
10783
10825
  add(e) {
@@ -10792,7 +10834,7 @@ class mR extends E {
10792
10834
  description: A(u.POST, this.name, !1),
10793
10835
  method: u.POST,
10794
10836
  url: `${this.url}/`,
10795
- payload: F(c),
10837
+ payload: M(c),
10796
10838
  blockers: [c.field_values],
10797
10839
  blocks: [c.uuid]
10798
10840
  });
@@ -10854,25 +10896,25 @@ class mR extends E {
10854
10896
  return this.dispatch(n(r)), r;
10855
10897
  }
10856
10898
  }
10857
- class yR extends E {
10899
+ class SR extends E {
10858
10900
  constructor() {
10859
10901
  super(...arguments);
10860
10902
  h(this, "name", "Workflow Step Field Values");
10861
10903
  h(this, "url", "/workflow-step-field-values");
10862
10904
  h(this, "actions", {
10863
- addOne: Rb,
10864
- addMany: Eb,
10865
- setOne: vb,
10866
- setMany: Bb,
10867
- updateOne: Vb,
10868
- updateMany: zb,
10869
- deleteOne: qb,
10870
- deleteMany: Db,
10871
- initialize: Fb
10905
+ addOne: rb,
10906
+ addMany: cb,
10907
+ setOne: ob,
10908
+ setMany: db,
10909
+ updateOne: ub,
10910
+ updateMany: lb,
10911
+ deleteOne: hb,
10912
+ deleteMany: pb,
10913
+ initialize: ab
10872
10914
  });
10873
10915
  h(this, "selectors", {
10874
- selectById: jb,
10875
- selectByIds: xb
10916
+ selectById: yb,
10917
+ selectByIds: fb
10876
10918
  });
10877
10919
  }
10878
10920
  add(e) {
@@ -10885,7 +10927,7 @@ class yR extends E {
10885
10927
  description: A(u.POST, this.name, !1),
10886
10928
  method: u.POST,
10887
10929
  url: `${this.url}/`,
10888
- payload: F(o),
10930
+ payload: M(o),
10889
10931
  blockers: [e.workflow, e.workflow_step, e.fields_revision],
10890
10932
  blocks: [o.uuid]
10891
10933
  });
@@ -10927,8 +10969,8 @@ class yR extends E {
10927
10969
  const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c);
10928
10970
  if (!o)
10929
10971
  throw new Error(`Expected WorkflowStepFieldValues with uuid ${e} to exist`);
10930
- const d = ib(e)(c), l = Pb(e)(c), m = yb(e)(c);
10931
- this.dispatch(n(e)), this.dispatch(Qr(V(d))), this.dispatch(ic(V(l))), this.dispatch(ec(V(m)));
10972
+ const d = ib(e)(c), l = xb(e)(c), m = Fb(e)(c);
10973
+ this.dispatch(n(e)), this.dispatch(Qr(V(d))), this.dispatch(nc(V(l))), this.dispatch(tc(V(m)));
10932
10974
  try {
10933
10975
  return await this.enqueueRequest({
10934
10976
  description: A(u.DELETE, this.name, !1),
@@ -10938,7 +10980,7 @@ class yR extends E {
10938
10980
  blocks: []
10939
10981
  });
10940
10982
  } catch (y) {
10941
- throw this.dispatch(a(o)), this.dispatch(Yr(d)), this.dispatch(sc(l)), this.dispatch(Xr(m)), y;
10983
+ throw this.dispatch(a(o)), this.dispatch(Yr(d)), this.dispatch(ic(l)), this.dispatch(ec(m)), y;
10942
10984
  }
10943
10985
  }
10944
10986
  async refreshStore(e, i) {
@@ -10953,7 +10995,7 @@ class yR extends E {
10953
10995
  return this.dispatch(n(r)), r;
10954
10996
  }
10955
10997
  }
10956
- class fR extends E {
10998
+ class AR extends E {
10957
10999
  constructor() {
10958
11000
  super(...arguments);
10959
11001
  h(this, "name", "Workflow Step Reviewer");
@@ -10986,7 +11028,7 @@ class fR extends E {
10986
11028
  description: A(u.POST, this.name, !1),
10987
11029
  method: u.POST,
10988
11030
  url: `${this.url}/`,
10989
- payload: F(c),
11031
+ payload: M(c),
10990
11032
  blockers: [c.workflow, c.workflow_step],
10991
11033
  blocks: [c.uuid]
10992
11034
  });
@@ -11011,7 +11053,7 @@ class fR extends E {
11011
11053
  method: u.POST,
11012
11054
  url: `${this.url}/bulk/`,
11013
11055
  payload: {
11014
- workflow_step_reviewers: d.map((y) => F(y)),
11056
+ workflow_step_reviewers: d.map((y) => M(y)),
11015
11057
  submitted_at: o
11016
11058
  },
11017
11059
  blockers: d.flatMap((y) => [y.workflow, y.workflow_step]),
@@ -11068,7 +11110,7 @@ class fR extends E {
11068
11110
  return this.dispatch(n(r)), r;
11069
11111
  }
11070
11112
  }
11071
- class SR extends E {
11113
+ class wR extends E {
11072
11114
  constructor() {
11073
11115
  super(...arguments);
11074
11116
  h(this, "name", "Workflow Step");
@@ -11101,7 +11143,7 @@ class SR extends E {
11101
11143
  description: A(u.POST, this.name, !1),
11102
11144
  method: u.POST,
11103
11145
  url: `${this.url}/`,
11104
- payload: F(c),
11146
+ payload: M(c),
11105
11147
  blockers: [c.workflow_type],
11106
11148
  blocks: [c.uuid]
11107
11149
  });
@@ -11163,7 +11205,7 @@ class SR extends E {
11163
11205
  return this.dispatch(n(a)), a;
11164
11206
  }
11165
11207
  }
11166
- class AR extends E {
11208
+ class OR extends E {
11167
11209
  constructor() {
11168
11210
  super(...arguments);
11169
11211
  h(this, "name", "Workflow Type");
@@ -11196,7 +11238,7 @@ class AR extends E {
11196
11238
  description: A(u.POST, this.name, !1),
11197
11239
  method: u.POST,
11198
11240
  url: `${this.url}/`,
11199
- payload: F(o),
11241
+ payload: M(o),
11200
11242
  blockers: [],
11201
11243
  blocks: [o.uuid]
11202
11244
  });
@@ -11259,7 +11301,7 @@ class AR extends E {
11259
11301
  }
11260
11302
  }
11261
11303
  async function Sc(t, s, e, i, n) {
11262
- const a = i instanceof wt;
11304
+ const a = i instanceof Ot;
11263
11305
  a && s.checkAuth !== !1 && await i.auth.prepareAuth();
11264
11306
  const r = {
11265
11307
  queryParams: "",
@@ -11283,7 +11325,7 @@ async function Sc(t, s, e, i, n) {
11283
11325
  if (y && !R)
11284
11326
  throw new Error(`Cannot upload file ${y} because it's not cached.`);
11285
11327
  !w && !k.startsWith("http") && (!k.startsWith("/") && !k.startsWith("blob:") && (k = "/" + k), k = t + k);
11286
- const M = (B) => {
11328
+ const F = (B) => {
11287
11329
  if (y) {
11288
11330
  if (!c) throw new Error(`No S3 URL for file ${y}`);
11289
11331
  if ("warning" in c) throw new Error(`S3 URL warning for file ${y}`);
@@ -11297,19 +11339,19 @@ async function Sc(t, s, e, i, n) {
11297
11339
  [u.GET]: () => v ? mt.get(k.toString()).responseType("blob") : mt.get(k.toString()),
11298
11340
  [u.POST]: () => {
11299
11341
  const B = mt.post(k.toString());
11300
- return M(B);
11342
+ return F(B);
11301
11343
  },
11302
11344
  [u.PATCH]: () => {
11303
11345
  const B = mt.patch(k.toString());
11304
- return M(B);
11346
+ return F(B);
11305
11347
  },
11306
11348
  [u.PUT]: () => {
11307
11349
  const B = mt.put(k.toString());
11308
- return M(B);
11350
+ return F(B);
11309
11351
  },
11310
11352
  [u.DELETE]: () => {
11311
11353
  const B = mt.delete(k.toString());
11312
- return M(B);
11354
+ return F(B);
11313
11355
  }
11314
11356
  }[l];
11315
11357
  let q = x();
@@ -11324,19 +11366,19 @@ async function Sc(t, s, e, i, n) {
11324
11366
  try {
11325
11367
  return await q.query(m);
11326
11368
  } catch (B) {
11327
- const U = Ng(B), gt = U == null ? void 0 : U.status;
11328
- if (a && gt === 401)
11369
+ const U = Ng(B), kt = U == null ? void 0 : U.status;
11370
+ if (a && kt === 401)
11329
11371
  return await i.auth.handleUnauthorized(q, U), q.query(m);
11330
11372
  throw new C({
11331
11373
  response: U,
11332
11374
  innerError: B,
11333
- discard: lc.includes(gt)
11375
+ discard: lc.includes(kt)
11334
11376
  });
11335
11377
  } finally {
11336
11378
  n == null || n.removeEventListener("abort", j);
11337
11379
  }
11338
11380
  }
11339
- class wR {
11381
+ class TR {
11340
11382
  constructor(s) {
11341
11383
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11342
11384
  h(this, "store");
@@ -11350,7 +11392,7 @@ class wR {
11350
11392
  return Sc(s, r, this, i, n).then((c) => {
11351
11393
  a.resolve(c.body);
11352
11394
  }).catch((c) => {
11353
- c instanceof Error ? a.reject(c) : a.reject(new Error((c ?? _t).toString()));
11395
+ c instanceof Error ? a.reject(c) : a.reject(new Error((c ?? It).toString()));
11354
11396
  }), a;
11355
11397
  }
11356
11398
  async performRequest(s, e, i, n) {
@@ -11420,7 +11462,7 @@ Converting error to APIError and discarding.`
11420
11462
  return o;
11421
11463
  }
11422
11464
  }
11423
- class Tt {
11465
+ class _t {
11424
11466
  constructor() {
11425
11467
  h(this, "graph");
11426
11468
  h(this, "requestAttemptCounter");
@@ -11430,7 +11472,7 @@ class Tt {
11430
11472
  * Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
11431
11473
  */
11432
11474
  static _fromOutbox(s) {
11433
- const e = new Tt();
11475
+ const e = new _t();
11434
11476
  for (let i = 0; i < s.length; i++) {
11435
11477
  const n = s[i];
11436
11478
  if (!n) {
@@ -11444,7 +11486,7 @@ class Tt {
11444
11486
  console.error("Previous outbox item was undefined");
11445
11487
  continue;
11446
11488
  }
11447
- r.payload.uuid !== n.payload.uuid && r.payload.blocks.some((c) => n.payload.blockers.includes(c)) && Tt._addDependency(
11489
+ r.payload.uuid !== n.payload.uuid && r.payload.blocks.some((c) => n.payload.blockers.includes(c)) && _t._addDependency(
11448
11490
  n.payload.uuid,
11449
11491
  r.payload.uuid,
11450
11492
  e.graph
@@ -11454,7 +11496,7 @@ class Tt {
11454
11496
  return e;
11455
11497
  }
11456
11498
  _addDependency(s, e) {
11457
- Tt._addDependency(s, e, this.graph);
11499
+ _t._addDependency(s, e, this.graph);
11458
11500
  }
11459
11501
  static _addDependency(s, e, i) {
11460
11502
  if (s === e)
@@ -11567,7 +11609,7 @@ let Ac;
11567
11609
  function Yg(t) {
11568
11610
  Ac = t;
11569
11611
  }
11570
- function bt() {
11612
+ function gt() {
11571
11613
  return Ac;
11572
11614
  }
11573
11615
  let wc;
@@ -11577,17 +11619,17 @@ function Qg(t) {
11577
11619
  function Jg() {
11578
11620
  return wc;
11579
11621
  }
11580
- let Ct = null;
11622
+ let Lt = null;
11581
11623
  function St() {
11582
- const t = bt();
11624
+ const t = gt();
11583
11625
  if (!t)
11584
11626
  return console.warn("Client store not set; cannot get outbox coordinator yet."), null;
11585
- if (Ct)
11586
- return Ct;
11587
- const s = t.getState().offline.outbox, e = Tt._fromOutbox(s);
11588
- return Ct = e, e;
11627
+ if (Lt)
11628
+ return Lt;
11629
+ const s = t.getState().offline.outbox, e = _t._fromOutbox(s);
11630
+ return Lt = e, e;
11589
11631
  }
11590
- const OR = (t, s) => {
11632
+ const _R = (t, s) => {
11591
11633
  const e = new s(t);
11592
11634
  return Qg(e), Yg(t), e;
11593
11635
  };
@@ -11620,7 +11662,7 @@ class Oc {
11620
11662
  if (this.next)
11621
11663
  return this.next.run(s);
11622
11664
  {
11623
- if (console.debug("Middleware finished. Performing request:", s.payload.url), !bt()) throw new Error("Client store not set");
11665
+ if (console.debug("Middleware finished. Performing request:", s.payload.url), !gt()) throw new Error("Client store not set");
11624
11666
  const i = Jg();
11625
11667
  if (!i) throw new Error("Client SDK not set");
11626
11668
  return jg(s, i);
@@ -11646,121 +11688,121 @@ var ik = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATIO
11646
11688
  export {
11647
11689
  tk as ALL_MIDDLEWARE,
11648
11690
  C as APIError,
11649
- QM as AgentService,
11650
- JM as AssetAttachmentService,
11651
- iF as AssetProcedureService,
11652
- cF as AssetProcedureStepFieldValuesAttachmentService,
11653
- oF as AssetProcedureStepFieldValuesService,
11654
- aF as AssetProcedureStepFieldsAttachmentService,
11655
- rF as AssetProcedureStepFieldsService,
11656
- dF as AssetProcedureStepService,
11657
- ZM as AssetProcedureTypeAttachmentService,
11658
- tF as AssetProcedureTypeFieldValuesAttachmentService,
11659
- sF as AssetProcedureTypeFieldValuesService,
11660
- XM as AssetProcedureTypeFieldsAttachmentService,
11661
- eF as AssetProcedureTypeFieldsService,
11662
- nF as AssetProcedureTypeService,
11663
- uF as AssetService,
11664
- lF as AssetStageCompletionService,
11665
- hF as AssetStageService,
11691
+ ZF as AgentService,
11692
+ XF as AssetAttachmentService,
11693
+ aM as AssetProcedureService,
11694
+ dM as AssetProcedureStepFieldValuesAttachmentService,
11695
+ uM as AssetProcedureStepFieldValuesService,
11696
+ cM as AssetProcedureStepFieldsAttachmentService,
11697
+ oM as AssetProcedureStepFieldsService,
11698
+ lM as AssetProcedureStepService,
11699
+ eM as AssetProcedureTypeAttachmentService,
11700
+ iM as AssetProcedureTypeFieldValuesAttachmentService,
11701
+ nM as AssetProcedureTypeFieldValuesService,
11702
+ tM as AssetProcedureTypeFieldsAttachmentService,
11703
+ sM as AssetProcedureTypeFieldsService,
11704
+ rM as AssetProcedureTypeService,
11705
+ hM as AssetService,
11706
+ pM as AssetStageCompletionService,
11707
+ mM as AssetStageService,
11666
11708
  Dc as AssetStatusType,
11667
- pF as AssetTypeAttachmentService,
11668
- fF as AssetTypeFieldValuesAttachmentService,
11669
- SF as AssetTypeFieldValuesService,
11670
- mF as AssetTypeFieldsAttachmentService,
11671
- yF as AssetTypeFieldsService,
11672
- AF as AssetTypeIdentifierService,
11673
- wF as AssetTypeIdentifierValueService,
11674
- OF as AssetTypeService,
11675
- TF as AssetTypeStatusService,
11709
+ yM as AssetTypeAttachmentService,
11710
+ AM as AssetTypeFieldValuesAttachmentService,
11711
+ wM as AssetTypeFieldValuesService,
11712
+ fM as AssetTypeFieldsAttachmentService,
11713
+ SM as AssetTypeFieldsService,
11714
+ OM as AssetTypeIdentifierService,
11715
+ TM as AssetTypeIdentifierValueService,
11716
+ _M as AssetTypeService,
11717
+ IM as AssetTypeStatusService,
11676
11718
  $c as AttachmentModel,
11677
- wt as BaseApiService,
11678
- It as BaseModelApiService,
11719
+ Ot as BaseApiService,
11720
+ bt as BaseModelApiService,
11679
11721
  $ as BaseOfflineFileModelApiService,
11680
11722
  E as BaseOfflineModelApiService,
11681
- wR as BaseSDK,
11723
+ TR as BaseSDK,
11682
11724
  Jc as COMMON_AUTO_FIELDS,
11683
11725
  Ik as DEFAULT_ISSUE_PRIORITY,
11684
- Mg as DEFAULT_PAGE_SIZE,
11726
+ Fg as DEFAULT_PAGE_SIZE,
11685
11727
  lc as DISCARD_HTTP_STATUSES,
11686
11728
  Ts as DeferredPromise,
11687
- _F as DocumentAttachmentService,
11688
- IF as DocumentService,
11729
+ bM as DocumentAttachmentService,
11730
+ gM as DocumentService,
11689
11731
  Vc as EMPTY_ARRAY,
11690
11732
  zc as EMPTY_OBJECT,
11691
- bF as EmailDomainsService,
11692
- gF as EmailVerificationService,
11693
- Fg as FILE_MODEL_DEFAULT_PAGE_SIZE,
11694
- kF as FileService,
11695
- PF as FormIdentifierService,
11696
- MF as FormIdentifierValueService,
11697
- FF as FormRevisionAttachmentService,
11698
- RF as FormRevisionService,
11699
- EF as FormService,
11700
- vF as FormSubmissionAttachmentService,
11701
- BF as FormSubmissionService,
11702
- VF as GeoImageService,
11733
+ kM as EmailDomainsService,
11734
+ PM as EmailVerificationService,
11735
+ Mg as FILE_MODEL_DEFAULT_PAGE_SIZE,
11736
+ FM as FileService,
11737
+ MM as FormIdentifierService,
11738
+ RM as FormIdentifierValueService,
11739
+ EM as FormRevisionAttachmentService,
11740
+ vM as FormRevisionService,
11741
+ BM as FormService,
11742
+ VM as FormSubmissionAttachmentService,
11743
+ zM as FormSubmissionService,
11744
+ qM as GeoImageService,
11703
11745
  u as HttpMethod,
11704
- zF as IssueAssociationService,
11705
- qF as IssueAttachmentService,
11706
- DF as IssueCommentAttachmentService,
11707
- $F as IssueCommentService,
11746
+ DM as IssueAssociationService,
11747
+ $M as IssueAttachmentService,
11748
+ jM as IssueCommentAttachmentService,
11749
+ xM as IssueCommentService,
11708
11750
  Ji as IssuePriority,
11709
- jF as IssueService,
11751
+ WM as IssueService,
11710
11752
  jc as IssueStatusType,
11711
- xF as IssueTypeAttachmentService,
11712
- UF as IssueTypeFieldValuesAttachmentService,
11713
- LF as IssueTypeFieldValuesService,
11714
- WF as IssueTypeFieldsAttachmentService,
11715
- CF as IssueTypeFieldsService,
11716
- NF as IssueTypeIdentifierService,
11717
- HF as IssueTypeIdentifierValueService,
11718
- GF as IssueTypeService,
11719
- KF as IssueTypeStatusService,
11753
+ CM as IssueTypeAttachmentService,
11754
+ NM as IssueTypeFieldValuesAttachmentService,
11755
+ HM as IssueTypeFieldValuesService,
11756
+ UM as IssueTypeFieldsAttachmentService,
11757
+ LM as IssueTypeFieldsService,
11758
+ GM as IssueTypeIdentifierService,
11759
+ KM as IssueTypeIdentifierValueService,
11760
+ YM as IssueTypeService,
11761
+ QM as IssueTypeStatusService,
11720
11762
  W as IssueUpdateChange,
11721
- YF as IssueUpdateService,
11722
- QF as JWTService,
11763
+ JM as IssueUpdateService,
11764
+ ZM as JWTService,
11723
11765
  lt as MAX_SERVICE_BATCH_SIZE,
11724
11766
  Wc as OUTBOX_RETRY_DELAY,
11725
11767
  Xg as OfflineAnalyticsMiddleware,
11726
11768
  Oc as OfflineMiddleware,
11727
11769
  qc as OrganizationAccessLevel,
11728
- JF as OrganizationAccessService,
11729
- ZF as OrganizationService,
11730
- Tt as OutboxCoordinator,
11731
- XF as ProjectAccessService,
11732
- eR as ProjectAttachmentService,
11733
- tR as ProjectFileService,
11734
- sR as ProjectService,
11770
+ XM as OrganizationAccessService,
11771
+ eR as OrganizationService,
11772
+ _t as OutboxCoordinator,
11773
+ tR as ProjectAccessService,
11774
+ sR as ProjectAttachmentService,
11775
+ iR as ProjectFileService,
11776
+ nR as ProjectService,
11735
11777
  b as RESET_ORGANIZATION_STATE,
11736
11778
  z as RESET_PROJECT_STATE,
11737
11779
  O as RESET_STATE,
11738
11780
  ek as RateLimitingMiddleware,
11739
11781
  Nk as SelectorBuilder,
11740
- iR as TeamMembershipService,
11741
- nR as TeamService,
11742
- _t as UNKNOWN_ERROR_MESSAGE,
11743
- aR as UserService,
11744
- Ft as VERSION_REDUCER_KEY,
11782
+ aR as TeamMembershipService,
11783
+ rR as TeamService,
11784
+ It as UNKNOWN_ERROR_MESSAGE,
11785
+ cR as UserService,
11786
+ Rt as VERSION_REDUCER_KEY,
11745
11787
  ik as VerificationCodeType,
11746
11788
  gk as WORKFLOW_STATUSES,
11747
11789
  bk as WORKFLOW_STEP_FIELD_VALUES_REVIEW_TYPES,
11748
- rR as WorkflowService,
11749
- kt as WorkflowStatus,
11750
- cR as WorkflowStepAssigneeService,
11751
- oR as WorkflowStepCommentService,
11752
- dR as WorkflowStepEventService,
11790
+ oR as WorkflowService,
11791
+ Pt as WorkflowStatus,
11792
+ dR as WorkflowStepAssigneeService,
11793
+ uR as WorkflowStepCommentService,
11794
+ lR as WorkflowStepEventService,
11753
11795
  xc as WorkflowStepEventType,
11754
- hR as WorkflowStepFieldValuesAttachmentService,
11755
- pR as WorkflowStepFieldValuesReviewRequestService,
11756
- mR as WorkflowStepFieldValuesReviewService,
11757
- Pt as WorkflowStepFieldValuesReviewType,
11758
- yR as WorkflowStepFieldValuesService,
11759
- uR as WorkflowStepFieldsAttachmentService,
11760
- lR as WorkflowStepFieldsService,
11761
- fR as WorkflowStepReviewerService,
11762
- SR as WorkflowStepService,
11763
- AR as WorkflowTypeService,
11796
+ mR as WorkflowStepFieldValuesAttachmentService,
11797
+ yR as WorkflowStepFieldValuesReviewRequestService,
11798
+ fR as WorkflowStepFieldValuesReviewService,
11799
+ Ft as WorkflowStepFieldValuesReviewType,
11800
+ SR as WorkflowStepFieldValuesService,
11801
+ hR as WorkflowStepFieldsAttachmentService,
11802
+ pR as WorkflowStepFieldsService,
11803
+ AR as WorkflowStepReviewerService,
11804
+ wR as WorkflowStepService,
11805
+ OR as WorkflowTypeService,
11764
11806
  GO as _setLatestRetryTime,
11765
11807
  ll as addAsset,
11766
11808
  oo as addAssetAttachment,
@@ -11769,7 +11811,7 @@ export {
11769
11811
  el as addAssetProcedureStep,
11770
11812
  ju as addAssetProcedureStepFieldValues,
11771
11813
  Pu as addAssetProcedureStepFieldValuesAttachment,
11772
- Fn as addAssetProcedureStepFieldValuesAttachments,
11814
+ Mn as addAssetProcedureStepFieldValuesAttachments,
11773
11815
  xu as addAssetProcedureStepFieldValuesMany,
11774
11816
  yu as addAssetProcedureStepFields,
11775
11817
  su as addAssetProcedureStepFieldsAttachment,
@@ -11831,7 +11873,7 @@ export {
11831
11873
  Ta as addFormRevisions,
11832
11874
  hf as addFormSubmission,
11833
11875
  Zy as addFormSubmissionAttachment,
11834
- Ma as addFormSubmissionAttachments,
11876
+ Fa as addFormSubmissionAttachments,
11835
11877
  Va as addFormSubmissions,
11836
11878
  xy as addForms,
11837
11879
  bf as addGeoImage,
@@ -11845,7 +11887,7 @@ export {
11845
11887
  dS as addIssueCommentAttachment,
11846
11888
  uS as addIssueCommentAttachments,
11847
11889
  IS as addIssueComments,
11848
- Mw as addIssueType,
11890
+ Fw as addIssueType,
11849
11891
  HS as addIssueTypeAttachment,
11850
11892
  GS as addIssueTypeAttachments,
11851
11893
  AA as addIssueTypeFieldValues,
@@ -11862,7 +11904,7 @@ export {
11862
11904
  iw as addIssueTypeIdentifiers,
11863
11905
  Ww as addIssueTypeStatus,
11864
11906
  Cw as addIssueTypeStatuses,
11865
- Fw as addIssueTypes,
11907
+ Mw as addIssueTypes,
11866
11908
  fr as addIssueUpdate,
11867
11909
  Sr as addIssueUpdates,
11868
11910
  Ya as addIssues,
@@ -11892,14 +11934,14 @@ export {
11892
11934
  Z_ as addWorkflowStepComments,
11893
11935
  uI as addWorkflowStepEvent,
11894
11936
  lI as addWorkflowStepEvents,
11895
- Rb as addWorkflowStepFieldValues,
11937
+ rb as addWorkflowStepFieldValues,
11896
11938
  KI as addWorkflowStepFieldValuesAttachment,
11897
11939
  Yr as addWorkflowStepFieldValuesAttachments,
11898
- Eb as addWorkflowStepFieldValuesMany,
11899
- Ab as addWorkflowStepFieldValuesReview,
11900
- rb as addWorkflowStepFieldValuesReviewRequest,
11901
- Xr as addWorkflowStepFieldValuesReviewRequests,
11902
- sc as addWorkflowStepFieldValuesReviews,
11940
+ cb as addWorkflowStepFieldValuesMany,
11941
+ Eb as addWorkflowStepFieldValuesReview,
11942
+ wb as addWorkflowStepFieldValuesReviewRequest,
11943
+ ec as addWorkflowStepFieldValuesReviewRequests,
11944
+ ic as addWorkflowStepFieldValuesReviews,
11903
11945
  zI as addWorkflowStepFields,
11904
11946
  II as addWorkflowStepFieldsAttachment,
11905
11947
  Lr as addWorkflowStepFieldsAttachments,
@@ -11912,13 +11954,13 @@ export {
11912
11954
  k_ as addWorkflows,
11913
11955
  ro as agentsReducer,
11914
11956
  sn as agentsSlice,
11915
- Fk as areArraysEqual,
11957
+ Mk as areArraysEqual,
11916
11958
  wo as assetAttachmentReducer,
11917
11959
  an as assetAttachmentSlice,
11918
11960
  Dd as assetProcedureReducer,
11919
11961
  wn as assetProcedureSlice,
11920
11962
  Du as assetProcedureStepFieldValuesAttachmentReducer,
11921
- Mn as assetProcedureStepFieldValuesAttachmentSlice,
11963
+ Fn as assetProcedureStepFieldValuesAttachmentSlice,
11922
11964
  Qu as assetProcedureStepFieldValuesReducer,
11923
11965
  vn as assetProcedureStepFieldValuesSlice,
11924
11966
  pu as assetProcedureStepFieldsAttachmentReducer,
@@ -11927,7 +11969,7 @@ export {
11927
11969
  kn as assetProcedureStepFieldsSlice,
11928
11970
  rl as assetProcedureStepReducer,
11929
11971
  Bn as assetProcedureStepSlice,
11930
- Fo as assetProcedureTypeAttachmentReducer,
11972
+ Mo as assetProcedureTypeAttachmentReducer,
11931
11973
  dn as assetProcedureTypeAttachmentSlice,
11932
11974
  hd as assetProcedureTypeFieldValuesAttachmentReducer,
11933
11975
  mn as assetProcedureTypeFieldValuesAttachmentSlice,
@@ -11957,7 +11999,7 @@ export {
11957
11999
  Kn as assetTypeFieldsSlice,
11958
12000
  yp as assetTypeIdentifierReducer,
11959
12001
  ea as assetTypeIdentifierSlice,
11960
- Mp as assetTypeIdentifierValueReducer,
12002
+ Fp as assetTypeIdentifierValueReducer,
11961
12003
  sa as assetTypeIdentifierValueSlice,
11962
12004
  Wp as assetTypeReducer,
11963
12005
  ia as assetTypeSlice,
@@ -11965,13 +12007,13 @@ export {
11965
12007
  aa as assetTypeStatusSlice,
11966
12008
  Xc as assetTypeStatusSortFn,
11967
12009
  sm as authReducer,
11968
- ss as authSlice,
11969
- GM as baseReducer,
12010
+ ns as authSlice,
12011
+ YF as baseReducer,
11970
12012
  uc as baseReducers,
11971
12013
  RP as clearTokens,
11972
12014
  I as createModelAdapter,
11973
12015
  LO as createOfflineAction,
11974
- F as createPayload,
12016
+ M as createPayload,
11975
12017
  kk as createSelectionAdapter,
11976
12018
  ml as deleteAsset,
11977
12019
  mo as deleteAssetAttachment,
@@ -11989,7 +12031,7 @@ export {
11989
12031
  al as deleteAssetProcedureSteps,
11990
12032
  Gd as deleteAssetProcedureType,
11991
12033
  Po as deleteAssetProcedureTypeAttachment,
11992
- Mo as deleteAssetProcedureTypeAttachments,
12034
+ Fo as deleteAssetProcedureTypeAttachments,
11993
12035
  bd as deleteAssetProcedureTypeFieldValues,
11994
12036
  ld as deleteAssetProcedureTypeFieldValuesAttachment,
11995
12037
  fn as deleteAssetProcedureTypeFieldValuesAttachments,
@@ -12001,7 +12043,7 @@ export {
12001
12043
  Kd as deleteAssetProcedureTypes,
12002
12044
  Tn as deleteAssetProcedures,
12003
12045
  Ul as deleteAssetStage,
12004
- Fl as deleteAssetStageCompletion,
12046
+ Ml as deleteAssetStageCompletion,
12005
12047
  Rl as deleteAssetStageCompletions,
12006
12048
  Ll as deleteAssetStages,
12007
12049
  qp as deleteAssetType,
@@ -12042,20 +12084,20 @@ export {
12042
12084
  Ia as deleteFormRevisions,
12043
12085
  yf as deleteFormSubmission,
12044
12086
  nf as deleteFormSubmissionAttachment,
12045
- Fa as deleteFormSubmissionAttachments,
12087
+ Ma as deleteFormSubmissionAttachments,
12046
12088
  za as deleteFormSubmissions,
12047
12089
  Hy as deleteForms,
12048
- Mf as deleteGeoImage,
12049
- Ff as deleteGeoImages,
12090
+ Ff as deleteGeoImage,
12091
+ Mf as deleteGeoImages,
12050
12092
  jS as deleteIssue,
12051
12093
  xf as deleteIssueAssociation,
12052
12094
  ft as deleteIssueAssociations,
12053
12095
  sS as deleteIssueAttachment,
12054
12096
  Ca as deleteIssueAttachments,
12055
- MS as deleteIssueComment,
12097
+ FS as deleteIssueComment,
12056
12098
  yS as deleteIssueCommentAttachment,
12057
12099
  fS as deleteIssueCommentAttachments,
12058
- FS as deleteIssueComments,
12100
+ MS as deleteIssueComments,
12059
12101
  Vw as deleteIssueType,
12060
12102
  ZS as deleteIssueTypeAttachment,
12061
12103
  XS as deleteIssueTypeAttachments,
@@ -12087,7 +12129,7 @@ export {
12087
12129
  mT as deleteProjectAttachment,
12088
12130
  yT as deleteProjectAttachments,
12089
12131
  PT as deleteProjectFile,
12090
- MT as deleteProjectFiles,
12132
+ FT as deleteProjectFiles,
12091
12133
  CT as deleteProjects,
12092
12134
  y_ as deleteTeam,
12093
12135
  s_ as deleteTeamMembership,
@@ -12103,16 +12145,16 @@ export {
12103
12145
  nI as deleteWorkflowStepComments,
12104
12146
  fI as deleteWorkflowStepEvent,
12105
12147
  SI as deleteWorkflowStepEvents,
12106
- qb as deleteWorkflowStepFieldValues,
12148
+ hb as deleteWorkflowStepFieldValues,
12107
12149
  XI as deleteWorkflowStepFieldValuesAttachment,
12108
12150
  Qr as deleteWorkflowStepFieldValuesAttachments,
12109
- Db as deleteWorkflowStepFieldValuesMany,
12110
- Ib as deleteWorkflowStepFieldValuesReview,
12111
- lb as deleteWorkflowStepFieldValuesReviewRequest,
12112
- ec as deleteWorkflowStepFieldValuesReviewRequests,
12113
- ic as deleteWorkflowStepFieldValuesReviews,
12151
+ pb as deleteWorkflowStepFieldValuesMany,
12152
+ qb as deleteWorkflowStepFieldValuesReview,
12153
+ bb as deleteWorkflowStepFieldValuesReviewRequest,
12154
+ tc as deleteWorkflowStepFieldValuesReviewRequests,
12155
+ nc as deleteWorkflowStepFieldValuesReviews,
12114
12156
  WI as deleteWorkflowStepFields,
12115
- MI as deleteWorkflowStepFieldsAttachment,
12157
+ FI as deleteWorkflowStepFieldsAttachment,
12116
12158
  Nr as deleteWorkflowStepFieldsAttachments,
12117
12159
  CI as deleteWorkflowStepFieldsMany,
12118
12160
  Yb as deleteWorkflowStepReviewer,
@@ -12135,7 +12177,7 @@ export {
12135
12177
  NO as enqueueRequest,
12136
12178
  Ng as extractResponseFromError,
12137
12179
  S as fallbackToEmptyArray,
12138
- Nt as fallbackToEmptyObject,
12180
+ Gt as fallbackToEmptyObject,
12139
12181
  Kc as fetchBlobFromObjectUrl,
12140
12182
  Yc as fetchFileFromObjectUrl,
12141
12183
  Um as fileReducer,
@@ -12145,7 +12187,7 @@ export {
12145
12187
  yy as formIdentifierValueReducer,
12146
12188
  Sa as formIdentifierValueSlice,
12147
12189
  Gy as formReducer,
12148
- My as formRevisionAttachmentReducer,
12190
+ Fy as formRevisionAttachmentReducer,
12149
12191
  Aa as formRevisionAttachmentSlice,
12150
12192
  Dy as formRevisionReducer,
12151
12193
  wa as formRevisionsSlice,
@@ -12159,7 +12201,7 @@ export {
12159
12201
  Zc as getAssetProcedureStepSubTree,
12160
12202
  Uk as getAssetProcedureStepTrees,
12161
12203
  Jg as getClientSDK,
12162
- bt as getClientStore,
12204
+ gt as getClientStore,
12163
12205
  to as getDocumentSubTree,
12164
12206
  Lk as getDocumentTrees,
12165
12207
  Gc as getFileExtension,
@@ -12169,8 +12211,8 @@ export {
12169
12211
  Bk as getRenamedFile,
12170
12212
  A as getRequestDescription,
12171
12213
  vk as getS3FileKey,
12172
- xt as hashFile,
12173
- OR as initSDK,
12214
+ Ct as hashFile,
12215
+ _R as initSDK,
12174
12216
  co as initializeAssetAttachments,
12175
12217
  $u as initializeAssetProcedureStepFieldValues,
12176
12218
  ku as initializeAssetProcedureStepFieldValuesAttachments,
@@ -12194,16 +12236,16 @@ export {
12194
12236
  fp as initializeAssetTypeIdentifierValues,
12195
12237
  ip as initializeAssetTypeIdentifiers,
12196
12238
  Cp as initializeAssetTypeStatuses,
12197
- Fp as initializeAssetTypes,
12239
+ Mp as initializeAssetTypes,
12198
12240
  ul as initializeAssets,
12199
12241
  so as initializeConversations,
12200
12242
  im as initializeDocumentAttachments,
12201
12243
  fm as initializeDocuments,
12202
- Fm as initializeEmailDomains,
12244
+ Mm as initializeEmailDomains,
12203
12245
  iy as initializeFormIdentifierValues,
12204
12246
  Lm as initializeFormIdentifiers,
12205
12247
  fy as initializeFormRevisionAttachments,
12206
- Fy as initializeFormRevisions,
12248
+ My as initializeFormRevisions,
12207
12249
  Jy as initializeFormSubmissionAttachments,
12208
12250
  df as initializeFormSubmissions,
12209
12251
  $y as initializeForms,
@@ -12235,10 +12277,10 @@ export {
12235
12277
  D_ as initializeWorkflowStepAssignees,
12236
12278
  Q_ as initializeWorkflowStepComments,
12237
12279
  dI as initializeWorkflowStepEvents,
12238
- Fb as initializeWorkflowStepFieldValues,
12280
+ ab as initializeWorkflowStepFieldValues,
12239
12281
  GI as initializeWorkflowStepFieldValuesAttachments,
12240
- ab as initializeWorkflowStepFieldValuesReviewRequests,
12241
- Sb as initializeWorkflowStepFieldValuesReviews,
12282
+ Ab as initializeWorkflowStepFieldValuesReviewRequests,
12283
+ Rb as initializeWorkflowStepFieldValuesReviews,
12242
12284
  VI as initializeWorkflowStepFields,
12243
12285
  _I as initializeWorkflowStepFieldsAttachments,
12244
12286
  Cb as initializeWorkflowStepReviewers,
@@ -12262,7 +12304,7 @@ export {
12262
12304
  Ja as issueTypeAttachmentSlice,
12263
12305
  ew as issueTypeFieldValuesAttachmentReducer,
12264
12306
  ir as issueTypeFieldValuesAttachmentSlice,
12265
- FA as issueTypeFieldValuesReducer,
12307
+ MA as issueTypeFieldValuesReducer,
12266
12308
  tr as issueTypeFieldValuesSlice,
12267
12309
  fA as issueTypeFieldsAttachmentReducer,
12268
12310
  Xa as issueTypeFieldsAttachmentSlice,
@@ -12281,21 +12323,21 @@ export {
12281
12323
  yr as issueUpdateSlice,
12282
12324
  qk as logOnlyOnce,
12283
12325
  HO as markAsDeleted,
12284
- hM as markForDeletion,
12326
+ hF as markForDeletion,
12285
12327
  Zi as memoize,
12286
12328
  kO as organizationAccessReducer,
12287
12329
  kr as organizationAccessSlice,
12288
12330
  UO as organizationReducer,
12289
12331
  Pr as organizationSlice,
12290
12332
  KO as outboxReducer,
12291
- Mr as outboxSlice,
12292
- YM as overmapEnhancer,
12293
- KM as overmapReducer,
12333
+ Fr as outboxSlice,
12334
+ JF as overmapEnhancer,
12335
+ QF as overmapReducer,
12294
12336
  Pg as overmapReducers,
12295
12337
  Sc as performRequest,
12296
12338
  jg as performRequestFromAction,
12297
12339
  nT as projectAccessReducer,
12298
- Fr as projectAccessSlice,
12340
+ Mr as projectAccessSlice,
12299
12341
  wT as projectAttachmentReducer,
12300
12342
  Er as projectAttachmentSlice,
12301
12343
  BT as projectFileReducer,
@@ -12307,9 +12349,9 @@ export {
12307
12349
  f as restructureSelectorWithArgs,
12308
12350
  sk as runMiddleware,
12309
12351
  EP as selectAccessToken,
12310
- mM as selectAccessesByUserOfProject,
12311
- SM as selectAccessibleProjects,
12312
- oM as selectActiveOrganizationAccess,
12352
+ mF as selectAccessesByUserOfProject,
12353
+ SF as selectAccessibleProjects,
12354
+ oF as selectActiveOrganizationAccess,
12313
12355
  oa as selectAllDocumentAttachments,
12314
12356
  fo as selectAssetAttachmentById,
12315
12357
  yo as selectAssetAttachmentMapping,
@@ -12318,7 +12360,7 @@ export {
12318
12360
  wl as selectAssetById,
12319
12361
  xd as selectAssetProcedureById,
12320
12362
  cl as selectAssetProcedureStepById,
12321
- Rt as selectAssetProcedureStepFieldValues,
12363
+ Et as selectAssetProcedureStepFieldValues,
12322
12364
  Vu as selectAssetProcedureStepFieldValuesAttachmentById,
12323
12365
  En as selectAssetProcedureStepFieldValuesAttachments,
12324
12366
  zu as selectAssetProcedureStepFieldValuesAttachmentsByIds,
@@ -12329,7 +12371,7 @@ export {
12329
12371
  lP as selectAssetProcedureStepFieldValuesOfAsset,
12330
12372
  hP as selectAssetProcedureStepFieldValuesOfAssetProcedure,
12331
12373
  pP as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
12332
- Jt as selectAssetProcedureStepFields,
12374
+ Xt as selectAssetProcedureStepFields,
12333
12375
  lu as selectAssetProcedureStepFieldsAttachmentById,
12334
12376
  gn as selectAssetProcedureStepFieldsAttachments,
12335
12377
  hu as selectAssetProcedureStepFieldsAttachmentsByIds,
@@ -12338,7 +12380,7 @@ export {
12338
12380
  bu as selectAssetProcedureStepFieldsByIds,
12339
12381
  Pn as selectAssetProcedureStepFieldsMapping,
12340
12382
  oP as selectAssetProcedureStepFieldsOfAssetProcedureStep,
12341
- Zt as selectAssetProcedureStepMapping,
12383
+ es as selectAssetProcedureStepMapping,
12342
12384
  Vn as selectAssetProcedureSteps,
12343
12385
  ol as selectAssetProcedureStepsByIds,
12344
12386
  mP as selectAssetProcedureStepsMappingOfAssetProcedureType,
@@ -12348,16 +12390,16 @@ export {
12348
12390
  un as selectAssetProcedureTypeAttachments,
12349
12391
  vo as selectAssetProcedureTypeAttachmentsByIds,
12350
12392
  Xd as selectAssetProcedureTypeById,
12351
- Yt as selectAssetProcedureTypeFieldValues,
12393
+ Jt as selectAssetProcedureTypeFieldValues,
12352
12394
  md as selectAssetProcedureTypeFieldValuesAttachmentById,
12353
12395
  Sn as selectAssetProcedureTypeFieldValuesAttachments,
12354
12396
  yd as selectAssetProcedureTypeFieldValuesAttachmentsByIds,
12355
12397
  pd as selectAssetProcedureTypeFieldValuesAttachmentsMapping,
12356
- Md as selectAssetProcedureTypeFieldValuesById,
12357
- Fd as selectAssetProcedureTypeFieldValuesByIds,
12398
+ Fd as selectAssetProcedureTypeFieldValuesById,
12399
+ Md as selectAssetProcedureTypeFieldValuesByIds,
12358
12400
  Pd as selectAssetProcedureTypeFieldValuesMapping,
12359
12401
  iP as selectAssetProcedureTypeFieldValuesOfAsset,
12360
- Kt as selectAssetProcedureTypeFields,
12402
+ Qt as selectAssetProcedureTypeFields,
12361
12403
  Lo as selectAssetProcedureTypeFieldsAttachmentById,
12362
12404
  hn as selectAssetProcedureTypeFieldsAttachments,
12363
12405
  No as selectAssetProcedureTypeFieldsAttachmentsByIds,
@@ -12370,7 +12412,7 @@ export {
12370
12412
  eu as selectAssetProcedureTypesByIds,
12371
12413
  Zd as selectAssetProcedureTypesMapping,
12372
12414
  rP as selectAssetProcedureTypesOfOrganization,
12373
- Qt as selectAssetProcedures,
12415
+ Zt as selectAssetProcedures,
12374
12416
  Wd as selectAssetProceduresByIds,
12375
12417
  $d as selectAssetProceduresMapping,
12376
12418
  jd as selectAssetProceduresOfAssetProcedureType,
@@ -12389,7 +12431,7 @@ export {
12389
12431
  Nn as selectAssetTypeAttachments,
12390
12432
  ih as selectAssetTypeAttachmentsByIds,
12391
12433
  jp as selectAssetTypeById,
12392
- es as selectAssetTypeFieldValues,
12434
+ ss as selectAssetTypeFieldValues,
12393
12435
  xh as selectAssetTypeFieldValuesAttachmentById,
12394
12436
  Zn as selectAssetTypeFieldValuesAttachments,
12395
12437
  Wh as selectAssetTypeFieldValuesAttachmentsByIds,
@@ -12398,20 +12440,20 @@ export {
12398
12440
  tp as selectAssetTypeFieldValuesByIds,
12399
12441
  Xh as selectAssetTypeFieldValuesMapping,
12400
12442
  _P as selectAssetTypeFieldValuesOfAsset,
12401
- Et as selectAssetTypeFields,
12443
+ vt as selectAssetTypeFields,
12402
12444
  fh as selectAssetTypeFieldsAttachmentById,
12403
12445
  Gn as selectAssetTypeFieldsAttachments,
12404
12446
  Sh as selectAssetTypeFieldsAttachmentsByIds,
12405
12447
  yh as selectAssetTypeFieldsAttachmentsMapping,
12406
- Fh as selectAssetTypeFieldsById,
12448
+ Mh as selectAssetTypeFieldsById,
12407
12449
  Rh as selectAssetTypeFieldsByIds,
12408
- Mh as selectAssetTypeFieldsMapping,
12450
+ Fh as selectAssetTypeFieldsMapping,
12409
12451
  OP as selectAssetTypeFieldsOfAssetType,
12410
12452
  pp as selectAssetTypeIdentifierById,
12411
12453
  hp as selectAssetTypeIdentifierMapping,
12412
12454
  kp as selectAssetTypeIdentifierValueById,
12413
12455
  gp as selectAssetTypeIdentifierValueMapping,
12414
- ts as selectAssetTypeIdentifierValues,
12456
+ is as selectAssetTypeIdentifierValues,
12415
12457
  Pp as selectAssetTypeIdentifierValuesByIds,
12416
12458
  gP as selectAssetTypeIdentifierValuesOfAsset,
12417
12459
  kP as selectAssetTypeIdentifierValuesOfIdentifier,
@@ -12422,13 +12464,13 @@ export {
12422
12464
  Jp as selectAssetTypeStatusMapping,
12423
12465
  ra as selectAssetTypeStatuses,
12424
12466
  Xp as selectAssetTypeStatusesByIds,
12425
- MP as selectAssetTypeStatusesOfAssetType,
12467
+ FP as selectAssetTypeStatusesOfAssetType,
12426
12468
  IP as selectAssetTypeValuesOfAssetType,
12427
12469
  na as selectAssetTypes,
12428
12470
  xp as selectAssetTypesByIds,
12429
12471
  $p as selectAssetTypesMapping,
12430
12472
  PP as selectAssetTypesOfOrganization,
12431
- Xt as selectAssets,
12473
+ ts as selectAssets,
12432
12474
  Ol as selectAssetsByIds,
12433
12475
  Sl as selectAssetsMapping,
12434
12476
  Al as selectAssetsOfAssetType,
@@ -12450,7 +12492,7 @@ export {
12450
12492
  YP as selectAttachmentsOfIssueType,
12451
12493
  XA as selectAttachmentsOfIssueTypeFieldValues,
12452
12494
  QP as selectAttachmentsOfIssueTypeFields,
12453
- fM as selectAttachmentsOfProject,
12495
+ fF as selectAttachmentsOfProject,
12454
12496
  ib as selectAttachmentsOfWorkflowStepFieldValues,
12455
12497
  RI as selectAttachmentsOfWorkflowStepFields,
12456
12498
  GP as selectCommentsOfIssue,
@@ -12458,14 +12500,14 @@ export {
12458
12500
  nn as selectConversationMapping,
12459
12501
  Jk as selectConversations,
12460
12502
  yO as selectCurrentUser,
12461
- uM as selectDeletedRequests,
12503
+ uF as selectDeletedRequests,
12462
12504
  dl as selectDescendantsOfAssetProcedureStep,
12463
- Mm as selectDescendantsOfDocument,
12505
+ Fm as selectDescendantsOfDocument,
12464
12506
  pm as selectDocumentAttachmentById,
12465
12507
  hm as selectDocumentAttachmentMapping,
12466
12508
  mm as selectDocumentAttachmentsByIds,
12467
12509
  km as selectDocumentById,
12468
- is as selectDocuments,
12510
+ as as selectDocuments,
12469
12511
  Pm as selectDocumentsByIds,
12470
12512
  ua as selectDocumentsMapping,
12471
12513
  jm as selectEmailDomainById,
@@ -12479,7 +12521,7 @@ export {
12479
12521
  Xm as selectFormIdentifierMapping,
12480
12522
  py as selectFormIdentifierValueById,
12481
12523
  hy as selectFormIdentifierValueMapping,
12482
- ns as selectFormIdentifierValues,
12524
+ rs as selectFormIdentifierValues,
12483
12525
  my as selectFormIdentifierValuesByIds,
12484
12526
  xP as selectFormIdentifierValuesOfFormSubmission,
12485
12527
  WP as selectFormIdentifierValuesOfIdentifier,
@@ -12490,10 +12532,10 @@ export {
12490
12532
  ky as selectFormRevisionAttachmentById,
12491
12533
  gy as selectFormRevisionAttachments,
12492
12534
  Py as selectFormRevisionAttachmentsByIds,
12493
- as as selectFormRevisionAttachmentsMapping,
12535
+ cs as selectFormRevisionAttachmentsMapping,
12494
12536
  Vy as selectFormRevisionById,
12495
12537
  ba as selectFormRevisionMapping,
12496
- rs as selectFormRevisions,
12538
+ os as selectFormRevisions,
12497
12539
  zy as selectFormRevisionsByIds,
12498
12540
  qy as selectFormRevisionsOfForm,
12499
12541
  va as selectFormSubmissionAttachemntsByIds,
@@ -12542,16 +12584,16 @@ export {
12542
12584
  Za as selectIssueTypeAttachments,
12543
12585
  sA as selectIssueTypeAttachmentsByIds,
12544
12586
  Dw as selectIssueTypeById,
12545
- os as selectIssueTypeFieldValues,
12587
+ us as selectIssueTypeFieldValues,
12546
12588
  JA as selectIssueTypeFieldValuesAttachmentById,
12547
12589
  rr as selectIssueTypeFieldValuesAttachments,
12548
12590
  ZA as selectIssueTypeFieldValuesAttachmentsByIds,
12549
12591
  QA as selectIssueTypeFieldValuesAttachmentsMapping,
12550
12592
  PA as selectIssueTypeFieldValuesById,
12551
- MA as selectIssueTypeFieldValuesByIds,
12593
+ FA as selectIssueTypeFieldValuesByIds,
12552
12594
  kA as selectIssueTypeFieldValuesMapping,
12553
12595
  JP as selectIssueTypeFieldValuesOfIssue,
12554
- vt as selectIssueTypeFields,
12596
+ Bt as selectIssueTypeFields,
12555
12597
  mA as selectIssueTypeFieldsAttachmentById,
12556
12598
  er as selectIssueTypeFieldsAttachments,
12557
12599
  yA as selectIssueTypeFieldsAttachmentsByIds,
@@ -12564,29 +12606,29 @@ export {
12564
12606
  uw as selectIssueTypeIdentifierMapping,
12565
12607
  bw as selectIssueTypeIdentifierValueById,
12566
12608
  Iw as selectIssueTypeIdentifierValueMapping,
12567
- ds as selectIssueTypeIdentifierValues,
12609
+ ls as selectIssueTypeIdentifierValues,
12568
12610
  gw as selectIssueTypeIdentifierValuesByIds,
12569
- iM as selectIssueTypeIdentifierValuesOfIdentifier,
12570
- sM as selectIssueTypeIdentifierValuesOfIssue,
12611
+ iF as selectIssueTypeIdentifierValuesOfIdentifier,
12612
+ sF as selectIssueTypeIdentifierValuesOfIssue,
12571
12613
  or as selectIssueTypeIdentifiers,
12572
12614
  hw as selectIssueTypeIdentifiersByIds,
12573
- tM as selectIssueTypeIdentifiersOfIssueType,
12615
+ tF as selectIssueTypeIdentifiersOfIssueType,
12574
12616
  qw as selectIssueTypeMapping,
12575
12617
  mr as selectIssueTypeStatusById,
12576
12618
  Yw as selectIssueTypeStatusMapping,
12577
12619
  pr as selectIssueTypeStatuses,
12578
12620
  Qw as selectIssueTypeStatusesByIds,
12579
- aM as selectIssueTypeStatusesOfIssueType,
12580
- eM as selectIssueTypeValuesOfIssueType,
12621
+ aF as selectIssueTypeStatusesOfIssueType,
12622
+ eF as selectIssueTypeValuesOfIssueType,
12581
12623
  lr as selectIssueTypes,
12582
12624
  $w as selectIssueTypesByIds,
12583
- nM as selectIssueTypesOfOrganization,
12625
+ nF as selectIssueTypesOfOrganization,
12584
12626
  iO as selectIssueUpdateById,
12585
12627
  Or as selectIssueUpdateMapping,
12586
12628
  Tr as selectIssueUpdates,
12587
12629
  nO as selectIssueUpdatesByIds,
12588
12630
  aO as selectIssueUpdatesOfIssue,
12589
- cs as selectIssues,
12631
+ ds as selectIssues,
12590
12632
  CS as selectIssuesByIds,
12591
12633
  US as selectIssuesOfIssueType,
12592
12634
  KP as selectIssuesOfProject,
@@ -12596,15 +12638,15 @@ export {
12596
12638
  uP as selectLatestFieldsByAssetProcedureStep,
12597
12639
  UP as selectLatestFormRevisionOfForm,
12598
12640
  XP as selectLatestIssueTypeFieldsOfIssueType,
12599
- lM as selectLatestRetryTime,
12600
- $M as selectLatestReviewOfWorkflowStepFieldValues,
12601
- DM as selectLatestReviewRequestOfWorkflowStepFieldValues,
12602
- qM as selectLatestWorkflowStepFieldsOfWorkflowStep,
12603
- TM as selectMembershipsByUserOfTeam,
12641
+ lF as selectLatestRetryTime,
12642
+ CF as selectLatestReviewOfWorkflowStepFieldValues,
12643
+ xF as selectLatestReviewRequestOfWorkflowStepFieldValues,
12644
+ qF as selectLatestWorkflowStepFieldsOfWorkflowStep,
12645
+ TF as selectMembershipsByUserOfTeam,
12604
12646
  PO as selectOrganizationAccessById,
12605
- hs as selectOrganizationAccessMapping,
12606
- FO as selectOrganizationAccessUserMapping,
12607
- MO as selectOrganizationAccessesByIds,
12647
+ ms as selectOrganizationAccessMapping,
12648
+ MO as selectOrganizationAccessUserMapping,
12649
+ FO as selectOrganizationAccessesByIds,
12608
12650
  WO as selectOrganizationById,
12609
12651
  zP as selectOrganizationDocuments,
12610
12652
  xO as selectOrganizations,
@@ -12612,9 +12654,9 @@ export {
12612
12654
  jO as selectOrganizationsMapping,
12613
12655
  aT as selectProjectAccessById,
12614
12656
  Rr as selectProjectAccessMapping,
12615
- Bt as selectProjectAccesses,
12657
+ Vt as selectProjectAccesses,
12616
12658
  rT as selectProjectAccessesByIds,
12617
- pM as selectProjectAccessesOfProject,
12659
+ pF as selectProjectAccessesOfProject,
12618
12660
  ST as selectProjectAttachmentById,
12619
12661
  fT as selectProjectAttachmentMapping,
12620
12662
  vr as selectProjectAttachments,
@@ -12622,114 +12664,116 @@ export {
12622
12664
  NT as selectProjectById,
12623
12665
  VP as selectProjectDocuments,
12624
12666
  ET as selectProjectFileById,
12625
- FT as selectProjectFileMapping,
12667
+ MT as selectProjectFileMapping,
12626
12668
  RT as selectProjectFiles,
12627
12669
  vT as selectProjectFilesByIds,
12628
12670
  LT as selectProjectMapping,
12629
- ps as selectProjects,
12671
+ ys as selectProjects,
12630
12672
  HT as selectProjectsByIds,
12631
- AM as selectProjectsOfOrganization,
12632
- OM as selectRehydrated,
12633
- yb as selectReviewRequestsOfWorkflowStepFieldValues,
12634
- Pb as selectReviewsOfWorkflowStepFieldValues,
12673
+ AF as selectProjectsOfOrganization,
12674
+ OF as selectRehydrated,
12675
+ Fb as selectReviewRequestsOfWorkflowStepFieldValues,
12676
+ xb as selectReviewsOfWorkflowStepFieldValues,
12635
12677
  xn as selectStageMapping,
12636
12678
  A_ as selectTeamById,
12637
12679
  r_ as selectTeamMembershipById,
12638
- ms as selectTeamMemberships,
12680
+ fs as selectTeamMemberships,
12639
12681
  c_ as selectTeamMembershipsByIds,
12640
12682
  a_ as selectTeamMembershipsMapping,
12641
12683
  $r as selectTeams,
12642
12684
  w_ as selectTeamsByIds,
12643
12685
  S_ as selectTeamsMapping,
12644
- IM as selectTeamsOfOrganization,
12686
+ IF as selectTeamsOfOrganization,
12645
12687
  $P as selectUploadUrl,
12646
- ls as selectUserById,
12647
- us as selectUsers,
12688
+ ps as selectUserById,
12689
+ hs as selectUsers,
12648
12690
  fO as selectUsersByIds,
12649
12691
  gr as selectUsersMapping,
12650
- dM as selectUsersOfOrganization,
12651
- yM as selectUsersOfProject,
12652
- _M as selectUsersOfTeam,
12692
+ dF as selectUsersOfOrganization,
12693
+ yF as selectUsersOfProject,
12694
+ _F as selectUsersOfTeam,
12653
12695
  V_ as selectWorkflowById,
12654
12696
  B_ as selectWorkflowMapping,
12655
12697
  G_ as selectWorkflowStepAssigneeById,
12656
- Vt as selectWorkflowStepAssignees,
12698
+ zt as selectWorkflowStepAssignees,
12657
12699
  K_ as selectWorkflowStepAssigneesByIds,
12658
12700
  H_ as selectWorkflowStepAssigneesMapping,
12659
- kM as selectWorkflowStepAssigneesOfWorkflow,
12660
- MM as selectWorkflowStepAssigneesOfWorkflowAndWorkflowStep,
12661
- PM as selectWorkflowStepAssigneesOfWorkflowStep,
12701
+ kF as selectWorkflowStepAssigneesOfWorkflow,
12702
+ FF as selectWorkflowStepAssigneesOfWorkflowAndWorkflowStep,
12703
+ PF as selectWorkflowStepAssigneesOfWorkflowStep,
12662
12704
  lg as selectWorkflowStepById,
12663
12705
  rI as selectWorkflowStepCommentById,
12664
- zt as selectWorkflowStepComments,
12706
+ qt as selectWorkflowStepComments,
12665
12707
  cI as selectWorkflowStepCommentsByIds,
12666
12708
  aI as selectWorkflowStepCommentsMapping,
12667
- FM as selectWorkflowStepCommentsOfWorkflow,
12668
- EM as selectWorkflowStepCommentsOfWorkflowAndWorkflowStep,
12669
- RM as selectWorkflowStepCommentsOfWorkflowStep,
12709
+ MF as selectWorkflowStepCommentsOfWorkflow,
12710
+ EF as selectWorkflowStepCommentsOfWorkflowAndWorkflowStep,
12711
+ RF as selectWorkflowStepCommentsOfWorkflowStep,
12670
12712
  wI as selectWorkflowStepEventById,
12671
- qt as selectWorkflowStepEvents,
12713
+ Dt as selectWorkflowStepEvents,
12672
12714
  OI as selectWorkflowStepEventsByIds,
12673
12715
  AI as selectWorkflowStepEventsMapping,
12674
- vM as selectWorkflowStepEventsOfWorkflow,
12675
- VM as selectWorkflowStepEventsOfWorkflowAndWorkflowStep,
12676
- BM as selectWorkflowStepEventsOfWorkflowStep,
12677
- Dt as selectWorkflowStepFieldValues,
12716
+ vF as selectWorkflowStepEventsOfWorkflow,
12717
+ VF as selectWorkflowStepEventsOfWorkflowAndWorkflowStep,
12718
+ BF as selectWorkflowStepEventsOfWorkflowStep,
12719
+ wt as selectWorkflowStepFieldValues,
12678
12720
  tb as selectWorkflowStepFieldValuesAttachmentById,
12679
12721
  Jr as selectWorkflowStepFieldValuesAttachments,
12680
12722
  sb as selectWorkflowStepFieldValuesAttachmentsByIds,
12681
12723
  eb as selectWorkflowStepFieldValuesAttachmentsMapping,
12682
- jb as selectWorkflowStepFieldValuesById,
12683
- xb as selectWorkflowStepFieldValuesByIds,
12684
- $b as selectWorkflowStepFieldValuesMapping,
12685
- jM as selectWorkflowStepFieldValuesOfWorkflow,
12686
- WM as selectWorkflowStepFieldValuesOfWorkflowAndWorkflowStep,
12687
- xM as selectWorkflowStepFieldValuesOfWorkflowStep,
12688
- gb as selectWorkflowStepFieldValuesReviewById,
12689
- pb as selectWorkflowStepFieldValuesReviewRequestById,
12690
- Ss as selectWorkflowStepFieldValuesReviewRequests,
12691
- mb as selectWorkflowStepFieldValuesReviewRequestsByIds,
12692
- hb as selectWorkflowStepFieldValuesReviewRequestsMapping,
12693
- As as selectWorkflowStepFieldValuesReviews,
12694
- kb as selectWorkflowStepFieldValuesReviewsByIds,
12695
- bb as selectWorkflowStepFieldValuesReviewsMapping,
12696
- fs as selectWorkflowStepFields,
12724
+ yb as selectWorkflowStepFieldValuesById,
12725
+ fb as selectWorkflowStepFieldValuesByIds,
12726
+ mb as selectWorkflowStepFieldValuesMapping,
12727
+ DF as selectWorkflowStepFieldValuesOfWorkflow,
12728
+ jF as selectWorkflowStepFieldValuesOfWorkflowAndWorkflowStep,
12729
+ $F as selectWorkflowStepFieldValuesOfWorkflowStep,
12730
+ $b as selectWorkflowStepFieldValuesReviewById,
12731
+ kb as selectWorkflowStepFieldValuesReviewRequestById,
12732
+ $t as selectWorkflowStepFieldValuesReviewRequests,
12733
+ Pb as selectWorkflowStepFieldValuesReviewRequestsByIds,
12734
+ gb as selectWorkflowStepFieldValuesReviewRequestsMapping,
12735
+ WF as selectWorkflowStepFieldValuesReviewRequestsOfWorkflowAndWorkflowStep,
12736
+ jt as selectWorkflowStepFieldValuesReviews,
12737
+ jb as selectWorkflowStepFieldValuesReviewsByIds,
12738
+ Db as selectWorkflowStepFieldValuesReviewsMapping,
12739
+ UF as selectWorkflowStepFieldValuesReviewsOfWorkflowAndWorkflowStep,
12740
+ As as selectWorkflowStepFields,
12697
12741
  EI as selectWorkflowStepFieldsAttachmentById,
12698
12742
  Hr as selectWorkflowStepFieldsAttachments,
12699
12743
  vI as selectWorkflowStepFieldsAttachmentsByIds,
12700
- FI as selectWorkflowStepFieldsAttachmentsMapping,
12744
+ MI as selectWorkflowStepFieldsAttachmentsMapping,
12701
12745
  LI as selectWorkflowStepFieldsById,
12702
12746
  NI as selectWorkflowStepFieldsByIds,
12703
12747
  UI as selectWorkflowStepFieldsMapping,
12704
- zM as selectWorkflowStepFieldsOfWorkflowStep,
12748
+ zF as selectWorkflowStepFieldsOfWorkflowStep,
12705
12749
  Zb as selectWorkflowStepReviewerById,
12706
- $t as selectWorkflowStepReviewers,
12750
+ xt as selectWorkflowStepReviewers,
12707
12751
  Xb as selectWorkflowStepReviewersByIds,
12708
12752
  Jb as selectWorkflowStepReviewersMapping,
12709
- CM as selectWorkflowStepReviewersOfWorkflow,
12710
- LM as selectWorkflowStepReviewersOfWorkflowAndWorkflowStep,
12711
- UM as selectWorkflowStepReviewersOfWorkflowStep,
12753
+ LF as selectWorkflowStepReviewersOfWorkflow,
12754
+ HF as selectWorkflowStepReviewersOfWorkflowAndWorkflowStep,
12755
+ NF as selectWorkflowStepReviewersOfWorkflowStep,
12712
12756
  cc as selectWorkflowSteps,
12713
12757
  hg as selectWorkflowStepsByIds,
12714
12758
  ug as selectWorkflowStepsMapping,
12715
- NM as selectWorkflowStepsOfWorkflowType,
12759
+ GF as selectWorkflowStepsOfWorkflowType,
12716
12760
  bg as selectWorkflowTypeById,
12717
12761
  Ig as selectWorkflowTypeMapping,
12718
12762
  dc as selectWorkflowTypes,
12719
12763
  gg as selectWorkflowTypesByIds,
12720
- HM as selectWorkflowTypesOfOrganization,
12721
- ys as selectWorkflows,
12764
+ KF as selectWorkflowTypesOfOrganization,
12765
+ Ss as selectWorkflows,
12722
12766
  z_ as selectWorkflowsByIds,
12723
- bM as selectWorkflowsOfProject,
12724
- gM as selectWorkflowsOfWorkflowType,
12767
+ bF as selectWorkflowsOfProject,
12768
+ gF as selectWorkflowsOfWorkflowType,
12725
12769
  yl as setAsset,
12726
12770
  uo as setAssetAttachment,
12727
12771
  lo as setAssetAttachments,
12728
12772
  zd as setAssetProcedure,
12729
12773
  Zu as setAssetProcedureStep,
12730
12774
  Wu as setAssetProcedureStepFieldValues,
12731
- Mu as setAssetProcedureStepFieldValuesAttachment,
12732
- Fu as setAssetProcedureStepFieldValuesAttachments,
12775
+ Fu as setAssetProcedureStepFieldValuesAttachment,
12776
+ Mu as setAssetProcedureStepFieldValuesAttachments,
12733
12777
  Cu as setAssetProcedureStepFieldValuesMany,
12734
12778
  Su as setAssetProcedureStepFields,
12735
12779
  nu as setAssetProcedureStepFieldsAttachment,
@@ -12776,8 +12820,8 @@ export {
12776
12820
  Yg as setClientStore,
12777
12821
  no as setConversation,
12778
12822
  Gk as setConversations,
12779
- rM as setCurrentUser,
12780
- cM as setCurrentUserProfile,
12823
+ rF as setCurrentUser,
12824
+ cF as setCurrentUserProfile,
12781
12825
  wm as setDocument,
12782
12826
  rm as setDocumentAttachment,
12783
12827
  cm as setDocumentAttachments,
@@ -12843,12 +12887,12 @@ export {
12843
12887
  TT as setProjectFile,
12844
12888
  _T as setProjectFiles,
12845
12889
  zT as setProjects,
12846
- wM as setRehydrated,
12890
+ wF as setRehydrated,
12847
12891
  l_ as setTeam,
12848
12892
  ZT as setTeamMembership,
12849
12893
  XT as setTeamMemberships,
12850
12894
  h_ as setTeams,
12851
- FP as setTokens,
12895
+ MP as setTokens,
12852
12896
  DP as setUploadUrl,
12853
12897
  dO as setUser,
12854
12898
  oO as setUsers,
@@ -12860,14 +12904,14 @@ export {
12860
12904
  eI as setWorkflowStepComments,
12861
12905
  hI as setWorkflowStepEvent,
12862
12906
  pI as setWorkflowStepEvents,
12863
- vb as setWorkflowStepFieldValues,
12907
+ ob as setWorkflowStepFieldValues,
12864
12908
  YI as setWorkflowStepFieldValuesAttachment,
12865
12909
  QI as setWorkflowStepFieldValuesAttachments,
12866
- Bb as setWorkflowStepFieldValuesMany,
12867
- wb as setWorkflowStepFieldValuesReview,
12868
- cb as setWorkflowStepFieldValuesReviewRequest,
12869
- ob as setWorkflowStepFieldValuesReviewRequests,
12870
- Ob as setWorkflowStepFieldValuesReviews,
12910
+ db as setWorkflowStepFieldValuesMany,
12911
+ vb as setWorkflowStepFieldValuesReview,
12912
+ Ob as setWorkflowStepFieldValuesReviewRequest,
12913
+ Tb as setWorkflowStepFieldValuesReviewRequests,
12914
+ Bb as setWorkflowStepFieldValuesReviews,
12871
12915
  DI as setWorkflowStepFields,
12872
12916
  bI as setWorkflowStepFieldsAttachment,
12873
12917
  gI as setWorkflowStepFieldsAttachments,
@@ -12877,8 +12921,8 @@ export {
12877
12921
  ag as setWorkflowSteps,
12878
12922
  Sg as setWorkflowType,
12879
12923
  Ag as setWorkflowTypes,
12880
- M_ as setWorkflows,
12881
- Mk as shallowEqual,
12924
+ F_ as setWorkflows,
12925
+ Fk as shallowEqual,
12882
12926
  xk as slugify,
12883
12927
  jk as spacesToDashesLower,
12884
12928
  n_ as teamMembershipReducer,
@@ -12918,7 +12962,7 @@ export {
12918
12962
  Bd as updateAssetProcedures,
12919
12963
  Wl as updateAssetStage,
12920
12964
  Pl as updateAssetStageCompletion,
12921
- Ml as updateAssetStageCompletions,
12965
+ Fl as updateAssetStageCompletions,
12922
12966
  Cl as updateAssetStages,
12923
12967
  Vp as updateAssetType,
12924
12968
  Zl as updateAssetTypeAttachment,
@@ -13011,7 +13055,7 @@ export {
13011
13055
  m_ as updateTeams,
13012
13056
  hO as updateUser,
13013
13057
  lO as updateUsers,
13014
- F_ as updateWorkflow,
13058
+ M_ as updateWorkflow,
13015
13059
  rg as updateWorkflowStep,
13016
13060
  C_ as updateWorkflowStepAssignee,
13017
13061
  U_ as updateWorkflowStepAssignees,
@@ -13019,14 +13063,14 @@ export {
13019
13063
  sI as updateWorkflowStepComments,
13020
13064
  mI as updateWorkflowStepEvent,
13021
13065
  yI as updateWorkflowStepEvents,
13022
- Vb as updateWorkflowStepFieldValues,
13066
+ ub as updateWorkflowStepFieldValues,
13023
13067
  JI as updateWorkflowStepFieldValuesAttachment,
13024
13068
  ZI as updateWorkflowStepFieldValuesAttachments,
13025
- zb as updateWorkflowStepFieldValuesMany,
13026
- Tb as updateWorkflowStepFieldValuesReview,
13027
- db as updateWorkflowStepFieldValuesReviewRequest,
13028
- ub as updateWorkflowStepFieldValuesReviewRequests,
13029
- _b as updateWorkflowStepFieldValuesReviews,
13069
+ lb as updateWorkflowStepFieldValuesMany,
13070
+ Vb as updateWorkflowStepFieldValuesReview,
13071
+ _b as updateWorkflowStepFieldValuesReviewRequest,
13072
+ Ib as updateWorkflowStepFieldValuesReviewRequests,
13073
+ zb as updateWorkflowStepFieldValuesReviews,
13030
13074
  jI as updateWorkflowStepFields,
13031
13075
  kI as updateWorkflowStepFieldsAttachment,
13032
13076
  PI as updateWorkflowStepFieldsAttachments,
@@ -13042,7 +13086,7 @@ export {
13042
13086
  _r as userSlice,
13043
13087
  _ as uuidObj,
13044
13088
  Xi as uuidObjSortFn,
13045
- Gt as uuidSortFn,
13089
+ Yt as uuidSortFn,
13046
13090
  I_ as versioningReducer,
13047
13091
  __ as versioningSlice,
13048
13092
  q_ as workflowReducer,
@@ -13055,12 +13099,12 @@ export {
13055
13099
  Cr as workflowStepEventSlice,
13056
13100
  nb as workflowStepFieldValuesAttachmentReducer,
13057
13101
  Kr as workflowStepFieldValuesAttachmentSlice,
13058
- Wb as workflowStepFieldValuesReducer,
13059
- Mb as workflowStepFieldValuesReviewReducer,
13060
- fb as workflowStepFieldValuesReviewRequestReducer,
13061
- Zr as workflowStepFieldValuesReviewRequestSlice,
13062
- tc as workflowStepFieldValuesReviewSlice,
13063
- nc as workflowStepFieldValuesSlice,
13102
+ Sb as workflowStepFieldValuesReducer,
13103
+ Wb as workflowStepFieldValuesReviewReducer,
13104
+ Mb as workflowStepFieldValuesReviewRequestReducer,
13105
+ Xr as workflowStepFieldValuesReviewRequestSlice,
13106
+ sc as workflowStepFieldValuesReviewSlice,
13107
+ Zr as workflowStepFieldValuesSlice,
13064
13108
  BI as workflowStepFieldsAttachmentReducer,
13065
13109
  Ur as workflowStepFieldsAttachmentSlice,
13066
13110
  HI as workflowStepFieldsReducer,