@regulaforensics/idv-gui 3.10.655-nightly → 3.10.689

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.
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, r = Object.prototype.hasOwnProperty, i = (e, t, n) => () => {
3
3
  if (n) throw n[0];
4
4
  try {
@@ -20,8 +20,7 @@ var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.g
20
20
  });
21
21
  return i;
22
22
  }, c = (t) => r.call(t, "module.exports") ? t["module.exports"] : s(e({}, "__esModule", { value: !0 }), t);
23
- //#endregion
24
- //#region ../../node_modules/preact/dist/preact.module.js
23
+ // ../../node_modules/preact/dist/preact.module.js
25
24
  function l(e, t) {
26
25
  for (var n in t) e[n] = t[n];
27
26
  return e;
@@ -311,8 +310,7 @@ var le, M, ue, de, fe, pe, me, he, ge, _e, ve, ye, be, xe, Se, Ce, we, Te, Ee, D
311
310
  return e.__v.__b - t.__v.__b;
312
311
  }, b.__r = 0, he = Math.random().toString(8), ge = "__d" + he, _e = "__a" + he, ve = /(PointerCapture)$|Capture$/i, ye = 0, be = ee(!1), xe = ee(!0), Se = 0;
313
312
  }));
314
- //#endregion
315
- //#region ../../node_modules/preact/hooks/dist/hooks.module.js
313
+ // ../../node_modules/preact/hooks/dist/hooks.module.js
316
314
  function Oe(e, t) {
317
315
  I.__h && I.__h(F, e, Je || t), Je = 0;
318
316
  var n = F.__H || (F.__H = {
@@ -490,8 +488,7 @@ var Ge, F, Ke, qe, Je, Ye, I, Xe, Ze, Qe, $e, et, tt, nt, L = i((() => {
490
488
  }), n.__H = void 0, t && I.__e(t, n.__v));
491
489
  }, nt = typeof requestAnimationFrame == "function";
492
490
  }));
493
- //#endregion
494
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
491
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/typeof.js
495
492
  L();
496
493
  function rt(e) {
497
494
  "@babel/helpers - typeof";
@@ -501,8 +498,7 @@ function rt(e) {
501
498
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
502
499
  }, rt(e);
503
500
  }
504
- //#endregion
505
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
501
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/toPrimitive.js
506
502
  function it(e, t) {
507
503
  if (rt(e) != "object" || !e) return e;
508
504
  var n = e[Symbol.toPrimitive];
@@ -513,14 +509,12 @@ function it(e, t) {
513
509
  }
514
510
  return (t === "string" ? String : Number)(e);
515
511
  }
516
- //#endregion
517
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
512
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/toPropertyKey.js
518
513
  function at(e) {
519
514
  var t = it(e, "string");
520
515
  return rt(t) == "symbol" ? t : t + "";
521
516
  }
