@regulaforensics/idv-capture-web 3.2.262-nightly → 3.2.263-nightly
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/README.md +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/main.iife.js +15 -15
- package/dist/main.js +189 -187
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -82,7 +82,7 @@ const Ll = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, eo), Ul = (t
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "",
|
|
85
|
+
const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Ei = qt.reactiveElementPolyfillSupport, Nr = (t, e) => t, Mn = { toAttribute(t, e) {
|
|
86
86
|
switch (e) {
|
|
87
87
|
case Boolean:
|
|
88
88
|
t = t ? Kl : null;
|
|
@@ -324,15 +324,15 @@ let mr = class extends HTMLElement {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
var Ks;
|
|
327
|
-
mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[Nr("elementProperties")] = /* @__PURE__ */ new Map(), mr[Nr("finalized")] = /* @__PURE__ */ new Map(),
|
|
327
|
+
mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[Nr("elementProperties")] = /* @__PURE__ */ new Map(), mr[Nr("finalized")] = /* @__PURE__ */ new Map(), Ei == null || Ei({ ReactiveElement: mr }), ((Ks = qt.reactiveElementVersions) != null ? Ks : qt.reactiveElementVersions = []).push("2.1.1");
|
|
328
328
|
/**
|
|
329
329
|
* @license
|
|
330
330
|
* Copyright 2017 Google LLC
|
|
331
331
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
332
332
|
*/
|
|
333
|
-
const Dr = globalThis, Pn = Dr.trustedTypes, zo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Gt, Gl = `<${Xs}>`, lr = document, Wr = () => lr.createComment(""), jr = (t) => t === null || typeof t != "object" && typeof t != "function", ro = Array.isArray, ql = (t) => ro(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function",
|
|
334
|
-
\f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${
|
|
335
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }),
|
|
333
|
+
const Dr = globalThis, Pn = Dr.trustedTypes, zo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Gt, Gl = `<${Xs}>`, lr = document, Wr = () => lr.createComment(""), jr = (t) => t === null || typeof t != "object" && typeof t != "function", ro = Array.isArray, ql = (t) => ro(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ti = `[
|
|
334
|
+
\f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
|
|
335
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Oi = Zl(1), yr = Symbol.for("lit-noChange"), ke = Symbol.for("lit-nothing"), Yo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
|
|
336
336
|
function ea(t, e) {
|
|
337
337
|
if (!ro(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
338
338
|
return zo !== void 0 ? zo.createHTML(e) : e;
|
|
@@ -349,7 +349,7 @@ const Yl = (t, e) => {
|
|
|
349
349
|
}
|
|
350
350
|
return [ea(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
351
351
|
};
|
|
352
|
-
let
|
|
352
|
+
let Bi = class ta {
|
|
353
353
|
constructor({ strings: e, _$litType$: r }, n) {
|
|
354
354
|
let i;
|
|
355
355
|
this.parts = [];
|
|
@@ -363,7 +363,7 @@ let $i = class ta {
|
|
|
363
363
|
if (i.nodeType === 1) {
|
|
364
364
|
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(Js)) {
|
|
365
365
|
const c = p[s++], g = i.getAttribute(f).split(Gt), w = /([.?@])?(.*)/.exec(c);
|
|
366
|
-
l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec :
|
|
366
|
+
l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : ei }), i.removeAttribute(f);
|
|
367
367
|
} else f.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(f));
|
|
368
368
|
if (Qs.test(i.tagName)) {
|
|
369
369
|
const f = i.textContent.split(Gt), c = f.length - 1;
|
|
@@ -455,7 +455,7 @@ let Jl = class {
|
|
|
455
455
|
}
|
|
456
456
|
$(e) {
|
|
457
457
|
var o;
|
|
458
|
-
const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el =
|
|
458
|
+
const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Bi.createElement(ea(n.h, n.h[0]), this.options)), n);
|
|
459
459
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(r);
|
|
460
460
|
else {
|
|
461
461
|
const s = new Jl(i, this), a = s.u(this.options);
|
|
@@ -464,7 +464,7 @@ let Jl = class {
|
|
|
464
464
|
}
|
|
465
465
|
_$AC(e) {
|
|
466
466
|
let r = Yo.get(e.strings);
|
|
467
|
-
return r === void 0 && Yo.set(e.strings, r = new
|
|
467
|
+
return r === void 0 && Yo.set(e.strings, r = new Bi(e)), r;
|
|
468
468
|
}
|
|
469
469
|
k(e) {
|
|
470
470
|
ro(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -484,7 +484,7 @@ let Jl = class {
|
|
|
484
484
|
var r;
|
|
485
485
|
this._$AM === void 0 && (this._$Cv = e, (r = this._$AP) == null || r.call(this, e));
|
|
486
486
|
}
|
|
487
|
-
},
|
|
487
|
+
}, ei = class {
|
|
488
488
|
get tagName() {
|
|
489
489
|
return this.element.tagName;
|
|
490
490
|
}
|
|
@@ -508,21 +508,21 @@ let Jl = class {
|
|
|
508
508
|
j(e) {
|
|
509
509
|
e === ke ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
510
510
|
}
|
|
511
|
-
}, Xl = class extends
|
|
511
|
+
}, Xl = class extends ei {
|
|
512
512
|
constructor() {
|
|
513
513
|
super(...arguments), this.type = 3;
|
|
514
514
|
}
|
|
515
515
|
j(e) {
|
|
516
516
|
this.element[this.name] = e === ke ? void 0 : e;
|
|
517
517
|
}
|
|
518
|
-
}, Ql = class extends
|
|
518
|
+
}, Ql = class extends ei {
|
|
519
519
|
constructor() {
|
|
520
520
|
super(...arguments), this.type = 4;
|
|
521
521
|
}
|
|
522
522
|
j(e) {
|
|
523
523
|
this.element.toggleAttribute(this.name, !!e && e !== ke);
|
|
524
524
|
}
|
|
525
|
-
}, ec = class extends
|
|
525
|
+
}, ec = class extends ei {
|
|
526
526
|
constructor(e, r, n, i, o) {
|
|
527
527
|
super(e, r, n, i, o), this.type = 5;
|
|
528
528
|
}
|
|
@@ -547,9 +547,9 @@ let Jl = class {
|
|
|
547
547
|
br(this, e);
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
|
-
const
|
|
550
|
+
const Ii = Dr.litHtmlPolyfillSupport;
|
|
551
551
|
var Gs;
|
|
552
|
-
|
|
552
|
+
Ii == null || Ii(Bi, no), ((Gs = Dr.litHtmlVersions) != null ? Gs : Dr.litHtmlVersions = []).push("3.3.1");
|
|
553
553
|
const rc = (t, e, r) => {
|
|
554
554
|
var o, s;
|
|
555
555
|
const n = (o = r == null ? void 0 : r.renderBefore) != null ? o : e;
|
|
@@ -593,8 +593,8 @@ let Mr = class extends mr {
|
|
|
593
593
|
};
|
|
594
594
|
var qs;
|
|
595
595
|
Mr._$litElement$ = !0, Mr.finalized = !0, (qs = ar.litElementHydrateSupport) == null || qs.call(ar, { LitElement: Mr });
|
|
596
|
-
const
|
|
597
|
-
|
|
596
|
+
const xi = ar.litElementPolyfillSupport;
|
|
597
|
+
xi == null || xi({ LitElement: Mr });
|
|
598
598
|
var Zs;
|
|
599
599
|
((Zs = ar.litElementVersions) != null ? Zs : ar.litElementVersions = []).push("4.2.1");
|
|
600
600
|
/**
|
|
@@ -750,8 +750,8 @@ const na = new sc(), ac = Ul`
|
|
|
750
750
|
DATA: "DATA",
|
|
751
751
|
QUESTIONARY: "QUESTIONARY"
|
|
752
752
|
}, cc = Object.values(lc);
|
|
753
|
-
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Et = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Et || {}), Ue = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ue || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}),
|
|
754
|
-
const dc = 120, uc = 200,
|
|
753
|
+
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Et = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Et || {}), Ue = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ue || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), ti = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(ti || {}), Ln = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ln || {}), Tt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Tt || {}), tr = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(tr || {}), lt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(lt || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), Kt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(Kt || {});
|
|
754
|
+
const dc = 120, uc = 200, Hi = "PROGRESS", vt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", fc = "rgl-uid", hc = "en", Jo = (t) => {
|
|
755
755
|
let e;
|
|
756
756
|
const r = /* @__PURE__ */ new Set(), n = (d, p) => {
|
|
757
757
|
const f = typeof d == "function" ? d(e) : d;
|
|
@@ -762,7 +762,7 @@ const dc = 120, uc = 200, Bi = "PROGRESS", vt = "IDV", er = "idv-session-data",
|
|
|
762
762
|
}, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
|
|
763
763
|
return a;
|
|
764
764
|
}, pc = (t) => t ? Jo(t) : Jo;
|
|
765
|
-
var Gr, se, oa, rr, Xo, sa, aa, la, io,
|
|
765
|
+
var Gr, se, oa, rr, Xo, sa, aa, la, io, Wi, ji, ca, zr = {}, da = [], _c = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, qr = Array.isArray;
|
|
766
766
|
function gt(t, e) {
|
|
767
767
|
for (var r in e) t[r] = e[r];
|
|
768
768
|
return t;
|
|
@@ -804,7 +804,7 @@ function fa(t) {
|
|
|
804
804
|
return fa(t);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function zi(t) {
|
|
808
808
|
(!t.__d && (t.__d = !0) && rr.push(t) && !Vn.__r++ || Xo != se.debounceRendering) && ((Xo = se.debounceRendering) || sa)(Vn);
|
|
809
809
|
}
|
|
810
810
|
function Vn() {
|
|
@@ -857,7 +857,7 @@ function An(t, e, r, n, i) {
|
|
|
857
857
|
if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r || Qo(t.style, e, "");
|
|
858
858
|
if (r) for (e in r) n && r[e] == n[e] || Qo(t.style, e, r[e]);
|
|
859
859
|
}
|
|
860
|
-
else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(la, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? n ? r.u = n.u : (r.u = io, t.addEventListener(e, o ?
|
|
860
|
+
else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(la, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? n ? r.u = n.u : (r.u = io, t.addEventListener(e, o ? ji : Wi, o)) : t.removeEventListener(e, o ? ji : Wi, o);
|
|
861
861
|
else {
|
|
862
862
|
if (i == "http://www.w3.org/2000/svg") e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
863
863
|
else if (e != "width" && e != "height" && e != "href" && e != "list" && e != "form" && e != "tabIndex" && e != "download" && e != "rowSpan" && e != "colSpan" && e != "role" && e != "popover" && e in t) try {
|
|
@@ -909,16 +909,16 @@ function so(t, e, r, n, i, o, s, a, l, d) {
|
|
|
909
909
|
o[o.indexOf(a)] = null, e.__e = a;
|
|
910
910
|
} else {
|
|
911
911
|
for (le = o.length; le--; ) oo(o[le]);
|
|
912
|
-
|
|
912
|
+
Ki(e);
|
|
913
913
|
}
|
|
914
|
-
else e.__e = r.__e, e.__k = r.__k, H.then ||
|
|
914
|
+
else e.__e = r.__e, e.__k = r.__k, H.then || Ki(e);
|
|
915
915
|
se.__e(H, e, r);
|
|
916
916
|
}
|
|
917
917
|
else o == null && e.__v == r.__v ? (e.__k = r.__k, e.__e = r.__e) : a = e.__e = wc(r.__e, e, r, n, i, o, s, l, d);
|
|
918
918
|
return (p = se.diffed) && p(e), 128 & e.__u ? void 0 : a;
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(
|
|
920
|
+
function Ki(t) {
|
|
921
|
+
t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(Ki);
|
|
922
922
|
}
|
|
923
923
|
function _a(t, e, r) {
|
|
924
924
|
for (var n = 0; n < r.length; n++) ao(r[n], r[++n], r[++n]);
|
|
@@ -1011,7 +1011,7 @@ function lo(t) {
|
|
|
1011
1011
|
n = null;
|
|
1012
1012
|
}, this.shouldComponentUpdate = function(o) {
|
|
1013
1013
|
this.props.value != o.value && n.forEach(function(s) {
|
|
1014
|
-
s.__e = !0,
|
|
1014
|
+
s.__e = !0, zi(s);
|
|
1015
1015
|
});
|
|
1016
1016
|
}, this.sub = function(o) {
|
|
1017
1017
|
n.add(o);
|
|
@@ -1034,22 +1034,22 @@ Gr = da.slice, se = { __e: function(t, e, r, n) {
|
|
|
1034
1034
|
throw t;
|
|
1035
1035
|
} }, oa = 0, ht.prototype.setState = function(t, e) {
|
|
1036
1036
|
var r;
|
|
1037
|
-
r = this.__s != null && this.__s != this.state ? this.__s : this.__s = gt({}, this.state), typeof t == "function" && (t = t(gt({}, r), this.props)), t && gt(r, t), t != null && this.__v && (e && this._sb.push(e),
|
|
1037
|
+
r = this.__s != null && this.__s != this.state ? this.__s : this.__s = gt({}, this.state), typeof t == "function" && (t = t(gt({}, r), this.props)), t && gt(r, t), t != null && this.__v && (e && this._sb.push(e), zi(this));
|
|
1038
1038
|
}, ht.prototype.forceUpdate = function(t) {
|
|
1039
|
-
this.__v && (this.__e = !0, t && this.__h.push(t),
|
|
1039
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), zi(this));
|
|
1040
1040
|
}, ht.prototype.render = We, rr = [], sa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, aa = function(t, e) {
|
|
1041
1041
|
return t.__v.__b - e.__v.__b;
|
|
1042
|
-
}, Vn.__r = 0, la = /(PointerCapture)$|Capture$/i, io = 0,
|
|
1043
|
-
var $t, be,
|
|
1042
|
+
}, Vn.__r = 0, la = /(PointerCapture)$|Capture$/i, io = 0, Wi = es(!1), ji = es(!0), ca = 0;
|
|
1043
|
+
var $t, be, Ai, ts, Sr = 0, va = [], Te = se, rs = Te.__b, ns = Te.__r, is = Te.diffed, os = Te.__c, ss = Te.unmount, as = Te.__;
|
|
1044
1044
|
function dr(t, e) {
|
|
1045
1045
|
Te.__h && Te.__h(be, t, Sr || e), Sr = 0;
|
|
1046
1046
|
var r = be.__H || (be.__H = { __: [], __h: [] });
|
|
1047
1047
|
return t >= r.__.length && r.__.push({}), r.__[t];
|
|
1048
1048
|
}
|
|
1049
1049
|
function Me(t) {
|
|
1050
|
-
return Sr = 1,
|
|
1050
|
+
return Sr = 1, ri(ya, t);
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function ri(t, e, r) {
|
|
1053
1053
|
var n = dr($t++, 2);
|
|
1054
1054
|
if (n.t = t, !n.__c && (n.__ = [r ? r(e) : ya(void 0, e), function(a) {
|
|
1055
1055
|
var l = n.__N ? n.__N[0] : n.__[0], d = n.t(l, a);
|
|
@@ -1144,7 +1144,7 @@ function ho() {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
function Cc() {
|
|
1146
1146
|
for (var t; t = va.shift(); ) if (t.__P && t.__H) try {
|
|
1147
|
-
t.__H.__h.forEach(Dn), t.__H.__h.forEach(
|
|
1147
|
+
t.__H.__h.forEach(Dn), t.__H.__h.forEach(Gi), t.__H.__h = [];
|
|
1148
1148
|
} catch (e) {
|
|
1149
1149
|
t.__H.__h = [], Te.__e(e, t.__v);
|
|
1150
1150
|
}
|
|
@@ -1156,20 +1156,20 @@ Te.__b = function(t) {
|
|
|
1156
1156
|
}, Te.__r = function(t) {
|
|
1157
1157
|
ns && ns(t), $t = 0;
|
|
1158
1158
|
var e = (be = t.__c).__H;
|
|
1159
|
-
e && (
|
|
1159
|
+
e && (Ai === be ? (e.__h = [], be.__h = [], e.__.forEach(function(r) {
|
|
1160
1160
|
r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
|
|
1161
|
-
})) : (e.__h.forEach(Dn), e.__h.forEach(
|
|
1161
|
+
})) : (e.__h.forEach(Dn), e.__h.forEach(Gi), e.__h = [], $t = 0)), Ai = be;
|
|
1162
1162
|
}, Te.diffed = function(t) {
|
|
1163
1163
|
is && is(t);
|
|
1164
1164
|
var e = t.__c;
|
|
1165
1165
|
e && e.__H && (e.__H.__h.length && (va.push(e) !== 1 && ts === Te.requestAnimationFrame || ((ts = Te.requestAnimationFrame) || Sc)(Cc)), e.__H.__.forEach(function(r) {
|
|
1166
1166
|
r.u && (r.__H = r.u), r.u = void 0;
|
|
1167
|
-
})),
|
|
1167
|
+
})), Ai = be = null;
|
|
1168
1168
|
}, Te.__c = function(t, e) {
|
|
1169
1169
|
e.some(function(r) {
|
|
1170
1170
|
try {
|
|
1171
1171
|
r.__h.forEach(Dn), r.__h = r.__h.filter(function(n) {
|
|
1172
|
-
return !n.__ ||
|
|
1172
|
+
return !n.__ || Gi(n);
|
|
1173
1173
|
});
|
|
1174
1174
|
} catch (n) {
|
|
1175
1175
|
e.some(function(i) {
|
|
@@ -1199,7 +1199,7 @@ function Dn(t) {
|
|
|
1199
1199
|
var e = be, r = t.__c;
|
|
1200
1200
|
typeof r == "function" && (t.__c = void 0, r()), be = e;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Gi(t) {
|
|
1203
1203
|
var e = be;
|
|
1204
1204
|
t.__c = t.__(), be = e;
|
|
1205
1205
|
}
|
|
@@ -1215,7 +1215,7 @@ function ba(t, e) {
|
|
|
1215
1215
|
for (var r in e) t[r] = e[r];
|
|
1216
1216
|
return t;
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function qi(t, e) {
|
|
1219
1219
|
for (var r in t) if (r !== "__source" && !(r in e)) return !0;
|
|
1220
1220
|
for (var n in e) if (n !== "__source" && t[n] !== e[n]) return !0;
|
|
1221
1221
|
return !1;
|
|
@@ -1223,14 +1223,14 @@ function Gi(t, e) {
|
|
|
1223
1223
|
function _o(t, e) {
|
|
1224
1224
|
var r = e(), n = Me({ t: { __: r, u: e } }), i = n[0].t, o = n[1];
|
|
1225
1225
|
return Zt(function() {
|
|
1226
|
-
i.__ = r, i.u = e,
|
|
1226
|
+
i.__ = r, i.u = e, Ri(i) && o({ t: i });
|
|
1227
1227
|
}, [t, r, e]), nt(function() {
|
|
1228
|
-
return
|
|
1229
|
-
|
|
1228
|
+
return Ri(i) && o({ t: i }), t(function() {
|
|
1229
|
+
Ri(i) && o({ t: i });
|
|
1230
1230
|
});
|
|
1231
1231
|
}, [t]), r;
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Ri(t) {
|
|
1234
1234
|
var e, r, n = t.u, i = t.__;
|
|
1235
1235
|
try {
|
|
1236
1236
|
var o = n();
|
|
@@ -1255,7 +1255,7 @@ function $n(t, e) {
|
|
|
1255
1255
|
function Ca(t, e) {
|
|
1256
1256
|
function r(i) {
|
|
1257
1257
|
var o = this.props.ref, s = o == i.ref;
|
|
1258
|
-
return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s :
|
|
1258
|
+
return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s : qi(this.props, i);
|
|
1259
1259
|
}
|
|
1260
1260
|
function n(i) {
|
|
1261
1261
|
return this.shouldComponentUpdate = r, wt(t, i);
|
|
@@ -1263,7 +1263,7 @@ function Ca(t, e) {
|
|
|
1263
1263
|
return n.displayName = "Memo(" + (t.displayName || t.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n.type = t, n;
|
|
1264
1264
|
}
|
|
1265
1265
|
($n.prototype = new ht()).isPureReactComponent = !0, $n.prototype.shouldComponentUpdate = function(t, e) {
|
|
1266
|
-
return
|
|
1266
|
+
return qi(this.props, t) || qi(this.state, e);
|
|
1267
1267
|
};
|
|
1268
1268
|
var cs = se.__b;
|
|
1269
1269
|
se.__b = function(t) {
|
|
@@ -1474,7 +1474,7 @@ se.diffed = function(t) {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
var Da = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1476
1476
|
return yo.__n[t.__c].props.value;
|
|
1477
|
-
}, useCallback: uo, useContext: Yr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: Zr, useReducer:
|
|
1477
|
+
}, useCallback: uo, useContext: Yr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: Zr, useReducer: ri, useRef: it, useState: Me, useSyncExternalStore: _o, useTransition: wo } } }, Lc = "18.3.1";
|
|
1478
1478
|
function Ma(t) {
|
|
1479
1479
|
return wt.bind(null, t);
|
|
1480
1480
|
}
|
|
@@ -1500,7 +1500,7 @@ var $a = function(t, e) {
|
|
|
1500
1500
|
return t(e);
|
|
1501
1501
|
}, Ba = function(t, e) {
|
|
1502
1502
|
return t(e);
|
|
1503
|
-
}, Ha = We, Wa = Jr, fe = { useState: Me, useId: ho, useReducer:
|
|
1503
|
+
}, Ha = We, Wa = Jr, fe = { useState: Me, useId: ho, useReducer: ri, useEffect: nt, useLayoutEffect: Zt, useInsertionEffect: vo, useTransition: wo, useDeferredValue: go, useSyncExternalStore: _o, startTransition: mo, useRef: it, useImperativeHandle: co, useMemo: Zr, useCallback: uo, useContext: Yr, useDebugValue: fo, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: Ua, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Ma, cloneElement: La, createRef: ua, Fragment: We, isValidElement: Jr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Lr, SuspenseList: wr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
|
|
1504
1504
|
const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1505
1505
|
__proto__: null,
|
|
1506
1506
|
Children: Ea,
|
|
@@ -1543,7 +1543,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1543
1543
|
useInsertionEffect: vo,
|
|
1544
1544
|
useLayoutEffect: Zt,
|
|
1545
1545
|
useMemo: Zr,
|
|
1546
|
-
useReducer:
|
|
1546
|
+
useReducer: ri,
|
|
1547
1547
|
useRef: it,
|
|
1548
1548
|
useState: Me,
|
|
1549
1549
|
useSyncExternalStore: _o,
|
|
@@ -2180,7 +2180,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2180
2180
|
isSamsungBrowser: tn(x)
|
|
2181
2181
|
};
|
|
2182
2182
|
}
|
|
2183
|
-
var pn = _t(a), _n = T(a), mn = y(a),
|
|
2183
|
+
var pn = _t(a), _n = T(a), mn = y(a), oi = A(a), si = ze(o) || rt(), ai = He(o), fr = Wt(a) || rt(), gn = pt(a), wn = Ct(a) || rt(), vn = tt(a), li = tt(a), yn = W(d), bn = ge(d), Cn = Pe(d) || rt(), ci = j(o), di = me(o), ui = q(o), fi = jt(o), Sn = Jt(o), hi = J(d), pi = oe(d), _i = rn(o), mi = nn(o), gi = on(o), wi = V(a), vi = M(a), yi = sn(l), bi = an(l), Ci = fn(p), mt = xe(o) || zt(p), Si = he(o), ie = P(a), at = cn(), hr = rt(), En = dn(), Tn = un(), On = ln(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(d), hl = G(d), pl = en(o), _l = tn(o), ml = function(_) {
|
|
2184
2184
|
if (!_ || typeof _ != "string") {
|
|
2185
2185
|
console.error("No valid user agent string was provided");
|
|
2186
2186
|
return;
|
|
@@ -2315,16 +2315,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2315
2315
|
var _ = E || window.navigator.userAgent, v = Do(_), x = hn(v);
|
|
2316
2316
|
return [x, v];
|
|
2317
2317
|
}
|
|
2318
|
-
return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName =
|
|
2318
|
+
return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName = gi, B.browserVersion = mi, B.deviceDetect = bt, B.deviceType = ie, B.engineName = yi, B.engineVersion = bi, B.fullBrowserVersion = _i, B.getSelectorsByUserAgent = ml, B.getUA = Ci, B.isAndroid = yn, B.isBrowser = vn, B.isChrome = ci, B.isChromium = ai, B.isConsole = _n, B.isDesktop = li, B.isEdge = mt, B.isEdgeChromium = dl, B.isElectron = On, B.isEmbedded = oi, B.isFirefox = di, B.isIE = Sn, B.isIOS = Cn, B.isIOS13 = at, B.isIPad13 = hr, B.isIPhone13 = En, B.isIPod13 = Tn, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = fr, B.isMobileOnly = gn, B.isMobileSafari = si, B.isOpera = fi, B.isSafari = ui, B.isSamsungBrowser = _l, B.isSmartTV = pn, B.isTablet = wn, B.isWearable = mn, B.isWinPhone = bn, B.isWindows = fl, B.isYandex = Si, B.mobileModel = vi, B.mobileVendor = wi, B.osName = pi, B.osVersion = hi, B.parseUserAgent = c, B.setUserAgent = re, B.useDeviceData = Do, B.useDeviceSelectors = kl, B.useMobileOrientation = Rl, B.withOrientationChange = Al, B;
|
|
2319
2319
|
}
|
|
2320
2320
|
var Je = Kc();
|
|
2321
2321
|
const Gc = (t, e) => bo(t, e), bo = (t, e) => {
|
|
2322
|
-
const r =
|
|
2322
|
+
const r = Zi(t, e);
|
|
2323
2323
|
for (const n in r)
|
|
2324
2324
|
if (Object.prototype.hasOwnProperty.call(r, n)) {
|
|
2325
2325
|
const i = r[n];
|
|
2326
2326
|
if (typeof i == "object" && !Array.isArray(i))
|
|
2327
|
-
r[n] =
|
|
2327
|
+
r[n] = Zi(i, e);
|
|
2328
2328
|
else if (Array.isArray(i)) {
|
|
2329
2329
|
const o = i.map(
|
|
2330
2330
|
(s) => typeof s == "object" ? bo(s, e) : s
|
|
@@ -2333,7 +2333,7 @@ const Gc = (t, e) => bo(t, e), bo = (t, e) => {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
}
|
|
2335
2335
|
return r;
|
|
2336
|
-
},
|
|
2336
|
+
}, Zi = (t, e) => {
|
|
2337
2337
|
const r = qc(t), n = t.layout;
|
|
2338
2338
|
if (!n || n.length === 0) return r;
|
|
2339
2339
|
let i = null;
|
|
@@ -2341,7 +2341,7 @@ const Gc = (t, e) => bo(t, e), bo = (t, e) => {
|
|
|
2341
2341
|
const s = e[o];
|
|
2342
2342
|
i ? s && Zc(s, i) : i = s;
|
|
2343
2343
|
}), i) {
|
|
2344
|
-
const o =
|
|
2344
|
+
const o = Zi(i, e);
|
|
2345
2345
|
for (const s in o)
|
|
2346
2346
|
if (Object.prototype.hasOwnProperty.call(o, s)) {
|
|
2347
2347
|
const a = o[s];
|
|
@@ -2363,15 +2363,15 @@ for (let t = 0; t < 256; ++t)
|
|
|
2363
2363
|
function Yc(t, e = 0) {
|
|
2364
2364
|
return (Fe[t[e + 0]] + Fe[t[e + 1]] + Fe[t[e + 2]] + Fe[t[e + 3]] + "-" + Fe[t[e + 4]] + Fe[t[e + 5]] + "-" + Fe[t[e + 6]] + Fe[t[e + 7]] + "-" + Fe[t[e + 8]] + Fe[t[e + 9]] + "-" + Fe[t[e + 10]] + Fe[t[e + 11]] + Fe[t[e + 12]] + Fe[t[e + 13]] + Fe[t[e + 14]] + Fe[t[e + 15]]).toLowerCase();
|
|
2365
2365
|
}
|
|
2366
|
-
let
|
|
2366
|
+
let ki;
|
|
2367
2367
|
const Jc = new Uint8Array(16);
|
|
2368
2368
|
function Xc() {
|
|
2369
|
-
if (!
|
|
2369
|
+
if (!ki) {
|
|
2370
2370
|
if (typeof crypto == "undefined" || !crypto.getRandomValues)
|
|
2371
2371
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
2372
|
-
|
|
2372
|
+
ki = crypto.getRandomValues.bind(crypto);
|
|
2373
2373
|
}
|
|
2374
|
-
return
|
|
2374
|
+
return ki(Jc);
|
|
2375
2375
|
}
|
|
2376
2376
|
const Qc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ys = { randomUUID: Qc };
|
|
2377
2377
|
function ed(t, e, r) {
|
|
@@ -2467,16 +2467,16 @@ const id = (t, e, r) => {
|
|
|
2467
2467
|
return !1;
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
|
-
},
|
|
2470
|
+
}, Ni = (t) => !!t && typeof t == "object" && !Array.isArray(t), Di = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), Mi = {
|
|
2471
2471
|
setSessionIdWorkflowIdToLs: (t, e) => {
|
|
2472
2472
|
const r = localStorage.getItem(er);
|
|
2473
2473
|
let n = {};
|
|
2474
2474
|
if (r)
|
|
2475
2475
|
try {
|
|
2476
2476
|
const i = JSON.parse(r);
|
|
2477
|
-
|
|
2477
|
+
Ni(i) && (n = i);
|
|
2478
2478
|
} catch (i) {
|
|
2479
|
-
if (
|
|
2479
|
+
if (Di(r)) {
|
|
2480
2480
|
const [o, s] = r.split(":");
|
|
2481
2481
|
o && s && (n = { [s]: o });
|
|
2482
2482
|
}
|
|
@@ -2488,9 +2488,9 @@ const id = (t, e, r) => {
|
|
|
2488
2488
|
if (!t) return null;
|
|
2489
2489
|
try {
|
|
2490
2490
|
const e = JSON.parse(t);
|
|
2491
|
-
return
|
|
2491
|
+
return Ni(e) ? e : null;
|
|
2492
2492
|
} catch (e) {
|
|
2493
|
-
if (
|
|
2493
|
+
if (Di(t)) {
|
|
2494
2494
|
const [r, n] = t.split(":");
|
|
2495
2495
|
if (r && n) return { [n]: r };
|
|
2496
2496
|
}
|
|
@@ -2504,11 +2504,11 @@ const id = (t, e, r) => {
|
|
|
2504
2504
|
return localStorage.removeItem(er), !0;
|
|
2505
2505
|
try {
|
|
2506
2506
|
const r = JSON.parse(e);
|
|
2507
|
-
if (!
|
|
2507
|
+
if (!Ni(r)) return !1;
|
|
2508
2508
|
const n = r;
|
|
2509
2509
|
return Object.prototype.hasOwnProperty.call(n, t) ? (delete n[t], localStorage.setItem(er, JSON.stringify(n)), !0) : !1;
|
|
2510
2510
|
} catch (r) {
|
|
2511
|
-
if (
|
|
2511
|
+
if (Di(e)) {
|
|
2512
2512
|
const [, n] = e.split(":");
|
|
2513
2513
|
return n === t ? (localStorage.removeItem(er), !0) : !1;
|
|
2514
2514
|
}
|
|
@@ -2551,7 +2551,7 @@ const fd = (t) => {
|
|
|
2551
2551
|
function Cs(t) {
|
|
2552
2552
|
return !("error" in t);
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2554
|
+
function Pi(t) {
|
|
2555
2555
|
try {
|
|
2556
2556
|
let e = t;
|
|
2557
2557
|
!t.includes("://") && t.includes(".") && (e = `http://${t}`);
|
|
@@ -2582,7 +2582,7 @@ const Ss = () => {
|
|
|
2582
2582
|
osVersion: `${Je.osVersion}`,
|
|
2583
2583
|
hostAppId: Ss(),
|
|
2584
2584
|
host: Ss(),
|
|
2585
|
-
sdkVersion: "3.2.
|
|
2585
|
+
sdkVersion: "3.2.263-nightly".trim(),
|
|
2586
2586
|
name: navigator.userAgent,
|
|
2587
2587
|
deviceModel: `${Je.osName}/${Je.osVersion} ${Je.browserName}/${Je.fullBrowserVersion}`,
|
|
2588
2588
|
hostAppVersion: `${Je.browserName}/${Je.fullBrowserVersion}`,
|
|
@@ -2654,15 +2654,15 @@ const Es = {
|
|
|
2654
2654
|
t({ listener: r });
|
|
2655
2655
|
},
|
|
2656
2656
|
getCurrentSessionDataLs: () => {
|
|
2657
|
-
const r =
|
|
2657
|
+
const r = Mi.getSessionIdWorkflowIdFromLS(), n = e().workflowId, o = r && r[n];
|
|
2658
2658
|
return n && o ? { workflowId: n, sessionId: o } : null;
|
|
2659
2659
|
},
|
|
2660
2660
|
setCurrentSessionDataLsAndStore: (r) => {
|
|
2661
|
-
|
|
2661
|
+
Mi.setSessionIdWorkflowIdToLs(r.sessionId, r.workflowId), t(() => ({ currentSessionData: r }));
|
|
2662
2662
|
},
|
|
2663
2663
|
removeCurrentSessionDataLsAndStore: () => {
|
|
2664
2664
|
const r = e().startConfig, n = "apiKey" in r && typeof r.apiKey == "string" ? r.apiKey : "", i = e().workflowId;
|
|
2665
|
-
n ? nr.removeAuthTokenLs(n) :
|
|
2665
|
+
n ? nr.removeAuthTokenLs(n) : Mi.removeSessionIdWorkflowIdFromLS({ workflowId: i }), t(() => ({ currentSessionData: null })), t({ _sessionIdFromUrl: null });
|
|
2666
2666
|
},
|
|
2667
2667
|
/** Idv integration service getter */
|
|
2668
2668
|
getCurrentSessionId() {
|
|
@@ -2761,7 +2761,7 @@ function wd(t, e) {
|
|
|
2761
2761
|
console.error('Missed "getIdentifier" when register module');
|
|
2762
2762
|
customElements.get(e.getIdentifier()) ? console.log(`Module ${t} has already registered`) : customElements.define(t, e), console.log("-------");
|
|
2763
2763
|
}
|
|
2764
|
-
const
|
|
2764
|
+
const Bn = {
|
|
2765
2765
|
FORM: "form",
|
|
2766
2766
|
DATA: "data"
|
|
2767
2767
|
}, It = class It extends Ce {
|
|
@@ -2771,7 +2771,7 @@ const Zi = {
|
|
|
2771
2771
|
underlyingError: n,
|
|
2772
2772
|
underlyingBaseError: i
|
|
2773
2773
|
}) {
|
|
2774
|
-
const o = Ce.getErrorKey(e,
|
|
2774
|
+
const o = Ce.getErrorKey(e, ti);
|
|
2775
2775
|
super({
|
|
2776
2776
|
errorCode: e,
|
|
2777
2777
|
errorCodeKey: o,
|
|
@@ -2786,7 +2786,7 @@ const Zi = {
|
|
|
2786
2786
|
}
|
|
2787
2787
|
};
|
|
2788
2788
|
It.MODULE = vt, It.ERROR_ENUM_NAME = "InitializeError", It.SHORT_CODE = "IN";
|
|
2789
|
-
let
|
|
2789
|
+
let Hn = It;
|
|
2790
2790
|
const xt = class xt extends Ce {
|
|
2791
2791
|
constructor({
|
|
2792
2792
|
errorCode: e,
|
|
@@ -2809,7 +2809,7 @@ const xt = class xt extends Ce {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
};
|
|
2811
2811
|
xt.MODULE = vt, xt.ERROR_ENUM_NAME = "TokenInitializeError", xt.SHORT_CODE = "TI";
|
|
2812
|
-
let
|
|
2812
|
+
let Wn = xt;
|
|
2813
2813
|
const At = class At extends Ce {
|
|
2814
2814
|
constructor({
|
|
2815
2815
|
errorCode: e,
|
|
@@ -2970,7 +2970,7 @@ const Pt = class Pt extends Ce {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
2972
2972
|
Pt.MODULE = vt, Pt.ERROR_ENUM_NAME = "DeinitializationError", Pt.SHORT_CODE = "DE";
|
|
2973
|
-
let
|
|
2973
|
+
let jn = Pt;
|
|
2974
2974
|
const Ft = class Ft extends Ce {
|
|
2975
2975
|
constructor({
|
|
2976
2976
|
errorCode: e,
|
|
@@ -2993,7 +2993,7 @@ const Ft = class Ft extends Ce {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
};
|
|
2995
2995
|
Ft.MODULE = vt, Ft.ERROR_ENUM_NAME = "WorkflowPlatformError", Ft.SHORT_CODE = "WPE";
|
|
2996
|
-
let
|
|
2996
|
+
let zn = Ft;
|
|
2997
2997
|
class vr {
|
|
2998
2998
|
constructor() {
|
|
2999
2999
|
this.webSocket = null, this.callbacks = /* @__PURE__ */ new Set(), this.connected = !1;
|
|
@@ -3070,7 +3070,7 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3070
3070
|
CAMERA: "CAMERA",
|
|
3071
3071
|
GALLERY: "GALLERY",
|
|
3072
3072
|
GEOLOCATION: "GEOLOCATION"
|
|
3073
|
-
},
|
|
3073
|
+
}, Kn = {
|
|
3074
3074
|
LEFT: "LEFT",
|
|
3075
3075
|
CENTER: "CENTER",
|
|
3076
3076
|
RIGHT: "RIGHT"
|
|
@@ -3090,9 +3090,9 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3090
3090
|
EMAIL: "EMAIL",
|
|
3091
3091
|
NUMBER: "NUMBER",
|
|
3092
3092
|
SECURE: "SECURE"
|
|
3093
|
-
}, Xr = "#005fcc",
|
|
3093
|
+
}, Xr = "#005fcc", Gn = "idv-gui", qn = {
|
|
3094
3094
|
DECODING_FAILED: "DECODING_FAILED"
|
|
3095
|
-
},
|
|
3095
|
+
}, Fi = {
|
|
3096
3096
|
text: "text",
|
|
3097
3097
|
selector: "selector",
|
|
3098
3098
|
multiSelector: "multiSelector"
|
|
@@ -3101,7 +3101,7 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3101
3101
|
REGEX: "regex"
|
|
3102
3102
|
};
|
|
3103
3103
|
function ja(t) {
|
|
3104
|
-
return t ===
|
|
3104
|
+
return t === Kn.CENTER ? "center" : t === Kn.RIGHT ? "right" : "left";
|
|
3105
3105
|
}
|
|
3106
3106
|
function Eo(t) {
|
|
3107
3107
|
if (typeof t == "object" && t !== null)
|
|
@@ -3121,17 +3121,17 @@ function de(t) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
const Ed = (t, e) => t.reduce((r, n) => {
|
|
3123
3123
|
var i, o, s;
|
|
3124
|
-
if (n.answerType ===
|
|
3124
|
+
if (n.answerType === Fi.text && (i = n.property) != null && i.id) {
|
|
3125
3125
|
const a = e.find((l) => l.name === n.property.id);
|
|
3126
3126
|
if (a != null && a.string)
|
|
3127
3127
|
return X(O({}, r), { [n.id]: a.string });
|
|
3128
3128
|
}
|
|
3129
|
-
if (n.answerType ===
|
|
3129
|
+
if (n.answerType === Fi.selector && (o = n.property) != null && o.id) {
|
|
3130
3130
|
const a = e.find((l) => l.name === n.property.id);
|
|
3131
3131
|
if (a != null && a.string)
|
|
3132
3132
|
return X(O({}, r), { [n.id]: a.string });
|
|
3133
3133
|
}
|
|
3134
|
-
if (n.answerType ===
|
|
3134
|
+
if (n.answerType === Fi.multiSelector && (s = n.property) != null && s.id) {
|
|
3135
3135
|
const a = e.find((l) => l.name === n.property.id);
|
|
3136
3136
|
if (a != null && a.array)
|
|
3137
3137
|
return X(O({}, r), { [n.id]: a.array });
|
|
@@ -3153,7 +3153,7 @@ const Ed = (t, e) => t.reduce((r, n) => {
|
|
|
3153
3153
|
} catch (t) {
|
|
3154
3154
|
return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
|
|
3155
3155
|
}
|
|
3156
|
-
}), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ?
|
|
3156
|
+
}), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Bn.FORM : Bn.DATA, Ga = ({ indicatorColor: t }) => {
|
|
3157
3157
|
const e = it(null), r = de(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
|
|
3158
3158
|
return nt(() => {
|
|
3159
3159
|
if (!e.current) return;
|
|
@@ -3747,7 +3747,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3747
3747
|
"data-test": t,
|
|
3748
3748
|
onClick: () => {
|
|
3749
3749
|
const g = JSON.parse(JSON.stringify(e));
|
|
3750
|
-
Eo(g), p(g);
|
|
3750
|
+
Eo(g), p(g, Bn.DATA);
|
|
3751
3751
|
},
|
|
3752
3752
|
className: "hover-button",
|
|
3753
3753
|
style: X(O(O({}, Xd), o && { borderRadius: o }), {
|
|
@@ -3816,7 +3816,7 @@ const Oe = ({
|
|
|
3816
3816
|
fontName: e = "",
|
|
3817
3817
|
fontSize: r = "17px",
|
|
3818
3818
|
fontColor: n,
|
|
3819
|
-
alignment: i =
|
|
3819
|
+
alignment: i = Kn.LEFT,
|
|
3820
3820
|
backgroundColor: o,
|
|
3821
3821
|
cornerRadius: s = 0,
|
|
3822
3822
|
htmlFor: a
|
|
@@ -3830,7 +3830,7 @@ const Oe = ({
|
|
|
3830
3830
|
borderRadius: s
|
|
3831
3831
|
}, d = typeof t == "string" && t.trim() && qa(t);
|
|
3832
3832
|
return a ? /* @__PURE__ */ u("label", { "data-ui": "gui-label", part: "gui-label", style: l, htmlFor: a, children: d }) : /* @__PURE__ */ u("div", { "data-ui": "gui-label", part: "gui-label", style: l, children: d });
|
|
3833
|
-
},
|
|
3833
|
+
}, Zn = ({
|
|
3834
3834
|
title: t,
|
|
3835
3835
|
image: e,
|
|
3836
3836
|
responseBody: r,
|
|
@@ -3847,7 +3847,7 @@ const Oe = ({
|
|
|
3847
3847
|
const [f, c] = Me(!1), g = f && de(o) ? o : n, { perform: w } = ur(), h = (b) => {
|
|
3848
3848
|
if (p && p(b), d !== "RESPONSE_BODY") return;
|
|
3849
3849
|
const I = JSON.parse(JSON.stringify(r));
|
|
3850
|
-
Eo(I), w(I,
|
|
3850
|
+
Eo(I), w(I, Bn.DATA);
|
|
3851
3851
|
}, m = {
|
|
3852
3852
|
height: "50px",
|
|
3853
3853
|
width: "100%",
|
|
@@ -3911,7 +3911,7 @@ const Oe = ({
|
|
|
3911
3911
|
paddingTop: "20px"
|
|
3912
3912
|
}), e), children: t.map((o) => {
|
|
3913
3913
|
var s;
|
|
3914
|
-
return /* @__PURE__ */ u(
|
|
3914
|
+
return /* @__PURE__ */ u(Zn, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Od());
|
|
3915
3915
|
}) });
|
|
3916
3916
|
}, Yt = ({
|
|
3917
3917
|
children: t,
|
|
@@ -3976,11 +3976,11 @@ const Oe = ({
|
|
|
3976
3976
|
]
|
|
3977
3977
|
}
|
|
3978
3978
|
);
|
|
3979
|
-
},
|
|
3979
|
+
}, ni = ({
|
|
3980
3980
|
text: t,
|
|
3981
3981
|
fontName: e = "",
|
|
3982
3982
|
fontColor: r,
|
|
3983
|
-
alignment: n =
|
|
3983
|
+
alignment: n = Kn.LEFT,
|
|
3984
3984
|
fontSize: i = 17,
|
|
3985
3985
|
backgroundColor: o,
|
|
3986
3986
|
cornerRadius: s = 0
|
|
@@ -4056,7 +4056,7 @@ const Oe = ({
|
|
|
4056
4056
|
)
|
|
4057
4057
|
}
|
|
4058
4058
|
),
|
|
4059
|
-
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ u(
|
|
4059
|
+
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ u(ni, O({}, i)) })
|
|
4060
4060
|
]
|
|
4061
4061
|
}
|
|
4062
4062
|
) });
|
|
@@ -4096,7 +4096,7 @@ const Oe = ({
|
|
|
4096
4096
|
children: [
|
|
4097
4097
|
n && /* @__PURE__ */ u("div", { style: iu, children: /* @__PURE__ */ u($e, O({}, n)) }),
|
|
4098
4098
|
t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
|
|
4099
|
-
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(
|
|
4099
|
+
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ni, O({}, i)) })
|
|
4100
4100
|
]
|
|
4101
4101
|
}
|
|
4102
4102
|
) }) }), au = ({ indicatorColor: t = "black" }) => /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(Ga, { indicatorColor: t }) }), xs = ({
|
|
@@ -4150,7 +4150,7 @@ const Oe = ({
|
|
|
4150
4150
|
},
|
|
4151
4151
|
children: [
|
|
4152
4152
|
/* @__PURE__ */ u("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
|
|
4153
|
-
/* @__PURE__ */ u("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ u(
|
|
4153
|
+
/* @__PURE__ */ u("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ u(ni, O({}, e)) })
|
|
4154
4154
|
]
|
|
4155
4155
|
}
|
|
4156
4156
|
),
|
|
@@ -4222,14 +4222,14 @@ function De(t) {
|
|
|
4222
4222
|
return t;
|
|
4223
4223
|
return e;
|
|
4224
4224
|
}
|
|
4225
|
-
var
|
|
4225
|
+
var ii = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Io = (t) => Oo(t.replace(/["|']|\]/g, "").split(/\.|\[/)), U = (t, e, r) => {
|
|
4226
4226
|
if (!e || !Ne(t))
|
|
4227
4227
|
return r;
|
|
4228
|
-
const n = (
|
|
4228
|
+
const n = (ii(e) ? [e] : Io(e)).reduce((i, o) => qe(i) ? i : i[o], t);
|
|
4229
4229
|
return Ie(n) || n === t ? Ie(t[e]) ? r : t[e] : n;
|
|
4230
4230
|
}, Qe = (t) => typeof t == "boolean", Ee = (t, e, r) => {
|
|
4231
4231
|
let n = -1;
|
|
4232
|
-
const i =
|
|
4232
|
+
const i = ii(e) ? [e] : Io(e), o = i.length, s = o - 1;
|
|
4233
4233
|
for (; ++n < o; ) {
|
|
4234
4234
|
const a = i[n];
|
|
4235
4235
|
let l = r;
|
|
@@ -4242,7 +4242,7 @@ var ni = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isA
|
|
|
4242
4242
|
t[a] = l, t = t[a];
|
|
4243
4243
|
}
|
|
4244
4244
|
};
|
|
4245
|
-
const
|
|
4245
|
+
const Yn = {
|
|
4246
4246
|
BLUR: "blur",
|
|
4247
4247
|
FOCUS_OUT: "focusout",
|
|
4248
4248
|
CHANGE: "change"
|
|
@@ -4385,13 +4385,13 @@ function mu(t) {
|
|
|
4385
4385
|
value: Ya(b),
|
|
4386
4386
|
name: r
|
|
4387
4387
|
},
|
|
4388
|
-
type:
|
|
4388
|
+
type: Yn.CHANGE
|
|
4389
4389
|
}), [r]), m = fe.useCallback(() => g.current.onBlur({
|
|
4390
4390
|
target: {
|
|
4391
4391
|
value: U(i._formValues, r),
|
|
4392
4392
|
name: r
|
|
4393
4393
|
},
|
|
4394
|
-
type:
|
|
4394
|
+
type: Yn.BLUR
|
|
4395
4395
|
}), [r, i._formValues]), S = fe.useCallback((b) => {
|
|
4396
4396
|
const I = U(i._fields, r);
|
|
4397
4397
|
I && b && (I._f.ref = {
|
|
@@ -4470,12 +4470,12 @@ function rl(t, e) {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
return r;
|
|
4472
4472
|
}
|
|
4473
|
-
var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file", ft = (t) => typeof t == "function",
|
|
4473
|
+
var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file", ft = (t) => typeof t == "function", Jn = (t) => {
|
|
4474
4474
|
if (!To)
|
|
4475
4475
|
return !1;
|
|
4476
4476
|
const e = t ? t.ownerDocument : 0;
|
|
4477
4477
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
4478
|
-
}, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Qr(t),
|
|
4478
|
+
}, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Qr(t), Li = (t) => Jn(t) && t.isConnected;
|
|
4479
4479
|
function vu(t, e) {
|
|
4480
4480
|
const r = e.slice(0, -1).length;
|
|
4481
4481
|
let n = 0;
|
|
@@ -4490,7 +4490,7 @@ function yu(t) {
|
|
|
4490
4490
|
return !0;
|
|
4491
4491
|
}
|
|
4492
4492
|
function Re(t, e) {
|
|
4493
|
-
const r = Array.isArray(e) ? e :
|
|
4493
|
+
const r = Array.isArray(e) ? e : ii(e) ? [e] : Io(e), n = r.length === 1 ? t : vu(t, r), i = r.length - 1, o = r[i];
|
|
4494
4494
|
return n && delete n[o], i !== 0 && (Ne(n) && Ye(n) || Array.isArray(n) && yu(n)) && Re(t, r.slice(0, -1)), t;
|
|
4495
4495
|
}
|
|
4496
4496
|
var bu = (t) => {
|
|
@@ -4554,7 +4554,7 @@ var Cu = (t, e, r, n) => {
|
|
|
4554
4554
|
fields: i,
|
|
4555
4555
|
shouldUseNativeValidation: n
|
|
4556
4556
|
};
|
|
4557
|
-
},
|
|
4557
|
+
}, Xn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Xn(t) ? t.source : Ne(t) ? Xn(t.value) ? t.value.source : t.value : t, Ms = (t) => ({
|
|
4558
4558
|
isOnSubmit: !t || t === ut.onSubmit,
|
|
4559
4559
|
isOnBlur: t === ut.onBlur,
|
|
4560
4560
|
isOnChange: t === ut.onChange,
|
|
@@ -4582,7 +4582,7 @@ const Br = (t, e, r, n) => {
|
|
|
4582
4582
|
};
|
|
4583
4583
|
function Ls(t, e, r) {
|
|
4584
4584
|
const n = U(t, r);
|
|
4585
|
-
if (n ||
|
|
4585
|
+
if (n || ii(r))
|
|
4586
4586
|
return {
|
|
4587
4587
|
error: n,
|
|
4588
4588
|
name: r
|
|
@@ -4624,7 +4624,7 @@ function Us(t, e, r = "validate") {
|
|
|
4624
4624
|
ref: e
|
|
4625
4625
|
};
|
|
4626
4626
|
}
|
|
4627
|
-
var _r = (t) => Ne(t) && !
|
|
4627
|
+
var _r = (t) => Ne(t) && !Xn(t) ? t : {
|
|
4628
4628
|
value: t,
|
|
4629
4629
|
message: ""
|
|
4630
4630
|
}, Vs = (t, e, r, n, i, o) => F(null, null, function* () {
|
|
@@ -4633,7 +4633,7 @@ var _r = (t) => Ne(t) && !Jn(t) ? t : {
|
|
|
4633
4633
|
return {};
|
|
4634
4634
|
const b = a ? a[0] : s, I = (H) => {
|
|
4635
4635
|
i && b.reportValidity && (b.setCustomValidity(Qe(H) ? "" : H || ""), b.reportValidity());
|
|
4636
|
-
}, k = {}, N = ko(s), R = Qr(s), ae = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) ||
|
|
4636
|
+
}, k = {}, N = ko(s), R = Qr(s), ae = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) || Jn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, le = gu.bind(null, h, n, k), Z = (H, K, ue, ce = St.maxLength, we = St.minLength) => {
|
|
4637
4637
|
const ve = H ? K : ue;
|
|
4638
4638
|
k[h] = O({
|
|
4639
4639
|
type: H ? ce : we,
|
|
@@ -4670,7 +4670,7 @@ var _r = (t) => Ne(t) && !Jn(t) ? t : {
|
|
|
4670
4670
|
}
|
|
4671
4671
|
if (g && !_e && et(C)) {
|
|
4672
4672
|
const { value: H, message: K } = _r(g);
|
|
4673
|
-
if (
|
|
4673
|
+
if (Xn(H) && !C.match(H) && (k[h] = O({
|
|
4674
4674
|
type: St.pattern,
|
|
4675
4675
|
message: K,
|
|
4676
4676
|
ref: s
|
|
@@ -4860,7 +4860,7 @@ function ku(t = {}) {
|
|
|
4860
4860
|
}), le = () => {
|
|
4861
4861
|
for (const y of a.unMount) {
|
|
4862
4862
|
const T = U(n, y);
|
|
4863
|
-
T && (T._f.refs ? T._f.refs.every((A) => !
|
|
4863
|
+
T && (T._f.refs ? T._f.refs.every((A) => !Li(A)) : !Li(T._f.ref)) && Be(y);
|
|
4864
4864
|
}
|
|
4865
4865
|
a.unMount = /* @__PURE__ */ new Set();
|
|
4866
4866
|
}, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Ut(L(), i)), H = (y, T, A) => el(y, a, O({}, s.mount ? o : Ie(T) ? i : et(y) ? { [y]: T } : T), A, T), K = (y) => Oo(U(s.mount ? o : i, y, e.shouldUnregister ? U(i, y, []) : [])), ue = (y, T, A = {}) => {
|
|
@@ -4868,7 +4868,7 @@ function ku(t = {}) {
|
|
|
4868
4868
|
let M = T;
|
|
4869
4869
|
if (V) {
|
|
4870
4870
|
const P = V._f;
|
|
4871
|
-
P && (!P.disabled && Ee(o, y, sl(T, P)), M =
|
|
4871
|
+
P && (!P.disabled && Ee(o, y, sl(T, P)), M = Jn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ? Qr(P.ref) ? P.refs.forEach((W) => {
|
|
4872
4872
|
(!W.defaultChecked || !W.disabled) && (Array.isArray(M) ? W.checked = !!M.find((ne) => ne === W.value) : W.checked = M === W.value || !!M);
|
|
4873
4873
|
}) : P.refs.forEach((W) => W.checked = W.value === M) : Ro(P.ref) ? P.ref.value = "" : (P.ref.value = M, P.ref.type || c.state.next({
|
|
4874
4874
|
name: y,
|
|
@@ -4905,7 +4905,7 @@ function ku(t = {}) {
|
|
|
4905
4905
|
}, W = Ms(e.mode), ne = Ms(e.reValidateMode);
|
|
4906
4906
|
if (M) {
|
|
4907
4907
|
let G, ge;
|
|
4908
|
-
const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type ===
|
|
4908
|
+
const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type === Yn.BLUR || y.type === Yn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !U(r.errors, A) && !M._f.deps || Iu(J, U(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
|
|
4909
4909
|
Ee(o, A, Pe), J ? (!T || !T.readOnly) && (M._f.onBlur && M._f.onBlur(y), l && l(0)) : M._f.onChange && M._f.onChange(y);
|
|
4910
4910
|
const me = k(A, Pe, J), He = !Ye(me) || j;
|
|
4911
4911
|
if (!J && c.state.next({
|
|
@@ -5013,7 +5013,7 @@ function ku(t = {}) {
|
|
|
5013
5013
|
Ee(n, y, {
|
|
5014
5014
|
_f: O(O({}, A._f), W ? {
|
|
5015
5015
|
refs: [
|
|
5016
|
-
...ne.filter(
|
|
5016
|
+
...ne.filter(Li),
|
|
5017
5017
|
P,
|
|
5018
5018
|
...Array.isArray(U(i, y)) ? [{}] : []
|
|
5019
5019
|
],
|
|
@@ -5082,7 +5082,7 @@ function ku(t = {}) {
|
|
|
5082
5082
|
const ne = U(n, W);
|
|
5083
5083
|
if (ne && ne._f) {
|
|
5084
5084
|
const G = Array.isArray(ne._f.refs) ? ne._f.refs[0] : ne._f.ref;
|
|
5085
|
-
if (
|
|
5085
|
+
if (Jn(G)) {
|
|
5086
5086
|
const ge = G.closest("form");
|
|
5087
5087
|
if (ge) {
|
|
5088
5088
|
ge.reset();
|
|
@@ -6038,7 +6038,7 @@ const Tr = (t, e) => {
|
|
|
6038
6038
|
underlyingError: n,
|
|
6039
6039
|
underlyingBaseError: i
|
|
6040
6040
|
}) {
|
|
6041
|
-
const o = Ce.getErrorKey(e,
|
|
6041
|
+
const o = Ce.getErrorKey(e, qn);
|
|
6042
6042
|
super({
|
|
6043
6043
|
errorCode: e,
|
|
6044
6044
|
errorCodeKey: o,
|
|
@@ -6052,7 +6052,7 @@ const Tr = (t, e) => {
|
|
|
6052
6052
|
});
|
|
6053
6053
|
}
|
|
6054
6054
|
};
|
|
6055
|
-
Lt.MODULE =
|
|
6055
|
+
Lt.MODULE = Gn, Lt.ERROR_ENUM_NAME = "GuiModuleError", Lt.SHORT_CODE = "GM";
|
|
6056
6056
|
let Kr = Lt;
|
|
6057
6057
|
const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
|
|
6058
6058
|
const l = Ka(r), { perform: d } = ur(), p = s ? Ed(o.questions, s) : {}, f = it(null), {
|
|
@@ -6117,7 +6117,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6117
6117
|
}), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? k(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
|
|
6118
6118
|
if (!R) {
|
|
6119
6119
|
const Z = new Kr({
|
|
6120
|
-
errorCode:
|
|
6120
|
+
errorCode: qn.DECODING_FAILED,
|
|
6121
6121
|
message: "The question template has not been found"
|
|
6122
6122
|
});
|
|
6123
6123
|
d(Z);
|
|
@@ -6222,7 +6222,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6222
6222
|
alignItems: "flex-end",
|
|
6223
6223
|
padding: "2px"
|
|
6224
6224
|
},
|
|
6225
|
-
children: r.map((b, I) => /* @__PURE__ */ u(
|
|
6225
|
+
children: r.map((b, I) => /* @__PURE__ */ u(Zn, O({ dataTestId: "question-button" }, b), I))
|
|
6226
6226
|
}
|
|
6227
6227
|
)
|
|
6228
6228
|
]
|
|
@@ -6419,7 +6419,7 @@ function e1() {
|
|
|
6419
6419
|
(o = t.current) == null || o.hidePopover(), r(!1);
|
|
6420
6420
|
} };
|
|
6421
6421
|
}
|
|
6422
|
-
const
|
|
6422
|
+
const Ui = () => F(null, null, function* () {
|
|
6423
6423
|
var t;
|
|
6424
6424
|
try {
|
|
6425
6425
|
const e = yield navigator.permissions.query({ name: "geolocation" });
|
|
@@ -6562,7 +6562,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6562
6562
|
if (Je.isSafari || l) return;
|
|
6563
6563
|
let k = !0;
|
|
6564
6564
|
return F(null, null, function* () {
|
|
6565
|
-
if ((yield
|
|
6565
|
+
if ((yield Ui()) !== "granted") {
|
|
6566
6566
|
f == null || f(!1);
|
|
6567
6567
|
return;
|
|
6568
6568
|
}
|
|
@@ -6600,7 +6600,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6600
6600
|
}, []);
|
|
6601
6601
|
const C = (k) => F(null, null, function* () {
|
|
6602
6602
|
k.preventDefault();
|
|
6603
|
-
const N = yield
|
|
6603
|
+
const N = yield Ui();
|
|
6604
6604
|
if (N === "denied") {
|
|
6605
6605
|
w();
|
|
6606
6606
|
return;
|
|
@@ -6610,7 +6610,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6610
6610
|
p(R, d);
|
|
6611
6611
|
}
|
|
6612
6612
|
}), b = (k) => F(null, null, function* () {
|
|
6613
|
-
if (k.preventDefault(), (yield
|
|
6613
|
+
if (k.preventDefault(), (yield Ui()) === "denied") {
|
|
6614
6614
|
w();
|
|
6615
6615
|
return;
|
|
6616
6616
|
}
|
|
@@ -6625,7 +6625,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6625
6625
|
/* @__PURE__ */ u("div", { style: n1, children: [
|
|
6626
6626
|
n && /* @__PURE__ */ u("div", { style: o1, children: /* @__PURE__ */ u($e, O({}, n)) }),
|
|
6627
6627
|
t && /* @__PURE__ */ u("div", { style: s1, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
|
|
6628
|
-
i && /* @__PURE__ */ u("div", { style: a1, children: /* @__PURE__ */ u(
|
|
6628
|
+
i && /* @__PURE__ */ u("div", { style: a1, children: /* @__PURE__ */ u(ni, O({}, i)) })
|
|
6629
6629
|
] }),
|
|
6630
6630
|
!!(o != null && o.length) && /* @__PURE__ */ u(
|
|
6631
6631
|
"div",
|
|
@@ -6635,7 +6635,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6635
6635
|
flexDirection: "column"
|
|
6636
6636
|
},
|
|
6637
6637
|
children: o.map((k, N) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
|
|
6638
|
-
|
|
6638
|
+
Zn,
|
|
6639
6639
|
O(O({
|
|
6640
6640
|
dataTestId: "question-button"
|
|
6641
6641
|
}, k), k.type === "FORM" ? {
|
|
@@ -6660,7 +6660,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6660
6660
|
/* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, S.title))) }),
|
|
6661
6661
|
/* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, S.message))) }) }),
|
|
6662
6662
|
S.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
|
|
6663
|
-
|
|
6663
|
+
Zn,
|
|
6664
6664
|
O(O({
|
|
6665
6665
|
dataTestId: "question-button"
|
|
6666
6666
|
}, S.actionButton1), S.actionButton1.type === "FORM" ? { onClick: I } : {})
|
|
@@ -6784,18 +6784,18 @@ const Li = () => F(null, null, function* () {
|
|
|
6784
6784
|
);
|
|
6785
6785
|
if (e === ct.QUESTIONS && !n) {
|
|
6786
6786
|
const l = new Kr({
|
|
6787
|
-
errorCode:
|
|
6787
|
+
errorCode: qn.DECODING_FAILED,
|
|
6788
6788
|
message: "No data for questions"
|
|
6789
6789
|
});
|
|
6790
6790
|
return o(l), null;
|
|
6791
6791
|
}
|
|
6792
6792
|
const a = new Kr({
|
|
6793
|
-
errorCode:
|
|
6793
|
+
errorCode: qn.DECODING_FAILED,
|
|
6794
6794
|
message: "Unsupported step template"
|
|
6795
6795
|
});
|
|
6796
6796
|
return o(a), null;
|
|
6797
6797
|
};
|
|
6798
|
-
let
|
|
6798
|
+
let Vi = !1;
|
|
6799
6799
|
const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: t }), p1 = ({ isProcessing: t, moduleProps: e, perform: r }) => {
|
|
6800
6800
|
const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, d) => {
|
|
6801
6801
|
r && r(l, d);
|
|
@@ -6873,19 +6873,19 @@ const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
|
|
|
6873
6873
|
});
|
|
6874
6874
|
}
|
|
6875
6875
|
static isReady() {
|
|
6876
|
-
return
|
|
6876
|
+
return Vi;
|
|
6877
6877
|
}
|
|
6878
6878
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6879
6879
|
static initialize(e) {
|
|
6880
|
-
|
|
6880
|
+
Vi = !0;
|
|
6881
6881
|
}
|
|
6882
6882
|
static deinitialize() {
|
|
6883
|
-
|
|
6883
|
+
Vi = !1;
|
|
6884
6884
|
}
|
|
6885
6885
|
};
|
|
6886
|
-
Hr.displayName =
|
|
6887
|
-
let
|
|
6888
|
-
wd(
|
|
6886
|
+
Hr.displayName = Gn, Hr.getSupportedTemplates = () => Object.values(ct), Hr.getIdentifier = () => Gn;
|
|
6887
|
+
let Qn = Hr;
|
|
6888
|
+
wd(Gn, Qn);
|
|
6889
6889
|
const _1 = (t, e) => ({
|
|
6890
6890
|
_isInitialized: !1,
|
|
6891
6891
|
_initializationInProgress: !1,
|
|
@@ -6988,13 +6988,13 @@ const _1 = (t, e) => ({
|
|
|
6988
6988
|
if (e()._isInitialized)
|
|
6989
6989
|
return console.warn("Idv:: Already initialized"), {};
|
|
6990
6990
|
if (e()._initializationInProgress)
|
|
6991
|
-
return { error: new
|
|
6992
|
-
errorCode:
|
|
6991
|
+
return { error: new Hn({
|
|
6992
|
+
errorCode: ti.INITIALIZATION_IN_PROGRESS
|
|
6993
6993
|
}) };
|
|
6994
6994
|
t({ _initializationInProgress: !0 }), yield e().setAndInitFetchService(), t({
|
|
6995
6995
|
modulesConfig: n.modulesConfig || {}
|
|
6996
6996
|
});
|
|
6997
|
-
let i = [
|
|
6997
|
+
let i = [Qn];
|
|
6998
6998
|
if (Array.isArray(n == null ? void 0 : n.includedModules)) {
|
|
6999
6999
|
const s = n.includedModules.filter(
|
|
7000
7000
|
(a) => typeof a == "function" && a.displayName && !i.some((l) => l.displayName === a.displayName)
|
|
@@ -7027,7 +7027,7 @@ const _1 = (t, e) => ({
|
|
|
7027
7027
|
message: `Missing parameters: ${o.join(", ")}`
|
|
7028
7028
|
})
|
|
7029
7029
|
};
|
|
7030
|
-
const s =
|
|
7030
|
+
const s = Pi(n.baseUrl);
|
|
7031
7031
|
if (!s)
|
|
7032
7032
|
return {
|
|
7033
7033
|
error: new Ve({
|
|
@@ -7087,7 +7087,7 @@ const _1 = (t, e) => ({
|
|
|
7087
7087
|
};
|
|
7088
7088
|
t({ _isConnectedToPlatform: !0 });
|
|
7089
7089
|
try {
|
|
7090
|
-
const s =
|
|
7090
|
+
const s = Pi(n);
|
|
7091
7091
|
if (!s)
|
|
7092
7092
|
return {
|
|
7093
7093
|
error: new Ve({
|
|
@@ -7128,7 +7128,7 @@ const _1 = (t, e) => ({
|
|
|
7128
7128
|
message: `Missing parameters: ${o.join(", ")}`
|
|
7129
7129
|
})
|
|
7130
7130
|
};
|
|
7131
|
-
const s =
|
|
7131
|
+
const s = Pi(n.baseUrl);
|
|
7132
7132
|
if (!s)
|
|
7133
7133
|
return {
|
|
7134
7134
|
error: new Ve({
|
|
@@ -7165,7 +7165,7 @@ const _1 = (t, e) => ({
|
|
|
7165
7165
|
}) };
|
|
7166
7166
|
const i = yield e().fetchService.listWorkflows(n);
|
|
7167
7167
|
if (i.code !== 0) {
|
|
7168
|
-
const o = i.code === 4 ? Tt.HTTP_ISSUE : Tt.PROVIDER_ERROR, s = new
|
|
7168
|
+
const o = i.code === 4 ? Tt.HTTP_ISSUE : Tt.PROVIDER_ERROR, s = new zn({ errorCode: o });
|
|
7169
7169
|
return { error: new Ot({
|
|
7170
7170
|
errorCode: Et.WORKFLOW_ISSUE,
|
|
7171
7171
|
message: "No workflow list",
|
|
@@ -7190,10 +7190,10 @@ const _1 = (t, e) => ({
|
|
|
7190
7190
|
return { error: new Ot({
|
|
7191
7191
|
errorCode: Et.SCENARIO_IN_PROGRESS
|
|
7192
7192
|
}) };
|
|
7193
|
-
const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((h) => h.templateId ===
|
|
7193
|
+
const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((h) => h.templateId === Hi);
|
|
7194
7194
|
let a = null;
|
|
7195
7195
|
if (i.code === 4 && (a = Tt.HTTP_ISSUE), i.code !== 0 && i.code !== 4 && (a = Tt.PROVIDER_ERROR), i.code === 0 && !i.data.id && (a = Tt.DECODING_FAILED), i.code === 0 && i.data.id && o === null && (a = Tt.DECODING_FAILED), s || (a = Tt.DECODING_FAILED), a !== null) {
|
|
7196
|
-
const h = new
|
|
7196
|
+
const h = new zn({
|
|
7197
7197
|
errorCode: a
|
|
7198
7198
|
});
|
|
7199
7199
|
return { error: new Ot({
|
|
@@ -7319,11 +7319,11 @@ const _1 = (t, e) => ({
|
|
|
7319
7319
|
deinitialize() {
|
|
7320
7320
|
return F(this, null, function* () {
|
|
7321
7321
|
if (!e()._isInitialized)
|
|
7322
|
-
return { error: new
|
|
7322
|
+
return { error: new jn({
|
|
7323
7323
|
errorCode: Un.INITIALIZATION_REQUIRED
|
|
7324
7324
|
}) };
|
|
7325
7325
|
if (e().currentScreenConfig)
|
|
7326
|
-
return { error: new
|
|
7326
|
+
return { error: new jn({
|
|
7327
7327
|
errorCode: Un.SCENARIO_IN_PROGRESS
|
|
7328
7328
|
}) };
|
|
7329
7329
|
const n = yield e().deinitializationIdv();
|
|
@@ -7648,9 +7648,7 @@ class m1 {
|
|
|
7648
7648
|
_fetchStep(e, r, n, i) {
|
|
7649
7649
|
return F(this, null, function* () {
|
|
7650
7650
|
var p;
|
|
7651
|
-
const o = "POST", s = O({
|
|
7652
|
-
stage: "0"
|
|
7653
|
-
}, i && { type: i }), l = new URLSearchParams(s).toString(), d = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}?${l}`;
|
|
7651
|
+
const o = "POST", s = O({}, i && { type: i }), l = new URLSearchParams(s).toString(), d = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}${l ? `?${l}` : ""}`;
|
|
7654
7652
|
try {
|
|
7655
7653
|
const f = yield fetch(d, {
|
|
7656
7654
|
headers: {
|
|
@@ -7830,7 +7828,7 @@ const g1 = (t, e) => ({
|
|
|
7830
7828
|
errorCode: s,
|
|
7831
7829
|
message: JSON.stringify(o.data)
|
|
7832
7830
|
});
|
|
7833
|
-
return { error: new
|
|
7831
|
+
return { error: new Wn({
|
|
7834
7832
|
errorCode: Ln.CONNECTION_ISSUE,
|
|
7835
7833
|
underlyingBaseError: a
|
|
7836
7834
|
}) };
|
|
@@ -7858,7 +7856,7 @@ const g1 = (t, e) => ({
|
|
|
7858
7856
|
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
|
|
7859
7857
|
errorCode: s,
|
|
7860
7858
|
message: JSON.stringify(o.data)
|
|
7861
|
-
}), l = new
|
|
7859
|
+
}), l = new Wn({
|
|
7862
7860
|
errorCode: Ln.CONNECTION_ISSUE,
|
|
7863
7861
|
underlyingBaseError: a
|
|
7864
7862
|
});
|
|
@@ -7902,14 +7900,14 @@ const g1 = (t, e) => ({
|
|
|
7902
7900
|
const i = yield w1(n);
|
|
7903
7901
|
return t(() => ({ externalModules: i })), {};
|
|
7904
7902
|
} catch (i) {
|
|
7905
|
-
return e().resetFetchService(), e().resetProps(), { error: new
|
|
7906
|
-
errorCode:
|
|
7903
|
+
return e().resetFetchService(), e().resetProps(), { error: new Hn({
|
|
7904
|
+
errorCode: ti.MODULES_INSTANTIATION_FAILURE
|
|
7907
7905
|
}) };
|
|
7908
7906
|
}
|
|
7909
7907
|
}),
|
|
7910
7908
|
setProcessingTemplate: (n) => {
|
|
7911
7909
|
const i = Co(
|
|
7912
|
-
n.find((o) => o.templateId ===
|
|
7910
|
+
n.find((o) => o.templateId === Hi)
|
|
7913
7911
|
);
|
|
7914
7912
|
i.templateLayout = bs(i.templateLayout, e().layout), t({ processingTransformedTemplate: i });
|
|
7915
7913
|
},
|
|
@@ -7949,7 +7947,7 @@ const g1 = (t, e) => ({
|
|
|
7949
7947
|
return { error: new Ge({
|
|
7950
7948
|
errorCode: Ke.INTERNAL_ISSUE,
|
|
7951
7949
|
underlyingBaseError: S
|
|
7952
|
-
}) };
|
|
7950
|
+
}), shouldRetry: !0 };
|
|
7953
7951
|
}
|
|
7954
7952
|
return d && !a && !p && !f && !c ? { data: n.data } : { shouldRetry: !0 };
|
|
7955
7953
|
}),
|
|
@@ -8078,7 +8076,7 @@ const g1 = (t, e) => ({
|
|
|
8078
8076
|
if (!n) return t(() => ({ currentScreenConfig: null }));
|
|
8079
8077
|
const i = e().workflow, o = e().sessionProperties;
|
|
8080
8078
|
let s = null;
|
|
8081
|
-
if (n ===
|
|
8079
|
+
if (n === Hi && e().processingTransformedTemplate !== null) {
|
|
8082
8080
|
const c = e().processingTransformedTemplate;
|
|
8083
8081
|
c && (s = {
|
|
8084
8082
|
templateId: c.templateId,
|
|
@@ -8165,7 +8163,7 @@ class y1 {
|
|
|
8165
8163
|
typeof window != "undefined" && (window.removeEventListener("load", this._handleOrientationChange), window.removeEventListener("resize", this._handleOrientationChange));
|
|
8166
8164
|
}
|
|
8167
8165
|
}
|
|
8168
|
-
var
|
|
8166
|
+
var $i = { exports: {} }, Ws;
|
|
8169
8167
|
function b1() {
|
|
8170
8168
|
return Ws || (Ws = 1, (function(t) {
|
|
8171
8169
|
t.exports = /******/
|
|
@@ -8337,8 +8335,8 @@ function b1() {
|
|
|
8337
8335
|
return R;
|
|
8338
8336
|
}, on = function() {
|
|
8339
8337
|
return I.type;
|
|
8340
|
-
}, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = M(), rt = yt() || j(), dn = ot(), un = Xe() || j(), fn = bt(), hn = Wt(), pn = y(), _n = T() || j(), mn = A(),
|
|
8341
|
-
function
|
|
8338
|
+
}, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = M(), rt = yt() || j(), dn = ot(), un = Xe() || j(), fn = bt(), hn = Wt(), pn = y(), _n = T() || j(), mn = A(), oi = V(), si = ne(), ai = ge(), fr = Pe(), gn = q(), wn = ze(), vn = xe(), li = he(), yn = jt(), bn = Jt(), Cn = en(), ci = tn(), di = rn(), ui = nn(), fi = P() || st(), Sn = W(), hi = on(), pi = oe(), _i = j(), mi = me(), gi = He(), wi = J(), vi = st(), yi = P(), bi = _t(), Ci = tt(), mt = p(I.type);
|
|
8339
|
+
function Si() {
|
|
8342
8340
|
var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet, En = mt.isSmartTV, Tn = mt.isConsole, On = mt.isWearable;
|
|
8343
8341
|
if (ie)
|
|
8344
8342
|
return f(ie, b, k, N, R);
|
|
@@ -8352,7 +8350,7 @@ function b1() {
|
|
|
8352
8350
|
return g(On, k, N, R);
|
|
8353
8351
|
}
|
|
8354
8352
|
e.exports = {
|
|
8355
|
-
deviceDetect:
|
|
8353
|
+
deviceDetect: Si,
|
|
8356
8354
|
isSmartTV: sn,
|
|
8357
8355
|
isConsole: an,
|
|
8358
8356
|
isWearable: ln,
|
|
@@ -8366,32 +8364,32 @@ function b1() {
|
|
|
8366
8364
|
isWinPhone: pn,
|
|
8367
8365
|
isIOS: _n,
|
|
8368
8366
|
isChrome: mn,
|
|
8369
|
-
isFirefox:
|
|
8370
|
-
isSafari:
|
|
8371
|
-
isOpera:
|
|
8367
|
+
isFirefox: oi,
|
|
8368
|
+
isSafari: si,
|
|
8369
|
+
isOpera: ai,
|
|
8372
8370
|
isIE: fr,
|
|
8373
8371
|
osVersion: gn,
|
|
8374
8372
|
osName: wn,
|
|
8375
8373
|
fullBrowserVersion: vn,
|
|
8376
|
-
browserVersion:
|
|
8374
|
+
browserVersion: li,
|
|
8377
8375
|
browserName: yn,
|
|
8378
8376
|
mobileVendor: bn,
|
|
8379
8377
|
mobileModel: Cn,
|
|
8380
|
-
engineName:
|
|
8381
|
-
engineVersion:
|
|
8382
|
-
getUA:
|
|
8383
|
-
isEdge:
|
|
8378
|
+
engineName: ci,
|
|
8379
|
+
engineVersion: di,
|
|
8380
|
+
getUA: ui,
|
|
8381
|
+
isEdge: fi,
|
|
8384
8382
|
isYandex: Sn,
|
|
8385
|
-
deviceType:
|
|
8386
|
-
isIOS13:
|
|
8387
|
-
isIPad13:
|
|
8388
|
-
isIPhone13:
|
|
8389
|
-
isIPod13:
|
|
8390
|
-
isElectron:
|
|
8391
|
-
isEdgeChromium:
|
|
8392
|
-
isLegacyEdge:
|
|
8393
|
-
isWindows:
|
|
8394
|
-
isMacOs:
|
|
8383
|
+
deviceType: hi,
|
|
8384
|
+
isIOS13: pi,
|
|
8385
|
+
isIPad13: _i,
|
|
8386
|
+
isIPhone13: mi,
|
|
8387
|
+
isIPod13: gi,
|
|
8388
|
+
isElectron: wi,
|
|
8389
|
+
isEdgeChromium: vi,
|
|
8390
|
+
isLegacyEdge: yi,
|
|
8391
|
+
isWindows: bi,
|
|
8392
|
+
isMacOs: Ci
|
|
8395
8393
|
};
|
|
8396
8394
|
}),
|
|
8397
8395
|
/* 2 */
|
|
@@ -8585,7 +8583,7 @@ function b1() {
|
|
|
8585
8583
|
})
|
|
8586
8584
|
/******/
|
|
8587
8585
|
]);
|
|
8588
|
-
})(
|
|
8586
|
+
})($i)), $i.exports;
|
|
8589
8587
|
}
|
|
8590
8588
|
var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
|
|
8591
8589
|
for (var i = void 0, o = t.length - 1, s; o >= 0; o--)
|
|
@@ -8594,7 +8592,7 @@ var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
|
|
|
8594
8592
|
};
|
|
8595
8593
|
const No = class No extends Mr {
|
|
8596
8594
|
constructor() {
|
|
8597
|
-
super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Le.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
|
|
8595
|
+
super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Le.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
|
|
8598
8596
|
this.store.listener({
|
|
8599
8597
|
eventType: Fn.MESSAGE,
|
|
8600
8598
|
message: r,
|
|
@@ -8604,13 +8602,16 @@ const No = class No extends Mr {
|
|
|
8604
8602
|
this.store.setIsProcessing(e);
|
|
8605
8603
|
}, this._performFromModule = (e, r) => {
|
|
8606
8604
|
this.store.setIsProcessing(!1), this.store.pushStepWaitNextStepAndSet(e, r);
|
|
8607
|
-
}
|
|
8605
|
+
};
|
|
8606
|
+
}
|
|
8607
|
+
connectedCallback() {
|
|
8608
|
+
super.connectedCallback(), this.unsubscribeFromStore = Le.subscribe((e) => {
|
|
8608
8609
|
this.currentScreenConfig = e.currentScreenConfig, this.processingScreenFromWorkflow = e.processingTransformedTemplate, this.isProcessing = e.isProcessing, this.loadedModules = e.externalModules, this.modulesConfig = e.modulesConfig;
|
|
8609
8610
|
});
|
|
8610
8611
|
}
|
|
8611
8612
|
_processingScreen() {
|
|
8612
8613
|
const e = this.loadedModules.find((n) => n.supportedTemplates.includes("PROGRESS"));
|
|
8613
|
-
if (!e || !this.processingScreenFromWorkflow) return
|
|
8614
|
+
if (!e || !this.processingScreenFromWorkflow) return Oi`Processing...`;
|
|
8614
8615
|
const r = {
|
|
8615
8616
|
perform: this._performFromModule,
|
|
8616
8617
|
moduleProps: X(O({}, this.processingScreenFromWorkflow), {
|
|
@@ -8641,20 +8642,21 @@ const No = class No extends Mr {
|
|
|
8641
8642
|
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Hs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
8642
8643
|
}
|
|
8643
8644
|
get version() {
|
|
8644
|
-
return `${"3.2.
|
|
8645
|
+
return `${"3.2.263-nightly".trim()}`;
|
|
8645
8646
|
}
|
|
8646
8647
|
disconnectedCallback() {
|
|
8647
|
-
|
|
8648
|
+
var e;
|
|
8649
|
+
super.disconnectedCallback(), (e = this.unsubscribeFromStore) == null || e.call(this), na.clearLogs();
|
|
8648
8650
|
}
|
|
8649
8651
|
render() {
|
|
8650
|
-
return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null :
|
|
8652
|
+
return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Oi`<div
|
|
8651
8653
|
part="idv"
|
|
8652
8654
|
class="idv"
|
|
8653
8655
|
data-device="${C1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
|
|
8654
8656
|
data-direction="${ia.Ltr}"
|
|
8655
8657
|
>
|
|
8656
8658
|
<div class="container">
|
|
8657
|
-
${this.isProcessing ?
|
|
8659
|
+
${this.isProcessing ? Oi`<div class="processing-overlay">${this._processingScreen()}</div>` : ""}
|
|
8658
8660
|
${this._currentScreen()}
|
|
8659
8661
|
</div>
|
|
8660
8662
|
</div>`;
|
|
@@ -8727,7 +8729,7 @@ class P1 {
|
|
|
8727
8729
|
}
|
|
8728
8730
|
/** service commands */
|
|
8729
8731
|
get version() {
|
|
8730
|
-
return "3.2.
|
|
8732
|
+
return "3.2.263-nightly";
|
|
8731
8733
|
}
|
|
8732
8734
|
set nonce(e) {
|
|
8733
8735
|
Le.getState().setNonce(e);
|
|
@@ -8754,7 +8756,7 @@ export {
|
|
|
8754
8756
|
P1 as IdvIntegrationService,
|
|
8755
8757
|
Pr as IdvServiceMessages,
|
|
8756
8758
|
Bt as IdvWebComponent,
|
|
8757
|
-
|
|
8759
|
+
ti as InitializeError,
|
|
8758
8760
|
Et as PrepareWorkflowError,
|
|
8759
8761
|
lt as SessionError,
|
|
8760
8762
|
tr as StartSessionError,
|