@hotosm/hanko-auth 0.3.2 → 0.3.3
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/hanko-auth.esm.js +297 -288
- package/dist/hanko-auth.iife.js +4 -4
- package/dist/hanko-auth.umd.js +4 -4
- package/package.json +1 -1
- package/src/hanko-auth.ts +22 -1
package/dist/hanko-auth.esm.js
CHANGED
|
@@ -45,7 +45,7 @@ const zi = (n) => new si(typeof n == "string" ? n : n + "", void 0, Yn), qi = (n
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Ki, defineProperty: Bi, getOwnPropertyDescriptor: Vi, getOwnPropertyNames: Zi, getOwnPropertySymbols: Ji, getPrototypeOf: Qi } = Object, rt = globalThis, xo = rt.trustedTypes, Gi = xo ? xo.emptyScript : "", jn = rt.reactiveElementPolyfillSupport, Tt = (n, e) => n,
|
|
48
|
+
const { is: Ki, defineProperty: Bi, getOwnPropertyDescriptor: Vi, getOwnPropertyNames: Zi, getOwnPropertySymbols: Ji, getPrototypeOf: Qi } = Object, rt = globalThis, xo = rt.trustedTypes, Gi = xo ? xo.emptyScript : "", jn = rt.reactiveElementPolyfillSupport, Tt = (n, e) => n, gn = { toAttribute(n, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
n = n ? Gi : null;
|
|
@@ -73,7 +73,7 @@ const { is: Ki, defineProperty: Bi, getOwnPropertyDescriptor: Vi, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
|
-
} }, Xn = (n, e) => !Ki(n, e), Co = { attribute: !0, type: String, converter:
|
|
76
|
+
} }, Xn = (n, e) => !Ki(n, e), Co = { attribute: !0, type: String, converter: gn, reflect: !1, useDefault: !1, hasChanged: Xn };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), rt.litPropertyMetadata ?? (rt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let pt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
@@ -184,7 +184,7 @@ let pt = class extends HTMLElement {
|
|
|
184
184
|
var s;
|
|
185
185
|
const o = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, o);
|
|
186
186
|
if (i !== void 0 && o.reflect === !0) {
|
|
187
|
-
const a = (((s = o.converter) == null ? void 0 : s.toAttribute) !== void 0 ? o.converter :
|
|
187
|
+
const a = (((s = o.converter) == null ? void 0 : s.toAttribute) !== void 0 ? o.converter : gn).toAttribute(t, o.type);
|
|
188
188
|
this._$Em = e, a == null ? this.removeAttribute(i) : this.setAttribute(i, a), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let pt = class extends HTMLElement {
|
|
|
192
192
|
var s, a;
|
|
193
193
|
const o = this.constructor, i = o._$Eh.get(e);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const c = o.getPropertyOptions(i), d = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((s = c.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? c.converter :
|
|
195
|
+
const c = o.getPropertyOptions(i), d = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((s = c.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? c.converter : gn;
|
|
196
196
|
this._$Em = i;
|
|
197
197
|
const l = d.fromAttribute(t, c.type);
|
|
198
198
|
this[i] = l ?? ((a = this._$Ej) == null ? void 0 : a.get(i)) ?? l, this._$Em = null;
|
|
@@ -284,9 +284,9 @@ pt.elementStyles = [], pt.shadowRootOptions = { mode: "open" }, pt[Tt("elementPr
|
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
285
285
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
286
|
*/
|
|
287
|
-
const Nt = globalThis,
|
|
287
|
+
const Nt = globalThis, vn = Nt.trustedTypes, Ao = vn ? vn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, ri = "$lit$", st = `lit$${Math.random().toFixed(9).slice(2)}$`, ai = "?" + st, Yi = `<${ai}>`, ht = document, Mt = () => ht.createComment(""), Ht = (n) => n === null || typeof n != "object" && typeof n != "function", eo = Array.isArray, Xi = (n) => eo(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Dn = `[
|
|
288
288
|
\f\r]`, yt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Oo = /-->/g, Po = />/g, ct = RegExp(`>|${Dn}(?:([^\\s"'>=/]+)(${Dn}*=${Dn}*(?:[^
|
|
289
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, Io = /"/g, li = /^(?:script|style|textarea|title)$/i, es = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), He = es(1),
|
|
289
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, Io = /"/g, li = /^(?:script|style|textarea|title)$/i, es = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), He = es(1), gt = Symbol.for("lit-noChange"), Te = Symbol.for("lit-nothing"), jo = /* @__PURE__ */ new WeakMap(), dt = ht.createTreeWalker(ht, 129);
|
|
290
290
|
function ci(n, e) {
|
|
291
291
|
if (!eo(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
292
292
|
return Ao !== void 0 ? Ao.createHTML(e) : e;
|
|
@@ -296,8 +296,8 @@ const ts = (n, e) => {
|
|
|
296
296
|
let i, s = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", a = yt;
|
|
297
297
|
for (let c = 0; c < t; c++) {
|
|
298
298
|
const d = n[c];
|
|
299
|
-
let l, u, h = -1,
|
|
300
|
-
for (;
|
|
299
|
+
let l, u, h = -1, g = 0;
|
|
300
|
+
for (; g < d.length && (a.lastIndex = g, u = a.exec(d), u !== null); ) g = a.lastIndex, a === yt ? u[1] === "!--" ? a = Oo : u[1] !== void 0 ? a = Po : u[2] !== void 0 ? (li.test(u[2]) && (i = RegExp("</" + u[2], "g")), a = ct) : u[3] !== void 0 && (a = ct) : a === ct ? u[0] === ">" ? (a = i ?? yt, h = -1) : u[1] === void 0 ? h = -2 : (h = a.lastIndex - u[2].length, l = u[1], a = u[3] === void 0 ? ct : u[3] === '"' ? Io : Eo) : a === Io || a === Eo ? a = ct : a === Oo || a === Po ? a = yt : (a = ct, i = void 0);
|
|
301
301
|
const f = a === ct && n[c + 1].startsWith("/>") ? " " : "";
|
|
302
302
|
s += a === yt ? d + Yi : h >= 0 ? (o.push(l), d.slice(0, h) + ri + d.slice(h) + st + f) : d + st + (h === -2 ? c : f);
|
|
303
303
|
}
|
|
@@ -316,15 +316,15 @@ let Bn = class di {
|
|
|
316
316
|
for (; (i = dt.nextNode()) !== null && d.length < c; ) {
|
|
317
317
|
if (i.nodeType === 1) {
|
|
318
318
|
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(ri)) {
|
|
319
|
-
const
|
|
319
|
+
const g = u[a++], f = i.getAttribute(h).split(st), x = /([.?@])?(.*)/.exec(g);
|
|
320
320
|
d.push({ type: 1, index: s, name: x[2], strings: f, ctor: x[1] === "." ? os : x[1] === "?" ? is : x[1] === "@" ? ss : kn }), i.removeAttribute(h);
|
|
321
321
|
} else h.startsWith(st) && (d.push({ type: 6, index: s }), i.removeAttribute(h));
|
|
322
322
|
if (li.test(i.tagName)) {
|
|
323
|
-
const h = i.textContent.split(st),
|
|
324
|
-
if (
|
|
325
|
-
i.textContent =
|
|
326
|
-
for (let f = 0; f <
|
|
327
|
-
i.append(h[
|
|
323
|
+
const h = i.textContent.split(st), g = h.length - 1;
|
|
324
|
+
if (g > 0) {
|
|
325
|
+
i.textContent = vn ? vn.emptyScript : "";
|
|
326
|
+
for (let f = 0; f < g; f++) i.append(h[f], Mt()), dt.nextNode(), d.push({ type: 2, index: ++s });
|
|
327
|
+
i.append(h[g], Mt());
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
} else if (i.nodeType === 8) if (i.data === ai) d.push({ type: 2, index: s });
|
|
@@ -340,12 +340,12 @@ let Bn = class di {
|
|
|
340
340
|
return o.innerHTML = e, o;
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
|
-
function
|
|
343
|
+
function vt(n, e, t = n, o) {
|
|
344
344
|
var a, c;
|
|
345
|
-
if (e ===
|
|
345
|
+
if (e === gt) return e;
|
|
346
346
|
let i = o !== void 0 ? (a = t._$Co) == null ? void 0 : a[o] : t._$Cl;
|
|
347
347
|
const s = Ht(e) ? void 0 : e._$litDirective$;
|
|
348
|
-
return (i == null ? void 0 : i.constructor) !== s && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), s === void 0 ? i = void 0 : (i = new s(n), i._$AT(n, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = i : t._$Cl = i), i !== void 0 && (e =
|
|
348
|
+
return (i == null ? void 0 : i.constructor) !== s && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), s === void 0 ? i = void 0 : (i = new s(n), i._$AT(n, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = i : t._$Cl = i), i !== void 0 && (e = vt(n, i._$AS(n, e.values), i, o)), e;
|
|
349
349
|
}
|
|
350
350
|
let ns = class {
|
|
351
351
|
constructor(e, t) {
|
|
@@ -394,7 +394,7 @@ let ns = class {
|
|
|
394
394
|
return this._$AB;
|
|
395
395
|
}
|
|
396
396
|
_$AI(e, t = this) {
|
|
397
|
-
e =
|
|
397
|
+
e = vt(this, e, t), Ht(e) ? e === Te || e == null || e === "" ? (this._$AH !== Te && this._$AR(), this._$AH = Te) : e !== this._$AH && e !== gt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Xi(e) ? this.k(e) : this._(e);
|
|
398
398
|
}
|
|
399
399
|
O(e) {
|
|
400
400
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -449,11 +449,11 @@ let ns = class {
|
|
|
449
449
|
_$AI(e, t = this, o, i) {
|
|
450
450
|
const s = this.strings;
|
|
451
451
|
let a = !1;
|
|
452
|
-
if (s === void 0) e =
|
|
452
|
+
if (s === void 0) e = vt(this, e, t, 0), a = !Ht(e) || e !== this._$AH && e !== gt, a && (this._$AH = e);
|
|
453
453
|
else {
|
|
454
454
|
const c = e;
|
|
455
455
|
let d, l;
|
|
456
|
-
for (e = s[0], d = 0; d < s.length - 1; d++) l =
|
|
456
|
+
for (e = s[0], d = 0; d < s.length - 1; d++) l = vt(this, c[o + d], t, d), l === gt && (l = this._$AH[d]), a || (a = !Ht(l) || l !== this._$AH[d]), l === Te ? e = Te : e !== Te && (e += (l ?? "") + s[d + 1]), this._$AH[d] = l;
|
|
457
457
|
}
|
|
458
458
|
a && !i && this.j(e);
|
|
459
459
|
}
|
|
@@ -479,7 +479,7 @@ let ns = class {
|
|
|
479
479
|
super(e, t, o, i, s), this.type = 5;
|
|
480
480
|
}
|
|
481
481
|
_$AI(e, t = this) {
|
|
482
|
-
if ((e =
|
|
482
|
+
if ((e = vt(this, e, t, 0) ?? Te) === gt) return;
|
|
483
483
|
const o = this._$AH, i = e === Te && o !== Te || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, s = e !== Te && (o === Te || i);
|
|
484
484
|
i && this.element.removeEventListener(this.name, this, o), s && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
485
485
|
}
|
|
@@ -495,7 +495,7 @@ let ns = class {
|
|
|
495
495
|
return this._$AM._$AU;
|
|
496
496
|
}
|
|
497
497
|
_$AI(e) {
|
|
498
|
-
|
|
498
|
+
vt(this, e);
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
const $n = Nt.litHtmlPolyfillSupport;
|
|
@@ -537,7 +537,7 @@ let Ut = class extends pt {
|
|
|
537
537
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
538
538
|
}
|
|
539
539
|
render() {
|
|
540
|
-
return
|
|
540
|
+
return gt;
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
var ii;
|
|
@@ -560,7 +560,7 @@ const ls = (n) => (e, t) => {
|
|
|
560
560
|
* Copyright 2017 Google LLC
|
|
561
561
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
562
|
*/
|
|
563
|
-
const cs = { attribute: !0, type: String, converter:
|
|
563
|
+
const cs = { attribute: !0, type: String, converter: gn, reflect: !1, hasChanged: Xn }, ds = (n = cs, e, t) => {
|
|
564
564
|
const { kind: o, metadata: i } = t;
|
|
565
565
|
let s = globalThis.litPropertyMetadata.get(i);
|
|
566
566
|
if (s === void 0 && globalThis.litPropertyMetadata.set(i, s = /* @__PURE__ */ new Map()), o === "setter" && ((n = Object.create(n)).wrapped = !0), s.set(t.name, n), o === "accessor") {
|
|
@@ -641,11 +641,11 @@ var us = { 7: function(n, e, t) {
|
|
|
641
641
|
} while (P.length);
|
|
642
642
|
return S;
|
|
643
643
|
}
|
|
644
|
-
var h = {},
|
|
644
|
+
var h = {}, g = { root: "", lang: "en", fallbackLang: "en" }, f = i.createContext(null);
|
|
645
645
|
o.TranslateContext = f, o.TranslateProvider = function(x) {
|
|
646
646
|
var O = function(N, U) {
|
|
647
|
-
N = Object.assign({},
|
|
648
|
-
var ie = c(s.useState(N.lang), 2), ye = ie[0], se = ie[1], we = c(s.useState(h), 2), M = we[0], z = we[1],
|
|
647
|
+
N = Object.assign({}, g, N), h = U || h;
|
|
648
|
+
var ie = c(s.useState(N.lang), 2), ye = ie[0], se = ie[1], we = c(s.useState(h), 2), M = we[0], z = we[1], ge = c(s.useState(!1), 2), $e = ge[0], Ee = ge[1], Le = function(re) {
|
|
649
649
|
if (!M.hasOwnProperty(re)) {
|
|
650
650
|
Ee(!1);
|
|
651
651
|
var ae = d(N.root, re);
|
|
@@ -765,8 +765,8 @@ var us = { 7: function(n, e, t) {
|
|
|
765
765
|
u != null && (d[u] = !0);
|
|
766
766
|
}
|
|
767
767
|
for (var h = 0; h < o.length; h++) {
|
|
768
|
-
var
|
|
769
|
-
s && d[
|
|
768
|
+
var g = [].concat(o[h]);
|
|
769
|
+
s && d[g[0]] || (c !== void 0 && (g[5] === void 0 || (g[1] = "@layer".concat(g[5].length > 0 ? " ".concat(g[5]) : "", " {").concat(g[1], "}")), g[5] = c), i && (g[2] && (g[1] = "@media ".concat(g[2], " {").concat(g[1], "}")), g[2] = i), a && (g[4] ? (g[1] = "@supports (".concat(g[4], ") {").concat(g[1], "}"), g[4] = a) : g[4] = "".concat(a)), t.push(g));
|
|
770
770
|
}
|
|
771
771
|
}, t;
|
|
772
772
|
};
|
|
@@ -775,24 +775,24 @@ var us = { 7: function(n, e, t) {
|
|
|
775
775
|
return e[1];
|
|
776
776
|
};
|
|
777
777
|
}, 616: (n, e, t) => {
|
|
778
|
-
t.r(e), t.d(e, { Component: () => U, Fragment: () => N, cloneElement: () => qe, createContext: () => Fe, createElement: () => S, createRef: () => D, h: () => S, hydrate: () => ze, isValidElement: () => a, options: () => i, render: () => pe, toChildArray: () =>
|
|
779
|
-
var o, i, s, a, c, d, l, u, h,
|
|
780
|
-
function O(m,
|
|
781
|
-
for (var b in
|
|
778
|
+
t.r(e), t.d(e, { Component: () => U, Fragment: () => N, cloneElement: () => qe, createContext: () => Fe, createElement: () => S, createRef: () => D, h: () => S, hydrate: () => ze, isValidElement: () => a, options: () => i, render: () => pe, toChildArray: () => ge });
|
|
779
|
+
var o, i, s, a, c, d, l, u, h, g = {}, f = [], x = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
780
|
+
function O(m, v) {
|
|
781
|
+
for (var b in v) m[b] = v[b];
|
|
782
782
|
return m;
|
|
783
783
|
}
|
|
784
784
|
function C(m) {
|
|
785
|
-
var
|
|
786
|
-
|
|
785
|
+
var v = m.parentNode;
|
|
786
|
+
v && v.removeChild(m);
|
|
787
787
|
}
|
|
788
|
-
function S(m,
|
|
788
|
+
function S(m, v, b) {
|
|
789
789
|
var j, T, I, W = {};
|
|
790
|
-
for (I in
|
|
790
|
+
for (I in v) I == "key" ? j = v[I] : I == "ref" ? T = v[I] : W[I] = v[I];
|
|
791
791
|
if (arguments.length > 2 && (W.children = arguments.length > 3 ? o.call(arguments, 2) : b), typeof m == "function" && m.defaultProps != null) for (I in m.defaultProps) W[I] === void 0 && (W[I] = m.defaultProps[I]);
|
|
792
792
|
return P(m, W, j, T, null);
|
|
793
793
|
}
|
|
794
|
-
function P(m,
|
|
795
|
-
var I = { type: m, props:
|
|
794
|
+
function P(m, v, b, j, T) {
|
|
795
|
+
var I = { type: m, props: v, key: b, ref: j, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: T ?? ++s };
|
|
796
796
|
return T == null && i.vnode != null && i.vnode(I), I;
|
|
797
797
|
}
|
|
798
798
|
function D() {
|
|
@@ -801,18 +801,18 @@ var us = { 7: function(n, e, t) {
|
|
|
801
801
|
function N(m) {
|
|
802
802
|
return m.children;
|
|
803
803
|
}
|
|
804
|
-
function U(m,
|
|
805
|
-
this.props = m, this.context =
|
|
804
|
+
function U(m, v) {
|
|
805
|
+
this.props = m, this.context = v;
|
|
806
806
|
}
|
|
807
|
-
function ie(m,
|
|
808
|
-
if (
|
|
809
|
-
for (var b;
|
|
807
|
+
function ie(m, v) {
|
|
808
|
+
if (v == null) return m.__ ? ie(m.__, m.__.__k.indexOf(m) + 1) : null;
|
|
809
|
+
for (var b; v < m.__k.length; v++) if ((b = m.__k[v]) != null && b.__e != null) return b.__e;
|
|
810
810
|
return typeof m.type == "function" ? ie(m) : null;
|
|
811
811
|
}
|
|
812
812
|
function ye(m) {
|
|
813
|
-
var
|
|
813
|
+
var v, b;
|
|
814
814
|
if ((m = m.__) != null && m.__c != null) {
|
|
815
|
-
for (m.__e = m.__c.base = null,
|
|
815
|
+
for (m.__e = m.__c.base = null, v = 0; v < m.__k.length; v++) if ((b = m.__k[v]) != null && b.__e != null) {
|
|
816
816
|
m.__e = m.__c.base = b.__e;
|
|
817
817
|
break;
|
|
818
818
|
}
|
|
@@ -823,13 +823,13 @@ var us = { 7: function(n, e, t) {
|
|
|
823
823
|
(!m.__d && (m.__d = !0) && c.push(m) && !we.__r++ || d !== i.debounceRendering) && ((d = i.debounceRendering) || l)(we);
|
|
824
824
|
}
|
|
825
825
|
function we() {
|
|
826
|
-
var m,
|
|
827
|
-
for (c.sort(u); m = c.shift(); ) m.__d && (
|
|
826
|
+
var m, v, b, j, T, I, W, X;
|
|
827
|
+
for (c.sort(u); m = c.shift(); ) m.__d && (v = c.length, j = void 0, T = void 0, W = (I = (b = m).__v).__e, (X = b.__P) && (j = [], (T = O({}, I)).__v = I.__v + 1, Ie(X, I, T, b.__n, X.ownerSVGElement !== void 0, I.__h != null ? [W] : null, j, W ?? ie(I), I.__h), k(j, I), I.__e != W && ye(I)), c.length > v && c.sort(u));
|
|
828
828
|
we.__r = 0;
|
|
829
829
|
}
|
|
830
|
-
function M(m,
|
|
830
|
+
function M(m, v, b, j, T, I, W, X, G, _e) {
|
|
831
831
|
var w, be, J, H, E, Se, B, F = j && j.__k || f, Me = F.length;
|
|
832
|
-
for (b.__k = [], w = 0; w <
|
|
832
|
+
for (b.__k = [], w = 0; w < v.length; w++) if ((H = b.__k[w] = (H = v[w]) == null || typeof H == "boolean" || typeof H == "function" ? null : typeof H == "string" || typeof H == "number" || typeof H == "bigint" ? P(null, H, null, null, H) : Array.isArray(H) ? P(N, { children: H }, null, null, null) : H.__b > 0 ? P(H.type, H.props, H.key, H.ref ? H.ref : null, H.__v) : H) != null) {
|
|
833
833
|
if (H.__ = b, H.__b = b.__b + 1, (J = F[w]) === null || J && H.key == J.key && H.type === J.type) F[w] = void 0;
|
|
834
834
|
else for (be = 0; be < Me; be++) {
|
|
835
835
|
if ((J = F[be]) && H.key == J.key && H.type === J.type) {
|
|
@@ -838,23 +838,23 @@ var us = { 7: function(n, e, t) {
|
|
|
838
838
|
}
|
|
839
839
|
J = null;
|
|
840
840
|
}
|
|
841
|
-
Ie(m, H, J = J ||
|
|
841
|
+
Ie(m, H, J = J || g, T, I, W, X, G, _e), E = H.__e, (be = H.ref) && J.ref != be && (B || (B = []), J.ref && B.push(J.ref, null, H), B.push(be, H.__c || E, H)), E != null ? (Se == null && (Se = E), typeof H.type == "function" && H.__k === J.__k ? H.__d = G = z(H, G, m) : G = $e(m, H, J, F, E, G), typeof b.type == "function" && (b.__d = G)) : G && J.__e == G && G.parentNode != m && (G = ie(J));
|
|
842
842
|
}
|
|
843
843
|
for (b.__e = Se, w = Me; w--; ) F[w] != null && (typeof b.type == "function" && F[w].__e != null && F[w].__e == b.__d && (b.__d = Ee(j).nextSibling), L(F[w], F[w]));
|
|
844
844
|
if (B) for (w = 0; w < B.length; w++) y(B[w], B[++w], B[++w]);
|
|
845
845
|
}
|
|
846
|
-
function z(m,
|
|
847
|
-
for (var j, T = m.__k, I = 0; T && I < T.length; I++) (j = T[I]) && (j.__ = m,
|
|
848
|
-
return
|
|
846
|
+
function z(m, v, b) {
|
|
847
|
+
for (var j, T = m.__k, I = 0; T && I < T.length; I++) (j = T[I]) && (j.__ = m, v = typeof j.type == "function" ? z(j, v, b) : $e(b, j, j, T, j.__e, v));
|
|
848
|
+
return v;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
return
|
|
852
|
-
|
|
853
|
-
}) :
|
|
850
|
+
function ge(m, v) {
|
|
851
|
+
return v = v || [], m == null || typeof m == "boolean" || (Array.isArray(m) ? m.some(function(b) {
|
|
852
|
+
ge(b, v);
|
|
853
|
+
}) : v.push(m)), v;
|
|
854
854
|
}
|
|
855
|
-
function $e(m,
|
|
855
|
+
function $e(m, v, b, j, T, I) {
|
|
856
856
|
var W, X, G;
|
|
857
|
-
if (
|
|
857
|
+
if (v.__d !== void 0) W = v.__d, v.__d = void 0;
|
|
858
858
|
else if (b == null || T != I || T.parentNode == null) e: if (I == null || I.parentNode !== m) m.appendChild(T), W = null;
|
|
859
859
|
else {
|
|
860
860
|
for (X = I, G = 0; (X = X.nextSibling) && G < j.length; G += 1) if (X == T) break e;
|
|
@@ -863,32 +863,32 @@ var us = { 7: function(n, e, t) {
|
|
|
863
863
|
return W !== void 0 ? W : T.nextSibling;
|
|
864
864
|
}
|
|
865
865
|
function Ee(m) {
|
|
866
|
-
var
|
|
866
|
+
var v, b, j;
|
|
867
867
|
if (m.type == null || typeof m.type == "string") return m.__e;
|
|
868
868
|
if (m.__k) {
|
|
869
|
-
for (
|
|
869
|
+
for (v = m.__k.length - 1; v >= 0; v--) if ((b = m.__k[v]) && (j = Ee(b))) return j;
|
|
870
870
|
}
|
|
871
871
|
return null;
|
|
872
872
|
}
|
|
873
|
-
function Le(m,
|
|
874
|
-
|
|
873
|
+
function Le(m, v, b) {
|
|
874
|
+
v[0] === "-" ? m.setProperty(v, b ?? "") : m[v] = b == null ? "" : typeof b != "number" || x.test(v) ? b : b + "px";
|
|
875
875
|
}
|
|
876
|
-
function re(m,
|
|
876
|
+
function re(m, v, b, j, T) {
|
|
877
877
|
var I;
|
|
878
|
-
e: if (
|
|
878
|
+
e: if (v === "style") if (typeof b == "string") m.style.cssText = b;
|
|
879
879
|
else {
|
|
880
|
-
if (typeof j == "string" && (m.style.cssText = j = ""), j) for (
|
|
881
|
-
if (b) for (
|
|
882
|
-
}
|
|
883
|
-
else if (
|
|
884
|
-
else if (
|
|
885
|
-
if (T)
|
|
886
|
-
else if (
|
|
887
|
-
m[
|
|
880
|
+
if (typeof j == "string" && (m.style.cssText = j = ""), j) for (v in j) b && v in b || Le(m.style, v, "");
|
|
881
|
+
if (b) for (v in b) j && b[v] === j[v] || Le(m.style, v, b[v]);
|
|
882
|
+
}
|
|
883
|
+
else if (v[0] === "o" && v[1] === "n") I = v !== (v = v.replace(/Capture$/, "")), v = v.toLowerCase() in m ? v.toLowerCase().slice(2) : v.slice(2), m.l || (m.l = {}), m.l[v + I] = b, b ? j || m.addEventListener(v, I ? he : ae, I) : m.removeEventListener(v, I ? he : ae, I);
|
|
884
|
+
else if (v !== "dangerouslySetInnerHTML") {
|
|
885
|
+
if (T) v = v.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
886
|
+
else if (v !== "width" && v !== "height" && v !== "href" && v !== "list" && v !== "form" && v !== "tabIndex" && v !== "download" && v in m) try {
|
|
887
|
+
m[v] = b ?? "";
|
|
888
888
|
break e;
|
|
889
889
|
} catch {
|
|
890
890
|
}
|
|
891
|
-
typeof b == "function" || (b == null || b === !1 &&
|
|
891
|
+
typeof b == "function" || (b == null || b === !1 && v.indexOf("-") == -1 ? m.removeAttribute(v) : m.setAttribute(v, b));
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
894
|
function ae(m) {
|
|
@@ -897,17 +897,17 @@ var us = { 7: function(n, e, t) {
|
|
|
897
897
|
function he(m) {
|
|
898
898
|
return this.l[m.type + !0](i.event ? i.event(m) : m);
|
|
899
899
|
}
|
|
900
|
-
function Ie(m,
|
|
901
|
-
var _e, w, be, J, H, E, Se, B, F, Me, ot, fe, Kt, it, R, V =
|
|
902
|
-
if (
|
|
903
|
-
b.__h != null && (G = b.__h, X =
|
|
900
|
+
function Ie(m, v, b, j, T, I, W, X, G) {
|
|
901
|
+
var _e, w, be, J, H, E, Se, B, F, Me, ot, fe, Kt, it, R, V = v.type;
|
|
902
|
+
if (v.constructor !== void 0) return null;
|
|
903
|
+
b.__h != null && (G = b.__h, X = v.__e = b.__e, v.__h = null, I = [X]), (_e = i.__b) && _e(v);
|
|
904
904
|
try {
|
|
905
905
|
e: if (typeof V == "function") {
|
|
906
|
-
if (B =
|
|
906
|
+
if (B = v.props, F = (_e = V.contextType) && j[_e.__c], Me = _e ? F ? F.props.value : _e.__ : j, b.__c ? Se = (w = v.__c = b.__c).__ = w.__E : ("prototype" in V && V.prototype.render ? v.__c = w = new V(B, Me) : (v.__c = w = new U(B, Me), w.constructor = V, w.render = K), F && F.sub(w), w.props = B, w.state || (w.state = {}), w.context = Me, w.__n = j, be = w.__d = !0, w.__h = [], w._sb = []), w.__s == null && (w.__s = w.state), V.getDerivedStateFromProps != null && (w.__s == w.state && (w.__s = O({}, w.__s)), O(w.__s, V.getDerivedStateFromProps(B, w.__s))), J = w.props, H = w.state, w.__v = v, be) V.getDerivedStateFromProps == null && w.componentWillMount != null && w.componentWillMount(), w.componentDidMount != null && w.__h.push(w.componentDidMount);
|
|
907
907
|
else {
|
|
908
|
-
if (V.getDerivedStateFromProps == null && B !== J && w.componentWillReceiveProps != null && w.componentWillReceiveProps(B, Me), !w.__e && w.shouldComponentUpdate != null && w.shouldComponentUpdate(B, w.__s, Me) === !1 ||
|
|
909
|
-
for (
|
|
910
|
-
Qe && (Qe.__ =
|
|
908
|
+
if (V.getDerivedStateFromProps == null && B !== J && w.componentWillReceiveProps != null && w.componentWillReceiveProps(B, Me), !w.__e && w.shouldComponentUpdate != null && w.shouldComponentUpdate(B, w.__s, Me) === !1 || v.__v === b.__v) {
|
|
909
|
+
for (v.__v !== b.__v && (w.props = B, w.state = w.__s, w.__d = !1), w.__e = !1, v.__e = b.__e, v.__k = b.__k, v.__k.forEach(function(Qe) {
|
|
910
|
+
Qe && (Qe.__ = v);
|
|
911
911
|
}), ot = 0; ot < w._sb.length; ot++) w.__h.push(w._sb[ot]);
|
|
912
912
|
w._sb = [], w.__h.length && W.push(w);
|
|
913
913
|
break e;
|
|
@@ -917,20 +917,20 @@ var us = { 7: function(n, e, t) {
|
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
919
|
if (w.context = Me, w.props = B, w.__P = m, fe = i.__r, Kt = 0, "prototype" in V && V.prototype.render) {
|
|
920
|
-
for (w.state = w.__s, w.__d = !1, fe && fe(
|
|
920
|
+
for (w.state = w.__s, w.__d = !1, fe && fe(v), _e = w.render(w.props, w.state, w.context), it = 0; it < w._sb.length; it++) w.__h.push(w._sb[it]);
|
|
921
921
|
w._sb = [];
|
|
922
922
|
} else do
|
|
923
|
-
w.__d = !1, fe && fe(
|
|
923
|
+
w.__d = !1, fe && fe(v), _e = w.render(w.props, w.state, w.context), w.state = w.__s;
|
|
924
924
|
while (w.__d && ++Kt < 25);
|
|
925
|
-
w.state = w.__s, w.getChildContext != null && (j = O(O({}, j), w.getChildContext())), be || w.getSnapshotBeforeUpdate == null || (E = w.getSnapshotBeforeUpdate(J, H)), R = _e != null && _e.type === N && _e.key == null ? _e.props.children : _e, M(m, Array.isArray(R) ? R : [R],
|
|
926
|
-
} else I == null &&
|
|
927
|
-
(_e = i.diffed) && _e(
|
|
925
|
+
w.state = w.__s, w.getChildContext != null && (j = O(O({}, j), w.getChildContext())), be || w.getSnapshotBeforeUpdate == null || (E = w.getSnapshotBeforeUpdate(J, H)), R = _e != null && _e.type === N && _e.key == null ? _e.props.children : _e, M(m, Array.isArray(R) ? R : [R], v, b, j, T, I, W, X, G), w.base = v.__e, v.__h = null, w.__h.length && W.push(w), Se && (w.__E = w.__ = null), w.__e = !1;
|
|
926
|
+
} else I == null && v.__v === b.__v ? (v.__k = b.__k, v.__e = b.__e) : v.__e = p(b.__e, v, b, j, T, I, W, G);
|
|
927
|
+
(_e = i.diffed) && _e(v);
|
|
928
928
|
} catch (Qe) {
|
|
929
|
-
|
|
929
|
+
v.__v = null, (G || I != null) && (v.__e = X, v.__h = !!G, I[I.indexOf(X)] = null), i.__e(Qe, v, b);
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
|
-
function k(m,
|
|
933
|
-
i.__c && i.__c(
|
|
932
|
+
function k(m, v) {
|
|
933
|
+
i.__c && i.__c(v, m), m.some(function(b) {
|
|
934
934
|
try {
|
|
935
935
|
m = b.__h, b.__h = [], m.some(function(j) {
|
|
936
936
|
j.call(b);
|
|
@@ -940,8 +940,8 @@ var us = { 7: function(n, e, t) {
|
|
|
940
940
|
}
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
|
-
function p(m,
|
|
944
|
-
var G, _e, w, be = b.props, J =
|
|
943
|
+
function p(m, v, b, j, T, I, W, X) {
|
|
944
|
+
var G, _e, w, be = b.props, J = v.props, H = v.type, E = 0;
|
|
945
945
|
if (H === "svg" && (T = !0), I != null) {
|
|
946
946
|
for (; E < I.length; E++) if ((G = I[E]) && "setAttribute" in G == !!H && (H ? G.localName === H : G.nodeType === 3)) {
|
|
947
947
|
m = G, I[E] = null;
|
|
@@ -954,7 +954,7 @@ var us = { 7: function(n, e, t) {
|
|
|
954
954
|
}
|
|
955
955
|
if (H === null) be === J || X && m.data === J || (m.data = J);
|
|
956
956
|
else {
|
|
957
|
-
if (I = I && o.call(m.childNodes), _e = (be = b.props ||
|
|
957
|
+
if (I = I && o.call(m.childNodes), _e = (be = b.props || g).dangerouslySetInnerHTML, w = J.dangerouslySetInnerHTML, !X) {
|
|
958
958
|
if (I != null) for (be = {}, E = 0; E < m.attributes.length; E++) be[m.attributes[E].name] = m.attributes[E].value;
|
|
959
959
|
(w || _e) && (w && (_e && w.__html == _e.__html || w.__html === m.innerHTML) || (m.innerHTML = w && w.__html || ""));
|
|
960
960
|
}
|
|
@@ -962,53 +962,53 @@ var us = { 7: function(n, e, t) {
|
|
|
962
962
|
var fe;
|
|
963
963
|
for (fe in F) fe === "children" || fe === "key" || fe in B || re(Se, fe, null, F[fe], Me);
|
|
964
964
|
for (fe in B) ot && typeof B[fe] != "function" || fe === "children" || fe === "key" || fe === "value" || fe === "checked" || F[fe] === B[fe] || re(Se, fe, B[fe], F[fe], Me);
|
|
965
|
-
}(m, J, be, T, X), w)
|
|
966
|
-
else if (E =
|
|
965
|
+
}(m, J, be, T, X), w) v.__k = [];
|
|
966
|
+
else if (E = v.props.children, M(m, Array.isArray(E) ? E : [E], v, b, j, T && H !== "foreignObject", I, W, I ? I[0] : b.__k && ie(b, 0), X), I != null) for (E = I.length; E--; ) I[E] != null && C(I[E]);
|
|
967
967
|
X || ("value" in J && (E = J.value) !== void 0 && (E !== m.value || H === "progress" && !E || H === "option" && E !== be.value) && re(m, "value", E, be.value, !1), "checked" in J && (E = J.checked) !== void 0 && E !== m.checked && re(m, "checked", E, be.checked, !1));
|
|
968
968
|
}
|
|
969
969
|
return m;
|
|
970
970
|
}
|
|
971
|
-
function y(m,
|
|
971
|
+
function y(m, v, b) {
|
|
972
972
|
try {
|
|
973
|
-
typeof m == "function" ? m(
|
|
973
|
+
typeof m == "function" ? m(v) : m.current = v;
|
|
974
974
|
} catch (j) {
|
|
975
975
|
i.__e(j, b);
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
function L(m,
|
|
978
|
+
function L(m, v, b) {
|
|
979
979
|
var j, T;
|
|
980
|
-
if (i.unmount && i.unmount(m), (j = m.ref) && (j.current && j.current !== m.__e || y(j, null,
|
|
980
|
+
if (i.unmount && i.unmount(m), (j = m.ref) && (j.current && j.current !== m.__e || y(j, null, v)), (j = m.__c) != null) {
|
|
981
981
|
if (j.componentWillUnmount) try {
|
|
982
982
|
j.componentWillUnmount();
|
|
983
983
|
} catch (I) {
|
|
984
|
-
i.__e(I,
|
|
984
|
+
i.__e(I, v);
|
|
985
985
|
}
|
|
986
986
|
j.base = j.__P = null, m.__c = void 0;
|
|
987
987
|
}
|
|
988
|
-
if (j = m.__k) for (T = 0; T < j.length; T++) j[T] && L(j[T],
|
|
988
|
+
if (j = m.__k) for (T = 0; T < j.length; T++) j[T] && L(j[T], v, b || typeof m.type != "function");
|
|
989
989
|
b || m.__e == null || C(m.__e), m.__ = m.__e = m.__d = void 0;
|
|
990
990
|
}
|
|
991
|
-
function K(m,
|
|
991
|
+
function K(m, v, b) {
|
|
992
992
|
return this.constructor(m, b);
|
|
993
993
|
}
|
|
994
|
-
function pe(m,
|
|
994
|
+
function pe(m, v, b) {
|
|
995
995
|
var j, T, I;
|
|
996
|
-
i.__ && i.__(m,
|
|
996
|
+
i.__ && i.__(m, v), T = (j = typeof b == "function") ? null : b && b.__k || v.__k, I = [], Ie(v, m = (!j && b || v).__k = S(N, null, [m]), T || g, g, v.ownerSVGElement !== void 0, !j && b ? [b] : T ? null : v.firstChild ? o.call(v.childNodes) : null, I, !j && b ? b : T ? T.__e : v.firstChild, j), k(I, m);
|
|
997
997
|
}
|
|
998
|
-
function ze(m,
|
|
999
|
-
pe(m,
|
|
998
|
+
function ze(m, v) {
|
|
999
|
+
pe(m, v, ze);
|
|
1000
1000
|
}
|
|
1001
|
-
function qe(m,
|
|
1001
|
+
function qe(m, v, b) {
|
|
1002
1002
|
var j, T, I, W = O({}, m.props);
|
|
1003
|
-
for (I in
|
|
1003
|
+
for (I in v) I == "key" ? j = v[I] : I == "ref" ? T = v[I] : W[I] = v[I];
|
|
1004
1004
|
return arguments.length > 2 && (W.children = arguments.length > 3 ? o.call(arguments, 2) : b), P(m.type, W, j || m.key, T || m.ref, null);
|
|
1005
1005
|
}
|
|
1006
|
-
function Fe(m,
|
|
1007
|
-
var b = { __c:
|
|
1006
|
+
function Fe(m, v) {
|
|
1007
|
+
var b = { __c: v = "__cC" + h++, __: m, Consumer: function(j, T) {
|
|
1008
1008
|
return j.children(T);
|
|
1009
1009
|
}, Provider: function(j) {
|
|
1010
1010
|
var T, I;
|
|
1011
|
-
return this.getChildContext || (T = [], (I = {})[
|
|
1011
|
+
return this.getChildContext || (T = [], (I = {})[v] = this, this.getChildContext = function() {
|
|
1012
1012
|
return I;
|
|
1013
1013
|
}, this.shouldComponentUpdate = function(W) {
|
|
1014
1014
|
this.props.value !== W.value && T.some(function(X) {
|
|
@@ -1024,8 +1024,8 @@ var us = { 7: function(n, e, t) {
|
|
|
1024
1024
|
} };
|
|
1025
1025
|
return b.Provider.__ = b.Consumer.contextType = b;
|
|
1026
1026
|
}
|
|
1027
|
-
o = f.slice, i = { __e: function(m,
|
|
1028
|
-
for (var T, I, W;
|
|
1027
|
+
o = f.slice, i = { __e: function(m, v, b, j) {
|
|
1028
|
+
for (var T, I, W; v = v.__; ) if ((T = v.__c) && !T.__) try {
|
|
1029
1029
|
if ((I = T.constructor) && I.getDerivedStateFromError != null && (T.setState(I.getDerivedStateFromError(m)), W = T.__d), T.componentDidCatch != null && (T.componentDidCatch(m, j || {}), W = T.__d), W) return T.__E = T;
|
|
1030
1030
|
} catch (X) {
|
|
1031
1031
|
m = X;
|
|
@@ -1033,17 +1033,17 @@ var us = { 7: function(n, e, t) {
|
|
|
1033
1033
|
throw m;
|
|
1034
1034
|
} }, s = 0, a = function(m) {
|
|
1035
1035
|
return m != null && m.constructor === void 0;
|
|
1036
|
-
}, U.prototype.setState = function(m,
|
|
1036
|
+
}, U.prototype.setState = function(m, v) {
|
|
1037
1037
|
var b;
|
|
1038
|
-
b = this.__s != null && this.__s !== this.state ? this.__s : this.__s = O({}, this.state), typeof m == "function" && (m = m(O({}, b), this.props)), m && O(b, m), m != null && this.__v && (
|
|
1038
|
+
b = this.__s != null && this.__s !== this.state ? this.__s : this.__s = O({}, this.state), typeof m == "function" && (m = m(O({}, b), this.props)), m && O(b, m), m != null && this.__v && (v && this._sb.push(v), se(this));
|
|
1039
1039
|
}, U.prototype.forceUpdate = function(m) {
|
|
1040
1040
|
this.__v && (this.__e = !0, m && this.__h.push(m), se(this));
|
|
1041
|
-
}, U.prototype.render = N, c = [], l = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, u = function(m,
|
|
1042
|
-
return m.__v.__b -
|
|
1041
|
+
}, U.prototype.render = N, c = [], l = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, u = function(m, v) {
|
|
1042
|
+
return m.__v.__b - v.__v.__b;
|
|
1043
1043
|
}, we.__r = 0, h = 0;
|
|
1044
1044
|
}, 78: (n, e, t) => {
|
|
1045
|
-
t.r(e), t.d(e, { useCallback: () => se, useContext: () => we, useDebugValue: () => M, useEffect: () => D, useErrorBoundary: () => z, useId: () =>
|
|
1046
|
-
var o, i, s, a, c = t(616), d = 0, l = [], u = [], h = c.options.__b,
|
|
1045
|
+
t.r(e), t.d(e, { useCallback: () => se, useContext: () => we, useDebugValue: () => M, useEffect: () => D, useErrorBoundary: () => z, useId: () => ge, useImperativeHandle: () => ie, useLayoutEffect: () => N, useMemo: () => ye, useReducer: () => P, useRef: () => U, useState: () => S });
|
|
1046
|
+
var o, i, s, a, c = t(616), d = 0, l = [], u = [], h = c.options.__b, g = c.options.__r, f = c.options.diffed, x = c.options.__c, O = c.options.unmount;
|
|
1047
1047
|
function C(k, p) {
|
|
1048
1048
|
c.options.__h && c.options.__h(i, k, d || p), d = 0;
|
|
1049
1049
|
var y = i.__H || (i.__H = { __: [], __h: [] });
|
|
@@ -1060,14 +1060,14 @@ var us = { 7: function(n, e, t) {
|
|
|
1060
1060
|
}], L.__c = i, !i.u)) {
|
|
1061
1061
|
var K = function(qe, Fe, m) {
|
|
1062
1062
|
if (!L.__c.__H) return !0;
|
|
1063
|
-
var
|
|
1063
|
+
var v = L.__c.__H.__.filter(function(j) {
|
|
1064
1064
|
return j.__c;
|
|
1065
1065
|
});
|
|
1066
|
-
if (
|
|
1066
|
+
if (v.every(function(j) {
|
|
1067
1067
|
return !j.__N;
|
|
1068
1068
|
})) return !pe || pe.call(this, qe, Fe, m);
|
|
1069
1069
|
var b = !1;
|
|
1070
|
-
return
|
|
1070
|
+
return v.forEach(function(j) {
|
|
1071
1071
|
if (j.__N) {
|
|
1072
1072
|
var T = j.__[0];
|
|
1073
1073
|
j.__ = j.__N, j.__N = void 0, T !== j.__[0] && (b = !0);
|
|
@@ -1078,8 +1078,8 @@ var us = { 7: function(n, e, t) {
|
|
|
1078
1078
|
var pe = i.shouldComponentUpdate, ze = i.componentWillUpdate;
|
|
1079
1079
|
i.componentWillUpdate = function(qe, Fe, m) {
|
|
1080
1080
|
if (this.__e) {
|
|
1081
|
-
var
|
|
1082
|
-
pe = void 0, K(qe, Fe, m), pe =
|
|
1081
|
+
var v = pe;
|
|
1082
|
+
pe = void 0, K(qe, Fe, m), pe = v;
|
|
1083
1083
|
}
|
|
1084
1084
|
ze && ze.call(this, qe, Fe, m);
|
|
1085
1085
|
}, i.shouldComponentUpdate = K;
|
|
@@ -1132,7 +1132,7 @@ var us = { 7: function(n, e, t) {
|
|
|
1132
1132
|
y[1](void 0);
|
|
1133
1133
|
}];
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function ge() {
|
|
1136
1136
|
var k = C(o++, 11);
|
|
1137
1137
|
if (!k.__) {
|
|
1138
1138
|
for (var p = i.__v; p !== null && !p.__m && p.__ !== null; ) p = p.__;
|
|
@@ -1151,7 +1151,7 @@ var us = { 7: function(n, e, t) {
|
|
|
1151
1151
|
c.options.__b = function(k) {
|
|
1152
1152
|
i = null, h && h(k);
|
|
1153
1153
|
}, c.options.__r = function(k) {
|
|
1154
|
-
|
|
1154
|
+
g && g(k), o = 0;
|
|
1155
1155
|
var p = (i = k.__c).__H;
|
|
1156
1156
|
p && (s === i ? (p.__h = [], i.__h = [], p.__.forEach(function(y) {
|
|
1157
1157
|
y.__N && (y.__ = y.__N), y.__V = u, y.__N = y.i = void 0;
|
|
@@ -1219,8 +1219,8 @@ var us = { 7: function(n, e, t) {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
function o(s, a) {
|
|
1221
1221
|
for (var c = {}, d = [], l = 0; l < s.length; l++) {
|
|
1222
|
-
var u = s[l], h = a.base ? u[0] + a.base : u[0],
|
|
1223
|
-
c[h] =
|
|
1222
|
+
var u = s[l], h = a.base ? u[0] + a.base : u[0], g = c[h] || 0, f = "".concat(h, " ").concat(g);
|
|
1223
|
+
c[h] = g + 1;
|
|
1224
1224
|
var x = t(f), O = { css: u[1], media: u[2], sourceMap: u[3], supports: u[4], layer: u[5] };
|
|
1225
1225
|
if (x !== -1) e[x].references++, e[x].updater(O);
|
|
1226
1226
|
else {
|
|
@@ -1248,8 +1248,8 @@ var us = { 7: function(n, e, t) {
|
|
|
1248
1248
|
var u = t(c[l]);
|
|
1249
1249
|
e[u].references--;
|
|
1250
1250
|
}
|
|
1251
|
-
for (var h = o(d, a),
|
|
1252
|
-
var f = t(c[
|
|
1251
|
+
for (var h = o(d, a), g = 0; g < c.length; g++) {
|
|
1252
|
+
var f = t(c[g]);
|
|
1253
1253
|
e[f].references === 0 && (e[f].updater(), e.splice(f, 1));
|
|
1254
1254
|
}
|
|
1255
1255
|
c = h;
|
|
@@ -1280,8 +1280,8 @@ var us = { 7: function(n, e, t) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
if (s.styleSheet) s.styleSheet.cssText = t(a, l);
|
|
1282
1282
|
else {
|
|
1283
|
-
var h = document.createTextNode(l),
|
|
1284
|
-
|
|
1283
|
+
var h = document.createTextNode(l), g = s.childNodes;
|
|
1284
|
+
g[a] && s.removeChild(g[a]), g.length ? s.insertBefore(h, g[a]) : s.appendChild(h);
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
1287
1287
|
var i = { singleton: null, singletonCounter: 0 };
|
|
@@ -1317,7 +1317,7 @@ Y.n = (n) => {
|
|
|
1317
1317
|
var oe = {};
|
|
1318
1318
|
Y.d(oe, { fK: () => wn, tJ: () => xi, Z7: () => An, Q9: () => Pi, Lv: () => Ai, qQ: () => xn, I4: () => Di, O8: () => Ce, ku: () => io, ls: () => oo, bO: () => so, yv: () => Cn, AT: () => ao, m_: () => zt, KG: () => ro, DH: () => Sn, kf: () => mo, oY: () => De, xg: () => Ei, Wg: () => Je, J: () => Ii, AC: () => lo, D_: () => Ye, jx: () => Oi, nX: () => co, Nx: () => no, Sd: () => mt, kz: () => oa, fX: () => uo, qA: () => ho, tz: () => fo, gN: () => po });
|
|
1319
1319
|
var Vn = {};
|
|
1320
|
-
Y.r(Vn), Y.d(Vn, { apple: () => tr, checkmark: () => nr, copy: () => or, customProvider: () => ir, discord: () => sr, exclamation: () => rr, facebook: () => ar, github: () => lr, google: () => cr, linkedin: () => dr, mail: () => ur, microsoft: () => hr, passkey: () => pr, password: () => fr, qrCodeScanner: () => mr, securityKey: () =>
|
|
1320
|
+
Y.r(Vn), Y.d(Vn, { apple: () => tr, checkmark: () => nr, copy: () => or, customProvider: () => ir, discord: () => sr, exclamation: () => rr, facebook: () => ar, github: () => lr, google: () => cr, linkedin: () => dr, mail: () => ur, microsoft: () => hr, passkey: () => pr, password: () => fr, qrCodeScanner: () => mr, securityKey: () => gr, spinner: () => vr });
|
|
1321
1321
|
var A = Y(616), hs = 0;
|
|
1322
1322
|
function r(n, e, t, o, i, s) {
|
|
1323
1323
|
var a, c, d = {};
|
|
@@ -1357,13 +1357,13 @@ function hi(n) {
|
|
|
1357
1357
|
return t ? t.toUpperCase() : "";
|
|
1358
1358
|
});
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function gs(n, e, t) {
|
|
1361
1361
|
if (this._vdom) {
|
|
1362
1362
|
var o = {};
|
|
1363
1363
|
o[n] = t = t ?? void 0, o[hi(n)] = t, this._vdom = (0, A.cloneElement)(this._vdom, o), (0, A.render)(this._vdom, this._root);
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function vs() {
|
|
1367
1367
|
(0, A.render)(this._vdom = null, this._root);
|
|
1368
1368
|
}
|
|
1369
1369
|
function $o(n, e) {
|
|
@@ -1421,15 +1421,15 @@ function mi(n, e, t) {
|
|
|
1421
1421
|
return mi(o, e, t);
|
|
1422
1422
|
})), n;
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1424
|
+
function gi(n, e, t) {
|
|
1425
1425
|
return n && (n.__v = null, n.__k = n.__k && n.__k.map(function(o) {
|
|
1426
|
-
return
|
|
1426
|
+
return gi(o, e, t);
|
|
1427
1427
|
}), n.__c && n.__c.__P === e && (n.__e && t.insertBefore(n.__e, n.__d), n.__c.__e = !0, n.__c.__P = t)), n;
|
|
1428
1428
|
}
|
|
1429
1429
|
function Tn() {
|
|
1430
1430
|
this.__u = 0, this.t = null, this.__b = null;
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function vi(n) {
|
|
1433
1433
|
var e = n.__.__c;
|
|
1434
1434
|
return e && e.__a && e.__a(n);
|
|
1435
1435
|
}
|
|
@@ -1442,7 +1442,7 @@ A.options.unmount = function(n) {
|
|
|
1442
1442
|
}, (Tn.prototype = new A.Component()).__c = function(n, e) {
|
|
1443
1443
|
var t = e.__c, o = this;
|
|
1444
1444
|
o.t == null && (o.t = []), o.t.push(t);
|
|
1445
|
-
var i =
|
|
1445
|
+
var i = vi(o.__v), s = !1, a = function() {
|
|
1446
1446
|
s || (s = !0, t.__R = null, i ? i(c) : c());
|
|
1447
1447
|
};
|
|
1448
1448
|
t.__R = a;
|
|
@@ -1450,7 +1450,7 @@ A.options.unmount = function(n) {
|
|
|
1450
1450
|
if (!--o.__u) {
|
|
1451
1451
|
if (o.state.__a) {
|
|
1452
1452
|
var l = o.state.__a;
|
|
1453
|
-
o.__v.__k[0] =
|
|
1453
|
+
o.__v.__k[0] = gi(l, l.__c.__P, l.__c.__O);
|
|
1454
1454
|
}
|
|
1455
1455
|
var u;
|
|
1456
1456
|
for (o.setState({ __a: o.__b = null }); u = o.t.pop(); ) u.forceUpdate();
|
|
@@ -1478,7 +1478,7 @@ var Mo = function(n, e, t) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
};
|
|
1480
1480
|
(Bt.prototype = new A.Component()).__a = function(n) {
|
|
1481
|
-
var e = this, t =
|
|
1481
|
+
var e = this, t = vi(e.__v), o = e.o.get(n);
|
|
1482
1482
|
return o[0]++, function(i) {
|
|
1483
1483
|
var s = function() {
|
|
1484
1484
|
e.props.revealOrder ? (o.push(i), Mo(e, n, o)) : i();
|
|
@@ -2065,10 +2065,10 @@ class Hs {
|
|
|
2065
2065
|
l = i === !1 ? 0 : Date.now(), d = null, e.apply(a, c);
|
|
2066
2066
|
};
|
|
2067
2067
|
return function(...h) {
|
|
2068
|
-
const
|
|
2069
|
-
l || i !== !1 || (l =
|
|
2070
|
-
const f = t - (
|
|
2071
|
-
a = this, c = h, f <= 0 || f > t ? (d && (window.clearTimeout(d), d = null), l =
|
|
2068
|
+
const g = Date.now();
|
|
2069
|
+
l || i !== !1 || (l = g);
|
|
2070
|
+
const f = t - (g - l);
|
|
2071
|
+
a = this, c = h, f <= 0 || f > t ? (d && (window.clearTimeout(d), d = null), l = g, e.apply(a, c)) : d || s === !1 || (d = window.setTimeout(u, f));
|
|
2072
2072
|
};
|
|
2073
2073
|
}
|
|
2074
2074
|
}
|
|
@@ -2315,7 +2315,7 @@ class Vs extends lt {
|
|
|
2315
2315
|
try {
|
|
2316
2316
|
if (!Bo(o)) throw new Zs(o);
|
|
2317
2317
|
const a = i[o.name];
|
|
2318
|
-
if (!a) throw new
|
|
2318
|
+
if (!a) throw new go(o);
|
|
2319
2319
|
let c = await a(o);
|
|
2320
2320
|
if (typeof (s = c) == "object" && s !== null && "href" in s && "inputs" in s && (c = await c.run()), Bo(c)) return t.run(c, i);
|
|
2321
2321
|
} catch (a) {
|
|
@@ -2349,9 +2349,9 @@ class Vs extends lt {
|
|
|
2349
2349
|
await this.run(i, t);
|
|
2350
2350
|
}
|
|
2351
2351
|
}
|
|
2352
|
-
class
|
|
2352
|
+
class go extends Ce {
|
|
2353
2353
|
constructor(e) {
|
|
2354
|
-
super("No handler found for state: " + (typeof e.name == "string" ? `"${e.name}"` : `(${typeof e.name})`), "handlerNotFoundError"), this.state = void 0, this.state = e, Object.setPrototypeOf(this,
|
|
2354
|
+
super("No handler found for state: " + (typeof e.name == "string" ? `"${e.name}"` : `(${typeof e.name})`), "handlerNotFoundError"), this.state = void 0, this.state = e, Object.setPrototypeOf(this, go.prototype);
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
2357
|
class Zs extends Error {
|
|
@@ -2405,11 +2405,11 @@ wt.setAttributes = tt(), wt.insert = (n) => {
|
|
|
2405
2405
|
}, wt.domAPI = et(), wt.insertStyleElement = nt(), Xe()(an.A, wt);
|
|
2406
2406
|
const $ = an.A && an.A.locals ? an.A.locals : void 0;
|
|
2407
2407
|
var er = Y(633), Q = Y.n(er);
|
|
2408
|
-
const tr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-apple", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "20.5 16 15 19", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M28.2226562,20.3846154 C29.0546875,20.3846154 30.0976562,19.8048315 30.71875,19.0317864 C31.28125,18.3312142 31.6914062,17.352829 31.6914062,16.3744437 C31.6914062,16.2415766 31.6796875,16.1087095 31.65625,16 C30.7304687,16.0362365 29.6171875,16.640178 28.9492187,17.4494596 C28.421875,18.06548 27.9414062,19.0317864 27.9414062,20.0222505 C27.9414062,20.1671964 27.9648438,20.3121424 27.9765625,20.3604577 C28.0351562,20.3725366 28.1289062,20.3846154 28.2226562,20.3846154 Z M25.2929688,35 C26.4296875,35 26.9335938,34.214876 28.3515625,34.214876 C29.7929688,34.214876 30.109375,34.9758423 31.375,34.9758423 C32.6171875,34.9758423 33.4492188,33.792117 34.234375,32.6325493 C35.1132812,31.3038779 35.4765625,29.9993643 35.5,29.9389701 C35.4179688,29.9148125 33.0390625,28.9122695 33.0390625,26.0979021 C33.0390625,23.6579784 34.9140625,22.5588048 35.0195312,22.474253 C33.7773438,20.6382708 31.890625,20.5899555 31.375,20.5899555 C29.9804688,20.5899555 28.84375,21.4596313 28.1289062,21.4596313 C27.3554688,21.4596313 26.3359375,20.6382708 25.1289062,20.6382708 C22.8320312,20.6382708 20.5,22.5950413 20.5,26.2911634 C20.5,28.5861411 21.3671875,31.013986 22.4335938,32.5842339 C23.3476562,33.9129053 24.1445312,35 25.2929688,35 Z" }) })), nr = ({ secondary: n, size: e, fadeOut: t, disabled: o }) => r("svg", Object.assign({ id: "icon-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "4 4 40 40", width: e, height: e, className: Q()($.checkmark, n && $.secondary, t && $.fadeOut, o && $.disabled) }, { children: r("path", { d: "M21.05 33.1 35.2 18.95l-2.3-2.25-11.85 11.85-6-6-2.25 2.25ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 24q0-4.15 1.575-7.8 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24 4q4.15 0 7.8 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm0-3q7.1 0 12.05-4.975Q41 31.05 41 24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24 41Zm0-17Z" }) })), or = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z" }) })), ir = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-custom-provider", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: [r("path", { d: "M0 0h24v24H0z", fill: "none" }), r("path", { d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" })] })), sr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-discord", fill: "#fff", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 0 127.14 96.36", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z" }) })), rr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-exclamation", xmlns: "http://www.w3.org/2000/svg", viewBox: "5 2 13 20", width: n, height: n, className: Q()($.exclamationMark, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) })), ar = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ width: n, height: n, viewBox: "0 0 666.66668 666.66717", xmlns: "http://www.w3.org/2000/svg" }, { children: [r("defs", Object.assign({ id: "defs13" }, { children: r("clipPath", Object.assign({ clipPathUnits: "userSpaceOnUse", id: "clipPath25" }, { children: r("path", { d: "M 0,700 H 700 V 0 H 0 Z", id: "path23" }) })) })), r("g", Object.assign({ id: "g17", transform: "matrix(1.3333333,0,0,-1.3333333,-133.33333,799.99999)" }, { children: r("g", Object.assign({ id: "g19" }, { children: r("g", Object.assign({ id: "g21", clipPath: "url(#clipPath25)" }, { children: [r("g", Object.assign({ id: "g27", transform: "translate(600,350)" }, { children: r("path", { className: Q()($.facebookIcon, t ? $.disabledOutline : $.outline), d: "m 0,0 c 0,138.071 -111.929,250 -250,250 -138.071,0 -250,-111.929 -250,-250 0,-117.245 80.715,-215.622 189.606,-242.638 v 166.242 h -51.552 V 0 h 51.552 v 32.919 c 0,85.092 38.508,124.532 122.048,124.532 15.838,0 43.167,-3.105 54.347,-6.211 V 81.986 c -5.901,0.621 -16.149,0.932 -28.882,0.932 -40.993,0 -56.832,-15.528 -56.832,-55.9 V 0 h 81.659 l -14.028,-76.396 h -67.631 V -248.169 C -95.927,-233.218 0,-127.818 0,0", id: "path29" }) })), r("g", Object.assign({ id: "g31", transform: "translate(447.9175,273.6036)" }, { children: r("path", { className: Q()($.facebookIcon, t ? $.disabledLetter : $.letter), d: "M 0,0 14.029,76.396 H -67.63 v 27.019 c 0,40.372 15.838,55.899 56.831,55.899 12.733,0 22.981,-0.31 28.882,-0.931 v 69.253 c -11.18,3.106 -38.509,6.212 -54.347,6.212 -83.539,0 -122.048,-39.441 -122.048,-124.533 V 76.396 h -51.552 V 0 h 51.552 v -166.242 c 19.343,-4.798 39.568,-7.362 60.394,-7.362 10.254,0 20.358,0.632 30.288,1.831 L -67.63,0 Z", id: "path33" }) }))] })) })) }))] })), lr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-github", xmlns: "http://www.w3.org/2000/svg", fill: "#fff", viewBox: "0 0 97.63 96", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: [r("path", { d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" }), " "] })), cr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-google", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: $.googleIcon }, { children: [r("path", { className: Q()($.googleIcon, e ? $.disabled : $.blue), d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.green), d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.yellow), d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.red), d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" }), r("path", { d: "M1 1h22v22H1z", fill: "none" })] })), dr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-linkedin", fill: "#fff", xmlns: "http://www.w3.org/2000/svg", width: n, viewBox: "0 0 24 24", height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z" }) })), ur = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-mail", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 -960 960 960", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80 320-200H160l320 200ZM160-640v-80 480-400Z" }) })), hr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-microsoft", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: $.microsoftIcon }, { children: [r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.blue), x: "1", y: "1", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.green), x: "1", y: "11", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.yellow), x: "11", y: "1", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.red), x: "11", y: "11", width: "9", height: "9" })] })), pr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-passkey", xmlns: "http://www.w3.org/2000/svg", viewBox: "3 1.5 19.5 19", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("g", Object.assign({ id: "icon-passkey-all" }, { children: [r("circle", { id: "icon-passkey-head", cx: "10.5", cy: "6", r: "4.5" }), r("path", { id: "icon-passkey-key", d: "M22.5,10.5a3.5,3.5,0,1,0-5,3.15V19L19,20.5,21.5,18,20,16.5,21.5,15l-1.24-1.24A3.5,3.5,0,0,0,22.5,10.5Zm-3.5,0a1,1,0,1,1,1-1A1,1,0,0,1,19,10.5Z" }), r("path", { id: "icon-passkey-body", d: "M14.44,12.52A6,6,0,0,0,12,12H9a6,6,0,0,0-6,6v2H16V14.49A5.16,5.16,0,0,1,14.44,12.52Z" })] })) })), fr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-password", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 -960 960 960", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z" }) })), mr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M80-680v-200h200v80H160v120H80Zm0 600v-200h80v120h120v80H80Zm600 0v-80h120v-120h80v200H680Zm120-600v-120H680v-80h200v200h-80ZM700-260h60v60h-60v-60Zm0-120h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60-60h60v60h-60v-60Zm120-120h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60-60h60v60h-60v-60Zm240-320v240H520v-240h240ZM440-440v240H200v-240h240Zm0-320v240H200v-240h240Zm-60 500v-120H260v120h120Zm0-320v-120H260v120h120Zm320 0v-120H580v120h120Z" }) })), vr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M280-240q-100 0-170-70T40-480q0-100 70-170t170-70q66 0 121 33t87 87h432v240h-80v120H600v-120H488q-32 54-87 87t-121 33Zm0-80q66 0 106-40.5t48-79.5h246v120h80v-120h80v-80H434q-8-39-48-79.5T280-640q-66 0-113 47t-47 113q0 66 47 113t113 47Zm0-80q33 0 56.5-23.5T360-480q0-33-23.5-56.5T280-560q-33 0-56.5 23.5T200-480q0 33 23.5 56.5T280-400Zm0-80Z" }) })), gr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-spinner", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: Q()($.loadingSpinner, e && $.disabled) }, { children: [r("path", { d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", opacity: ".25" }), r("path", { d: "M10.72,19.9a8,8,0,0,1-6.5-9.79A7.77,7.77,0,0,1,10.4,4.16a8,8,0,0,1,9.49,6.52A1.54,1.54,0,0,0,21.38,12h.13a1.37,1.37,0,0,0,1.38-1.54,11,11,0,1,0-12.7,12.39A1.54,1.54,0,0,0,12,21.34h0A1.47,1.47,0,0,0,10.72,19.9Z" })] })), Wt = ({ name: n, secondary: e, size: t = 18, fadeOut: o, disabled: i }) => r(Vn[n], { size: t, secondary: e, fadeOut: o, disabled: i }), go = ({ children: n, isLoading: e, isSuccess: t, fadeOut: o, secondary: i, hasIcon: s, maxWidth: a }) => r(A.Fragment, { children: r("div", e ? Object.assign({ className: Q()($.loadingSpinnerWrapper, $.centerContent, a && $.maxWidth) }, { children: r(Wt, { name: "spinner", secondary: i }) }) : t ? Object.assign({ className: Q()($.loadingSpinnerWrapper, $.centerContent, a && $.maxWidth) }, { children: r(Wt, { name: "checkmark", secondary: i, fadeOut: o }) }) : Object.assign({ className: s ? $.loadingSpinnerWrapperIcon : $.loadingSpinnerWrapper }, { children: n })) }), _r = () => {
|
|
2408
|
+
const tr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-apple", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "20.5 16 15 19", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M28.2226562,20.3846154 C29.0546875,20.3846154 30.0976562,19.8048315 30.71875,19.0317864 C31.28125,18.3312142 31.6914062,17.352829 31.6914062,16.3744437 C31.6914062,16.2415766 31.6796875,16.1087095 31.65625,16 C30.7304687,16.0362365 29.6171875,16.640178 28.9492187,17.4494596 C28.421875,18.06548 27.9414062,19.0317864 27.9414062,20.0222505 C27.9414062,20.1671964 27.9648438,20.3121424 27.9765625,20.3604577 C28.0351562,20.3725366 28.1289062,20.3846154 28.2226562,20.3846154 Z M25.2929688,35 C26.4296875,35 26.9335938,34.214876 28.3515625,34.214876 C29.7929688,34.214876 30.109375,34.9758423 31.375,34.9758423 C32.6171875,34.9758423 33.4492188,33.792117 34.234375,32.6325493 C35.1132812,31.3038779 35.4765625,29.9993643 35.5,29.9389701 C35.4179688,29.9148125 33.0390625,28.9122695 33.0390625,26.0979021 C33.0390625,23.6579784 34.9140625,22.5588048 35.0195312,22.474253 C33.7773438,20.6382708 31.890625,20.5899555 31.375,20.5899555 C29.9804688,20.5899555 28.84375,21.4596313 28.1289062,21.4596313 C27.3554688,21.4596313 26.3359375,20.6382708 25.1289062,20.6382708 C22.8320312,20.6382708 20.5,22.5950413 20.5,26.2911634 C20.5,28.5861411 21.3671875,31.013986 22.4335938,32.5842339 C23.3476562,33.9129053 24.1445312,35 25.2929688,35 Z" }) })), nr = ({ secondary: n, size: e, fadeOut: t, disabled: o }) => r("svg", Object.assign({ id: "icon-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "4 4 40 40", width: e, height: e, className: Q()($.checkmark, n && $.secondary, t && $.fadeOut, o && $.disabled) }, { children: r("path", { d: "M21.05 33.1 35.2 18.95l-2.3-2.25-11.85 11.85-6-6-2.25 2.25ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 24q0-4.15 1.575-7.8 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24 4q4.15 0 7.8 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm0-3q7.1 0 12.05-4.975Q41 31.05 41 24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24 41Zm0-17Z" }) })), or = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z" }) })), ir = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-custom-provider", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: [r("path", { d: "M0 0h24v24H0z", fill: "none" }), r("path", { d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" })] })), sr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-discord", fill: "#fff", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 0 127.14 96.36", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z" }) })), rr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-exclamation", xmlns: "http://www.w3.org/2000/svg", viewBox: "5 2 13 20", width: n, height: n, className: Q()($.exclamationMark, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) })), ar = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ width: n, height: n, viewBox: "0 0 666.66668 666.66717", xmlns: "http://www.w3.org/2000/svg" }, { children: [r("defs", Object.assign({ id: "defs13" }, { children: r("clipPath", Object.assign({ clipPathUnits: "userSpaceOnUse", id: "clipPath25" }, { children: r("path", { d: "M 0,700 H 700 V 0 H 0 Z", id: "path23" }) })) })), r("g", Object.assign({ id: "g17", transform: "matrix(1.3333333,0,0,-1.3333333,-133.33333,799.99999)" }, { children: r("g", Object.assign({ id: "g19" }, { children: r("g", Object.assign({ id: "g21", clipPath: "url(#clipPath25)" }, { children: [r("g", Object.assign({ id: "g27", transform: "translate(600,350)" }, { children: r("path", { className: Q()($.facebookIcon, t ? $.disabledOutline : $.outline), d: "m 0,0 c 0,138.071 -111.929,250 -250,250 -138.071,0 -250,-111.929 -250,-250 0,-117.245 80.715,-215.622 189.606,-242.638 v 166.242 h -51.552 V 0 h 51.552 v 32.919 c 0,85.092 38.508,124.532 122.048,124.532 15.838,0 43.167,-3.105 54.347,-6.211 V 81.986 c -5.901,0.621 -16.149,0.932 -28.882,0.932 -40.993,0 -56.832,-15.528 -56.832,-55.9 V 0 h 81.659 l -14.028,-76.396 h -67.631 V -248.169 C -95.927,-233.218 0,-127.818 0,0", id: "path29" }) })), r("g", Object.assign({ id: "g31", transform: "translate(447.9175,273.6036)" }, { children: r("path", { className: Q()($.facebookIcon, t ? $.disabledLetter : $.letter), d: "M 0,0 14.029,76.396 H -67.63 v 27.019 c 0,40.372 15.838,55.899 56.831,55.899 12.733,0 22.981,-0.31 28.882,-0.931 v 69.253 c -11.18,3.106 -38.509,6.212 -54.347,6.212 -83.539,0 -122.048,-39.441 -122.048,-124.533 V 76.396 h -51.552 V 0 h 51.552 v -166.242 c 19.343,-4.798 39.568,-7.362 60.394,-7.362 10.254,0 20.358,0.632 30.288,1.831 L -67.63,0 Z", id: "path33" }) }))] })) })) }))] })), lr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-github", xmlns: "http://www.w3.org/2000/svg", fill: "#fff", viewBox: "0 0 97.63 96", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: [r("path", { d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" }), " "] })), cr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-google", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: $.googleIcon }, { children: [r("path", { className: Q()($.googleIcon, e ? $.disabled : $.blue), d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.green), d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.yellow), d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" }), r("path", { className: Q()($.googleIcon, e ? $.disabled : $.red), d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" }), r("path", { d: "M1 1h22v22H1z", fill: "none" })] })), dr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-linkedin", fill: "#fff", xmlns: "http://www.w3.org/2000/svg", width: n, viewBox: "0 0 24 24", height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z" }) })), ur = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-mail", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 -960 960 960", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80 320-200H160l320 200ZM160-640v-80 480-400Z" }) })), hr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-microsoft", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: $.microsoftIcon }, { children: [r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.blue), x: "1", y: "1", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.green), x: "1", y: "11", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.yellow), x: "11", y: "1", width: "9", height: "9" }), r("rect", { className: Q()($.microsoftIcon, e ? $.disabled : $.red), x: "11", y: "11", width: "9", height: "9" })] })), pr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-passkey", xmlns: "http://www.w3.org/2000/svg", viewBox: "3 1.5 19.5 19", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("g", Object.assign({ id: "icon-passkey-all" }, { children: [r("circle", { id: "icon-passkey-head", cx: "10.5", cy: "6", r: "4.5" }), r("path", { id: "icon-passkey-key", d: "M22.5,10.5a3.5,3.5,0,1,0-5,3.15V19L19,20.5,21.5,18,20,16.5,21.5,15l-1.24-1.24A3.5,3.5,0,0,0,22.5,10.5Zm-3.5,0a1,1,0,1,1,1-1A1,1,0,0,1,19,10.5Z" }), r("path", { id: "icon-passkey-body", d: "M14.44,12.52A6,6,0,0,0,12,12H9a6,6,0,0,0-6,6v2H16V14.49A5.16,5.16,0,0,1,14.44,12.52Z" })] })) })), fr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ id: "icon-password", xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 -960 960 960", className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z" }) })), mr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M80-680v-200h200v80H160v120H80Zm0 600v-200h80v120h120v80H80Zm600 0v-80h120v-120h80v200H680Zm120-600v-120H680v-80h200v200h-80ZM700-260h60v60h-60v-60Zm0-120h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60-60h60v60h-60v-60Zm120-120h60v60h-60v-60Zm-60 60h60v60h-60v-60Zm-60-60h60v60h-60v-60Zm240-320v240H520v-240h240ZM440-440v240H200v-240h240Zm0-320v240H200v-240h240Zm-60 500v-120H260v120h120Zm0-320v-120H260v120h120Zm320 0v-120H580v120h120Z" }) })), gr = ({ size: n, secondary: e, disabled: t }) => r("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -960 960 960", width: n, height: n, className: Q()($.icon, e && $.secondary, t && $.disabled) }, { children: r("path", { d: "M280-240q-100 0-170-70T40-480q0-100 70-170t170-70q66 0 121 33t87 87h432v240h-80v120H600v-120H488q-32 54-87 87t-121 33Zm0-80q66 0 106-40.5t48-79.5h246v120h80v-120h80v-80H434q-8-39-48-79.5T280-640q-66 0-113 47t-47 113q0 66 47 113t113 47Zm0-80q33 0 56.5-23.5T360-480q0-33-23.5-56.5T280-560q-33 0-56.5 23.5T200-480q0 33 23.5 56.5T280-400Zm0-80Z" }) })), vr = ({ size: n, disabled: e }) => r("svg", Object.assign({ id: "icon-spinner", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: n, height: n, className: Q()($.loadingSpinner, e && $.disabled) }, { children: [r("path", { d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", opacity: ".25" }), r("path", { d: "M10.72,19.9a8,8,0,0,1-6.5-9.79A7.77,7.77,0,0,1,10.4,4.16a8,8,0,0,1,9.49,6.52A1.54,1.54,0,0,0,21.38,12h.13a1.37,1.37,0,0,0,1.38-1.54,11,11,0,1,0-12.7,12.39A1.54,1.54,0,0,0,12,21.34h0A1.47,1.47,0,0,0,10.72,19.9Z" })] })), Wt = ({ name: n, secondary: e, size: t = 18, fadeOut: o, disabled: i }) => r(Vn[n], { size: t, secondary: e, fadeOut: o, disabled: i }), vo = ({ children: n, isLoading: e, isSuccess: t, fadeOut: o, secondary: i, hasIcon: s, maxWidth: a }) => r(A.Fragment, { children: r("div", e ? Object.assign({ className: Q()($.loadingSpinnerWrapper, $.centerContent, a && $.maxWidth) }, { children: r(Wt, { name: "spinner", secondary: i }) }) : t ? Object.assign({ className: Q()($.loadingSpinnerWrapper, $.centerContent, a && $.maxWidth) }, { children: r(Wt, { name: "checkmark", secondary: i, fadeOut: o }) }) : Object.assign({ className: s ? $.loadingSpinnerWrapperIcon : $.loadingSpinnerWrapper }, { children: n })) }), _r = () => {
|
|
2409
2409
|
const { setLoadingAction: n } = (0, _.useContext)(ue);
|
|
2410
2410
|
return (0, _.useEffect)(() => {
|
|
2411
2411
|
n(null);
|
|
2412
|
-
}, []), r(
|
|
2412
|
+
}, []), r(vo, { isLoading: !0 });
|
|
2413
2413
|
}, Ne = (n) => {
|
|
2414
2414
|
const [e, t] = (0, _.useState)(n);
|
|
2415
2415
|
return (0, _.useEffect)(() => {
|
|
@@ -2433,13 +2433,13 @@ const Ae = ln.A && ln.A.locals ? ln.A.locals : void 0, yr = () => {
|
|
|
2433
2433
|
}
|
|
2434
2434
|
return D;
|
|
2435
2435
|
}(n, ["uiAction", "title", "children", "secondary", "dangerous", "autofocus", "showLastUsed", "onClick", "icon"]);
|
|
2436
|
-
const h = (0, _.useRef)(null), { uiState:
|
|
2436
|
+
const h = (0, _.useRef)(null), { uiState: g, isDisabled: f } = (0, _.useContext)(ue);
|
|
2437
2437
|
(0, _.useEffect)(() => {
|
|
2438
2438
|
const { current: S } = h;
|
|
2439
2439
|
S && a && S.focus();
|
|
2440
2440
|
}, [a]);
|
|
2441
|
-
const x = (0, _.useMemo)(() => e &&
|
|
2442
|
-
return r("button", Object.assign({ part: s ? "button dangerous-button" : i ? "button secondary-button" : "button primary-button", title: t, ref: h, type: "submit", disabled: C, onClick: d, className: Q()(Ae.button, s ? Ae.dangerous : i ? Ae.secondary : Ae.primary) }, { children: r(
|
|
2441
|
+
const x = (0, _.useMemo)(() => e && g.loadingAction === e || u.isLoading, [u, e, g]), O = (0, _.useMemo)(() => e && g.succeededAction === e || u.isSuccess, [u, e, g]), C = (0, _.useMemo)(() => f || u.disabled, [u, f]);
|
|
2442
|
+
return r("button", Object.assign({ part: s ? "button dangerous-button" : i ? "button secondary-button" : "button primary-button", title: t, ref: h, type: "submit", disabled: C, onClick: d, className: Q()(Ae.button, s ? Ae.dangerous : i ? Ae.secondary : Ae.primary) }, { children: r(vo, Object.assign({ isLoading: x, isSuccess: O, secondary: !0, hasIcon: !!l, maxWidth: !0 }, { children: [l ? r(Wt, { name: l, secondary: i, disabled: C }) : null, r("div", Object.assign({ className: Ae.caption }, { children: [r("span", { children: o }), c ? r(yr, {}) : null] }))] })) }));
|
|
2443
2443
|
}, Be = (n) => {
|
|
2444
2444
|
var e, t, o, i, s, { label: a } = n, c = function(f, x) {
|
|
2445
2445
|
var O = {};
|
|
@@ -2455,11 +2455,11 @@ const Ae = ln.A && ln.A.locals ? ln.A.locals : void 0, yr = () => {
|
|
|
2455
2455
|
const { current: f } = d;
|
|
2456
2456
|
f && c.autofocus && (f.focus(), f.select());
|
|
2457
2457
|
}, [c.autofocus]);
|
|
2458
|
-
const
|
|
2458
|
+
const g = (0, _.useMemo)(() => {
|
|
2459
2459
|
var f;
|
|
2460
2460
|
return c.markOptional && !(!((f = c.flowInput) === null || f === void 0) && f.required) ? `${c.placeholder} (${u("labels.optional")})` : c.placeholder;
|
|
2461
2461
|
}, [c.markOptional, c.placeholder, c.flowInput, u]);
|
|
2462
|
-
return r("div", Object.assign({ className: Ae.inputWrapper }, { children: r("input", Object.assign({ part: "input text-input", required: (e = c.flowInput) === null || e === void 0 ? void 0 : e.required, maxLength: (t = c.flowInput) === null || t === void 0 ? void 0 : t.max_length, minLength: (o = c.flowInput) === null || o === void 0 ? void 0 : o.min_length, hidden: (i = c.flowInput) === null || i === void 0 ? void 0 : i.hidden }, c, { ref: d, "aria-label":
|
|
2462
|
+
return r("div", Object.assign({ className: Ae.inputWrapper }, { children: r("input", Object.assign({ part: "input text-input", required: (e = c.flowInput) === null || e === void 0 ? void 0 : e.required, maxLength: (t = c.flowInput) === null || t === void 0 ? void 0 : t.max_length, minLength: (o = c.flowInput) === null || o === void 0 ? void 0 : o.min_length, hidden: (i = c.flowInput) === null || i === void 0 ? void 0 : i.hidden }, c, { ref: d, "aria-label": g, placeholder: g, className: Q()(Ae.input, !!(!((s = c.flowInput) === null || s === void 0) && s.error) && c.markError && Ae.error), disabled: h })) }));
|
|
2463
2463
|
}, Oe = ({ children: n }) => r("section", Object.assign({ className: Rt.content }, { children: n })), ne = ({ onSubmit: n, children: e, hidden: t, maxWidth: o }) => t ? null : r("form", Object.assign({ onSubmit: n, className: Ae.form }, { children: r("ul", Object.assign({ className: Ae.ul }, { children: (0, A.toChildArray)(e).map((i, s) => r("li", Object.assign({ part: "form-item", className: Q()(Ae.li, o ? Ae.maxWidth : null) }, { children: i }), s)) })) }));
|
|
2464
2464
|
var cn = Y(111), xt = {};
|
|
2465
2465
|
xt.setAttributes = tt(), xt.insert = (n) => {
|
|
@@ -2477,9 +2477,9 @@ const $i = dn.A && dn.A.locals ? dn.A.locals : void 0, Pe = ({ state: n, error:
|
|
|
2477
2477
|
var d, l;
|
|
2478
2478
|
if (((d = n == null ? void 0 : n.error) === null || d === void 0 ? void 0 : d.code) == "form_data_invalid_error") for (const u of Object.values(n == null ? void 0 : n.actions)) {
|
|
2479
2479
|
const h = u == null ? void 0 : u(null);
|
|
2480
|
-
let
|
|
2481
|
-
for (const f of Object.values(h == null ? void 0 : h.inputs)) if (!((l = f.error) === null || l === void 0) && l.code) return c(Object.assign(Object.assign({}, a), { error: f.error })), void (
|
|
2482
|
-
|
|
2480
|
+
let g = !1;
|
|
2481
|
+
for (const f of Object.values(h == null ? void 0 : h.inputs)) if (!((l = f.error) === null || l === void 0) && l.code) return c(Object.assign(Object.assign({}, a), { error: f.error })), void (g = !0);
|
|
2482
|
+
g || c(Object.assign(Object.assign({}, a), { error: n.error }));
|
|
2483
2483
|
}
|
|
2484
2484
|
else n != null && n.error && c(Object.assign(Object.assign({}, a), { error: n == null ? void 0 : n.error }));
|
|
2485
2485
|
}, [n]), r("section", Object.assign({ part: "error", className: $i.errorBox, hidden: !(!((o = a.error) === null || o === void 0) && o.code) && !(t != null && t.code) && !e }, { children: [r("span", { children: r(Wt, { name: "exclamation", size: 15 }) }), r("span", Object.assign({ id: "errorMessage", part: "error-text" }, { children: s(e ? `errors.${e.code}` : `flowErrors.${((i = a.error) === null || i === void 0 ? void 0 : i.code) || (t == null ? void 0 : t.code)}`) }))] }));
|
|
@@ -2505,20 +2505,20 @@ const Zt = hn.A && hn.A.locals ? hn.A.locals : void 0, Jn = (n) => {
|
|
|
2505
2505
|
}(n, ["loadingSpinnerPosition", "dangerous", "onClick", "uiAction"]);
|
|
2506
2506
|
const { t: a } = (0, _.useContext)(Z.TranslateContext), { uiState: c, isDisabled: d } = (0, _.useContext)(ue), [l, u] = (0, _.useState)();
|
|
2507
2507
|
let h;
|
|
2508
|
-
const
|
|
2508
|
+
const g = (P) => {
|
|
2509
2509
|
P.preventDefault(), u(!0);
|
|
2510
2510
|
}, f = (P) => {
|
|
2511
2511
|
P.preventDefault(), u(!1);
|
|
2512
2512
|
}, x = (0, _.useMemo)(() => i && c.loadingAction === i || s.isLoading, [s, i, c]), O = (0, _.useMemo)(() => i && c.succeededAction === i || s.isSuccess, [s, i, c]), C = (0, _.useCallback)((P) => {
|
|
2513
2513
|
P.preventDefault(), u(!1), o(P);
|
|
2514
|
-
}, [o]), S = (0, _.useCallback)(() => r(A.Fragment, { children: [l ? r(A.Fragment, { children: [r(Jn, Object.assign({ onClick: C }, { children: a("labels.yes") })), " / ", r(Jn, Object.assign({ onClick: f }, { children: a("labels.no") })), " "] }) : null, r("button", Object.assign({}, s, { onClick: t ?
|
|
2514
|
+
}, [o]), S = (0, _.useCallback)(() => r(A.Fragment, { children: [l ? r(A.Fragment, { children: [r(Jn, Object.assign({ onClick: C }, { children: a("labels.yes") })), " / ", r(Jn, Object.assign({ onClick: f }, { children: a("labels.no") })), " "] }) : null, r("button", Object.assign({}, s, { onClick: t ? g : o, disabled: l || s.disabled || d, part: "link", className: Q()(Zt.link, t ? Zt.danger : null) }, { children: s.children }))] }), [l, t, o, C, s, a, d]);
|
|
2515
2515
|
return r(A.Fragment, { children: r("span", Object.assign({ className: Q()(Zt.linkWrapper, e === "right" ? Zt.reverse : null), hidden: s.hidden, onMouseEnter: () => {
|
|
2516
2516
|
h && window.clearTimeout(h);
|
|
2517
2517
|
}, onMouseLeave: () => {
|
|
2518
2518
|
h = window.setTimeout(() => {
|
|
2519
2519
|
u(!1);
|
|
2520
2520
|
}, 1e3);
|
|
2521
|
-
} }, { children: r(A.Fragment, e && (x || O) ? { children: [r(
|
|
2521
|
+
} }, { children: r(A.Fragment, e && (x || O) ? { children: [r(vo, { isLoading: x, isSuccess: O, secondary: s.secondary, fadeOut: !0 }), S()] } : { children: S() }) })) });
|
|
2522
2522
|
}, ee = Jn, Ue = ({ children: n, hidden: e = !1 }) => e ? null : r("section", Object.assign({ className: Rt.footer }, { children: n })), yo = (n) => {
|
|
2523
2523
|
var { label: e } = n, t = function(o, i) {
|
|
2524
2524
|
var s = {};
|
|
@@ -2558,7 +2558,7 @@ var Pt = function(n, e, t, o) {
|
|
|
2558
2558
|
};
|
|
2559
2559
|
const br = (n) => {
|
|
2560
2560
|
var e, t, o, i, s, a, c, d, l;
|
|
2561
|
-
const { t: u } = (0, _.useContext)(Z.TranslateContext), { init: h, hanko:
|
|
2561
|
+
const { t: u } = (0, _.useContext)(Z.TranslateContext), { init: h, hanko: g, initialComponentName: f, setLoadingAction: x, uiState: O, setUIState: C, stateHandler: S, hidePasskeyButtonOnLogin: P, lastLogin: D } = (0, _.useContext)(ue), [N, U] = (0, _.useState)(null), [ie, ye] = (0, _.useState)(O.username || O.email), { flowState: se } = Ne(n.state), we = mt.supported(), [M, z] = (0, _.useState)(void 0), [ge, $e] = (0, _.useState)(null), [Ee, Le] = (0, _.useState)(!1), re = (k) => {
|
|
2562
2562
|
if (k.preventDefault(), k.target instanceof HTMLInputElement) {
|
|
2563
2563
|
const { value: p } = k.target;
|
|
2564
2564
|
ye(p), ae(p);
|
|
@@ -2593,28 +2593,28 @@ const br = (n) => {
|
|
|
2593
2593
|
}, []), r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: u("headlines.signIn") }), r(Pe, { state: se, error: M }), Ie ? r(A.Fragment, { children: [r(ne, Object.assign({ onSubmit: (k) => Pt(void 0, void 0, void 0, function* () {
|
|
2594
2594
|
k.preventDefault(), x("email-submit");
|
|
2595
2595
|
const p = yield se.actions.continue_with_login_identifier({ [N]: ie }).run();
|
|
2596
|
-
ae(ie), x(null), yield
|
|
2596
|
+
ae(ie), x(null), yield g.flow.run(p, S);
|
|
2597
2597
|
}), maxWidth: !0 }, { children: [Ie.email ? r(Be, { type: "email", autoComplete: "username webauthn", autoCorrect: "off", flowInput: Ie.email, onInput: re, value: ie, placeholder: u("labels.email"), pattern: "^[^@]+@[^@]+\\.[^@]+$" }) : Ie.username ? r(Be, { type: "text", autoComplete: "username webauthn", autoCorrect: "off", flowInput: Ie.username, onInput: re, value: ie, placeholder: u("labels.username") }) : r(Be, { type: "text", autoComplete: "username webauthn", autoCorrect: "off", flowInput: Ie.identifier, onInput: re, value: ie, placeholder: u("labels.emailOrUsername") }), r(te, Object.assign({ uiAction: "email-submit" }, { children: u("labels.continue") }))] })), r(_o, Object.assign({ hidden: !he }, { children: u("labels.or") }))] }) : null, !((i = (o = se.actions).webauthn_generate_request_options) === null || i === void 0) && i.call(o, null) && !P ? r(ne, Object.assign({ onSubmit: (k) => ((p) => Pt(void 0, void 0, void 0, function* () {
|
|
2598
2598
|
p.preventDefault(), x("passkey-submit");
|
|
2599
2599
|
const y = yield se.actions.webauthn_generate_request_options(null).run();
|
|
2600
|
-
yield
|
|
2600
|
+
yield g.flow.run(y, S);
|
|
2601
2601
|
}))(k) }, { children: r(te, Object.assign({ uiAction: "passkey-submit", secondary: !0, title: we ? null : u("labels.webauthnUnsupported"), disabled: !we, icon: "passkey" }, { children: u("labels.signInPasskey") })) })) : null, !((a = (s = se.actions).thirdparty_oauth) === null || a === void 0) && a.call(s, null) ? (c = se.actions.thirdparty_oauth(null).inputs.provider.allowed_values) === null || c === void 0 ? void 0 : c.map((k) => r(ne, Object.assign({ onSubmit: (p) => ((y, L) => Pt(void 0, void 0, void 0, function* () {
|
|
2602
2602
|
y.preventDefault(), $e(L);
|
|
2603
2603
|
const K = yield se.actions.thirdparty_oauth({ provider: L, redirect_to: window.location.toString() }).run();
|
|
2604
|
-
K.error && $e(null), yield
|
|
2605
|
-
}))(p, k.value) }, { children: r(te, Object.assign({ isLoading: k.value ==
|
|
2604
|
+
K.error && $e(null), yield g.flow.run(K, S);
|
|
2605
|
+
}))(p, k.value) }, { children: r(te, Object.assign({ isLoading: k.value == ge, secondary: !0, icon: k.value.startsWith("custom_") ? "customProvider" : k.value, showLastUsed: (D == null ? void 0 : D.login_method) == "third_party" && (D == null ? void 0 : D.third_party_provider) == k.value }, { children: u("labels.signInWith", { provider: k.name }) })) }), k.value)) : null, ((l = (d = se.actions).remember_me) === null || l === void 0 ? void 0 : l.call(d, null)) && r(A.Fragment, { children: [r(Pn, {}), r(yo, { required: !1, type: "checkbox", label: u("labels.staySignedIn"), checked: Ee, onChange: (k) => Pt(void 0, void 0, void 0, function* () {
|
|
2606
2606
|
const p = yield se.actions.remember_me({ remember_me: !Ee }).run();
|
|
2607
|
-
Le((y) => !y), yield
|
|
2607
|
+
Le((y) => !y), yield g.flow.run(p, S);
|
|
2608
2608
|
}) })] })] }), r(Ue, Object.assign({ hidden: f !== "auth" }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "switch-flow", onClick: (k) => Pt(void 0, void 0, void 0, function* () {
|
|
2609
2609
|
k.preventDefault(), h("registration");
|
|
2610
2610
|
}), loadingSpinnerPosition: "left" }, { children: u("labels.dontHaveAnAccount") }))] }))] });
|
|
2611
2611
|
}, kr = (n) => {
|
|
2612
2612
|
var { index: e, focus: t, digit: o = "" } = n, i = function(l, u) {
|
|
2613
2613
|
var h = {};
|
|
2614
|
-
for (var
|
|
2614
|
+
for (var g in l) Object.prototype.hasOwnProperty.call(l, g) && u.indexOf(g) < 0 && (h[g] = l[g]);
|
|
2615
2615
|
if (l != null && typeof Object.getOwnPropertySymbols == "function") {
|
|
2616
2616
|
var f = 0;
|
|
2617
|
-
for (
|
|
2617
|
+
for (g = Object.getOwnPropertySymbols(l); f < g.length; f++) u.indexOf(g[f]) < 0 && Object.prototype.propertyIsEnumerable.call(l, g[f]) && (h[g[f]] = l[g[f]]);
|
|
2618
2618
|
}
|
|
2619
2619
|
return h;
|
|
2620
2620
|
}(n, ["index", "focus", "digit"]);
|
|
@@ -2643,12 +2643,12 @@ const br = (n) => {
|
|
|
2643
2643
|
s(C), t(O);
|
|
2644
2644
|
}, h = (f) => {
|
|
2645
2645
|
f.key === "Backspace" ? (f.preventDefault(), l(""), d()) : f.key === "Delete" ? (f.preventDefault(), l("")) : f.key === "ArrowLeft" ? (f.preventDefault(), d()) : f.key === "ArrowRight" ? (f.preventDefault(), c()) : f.key !== " " && f.key !== "Spacebar" && f.key !== "Space" || f.preventDefault();
|
|
2646
|
-
},
|
|
2646
|
+
}, g = (f) => {
|
|
2647
2647
|
f.target instanceof HTMLInputElement && l(f.target.value), c();
|
|
2648
2648
|
};
|
|
2649
2649
|
return (0, _.useEffect)(() => {
|
|
2650
2650
|
n.length === 0 && s(0);
|
|
2651
|
-
}, [n]), r("div", Object.assign({ className: Ae.passcodeInputWrapper }, { children: Array.from(Array(e)).map((f, x) => r(kr, { name: "passcode", index: x, focus: i === x, digit: n[x], onKeyDown: h, onInput:
|
|
2651
|
+
}, [n]), r("div", Object.assign({ className: Ae.passcodeInputWrapper }, { children: Array.from(Array(e)).map((f, x) => r(kr, { name: "passcode", index: x, focus: i === x, digit: n[x], onKeyDown: h, onInput: g, onPaste: u, onFocus: () => ((O) => {
|
|
2652
2652
|
s(O);
|
|
2653
2653
|
})(x), disabled: o }, x)) }));
|
|
2654
2654
|
};
|
|
@@ -2684,7 +2684,7 @@ var Jt = function(n, e, t, o) {
|
|
|
2684
2684
|
};
|
|
2685
2685
|
const Sr = (n) => {
|
|
2686
2686
|
var e, t;
|
|
2687
|
-
const { t: o } = (0, _.useContext)(Z.TranslateContext), { flowState: i } = Ne(n.state), { hanko: s, uiState: a, setUIState: c, setLoadingAction: d, setSucceededAction: l, stateHandler: u } = (0, _.useContext)(ue), [h,
|
|
2687
|
+
const { t: o } = (0, _.useContext)(Z.TranslateContext), { flowState: i } = Ne(n.state), { hanko: s, uiState: a, setUIState: c, setLoadingAction: d, setSucceededAction: l, stateHandler: u } = (0, _.useContext)(ue), [h, g] = (0, _.useState)(), [f, x] = (0, _.useState)(i.payload.resend_after), [O, C] = (0, _.useState)([]), S = (0, _.useMemo)(() => {
|
|
2688
2688
|
var D;
|
|
2689
2689
|
return ((D = i.error) === null || D === void 0 ? void 0 : D.code) === "passcode_max_attempts_reached";
|
|
2690
2690
|
}, [i]), P = (0, _.useCallback)((D) => Jt(void 0, void 0, void 0, function* () {
|
|
@@ -2697,7 +2697,7 @@ const Sr = (n) => {
|
|
|
2697
2697
|
}, [i, l]), (0, _.useEffect)(() => {
|
|
2698
2698
|
h <= 0 && a.succeededAction;
|
|
2699
2699
|
}, [a, h]), (0, _.useEffect)(() => {
|
|
2700
|
-
const D = h > 0 && setInterval(() =>
|
|
2700
|
+
const D = h > 0 && setInterval(() => g(h - 1), 1e3);
|
|
2701
2701
|
return () => clearInterval(D);
|
|
2702
2702
|
}, [h]), (0, _.useEffect)(() => {
|
|
2703
2703
|
const D = f > 0 && setInterval(() => {
|
|
@@ -2751,19 +2751,19 @@ var Rn = function(n, e, t, o) {
|
|
|
2751
2751
|
};
|
|
2752
2752
|
const xr = (n) => {
|
|
2753
2753
|
var e, t, o, i, s, a, c, d;
|
|
2754
|
-
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, setLoadingAction: h, stateHandler:
|
|
2754
|
+
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, setLoadingAction: h, stateHandler: g } = (0, _.useContext)(ue), { flowState: f } = Ne(n.state);
|
|
2755
2755
|
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: l("headlines.registerAuthenticator") }), r(Pe, { state: f }), r(q, { children: l("texts.setupPasskey") }), r(ne, Object.assign({ onSubmit: (x) => Rn(void 0, void 0, void 0, function* () {
|
|
2756
2756
|
x.preventDefault(), h("passkey-submit");
|
|
2757
2757
|
const O = yield f.actions.webauthn_generate_creation_options(null).run();
|
|
2758
|
-
yield u.flow.run(O,
|
|
2758
|
+
yield u.flow.run(O, g);
|
|
2759
2759
|
}) }, { children: r(te, Object.assign({ uiAction: "passkey-submit", autofocus: !0, icon: "passkey" }, { children: l("labels.registerAuthenticator") })) }))] }), r(Ue, Object.assign({ hidden: !(!((t = (e = f.actions).skip) === null || t === void 0) && t.call(e, null)) && !(!((i = (o = f.actions).back) === null || i === void 0) && i.call(o, null)) }, { children: [r(ee, Object.assign({ uiAction: "back", onClick: (x) => Rn(void 0, void 0, void 0, function* () {
|
|
2760
2760
|
x.preventDefault(), h("back");
|
|
2761
2761
|
const O = yield f.actions.back(null).run();
|
|
2762
|
-
h(null), yield u.flow.run(O,
|
|
2762
|
+
h(null), yield u.flow.run(O, g);
|
|
2763
2763
|
}), loadingSpinnerPosition: "right", hidden: !(!((a = (s = f.actions).back) === null || a === void 0) && a.call(s, null)) }, { children: l("labels.back") })), r(ee, Object.assign({ uiAction: "skip", onClick: (x) => Rn(void 0, void 0, void 0, function* () {
|
|
2764
2764
|
x.preventDefault(), h("skip");
|
|
2765
2765
|
const O = yield f.actions.skip(null).run();
|
|
2766
|
-
h(null), yield u.flow.run(O,
|
|
2766
|
+
h(null), yield u.flow.run(O, g);
|
|
2767
2767
|
}), loadingSpinnerPosition: "left", hidden: !(!((d = (c = f.actions).skip) === null || d === void 0) && d.call(c, null)) }, { children: l("labels.skip") }))] }))] });
|
|
2768
2768
|
};
|
|
2769
2769
|
var It = function(n, e, t, o) {
|
|
@@ -2793,7 +2793,7 @@ var It = function(n, e, t, o) {
|
|
|
2793
2793
|
};
|
|
2794
2794
|
const Cr = (n) => {
|
|
2795
2795
|
var e, t, o, i;
|
|
2796
|
-
const { t: s } = (0, _.useContext)(Z.TranslateContext), { hanko: a, stateHandler: c, setLoadingAction: d } = (0, _.useContext)(ue), { flowState: l } = Ne(n.state), [u, h] = (0, _.useState)(), [
|
|
2796
|
+
const { t: s } = (0, _.useContext)(Z.TranslateContext), { hanko: a, stateHandler: c, setLoadingAction: d } = (0, _.useContext)(ue), { flowState: l } = Ne(n.state), [u, h] = (0, _.useState)(), [g, f] = (0, _.useState)(), x = (P) => It(void 0, void 0, void 0, function* () {
|
|
2797
2797
|
P.preventDefault(), d("password-recovery");
|
|
2798
2798
|
const D = yield l.actions.continue_to_passcode_confirmation_recovery(null).run();
|
|
2799
2799
|
d(null), yield a.flow.run(D, c);
|
|
@@ -2806,15 +2806,15 @@ const Cr = (n) => {
|
|
|
2806
2806
|
return r(ee, Object.assign({ hidden: !(!((D = (P = l.actions).continue_to_passcode_confirmation_recovery) === null || D === void 0) && D.call(P, null)), uiAction: "password-recovery", onClick: x, loadingSpinnerPosition: "left" }, { children: s("labels.forgotYourPassword") }));
|
|
2807
2807
|
}, [x, s]), S = (0, _.useMemo)(() => r(ee, Object.assign({ uiAction: "choose-login-method", onClick: O, loadingSpinnerPosition: "left" }, { children: "Choose another method" })), [O]);
|
|
2808
2808
|
return (0, _.useEffect)(() => {
|
|
2809
|
-
const P =
|
|
2809
|
+
const P = g > 0 && setInterval(() => f(g - 1), 1e3);
|
|
2810
2810
|
return () => clearInterval(P);
|
|
2811
|
-
}, [
|
|
2811
|
+
}, [g]), r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.loginPassword") }), r(Pe, { state: l }), r(ne, Object.assign({ onSubmit: (P) => It(void 0, void 0, void 0, function* () {
|
|
2812
2812
|
P.preventDefault(), d("password-submit");
|
|
2813
2813
|
const D = yield l.actions.password_login({ password: u }).run();
|
|
2814
2814
|
d(null), yield a.flow.run(D, c);
|
|
2815
2815
|
}) }, { children: [r(Be, { type: "password", flowInput: l.actions.password_login(null).inputs.password, autocomplete: "current-password", placeholder: s("labels.password"), onInput: (P) => It(void 0, void 0, void 0, function* () {
|
|
2816
2816
|
P.target instanceof HTMLInputElement && h(P.target.value);
|
|
2817
|
-
}), autofocus: !0 }), r(te, Object.assign({ uiAction: "password-submit", disabled:
|
|
2817
|
+
}), autofocus: !0 }), r(te, Object.assign({ uiAction: "password-submit", disabled: g > 0 }, { children: g > 0 ? s("labels.passwordRetryAfter", { passwordRetryAfter: g }) : s("labels.signIn") }))] })), !((t = (e = l.actions).continue_to_login_method_chooser) === null || t === void 0) && t.call(e, null) ? C : null] }), r(Ue, { children: [r(ee, Object.assign({ uiAction: "back", onClick: (P) => It(void 0, void 0, void 0, function* () {
|
|
2818
2818
|
P.preventDefault(), d("back");
|
|
2819
2819
|
const D = yield l.actions.back(null).run();
|
|
2820
2820
|
d(null), yield a.flow.run(D, c);
|
|
@@ -2882,22 +2882,22 @@ var Qt = function(n, e, t, o) {
|
|
|
2882
2882
|
};
|
|
2883
2883
|
const Or = (n) => {
|
|
2884
2884
|
var e, t, o, i, s, a;
|
|
2885
|
-
const { t: c } = (0, _.useContext)(Z.TranslateContext), { hanko: d, setLoadingAction: l, stateHandler: u, lastLogin: h } = (0, _.useContext)(ue), { flowState:
|
|
2886
|
-
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: c("headlines.selectLoginMethod") }), r(Pe, { flowError:
|
|
2885
|
+
const { t: c } = (0, _.useContext)(Z.TranslateContext), { hanko: d, setLoadingAction: l, stateHandler: u, lastLogin: h } = (0, _.useContext)(ue), { flowState: g } = Ne(n.state);
|
|
2886
|
+
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: c("headlines.selectLoginMethod") }), r(Pe, { flowError: g == null ? void 0 : g.error }), r(q, { children: c("texts.howDoYouWantToLogin") }), r(ne, Object.assign({ hidden: !(!((t = (e = g.actions).continue_to_passcode_confirmation) === null || t === void 0) && t.call(e, null)), onSubmit: (f) => Qt(void 0, void 0, void 0, function* () {
|
|
2887
2887
|
f.preventDefault(), l("passcode-submit");
|
|
2888
|
-
const x = yield
|
|
2888
|
+
const x = yield g.actions.continue_to_passcode_confirmation(null).run();
|
|
2889
2889
|
l(null), yield d.flow.run(x, u);
|
|
2890
|
-
}) }, { children: r(te, Object.assign({ secondary: !0, uiAction: "passcode-submit", icon: "mail" }, { children: c("labels.passcode") })) })), r(ne, Object.assign({ hidden: !(!((i = (o =
|
|
2890
|
+
}) }, { children: r(te, Object.assign({ secondary: !0, uiAction: "passcode-submit", icon: "mail" }, { children: c("labels.passcode") })) })), r(ne, Object.assign({ hidden: !(!((i = (o = g.actions).continue_to_password_login) === null || i === void 0) && i.call(o, null)), onSubmit: (f) => Qt(void 0, void 0, void 0, function* () {
|
|
2891
2891
|
f.preventDefault(), l("password-submit");
|
|
2892
|
-
const x = yield
|
|
2892
|
+
const x = yield g.actions.continue_to_password_login(null).run();
|
|
2893
2893
|
l(null), yield d.flow.run(x, u);
|
|
2894
|
-
}) }, { children: r(te, Object.assign({ secondary: !0, uiAction: "password-submit", icon: "password" }, { children: c("labels.password") })) })), r(ne, Object.assign({ hidden: !(!((a = (s =
|
|
2894
|
+
}) }, { children: r(te, Object.assign({ secondary: !0, uiAction: "password-submit", icon: "password" }, { children: c("labels.password") })) })), r(ne, Object.assign({ hidden: !(!((a = (s = g.actions).webauthn_generate_request_options) === null || a === void 0) && a.call(s, null)), onSubmit: (f) => Qt(void 0, void 0, void 0, function* () {
|
|
2895
2895
|
f.preventDefault(), l("passkey-submit");
|
|
2896
|
-
const x = yield
|
|
2896
|
+
const x = yield g.actions.webauthn_generate_request_options(null).run();
|
|
2897
2897
|
l(null), yield d.flow.run(x, u);
|
|
2898
2898
|
}) }, { children: r(te, Object.assign({ secondary: !0, uiAction: "passkey-submit", icon: "passkey" }, { children: c("labels.passkey") })) }))] }), r(Ue, { children: r(ee, Object.assign({ uiAction: "back", onClick: (f) => Qt(void 0, void 0, void 0, function* () {
|
|
2899
2899
|
f.preventDefault(), l("back");
|
|
2900
|
-
const x = yield
|
|
2900
|
+
const x = yield g.actions.back(null).run();
|
|
2901
2901
|
l(null), yield d.flow.run(x, u);
|
|
2902
2902
|
}), loadingSpinnerPosition: "right" }, { children: c("labels.back") })) })] });
|
|
2903
2903
|
};
|
|
@@ -2928,7 +2928,7 @@ var Gt = function(n, e, t, o) {
|
|
|
2928
2928
|
};
|
|
2929
2929
|
const Pr = (n) => {
|
|
2930
2930
|
var e, t, o, i, s, a, c;
|
|
2931
|
-
const { t: d } = (0, _.useContext)(Z.TranslateContext), { init: l, hanko: u, uiState: h, setUIState:
|
|
2931
|
+
const { t: d } = (0, _.useContext)(Z.TranslateContext), { init: l, hanko: u, uiState: h, setUIState: g, stateHandler: f, setLoadingAction: x, initialComponentName: O } = (0, _.useContext)(ue), { flowState: C } = Ne(n.state), S = (t = (e = C.actions).register_login_identifier) === null || t === void 0 ? void 0 : t.call(e, null).inputs, P = !(!(S != null && S.email) || !(S != null && S.username)), [D, N] = (0, _.useState)(void 0), [U, ie] = (0, _.useState)(null), [ye, se] = (0, _.useState)(!1), we = (0, _.useMemo)(() => {
|
|
2932
2932
|
var M, z;
|
|
2933
2933
|
return !!(!((z = (M = C.actions).thirdparty_oauth) === null || z === void 0) && z.call(M, null));
|
|
2934
2934
|
}, [C.actions]);
|
|
@@ -2937,8 +2937,8 @@ const Pr = (n) => {
|
|
|
2937
2937
|
if (M.get("error") == null || M.get("error").length === 0) return;
|
|
2938
2938
|
let z = "";
|
|
2939
2939
|
z = M.get("error") === "access_denied" ? "thirdPartyAccessDenied" : "somethingWentWrong";
|
|
2940
|
-
const
|
|
2941
|
-
N(
|
|
2940
|
+
const ge = { name: z, code: z, message: M.get("error_description") };
|
|
2941
|
+
N(ge), M.delete("error"), M.delete("error_description"), history.replaceState(null, null, window.location.pathname + (M.size < 1 ? "" : `?${M.toString()}`));
|
|
2942
2942
|
}, []), r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: d("headlines.signUp") }), r(Pe, { state: C, error: D }), S ? r(A.Fragment, { children: [r(ne, Object.assign({ onSubmit: (M) => Gt(void 0, void 0, void 0, function* () {
|
|
2943
2943
|
M.preventDefault(), x("email-submit");
|
|
2944
2944
|
const z = yield C.actions.register_login_identifier({ email: h.email, username: h.username }).run();
|
|
@@ -2946,20 +2946,20 @@ const Pr = (n) => {
|
|
|
2946
2946
|
}), maxWidth: !0 }, { children: [S.username ? r(Be, { markOptional: P, markError: P, type: "text", autoComplete: "username", autoCorrect: "off", flowInput: S.username, onInput: (M) => {
|
|
2947
2947
|
if (M.preventDefault(), M.target instanceof HTMLInputElement) {
|
|
2948
2948
|
const { value: z } = M.target;
|
|
2949
|
-
|
|
2949
|
+
g((ge) => Object.assign(Object.assign({}, ge), { username: z }));
|
|
2950
2950
|
}
|
|
2951
2951
|
}, value: h.username, placeholder: d("labels.username") }) : null, S.email ? r(Be, { markOptional: P, markError: P, type: "email", autoComplete: "email", autoCorrect: "off", flowInput: S.email, onInput: (M) => {
|
|
2952
2952
|
if (M.preventDefault(), M.target instanceof HTMLInputElement) {
|
|
2953
2953
|
const { value: z } = M.target;
|
|
2954
|
-
|
|
2954
|
+
g((ge) => Object.assign(Object.assign({}, ge), { email: z }));
|
|
2955
2955
|
}
|
|
2956
|
-
}, value: h.email, placeholder: d("labels.email"), pattern: "^.*[^0-9]+$" }) : null, r(te, Object.assign({ uiAction: "email-submit", autofocus: !0 }, { children: d("labels.continue") }))] })), r(_o, Object.assign({ hidden: !we }, { children: d("labels.or") }))] }) : null, !((i = (o = C.actions).thirdparty_oauth) === null || i === void 0) && i.call(o, null) ? (s = C.actions.thirdparty_oauth(null).inputs.provider.allowed_values) === null || s === void 0 ? void 0 : s.map((M) => r(ne, Object.assign({ onSubmit: (z) => ((
|
|
2957
|
-
|
|
2956
|
+
}, value: h.email, placeholder: d("labels.email"), pattern: "^.*[^0-9]+$" }) : null, r(te, Object.assign({ uiAction: "email-submit", autofocus: !0 }, { children: d("labels.continue") }))] })), r(_o, Object.assign({ hidden: !we }, { children: d("labels.or") }))] }) : null, !((i = (o = C.actions).thirdparty_oauth) === null || i === void 0) && i.call(o, null) ? (s = C.actions.thirdparty_oauth(null).inputs.provider.allowed_values) === null || s === void 0 ? void 0 : s.map((M) => r(ne, Object.assign({ onSubmit: (z) => ((ge, $e) => Gt(void 0, void 0, void 0, function* () {
|
|
2957
|
+
ge.preventDefault(), ie($e);
|
|
2958
2958
|
const Ee = yield C.actions.thirdparty_oauth({ provider: $e, redirect_to: window.location.toString() }).run();
|
|
2959
2959
|
ie(null), yield u.flow.run(Ee, f);
|
|
2960
2960
|
}))(z, M.value) }, { children: r(te, Object.assign({ isLoading: M.value == U, secondary: !0, icon: M.value.startsWith("custom_") ? "customProvider" : M.value }, { children: d("labels.signInWith", { provider: M.name }) })) }), M.value)) : null, ((c = (a = C.actions).remember_me) === null || c === void 0 ? void 0 : c.call(a, null)) && r(A.Fragment, { children: [r(Pn, {}), r(yo, { required: !1, type: "checkbox", label: d("labels.staySignedIn"), checked: ye, onChange: (M) => Gt(void 0, void 0, void 0, function* () {
|
|
2961
2961
|
const z = yield C.actions.remember_me({ remember_me: !ye }).run();
|
|
2962
|
-
se((
|
|
2962
|
+
se((ge) => !ge), yield u.flow.run(z, f);
|
|
2963
2963
|
}) })] })] }), r(Ue, Object.assign({ hidden: O !== "auth" }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "switch-flow", onClick: (M) => Gt(void 0, void 0, void 0, function* () {
|
|
2964
2964
|
M.preventDefault(), l("login");
|
|
2965
2965
|
}), loadingSpinnerPosition: "left" }, { children: d("labels.alreadyHaveAnAccount") }))] }))] });
|
|
@@ -2991,21 +2991,21 @@ var Yt = function(n, e, t, o) {
|
|
|
2991
2991
|
};
|
|
2992
2992
|
const Er = (n) => {
|
|
2993
2993
|
var e, t, o, i, s, a, c, d;
|
|
2994
|
-
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, stateHandler: h, setLoadingAction:
|
|
2994
|
+
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, stateHandler: h, setLoadingAction: g } = (0, _.useContext)(ue), { flowState: f } = Ne(n.state), [x, O] = (0, _.useState)();
|
|
2995
2995
|
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: l("headlines.registerPassword") }), r(Pe, { state: f }), r(q, { children: l("texts.passwordFormatHint", { minLength: f.actions.register_password(null).inputs.new_password.min_length, maxLength: 72 }) }), r(ne, Object.assign({ onSubmit: (C) => Yt(void 0, void 0, void 0, function* () {
|
|
2996
|
-
C.preventDefault(),
|
|
2996
|
+
C.preventDefault(), g("password-submit");
|
|
2997
2997
|
const S = yield f.actions.register_password({ new_password: x }).run();
|
|
2998
|
-
|
|
2998
|
+
g(null), yield u.flow.run(S, h);
|
|
2999
2999
|
}) }, { children: [r(Be, { type: "password", autocomplete: "new-password", flowInput: f.actions.register_password(null).inputs.new_password, placeholder: l("labels.newPassword"), onInput: (C) => Yt(void 0, void 0, void 0, function* () {
|
|
3000
3000
|
C.target instanceof HTMLInputElement && O(C.target.value);
|
|
3001
3001
|
}), autofocus: !0 }), r(te, Object.assign({ uiAction: "password-submit" }, { children: l("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((t = (e = f.actions).back) === null || t === void 0) && t.call(e, null)) && !(!((i = (o = f.actions).skip) === null || i === void 0) && i.call(o, null)) }, { children: [r(ee, Object.assign({ uiAction: "back", onClick: (C) => Yt(void 0, void 0, void 0, function* () {
|
|
3002
|
-
C.preventDefault(),
|
|
3002
|
+
C.preventDefault(), g("back");
|
|
3003
3003
|
const S = yield f.actions.back(null).run();
|
|
3004
|
-
|
|
3004
|
+
g(null), yield u.flow.run(S, h);
|
|
3005
3005
|
}), loadingSpinnerPosition: "right", hidden: !(!((a = (s = f.actions).back) === null || a === void 0) && a.call(s, null)) }, { children: l("labels.back") })), r(ee, Object.assign({ uiAction: "skip", onClick: (C) => Yt(void 0, void 0, void 0, function* () {
|
|
3006
|
-
C.preventDefault(),
|
|
3006
|
+
C.preventDefault(), g("skip");
|
|
3007
3007
|
const S = yield f.actions.skip(null).run();
|
|
3008
|
-
|
|
3008
|
+
g(null), yield u.flow.run(S, h);
|
|
3009
3009
|
}), loadingSpinnerPosition: "left", hidden: !(!((d = (c = f.actions).skip) === null || d === void 0) && d.call(c, null)) }, { children: l("labels.skip") }))] }))] });
|
|
3010
3010
|
};
|
|
3011
3011
|
var fn = Y(21), jt = {};
|
|
@@ -3015,8 +3015,8 @@ jt.setAttributes = tt(), jt.insert = (n) => {
|
|
|
3015
3015
|
const Ze = fn.A && fn.A.locals ? fn.A.locals : void 0, En = function({ name: n, columnSelector: e, contentSelector: t, data: o, checkedItemID: i, setCheckedItemID: s, dropdown: a = !1 }) {
|
|
3016
3016
|
const c = (0, _.useCallback)((u) => `${n}-${u}`, [n]), d = (0, _.useCallback)((u) => c(u) === i, [i, c]), l = (u) => {
|
|
3017
3017
|
if (!(u.target instanceof HTMLInputElement)) return;
|
|
3018
|
-
const h = parseInt(u.target.value, 10),
|
|
3019
|
-
s(
|
|
3018
|
+
const h = parseInt(u.target.value, 10), g = c(h);
|
|
3019
|
+
s(g === i ? null : g);
|
|
3020
3020
|
};
|
|
3021
3021
|
return r("div", Object.assign({ className: Ze.accordion }, { children: o.map((u, h) => r("div", Object.assign({ className: Ze.accordionItem }, { children: [r("input", { type: "radio", className: Ze.accordionInput, id: `${n}-${h}`, name: n, onClick: l, value: h, checked: d(h) }), r("label", Object.assign({ className: Q()(Ze.label, a && Ze.dropdown), for: `${n}-${h}` }, { children: r("span", Object.assign({ className: Ze.labelText }, { children: e(u, h) })) })), r("div", Object.assign({ className: Q()(Ze.accordionContent, a && Ze.dropdownContent) }, { children: t(u, h) }))] }), h)) }));
|
|
3022
3022
|
}, Re = ({ children: n }) => r("h2", Object.assign({ part: "headline2", className: Q()(bn.headline, bn.grade2) }, { children: n })), Ir = ({ onEmailDelete: n, onEmailSetPrimary: e, onEmailVerify: t, checkedItemID: o, setCheckedItemID: i, emails: s = [], deletableEmailIDs: a = [] }) => {
|
|
@@ -3031,19 +3031,19 @@ const Ze = fn.A && fn.A.locals ? fn.A.locals : void 0, En = function({ name: n,
|
|
|
3031
3031
|
}, jr = ({ onCredentialNameSubmit: n, oldName: e, onBack: t, credential: o, credentialType: i }) => {
|
|
3032
3032
|
const { t: s } = (0, _.useContext)(Z.TranslateContext), [a, c] = (0, _.useState)(e);
|
|
3033
3033
|
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s(i === "security-key" ? "headlines.renameSecurityKey" : "headlines.renamePasskey") }), r(Pe, { flowError: null }), r(q, { children: s(i === "security-key" ? "texts.renameSecurityKey" : "texts.renamePasskey") }), r(ne, Object.assign({ onSubmit: (d) => n(d, o.id, a) }, { children: [r(Be, { type: "text", name: i, value: a, minLength: 3, maxLength: 32, required: !0, placeholder: s(i === "security-key" ? "labels.newSecurityKeyName" : "labels.newPasskeyName"), onInput: (d) => {
|
|
3034
|
-
return l = void 0, u = void 0,
|
|
3034
|
+
return l = void 0, u = void 0, g = function* () {
|
|
3035
3035
|
d.target instanceof HTMLInputElement && c(d.target.value);
|
|
3036
3036
|
}, new ((h = void 0) || (h = Promise))(function(f, x) {
|
|
3037
3037
|
function O(P) {
|
|
3038
3038
|
try {
|
|
3039
|
-
S(
|
|
3039
|
+
S(g.next(P));
|
|
3040
3040
|
} catch (D) {
|
|
3041
3041
|
x(D);
|
|
3042
3042
|
}
|
|
3043
3043
|
}
|
|
3044
3044
|
function C(P) {
|
|
3045
3045
|
try {
|
|
3046
|
-
S(
|
|
3046
|
+
S(g.throw(P));
|
|
3047
3047
|
} catch (D) {
|
|
3048
3048
|
x(D);
|
|
3049
3049
|
}
|
|
@@ -3054,19 +3054,19 @@ const Ze = fn.A && fn.A.locals ? fn.A.locals : void 0, En = function({ name: n,
|
|
|
3054
3054
|
N(D);
|
|
3055
3055
|
})).then(O, C);
|
|
3056
3056
|
}
|
|
3057
|
-
S((
|
|
3057
|
+
S((g = g.apply(l, u || [])).next());
|
|
3058
3058
|
});
|
|
3059
|
-
var l, u, h,
|
|
3059
|
+
var l, u, h, g;
|
|
3060
3060
|
}, autofocus: !0 }), r(te, Object.assign({ uiAction: "webauthn-credential-rename" }, { children: s("labels.save") }))] }))] }), r(Ue, { children: r(ee, Object.assign({ onClick: t, loadingSpinnerPosition: "right" }, { children: s("labels.back") })) })] });
|
|
3061
3061
|
}, Zo = ({ credentials: n = [], checkedItemID: e, setCheckedItemID: t, onBack: o, onCredentialNameSubmit: i, onCredentialDelete: s, allowCredentialDeletion: a, credentialType: c }) => {
|
|
3062
|
-
const { t: d } = (0, _.useContext)(Z.TranslateContext), { setPage: l } = (0, _.useContext)(ue), u = (
|
|
3063
|
-
if (
|
|
3064
|
-
const f =
|
|
3062
|
+
const { t: d } = (0, _.useContext)(Z.TranslateContext), { setPage: l } = (0, _.useContext)(ue), u = (g) => {
|
|
3063
|
+
if (g.name) return g.name;
|
|
3064
|
+
const f = g.public_key.replace(/[\W_]/g, "");
|
|
3065
3065
|
return `${c === "security-key" ? "SecurityKey" : "Passkey"}-${f.substring(f.length - 7, f.length)}`;
|
|
3066
|
-
}, h = (
|
|
3067
|
-
return r(En, { name: c === "security-key" ? "security-key-edit-dropdown" : "passkey-edit-dropdown", columnSelector: (
|
|
3066
|
+
}, h = (g) => new Date(g).toLocaleString();
|
|
3067
|
+
return r(En, { name: c === "security-key" ? "security-key-edit-dropdown" : "passkey-edit-dropdown", columnSelector: (g) => u(g), data: n, contentSelector: (g) => r(A.Fragment, { children: [r(q, { children: [r(Re, { children: d(c === "security-key" ? "headlines.renameSecurityKey" : "headlines.renamePasskey") }), d(c === "security-key" ? "texts.renameSecurityKey" : "texts.renamePasskey"), r("br", {}), r(ee, Object.assign({ onClick: (f) => ((x, O, C) => {
|
|
3068
3068
|
x.preventDefault(), l(r(jr, { oldName: u(O), credential: O, credentialType: C, onBack: o, onCredentialNameSubmit: i }));
|
|
3069
|
-
})(f,
|
|
3069
|
+
})(f, g, c), loadingSpinnerPosition: "right" }, { children: d("labels.rename") }))] }), r(q, Object.assign({ hidden: !a }, { children: [r(Re, { children: d(c === "security-key" ? "headlines.deleteSecurityKey" : "headlines.deletePasskey") }), d(c === "security-key" ? "texts.deleteSecurityKey" : "texts.deletePasskey"), r("br", {}), r(ee, Object.assign({ uiAction: "password-delete", dangerous: !0, onClick: (f) => s(f, g.id), loadingSpinnerPosition: "right" }, { children: d("labels.delete") }))] })), r(q, { children: [r(Re, { children: d("headlines.lastUsedAt") }), g.last_used_at ? h(g.last_used_at) : "-"] }), r(q, { children: [r(Re, { children: d("headlines.createdAt") }), h(g.created_at)] })] }), checkedItemID: e, setCheckedItemID: t });
|
|
3070
3070
|
}, qt = ({ name: n, title: e, children: t, checkedItemID: o, setCheckedItemID: i }) => r(En, { dropdown: !0, name: n, columnSelector: () => e, contentSelector: () => r(A.Fragment, { children: t }), setCheckedItemID: i, checkedItemID: o, data: [{}] }), ko = ({ flowError: n }) => {
|
|
3071
3071
|
const { t: e } = (0, _.useContext)(Z.TranslateContext);
|
|
3072
3072
|
return r(A.Fragment, { children: n ? r("div", Object.assign({ className: $i.errorMessage }, { children: e(`flowErrors.${n == null ? void 0 : n.code}`) })) : null });
|
|
@@ -3078,10 +3078,10 @@ const Ze = fn.A && fn.A.locals ? fn.A.locals : void 0, En = function({ name: n,
|
|
|
3078
3078
|
}, value: a, flowInput: n.email }), r(te, Object.assign({ uiAction: "email-submit" }, { children: s("labels.save") }))] }))] }));
|
|
3079
3079
|
}, Jo = ({ inputs: n, checkedItemID: e, setCheckedItemID: t, onPasswordSubmit: o, onPasswordDelete: i, allowPasswordDelete: s, passwordExists: a }) => {
|
|
3080
3080
|
var c, d, l;
|
|
3081
|
-
const { t: u } = (0, _.useContext)(Z.TranslateContext), [h,
|
|
3082
|
-
return r(qt, Object.assign({ name: "password-edit-dropdown", title: u(a ? "labels.changePassword" : "labels.setPassword"), checkedItemID: e, setCheckedItemID: t }, { children: [r(q, { children: u("texts.passwordFormatHint", { minLength: (c = n.password.min_length) === null || c === void 0 ? void 0 : c.toString(10), maxLength: (d = n.password.max_length) === null || d === void 0 ? void 0 : d.toString(10) }) }), r(ko, { flowError: (l = n.password) === null || l === void 0 ? void 0 : l.error }), r(ne, Object.assign({ onSubmit: (f) => o(f, h).then(() =>
|
|
3083
|
-
f.preventDefault(), f.target instanceof HTMLInputElement &&
|
|
3084
|
-
}, value: h, flowInput: n.password }), r(te, Object.assign({ uiAction: "password-submit" }, { children: u("labels.save") }))] })), r(ee, Object.assign({ hidden: !s, uiAction: "password-delete", dangerous: !0, onClick: (f) => i(f).then(() =>
|
|
3081
|
+
const { t: u } = (0, _.useContext)(Z.TranslateContext), [h, g] = (0, _.useState)("");
|
|
3082
|
+
return r(qt, Object.assign({ name: "password-edit-dropdown", title: u(a ? "labels.changePassword" : "labels.setPassword"), checkedItemID: e, setCheckedItemID: t }, { children: [r(q, { children: u("texts.passwordFormatHint", { minLength: (c = n.password.min_length) === null || c === void 0 ? void 0 : c.toString(10), maxLength: (d = n.password.max_length) === null || d === void 0 ? void 0 : d.toString(10) }) }), r(ko, { flowError: (l = n.password) === null || l === void 0 ? void 0 : l.error }), r(ne, Object.assign({ onSubmit: (f) => o(f, h).then(() => g("")) }, { children: [r(Be, { markError: !0, autoComplete: "new-password", placeholder: u("labels.newPassword"), type: "password", onInput: (f) => {
|
|
3083
|
+
f.preventDefault(), f.target instanceof HTMLInputElement && g(f.target.value);
|
|
3084
|
+
}, value: h, flowInput: n.password }), r(te, Object.assign({ uiAction: "password-submit" }, { children: u("labels.save") }))] })), r(ee, Object.assign({ hidden: !s, uiAction: "password-delete", dangerous: !0, onClick: (f) => i(f).then(() => g("")), loadingSpinnerPosition: "right" }, { children: u("labels.delete") }))] }));
|
|
3085
3085
|
}, Qo = ({ checkedItemID: n, setCheckedItemID: e, onCredentialSubmit: t, credentialType: o }) => {
|
|
3086
3086
|
const { t: i } = (0, _.useContext)(Z.TranslateContext), s = mt.supported();
|
|
3087
3087
|
return r(qt, Object.assign({ name: o === "security-key" ? "security-key-create-dropdown" : "passkey-create-dropdown", title: i(o === "security-key" ? "labels.createSecurityKey" : "labels.createPasskey"), checkedItemID: n, setCheckedItemID: e }, { children: [r(q, { children: i(o === "security-key" ? "texts.securityKeySetUp" : "texts.setupPasskey") }), r(ne, Object.assign({ onSubmit: t }, { children: r(te, Object.assign({ uiAction: o === "security-key" ? "security-key-submit" : "passkey-submit", title: s ? null : i("labels.webauthnUnsupported") }, { children: i(o === "security-key" ? "labels.createSecurityKey" : "labels.createPasskey") })) }))] }));
|
|
@@ -3130,7 +3130,7 @@ var je = function(n, e, t, o) {
|
|
|
3130
3130
|
});
|
|
3131
3131
|
};
|
|
3132
3132
|
const Li = (n) => {
|
|
3133
|
-
var e, t, o, i, s, a, c, d, l, u, h,
|
|
3133
|
+
var e, t, o, i, s, a, c, d, l, u, h, g, f, x, O, C, S, P, D, N, U, ie, ye, se, we, M, z, ge, $e, Ee, Le, re, ae, he, Ie, k, p, y, L, K, pe, ze, qe, Fe, m, v, b, j, T, I, W, X;
|
|
3134
3134
|
const { t: G } = (0, _.useContext)(Z.TranslateContext), { hanko: _e, setLoadingAction: w, stateHandler: be, setUIState: J, setPage: H } = (0, _.useContext)(ue), { flowState: E } = Ne(n.state), [Se, B] = (0, _.useState)(""), F = (R, V, Qe) => je(void 0, void 0, void 0, function* () {
|
|
3135
3135
|
R.preventDefault(), w(V);
|
|
3136
3136
|
const In = yield Qe();
|
|
@@ -3146,7 +3146,7 @@ const Li = (n) => {
|
|
|
3146
3146
|
}), it = (R) => (R.preventDefault(), H(r(Li, { state: E, enablePasskeys: n.enablePasskeys })), Promise.resolve());
|
|
3147
3147
|
return r(Oe, { children: [r(Pe, { state: ((e = E == null ? void 0 : E.error) === null || e === void 0 ? void 0 : e.code) !== "form_data_invalid_error" ? E : null }), !((o = (t = E.actions).username_create) === null || o === void 0) && o.call(t, null) || !((s = (i = E.actions).username_update) === null || s === void 0) && s.call(i, null) || !((c = (a = E.actions).username_delete) === null || c === void 0) && c.call(a, null) ? r(A.Fragment, { children: [r(de, { children: G("labels.username") }), E.payload.user.username ? r(q, { children: r("b", { children: E.payload.user.username.username }) }) : null, r(q, { children: [!((l = (d = E.actions).username_create) === null || l === void 0) && l.call(d, null) ? r(Go, { inputs: E.actions.username_create(null).inputs, hasUsername: !!E.payload.user.username, allowUsernameDeletion: !!(!((h = (u = E.actions).username_delete) === null || h === void 0) && h.call(u, null)), onUsernameSubmit: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3148
3148
|
return F(R, "username-set", E.actions.username_create({ username: V }).run);
|
|
3149
|
-
}), onUsernameDelete: ot, checkedItemID: Se, setCheckedItemID: B }) : null, !((f = (
|
|
3149
|
+
}), onUsernameDelete: ot, checkedItemID: Se, setCheckedItemID: B }) : null, !((f = (g = E.actions).username_update) === null || f === void 0) && f.call(g, null) ? r(Go, { inputs: E.actions.username_update(null).inputs, hasUsername: !!E.payload.user.username, allowUsernameDeletion: !!(!((O = (x = E.actions).username_delete) === null || O === void 0) && O.call(x, null)), onUsernameSubmit: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3150
3150
|
return F(R, "username-set", E.actions.username_update({ username: V }).run);
|
|
3151
3151
|
}), onUsernameDelete: ot, checkedItemID: Se, setCheckedItemID: B }) : null] })] }) : null, !((S = (C = E.payload) === null || C === void 0 ? void 0 : C.user) === null || S === void 0) && S.emails || !((D = (P = E.actions).email_create) === null || D === void 0) && D.call(P, null) ? r(A.Fragment, { children: [r(de, { children: G("headlines.profileEmails") }), r(q, { children: [r(Ir, { emails: E.payload.user.emails, onEmailDelete: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3152
3152
|
return F(R, "email-delete", E.actions.email_delete({ email_id: V }).run);
|
|
@@ -3158,7 +3158,7 @@ const Li = (n) => {
|
|
|
3158
3158
|
return J((Qe) => Object.assign(Object.assign({}, Qe), { email: V })), F(R, "email-submit", E.actions.email_create({ email: V }).run);
|
|
3159
3159
|
}), checkedItemID: Se, setCheckedItemID: B }) : null] })] }) : null, !((M = (we = E.actions).password_create) === null || M === void 0) && M.call(we, null) ? r(A.Fragment, { children: [r(de, { children: G("headlines.profilePassword") }), r(q, { children: r(Jo, { inputs: E.actions.password_create(null).inputs, onPasswordSubmit: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3160
3160
|
return F(R, "password-submit", E.actions.password_create({ password: V }).run);
|
|
3161
|
-
}), onPasswordDelete: Me, checkedItemID: Se, setCheckedItemID: B }) })] }) : null, !((
|
|
3161
|
+
}), onPasswordDelete: Me, checkedItemID: Se, setCheckedItemID: B }) })] }) : null, !((ge = (z = E.actions).password_update) === null || ge === void 0) && ge.call(z, null) ? r(A.Fragment, { children: [r(de, { children: G("headlines.profilePassword") }), r(q, { children: r(Jo, { allowPasswordDelete: !!(!((Ee = ($e = E.actions).password_delete) === null || Ee === void 0) && Ee.call($e, null)), inputs: E.actions.password_update(null).inputs, onPasswordSubmit: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3162
3162
|
return F(R, "password-submit", E.actions.password_update({ password: V }).run);
|
|
3163
3163
|
}), onPasswordDelete: Me, checkedItemID: Se, setCheckedItemID: B, passwordExists: !0 }) })] }) : null, n.enablePasskeys && (!((re = (Le = E.payload) === null || Le === void 0 ? void 0 : Le.user) === null || re === void 0) && re.passkeys || !((he = (ae = E.actions).webauthn_credential_create) === null || he === void 0) && he.call(ae, null)) ? r(A.Fragment, { children: [r(de, { children: G("headlines.profilePasskeys") }), r(q, { children: [r(Zo, { onBack: it, onCredentialNameSubmit: fe, onCredentialDelete: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3164
3164
|
return F(R, "passkey-delete", E.actions.webauthn_credential_delete({ passkey_id: V }).run);
|
|
@@ -3172,7 +3172,7 @@ const Li = (n) => {
|
|
|
3172
3172
|
return F(R, "auth-app-add", E.actions.continue_to_otp_secret_creation(null).run);
|
|
3173
3173
|
}), onDelete: (R) => je(void 0, void 0, void 0, function* () {
|
|
3174
3174
|
return F(R, "auth-app-remove", E.actions.otp_secret_delete(null).run);
|
|
3175
|
-
}), allowDeletion: !!(!((
|
|
3175
|
+
}), allowDeletion: !!(!((v = (m = E.actions).otp_secret_delete) === null || v === void 0) && v.call(m, null)), authAppSetUp: (b = E.payload.user.mfa_config) === null || b === void 0 ? void 0 : b.auth_app_set_up, checkedItemID: Se, setCheckedItemID: B }) })] }) : null, E.payload.sessions ? r(A.Fragment, { children: [r(de, { children: G("headlines.profileSessions") }), r(q, { children: r(Lr, { sessions: E.payload.sessions, setError: null, checkedItemID: Se, setCheckedItemID: B, onSessionDelete: (R, V) => je(void 0, void 0, void 0, function* () {
|
|
3176
3176
|
return F(R, "session-delete", E.actions.session_delete({ session_id: V }).run);
|
|
3177
3177
|
}), deletableSessionIDs: (I = (T = (j = E.actions).session_delete) === null || T === void 0 ? void 0 : T.call(j, null).inputs.session_id.allowed_values) === null || I === void 0 ? void 0 : I.map((R) => R.value) }) })] }) : null, !((X = (W = E.actions).account_delete) === null || X === void 0) && X.call(W, null) ? r(A.Fragment, { children: [r(Pn, {}), r(q, { children: r(_o, {}) }), r(q, { children: r(ne, Object.assign({ onSubmit: (R) => (R.preventDefault(), H(r($r, { onBack: it, onAccountDelete: Kt })), Promise.resolve()) }, { children: r(te, Object.assign({ dangerous: !0 }, { children: G("headlines.deleteAccount") })) })) })] }) : null] });
|
|
3178
3178
|
}, Nr = Li, Yo = ({ state: n, error: e }) => {
|
|
@@ -3211,14 +3211,14 @@ var Wn = function(n, e, t, o) {
|
|
|
3211
3211
|
const Ur = (n) => {
|
|
3212
3212
|
var e, t, o, i;
|
|
3213
3213
|
const { t: s } = (0, _.useContext)(Z.TranslateContext), { hanko: a, stateHandler: c, setLoadingAction: d } = (0, _.useContext)(ue), { flowState: l } = Ne(n.state), [u, h] = (0, _.useState)();
|
|
3214
|
-
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.createEmail") }), r(Pe, { state: l }), r(ne, Object.assign({ onSubmit: (
|
|
3215
|
-
|
|
3214
|
+
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.createEmail") }), r(Pe, { state: l }), r(ne, Object.assign({ onSubmit: (g) => Wn(void 0, void 0, void 0, function* () {
|
|
3215
|
+
g.preventDefault(), d("email-submit");
|
|
3216
3216
|
const f = yield l.actions.email_address_set({ email: u }).run();
|
|
3217
3217
|
d(null), yield a.flow.run(f, c);
|
|
3218
|
-
}) }, { children: [r(Be, { type: "email", autoComplete: "email", autoCorrect: "off", flowInput: (t = (e = l.actions).email_address_set) === null || t === void 0 ? void 0 : t.call(e, null).inputs.email, onInput: (
|
|
3219
|
-
|
|
3220
|
-
}), placeholder: s("labels.email"), pattern: "^.*[^0-9]+$", value: u }), r(te, Object.assign({ uiAction: "email-submit" }, { children: s("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((i = (o = l.actions).skip) === null || i === void 0) && i.call(o, null)) }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "skip", onClick: (
|
|
3221
|
-
|
|
3218
|
+
}) }, { children: [r(Be, { type: "email", autoComplete: "email", autoCorrect: "off", flowInput: (t = (e = l.actions).email_address_set) === null || t === void 0 ? void 0 : t.call(e, null).inputs.email, onInput: (g) => Wn(void 0, void 0, void 0, function* () {
|
|
3219
|
+
g.target instanceof HTMLInputElement && h(g.target.value);
|
|
3220
|
+
}), placeholder: s("labels.email"), pattern: "^.*[^0-9]+$", value: u }), r(te, Object.assign({ uiAction: "email-submit" }, { children: s("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((i = (o = l.actions).skip) === null || i === void 0) && i.call(o, null)) }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "skip", onClick: (g) => Wn(void 0, void 0, void 0, function* () {
|
|
3221
|
+
g.preventDefault(), d("skip");
|
|
3222
3222
|
const f = yield l.actions.skip(null).run();
|
|
3223
3223
|
d(null), yield a.flow.run(f, c);
|
|
3224
3224
|
}), loadingSpinnerPosition: "left" }, { children: s("labels.skip") }))] }))] });
|
|
@@ -3251,14 +3251,14 @@ var zn = function(n, e, t, o) {
|
|
|
3251
3251
|
const Mr = (n) => {
|
|
3252
3252
|
var e, t, o, i;
|
|
3253
3253
|
const { t: s } = (0, _.useContext)(Z.TranslateContext), { hanko: a, stateHandler: c, setLoadingAction: d } = (0, _.useContext)(ue), { flowState: l } = Ne(n.state), [u, h] = (0, _.useState)();
|
|
3254
|
-
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.createUsername") }), r(Pe, { state: l }), r(ne, Object.assign({ onSubmit: (
|
|
3255
|
-
|
|
3254
|
+
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.createUsername") }), r(Pe, { state: l }), r(ne, Object.assign({ onSubmit: (g) => zn(void 0, void 0, void 0, function* () {
|
|
3255
|
+
g.preventDefault(), d("username-set");
|
|
3256
3256
|
const f = yield l.actions.username_create({ username: u }).run();
|
|
3257
3257
|
d(null), yield a.flow.run(f, c);
|
|
3258
|
-
}) }, { children: [r(Be, { type: "text", autoComplete: "username", autoCorrect: "off", flowInput: (t = (e = l.actions).username_create) === null || t === void 0 ? void 0 : t.call(e, null).inputs.username, onInput: (
|
|
3259
|
-
|
|
3260
|
-
}), value: u, placeholder: s("labels.username") }), r(te, Object.assign({ uiAction: "username-set" }, { children: s("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((i = (o = l.actions).skip) === null || i === void 0) && i.call(o, null)) }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "skip", onClick: (
|
|
3261
|
-
|
|
3258
|
+
}) }, { children: [r(Be, { type: "text", autoComplete: "username", autoCorrect: "off", flowInput: (t = (e = l.actions).username_create) === null || t === void 0 ? void 0 : t.call(e, null).inputs.username, onInput: (g) => zn(void 0, void 0, void 0, function* () {
|
|
3259
|
+
g.target instanceof HTMLInputElement && h(g.target.value);
|
|
3260
|
+
}), value: u, placeholder: s("labels.username") }), r(te, Object.assign({ uiAction: "username-set" }, { children: s("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((i = (o = l.actions).skip) === null || i === void 0) && i.call(o, null)) }, { children: [r("span", { hidden: !0 }), r(ee, Object.assign({ uiAction: "skip", onClick: (g) => zn(void 0, void 0, void 0, function* () {
|
|
3261
|
+
g.preventDefault(), d("skip");
|
|
3262
3262
|
const f = yield l.actions.skip(null).run();
|
|
3263
3263
|
d(null), yield a.flow.run(f, c);
|
|
3264
3264
|
}), loadingSpinnerPosition: "left" }, { children: s("labels.skip") }))] }))] });
|
|
@@ -3289,7 +3289,7 @@ var Xt = function(n, e, t, o) {
|
|
|
3289
3289
|
});
|
|
3290
3290
|
};
|
|
3291
3291
|
const Hr = (n) => {
|
|
3292
|
-
var e, t, o, i, s, a, c, d, l, u, h,
|
|
3292
|
+
var e, t, o, i, s, a, c, d, l, u, h, g;
|
|
3293
3293
|
const { t: f } = (0, _.useContext)(Z.TranslateContext), { hanko: x, setLoadingAction: O, stateHandler: C } = (0, _.useContext)(ue), { flowState: S } = Ne(n.state);
|
|
3294
3294
|
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: f("headlines.setupLoginMethod") }), r(Pe, { flowError: S == null ? void 0 : S.error }), r(q, { children: f("texts.selectLoginMethodForFutureLogins") }), r(ne, Object.assign({ hidden: !(!((t = (e = S.actions).continue_to_passkey_registration) === null || t === void 0) && t.call(e, null)), onSubmit: (P) => Xt(void 0, void 0, void 0, function* () {
|
|
3295
3295
|
P.preventDefault(), O("passkey-submit");
|
|
@@ -3307,7 +3307,7 @@ const Hr = (n) => {
|
|
|
3307
3307
|
P.preventDefault(), O("skip");
|
|
3308
3308
|
const D = yield S.actions.skip(null).run();
|
|
3309
3309
|
O(null), yield x.flow.run(D, C);
|
|
3310
|
-
}), loadingSpinnerPosition: "left", hidden: !(!((
|
|
3310
|
+
}), loadingSpinnerPosition: "left", hidden: !(!((g = (h = S.actions).skip) === null || g === void 0) && g.call(h, null)) }, { children: f("labels.skip") }))] }))] });
|
|
3311
3311
|
};
|
|
3312
3312
|
var qn = function(n, e, t, o) {
|
|
3313
3313
|
return new (t || (t = Promise))(function(i, s) {
|
|
@@ -3336,7 +3336,7 @@ var qn = function(n, e, t, o) {
|
|
|
3336
3336
|
};
|
|
3337
3337
|
const Rr = (n) => {
|
|
3338
3338
|
var e, t, o, i;
|
|
3339
|
-
const { t: s } = (0, _.useContext)(Z.TranslateContext), { flowState: a } = Ne(n.state), { hanko: c, setLoadingAction: d, stateHandler: l } = (0, _.useContext)(ue), [u, h] = (0, _.useState)([]),
|
|
3339
|
+
const { t: s } = (0, _.useContext)(Z.TranslateContext), { flowState: a } = Ne(n.state), { hanko: c, setLoadingAction: d, stateHandler: l } = (0, _.useContext)(ue), [u, h] = (0, _.useState)([]), g = (0, _.useCallback)((f) => qn(void 0, void 0, void 0, function* () {
|
|
3340
3340
|
d("passcode-submit");
|
|
3341
3341
|
const x = yield a.actions.otp_code_validate({ otp_code: f }).run();
|
|
3342
3342
|
d(null), yield c.flow.run(x, l);
|
|
@@ -3345,9 +3345,9 @@ const Rr = (n) => {
|
|
|
3345
3345
|
var f;
|
|
3346
3346
|
((f = a.error) === null || f === void 0 ? void 0 : f.code) === "passcode_invalid" && h([]);
|
|
3347
3347
|
}, [a]), r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: s("headlines.otpLogin") }), r(Pe, { state: a }), r(q, { children: s("texts.otpLogin") }), r(ne, Object.assign({ onSubmit: (f) => qn(void 0, void 0, void 0, function* () {
|
|
3348
|
-
return f.preventDefault(),
|
|
3348
|
+
return f.preventDefault(), g(u.join(""));
|
|
3349
3349
|
}) }, { children: [r(bo, { onInput: (f) => {
|
|
3350
|
-
if (h(f), f.filter((x) => x !== "").length === 6) return
|
|
3350
|
+
if (h(f), f.filter((x) => x !== "").length === 6) return g(f.join(""));
|
|
3351
3351
|
}, passcodeDigits: u, numberOfInputs: 6 }), r(te, Object.assign({ uiAction: "passcode-submit" }, { children: s("labels.continue") }))] }))] }), r(Ue, Object.assign({ hidden: !(!((t = (e = a.actions).continue_to_login_security_key) === null || t === void 0) && t.call(e, null)) }, { children: r(ee, Object.assign({ uiAction: "skip", onClick: (f) => qn(void 0, void 0, void 0, function* () {
|
|
3352
3352
|
f.preventDefault(), d("skip");
|
|
3353
3353
|
const x = yield a.actions.continue_to_login_security_key(null).run();
|
|
@@ -3419,14 +3419,14 @@ var en = function(n, e, t, o) {
|
|
|
3419
3419
|
};
|
|
3420
3420
|
const zr = (n) => {
|
|
3421
3421
|
var e, t, o, i, s, a, c, d;
|
|
3422
|
-
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, setLoadingAction: h, stateHandler:
|
|
3422
|
+
const { t: l } = (0, _.useContext)(Z.TranslateContext), { hanko: u, setLoadingAction: h, stateHandler: g } = (0, _.useContext)(ue), { flowState: f } = Ne(n.state), x = (S) => en(void 0, void 0, void 0, function* () {
|
|
3423
3423
|
S.preventDefault(), h("passcode-submit");
|
|
3424
3424
|
const P = yield f.actions.continue_to_security_key_creation(null).run();
|
|
3425
|
-
h(null), yield u.flow.run(P,
|
|
3425
|
+
h(null), yield u.flow.run(P, g);
|
|
3426
3426
|
}), O = (S) => en(void 0, void 0, void 0, function* () {
|
|
3427
3427
|
S.preventDefault(), h("password-submit");
|
|
3428
3428
|
const P = yield f.actions.continue_to_otp_secret_creation(null).run();
|
|
3429
|
-
h(null), yield u.flow.run(P,
|
|
3429
|
+
h(null), yield u.flow.run(P, g);
|
|
3430
3430
|
}), C = (0, _.useMemo)(() => {
|
|
3431
3431
|
const { actions: S } = f;
|
|
3432
3432
|
return S.continue_to_security_key_creation && !S.continue_to_otp_secret_creation ? x : !S.continue_to_security_key_creation && S.continue_to_otp_secret_creation ? O : void 0;
|
|
@@ -3434,11 +3434,11 @@ const zr = (n) => {
|
|
|
3434
3434
|
return r(A.Fragment, { children: [r(Oe, { children: [r(de, { children: l("headlines.mfaSetUp") }), r(Pe, { flowError: f == null ? void 0 : f.error }), r(q, { children: l("texts.mfaSetUp") }), C ? r(ne, Object.assign({ onSubmit: C }, { children: r(te, Object.assign({ uiAction: "passcode-submit" }, { children: l("labels.continue") })) })) : r(A.Fragment, { children: [r(ne, Object.assign({ hidden: !(!((t = (e = f.actions).continue_to_security_key_creation) === null || t === void 0) && t.call(e, null)), onSubmit: x }, { children: r(te, Object.assign({ secondary: !0, uiAction: "passcode-submit", icon: "securityKey" }, { children: l("labels.securityKey") })) })), r(ne, Object.assign({ hidden: !(!((i = (o = f.actions).continue_to_otp_secret_creation) === null || i === void 0) && i.call(o, null)), onSubmit: O }, { children: r(te, Object.assign({ secondary: !0, uiAction: "password-submit", icon: "qrCodeScanner" }, { children: l("labels.authenticatorApp") })) }))] })] }), r(Ue, { children: [r(ee, Object.assign({ uiAction: "back", onClick: (S) => en(void 0, void 0, void 0, function* () {
|
|
3435
3435
|
S.preventDefault(), h("back");
|
|
3436
3436
|
const P = yield f.actions.back(null).run();
|
|
3437
|
-
h(null), yield u.flow.run(P,
|
|
3437
|
+
h(null), yield u.flow.run(P, g);
|
|
3438
3438
|
}), loadingSpinnerPosition: "right", hidden: !(!((a = (s = f.actions).back) === null || a === void 0) && a.call(s, null)) }, { children: l("labels.back") })), r(ee, Object.assign({ uiAction: "skip", onClick: (S) => en(void 0, void 0, void 0, function* () {
|
|
3439
3439
|
S.preventDefault(), h("skip");
|
|
3440
3440
|
const P = yield f.actions.skip(null).run();
|
|
3441
|
-
h(null), yield u.flow.run(P,
|
|
3441
|
+
h(null), yield u.flow.run(P, g);
|
|
3442
3442
|
}), loadingSpinnerPosition: "left", hidden: !(!((d = (c = f.actions).skip) === null || d === void 0) && d.call(c, null)) }, { children: l("labels.skip") }))] })] });
|
|
3443
3443
|
};
|
|
3444
3444
|
var mn = Y(560), Dt = {};
|
|
@@ -3456,7 +3456,7 @@ const qr = mn.A && mn.A.locals ? mn.A.locals : void 0, Fr = ({ children: n, text
|
|
|
3456
3456
|
console.error("Failed to copy: ", u);
|
|
3457
3457
|
}
|
|
3458
3458
|
}, new ((d = void 0) || (d = Promise))(function(u, h) {
|
|
3459
|
-
function
|
|
3459
|
+
function g(O) {
|
|
3460
3460
|
try {
|
|
3461
3461
|
x(l.next(O));
|
|
3462
3462
|
} catch (C) {
|
|
@@ -3474,7 +3474,7 @@ const qr = mn.A && mn.A.locals ? mn.A.locals : void 0, Fr = ({ children: n, text
|
|
|
3474
3474
|
var C;
|
|
3475
3475
|
O.done ? u(O.value) : (C = O.value, C instanceof d ? C : new d(function(S) {
|
|
3476
3476
|
S(C);
|
|
3477
|
-
})).then(
|
|
3477
|
+
})).then(g, f);
|
|
3478
3478
|
}
|
|
3479
3479
|
x((l = l.apply(a, c || [])).next());
|
|
3480
3480
|
});
|
|
@@ -3643,11 +3643,11 @@ const tn = "flow-state", ue = (0, A.createContext)(null), Jr = (n) => {
|
|
|
3643
3643
|
}
|
|
3644
3644
|
return L;
|
|
3645
3645
|
}(n, ["lang", "experimental", "prefilledEmail", "prefilledUsername", "globalOptions", "createWebauthnAbortSignal"]);
|
|
3646
|
-
const { hanko: d, injectStyles: l, hidePasskeyButtonOnLogin: u, translations: h, translationsLocation:
|
|
3646
|
+
const { hanko: d, injectStyles: l, hidePasskeyButtonOnLogin: u, translations: h, translationsLocation: g, fallbackLanguage: f } = s;
|
|
3647
3647
|
d.setLang((e == null ? void 0 : e.toString()) || f);
|
|
3648
3648
|
const x = (0, _.useRef)(null), O = (0, _.useMemo)(() => `${s.storageKey}_last_login`, [s.storageKey]), [C, S] = (0, _.useState)(c.componentName), P = (0, _.useMemo)(() => t.split(" ").filter((p) => p.length).map((p) => p), [t]), D = (0, _.useMemo)(() => r(_r, {}), []), [N, U] = (0, _.useState)(D), [, ie] = (0, _.useState)(d), [ye, se] = (0, _.useState)(), [we, M] = (0, _.useState)({ email: o, username: i }), z = (0, _.useCallback)((p) => {
|
|
3649
3649
|
M((y) => Object.assign(Object.assign({}, y), { loadingAction: p, succeededAction: null, error: null, lastAction: p || y.lastAction }));
|
|
3650
|
-
}, []),
|
|
3650
|
+
}, []), ge = (0, _.useCallback)((p) => {
|
|
3651
3651
|
M((y) => Object.assign(Object.assign({}, y), { succeededAction: p, loadingAction: null }));
|
|
3652
3652
|
}, []), $e = (0, _.useCallback)(() => {
|
|
3653
3653
|
M((p) => Object.assign(Object.assign({}, p), { succeededAction: p.lastAction, loadingAction: null, error: null }));
|
|
@@ -3817,7 +3817,7 @@ const tn = "flow-state", ue = (0, A.createContext)(null), Jr = (n) => {
|
|
|
3817
3817
|
["auth", "login", "registration"].includes(C) ? (d.onUserLoggedOut(p), d.onSessionExpired(p), d.onUserDeleted(p)) : C === "profile" && d.onSessionCreated(p);
|
|
3818
3818
|
}, []);
|
|
3819
3819
|
const k = mt.supported();
|
|
3820
|
-
return r(ue.Provider, Object.assign({ value: { init: Ie, initialComponentName: c.componentName, isDisabled: Ee, setUIState: M, setLoadingAction: z, setSucceededAction:
|
|
3820
|
+
return r(ue.Provider, Object.assign({ value: { init: Ie, initialComponentName: c.componentName, isDisabled: Ee, setUIState: M, setLoadingAction: z, setSucceededAction: ge, uiState: we, hanko: d, setHanko: ie, lang: (e == null ? void 0 : e.toString()) || f, prefilledEmail: o, prefilledUsername: i, componentName: C, setComponentName: S, experimentalFeatures: P, hidePasskeyButtonOnLogin: u, page: N, setPage: U, stateHandler: ae, lastLogin: ye } }, { children: r(Z.TranslateProvider, Object.assign({ translations: h, fallbackLang: f, root: g }, { children: r(Xs, Object.assign({ ref: x }, { children: C !== "events" ? r(A.Fragment, { children: [l ? r("style", { dangerouslySetInnerHTML: { __html: window._hankoStyle.innerHTML } }) : null, N] }) : null })) })) }));
|
|
3821
3821
|
}, Qr = { en: Y(6).en };
|
|
3822
3822
|
var Ti = function(n, e, t, o) {
|
|
3823
3823
|
return new (t || (t = Promise))(function(i, s) {
|
|
@@ -3852,10 +3852,10 @@ const na = () => (nn && nn.abort(), nn = new AbortController(), nn.signal), $t =
|
|
|
3852
3852
|
var l = Reflect.construct(HTMLElement, [], d);
|
|
3853
3853
|
return l._vdomComponent = i, l._root = c && c.shadow ? l.attachShadow({ mode: "open" }) : l, l;
|
|
3854
3854
|
}
|
|
3855
|
-
(d.prototype = Object.create(HTMLElement.prototype)).constructor = d, d.prototype.connectedCallback = ms, d.prototype.attributeChangedCallback =
|
|
3855
|
+
(d.prototype = Object.create(HTMLElement.prototype)).constructor = d, d.prototype.connectedCallback = ms, d.prototype.attributeChangedCallback = gs, d.prototype.disconnectedCallback = vs, a = a || i.observedAttributes || Object.keys(i.propTypes || {}), d.observedAttributes = a, a.forEach(function(l) {
|
|
3856
3856
|
Object.defineProperty(d.prototype, l, { get: function() {
|
|
3857
|
-
var u, h,
|
|
3858
|
-
return (u = (h = this._vdom) == null || (
|
|
3857
|
+
var u, h, g, f;
|
|
3858
|
+
return (u = (h = this._vdom) == null || (g = h.props) == null ? void 0 : g[l]) != null ? u : (f = this._props) == null ? void 0 : f[l];
|
|
3859
3859
|
}, set: function(u) {
|
|
3860
3860
|
this._vdom ? this.attributeChangedCallback(l, null, u) : (this._props || (this._props = {}), this._props[l] = u, this.connectedCallback());
|
|
3861
3861
|
var h = typeof u;
|
|
@@ -4023,7 +4023,7 @@ const le = {
|
|
|
4023
4023
|
profileDisplayName: ""
|
|
4024
4024
|
// Shared profile display name
|
|
4025
4025
|
}, ni = (n) => `hanko-verified-${n}`, oi = (n) => `hanko-onboarding-${n}`;
|
|
4026
|
-
let
|
|
4026
|
+
let ve = class extends Ut {
|
|
4027
4027
|
constructor() {
|
|
4028
4028
|
super(...arguments), this.hankoUrlAttr = "", this.basePath = "", this.authPath = "/api/auth/osm", this.osmRequired = !1, this.osmScopes = "read_prefs", this.showProfile = !1, this.redirectAfterLogin = "", this.autoConnect = !1, this.verifySession = !1, this.redirectAfterLogout = "", this.displayNameAttr = "", this.mappingCheckUrl = "", this.appId = "", this.loginUrl = "", this.user = null, this.osmConnected = !1, this.osmData = null, this.osmLoading = !1, this.loading = !0, this.error = null, this.profileDisplayName = "", this.hasAppMapping = !1, this._trailingSlashCache = {}, this._debugMode = !1, this._lastSessionId = null, this._hanko = null, this._isPrimary = !1, this._handleVisibilityChange = () => {
|
|
4029
4029
|
this._isPrimary && !document.hidden && !this.showProfile && !this.user && (this.log("👁️ Page visible, re-checking session..."), this.checkSession());
|
|
@@ -4129,12 +4129,12 @@ let ge = class extends Ut {
|
|
|
4129
4129
|
enablePasskeys: !1,
|
|
4130
4130
|
hidePasskeyButtonOnLogin: !0
|
|
4131
4131
|
});
|
|
4132
|
-
const { Hanko: n } = await Promise.resolve().then(() => sa), e = window.location.hostname,
|
|
4133
|
-
cookieDomain:
|
|
4132
|
+
const { Hanko: n } = await Promise.resolve().then(() => sa), e = window.location.hostname, t = e === "localhost" || e === "127.0.0.1", o = e.split("."), i = o.length >= 2 ? `.${o.slice(-2).join(".")}` : e, s = t ? {} : {
|
|
4133
|
+
cookieDomain: i,
|
|
4134
4134
|
cookieName: "hanko",
|
|
4135
4135
|
cookieSameSite: "lax"
|
|
4136
4136
|
};
|
|
4137
|
-
this._hanko = new n(this.hankoUrl,
|
|
4137
|
+
this._hanko = new n(this.hankoUrl, s), le.hanko = this._hanko, this._hanko.onSessionExpired(() => {
|
|
4138
4138
|
this.log("🕒 Hanko session expired event received"), this.handleSessionExpired();
|
|
4139
4139
|
}), this._hanko.onUserLoggedOut(() => {
|
|
4140
4140
|
this.log("🚪 Hanko user logged out event received"), this.handleUserLoggedOut();
|
|
@@ -4243,6 +4243,10 @@ let ge = class extends Ut {
|
|
|
4243
4243
|
}
|
|
4244
4244
|
}
|
|
4245
4245
|
async checkOSMConnection() {
|
|
4246
|
+
if (!this.osmRequired) {
|
|
4247
|
+
this.log("⏭️ OSM not required, skipping connection check");
|
|
4248
|
+
return;
|
|
4249
|
+
}
|
|
4246
4250
|
if (this.osmConnected) {
|
|
4247
4251
|
this.log("⏭️ Already connected to OSM, skipping check");
|
|
4248
4252
|
return;
|
|
@@ -4526,8 +4530,13 @@ let ge = class extends Ut {
|
|
|
4526
4530
|
async handleSessionExpired() {
|
|
4527
4531
|
if (this.log("🕒 Session expired event received"), this.log("📊 Current state:", {
|
|
4528
4532
|
user: this.user,
|
|
4529
|
-
osmConnected: this.osmConnected
|
|
4530
|
-
|
|
4533
|
+
osmConnected: this.osmConnected,
|
|
4534
|
+
loading: this.loading
|
|
4535
|
+
}), this.loading) {
|
|
4536
|
+
this.log("⏳ Still loading, ignoring session expired event during init");
|
|
4537
|
+
return;
|
|
4538
|
+
}
|
|
4539
|
+
if (this.user) {
|
|
4531
4540
|
this.log("✅ User is logged in, ignoring stale session expired event");
|
|
4532
4541
|
return;
|
|
4533
4542
|
}
|
|
@@ -4755,7 +4764,7 @@ let ge = class extends Ut {
|
|
|
4755
4764
|
}
|
|
4756
4765
|
}
|
|
4757
4766
|
};
|
|
4758
|
-
|
|
4767
|
+
ve.styles = qi`
|
|
4759
4768
|
:host {
|
|
4760
4769
|
display: block;
|
|
4761
4770
|
font-family: var(--hot-font-sans);
|
|
@@ -5011,73 +5020,73 @@ ge.styles = qi`
|
|
|
5011
5020
|
`;
|
|
5012
5021
|
ke([
|
|
5013
5022
|
We({ type: String, attribute: "hanko-url" })
|
|
5014
|
-
],
|
|
5023
|
+
], ve.prototype, "hankoUrlAttr", 2);
|
|
5015
5024
|
ke([
|
|
5016
5025
|
We({ type: String, attribute: "base-path" })
|
|
5017
|
-
],
|
|
5026
|
+
], ve.prototype, "basePath", 2);
|
|
5018
5027
|
ke([
|
|
5019
5028
|
We({ type: String, attribute: "auth-path" })
|
|
5020
|
-
],
|
|
5029
|
+
], ve.prototype, "authPath", 2);
|
|
5021
5030
|
ke([
|
|
5022
5031
|
We({ type: Boolean, attribute: "osm-required" })
|
|
5023
|
-
],
|
|
5032
|
+
], ve.prototype, "osmRequired", 2);
|
|
5024
5033
|
ke([
|
|
5025
5034
|
We({ type: String, attribute: "osm-scopes" })
|
|
5026
|
-
],
|
|
5035
|
+
], ve.prototype, "osmScopes", 2);
|
|
5027
5036
|
ke([
|
|
5028
5037
|
We({ type: Boolean, attribute: "show-profile" })
|
|
5029
|
-
],
|
|
5038
|
+
], ve.prototype, "showProfile", 2);
|
|
5030
5039
|
ke([
|
|
5031
5040
|
We({ type: String, attribute: "redirect-after-login" })
|
|
5032
|
-
],
|
|
5041
|
+
], ve.prototype, "redirectAfterLogin", 2);
|
|
5033
5042
|
ke([
|
|
5034
5043
|
We({ type: Boolean, attribute: "auto-connect" })
|
|
5035
|
-
],
|
|
5044
|
+
], ve.prototype, "autoConnect", 2);
|
|
5036
5045
|
ke([
|
|
5037
5046
|
We({ type: Boolean, attribute: "verify-session" })
|
|
5038
|
-
],
|
|
5047
|
+
], ve.prototype, "verifySession", 2);
|
|
5039
5048
|
ke([
|
|
5040
5049
|
We({ type: String, attribute: "redirect-after-logout" })
|
|
5041
|
-
],
|
|
5050
|
+
], ve.prototype, "redirectAfterLogout", 2);
|
|
5042
5051
|
ke([
|
|
5043
5052
|
We({ type: String, attribute: "display-name" })
|
|
5044
|
-
],
|
|
5053
|
+
], ve.prototype, "displayNameAttr", 2);
|
|
5045
5054
|
ke([
|
|
5046
5055
|
We({ type: String, attribute: "mapping-check-url" })
|
|
5047
|
-
],
|
|
5056
|
+
], ve.prototype, "mappingCheckUrl", 2);
|
|
5048
5057
|
ke([
|
|
5049
5058
|
We({ type: String, attribute: "app-id" })
|
|
5050
|
-
],
|
|
5059
|
+
], ve.prototype, "appId", 2);
|
|
5051
5060
|
ke([
|
|
5052
5061
|
We({ type: String, attribute: "login-url" })
|
|
5053
|
-
],
|
|
5062
|
+
], ve.prototype, "loginUrl", 2);
|
|
5054
5063
|
ke([
|
|
5055
5064
|
at()
|
|
5056
|
-
],
|
|
5065
|
+
], ve.prototype, "user", 2);
|
|
5057
5066
|
ke([
|
|
5058
5067
|
at()
|
|
5059
|
-
],
|
|
5068
|
+
], ve.prototype, "osmConnected", 2);
|
|
5060
5069
|
ke([
|
|
5061
5070
|
at()
|
|
5062
|
-
],
|
|
5071
|
+
], ve.prototype, "osmData", 2);
|
|
5063
5072
|
ke([
|
|
5064
5073
|
at()
|
|
5065
|
-
],
|
|
5074
|
+
], ve.prototype, "osmLoading", 2);
|
|
5066
5075
|
ke([
|
|
5067
5076
|
at()
|
|
5068
|
-
],
|
|
5077
|
+
], ve.prototype, "loading", 2);
|
|
5069
5078
|
ke([
|
|
5070
5079
|
at()
|
|
5071
|
-
],
|
|
5080
|
+
], ve.prototype, "error", 2);
|
|
5072
5081
|
ke([
|
|
5073
5082
|
at()
|
|
5074
|
-
],
|
|
5083
|
+
], ve.prototype, "profileDisplayName", 2);
|
|
5075
5084
|
ke([
|
|
5076
5085
|
at()
|
|
5077
|
-
],
|
|
5078
|
-
|
|
5086
|
+
], ve.prototype, "hasAppMapping", 2);
|
|
5087
|
+
ve = ke([
|
|
5079
5088
|
ls("hotosm-auth")
|
|
5080
|
-
],
|
|
5089
|
+
], ve);
|
|
5081
5090
|
export {
|
|
5082
|
-
|
|
5091
|
+
ve as HankoAuth
|
|
5083
5092
|
};
|