522
- //#endregion
523
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
517
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/defineProperty.js
524
518
  function ot(e, t, n) {
525
519
  return (t = at(t)) in e ? Object.defineProperty(e, t, {
526
520
  value: n,
@@ -529,8 +523,7 @@ function ot(e, t, n) {
529
523
  writable: !0
530
524
  }) : e[t] = n, e;
531
525
  }
532
- //#endregion
533
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectSpread2.js
526
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/objectSpread2.js
534
527
  function st(e, t) {
535
528
  var n = Object.keys(e);
536
529
  if (Object.getOwnPropertySymbols) {
@@ -552,8 +545,7 @@ function R(e) {
552
545
  }
553
546
  return e;
554
547
  }
555
- //#endregion
556
- //#region ../interfaces-idv/src/index.ts
548
+ // ../interfaces-idv/src/index.ts
557
549
  var ct = class e {
558
550
  constructor({ errorCode: e, errorCodeKey: t, message: n, underlyingError: r, underlyingBaseError: i, domain: a, module: o, errorEnumName: s, shortDomainCode: c }) {
559
551
  this.errorCode = e, this.errorCodeKey = t, this.message = n, this.underlyingError = r, this.underlyingBaseError = i, this.module = o, this.domain = a, this.errorEnumName = s, this.shortDomainCode = c;
@@ -610,8 +602,7 @@ var dt = {
610
602
  let n = e ? (t = e.substring(0, 2)) == null ? void 0 : t.toLowerCase() : "";
611
603
  return pt.includes(n) ? "rtl" : "ltr";
612
604
  };
613
- //#endregion
614
- //#region ../../node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
605
+ // ../../node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
615
606
  De();
616
607
  var ht = 0;
617
608
  Array.isArray;
@@ -639,8 +630,7 @@ function z(e, t, n, r, i, a) {
639
630
  if (typeof e == "function" && (o = e.defaultProps)) for (s in o) c[s] === void 0 && (c[s] = o[s]);
640
631
  return M.vnode && M.vnode(l), l;
641
632
  }
642
- //#endregion
643
- //#region src/context/index.tsx
633
+ // src/context/index.tsx
644
634
  De();
645
635
  var gt = ce(void 0), _t = ({ perform: e, children: t, setIsProcessingCallback: n, devSettings: r, failedAssets: i, layoutDirection: a }) => /* @__PURE__ */ z(gt.Provider, {
646
636
  value: {
@@ -681,8 +671,7 @@ var gt = ce(void 0), _t = ({ perform: e, children: t, setIsProcessingCallback: n
681
671
  alignItems: "center",
682
672
  alignContent: "center"
683
673
  };
684
- //#endregion
685
- //#region src/components/icons/spinner/index.tsx
674
+ // src/components/icons/spinner/index.tsx
686
675
  L();
687
676
  var wt = ({ dataUrl: e, isFullSize: t = !1 }) => {
688
677
  let n = je(null);
@@ -769,8 +758,7 @@ var wt = ({ dataUrl: e, isFullSize: t = !1 }) => {
769
758
  RIGHT: "RIGHT",
770
759
  END: "END"
771
760
  };
772
- //#endregion
773
- //#region src/utils/ui-helpers.tsx
761
+ // src/utils/ui-helpers.tsx
774
762
  function It(e) {
775
763
  let t = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, n = [], r = 0;
776
764
  for (let a of e.matchAll(t)) {
@@ -948,8 +936,7 @@ var Vt = (e, t) => !!(e.base64 && !(t != null && t.base64.has(e.base64)) || e.im
948
936
  FILES_NOT_SELECTED: "files_not_selected",
949
937
  FILES_LIMIT_EXCEEDED: "files_limit_exceeded"
950
938
  };
951
- //#endregion
952
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/asyncToGenerator.js
939
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/asyncToGenerator.js
953
940
  function tn(e, t, n, r, i, a, o) {
954
941
  try {
955
942
  var s = e[a](o), c = s.value;
@@ -974,8 +961,7 @@ function V(e) {
974
961
  });
975
962
  };
976
963
  }
977
- //#endregion
978
- //#region src/utils/index.ts
964
+ // src/utils/index.ts
979
965
  function nn(e) {
980
966
  return e === Et.CENTER ? "center" : e === Et.RIGHT || e === Et.END ? "end" : "start";
981
967
  }
@@ -1033,8 +1019,7 @@ var cn = (e, t) => e.reduce((e, n) => {
1033
1019
  return e.apply(this, arguments);
1034
1020
  };
1035
1021
  }(), dn = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4);
1036
- //#endregion
1037
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutPropertiesLoose.js
1022
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/objectWithoutPropertiesLoose.js
1038
1023
  function fn(e, t) {
1039
1024
  if (e == null) return {};
1040
1025
  var n = {};
@@ -1044,8 +1029,7 @@ function fn(e, t) {
1044
1029
  }
1045
1030
  return n;
1046
1031
  }
1047
- //#endregion
1048
- //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutProperties.js
1032
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/objectWithoutProperties.js
1049
1033
  function pn(e, t) {
1050
1034
  if (e == null) return {};
1051
1035
  var n, r, i = fn(e, t);
@@ -1055,8 +1039,7 @@ function pn(e, t) {
1055
1039
  }
1056
1040
  return i;
1057
1041
  }
1058
- //#endregion
1059
- //#region src/components/image/index.tsx
1042
+ // src/components/image/index.tsx
1060
1043
  L();
1061
1044
  var mn = ["isFullSize"], U = (e) => {
1062
1045
  let { isFullSize: t = !1 } = e, n = pn(e, mn), { failedAssets: r } = xt(), i = Ht(n, r), [a, o] = N(0), s = i[a];
@@ -1125,8 +1108,7 @@ var mn = ["isFullSize"], U = (e) => {
1125
1108
  children: /* @__PURE__ */ z(U, R({}, e))
1126
1109
  })
1127
1110
  });
1128
- //#endregion
1129
- //#region src/components/header/components/close-button/index.tsx
1111
+ // src/components/header/components/close-button/index.tsx
1130
1112
  L();
1131
1113
  var gn = {
1132
1114
  display: "flex",
@@ -1205,8 +1187,7 @@ var gn = {
1205
1187
  children: h
1206
1188
  });
1207
1189
  };
1208
- //#endregion
1209
- //#region src/hooks/useButtonInteractionState.ts
1190
+ // src/hooks/useButtonInteractionState.ts
1210
1191
  L();
1211
1192
  var yn = () => {
1212
1193
  let [e, t] = N(!1), [n, r] = N(!1);
@@ -1388,8 +1369,7 @@ var yn = () => {
1388
1369
  },
1389
1370
  children: e && Lt(e)
1390
1371
  });
1391
- //#endregion
1392
- //#region src/screens/status-screen/index.tsx
1372
+ // src/screens/status-screen/index.tsx
1393
1373
  L();
1394
1374
  var En = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
1395
1375
  let c = je(null), l = je(null), [u, d] = N(!1);
@@ -1579,8 +1559,7 @@ var En = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
1579
1559
  }),
1580
1560
  children: e.map((t, n) => /* @__PURE__ */ z(Mn, R({ isLastChild: n === e.length - 1 }, t), n))
1581
1561
  });
1582
- //#endregion
1583
- //#region src/screens/details-screen/index.tsx
1562
+ // src/screens/details-screen/index.tsx
1584
1563
  L();
1585
1564
  var Fn = ({ title: e, header: t, footer: n, details: r, buttons: i, backgroundColor: a, backgroundImage: o }) => {
1586
1565
  let s = je(null), [c, l] = N(!1);
@@ -2038,8 +2017,7 @@ var dr, fr, pr, mr, hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Tr, Er, Dr, Or, kr,
2038
2017
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: jr
2039
2018
  };
2040
2019
  }));
