@overmap-ai/core 1.0.81-procedure-step-bulk-update.1 → 1.0.81-procedure-step-bulk-update.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
- var Za = Object.defineProperty;
2
- var Xa = (t, s, e) => s in t ? Za(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
- var u = (t, s, e) => Xa(t, typeof s != "symbol" ? s + "" : s, e);
1
+ var Ja = Object.defineProperty;
2
+ var Za = (t, s, e) => s in t ? Ja(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
+ var u = (t, s, e) => Za(t, typeof s != "symbol" ? s + "" : s, e);
4
4
  import "@redux-offline/redux-offline/lib/types";
5
5
  import { createAction as Kt, createSelector as p, createSlice as P, isAnyOf as M, combineReducers as Li } from "@reduxjs/toolkit";
6
6
  import ht from "superagent";
7
7
  import { v4 as ot } from "uuid";
8
- import { useMemo as Qa } from "react";
9
- import ec from "fast-tree-builder";
8
+ import { useMemo as Xa } from "react";
9
+ import Qa from "fast-tree-builder";
10
10
  import { Tree as Ni } from "ts-tree-lib";
11
- import { offline as tc } from "@redux-offline/redux-offline";
11
+ import { offline as ec } from "@redux-offline/redux-offline";
12
12
  import Os from "@redux-offline/redux-offline/lib/defaults";
13
- import sc from "localforage";
13
+ import tc from "localforage";
14
14
  import "buffer";
15
15
  import "@overmap-ai/forms";
16
- import { openDB as ic } from "idb";
17
- import nc from "jwt-decode";
18
- import { DepGraph as rc } from "dependency-graph";
16
+ import { openDB as sc } from "idb";
17
+ import ic from "jwt-decode";
18
+ import { DepGraph as nc } from "dependency-graph";
19
19
  import "@tiptap/core";
20
- const ac = Object.freeze([]), cc = Object.freeze({}), dc = 6e4, oc = [
20
+ const rc = Object.freeze([]), ac = Object.freeze({}), cc = 6e4, dc = [
21
21
  // TimestamptedModel
22
22
  "created_at",
23
23
  "updated_at",
@@ -26,7 +26,7 @@ const ac = Object.freeze([]), cc = Object.freeze({}), dc = 6e4, oc = [
26
26
  // FieldsModel
27
27
  "revision"
28
28
  ];
29
- var uc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(uc || {}), o = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(o || {}), lc = /* @__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))(lc || {}), x = /* @__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))(x || {}), hc = /* @__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))(hc || {}), pc = /* @__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))(pc || {}), mc = /* @__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))(mc || {}), yc = /* @__PURE__ */ ((t) => (t[t.APPROVED = 0] = "APPROVED", t[t.REJECTED = 2] = "REJECTED", t[t.CHANGES_REQUESTED = 4] = "CHANGES_REQUESTED", t))(yc || {});
29
+ var oc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(oc || {}), o = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(o || {}), uc = /* @__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))(uc || {}), x = /* @__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))(x || {}), lc = /* @__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))(lc || {}), hc = /* @__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))(hc || {}), pc = /* @__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))(pc || {}), mc = /* @__PURE__ */ ((t) => (t[t.APPROVED = 0] = "APPROVED", t[t.REJECTED = 2] = "REJECTED", t[t.CHANGES_REQUESTED = 4] = "CHANGES_REQUESTED", t))(mc || {});
30
30
  function _(t) {
31
31
  return {
32
32
  addOne: (l, y) => {
@@ -115,7 +115,7 @@ function lM(t) {
115
115
  }
116
116
  const T = Kt("RESET"), z = Kt("RESET_PROJECT_STATE"), g = Kt("RESET_ORGANIZATION_STATE");
117
117
  function hM(t, s) {
118
- return Qa(t, s);
118
+ return Xa(t, s);
119
119
  }
120
120
  var Ui;
121
121
  Ui = Symbol.toStringTag;
@@ -153,8 +153,8 @@ class Ts {
153
153
  }
154
154
  }
155
155
  let Ht = !1;
156
- const fc = "";
157
- ["true", "1"].includes(fc.toLowerCase()) && (Ht = !0);
156
+ const yc = "";
157
+ ["true", "1"].includes(yc.toLowerCase()) && (Ht = !0);
158
158
  function pM(t, s) {
159
159
  if (t === s) return !0;
160
160
  if (typeof t != typeof s)
@@ -181,15 +181,15 @@ function mM(t, s) {
181
181
  if (t[e] !== s[e]) return !1;
182
182
  return !0;
183
183
  }
184
- const f = (t) => t.length === 0 ? ac : t, Gi = (t) => Object.keys(t).length === 0 ? cc : t, Sc = Hi((t) => {
184
+ const f = (t) => t.length === 0 ? rc : t, Gi = (t) => Object.keys(t).length === 0 ? ac : t, fc = Hi((t) => {
185
185
  if (!t) return "";
186
186
  const s = new Date(t), e = s.getFullYear() === Yt.getFullYear(), i = { day: "numeric", month: "short" };
187
187
  return e || (i.year = "numeric"), s.toLocaleDateString([], i);
188
- }), Ac = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Oc = 1e3 * 86400, Yt = /* @__PURE__ */ new Date(), yM = (t) => new Date(t).toDateString() === Yt.toDateString(), fM = Hi((t, s, e) => {
189
- const i = Math.round((new Date(t).getTime() - Yt.getTime()) / Oc);
190
- return i < s || i > e ? Sc(t) : Ac.format(i, "days");
188
+ }), Sc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Ac = 1e3 * 86400, Yt = /* @__PURE__ */ new Date(), yM = (t) => new Date(t).toDateString() === Yt.toDateString(), fM = Hi((t, s, e) => {
189
+ const i = Math.round((new Date(t).getTime() - Yt.getTime()) / Ac);
190
+ return i < s || i > e ? fc(t) : Sc.format(i, "days");
191
191
  });
192
- function Tc(t) {
192
+ function Oc(t) {
193
193
  return new Uint8Array(t).reduce((e, i) => e + i.toString(16).padStart(2, "0"), "");
194
194
  }
195
195
  function Ct(t) {
@@ -202,7 +202,7 @@ function Ct(t) {
202
202
  return;
203
203
  }
204
204
  crypto.subtle.digest("SHA-1", n).then((a) => {
205
- const r = Tc(a);
205
+ const r = Oc(a);
206
206
  s(r);
207
207
  });
208
208
  }, i.readAsArrayBuffer(t);
@@ -212,31 +212,31 @@ const SM = (t, s) => `${t}${s ? `.${s}` : ""}`;
212
212
  function AM(t, s) {
213
213
  return new File([t], s, { type: t.type });
214
214
  }
215
- function Ic(t) {
215
+ function Tc(t) {
216
216
  const s = t.name;
217
217
  return s.includes(".") ? s.split(".").pop() : "";
218
218
  }
219
- const Pc = async (t) => (await fetch(t)).blob(), bc = async (t, s) => {
220
- const e = await Pc(t);
219
+ const Ic = async (t) => (await fetch(t)).blob(), Pc = async (t, s) => {
220
+ const e = await Ic(t);
221
221
  return new File([e], s, { type: e.type });
222
222
  };
223
- function _c(t) {
223
+ function bc(t) {
224
224
  return typeof t == "string" && t.startsWith("blob:");
225
225
  }
226
- function Mc(t) {
226
+ function _c(t) {
227
227
  return typeof t == "string" && URL.canParse(t) && t.startsWith("https://") && t.includes(".cloudfront.net/");
228
228
  }
229
- function gc(t) {
229
+ function Mc(t) {
230
230
  return typeof t == "string" && URL.canParse(t) && t.startsWith("https://") && t.includes(".s3.amazonaws.com/");
231
231
  }
232
- function wc(t) {
233
- if (Mc(t)) {
232
+ function gc(t) {
233
+ if (_c(t)) {
234
234
  const e = new URLSearchParams(t).get("Expires");
235
235
  if (!e) return null;
236
236
  const i = parseInt(e, 10);
237
237
  return new Date(i * 1e3);
238
238
  }
239
- if (gc(t)) {
239
+ if (Mc(t)) {
240
240
  const s = new URLSearchParams(t), e = s.get("X-Amz-Date"), i = s.get("X-Amz-Expires");
241
241
  if (!e || !i) return null;
242
242
  const n = new Date(
@@ -246,8 +246,8 @@ function wc(t) {
246
246
  }
247
247
  return null;
248
248
  }
249
- function Fc(t, s = 30) {
250
- const e = wc(t);
249
+ function wc(t, s = 30) {
250
+ const e = gc(t);
251
251
  if (!e) return !1;
252
252
  const i = Date.now(), n = e.getTime(), a = s * 1e3;
253
253
  return i + a >= n;
@@ -273,11 +273,11 @@ function IM(t) {
273
273
  function E(t) {
274
274
  return t.map(({ uuid: s }) => s);
275
275
  }
276
- function Wi(t, s) {
276
+ function Fc(t, s) {
277
277
  return t.localeCompare(s);
278
278
  }
279
279
  function mt(t, s) {
280
- return Wi(t.uuid, s.uuid);
280
+ return Fc(t.uuid, s.uuid);
281
281
  }
282
282
  function PM(t, s = void 0, e = 255) {
283
283
  let i = t.replace(/[^a-z0-9_\-.]/gi, "_").replace(/_{2,}/g, "_");
@@ -301,16 +301,16 @@ function MM(t, s) {
301
301
  const e = t.slice(0, s - 1);
302
302
  return e.slice(0, e.lastIndexOf(" ")) + "…";
303
303
  }
304
- const gM = /^.+@.+\..+$/, Rc = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, Ec = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, vc = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, Ki = (t) => ec(t, {
304
+ const gM = /^.+@.+\..+$/, Rc = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, Ec = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, vc = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, Wi = (t) => Qa(t, {
305
305
  id: (s) => s.uuid,
306
306
  parentId: (s) => s.parent_document,
307
307
  includeEmptyChildrenArray: !0,
308
308
  valueKey: !1
309
309
  }), wM = (t) => {
310
- const { roots: s } = Ki(t);
310
+ const { roots: s } = Wi(t);
311
311
  return s.map((e) => new Ni(e));
312
312
  }, kc = (t, s) => {
313
- const { nodes: e } = Ki(s), i = e.get(t);
313
+ const { nodes: e } = Wi(s), i = e.get(t);
314
314
  if (!i)
315
315
  throw new Error(`Node with uuid ${t} does not exist in document tree.`);
316
316
  return new Ni(i);
@@ -369,7 +369,7 @@ const m = (
369
369
  (t) => (...s) => (e) => t(e, ...s)
370
370
  ), G = _((t) => t.uuid), Ps = {
371
371
  instances: {}
372
- }, Yi = P({
372
+ }, Ki = P({
373
373
  name: "agents",
374
374
  initialState: Ps,
375
375
  extraReducers: (t) => t.addMatcher(
@@ -397,17 +397,17 @@ const m = (
397
397
  updateConversations: vM,
398
398
  deleteConversation: kM,
399
399
  deleteConversations: BM
400
- } = Yi.actions, Ji = (t) => t.agentsReducer.instances, zM = p(
401
- [Ji],
400
+ } = Ki.actions, Yi = (t) => t.agentsReducer.instances, zM = p(
401
+ [Yi],
402
402
  (t) => Object.values(t)
403
403
  ), DM = m(
404
404
  p(
405
- [Ji, (t, s) => s],
405
+ [Yi, (t, s) => s],
406
406
  (t, s) => t[s]
407
407
  )
408
- ), jc = Yi.reducer, W = _((t) => t.uuid), bs = {
408
+ ), jc = Ki.reducer, W = _((t) => t.uuid), bs = {
409
409
  instances: {}
410
- }, Zi = P({
410
+ }, Ji = P({
411
411
  name: "assetAttachments",
412
412
  initialState: bs,
413
413
  extraReducers: (t) => t.addMatcher(
@@ -428,28 +428,28 @@ const m = (
428
428
  }), {
429
429
  initializeAssetAttachments: $c,
430
430
  addAssetAttachment: Vc,
431
- addAssetAttachments: Xi,
431
+ addAssetAttachments: Zi,
432
432
  setAssetAttachment: xc,
433
433
  setAssetAttachments: Cc,
434
434
  updateAssetAttachment: Uc,
435
435
  updateAssetAttachments: Lc,
436
436
  deleteAssetAttachment: Nc,
437
- deleteAssetAttachments: Qi
438
- } = Zi.actions, Hc = (t) => t.assetAttachmentReducer.instances, en = p(
437
+ deleteAssetAttachments: Xi
438
+ } = Ji.actions, Hc = (t) => t.assetAttachmentReducer.instances, Qi = p(
439
439
  [Hc],
440
440
  (t) => Object.values(t)
441
441
  ), Gc = (t) => (s) => s.assetAttachmentReducer.instances[t], Wc = m(
442
- p([en, (t, s) => s], (t, s) => {
442
+ p([Qi, (t, s) => s], (t, s) => {
443
443
  const e = new Set(s);
444
444
  return f(t.filter(({ uuid: i }) => e.has(i)));
445
445
  })
446
446
  ), Kc = m(
447
- p([en, (t, s) => s], (t, s) => f(t.filter(({ asset: e }) => s === e)))
448
- ), Yc = Zi.reducer, K = _(
447
+ p([Qi, (t, s) => s], (t, s) => f(t.filter(({ asset: e }) => s === e)))
448
+ ), Yc = Ji.reducer, K = _(
449
449
  (t) => t.uuid
450
450
  ), _s = {
451
451
  instances: {}
452
- }, tn = P({
452
+ }, en = P({
453
453
  name: "assetComments",
454
454
  initialState: _s,
455
455
  extraReducers: (t) => t.addMatcher(
@@ -477,7 +477,7 @@ const m = (
477
477
  updateAssetComments: td,
478
478
  deleteAssetComment: sd,
479
479
  deleteAssetComments: Wt
480
- } = tn.actions, id = (t) => t.assetCommentReducer.instances, Jt = p(
480
+ } = en.actions, id = (t) => t.assetCommentReducer.instances, Jt = p(
481
481
  [id],
482
482
  (t) => f(Object.values(t).toSorted(Rt))
483
483
  ), nd = (t) => (s) => s.assetCommentReducer.instances[t], rd = m(
@@ -492,9 +492,9 @@ const m = (
492
492
  const e = new Set(s);
493
493
  return f(t.filter((i) => e.has(i.asset)));
494
494
  })
495
- ), dd = tn.reducer, Y = _((t) => t.uuid), Ms = {
495
+ ), dd = en.reducer, Y = _((t) => t.uuid), Ms = {
496
496
  instances: {}
497
- }, sn = P({
497
+ }, tn = P({
498
498
  name: "assets",
499
499
  initialState: Ms,
500
500
  extraReducers: (t) => t.addMatcher(
@@ -515,14 +515,14 @@ const m = (
515
515
  }), {
516
516
  initializeAssets: od,
517
517
  addAsset: ud,
518
- addAssets: nn,
518
+ addAssets: sn,
519
519
  updateAsset: ld,
520
520
  updateAssets: hd,
521
521
  deleteAsset: pd,
522
- deleteAssets: rn,
522
+ deleteAssets: nn,
523
523
  setAsset: md,
524
524
  setAssets: yd
525
- } = sn.actions, fd = (t) => t.assetReducer.instances, Zt = p([fd], (t) => f(Object.values(t))), qM = m(
525
+ } = tn.actions, fd = (t) => t.assetReducer.instances, Zt = p([fd], (t) => f(Object.values(t))), qM = m(
526
526
  p([Zt, (t, s) => s], (t, s) => f(t.filter(({ project: e }) => e === s)))
527
527
  ), Sd = m(
528
528
  p([Zt, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
@@ -531,9 +531,9 @@ const m = (
531
531
  const e = new Set(s);
532
532
  return f(t.filter(({ uuid: i }) => e.has(i)));
533
533
  })
534
- ), Td = sn.reducer, J = _((t) => t.uuid), gs = {
534
+ ), Td = tn.reducer, J = _((t) => t.uuid), gs = {
535
535
  instances: {}
536
- }, an = P({
536
+ }, rn = P({
537
537
  name: "assetTypeAttachments",
538
538
  initialState: gs,
539
539
  extraReducers: (t) => t.addMatcher(
@@ -554,29 +554,29 @@ const m = (
554
554
  }), {
555
555
  initializeAssetTypeAttachments: Id,
556
556
  addAssetTypeAttachment: Pd,
557
- addAssetTypeAttachments: cn,
557
+ addAssetTypeAttachments: an,
558
558
  setAssetTypeAttachment: bd,
559
559
  setAssetTypeAttachments: _d,
560
560
  updateAssetTypeAttachment: Md,
561
561
  updateAssetTypeAttachments: gd,
562
562
  deleteAssetTypeAttachment: wd,
563
- deleteAssetTypeAttachments: dn
564
- } = an.actions, Fd = (t) => t.assetTypeAttachmentReducer.instances, on = p(
563
+ deleteAssetTypeAttachments: cn
564
+ } = rn.actions, Fd = (t) => t.assetTypeAttachmentReducer.instances, dn = p(
565
565
  [Fd],
566
566
  (t) => Object.values(t)
567
567
  ), Rd = (t) => (s) => s.assetTypeAttachmentReducer.instances[t], Ed = m(
568
568
  p(
569
- [on, (t, s) => s],
569
+ [dn, (t, s) => s],
570
570
  (t, s) => {
571
571
  const e = new Set(s);
572
572
  return f(t.filter(({ uuid: i }) => e.has(i)));
573
573
  }
574
574
  )
575
575
  ), vd = m(
576
- p([on, (t, s) => s], (t, s) => f(t.filter(({ asset_type: e }) => s === e)))
577
- ), kd = an.reducer, Z = _((t) => t.uuid), ws = {
576
+ p([dn, (t, s) => s], (t, s) => f(t.filter(({ asset_type: e }) => s === e)))
577
+ ), kd = rn.reducer, Z = _((t) => t.uuid), ws = {
578
578
  instances: {}
579
- }, un = P({
579
+ }, on = P({
580
580
  name: "assetTypeFieldsAttachments",
581
581
  initialState: ws,
582
582
  extraReducers: (t) => t.addMatcher(
@@ -604,25 +604,25 @@ const m = (
604
604
  updateAssetTypeFieldsAttachments: Vd,
605
605
  deleteAssetTypeFieldsAttachment: xd,
606
606
  deleteAssetTypeFieldsAttachments: Cd
607
- } = un.actions, Ud = (t) => t.assetTypeFieldsAttachmentReducer.instances, ln = p(
607
+ } = on.actions, Ud = (t) => t.assetTypeFieldsAttachmentReducer.instances, un = p(
608
608
  [Ud],
609
609
  (t) => Object.values(t)
610
610
  ), jM = m(
611
611
  p(
612
- [ln, (t, s) => s],
612
+ [un, (t, s) => s],
613
613
  (t, s) => f(t.filter((e) => e.fields_revision === s))
614
614
  )
615
615
  ), Ld = (t) => (s) => s.assetTypeFieldsAttachmentReducer.instances[t], Nd = m(
616
616
  p(
617
- [ln, (t, s) => s],
617
+ [un, (t, s) => s],
618
618
  (t, s) => {
619
619
  const e = new Set(s);
620
620
  return f(t.filter(({ uuid: i }) => e.has(i)));
621
621
  }
622
622
  )
623
- ), Hd = un.reducer, X = _((t) => t.uuid), Fs = {
623
+ ), Hd = on.reducer, X = _((t) => t.uuid), Fs = {
624
624
  instances: {}
625
- }, hn = P({
625
+ }, ln = P({
626
626
  name: "assetTypeFields",
627
627
  initialState: Fs,
628
628
  extraReducers: (t) => t.addMatcher(
@@ -650,7 +650,7 @@ const m = (
650
650
  updateAssetTypeFieldsMany: Xd,
651
651
  deleteAssetTypeFields: Qd,
652
652
  deleteAssetTypeFieldsMany: eo
653
- } = hn.actions, to = (t) => t.assetTypeFieldsReducer.instances, Bt = p([to], (t) => Object.values(t)), $M = m(
653
+ } = ln.actions, to = (t) => t.assetTypeFieldsReducer.instances, Bt = p([to], (t) => Object.values(t)), $M = m(
654
654
  p([Bt, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
655
655
  ), VM = m(
656
656
  p([Bt, (t, s) => s], (t, s) => t.filter((e) => e.asset_type === s).toSorted(Rt).pop())
@@ -659,9 +659,9 @@ const m = (
659
659
  const e = new Set(s);
660
660
  return f(t.filter(({ uuid: i }) => e.has(i)));
661
661
  })
662
- ), no = hn.reducer, Q = _((t) => t.uuid), Rs = {
662
+ ), no = ln.reducer, Q = _((t) => t.uuid), Rs = {
663
663
  instances: {}
664
- }, pn = P({
664
+ }, hn = P({
665
665
  name: "assetTypeFieldValuesAttachments",
666
666
  initialState: Rs,
667
667
  extraReducers: (t) => t.addMatcher(
@@ -682,19 +682,19 @@ const m = (
682
682
  }), {
683
683
  initializeAssetTypeFieldValuesAttachments: ro,
684
684
  addAssetTypeFieldValuesAttachment: ao,
685
- addAssetTypeFieldValuesAttachments: mn,
685
+ addAssetTypeFieldValuesAttachments: pn,
686
686
  setAssetTypeFieldValuesAttachment: co,
687
687
  setAssetTypeFieldValuesAttachments: oo,
688
688
  updateAssetTypeFieldValuesAttachment: uo,
689
689
  updateAssetTypeFieldValuesAttachments: lo,
690
690
  deleteAssetTypeFieldValuesAttachment: ho,
691
- deleteAssetTypeFieldValuesAttachments: yn
692
- } = pn.actions, po = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, fn = p(
691
+ deleteAssetTypeFieldValuesAttachments: mn
692
+ } = hn.actions, po = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, yn = p(
693
693
  [po],
694
694
  (t) => Object.values(t)
695
695
  ), mo = (t) => (s) => s.assetTypeFieldValuesAttachmentReducer.instances[t], yo = m(
696
696
  p(
697
- [fn, (t, s) => s],
697
+ [yn, (t, s) => s],
698
698
  (t, s) => {
699
699
  const e = new Set(s);
700
700
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -702,12 +702,12 @@ const m = (
702
702
  )
703
703
  ), fo = m(
704
704
  p(
705
- [fn, (t, s) => s],
705
+ [yn, (t, s) => s],
706
706
  (t, s) => f(t.filter((e) => e.field_values === s))
707
707
  )
708
- ), So = pn.reducer, ee = _((t) => t.uuid), Es = {
708
+ ), So = hn.reducer, ee = _((t) => t.uuid), Es = {
709
709
  instances: {}
710
- }, Sn = P({
710
+ }, fn = P({
711
711
  name: "assetTypeFieldValues",
712
712
  initialState: Es,
713
713
  extraReducers: (t) => t.addMatcher(
@@ -735,7 +735,7 @@ const m = (
735
735
  updateAssetTypeFieldValuesMany: _o,
736
736
  deleteAssetTypeFieldValues: Mo,
737
737
  deleteAssetTypeFieldValuesMany: go
738
- } = Sn.actions, wo = (t) => t.assetTypeFieldValuesReducer.instances, Xt = p([wo], (t) => Object.values(t)), xM = m(
738
+ } = fn.actions, wo = (t) => t.assetTypeFieldValuesReducer.instances, Xt = p([wo], (t) => Object.values(t)), xM = m(
739
739
  p([Xt, (t, s) => s], (t, s) => f(t.filter((e) => e.asset === s)))
740
740
  ), CM = m(
741
741
  p(
@@ -755,9 +755,9 @@ const m = (
755
755
  return f(t.filter(({ uuid: i }) => e.has(i)));
756
756
  }
757
757
  )
758
- ), Eo = Sn.reducer, te = _((t) => t.uuid), vs = {
758
+ ), Eo = fn.reducer, te = _((t) => t.uuid), vs = {
759
759
  instances: {}
760
- }, An = P({
760
+ }, Sn = P({
761
761
  name: "assetTypeIdentifiers",
762
762
  initialState: vs,
763
763
  extraReducers: (t) => t.addMatcher(
@@ -785,22 +785,22 @@ const m = (
785
785
  updateAssetTypeIdentifiers: jo,
786
786
  deleteAssetTypeIdentifier: $o,
787
787
  deleteAssetTypeIdentifiers: Vo
788
- } = An.actions, xo = (t) => t.assetTypeIdentifierReducer.instances, On = p(
788
+ } = Sn.actions, xo = (t) => t.assetTypeIdentifierReducer.instances, An = p(
789
789
  [xo],
790
790
  (t) => Object.values(t)
791
791
  ), Co = (t) => (s) => s.assetTypeIdentifierReducer.instances[t], Uo = m(
792
792
  p(
793
- [On, (t, s) => s],
793
+ [An, (t, s) => s],
794
794
  (t, s) => {
795
795
  const e = new Set(s);
796
796
  return f(t.filter(({ uuid: i }) => e.has(i)));
797
797
  }
798
798
  )
799
799
  ), UM = m(
800
- p([On, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
801
- ), Lo = An.reducer, se = _((t) => t.uuid), ks = {
800
+ p([An, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
801
+ ), Lo = Sn.reducer, se = _((t) => t.uuid), ks = {
802
802
  instances: {}
803
- }, Tn = P({
803
+ }, On = P({
804
804
  name: "assetTypeIdentifierValues",
805
805
  initialState: ks,
806
806
  extraReducers: (t) => t.addMatcher(
@@ -828,7 +828,7 @@ const m = (
828
828
  updateAssetTypeIdentifierValues: Jo,
829
829
  deleteAssetTypeIdentifierValue: Zo,
830
830
  deleteAssetTypeIdentifierValues: Xo
831
- } = Tn.actions, Qo = (t) => t.assetTypeIdentifierValueReducer.instances, Qt = p(
831
+ } = On.actions, Qo = (t) => t.assetTypeIdentifierValueReducer.instances, Qt = p(
832
832
  [Qo],
833
833
  (t) => Object.values(t)
834
834
  ), eu = (t) => (s) => s.assetTypeIdentifierValueReducer.instances[t], tu = m(
@@ -848,11 +848,11 @@ const m = (
848
848
  t.filter((e) => e.asset_type_identifier === s)
849
849
  )
850
850
  )
851
- ), su = Tn.reducer, ie = _(
851
+ ), su = On.reducer, ie = _(
852
852
  (t) => t.uuid
853
853
  ), Bs = {
854
854
  instances: {}
855
- }, In = P({
855
+ }, Tn = P({
856
856
  name: "assetTypes",
857
857
  initialState: Bs,
858
858
  extraReducers: (t) => t.addMatcher(
@@ -880,19 +880,19 @@ const m = (
880
880
  updateAssetTypes: ou,
881
881
  deleteAssetType: uu,
882
882
  deleteAssetTypes: lu
883
- } = In.actions, hu = (t) => t.assetTypeReducer.instances, Pn = p(
883
+ } = Tn.actions, hu = (t) => t.assetTypeReducer.instances, In = p(
884
884
  [hu],
885
885
  (t) => Object.values(t)
886
886
  ), pu = (t) => (s) => s.assetTypeReducer.instances[t], mu = m(
887
- p([Pn, (t, s) => s], (t, s) => {
887
+ p([In, (t, s) => s], (t, s) => {
888
888
  const e = new Set(s);
889
889
  return f(t.filter(({ uuid: i }) => e.has(i)));
890
890
  })
891
891
  ), HM = m(
892
- p([Pn, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
893
- ), yu = In.reducer, ne = _((t) => t.uuid), zs = {
892
+ p([In, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
893
+ ), yu = Tn.reducer, ne = _((t) => t.uuid), zs = {
894
894
  instances: {}
895
- }, bn = P({
895
+ }, Pn = P({
896
896
  name: "assetTypeStatuses",
897
897
  initialState: zs,
898
898
  extraReducers: (t) => t.addMatcher(
@@ -920,14 +920,14 @@ const m = (
920
920
  updateAssetTypeStatuses: Pu,
921
921
  deleteAssetTypeStatus: bu,
922
922
  deleteAssetTypeStatuses: _u
923
- } = bn.actions, Mu = (t) => t.assetTypeStatusReducer.instances, _n = p([Mu], (t) => f(Object.values(t).toSorted(Rc))), gu = (t) => (s) => s.assetTypeStatusReducer.instances[t], wu = m(
924
- p([_n, (t, s) => s], (t, s) => {
923
+ } = Pn.actions, Mu = (t) => t.assetTypeStatusReducer.instances, bn = p([Mu], (t) => f(Object.values(t).toSorted(Rc))), gu = (t) => (s) => s.assetTypeStatusReducer.instances[t], wu = m(
924
+ p([bn, (t, s) => s], (t, s) => {
925
925
  const e = new Set(s);
926
926
  return f(t.filter(({ uuid: i }) => e.has(i)));
927
927
  })
928
928
  ), GM = m(
929
- p([_n, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
930
- ), Fu = bn.reducer, Ds = {
929
+ p([bn, (t, s) => s], (t, s) => f(t.filter((e) => e.asset_type === s)))
930
+ ), Fu = Pn.reducer, Ds = {
931
931
  accessToken: "",
932
932
  refreshToken: "",
933
933
  isLoggedIn: !1
@@ -948,7 +948,7 @@ const m = (
948
948
  }
949
949
  }), { setTokens: WM, clearTokens: KM, setLoggedIn: Ru } = es.actions, YM = (t) => t.authReducer.accessToken, JM = (t) => t.authReducer.isLoggedIn, Eu = es.reducer, re = _((t) => t.uuid), qs = {
950
950
  instances: {}
951
- }, Mn = P({
951
+ }, _n = P({
952
952
  name: "documentAttachments",
953
953
  initialState: qs,
954
954
  extraReducers: (t) => t.addCase(T, (s) => Object.assign(s, qs)),
@@ -973,22 +973,22 @@ const m = (
973
973
  updateDocumentAttachments: ju,
974
974
  deleteDocumentAttachment: $u,
975
975
  deleteDocumentAttachments: Vu
976
- } = Mn.actions, xu = (t) => t.documentAttachmentReducer.instances, gn = p(
976
+ } = _n.actions, xu = (t) => t.documentAttachmentReducer.instances, Mn = p(
977
977
  [xu],
978
978
  (t) => Object.values(t)
979
979
  ), Cu = (t) => (s) => s.documentAttachmentReducer.instances[t], Uu = m(
980
980
  p(
981
- [gn, (t, s) => s],
981
+ [Mn, (t, s) => s],
982
982
  (t, s) => {
983
983
  const e = new Set(s);
984
984
  return f(t.filter(({ uuid: i }) => e.has(i)));
985
985
  }
986
986
  )
987
987
  ), ZM = m(
988
- p([gn, (t, s) => s], (t, s) => f(t.filter(({ document: e }) => s === e)))
989
- ), Lu = Mn.reducer, ae = _(({ uuid: t }) => t), js = {
988
+ p([Mn, (t, s) => s], (t, s) => f(t.filter(({ document: e }) => s === e)))
989
+ ), Lu = _n.reducer, ae = _(({ uuid: t }) => t), js = {
990
990
  instances: {}
991
- }, wn = P({
991
+ }, gn = P({
992
992
  name: "documents",
993
993
  initialState: js,
994
994
  extraReducers: (t) => t.addMatcher(M(T, g), (s) => {
@@ -1015,8 +1015,8 @@ const m = (
1015
1015
  updateDocuments: Ju,
1016
1016
  deleteDocument: Zu,
1017
1017
  deleteDocuments: Xu
1018
- } = wn.actions, Qu = wn.reducer, Fn = (t) => t.documentsReducer.instances, ts = p(
1019
- [Fn],
1018
+ } = gn.actions, Qu = gn.reducer, wn = (t) => t.documentsReducer.instances, ts = p(
1019
+ [wn],
1020
1020
  (t) => Object.values(t)
1021
1021
  ), el = (t) => (s) => s.documentsReducer.instances[t], tl = m(
1022
1022
  p([ts, (t, s) => s], (t, s) => {
@@ -1028,7 +1028,7 @@ const m = (
1028
1028
  ), QM = m(
1029
1029
  p([ts, (t, s) => s], (t, s) => t.filter((e) => e.organization === s))
1030
1030
  ), sl = m(
1031
- p([Fn, (t, s) => s], (t, s) => {
1031
+ p([wn, (t, s) => s], (t, s) => {
1032
1032
  if (!t[s]) return f([]);
1033
1033
  const n = kc(s, Object.values(t)).all().map(({ model: a }) => a);
1034
1034
  return f(n);
@@ -1037,7 +1037,7 @@ const m = (
1037
1037
  (t) => t.uuid
1038
1038
  ), $s = {
1039
1039
  instances: {}
1040
- }, Rn = P({
1040
+ }, Fn = P({
1041
1041
  name: "emailDomains",
1042
1042
  initialState: $s,
1043
1043
  extraReducers: (t) => t.addMatcher(
@@ -1065,18 +1065,18 @@ const m = (
1065
1065
  updateEmailDomains: ol,
1066
1066
  deleteEmailDomain: ul,
1067
1067
  deleteEmailDomains: ll
1068
- } = Rn.actions, hl = (t) => t.emailDomainsReducer.instances, En = p([hl], (t) => Object.values(t)), pl = (t) => (s) => s.emailDomainsReducer.instances[t], ml = m(
1069
- p([En, (t, s) => s], (t, s) => {
1068
+ } = Fn.actions, hl = (t) => t.emailDomainsReducer.instances, Rn = p([hl], (t) => Object.values(t)), pl = (t) => (s) => s.emailDomainsReducer.instances[t], ml = m(
1069
+ p([Rn, (t, s) => s], (t, s) => {
1070
1070
  const e = new Set(s);
1071
1071
  return f(t.filter(({ uuid: i }) => e.has(i)));
1072
1072
  })
1073
1073
  ), eg = m(
1074
- p([En, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
1075
- ), yl = Rn.reducer, de = _(
1074
+ p([Rn, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
1075
+ ), yl = Fn.reducer, de = _(
1076
1076
  (t) => t.uuid
1077
1077
  ), Vs = {
1078
1078
  instances: {}
1079
- }, vn = P({
1079
+ }, En = P({
1080
1080
  name: "formIdentifiers",
1081
1081
  initialState: Vs,
1082
1082
  extraReducers: (t) => t.addMatcher(
@@ -1104,19 +1104,19 @@ const m = (
1104
1104
  updateFormIdentifiers: Pl,
1105
1105
  deleteFormIdentifier: bl,
1106
1106
  deleteFormIdentifiers: _l
1107
- } = vn.actions, Ml = (t) => t.formIdentifierReducer.instances, kn = p(
1107
+ } = En.actions, Ml = (t) => t.formIdentifierReducer.instances, vn = p(
1108
1108
  [Ml],
1109
1109
  (t) => Object.values(t)
1110
1110
  ), gl = (t) => (s) => s.formIdentifierReducer.instances[t], wl = m(
1111
- p([kn, (t, s) => s], (t, s) => {
1111
+ p([vn, (t, s) => s], (t, s) => {
1112
1112
  const e = new Set(s);
1113
1113
  return f(t.filter(({ uuid: i }) => e.has(i)));
1114
1114
  })
1115
1115
  ), tg = m(
1116
- p([kn, (t, s) => s], (t, s) => f(t.filter((e) => e.form === s)))
1117
- ), Fl = vn.reducer, oe = _((t) => t.uuid), xs = {
1116
+ p([vn, (t, s) => s], (t, s) => f(t.filter((e) => e.form === s)))
1117
+ ), Fl = En.reducer, oe = _((t) => t.uuid), xs = {
1118
1118
  instances: {}
1119
- }, Bn = P({
1119
+ }, kn = P({
1120
1120
  name: "formIdentifierValues",
1121
1121
  initialState: xs,
1122
1122
  extraReducers: (t) => t.addMatcher(
@@ -1144,7 +1144,7 @@ const m = (
1144
1144
  updateFormIdentifierValues: Dl,
1145
1145
  deleteFormIdentifierValue: ql,
1146
1146
  deleteFormIdentifierValues: jl
1147
- } = Bn.actions, $l = (t) => t.formIdentifierValueReducer.instances, ss = p(
1147
+ } = kn.actions, $l = (t) => t.formIdentifierValueReducer.instances, ss = p(
1148
1148
  [$l],
1149
1149
  (t) => Object.values(t)
1150
1150
  ), Vl = (t) => (s) => s.formIdentifierValueReducer.instances[t], xl = m(
@@ -1169,9 +1169,9 @@ const m = (
1169
1169
  t.filter((e) => e.form_identifier === s)
1170
1170
  )
1171
1171
  )
1172
- ), Cl = Bn.reducer, ue = _((t) => t.uuid), Cs = {
1172
+ ), Cl = kn.reducer, ue = _((t) => t.uuid), Cs = {
1173
1173
  instances: {}
1174
- }, zn = P({
1174
+ }, Bn = P({
1175
1175
  name: "formRevisionAttachments",
1176
1176
  initialState: Cs,
1177
1177
  extraReducers: (t) => t.addMatcher(
@@ -1199,7 +1199,7 @@ const m = (
1199
1199
  updateFormRevisionAttachments: Kl,
1200
1200
  deleteFormRevisionAttachment: Yl,
1201
1201
  deleteFormRevisionAttachments: Jl
1202
- } = zn.actions, is = (t) => t.formRevisionAttachmentReducer.instances, Zl = p(
1202
+ } = Bn.actions, is = (t) => t.formRevisionAttachmentReducer.instances, Zl = p(
1203
1203
  [is],
1204
1204
  (t) => Object.values(t)
1205
1205
  ), Xl = m(
@@ -1219,11 +1219,11 @@ const m = (
1219
1219
  p([is, (t, s) => s], (t, s) => f(
1220
1220
  Object.values(t).filter((e) => e.form_revision === s)
1221
1221
  ))
1222
- ), eh = zn.reducer, le = _(
1222
+ ), eh = Bn.reducer, le = _(
1223
1223
  (t) => t.uuid
1224
1224
  ), Us = {
1225
1225
  instances: {}
1226
- }, Dn = P({
1226
+ }, zn = P({
1227
1227
  name: "formRevisions",
1228
1228
  initialState: Us,
1229
1229
  extraReducers: (t) => t.addMatcher(
@@ -1244,14 +1244,14 @@ const m = (
1244
1244
  }), {
1245
1245
  initializeFormRevisions: th,
1246
1246
  addFormRevision: sh,
1247
- addFormRevisions: qn,
1247
+ addFormRevisions: Dn,
1248
1248
  setFormRevision: ih,
1249
1249
  setFormRevisions: nh,
1250
1250
  updateFormRevision: rh,
1251
1251
  updateFormRevisions: ah,
1252
1252
  deleteFormRevision: ch,
1253
- deleteFormRevisions: jn
1254
- } = Dn.actions, dh = (t) => t.formRevisionReducer.instances, ns = p(
1253
+ deleteFormRevisions: qn
1254
+ } = zn.actions, dh = (t) => t.formRevisionReducer.instances, ns = p(
1255
1255
  [dh],
1256
1256
  (t) => Object.values(t)
1257
1257
  ), oh = (t) => (s) => s.formRevisionReducer.instances[t], uh = m(
@@ -1266,11 +1266,11 @@ const m = (
1266
1266
  [ns, (t, s) => s],
1267
1267
  (t, s) => f(t.filter((e) => e.form === s))
1268
1268
  )
1269
- ), hh = Dn.reducer, he = _(
1269
+ ), hh = zn.reducer, he = _(
1270
1270
  (t) => t.uuid
1271
1271
  ), Ls = {
1272
1272
  instances: {}
1273
- }, $n = P({
1273
+ }, jn = P({
1274
1274
  name: "formSubscribers",
1275
1275
  initialState: Ls,
1276
1276
  extraReducers: (t) => t.addMatcher(
@@ -1291,14 +1291,14 @@ const m = (
1291
1291
  }), {
1292
1292
  initializeFormSubscribers: ph,
1293
1293
  addFormSubscriber: mh,
1294
- addFormSubscribers: Vn,
1294
+ addFormSubscribers: $n,
1295
1295
  setFormSubscriber: yh,
1296
1296
  setFormSubscribers: fh,
1297
1297
  updateFormSubscriber: Sh,
1298
1298
  updateFormSubscribers: Ah,
1299
1299
  deleteFormSubscriber: Oh,
1300
- deleteFormSubscribers: xn
1301
- } = $n.actions, Th = (t) => t.formSubscriberReducer.instances, rs = p(
1300
+ deleteFormSubscribers: Vn
1301
+ } = jn.actions, Th = (t) => t.formSubscriberReducer.instances, rs = p(
1302
1302
  [Th],
1303
1303
  (t) => Object.values(t)
1304
1304
  ), Ih = (t) => (s) => s.formSubscriberReducer.instances[t], Ph = m(
@@ -1310,9 +1310,9 @@ const m = (
1310
1310
  p([rs, (t, s) => s], (t, s) => f(t.filter((e) => e.form === s)))
1311
1311
  ), ag = m(
1312
1312
  p([rs, (t, s) => s], (t, s) => f(t.filter((e) => e.user === s)))
1313
- ), _h = $n.reducer, pe = _((t) => t.uuid), Ns = {
1313
+ ), _h = jn.reducer, pe = _((t) => t.uuid), Ns = {
1314
1314
  instances: {}
1315
- }, Cn = P({
1315
+ }, xn = P({
1316
1316
  name: "forms",
1317
1317
  initialState: Ns,
1318
1318
  extraReducers: (t) => t.addMatcher(
@@ -1340,16 +1340,16 @@ const m = (
1340
1340
  updateForms: vh,
1341
1341
  deleteForm: kh,
1342
1342
  deleteForms: Bh
1343
- } = Cn.actions, zh = Cn.reducer, Dh = (t) => t.formReducer.instances, Un = p([Dh], (t) => Object.values(t)), qh = (t) => (s) => s.formReducer.instances[t], jh = m(
1344
- p([Un, (t, s) => s], (t, s) => {
1343
+ } = xn.actions, zh = xn.reducer, Dh = (t) => t.formReducer.instances, Cn = p([Dh], (t) => Object.values(t)), qh = (t) => (s) => s.formReducer.instances[t], jh = m(
1344
+ p([Cn, (t, s) => s], (t, s) => {
1345
1345
  const e = new Set(s);
1346
1346
  return f(t.filter(({ uuid: i }) => e.has(i)));
1347
1347
  })
1348
1348
  ), cg = m(
1349
- p([Un, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
1349
+ p([Cn, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
1350
1350
  ), me = _((t) => t.uuid), Hs = {
1351
1351
  instances: {}
1352
- }, Ln = P({
1352
+ }, Un = P({
1353
1353
  name: "formSubmissionAttachments",
1354
1354
  initialState: Hs,
1355
1355
  extraReducers: (t) => t.addMatcher(
@@ -1370,24 +1370,24 @@ const m = (
1370
1370
  }), {
1371
1371
  initializeFormSubmissionAttachments: $h,
1372
1372
  addFormSubmissionAttachment: Vh,
1373
- addFormSubmissionAttachments: Nn,
1373
+ addFormSubmissionAttachments: Ln,
1374
1374
  setFormSubmissionAttachment: xh,
1375
1375
  setFormSubmissionAttachments: Ch,
1376
1376
  updateFormSubmissionAttachment: Uh,
1377
1377
  updateFormSubmissionAttachments: Lh,
1378
1378
  deleteFormSubmissionAttachment: Nh,
1379
- deleteFormSubmissionAttachments: Hn
1380
- } = Ln.actions, Gn = (t) => t.formSubmissionAttachmentReducer.instances, Wn = p(
1381
- [Gn],
1379
+ deleteFormSubmissionAttachments: Nn
1380
+ } = Un.actions, Hn = (t) => t.formSubmissionAttachmentReducer.instances, Gn = p(
1381
+ [Hn],
1382
1382
  (t) => Object.values(t)
1383
1383
  ), Hh = m(
1384
1384
  p(
1385
- [Gn, (t, s) => s],
1385
+ [Hn, (t, s) => s],
1386
1386
  (t, s) => t[s]
1387
1387
  )
1388
- ), Kn = m(
1388
+ ), Wn = m(
1389
1389
  p(
1390
- [Wn, (t, s) => s],
1390
+ [Gn, (t, s) => s],
1391
1391
  (t, s) => {
1392
1392
  const e = new Set(s);
1393
1393
  return f(
@@ -1395,18 +1395,18 @@ const m = (
1395
1395
  );
1396
1396
  }
1397
1397
  )
1398
- ), Gh = Kn, Wh = m(
1398
+ ), Gh = Wn, Wh = m(
1399
1399
  p(
1400
- [Wn, (t, s) => s],
1400
+ [Gn, (t, s) => s],
1401
1401
  (t, s) => f(
1402
1402
  t.filter((e) => e.form_submission === s)
1403
1403
  )
1404
1404
  )
1405
- ), Kh = Ln.reducer, ye = _(
1405
+ ), Kh = Un.reducer, ye = _(
1406
1406
  (t) => t.uuid
1407
1407
  ), Gs = {
1408
1408
  instances: {}
1409
- }, Yn = P({
1409
+ }, Kn = P({
1410
1410
  name: "formSubmissions",
1411
1411
  initialState: Gs,
1412
1412
  extraReducers: (t) => t.addMatcher(
@@ -1434,7 +1434,7 @@ const m = (
1434
1434
  updateFormSubmissions: ep,
1435
1435
  deleteFormSubmission: tp,
1436
1436
  deleteFormSubmissions: ft
1437
- } = Yn.actions, sp = (t) => t.formSubmissionReducer.instances, H = p(
1437
+ } = Kn.actions, sp = (t) => t.formSubmissionReducer.instances, H = p(
1438
1438
  [sp],
1439
1439
  (t) => Object.values(t)
1440
1440
  ), ip = (t) => (s) => s.formSubmissionReducer.instances[t], np = m(
@@ -1496,11 +1496,11 @@ const m = (
1496
1496
  return f(t.filter(({ asset: i }) => i && e.has(i)));
1497
1497
  }
1498
1498
  )
1499
- ), up = Yn.reducer, fe = _(
1499
+ ), up = Kn.reducer, fe = _(
1500
1500
  (t) => t.uuid
1501
1501
  ), Ws = {
1502
1502
  instances: {}
1503
- }, Jn = P({
1503
+ }, Yn = P({
1504
1504
  name: "geoImages",
1505
1505
  initialState: Ws,
1506
1506
  extraReducers: (t) => t.addMatcher(
@@ -1528,16 +1528,16 @@ const m = (
1528
1528
  updateGeoImages: Sp,
1529
1529
  deleteGeoImage: Ap,
1530
1530
  deleteGeoImages: Op
1531
- } = Jn.actions, Tp = (t) => t.geoImageReducer.instances, Zn = p([Tp], (t) => Object.values(t)), Ip = (t) => (s) => s.geoImageReducer.instances[t], Pp = m(
1532
- p([Zn, (t, s) => s], (t, s) => {
1531
+ } = Yn.actions, Tp = (t) => t.geoImageReducer.instances, Jn = p([Tp], (t) => Object.values(t)), Ip = (t) => (s) => s.geoImageReducer.instances[t], Pp = m(
1532
+ p([Jn, (t, s) => s], (t, s) => {
1533
1533
  const e = new Set(s);
1534
1534
  return f(t.filter(({ uuid: i }) => e.has(i)));
1535
1535
  })
1536
1536
  ), hg = m(
1537
- p([Zn, (t, s) => s], (t, s) => f(t.filter((e) => e.project === s)))
1538
- ), bp = Jn.reducer, Se = _((t) => t.uuid), Ks = {
1537
+ p([Jn, (t, s) => s], (t, s) => f(t.filter((e) => e.project === s)))
1538
+ ), bp = Yn.reducer, Se = _((t) => t.uuid), Ks = {
1539
1539
  instances: {}
1540
- }, Xn = P({
1540
+ }, Zn = P({
1541
1541
  name: "issueAssociations",
1542
1542
  initialState: Ks,
1543
1543
  extraReducers: (t) => t.addMatcher(
@@ -1565,7 +1565,7 @@ const m = (
1565
1565
  addIssueAssociations: _t,
1566
1566
  deleteIssueAssociation: Ep,
1567
1567
  deleteIssueAssociations: Mt
1568
- } = Xn.actions, vp = (t) => t.issueAssociationReducer.instances, Et = p([vp], (t) => Object.values(t)), kp = (t) => (s) => s.issueAssociationReducer.instances[t], Bp = m(
1568
+ } = Zn.actions, vp = (t) => t.issueAssociationReducer.instances, Et = p([vp], (t) => Object.values(t)), kp = (t) => (s) => s.issueAssociationReducer.instances[t], Bp = m(
1569
1569
  p([Et, (t, s) => s], (t, s) => {
1570
1570
  const e = new Set(s);
1571
1571
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -1590,9 +1590,9 @@ const m = (
1590
1590
  return f(t.filter(({ asset: i }) => e.has(i)));
1591
1591
  }
1592
1592
  )
1593
- ), $p = Xn.reducer, Ae = _((t) => t.uuid), Ys = {
1593
+ ), $p = Zn.reducer, Ae = _((t) => t.uuid), Ys = {
1594
1594
  instances: {}
1595
- }, Qn = P({
1595
+ }, Xn = P({
1596
1596
  name: "issueAttachments",
1597
1597
  initialState: Ys,
1598
1598
  extraReducers: (t) => t.addMatcher(
@@ -1613,29 +1613,29 @@ const m = (
1613
1613
  }), {
1614
1614
  initializeIssueAttachments: Vp,
1615
1615
  addIssueAttachment: xp,
1616
- addIssueAttachments: er,
1616
+ addIssueAttachments: Qn,
1617
1617
  setIssueAttachment: Cp,
1618
1618
  setIssueAttachments: Up,
1619
1619
  updateIssueAttachment: Lp,
1620
1620
  updateIssueAttachments: Np,
1621
1621
  deleteIssueAttachment: Hp,
1622
- deleteIssueAttachments: tr
1623
- } = Qn.actions, Gp = (t) => t.issueAttachmentReducer.instances, sr = p(
1622
+ deleteIssueAttachments: er
1623
+ } = Xn.actions, Gp = (t) => t.issueAttachmentReducer.instances, tr = p(
1624
1624
  [Gp],
1625
1625
  (t) => Object.values(t)
1626
1626
  ), Wp = m(
1627
1627
  p(
1628
- [sr, (t, s) => s],
1628
+ [tr, (t, s) => s],
1629
1629
  (t, s) => f(t.filter(({ issue: e }) => s === e))
1630
1630
  )
1631
1631
  ), Kp = (t) => (s) => s.issueAttachmentReducer.instances[t], Yp = m(
1632
- p([sr, (t, s) => s], (t, s) => {
1632
+ p([tr, (t, s) => s], (t, s) => {
1633
1633
  const e = new Set(s);
1634
1634
  return f(t.filter(({ uuid: i }) => e.has(i)));
1635
1635
  })
1636
- ), Jp = Qn.reducer, Oe = _((t) => t.uuid), Js = {
1636
+ ), Jp = Xn.reducer, Oe = _((t) => t.uuid), Js = {
1637
1637
  instances: {}
1638
- }, ir = P({
1638
+ }, sr = P({
1639
1639
  name: "issueCommentAttachments",
1640
1640
  initialState: Js,
1641
1641
  extraReducers: (t) => t.addMatcher(
@@ -1663,24 +1663,24 @@ const m = (
1663
1663
  updateIssueCommentAttachments: im,
1664
1664
  deleteIssueCommentAttachment: nm,
1665
1665
  deleteIssueCommentAttachments: rm
1666
- } = ir.actions, am = (t) => t.issueCommentAttachmentReducer.instances, nr = p(
1666
+ } = sr.actions, am = (t) => t.issueCommentAttachmentReducer.instances, ir = p(
1667
1667
  [am],
1668
1668
  (t) => Object.values(t)
1669
1669
  ), cm = (t) => (s) => s.issueCommentAttachmentReducer.instances[t], dm = m(
1670
1670
  p(
1671
- [nr, (t, s) => s],
1671
+ [ir, (t, s) => s],
1672
1672
  (t, s) => {
1673
1673
  const e = new Set(s);
1674
1674
  return f(t.filter(({ uuid: i }) => e.has(i)));
1675
1675
  }
1676
1676
  )
1677
1677
  ), pg = m(
1678
- p([nr, (t, s) => s], (t, s) => f(t.filter(({ issue_comment: e }) => s === e)))
1679
- ), om = ir.reducer, Te = _(
1678
+ p([ir, (t, s) => s], (t, s) => f(t.filter(({ issue_comment: e }) => s === e)))
1679
+ ), om = sr.reducer, Te = _(
1680
1680
  (t) => t.uuid
1681
1681
  ), Zs = {
1682
1682
  instances: {}
1683
- }, rr = P({
1683
+ }, nr = P({
1684
1684
  name: "issueComments",
1685
1685
  initialState: Zs,
1686
1686
  extraReducers: (t) => t.addMatcher(
@@ -1708,21 +1708,21 @@ const m = (
1708
1708
  updateIssueComments: fm,
1709
1709
  deleteIssueComment: Sm,
1710
1710
  deleteIssueComments: Am
1711
- } = rr.actions, ar = (t) => t.issueCommentReducer.instances, Om = (t) => (s) => s.issueCommentReducer.instances[t], Tm = m(
1712
- p([ar, (t, s) => s], (t, s) => {
1711
+ } = nr.actions, rr = (t) => t.issueCommentReducer.instances, Om = (t) => (s) => s.issueCommentReducer.instances[t], Tm = m(
1712
+ p([rr, (t, s) => s], (t, s) => {
1713
1713
  const e = new Set(s);
1714
1714
  return f(Object.values(t).filter(({ uuid: i }) => e.has(i)));
1715
1715
  })
1716
1716
  ), mg = m(
1717
1717
  p(
1718
- [ar, (t, s) => s],
1718
+ [rr, (t, s) => s],
1719
1719
  (t, s) => f(
1720
1720
  Object.values(t).filter((e) => e.issue === s)
1721
1721
  )
1722
1722
  )
1723
- ), Im = rr.reducer, Ie = _((t) => t.uuid), Xs = {
1723
+ ), Im = nr.reducer, Ie = _((t) => t.uuid), Xs = {
1724
1724
  instances: {}
1725
- }, cr = P({
1725
+ }, ar = P({
1726
1726
  name: "issues",
1727
1727
  initialState: Xs,
1728
1728
  extraReducers: (t) => t.addMatcher(
@@ -1743,14 +1743,14 @@ const m = (
1743
1743
  }), {
1744
1744
  initializeIssues: Pm,
1745
1745
  addIssue: bm,
1746
- addIssues: dr,
1746
+ addIssues: cr,
1747
1747
  setIssue: _m,
1748
1748
  setIssues: Mm,
1749
1749
  updateIssue: gm,
1750
1750
  updateIssues: wm,
1751
1751
  deleteIssue: Fm,
1752
- deleteIssues: or
1753
- } = cr.actions, Rm = (t) => t.issueReducer.instances, as = p(
1752
+ deleteIssues: dr
1753
+ } = ar.actions, Rm = (t) => t.issueReducer.instances, as = p(
1754
1754
  [Rm],
1755
1755
  (t) => Object.values(t)
1756
1756
  ), Em = (t) => (s) => s.issueReducer.instances[t], vm = m(
@@ -1762,9 +1762,9 @@ const m = (
1762
1762
  p([as, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
1763
1763
  ), km = m(
1764
1764
  p([as, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
1765
- ), Bm = cr.reducer, Pe = _((t) => t.uuid), Qs = {
1765
+ ), Bm = ar.reducer, Pe = _((t) => t.uuid), Qs = {
1766
1766
  instances: {}
1767
- }, ur = P({
1767
+ }, or = P({
1768
1768
  name: "issueTypeAttachments",
1769
1769
  initialState: Qs,
1770
1770
  extraReducers: (t) => t.addMatcher(
@@ -1792,22 +1792,22 @@ const m = (
1792
1792
  updateIssueTypeAttachments: xm,
1793
1793
  deleteIssueTypeAttachment: Cm,
1794
1794
  deleteIssueTypeAttachments: Um
1795
- } = ur.actions, Lm = (t) => t.issueTypeAttachmentReducer.instances, lr = p(
1795
+ } = or.actions, Lm = (t) => t.issueTypeAttachmentReducer.instances, ur = p(
1796
1796
  [Lm],
1797
1797
  (t) => Object.values(t)
1798
1798
  ), Nm = (t) => (s) => s.issueTypeAttachmentReducer.instances[t], Hm = m(
1799
1799
  p(
1800
- [lr, (t, s) => s],
1800
+ [ur, (t, s) => s],
1801
1801
  (t, s) => {
1802
1802
  const e = new Set(s);
1803
1803
  return f(t.filter(({ uuid: i }) => e.has(i)));
1804
1804
  }
1805
1805
  )
1806
1806
  ), fg = m(
1807
- p([lr, (t, s) => s], (t, s) => f(t.filter(({ issue_type: e }) => s === e)))
1808
- ), Gm = ur.reducer, be = _((t) => t.uuid), ei = {
1807
+ p([ur, (t, s) => s], (t, s) => f(t.filter(({ issue_type: e }) => s === e)))
1808
+ ), Gm = or.reducer, be = _((t) => t.uuid), ei = {
1809
1809
  instances: {}
1810
- }, hr = P({
1810
+ }, lr = P({
1811
1811
  name: "issueTypeFieldsAttachments",
1812
1812
  initialState: ei,
1813
1813
  extraReducers: (t) => t.addMatcher(
@@ -1835,25 +1835,25 @@ const m = (
1835
1835
  updateIssueTypeFieldsAttachments: Qm,
1836
1836
  deleteIssueTypeFieldsAttachment: ey,
1837
1837
  deleteIssueTypeFieldsAttachments: ty
1838
- } = hr.actions, sy = (t) => t.issueTypeFieldsAttachmentReducer.instances, pr = p(
1838
+ } = lr.actions, sy = (t) => t.issueTypeFieldsAttachmentReducer.instances, hr = p(
1839
1839
  [sy],
1840
1840
  (t) => Object.values(t)
1841
1841
  ), Sg = m(
1842
1842
  p(
1843
- [pr, (t, s) => s],
1843
+ [hr, (t, s) => s],
1844
1844
  (t, s) => f(t.filter((e) => e.fields_revision === s))
1845
1845
  )
1846
1846
  ), iy = (t) => (s) => s.issueTypeFieldsAttachmentReducer.instances[t], ny = m(
1847
1847
  p(
1848
- [pr, (t, s) => s],
1848
+ [hr, (t, s) => s],
1849
1849
  (t, s) => {
1850
1850
  const e = new Set(s);
1851
1851
  return f(t.filter(({ uuid: i }) => e.has(i)));
1852
1852
  }
1853
1853
  )
1854
- ), ry = hr.reducer, _e = _((t) => t.uuid), ti = {
1854
+ ), ry = lr.reducer, _e = _((t) => t.uuid), ti = {
1855
1855
  instances: {}
1856
- }, mr = P({
1856
+ }, pr = P({
1857
1857
  name: "issueTypeFieldValues",
1858
1858
  initialState: ti,
1859
1859
  extraReducers: (t) => t.addMatcher(
@@ -1881,7 +1881,7 @@ const m = (
1881
1881
  updateIssueTypeFieldValuesMany: hy,
1882
1882
  deleteIssueTypeFieldValues: py,
1883
1883
  deleteIssueTypeFieldValuesMany: my
1884
- } = mr.actions, yy = (t) => t.issueTypeFieldValuesReducer.instances, cs = p([yy], (t) => Object.values(t)), Ag = m(
1884
+ } = pr.actions, yy = (t) => t.issueTypeFieldValuesReducer.instances, cs = p([yy], (t) => Object.values(t)), Ag = m(
1885
1885
  p([cs, (t, s) => s], (t, s) => f(t.filter((e) => e.issue === s)))
1886
1886
  ), fy = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t], Sy = m(
1887
1887
  p(
@@ -1891,9 +1891,9 @@ const m = (
1891
1891
  return f(t.filter(({ uuid: i }) => e.has(i)));
1892
1892
  }
1893
1893
  )
1894
- ), Ay = mr.reducer, Me = _((t) => t.uuid), si = {
1894
+ ), Ay = pr.reducer, Me = _((t) => t.uuid), si = {
1895
1895
  instances: {}
1896
- }, yr = P({
1896
+ }, mr = P({
1897
1897
  name: "issueTypeFields",
1898
1898
  initialState: si,
1899
1899
  extraReducers: (t) => t.addMatcher(
@@ -1921,7 +1921,7 @@ const m = (
1921
1921
  updateIssueTypeFieldsMany: My,
1922
1922
  deleteIssueTypeFields: gy,
1923
1923
  deleteIssueTypeFieldsMany: wy
1924
- } = yr.actions, Fy = (t) => t.issueTypeFieldsReducer.instances, zt = p([Fy], (t) => Object.values(t)), Og = m(
1924
+ } = mr.actions, Fy = (t) => t.issueTypeFieldsReducer.instances, zt = p([Fy], (t) => Object.values(t)), Og = m(
1925
1925
  p([zt, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
1926
1926
  ), Tg = m(
1927
1927
  p([zt, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
@@ -1940,9 +1940,9 @@ const m = (
1940
1940
  const e = new Set(s);
1941
1941
  return f(t.filter(({ uuid: i }) => e.has(i)));
1942
1942
  })
1943
- ), vy = yr.reducer, ge = _((t) => t.uuid), ii = {
1943
+ ), vy = mr.reducer, ge = _((t) => t.uuid), ii = {
1944
1944
  instances: {}
1945
- }, fr = P({
1945
+ }, yr = P({
1946
1946
  name: "issueTypeFieldValuesAttachments",
1947
1947
  initialState: ii,
1948
1948
  extraReducers: (t) => t.addMatcher(
@@ -1963,19 +1963,19 @@ const m = (
1963
1963
  }), {
1964
1964
  initializeIssueTypeFieldValuesAttachments: ky,
1965
1965
  addIssueTypeFieldValuesAttachment: By,
1966
- addIssueTypeFieldValuesAttachments: Sr,
1966
+ addIssueTypeFieldValuesAttachments: fr,
1967
1967
  setIssueTypeFieldValuesAttachment: zy,
1968
1968
  setIssueTypeFieldValuesAttachments: Dy,
1969
1969
  updateIssueTypeFieldValuesAttachment: qy,
1970
1970
  updateIssueTypeFieldValuesAttachments: jy,
1971
1971
  deleteIssueTypeFieldValuesAttachment: $y,
1972
- deleteIssueTypeFieldValuesAttachments: Ar
1973
- } = fr.actions, Vy = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Or = p(
1972
+ deleteIssueTypeFieldValuesAttachments: Sr
1973
+ } = yr.actions, Vy = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Ar = p(
1974
1974
  [Vy],
1975
1975
  (t) => Object.values(t)
1976
1976
  ), xy = (t) => (s) => s.issueTypeFieldValuesAttachmentReducer.instances[t], Cy = m(
1977
1977
  p(
1978
- [Or, (t, s) => s],
1978
+ [Ar, (t, s) => s],
1979
1979
  (t, s) => {
1980
1980
  const e = new Set(s);
1981
1981
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -1983,12 +1983,12 @@ const m = (
1983
1983
  )
1984
1984
  ), Uy = m(
1985
1985
  p(
1986
- [Or, (t, s) => s],
1986
+ [Ar, (t, s) => s],
1987
1987
  (t, s) => f(t.filter((e) => e.field_values === s))
1988
1988
  )
1989
- ), Ly = fr.reducer, we = _((t) => t.uuid), ni = {
1989
+ ), Ly = yr.reducer, we = _((t) => t.uuid), ni = {
1990
1990
  instances: {}
1991
- }, Tr = P({
1991
+ }, Or = P({
1992
1992
  name: "issueTypeIdentifiers",
1993
1993
  initialState: ni,
1994
1994
  extraReducers: (t) => t.addMatcher(
@@ -2016,22 +2016,22 @@ const m = (
2016
2016
  updateIssueTypeIdentifiers: Jy,
2017
2017
  deleteIssueTypeIdentifier: Zy,
2018
2018
  deleteIssueTypeIdentifiers: Xy
2019
- } = Tr.actions, Qy = (t) => t.issueTypeIdentifierReducer.instances, Ir = p(
2019
+ } = Or.actions, Qy = (t) => t.issueTypeIdentifierReducer.instances, Tr = p(
2020
2020
  [Qy],
2021
2021
  (t) => Object.values(t)
2022
2022
  ), ef = (t) => (s) => s.issueTypeIdentifierReducer.instances[t], tf = m(
2023
2023
  p(
2024
- [Ir, (t, s) => s],
2024
+ [Tr, (t, s) => s],
2025
2025
  (t, s) => {
2026
2026
  const e = new Set(s);
2027
2027
  return f(t.filter(({ uuid: i }) => e.has(i)));
2028
2028
  }
2029
2029
  )
2030
2030
  ), Pg = m(
2031
- p([Ir, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2032
- ), sf = Tr.reducer, Fe = _((t) => t.uuid), ri = {
2031
+ p([Tr, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2032
+ ), sf = Or.reducer, Fe = _((t) => t.uuid), ri = {
2033
2033
  instances: {}
2034
- }, Pr = P({
2034
+ }, Ir = P({
2035
2035
  name: "issueTypeIdentifierValues",
2036
2036
  initialState: ri,
2037
2037
  extraReducers: (t) => t.addMatcher(
@@ -2059,7 +2059,7 @@ const m = (
2059
2059
  updateIssueTypeIdentifierValues: uf,
2060
2060
  deleteIssueTypeIdentifierValue: lf,
2061
2061
  deleteIssueTypeIdentifierValues: hf
2062
- } = Pr.actions, pf = (t) => t.issueTypeIdentifierValueReducer.instances, ds = p(
2062
+ } = Ir.actions, pf = (t) => t.issueTypeIdentifierValueReducer.instances, ds = p(
2063
2063
  [pf],
2064
2064
  (t) => Object.values(t)
2065
2065
  ), mf = (t) => (s) => s.issueTypeIdentifierValueReducer.instances[t], yf = m(
@@ -2079,9 +2079,9 @@ const m = (
2079
2079
  t.filter((e) => e.issue_type_identifier === s)
2080
2080
  )
2081
2081
  )
2082
- ), ff = Pr.reducer, Re = _((t) => t.uuid), ai = {
2082
+ ), ff = Ir.reducer, Re = _((t) => t.uuid), ai = {
2083
2083
  instances: {}
2084
- }, br = P({
2084
+ }, Pr = P({
2085
2085
  name: "issueTypePriorities",
2086
2086
  initialState: ai,
2087
2087
  extraReducers: (t) => t.addMatcher(
@@ -2109,24 +2109,24 @@ const m = (
2109
2109
  updateIssueTypePriorities: bf,
2110
2110
  deleteIssueTypePriority: _f,
2111
2111
  deleteIssueTypePriorities: Mf
2112
- } = br.actions, gf = (t) => t.issueTypePriorityReducer.instances, _r = p(
2112
+ } = Pr.actions, gf = (t) => t.issueTypePriorityReducer.instances, br = p(
2113
2113
  [gf],
2114
2114
  (t) => f(Object.values(t).toSorted(vc))
2115
- ), Mr = (t) => (s) => s.issueTypePriorityReducer.instances[t], wf = m(
2115
+ ), _r = (t) => (s) => s.issueTypePriorityReducer.instances[t], wf = m(
2116
2116
  p(
2117
- [_r, (t, s) => s],
2117
+ [br, (t, s) => s],
2118
2118
  (t, s) => {
2119
2119
  const e = new Set(s);
2120
2120
  return f(t.filter(({ uuid: i }) => e.has(i)));
2121
2121
  }
2122
2122
  )
2123
2123
  ), Mg = m(
2124
- p([_r, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2125
- ), Ff = br.reducer, Ee = _(
2124
+ p([br, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2125
+ ), Ff = Pr.reducer, Ee = _(
2126
2126
  (t) => t.uuid
2127
2127
  ), ci = {
2128
2128
  instances: {}
2129
- }, gr = P({
2129
+ }, Mr = P({
2130
2130
  name: "issueTypes",
2131
2131
  initialState: ci,
2132
2132
  extraReducers: (t) => t.addMatcher(
@@ -2154,19 +2154,19 @@ const m = (
2154
2154
  updateIssueTypes: Df,
2155
2155
  deleteIssueType: qf,
2156
2156
  deleteIssueTypes: jf
2157
- } = gr.actions, $f = (t) => t.issueTypeReducer.instances, wr = p(
2157
+ } = Mr.actions, $f = (t) => t.issueTypeReducer.instances, gr = p(
2158
2158
  $f,
2159
2159
  (t) => Object.values(t)
2160
2160
  ), Vf = (t) => (s) => s.issueTypeReducer.instances[t], xf = m(
2161
- p([wr, (t, s) => s], (t, s) => {
2161
+ p([gr, (t, s) => s], (t, s) => {
2162
2162
  const e = new Set(s);
2163
2163
  return f(t.filter(({ uuid: i }) => e.has(i)));
2164
2164
  })
2165
2165
  ), gg = m(
2166
- p([wr, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
2167
- ), Cf = gr.reducer, ve = _((t) => t.uuid), di = {
2166
+ p([gr, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
2167
+ ), Cf = Mr.reducer, ve = _((t) => t.uuid), di = {
2168
2168
  instances: {}
2169
- }, Fr = P({
2169
+ }, wr = P({
2170
2170
  name: "issueTypeStatuses",
2171
2171
  initialState: di,
2172
2172
  extraReducers: (t) => t.addMatcher(
@@ -2194,18 +2194,18 @@ const m = (
2194
2194
  updateIssueTypeStatuses: Kf,
2195
2195
  deleteIssueTypeStatus: Yf,
2196
2196
  deleteIssueTypeStatuses: Jf
2197
- } = Fr.actions, Zf = (t) => t.issueTypeStatusReducer.instances, Rr = p([Zf], (t) => f(Object.values(t).toSorted(Ec))), Er = (t) => (s) => s.issueTypeStatusReducer.instances[t], Xf = m(
2198
- p([Rr, (t, s) => s], (t, s) => {
2197
+ } = wr.actions, Zf = (t) => t.issueTypeStatusReducer.instances, Fr = p([Zf], (t) => f(Object.values(t).toSorted(Ec))), Rr = (t) => (s) => s.issueTypeStatusReducer.instances[t], Xf = m(
2198
+ p([Fr, (t, s) => s], (t, s) => {
2199
2199
  const e = new Set(s);
2200
2200
  return f(t.filter(({ uuid: i }) => e.has(i)));
2201
2201
  })
2202
2202
  ), wg = m(
2203
- p([Rr, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2204
- ), Qf = Fr.reducer, ke = _(
2203
+ p([Fr, (t, s) => s], (t, s) => f(t.filter((e) => e.issue_type === s)))
2204
+ ), Qf = wr.reducer, ke = _(
2205
2205
  (t) => t.uuid
2206
2206
  ), oi = {
2207
2207
  instances: {}
2208
- }, vr = P({
2208
+ }, Er = P({
2209
2209
  name: "issueUpdates",
2210
2210
  initialState: oi,
2211
2211
  extraReducers: (t) => t.addMatcher(
@@ -2225,36 +2225,36 @@ const m = (
2225
2225
  }
2226
2226
  }), {
2227
2227
  initializeIssueUpdates: eS,
2228
- addIssueUpdate: kr,
2229
- addIssueUpdates: Br,
2228
+ addIssueUpdate: vr,
2229
+ addIssueUpdates: kr,
2230
2230
  setIssueUpdate: tS,
2231
2231
  setIssueUpdates: sS,
2232
2232
  updateIssueUpdate: iS,
2233
2233
  updateIssueUpdates: nS,
2234
- deleteIssueUpdate: zr,
2235
- deleteIssueUpdates: Dr
2236
- } = vr.actions, qr = (t) => t.issueUpdateReducer.instances, jr = p(
2237
- [qr],
2234
+ deleteIssueUpdate: Br,
2235
+ deleteIssueUpdates: zr
2236
+ } = Er.actions, Dr = (t) => t.issueUpdateReducer.instances, qr = p(
2237
+ [Dr],
2238
2238
  (t) => Object.values(t)
2239
2239
  ), rS = m(
2240
2240
  p(
2241
- [qr, (t, s) => s],
2241
+ [Dr, (t, s) => s],
2242
2242
  (t, s) => t[s]
2243
2243
  )
2244
2244
  ), aS = m(
2245
2245
  p(
2246
- [jr, (t, s) => s],
2246
+ [qr, (t, s) => s],
2247
2247
  (t, s) => {
2248
2248
  const e = new Set(s);
2249
2249
  return f(t.filter(({ uuid: i }) => e.has(i)));
2250
2250
  }
2251
2251
  )
2252
2252
  ), cS = m(
2253
- p([jr, (t, s) => s], (t, s) => f(t.filter((e) => e.issue === s)))
2254
- ), dS = vr.reducer, Be = _((t) => t.id), ui = {
2253
+ p([qr, (t, s) => s], (t, s) => f(t.filter((e) => e.issue === s)))
2254
+ ), dS = Er.reducer, Be = _((t) => t.id), ui = {
2255
2255
  instances: {},
2256
2256
  currentUser: null
2257
- }, $r = P({
2257
+ }, jr = P({
2258
2258
  name: "users",
2259
2259
  initialState: ui,
2260
2260
  extraReducers: (t) => t.addCase(T, (s) => Object.assign(s, ui)).addCase(g, (s) => Object.assign(s, { ...s, instances: [] })),
@@ -2285,21 +2285,21 @@ const m = (
2285
2285
  setUsers: uS,
2286
2286
  setUser: lS,
2287
2287
  addUsers: hS,
2288
- addUser: Vr,
2288
+ addUser: $r,
2289
2289
  updateUsers: pS,
2290
2290
  updateUser: mS,
2291
- deleteUser: xr,
2291
+ deleteUser: Vr,
2292
2292
  deleteUsers: yS,
2293
2293
  setCurrentUser: Fg,
2294
2294
  setCurrentUserProfile: Rg
2295
- } = $r.actions, fS = $r.reducer, SS = (t) => t.userReducer.currentUser, Cr = (t) => t.userReducer.instances, os = p([Cr], (t) => Object.values(t)), us = (t) => (s) => s.userReducer.instances[t], AS = m(
2295
+ } = jr.actions, fS = jr.reducer, SS = (t) => t.userReducer.currentUser, xr = (t) => t.userReducer.instances, os = p([xr], (t) => Object.values(t)), us = (t) => (s) => s.userReducer.instances[t], AS = m(
2296
2296
  p([os, (t, s) => s], (t, s) => {
2297
2297
  const e = new Set(s);
2298
2298
  return f(t.filter(({ id: i }) => e.has(i)));
2299
2299
  })
2300
2300
  ), ze = _((t) => t.uuid), li = {
2301
2301
  instances: {}
2302
- }, Ur = P({
2302
+ }, Cr = P({
2303
2303
  name: "organizationAccess",
2304
2304
  initialState: li,
2305
2305
  extraReducers: (t) => t.addMatcher(
@@ -2327,7 +2327,7 @@ const m = (
2327
2327
  updateOrganizationAccesses: MS,
2328
2328
  deleteOrganizationAccess: gS,
2329
2329
  deleteOrganizationAccesses: wS
2330
- } = Ur.actions, FS = Ur.reducer, ls = (t) => t.organizationAccessReducer.instances, RS = (t) => (s) => s.organizationAccessReducer.instances[t], ES = m(
2330
+ } = Cr.actions, FS = Cr.reducer, ls = (t) => t.organizationAccessReducer.instances, RS = (t) => (s) => s.organizationAccessReducer.instances[t], ES = m(
2331
2331
  p(
2332
2332
  [ls, (t, s) => s],
2333
2333
  (t, s) => {
@@ -2347,7 +2347,7 @@ const m = (
2347
2347
  return Gi(s);
2348
2348
  }), vg = m(
2349
2349
  p(
2350
- [Cr, vS, (t, s) => s],
2350
+ [xr, vS, (t, s) => s],
2351
2351
  (t, s, e) => f(
2352
2352
  Object.values(t).filter((i) => {
2353
2353
  const n = s[i.id];
@@ -2357,7 +2357,7 @@ const m = (
2357
2357
  )
2358
2358
  ), De = _((t) => t.uuid), hi = {
2359
2359
  instances: {}
2360
- }, Lr = P({
2360
+ }, Ur = P({
2361
2361
  name: "organizations",
2362
2362
  initialState: hi,
2363
2363
  extraReducers: (t) => t.addMatcher(M(T), (s) => Object.assign(s, hi)),
@@ -2382,12 +2382,12 @@ const m = (
2382
2382
  updateOrganization: $S,
2383
2383
  deleteOrganization: VS,
2384
2384
  deleteOrganizations: xS
2385
- } = Lr.actions, CS = (t) => t.organizationReducer.instances, US = p([CS], (t) => Object.values(t)), LS = (t) => (s) => s.organizationReducer.instances[t], NS = m(
2385
+ } = Ur.actions, CS = (t) => t.organizationReducer.instances, US = p([CS], (t) => Object.values(t)), LS = (t) => (s) => s.organizationReducer.instances[t], NS = m(
2386
2386
  p([US, (t, s) => s], (t, s) => {
2387
2387
  const e = new Set(s);
2388
2388
  return f(t.filter(({ uuid: i }) => e.has(i)));
2389
2389
  })
2390
- ), HS = Lr.reducer, GS = (t, s, e) => {
2390
+ ), HS = Ur.reducer, GS = (t, s, e) => {
2391
2391
  const i = t.uuid ? t : { ...t, uuid: ot() };
2392
2392
  return {
2393
2393
  payload: i,
@@ -2406,7 +2406,7 @@ const m = (
2406
2406
  }, pi = {
2407
2407
  deletedRequests: [],
2408
2408
  latestRetryTime: 0
2409
- }, Nr = P({
2409
+ }, Lr = P({
2410
2410
  name: "outbox",
2411
2411
  initialState: pi,
2412
2412
  extraReducers: (t) => t.addCase(T, (s) => Object.assign(s, pi)),
@@ -2433,11 +2433,11 @@ const m = (
2433
2433
  t.latestRetryTime = s.payload;
2434
2434
  }
2435
2435
  }
2436
- }), kg = (t) => t.outboxReducer.deletedRequests, Bg = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: WS, markForDeletion: zg, markAsDeleted: KS, _setLatestRetryTime: YS } = Nr.actions, JS = Nr.reducer, qe = _(
2436
+ }), kg = (t) => t.outboxReducer.deletedRequests, Bg = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: WS, markForDeletion: zg, markAsDeleted: KS, _setLatestRetryTime: YS } = Lr.actions, JS = Lr.reducer, qe = _(
2437
2437
  (t) => t.uuid
2438
2438
  ), mi = {
2439
2439
  instances: {}
2440
- }, Hr = P({
2440
+ }, Nr = P({
2441
2441
  name: "projectAccess",
2442
2442
  initialState: mi,
2443
2443
  extraReducers: (t) => t.addMatcher(
@@ -2465,8 +2465,8 @@ const m = (
2465
2465
  updateProjectAccesses: iA,
2466
2466
  deleteProjectAccess: nA,
2467
2467
  deleteProjectAccesses: rA
2468
- } = Hr.actions, aA = Hr.reducer, Gr = (t) => t.projectAccessReducer.instances, Dt = p(
2469
- Gr,
2468
+ } = Nr.actions, aA = Nr.reducer, Hr = (t) => t.projectAccessReducer.instances, Dt = p(
2469
+ Hr,
2470
2470
  (t) => Object.values(t)
2471
2471
  ), cA = (t) => (s) => s.projectAccessReducer.instances[t], dA = m(
2472
2472
  p([Dt, (t, s) => s], (t, s) => {
@@ -2475,7 +2475,7 @@ const m = (
2475
2475
  })
2476
2476
  ), Dg = m(
2477
2477
  p(
2478
- [Gr, (t, s) => s],
2478
+ [Hr, (t, s) => s],
2479
2479
  (t, s) => f(
2480
2480
  Object.values(t).filter((e) => e.project === s)
2481
2481
  )
@@ -2497,7 +2497,7 @@ const m = (
2497
2497
  )
2498
2498
  ), je = _((t) => t.uuid), yi = {
2499
2499
  instances: {}
2500
- }, Wr = P({
2500
+ }, Gr = P({
2501
2501
  name: "projectAttachments",
2502
2502
  initialState: yi,
2503
2503
  extraReducers: (t) => t.addMatcher(
@@ -2525,21 +2525,21 @@ const m = (
2525
2525
  updateProjectAttachments: yA,
2526
2526
  deleteProjectAttachment: fA,
2527
2527
  deleteProjectAttachments: SA
2528
- } = Wr.actions, AA = (t) => t.projectAttachmentReducer.instances, Kr = p(
2528
+ } = Gr.actions, AA = (t) => t.projectAttachmentReducer.instances, Wr = p(
2529
2529
  [AA],
2530
2530
  (t) => Object.values(t)
2531
2531
  ), OA = (t) => (s) => s.projectAttachmentReducer.instances[t], TA = m(
2532
- p([Kr, (t, s) => s], (t, s) => {
2532
+ p([Wr, (t, s) => s], (t, s) => {
2533
2533
  const e = new Set(s);
2534
2534
  return f(t.filter(({ uuid: i }) => e.has(i)));
2535
2535
  })
2536
2536
  ), $g = m(
2537
- p([Kr, (t, s) => s], (t, s) => f(t.filter(({ project: e }) => s === e)))
2538
- ), IA = Wr.reducer, $e = _(
2537
+ p([Wr, (t, s) => s], (t, s) => f(t.filter(({ project: e }) => s === e)))
2538
+ ), IA = Gr.reducer, $e = _(
2539
2539
  (t) => t.uuid
2540
2540
  ), fi = {
2541
2541
  instances: {}
2542
- }, Yr = P({
2542
+ }, Kr = P({
2543
2543
  name: "projectComments",
2544
2544
  initialState: fi,
2545
2545
  extraReducers: (t) => t.addMatcher(
@@ -2567,7 +2567,7 @@ const m = (
2567
2567
  updateProjectComments: FA,
2568
2568
  deleteProjectComment: RA,
2569
2569
  deleteProjectComments: EA
2570
- } = Yr.actions, vA = (t) => t.projectCommentReducer.instances, hs = p(
2570
+ } = Kr.actions, vA = (t) => t.projectCommentReducer.instances, hs = p(
2571
2571
  [vA],
2572
2572
  (t) => f(Object.values(t).toSorted(Rt))
2573
2573
  ), kA = (t) => (s) => s.projectCommentReducer.instances[t], BA = m(
@@ -2582,11 +2582,11 @@ const m = (
2582
2582
  const e = new Set(s);
2583
2583
  return f(t.filter((i) => e.has(i.project)));
2584
2584
  })
2585
- ), zA = Yr.reducer, Ve = _(
2585
+ ), zA = Kr.reducer, Ve = _(
2586
2586
  (t) => t.uuid
2587
2587
  ), Si = {
2588
2588
  instances: {}
2589
- }, Jr = P({
2589
+ }, Yr = P({
2590
2590
  name: "projectFiles",
2591
2591
  initialState: Si,
2592
2592
  extraReducers: (t) => t.addMatcher(
@@ -2614,14 +2614,14 @@ const m = (
2614
2614
  updateProjectFiles: CA,
2615
2615
  deleteProjectFile: UA,
2616
2616
  deleteProjectFiles: LA
2617
- } = Jr.actions, NA = (t) => t.projectFileReducer.instances, HA = p([NA], (t) => f(Object.values(t).toSorted((s, e) => s.z_index - e.z_index))), GA = (t) => (s) => s.projectFileReducer.instances[t], WA = m(
2617
+ } = Yr.actions, NA = (t) => t.projectFileReducer.instances, HA = p([NA], (t) => f(Object.values(t).toSorted((s, e) => s.z_index - e.z_index))), GA = (t) => (s) => s.projectFileReducer.instances[t], WA = m(
2618
2618
  p([HA, (t, s) => s], (t, s) => {
2619
2619
  const e = new Set(s);
2620
2620
  return f(t.filter(({ uuid: i }) => e.has(i)));
2621
2621
  })
2622
- ), KA = Jr.reducer, xe = _((t) => t.uuid), Ai = {
2622
+ ), KA = Yr.reducer, xe = _((t) => t.uuid), Ai = {
2623
2623
  instances: {}
2624
- }, Zr = P({
2624
+ }, Jr = P({
2625
2625
  name: "projects",
2626
2626
  initialState: Ai,
2627
2627
  extraReducers: (t) => t.addMatcher(
@@ -2649,7 +2649,7 @@ const m = (
2649
2649
  updateProject: tO,
2650
2650
  deleteProject: sO,
2651
2651
  deleteProjects: iO
2652
- } = Zr.actions, nO = Zr.reducer, rO = (t) => t.projectReducer.instances, ps = p([rO], (t) => Object.values(t)), aO = (t) => (s) => s.projectReducer.instances[t], cO = m(
2652
+ } = Jr.actions, nO = Jr.reducer, rO = (t) => t.projectReducer.instances, ps = p([rO], (t) => Object.values(t)), aO = (t) => (s) => s.projectReducer.instances[t], cO = m(
2653
2653
  p([ps, (t, s) => s], (t, s) => {
2654
2654
  const e = new Set(s);
2655
2655
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -2663,7 +2663,7 @@ const m = (
2663
2663
  p([ps, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
2664
2664
  ), Ce = _(({ uuid: t }) => t), Oi = {
2665
2665
  instances: {}
2666
- }, Xr = P({
2666
+ }, Zr = P({
2667
2667
  name: "procedureInitiatives",
2668
2668
  initialState: Oi,
2669
2669
  extraReducers: (t) => t.addMatcher(
@@ -2691,7 +2691,7 @@ const m = (
2691
2691
  updateProcedureInitiatives: mO,
2692
2692
  deleteProcedureInitiative: yO,
2693
2693
  deleteProcedureInitiatives: fO
2694
- } = Xr.actions, SO = Xr.reducer, AO = (t) => t.procedureInitiativeReducer.instances, ms = p(
2694
+ } = Zr.actions, SO = Zr.reducer, AO = (t) => t.procedureInitiativeReducer.instances, ms = p(
2695
2695
  [AO],
2696
2696
  (t) => Object.values(t)
2697
2697
  ), OO = (t) => (s) => s.procedureInitiativeReducer.instances[t], TO = m(
@@ -2708,7 +2708,7 @@ const m = (
2708
2708
  p([ms, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure_type === s)))
2709
2709
  ), Ue = _(({ uuid: t }) => t), Ti = {
2710
2710
  instances: {}
2711
- }, Qr = P({
2711
+ }, Xr = P({
2712
2712
  name: "procedures",
2713
2713
  initialState: Ti,
2714
2714
  extraReducers: (t) => t.addMatcher(
@@ -2736,7 +2736,7 @@ const m = (
2736
2736
  updateProcedures: gO,
2737
2737
  deleteProcedure: wO,
2738
2738
  deleteProcedures: wt
2739
- } = Qr.actions, FO = Qr.reducer, RO = (t) => t.procedureReducer.instances, St = p(
2739
+ } = Xr.actions, FO = Xr.reducer, RO = (t) => t.procedureReducer.instances, St = p(
2740
2740
  [RO],
2741
2741
  (t) => Object.values(t)
2742
2742
  ), EO = (t) => (s) => s.procedureReducer.instances[t], vO = m(
@@ -2759,7 +2759,7 @@ const m = (
2759
2759
  p([St, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure_initiative === s)))
2760
2760
  ), Le = _((t) => t.uuid), Ii = {
2761
2761
  instances: {}
2762
- }, ea = P({
2762
+ }, Qr = P({
2763
2763
  name: "procedureStepAssignees",
2764
2764
  initialState: Ii,
2765
2765
  extraReducers: (t) => t.addMatcher(
@@ -2787,7 +2787,7 @@ const m = (
2787
2787
  updateProcedureStepAssignees: UO,
2788
2788
  deleteProcedureStepAssignee: LO,
2789
2789
  deleteProcedureStepAssignees: NO
2790
- } = ea.actions, HO = (t) => t.procedureStepAssigneeReducer.instances, qt = p([HO], (t) => Object.values(t)), GO = (t) => (s) => s.procedureStepAssigneeReducer.instances[t], WO = m(
2790
+ } = Qr.actions, HO = (t) => t.procedureStepAssigneeReducer.instances, qt = p([HO], (t) => Object.values(t)), GO = (t) => (s) => s.procedureStepAssigneeReducer.instances[t], WO = m(
2791
2791
  p(
2792
2792
  [qt, (t, s) => s],
2793
2793
  (t, s) => {
@@ -2812,9 +2812,9 @@ const m = (
2812
2812
  )
2813
2813
  )
2814
2814
  )
2815
- ), KO = ea.reducer, Ne = _((t) => t.uuid), Pi = {
2815
+ ), KO = Qr.reducer, Ne = _((t) => t.uuid), Pi = {
2816
2816
  instances: {}
2817
- }, ta = P({
2817
+ }, ea = P({
2818
2818
  name: "procedureStepComments",
2819
2819
  initialState: Pi,
2820
2820
  extraReducers: (t) => t.addMatcher(
@@ -2842,7 +2842,7 @@ const m = (
2842
2842
  updateProcedureStepComments: tT,
2843
2843
  deleteProcedureStepComment: sT,
2844
2844
  deleteProcedureStepComments: iT
2845
- } = ta.actions, nT = (t) => t.procedureStepCommentReducer.instances, jt = p([nT], (t) => Object.values(t)), rT = (t) => (s) => s.procedureStepCommentReducer.instances[t], aT = m(
2845
+ } = ea.actions, nT = (t) => t.procedureStepCommentReducer.instances, jt = p([nT], (t) => Object.values(t)), rT = (t) => (s) => s.procedureStepCommentReducer.instances[t], aT = m(
2846
2846
  p(
2847
2847
  [jt, (t, s) => s],
2848
2848
  (t, s) => {
@@ -2867,9 +2867,9 @@ const m = (
2867
2867
  )
2868
2868
  )
2869
2869
  )
2870
- ), cT = ta.reducer, He = _((t) => t.uuid), bi = {
2870
+ ), cT = ea.reducer, He = _((t) => t.uuid), bi = {
2871
2871
  instances: {}
2872
- }, sa = P({
2872
+ }, ta = P({
2873
2873
  name: "procedureStepDefaultAssignees",
2874
2874
  initialState: bi,
2875
2875
  extraReducers: (t) => t.addMatcher(
@@ -2897,12 +2897,12 @@ const m = (
2897
2897
  updateProcedureStepDefaultAssignees: mT,
2898
2898
  deleteProcedureStepDefaultAssignee: yT,
2899
2899
  deleteProcedureStepDefaultAssignees: fT
2900
- } = sa.actions, ST = (t) => t.procedureStepDefaultAssigneeReducer.instances, ia = p(
2900
+ } = ta.actions, ST = (t) => t.procedureStepDefaultAssigneeReducer.instances, sa = p(
2901
2901
  [ST],
2902
2902
  (t) => Object.values(t)
2903
2903
  ), AT = (t) => (s) => s.procedureStepDefaultAssigneeReducer.instances[t], OT = m(
2904
2904
  p(
2905
- [ia, (t, s) => s],
2905
+ [sa, (t, s) => s],
2906
2906
  (t, s) => {
2907
2907
  const e = new Set(s);
2908
2908
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -2910,12 +2910,12 @@ const m = (
2910
2910
  )
2911
2911
  ), Xg = m(
2912
2912
  p(
2913
- [ia, (t, s) => s],
2913
+ [sa, (t, s) => s],
2914
2914
  (t, s) => f(t.filter((e) => e.procedure_step === s))
2915
2915
  )
2916
- ), TT = sa.reducer, Ge = _((t) => t.uuid), _i = {
2916
+ ), TT = ta.reducer, Ge = _((t) => t.uuid), _i = {
2917
2917
  instances: {}
2918
- }, na = P({
2918
+ }, ia = P({
2919
2919
  name: "procedureStepDefaultReviewers",
2920
2920
  initialState: _i,
2921
2921
  extraReducers: (t) => t.addMatcher(
@@ -2943,12 +2943,12 @@ const m = (
2943
2943
  updateProcedureStepDefaultReviewers: wT,
2944
2944
  deleteProcedureStepDefaultReviewer: FT,
2945
2945
  deleteProcedureStepDefaultReviewers: RT
2946
- } = na.actions, ET = (t) => t.procedureStepDefaultReviewerReducer.instances, ra = p(
2946
+ } = ia.actions, ET = (t) => t.procedureStepDefaultReviewerReducer.instances, na = p(
2947
2947
  [ET],
2948
2948
  (t) => Object.values(t)
2949
2949
  ), vT = (t) => (s) => s.procedureStepDefaultReviewerReducer.instances[t], kT = m(
2950
2950
  p(
2951
- [ra, (t, s) => s],
2951
+ [na, (t, s) => s],
2952
2952
  (t, s) => {
2953
2953
  const e = new Set(s);
2954
2954
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -2956,12 +2956,12 @@ const m = (
2956
2956
  )
2957
2957
  ), Qg = m(
2958
2958
  p(
2959
- [ra, (t, s) => s],
2959
+ [na, (t, s) => s],
2960
2960
  (t, s) => f(t.filter((e) => e.procedure_step === s))
2961
2961
  )
2962
- ), BT = na.reducer, We = _((t) => t.uuid), Mi = {
2962
+ ), BT = ia.reducer, We = _((t) => t.uuid), Mi = {
2963
2963
  instances: {}
2964
- }, aa = P({
2964
+ }, ra = P({
2965
2965
  name: "procedureStepEvents",
2966
2966
  initialState: Mi,
2967
2967
  extraReducers: (t) => t.addMatcher(
@@ -2989,7 +2989,7 @@ const m = (
2989
2989
  updateProcedureStepEvents: xT,
2990
2990
  deleteProcedureStepEvent: CT,
2991
2991
  deleteProcedureStepEvents: UT
2992
- } = aa.actions, LT = (t) => t.procedureStepEventReducer.instances, $t = p([LT], (t) => Object.values(t)), NT = (t) => (s) => s.procedureStepEventReducer.instances[t], HT = m(
2992
+ } = ra.actions, LT = (t) => t.procedureStepEventReducer.instances, $t = p([LT], (t) => Object.values(t)), NT = (t) => (s) => s.procedureStepEventReducer.instances[t], HT = m(
2993
2993
  p(
2994
2994
  [$t, (t, s) => s],
2995
2995
  (t, s) => {
@@ -3014,9 +3014,9 @@ const m = (
3014
3014
  )
3015
3015
  )
3016
3016
  )
3017
- ), GT = aa.reducer, Ke = _((t) => t.uuid), gi = {
3017
+ ), GT = ra.reducer, Ke = _((t) => t.uuid), gi = {
3018
3018
  instances: {}
3019
- }, ca = P({
3019
+ }, aa = P({
3020
3020
  name: "procedureStepFieldsAttachments",
3021
3021
  initialState: gi,
3022
3022
  extraReducers: (t) => t.addMatcher(
@@ -3037,32 +3037,32 @@ const m = (
3037
3037
  }), {
3038
3038
  initializeProcedureStepFieldsAttachments: WT,
3039
3039
  addProcedureStepFieldsAttachment: KT,
3040
- addProcedureStepFieldsAttachments: da,
3040
+ addProcedureStepFieldsAttachments: ca,
3041
3041
  setProcedureStepFieldsAttachment: YT,
3042
3042
  setProcedureStepFieldsAttachments: JT,
3043
3043
  updateProcedureStepFieldsAttachment: ZT,
3044
3044
  updateProcedureStepFieldsAttachments: XT,
3045
3045
  deleteProcedureStepFieldsAttachment: QT,
3046
- deleteProcedureStepFieldsAttachments: oa
3047
- } = ca.actions, eI = (t) => t.procedureStepFieldsAttachmentReducer.instances, ua = p(
3046
+ deleteProcedureStepFieldsAttachments: da
3047
+ } = aa.actions, eI = (t) => t.procedureStepFieldsAttachmentReducer.instances, oa = p(
3048
3048
  [eI],
3049
3049
  (t) => Object.values(t)
3050
3050
  ), tI = m(
3051
3051
  p(
3052
- [ua, (t, s) => s],
3052
+ [oa, (t, s) => s],
3053
3053
  (t, s) => f(t.filter((e) => e.fields_revision === s))
3054
3054
  )
3055
3055
  ), sI = (t) => (s) => s.procedureStepFieldsAttachmentReducer.instances[t], iI = m(
3056
3056
  p(
3057
- [ua, (t, s) => s],
3057
+ [oa, (t, s) => s],
3058
3058
  (t, s) => {
3059
3059
  const e = new Set(s);
3060
3060
  return f(t.filter(({ uuid: i }) => e.has(i)));
3061
3061
  }
3062
3062
  )
3063
- ), nI = ca.reducer, Ye = _((t) => t.uuid), wi = {
3063
+ ), nI = aa.reducer, Ye = _((t) => t.uuid), wi = {
3064
3064
  instances: {}
3065
- }, la = P({
3065
+ }, ua = P({
3066
3066
  name: "procedureStepFields",
3067
3067
  initialState: wi,
3068
3068
  extraReducers: (t) => t.addMatcher(
@@ -3090,11 +3090,11 @@ const m = (
3090
3090
  updateProcedureStepFieldsMany: lI,
3091
3091
  deleteProcedureStepFields: hI,
3092
3092
  deleteProcedureStepFieldsMany: pI
3093
- } = la.actions, ha = (t) => t.procedureStepFieldsReducer.instances, ys = p([ha], (t) => Object.values(t)), iw = m(
3093
+ } = ua.actions, la = (t) => t.procedureStepFieldsReducer.instances, ys = p([la], (t) => Object.values(t)), iw = m(
3094
3094
  p([ys, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure_step === s)))
3095
3095
  ), nw = m(
3096
3096
  p([ys, (t, s) => s], (t, s) => t.filter((e) => e.procedure_step === s).toSorted(Rt).pop())
3097
- ), rw = p([ha], (t) => {
3097
+ ), rw = p([la], (t) => {
3098
3098
  const s = {};
3099
3099
  for (const e of Object.values(t)) {
3100
3100
  const i = s[e.procedure_step];
@@ -3109,9 +3109,9 @@ const m = (
3109
3109
  return f(t.filter(({ uuid: i }) => e.has(i)));
3110
3110
  }
3111
3111
  )
3112
- ), fI = la.reducer, Je = _((t) => t.uuid), Fi = {
3112
+ ), fI = ua.reducer, Je = _((t) => t.uuid), Fi = {
3113
3113
  instances: {}
3114
- }, pa = P({
3114
+ }, ha = P({
3115
3115
  name: "procedureStepFieldValuesAttachments",
3116
3116
  initialState: Fi,
3117
3117
  extraReducers: (t) => t.addMatcher(
@@ -3132,19 +3132,19 @@ const m = (
3132
3132
  }), {
3133
3133
  initializeProcedureStepFieldValuesAttachments: SI,
3134
3134
  addProcedureStepFieldValuesAttachment: AI,
3135
- addProcedureStepFieldValuesAttachments: ma,
3135
+ addProcedureStepFieldValuesAttachments: pa,
3136
3136
  setProcedureStepFieldValuesAttachment: OI,
3137
3137
  setProcedureStepFieldValuesAttachments: TI,
3138
3138
  updateProcedureStepFieldValuesAttachment: II,
3139
3139
  updateProcedureStepFieldValuesAttachments: PI,
3140
3140
  deleteProcedureStepFieldValuesAttachment: bI,
3141
- deleteProcedureStepFieldValuesAttachments: ya
3142
- } = pa.actions, _I = (t) => t.procedureStepFieldValuesAttachmentReducer.instances, fa = p(
3141
+ deleteProcedureStepFieldValuesAttachments: ma
3142
+ } = ha.actions, _I = (t) => t.procedureStepFieldValuesAttachmentReducer.instances, ya = p(
3143
3143
  [_I],
3144
3144
  (t) => Object.values(t)
3145
3145
  ), MI = (t) => (s) => s.procedureStepFieldValuesAttachmentReducer.instances[t], gI = m(
3146
3146
  p(
3147
- [fa, (t, s) => s],
3147
+ [ya, (t, s) => s],
3148
3148
  (t, s) => {
3149
3149
  const e = new Set(s);
3150
3150
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -3152,12 +3152,12 @@ const m = (
3152
3152
  )
3153
3153
  ), wI = m(
3154
3154
  p(
3155
- [fa, (t, s) => s],
3155
+ [ya, (t, s) => s],
3156
3156
  (t, s) => f(t.filter((e) => e.field_values === s))
3157
3157
  )
3158
- ), FI = pa.reducer, Ze = _((t) => t.uuid), Ri = {
3158
+ ), FI = ha.reducer, Ze = _((t) => t.uuid), Ri = {
3159
3159
  instances: {}
3160
- }, Sa = P({
3160
+ }, fa = P({
3161
3161
  name: "procedureStepFieldValues",
3162
3162
  initialState: Ri,
3163
3163
  extraReducers: (t) => t.addMatcher(
@@ -3185,7 +3185,7 @@ const m = (
3185
3185
  updateProcedureStepFieldValuesMany: DI,
3186
3186
  deleteProcedureStepFieldValues: qI,
3187
3187
  deleteProcedureStepFieldValuesMany: jI
3188
- } = Sa.actions, $I = Sa.reducer, VI = (t) => t.procedureStepFieldValuesReducer.instances, At = p(
3188
+ } = fa.actions, $I = fa.reducer, VI = (t) => t.procedureStepFieldValuesReducer.instances, At = p(
3189
3189
  [VI],
3190
3190
  (t) => Object.values(t)
3191
3191
  ), aw = m(
@@ -3218,7 +3218,7 @@ const m = (
3218
3218
  )
3219
3219
  ), Xe = _((t) => t.uuid), Ei = {
3220
3220
  instances: {}
3221
- }, Aa = P({
3221
+ }, Sa = P({
3222
3222
  name: "procedureStepFieldValuesReviews",
3223
3223
  initialState: Ei,
3224
3224
  extraReducers: (t) => t.addMatcher(
@@ -3239,14 +3239,14 @@ const m = (
3239
3239
  }), {
3240
3240
  initializeProcedureStepFieldValuesReviews: UI,
3241
3241
  addProcedureStepFieldValuesReview: LI,
3242
- addProcedureStepFieldValuesReviews: Oa,
3242
+ addProcedureStepFieldValuesReviews: Aa,
3243
3243
  setProcedureStepFieldValuesReview: NI,
3244
3244
  setProcedureStepFieldValuesReviews: HI,
3245
3245
  updateProcedureStepFieldValuesReview: GI,
3246
3246
  updateProcedureStepFieldValuesReviews: WI,
3247
3247
  deleteProcedureStepFieldValuesReview: KI,
3248
- deleteProcedureStepFieldValuesReviews: Ta
3249
- } = Aa.actions, YI = (t) => t.procedureStepFieldValuesReviewReducer.instances, Ot = p(
3248
+ deleteProcedureStepFieldValuesReviews: Oa
3249
+ } = Sa.actions, YI = (t) => t.procedureStepFieldValuesReviewReducer.instances, Ot = p(
3250
3250
  [YI],
3251
3251
  (t) => Object.values(t)
3252
3252
  ), JI = (t) => (s) => s.procedureStepFieldValuesReviewReducer.instances[t], ZI = m(
@@ -3322,9 +3322,9 @@ const m = (
3322
3322
  (!n || n.submitted_at <= e.submitted_at) && (s[i] = e);
3323
3323
  }
3324
3324
  return s;
3325
- }), QI = Aa.reducer, Qe = _((t) => t.uuid), vi = {
3325
+ }), QI = Sa.reducer, Qe = _((t) => t.uuid), vi = {
3326
3326
  instances: {}
3327
- }, Ia = P({
3327
+ }, Ta = P({
3328
3328
  name: "procedureStepReviewers",
3329
3329
  initialState: vi,
3330
3330
  extraReducers: (t) => t.addMatcher(
@@ -3352,7 +3352,7 @@ const m = (
3352
3352
  updateProcedureStepReviewers: aP,
3353
3353
  deleteProcedureStepReviewer: cP,
3354
3354
  deleteProcedureStepReviewers: dP
3355
- } = Ia.actions, oP = (t) => t.procedureStepReviewerReducer.instances, Vt = p([oP], (t) => Object.values(t)), uP = (t) => (s) => s.procedureStepReviewerReducer.instances[t], lP = m(
3355
+ } = Ta.actions, oP = (t) => t.procedureStepReviewerReducer.instances, Vt = p([oP], (t) => Object.values(t)), uP = (t) => (s) => s.procedureStepReviewerReducer.instances[t], lP = m(
3356
3356
  p(
3357
3357
  [Vt, (t, s) => s],
3358
3358
  (t, s) => {
@@ -3377,11 +3377,11 @@ const m = (
3377
3377
  )
3378
3378
  )
3379
3379
  )
3380
- ), hP = Ia.reducer, et = _(
3380
+ ), hP = Ta.reducer, et = _(
3381
3381
  (t) => t.uuid
3382
3382
  ), ki = {
3383
3383
  instances: {}
3384
- }, Pa = P({
3384
+ }, Ia = P({
3385
3385
  name: "procedureSteps",
3386
3386
  initialState: ki,
3387
3387
  extraReducers: (t) => t.addMatcher(
@@ -3409,9 +3409,9 @@ const m = (
3409
3409
  updateProcedureSteps: OP,
3410
3410
  deleteProcedureStep: TP,
3411
3411
  deleteProcedureSteps: IP
3412
- } = Pa.actions, PP = Pa.reducer, ba = (t) => t.procedureStepReducer.instances, bP = (t) => (s) => s.procedureStepReducer.instances[t], _a = p([ba], (t) => Object.values(t).toSorted((s, e) => s.order - e.order)), fw = m(
3412
+ } = Ia.actions, PP = Ia.reducer, Pa = (t) => t.procedureStepReducer.instances, bP = (t) => (s) => s.procedureStepReducer.instances[t], ba = p([Pa], (t) => Object.values(t).toSorted((s, e) => s.order - e.order)), fw = m(
3413
3413
  p(
3414
- [ba, (t, s) => s],
3414
+ [Pa, (t, s) => s],
3415
3415
  (t, s) => {
3416
3416
  const e = {};
3417
3417
  for (const [i, n] of Object.entries(t))
@@ -3420,15 +3420,15 @@ const m = (
3420
3420
  }
3421
3421
  )
3422
3422
  ), Sw = m(
3423
- p([_a, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure_type === s)))
3423
+ p([ba, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure_type === s)))
3424
3424
  ), _P = m(
3425
- p([_a, (t, s) => s], (t, s) => {
3425
+ p([ba, (t, s) => s], (t, s) => {
3426
3426
  const e = new Set(s);
3427
3427
  return f(t.filter(({ uuid: i }) => e.has(i)));
3428
3428
  })
3429
3429
  ), tt = _(({ uuid: t }) => t), Bi = {
3430
3430
  instances: {}
3431
- }, Ma = P({
3431
+ }, _a = P({
3432
3432
  name: "procedureTypeAttachments",
3433
3433
  initialState: Bi,
3434
3434
  extraReducers: (t) => t.addMatcher(
@@ -3456,12 +3456,12 @@ const m = (
3456
3456
  updateProcedureTypeAttachments: vP,
3457
3457
  deleteProcedureTypeAttachment: kP,
3458
3458
  deleteProcedureTypeAttachments: BP
3459
- } = Ma.actions, zP = Ma.reducer, DP = (t) => t.procedureTypeAttachmentReducer.instances, ga = p(
3459
+ } = _a.actions, zP = _a.reducer, DP = (t) => t.procedureTypeAttachmentReducer.instances, Ma = p(
3460
3460
  [DP],
3461
3461
  (t) => Object.values(t)
3462
3462
  ), qP = (t) => (s) => s.procedureTypeAttachmentReducer.instances[t], jP = m(
3463
3463
  p(
3464
- [ga, (t, s) => s],
3464
+ [Ma, (t, s) => s],
3465
3465
  (t, s) => {
3466
3466
  const e = new Set(s);
3467
3467
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -3469,12 +3469,12 @@ const m = (
3469
3469
  )
3470
3470
  ), Aw = m(
3471
3471
  p(
3472
- [ga, (t, s) => s],
3472
+ [Ma, (t, s) => s],
3473
3473
  (t, s) => f(t.filter(({ procedure_type: e }) => s === e))
3474
3474
  )
3475
3475
  ), st = _(({ uuid: t }) => t), zi = {
3476
3476
  instances: {}
3477
- }, wa = P({
3477
+ }, ga = P({
3478
3478
  name: "procedureTypeFieldsAttachments",
3479
3479
  initialState: zi,
3480
3480
  extraReducers: (t) => t.addMatcher(
@@ -3502,17 +3502,17 @@ const m = (
3502
3502
  updateProcedureTypeFieldsAttachments: NP,
3503
3503
  deleteProcedureTypeFieldsAttachment: HP,
3504
3504
  deleteProcedureTypeFieldsAttachments: GP
3505
- } = wa.actions, WP = wa.reducer, KP = (t) => t.procedureTypeFieldsAttachmentReducer.instances, Fa = p(
3505
+ } = ga.actions, WP = ga.reducer, KP = (t) => t.procedureTypeFieldsAttachmentReducer.instances, wa = p(
3506
3506
  [KP],
3507
3507
  (t) => Object.values(t)
3508
3508
  ), Ow = m(
3509
3509
  p(
3510
- [Fa, (t, s) => s],
3510
+ [wa, (t, s) => s],
3511
3511
  (t, s) => f(t.filter((e) => e.fields_revision === s))
3512
3512
  )
3513
3513
  ), YP = (t) => (s) => s.procedureTypeFieldsAttachmentReducer.instances[t], JP = m(
3514
3514
  p(
3515
- [Fa, (t, s) => s],
3515
+ [wa, (t, s) => s],
3516
3516
  (t, s) => {
3517
3517
  const e = new Set(s);
3518
3518
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -3520,7 +3520,7 @@ const m = (
3520
3520
  )
3521
3521
  ), it = _(({ uuid: t }) => t), Di = {
3522
3522
  instances: {}
3523
- }, Ra = P({
3523
+ }, Fa = P({
3524
3524
  name: "procedureTypeFields",
3525
3525
  initialState: Di,
3526
3526
  extraReducers: (t) => t.addMatcher(
@@ -3548,7 +3548,7 @@ const m = (
3548
3548
  updateProcedureTypeFieldsMany: ib,
3549
3549
  deleteProcedureTypeFields: nb,
3550
3550
  deleteProcedureTypeFieldsMany: rb
3551
- } = Ra.actions, ab = Ra.reducer, cb = (t) => t.procedureTypeFieldsReducer.instances, fs = p(
3551
+ } = Fa.actions, ab = Fa.reducer, cb = (t) => t.procedureTypeFieldsReducer.instances, fs = p(
3552
3552
  [cb],
3553
3553
  (t) => Object.values(t)
3554
3554
  ), Tw = m(
@@ -3565,7 +3565,7 @@ const m = (
3565
3565
  )
3566
3566
  ), nt = _(({ uuid: t }) => t), qi = {
3567
3567
  instances: {}
3568
- }, Ea = P({
3568
+ }, Ra = P({
3569
3569
  name: "procedureFieldValuesAttachments",
3570
3570
  initialState: qi,
3571
3571
  extraReducers: (t) => t.addMatcher(
@@ -3586,19 +3586,19 @@ const m = (
3586
3586
  }), {
3587
3587
  initializeProcedureFieldValuesAttachments: ub,
3588
3588
  addProcedureFieldValuesAttachment: lb,
3589
- addProcedureFieldValuesAttachments: va,
3589
+ addProcedureFieldValuesAttachments: Ea,
3590
3590
  setProcedureFieldValuesAttachment: hb,
3591
3591
  setProcedureFieldValuesAttachments: pb,
3592
3592
  updateProcedureFieldValuesAttachment: mb,
3593
3593
  updateProcedureFieldValuesAttachments: yb,
3594
3594
  deleteProcedureFieldValuesAttachment: fb,
3595
- deleteProcedureFieldValuesAttachments: ka
3596
- } = Ea.actions, Sb = Ea.reducer, Ab = (t) => t.procedureFieldValuesAttachmentReducer.instances, Ba = p(
3595
+ deleteProcedureFieldValuesAttachments: va
3596
+ } = Ra.actions, Sb = Ra.reducer, Ab = (t) => t.procedureFieldValuesAttachmentReducer.instances, ka = p(
3597
3597
  [Ab],
3598
3598
  (t) => Object.values(t)
3599
3599
  ), Ob = (t) => (s) => s.procedureFieldValuesAttachmentReducer.instances[t], Tb = m(
3600
3600
  p(
3601
- [Ba, (t, s) => s],
3601
+ [ka, (t, s) => s],
3602
3602
  (t, s) => {
3603
3603
  const e = new Set(s);
3604
3604
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -3606,12 +3606,12 @@ const m = (
3606
3606
  )
3607
3607
  ), Ib = m(
3608
3608
  p(
3609
- [Ba, (t, s) => s],
3609
+ [ka, (t, s) => s],
3610
3610
  (t, s) => f(t.filter((e) => e.field_values === s))
3611
3611
  )
3612
3612
  ), rt = _(({ uuid: t }) => t), ji = {
3613
3613
  instances: {}
3614
- }, za = P({
3614
+ }, Ba = P({
3615
3615
  name: "procedureFieldValues",
3616
3616
  initialState: ji,
3617
3617
  extraReducers: (t) => t.addMatcher(
@@ -3639,11 +3639,11 @@ const m = (
3639
3639
  updateProcedureFieldValuesMany: Fb,
3640
3640
  deleteProcedureFieldValues: Rb,
3641
3641
  deleteProcedureFieldValuesMany: Eb
3642
- } = za.actions, vb = za.reducer, kb = (t) => t.procedureFieldValuesReducer.instances, Da = p([kb], (t) => Object.values(t)), Pw = m(
3643
- p([Da, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure === s)))
3642
+ } = Ba.actions, vb = Ba.reducer, kb = (t) => t.procedureFieldValuesReducer.instances, za = p([kb], (t) => Object.values(t)), Pw = m(
3643
+ p([za, (t, s) => s], (t, s) => f(t.filter((e) => e.procedure === s)))
3644
3644
  ), Bb = (t) => (s) => s.procedureFieldValuesReducer.instances[t], zb = m(
3645
3645
  p(
3646
- [Da, (t, s) => s],
3646
+ [za, (t, s) => s],
3647
3647
  (t, s) => {
3648
3648
  const e = new Set(s);
3649
3649
  return f(t.filter(({ uuid: i }) => e.has(i)));
@@ -3653,7 +3653,7 @@ const m = (
3653
3653
  (t) => t.uuid
3654
3654
  ), $i = {
3655
3655
  instances: {}
3656
- }, qa = P({
3656
+ }, Da = P({
3657
3657
  name: "procedureTypes",
3658
3658
  initialState: $i,
3659
3659
  extraReducers: (t) => t.addMatcher(
@@ -3681,19 +3681,19 @@ const m = (
3681
3681
  updateProcedureTypes: Cb,
3682
3682
  deleteProcedureType: Ub,
3683
3683
  deleteProcedureTypes: Lb
3684
- } = qa.actions, Nb = qa.reducer, Hb = (t) => t.procedureTypeReducer.instances, ja = p(
3684
+ } = Da.actions, Nb = Da.reducer, Hb = (t) => t.procedureTypeReducer.instances, qa = p(
3685
3685
  [Hb],
3686
3686
  (t) => Object.values(t)
3687
3687
  ), Gb = (t) => (s) => s.procedureTypeReducer.instances[t], Wb = m(
3688
- p([ja, (t, s) => s], (t, s) => {
3688
+ p([qa, (t, s) => s], (t, s) => {
3689
3689
  const e = new Set(s);
3690
3690
  return f(t.filter(({ uuid: i }) => e.has(i)));
3691
3691
  })
3692
3692
  ), bw = m(
3693
- p([ja, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
3693
+ p([qa, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
3694
3694
  ), Kb = {
3695
3695
  isRehydrated: !1
3696
- }, $a = P({
3696
+ }, ja = P({
3697
3697
  name: "rehydrated",
3698
3698
  initialState: Kb,
3699
3699
  // The `reducers` field lets us define reducers and generate associated actions
@@ -3702,11 +3702,11 @@ const m = (
3702
3702
  t.isRehydrated = s.payload;
3703
3703
  }
3704
3704
  }
3705
- }), { setRehydrated: _w } = $a.actions, Mw = (t) => t.rehydratedReducer.isRehydrated, Yb = $a.reducer, ct = _(
3705
+ }), { setRehydrated: _w } = ja.actions, Mw = (t) => t.rehydratedReducer.isRehydrated, Yb = ja.reducer, ct = _(
3706
3706
  (t) => t.uuid
3707
3707
  ), Vi = {
3708
3708
  instances: {}
3709
- }, Va = P({
3709
+ }, $a = P({
3710
3710
  name: "teamMemberships",
3711
3711
  initialState: Vi,
3712
3712
  extraReducers: (t) => t.addMatcher(
@@ -3734,7 +3734,7 @@ const m = (
3734
3734
  updateTeamMemberships: s_,
3735
3735
  deleteTeamMembership: i_,
3736
3736
  deleteTeamMemberships: n_
3737
- } = Va.actions, r_ = Va.reducer, a_ = (t) => t.teamMembershipReducer.instances, Ss = p(
3737
+ } = $a.actions, r_ = $a.reducer, a_ = (t) => t.teamMembershipReducer.instances, Ss = p(
3738
3738
  [a_],
3739
3739
  (t) => Object.values(t)
3740
3740
  ), c_ = (t) => (s) => s.teamMembershipReducer.instances[t], d_ = m(
@@ -3759,7 +3759,7 @@ const m = (
3759
3759
  )
3760
3760
  ), dt = _((t) => t.uuid), xi = {
3761
3761
  instances: {}
3762
- }, xa = P({
3762
+ }, Va = P({
3763
3763
  name: "teams",
3764
3764
  initialState: xi,
3765
3765
  extraReducers: (t) => t.addMatcher(
@@ -3787,18 +3787,18 @@ const m = (
3787
3787
  updateTeams: y_,
3788
3788
  deleteTeam: f_,
3789
3789
  deleteTeams: S_
3790
- } = xa.actions, A_ = (t) => t.teamReducer.instances, Ca = p([A_], (t) => Object.values(t)), O_ = (t) => (s) => s.teamReducer.instances[t], T_ = m(
3791
- p([Ca, (t, s) => s], (t, s) => {
3790
+ } = Va.actions, A_ = (t) => t.teamReducer.instances, xa = p([A_], (t) => Object.values(t)), O_ = (t) => (s) => s.teamReducer.instances[t], T_ = m(
3791
+ p([xa, (t, s) => s], (t, s) => {
3792
3792
  const e = new Set(s);
3793
3793
  return f(t.filter(({ uuid: i }) => e.has(i)));
3794
3794
  })
3795
3795
  ), Fw = m(
3796
- p([Ca, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
3797
- ), I_ = xa.reducer, Ua = {
3796
+ p([xa, (t, s) => s], (t, s) => f(t.filter((e) => e.organization === s)))
3797
+ ), I_ = Va.reducer, Ca = {
3798
3798
  outboxReducer: JS,
3799
3799
  authReducer: Eu
3800
- }, Rw = Li(Ua), P_ = {
3801
- ...Ua,
3800
+ }, Rw = Li(Ca), P_ = {
3801
+ ...Ca,
3802
3802
  assetReducer: Td,
3803
3803
  assetAttachmentReducer: Yc,
3804
3804
  assetCommentReducer: dd,
@@ -3871,12 +3871,12 @@ const m = (
3871
3871
  assetTypeIdentifierValueReducer: su,
3872
3872
  assetTypeStatusReducer: Fu,
3873
3873
  teamMembershipReducer: r_
3874
- }, Ew = Li(P_), b_ = 1e4, La = [400, 409, 403, 404, 405, 500], L = 1e4, Na = {};
3875
- class Ha {
3874
+ }, Ew = Li(P_), b_ = 1e4, Ua = [400, 409, 403, 404, 405, 500], L = 1e4, La = {};
3875
+ class Na {
3876
3876
  constructor(s) {
3877
3877
  u(this, "client");
3878
3878
  u(this, "pageSize", b_);
3879
- Na[this.constructor.name] = this, this.client = s;
3879
+ La[this.constructor.name] = this, this.client = s;
3880
3880
  }
3881
3881
  async performRequest(s, e) {
3882
3882
  return this.client.performRequest(this.host, s, this, e);
@@ -3925,7 +3925,7 @@ const F_ = {
3925
3925
  retry: k_,
3926
3926
  // Modify the configuration of the offline store to use localforage
3927
3927
  // which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
3928
- persistOptions: { storage: sc },
3928
+ persistOptions: { storage: tc },
3929
3929
  // TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
3930
3930
  // and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
3931
3931
  // that same issue"
@@ -3936,14 +3936,14 @@ const F_ = {
3936
3936
  // Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
3937
3937
  peek: (...t) => v_(...t)
3938
3938
  }
3939
- }, vw = tc(F_);
3939
+ }, vw = ec(F_);
3940
3940
  async function R_(t, s, e) {
3941
3941
  if (s.store.getState().outboxReducer.deletedRequests.includes(t.payload.uuid))
3942
3942
  throw new Error("Request was marked for deletion");
3943
- const n = Na[t.meta.offline.effect.serviceName];
3943
+ const n = La[t.meta.offline.effect.serviceName];
3944
3944
  if (!n)
3945
3945
  throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
3946
- return Ga(
3946
+ return Ha(
3947
3947
  t.meta.offline.effect.BASE_URL,
3948
3948
  t.meta.offline.effect.request,
3949
3949
  s,
@@ -3981,7 +3981,7 @@ Retries:`,
3981
3981
  }
3982
3982
  if (t instanceof C && t.options.discard && (console.debug("Discarding request due to explicit discard:", s.payload.url), d()), a.includes(r) && (console.debug("Discarding request due to deletion:", s.payload.url), d()), t instanceof C) {
3983
3983
  const l = t.status || ((h = t.response) == null ? void 0 : h.status);
3984
- if (l || console.warn("Error has no status code:", t), l !== void 0 && La.includes(l)) {
3984
+ if (l || console.warn("Error has no status code:", t), l !== void 0 && Ua.includes(l)) {
3985
3985
  console.warn("Discarding request due to error:", t, `
3986
3986
  Action:`, s);
3987
3987
  const y = pt();
@@ -4001,7 +4001,7 @@ function v_(t, s, e) {
4001
4001
  return (i = pt()) == null ? void 0 : i.peek();
4002
4002
  }
4003
4003
  function k_(t, s) {
4004
- return vt().dispatch(YS((/* @__PURE__ */ new Date()).getTime())), dc;
4004
+ return vt().dispatch(YS((/* @__PURE__ */ new Date()).getTime())), cc;
4005
4005
  }
4006
4006
  const Ft = "An unknown error occurred", B_ = 500, Ci = ["non_field_errors", "detail"];
4007
4007
  function z_(t, s) {
@@ -4049,12 +4049,12 @@ function D_(t) {
4049
4049
  if (e.response && s(e.response.response)) return e.response.response;
4050
4050
  }
4051
4051
  }
4052
- class q_ extends Ha {
4052
+ class q_ extends Na {
4053
4053
  constructor(s) {
4054
4054
  super(s);
4055
4055
  }
4056
4056
  }
4057
- class Tt extends Ha {
4057
+ class Tt extends Na {
4058
4058
  constructor(e, i) {
4059
4059
  super(e);
4060
4060
  u(this, "auth");
@@ -4157,7 +4157,7 @@ function S(t, s, e) {
4157
4157
  }
4158
4158
  function R(t) {
4159
4159
  const s = { ...t };
4160
- for (const e of [...oc, "created_by"])
4160
+ for (const e of [...dc, "created_by"])
4161
4161
  e in s && delete s[e];
4162
4162
  return s;
4163
4163
  }
@@ -4256,11 +4256,11 @@ class j extends k {
4256
4256
  for (const D of A) {
4257
4257
  let q;
4258
4258
  if ("file" in D) {
4259
- const { file: xt, ...Ja } = D, lt = await this.client.files.getFilePayload(xt);
4259
+ const { file: xt, ...Ya } = D, lt = await this.client.files.getFilePayload(xt);
4260
4260
  lt.sha1 in w || (w[lt.sha1] = lt);
4261
4261
  const As = URL.createObjectURL(xt);
4262
4262
  c.add(As), q = {
4263
- ...Ja,
4263
+ ...Ya,
4264
4264
  file_sha1: lt.sha1,
4265
4265
  file_type: lt.file_type,
4266
4266
  file_name: xt.name,
@@ -4352,13 +4352,13 @@ class Bw extends j {
4352
4352
  u(this, "url", "/asset-attachments");
4353
4353
  u(this, "actions", {
4354
4354
  addOne: Vc,
4355
- addMany: Xi,
4355
+ addMany: Zi,
4356
4356
  setOne: xc,
4357
4357
  setMany: Cc,
4358
4358
  updateOne: Uc,
4359
4359
  updateMany: Lc,
4360
4360
  deleteOne: Nc,
4361
- deleteMany: Qi,
4361
+ deleteMany: Xi,
4362
4362
  initialize: $c
4363
4363
  });
4364
4364
  u(this, "selectors", {
@@ -4522,13 +4522,13 @@ class Dw extends k {
4522
4522
  u(this, "name", "Asset");
4523
4523
  u(this, "actions", {
4524
4524
  addOne: ud,
4525
- addMany: nn,
4525
+ addMany: sn,
4526
4526
  setOne: md,
4527
4527
  setMany: yd,
4528
4528
  updateOne: ld,
4529
4529
  updateMany: hd,
4530
4530
  deleteOne: pd,
4531
- deleteMany: rn,
4531
+ deleteMany: nn,
4532
4532
  initialize: od
4533
4533
  });
4534
4534
  u(this, "selectors", {
@@ -4587,7 +4587,7 @@ class Dw extends k {
4587
4587
  const { addOne: i, deleteOne: n } = this.actions, { selectById: a } = this.selectors, r = this.select(a(e));
4588
4588
  if (!r) throw new Error(`No asset with uuid ${e} found in the store`);
4589
4589
  const d = this.select(Kc(e)), c = this.select(ad(e)), h = this.select(qp(e)), l = this.select(BO(e)), y = this.select(dp(e));
4590
- this.dispatch(n(e)), this.dispatch(Qi(E(d))), this.dispatch(Wt(E(c))), this.dispatch(Mt(E(h))), this.dispatch(wt(E(l))), this.dispatch(ft(E(y)));
4590
+ this.dispatch(n(e)), this.dispatch(Xi(E(d))), this.dispatch(Wt(E(c))), this.dispatch(Mt(E(h))), this.dispatch(wt(E(l))), this.dispatch(ft(E(y)));
4591
4591
  try {
4592
4592
  return await this.enqueueRequest({
4593
4593
  description: S(o.DELETE, this.name, !1),
@@ -4597,7 +4597,7 @@ class Dw extends k {
4597
4597
  blocks: []
4598
4598
  });
4599
4599
  } catch (O) {
4600
- throw this.dispatch(i(r)), this.dispatch(Xi(d)), this.dispatch(Gt(c)), this.dispatch(_t(h)), this.dispatch(gt(l)), this.dispatch(yt(y)), O;
4600
+ throw this.dispatch(i(r)), this.dispatch(Zi(d)), this.dispatch(Gt(c)), this.dispatch(_t(h)), this.dispatch(gt(l)), this.dispatch(yt(y)), O;
4601
4601
  }
4602
4602
  }
4603
4603
  bulkAdd(e, i) {
@@ -4703,13 +4703,13 @@ class qw extends j {
4703
4703
  u(this, "url", "/asset-type-attachments");
4704
4704
  u(this, "actions", {
4705
4705
  addOne: Pd,
4706
- addMany: cn,
4706
+ addMany: an,
4707
4707
  setOne: bd,
4708
4708
  setMany: _d,
4709
4709
  updateOne: Md,
4710
4710
  updateMany: gd,
4711
4711
  deleteOne: wd,
4712
- deleteMany: dn,
4712
+ deleteMany: cn,
4713
4713
  initialize: Id
4714
4714
  });
4715
4715
  u(this, "selectors", {
@@ -4908,13 +4908,13 @@ class Vw extends j {
4908
4908
  u(this, "url", "/asset-type-field-values-attachments");
4909
4909
  u(this, "actions", {
4910
4910
  addOne: ao,
4911
- addMany: mn,
4911
+ addMany: pn,
4912
4912
  setOne: co,
4913
4913
  setMany: oo,
4914
4914
  updateOne: uo,
4915
4915
  updateMany: lo,
4916
4916
  deleteOne: ho,
4917
- deleteMany: yn,
4917
+ deleteMany: mn,
4918
4918
  initialize: ro
4919
4919
  });
4920
4920
  u(this, "selectors", {
@@ -5116,7 +5116,7 @@ class xw extends k {
5116
5116
  if (!r)
5117
5117
  throw new Error(`Expected submission with uuid ${e} to exist`);
5118
5118
  const d = this.select(fo(e));
5119
- this.dispatch(i(e)), this.dispatch(yn(E(d)));
5119
+ this.dispatch(i(e)), this.dispatch(mn(E(d)));
5120
5120
  try {
5121
5121
  return await this.enqueueRequest({
5122
5122
  description: S(o.DELETE, this.name, !1),
@@ -5126,7 +5126,7 @@ class xw extends k {
5126
5126
  blocks: []
5127
5127
  });
5128
5128
  } catch (c) {
5129
- throw this.dispatch(n(r)), this.dispatch(mn(d)), c;
5129
+ throw this.dispatch(n(r)), this.dispatch(pn(d)), c;
5130
5130
  }
5131
5131
  }
5132
5132
  async refreshStore(e, i) {
@@ -5440,7 +5440,7 @@ class Lw extends k {
5440
5440
  if (!r)
5441
5441
  throw new Error(`Expected asset type with uuid ${e} to exist`);
5442
5442
  const d = this.select(Sd(e)), c = this.select(vd(e));
5443
- this.dispatch(i(e)), this.dispatch(rn(E(d))), this.dispatch(dn(E(c)));
5443
+ this.dispatch(i(e)), this.dispatch(nn(E(d))), this.dispatch(cn(E(c)));
5444
5444
  try {
5445
5445
  return await this.enqueueRequest({
5446
5446
  description: S(o.DELETE, this.name, !1),
@@ -5450,7 +5450,7 @@ class Lw extends k {
5450
5450
  blocks: []
5451
5451
  });
5452
5452
  } catch (h) {
5453
- throw this.dispatch(n(r)), this.dispatch(nn(d)), this.dispatch(cn(c)), h;
5453
+ throw this.dispatch(n(r)), this.dispatch(sn(d)), this.dispatch(an(c)), h;
5454
5454
  }
5455
5455
  }
5456
5456
  async refreshStore(e, i) {
@@ -5883,7 +5883,7 @@ class Yw extends Tt {
5883
5883
  u(this, "host");
5884
5884
  // NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
5885
5885
  // migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
5886
- u(this, "dbPromise", ic("fileCache", 2, {
5886
+ u(this, "dbPromise", sc("fileCache", 2, {
5887
5887
  upgrade(e, i) {
5888
5888
  i < 1 && e.createObjectStore("files"), i < 2 && e.createObjectStore("presignedUrls");
5889
5889
  }
@@ -5929,7 +5929,7 @@ class Yw extends Tt {
5929
5929
  const r = e.split("?")[0] ?? e, d = await this.getFileFromCache(i);
5930
5930
  if (d) return d;
5931
5931
  let c;
5932
- r in Pt ? c = Pt[r] : _c(e) ? (c = bc(e, n), Pt[r] = c) : (c = new Promise((y) => {
5932
+ r in Pt ? c = Pt[r] : bc(e) ? (c = Pc(e, n), Pt[r] = c) : (c = new Promise((y) => {
5933
5933
  this.performRequest(
5934
5934
  {
5935
5935
  method: o.GET,
@@ -5979,8 +5979,8 @@ class Yw extends Tt {
5979
5979
  isAuthNeeded: !1,
5980
5980
  attachmentHash: e,
5981
5981
  // TODO: can we use the sha1 as the blocker?
5982
- blockers: [`s3-${i.fields.key}`],
5983
- blocks: [e],
5982
+ blockers: [`s3-${i.fields.key}`, "s3-presigned-upload"],
5983
+ blocks: [e, "s3-presigned-upload"],
5984
5984
  s3url: i
5985
5985
  });
5986
5986
  }
@@ -5994,7 +5994,7 @@ class Yw extends Tt {
5994
5994
  const n = {
5995
5995
  sha1: await Ct(e),
5996
5996
  file_type: e.type,
5997
- extension: Ic(e),
5997
+ extension: Tc(e),
5998
5998
  size: e.size
5999
5999
  };
6000
6000
  return await this.client.files.cacheFile(e), n;
@@ -6010,7 +6010,7 @@ class Yw extends Tt {
6010
6010
  async getPresignedUrlFromCache(e) {
6011
6011
  const i = await (await this.getDB()).get("presignedUrls", e);
6012
6012
  if (!i) return;
6013
- if (Fc(i)) {
6013
+ if (wc(i)) {
6014
6014
  await this.uncachePresignedUrl(e);
6015
6015
  return;
6016
6016
  }
@@ -6285,13 +6285,13 @@ class Qw extends k {
6285
6285
  u(this, "url", "/form-revisions");
6286
6286
  u(this, "actions", {
6287
6287
  addOne: sh,
6288
- addMany: qn,
6288
+ addMany: Dn,
6289
6289
  setOne: ih,
6290
6290
  setMany: nh,
6291
6291
  updateOne: rh,
6292
6292
  updateMany: ah,
6293
6293
  deleteOne: ch,
6294
- deleteMany: jn,
6294
+ deleteMany: qn,
6295
6295
  initialize: th
6296
6296
  });
6297
6297
  u(this, "selectors", {
@@ -6408,7 +6408,7 @@ class eF extends k {
6408
6408
  if (!r)
6409
6409
  throw new Error("Expected form to exist");
6410
6410
  const d = this.select(rp(e)), c = this.select(lh(e)), h = this.select(bh(e));
6411
- this.dispatch(i(e)), this.dispatch(ft(E(d))), this.dispatch(jn(E(c))), this.dispatch(xn(E(h)));
6411
+ this.dispatch(i(e)), this.dispatch(ft(E(d))), this.dispatch(qn(E(c))), this.dispatch(Vn(E(h)));
6412
6412
  try {
6413
6413
  return await this.enqueueRequest({
6414
6414
  description: S(o.DELETE, this.name, !1),
@@ -6418,7 +6418,7 @@ class eF extends k {
6418
6418
  blocks: []
6419
6419
  });
6420
6420
  } catch (l) {
6421
- throw this.dispatch(n(r)), this.dispatch(qn(c)), this.dispatch(yt(d)), this.dispatch(Vn(h)), l;
6421
+ throw this.dispatch(n(r)), this.dispatch(Dn(c)), this.dispatch(yt(d)), this.dispatch($n(h)), l;
6422
6422
  }
6423
6423
  }
6424
6424
  async refreshStore(e, i) {
@@ -6440,13 +6440,13 @@ class tF extends k {
6440
6440
  u(this, "url", "/form-subscribers");
6441
6441
  u(this, "actions", {
6442
6442
  addOne: mh,
6443
- addMany: Vn,
6443
+ addMany: $n,
6444
6444
  setOne: yh,
6445
6445
  setMany: fh,
6446
6446
  updateOne: Sh,
6447
6447
  updateMany: Ah,
6448
6448
  deleteOne: Oh,
6449
- deleteMany: xn,
6449
+ deleteMany: Vn,
6450
6450
  initialize: ph
6451
6451
  });
6452
6452
  u(this, "selectors", {
@@ -6514,13 +6514,13 @@ class sF extends j {
6514
6514
  u(this, "url", "/form-submission-attachments");
6515
6515
  u(this, "actions", {
6516
6516
  addOne: Vh,
6517
- addMany: Nn,
6517
+ addMany: Ln,
6518
6518
  setOne: xh,
6519
6519
  setMany: Ch,
6520
6520
  updateOne: Uh,
6521
6521
  updateMany: Lh,
6522
6522
  deleteOne: Nh,
6523
- deleteMany: Hn,
6523
+ deleteMany: Nn,
6524
6524
  initialize: $h
6525
6525
  });
6526
6526
  u(this, "selectors", {
@@ -6572,7 +6572,7 @@ class sF extends j {
6572
6572
  };
6573
6573
  }
6574
6574
  async bulkDelete(e) {
6575
- const { deleteMany: i, addMany: n } = this.actions, a = this.select(Kn(e));
6575
+ const { deleteMany: i, addMany: n } = this.actions, a = this.select(Wn(e));
6576
6576
  this.dispatch(i(e));
6577
6577
  try {
6578
6578
  return await this.enqueueRequest({
@@ -6684,7 +6684,7 @@ class iF extends k {
6684
6684
  if (!r)
6685
6685
  throw new Error(`Expected submission with uuid ${e} to exist`);
6686
6686
  const d = this.select(Wh(e));
6687
- this.dispatch(i(e)), this.dispatch(Hn(E(d)));
6687
+ this.dispatch(i(e)), this.dispatch(Nn(E(d)));
6688
6688
  try {
6689
6689
  return await this.enqueueRequest({
6690
6690
  description: S(o.DELETE, this.name, !1),
@@ -6694,7 +6694,7 @@ class iF extends k {
6694
6694
  blocks: []
6695
6695
  });
6696
6696
  } catch (c) {
6697
- throw this.dispatch(n(r)), this.dispatch(Nn(d)), c;
6697
+ throw this.dispatch(n(r)), this.dispatch(Ln(d)), c;
6698
6698
  }
6699
6699
  }
6700
6700
  async refreshStore(e, i) {
@@ -6931,13 +6931,13 @@ class aF extends j {
6931
6931
  u(this, "url", "/issue-attachments");
6932
6932
  u(this, "actions", {
6933
6933
  addOne: xp,
6934
- addMany: er,
6934
+ addMany: Qn,
6935
6935
  setOne: Cp,
6936
6936
  setMany: Up,
6937
6937
  updateOne: Lp,
6938
6938
  updateMany: Np,
6939
6939
  deleteOne: Hp,
6940
- deleteMany: tr,
6940
+ deleteMany: er,
6941
6941
  initialize: Vp
6942
6942
  });
6943
6943
  u(this, "selectors", {
@@ -7169,13 +7169,13 @@ class oF extends k {
7169
7169
  u(this, "url", "/issues");
7170
7170
  u(this, "actions", {
7171
7171
  addOne: bm,
7172
- addMany: dr,
7172
+ addMany: cr,
7173
7173
  setOne: _m,
7174
7174
  setMany: Mm,
7175
7175
  updateOne: gm,
7176
7176
  updateMany: wm,
7177
7177
  deleteOne: Fm,
7178
- deleteMany: or,
7178
+ deleteMany: dr,
7179
7179
  initialize: Pm
7180
7180
  });
7181
7181
  u(this, "selectors", {
@@ -7225,7 +7225,7 @@ class oF extends k {
7225
7225
  if (l in e && e[l] !== a[l])
7226
7226
  switch (l) {
7227
7227
  case x.PRIORITY: {
7228
- const y = e[l], O = this.select(Mr(y));
7228
+ const y = e[l], O = this.select(_r(y));
7229
7229
  if (!O)
7230
7230
  throw new Error(
7231
7231
  `Trying to update issue type priority with ${y} which does not exist in store`
@@ -7247,7 +7247,7 @@ class oF extends k {
7247
7247
  d[l] = e.title ?? "";
7248
7248
  break;
7249
7249
  case x.STATUS: {
7250
- const y = e[l], O = this.select(Er(y));
7250
+ const y = e[l], O = this.select(Rr(y));
7251
7251
  if (!O)
7252
7252
  throw new Error(`Trying to update issue type status with ${y} which does not exist in store`);
7253
7253
  d[l] = {
@@ -7282,7 +7282,7 @@ class oF extends k {
7282
7282
  issue: a.uuid,
7283
7283
  changes: d
7284
7284
  });
7285
- this.dispatch(kr(c));
7285
+ this.dispatch(vr(c));
7286
7286
  const h = this.enqueueRequest({
7287
7287
  description: S(o.PATCH, this.name, !1),
7288
7288
  method: o.PATCH,
@@ -7294,11 +7294,11 @@ class oF extends k {
7294
7294
  return h.then((l) => {
7295
7295
  this.dispatch(i(l));
7296
7296
  }).catch(() => {
7297
- this.dispatch(i(a)), this.dispatch(zr(c.uuid));
7297
+ this.dispatch(i(a)), this.dispatch(Br(c.uuid));
7298
7298
  }), [r, h];
7299
7299
  }
7300
7300
  bulkUpdate(e, i) {
7301
- const { updateMany: n } = this.actions, { selectByIds: a } = this.selectors, r = E(e).toSorted(Wi);
7301
+ const { updateMany: n } = this.actions, { selectByIds: a } = this.selectors, r = E(e);
7302
7302
  if (r.length !== e.length)
7303
7303
  throw new Error("payloads contains duplicate uuids.");
7304
7304
  const d = this.select(a(r));
@@ -7339,7 +7339,7 @@ class oF extends k {
7339
7339
  if (!r)
7340
7340
  throw new Error(`No issue with uuid ${e} found in the store`);
7341
7341
  const d = this.select(Dp(e)), c = this.select(Wp(e)), h = this.select(cS(e)), l = this.select(ap(e));
7342
- this.dispatch(i(e)), this.dispatch(tr(E(c))), this.dispatch(Dr(E(h))), this.dispatch(Mt(E(d))), this.dispatch(ft(E(l)));
7342
+ this.dispatch(i(e)), this.dispatch(er(E(c))), this.dispatch(zr(E(h))), this.dispatch(Mt(E(d))), this.dispatch(ft(E(l)));
7343
7343
  try {
7344
7344
  return await this.enqueueRequest({
7345
7345
  description: S(o.DELETE, this.name, !1),
@@ -7349,7 +7349,7 @@ class oF extends k {
7349
7349
  blocks: []
7350
7350
  });
7351
7351
  } catch (y) {
7352
- throw this.dispatch(n(r)), this.dispatch(er(c)), this.dispatch(Br(h)), this.dispatch(_t(d)), this.dispatch(yt(l)), y;
7352
+ throw this.dispatch(n(r)), this.dispatch(Qn(c)), this.dispatch(kr(h)), this.dispatch(_t(d)), this.dispatch(yt(l)), y;
7353
7353
  }
7354
7354
  }
7355
7355
  async bulkDelete(e) {
@@ -7592,13 +7592,13 @@ class pF extends j {
7592
7592
  u(this, "url", "/issue-type-field-values-attachments");
7593
7593
  u(this, "actions", {
7594
7594
  addOne: By,
7595
- addMany: Sr,
7595
+ addMany: fr,
7596
7596
  setOne: zy,
7597
7597
  setMany: Dy,
7598
7598
  updateOne: qy,
7599
7599
  updateMany: jy,
7600
7600
  deleteOne: $y,
7601
- deleteMany: Ar,
7601
+ deleteMany: Sr,
7602
7602
  initialize: ky
7603
7603
  });
7604
7604
  u(this, "selectors", {
@@ -7753,7 +7753,7 @@ class mF extends k {
7753
7753
  if (!r)
7754
7754
  throw new Error(`Expected submission with uuid ${e} to exist`);
7755
7755
  const d = this.select(Uy(e));
7756
- this.dispatch(i(e)), this.dispatch(Ar(E(d)));
7756
+ this.dispatch(i(e)), this.dispatch(Sr(E(d)));
7757
7757
  try {
7758
7758
  return await this.enqueueRequest({
7759
7759
  description: S(o.DELETE, this.name, !1),
@@ -7763,7 +7763,7 @@ class mF extends k {
7763
7763
  blocks: []
7764
7764
  });
7765
7765
  } catch (c) {
7766
- throw this.dispatch(n(r)), this.dispatch(Sr(d)), c;
7766
+ throw this.dispatch(n(r)), this.dispatch(fr(d)), c;
7767
7767
  }
7768
7768
  }
7769
7769
  async refreshStore(e, i) {
@@ -7968,7 +7968,7 @@ class SF extends k {
7968
7968
  initialize: Sf
7969
7969
  });
7970
7970
  u(this, "selectors", {
7971
- selectById: Mr,
7971
+ selectById: _r,
7972
7972
  selectByIds: wf
7973
7973
  });
7974
7974
  }
@@ -8116,7 +8116,7 @@ class AF extends k {
8116
8116
  if (!r)
8117
8117
  throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
8118
8118
  const d = this.select(km(e));
8119
- this.dispatch(n(e)), this.dispatch(or(E(d)));
8119
+ this.dispatch(n(e)), this.dispatch(dr(E(d)));
8120
8120
  try {
8121
8121
  return await this.enqueueRequest({
8122
8122
  description: S(o.DELETE, this.name, !1),
@@ -8126,7 +8126,7 @@ class AF extends k {
8126
8126
  blocks: []
8127
8127
  });
8128
8128
  } catch (c) {
8129
- throw this.dispatch(i(r)), this.dispatch(dr(d)), c;
8129
+ throw this.dispatch(i(r)), this.dispatch(cr(d)), c;
8130
8130
  }
8131
8131
  }
8132
8132
  async refreshStore(e, i) {
@@ -8158,7 +8158,7 @@ class OF extends k {
8158
8158
  initialize: Uf
8159
8159
  });
8160
8160
  u(this, "selectors", {
8161
- selectById: Er,
8161
+ selectById: Rr,
8162
8162
  selectByIds: Xf
8163
8163
  });
8164
8164
  }
@@ -8241,14 +8241,14 @@ class TF extends k {
8241
8241
  u(this, "name", "Issue Update");
8242
8242
  u(this, "url", "/issue-updates");
8243
8243
  u(this, "actions", {
8244
- addOne: kr,
8245
- addMany: Br,
8244
+ addOne: vr,
8245
+ addMany: kr,
8246
8246
  setOne: tS,
8247
8247
  setMany: sS,
8248
8248
  updateOne: iS,
8249
8249
  updateMany: nS,
8250
- deleteOne: zr,
8251
- deleteMany: Dr,
8250
+ deleteOne: Br,
8251
+ deleteMany: zr,
8252
8252
  initialize: eS
8253
8253
  });
8254
8254
  u(this, "selectors", {
@@ -8336,7 +8336,7 @@ class IF extends q_ {
8336
8336
  const i = Date.now() / 1e3;
8337
8337
  let n;
8338
8338
  try {
8339
- n = nc(e).exp ?? i;
8339
+ n = ic(e).exp ?? i;
8340
8340
  } catch {
8341
8341
  n = i;
8342
8342
  }
@@ -8430,7 +8430,7 @@ class PF extends It {
8430
8430
  }
8431
8431
  async delete(e) {
8432
8432
  const { deleteOne: i, addOne: n } = this.actions, { selectById: a } = this.selectors, r = this.select(a(e)), d = this.select(us(r.user));
8433
- this.dispatch(i(r.uuid)), this.dispatch(xr(r.user));
8433
+ this.dispatch(i(r.uuid)), this.dispatch(Vr(r.user));
8434
8434
  try {
8435
8435
  return await this.enqueueRequest({
8436
8436
  description: S(o.DELETE, this.name, !1),
@@ -8440,7 +8440,7 @@ class PF extends It {
8440
8440
  blocks: []
8441
8441
  });
8442
8442
  } catch (c) {
8443
- throw this.dispatch(n(r)), this.dispatch(Vr(d)), c;
8443
+ throw this.dispatch(n(r)), this.dispatch($r(d)), c;
8444
8444
  }
8445
8445
  }
8446
8446
  async refreshStore(e, i) {
@@ -9523,13 +9523,13 @@ class DF extends j {
9523
9523
  u(this, "url", "/procedure-step-fields-attachments");
9524
9524
  u(this, "actions", {
9525
9525
  addOne: KT,
9526
- addMany: da,
9526
+ addMany: ca,
9527
9527
  setOne: YT,
9528
9528
  setMany: JT,
9529
9529
  updateOne: ZT,
9530
9530
  updateMany: XT,
9531
9531
  deleteOne: QT,
9532
- deleteMany: oa,
9532
+ deleteMany: da,
9533
9533
  initialize: WT
9534
9534
  });
9535
9535
  u(this, "selectors", {
@@ -9641,7 +9641,7 @@ class qF extends k {
9641
9641
  if (!r)
9642
9642
  throw new Error(`Expected procedure step fields with uuid ${e} to exist`);
9643
9643
  const d = this.select(tI(e));
9644
- this.dispatch(i(e)), this.dispatch(oa(E(d)));
9644
+ this.dispatch(i(e)), this.dispatch(da(E(d)));
9645
9645
  try {
9646
9646
  return await this.enqueueRequest({
9647
9647
  description: S(o.DELETE, this.name, !1),
@@ -9651,7 +9651,7 @@ class qF extends k {
9651
9651
  blocks: []
9652
9652
  });
9653
9653
  } catch (c) {
9654
- throw this.dispatch(n(r)), this.dispatch(da(d)), c;
9654
+ throw this.dispatch(n(r)), this.dispatch(ca(d)), c;
9655
9655
  }
9656
9656
  }
9657
9657
  async refreshStore(e, i) {
@@ -9673,13 +9673,13 @@ class jF extends j {
9673
9673
  u(this, "url", "/procedure-step-field-values-attachments");
9674
9674
  u(this, "actions", {
9675
9675
  addOne: AI,
9676
- addMany: ma,
9676
+ addMany: pa,
9677
9677
  setOne: OI,
9678
9678
  setMany: TI,
9679
9679
  updateOne: II,
9680
9680
  updateMany: PI,
9681
9681
  deleteOne: bI,
9682
- deleteMany: ya,
9682
+ deleteMany: ma,
9683
9683
  initialize: SI
9684
9684
  });
9685
9685
  u(this, "selectors", {
@@ -9766,13 +9766,13 @@ class $F extends k {
9766
9766
  u(this, "url", "/procedure-step-field-values-reviews");
9767
9767
  u(this, "actions", {
9768
9768
  addOne: LI,
9769
- addMany: Oa,
9769
+ addMany: Aa,
9770
9770
  setOne: NI,
9771
9771
  setMany: HI,
9772
9772
  updateOne: GI,
9773
9773
  updateMany: WI,
9774
9774
  deleteOne: KI,
9775
- deleteMany: Ta,
9775
+ deleteMany: Oa,
9776
9776
  initialize: UI
9777
9777
  });
9778
9778
  u(this, "selectors", {
@@ -9982,7 +9982,7 @@ class VF extends k {
9982
9982
  if (!r)
9983
9983
  throw new Error(`Expected ProcedureStepFieldValues with uuid ${e} to exist`);
9984
9984
  const d = this.select(wI(e)), c = this.select(XI(e));
9985
- this.dispatch(i(e)), this.dispatch(ya(E(d))), this.dispatch(Ta(E(c)));
9985
+ this.dispatch(i(e)), this.dispatch(ma(E(d))), this.dispatch(Oa(E(c)));
9986
9986
  try {
9987
9987
  return await this.enqueueRequest({
9988
9988
  description: S(o.DELETE, this.name, !1),
@@ -9992,7 +9992,7 @@ class VF extends k {
9992
9992
  blocks: []
9993
9993
  });
9994
9994
  } catch (h) {
9995
- throw this.dispatch(n(r)), this.dispatch(ma(d)), this.dispatch(Oa(c)), h;
9995
+ throw this.dispatch(n(r)), this.dispatch(pa(d)), this.dispatch(Aa(c)), h;
9996
9996
  }
9997
9997
  }
9998
9998
  async refreshStore(e, i) {
@@ -10566,13 +10566,13 @@ class GF extends j {
10566
10566
  u(this, "url", "/procedure-field-values-attachments");
10567
10567
  u(this, "actions", {
10568
10568
  addOne: lb,
10569
- addMany: va,
10569
+ addMany: Ea,
10570
10570
  setOne: hb,
10571
10571
  setMany: pb,
10572
10572
  updateOne: mb,
10573
10573
  updateMany: yb,
10574
10574
  deleteOne: fb,
10575
- deleteMany: ka,
10575
+ deleteMany: va,
10576
10576
  initialize: ub
10577
10577
  });
10578
10578
  u(this, "selectors", {
@@ -10769,7 +10769,7 @@ class WF extends k {
10769
10769
  if (!r)
10770
10770
  throw new Error(`Expected submission with uuid ${e} to exist`);
10771
10771
  const d = this.select(Ib(e));
10772
- this.dispatch(i(e)), this.dispatch(ka(E(d)));
10772
+ this.dispatch(i(e)), this.dispatch(va(E(d)));
10773
10773
  try {
10774
10774
  return await this.enqueueRequest({
10775
10775
  description: S(o.DELETE, this.name, !1),
@@ -10779,7 +10779,7 @@ class WF extends k {
10779
10779
  blocks: []
10780
10780
  });
10781
10781
  } catch (c) {
10782
- throw this.dispatch(n(r)), this.dispatch(va(d)), c;
10782
+ throw this.dispatch(n(r)), this.dispatch(Ea(d)), c;
10783
10783
  }
10784
10784
  }
10785
10785
  async refreshStore(e, i) {
@@ -11089,13 +11089,13 @@ class ZF extends It {
11089
11089
  u(this, "name", "User");
11090
11090
  u(this, "url", "/user");
11091
11091
  u(this, "actions", {
11092
- addOne: Vr,
11092
+ addOne: $r,
11093
11093
  addMany: hS,
11094
11094
  setOne: lS,
11095
11095
  setMany: uS,
11096
11096
  updateOne: mS,
11097
11097
  updateMany: pS,
11098
- deleteOne: xr,
11098
+ deleteOne: Vr,
11099
11099
  deleteMany: yS,
11100
11100
  initialize: oS
11101
11101
  });
@@ -11125,7 +11125,7 @@ class ZF extends It {
11125
11125
  return this.dispatch(n(a)), a;
11126
11126
  }
11127
11127
  }
11128
- async function Ga(t, s, e, i, n) {
11128
+ async function Ha(t, s, e, i, n) {
11129
11129
  const a = i instanceof Tt;
11130
11130
  a && s.checkAuth !== !1 && await i.auth.prepareAuth();
11131
11131
  const r = {
@@ -11147,8 +11147,12 @@ async function Ga(t, s, e, i, n) {
11147
11147
  };
11148
11148
  let w = s.url;
11149
11149
  const v = O ? await e.files.getFileFromCache(O) : void 0;
11150
- if (O && !v)
11151
- throw new Error(`Cannot upload file ${O} because it's not cached.`);
11150
+ if (O) {
11151
+ if (!v)
11152
+ throw new Error(`Cannot upload file ${O} because it's not cached.`);
11153
+ if (v.size === 0)
11154
+ throw new Error(`Cannot upload file ${O} because its has a size of 0.`);
11155
+ }
11152
11156
  !b && !w.startsWith("http") && (!w.startsWith("/") && !w.startsWith("blob:") && (w = "/" + w), w = t + w);
11153
11157
  const B = (V) => {
11154
11158
  if (O) {
@@ -11197,7 +11201,7 @@ async function Ga(t, s, e, i, n) {
11197
11201
  throw new C({
11198
11202
  response: U,
11199
11203
  innerError: V,
11200
- discard: La.includes(kt)
11204
+ discard: Ua.includes(kt)
11201
11205
  });
11202
11206
  } finally {
11203
11207
  n == null || n.removeEventListener("abort", ut);
@@ -11214,7 +11218,7 @@ class XF {
11214
11218
  ...e,
11215
11219
  uuid: e.uuid ?? ot()
11216
11220
  };
11217
- return Ga(s, r, this, i, n).then((d) => {
11221
+ return Ha(s, r, this, i, n).then((d) => {
11218
11222
  a.resolve(d.body);
11219
11223
  }).catch((d) => {
11220
11224
  d instanceof Error ? a.reject(d) : a.reject(new Error((d ?? Ft).toString()));
@@ -11291,7 +11295,7 @@ class bt {
11291
11295
  constructor() {
11292
11296
  u(this, "graph");
11293
11297
  u(this, "requestAttemptCounter");
11294
- this.graph = new rc(), this.requestAttemptCounter = {};
11298
+ this.graph = new nc(), this.requestAttemptCounter = {};
11295
11299
  }
11296
11300
  /**
11297
11301
  * Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
@@ -11430,19 +11434,19 @@ class bt {
11430
11434
  this.requestAttemptCounter[s] = (this.requestAttemptCounter[s] || 0) + 1;
11431
11435
  }
11432
11436
  }
11433
- let Wa;
11437
+ let Ga;
11434
11438
  function V_(t) {
11435
- Wa = t;
11439
+ Ga = t;
11436
11440
  }
11437
11441
  function vt() {
11438
- return Wa;
11442
+ return Ga;
11439
11443
  }
11440
- let Ka;
11444
+ let Wa;
11441
11445
  function x_(t) {
11442
- Ka = t;
11446
+ Wa = t;
11443
11447
  }
11444
11448
  function C_() {
11445
- return Ka;
11449
+ return Wa;
11446
11450
  }
11447
11451
  let Nt = null;
11448
11452
  function pt() {
@@ -11475,7 +11479,7 @@ class U_ {
11475
11479
  return this._all;
11476
11480
  }
11477
11481
  }
11478
- class Ya {
11482
+ class Ka {
11479
11483
  constructor() {
11480
11484
  u(this, "next");
11481
11485
  this.next = null;
@@ -11494,12 +11498,12 @@ class Ya {
11494
11498
  }
11495
11499
  }
11496
11500
  }
11497
- class L_ extends Ya {
11501
+ class L_ extends Ka {
11498
11502
  async run(s) {
11499
11503
  return super.run(s);
11500
11504
  }
11501
11505
  }
11502
- class N_ extends Ya {
11506
+ class N_ extends Ka {
11503
11507
  async run(s) {
11504
11508
  return super.run(s);
11505
11509
  }
@@ -11517,7 +11521,7 @@ export {
11517
11521
  Bw as AssetAttachmentService,
11518
11522
  zw as AssetCommentService,
11519
11523
  Dw as AssetService,
11520
- lc as AssetStatusType,
11524
+ uc as AssetStatusType,
11521
11525
  qw as AssetTypeAttachmentService,
11522
11526
  Vw as AssetTypeFieldValuesAttachmentService,
11523
11527
  xw as AssetTypeFieldValuesService,
@@ -11532,14 +11536,14 @@ export {
11532
11536
  j as BaseOfflineFileModelApiService,
11533
11537
  k as BaseOfflineModelApiService,
11534
11538
  XF as BaseSDK,
11535
- oc as COMMON_AUTO_FIELDS,
11539
+ dc as COMMON_AUTO_FIELDS,
11536
11540
  b_ as DEFAULT_PAGE_SIZE,
11537
- La as DISCARD_HTTP_STATUSES,
11541
+ Ua as DISCARD_HTTP_STATUSES,
11538
11542
  Ts as DeferredPromise,
11539
11543
  Hw as DocumentAttachmentService,
11540
11544
  Gw as DocumentService,
11541
- ac as EMPTY_ARRAY,
11542
- cc as EMPTY_OBJECT,
11545
+ rc as EMPTY_ARRAY,
11546
+ ac as EMPTY_OBJECT,
11543
11547
  Ww as EmailDomainsService,
11544
11548
  Kw as EmailVerificationService,
11545
11549
  Yw as FileService,
@@ -11557,9 +11561,9 @@ export {
11557
11561
  aF as IssueAttachmentService,
11558
11562
  cF as IssueCommentAttachmentService,
11559
11563
  dF as IssueCommentService,
11560
- pc as IssuePriorityType,
11564
+ hc as IssuePriorityType,
11561
11565
  oF as IssueService,
11562
- hc as IssueStatusType,
11566
+ lc as IssueStatusType,
11563
11567
  uF as IssueTypeAttachmentService,
11564
11568
  pF as IssueTypeFieldValuesAttachmentService,
11565
11569
  mF as IssueTypeFieldValuesService,
@@ -11574,10 +11578,10 @@ export {
11574
11578
  TF as IssueUpdateService,
11575
11579
  IF as JWTService,
11576
11580
  L as MAX_SERVICE_BATCH_SIZE,
11577
- dc as OUTBOX_RETRY_DELAY,
11581
+ cc as OUTBOX_RETRY_DELAY,
11578
11582
  L_ as OfflineAnalyticsMiddleware,
11579
- Ya as OfflineMiddleware,
11580
- uc as OrganizationAccessLevel,
11583
+ Ka as OfflineMiddleware,
11584
+ oc as OrganizationAccessLevel,
11581
11585
  PF as OrganizationAccessService,
11582
11586
  bF as OrganizationService,
11583
11587
  bt as OutboxCoordinator,
@@ -11590,10 +11594,10 @@ export {
11590
11594
  kF as ProcedureStepDefaultAssigneeService,
11591
11595
  BF as ProcedureStepDefaultReviewerService,
11592
11596
  zF as ProcedureStepEventService,
11593
- mc as ProcedureStepEventType,
11597
+ pc as ProcedureStepEventType,
11594
11598
  jF as ProcedureStepFieldValuesAttachmentService,
11595
11599
  $F as ProcedureStepFieldValuesReviewService,
11596
- yc as ProcedureStepFieldValuesReviewType,
11600
+ mc as ProcedureStepFieldValuesReviewType,
11597
11601
  VF as ProcedureStepFieldValuesService,
11598
11602
  DF as ProcedureStepFieldsAttachmentService,
11599
11603
  qF as ProcedureStepFieldsService,
@@ -11621,15 +11625,15 @@ export {
11621
11625
  YS as _setLatestRetryTime,
11622
11626
  ud as addAsset,
11623
11627
  Vc as addAssetAttachment,
11624
- Xi as addAssetAttachments,
11628
+ Zi as addAssetAttachments,
11625
11629
  Zc as addAssetComment,
11626
11630
  Gt as addAssetComments,
11627
11631
  au as addAssetType,
11628
11632
  Pd as addAssetTypeAttachment,
11629
- cn as addAssetTypeAttachments,
11633
+ an as addAssetTypeAttachments,
11630
11634
  Oo as addAssetTypeFieldValues,
11631
11635
  ao as addAssetTypeFieldValuesAttachment,
11632
- mn as addAssetTypeFieldValuesAttachments,
11636
+ pn as addAssetTypeFieldValuesAttachments,
11633
11637
  To as addAssetTypeFieldValuesMany,
11634
11638
  Wd as addAssetTypeFields,
11635
11639
  zd as addAssetTypeFieldsAttachment,
@@ -11642,7 +11646,7 @@ export {
11642
11646
  Su as addAssetTypeStatus,
11643
11647
  Au as addAssetTypeStatuses,
11644
11648
  cu as addAssetTypes,
11645
- nn as addAssets,
11649
+ sn as addAssets,
11646
11650
  zc as addConversation,
11647
11651
  RM as addConversations,
11648
11652
  Hu as addDocument,
@@ -11659,13 +11663,13 @@ export {
11659
11663
  sh as addFormRevision,
11660
11664
  Ll as addFormRevisionAttachment,
11661
11665
  Nl as addFormRevisionAttachments,
11662
- qn as addFormRevisions,
11666
+ Dn as addFormRevisions,
11663
11667
  Xh as addFormSubmission,
11664
11668
  Vh as addFormSubmissionAttachment,
11665
- Nn as addFormSubmissionAttachments,
11669
+ Ln as addFormSubmissionAttachments,
11666
11670
  yt as addFormSubmissions,
11667
11671
  mh as addFormSubscriber,
11668
- Vn as addFormSubscribers,
11672
+ $n as addFormSubscribers,
11669
11673
  wh as addForms,
11670
11674
  mp as addGeoImage,
11671
11675
  yp as addGeoImages,
@@ -11673,7 +11677,7 @@ export {
11673
11677
  Rp as addIssueAssociation,
11674
11678
  _t as addIssueAssociations,
11675
11679
  xp as addIssueAttachment,
11676
- er as addIssueAttachments,
11680
+ Qn as addIssueAttachments,
11677
11681
  lm as addIssueComment,
11678
11682
  Xp as addIssueCommentAttachment,
11679
11683
  Qp as addIssueCommentAttachments,
@@ -11683,7 +11687,7 @@ export {
11683
11687
  qm as addIssueTypeAttachments,
11684
11688
  cy as addIssueTypeFieldValues,
11685
11689
  By as addIssueTypeFieldValuesAttachment,
11686
- Sr as addIssueTypeFieldValuesAttachments,
11690
+ fr as addIssueTypeFieldValuesAttachments,
11687
11691
  dy as addIssueTypeFieldValuesMany,
11688
11692
  Ty as addIssueTypeFields,
11689
11693
  Km as addIssueTypeFieldsAttachment,
@@ -11698,9 +11702,9 @@ export {
11698
11702
  Lf as addIssueTypeStatus,
11699
11703
  Nf as addIssueTypeStatuses,
11700
11704
  vf as addIssueTypes,
11701
- kr as addIssueUpdate,
11702
- Br as addIssueUpdates,
11703
- dr as addIssues,
11705
+ vr as addIssueUpdate,
11706
+ kr as addIssueUpdates,
11707
+ cr as addIssues,
11704
11708
  qS as addOrganization,
11705
11709
  TS as addOrganizationAccess,
11706
11710
  IS as addOrganizationAccesses,
@@ -11708,7 +11712,7 @@ export {
11708
11712
  PO as addProcedure,
11709
11713
  bb as addProcedureFieldValues,
11710
11714
  lb as addProcedureFieldValuesAttachment,
11711
- va as addProcedureFieldValuesAttachments,
11715
+ Ea as addProcedureFieldValuesAttachments,
11712
11716
  _b as addProcedureFieldValuesMany,
11713
11717
  oO as addProcedureInitiative,
11714
11718
  uO as addProcedureInitiatives,
@@ -11725,13 +11729,13 @@ export {
11725
11729
  qT as addProcedureStepEvents,
11726
11730
  EI as addProcedureStepFieldValues,
11727
11731
  AI as addProcedureStepFieldValuesAttachment,
11728
- ma as addProcedureStepFieldValuesAttachments,
11732
+ pa as addProcedureStepFieldValuesAttachments,
11729
11733
  vI as addProcedureStepFieldValuesMany,
11730
11734
  LI as addProcedureStepFieldValuesReview,
11731
- Oa as addProcedureStepFieldValuesReviews,
11735
+ Aa as addProcedureStepFieldValuesReviews,
11732
11736
  aI as addProcedureStepFields,
11733
11737
  KT as addProcedureStepFieldsAttachment,
11734
- da as addProcedureStepFieldsAttachments,
11738
+ ca as addProcedureStepFieldsAttachments,
11735
11739
  cI as addProcedureStepFieldsMany,
11736
11740
  tP as addProcedureStepReviewer,
11737
11741
  sP as addProcedureStepReviewers,
@@ -11759,40 +11763,40 @@ export {
11759
11763
  Zb as addTeamMembership,
11760
11764
  Xb as addTeamMemberships,
11761
11765
  l_ as addTeams,
11762
- Vr as addUser,
11766
+ $r as addUser,
11763
11767
  hS as addUsers,
11764
11768
  jc as agentsReducer,
11765
- Yi as agentsSlice,
11769
+ Ki as agentsSlice,
11766
11770
  mM as areArraysEqual,
11767
11771
  Yc as assetAttachmentReducer,
11768
- Zi as assetAttachmentSlice,
11772
+ Ji as assetAttachmentSlice,
11769
11773
  dd as assetCommentReducer,
11770
- tn as assetCommentSlice,
11774
+ en as assetCommentSlice,
11771
11775
  Td as assetReducer,
11772
- sn as assetSlice,
11776
+ tn as assetSlice,
11773
11777
  kd as assetTypeAttachmentReducer,
11774
- an as assetTypeAttachmentSlice,
11778
+ rn as assetTypeAttachmentSlice,
11775
11779
  So as assetTypeFieldValuesAttachmentReducer,
11776
- pn as assetTypeFieldValuesAttachmentSlice,
11780
+ hn as assetTypeFieldValuesAttachmentSlice,
11777
11781
  Eo as assetTypeFieldValuesReducer,
11778
- Sn as assetTypeFieldValuesSlice,
11782
+ fn as assetTypeFieldValuesSlice,
11779
11783
  Hd as assetTypeFieldsAttachmentReducer,
11780
- un as assetTypeFieldsAttachmentSlice,
11784
+ on as assetTypeFieldsAttachmentSlice,
11781
11785
  no as assetTypeFieldsReducer,
11782
- hn as assetTypeFieldsSlice,
11786
+ ln as assetTypeFieldsSlice,
11783
11787
  Lo as assetTypeIdentifierReducer,
11784
- An as assetTypeIdentifierSlice,
11788
+ Sn as assetTypeIdentifierSlice,
11785
11789
  su as assetTypeIdentifierValueReducer,
11786
- Tn as assetTypeIdentifierValueSlice,
11790
+ On as assetTypeIdentifierValueSlice,
11787
11791
  yu as assetTypeReducer,
11788
- In as assetTypeSlice,
11792
+ Tn as assetTypeSlice,
11789
11793
  Fu as assetTypeStatusReducer,
11790
- bn as assetTypeStatusSlice,
11794
+ Pn as assetTypeStatusSlice,
11791
11795
  Rc as assetTypeStatusSortFn,
11792
11796
  Eu as authReducer,
11793
11797
  es as authSlice,
11794
11798
  Rw as baseReducer,
11795
- Ua as baseReducers,
11799
+ Ca as baseReducers,
11796
11800
  KM as clearTokens,
11797
11801
  _ as createModelAdapter,
11798
11802
  GS as createOfflineAction,
@@ -11800,15 +11804,15 @@ export {
11800
11804
  lM as createSelectionAdapter,
11801
11805
  pd as deleteAsset,
11802
11806
  Nc as deleteAssetAttachment,
11803
- Qi as deleteAssetAttachments,
11807
+ Xi as deleteAssetAttachments,
11804
11808
  sd as deleteAssetComment,
11805
11809
  Wt as deleteAssetComments,
11806
11810
  uu as deleteAssetType,
11807
11811
  wd as deleteAssetTypeAttachment,
11808
- dn as deleteAssetTypeAttachments,
11812
+ cn as deleteAssetTypeAttachments,
11809
11813
  Mo as deleteAssetTypeFieldValues,
11810
11814
  ho as deleteAssetTypeFieldValuesAttachment,
11811
- yn as deleteAssetTypeFieldValuesAttachments,
11815
+ mn as deleteAssetTypeFieldValuesAttachments,
11812
11816
  go as deleteAssetTypeFieldValuesMany,
11813
11817
  Qd as deleteAssetTypeFields,
11814
11818
  xd as deleteAssetTypeFieldsAttachment,
@@ -11821,7 +11825,7 @@ export {
11821
11825
  bu as deleteAssetTypeStatus,
11822
11826
  _u as deleteAssetTypeStatuses,
11823
11827
  lu as deleteAssetTypes,
11824
- rn as deleteAssets,
11828
+ nn as deleteAssets,
11825
11829
  kM as deleteConversation,
11826
11830
  BM as deleteConversations,
11827
11831
  Zu as deleteDocument,
@@ -11838,13 +11842,13 @@ export {
11838
11842
  ch as deleteFormRevision,
11839
11843
  Yl as deleteFormRevisionAttachment,
11840
11844
  Jl as deleteFormRevisionAttachments,
11841
- jn as deleteFormRevisions,
11845
+ qn as deleteFormRevisions,
11842
11846
  tp as deleteFormSubmission,
11843
11847
  Nh as deleteFormSubmissionAttachment,
11844
- Hn as deleteFormSubmissionAttachments,
11848
+ Nn as deleteFormSubmissionAttachments,
11845
11849
  ft as deleteFormSubmissions,
11846
11850
  Oh as deleteFormSubscriber,
11847
- xn as deleteFormSubscribers,
11851
+ Vn as deleteFormSubscribers,
11848
11852
  Bh as deleteForms,
11849
11853
  Ap as deleteGeoImage,
11850
11854
  Op as deleteGeoImages,
@@ -11852,7 +11856,7 @@ export {
11852
11856
  Ep as deleteIssueAssociation,
11853
11857
  Mt as deleteIssueAssociations,
11854
11858
  Hp as deleteIssueAttachment,
11855
- tr as deleteIssueAttachments,
11859
+ er as deleteIssueAttachments,
11856
11860
  Sm as deleteIssueComment,
11857
11861
  nm as deleteIssueCommentAttachment,
11858
11862
  rm as deleteIssueCommentAttachments,
@@ -11862,7 +11866,7 @@ export {
11862
11866
  Um as deleteIssueTypeAttachments,
11863
11867
  py as deleteIssueTypeFieldValues,
11864
11868
  $y as deleteIssueTypeFieldValuesAttachment,
11865
- Ar as deleteIssueTypeFieldValuesAttachments,
11869
+ Sr as deleteIssueTypeFieldValuesAttachments,
11866
11870
  my as deleteIssueTypeFieldValuesMany,
11867
11871
  gy as deleteIssueTypeFields,
11868
11872
  ey as deleteIssueTypeFieldsAttachment,
@@ -11877,9 +11881,9 @@ export {
11877
11881
  Yf as deleteIssueTypeStatus,
11878
11882
  Jf as deleteIssueTypeStatuses,
11879
11883
  jf as deleteIssueTypes,
11880
- zr as deleteIssueUpdate,
11881
- Dr as deleteIssueUpdates,
11882
- or as deleteIssues,
11884
+ Br as deleteIssueUpdate,
11885
+ zr as deleteIssueUpdates,
11886
+ dr as deleteIssues,
11883
11887
  VS as deleteOrganization,
11884
11888
  gS as deleteOrganizationAccess,
11885
11889
  wS as deleteOrganizationAccesses,
@@ -11887,7 +11891,7 @@ export {
11887
11891
  wO as deleteProcedure,
11888
11892
  Rb as deleteProcedureFieldValues,
11889
11893
  fb as deleteProcedureFieldValuesAttachment,
11890
- ka as deleteProcedureFieldValuesAttachments,
11894
+ va as deleteProcedureFieldValuesAttachments,
11891
11895
  Eb as deleteProcedureFieldValuesMany,
11892
11896
  yO as deleteProcedureInitiative,
11893
11897
  fO as deleteProcedureInitiatives,
@@ -11904,13 +11908,13 @@ export {
11904
11908
  UT as deleteProcedureStepEvents,
11905
11909
  qI as deleteProcedureStepFieldValues,
11906
11910
  bI as deleteProcedureStepFieldValuesAttachment,
11907
- ya as deleteProcedureStepFieldValuesAttachments,
11911
+ ma as deleteProcedureStepFieldValuesAttachments,
11908
11912
  jI as deleteProcedureStepFieldValuesMany,
11909
11913
  KI as deleteProcedureStepFieldValuesReview,
11910
- Ta as deleteProcedureStepFieldValuesReviews,
11914
+ Oa as deleteProcedureStepFieldValuesReviews,
11911
11915
  hI as deleteProcedureStepFields,
11912
11916
  QT as deleteProcedureStepFieldsAttachment,
11913
- oa as deleteProcedureStepFieldsAttachments,
11917
+ da as deleteProcedureStepFieldsAttachments,
11914
11918
  pI as deleteProcedureStepFieldsMany,
11915
11919
  cP as deleteProcedureStepReviewer,
11916
11920
  dP as deleteProcedureStepReviewers,
@@ -11938,51 +11942,51 @@ export {
11938
11942
  i_ as deleteTeamMembership,
11939
11943
  n_ as deleteTeamMemberships,
11940
11944
  S_ as deleteTeams,
11941
- xr as deleteUser,
11945
+ Vr as deleteUser,
11942
11946
  yS as deleteUsers,
11943
11947
  g_ as dequeue,
11944
11948
  E_ as discard,
11945
11949
  Lu as documentAttachmentReducer,
11946
- Mn as documentAttachmentSlice,
11947
- wn as documentSlice,
11950
+ _n as documentAttachmentSlice,
11951
+ gn as documentSlice,
11948
11952
  Qu as documentsReducer,
11949
11953
  yl as emailDomainsReducer,
11950
- Rn as emailDomainsSlice,
11954
+ Fn as emailDomainsSlice,
11951
11955
  gM as emailRegex,
11952
11956
  M_ as enqueue,
11953
11957
  WS as enqueueRequest,
11954
11958
  D_ as extractResponseFromError,
11955
11959
  f as fallbackToEmptyArray,
11956
11960
  Gi as fallbackToEmptyObject,
11957
- Pc as fetchBlobFromObjectUrl,
11958
- bc as fetchFileFromObjectUrl,
11961
+ Ic as fetchBlobFromObjectUrl,
11962
+ Pc as fetchFileFromObjectUrl,
11959
11963
  Fl as formIdentifierReducer,
11960
- vn as formIdentifierSlice,
11964
+ En as formIdentifierSlice,
11961
11965
  Cl as formIdentifierValueReducer,
11962
- Bn as formIdentifierValueSlice,
11966
+ kn as formIdentifierValueSlice,
11963
11967
  zh as formReducer,
11964
11968
  eh as formRevisionAttachmentReducer,
11965
- zn as formRevisionAttachmentSlice,
11969
+ Bn as formRevisionAttachmentSlice,
11966
11970
  hh as formRevisionReducer,
11967
- Dn as formRevisionsSlice,
11968
- Cn as formSlice,
11971
+ zn as formRevisionsSlice,
11972
+ xn as formSlice,
11969
11973
  Kh as formSubmissionAttachmentReducer,
11970
- Ln as formSubmissionAttachmentSlice,
11974
+ Un as formSubmissionAttachmentSlice,
11971
11975
  up as formSubmissionReducer,
11972
- Yn as formSubmissionSlice,
11976
+ Kn as formSubmissionSlice,
11973
11977
  _h as formSubscriberReducer,
11974
- $n as formSubscriberSlice,
11978
+ jn as formSubscriberSlice,
11975
11979
  bp as geoImageReducer,
11976
- Jn as geoImageSlice,
11980
+ Yn as geoImageSlice,
11977
11981
  C_ as getClientSDK,
11978
11982
  vt as getClientStore,
11979
11983
  kc as getDocumentSubTree,
11980
11984
  wM as getDocumentTrees,
11981
- Ic as getFileExtension,
11982
- Sc as getLocalDateString,
11985
+ Tc as getFileExtension,
11986
+ fc as getLocalDateString,
11983
11987
  fM as getLocalRelativeDateString,
11984
11988
  pt as getOutboxCoordinator,
11985
- wc as getPresignedUrlExpiryDate,
11989
+ gc as getPresignedUrlExpiryDate,
11986
11990
  AM as getRenamedFile,
11987
11991
  S as getRequestDescription,
11988
11992
  SM as getS3FileKey,
@@ -12059,123 +12063,123 @@ export {
12059
12063
  Jb as initializeTeamMemberships,
12060
12064
  o_ as initializeTeams,
12061
12065
  oS as initializeUsers,
12062
- Mc as isCloudfrontUrl,
12066
+ _c as isCloudfrontUrl,
12063
12067
  OM as isImageFile,
12064
- _c as isObjectUrl,
12065
- Fc as isPresignedUrlExpired,
12066
- gc as isS3Url,
12068
+ bc as isObjectUrl,
12069
+ wc as isPresignedUrlExpired,
12070
+ Mc as isS3Url,
12067
12071
  yM as isToday,
12068
12072
  $p as issueAssociationReducer,
12069
- Xn as issueAssociationSlice,
12073
+ Zn as issueAssociationSlice,
12070
12074
  Jp as issueAttachmentReducer,
12071
- Qn as issueAttachmentSlice,
12075
+ Xn as issueAttachmentSlice,
12072
12076
  om as issueCommentAttachmentReducer,
12073
- ir as issueCommentAttachmentSlice,
12077
+ sr as issueCommentAttachmentSlice,
12074
12078
  Im as issueCommentReducer,
12075
- rr as issueCommentSlice,
12079
+ nr as issueCommentSlice,
12076
12080
  Bm as issueReducer,
12077
- cr as issueSlice,
12081
+ ar as issueSlice,
12078
12082
  Gm as issueTypeAttachmentReducer,
12079
- ur as issueTypeAttachmentSlice,
12083
+ or as issueTypeAttachmentSlice,
12080
12084
  Ly as issueTypeFieldValuesAttachmentReducer,
12081
- fr as issueTypeFieldValuesAttachmentSlice,
12085
+ yr as issueTypeFieldValuesAttachmentSlice,
12082
12086
  Ay as issueTypeFieldValuesReducer,
12083
- mr as issueTypeFieldValuesSlice,
12087
+ pr as issueTypeFieldValuesSlice,
12084
12088
  ry as issueTypeFieldsAttachmentReducer,
12085
- hr as issueTypeFieldsAttachmentSlice,
12089
+ lr as issueTypeFieldsAttachmentSlice,
12086
12090
  vy as issueTypeFieldsReducer,
12087
- yr as issueTypeFieldsSlice,
12091
+ mr as issueTypeFieldsSlice,
12088
12092
  sf as issueTypeIdentifierReducer,
12089
- Tr as issueTypeIdentifierSlice,
12093
+ Or as issueTypeIdentifierSlice,
12090
12094
  ff as issueTypeIdentifierValueReducer,
12091
- Pr as issueTypeIdentifierValueSlice,
12095
+ Ir as issueTypeIdentifierValueSlice,
12092
12096
  Ff as issueTypePriorityReducer,
12093
- br as issueTypePrioritySlice,
12097
+ Pr as issueTypePrioritySlice,
12094
12098
  vc as issueTypePrioritySortFn,
12095
12099
  Cf as issueTypeReducer,
12096
- gr as issueTypeSlice,
12100
+ Mr as issueTypeSlice,
12097
12101
  Qf as issueTypeStatusReducer,
12098
- Fr as issueTypeStatusSlice,
12102
+ wr as issueTypeStatusSlice,
12099
12103
  Ec as issueTypeStatusSortFn,
12100
12104
  dS as issueUpdateReducer,
12101
- vr as issueUpdateSlice,
12105
+ Er as issueUpdateSlice,
12102
12106
  TM as logOnlyOnce,
12103
12107
  KS as markAsDeleted,
12104
12108
  zg as markForDeletion,
12105
12109
  Hi as memoize,
12106
12110
  FS as organizationAccessReducer,
12107
- Ur as organizationAccessSlice,
12111
+ Cr as organizationAccessSlice,
12108
12112
  HS as organizationReducer,
12109
- Lr as organizationSlice,
12113
+ Ur as organizationSlice,
12110
12114
  JS as outboxReducer,
12111
- Nr as outboxSlice,
12115
+ Lr as outboxSlice,
12112
12116
  vw as overmapEnhancer,
12113
12117
  Ew as overmapReducer,
12114
12118
  P_ as overmapReducers,
12115
- Ga as performRequest,
12119
+ Ha as performRequest,
12116
12120
  R_ as performRequestFromAction,
12117
12121
  Sb as procedureFieldValuesAttachmentReducer,
12118
- Ea as procedureFieldValuesAttachmentSlice,
12122
+ Ra as procedureFieldValuesAttachmentSlice,
12119
12123
  vb as procedureFieldValuesReducer,
12120
- za as procedureFieldValuesSlice,
12124
+ Ba as procedureFieldValuesSlice,
12121
12125
  SO as procedureInitiativeReducer,
12122
- Xr as procedureInitiativeSlice,
12126
+ Zr as procedureInitiativeSlice,
12123
12127
  FO as procedureReducer,
12124
- Qr as procedureSlice,
12128
+ Xr as procedureSlice,
12125
12129
  KO as procedureStepAssigneeReducer,
12126
- ea as procedureStepAssigneeSlice,
12130
+ Qr as procedureStepAssigneeSlice,
12127
12131
  cT as procedureStepCommentReducer,
12128
- ta as procedureStepCommentSlice,
12132
+ ea as procedureStepCommentSlice,
12129
12133
  TT as procedureStepDefaultAssigneeReducer,
12130
- sa as procedureStepDefaultAssigneeSlice,
12134
+ ta as procedureStepDefaultAssigneeSlice,
12131
12135
  BT as procedureStepDefaultReviewerReducer,
12132
- na as procedureStepDefaultReviewerSlice,
12136
+ ia as procedureStepDefaultReviewerSlice,
12133
12137
  GT as procedureStepEventReducer,
12134
- aa as procedureStepEventSlice,
12138
+ ra as procedureStepEventSlice,
12135
12139
  FI as procedureStepFieldValuesAttachmentReducer,
12136
- pa as procedureStepFieldValuesAttachmentSlice,
12140
+ ha as procedureStepFieldValuesAttachmentSlice,
12137
12141
  $I as procedureStepFieldValuesReducer,
12138
12142
  QI as procedureStepFieldValuesReviewReducer,
12139
- Aa as procedureStepFieldValuesReviewSlice,
12140
- Sa as procedureStepFieldValuesSlice,
12143
+ Sa as procedureStepFieldValuesReviewSlice,
12144
+ fa as procedureStepFieldValuesSlice,
12141
12145
  nI as procedureStepFieldsAttachmentReducer,
12142
- ca as procedureStepFieldsAttachmentSlice,
12146
+ aa as procedureStepFieldsAttachmentSlice,
12143
12147
  fI as procedureStepFieldsReducer,
12144
- la as procedureStepFieldsSlice,
12148
+ ua as procedureStepFieldsSlice,
12145
12149
  PP as procedureStepReducer,
12146
12150
  hP as procedureStepReviewerReducer,
12147
- Ia as procedureStepReviewerSlice,
12148
- Pa as procedureStepSlice,
12151
+ Ta as procedureStepReviewerSlice,
12152
+ Ia as procedureStepSlice,
12149
12153
  zP as procedureTypeAttachmentReducer,
12150
- Ma as procedureTypeAttachmentSlice,
12154
+ _a as procedureTypeAttachmentSlice,
12151
12155
  WP as procedureTypeFieldsAttachmentReducer,
12152
- wa as procedureTypeFieldsAttachmentSlice,
12156
+ ga as procedureTypeFieldsAttachmentSlice,
12153
12157
  ab as procedureTypeFieldsReducer,
12154
- Ra as procedureTypeFieldsSlice,
12158
+ Fa as procedureTypeFieldsSlice,
12155
12159
  Nb as procedureTypeReducer,
12156
- qa as procedureTypeSlice,
12160
+ Da as procedureTypeSlice,
12157
12161
  aA as projectAccessReducer,
12158
- Hr as projectAccessSlice,
12162
+ Nr as projectAccessSlice,
12159
12163
  IA as projectAttachmentReducer,
12160
- Wr as projectAttachmentSlice,
12164
+ Gr as projectAttachmentSlice,
12161
12165
  zA as projectCommentReducer,
12162
- Yr as projectCommentSlice,
12166
+ Kr as projectCommentSlice,
12163
12167
  KA as projectFileReducer,
12164
- Jr as projectFileSlice,
12168
+ Yr as projectFileSlice,
12165
12169
  nO as projectReducer,
12166
- Zr as projectSlice,
12170
+ Jr as projectSlice,
12167
12171
  Yb as rehydratedReducer,
12168
- $a as rehydratedSlice,
12172
+ ja as rehydratedSlice,
12169
12173
  m as restructureSelectorWithArgs,
12170
12174
  G_ as runMiddleware,
12171
12175
  YM as selectAccessToken,
12172
12176
  qg as selectAccessesByUserOfProject,
12173
12177
  Cg as selectAccessibleProjects,
12174
12178
  Eg as selectActiveOrganizationAccess,
12175
- gn as selectAllDocumentAttachments,
12179
+ Mn as selectAllDocumentAttachments,
12176
12180
  Gc as selectAssetAttachmentById,
12177
12181
  Hc as selectAssetAttachmentMapping,
12178
- en as selectAssetAttachments,
12182
+ Qi as selectAssetAttachments,
12179
12183
  Wc as selectAssetAttachmentsByIds,
12180
12184
  Ad as selectAssetById,
12181
12185
  nd as selectAssetCommentById,
@@ -12184,12 +12188,12 @@ export {
12184
12188
  rd as selectAssetCommentsByIds,
12185
12189
  Rd as selectAssetTypeAttachmentById,
12186
12190
  Fd as selectAssetTypeAttachmentMapping,
12187
- on as selectAssetTypeAttachments,
12191
+ dn as selectAssetTypeAttachments,
12188
12192
  Ed as selectAssetTypeAttachmentsByIds,
12189
12193
  pu as selectAssetTypeById,
12190
12194
  Xt as selectAssetTypeFieldValues,
12191
12195
  mo as selectAssetTypeFieldValuesAttachmentById,
12192
- fn as selectAssetTypeFieldValuesAttachments,
12196
+ yn as selectAssetTypeFieldValuesAttachments,
12193
12197
  yo as selectAssetTypeFieldValuesAttachmentsByIds,
12194
12198
  po as selectAssetTypeFieldValuesAttachmentsMapping,
12195
12199
  Fo as selectAssetTypeFieldValuesById,
@@ -12198,7 +12202,7 @@ export {
12198
12202
  xM as selectAssetTypeFieldValuesOfAsset,
12199
12203
  Bt as selectAssetTypeFields,
12200
12204
  Ld as selectAssetTypeFieldsAttachmentById,
12201
- ln as selectAssetTypeFieldsAttachments,
12205
+ un as selectAssetTypeFieldsAttachments,
12202
12206
  Nd as selectAssetTypeFieldsAttachmentsByIds,
12203
12207
  Ud as selectAssetTypeFieldsAttachmentsMapping,
12204
12208
  so as selectAssetTypeFieldsById,
@@ -12213,16 +12217,16 @@ export {
12213
12217
  tu as selectAssetTypeIdentifierValuesByIds,
12214
12218
  LM as selectAssetTypeIdentifierValuesOfAsset,
12215
12219
  NM as selectAssetTypeIdentifierValuesOfIdentifier,
12216
- On as selectAssetTypeIdentifiers,
12220
+ An as selectAssetTypeIdentifiers,
12217
12221
  Uo as selectAssetTypeIdentifiersByIds,
12218
12222
  UM as selectAssetTypeIdentifiersOfAssetType,
12219
12223
  gu as selectAssetTypeStatusById,
12220
12224
  Mu as selectAssetTypeStatusMapping,
12221
- _n as selectAssetTypeStatuses,
12225
+ bn as selectAssetTypeStatuses,
12222
12226
  wu as selectAssetTypeStatusesByIds,
12223
12227
  GM as selectAssetTypeStatusesOfAssetType,
12224
12228
  CM as selectAssetTypeValuesOfAssetType,
12225
- Pn as selectAssetTypes,
12229
+ In as selectAssetTypes,
12226
12230
  mu as selectAssetTypesByIds,
12227
12231
  hu as selectAssetTypesMapping,
12228
12232
  HM as selectAssetTypesOfOrganization,
@@ -12255,7 +12259,7 @@ export {
12255
12259
  Vg as selectCommentsOfProject,
12256
12260
  xg as selectCommentsOfProjects,
12257
12261
  DM as selectConversation,
12258
- Ji as selectConversationMapping,
12262
+ Yi as selectConversationMapping,
12259
12263
  zM as selectConversations,
12260
12264
  SS as selectCurrentUser,
12261
12265
  kg as selectDeletedRequests,
@@ -12266,9 +12270,9 @@ export {
12266
12270
  el as selectDocumentById,
12267
12271
  ts as selectDocuments,
12268
12272
  tl as selectDocumentsByIds,
12269
- Fn as selectDocumentsMapping,
12273
+ wn as selectDocumentsMapping,
12270
12274
  pl as selectEmailDomainById,
12271
- En as selectEmailDomains,
12275
+ Rn as selectEmailDomains,
12272
12276
  hl as selectEmailDomainsAsMapping,
12273
12277
  ml as selectEmailDomainsByIds,
12274
12278
  eg as selectEmailDomainsOfOrganization,
@@ -12282,7 +12286,7 @@ export {
12282
12286
  xl as selectFormIdentifierValuesByIds,
12283
12287
  sg as selectFormIdentifierValuesOfFormSubmission,
12284
12288
  ig as selectFormIdentifierValuesOfIdentifier,
12285
- kn as selectFormIdentifiers,
12289
+ vn as selectFormIdentifiers,
12286
12290
  wl as selectFormIdentifiersByIds,
12287
12291
  tg as selectFormIdentifiersOfForm,
12288
12292
  Dh as selectFormMapping,
@@ -12295,11 +12299,11 @@ export {
12295
12299
  ns as selectFormRevisions,
12296
12300
  uh as selectFormRevisionsByIds,
12297
12301
  lh as selectFormRevisionsOfForm,
12298
- Kn as selectFormSubmissionAttachemntsByIds,
12302
+ Wn as selectFormSubmissionAttachemntsByIds,
12299
12303
  Hh as selectFormSubmissionAttachmentById,
12300
- Wn as selectFormSubmissionAttachments,
12304
+ Gn as selectFormSubmissionAttachments,
12301
12305
  Gh as selectFormSubmissionAttachmentsByIds,
12302
- Gn as selectFormSubmissionAttachmentsMapping,
12306
+ Hn as selectFormSubmissionAttachmentsMapping,
12303
12307
  ip as selectFormSubmissionById,
12304
12308
  H as selectFormSubmissions,
12305
12309
  np as selectFormSubmissionsByIds,
@@ -12319,12 +12323,12 @@ export {
12319
12323
  Ph as selectFormSubscribersByIds,
12320
12324
  bh as selectFormSubscribersOfForm,
12321
12325
  ag as selectFormSubscribersOfUser,
12322
- Un as selectForms,
12326
+ Cn as selectForms,
12323
12327
  jh as selectFormsByIds,
12324
12328
  cg as selectFormsOfOrganization,
12325
12329
  Ip as selectGeoImageById,
12326
12330
  Tp as selectGeoImageMapping,
12327
- Zn as selectGeoImages,
12331
+ Jn as selectGeoImages,
12328
12332
  Pp as selectGeoImagesByIds,
12329
12333
  hg as selectGeoImagesOfProject,
12330
12334
  JM as selectIsLoggedIn,
@@ -12338,25 +12342,25 @@ export {
12338
12342
  zp as selectIssueAssociationsOfIssues,
12339
12343
  Kp as selectIssueAttachmentById,
12340
12344
  Gp as selectIssueAttachmentMapping,
12341
- sr as selectIssueAttachments,
12345
+ tr as selectIssueAttachments,
12342
12346
  Yp as selectIssueAttachmentsByIds,
12343
12347
  Em as selectIssueById,
12344
12348
  cm as selectIssueCommentAttachmentById,
12345
12349
  am as selectIssueCommentAttachmentMapping,
12346
- nr as selectIssueCommentAttachments,
12350
+ ir as selectIssueCommentAttachments,
12347
12351
  dm as selectIssueCommentAttachmentsByIds,
12348
12352
  Om as selectIssueCommentById,
12349
- ar as selectIssueCommentMapping,
12353
+ rr as selectIssueCommentMapping,
12350
12354
  Tm as selectIssueCommentsByIds,
12351
12355
  Rm as selectIssueMapping,
12352
12356
  Nm as selectIssueTypeAttachmentById,
12353
12357
  Lm as selectIssueTypeAttachmentMapping,
12354
- lr as selectIssueTypeAttachments,
12358
+ ur as selectIssueTypeAttachments,
12355
12359
  Hm as selectIssueTypeAttachmentsByIds,
12356
12360
  Vf as selectIssueTypeById,
12357
12361
  cs as selectIssueTypeFieldValues,
12358
12362
  xy as selectIssueTypeFieldValuesAttachmentById,
12359
- Or as selectIssueTypeFieldValuesAttachments,
12363
+ Ar as selectIssueTypeFieldValuesAttachments,
12360
12364
  Cy as selectIssueTypeFieldValuesAttachmentsByIds,
12361
12365
  Vy as selectIssueTypeFieldValuesAttachmentsMapping,
12362
12366
  fy as selectIssueTypeFieldValuesById,
@@ -12365,7 +12369,7 @@ export {
12365
12369
  Ag as selectIssueTypeFieldValuesOfIssue,
12366
12370
  zt as selectIssueTypeFields,
12367
12371
  iy as selectIssueTypeFieldsAttachmentById,
12368
- pr as selectIssueTypeFieldsAttachments,
12372
+ hr as selectIssueTypeFieldsAttachments,
12369
12373
  ny as selectIssueTypeFieldsAttachmentsByIds,
12370
12374
  sy as selectIssueTypeFieldsAttachmentsMapping,
12371
12375
  Ry as selectIssueTypeFieldsById,
@@ -12380,27 +12384,27 @@ export {
12380
12384
  yf as selectIssueTypeIdentifierValuesByIds,
12381
12385
  _g as selectIssueTypeIdentifierValuesOfIdentifier,
12382
12386
  bg as selectIssueTypeIdentifierValuesOfIssue,
12383
- Ir as selectIssueTypeIdentifiers,
12387
+ Tr as selectIssueTypeIdentifiers,
12384
12388
  tf as selectIssueTypeIdentifiersByIds,
12385
12389
  Pg as selectIssueTypeIdentifiersOfIssueType,
12386
12390
  $f as selectIssueTypeMapping,
12387
- _r as selectIssueTypePriorities,
12391
+ br as selectIssueTypePriorities,
12388
12392
  wf as selectIssueTypePrioritiesByIds,
12389
12393
  Mg as selectIssueTypePrioritiesOfIssueType,
12390
- Mr as selectIssueTypePriorityById,
12394
+ _r as selectIssueTypePriorityById,
12391
12395
  gf as selectIssueTypePriorityMapping,
12392
- Er as selectIssueTypeStatusById,
12396
+ Rr as selectIssueTypeStatusById,
12393
12397
  Zf as selectIssueTypeStatusMapping,
12394
- Rr as selectIssueTypeStatuses,
12398
+ Fr as selectIssueTypeStatuses,
12395
12399
  Xf as selectIssueTypeStatusesByIds,
12396
12400
  wg as selectIssueTypeStatusesOfIssueType,
12397
12401
  Ig as selectIssueTypeValuesOfIssueType,
12398
- wr as selectIssueTypes,
12402
+ gr as selectIssueTypes,
12399
12403
  xf as selectIssueTypesByIds,
12400
12404
  gg as selectIssueTypesOfOrganization,
12401
12405
  rS as selectIssueUpdateById,
12402
- qr as selectIssueUpdateMapping,
12403
- jr as selectIssueUpdates,
12406
+ Dr as selectIssueUpdateMapping,
12407
+ qr as selectIssueUpdates,
12404
12408
  aS as selectIssueUpdatesByIds,
12405
12409
  cS as selectIssueUpdatesOfIssue,
12406
12410
  as as selectIssues,
@@ -12427,9 +12431,9 @@ export {
12427
12431
  NS as selectOrganizationsByIds,
12428
12432
  CS as selectOrganizationsMapping,
12429
12433
  EO as selectProcedureById,
12430
- Da as selectProcedureFieldValues,
12434
+ za as selectProcedureFieldValues,
12431
12435
  Ob as selectProcedureFieldValuesAttachmentById,
12432
- Ba as selectProcedureFieldValuesAttachments,
12436
+ ka as selectProcedureFieldValuesAttachments,
12433
12437
  Tb as selectProcedureFieldValuesAttachmentsByIds,
12434
12438
  Ab as selectProcedureFieldValuesAttachmentsMapping,
12435
12439
  Bb as selectProcedureFieldValuesById,
@@ -12457,12 +12461,12 @@ export {
12457
12461
  Zg as selectProcedureStepCommentsOfProcedureAndProcedureStep,
12458
12462
  Jg as selectProcedureStepCommentsOfProcedureStep,
12459
12463
  AT as selectProcedureStepDefaultAssigneeById,
12460
- ia as selectProcedureStepDefaultAssignees,
12464
+ sa as selectProcedureStepDefaultAssignees,
12461
12465
  OT as selectProcedureStepDefaultAssigneesByIds,
12462
12466
  ST as selectProcedureStepDefaultAssigneesMapping,
12463
12467
  Xg as selectProcedureStepDefaultAssigneesOfProcedureStep,
12464
12468
  vT as selectProcedureStepDefaultReviewerById,
12465
- ra as selectProcedureStepDefaultReviewers,
12469
+ na as selectProcedureStepDefaultReviewers,
12466
12470
  kT as selectProcedureStepDefaultReviewersByIds,
12467
12471
  ET as selectProcedureStepDefaultReviewersMapping,
12468
12472
  Qg as selectProcedureStepDefaultReviewersOfProcedureStep,
@@ -12475,7 +12479,7 @@ export {
12475
12479
  tw as selectProcedureStepEventsOfProcedureStep,
12476
12480
  At as selectProcedureStepFieldValues,
12477
12481
  MI as selectProcedureStepFieldValuesAttachmentById,
12478
- fa as selectProcedureStepFieldValuesAttachments,
12482
+ ya as selectProcedureStepFieldValuesAttachments,
12479
12483
  gI as selectProcedureStepFieldValuesAttachmentsByIds,
12480
12484
  _I as selectProcedureStepFieldValuesAttachmentsMapping,
12481
12485
  xI as selectProcedureStepFieldValuesById,
@@ -12492,12 +12496,12 @@ export {
12492
12496
  lw as selectProcedureStepFieldValuesReviewsOfProcedureAndProcedureStep,
12493
12497
  ys as selectProcedureStepFields,
12494
12498
  sI as selectProcedureStepFieldsAttachmentById,
12495
- ua as selectProcedureStepFieldsAttachments,
12499
+ oa as selectProcedureStepFieldsAttachments,
12496
12500
  iI as selectProcedureStepFieldsAttachmentsByIds,
12497
12501
  eI as selectProcedureStepFieldsAttachmentsMapping,
12498
12502
  mI as selectProcedureStepFieldsById,
12499
12503
  yI as selectProcedureStepFieldsByIds,
12500
- ha as selectProcedureStepFieldsMapping,
12504
+ la as selectProcedureStepFieldsMapping,
12501
12505
  iw as selectProcedureStepFieldsOfProcedureStep,
12502
12506
  uP as selectProcedureStepReviewerById,
12503
12507
  Vt as selectProcedureStepReviewers,
@@ -12506,26 +12510,26 @@ export {
12506
12510
  pw as selectProcedureStepReviewersOfProcedure,
12507
12511
  yw as selectProcedureStepReviewersOfProcedureAndProcedureStep,
12508
12512
  mw as selectProcedureStepReviewersOfProcedureStep,
12509
- _a as selectProcedureSteps,
12513
+ ba as selectProcedureSteps,
12510
12514
  _P as selectProcedureStepsByIds,
12511
- ba as selectProcedureStepsMapping,
12515
+ Pa as selectProcedureStepsMapping,
12512
12516
  fw as selectProcedureStepsMappingOfProcedureType,
12513
12517
  Sw as selectProcedureStepsOfProcedureType,
12514
12518
  qP as selectProcedureTypeAttachmentById,
12515
12519
  DP as selectProcedureTypeAttachmentMapping,
12516
- ga as selectProcedureTypeAttachments,
12520
+ Ma as selectProcedureTypeAttachments,
12517
12521
  jP as selectProcedureTypeAttachmentsByIds,
12518
12522
  Gb as selectProcedureTypeById,
12519
12523
  fs as selectProcedureTypeFields,
12520
12524
  YP as selectProcedureTypeFieldsAttachmentById,
12521
- Fa as selectProcedureTypeFieldsAttachments,
12525
+ wa as selectProcedureTypeFieldsAttachments,
12522
12526
  JP as selectProcedureTypeFieldsAttachmentsByIds,
12523
12527
  KP as selectProcedureTypeFieldsAttachmentsMapping,
12524
12528
  db as selectProcedureTypeFieldsById,
12525
12529
  ob as selectProcedureTypeFieldsByIds,
12526
12530
  cb as selectProcedureTypeFieldsMapping,
12527
12531
  Tw as selectProcedureTypeFieldsOfProcedureType,
12528
- ja as selectProcedureTypes,
12532
+ qa as selectProcedureTypes,
12529
12533
  Wb as selectProcedureTypesByIds,
12530
12534
  Hb as selectProcedureTypesMapping,
12531
12535
  bw as selectProcedureTypesOfOrganization,
@@ -12538,13 +12542,13 @@ export {
12538
12542
  kO as selectProceduresOfProcedureType,
12539
12543
  Hg as selectProceduresOfProject,
12540
12544
  cA as selectProjectAccessById,
12541
- Gr as selectProjectAccessMapping,
12545
+ Hr as selectProjectAccessMapping,
12542
12546
  Dt as selectProjectAccesses,
12543
12547
  dA as selectProjectAccessesByIds,
12544
12548
  Dg as selectProjectAccessesOfProject,
12545
12549
  OA as selectProjectAttachmentById,
12546
12550
  AA as selectProjectAttachmentMapping,
12547
- Kr as selectProjectAttachments,
12551
+ Wr as selectProjectAttachments,
12548
12552
  TA as selectProjectAttachmentsByIds,
12549
12553
  aO as selectProjectById,
12550
12554
  kA as selectProjectCommentById,
@@ -12567,14 +12571,14 @@ export {
12567
12571
  Ss as selectTeamMemberships,
12568
12572
  d_ as selectTeamMembershipsByIds,
12569
12573
  a_ as selectTeamMembershipsMapping,
12570
- Ca as selectTeams,
12574
+ xa as selectTeams,
12571
12575
  T_ as selectTeamsByIds,
12572
12576
  A_ as selectTeamsMapping,
12573
12577
  Fw as selectTeamsOfOrganization,
12574
12578
  us as selectUserById,
12575
12579
  os as selectUsers,
12576
12580
  AS as selectUsersByIds,
12577
- Cr as selectUsersMapping,
12581
+ xr as selectUsersMapping,
12578
12582
  vg as selectUsersOfOrganization,
12579
12583
  jg as selectUsersOfProject,
12580
12584
  ww as selectUsersOfTeam,
@@ -12732,9 +12736,9 @@ export {
12732
12736
  bM as spacesToDashesLower,
12733
12737
  Rt as submittedAtModelSortFn,
12734
12738
  r_ as teamMembershipReducer,
12735
- Va as teamMembershipSlice,
12739
+ $a as teamMembershipSlice,
12736
12740
  I_ as teamReducer,
12737
- xa as teamSlice,
12741
+ Va as teamSlice,
12738
12742
  PM as toFileNameSafeString,
12739
12743
  E as toUuidArray,
12740
12744
  IM as toUuidIdRecord,
@@ -12883,8 +12887,8 @@ export {
12883
12887
  pS as updateUsers,
12884
12888
  hM as useSelectorBuilder,
12885
12889
  fS as userReducer,
12886
- $r as userSlice,
12890
+ jr as userSlice,
12887
12891
  I as uuidObj,
12888
12892
  mt as uuidObjSortFn,
12889
- Wi as uuidSortFn
12893
+ Fc as uuidSortFn
12890
12894
  };