@regulaforensics/idv-capture-web 3.2.257-nightly → 3.2.258-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/dist/index.d.ts +10 -1
- package/dist/main.iife.js +12 -12
- package/dist/main.js +545 -530
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var Ml = Object.defineProperty, Pl = Object.defineProperties;
|
|
2
2
|
var Fl = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var In = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Vo = Object.prototype.hasOwnProperty, $o = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Lo = (t, e, r) => e in t ? Ml(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, O = (t, e) => {
|
|
6
6
|
for (var r in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
Vo.call(e, r) && Lo(t, r, e[r]);
|
|
8
8
|
if (In)
|
|
9
9
|
for (var r of In(e))
|
|
10
|
-
|
|
10
|
+
$o.call(e, r) && Lo(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
12
|
}, X = (t, e) => Pl(t, Fl(e));
|
|
13
13
|
var Xt = (t, e) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var n in t)
|
|
16
|
-
|
|
16
|
+
Vo.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
17
17
|
if (t != null && In)
|
|
18
18
|
for (var n of In(t))
|
|
19
|
-
e.indexOf(n) < 0 &&
|
|
19
|
+
e.indexOf(n) < 0 && $o.call(t, n) && (r[n] = t[n]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
22
|
var F = (t, e, r) => new Promise((n, i) => {
|
|
@@ -40,18 +40,18 @@ var F = (t, e, r) => new Promise((n, i) => {
|
|
|
40
40
|
* Copyright 2019 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
42
|
*/
|
|
43
|
-
const Nn = globalThis,
|
|
44
|
-
let
|
|
43
|
+
const Nn = globalThis, Qi = Nn.ShadowRoot && (Nn.ShadyCSS === void 0 || Nn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, eo = Symbol(), Bo = /* @__PURE__ */ new WeakMap();
|
|
44
|
+
let Ys = class {
|
|
45
45
|
constructor(e, r, n) {
|
|
46
|
-
if (this._$cssResult$ = !0, n !==
|
|
46
|
+
if (this._$cssResult$ = !0, n !== eo) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
47
47
|
this.cssText = e, this.t = r;
|
|
48
48
|
}
|
|
49
49
|
get styleSheet() {
|
|
50
50
|
let e = this.o;
|
|
51
51
|
const r = this.t;
|
|
52
|
-
if (
|
|
52
|
+
if (Qi && e === void 0) {
|
|
53
53
|
const n = r !== void 0 && r.length === 1;
|
|
54
|
-
n && (e =
|
|
54
|
+
n && (e = Bo.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Bo.set(r, e));
|
|
55
55
|
}
|
|
56
56
|
return e;
|
|
57
57
|
}
|
|
@@ -59,20 +59,20 @@ let Js = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const Ul = (t) => new
|
|
62
|
+
const Ul = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, eo), Ll = (t, ...e) => {
|
|
63
63
|
const r = t.length === 1 ? t[0] : e.reduce(((n, i, o) => n + ((s) => {
|
|
64
64
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
65
65
|
if (typeof s == "number") return s;
|
|
66
66
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
67
67
|
})(i) + t[o + 1]), t[0]);
|
|
68
|
-
return new
|
|
68
|
+
return new Ys(r, t, eo);
|
|
69
69
|
}, Vl = (t, e) => {
|
|
70
|
-
if (
|
|
70
|
+
if (Qi) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
|
|
71
71
|
else for (const r of e) {
|
|
72
72
|
const n = document.createElement("style"), i = Nn.litNonce;
|
|
73
73
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = r.cssText, t.appendChild(n);
|
|
74
74
|
}
|
|
75
|
-
},
|
|
75
|
+
}, Ho = Qi ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
|
|
76
76
|
let r = "";
|
|
77
77
|
for (const n of e.cssRules) r += n.cssText;
|
|
78
78
|
return Ul(r);
|
|
@@ -82,7 +82,7 @@ const Ul = (t) => new Js(typeof t == "string" ? t : t + "", void 0, to), Ll = (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,
|
|
85
|
+
const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Si = qt.reactiveElementPolyfillSupport, kr = (t, e) => t, Mn = { toAttribute(t, e) {
|
|
86
86
|
switch (e) {
|
|
87
87
|
case Boolean:
|
|
88
88
|
t = t ? Kl : null;
|
|
@@ -110,9 +110,9 @@ const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnProperty
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
return r;
|
|
113
|
-
} },
|
|
114
|
-
var
|
|
115
|
-
(
|
|
113
|
+
} }, to = (t, e) => !$l(t, e), jo = { attribute: !0, type: String, converter: Mn, reflect: !1, useDefault: !1, hasChanged: to };
|
|
114
|
+
var js, zs;
|
|
115
|
+
(js = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (zs = qt.litPropertyMetadata) != null || (qt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
116
116
|
let _r = class extends HTMLElement {
|
|
117
117
|
static addInitializer(e) {
|
|
118
118
|
var r;
|
|
@@ -121,7 +121,7 @@ let _r = class extends HTMLElement {
|
|
|
121
121
|
static get observedAttributes() {
|
|
122
122
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
123
123
|
}
|
|
124
|
-
static createProperty(e, r =
|
|
124
|
+
static createProperty(e, r = jo) {
|
|
125
125
|
if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
|
|
126
126
|
const n = Symbol(), i = this.getPropertyDescriptor(e, n, r);
|
|
127
127
|
i !== void 0 && Bl(this.prototype, e, i);
|
|
@@ -141,7 +141,7 @@ let _r = class extends HTMLElement {
|
|
|
141
141
|
}
|
|
142
142
|
static getPropertyOptions(e) {
|
|
143
143
|
var r;
|
|
144
|
-
return (r = this.elementProperties.get(e)) != null ? r :
|
|
144
|
+
return (r = this.elementProperties.get(e)) != null ? r : jo;
|
|
145
145
|
}
|
|
146
146
|
static _$Ei() {
|
|
147
147
|
if (this.hasOwnProperty(kr("elementProperties"))) return;
|
|
@@ -170,8 +170,8 @@ let _r = class extends HTMLElement {
|
|
|
170
170
|
const r = [];
|
|
171
171
|
if (Array.isArray(e)) {
|
|
172
172
|
const n = new Set(e.flat(1 / 0).reverse());
|
|
173
|
-
for (const i of n) r.unshift(
|
|
174
|
-
} else e !== void 0 && r.push(
|
|
173
|
+
for (const i of n) r.unshift(Ho(i));
|
|
174
|
+
} else e !== void 0 && r.push(Ho(e));
|
|
175
175
|
return r;
|
|
176
176
|
}
|
|
177
177
|
static _$Eu(e, r) {
|
|
@@ -244,7 +244,7 @@ let _r = class extends HTMLElement {
|
|
|
244
244
|
var i, o;
|
|
245
245
|
if (e !== void 0) {
|
|
246
246
|
const s = this.constructor, a = this[e];
|
|
247
|
-
if (n != null || (n = s.getPropertyOptions(e)), !(((i = n.hasChanged) != null ? i :
|
|
247
|
+
if (n != null || (n = s.getPropertyOptions(e)), !(((i = n.hasChanged) != null ? i : to)(a, r) || n.useDefault && n.reflect && a === ((o = this._$Ej) == null ? void 0 : o.get(e)) && !this.hasAttribute(s._$Eu(e, n)))) return;
|
|
248
248
|
this.C(e, r, n);
|
|
249
249
|
}
|
|
250
250
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -323,19 +323,19 @@ let _r = class extends HTMLElement {
|
|
|
323
323
|
firstUpdated(e) {
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
|
-
var
|
|
327
|
-
_r.elementStyles = [], _r.shadowRootOptions = { mode: "open" }, _r[kr("elementProperties")] = /* @__PURE__ */ new Map(), _r[kr("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: _r }), ((
|
|
326
|
+
var Ks;
|
|
327
|
+
_r.elementStyles = [], _r.shadowRootOptions = { mode: "open" }, _r[kr("elementProperties")] = /* @__PURE__ */ new Map(), _r[kr("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: _r }), ((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 Nr = globalThis, Pn = Nr.trustedTypes,
|
|
334
|
-
\f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
335
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
336
|
-
function
|
|
337
|
-
if (!
|
|
338
|
-
return
|
|
333
|
+
const Nr = globalThis, Pn = Nr.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, Hr = () => lr.createComment(""), Wr = (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", Ei = `[
|
|
334
|
+
\f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${Ei}(?:([^\\s"'>=/]+)(${Ei}*=${Ei}*(?:[^
|
|
335
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Ti = Zl(1), vr = Symbol.for("lit-noChange"), ke = Symbol.for("lit-nothing"), Yo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
|
|
336
|
+
function ea(t, e) {
|
|
337
|
+
if (!ro(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
338
|
+
return zo !== void 0 ? zo.createHTML(e) : e;
|
|
339
339
|
}
|
|
340
340
|
const Yl = (t, e) => {
|
|
341
341
|
const r = t.length - 1, n = [];
|
|
@@ -343,29 +343,29 @@ const Yl = (t, e) => {
|
|
|
343
343
|
for (let a = 0; a < r; a++) {
|
|
344
344
|
const l = t[a];
|
|
345
345
|
let d, p, h = -1, c = 0;
|
|
346
|
-
for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s =
|
|
346
|
+
for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Ko : p[1] !== void 0 ? s = Go : p[2] !== void 0 ? (Qs.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir, h = -1) : p[1] === void 0 ? h = -2 : (h = s.lastIndex - p[2].length, d = p[1], s = p[3] === void 0 ? Qt : p[3] === '"' ? Zo : qo) : s === Zo || s === qo ? s = Qt : s === Ko || s === Go ? s = Ir : (s = Qt, i = void 0);
|
|
347
347
|
const g = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
|
|
348
|
-
o += s === Ir ? l + Gl : h >= 0 ? (n.push(d), l.slice(0, h) +
|
|
348
|
+
o += s === Ir ? l + Gl : h >= 0 ? (n.push(d), l.slice(0, h) + Js + l.slice(h) + Gt + g) : l + Gt + (h === -2 ? a : g);
|
|
349
349
|
}
|
|
350
|
-
return [
|
|
350
|
+
return [ea(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
351
351
|
};
|
|
352
|
-
let $i = class
|
|
352
|
+
let $i = class ta {
|
|
353
353
|
constructor({ strings: e, _$litType$: r }, n) {
|
|
354
354
|
let i;
|
|
355
355
|
this.parts = [];
|
|
356
356
|
let o = 0, s = 0;
|
|
357
357
|
const a = e.length - 1, l = this.parts, [d, p] = Yl(e, r);
|
|
358
|
-
if (this.el =
|
|
358
|
+
if (this.el = ta.createElement(d, n), or.currentNode = this.el.content, r === 2 || r === 3) {
|
|
359
359
|
const h = this.el.content.firstChild;
|
|
360
360
|
h.replaceWith(...h.childNodes);
|
|
361
361
|
}
|
|
362
362
|
for (; (i = or.nextNode()) !== null && l.length < a; ) {
|
|
363
363
|
if (i.nodeType === 1) {
|
|
364
|
-
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(
|
|
364
|
+
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Js)) {
|
|
365
365
|
const c = p[s++], g = i.getAttribute(h).split(Gt), w = /([.?@])?(.*)/.exec(c);
|
|
366
366
|
l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : Qn }), i.removeAttribute(h);
|
|
367
367
|
} else h.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(h));
|
|
368
|
-
if (
|
|
368
|
+
if (Qs.test(i.tagName)) {
|
|
369
369
|
const h = i.textContent.split(Gt), c = h.length - 1;
|
|
370
370
|
if (c > 0) {
|
|
371
371
|
i.textContent = Pn ? Pn.emptyScript : "";
|
|
@@ -373,7 +373,7 @@ let $i = class ra {
|
|
|
373
373
|
i.append(h[c], Hr());
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
376
|
+
} else if (i.nodeType === 8) if (i.data === Xs) l.push({ type: 2, index: o });
|
|
377
377
|
else {
|
|
378
378
|
let h = -1;
|
|
379
379
|
for (; (h = i.data.indexOf(Gt, h + 1)) !== -1; ) l.push({ type: 7, index: o }), h += Gt.length - 1;
|
|
@@ -411,7 +411,7 @@ let Jl = class {
|
|
|
411
411
|
for (; l !== void 0; ) {
|
|
412
412
|
if (s === l.index) {
|
|
413
413
|
let p;
|
|
414
|
-
l.type === 2 ? p = new
|
|
414
|
+
l.type === 2 ? p = new no(o, o.nextSibling, this, e) : l.type === 1 ? p = new l.ctor(o, l.name, l.strings, this, e) : l.type === 6 && (p = new tc(o, this, e)), this._$AV.push(p), l = n[++a];
|
|
415
415
|
}
|
|
416
416
|
s !== (l == null ? void 0 : l.index) && (o = or.nextNode(), s++);
|
|
417
417
|
}
|
|
@@ -421,7 +421,7 @@ let Jl = class {
|
|
|
421
421
|
let r = 0;
|
|
422
422
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, r), r += n.strings.length - 2) : n._$AI(e[r])), r++;
|
|
423
423
|
}
|
|
424
|
-
},
|
|
424
|
+
}, no = class ra {
|
|
425
425
|
get _$AU() {
|
|
426
426
|
var e, r;
|
|
427
427
|
return (r = (e = this._$AM) == null ? void 0 : e._$AU) != null ? r : this._$Cv;
|
|
@@ -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 = $i.createElement(
|
|
458
|
+
const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = $i.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);
|
|
@@ -463,14 +463,14 @@ let Jl = class {
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
_$AC(e) {
|
|
466
|
-
let r =
|
|
467
|
-
return r === void 0 &&
|
|
466
|
+
let r = Yo.get(e.strings);
|
|
467
|
+
return r === void 0 && Yo.set(e.strings, r = new $i(e)), r;
|
|
468
468
|
}
|
|
469
469
|
k(e) {
|
|
470
|
-
|
|
470
|
+
ro(this._$AH) || (this._$AH = [], this._$AR());
|
|
471
471
|
const r = this._$AH;
|
|
472
472
|
let n, i = 0;
|
|
473
|
-
for (const o of e) i === r.length ? r.push(n = new
|
|
473
|
+
for (const o of e) i === r.length ? r.push(n = new ra(this.O(Hr()), this.O(Hr()), this, this.options)) : n = r[i], n._$AI(o), i++;
|
|
474
474
|
i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
|
|
475
475
|
}
|
|
476
476
|
_$AR(e = this._$AA.nextSibling, r) {
|
|
@@ -548,15 +548,15 @@ let Jl = class {
|
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
550
|
const Oi = Nr.litHtmlPolyfillSupport;
|
|
551
|
-
var
|
|
552
|
-
Oi == null || Oi($i,
|
|
551
|
+
var Gs;
|
|
552
|
+
Oi == null || Oi($i, no), ((Gs = Nr.litHtmlVersions) != null ? Gs : Nr.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;
|
|
556
556
|
let i = n._$litPart$;
|
|
557
557
|
if (i === void 0) {
|
|
558
558
|
const a = (s = r == null ? void 0 : r.renderBefore) != null ? s : null;
|
|
559
|
-
n._$litPart$ = i = new
|
|
559
|
+
n._$litPart$ = i = new no(e.insertBefore(Hr(), a), a, void 0, r != null ? r : {});
|
|
560
560
|
}
|
|
561
561
|
return i._$AI(t), i;
|
|
562
562
|
};
|
|
@@ -591,18 +591,18 @@ let Dr = class extends _r {
|
|
|
591
591
|
return vr;
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
|
-
var
|
|
595
|
-
Dr._$litElement$ = !0, Dr.finalized = !0, (
|
|
594
|
+
var qs;
|
|
595
|
+
Dr._$litElement$ = !0, Dr.finalized = !0, (qs = ar.litElementHydrateSupport) == null || qs.call(ar, { LitElement: Dr });
|
|
596
596
|
const Ii = ar.litElementPolyfillSupport;
|
|
597
597
|
Ii == null || Ii({ LitElement: Dr });
|
|
598
|
-
var
|
|
599
|
-
((
|
|
598
|
+
var Zs;
|
|
599
|
+
((Zs = ar.litElementVersions) != null ? Zs : ar.litElementVersions = []).push("4.2.1");
|
|
600
600
|
/**
|
|
601
601
|
* @license
|
|
602
602
|
* Copyright 2017 Google LLC
|
|
603
603
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
604
604
|
*/
|
|
605
|
-
const nc = { attribute: !0, type: String, converter: Mn, reflect: !1, hasChanged:
|
|
605
|
+
const nc = { attribute: !0, type: String, converter: Mn, reflect: !1, hasChanged: to }, ic = (t = nc, e, r) => {
|
|
606
606
|
const { kind: n, metadata: i } = r;
|
|
607
607
|
let o = globalThis.litPropertyMetadata.get(i);
|
|
608
608
|
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), n === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(r.name, t), n === "accessor") {
|
|
@@ -682,7 +682,7 @@ class sc {
|
|
|
682
682
|
i.download = "log.txt", i.href = n, i.click(), window.URL.revokeObjectURL(n), this.clearLogs();
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
|
-
const
|
|
685
|
+
const na = new sc(), ac = Ll`
|
|
686
686
|
*,
|
|
687
687
|
::after,
|
|
688
688
|
::before {
|
|
@@ -751,7 +751,7 @@ const Bi = new sc(), ac = Ll`
|
|
|
751
751
|
QUESTIONARY: "QUESTIONARY"
|
|
752
752
|
}, cc = Object.values(lc);
|
|
753
753
|
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Mr = /* @__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))(Mr || {}), 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 || {}), ei = /* @__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))(ei || {}), Un = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Un || {}), 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 || {}), Ln = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ln || {}), 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,
|
|
754
|
+
const dc = 120, uc = 200, Bi = "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 h = typeof d == "function" ? d(e) : d;
|
|
@@ -761,13 +761,13 @@ const dc = 120, uc = 200, Hi = "PROGRESS", vt = "IDV", er = "idv-session-data",
|
|
|
761
761
|
}
|
|
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
|
-
}, pc = (t) => t ?
|
|
765
|
-
var Kr, se, oa, rr,
|
|
764
|
+
}, pc = (t) => t ? Jo(t) : Jo;
|
|
765
|
+
var Kr, se, oa, rr, Xo, sa, aa, la, io, Hi, Wi, ca, jr = {}, da = [], _c = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gr = Array.isArray;
|
|
766
766
|
function gt(t, e) {
|
|
767
767
|
for (var r in e) t[r] = e[r];
|
|
768
768
|
return t;
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function oo(t) {
|
|
771
771
|
t && t.parentNode && t.parentNode.removeChild(t);
|
|
772
772
|
}
|
|
773
773
|
function wt(t, e, r) {
|
|
@@ -804,16 +804,16 @@ function fa(t) {
|
|
|
804
804
|
return fa(t);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
function
|
|
808
|
-
(!t.__d && (t.__d = !0) && rr.push(t) && !Vn.__r++ ||
|
|
807
|
+
function ji(t) {
|
|
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() {
|
|
811
|
-
for (var t, e, r, n, i, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = gt({}, n)).__v = n.__v + 1, se.vnode && se.vnode(r),
|
|
811
|
+
for (var t, e, r, n, i, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = gt({}, n)).__v = n.__v + 1, se.vnode && se.vnode(r), so(e.__P, r, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? br(n) : i, !!(32 & n.__u), s), r.__v = n.__v, r.__.__k[r.__i] = r, _a(o, r, s), n.__e = n.__ = null, r.__e != i && fa(r)));
|
|
812
812
|
Vn.__r = 0;
|
|
813
813
|
}
|
|
814
814
|
function ha(t, e, r, n, i, o, s, a, l, d, p) {
|
|
815
815
|
var h, c, g, w, f, m, S, C = n && n.__k || da, b = e.length;
|
|
816
|
-
for (l = mc(r, e, C, l, b), h = 0; h < b; h++) (g = r.__k[h]) != null && (c = g.__i == -1 ? jr : C[g.__i] || jr, g.__i = h, m =
|
|
816
|
+
for (l = mc(r, e, C, l, b), h = 0; h < b; h++) (g = r.__k[h]) != null && (c = g.__i == -1 ? jr : C[g.__i] || jr, g.__i = h, m = so(t, g, c, i, o, s, a, l, d, p), w = g.__e, g.ref && c.ref != g.ref && (c.ref && ao(c.ref, null, g), p.push(g.ref, g.__c || w, g)), f == null && w != null && (f = w), (S = !!(4 & g.__u)) || c.__k === g.__k ? l = pa(g, l, t, S) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
|
|
817
817
|
return r.__e = f, l;
|
|
818
818
|
}
|
|
819
819
|
function mc(t, e, r, n, i) {
|
|
@@ -847,17 +847,17 @@ function gc(t, e, r, n) {
|
|
|
847
847
|
}
|
|
848
848
|
return -1;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function Qo(t, e, r) {
|
|
851
851
|
e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || _c.test(e) ? r : r + "px";
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function xn(t, e, r, n, i) {
|
|
854
854
|
var o, s;
|
|
855
855
|
e: if (e == "style") if (typeof r == "string") t.style.cssText = r;
|
|
856
856
|
else {
|
|
857
|
-
if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r ||
|
|
858
|
-
if (r) for (e in r) n && r[e] == n[e] ||
|
|
857
|
+
if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r || Qo(t.style, e, "");
|
|
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 =
|
|
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 ? Wi : Hi, o)) : t.removeEventListener(e, o ? Wi : Hi, 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 {
|
|
@@ -868,17 +868,17 @@ function An(t, e, r, n, i) {
|
|
|
868
868
|
typeof r == "function" || (r == null || r === !1 && e[4] != "-" ? t.removeAttribute(e) : t.setAttribute(e, e == "popover" && r == 1 ? "" : r));
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function es(t) {
|
|
872
872
|
return function(e) {
|
|
873
873
|
if (this.l) {
|
|
874
874
|
var r = this.l[e.type + t];
|
|
875
|
-
if (e.t == null) e.t =
|
|
875
|
+
if (e.t == null) e.t = io++;
|
|
876
876
|
else if (e.t < r.u) return;
|
|
877
877
|
return r(se.event ? se.event(e) : e);
|
|
878
878
|
}
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function so(t, e, r, n, i, o, s, a, l, d) {
|
|
882
882
|
var p, h, c, g, w, f, m, S, C, b, I, D, N, R, fe, _e, ae, Z = e.type;
|
|
883
883
|
if (e.constructor != null) return null;
|
|
884
884
|
128 & r.__u && (l = !!(32 & r.__u), o = [a = e.__e = r.__e]), (p = se.__b) && p(e);
|
|
@@ -908,20 +908,20 @@ function ao(t, e, r, n, i, o, s, a, l, d) {
|
|
|
908
908
|
for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
|
|
909
909
|
o[o.indexOf(a)] = null, e.__e = a;
|
|
910
910
|
} else {
|
|
911
|
-
for (ae = o.length; ae--; )
|
|
912
|
-
|
|
911
|
+
for (ae = o.length; ae--; ) oo(o[ae]);
|
|
912
|
+
zi(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 || zi(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 zi(t) {
|
|
921
|
+
t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(zi);
|
|
922
922
|
}
|
|
923
923
|
function _a(t, e, r) {
|
|
924
|
-
for (var n = 0; n < r.length; n++)
|
|
924
|
+
for (var n = 0; n < r.length; n++) ao(r[n], r[++n], r[++n]);
|
|
925
925
|
se.__c && se.__c(e, t), t.some(function(i) {
|
|
926
926
|
try {
|
|
927
927
|
t = i.__h, i.__h = [], t.some(function(o) {
|
|
@@ -954,17 +954,17 @@ function wc(t, e, r, n, i, o, s, a, l) {
|
|
|
954
954
|
if (d == "dangerouslySetInnerHTML") h = g;
|
|
955
955
|
else if (!(d in S)) {
|
|
956
956
|
if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
|
|
957
|
-
|
|
957
|
+
xn(t, d, null, g, i);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? f = g : a && typeof g != "function" || m[d] === g ||
|
|
960
|
+
for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? f = g : a && typeof g != "function" || m[d] === g || xn(t, d, g, m[d], i);
|
|
961
961
|
if (p) a || h && (p.__html == h.__html || p.__html == t.innerHTML) || (t.innerHTML = p.__html), e.__k = [];
|
|
962
|
-
else if (h && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, Gr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && br(r, 0), a, l), o != null) for (d = o.length; d--; )
|
|
963
|
-
a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) &&
|
|
962
|
+
else if (h && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, Gr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && br(r, 0), a, l), o != null) for (d = o.length; d--; ) oo(o[d]);
|
|
963
|
+
a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) && xn(t, d, w, m[d], i), d = "checked", f != null && f != t[d] && xn(t, d, f, m[d], i));
|
|
964
964
|
}
|
|
965
965
|
return t;
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function ao(t, e, r) {
|
|
968
968
|
try {
|
|
969
969
|
if (typeof t == "function") {
|
|
970
970
|
var n = typeof t.__u == "function";
|
|
@@ -976,7 +976,7 @@ function lo(t, e, r) {
|
|
|
976
976
|
}
|
|
977
977
|
function ga(t, e, r) {
|
|
978
978
|
var n, i;
|
|
979
|
-
if (se.unmount && se.unmount(t), (n = t.ref) && (n.current && n.current != t.__e ||
|
|
979
|
+
if (se.unmount && se.unmount(t), (n = t.ref) && (n.current && n.current != t.__e || ao(n, null, e)), (n = t.__c) != null) {
|
|
980
980
|
if (n.componentWillUnmount) try {
|
|
981
981
|
n.componentWillUnmount();
|
|
982
982
|
} catch (o) {
|
|
@@ -985,14 +985,14 @@ function ga(t, e, r) {
|
|
|
985
985
|
n.base = n.__P = null;
|
|
986
986
|
}
|
|
987
987
|
if (n = t.__k) for (i = 0; i < n.length; i++) n[i] && ga(n[i], e, r || typeof t.type != "function");
|
|
988
|
-
r ||
|
|
988
|
+
r || oo(t.__e), t.__c = t.__ = t.__e = void 0;
|
|
989
989
|
}
|
|
990
990
|
function vc(t, e, r) {
|
|
991
991
|
return this.constructor(t, r);
|
|
992
992
|
}
|
|
993
993
|
function Cr(t, e, r) {
|
|
994
994
|
var n, i, o, s;
|
|
995
|
-
e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [],
|
|
995
|
+
e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], so(e, t = (!n && r || e).__k = wt(We, null, [t]), i || jr, jr, e.namespaceURI, !n && r ? [r] : i ? null : e.firstChild ? Kr.call(e.childNodes) : null, o, !n && r ? r : i ? i.__e : e.firstChild, n, s), _a(o, t, s);
|
|
996
996
|
}
|
|
997
997
|
function wa(t, e) {
|
|
998
998
|
Cr(t, e, wa);
|
|
@@ -1002,7 +1002,7 @@ function yc(t, e, r) {
|
|
|
1002
1002
|
for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : a[o] = e[o] === void 0 && s != null ? s[o] : e[o];
|
|
1003
1003
|
return arguments.length > 2 && (a.children = arguments.length > 3 ? Kr.call(arguments, 2) : r), Pr(t.type, a, n || t.key, i || t.ref, null);
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function lo(t) {
|
|
1006
1006
|
function e(r) {
|
|
1007
1007
|
var n, i;
|
|
1008
1008
|
return this.getChildContext || (n = /* @__PURE__ */ new Set(), (i = {})[e.__c] = this, this.getChildContext = function() {
|
|
@@ -1011,7 +1011,7 @@ function co(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, ji(s);
|
|
1015
1015
|
});
|
|
1016
1016
|
}, this.sub = function(o) {
|
|
1017
1017
|
n.add(o);
|
|
@@ -1034,13 +1034,13 @@ Kr = 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), ji(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), ji(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,
|
|
1043
|
-
var $t, be,
|
|
1042
|
+
}, Vn.__r = 0, la = /(PointerCapture)$|Capture$/i, io = 0, Hi = es(!1), Wi = es(!0), ca = 0;
|
|
1043
|
+
var $t, be, xi, 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 cr(t, e) {
|
|
1045
1045
|
Te.__h && Te.__h(be, t, Sr || e), Sr = 0;
|
|
1046
1046
|
var r = be.__H || (be.__H = { __: [], __h: [] });
|
|
@@ -1085,18 +1085,18 @@ function ti(t, e, r) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
function nt(t, e) {
|
|
1087
1087
|
var r = cr($t++, 3);
|
|
1088
|
-
!Te.__s &&
|
|
1088
|
+
!Te.__s && po(r.__H, e) && (r.__ = t, r.u = e, be.__H.__h.push(r));
|
|
1089
1089
|
}
|
|
1090
1090
|
function Zt(t, e) {
|
|
1091
1091
|
var r = cr($t++, 4);
|
|
1092
|
-
!Te.__s &&
|
|
1092
|
+
!Te.__s && po(r.__H, e) && (r.__ = t, r.u = e, be.__h.push(r));
|
|
1093
1093
|
}
|
|
1094
1094
|
function it(t) {
|
|
1095
1095
|
return Sr = 5, qr(function() {
|
|
1096
1096
|
return { current: t };
|
|
1097
1097
|
}, []);
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function co(t, e, r) {
|
|
1100
1100
|
Sr = 6, Zt(function() {
|
|
1101
1101
|
if (typeof t == "function") {
|
|
1102
1102
|
var n = t(e());
|
|
@@ -1111,9 +1111,9 @@ function uo(t, e, r) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
function qr(t, e) {
|
|
1113
1113
|
var r = cr($t++, 7);
|
|
1114
|
-
return
|
|
1114
|
+
return po(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function uo(t, e) {
|
|
1117
1117
|
return Sr = 8, qr(function() {
|
|
1118
1118
|
return t;
|
|
1119
1119
|
}, e);
|
|
@@ -1122,7 +1122,7 @@ function Zr(t) {
|
|
|
1122
1122
|
var e = be.context[t.__c], r = cr($t++, 9);
|
|
1123
1123
|
return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(be)), e.props.value) : t.__;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function fo(t, e) {
|
|
1126
1126
|
Te.useDebugValue && Te.useDebugValue(e ? e(t) : t);
|
|
1127
1127
|
}
|
|
1128
1128
|
function bc(t) {
|
|
@@ -1133,7 +1133,7 @@ function bc(t) {
|
|
|
1133
1133
|
r[1](void 0);
|
|
1134
1134
|
}];
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function ho() {
|
|
1137
1137
|
var t = cr($t++, 11);
|
|
1138
1138
|
if (!t.__) {
|
|
1139
1139
|
for (var e = be.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
|
|
@@ -1144,41 +1144,41 @@ function po() {
|
|
|
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(Ki), t.__H.__h = [];
|
|
1148
1148
|
} catch (e) {
|
|
1149
1149
|
t.__H.__h = [], Te.__e(e, t.__v);
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
1152
|
Te.__b = function(t) {
|
|
1153
|
-
be = null,
|
|
1153
|
+
be = null, rs && rs(t);
|
|
1154
1154
|
}, Te.__ = function(t, e) {
|
|
1155
|
-
t && e.__k && e.__k.__m && (t.__m = e.__k.__m),
|
|
1155
|
+
t && e.__k && e.__k.__m && (t.__m = e.__k.__m), as && as(t, e);
|
|
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 && (xi === 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(Ki), e.__h = [], $t = 0)), xi = be;
|
|
1162
1162
|
}, Te.diffed = function(t) {
|
|
1163
|
-
|
|
1163
|
+
is && is(t);
|
|
1164
1164
|
var e = t.__c;
|
|
1165
|
-
e && e.__H && (e.__H.__h.length && (va.push(e) !== 1 &&
|
|
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
|
+
})), xi = 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.__ || Ki(n);
|
|
1173
1173
|
});
|
|
1174
1174
|
} catch (n) {
|
|
1175
1175
|
e.some(function(i) {
|
|
1176
1176
|
i.__h && (i.__h = []);
|
|
1177
1177
|
}), e = [], Te.__e(n, r.__v);
|
|
1178
1178
|
}
|
|
1179
|
-
}),
|
|
1179
|
+
}), os && os(t, e);
|
|
1180
1180
|
}, Te.unmount = function(t) {
|
|
1181
|
-
|
|
1181
|
+
ss && ss(t);
|
|
1182
1182
|
var e, r = t.__c;
|
|
1183
1183
|
r && r.__H && (r.__H.__.forEach(function(n) {
|
|
1184
1184
|
try {
|
|
@@ -1188,22 +1188,22 @@ Te.__b = function(t) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
}), r.__H = void 0, e && Te.__e(e, r.__v));
|
|
1190
1190
|
};
|
|
1191
|
-
var
|
|
1191
|
+
var ls = typeof requestAnimationFrame == "function";
|
|
1192
1192
|
function Sc(t) {
|
|
1193
1193
|
var e, r = function() {
|
|
1194
|
-
clearTimeout(n),
|
|
1194
|
+
clearTimeout(n), ls && cancelAnimationFrame(e), setTimeout(t);
|
|
1195
1195
|
}, n = setTimeout(r, 35);
|
|
1196
|
-
|
|
1196
|
+
ls && (e = requestAnimationFrame(r));
|
|
1197
1197
|
}
|
|
1198
1198
|
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 Ki(t) {
|
|
1203
1203
|
var e = be;
|
|
1204
1204
|
t.__c = t.__(), be = e;
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function po(t, e) {
|
|
1207
1207
|
return !t || t.length !== e.length || e.some(function(r, n) {
|
|
1208
1208
|
return r !== t[n];
|
|
1209
1209
|
});
|
|
@@ -1215,22 +1215,22 @@ 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 Gi(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;
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
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, Ai(i) && o({ t: i });
|
|
1227
1227
|
}, [t, r, e]), nt(function() {
|
|
1228
|
-
return
|
|
1229
|
-
|
|
1228
|
+
return Ai(i) && o({ t: i }), t(function() {
|
|
1229
|
+
Ai(i) && o({ t: i });
|
|
1230
1230
|
});
|
|
1231
1231
|
}, [t]), r;
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Ai(t) {
|
|
1234
1234
|
var e, r, n = t.u, i = t.__;
|
|
1235
1235
|
try {
|
|
1236
1236
|
var o = n();
|
|
@@ -1239,23 +1239,23 @@ function xi(t) {
|
|
|
1239
1239
|
return !0;
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function mo(t) {
|
|
1243
1243
|
t();
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function go(t) {
|
|
1246
1246
|
return t;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return [!1,
|
|
1248
|
+
function wo() {
|
|
1249
|
+
return [!1, mo];
|
|
1250
1250
|
}
|
|
1251
|
-
var
|
|
1251
|
+
var vo = Zt;
|
|
1252
1252
|
function $n(t, e) {
|
|
1253
1253
|
this.props = t, this.context = e;
|
|
1254
1254
|
}
|
|
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 : Gi(this.props, i);
|
|
1259
1259
|
}
|
|
1260
1260
|
function n(i) {
|
|
1261
1261
|
return this.shouldComponentUpdate = r, wt(t, i);
|
|
@@ -1263,11 +1263,11 @@ 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 Gi(this.props, t) || Gi(this.state, e);
|
|
1267
1267
|
};
|
|
1268
|
-
var
|
|
1268
|
+
var cs = se.__b;
|
|
1269
1269
|
se.__b = function(t) {
|
|
1270
|
-
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null),
|
|
1270
|
+
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), cs && cs(t);
|
|
1271
1271
|
};
|
|
1272
1272
|
var Ec = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
1273
1273
|
function Sa(t) {
|
|
@@ -1277,9 +1277,9 @@ function Sa(t) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
return e.$$typeof = Ec, e.render = t, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
1279
1279
|
}
|
|
1280
|
-
var
|
|
1280
|
+
var ds = function(t, e) {
|
|
1281
1281
|
return t == null ? null : Vt(Vt(t).map(e));
|
|
1282
|
-
}, Ea = { map:
|
|
1282
|
+
}, Ea = { map: ds, forEach: ds, count: function(t) {
|
|
1283
1283
|
return t ? Vt(t).length : 0;
|
|
1284
1284
|
}, only: function(t) {
|
|
1285
1285
|
var e = Vt(t);
|
|
@@ -1292,7 +1292,7 @@ se.__e = function(t, e, r, n) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
Tc(t, e, r, n);
|
|
1294
1294
|
};
|
|
1295
|
-
var
|
|
1295
|
+
var us = se.unmount;
|
|
1296
1296
|
function Ta(t, e, r) {
|
|
1297
1297
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(n) {
|
|
1298
1298
|
typeof n.__c == "function" && n.__c();
|
|
@@ -1312,7 +1312,7 @@ function Ia(t) {
|
|
|
1312
1312
|
var e = t.__.__c;
|
|
1313
1313
|
return e && e.__a && e.__a(t);
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1315
|
+
function xa(t) {
|
|
1316
1316
|
var e, r, n;
|
|
1317
1317
|
function i(o) {
|
|
1318
1318
|
if (e || (e = t()).then(function(s) {
|
|
@@ -1330,7 +1330,7 @@ function gr() {
|
|
|
1330
1330
|
}
|
|
1331
1331
|
se.unmount = function(t) {
|
|
1332
1332
|
var e = t.__c;
|
|
1333
|
-
e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null),
|
|
1333
|
+
e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), us && us(t);
|
|
1334
1334
|
}, (Fr.prototype = new ht()).__c = function(t, e) {
|
|
1335
1335
|
var r = e.__c, n = this;
|
|
1336
1336
|
n.o == null && (n.o = []), n.o.push(r);
|
|
@@ -1362,7 +1362,7 @@ se.unmount = function(t) {
|
|
|
1362
1362
|
var i = e.__a && wt(We, null, t.fallback);
|
|
1363
1363
|
return i && (i.__u &= -33), [wt(We, null, e.__a ? null : t.children), i];
|
|
1364
1364
|
};
|
|
1365
|
-
var
|
|
1365
|
+
var fs = function(t, e, r) {
|
|
1366
1366
|
if (++r[1] === r[0] && t.l.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.l.size)) for (r = t.i; r; ) {
|
|
1367
1367
|
for (; r.length > 3; ) r.pop()();
|
|
1368
1368
|
if (r[1] < r[0]) break;
|
|
@@ -1390,7 +1390,7 @@ function Ic(t) {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
Cr(wt(Oc, { context: e.context }, t.__v), e.v);
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Aa(t, e) {
|
|
1394
1394
|
var r = wt(Ic, { __v: t, h: e });
|
|
1395
1395
|
return r.containerInfo = e, r;
|
|
1396
1396
|
}
|
|
@@ -1398,7 +1398,7 @@ function xa(t, e) {
|
|
|
1398
1398
|
var e = this, r = Ia(e.__v), n = e.l.get(t);
|
|
1399
1399
|
return n[0]++, function(i) {
|
|
1400
1400
|
var o = function() {
|
|
1401
|
-
e.props.revealOrder ? (n.push(i),
|
|
1401
|
+
e.props.revealOrder ? (n.push(i), fs(e, t, n)) : i();
|
|
1402
1402
|
};
|
|
1403
1403
|
r ? r(o) : o();
|
|
1404
1404
|
};
|
|
@@ -1411,10 +1411,10 @@ function xa(t, e) {
|
|
|
1411
1411
|
}, gr.prototype.componentDidUpdate = gr.prototype.componentDidMount = function() {
|
|
1412
1412
|
var t = this;
|
|
1413
1413
|
this.l.forEach(function(e, r) {
|
|
1414
|
-
|
|
1414
|
+
fs(t, r, e);
|
|
1415
1415
|
});
|
|
1416
1416
|
};
|
|
1417
|
-
var Ra = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103,
|
|
1417
|
+
var Ra = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, xc = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ac = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Rc = /[A-Z0-9]/g, kc = typeof document != "undefined", Nc = function(t) {
|
|
1418
1418
|
return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1419
1419
|
};
|
|
1420
1420
|
function ka(t, e, r) {
|
|
@@ -1430,7 +1430,7 @@ ht.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
|
|
|
1430
1430
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
1431
1431
|
} });
|
|
1432
1432
|
});
|
|
1433
|
-
var
|
|
1433
|
+
var hs = se.event;
|
|
1434
1434
|
function Dc() {
|
|
1435
1435
|
}
|
|
1436
1436
|
function Mc() {
|
|
@@ -1440,11 +1440,11 @@ function Pc() {
|
|
|
1440
1440
|
return this.defaultPrevented;
|
|
1441
1441
|
}
|
|
1442
1442
|
se.event = function(t) {
|
|
1443
|
-
return
|
|
1443
|
+
return hs && (t = hs(t)), t.persist = Dc, t.isPropagationStopped = Mc, t.isDefaultPrevented = Pc, t.nativeEvent = t;
|
|
1444
1444
|
};
|
|
1445
|
-
var
|
|
1445
|
+
var yo, Fc = { enumerable: !1, configurable: !0, get: function() {
|
|
1446
1446
|
return this.class;
|
|
1447
|
-
} },
|
|
1447
|
+
} }, ps = se.vnode;
|
|
1448
1448
|
se.vnode = function(t) {
|
|
1449
1449
|
typeof t.type == "string" && (function(e) {
|
|
1450
1450
|
var r = e.props, n = e.type, i = {}, o = n.indexOf("-") === -1;
|
|
@@ -1452,7 +1452,7 @@ se.vnode = function(t) {
|
|
|
1452
1452
|
var a = r[s];
|
|
1453
1453
|
if (!(s === "value" && "defaultValue" in r && a == null || kc && s === "children" && n === "noscript" || s === "class" || s === "className")) {
|
|
1454
1454
|
var l = s.toLowerCase();
|
|
1455
|
-
s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || Nc(r.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" :
|
|
1455
|
+
s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || Nc(r.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" : Ac.test(s) && (s = l) : l = s = "oninput" : o && xc.test(s) ? s = s.replace(Rc, "-$&").toLowerCase() : a === null && (a = void 0), l === "oninput" && i[s = l] && (s = "oninputCapture"), i[s] = a;
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
1458
|
n == "select" && i.multiple && Array.isArray(i.value) && (i.value = Vt(r.children).forEach(function(d) {
|
|
@@ -1460,21 +1460,21 @@ se.vnode = function(t) {
|
|
|
1460
1460
|
})), n == "select" && i.defaultValue != null && (i.value = Vt(r.children).forEach(function(d) {
|
|
1461
1461
|
d.props.selected = i.multiple ? i.defaultValue.indexOf(d.props.value) != -1 : i.defaultValue == d.props.value;
|
|
1462
1462
|
})), r.class && !r.className ? (i.class = r.class, Object.defineProperty(i, "className", Fc)) : (r.className && !r.class || r.class && r.className) && (i.class = i.className = r.className), e.props = i;
|
|
1463
|
-
})(t), t.$$typeof = Ra,
|
|
1463
|
+
})(t), t.$$typeof = Ra, ps && ps(t);
|
|
1464
1464
|
};
|
|
1465
|
-
var
|
|
1465
|
+
var _s = se.__r;
|
|
1466
1466
|
se.__r = function(t) {
|
|
1467
|
-
|
|
1467
|
+
_s && _s(t), yo = t.__c;
|
|
1468
1468
|
};
|
|
1469
|
-
var
|
|
1469
|
+
var ms = se.diffed;
|
|
1470
1470
|
se.diffed = function(t) {
|
|
1471
|
-
|
|
1471
|
+
ms && ms(t);
|
|
1472
1472
|
var e = t.props, r = t.__e;
|
|
1473
|
-
r != null && t.type === "textarea" && "value" in e && e.value !== r.value && (r.value = e.value == null ? "" : e.value),
|
|
1473
|
+
r != null && t.type === "textarea" && "value" in e && e.value !== r.value && (r.value = e.value == null ? "" : e.value), yo = null;
|
|
1474
1474
|
};
|
|
1475
1475
|
var Da = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1476
|
-
return
|
|
1477
|
-
}, useCallback:
|
|
1476
|
+
return yo.__n[t.__c].props.value;
|
|
1477
|
+
}, useCallback: uo, useContext: Zr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: qr, useReducer: ti, useRef: it, useState: Me, useSyncExternalStore: _o, useTransition: wo } } }, Uc = "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 = Yr, ue = { useState: Me, useId:
|
|
1503
|
+
}, Ha = We, Wa = Yr, ue = { useState: Me, useId: ho, useReducer: ti, useEffect: nt, useLayoutEffect: Zt, useInsertionEffect: vo, useTransition: wo, useDeferredValue: go, useSyncExternalStore: _o, startTransition: mo, useRef: it, useImperativeHandle: co, useMemo: qr, useCallback: uo, useContext: Zr, useDebugValue: fo, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: La, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Ma, cloneElement: Ua, createRef: ua, Fragment: We, isValidElement: Yr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Fr, SuspenseList: gr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
|
|
1504
1504
|
const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1505
1505
|
__proto__: null,
|
|
1506
1506
|
Children: Ea,
|
|
@@ -1512,10 +1512,10 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1512
1512
|
SuspenseList: gr,
|
|
1513
1513
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
|
|
1514
1514
|
cloneElement: Ua,
|
|
1515
|
-
createContext:
|
|
1515
|
+
createContext: lo,
|
|
1516
1516
|
createElement: wt,
|
|
1517
1517
|
createFactory: Ma,
|
|
1518
|
-
createPortal:
|
|
1518
|
+
createPortal: Aa,
|
|
1519
1519
|
createRef: ua,
|
|
1520
1520
|
default: ue,
|
|
1521
1521
|
findDOMNode: Va,
|
|
@@ -1526,28 +1526,28 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1526
1526
|
isFragment: Pa,
|
|
1527
1527
|
isMemo: Fa,
|
|
1528
1528
|
isValidElement: Yr,
|
|
1529
|
-
lazy:
|
|
1529
|
+
lazy: xa,
|
|
1530
1530
|
memo: Ca,
|
|
1531
1531
|
render: ka,
|
|
1532
|
-
startTransition:
|
|
1532
|
+
startTransition: mo,
|
|
1533
1533
|
unmountComponentAtNode: La,
|
|
1534
1534
|
unstable_batchedUpdates: $a,
|
|
1535
|
-
useCallback:
|
|
1535
|
+
useCallback: uo,
|
|
1536
1536
|
useContext: Zr,
|
|
1537
|
-
useDebugValue:
|
|
1538
|
-
useDeferredValue:
|
|
1537
|
+
useDebugValue: fo,
|
|
1538
|
+
useDeferredValue: go,
|
|
1539
1539
|
useEffect: nt,
|
|
1540
1540
|
useErrorBoundary: bc,
|
|
1541
|
-
useId:
|
|
1542
|
-
useImperativeHandle:
|
|
1543
|
-
useInsertionEffect:
|
|
1541
|
+
useId: ho,
|
|
1542
|
+
useImperativeHandle: co,
|
|
1543
|
+
useInsertionEffect: vo,
|
|
1544
1544
|
useLayoutEffect: Zt,
|
|
1545
1545
|
useMemo: qr,
|
|
1546
1546
|
useReducer: ti,
|
|
1547
1547
|
useRef: it,
|
|
1548
1548
|
useState: Me,
|
|
1549
|
-
useSyncExternalStore:
|
|
1550
|
-
useTransition:
|
|
1549
|
+
useSyncExternalStore: _o,
|
|
1550
|
+
useTransition: wo,
|
|
1551
1551
|
version: Uc
|
|
1552
1552
|
}, Symbol.toStringTag, { value: "Module" })), Vc = (t) => t;
|
|
1553
1553
|
function $c(t, e = Vc) {
|
|
@@ -1558,10 +1558,10 @@ function $c(t, e = Vc) {
|
|
|
1558
1558
|
);
|
|
1559
1559
|
return ue.useDebugValue(r), r;
|
|
1560
1560
|
}
|
|
1561
|
-
const
|
|
1561
|
+
const gs = (t) => {
|
|
1562
1562
|
const e = pc(t), r = (n) => $c(e, n);
|
|
1563
1563
|
return Object.assign(r, e), r;
|
|
1564
|
-
}, Bc = (t) => t ?
|
|
1564
|
+
}, Bc = (t) => t ? gs(t) : gs;
|
|
1565
1565
|
function Hc(t) {
|
|
1566
1566
|
if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t;
|
|
1567
1567
|
var e = t.default;
|
|
@@ -1588,9 +1588,9 @@ function Hc(t) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
var B = {};
|
|
1590
1590
|
const Wc = /* @__PURE__ */ Hc(Lc);
|
|
1591
|
-
var Rr = { exports: {} }, jc = Rr.exports,
|
|
1591
|
+
var Rr = { exports: {} }, jc = Rr.exports, ws;
|
|
1592
1592
|
function zc() {
|
|
1593
|
-
return
|
|
1593
|
+
return ws || (ws = 1, (function(t, e) {
|
|
1594
1594
|
(function(r, n) {
|
|
1595
1595
|
var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", h = "major", c = "model", g = "name", w = "type", f = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", D = "smarttv", N = "wearable", R = "embedded", fe = 500, _e = "Amazon", ae = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", de = "Chrome", le = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", U = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", $e = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
|
|
1596
1596
|
var j = {};
|
|
@@ -1607,16 +1607,16 @@ function zc() {
|
|
|
1607
1607
|
return J.toLowerCase();
|
|
1608
1608
|
}, T = function(J) {
|
|
1609
1609
|
return typeof J === p ? J.replace(/[^\d\.]/g, o).split(".")[0] : n;
|
|
1610
|
-
},
|
|
1610
|
+
}, A = function(J, oe) {
|
|
1611
1611
|
if (typeof J === p)
|
|
1612
1612
|
return J = J.replace(/^\s\s*/, o), typeof oe === l ? J : J.substring(0, fe);
|
|
1613
1613
|
}, V = function(J, oe) {
|
|
1614
|
-
for (var j = 0, me, Be,
|
|
1614
|
+
for (var j = 0, me, Be, xe, he, q, ze; j < oe.length && !q; ) {
|
|
1615
1615
|
var jt = oe[j], Jt = oe[j + 1];
|
|
1616
1616
|
for (me = Be = 0; me < jt.length && !q && jt[me]; )
|
|
1617
1617
|
if (q = jt[me++].exec(J), q)
|
|
1618
|
-
for (
|
|
1619
|
-
ze = q[++Be], he = Jt[
|
|
1618
|
+
for (xe = 0; xe < Jt.length; xe++)
|
|
1619
|
+
ze = q[++Be], he = Jt[xe], typeof he === d && he.length > 0 ? he.length === 2 ? typeof he[1] == a ? this[he[0]] = he[1].call(this, ze) : this[he[0]] = he[1] : he.length === 3 ? typeof he[1] === a && !(he[1].exec && he[1].test) ? this[he[0]] = ze ? he[1].call(this, ze, he[2]) : n : this[he[0]] = ze ? ze.replace(he[1], he[2]) : n : he.length === 4 && (this[he[0]] = ze ? he[3].call(this, ze.replace(he[1], he[2])) : n) : this[he] = ze || n;
|
|
1620
1620
|
j += 2;
|
|
1621
1621
|
}
|
|
1622
1622
|
}, M = function(J, oe) {
|
|
@@ -1628,31 +1628,31 @@ function zc() {
|
|
|
1628
1628
|
} else if (tt(oe[j], J))
|
|
1629
1629
|
return j === s ? n : j;
|
|
1630
1630
|
return oe.hasOwnProperty("*") ? oe["*"] : J;
|
|
1631
|
-
}, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [w, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": $e }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, U], [w, I]], [/(nokia) (t[12][01])/i], [f, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [w, b]], [/(nexus 9)/i], [c, [f, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[f, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [w, I]], [/(surface duo)/i], [c, [f, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [f, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [w, I]], [/(sprint) (\w+)/i], [f, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [w, b]], [/smart-tv.+(samsung)/i], [f, [w, D]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [w, D]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [w, D]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [w, D]], [/crkey/i], [[c, de + "cast"], [f, ve], [w, D]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [w, D]], [/(shield \w+ tv)/i], [c, [f, re], [w, D]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [w, D]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [w, D]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [w, D]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [w, D]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, x], [c, x], [w, D]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, D]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, D]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [w, C]], [/(playstation \w+)/i], [c, [f, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [w, N]], [/(opwwe\d{3})/i], [c, [f, $], [w, N]], [/(moto 360)/i], [c, [f, Se], [w, N]], [/(smartwatch 3)/i], [c, [f, Xe], [w, N]], [/(g watch r)/i], [c, [f, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [w, N]], [/droid.+; (glass) \d/i], [c, [f, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [w, R]], [/(aeobc)\b/i], [c, [f, _e], [w, R]], [/(homepod).+mac os/i], [c, [f, ae], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
|
|
1631
|
+
}, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [w, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, $e], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": $e }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, U], [w, I]], [/(nokia) (t[12][01])/i], [f, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [w, b]], [/(nexus 9)/i], [c, [f, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[f, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [w, I]], [/(surface duo)/i], [c, [f, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [f, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [w, I]], [/(sprint) (\w+)/i], [f, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [w, b]], [/smart-tv.+(samsung)/i], [f, [w, D]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [w, D]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [w, D]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [w, D]], [/crkey/i], [[c, de + "cast"], [f, ve], [w, D]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [w, D]], [/(shield \w+ tv)/i], [c, [f, re], [w, D]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [w, D]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [w, D]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [w, D]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [w, D]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [w, D]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, D]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, D]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [w, C]], [/(playstation \w+)/i], [c, [f, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [w, N]], [/(opwwe\d{3})/i], [c, [f, $], [w, N]], [/(moto 360)/i], [c, [f, Se], [w, N]], [/(smartwatch 3)/i], [c, [f, Xe], [w, N]], [/(g watch r)/i], [c, [f, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [w, N]], [/droid.+; (glass) \d/i], [c, [f, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [w, R]], [/(aeobc)\b/i], [c, [f, _e], [w, R]], [/(homepod).+mac os/i], [c, [f, ae], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
|
|
1632
1632
|
if (typeof J === d && (oe = J, J = n), !(this instanceof G))
|
|
1633
1633
|
return new G(J, oe).getResult();
|
|
1634
|
-
var j = typeof r !== l && r.navigator ? r.navigator : n, me = J || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n,
|
|
1634
|
+
var j = typeof r !== l && r.navigator ? r.navigator : n, me = J || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n, xe = oe ? Wt(ne, oe) : ne, he = j && j.userAgent == me;
|
|
1635
1635
|
return this.getBrowser = function() {
|
|
1636
1636
|
var q = {};
|
|
1637
|
-
return q[g] = n, q[m] = n, V.call(q, me,
|
|
1637
|
+
return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[h] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[g] = "Brave"), q;
|
|
1638
1638
|
}, this.getCPU = function() {
|
|
1639
1639
|
var q = {};
|
|
1640
|
-
return q[S] = n, V.call(q, me,
|
|
1640
|
+
return q[S] = n, V.call(q, me, xe.cpu), q;
|
|
1641
1641
|
}, this.getDevice = function() {
|
|
1642
1642
|
var q = {};
|
|
1643
|
-
return q[f] = n, q[c] = n, q[w] = n, V.call(q, me,
|
|
1643
|
+
return q[f] = n, q[c] = n, q[w] = n, V.call(q, me, xe.device), he && !q[w] && Be && Be.mobile && (q[w] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[w] = I), q;
|
|
1644
1644
|
}, this.getEngine = function() {
|
|
1645
1645
|
var q = {};
|
|
1646
|
-
return q[g] = n, q[m] = n, V.call(q, me,
|
|
1646
|
+
return q[g] = n, q[m] = n, V.call(q, me, xe.engine), q;
|
|
1647
1647
|
}, this.getOS = function() {
|
|
1648
1648
|
var q = {};
|
|
1649
|
-
return q[g] = n, q[m] = n, V.call(q, me,
|
|
1649
|
+
return q[g] = n, q[m] = n, V.call(q, me, xe.os), he && !q[g] && Be && Be.platform && Be.platform != "Unknown" && (q[g] = Be.platform.replace(/chrome os/i, bt).replace(/macos/i, pt)), q;
|
|
1650
1650
|
}, this.getResult = function() {
|
|
1651
1651
|
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
1652
1652
|
}, this.getUA = function() {
|
|
1653
1653
|
return me;
|
|
1654
1654
|
}, this.setUA = function(q) {
|
|
1655
|
-
return me = typeof q === p && q.length > fe ?
|
|
1655
|
+
return me = typeof q === p && q.length > fe ? A(q, fe) : q, this;
|
|
1656
1656
|
}, this.setUA(me), this;
|
|
1657
1657
|
};
|
|
1658
1658
|
G.VERSION = i, G.BROWSER = _t([g, m, h]), G.CPU = _t([S]), G.DEVICE = _t([c, f, w, C, b, D, I, N, R]), G.ENGINE = G.OS = _t([g, m]), t.exports && (e = t.exports = G), e.UAParser = G;
|
|
@@ -1671,10 +1671,10 @@ function zc() {
|
|
|
1671
1671
|
})(typeof window == "object" ? window : jc);
|
|
1672
1672
|
})(Rr, Rr.exports)), Rr.exports;
|
|
1673
1673
|
}
|
|
1674
|
-
var
|
|
1674
|
+
var vs;
|
|
1675
1675
|
function Kc() {
|
|
1676
|
-
if (
|
|
1677
|
-
|
|
1676
|
+
if (vs) return B;
|
|
1677
|
+
vs = 1, Object.defineProperty(B, "__esModule", { value: !0 });
|
|
1678
1678
|
function t(E) {
|
|
1679
1679
|
return E && typeof E == "object" && "default" in E ? E.default : E;
|
|
1680
1680
|
}
|
|
@@ -1712,20 +1712,20 @@ function Kc() {
|
|
|
1712
1712
|
function w(E, _) {
|
|
1713
1713
|
var v = Object.keys(E);
|
|
1714
1714
|
if (Object.getOwnPropertySymbols) {
|
|
1715
|
-
var
|
|
1716
|
-
_ && (
|
|
1715
|
+
var x = Object.getOwnPropertySymbols(E);
|
|
1716
|
+
_ && (x = x.filter(function(k) {
|
|
1717
1717
|
return Object.getOwnPropertyDescriptor(E, k).enumerable;
|
|
1718
|
-
})), v.push.apply(v,
|
|
1718
|
+
})), v.push.apply(v, x);
|
|
1719
1719
|
}
|
|
1720
1720
|
return v;
|
|
1721
1721
|
}
|
|
1722
1722
|
function f(E) {
|
|
1723
1723
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1724
1724
|
var v = arguments[_] != null ? arguments[_] : {};
|
|
1725
|
-
_ % 2 ? w(Object(v), !0).forEach(function(
|
|
1726
|
-
I(E,
|
|
1727
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(E, Object.getOwnPropertyDescriptors(v)) : w(Object(v)).forEach(function(
|
|
1728
|
-
Object.defineProperty(E,
|
|
1725
|
+
_ % 2 ? w(Object(v), !0).forEach(function(x) {
|
|
1726
|
+
I(E, x, v[x]);
|
|
1727
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(E, Object.getOwnPropertyDescriptors(v)) : w(Object(v)).forEach(function(x) {
|
|
1728
|
+
Object.defineProperty(E, x, Object.getOwnPropertyDescriptor(v, x));
|
|
1729
1729
|
});
|
|
1730
1730
|
}
|
|
1731
1731
|
return E;
|
|
@@ -1744,8 +1744,8 @@ function Kc() {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
function C(E, _) {
|
|
1746
1746
|
for (var v = 0; v < _.length; v++) {
|
|
1747
|
-
var
|
|
1748
|
-
|
|
1747
|
+
var x = _[v];
|
|
1748
|
+
x.enumerable = x.enumerable || !1, x.configurable = !0, "value" in x && (x.writable = !0), Object.defineProperty(E, x.key, x);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
1751
|
function b(E, _, v) {
|
|
@@ -1763,8 +1763,8 @@ function Kc() {
|
|
|
1763
1763
|
return D = Object.assign || function(E) {
|
|
1764
1764
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1765
1765
|
var v = arguments[_];
|
|
1766
|
-
for (var
|
|
1767
|
-
Object.prototype.hasOwnProperty.call(v,
|
|
1766
|
+
for (var x in v)
|
|
1767
|
+
Object.prototype.hasOwnProperty.call(v, x) && (E[x] = v[x]);
|
|
1768
1768
|
}
|
|
1769
1769
|
return E;
|
|
1770
1770
|
}, D.apply(this, arguments);
|
|
@@ -1786,24 +1786,24 @@ function Kc() {
|
|
|
1786
1786
|
}, R(E);
|
|
1787
1787
|
}
|
|
1788
1788
|
function fe(E, _) {
|
|
1789
|
-
return fe = Object.setPrototypeOf || function(
|
|
1790
|
-
return
|
|
1789
|
+
return fe = Object.setPrototypeOf || function(x, k) {
|
|
1790
|
+
return x.__proto__ = k, x;
|
|
1791
1791
|
}, fe(E, _);
|
|
1792
1792
|
}
|
|
1793
1793
|
function _e(E, _) {
|
|
1794
1794
|
if (E == null) return {};
|
|
1795
|
-
var v = {},
|
|
1796
|
-
for (pe = 0; pe <
|
|
1797
|
-
k =
|
|
1795
|
+
var v = {}, x = Object.keys(E), k, pe;
|
|
1796
|
+
for (pe = 0; pe < x.length; pe++)
|
|
1797
|
+
k = x[pe], !(_.indexOf(k) >= 0) && (v[k] = E[k]);
|
|
1798
1798
|
return v;
|
|
1799
1799
|
}
|
|
1800
1800
|
function ae(E, _) {
|
|
1801
1801
|
if (E == null) return {};
|
|
1802
|
-
var v = _e(E, _),
|
|
1802
|
+
var v = _e(E, _), x, k;
|
|
1803
1803
|
if (Object.getOwnPropertySymbols) {
|
|
1804
1804
|
var pe = Object.getOwnPropertySymbols(E);
|
|
1805
1805
|
for (k = 0; k < pe.length; k++)
|
|
1806
|
-
|
|
1806
|
+
x = pe[k], !(_.indexOf(x) >= 0) && Object.prototype.propertyIsEnumerable.call(E, x) && (v[x] = E[x]);
|
|
1807
1807
|
}
|
|
1808
1808
|
return v;
|
|
1809
1809
|
}
|
|
@@ -1828,9 +1828,9 @@ function Kc() {
|
|
|
1828
1828
|
function le(E, _) {
|
|
1829
1829
|
var v = E == null ? null : typeof Symbol != "undefined" && E[Symbol.iterator] || E["@@iterator"];
|
|
1830
1830
|
if (v != null) {
|
|
1831
|
-
var
|
|
1831
|
+
var x = [], k = !0, pe = !1, Ae, Ze;
|
|
1832
1832
|
try {
|
|
1833
|
-
for (v = v.call(E); !(k = (
|
|
1833
|
+
for (v = v.call(E); !(k = (Ae = v.next()).done) && (x.push(Ae.value), !(_ && x.length === _)); k = !0)
|
|
1834
1834
|
;
|
|
1835
1835
|
} catch (On) {
|
|
1836
1836
|
pe = !0, Ze = On;
|
|
@@ -1841,7 +1841,7 @@ function Kc() {
|
|
|
1841
1841
|
if (pe) throw Ze;
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
|
-
return
|
|
1844
|
+
return x;
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
function we(E, _) {
|
|
@@ -1854,8 +1854,8 @@ function Kc() {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
function ve(E, _) {
|
|
1856
1856
|
(_ == null || _ > E.length) && (_ = E.length);
|
|
1857
|
-
for (var v = 0,
|
|
1858
|
-
return
|
|
1857
|
+
for (var v = 0, x = new Array(_); v < _; v++) x[v] = E[v];
|
|
1858
|
+
return x;
|
|
1859
1859
|
}
|
|
1860
1860
|
function ee() {
|
|
1861
1861
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -1939,79 +1939,79 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1939
1939
|
}, $e = function(_) {
|
|
1940
1940
|
var v = Q();
|
|
1941
1941
|
return v && v.platform && (v.platform.indexOf(_) !== -1 || v.platform === "MacIntel" && v.maxTouchPoints > 1 && !window.MSStream);
|
|
1942
|
-
}, je = function(_, v,
|
|
1942
|
+
}, je = function(_, v, x, k, pe) {
|
|
1943
1943
|
return {
|
|
1944
1944
|
isBrowser: _,
|
|
1945
1945
|
browserMajorVersion: $(v.major),
|
|
1946
1946
|
browserFullVersion: $(v.version),
|
|
1947
1947
|
browserName: $(v.name),
|
|
1948
|
-
engineName: $(
|
|
1949
|
-
engineVersion: $(
|
|
1948
|
+
engineName: $(x.name),
|
|
1949
|
+
engineVersion: $(x.version),
|
|
1950
1950
|
osName: $(k.name),
|
|
1951
1951
|
osVersion: $(k.version),
|
|
1952
1952
|
userAgent: $(pe)
|
|
1953
1953
|
};
|
|
1954
|
-
}, ot = function(_, v,
|
|
1954
|
+
}, ot = function(_, v, x, k) {
|
|
1955
1955
|
return f({}, _, {
|
|
1956
1956
|
vendor: $(v.vendor),
|
|
1957
1957
|
model: $(v.model),
|
|
1958
|
-
os: $(
|
|
1959
|
-
osVersion: $(
|
|
1958
|
+
os: $(x.name),
|
|
1959
|
+
osVersion: $(x.version),
|
|
1960
1960
|
ua: $(k)
|
|
1961
1961
|
});
|
|
1962
|
-
}, Xe = function(_, v,
|
|
1962
|
+
}, Xe = function(_, v, x, k) {
|
|
1963
1963
|
return {
|
|
1964
1964
|
isSmartTV: _,
|
|
1965
1965
|
engineName: $(v.name),
|
|
1966
1966
|
engineVersion: $(v.version),
|
|
1967
|
-
osName: $(
|
|
1968
|
-
osVersion: $(
|
|
1967
|
+
osName: $(x.name),
|
|
1968
|
+
osVersion: $(x.version),
|
|
1969
1969
|
userAgent: $(k)
|
|
1970
1970
|
};
|
|
1971
|
-
}, yt = function(_, v,
|
|
1971
|
+
}, yt = function(_, v, x, k) {
|
|
1972
1972
|
return {
|
|
1973
1973
|
isConsole: _,
|
|
1974
1974
|
engineName: $(v.name),
|
|
1975
1975
|
engineVersion: $(v.version),
|
|
1976
|
-
osName: $(
|
|
1977
|
-
osVersion: $(
|
|
1976
|
+
osName: $(x.name),
|
|
1977
|
+
osVersion: $(x.version),
|
|
1978
1978
|
userAgent: $(k)
|
|
1979
1979
|
};
|
|
1980
|
-
}, st = function(_, v,
|
|
1980
|
+
}, st = function(_, v, x, k) {
|
|
1981
1981
|
return {
|
|
1982
1982
|
isWearable: _,
|
|
1983
1983
|
engineName: $(v.name),
|
|
1984
1984
|
engineVersion: $(v.version),
|
|
1985
|
-
osName: $(
|
|
1986
|
-
osVersion: $(
|
|
1985
|
+
osName: $(x.name),
|
|
1986
|
+
osVersion: $(x.version),
|
|
1987
1987
|
userAgent: $(k)
|
|
1988
1988
|
};
|
|
1989
|
-
}, Ht = function(_, v,
|
|
1989
|
+
}, Ht = function(_, v, x, k, pe) {
|
|
1990
1990
|
return {
|
|
1991
1991
|
isEmbedded: _,
|
|
1992
1992
|
vendor: $(v.vendor),
|
|
1993
1993
|
model: $(v.model),
|
|
1994
|
-
engineName: $(
|
|
1995
|
-
engineVersion: $(
|
|
1994
|
+
engineName: $(x.name),
|
|
1995
|
+
engineVersion: $(x.version),
|
|
1996
1996
|
osName: $(k.name),
|
|
1997
1997
|
osVersion: $(k.version),
|
|
1998
1998
|
userAgent: $(pe)
|
|
1999
1999
|
};
|
|
2000
2000
|
};
|
|
2001
2001
|
function bt(E) {
|
|
2002
|
-
var _ = E ? c(E) : g, v = _.device,
|
|
2002
|
+
var _ = E ? c(E) : g, v = _.device, x = _.browser, k = _.engine, pe = _.os, Ae = _.ua, Ze = Se(v.type), On = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Mo = Ze.isSmartTV, Po = Ze.isConsole, Fo = Ze.isWearable, Uo = Ze.isEmbedded;
|
|
2003
2003
|
if (On)
|
|
2004
|
-
return je(On,
|
|
2004
|
+
return je(On, x, k, pe, Ae);
|
|
2005
|
+
if (Mo)
|
|
2006
|
+
return Xe(Mo, k, pe, Ae);
|
|
2005
2007
|
if (Po)
|
|
2006
|
-
return
|
|
2007
|
-
if (Fo)
|
|
2008
|
-
return yt(Fo, k, pe, xe);
|
|
2008
|
+
return yt(Po, k, pe, Ae);
|
|
2009
2009
|
if (Nl || Dl)
|
|
2010
|
-
return ot(Ze, v, pe,
|
|
2010
|
+
return ot(Ze, v, pe, Ae);
|
|
2011
|
+
if (Fo)
|
|
2012
|
+
return st(Fo, k, pe, Ae);
|
|
2011
2013
|
if (Uo)
|
|
2012
|
-
return
|
|
2013
|
-
if (Lo)
|
|
2014
|
-
return Ht(Lo, v, k, pe, xe);
|
|
2014
|
+
return Ht(Uo, v, k, pe, Ae);
|
|
2015
2015
|
}
|
|
2016
2016
|
var pt = function(_) {
|
|
2017
2017
|
var v = _.type;
|
|
@@ -2034,7 +2034,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2034
2034
|
}, T = function(_) {
|
|
2035
2035
|
var v = _.type;
|
|
2036
2036
|
return v === z.Console;
|
|
2037
|
-
},
|
|
2037
|
+
}, A = function(_) {
|
|
2038
2038
|
var v = _.type;
|
|
2039
2039
|
return v === z.Embedded;
|
|
2040
2040
|
}, V = function(_) {
|
|
@@ -2076,7 +2076,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2076
2076
|
}, Be = function(_) {
|
|
2077
2077
|
var v = _.name;
|
|
2078
2078
|
return v === U.Chromium;
|
|
2079
|
-
},
|
|
2079
|
+
}, xe = function(_) {
|
|
2080
2080
|
var v = _.name;
|
|
2081
2081
|
return v === U.Edge;
|
|
2082
2082
|
}, he = function(_) {
|
|
@@ -2133,14 +2133,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2133
2133
|
return $(_);
|
|
2134
2134
|
};
|
|
2135
2135
|
function fn(E) {
|
|
2136
|
-
var _ = E || g, v = _.device,
|
|
2136
|
+
var _ = E || g, v = _.device, x = _.browser, k = _.os, pe = _.engine, Ae = _.ua;
|
|
2137
2137
|
return {
|
|
2138
2138
|
isSmartTV: _t(v),
|
|
2139
2139
|
isConsole: T(v),
|
|
2140
2140
|
isWearable: y(v),
|
|
2141
|
-
isEmbedded:
|
|
2142
|
-
isMobileSafari: ze(
|
|
2143
|
-
isChromium: Be(
|
|
2141
|
+
isEmbedded: A(v),
|
|
2142
|
+
isMobileSafari: ze(x) || rt(),
|
|
2143
|
+
isChromium: Be(x),
|
|
2144
2144
|
isMobile: Wt(v) || rt(),
|
|
2145
2145
|
isMobileOnly: pt(v),
|
|
2146
2146
|
isTablet: Ct(v) || rt(),
|
|
@@ -2149,97 +2149,97 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2149
2149
|
isAndroid: W(k),
|
|
2150
2150
|
isWinPhone: ge(k),
|
|
2151
2151
|
isIOS: Pe(k) || rt(),
|
|
2152
|
-
isChrome: j(
|
|
2153
|
-
isFirefox: me(
|
|
2154
|
-
isSafari: q(
|
|
2155
|
-
isOpera: jt(
|
|
2156
|
-
isIE: Jt(
|
|
2152
|
+
isChrome: j(x),
|
|
2153
|
+
isFirefox: me(x),
|
|
2154
|
+
isSafari: q(x),
|
|
2155
|
+
isOpera: jt(x),
|
|
2156
|
+
isIE: Jt(x),
|
|
2157
2157
|
osVersion: J(k),
|
|
2158
2158
|
osName: oe(k),
|
|
2159
|
-
fullBrowserVersion: tn(
|
|
2160
|
-
browserVersion: rn(
|
|
2161
|
-
browserName: nn(
|
|
2159
|
+
fullBrowserVersion: tn(x),
|
|
2160
|
+
browserVersion: rn(x),
|
|
2161
|
+
browserName: nn(x),
|
|
2162
2162
|
mobileVendor: V(v),
|
|
2163
2163
|
mobileModel: M(v),
|
|
2164
2164
|
engineName: on(pe),
|
|
2165
2165
|
engineVersion: sn(pe),
|
|
2166
|
-
getUA: un(
|
|
2167
|
-
isEdge:
|
|
2168
|
-
isYandex: he(
|
|
2166
|
+
getUA: un(Ae),
|
|
2167
|
+
isEdge: xe(x) || zt(Ae),
|
|
2168
|
+
isYandex: he(x),
|
|
2169
2169
|
deviceType: P(v),
|
|
2170
2170
|
isIOS13: ln(),
|
|
2171
2171
|
isIPad13: rt(),
|
|
2172
2172
|
isIPhone13: cn(),
|
|
2173
2173
|
isIPod13: dn(),
|
|
2174
2174
|
isElectron: an(),
|
|
2175
|
-
isEdgeChromium: zt(
|
|
2176
|
-
isLegacyEdge:
|
|
2175
|
+
isEdgeChromium: zt(Ae),
|
|
2176
|
+
isLegacyEdge: xe(x) && !zt(Ae),
|
|
2177
2177
|
isWindows: ne(k),
|
|
2178
2178
|
isMacOs: G(k),
|
|
2179
|
-
isMIUI: Qr(
|
|
2180
|
-
isSamsungBrowser: en(
|
|
2179
|
+
isMIUI: Qr(x),
|
|
2180
|
+
isSamsungBrowser: en(x)
|
|
2181
2181
|
};
|
|
2182
2182
|
}
|
|
2183
|
-
var hn = _t(a), pn = T(a), _n = y(a), ii =
|
|
2183
|
+
var hn = _t(a), pn = T(a), _n = y(a), ii = A(a), oi = ze(o) || rt(), si = Be(o), ur = Wt(a) || rt(), mn = pt(a), gn = Ct(a) || rt(), wn = tt(a), ai = tt(a), vn = W(d), yn = ge(d), bn = Pe(d) || rt(), li = j(o), ci = me(o), di = q(o), ui = jt(o), Cn = Jt(o), fi = J(d), hi = oe(d), pi = tn(o), _i = rn(o), mi = nn(o), gi = V(a), wi = M(a), vi = on(l), yi = sn(l), bi = un(p), mt = xe(o) || zt(p), Ci = he(o), ie = P(a), at = ln(), fr = rt(), Sn = cn(), En = dn(), Tn = an(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(d), hl = G(d), pl = Qr(o), _l = en(o), ml = function(_) {
|
|
2184
2184
|
if (!_ || typeof _ != "string") {
|
|
2185
2185
|
console.error("No valid user agent string was provided");
|
|
2186
2186
|
return;
|
|
2187
2187
|
}
|
|
2188
|
-
var v = c(_),
|
|
2188
|
+
var v = c(_), x = v.device, k = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
|
|
2189
2189
|
return fn({
|
|
2190
|
-
device:
|
|
2190
|
+
device: x,
|
|
2191
2191
|
browser: k,
|
|
2192
2192
|
os: pe,
|
|
2193
|
-
engine:
|
|
2193
|
+
engine: Ae,
|
|
2194
2194
|
ua: Ze
|
|
2195
2195
|
});
|
|
2196
2196
|
}, gl = function(_) {
|
|
2197
|
-
var v = _.renderWithFragment,
|
|
2198
|
-
return vn ? v ? r.createElement(e.Fragment, null,
|
|
2197
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2198
|
+
return vn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2199
2199
|
}, wl = function(_) {
|
|
2200
|
-
var v = _.renderWithFragment,
|
|
2201
|
-
return wn ? v ? r.createElement(e.Fragment, null,
|
|
2200
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2201
|
+
return wn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2202
2202
|
}, vl = function(_) {
|
|
2203
|
-
var v = _.renderWithFragment,
|
|
2204
|
-
return Cn ? v ? r.createElement(e.Fragment, null,
|
|
2203
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2204
|
+
return Cn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2205
2205
|
}, yl = function(_) {
|
|
2206
|
-
var v = _.renderWithFragment,
|
|
2207
|
-
return bn ? v ? r.createElement(e.Fragment, null,
|
|
2206
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2207
|
+
return bn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2208
2208
|
}, bl = function(_) {
|
|
2209
|
-
var v = _.renderWithFragment,
|
|
2210
|
-
return ur ? v ? r.createElement(e.Fragment, null,
|
|
2209
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2210
|
+
return ur ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2211
2211
|
}, Cl = function(_) {
|
|
2212
|
-
var v = _.renderWithFragment,
|
|
2213
|
-
return gn ? v ? r.createElement(e.Fragment, null,
|
|
2212
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2213
|
+
return gn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2214
2214
|
}, Sl = function(_) {
|
|
2215
|
-
var v = _.renderWithFragment,
|
|
2216
|
-
return yn ? v ? r.createElement(e.Fragment, null,
|
|
2215
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2216
|
+
return yn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2217
2217
|
}, El = function(_) {
|
|
2218
|
-
var v = _.renderWithFragment,
|
|
2218
|
+
var v = _.renderWithFragment, x = _.children;
|
|
2219
2219
|
_.viewClassName, _.style;
|
|
2220
2220
|
var k = ae(_, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2221
|
-
return mn ? v ? r.createElement(e.Fragment, null,
|
|
2221
|
+
return mn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2222
2222
|
}, Tl = function(_) {
|
|
2223
|
-
var v = _.renderWithFragment,
|
|
2224
|
-
return hn ? v ? r.createElement(e.Fragment, null,
|
|
2223
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2224
|
+
return hn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2225
2225
|
}, Ol = function(_) {
|
|
2226
|
-
var v = _.renderWithFragment,
|
|
2227
|
-
return pn ? v ? r.createElement(e.Fragment, null,
|
|
2226
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2227
|
+
return pn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2228
2228
|
}, Il = function(_) {
|
|
2229
|
-
var v = _.renderWithFragment,
|
|
2230
|
-
return _n ? v ? r.createElement(e.Fragment, null,
|
|
2231
|
-
},
|
|
2232
|
-
var v = _.renderWithFragment,
|
|
2229
|
+
var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
|
|
2230
|
+
return _n ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
|
|
2231
|
+
}, xl = function(_) {
|
|
2232
|
+
var v = _.renderWithFragment, x = _.children;
|
|
2233
2233
|
_.viewClassName, _.style;
|
|
2234
2234
|
var k = _.condition, pe = ae(_, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2235
|
-
return k ? v ? r.createElement(e.Fragment, null,
|
|
2235
|
+
return k ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", pe, x) : null;
|
|
2236
2236
|
};
|
|
2237
|
-
function
|
|
2237
|
+
function Al(E) {
|
|
2238
2238
|
return /* @__PURE__ */ (function(_) {
|
|
2239
2239
|
N(v, _);
|
|
2240
|
-
function v(
|
|
2240
|
+
function v(x) {
|
|
2241
2241
|
var k;
|
|
2242
|
-
return S(this, v), k = H(this, R(v).call(this,
|
|
2242
|
+
return S(this, v), k = H(this, R(v).call(this, x)), k.isEventListenerAdded = !1, k.handleOrientationChange = k.handleOrientationChange.bind(Z(k)), k.onOrientationChange = k.onOrientationChange.bind(Z(k)), k.onPageLoad = k.onPageLoad.bind(Z(k)), k.state = {
|
|
2243
2243
|
isLandscape: !1,
|
|
2244
2244
|
isPortrait: !1
|
|
2245
2245
|
}, k;
|
|
@@ -2293,13 +2293,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2293
2293
|
isLandscape: pe === 90,
|
|
2294
2294
|
orientation: pe === 0 ? "portrait" : "landscape"
|
|
2295
2295
|
};
|
|
2296
|
-
}), _ = K(E, 2), v = _[0],
|
|
2297
|
-
var pe = window.innerWidth > window.innerHeight ? 90 : 0,
|
|
2296
|
+
}), _ = K(E, 2), v = _[0], x = _[1], k = e.useCallback(function() {
|
|
2297
|
+
var pe = window.innerWidth > window.innerHeight ? 90 : 0, Ae = {
|
|
2298
2298
|
isPortrait: pe === 0,
|
|
2299
2299
|
isLandscape: pe === 90,
|
|
2300
2300
|
orientation: pe === 0 ? "portrait" : "landscape"
|
|
2301
2301
|
};
|
|
2302
|
-
v.orientation !==
|
|
2302
|
+
v.orientation !== Ae.orientation && x(Ae);
|
|
2303
2303
|
}, [v.orientation]);
|
|
2304
2304
|
return e.useEffect(function() {
|
|
2305
2305
|
return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && ur && (k(), window.addEventListener("load", k, !1), window.addEventListener("resize", k, !1)), function() {
|
|
@@ -2307,33 +2307,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2307
2307
|
};
|
|
2308
2308
|
}, [k]), v;
|
|
2309
2309
|
}
|
|
2310
|
-
function
|
|
2310
|
+
function Do(E) {
|
|
2311
2311
|
var _ = E || window.navigator.userAgent;
|
|
2312
2312
|
return c(_);
|
|
2313
2313
|
}
|
|
2314
2314
|
function kl(E) {
|
|
2315
|
-
var _ = E || window.navigator.userAgent, v =
|
|
2316
|
-
return [
|
|
2315
|
+
var _ = E || window.navigator.userAgent, v = Do(_), x = fn(v);
|
|
2316
|
+
return [x, v];
|
|
2317
2317
|
}
|
|
2318
|
-
return B.AndroidView = gl, B.BrowserTypes = U, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView =
|
|
2318
|
+
return B.AndroidView = gl, B.BrowserTypes = U, 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 = mi, B.browserVersion = _i, B.deviceDetect = bt, B.deviceType = ie, B.engineName = vi, B.engineVersion = yi, B.fullBrowserVersion = pi, B.getSelectorsByUserAgent = ml, B.getUA = bi, B.isAndroid = vn, B.isBrowser = wn, B.isChrome = li, B.isChromium = si, B.isConsole = pn, B.isDesktop = ai, B.isEdge = mt, B.isEdgeChromium = dl, B.isElectron = Tn, B.isEmbedded = ii, B.isFirefox = ci, B.isIE = Cn, B.isIOS = bn, B.isIOS13 = at, B.isIPad13 = fr, B.isIPhone13 = Sn, B.isIPod13 = En, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = ur, B.isMobileOnly = mn, B.isMobileSafari = oi, B.isOpera = ui, B.isSafari = di, B.isSamsungBrowser = _l, B.isSmartTV = hn, B.isTablet = gn, B.isWearable = _n, B.isWinPhone = yn, B.isWindows = fl, B.isYandex = Ci, B.mobileModel = wi, B.mobileVendor = gi, B.osName = hi, B.osVersion = fi, 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
|
-
const Gc = (t, e) =>
|
|
2322
|
-
const r =
|
|
2321
|
+
const Gc = (t, e) => bo(t, e), bo = (t, e) => {
|
|
2322
|
+
const r = qi(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] = qi(i, e);
|
|
2328
2328
|
else if (Array.isArray(i)) {
|
|
2329
2329
|
const o = i.map(
|
|
2330
|
-
(s) => typeof s == "object" ?
|
|
2330
|
+
(s) => typeof s == "object" ? bo(s, e) : s
|
|
2331
2331
|
);
|
|
2332
2332
|
r[n] = o;
|
|
2333
2333
|
}
|
|
2334
2334
|
}
|
|
2335
2335
|
return r;
|
|
2336
|
-
},
|
|
2336
|
+
}, qi = (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,14 +2341,14 @@ const Gc = (t, e) => Co(t, e), Co = (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 = qi(i, e);
|
|
2345
2345
|
for (const s in o)
|
|
2346
2346
|
if (Object.prototype.hasOwnProperty.call(o, s)) {
|
|
2347
2347
|
const a = o[s];
|
|
2348
2348
|
Object.prototype.hasOwnProperty.call(r, s) || (r[s] = a);
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
|
-
return
|
|
2351
|
+
return bo(r, e);
|
|
2352
2352
|
}, qc = (t) => {
|
|
2353
2353
|
const e = {};
|
|
2354
2354
|
for (const r in t)
|
|
@@ -2373,7 +2373,7 @@ function Xc() {
|
|
|
2373
2373
|
}
|
|
2374
2374
|
return Ri(Jc);
|
|
2375
2375
|
}
|
|
2376
|
-
const Qc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
2376
|
+
const Qc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ys = { randomUUID: Qc };
|
|
2377
2377
|
function ed(t, e, r) {
|
|
2378
2378
|
var i, o, s;
|
|
2379
2379
|
t = t || {};
|
|
@@ -2383,19 +2383,19 @@ function ed(t, e, r) {
|
|
|
2383
2383
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Yc(n);
|
|
2384
2384
|
}
|
|
2385
2385
|
function td(t, e, r) {
|
|
2386
|
-
return
|
|
2386
|
+
return ys.randomUUID && !t ? ys.randomUUID() : ed(t);
|
|
2387
2387
|
}
|
|
2388
|
-
function
|
|
2388
|
+
function Co(t) {
|
|
2389
2389
|
try {
|
|
2390
2390
|
return JSON.parse(JSON.stringify(t));
|
|
2391
2391
|
} catch (e) {
|
|
2392
2392
|
return console.warn("Failed to copy object:", e), null;
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
|
-
const
|
|
2395
|
+
const bs = (t, e) => {
|
|
2396
2396
|
if (!t || !e) return null;
|
|
2397
2397
|
let r = null;
|
|
2398
|
-
return r =
|
|
2398
|
+
return r = Co(t), r && (r = Gc(r, e)), r;
|
|
2399
2399
|
};
|
|
2400
2400
|
function rd(t) {
|
|
2401
2401
|
return F(this, null, function* () {
|
|
@@ -2438,16 +2438,16 @@ const id = (t, e, r) => {
|
|
|
2438
2438
|
};
|
|
2439
2439
|
}, nr = {
|
|
2440
2440
|
setAuthTokenToLs: (t, e, r, n, i) => {
|
|
2441
|
-
const o = localStorage.getItem(
|
|
2441
|
+
const o = localStorage.getItem(xr), s = o ? JSON.parse(o) : {}, a = {
|
|
2442
2442
|
authToken: t,
|
|
2443
2443
|
tokenExpiresAt: i,
|
|
2444
2444
|
workflowId: n,
|
|
2445
2445
|
sessionId: r
|
|
2446
2446
|
};
|
|
2447
|
-
s[e] = a, localStorage.setItem(
|
|
2447
|
+
s[e] = a, localStorage.setItem(xr, JSON.stringify(s));
|
|
2448
2448
|
},
|
|
2449
2449
|
getAuthTokenLs: () => {
|
|
2450
|
-
const t = localStorage.getItem(
|
|
2450
|
+
const t = localStorage.getItem(xr);
|
|
2451
2451
|
if (!t) return null;
|
|
2452
2452
|
try {
|
|
2453
2453
|
const e = JSON.parse(t);
|
|
@@ -2458,11 +2458,11 @@ const id = (t, e, r) => {
|
|
|
2458
2458
|
},
|
|
2459
2459
|
removeAuthTokenLs: (t) => {
|
|
2460
2460
|
if (!t) return !1;
|
|
2461
|
-
const e = localStorage.getItem(
|
|
2461
|
+
const e = localStorage.getItem(xr);
|
|
2462
2462
|
if (!e) return !1;
|
|
2463
2463
|
try {
|
|
2464
2464
|
const r = JSON.parse(e);
|
|
2465
|
-
return Object.prototype.hasOwnProperty.call(r, t) ? (delete r[t], localStorage.setItem(
|
|
2465
|
+
return Object.prototype.hasOwnProperty.call(r, t) ? (delete r[t], localStorage.setItem(xr, JSON.stringify(r)), !0) : !1;
|
|
2466
2466
|
} catch (r) {
|
|
2467
2467
|
return !1;
|
|
2468
2468
|
}
|
|
@@ -2548,7 +2548,7 @@ const fd = (t) => {
|
|
|
2548
2548
|
return null;
|
|
2549
2549
|
}
|
|
2550
2550
|
};
|
|
2551
|
-
function
|
|
2551
|
+
function Cs(t) {
|
|
2552
2552
|
return !("error" in t);
|
|
2553
2553
|
}
|
|
2554
2554
|
function Mi(t) {
|
|
@@ -2565,7 +2565,7 @@ function Mi(t) {
|
|
|
2565
2565
|
return null;
|
|
2566
2566
|
}
|
|
2567
2567
|
}
|
|
2568
|
-
const
|
|
2568
|
+
const Ss = () => {
|
|
2569
2569
|
if (typeof window == "undefined") return "SERVER_SIDE_RENDERING";
|
|
2570
2570
|
if (!document.referrer) return window.location.origin;
|
|
2571
2571
|
try {
|
|
@@ -2580,9 +2580,9 @@ const Es = () => {
|
|
|
2580
2580
|
metadata: {
|
|
2581
2581
|
platform: "browser",
|
|
2582
2582
|
osVersion: `${Je.osVersion}`,
|
|
2583
|
-
hostAppId:
|
|
2584
|
-
host:
|
|
2585
|
-
sdkVersion: "3.2.
|
|
2583
|
+
hostAppId: Ss(),
|
|
2584
|
+
host: Ss(),
|
|
2585
|
+
sdkVersion: "3.2.258-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}`,
|
|
@@ -2616,7 +2616,7 @@ function _d() {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
});
|
|
2618
2618
|
}
|
|
2619
|
-
const
|
|
2619
|
+
const Es = {
|
|
2620
2620
|
apiKeyAuthTokenCollection: {},
|
|
2621
2621
|
sessionProperties: [],
|
|
2622
2622
|
currentSessionData: null,
|
|
@@ -2632,9 +2632,10 @@ const Ts = {
|
|
|
2632
2632
|
externalModules: [],
|
|
2633
2633
|
serviceToken: void 0,
|
|
2634
2634
|
startConfig: {},
|
|
2635
|
+
locale: "",
|
|
2635
2636
|
listener: () => {
|
|
2636
2637
|
}
|
|
2637
|
-
}, md = (t, e) => X(O({},
|
|
2638
|
+
}, md = (t, e) => X(O({}, Es), {
|
|
2638
2639
|
setApiKeyAuthTokenCollection: (r, n, i) => {
|
|
2639
2640
|
t({ apiKeyAuthTokenCollection: {
|
|
2640
2641
|
authToken: n,
|
|
@@ -2686,9 +2687,12 @@ const Ts = {
|
|
|
2686
2687
|
t(() => ({ nonce: r }));
|
|
2687
2688
|
},
|
|
2688
2689
|
getNonce: () => e().nonce,
|
|
2689
|
-
resetProps: () => t(() => O({},
|
|
2690
|
+
resetProps: () => t(() => O({}, Es)),
|
|
2690
2691
|
setStartConfig: (r) => {
|
|
2691
2692
|
t(() => ({ startConfig: r }));
|
|
2693
|
+
},
|
|
2694
|
+
setLocale: (r) => {
|
|
2695
|
+
t(() => ({ locale: r }));
|
|
2692
2696
|
}
|
|
2693
2697
|
});
|
|
2694
2698
|
class Ce {
|
|
@@ -2753,7 +2757,7 @@ function wd(t, e) {
|
|
|
2753
2757
|
console.error('Missed "getIdentifier" when register module');
|
|
2754
2758
|
customElements.get(e.getIdentifier()) ? console.log(`Module ${t} has already registered`) : customElements.define(t, e), console.log("-------");
|
|
2755
2759
|
}
|
|
2756
|
-
const
|
|
2760
|
+
const Zi = {
|
|
2757
2761
|
FORM: "form",
|
|
2758
2762
|
DATA: "data"
|
|
2759
2763
|
}, It = class It extends Ce {
|
|
@@ -2779,7 +2783,7 @@ const Yi = {
|
|
|
2779
2783
|
};
|
|
2780
2784
|
It.MODULE = vt, It.ERROR_ENUM_NAME = "InitializeError", It.SHORT_CODE = "IN";
|
|
2781
2785
|
let Bn = It;
|
|
2782
|
-
const
|
|
2786
|
+
const xt = class xt extends Ce {
|
|
2783
2787
|
constructor({
|
|
2784
2788
|
errorCode: e,
|
|
2785
2789
|
message: r,
|
|
@@ -2790,19 +2794,19 @@ const At = class At extends Ce {
|
|
|
2790
2794
|
super({
|
|
2791
2795
|
errorCode: e,
|
|
2792
2796
|
errorCodeKey: o,
|
|
2793
|
-
errorEnumName:
|
|
2794
|
-
module:
|
|
2797
|
+
errorEnumName: xt.ERROR_ENUM_NAME,
|
|
2798
|
+
module: xt.MODULE,
|
|
2795
2799
|
message: r,
|
|
2796
2800
|
underlyingError: n,
|
|
2797
2801
|
underlyingBaseError: i,
|
|
2798
|
-
domain:
|
|
2799
|
-
shortDomainCode:
|
|
2802
|
+
domain: xt.ERROR_ENUM_NAME,
|
|
2803
|
+
shortDomainCode: xt.SHORT_CODE
|
|
2800
2804
|
});
|
|
2801
2805
|
}
|
|
2802
2806
|
};
|
|
2803
|
-
|
|
2804
|
-
let Hn =
|
|
2805
|
-
const
|
|
2807
|
+
xt.MODULE = vt, xt.ERROR_ENUM_NAME = "TokenInitializeError", xt.SHORT_CODE = "TI";
|
|
2808
|
+
let Hn = xt;
|
|
2809
|
+
const At = class At extends Ce {
|
|
2806
2810
|
constructor({
|
|
2807
2811
|
errorCode: e,
|
|
2808
2812
|
message: r,
|
|
@@ -2813,18 +2817,18 @@ const xt = class xt extends Ce {
|
|
|
2813
2817
|
super({
|
|
2814
2818
|
errorCode: e,
|
|
2815
2819
|
errorCodeKey: o,
|
|
2816
|
-
errorEnumName:
|
|
2817
|
-
module:
|
|
2820
|
+
errorEnumName: At.ERROR_ENUM_NAME,
|
|
2821
|
+
module: At.MODULE,
|
|
2818
2822
|
message: r,
|
|
2819
2823
|
underlyingError: n,
|
|
2820
2824
|
underlyingBaseError: i,
|
|
2821
|
-
domain:
|
|
2822
|
-
shortDomainCode:
|
|
2825
|
+
domain: At.ERROR_ENUM_NAME,
|
|
2826
|
+
shortDomainCode: At.SHORT_CODE
|
|
2823
2827
|
});
|
|
2824
2828
|
}
|
|
2825
2829
|
};
|
|
2826
|
-
|
|
2827
|
-
let Ot =
|
|
2830
|
+
At.MODULE = vt, At.ERROR_ENUM_NAME = "PrepareWorkflowError", At.SHORT_CODE = "PW";
|
|
2831
|
+
let Ot = At;
|
|
2828
2832
|
const Rt = class Rt extends Ce {
|
|
2829
2833
|
constructor({
|
|
2830
2834
|
errorCode: e,
|
|
@@ -3034,13 +3038,13 @@ function u(t, e, r, n, i, o) {
|
|
|
3034
3038
|
if (typeof t == "function" && (s = t.defaultProps)) for (a in s) l[a] === void 0 && (l[a] = s[a]);
|
|
3035
3039
|
return se.vnode && se.vnode(d), d;
|
|
3036
3040
|
}
|
|
3037
|
-
const
|
|
3038
|
-
const t = Zr(
|
|
3041
|
+
const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback: r }) => /* @__PURE__ */ u(So.Provider, { value: { perform: t, setIsProcessingCallback: r }, children: e }), dr = () => {
|
|
3042
|
+
const t = Zr(So);
|
|
3039
3043
|
if (!t)
|
|
3040
3044
|
throw new Error("usePerform must be used within a PerformProvider");
|
|
3041
3045
|
return { perform: t.perform };
|
|
3042
3046
|
}, yd = () => {
|
|
3043
|
-
const t = Zr(
|
|
3047
|
+
const t = Zr(So);
|
|
3044
3048
|
if (!t)
|
|
3045
3049
|
throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
|
|
3046
3050
|
return { setIsProcessingCallback: t.setIsProcessingCallback };
|
|
@@ -3066,7 +3070,7 @@ const Eo = co(void 0), Os = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3066
3070
|
LEFT: "LEFT",
|
|
3067
3071
|
CENTER: "CENTER",
|
|
3068
3072
|
RIGHT: "RIGHT"
|
|
3069
|
-
},
|
|
3073
|
+
}, An = {
|
|
3070
3074
|
ASPECT_FILL: "ASPECT_FILL",
|
|
3071
3075
|
ASPECT_FIT: "ASPECT_FIT",
|
|
3072
3076
|
FILL: "FILL"
|
|
@@ -3088,17 +3092,17 @@ const Eo = co(void 0), Os = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3088
3092
|
text: "text",
|
|
3089
3093
|
selector: "selector",
|
|
3090
3094
|
multiSelector: "multiSelector"
|
|
3091
|
-
},
|
|
3095
|
+
}, Os = {
|
|
3092
3096
|
NOT_EMPTY: "notEmpty",
|
|
3093
3097
|
REGEX: "regex"
|
|
3094
3098
|
};
|
|
3095
3099
|
function ja(t) {
|
|
3096
3100
|
return t === zn.CENTER ? "center" : t === zn.RIGHT ? "right" : "left";
|
|
3097
3101
|
}
|
|
3098
|
-
function
|
|
3102
|
+
function Eo(t) {
|
|
3099
3103
|
if (typeof t == "object" && t !== null)
|
|
3100
3104
|
for (const e in t)
|
|
3101
|
-
typeof t[e] == "object" ?
|
|
3105
|
+
typeof t[e] == "object" ? Eo(t[e]) : t[e] === "true" ? t[e] = !0 : t[e] === "false" && (t[e] = !1);
|
|
3102
3106
|
return t;
|
|
3103
3107
|
}
|
|
3104
3108
|
function Cd(t) {
|
|
@@ -3145,7 +3149,7 @@ const Ed = (t, e) => t.reduce((r, n) => {
|
|
|
3145
3149
|
} catch (t) {
|
|
3146
3150
|
return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
|
|
3147
3151
|
}
|
|
3148
|
-
}), 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")) ?
|
|
3152
|
+
}), 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")) ? Zi.FORM : Zi.DATA, Ga = ({ indicatorColor: t }) => {
|
|
3149
3153
|
const e = it(null), r = ce(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
|
|
3150
3154
|
return nt(() => {
|
|
3151
3155
|
if (!e.current) return;
|
|
@@ -3210,7 +3214,7 @@ function Id({ size: t, color: e }) {
|
|
|
3210
3214
|
)
|
|
3211
3215
|
] });
|
|
3212
3216
|
}
|
|
3213
|
-
function
|
|
3217
|
+
function xd({ size: t }) {
|
|
3214
3218
|
return /* @__PURE__ */ u("svg", { width: t || 48, height: t || 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3215
3219
|
/* @__PURE__ */ u("circle", { cx: "24.5", cy: "24", r: "18", stroke: "#0E1F97", strokeWidth: "3" }),
|
|
3216
3220
|
/* @__PURE__ */ u(
|
|
@@ -3236,7 +3240,7 @@ function Ad({ size: t }) {
|
|
|
3236
3240
|
)
|
|
3237
3241
|
] });
|
|
3238
3242
|
}
|
|
3239
|
-
function
|
|
3243
|
+
function Ad({ size: t, color: e }) {
|
|
3240
3244
|
return /* @__PURE__ */ u("svg", { width: t || 20, height: t || 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u(
|
|
3241
3245
|
"path",
|
|
3242
3246
|
{
|
|
@@ -3350,7 +3354,7 @@ function Fd({ size: t }) {
|
|
|
3350
3354
|
)
|
|
3351
3355
|
] });
|
|
3352
3356
|
}
|
|
3353
|
-
const
|
|
3357
|
+
const Is = ({ size: t, color: e }) => /* @__PURE__ */ u(
|
|
3354
3358
|
"svg",
|
|
3355
3359
|
{
|
|
3356
3360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3601,12 +3605,12 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3601
3605
|
CLOSE_ICON: "close_icon",
|
|
3602
3606
|
GALLERY_ICON: "gallery",
|
|
3603
3607
|
CAMERA_ICON: "camera"
|
|
3604
|
-
},
|
|
3608
|
+
}, Yi = {
|
|
3605
3609
|
[ye.WARNING]: Ld,
|
|
3606
3610
|
[ye.SPINNER]: Ga,
|
|
3607
3611
|
[ye.ERROR]: Id,
|
|
3608
|
-
[ye.AGE]:
|
|
3609
|
-
[ye.ANDROID]:
|
|
3612
|
+
[ye.AGE]: xd,
|
|
3613
|
+
[ye.ANDROID]: Ad,
|
|
3610
3614
|
[ye.ARROW]: Rd,
|
|
3611
3615
|
[ye.APPLE]: kd,
|
|
3612
3616
|
[ye.BACK]: Nd,
|
|
@@ -3614,7 +3618,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3614
3618
|
[ye.INFO]: Md,
|
|
3615
3619
|
[ye.TO_MOBILE]: Pd,
|
|
3616
3620
|
[ye.UNDERAGE]: Fd,
|
|
3617
|
-
[ye.CROSS]:
|
|
3621
|
+
[ye.CROSS]: Is,
|
|
3618
3622
|
[ye.REGULA_LOGO]: Ud,
|
|
3619
3623
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3620
3624
|
// @ts-ignore
|
|
@@ -3627,24 +3631,24 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3627
3631
|
[ye.SQUARE_NORMAL]: jd,
|
|
3628
3632
|
[ye.SELECTED]: zd,
|
|
3629
3633
|
[ye.CHEVRON_DOWN]: Kd,
|
|
3630
|
-
[ye.CLOSE_ICON]:
|
|
3634
|
+
[ye.CLOSE_ICON]: Is,
|
|
3631
3635
|
[ye.GALLERY_ICON]: Gd,
|
|
3632
3636
|
[ye.CAMERA_ICON]: qd
|
|
3633
3637
|
}, Yd = ({ type: t, size: e, color: r }) => {
|
|
3634
|
-
const n =
|
|
3638
|
+
const n = Yi[t] || Yi[ye.DEFAULT];
|
|
3635
3639
|
return /* @__PURE__ */ u(n, { size: e, color: r });
|
|
3636
3640
|
}, Ve = ({
|
|
3637
3641
|
imageId: t,
|
|
3638
3642
|
imageURL: e,
|
|
3639
3643
|
base64: r,
|
|
3640
|
-
contentMode: n =
|
|
3644
|
+
contentMode: n = An.ASPECT_FILL,
|
|
3641
3645
|
cornerRadius: i,
|
|
3642
3646
|
backgroundColor: o
|
|
3643
3647
|
}) => {
|
|
3644
3648
|
const s = (h) => {
|
|
3645
|
-
if (h ===
|
|
3646
|
-
if (h ===
|
|
3647
|
-
if (h ===
|
|
3649
|
+
if (h === An.ASPECT_FILL) return "cover";
|
|
3650
|
+
if (h === An.ASPECT_FIT) return "contain";
|
|
3651
|
+
if (h === An.FILL) return "fill";
|
|
3648
3652
|
}, [a, l] = Me(!0), d = a && e, p = () => {
|
|
3649
3653
|
l(!1);
|
|
3650
3654
|
};
|
|
@@ -3664,7 +3668,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3664
3668
|
}
|
|
3665
3669
|
);
|
|
3666
3670
|
if (t) {
|
|
3667
|
-
const h = t in
|
|
3671
|
+
const h = t in Yi ? t : "default";
|
|
3668
3672
|
return /* @__PURE__ */ u(Yd, { type: h });
|
|
3669
3673
|
}
|
|
3670
3674
|
if (e)
|
|
@@ -3739,7 +3743,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3739
3743
|
"data-test": t,
|
|
3740
3744
|
onClick: () => {
|
|
3741
3745
|
const g = JSON.parse(JSON.stringify(e));
|
|
3742
|
-
|
|
3746
|
+
Eo(g), p(g);
|
|
3743
3747
|
},
|
|
3744
3748
|
className: "hover-button",
|
|
3745
3749
|
style: X(O(O({}, Xd), o && { borderRadius: o }), {
|
|
@@ -3839,7 +3843,7 @@ const Oe = ({
|
|
|
3839
3843
|
const [h, c] = Me(!1), g = h && ce(o) ? o : n, { perform: w } = dr(), f = (b) => {
|
|
3840
3844
|
if (p && p(b), d !== "RESPONSE_BODY") return;
|
|
3841
3845
|
const I = JSON.parse(JSON.stringify(r));
|
|
3842
|
-
|
|
3846
|
+
Eo(I), w(I, Zi.DATA);
|
|
3843
3847
|
}, m = {
|
|
3844
3848
|
height: "50px",
|
|
3845
3849
|
width: "100%",
|
|
@@ -4198,13 +4202,13 @@ const Za = (t) => typeof t == "object";
|
|
|
4198
4202
|
var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Xr(t.target) ? t.target.checked : t.target.value : t, fu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(fu(e)), hu = (t) => {
|
|
4199
4203
|
const e = t.constructor && t.constructor.prototype;
|
|
4200
4204
|
return Ne(e) && e.hasOwnProperty("isPrototypeOf");
|
|
4201
|
-
},
|
|
4205
|
+
}, To = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
|
|
4202
4206
|
function De(t) {
|
|
4203
4207
|
let e;
|
|
4204
4208
|
const r = Array.isArray(t), n = typeof FileList != "undefined" ? t instanceof FileList : !1;
|
|
4205
4209
|
if (t instanceof Date)
|
|
4206
4210
|
e = new Date(t);
|
|
4207
|
-
else if (!(
|
|
4211
|
+
else if (!(To && (t instanceof Blob || n)) && (r || Ne(t)))
|
|
4208
4212
|
if (e = r ? [] : Object.create(Object.getPrototypeOf(t)), !r && !hu(t))
|
|
4209
4213
|
e = t;
|
|
4210
4214
|
else
|
|
@@ -4214,14 +4218,14 @@ function De(t) {
|
|
|
4214
4218
|
return t;
|
|
4215
4219
|
return e;
|
|
4216
4220
|
}
|
|
4217
|
-
var ni = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0,
|
|
4221
|
+
var ni = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Io = (t) => Oo(t.replace(/["|']|\]/g, "").split(/\.|\[/)), L = (t, e, r) => {
|
|
4218
4222
|
if (!e || !Ne(t))
|
|
4219
4223
|
return r;
|
|
4220
|
-
const n = (ni(e) ? [e] :
|
|
4224
|
+
const n = (ni(e) ? [e] : Io(e)).reduce((i, o) => qe(i) ? i : i[o], t);
|
|
4221
4225
|
return Ie(n) || n === t ? Ie(t[e]) ? r : t[e] : n;
|
|
4222
4226
|
}, Qe = (t) => typeof t == "boolean", Ee = (t, e, r) => {
|
|
4223
4227
|
let n = -1;
|
|
4224
|
-
const i = ni(e) ? [e] :
|
|
4228
|
+
const i = ni(e) ? [e] : Io(e), o = i.length, s = o - 1;
|
|
4225
4229
|
for (; ++n < o; ) {
|
|
4226
4230
|
const a = i[n];
|
|
4227
4231
|
let l = r;
|
|
@@ -4268,7 +4272,7 @@ var Qa = (t, e, r, n = !0) => {
|
|
|
4268
4272
|
});
|
|
4269
4273
|
return i;
|
|
4270
4274
|
};
|
|
4271
|
-
const
|
|
4275
|
+
const Ao = typeof window != "undefined" ? ue.useLayoutEffect : ue.useEffect;
|
|
4272
4276
|
function pu(t) {
|
|
4273
4277
|
const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] = ue.useState(r._formState), l = ue.useRef({
|
|
4274
4278
|
isDirty: !1,
|
|
@@ -4280,7 +4284,7 @@ function pu(t) {
|
|
|
4280
4284
|
isValid: !1,
|
|
4281
4285
|
errors: !1
|
|
4282
4286
|
});
|
|
4283
|
-
return
|
|
4287
|
+
return Ao(() => r._subscribe({
|
|
4284
4288
|
name: i,
|
|
4285
4289
|
formState: l.current,
|
|
4286
4290
|
exact: o,
|
|
@@ -4291,9 +4295,9 @@ function pu(t) {
|
|
|
4291
4295
|
l.current.isValid && r._setValid(!0);
|
|
4292
4296
|
}, [r]), ue.useMemo(() => Qa(s, r, l.current, !1), [s, r]);
|
|
4293
4297
|
}
|
|
4294
|
-
var et = (t) => typeof t == "string", el = (t, e, r, n, i) => et(t) ? (n && e.watch.add(t), L(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), L(r, o))) : (n && (e.watchAll = !0), r),
|
|
4298
|
+
var et = (t) => typeof t == "string", el = (t, e, r, n, i) => et(t) ? (n && e.watch.add(t), L(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), L(r, o))) : (n && (e.watchAll = !0), r), Ji = (t) => qe(t) || !Za(t);
|
|
4295
4299
|
function Lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
|
|
4296
|
-
if (
|
|
4300
|
+
if (Ji(t) || Ji(e))
|
|
4297
4301
|
return t === e;
|
|
4298
4302
|
if (sr(t) && sr(e))
|
|
4299
4303
|
return t.getTime() === e.getTime();
|
|
@@ -4319,7 +4323,7 @@ function _u(t) {
|
|
|
4319
4323
|
const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = ue.useRef(i), d = ue.useRef(a), p = ue.useRef(void 0);
|
|
4320
4324
|
d.current = a;
|
|
4321
4325
|
const h = ue.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = ue.useState(d.current ? d.current(h) : h);
|
|
4322
|
-
return
|
|
4326
|
+
return Ao(() => r._subscribe({
|
|
4323
4327
|
name: n,
|
|
4324
4328
|
formState: {
|
|
4325
4329
|
values: !0
|
|
@@ -4430,7 +4434,7 @@ var gu = (t, e, r, n, i) => e ? X(O({}, r[t]), {
|
|
|
4430
4434
|
types: X(O({}, r[t] && r[t].types ? r[t].types : {}), {
|
|
4431
4435
|
[n]: i || !0
|
|
4432
4436
|
})
|
|
4433
|
-
}) : {}, Vr = (t) => Array.isArray(t) ? t : [t],
|
|
4437
|
+
}) : {}, Vr = (t) => Array.isArray(t) ? t : [t], As = () => {
|
|
4434
4438
|
let t = [];
|
|
4435
4439
|
return {
|
|
4436
4440
|
get observers() {
|
|
@@ -4462,12 +4466,12 @@ function rl(t, e) {
|
|
|
4462
4466
|
}
|
|
4463
4467
|
return r;
|
|
4464
4468
|
}
|
|
4465
|
-
var Ye = (t) => Ne(t) && !Object.keys(t).length,
|
|
4466
|
-
if (!
|
|
4469
|
+
var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file", ft = (t) => typeof t == "function", Yn = (t) => {
|
|
4470
|
+
if (!To)
|
|
4467
4471
|
return !1;
|
|
4468
4472
|
const e = t ? t.ownerDocument : 0;
|
|
4469
4473
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
4470
|
-
}, nl = (t) => t.type === "select-multiple",
|
|
4474
|
+
}, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Xr(t), Fi = (t) => Yn(t) && t.isConnected;
|
|
4471
4475
|
function vu(t, e) {
|
|
4472
4476
|
const r = e.slice(0, -1).length;
|
|
4473
4477
|
let n = 0;
|
|
@@ -4482,7 +4486,7 @@ function yu(t) {
|
|
|
4482
4486
|
return !0;
|
|
4483
4487
|
}
|
|
4484
4488
|
function Re(t, e) {
|
|
4485
|
-
const r = Array.isArray(e) ? e : ni(e) ? [e] :
|
|
4489
|
+
const r = Array.isArray(e) ? e : ni(e) ? [e] : Io(e), n = r.length === 1 ? t : vu(t, r), i = r.length - 1, o = r[i];
|
|
4486
4490
|
return n && delete n[o], i !== 0 && (Ne(n) && Ye(n) || Array.isArray(n) && yu(n)) && Re(t, r.slice(0, -1)), t;
|
|
4487
4491
|
}
|
|
4488
4492
|
var bu = (t) => {
|
|
@@ -4494,21 +4498,21 @@ var bu = (t) => {
|
|
|
4494
4498
|
function il(t) {
|
|
4495
4499
|
return Array.isArray(t) || Ne(t) && !bu(t);
|
|
4496
4500
|
}
|
|
4497
|
-
function
|
|
4501
|
+
function Xi(t, e = {}) {
|
|
4498
4502
|
for (const r in t)
|
|
4499
|
-
il(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {},
|
|
4503
|
+
il(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, Xi(t[r], e[r])) : qe(t[r]) || (e[r] = !0);
|
|
4500
4504
|
return e;
|
|
4501
4505
|
}
|
|
4502
4506
|
function mr(t, e, r) {
|
|
4503
|
-
r || (r =
|
|
4507
|
+
r || (r = Xi(e));
|
|
4504
4508
|
for (const n in t)
|
|
4505
|
-
il(t[n]) ? Ie(e) ||
|
|
4509
|
+
il(t[n]) ? Ie(e) || Ji(r[n]) ? r[n] = Xi(t[n], Array.isArray(t[n]) ? [] : {}) : mr(t[n], qe(e) ? {} : e[n], r[n]) : r[n] = !Lt(t[n], e[n]);
|
|
4506
4510
|
return r;
|
|
4507
4511
|
}
|
|
4508
|
-
const
|
|
4512
|
+
const Rs = {
|
|
4509
4513
|
value: !1,
|
|
4510
4514
|
isValid: !1
|
|
4511
|
-
},
|
|
4515
|
+
}, ks = { value: !0, isValid: !0 };
|
|
4512
4516
|
var ol = (t) => {
|
|
4513
4517
|
if (Array.isArray(t)) {
|
|
4514
4518
|
if (t.length > 1) {
|
|
@@ -4517,22 +4521,22 @@ var ol = (t) => {
|
|
|
4517
4521
|
}
|
|
4518
4522
|
return t[0].checked && !t[0].disabled ? (
|
|
4519
4523
|
// @ts-expect-error expected to work in the browser
|
|
4520
|
-
t[0].attributes && !Ie(t[0].attributes.value) ? Ie(t[0].value) || t[0].value === "" ?
|
|
4521
|
-
) :
|
|
4524
|
+
t[0].attributes && !Ie(t[0].attributes.value) ? Ie(t[0].value) || t[0].value === "" ? ks : { value: t[0].value, isValid: !0 } : ks
|
|
4525
|
+
) : Rs;
|
|
4522
4526
|
}
|
|
4523
|
-
return
|
|
4527
|
+
return Rs;
|
|
4524
4528
|
}, sl = (t, { valueAsNumber: e, valueAsDate: r, setValueAs: n }) => Ie(t) ? t : e ? t === "" ? NaN : t && +t : r && et(t) ? new Date(t) : n ? n(t) : t;
|
|
4525
|
-
const
|
|
4529
|
+
const Ns = {
|
|
4526
4530
|
isValid: !1,
|
|
4527
4531
|
value: null
|
|
4528
4532
|
};
|
|
4529
4533
|
var al = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disabled ? {
|
|
4530
4534
|
isValid: !0,
|
|
4531
4535
|
value: r.value
|
|
4532
|
-
} : e,
|
|
4533
|
-
function
|
|
4536
|
+
} : e, Ns) : Ns;
|
|
4537
|
+
function Ds(t) {
|
|
4534
4538
|
const e = t.ref;
|
|
4535
|
-
return
|
|
4539
|
+
return Ro(e) ? e.files : ko(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Xr(e) ? ol(t.refs).value : sl(Ie(e.value) ? t.ref.value : e.value, t);
|
|
4536
4540
|
}
|
|
4537
4541
|
var Cu = (t, e, r, n) => {
|
|
4538
4542
|
const i = {};
|
|
@@ -4546,15 +4550,15 @@ var Cu = (t, e, r, n) => {
|
|
|
4546
4550
|
fields: i,
|
|
4547
4551
|
shouldUseNativeValidation: n
|
|
4548
4552
|
};
|
|
4549
|
-
}, Jn = (t) => t instanceof RegExp,
|
|
4553
|
+
}, Jn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Jn(t) ? t.source : Ne(t) ? Jn(t.value) ? t.value.source : t.value : t, Ms = (t) => ({
|
|
4550
4554
|
isOnSubmit: !t || t === ut.onSubmit,
|
|
4551
4555
|
isOnBlur: t === ut.onBlur,
|
|
4552
4556
|
isOnChange: t === ut.onChange,
|
|
4553
4557
|
isOnAll: t === ut.all,
|
|
4554
4558
|
isOnTouch: t === ut.onTouched
|
|
4555
4559
|
});
|
|
4556
|
-
const
|
|
4557
|
-
var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name ===
|
|
4560
|
+
const Ps = "AsyncFunction";
|
|
4561
|
+
var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Ps || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ps)), Eu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Fs = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
|
|
4558
4562
|
const $r = (t, e, r, n) => {
|
|
4559
4563
|
for (const o of r || Object.keys(t)) {
|
|
4560
4564
|
const s = L(t, o);
|
|
@@ -4572,7 +4576,7 @@ const $r = (t, e, r, n) => {
|
|
|
4572
4576
|
}
|
|
4573
4577
|
}
|
|
4574
4578
|
};
|
|
4575
|
-
function
|
|
4579
|
+
function Us(t, e, r) {
|
|
4576
4580
|
const n = L(t, r);
|
|
4577
4581
|
if (n || ni(r))
|
|
4578
4582
|
return {
|
|
@@ -4604,11 +4608,11 @@ var Tu = (t, e, r, n) => {
|
|
|
4604
4608
|
r(t);
|
|
4605
4609
|
const s = t, { name: i } = s, o = Xt(s, ["name"]);
|
|
4606
4610
|
return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || ut.all));
|
|
4607
|
-
}, Ou = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0,
|
|
4611
|
+
}, Ou = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, xu = (t, e) => !Oo(L(t, e)).length && Re(t, e), Au = (t, e, r) => {
|
|
4608
4612
|
const n = Vr(L(t, r));
|
|
4609
4613
|
return Ee(n, "root", e[r]), Ee(t, r, n), t;
|
|
4610
4614
|
};
|
|
4611
|
-
function
|
|
4615
|
+
function Ls(t, e, r = "validate") {
|
|
4612
4616
|
if (et(t) || Array.isArray(t) && t.every(et) || Qe(t) && !t)
|
|
4613
4617
|
return {
|
|
4614
4618
|
type: r,
|
|
@@ -4619,13 +4623,13 @@ function Vs(t, e, r = "validate") {
|
|
|
4619
4623
|
var pr = (t) => Ne(t) && !Jn(t) ? t : {
|
|
4620
4624
|
value: t,
|
|
4621
4625
|
message: ""
|
|
4622
|
-
},
|
|
4626
|
+
}, Vs = (t, e, r, n, i, o) => F(null, null, function* () {
|
|
4623
4627
|
const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: h, max: c, pattern: g, validate: w, name: f, valueAsNumber: m, mount: S } = t._f, C = L(r, f);
|
|
4624
4628
|
if (!S || e.has(f))
|
|
4625
4629
|
return {};
|
|
4626
4630
|
const b = a ? a[0] : s, I = (H) => {
|
|
4627
4631
|
i && b.reportValidity && (b.setCustomValidity(Qe(H) ? "" : H || ""), b.reportValidity());
|
|
4628
|
-
}, D = {}, N =
|
|
4632
|
+
}, D = {}, N = ko(s), R = Xr(s), fe = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) || Yn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, ae = gu.bind(null, f, n, D), Z = (H, K, de, le = St.maxLength, we = St.minLength) => {
|
|
4629
4633
|
const ve = H ? K : de;
|
|
4630
4634
|
D[f] = O({
|
|
4631
4635
|
type: H ? le : we,
|
|
@@ -4671,7 +4675,7 @@ var pr = (t) => Ne(t) && !Jn(t) ? t : {
|
|
|
4671
4675
|
}
|
|
4672
4676
|
if (w) {
|
|
4673
4677
|
if (ft(w)) {
|
|
4674
|
-
const H = yield w(C, r), K =
|
|
4678
|
+
const H = yield w(C, r), K = Ls(H, b);
|
|
4675
4679
|
if (K && (D[f] = O(O({}, K), ae(St.validate, K.message)), !n))
|
|
4676
4680
|
return I(K.message), D;
|
|
4677
4681
|
} else if (Ne(w)) {
|
|
@@ -4679,7 +4683,7 @@ var pr = (t) => Ne(t) && !Jn(t) ? t : {
|
|
|
4679
4683
|
for (const K in w) {
|
|
4680
4684
|
if (!Ye(H) && !n)
|
|
4681
4685
|
break;
|
|
4682
|
-
const de =
|
|
4686
|
+
const de = Ls(yield w[K](C, r), b, K);
|
|
4683
4687
|
de && (H = O(O({}, de), ae(K, de.message)), I(de.message), n && (D[f] = H));
|
|
4684
4688
|
}
|
|
4685
4689
|
if (!Ye(H) && (D[f] = O({
|
|
@@ -4733,8 +4737,8 @@ function ku(t = {}) {
|
|
|
4733
4737
|
};
|
|
4734
4738
|
let h = O({}, p);
|
|
4735
4739
|
const c = {
|
|
4736
|
-
array:
|
|
4737
|
-
state:
|
|
4740
|
+
array: As(),
|
|
4741
|
+
state: As()
|
|
4738
4742
|
}, g = e.criteriaMode === ut.all, w = (y) => (T) => {
|
|
4739
4743
|
clearTimeout(d), d = setTimeout(y, T);
|
|
4740
4744
|
}, f = (y) => F(null, null, function* () {
|
|
@@ -4745,24 +4749,24 @@ function ku(t = {}) {
|
|
|
4745
4749
|
});
|
|
4746
4750
|
}
|
|
4747
4751
|
}), m = (y, T) => {
|
|
4748
|
-
!e.disabled && (p.isValidating || p.validatingFields || h.isValidating || h.validatingFields) && ((y || Array.from(a.mount)).forEach((
|
|
4749
|
-
|
|
4752
|
+
!e.disabled && (p.isValidating || p.validatingFields || h.isValidating || h.validatingFields) && ((y || Array.from(a.mount)).forEach((A) => {
|
|
4753
|
+
A && (T ? Ee(r.validatingFields, A, T) : Re(r.validatingFields, A));
|
|
4750
4754
|
}), c.state.next({
|
|
4751
4755
|
validatingFields: r.validatingFields,
|
|
4752
4756
|
isValidating: !Ye(r.validatingFields)
|
|
4753
4757
|
}));
|
|
4754
|
-
}, S = (y, T = [],
|
|
4755
|
-
if (V &&
|
|
4758
|
+
}, S = (y, T = [], A, V, M = !0, P = !0) => {
|
|
4759
|
+
if (V && A && !e.disabled) {
|
|
4756
4760
|
if (s.action = !0, P && Array.isArray(L(n, y))) {
|
|
4757
|
-
const W =
|
|
4761
|
+
const W = A(L(n, y), V.argA, V.argB);
|
|
4758
4762
|
M && Ee(n, y, W);
|
|
4759
4763
|
}
|
|
4760
4764
|
if (P && Array.isArray(L(r.errors, y))) {
|
|
4761
|
-
const W =
|
|
4762
|
-
M && Ee(r.errors, y, W),
|
|
4765
|
+
const W = A(L(r.errors, y), V.argA, V.argB);
|
|
4766
|
+
M && Ee(r.errors, y, W), xu(r.errors, y);
|
|
4763
4767
|
}
|
|
4764
4768
|
if ((p.touchedFields || h.touchedFields) && P && Array.isArray(L(r.touchedFields, y))) {
|
|
4765
|
-
const W =
|
|
4769
|
+
const W = A(L(r.touchedFields, y), V.argA, V.argB);
|
|
4766
4770
|
M && Ee(r.touchedFields, y, W);
|
|
4767
4771
|
}
|
|
4768
4772
|
(p.dirtyFields || h.dirtyFields) && (r.dirtyFields = mr(i, o)), c.state.next({
|
|
@@ -4783,33 +4787,33 @@ function ku(t = {}) {
|
|
|
4783
4787
|
errors: r.errors,
|
|
4784
4788
|
isValid: !1
|
|
4785
4789
|
});
|
|
4786
|
-
}, I = (y, T,
|
|
4790
|
+
}, I = (y, T, A, V) => {
|
|
4787
4791
|
const M = L(n, y);
|
|
4788
4792
|
if (M) {
|
|
4789
|
-
const P = L(o, y, Ie(
|
|
4790
|
-
Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P :
|
|
4793
|
+
const P = L(o, y, Ie(A) ? L(i, y) : A);
|
|
4794
|
+
Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ds(M._f)) : de(y, P), s.mount && f();
|
|
4791
4795
|
}
|
|
4792
|
-
}, D = (y, T,
|
|
4796
|
+
}, D = (y, T, A, V, M) => {
|
|
4793
4797
|
let P = !1, W = !1;
|
|
4794
4798
|
const ne = {
|
|
4795
4799
|
name: y
|
|
4796
4800
|
};
|
|
4797
4801
|
if (!e.disabled) {
|
|
4798
|
-
if (!
|
|
4802
|
+
if (!A || V) {
|
|
4799
4803
|
(p.isDirty || h.isDirty) && (W = r.isDirty, r.isDirty = ne.isDirty = Z(), P = W !== ne.isDirty);
|
|
4800
4804
|
const G = Lt(L(i, y), T);
|
|
4801
4805
|
W = !!L(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, P = P || (p.dirtyFields || h.dirtyFields) && W !== !G;
|
|
4802
4806
|
}
|
|
4803
|
-
if (
|
|
4807
|
+
if (A) {
|
|
4804
4808
|
const G = L(r.touchedFields, y);
|
|
4805
|
-
G || (Ee(r.touchedFields, y,
|
|
4809
|
+
G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, P = P || (p.touchedFields || h.touchedFields) && G !== A);
|
|
4806
4810
|
}
|
|
4807
4811
|
P && M && c.state.next(ne);
|
|
4808
4812
|
}
|
|
4809
4813
|
return P ? ne : {};
|
|
4810
|
-
}, N = (y, T,
|
|
4814
|
+
}, N = (y, T, A, V) => {
|
|
4811
4815
|
const M = L(r.errors, y), P = (p.isValid || h.isValid) && Qe(T) && r.isValid !== T;
|
|
4812
|
-
if (e.delayError &&
|
|
4816
|
+
if (e.delayError && A ? (l = w(() => C(y, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, y, A) : Re(r.errors, y)), (A ? !Lt(M, A) : M) || !Ye(V) || P) {
|
|
4813
4817
|
const W = X(O(O({}, V), P && Qe(T) ? { isValid: T } : {}), {
|
|
4814
4818
|
errors: r.errors,
|
|
4815
4819
|
name: y
|
|
@@ -4823,14 +4827,14 @@ function ku(t = {}) {
|
|
|
4823
4827
|
}), fe = (y) => F(null, null, function* () {
|
|
4824
4828
|
const { errors: T } = yield R(y);
|
|
4825
4829
|
if (y)
|
|
4826
|
-
for (const
|
|
4827
|
-
const V = L(T,
|
|
4828
|
-
V ? Ee(r.errors,
|
|
4830
|
+
for (const A of y) {
|
|
4831
|
+
const V = L(T, A);
|
|
4832
|
+
V ? Ee(r.errors, A, V) : Re(r.errors, A);
|
|
4829
4833
|
}
|
|
4830
4834
|
else
|
|
4831
4835
|
r.errors = T;
|
|
4832
4836
|
return T;
|
|
4833
|
-
}), _e = (V, M, ...P) => F(null, [V, M, ...P], function* (y, T,
|
|
4837
|
+
}), _e = (V, M, ...P) => F(null, [V, M, ...P], function* (y, T, A = {
|
|
4834
4838
|
valid: !0
|
|
4835
4839
|
}) {
|
|
4836
4840
|
for (const ne in y) {
|
|
@@ -4840,86 +4844,86 @@ function ku(t = {}) {
|
|
|
4840
4844
|
if (ge) {
|
|
4841
4845
|
const J = a.array.has(ge.name), oe = G._f && Su(G._f);
|
|
4842
4846
|
oe && p.validatingFields && m([ge.name], !0);
|
|
4843
|
-
const j = yield
|
|
4844
|
-
if (oe && p.validatingFields && m([ge.name]), j[ge.name] && (
|
|
4847
|
+
const j = yield Vs(G, a.disabled, o, g, e.shouldUseNativeValidation && !T, J);
|
|
4848
|
+
if (oe && p.validatingFields && m([ge.name]), j[ge.name] && (A.valid = !1, T))
|
|
4845
4849
|
break;
|
|
4846
|
-
!T && (L(j, ge.name) ? J ?
|
|
4850
|
+
!T && (L(j, ge.name) ? J ? Au(r.errors, j, ge.name) : Ee(r.errors, ge.name, j[ge.name]) : Re(r.errors, ge.name));
|
|
4847
4851
|
}
|
|
4848
|
-
!Ye(Pe) && (yield _e(Pe, T,
|
|
4852
|
+
!Ye(Pe) && (yield _e(Pe, T, A));
|
|
4849
4853
|
}
|
|
4850
4854
|
}
|
|
4851
|
-
return
|
|
4855
|
+
return A.valid;
|
|
4852
4856
|
}), ae = () => {
|
|
4853
4857
|
for (const y of a.unMount) {
|
|
4854
4858
|
const T = L(n, y);
|
|
4855
|
-
T && (T._f.refs ? T._f.refs.every((
|
|
4859
|
+
T && (T._f.refs ? T._f.refs.every((A) => !Fi(A)) : !Fi(T._f.ref)) && $e(y);
|
|
4856
4860
|
}
|
|
4857
4861
|
a.unMount = /* @__PURE__ */ new Set();
|
|
4858
|
-
}, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Lt(U(), i)), H = (y, T,
|
|
4862
|
+
}, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Lt(U(), 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(L(s.mount ? o : i, y, e.shouldUnregister ? L(i, y, []) : [])), de = (y, T, A = {}) => {
|
|
4859
4863
|
const V = L(n, y);
|
|
4860
4864
|
let M = T;
|
|
4861
4865
|
if (V) {
|
|
4862
4866
|
const P = V._f;
|
|
4863
4867
|
P && (!P.disabled && Ee(o, y, sl(T, P)), M = Yn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ? Xr(P.ref) ? P.refs.forEach((W) => {
|
|
4864
4868
|
(!W.defaultChecked || !W.disabled) && (Array.isArray(M) ? W.checked = !!M.find((ne) => ne === W.value) : W.checked = M === W.value || !!M);
|
|
4865
|
-
}) : P.refs.forEach((W) => W.checked = W.value === M) :
|
|
4869
|
+
}) : 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({
|
|
4866
4870
|
name: y,
|
|
4867
4871
|
values: De(o)
|
|
4868
4872
|
})));
|
|
4869
4873
|
}
|
|
4870
|
-
(
|
|
4871
|
-
}, le = (y, T,
|
|
4874
|
+
(A.shouldDirty || A.shouldTouch) && D(y, M, A.shouldTouch, A.shouldDirty, !0), A.shouldValidate && z(y);
|
|
4875
|
+
}, le = (y, T, A) => {
|
|
4872
4876
|
for (const V in T) {
|
|
4873
4877
|
if (!T.hasOwnProperty(V))
|
|
4874
4878
|
return;
|
|
4875
4879
|
const M = T[V], P = y + "." + V, W = L(n, P);
|
|
4876
|
-
(a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ? le(P, M,
|
|
4880
|
+
(a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ? le(P, M, A) : de(P, M, A);
|
|
4877
4881
|
}
|
|
4878
|
-
}, we = (y, T,
|
|
4882
|
+
}, we = (y, T, A = {}) => {
|
|
4879
4883
|
const V = L(n, y), M = a.array.has(y), P = De(T);
|
|
4880
4884
|
Ee(o, y, P), M ? (c.array.next({
|
|
4881
4885
|
name: y,
|
|
4882
4886
|
values: De(o)
|
|
4883
|
-
}), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) &&
|
|
4887
|
+
}), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) && A.shouldDirty && c.state.next({
|
|
4884
4888
|
name: y,
|
|
4885
4889
|
dirtyFields: mr(i, o),
|
|
4886
4890
|
isDirty: Z(y, P)
|
|
4887
|
-
})) : V && !V._f && !qe(P) ? le(y, P,
|
|
4891
|
+
})) : V && !V._f && !qe(P) ? le(y, P, A) : de(y, P, A), Fs(y, a) && c.state.next(X(O({}, r), { name: y })), c.state.next({
|
|
4888
4892
|
name: s.mount ? y : void 0,
|
|
4889
4893
|
values: De(o)
|
|
4890
4894
|
});
|
|
4891
4895
|
}, ve = (y) => F(null, null, function* () {
|
|
4892
4896
|
s.mount = !0;
|
|
4893
4897
|
const T = y.target;
|
|
4894
|
-
let
|
|
4895
|
-
const M = L(n,
|
|
4896
|
-
V = Number.isNaN(G) || sr(G) && isNaN(G.getTime()) || Lt(G, L(o,
|
|
4897
|
-
}, W =
|
|
4898
|
+
let A = T.name, V = !0;
|
|
4899
|
+
const M = L(n, A), P = (G) => {
|
|
4900
|
+
V = Number.isNaN(G) || sr(G) && isNaN(G.getTime()) || Lt(G, L(o, A, G));
|
|
4901
|
+
}, W = Ms(e.mode), ne = Ms(e.reValidateMode);
|
|
4898
4902
|
if (M) {
|
|
4899
4903
|
let G, ge;
|
|
4900
|
-
const Pe = T.type ?
|
|
4901
|
-
Ee(o,
|
|
4902
|
-
const me = D(
|
|
4904
|
+
const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type === Zn.BLUR || y.type === Zn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !L(r.errors, A) && !M._f.deps || Iu(J, L(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
|
|
4905
|
+
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);
|
|
4906
|
+
const me = D(A, Pe, J), Be = !Ye(me) || j;
|
|
4903
4907
|
if (!J && c.state.next({
|
|
4904
|
-
name:
|
|
4908
|
+
name: A,
|
|
4905
4909
|
type: y.type,
|
|
4906
4910
|
values: De(o)
|
|
4907
4911
|
}), oe)
|
|
4908
|
-
return (p.isValid || h.isValid) && (e.mode === "onBlur" ? J && f() : J || f()), Be && c.state.next(O({ name:
|
|
4912
|
+
return (p.isValid || h.isValid) && (e.mode === "onBlur" ? J && f() : J || f()), Be && c.state.next(O({ name: A }, j ? {} : me));
|
|
4909
4913
|
if (!J && j && c.state.next(O({}, r)), e.resolver) {
|
|
4910
|
-
const { errors:
|
|
4914
|
+
const { errors: xe } = yield R([A]);
|
|
4911
4915
|
if (P(Pe), V) {
|
|
4912
|
-
const he =
|
|
4913
|
-
G = q.error,
|
|
4916
|
+
const he = Us(r.errors, n, A), q = Us(xe, n, he.name || A);
|
|
4917
|
+
G = q.error, A = q.name, ge = Ye(xe);
|
|
4914
4918
|
}
|
|
4915
4919
|
} else
|
|
4916
|
-
m([
|
|
4917
|
-
V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), N(
|
|
4920
|
+
m([A], !0), G = (yield Vs(M, a.disabled, o, g, e.shouldUseNativeValidation))[A], m([A]), P(Pe), V && (G ? ge = !1 : (p.isValid || h.isValid) && (ge = yield _e(n, !0)));
|
|
4921
|
+
V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), N(A, ge, G, me));
|
|
4918
4922
|
}
|
|
4919
4923
|
}), ee = (y, T) => {
|
|
4920
4924
|
if (L(r.errors, T) && y.focus)
|
|
4921
4925
|
return y.focus(), 1;
|
|
4922
|
-
}, z = (
|
|
4926
|
+
}, z = (A, ...V) => F(null, [A, ...V], function* (y, T = {}) {
|
|
4923
4927
|
let M, P;
|
|
4924
4928
|
const W = Vr(y);
|
|
4925
4929
|
if (e.resolver) {
|
|
@@ -4933,8 +4937,8 @@ function ku(t = {}) {
|
|
|
4933
4937
|
errors: r.errors
|
|
4934
4938
|
})), T.shouldFocus && !P && $r(n, ee, y ? W : a.mount), P;
|
|
4935
4939
|
}), U = (y, T) => {
|
|
4936
|
-
let
|
|
4937
|
-
return T && (
|
|
4940
|
+
let A = O({}, s.mount ? o : i);
|
|
4941
|
+
return T && (A = rl(T.dirtyFields ? r.dirtyFields : r.touchedFields, A)), Ie(y) ? A : et(y) ? L(A, y) : y.map((V) => L(A, V));
|
|
4938
4942
|
}, Y = (y, T) => ({
|
|
4939
4943
|
invalid: !!L((T || r).errors, y),
|
|
4940
4944
|
isDirty: !!L((T || r).dirtyFields, y),
|
|
@@ -4945,7 +4949,7 @@ function ku(t = {}) {
|
|
|
4945
4949
|
y && Vr(y).forEach((T) => Re(r.errors, T)), c.state.next({
|
|
4946
4950
|
errors: y ? r.errors : {}
|
|
4947
4951
|
});
|
|
4948
|
-
}, Se = (y, T,
|
|
4952
|
+
}, Se = (y, T, A) => {
|
|
4949
4953
|
const V = (L(n, y, { _f: {} })._f || {}).ref, ge = L(r.errors, y) || {}, { ref: P, message: W, type: ne } = ge, G = Xt(ge, ["ref", "message", "type"]);
|
|
4950
4954
|
Ee(r.errors, y, X(O(O({}, G), T), {
|
|
4951
4955
|
ref: V
|
|
@@ -4953,9 +4957,9 @@ function ku(t = {}) {
|
|
|
4953
4957
|
name: y,
|
|
4954
4958
|
errors: r.errors,
|
|
4955
4959
|
isValid: !1
|
|
4956
|
-
}),
|
|
4960
|
+
}), A && A.shouldFocus && V && V.focus && V.focus();
|
|
4957
4961
|
}, re = (y, T) => ft(y) ? c.state.subscribe({
|
|
4958
|
-
next: (
|
|
4962
|
+
next: (A) => "values" in A && y(H(void 0, T), A)
|
|
4959
4963
|
}) : H(y, T, !0), $ = (y) => c.state.subscribe({
|
|
4960
4964
|
next: (T) => {
|
|
4961
4965
|
Ou(y.name, T.name, y.exact) && Tu(T, y.formState || p, Wt, y.reRenderRoot) && y.callback(X(O(O({
|
|
@@ -4967,43 +4971,43 @@ function ku(t = {}) {
|
|
|
4967
4971
|
}).unsubscribe, Q = (y) => (s.mount = !0, h = O(O({}, h), y.formState), $(X(O({}, y), {
|
|
4968
4972
|
formState: h
|
|
4969
4973
|
}))), $e = (y, T = {}) => {
|
|
4970
|
-
for (const
|
|
4971
|
-
a.mount.delete(
|
|
4974
|
+
for (const A of y ? Vr(y) : a.mount)
|
|
4975
|
+
a.mount.delete(A), a.array.delete(A), T.keepValue || (Re(n, A), Re(o, A)), !T.keepError && Re(r.errors, A), !T.keepDirty && Re(r.dirtyFields, A), !T.keepTouched && Re(r.touchedFields, A), !T.keepIsValidating && Re(r.validatingFields, A), !e.shouldUnregister && !T.keepDefaultValue && Re(i, A);
|
|
4972
4976
|
c.state.next({
|
|
4973
4977
|
values: De(o)
|
|
4974
4978
|
}), c.state.next(O(O({}, r), T.keepDirty ? { isDirty: Z() } : {})), !T.keepIsValid && f();
|
|
4975
4979
|
}, je = ({ disabled: y, name: T }) => {
|
|
4976
4980
|
(Qe(y) && s.mount || y || a.disabled.has(T)) && (y ? a.disabled.add(T) : a.disabled.delete(T));
|
|
4977
4981
|
}, ot = (y, T = {}) => {
|
|
4978
|
-
let
|
|
4982
|
+
let A = L(n, y);
|
|
4979
4983
|
const V = Qe(T.disabled) || Qe(e.disabled);
|
|
4980
|
-
return Ee(n, y, X(O({},
|
|
4981
|
-
_f: O(X(O({},
|
|
4984
|
+
return Ee(n, y, X(O({}, A || {}), {
|
|
4985
|
+
_f: O(X(O({}, A && A._f ? A._f : { ref: { name: y } }), {
|
|
4982
4986
|
name: y,
|
|
4983
4987
|
mount: !0
|
|
4984
4988
|
}), T)
|
|
4985
|
-
})), a.mount.add(y),
|
|
4989
|
+
})), a.mount.add(y), A ? je({
|
|
4986
4990
|
disabled: Qe(T.disabled) ? T.disabled : e.disabled,
|
|
4987
4991
|
name: y
|
|
4988
4992
|
}) : I(y, !0, T.value), X(O(O({}, V ? { disabled: T.disabled || e.disabled } : {}), e.progressive ? {
|
|
4989
4993
|
required: !!T.required,
|
|
4990
|
-
min:
|
|
4991
|
-
max:
|
|
4992
|
-
minLength:
|
|
4993
|
-
maxLength:
|
|
4994
|
-
pattern:
|
|
4994
|
+
min: Ar(T.min),
|
|
4995
|
+
max: Ar(T.max),
|
|
4996
|
+
minLength: Ar(T.minLength),
|
|
4997
|
+
maxLength: Ar(T.maxLength),
|
|
4998
|
+
pattern: Ar(T.pattern)
|
|
4995
4999
|
} : {}), {
|
|
4996
5000
|
name: y,
|
|
4997
5001
|
onChange: ve,
|
|
4998
5002
|
onBlur: ve,
|
|
4999
5003
|
ref: (M) => {
|
|
5000
5004
|
if (M) {
|
|
5001
|
-
ot(y, T),
|
|
5002
|
-
const P = Ie(M.value) && M.querySelectorAll && M.querySelectorAll("input,select,textarea")[0] || M, W = wu(P), ne =
|
|
5003
|
-
if (W ? ne.find((G) => G === P) : P ===
|
|
5005
|
+
ot(y, T), A = L(n, y);
|
|
5006
|
+
const P = Ie(M.value) && M.querySelectorAll && M.querySelectorAll("input,select,textarea")[0] || M, W = wu(P), ne = A._f.refs || [];
|
|
5007
|
+
if (W ? ne.find((G) => G === P) : P === A._f.ref)
|
|
5004
5008
|
return;
|
|
5005
5009
|
Ee(n, y, {
|
|
5006
|
-
_f: O(O({},
|
|
5010
|
+
_f: O(O({}, A._f), W ? {
|
|
5007
5011
|
refs: [
|
|
5008
5012
|
...ne.filter(Fi),
|
|
5009
5013
|
P,
|
|
@@ -5013,19 +5017,19 @@ function ku(t = {}) {
|
|
|
5013
5017
|
} : { ref: P })
|
|
5014
5018
|
}), I(y, !1, void 0, P);
|
|
5015
5019
|
} else
|
|
5016
|
-
|
|
5020
|
+
A = L(n, y, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || T.shouldUnregister) && !(Ja(a.array, y) && s.action) && a.unMount.add(y);
|
|
5017
5021
|
}
|
|
5018
5022
|
});
|
|
5019
5023
|
}, Xe = () => e.shouldFocusError && $r(n, ee, a.mount), yt = (y) => {
|
|
5020
|
-
Qe(y) && (c.state.next({ disabled: y }), $r(n, (T,
|
|
5021
|
-
const V = L(n,
|
|
5024
|
+
Qe(y) && (c.state.next({ disabled: y }), $r(n, (T, A) => {
|
|
5025
|
+
const V = L(n, A);
|
|
5022
5026
|
V && (T.disabled = V._f.disabled || y, Array.isArray(V._f.refs) && V._f.refs.forEach((M) => {
|
|
5023
5027
|
M.disabled = V._f.disabled || y;
|
|
5024
5028
|
}));
|
|
5025
5029
|
}, 0, !1));
|
|
5026
|
-
}, st = (y, T) => (
|
|
5030
|
+
}, st = (y, T) => (A) => F(null, null, function* () {
|
|
5027
5031
|
let V;
|
|
5028
|
-
|
|
5032
|
+
A && (A.preventDefault && A.preventDefault(), A.persist && A.persist());
|
|
5029
5033
|
let M = De(o);
|
|
5030
5034
|
if (c.state.next({
|
|
5031
5035
|
isSubmitting: !0
|
|
@@ -5042,12 +5046,12 @@ function ku(t = {}) {
|
|
|
5042
5046
|
errors: {}
|
|
5043
5047
|
});
|
|
5044
5048
|
try {
|
|
5045
|
-
yield y(M,
|
|
5049
|
+
yield y(M, A);
|
|
5046
5050
|
} catch (P) {
|
|
5047
5051
|
V = P;
|
|
5048
5052
|
}
|
|
5049
5053
|
} else
|
|
5050
|
-
T && (yield T(O({}, r.errors),
|
|
5054
|
+
T && (yield T(O({}, r.errors), A)), Xe(), setTimeout(Xe);
|
|
5051
5055
|
if (c.state.next({
|
|
5052
5056
|
isSubmitted: !0,
|
|
5053
5057
|
isSubmitting: !1,
|
|
@@ -5059,8 +5063,8 @@ function ku(t = {}) {
|
|
|
5059
5063
|
}), Ht = (y, T = {}) => {
|
|
5060
5064
|
L(n, y) && (Ie(T.defaultValue) ? we(y, De(L(i, y))) : (we(y, T.defaultValue), Ee(i, y, De(T.defaultValue))), T.keepTouched || Re(r.touchedFields, y), T.keepDirty || (Re(r.dirtyFields, y), r.isDirty = T.defaultValue ? Z(y, De(L(i, y))) : Z()), T.keepError || (Re(r.errors, y), p.isValid && f()), c.state.next(O({}, r)));
|
|
5061
5065
|
}, bt = (y, T = {}) => {
|
|
5062
|
-
const
|
|
5063
|
-
if (T.keepDefaultValues || (i =
|
|
5066
|
+
const A = y ? De(y) : i, V = De(A), M = Ye(y), P = M ? i : V;
|
|
5067
|
+
if (T.keepDefaultValues || (i = A), !T.keepValues) {
|
|
5064
5068
|
if (T.keepDirtyValues) {
|
|
5065
5069
|
const W = /* @__PURE__ */ new Set([
|
|
5066
5070
|
...a.mount,
|
|
@@ -5069,7 +5073,7 @@ function ku(t = {}) {
|
|
|
5069
5073
|
for (const ne of Array.from(W))
|
|
5070
5074
|
L(r.dirtyFields, ne) ? Ee(P, ne, L(o, ne)) : we(ne, L(P, ne));
|
|
5071
5075
|
} else {
|
|
5072
|
-
if (
|
|
5076
|
+
if (To && Ie(y))
|
|
5073
5077
|
for (const W of a.mount) {
|
|
5074
5078
|
const ne = L(n, W);
|
|
5075
5079
|
if (ne && ne._f) {
|
|
@@ -5115,7 +5119,7 @@ function ku(t = {}) {
|
|
|
5115
5119
|
defaultValues: i
|
|
5116
5120
|
});
|
|
5117
5121
|
}, pt = (y, T) => bt(ft(y) ? y(o) : y, T), Ct = (y, T = {}) => {
|
|
5118
|
-
const
|
|
5122
|
+
const A = L(n, y), V = A && A._f;
|
|
5119
5123
|
if (V) {
|
|
5120
5124
|
const M = V.refs ? V.refs[0] : V.ref;
|
|
5121
5125
|
M.focus && (M.focus(), T.shouldSelect && ft(M.select) && M.select());
|
|
@@ -5229,7 +5233,7 @@ function Nu(t = {}) {
|
|
|
5229
5233
|
});
|
|
5230
5234
|
}
|
|
5231
5235
|
const o = e.current.control;
|
|
5232
|
-
return o._options = t,
|
|
5236
|
+
return o._options = t, Ao(() => {
|
|
5233
5237
|
const a = o._subscribe({
|
|
5234
5238
|
formState: o._proxyFormState,
|
|
5235
5239
|
callback: () => i(O({}, o._formState)),
|
|
@@ -5264,7 +5268,7 @@ function Nu(t = {}) {
|
|
|
5264
5268
|
const Tr = (t, e) => {
|
|
5265
5269
|
const r = {};
|
|
5266
5270
|
return t.forEach((n, i) => {
|
|
5267
|
-
if (n.type ===
|
|
5271
|
+
if (n.type === Os.NOT_EMPTY && (r.required = (o) => e && Sd(o) ? n.message : !0), n.type === Os.REGEX) {
|
|
5268
5272
|
const o = new RegExp(n.regex);
|
|
5269
5273
|
r[`regex_${i}`] = (s) => !e && !s ? !0 : typeof s != "string" ? n.message : o.test(s) || n.message;
|
|
5270
5274
|
}
|
|
@@ -6666,7 +6670,7 @@ const Ui = () => F(null, null, function* () {
|
|
|
6666
6670
|
}
|
|
6667
6671
|
)
|
|
6668
6672
|
] });
|
|
6669
|
-
},
|
|
6673
|
+
}, $s = (t) => {
|
|
6670
6674
|
const { templateId: e, templateLayout: r, dataSource: n, properties: i } = t, { perform: o } = dr();
|
|
6671
6675
|
if (!e || !r) return /* @__PURE__ */ u(xs, {});
|
|
6672
6676
|
const s = i != null && i.length ? JSON.stringify(i) : "default-key";
|
|
@@ -6783,20 +6787,20 @@ const Ui = () => F(null, null, function* () {
|
|
|
6783
6787
|
return o(a), null;
|
|
6784
6788
|
};
|
|
6785
6789
|
let Li = !1;
|
|
6786
|
-
const
|
|
6790
|
+
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 }) => {
|
|
6787
6791
|
const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, d) => {
|
|
6788
6792
|
r && r(l, d);
|
|
6789
6793
|
};
|
|
6790
|
-
return n === ct.QUESTIONS ? /* @__PURE__ */ u(
|
|
6791
|
-
|
|
6794
|
+
return n === ct.QUESTIONS ? /* @__PURE__ */ u(Ts, { perform: a, children: /* @__PURE__ */ u(Bs, { children: /* @__PURE__ */ u(
|
|
6795
|
+
$s,
|
|
6792
6796
|
{
|
|
6793
6797
|
properties: s,
|
|
6794
6798
|
dataSource: o,
|
|
6795
6799
|
templateId: n,
|
|
6796
6800
|
templateLayout: i
|
|
6797
6801
|
}
|
|
6798
|
-
) }) }) : /* @__PURE__ */ u(
|
|
6799
|
-
|
|
6802
|
+
) }) }) : /* @__PURE__ */ u(Ts, { perform: a, setIsProcessingCallback: t, children: /* @__PURE__ */ u(Bs, { children: /* @__PURE__ */ u(
|
|
6803
|
+
$s,
|
|
6800
6804
|
O(O({
|
|
6801
6805
|
templateId: n,
|
|
6802
6806
|
templateLayout: i
|
|
@@ -6953,13 +6957,18 @@ const _1 = (t, e) => ({
|
|
|
6953
6957
|
d,
|
|
6954
6958
|
n
|
|
6955
6959
|
), h = e()._checkIsSessionDataValid(p.data);
|
|
6956
|
-
if (!
|
|
6960
|
+
if (!Cs(h))
|
|
6957
6961
|
return { error: h.error };
|
|
6958
6962
|
const c = h.currentStep;
|
|
6959
6963
|
return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(h.id) : e().setCurrentSessionDataLsAndStore({
|
|
6960
6964
|
sessionId: h.id,
|
|
6961
6965
|
workflowId: a
|
|
6962
|
-
}), e().setNextStep(
|
|
6966
|
+
}), e().setNextStep({
|
|
6967
|
+
workflow: h.workflow,
|
|
6968
|
+
properties: h.properties,
|
|
6969
|
+
nextStepId: c,
|
|
6970
|
+
locale: h.locale
|
|
6971
|
+
}), e().listener({
|
|
6963
6972
|
eventType: Fn.MESSAGE,
|
|
6964
6973
|
message: l,
|
|
6965
6974
|
module: "IDV"
|
|
@@ -7171,7 +7180,7 @@ const _1 = (t, e) => ({
|
|
|
7171
7180
|
return { error: new Ot({
|
|
7172
7181
|
errorCode: Et.SCENARIO_IN_PROGRESS
|
|
7173
7182
|
}) };
|
|
7174
|
-
const i = yield e().fetchService.getWorkflow(n), o =
|
|
7183
|
+
const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((f) => f.templateId === Bi);
|
|
7175
7184
|
let a = null;
|
|
7176
7185
|
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) {
|
|
7177
7186
|
const f = new jn({
|
|
@@ -7270,11 +7279,16 @@ const _1 = (t, e) => ({
|
|
|
7270
7279
|
metadata: o,
|
|
7271
7280
|
location: s
|
|
7272
7281
|
}), C = e()._checkIsSessionDataValid(S.data);
|
|
7273
|
-
if (!
|
|
7282
|
+
if (!Cs(C))
|
|
7274
7283
|
return { error: C.error };
|
|
7275
7284
|
h ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
|
|
7276
7285
|
const b = C.currentStep;
|
|
7277
|
-
return e().setCurrentStepId(b), e().setNextStep(
|
|
7286
|
+
return e().setCurrentStepId(b), e().setNextStep({
|
|
7287
|
+
workflow: C.workflow,
|
|
7288
|
+
properties: C.properties,
|
|
7289
|
+
nextStepId: b,
|
|
7290
|
+
locale: C.locale
|
|
7291
|
+
}), e().listener({
|
|
7278
7292
|
eventType: Fn.MESSAGE,
|
|
7279
7293
|
message: Mr.DID_START_SESSION,
|
|
7280
7294
|
module: "IDV"
|
|
@@ -7860,16 +7874,16 @@ const g1 = (t, e) => ({
|
|
|
7860
7874
|
results: a
|
|
7861
7875
|
}, o.error && { error: o.error });
|
|
7862
7876
|
if (e().removeCurrentSessionDataLsAndStore(), n(l), o.error) {
|
|
7863
|
-
const
|
|
7877
|
+
const p = JSON.stringify(o.error);
|
|
7864
7878
|
e().fetchService.pushSessionLogs({
|
|
7865
7879
|
body: {
|
|
7866
|
-
log:
|
|
7880
|
+
log: p,
|
|
7867
7881
|
errorCode: o.error.shortChain,
|
|
7868
7882
|
deviceInfo: { platform: "Web" }
|
|
7869
7883
|
}
|
|
7870
7884
|
});
|
|
7871
7885
|
}
|
|
7872
|
-
|
|
7886
|
+
na.clearLogs();
|
|
7873
7887
|
};
|
|
7874
7888
|
t(() => ({ workflowSessionCompletion: i }));
|
|
7875
7889
|
},
|
|
@@ -7884,10 +7898,10 @@ const g1 = (t, e) => ({
|
|
|
7884
7898
|
}
|
|
7885
7899
|
}),
|
|
7886
7900
|
setProcessingTemplate: (n) => {
|
|
7887
|
-
const i =
|
|
7888
|
-
n.find((o) => o.templateId ===
|
|
7901
|
+
const i = Co(
|
|
7902
|
+
n.find((o) => o.templateId === Bi)
|
|
7889
7903
|
);
|
|
7890
|
-
i.templateLayout =
|
|
7904
|
+
i.templateLayout = bs(i.templateLayout, e().layout), t({ processingTransformedTemplate: i });
|
|
7891
7905
|
},
|
|
7892
7906
|
setIsProcessing: (n) => {
|
|
7893
7907
|
t({ isProcessing: n });
|
|
@@ -7992,8 +8006,8 @@ const g1 = (t, e) => ({
|
|
|
7992
8006
|
return;
|
|
7993
8007
|
}
|
|
7994
8008
|
if (a.data) {
|
|
7995
|
-
const { workflow: p, properties: h, currentStep: c } = a.data;
|
|
7996
|
-
e().setNextStep(p, h, c);
|
|
8009
|
+
const { workflow: p, properties: h, currentStep: c, locale: g } = a.data;
|
|
8010
|
+
e().setNextStep({ workflow: p, properties: h, nextStepId: c, locale: g });
|
|
7997
8011
|
}
|
|
7998
8012
|
}
|
|
7999
8013
|
});
|
|
@@ -8001,14 +8015,14 @@ const g1 = (t, e) => ({
|
|
|
8001
8015
|
} else
|
|
8002
8016
|
dt.clearSubscriptions();
|
|
8003
8017
|
},
|
|
8004
|
-
setNextStep: (n, i, o) => {
|
|
8005
|
-
e().setWorkflowId(n.id), e().setWorkflow(n), e().setLayout(n.client.layout), e().setProcessingTemplate(n.client.steps), e().setSessionProperties(i);
|
|
8006
|
-
const
|
|
8007
|
-
if (
|
|
8008
|
-
e().setFinalStepAndStopProcess(
|
|
8018
|
+
setNextStep: ({ workflow: n, properties: i, nextStepId: o, locale: s }) => {
|
|
8019
|
+
e().setWorkflowId(n.id), e().setWorkflow(n), e().setLayout(n.client.layout), e().setProcessingTemplate(n.client.steps), e().setSessionProperties(i), e().setLocale(s);
|
|
8020
|
+
const a = e()._findStepById(o), l = (d) => !!d && Object.prototype.toString.call(d) === "[object Object]" && d.templateId;
|
|
8021
|
+
if (a != null && a.releaseClientApp && !l(a.client)) {
|
|
8022
|
+
e().setFinalStepAndStopProcess(a.id);
|
|
8009
8023
|
return;
|
|
8010
8024
|
}
|
|
8011
|
-
|
|
8025
|
+
a != null && a.releaseClientApp && l(a.client) && e().setFinalWaitingUi(!0), e().onChangeScreen(o), e().setIsProcessing(!1), e()._stepSocketListenerWhenStepIsRunning(!0);
|
|
8012
8026
|
},
|
|
8013
8027
|
pushStepWaitNextStepAndSet: (n, i) => F(null, null, function* () {
|
|
8014
8028
|
e()._stepSocketListenerWhenStepIsRunning(!1);
|
|
@@ -8019,15 +8033,15 @@ const g1 = (t, e) => ({
|
|
|
8019
8033
|
return;
|
|
8020
8034
|
}
|
|
8021
8035
|
if (n.errorCode) {
|
|
8022
|
-
const
|
|
8036
|
+
const c = n, g = new Ge({
|
|
8023
8037
|
errorCode: Ke.MODULES_ISSUE,
|
|
8024
8038
|
message: "Error from external module",
|
|
8025
8039
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
8026
8040
|
// @ts-ignore
|
|
8027
|
-
underlyingBaseError:
|
|
8041
|
+
underlyingBaseError: c
|
|
8028
8042
|
});
|
|
8029
8043
|
e().workflowSessionCompletion({
|
|
8030
|
-
error:
|
|
8044
|
+
error: g
|
|
8031
8045
|
}), e().resetSession();
|
|
8032
8046
|
return;
|
|
8033
8047
|
}
|
|
@@ -8045,8 +8059,8 @@ const g1 = (t, e) => ({
|
|
|
8045
8059
|
}), e().resetSession();
|
|
8046
8060
|
return;
|
|
8047
8061
|
}
|
|
8048
|
-
const { workflow: l, properties: d, currentStep: p } = a.sessionData;
|
|
8049
|
-
e().setNextStep(l, d, p);
|
|
8062
|
+
const { workflow: l, properties: d, currentStep: p, locale: h } = a.sessionData;
|
|
8063
|
+
e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale: h });
|
|
8050
8064
|
}),
|
|
8051
8065
|
/** prepare and configure config (props) for module and trigger showing step */
|
|
8052
8066
|
onChangeScreen: (n) => {
|
|
@@ -8054,7 +8068,7 @@ const g1 = (t, e) => ({
|
|
|
8054
8068
|
if (!n) return t(() => ({ currentScreenConfig: null }));
|
|
8055
8069
|
const i = e().workflow, o = e().sessionProperties;
|
|
8056
8070
|
let s = null;
|
|
8057
|
-
if (n ===
|
|
8071
|
+
if (n === Bi && e().processingTransformedTemplate !== null) {
|
|
8058
8072
|
const c = e().processingTransformedTemplate;
|
|
8059
8073
|
c && (s = {
|
|
8060
8074
|
templateId: c.templateId,
|
|
@@ -8066,9 +8080,10 @@ const g1 = (t, e) => ({
|
|
|
8066
8080
|
if (typeof ((l = c == null ? void 0 : c.client) == null ? void 0 : l.templateId) == "string" && (s = X(O({}, c == null ? void 0 : c.client), {
|
|
8067
8081
|
templateId: c.client.templateId,
|
|
8068
8082
|
dataSource: (d = c.dataSource) != null ? d : null,
|
|
8069
|
-
properties: o
|
|
8083
|
+
properties: o,
|
|
8084
|
+
locale: e().locale
|
|
8070
8085
|
})), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((h = c == null ? void 0 : c.client) == null ? void 0 : h.templateLayout)) {
|
|
8071
|
-
const g =
|
|
8086
|
+
const g = bs(c.client.templateLayout, e().layout);
|
|
8072
8087
|
g && (s.templateLayout = g);
|
|
8073
8088
|
}
|
|
8074
8089
|
}
|
|
@@ -8117,7 +8132,7 @@ function w1(t) {
|
|
|
8117
8132
|
}
|
|
8118
8133
|
const He = Bc(
|
|
8119
8134
|
(...t) => O(O(O({}, md(...t)), _1(...t)), g1(...t))
|
|
8120
|
-
), v1 = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100,
|
|
8135
|
+
), v1 = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100, Hs = (t, e) => {
|
|
8121
8136
|
if (!v1(t))
|
|
8122
8137
|
throw new Error(`Invalid component name: ${t}`);
|
|
8123
8138
|
const r = document.createElement(t);
|
|
@@ -8140,9 +8155,9 @@ class y1 {
|
|
|
8140
8155
|
typeof window != "undefined" && (window.removeEventListener("load", this._handleOrientationChange), window.removeEventListener("resize", this._handleOrientationChange));
|
|
8141
8156
|
}
|
|
8142
8157
|
}
|
|
8143
|
-
var Vi = { exports: {} },
|
|
8158
|
+
var Vi = { exports: {} }, Ws;
|
|
8144
8159
|
function b1() {
|
|
8145
|
-
return
|
|
8160
|
+
return Ws || (Ws = 1, (function(t) {
|
|
8146
8161
|
t.exports = /******/
|
|
8147
8162
|
(function(e) {
|
|
8148
8163
|
var r = {};
|
|
@@ -8260,7 +8275,7 @@ function b1() {
|
|
|
8260
8275
|
return N.name === $;
|
|
8261
8276
|
}, T = function() {
|
|
8262
8277
|
return N.name === Q;
|
|
8263
|
-
},
|
|
8278
|
+
}, A = function() {
|
|
8264
8279
|
return b.name === fe;
|
|
8265
8280
|
}, V = function() {
|
|
8266
8281
|
return b.name === K;
|
|
@@ -8290,7 +8305,7 @@ function b1() {
|
|
|
8290
8305
|
return S("iPhone");
|
|
8291
8306
|
}, Be = function() {
|
|
8292
8307
|
return S("iPod");
|
|
8293
|
-
},
|
|
8308
|
+
}, xe = function() {
|
|
8294
8309
|
return b.major;
|
|
8295
8310
|
}, he = function() {
|
|
8296
8311
|
return b.version;
|
|
@@ -8312,7 +8327,7 @@ function b1() {
|
|
|
8312
8327
|
return R;
|
|
8313
8328
|
}, nn = function() {
|
|
8314
8329
|
return I.type;
|
|
8315
|
-
}, on = Ht(), sn = Ct(), an = pt(), zt = G() || j(), ln = M(), rt = yt() || j(), cn = ot(), dn = Xe() || j(), un = bt(), fn = Wt(), hn = y(), pn = T() || j(), _n =
|
|
8330
|
+
}, on = Ht(), sn = Ct(), an = pt(), zt = G() || j(), ln = M(), rt = yt() || j(), cn = ot(), dn = Xe() || j(), un = bt(), fn = Wt(), hn = y(), pn = T() || j(), _n = A(), ii = V(), oi = ne(), si = ge(), ur = Pe(), mn = q(), gn = ze(), wn = xe(), ai = he(), vn = jt(), yn = Jt(), bn = Qr(), li = en(), ci = tn(), di = rn(), ui = P() || st(), Cn = W(), fi = nn(), hi = oe(), pi = j(), _i = me(), mi = Be(), gi = J(), wi = st(), vi = P(), yi = _t(), bi = tt(), mt = p(I.type);
|
|
8316
8331
|
function Ci() {
|
|
8317
8332
|
var ie = mt.isBrowser, at = mt.isMobile, fr = mt.isTablet, Sn = mt.isSmartTV, En = mt.isConsole, Tn = mt.isWearable;
|
|
8318
8333
|
if (ie)
|
|
@@ -8567,7 +8582,7 @@ var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
|
|
|
8567
8582
|
(s = t[o]) && (i = s(e, r, i) || i);
|
|
8568
8583
|
return i && S1(e, r, i), i;
|
|
8569
8584
|
};
|
|
8570
|
-
const
|
|
8585
|
+
const No = class No extends Dr {
|
|
8571
8586
|
constructor() {
|
|
8572
8587
|
super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = He.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) => {
|
|
8573
8588
|
this.store.listener({
|
|
@@ -8595,7 +8610,7 @@ const Do = class Do extends Dr {
|
|
|
8595
8610
|
idvEventListener: this._listenerFromModule,
|
|
8596
8611
|
isProcessing: this._isProcessingCallback
|
|
8597
8612
|
};
|
|
8598
|
-
return this._currentProgressElement || (this._currentProgressElement =
|
|
8613
|
+
return this._currentProgressElement || (this._currentProgressElement = Hs(e.id, r)), this._currentProgressElement;
|
|
8599
8614
|
}
|
|
8600
8615
|
_isTheSameModuleAndScreen(e) {
|
|
8601
8616
|
return this._currentScreenModuleId === e.id && JSON.stringify(structuredClone(this._currentScreenConfig)) === JSON.stringify(structuredClone(this.currentScreenConfig));
|
|
@@ -8613,13 +8628,13 @@ const Do = class Do extends Dr {
|
|
|
8613
8628
|
idvEventListener: this._listenerFromModule,
|
|
8614
8629
|
isProcessing: this._isProcessingCallback
|
|
8615
8630
|
};
|
|
8616
|
-
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement =
|
|
8631
|
+
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Hs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
8617
8632
|
}
|
|
8618
8633
|
get version() {
|
|
8619
|
-
return `${"3.2.
|
|
8634
|
+
return `${"3.2.258-nightly".trim()}`;
|
|
8620
8635
|
}
|
|
8621
8636
|
disconnectedCallback() {
|
|
8622
|
-
|
|
8637
|
+
na.clearLogs();
|
|
8623
8638
|
}
|
|
8624
8639
|
render() {
|
|
8625
8640
|
return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Ti`<div
|
|
@@ -8635,8 +8650,8 @@ const Do = class Do extends Dr {
|
|
|
8635
8650
|
</div>`;
|
|
8636
8651
|
}
|
|
8637
8652
|
};
|
|
8638
|
-
|
|
8639
|
-
let Bt =
|
|
8653
|
+
No.styles = [ac];
|
|
8654
|
+
let Bt = No;
|
|
8640
8655
|
Or([
|
|
8641
8656
|
Er()
|
|
8642
8657
|
], Bt.prototype, "store");
|
|
@@ -8702,7 +8717,7 @@ class P1 {
|
|
|
8702
8717
|
}
|
|
8703
8718
|
/** service commands */
|
|
8704
8719
|
get version() {
|
|
8705
|
-
return "3.2.
|
|
8720
|
+
return "3.2.258-nightly";
|
|
8706
8721
|
}
|
|
8707
8722
|
set nonce(e) {
|
|
8708
8723
|
He.getState().setNonce(e);
|