2041
- //#endregion
2042
- //#region ../../node_modules/react-hook-form/dist/index.esm.mjs
2020
+ // ../../node_modules/react-hook-form/dist/index.esm.mjs
2043
2021
  Ir();
2044
2022
  var Lr = ["_f"], Rr = ["name"], zr = ["_f"], Br = [
2045
2023
  "ref",
@@ -2185,7 +2163,7 @@ function gi(e) {
2185
2163
  a,
2186
2164
  r
2187
2165
  ]);
2188
- li(() => ((d.current !== n || !hi(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
2166
+ li(() => (d.current === n && hi(f.current, r) || (d.current = n, f.current = r, g()), n._subscribe({
2189
2167
  name: r,
2190
2168
  formState: { values: !0 },
2191
2169
  exact: o,
@@ -2869,7 +2847,7 @@ function pa(e = {}) {
2869
2847
  if (o) {
2870
2848
  let n = o._f;
2871
2849
  n && (!n.disabled && X(a, e, Ui(t, n)), s = Oi(n.ref) && Wr(t) ? "" : t, ki(n.ref) ? [...n.ref.options].forEach((e) => e.selected = s.includes(e.value)) : n.refs ? Hr(n.ref) ? n.refs.forEach((e) => {
2872
- (!e.defaultChecked || !e.disabled) && (e.checked = Array.isArray(s) ? !!s.find((t) => t === e.value) : s === e.value || !!s);
2850
+ e.defaultChecked && e.disabled || (e.checked = Array.isArray(s) ? !!s.find((t) => t === e.value) : s === e.value || !!s);
2873
2851
  }) : n.refs.forEach((e) => e.checked = e.value === s) : Di(n.ref) ? n.ref.value = "" : (n.ref.value = s, n.ref.type || p.state.next({
2874
2852
  name: e,
2875
2853
  values: i ? a : q(a)
@@ -2922,7 +2900,7 @@ function pa(e = {}) {
2922
2900
  }, b = Xi(t.mode), x = Xi(t.reValidateMode);
2923
2901
  if (v) {
2924
2902
  let o, S, C = l.type ? Ki(v._f) : Kr(i), D = i.type === Xr.BLUR || i.type === Xr.FOCUS_OUT, te = !$i(v._f) && !e.validate && !t.resolver && !Y(n.errors, u) && !v._f.deps || aa(D, Y(n.touchedFields, u), n.isSubmitted, x, b), k = ea(u, s, D);
2925
- X(a, u, C), D ? (!l || !l.readOnly) && (v._f.onBlur && v._f.onBlur(i), c && c(0)) : v._f.onChange && v._f.onChange(i);
2903
+ X(a, u, C), D ? l && l.readOnly || (v._f.onBlur && v._f.onBlur(i), c && c(0)) : v._f.onChange && v._f.onChange(i);
2926
2904
  let A = w(u, C, D), ne = !Z(A) || k;
2927
2905
  if (!D && p.state.next({
2928
2906
  name: u,
@@ -3284,8 +3262,7 @@ function ma(e = {}) {
3284
3262
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(R({}, o._formState))), o._removeUnmounted();
3285
3263
  }), t.current.formState = G.useMemo(() => ci(i, o), [o, i]), t.current;
3286
3264
  }
3287
- //#endregion
3288
- //#region src/utils/getValidateObjectHelper.ts
3265
+ // src/utils/getValidateObjectHelper.ts
3289
3266
  var ha = (e, t, n) => {
3290
3267
  let r = {};
3291
3268
  return e.forEach((e, i) => {
@@ -3296,8 +3273,7 @@ var ha = (e, t, n) => {
3296
3273
  "passed" in e && e.passed === !1 && (r[`remote_${i}`] = () => n != null && n() ? !0 : e.message);
3297
3274
  }), r;
3298
3275
  };
3299
- //#endregion
3300
- //#region src/hooks/useFormFieldValidation.ts
3276
+ // src/hooks/useFormFieldValidation.ts
3301
3277
  L();
3302
3278
  var ga = (e) => e.filter((e) => "passed" in e && e.passed === !1), _a = (e) => {
3303
3279
  if (!e) return [];
@@ -3446,8 +3422,7 @@ var ga = (e) => e.filter((e) => "passed" in e && e.passed === !1), _a = (e) => {
3446
3422
  }))]
3447
3423
  });
3448
3424
  };
3449
- //#endregion
3450
- //#region src/hooks/useIsKeyboard.ts
3425
+ // src/hooks/useIsKeyboard.ts
3451
3426
  L();
3452
3427
  var Ca = () => {
3453
3428
  let [e, t] = N(!1);
@@ -3458,8 +3433,7 @@ var Ca = () => {
3458
3433
  };
3459
3434
  }, []), e;
3460
3435
  };
3461
- //#endregion
3462
- //#region src/screens/questions-screen/components/questions/selector-options-question/SelectorOptionsOption.tsx
3436
+ // src/screens/questions-screen/components/questions/selector-options-question/SelectorOptionsOption.tsx
3463
3437
  L();
3464
3438
  var wa = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
3465
3439
  let [s, c] = N(!1), l = Ca(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
@@ -3537,8 +3511,7 @@ var wa = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
3537
3511
  }, o.id))]
3538
3512
  })
3539
3513
  });
3540
- //#endregion
3541
- //#region src/screens/questions-screen/components/questions/selector-buttons-question/SelectorButtonsOption.tsx
3514
+ // src/screens/questions-screen/components/questions/selector-buttons-question/SelectorButtonsOption.tsx
3542
3515
  L();
3543
3516
  var Ea = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
3544
3517
  let [s, c] = N(!1), l = Ca(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
@@ -3618,8 +3591,7 @@ var Ea = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
3618
3591
  })]
3619
3592
  })
3620
3593
  });
3621
- //#endregion
3622
- //#region src/screens/questions-screen/components/questions/select-input-custom/SelectInputCustom.tsx
3594
+ // src/screens/questions-screen/components/questions/select-input-custom/SelectInputCustom.tsx
3623
3595
  L();
3624
3596
  var Oa = ({ isOpen: e, image: t }) => /* @__PURE__ */ z("div", {
3625
3597
  "data-ui": "gui-custom-select-chevron",
@@ -3935,8 +3907,7 @@ var Oa = ({ isOpen: e, image: t }) => /* @__PURE__ */ z("div", {
3935
3907
  })]
3936
3908
  });
3937
3909
  };
3938
- //#endregion
3939
- //#region src/screens/questions-screen/components/questions/multi-selector-options-question/MultiSelectorOptionsOption.tsx
3910
+ // src/screens/questions-screen/components/questions/multi-selector-options-question/MultiSelectorOptionsOption.tsx
3940
3911
  L();
3941
3912
  var Na = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
3942
3913
  let [a, o] = N(!1), s = Ca(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
@@ -4031,8 +4002,7 @@ var Na = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
4031
4002
  })
4032
4003
  });
4033
4004
  };
4034
- //#endregion
4035
- //#region src/screens/questions-screen/components/questions/multi-selector-buttons-question/MultiSelectorButtonsOption.tsx
4005
+ // src/screens/questions-screen/components/questions/multi-selector-buttons-question/MultiSelectorButtonsOption.tsx
4036
4006
  L();
4037
4007
  var Fa = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
4038
4008
  let [a, o] = N(!1), s = Ca(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
@@ -4129,8 +4099,7 @@ var Fa = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
4129
4099
  })
4130
4100
  });
4131
4101
  };
4132
- //#endregion
4133
- //#region src/screens/questions-screen/components/question/index.tsx
4102
+ // src/screens/questions-screen/components/question/index.tsx
4134
4103
  L();
4135
4104
  var La = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearErrorsOnChange: r = !0 }) => {
4136
4105
  var i;
@@ -4235,8 +4204,7 @@ var La = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearEr
4235
4204
  });
4236
4205
  }
4237
4206
  };
4238
- //#endregion
4239
- //#region src/screens/questions-screen/index.tsx
4207
+ // src/screens/questions-screen/index.tsx
4240
4208
  Va = Ha, Va.MODULE = Xt, Va.ERROR_ENUM_NAME = "GuiModuleError", Va.SHORT_CODE = "GM", L();
4241
4209
  var Ua = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource: a, properties: o, backgroundColor: s, backgroundImage: c }) => {
4242
4210
  var l;
@@ -4357,8 +4325,7 @@ var Ua = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource
4357
4325
  minHeight: "100%",
4358
4326
  overflow: "auto"
4359
4327
  };
4360
- //#endregion
4361
- //#region src/screens/gallery-screen/index.tsx
4328
+ // src/screens/gallery-screen/index.tsx
4362
4329
  L();
4363
4330
  var qa = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImage: i, selectionLimit: a }) => {
4364
4331
  var o;
@@ -5744,8 +5711,7 @@ var qa = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImag
5744
5711
  minHeight: "100%",
5745
5712
  overflow: "auto"
5746
5713
  };
5747
- //#endregion
5748
- //#region src/screens/camera-screen/index.tsx
5714
+ // src/screens/camera-screen/index.tsx
5749
5715
  L();
5750
5716
  var $a = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, buttons: i, selectionLimit: a }) => {
5751
5717
  var o;
@@ -5878,8 +5844,7 @@ var $a = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, button
5878
5844
  return e.apply(this, arguments);
5879
5845
  };
5880
5846
  }(), ro = (e, t) => typeof t == "number" && t > 0 ? t * 1e3 : e;
5881
- //#endregion
5882
- //#region src/hooks/useGeolocationLogic.ts
5847
+ // src/hooks/useGeolocationLogic.ts
5883
5848
  L();
5884
5849
  var io = ({ askEveryTime: e, getLocationTimeout: t, locationAccuracy: n }) => {
5885
5850
  var r;
@@ -6157,8 +6122,7 @@ var vo = ce(void 0), yo = ({ children: e, handlers: t }) => /* @__PURE__ */ z(vo
6157
6122
  let a = H(n) || "transparent", o = H(r), s = H(i);
6158
6123
  return e ? o || a : t && s || a;
6159
6124
  };
6160
- //#endregion
6161
- //#region src/components/imageButton/index.tsx
6125
+ // src/components/imageButton/index.tsx
6162
6126
  L();
6163
6127
  var Co = (e) => {
6164
6128
  let { image: t, responseBody: n, type: r, url: i, paddings: a, backgroundColor: o, highlightColor: s, hoverColor: c, cornerRadius: l, onClick: u } = e, { perform: d } = yt(), [f, p] = N(!0), [h, g] = N(0), { failedAssets: _ } = xt(), { isHovered: v, isPressed: y, interactionHandlers: b } = yn(), x = Ht(t, _)[h];
@@ -6392,8 +6356,7 @@ function Mo(e) {
6392
6356
  let t = jo[e.type];
6393
6357
  return t ? t(e) : null;
6394
6358
  }
6395
- //#endregion
6396
- //#region src/screens/generic/components/column/index.tsx
6359
+ // src/screens/generic/components/column/index.tsx
6397
6360
  var No = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadius: r, paddings: i }) => {
6398
6361
  let { layoutDirection: a } = St(), o = Oo(a), s = o[Ft.START];
6399
6362
  return /* @__PURE__ */ z("div", {
@@ -6570,8 +6533,7 @@ var No = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadiu
6570
6533
  }
6571
6534
  return null;
6572
6535
  };
6573
- //#endregion
6574
- //#region ../../node_modules/qrcode.react/lib/esm/index.js
6536
+ // ../../node_modules/qrcode.react/lib/esm/index.js
6575
6537
  Ir();
6576
6538
  var zo = Object.defineProperty, Bo = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, Uo = (e, t, n) => t in e ? zo(e, t, {
6577
6539
  enumerable: !0,
@@ -7521,8 +7483,7 @@ var ds = G.forwardRef(function(e, t) {
7521
7483
  }), b);
7522
7484
  });
7523
7485
  ds.displayName = "QRCodeSVG";
7524
- //#endregion
7525
- //#region src/screens/device-transfer/styles.ts
7486
+ // src/screens/device-transfer/styles.ts
7526
7487
  var fs = {
7527
7488
  width: "100%",
7528
7489
  height: "auto",
@@ -7598,8 +7559,7 @@ var fs = {
7598
7559
  }({}), vs = /* @__PURE__ */ function(e) {
7599
7560
  return e.OK = "ok", e.SIZE = "size", e.FORMAT = "format", e;
7600
7561
  }({});
7601
- //#endregion
7602
- //#region src/screens/upload-files/utils.ts
7562
+ // src/screens/upload-files/utils.ts
7603
7563
  function ys(e) {
7604
7564
  if (e < 1024) return `${e} B`;
7605
7565
  let t = e / 1024;
@@ -7656,8 +7616,7 @@ var ws = (e) => {
7656
7616
  cursor: "pointer",
7657
7617
  padding: 0
7658
7618
  };
7659
- //#endregion
7660
- //#region src/screens/upload-files/components/upload-file-row/UploadFileRow.tsx
7619
+ // src/screens/upload-files/components/upload-file-row/UploadFileRow.tsx
7661
7620
  L();
7662
7621
  var js = ({ uploadFile: e, uploadPhase: t, onRetryFile: n, onRemoveFile: r }) => {
7663
7622
  let [i, a] = N(!1), o = je(null), s = Pe(() => {
@@ -7748,14 +7707,12 @@ for (let e = 0; e < 256; ++e) Ns.push((e + 256).toString(16).slice(1));
7748
7707
  function Ps(e, t = 0) {
7749
7708
  return (Ns[e[t + 0]] + Ns[e[t + 1]] + Ns[e[t + 2]] + Ns[e[t + 3]] + "-" + Ns[e[t + 4]] + Ns[e[t + 5]] + "-" + Ns[e[t + 6]] + Ns[e[t + 7]] + "-" + Ns[e[t + 8]] + Ns[e[t + 9]] + "-" + Ns[e[t + 10]] + Ns[e[t + 11]] + Ns[e[t + 12]] + Ns[e[t + 13]] + Ns[e[t + 14]] + Ns[e[t + 15]]).toLowerCase();
7750
7709
  }
7751
- //#endregion
7752
- //#region ../../node_modules/uuid/dist/rng.js
7710
+ // ../../node_modules/uuid/dist/rng.js
7753
7711
  var Fs = /* @__PURE__ */ new Uint8Array(16);
7754
7712
  function Is() {
7755
7713
  return crypto.getRandomValues(Fs);
7756
7714
  }
7757
- //#endregion
7758
- //#region ../../node_modules/uuid/dist/v4.js
7715
+ // ../../node_modules/uuid/dist/v4.js
7759
7716
  function Ls(e, t, n) {
7760
7717
  return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Rs(e, t, n);
7761
7718
  }
@@ -7771,8 +7728,7 @@ function Rs(e, t, n) {
7771
7728
  }
7772
7729
  return Ps(o);
7773
7730
  }
7774
- //#endregion
7775
- //#region src/screens/upload-files/hooks/useUploadFiles.ts
7731
+ // src/screens/upload-files/hooks/useUploadFiles.ts
7776
7732
  L();
7777
7733
  var zs = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r, abortRequest: i }) => {
7778
7734
  var a;
@@ -8003,8 +7959,7 @@ var zs = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r,
8003
7959
  padding: "24px",
8004
7960
  width: "100%"
8005
7961
  };
8006
- //#endregion
8007
- //#region src/screens/upload-files/index.tsx
7962
+ // src/screens/upload-files/index.tsx
8008
7963
  L();
8009
7964
  var Qs = (e) => {
8010
7965
  var t, n, r, i, a;
@@ -8372,5 +8327,4 @@ var ec, tc = !1, nc = ({ children: e }) => /* @__PURE__ */ z(m, { children: [/*
8372
8327
  }
8373
8328
  };
8374
8329
  ec = ac, ec.displayName = Xt, ec.getSupportedTemplates = () => Object.values(Tt), ec.getIdentifier = () => Xt, ut(Xt, ac);
8375
- //#endregion
8376
8330
  export { ac as GuiIdv, ic as GuiIdvReactComponent, Tt as GuiIdvSteps, nc as GuiIdvStyleInjectionWrapper, Zt as GuiModuleError, B as IDV_UI_ICONS, en as PopupReason, qt as idvIconDataUrlMap };