@tapni/auth 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/.vite/manifest.json +12 -12
- package/dist/.well-known/assetlinks.json +10 -12
- package/dist/.well-known/microsoft-identity-association.json +5 -5
- package/dist/{Apps-aanvwc1E.js → Apps-RvuCmVZn.js} +1 -1
- package/dist/{Billing-C7LjeXBV.js → Billing-Cl-Go20Z.js} +1 -1
- package/dist/{CustomApp-Cd00FwXJ.js → CustomApp-CZq-1s27.js} +1 -1
- package/dist/{General-DH-AnLIA.js → General-B4mMzmcc.js} +1 -1
- package/dist/{QR-cfWsMTIZ.js → QR-BNOCCI9L.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/blank.html +31 -0
- package/dist/{install-CBFqB-tX.js → install-DqdbJ4A1.js} +760 -743
- package/dist/site.webmanifest +11 -1
- package/dist/style.css +1 -1
- package/package.json +14 -4
- package/src/.prettierrc.json +16 -0
- package/src/components/DELETE_LinkIcon.vue +174 -225
- package/src/components/DELETE_SSOPick.vue +93 -148
- package/src/eslint.config.js +15 -0
- package/src/install.js +9 -10
- package/src/main.js +54 -57
- package/src/mixins/apple.mixin.js +56 -54
- package/src/mixins/auth.mixin.js +3 -2
- package/src/mixins/global.mixin.js +2 -2
- package/src/mixins/google.mixin.js +53 -54
- package/src/mixins/qr-auth.mixin.js +111 -107
- package/src/router/index.js +6 -6
- package/src/routes.js +1 -1
- package/src/services/Api.js +55 -57
- package/src/services/CompanyService.js +10 -10
- package/src/services/DeviceService.js +3 -3
- package/src/services/UserService.js +45 -45
- package/src/services/UtilService.js +256 -218
- package/src/store/event-bus.js +22 -22
- package/src/store/locales/cn.js +442 -458
- package/src/store/locales/de.js +438 -517
- package/src/store/locales/es.js +442 -524
- package/src/store/locales/fr.js +442 -516
- package/src/store/locales/it.js +442 -514
- package/src/store/locales/kr.js +442 -491
- package/src/store/locales/lang.js +43 -43
- package/src/store/locales/sr.js +439 -492
- package/src/store/locales/tr.js +436 -487
- package/src/store/store.js +6 -6
- package/src/views/Account.vue +2 -2
- package/src/views/Callback.vue +36 -33
- package/src/views/Reset.vue +132 -135
- package/src/views/Verify.vue +153 -151
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { reactive as qr, readonly as Ri, resolveComponent as fn, openBlock as N, createElementBlock as
|
|
1
|
+
import { reactive as qr, readonly as Ri, resolveComponent as fn, openBlock as N, createElementBlock as x, createElementVNode as _, toDisplayString as D, createCommentVNode as ce, createVNode as Me, withCtx as st, createTextVNode as Se, createStaticVNode as Pi, nextTick as ko, withModifiers as je, normalizeStyle as zn, withDirectives as me, withKeys as hn, vModelText as kt, vModelDynamic as pr, vShow as Ct, createBlock as et, normalizeClass as He, vModelCheckbox as Co, watch as Mi, unref as Ni } from "vue";
|
|
2
2
|
import { createRouter as Oi, createWebHistory as Li, RouterView as zi } from "vue-router";
|
|
3
|
-
import { createNamespacedHelpers as
|
|
3
|
+
import { createNamespacedHelpers as xi, createStore as Ui } from "vuex";
|
|
4
4
|
import { Capacitor as Kn, registerPlugin as Ir, WebPlugin as Bi } from "@capacitor/core";
|
|
5
5
|
import ve from "await-to-js";
|
|
6
6
|
import ro from "axios";
|
|
@@ -61,20 +61,20 @@ function ji(n) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var Xt = [],
|
|
64
|
+
var Xt = [], xn = !1, bn, dr = -1;
|
|
65
65
|
function qi() {
|
|
66
|
-
!
|
|
66
|
+
!xn || !bn || (xn = !1, bn.length ? Xt = bn.concat(Xt) : dr = -1, Xt.length && $o());
|
|
67
67
|
}
|
|
68
68
|
function $o() {
|
|
69
|
-
if (!
|
|
69
|
+
if (!xn) {
|
|
70
70
|
var n = Jo(qi);
|
|
71
|
-
|
|
71
|
+
xn = !0;
|
|
72
72
|
for (var e = Xt.length; e; ) {
|
|
73
73
|
for (bn = Xt, Xt = []; ++dr < e; )
|
|
74
74
|
bn && bn[dr].run();
|
|
75
75
|
dr = -1, e = Xt.length;
|
|
76
76
|
}
|
|
77
|
-
bn = null,
|
|
77
|
+
bn = null, xn = !1, ji(n);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
Ne.nextTick = function(n) {
|
|
@@ -82,7 +82,7 @@ Ne.nextTick = function(n) {
|
|
|
82
82
|
if (arguments.length > 1)
|
|
83
83
|
for (var t = 1; t < arguments.length; t++)
|
|
84
84
|
e[t - 1] = arguments[t];
|
|
85
|
-
Xt.push(new Xo(n, e)), Xt.length === 1 && !
|
|
85
|
+
Xt.push(new Xo(n, e)), Xt.length === 1 && !xn && Jo($o);
|
|
86
86
|
};
|
|
87
87
|
function Xo(n, e) {
|
|
88
88
|
this.fun = n, this.array = e;
|
|
@@ -261,7 +261,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
261
261
|
throw new TypeError(
|
|
262
262
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof h
|
|
263
263
|
);
|
|
264
|
-
if (
|
|
264
|
+
if (xe(h, a) || h && xe(h.buffer, a) || typeof s < "u" && (xe(h, s) || h && xe(h.buffer, s)))
|
|
265
265
|
return z(h, c, d);
|
|
266
266
|
if (typeof h == "number")
|
|
267
267
|
throw new TypeError(
|
|
@@ -316,7 +316,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
316
316
|
return d;
|
|
317
317
|
}
|
|
318
318
|
function K(h) {
|
|
319
|
-
if (
|
|
319
|
+
if (xe(h, i)) {
|
|
320
320
|
const c = new i(h);
|
|
321
321
|
return z(c.buffer, c.byteOffset, c.byteLength);
|
|
322
322
|
}
|
|
@@ -351,7 +351,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
351
351
|
l.isBuffer = function(c) {
|
|
352
352
|
return c != null && c._isBuffer === !0 && c !== l.prototype;
|
|
353
353
|
}, l.compare = function(c, d) {
|
|
354
|
-
if (
|
|
354
|
+
if (xe(c, i) && (c = l.from(c, c.offset, c.byteLength)), xe(d, i) && (d = l.from(d, d.offset, d.byteLength)), !l.isBuffer(c) || !l.isBuffer(d))
|
|
355
355
|
throw new TypeError(
|
|
356
356
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
357
357
|
);
|
|
@@ -393,7 +393,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
393
393
|
let S = 0;
|
|
394
394
|
for (g = 0; g < c.length; ++g) {
|
|
395
395
|
let P = c[g];
|
|
396
|
-
if (
|
|
396
|
+
if (xe(P, i))
|
|
397
397
|
S + P.length > b.length ? (l.isBuffer(P) || (P = l.from(P)), P.copy(b, S)) : i.prototype.set.call(
|
|
398
398
|
b,
|
|
399
399
|
P,
|
|
@@ -410,7 +410,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
410
410
|
function $(h, c) {
|
|
411
411
|
if (l.isBuffer(h))
|
|
412
412
|
return h.length;
|
|
413
|
-
if (a.isView(h) ||
|
|
413
|
+
if (a.isView(h) || xe(h, a))
|
|
414
414
|
return h.byteLength;
|
|
415
415
|
if (typeof h != "string")
|
|
416
416
|
throw new TypeError(
|
|
@@ -509,7 +509,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
509
509
|
const d = n.INSPECT_MAX_BYTES;
|
|
510
510
|
return c = this.toString("hex", 0, d).replace(/(.{2})/g, "$1 ").trim(), this.length > d && (c += " ... "), "<Buffer " + c + ">";
|
|
511
511
|
}, r && (l.prototype[r] = l.prototype.inspect), l.prototype.compare = function(c, d, g, b, S) {
|
|
512
|
-
if (
|
|
512
|
+
if (xe(c, i) && (c = l.from(c, c.offset, c.byteLength)), !l.isBuffer(c))
|
|
513
513
|
throw new TypeError(
|
|
514
514
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof c
|
|
515
515
|
);
|
|
@@ -540,12 +540,12 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
540
540
|
if (b) d = 0;
|
|
541
541
|
else return -1;
|
|
542
542
|
if (typeof c == "string" && (c = l.from(c, g)), l.isBuffer(c))
|
|
543
|
-
return c.length === 0 ? -1 :
|
|
543
|
+
return c.length === 0 ? -1 : Ie(h, c, d, g, b);
|
|
544
544
|
if (typeof c == "number")
|
|
545
|
-
return c = c & 255, typeof i.prototype.indexOf == "function" ? b ? i.prototype.indexOf.call(h, c, d) : i.prototype.lastIndexOf.call(h, c, d) :
|
|
545
|
+
return c = c & 255, typeof i.prototype.indexOf == "function" ? b ? i.prototype.indexOf.call(h, c, d) : i.prototype.lastIndexOf.call(h, c, d) : Ie(h, [c], d, g, b);
|
|
546
546
|
throw new TypeError("val must be string, number or Buffer");
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Ie(h, c, d, g, b) {
|
|
549
549
|
let S = 1, P = h.length, se = c.length;
|
|
550
550
|
if (g !== void 0 && (g = String(g).toLowerCase(), g === "ucs2" || g === "ucs-2" || g === "utf16le" || g === "utf-16le")) {
|
|
551
551
|
if (h.length < 2 || c.length < 2)
|
|
@@ -757,13 +757,13 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
757
757
|
}, l.prototype.readUint32BE = l.prototype.readUInt32BE = function(c, d) {
|
|
758
758
|
return c = c >>> 0, d || Te(c, 4, this.length), this[c] * 16777216 + (this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3]);
|
|
759
759
|
}, l.prototype.readBigUInt64LE = Ke(function(c) {
|
|
760
|
-
c = c >>> 0,
|
|
760
|
+
c = c >>> 0, Pe(c, "offset");
|
|
761
761
|
const d = this[c], g = this[c + 7];
|
|
762
762
|
(d === void 0 || g === void 0) && pt(c, this.length - 8);
|
|
763
763
|
const b = d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24, S = this[++c] + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + g * 2 ** 24;
|
|
764
764
|
return BigInt(b) + (BigInt(S) << BigInt(32));
|
|
765
765
|
}), l.prototype.readBigUInt64BE = Ke(function(c) {
|
|
766
|
-
c = c >>> 0,
|
|
766
|
+
c = c >>> 0, Pe(c, "offset");
|
|
767
767
|
const d = this[c], g = this[c + 7];
|
|
768
768
|
(d === void 0 || g === void 0) && pt(c, this.length - 8);
|
|
769
769
|
const b = d * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c], S = this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + g;
|
|
@@ -795,13 +795,13 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
795
795
|
}, l.prototype.readInt32BE = function(c, d) {
|
|
796
796
|
return c = c >>> 0, d || Te(c, 4, this.length), this[c] << 24 | this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3];
|
|
797
797
|
}, l.prototype.readBigInt64LE = Ke(function(c) {
|
|
798
|
-
c = c >>> 0,
|
|
798
|
+
c = c >>> 0, Pe(c, "offset");
|
|
799
799
|
const d = this[c], g = this[c + 7];
|
|
800
800
|
(d === void 0 || g === void 0) && pt(c, this.length - 8);
|
|
801
801
|
const b = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (g << 24);
|
|
802
802
|
return (BigInt(b) << BigInt(32)) + BigInt(d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
|
|
803
803
|
}), l.prototype.readBigInt64BE = Ke(function(c) {
|
|
804
|
-
c = c >>> 0,
|
|
804
|
+
c = c >>> 0, Pe(c, "offset");
|
|
805
805
|
const d = this[c], g = this[c + 7];
|
|
806
806
|
(d === void 0 || g === void 0) && pt(c, this.length - 8);
|
|
807
807
|
const b = (d << 24) + // Overflow
|
|
@@ -816,7 +816,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
816
816
|
}, l.prototype.readDoubleBE = function(c, d) {
|
|
817
817
|
return c = c >>> 0, d || Te(c, 8, this.length), t.read(this, c, !1, 52, 8);
|
|
818
818
|
};
|
|
819
|
-
function
|
|
819
|
+
function Re(h, c, d, g, b, S) {
|
|
820
820
|
if (!l.isBuffer(h)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
821
821
|
if (c > b || c < S) throw new RangeError('"value" argument is out of bounds');
|
|
822
822
|
if (d + g > h.length) throw new RangeError("Index out of range");
|
|
@@ -824,7 +824,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
824
824
|
l.prototype.writeUintLE = l.prototype.writeUIntLE = function(c, d, g, b) {
|
|
825
825
|
if (c = +c, d = d >>> 0, g = g >>> 0, !b) {
|
|
826
826
|
const se = Math.pow(2, 8 * g) - 1;
|
|
827
|
-
|
|
827
|
+
Re(this, c, d, g, se, 0);
|
|
828
828
|
}
|
|
829
829
|
let S = 1, P = 0;
|
|
830
830
|
for (this[d] = c & 255; ++P < g && (S *= 256); )
|
|
@@ -833,22 +833,22 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
833
833
|
}, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(c, d, g, b) {
|
|
834
834
|
if (c = +c, d = d >>> 0, g = g >>> 0, !b) {
|
|
835
835
|
const se = Math.pow(2, 8 * g) - 1;
|
|
836
|
-
|
|
836
|
+
Re(this, c, d, g, se, 0);
|
|
837
837
|
}
|
|
838
838
|
let S = g - 1, P = 1;
|
|
839
839
|
for (this[d + S] = c & 255; --S >= 0 && (P *= 256); )
|
|
840
840
|
this[d + S] = c / P & 255;
|
|
841
841
|
return d + g;
|
|
842
842
|
}, l.prototype.writeUint8 = l.prototype.writeUInt8 = function(c, d, g) {
|
|
843
|
-
return c = +c, d = d >>> 0, g ||
|
|
843
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 1, 255, 0), this[d] = c & 255, d + 1;
|
|
844
844
|
}, l.prototype.writeUint16LE = l.prototype.writeUInt16LE = function(c, d, g) {
|
|
845
|
-
return c = +c, d = d >>> 0, g ||
|
|
845
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 2, 65535, 0), this[d] = c & 255, this[d + 1] = c >>> 8, d + 2;
|
|
846
846
|
}, l.prototype.writeUint16BE = l.prototype.writeUInt16BE = function(c, d, g) {
|
|
847
|
-
return c = +c, d = d >>> 0, g ||
|
|
847
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 2, 65535, 0), this[d] = c >>> 8, this[d + 1] = c & 255, d + 2;
|
|
848
848
|
}, l.prototype.writeUint32LE = l.prototype.writeUInt32LE = function(c, d, g) {
|
|
849
|
-
return c = +c, d = d >>> 0, g ||
|
|
849
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 4294967295, 0), this[d + 3] = c >>> 24, this[d + 2] = c >>> 16, this[d + 1] = c >>> 8, this[d] = c & 255, d + 4;
|
|
850
850
|
}, l.prototype.writeUint32BE = l.prototype.writeUInt32BE = function(c, d, g) {
|
|
851
|
-
return c = +c, d = d >>> 0, g ||
|
|
851
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 4294967295, 0), this[d] = c >>> 24, this[d + 1] = c >>> 16, this[d + 2] = c >>> 8, this[d + 3] = c & 255, d + 4;
|
|
852
852
|
};
|
|
853
853
|
function Wt(h, c, d, g, b) {
|
|
854
854
|
We(c, g, b, h, d, 7);
|
|
@@ -871,7 +871,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
871
871
|
}), l.prototype.writeIntLE = function(c, d, g, b) {
|
|
872
872
|
if (c = +c, d = d >>> 0, !b) {
|
|
873
873
|
const be = Math.pow(2, 8 * g - 1);
|
|
874
|
-
|
|
874
|
+
Re(this, c, d, g, be - 1, -be);
|
|
875
875
|
}
|
|
876
876
|
let S = 0, P = 1, se = 0;
|
|
877
877
|
for (this[d] = c & 255; ++S < g && (P *= 256); )
|
|
@@ -880,22 +880,22 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
880
880
|
}, l.prototype.writeIntBE = function(c, d, g, b) {
|
|
881
881
|
if (c = +c, d = d >>> 0, !b) {
|
|
882
882
|
const be = Math.pow(2, 8 * g - 1);
|
|
883
|
-
|
|
883
|
+
Re(this, c, d, g, be - 1, -be);
|
|
884
884
|
}
|
|
885
885
|
let S = g - 1, P = 1, se = 0;
|
|
886
886
|
for (this[d + S] = c & 255; --S >= 0 && (P *= 256); )
|
|
887
887
|
c < 0 && se === 0 && this[d + S + 1] !== 0 && (se = 1), this[d + S] = (c / P >> 0) - se & 255;
|
|
888
888
|
return d + g;
|
|
889
889
|
}, l.prototype.writeInt8 = function(c, d, g) {
|
|
890
|
-
return c = +c, d = d >>> 0, g ||
|
|
890
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 1, 127, -128), c < 0 && (c = 255 + c + 1), this[d] = c & 255, d + 1;
|
|
891
891
|
}, l.prototype.writeInt16LE = function(c, d, g) {
|
|
892
|
-
return c = +c, d = d >>> 0, g ||
|
|
892
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 2, 32767, -32768), this[d] = c & 255, this[d + 1] = c >>> 8, d + 2;
|
|
893
893
|
}, l.prototype.writeInt16BE = function(c, d, g) {
|
|
894
|
-
return c = +c, d = d >>> 0, g ||
|
|
894
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 2, 32767, -32768), this[d] = c >>> 8, this[d + 1] = c & 255, d + 2;
|
|
895
895
|
}, l.prototype.writeInt32LE = function(c, d, g) {
|
|
896
|
-
return c = +c, d = d >>> 0, g ||
|
|
896
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 2147483647, -2147483648), this[d] = c & 255, this[d + 1] = c >>> 8, this[d + 2] = c >>> 16, this[d + 3] = c >>> 24, d + 4;
|
|
897
897
|
}, l.prototype.writeInt32BE = function(c, d, g) {
|
|
898
|
-
return c = +c, d = d >>> 0, g ||
|
|
898
|
+
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 2147483647, -2147483648), c < 0 && (c = 4294967295 + c + 1), this[d] = c >>> 24, this[d + 1] = c >>> 16, this[d + 2] = c >>> 8, this[d + 3] = c & 255, d + 4;
|
|
899
899
|
}, l.prototype.writeBigInt64LE = Ke(function(c, d = 0) {
|
|
900
900
|
return Wt(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
901
901
|
}), l.prototype.writeBigInt64BE = Ke(function(c, d = 0) {
|
|
@@ -963,9 +963,9 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
963
963
|
}
|
|
964
964
|
return this;
|
|
965
965
|
};
|
|
966
|
-
const
|
|
966
|
+
const Ze = {};
|
|
967
967
|
function dt(h, c, d) {
|
|
968
|
-
|
|
968
|
+
Ze[h] = class extends d {
|
|
969
969
|
constructor() {
|
|
970
970
|
super(), Object.defineProperty(this, "message", {
|
|
971
971
|
value: c.apply(this, arguments),
|
|
@@ -1017,30 +1017,30 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1017
1017
|
return `${h.slice(0, d)}${c}`;
|
|
1018
1018
|
}
|
|
1019
1019
|
function zt(h, c, d) {
|
|
1020
|
-
|
|
1020
|
+
Pe(c, "offset"), (h[c] === void 0 || h[c + d] === void 0) && pt(c, h.length - (d + 1));
|
|
1021
1021
|
}
|
|
1022
1022
|
function We(h, c, d, g, b, S) {
|
|
1023
1023
|
if (h > d || h < c) {
|
|
1024
1024
|
const P = typeof c == "bigint" ? "n" : "";
|
|
1025
1025
|
let se;
|
|
1026
|
-
throw c === 0 || c === BigInt(0) ? se = `>= 0${P} and < 2${P} ** ${(S + 1) * 8}${P}` : se = `>= -(2${P} ** ${(S + 1) * 8 - 1}${P}) and < 2 ** ${(S + 1) * 8 - 1}${P}`, new
|
|
1026
|
+
throw c === 0 || c === BigInt(0) ? se = `>= 0${P} and < 2${P} ** ${(S + 1) * 8}${P}` : se = `>= -(2${P} ** ${(S + 1) * 8 - 1}${P}) and < 2 ** ${(S + 1) * 8 - 1}${P}`, new Ze.ERR_OUT_OF_RANGE("value", se, h);
|
|
1027
1027
|
}
|
|
1028
1028
|
zt(g, b, S);
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function Pe(h, c) {
|
|
1031
1031
|
if (typeof h != "number")
|
|
1032
|
-
throw new
|
|
1032
|
+
throw new Ze.ERR_INVALID_ARG_TYPE(c, "number", h);
|
|
1033
1033
|
}
|
|
1034
1034
|
function pt(h, c, d) {
|
|
1035
|
-
throw Math.floor(h) !== h ? (
|
|
1035
|
+
throw Math.floor(h) !== h ? (Pe(h, d), new Ze.ERR_OUT_OF_RANGE("offset", "an integer", h)) : c < 0 ? new Ze.ERR_BUFFER_OUT_OF_BOUNDS() : new Ze.ERR_OUT_OF_RANGE(
|
|
1036
1036
|
"offset",
|
|
1037
1037
|
`>= 0 and <= ${c}`,
|
|
1038
1038
|
h
|
|
1039
1039
|
);
|
|
1040
1040
|
}
|
|
1041
|
-
const
|
|
1042
|
-
function
|
|
1043
|
-
if (h = h.split("=")[0], h = h.trim().replace(
|
|
1041
|
+
const xt = /[^+/0-9A-Za-z-_]/g;
|
|
1042
|
+
function Ut(h) {
|
|
1043
|
+
if (h = h.split("=")[0], h = h.trim().replace(xt, ""), h.length < 2) return "";
|
|
1044
1044
|
for (; h.length % 4 !== 0; )
|
|
1045
1045
|
h = h + "=";
|
|
1046
1046
|
return h;
|
|
@@ -1113,7 +1113,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1113
1113
|
return S;
|
|
1114
1114
|
}
|
|
1115
1115
|
function Fe(h) {
|
|
1116
|
-
return e.toByteArray(
|
|
1116
|
+
return e.toByteArray(Ut(h));
|
|
1117
1117
|
}
|
|
1118
1118
|
function yt(h, c, d, g) {
|
|
1119
1119
|
let b;
|
|
@@ -1121,7 +1121,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1121
1121
|
c[b + d] = h[b];
|
|
1122
1122
|
return b;
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function xe(h, c) {
|
|
1125
1125
|
return h instanceof c || h != null && h.constructor != null && h.constructor.name != null && h.constructor.name === c.name;
|
|
1126
1126
|
}
|
|
1127
1127
|
function ht(h) {
|
|
@@ -1184,7 +1184,7 @@ const ea = {
|
|
|
1184
1184
|
},
|
|
1185
1185
|
methods: {
|
|
1186
1186
|
getIcon(n) {
|
|
1187
|
-
return this.isNative
|
|
1187
|
+
return this.isNative ? `/icons/${n}` : "https://cdn.tapni.co/icons/" + n;
|
|
1188
1188
|
},
|
|
1189
1189
|
errorHandler(n) {
|
|
1190
1190
|
return n && n.response && n.response.data && n.response.data.error && ((n.response.data.error === "ACCESS_DENIED" || n.response.data.error === "TOKEN_EXPIRED") && this.logout(), !n.response.data.error.includes("Network Error") && !n.response.data.error.includes("Cannot read properties") && this.errorSnack(n.response.data.error)), n;
|
|
@@ -1228,7 +1228,7 @@ const ea = {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
|
-
}, { mapState: ta, mapActions: na, mapGetters: ra } =
|
|
1231
|
+
}, { mapState: ta, mapActions: na, mapGetters: ra } = xi("auth"), ct = {
|
|
1232
1232
|
mixins: [ea],
|
|
1233
1233
|
props: {
|
|
1234
1234
|
isModal: {
|
|
@@ -1290,6 +1290,7 @@ const ea = {
|
|
|
1290
1290
|
"setRedirectUri",
|
|
1291
1291
|
"setDisplay",
|
|
1292
1292
|
"setState",
|
|
1293
|
+
"setRealm",
|
|
1293
1294
|
"setResponseType",
|
|
1294
1295
|
"switchAccount",
|
|
1295
1296
|
"loginSetup",
|
|
@@ -1300,7 +1301,7 @@ const ea = {
|
|
|
1300
1301
|
watch: {
|
|
1301
1302
|
"$route.query": {
|
|
1302
1303
|
handler: function() {
|
|
1303
|
-
this.$route.query.redirect_uri && this.setRedirectUri(this.$route.query.redirect_uri), this.$route.query.display && this.setDisplay(this.$route.query.display), this.$route.query.state && this.setState(this.$route.query.state), this.$route.query.response_type && this.setResponseType(this.$route.query.response_type), this.$route.query.realm && this
|
|
1304
|
+
this.$route.query.redirect_uri && this.setRedirectUri(this.$route.query.redirect_uri), this.$route.query.display && this.setDisplay(this.$route.query.display), this.$route.query.state && this.setState(this.$route.query.state), this.$route.query.response_type && this.setResponseType(this.$route.query.response_type), this.$route.query.realm && this.setRealm(this.$route.query.realm);
|
|
1304
1305
|
},
|
|
1305
1306
|
deep: !0
|
|
1306
1307
|
}
|
|
@@ -1341,7 +1342,7 @@ const ea = {
|
|
|
1341
1342
|
};
|
|
1342
1343
|
function pa(n, e, t, r, o, i) {
|
|
1343
1344
|
const a = fn("router-link");
|
|
1344
|
-
return N(),
|
|
1345
|
+
return N(), x("div", ia, [
|
|
1345
1346
|
_("video", {
|
|
1346
1347
|
id: "tapniVideo",
|
|
1347
1348
|
muted: "",
|
|
@@ -1356,39 +1357,39 @@ function pa(n, e, t, r, o, i) {
|
|
|
1356
1357
|
type: "video/mp4"
|
|
1357
1358
|
}, null, -1)
|
|
1358
1359
|
]), 8, aa),
|
|
1359
|
-
_("h1", sa,
|
|
1360
|
-
_("p", ca,
|
|
1360
|
+
_("h1", sa, D(n.ssoLang[this.appLanguage].welcome), 1),
|
|
1361
|
+
_("p", ca, D(n.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
1361
1362
|
ce("", !0),
|
|
1362
1363
|
ce("", !0),
|
|
1363
|
-
|
|
1364
|
+
Me(a, {
|
|
1364
1365
|
to: "register",
|
|
1365
1366
|
exact: "",
|
|
1366
1367
|
class: "button-center button button-90 google-button bg-tapni-grey pointer"
|
|
1367
1368
|
}, {
|
|
1368
|
-
default:
|
|
1369
|
-
_("span", null,
|
|
1369
|
+
default: st(() => [
|
|
1370
|
+
_("span", null, D(n.ssoLang[this.appLanguage].create_account), 1)
|
|
1370
1371
|
]),
|
|
1371
1372
|
_: 1
|
|
1372
1373
|
}),
|
|
1373
1374
|
_("div", la, [
|
|
1374
|
-
|
|
1375
|
-
default:
|
|
1376
|
-
Se(
|
|
1377
|
-
_("b", null,
|
|
1375
|
+
Me(a, { to: "/login" }, {
|
|
1376
|
+
default: st(() => [
|
|
1377
|
+
Se(D(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
|
|
1378
|
+
_("b", null, D(n.ssoLang[this.appLanguage].sign_in), 1)
|
|
1378
1379
|
]),
|
|
1379
1380
|
_: 1
|
|
1380
1381
|
}),
|
|
1381
1382
|
e[2] || (e[2] = _("div", { class: "clear" }, null, -1))
|
|
1382
1383
|
]),
|
|
1383
|
-
n.display === "redirect" ? (N(),
|
|
1384
|
+
n.display === "redirect" ? (N(), x("a", {
|
|
1384
1385
|
key: 2,
|
|
1385
1386
|
onClick: e[0] || (e[0] = (...s) => n.toggleSSOLanguageModal && n.toggleSSOLanguageModal(...s)),
|
|
1386
1387
|
class: "font-18 no-border pointer color-black",
|
|
1387
1388
|
style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
|
|
1388
1389
|
}, [
|
|
1389
|
-
_("span", ua,
|
|
1390
|
+
_("span", ua, D(n.appLanguage.toUpperCase()), 1)
|
|
1390
1391
|
])) : ce("", !0),
|
|
1391
|
-
this.isNative ? ce("", !0) : (N(),
|
|
1392
|
+
this.isNative ? ce("", !0) : (N(), x("div", da, e[3] || (e[3] = [
|
|
1392
1393
|
Pi('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a>', 3)
|
|
1393
1394
|
])))
|
|
1394
1395
|
]);
|
|
@@ -1396,7 +1397,7 @@ function pa(n, e, t, r, o, i) {
|
|
|
1396
1397
|
const ao = /* @__PURE__ */ _t(oa, [["render", pa], ["__scopeId", "data-v-7aad6400"]]), ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1397
1398
|
__proto__: null,
|
|
1398
1399
|
default: ao
|
|
1399
|
-
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.
|
|
1400
|
+
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.10", cr = {
|
|
1400
1401
|
getMe() {
|
|
1401
1402
|
return le().get("/users/me");
|
|
1402
1403
|
},
|
|
@@ -5562,7 +5563,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5562
5563
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5563
5564
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5564
5565
|
}
|
|
5565
|
-
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() =>
|
|
5566
|
+
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-BNOCCI9L.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-RvuCmVZn.js"), Ta = () => import("./Billing-Cl-Go20Z.js"), Sa = () => import("./CustomApp-CZq-1s27.js"), Ia = () => import("./General-B4mMzmcc.js"), Aa = [
|
|
5566
5567
|
{
|
|
5567
5568
|
path: "/welcome",
|
|
5568
5569
|
name: "AuthWelcome",
|
|
@@ -5576,7 +5577,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5576
5577
|
{
|
|
5577
5578
|
path: "/callback/saml",
|
|
5578
5579
|
name: "Callback",
|
|
5579
|
-
alias: ["/callback/okta", "/callback/auth"],
|
|
5580
|
+
alias: ["/callback/okta", "/callback/auth", "/callback/redirect"],
|
|
5580
5581
|
component: ba
|
|
5581
5582
|
},
|
|
5582
5583
|
{
|
|
@@ -5750,7 +5751,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5750
5751
|
actions: {
|
|
5751
5752
|
async getAccountSettings({ state: n, commit: e, dispatch: t }) {
|
|
5752
5753
|
const [r, o] = await ve(
|
|
5753
|
-
|
|
5754
|
+
tt.getAccountSettings()
|
|
5754
5755
|
);
|
|
5755
5756
|
if (r) return t("errorHandler", r);
|
|
5756
5757
|
o.data.success && e("setAccountSettings", o.data.data);
|
|
@@ -5829,7 +5830,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5829
5830
|
return null;
|
|
5830
5831
|
t.refreshing = !0;
|
|
5831
5832
|
const [i, a] = await ve(
|
|
5832
|
-
|
|
5833
|
+
tt.refreshToken({
|
|
5833
5834
|
id: o.id,
|
|
5834
5835
|
refreshToken: r.refreshTokens[0],
|
|
5835
5836
|
refreshTokenAction: !0
|
|
@@ -5840,7 +5841,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5840
5841
|
a && a.data && (e("setToken", a.data.token), Y.$emit("ssoEvent", { name: "setStorage", data: t.$storex })), t.refreshing = !1;
|
|
5841
5842
|
},
|
|
5842
5843
|
async login({ commit: n, state: e, dispatch: t }, r) {
|
|
5843
|
-
const [o, i] = await ve(
|
|
5844
|
+
const [o, i] = await ve(tt.login(r));
|
|
5844
5845
|
if (o) return t("errorHandler", o);
|
|
5845
5846
|
if (i.data.success)
|
|
5846
5847
|
return e.display !== "popup" && (t("loginSetup", { ...i, isModal: r.isModal }), await t("getLoggedInAccounts")), t("loginSuccess", { ...i, isModal: r.isModal }), !0;
|
|
@@ -5870,29 +5871,29 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5870
5871
|
},
|
|
5871
5872
|
async register({ commit: n, dispatch: e }, t) {
|
|
5872
5873
|
const [r, o] = await ve(
|
|
5873
|
-
|
|
5874
|
+
tt.register(t)
|
|
5874
5875
|
);
|
|
5875
5876
|
return r ? e("errorHandler", r) : o;
|
|
5876
5877
|
},
|
|
5877
5878
|
async verify({ commit: n, dispatch: e }, t) {
|
|
5878
|
-
const [r, o] = await ve(
|
|
5879
|
+
const [r, o] = await ve(tt.verify(t));
|
|
5879
5880
|
return r ? e("errorHandler", r) : o;
|
|
5880
5881
|
},
|
|
5881
5882
|
async reset({ commit: n, state: e, getters: t, dispatch: r }, o) {
|
|
5882
5883
|
const [i, a] = await ve(
|
|
5883
|
-
|
|
5884
|
+
tt.sendResetEmail(o)
|
|
5884
5885
|
);
|
|
5885
5886
|
if (i) return r("errorHandler", i);
|
|
5886
5887
|
a.data.success && r("successSnack", e.ssoLang[t.appLanguage].password_reset_success);
|
|
5887
5888
|
},
|
|
5888
5889
|
async exchangeAuthCode({ commit: n, dispatch: e }, t) {
|
|
5889
|
-
const [r, o] = await ve(
|
|
5890
|
+
const [r, o] = await ve(tt.exchangeAuthCode(t));
|
|
5890
5891
|
if (r) return e("errorHandler", r);
|
|
5891
5892
|
await e("loginSetup", o), await e("getLoggedInAccounts"), e("loginSuccess", o);
|
|
5892
5893
|
},
|
|
5893
5894
|
async changePassword({ commit: n, dispatch: e }, t) {
|
|
5894
5895
|
const [r, o] = await ve(
|
|
5895
|
-
|
|
5896
|
+
tt.changePassword(t)
|
|
5896
5897
|
);
|
|
5897
5898
|
return r ? e("errorHandler", r) : o.data.success;
|
|
5898
5899
|
},
|
|
@@ -5940,7 +5941,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5940
5941
|
return r ? e("errorHandler", r) : o;
|
|
5941
5942
|
},
|
|
5942
5943
|
async logout({ commit: n, dispatch: e, state: t }, { refreshToken: r, sendRequest: o = !0 }) {
|
|
5943
|
-
o && r &&
|
|
5944
|
+
o && r && tt.logout({ token: r }), t.$storex && (t.$storex.username = "", t.$storex.UserId = "", t.$storex.localUser = "", n("setToken", "")), n("setLoggedInUserId", "");
|
|
5944
5945
|
const i = await e("unsetRefreshToken", r);
|
|
5945
5946
|
if (i.length >= 1)
|
|
5946
5947
|
Object.keys(t.loggedInAccounts).forEach((a) => {
|
|
@@ -5969,7 +5970,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5969
5970
|
async getLoggedInAccounts({ getters: n, dispatch: e }) {
|
|
5970
5971
|
if (n.refreshTokens && n.refreshTokens.length >= 1) {
|
|
5971
5972
|
const [t, r] = await ve(
|
|
5972
|
-
|
|
5973
|
+
tt.getLoggedInAccounts({ refreshTokens: n.refreshTokens })
|
|
5973
5974
|
);
|
|
5974
5975
|
if (t) return e("errorHandler", t);
|
|
5975
5976
|
r && r.data && r.data.success && e("setLoggedInAccounts", r.data.accounts);
|
|
@@ -6031,7 +6032,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
6031
6032
|
refreshTokens: (n) => n.$storex.refreshTokens.split(","),
|
|
6032
6033
|
apiRoot: (n) => n.apiRoot
|
|
6033
6034
|
}
|
|
6034
|
-
}, At =
|
|
6035
|
+
}, At = Ui({
|
|
6035
6036
|
modules: {
|
|
6036
6037
|
auth: so
|
|
6037
6038
|
}
|
|
@@ -6069,7 +6070,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
6069
6070
|
};
|
|
6070
6071
|
let Ht;
|
|
6071
6072
|
hr.getId().then((n) => Ht = n.uuid);
|
|
6072
|
-
const
|
|
6073
|
+
const tt = {
|
|
6073
6074
|
register(n) {
|
|
6074
6075
|
return n.device_id = Ht, le().post("/users/register", n);
|
|
6075
6076
|
},
|
|
@@ -6156,7 +6157,7 @@ const nt = {
|
|
|
6156
6157
|
if (n) return this.googleLoad = !1;
|
|
6157
6158
|
if (this.referral && (e.ref = this.referral), e.authentication && (e.authentication.accessToken || e.authentication.idToken)) {
|
|
6158
6159
|
this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6159
|
-
const [r, o] = await ve(
|
|
6160
|
+
const [r, o] = await ve(tt.googleSDK(e, this.$storex));
|
|
6160
6161
|
if (r)
|
|
6161
6162
|
return this.googleLoad = !1, Y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6162
6163
|
if (o.data.success) {
|
|
@@ -6187,15 +6188,17 @@ const nt = {
|
|
|
6187
6188
|
async appleLogin() {
|
|
6188
6189
|
var t;
|
|
6189
6190
|
this.appleLoad = !0;
|
|
6190
|
-
const [n, e] = await ve(
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6191
|
+
const [n, e] = await ve(
|
|
6192
|
+
Ra.authorize({
|
|
6193
|
+
clientId: "co.tapni.applelogin",
|
|
6194
|
+
redirectURI: "https://" + window.location.host + "/login",
|
|
6195
|
+
scopes: "email name"
|
|
6196
|
+
})
|
|
6197
|
+
);
|
|
6195
6198
|
if (n) return this.appleLoad = !1;
|
|
6196
6199
|
if (e.response.tokenData = Qo(e.response.identityToken), e && e.response && e.response.identityToken) {
|
|
6197
6200
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6198
|
-
const [r, o] = await ve(
|
|
6201
|
+
const [r, o] = await ve(tt.appleSDK(e.response, this.$storex));
|
|
6199
6202
|
if (r)
|
|
6200
6203
|
return this.appleLoad = !1, Y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6201
6204
|
if (o.data.success) {
|
|
@@ -6561,10 +6564,10 @@ var w = {
|
|
|
6561
6564
|
(function(n) {
|
|
6562
6565
|
n.CONTENT_TYPE = "Content-Type", n.RETRY_AFTER = "Retry-After", n.CCS_HEADER = "X-AnchorMailbox", n.WWWAuthenticate = "WWW-Authenticate", n.AuthenticationInfo = "Authentication-Info", n.X_MS_REQUEST_ID = "x-ms-request-id", n.X_MS_HTTP_VERSION = "x-ms-httpver";
|
|
6563
6566
|
})(mt || (mt = {}));
|
|
6564
|
-
var
|
|
6567
|
+
var Ue;
|
|
6565
6568
|
(function(n) {
|
|
6566
6569
|
n.ID_TOKEN = "idtoken", n.CLIENT_INFO = "client.info", n.ADAL_ID_TOKEN = "adal.idtoken", n.ERROR = "error", n.ERROR_DESC = "error.description", n.ACTIVE_ACCOUNT = "active-account", n.ACTIVE_ACCOUNT_FILTERS = "active-account-filters";
|
|
6567
|
-
})(
|
|
6570
|
+
})(Ue || (Ue = {}));
|
|
6568
6571
|
var En;
|
|
6569
6572
|
(function(n) {
|
|
6570
6573
|
n.COMMON = "common", n.ORGANIZATIONS = "organizations", n.CONSUMERS = "consumers";
|
|
@@ -6577,7 +6580,7 @@ var Rn;
|
|
|
6577
6580
|
(function(n) {
|
|
6578
6581
|
n.ACCESS_TOKEN = "access_token", n.XMS_CC = "xms_cc";
|
|
6579
6582
|
})(Rn || (Rn = {}));
|
|
6580
|
-
var
|
|
6583
|
+
var Xe = {
|
|
6581
6584
|
LOGIN: "login",
|
|
6582
6585
|
SELECT_ACCOUNT: "select_account",
|
|
6583
6586
|
CONSENT: "consent",
|
|
@@ -6765,7 +6768,7 @@ var vr = {
|
|
|
6765
6768
|
}
|
|
6766
6769
|
};
|
|
6767
6770
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6768
|
-
var
|
|
6771
|
+
var B = {
|
|
6769
6772
|
clientInfoDecodingError: {
|
|
6770
6773
|
code: "client_info_decoding_error",
|
|
6771
6774
|
desc: "The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause."
|
|
@@ -6975,97 +6978,97 @@ var D = {
|
|
|
6975
6978
|
return o.name = "ClientAuthError", Object.setPrototypeOf(o, e.prototype), o;
|
|
6976
6979
|
}
|
|
6977
6980
|
return e.createClientInfoDecodingError = function(t) {
|
|
6978
|
-
return new e(
|
|
6981
|
+
return new e(B.clientInfoDecodingError.code, B.clientInfoDecodingError.desc + " Failed with error: " + t);
|
|
6979
6982
|
}, e.createClientInfoEmptyError = function() {
|
|
6980
|
-
return new e(
|
|
6983
|
+
return new e(B.clientInfoEmptyError.code, "" + B.clientInfoEmptyError.desc);
|
|
6981
6984
|
}, e.createTokenParsingError = function(t) {
|
|
6982
|
-
return new e(
|
|
6985
|
+
return new e(B.tokenParsingError.code, B.tokenParsingError.desc + " Failed with error: " + t);
|
|
6983
6986
|
}, e.createTokenNullOrEmptyError = function(t) {
|
|
6984
|
-
return new e(
|
|
6987
|
+
return new e(B.nullOrEmptyToken.code, B.nullOrEmptyToken.desc + " Raw Token Value: " + t);
|
|
6985
6988
|
}, e.createEndpointDiscoveryIncompleteError = function(t) {
|
|
6986
|
-
return new e(
|
|
6989
|
+
return new e(B.endpointResolutionError.code, B.endpointResolutionError.desc + " Detail: " + t);
|
|
6987
6990
|
}, e.createNetworkError = function(t, r) {
|
|
6988
|
-
return new e(
|
|
6991
|
+
return new e(B.networkError.code, B.networkError.desc + " | Fetch client threw: " + r + " | Attempted to reach: " + t.split("?")[0]);
|
|
6989
6992
|
}, e.createUnableToGetOpenidConfigError = function(t) {
|
|
6990
|
-
return new e(
|
|
6993
|
+
return new e(B.unableToGetOpenidConfigError.code, B.unableToGetOpenidConfigError.desc + " Attempted to retrieve endpoints from: " + t);
|
|
6991
6994
|
}, e.createHashNotDeserializedError = function(t) {
|
|
6992
|
-
return new e(
|
|
6995
|
+
return new e(B.hashNotDeserialized.code, B.hashNotDeserialized.desc + " Given Object: " + t);
|
|
6993
6996
|
}, e.createInvalidStateError = function(t, r) {
|
|
6994
|
-
return new e(
|
|
6997
|
+
return new e(B.invalidStateError.code, B.invalidStateError.desc + " Invalid State: " + t + ", Root Err: " + r);
|
|
6995
6998
|
}, e.createStateMismatchError = function() {
|
|
6996
|
-
return new e(
|
|
6999
|
+
return new e(B.stateMismatchError.code, B.stateMismatchError.desc);
|
|
6997
7000
|
}, e.createStateNotFoundError = function(t) {
|
|
6998
|
-
return new e(
|
|
7001
|
+
return new e(B.stateNotFoundError.code, B.stateNotFoundError.desc + ": " + t);
|
|
6999
7002
|
}, e.createNonceMismatchError = function() {
|
|
7000
|
-
return new e(
|
|
7003
|
+
return new e(B.nonceMismatchError.code, B.nonceMismatchError.desc);
|
|
7001
7004
|
}, e.createAuthTimeNotFoundError = function() {
|
|
7002
|
-
return new e(
|
|
7005
|
+
return new e(B.authTimeNotFoundError.code, B.authTimeNotFoundError.desc);
|
|
7003
7006
|
}, e.createMaxAgeTranspiredError = function() {
|
|
7004
|
-
return new e(
|
|
7007
|
+
return new e(B.maxAgeTranspiredError.code, B.maxAgeTranspiredError.desc);
|
|
7005
7008
|
}, e.createNonceNotFoundError = function(t) {
|
|
7006
|
-
return new e(
|
|
7009
|
+
return new e(B.nonceNotFoundError.code, B.nonceNotFoundError.desc + ": " + t);
|
|
7007
7010
|
}, e.createMultipleMatchingTokensInCacheError = function() {
|
|
7008
|
-
return new e(
|
|
7011
|
+
return new e(B.multipleMatchingTokens.code, B.multipleMatchingTokens.desc + ".");
|
|
7009
7012
|
}, e.createMultipleMatchingAccountsInCacheError = function() {
|
|
7010
|
-
return new e(
|
|
7013
|
+
return new e(B.multipleMatchingAccounts.code, B.multipleMatchingAccounts.desc);
|
|
7011
7014
|
}, e.createMultipleMatchingAppMetadataInCacheError = function() {
|
|
7012
|
-
return new e(
|
|
7015
|
+
return new e(B.multipleMatchingAppMetadata.code, B.multipleMatchingAppMetadata.desc);
|
|
7013
7016
|
}, e.createTokenRequestCannotBeMadeError = function() {
|
|
7014
|
-
return new e(
|
|
7017
|
+
return new e(B.tokenRequestCannotBeMade.code, B.tokenRequestCannotBeMade.desc);
|
|
7015
7018
|
}, e.createAppendEmptyScopeToSetError = function(t) {
|
|
7016
|
-
return new e(
|
|
7019
|
+
return new e(B.appendEmptyScopeError.code, B.appendEmptyScopeError.desc + " Given Scope: " + t);
|
|
7017
7020
|
}, e.createRemoveEmptyScopeFromSetError = function(t) {
|
|
7018
|
-
return new e(
|
|
7021
|
+
return new e(B.removeEmptyScopeError.code, B.removeEmptyScopeError.desc + " Given Scope: " + t);
|
|
7019
7022
|
}, e.createAppendScopeSetError = function(t) {
|
|
7020
|
-
return new e(
|
|
7023
|
+
return new e(B.appendScopeSetError.code, B.appendScopeSetError.desc + " Detail Error: " + t);
|
|
7021
7024
|
}, e.createEmptyInputScopeSetError = function() {
|
|
7022
|
-
return new e(
|
|
7025
|
+
return new e(B.emptyInputScopeSetError.code, "" + B.emptyInputScopeSetError.desc);
|
|
7023
7026
|
}, e.createDeviceCodeCancelledError = function() {
|
|
7024
|
-
return new e(
|
|
7027
|
+
return new e(B.DeviceCodePollingCancelled.code, "" + B.DeviceCodePollingCancelled.desc);
|
|
7025
7028
|
}, e.createDeviceCodeExpiredError = function() {
|
|
7026
|
-
return new e(
|
|
7029
|
+
return new e(B.DeviceCodeExpired.code, "" + B.DeviceCodeExpired.desc);
|
|
7027
7030
|
}, e.createDeviceCodeUnknownError = function() {
|
|
7028
|
-
return new e(
|
|
7031
|
+
return new e(B.DeviceCodeUnknownError.code, "" + B.DeviceCodeUnknownError.desc);
|
|
7029
7032
|
}, e.createNoAccountInSilentRequestError = function() {
|
|
7030
|
-
return new e(
|
|
7033
|
+
return new e(B.NoAccountInSilentRequest.code, "" + B.NoAccountInSilentRequest.desc);
|
|
7031
7034
|
}, e.createNullOrUndefinedCacheRecord = function() {
|
|
7032
|
-
return new e(
|
|
7035
|
+
return new e(B.invalidCacheRecord.code, B.invalidCacheRecord.desc);
|
|
7033
7036
|
}, e.createInvalidCacheEnvironmentError = function() {
|
|
7034
|
-
return new e(
|
|
7037
|
+
return new e(B.invalidCacheEnvironment.code, B.invalidCacheEnvironment.desc);
|
|
7035
7038
|
}, e.createNoAccountFoundError = function() {
|
|
7036
|
-
return new e(
|
|
7039
|
+
return new e(B.noAccountFound.code, B.noAccountFound.desc);
|
|
7037
7040
|
}, e.createCachePluginError = function() {
|
|
7038
|
-
return new e(
|
|
7041
|
+
return new e(B.CachePluginError.code, "" + B.CachePluginError.desc);
|
|
7039
7042
|
}, e.createNoCryptoObjectError = function(t) {
|
|
7040
|
-
return new e(
|
|
7043
|
+
return new e(B.noCryptoObj.code, "" + B.noCryptoObj.desc + t);
|
|
7041
7044
|
}, e.createInvalidCacheTypeError = function() {
|
|
7042
|
-
return new e(
|
|
7045
|
+
return new e(B.invalidCacheType.code, "" + B.invalidCacheType.desc);
|
|
7043
7046
|
}, e.createUnexpectedAccountTypeError = function() {
|
|
7044
|
-
return new e(
|
|
7047
|
+
return new e(B.unexpectedAccountType.code, "" + B.unexpectedAccountType.desc);
|
|
7045
7048
|
}, e.createUnexpectedCredentialTypeError = function() {
|
|
7046
|
-
return new e(
|
|
7049
|
+
return new e(B.unexpectedCredentialType.code, "" + B.unexpectedCredentialType.desc);
|
|
7047
7050
|
}, e.createInvalidAssertionError = function() {
|
|
7048
|
-
return new e(
|
|
7051
|
+
return new e(B.invalidAssertion.code, "" + B.invalidAssertion.desc);
|
|
7049
7052
|
}, e.createInvalidCredentialError = function() {
|
|
7050
|
-
return new e(
|
|
7053
|
+
return new e(B.invalidClientCredential.code, "" + B.invalidClientCredential.desc);
|
|
7051
7054
|
}, e.createRefreshRequiredError = function() {
|
|
7052
|
-
return new e(
|
|
7055
|
+
return new e(B.tokenRefreshRequired.code, B.tokenRefreshRequired.desc);
|
|
7053
7056
|
}, e.createUserTimeoutReachedError = function() {
|
|
7054
|
-
return new e(
|
|
7057
|
+
return new e(B.userTimeoutReached.code, B.userTimeoutReached.desc);
|
|
7055
7058
|
}, e.createTokenClaimsRequiredError = function() {
|
|
7056
|
-
return new e(
|
|
7059
|
+
return new e(B.tokenClaimsRequired.code, B.tokenClaimsRequired.desc);
|
|
7057
7060
|
}, e.createNoAuthCodeInServerResponseError = function() {
|
|
7058
|
-
return new e(
|
|
7061
|
+
return new e(B.noAuthorizationCodeFromServer.code, B.noAuthorizationCodeFromServer.desc);
|
|
7059
7062
|
}, e.createBindingKeyNotRemovedError = function() {
|
|
7060
|
-
return new e(
|
|
7063
|
+
return new e(B.bindingKeyNotRemovedError.code, B.bindingKeyNotRemovedError.desc);
|
|
7061
7064
|
}, e.createLogoutNotSupportedError = function() {
|
|
7062
|
-
return new e(
|
|
7065
|
+
return new e(B.logoutNotSupported.code, B.logoutNotSupported.desc);
|
|
7063
7066
|
}, e.createKeyIdMissingError = function() {
|
|
7064
|
-
return new e(
|
|
7067
|
+
return new e(B.keyIdMissing.code, B.keyIdMissing.desc);
|
|
7065
7068
|
}, e.createNoNetworkConnectivityError = function() {
|
|
7066
|
-
return new e(
|
|
7069
|
+
return new e(B.noNetworkConnectivity.code, B.noNetworkConnectivity.desc);
|
|
7067
7070
|
}, e.createUserCanceledError = function() {
|
|
7068
|
-
return new e(
|
|
7071
|
+
return new e(B.userCanceledError.code, B.userCanceledError.desc);
|
|
7069
7072
|
}, e;
|
|
7070
7073
|
}(X)
|
|
7071
7074
|
);
|
|
@@ -7496,10 +7499,10 @@ function Mn(n) {
|
|
|
7496
7499
|
};
|
|
7497
7500
|
}
|
|
7498
7501
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7499
|
-
var
|
|
7502
|
+
var nt;
|
|
7500
7503
|
(function(n) {
|
|
7501
7504
|
n[n.Default = 0] = "Default", n[n.Adfs = 1] = "Adfs", n[n.Dsts = 2] = "Dsts", n[n.Ciam = 3] = "Ciam";
|
|
7502
|
-
})(
|
|
7505
|
+
})(nt || (nt = {}));
|
|
7503
7506
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7504
7507
|
var Ve = (
|
|
7505
7508
|
/** @class */
|
|
@@ -7562,14 +7565,14 @@ var Ve = (
|
|
|
7562
7565
|
return R.cloudGraphHostName = i, R.msGraphHost = a, R;
|
|
7563
7566
|
}, n.createGenericAccount = function(e, t, r, o, i, a) {
|
|
7564
7567
|
var s, u, p, l, m = new n();
|
|
7565
|
-
m.authorityType = r && r.authorityType ===
|
|
7568
|
+
m.authorityType = r && r.authorityType === nt.Adfs ? $t.ADFS_ACCOUNT_TYPE : $t.GENERIC_ACCOUNT_TYPE, m.homeAccountId = e, m.realm = w.EMPTY_STRING;
|
|
7566
7569
|
var f = a || r && r.getPreferredCache();
|
|
7567
7570
|
if (!f)
|
|
7568
7571
|
throw Q.createInvalidCacheEnvironmentError();
|
|
7569
7572
|
return t && (m.localAccountId = ((s = t == null ? void 0 : t.claims) === null || s === void 0 ? void 0 : s.oid) || ((u = t == null ? void 0 : t.claims) === null || u === void 0 ? void 0 : u.sub) || w.EMPTY_STRING, m.username = ((p = t == null ? void 0 : t.claims) === null || p === void 0 ? void 0 : p.upn) || w.EMPTY_STRING, m.name = ((l = t == null ? void 0 : t.claims) === null || l === void 0 ? void 0 : l.name) || w.EMPTY_STRING, m.idTokenClaims = t == null ? void 0 : t.claims), m.environment = f, m.cloudGraphHostName = o, m.msGraphHost = i, m;
|
|
7570
7573
|
}, n.generateHomeAccountId = function(e, t, r, o, i) {
|
|
7571
7574
|
var a, s = !((a = i == null ? void 0 : i.claims) === null || a === void 0) && a.sub ? i.claims.sub : w.EMPTY_STRING;
|
|
7572
|
-
if (t ===
|
|
7575
|
+
if (t === nt.Adfs || t === nt.Dsts)
|
|
7573
7576
|
return s;
|
|
7574
7577
|
if (e)
|
|
7575
7578
|
try {
|
|
@@ -7618,7 +7621,7 @@ var Qt = (
|
|
|
7618
7621
|
}()
|
|
7619
7622
|
);
|
|
7620
7623
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7621
|
-
var
|
|
7624
|
+
var it = (
|
|
7622
7625
|
/** @class */
|
|
7623
7626
|
function() {
|
|
7624
7627
|
function n(e, t, r) {
|
|
@@ -8069,7 +8072,7 @@ var at = (
|
|
|
8069
8072
|
var t = "Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.";
|
|
8070
8073
|
throw X.createUnexpectedError(t);
|
|
8071
8074
|
}, e;
|
|
8072
|
-
}(
|
|
8075
|
+
}(it)
|
|
8073
8076
|
);
|
|
8074
8077
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8075
8078
|
var Oa = 300, di = {
|
|
@@ -8083,7 +8086,7 @@ var Oa = 300, di = {
|
|
|
8083
8086
|
correlationId: w.EMPTY_STRING
|
|
8084
8087
|
}, za = {
|
|
8085
8088
|
claimsBasedCachingEnabled: !0
|
|
8086
|
-
},
|
|
8089
|
+
}, xa = {
|
|
8087
8090
|
sendGetRequestAsync: function() {
|
|
8088
8091
|
return oe(this, void 0, void 0, function() {
|
|
8089
8092
|
var n;
|
|
@@ -8100,7 +8103,7 @@ var Oa = 300, di = {
|
|
|
8100
8103
|
});
|
|
8101
8104
|
});
|
|
8102
8105
|
}
|
|
8103
|
-
},
|
|
8106
|
+
}, Ua = {
|
|
8104
8107
|
sku: w.SKU,
|
|
8105
8108
|
version: uo,
|
|
8106
8109
|
cpu: w.EMPTY_STRING,
|
|
@@ -8125,10 +8128,10 @@ function ja(n) {
|
|
|
8125
8128
|
loggerOptions: E,
|
|
8126
8129
|
cacheOptions: fe(fe({}, za), o),
|
|
8127
8130
|
storageInterface: i || new Na(e.clientId, vr, new lo(E)),
|
|
8128
|
-
networkInterface: a ||
|
|
8131
|
+
networkInterface: a || xa,
|
|
8129
8132
|
cryptoInterface: s || vr,
|
|
8130
8133
|
clientCredentials: u || Ba,
|
|
8131
|
-
libraryInfo: fe(fe({},
|
|
8134
|
+
libraryInfo: fe(fe({}, Ua), p),
|
|
8132
8135
|
telemetry: fe(fe({}, Ha), l),
|
|
8133
8136
|
serverTelemetryManager: m || null,
|
|
8134
8137
|
persistencePlugin: f || null,
|
|
@@ -8246,8 +8249,8 @@ var wn = (
|
|
|
8246
8249
|
throw Ee.createRedirectUriEmptyError();
|
|
8247
8250
|
}, n.validatePrompt = function(e) {
|
|
8248
8251
|
var t = [];
|
|
8249
|
-
for (var r in
|
|
8250
|
-
t.push(
|
|
8252
|
+
for (var r in Xe)
|
|
8253
|
+
t.push(Xe[r]);
|
|
8251
8254
|
if (t.indexOf(e) < 0)
|
|
8252
8255
|
throw Ee.createInvalidPromptError(e);
|
|
8253
8256
|
}, n.validateClaims = function(e) {
|
|
@@ -8974,7 +8977,7 @@ var kr = (
|
|
|
8974
8977
|
return V.isEmpty(e.foci) || (H = $r.createAppMetadataEntity(this.clientId, u, e.foci)), new $n(l, p, m, T, H);
|
|
8975
8978
|
}, n.prototype.generateAccountEntity = function(e, t, r, o) {
|
|
8976
8979
|
var i = r.authorityType, a = o ? o.cloud_graph_host_name : w.EMPTY_STRING, s = o ? o.msgraph_host : w.EMPTY_STRING;
|
|
8977
|
-
if (i ===
|
|
8980
|
+
if (i === nt.Adfs)
|
|
8978
8981
|
return this.logger.verbose("Authority type is ADFS, creating ADFS account"), Ve.createGenericAccount(this.homeAccountIdentifier, t, r, a, s);
|
|
8979
8982
|
if (V.isEmpty(e.client_info) && r.protocolMode === "AAD")
|
|
8980
8983
|
throw Q.createClientInfoEmptyError();
|
|
@@ -9173,8 +9176,8 @@ var pi = (
|
|
|
9173
9176
|
return ie(this, function(f) {
|
|
9174
9177
|
switch (f.label) {
|
|
9175
9178
|
case 0:
|
|
9176
|
-
if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateQueryString, t.correlationId), o = new Jn(), o.addClientId(this.config.authOptions.clientId), i = Rr(t.scopes || [], t.extraScopesToConsent || []), o.addScopes(i), o.addRedirectUri(t.redirectUri), a = t.correlationId || this.config.cryptoInterface.createNewGuid(), o.addCorrelationId(a), o.addResponseMode(t.responseMode), o.addResponseTypeCode(), o.addLibraryInfo(this.config.libraryInfo), o.addApplicationTelemetry(this.config.telemetry.application), o.addClientInfo(), t.codeChallenge && t.codeChallengeMethod && o.addCodeChallengeParams(t.codeChallenge, t.codeChallengeMethod), t.prompt && o.addPrompt(t.prompt), t.domainHint && o.addDomainHint(t.domainHint), t.prompt !==
|
|
9177
|
-
if (t.sid && t.prompt ===
|
|
9179
|
+
if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateQueryString, t.correlationId), o = new Jn(), o.addClientId(this.config.authOptions.clientId), i = Rr(t.scopes || [], t.extraScopesToConsent || []), o.addScopes(i), o.addRedirectUri(t.redirectUri), a = t.correlationId || this.config.cryptoInterface.createNewGuid(), o.addCorrelationId(a), o.addResponseMode(t.responseMode), o.addResponseTypeCode(), o.addLibraryInfo(this.config.libraryInfo), o.addApplicationTelemetry(this.config.telemetry.application), o.addClientInfo(), t.codeChallenge && t.codeChallengeMethod && o.addCodeChallengeParams(t.codeChallenge, t.codeChallengeMethod), t.prompt && o.addPrompt(t.prompt), t.domainHint && o.addDomainHint(t.domainHint), t.prompt !== Xe.SELECT_ACCOUNT)
|
|
9180
|
+
if (t.sid && t.prompt === Xe.NONE)
|
|
9178
9181
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
|
|
9179
9182
|
else if (t.account) {
|
|
9180
9183
|
if (s = this.extractAccountSid(t.account), u = this.extractLoginHint(t.account), u) {
|
|
@@ -9184,7 +9187,7 @@ var pi = (
|
|
|
9184
9187
|
} catch {
|
|
9185
9188
|
this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header");
|
|
9186
9189
|
}
|
|
9187
|
-
} else if (s && t.prompt ===
|
|
9190
|
+
} else if (s && t.prompt === Xe.NONE) {
|
|
9188
9191
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"), o.addSid(s);
|
|
9189
9192
|
try {
|
|
9190
9193
|
p = Mn(t.account.homeAccountId), o.addCcsOid(p);
|
|
@@ -9385,7 +9388,7 @@ var Qa = (
|
|
|
9385
9388
|
case 1:
|
|
9386
9389
|
return [2, i.sent()];
|
|
9387
9390
|
case 2:
|
|
9388
|
-
if (r = i.sent(), r instanceof Q && r.errorCode ===
|
|
9391
|
+
if (r = i.sent(), r instanceof Q && r.errorCode === B.tokenRefreshRequired.code)
|
|
9389
9392
|
return o = new hi(this.config, this.performanceClient), [2, o.acquireTokenByRefreshToken(t)];
|
|
9390
9393
|
throw r;
|
|
9391
9394
|
case 3:
|
|
@@ -9566,16 +9569,16 @@ var tr = (
|
|
|
9566
9569
|
}
|
|
9567
9570
|
return n.prototype.getAuthorityType = function(e) {
|
|
9568
9571
|
if (e.HostNameAndPort.endsWith(w.CIAM_AUTH_URL))
|
|
9569
|
-
return
|
|
9572
|
+
return nt.Ciam;
|
|
9570
9573
|
var t = e.PathSegments;
|
|
9571
9574
|
if (t.length)
|
|
9572
9575
|
switch (t[0].toLowerCase()) {
|
|
9573
9576
|
case w.ADFS:
|
|
9574
|
-
return
|
|
9577
|
+
return nt.Adfs;
|
|
9575
9578
|
case w.DSTS:
|
|
9576
|
-
return
|
|
9579
|
+
return nt.Dsts;
|
|
9577
9580
|
}
|
|
9578
|
-
return
|
|
9581
|
+
return nt.Default;
|
|
9579
9582
|
}, Object.defineProperty(n.prototype, "authorityType", {
|
|
9580
9583
|
// See above for AuthorityType
|
|
9581
9584
|
get: function() {
|
|
@@ -9710,7 +9713,7 @@ var tr = (
|
|
|
9710
9713
|
enumerable: !1,
|
|
9711
9714
|
configurable: !0
|
|
9712
9715
|
}), n.prototype.canReplaceTenant = function(e) {
|
|
9713
|
-
return e.PathSegments.length === 1 && !n.reservedTenantDomains.has(e.PathSegments[0]) && this.getAuthorityType(e) ===
|
|
9716
|
+
return e.PathSegments.length === 1 && !n.reservedTenantDomains.has(e.PathSegments[0]) && this.getAuthorityType(e) === nt.Default && this.protocolMode === er.AAD;
|
|
9714
9717
|
}, n.prototype.replaceTenant = function(e) {
|
|
9715
9718
|
return e.replace(/{tenant}|{tenantid}/g, this.tenant);
|
|
9716
9719
|
}, n.prototype.replacePath = function(e) {
|
|
@@ -9728,7 +9731,7 @@ var tr = (
|
|
|
9728
9731
|
* The default open id configuration endpoint for any canonical authority.
|
|
9729
9732
|
*/
|
|
9730
9733
|
get: function() {
|
|
9731
|
-
return this.authorityType ===
|
|
9734
|
+
return this.authorityType === nt.Adfs || this.authorityType === nt.Dsts || this.protocolMode === er.OIDC ? this.canonicalAuthority + ".well-known/openid-configuration" : this.canonicalAuthority + "v2.0/.well-known/openid-configuration";
|
|
9732
9735
|
},
|
|
9733
9736
|
enumerable: !1,
|
|
9734
9737
|
configurable: !0
|
|
@@ -9847,7 +9850,7 @@ var tr = (
|
|
|
9847
9850
|
});
|
|
9848
9851
|
});
|
|
9849
9852
|
}, n.prototype.getCloudDiscoveryMetadataFromConfig = function() {
|
|
9850
|
-
if (this.authorityType ===
|
|
9853
|
+
if (this.authorityType === nt.Ciam)
|
|
9851
9854
|
return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."), n.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);
|
|
9852
9855
|
if (this.authorityOptions.cloudDiscoveryMetadata) {
|
|
9853
9856
|
this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");
|
|
@@ -10035,7 +10038,7 @@ var ur = {
|
|
|
10035
10038
|
code: "missing_alg_error",
|
|
10036
10039
|
desc: "The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."
|
|
10037
10040
|
}
|
|
10038
|
-
},
|
|
10041
|
+
}, xo = (
|
|
10039
10042
|
/** @class */
|
|
10040
10043
|
function(n) {
|
|
10041
10044
|
lt(e, n);
|
|
@@ -10059,9 +10062,9 @@ var Za = (
|
|
|
10059
10062
|
}
|
|
10060
10063
|
return n.getShrHeaderString = function(e) {
|
|
10061
10064
|
if (!e.kid)
|
|
10062
|
-
throw
|
|
10065
|
+
throw xo.createMissingKidError();
|
|
10063
10066
|
if (!e.alg)
|
|
10064
|
-
throw
|
|
10067
|
+
throw xo.createMissingAlgError();
|
|
10065
10068
|
var t = new n({
|
|
10066
10069
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
10067
10070
|
typ: e.typ || Wr.Pop,
|
|
@@ -10271,7 +10274,7 @@ var gi = (
|
|
|
10271
10274
|
}()
|
|
10272
10275
|
);
|
|
10273
10276
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10274
|
-
var
|
|
10277
|
+
var Uo = (
|
|
10275
10278
|
/** @class */
|
|
10276
10279
|
function() {
|
|
10277
10280
|
function n() {
|
|
@@ -10292,9 +10295,9 @@ var xo = (
|
|
|
10292
10295
|
return e.prototype.generateId = function() {
|
|
10293
10296
|
return "callback-id";
|
|
10294
10297
|
}, e.prototype.startPerformanceMeasuremeant = function() {
|
|
10295
|
-
return new
|
|
10298
|
+
return new Uo();
|
|
10296
10299
|
}, e.prototype.startPerformanceMeasurement = function() {
|
|
10297
|
-
return new
|
|
10300
|
+
return new Uo();
|
|
10298
10301
|
}, e.prototype.calculateQueuedTime = function(t, r) {
|
|
10299
10302
|
return 0;
|
|
10300
10303
|
}, e.prototype.addQueueMeasurement = function(t, r, o) {
|
|
@@ -10303,7 +10306,7 @@ var xo = (
|
|
|
10303
10306
|
}(gi)
|
|
10304
10307
|
);
|
|
10305
10308
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10306
|
-
var
|
|
10309
|
+
var U = {
|
|
10307
10310
|
pkceNotGenerated: {
|
|
10308
10311
|
code: "pkce_not_created",
|
|
10309
10312
|
desc: "The PKCE code challenge and verifier could not be generated."
|
|
@@ -10493,96 +10496,96 @@ var B = {
|
|
|
10493
10496
|
return Object.setPrototypeOf(o, e.prototype), o.name = "BrowserAuthError", o;
|
|
10494
10497
|
}
|
|
10495
10498
|
return e.createPkceNotGeneratedError = function(t) {
|
|
10496
|
-
return new e(
|
|
10499
|
+
return new e(U.pkceNotGenerated.code, U.pkceNotGenerated.desc + " Detail:" + t);
|
|
10497
10500
|
}, e.createCryptoNotAvailableError = function(t) {
|
|
10498
|
-
return new e(
|
|
10501
|
+
return new e(U.cryptoDoesNotExist.code, U.cryptoDoesNotExist.desc + " Detail:" + t);
|
|
10499
10502
|
}, e.createHttpMethodNotImplementedError = function(t) {
|
|
10500
|
-
return new e(
|
|
10503
|
+
return new e(U.httpMethodNotImplementedError.code, U.httpMethodNotImplementedError.desc + " Given Method: " + t);
|
|
10501
10504
|
}, e.createEmptyNavigationUriError = function() {
|
|
10502
|
-
return new e(
|
|
10505
|
+
return new e(U.emptyNavigateUriError.code, U.emptyNavigateUriError.desc);
|
|
10503
10506
|
}, e.createEmptyHashError = function(t) {
|
|
10504
|
-
return new e(
|
|
10507
|
+
return new e(U.hashEmptyError.code, U.hashEmptyError.desc + " Given Url: " + t);
|
|
10505
10508
|
}, e.createHashDoesNotContainStateError = function() {
|
|
10506
|
-
return new e(
|
|
10509
|
+
return new e(U.hashDoesNotContainStateError.code, U.hashDoesNotContainStateError.desc);
|
|
10507
10510
|
}, e.createHashDoesNotContainKnownPropertiesError = function() {
|
|
10508
|
-
return new e(
|
|
10511
|
+
return new e(U.hashDoesNotContainKnownPropertiesError.code, U.hashDoesNotContainKnownPropertiesError.desc);
|
|
10509
10512
|
}, e.createUnableToParseStateError = function() {
|
|
10510
|
-
return new e(
|
|
10513
|
+
return new e(U.unableToParseStateError.code, U.unableToParseStateError.desc);
|
|
10511
10514
|
}, e.createStateInteractionTypeMismatchError = function() {
|
|
10512
|
-
return new e(
|
|
10515
|
+
return new e(U.stateInteractionTypeMismatchError.code, U.stateInteractionTypeMismatchError.desc);
|
|
10513
10516
|
}, e.createInteractionInProgressError = function() {
|
|
10514
|
-
return new e(
|
|
10517
|
+
return new e(U.interactionInProgress.code, U.interactionInProgress.desc);
|
|
10515
10518
|
}, e.createPopupWindowError = function(t) {
|
|
10516
|
-
var r =
|
|
10517
|
-
return r = V.isEmpty(t) ? r : r + " Details: " + t, new e(
|
|
10519
|
+
var r = U.popupWindowError.desc;
|
|
10520
|
+
return r = V.isEmpty(t) ? r : r + " Details: " + t, new e(U.popupWindowError.code, r);
|
|
10518
10521
|
}, e.createEmptyWindowCreatedError = function() {
|
|
10519
|
-
return new e(
|
|
10522
|
+
return new e(U.emptyWindowError.code, U.emptyWindowError.desc);
|
|
10520
10523
|
}, e.createUserCancelledError = function() {
|
|
10521
|
-
return new e(
|
|
10524
|
+
return new e(U.userCancelledError.code, U.userCancelledError.desc);
|
|
10522
10525
|
}, e.createMonitorPopupTimeoutError = function() {
|
|
10523
|
-
return new e(
|
|
10526
|
+
return new e(U.monitorPopupTimeoutError.code, U.monitorPopupTimeoutError.desc);
|
|
10524
10527
|
}, e.createMonitorIframeTimeoutError = function() {
|
|
10525
|
-
return new e(
|
|
10528
|
+
return new e(U.monitorIframeTimeoutError.code, U.monitorIframeTimeoutError.desc);
|
|
10526
10529
|
}, e.createRedirectInIframeError = function(t) {
|
|
10527
|
-
return new e(
|
|
10530
|
+
return new e(U.redirectInIframeError.code, U.redirectInIframeError.desc + " (window.parent !== window) => " + t);
|
|
10528
10531
|
}, e.createBlockReloadInHiddenIframeError = function() {
|
|
10529
|
-
return new e(
|
|
10532
|
+
return new e(U.blockTokenRequestsInHiddenIframeError.code, U.blockTokenRequestsInHiddenIframeError.desc);
|
|
10530
10533
|
}, e.createBlockAcquireTokenInPopupsError = function() {
|
|
10531
|
-
return new e(
|
|
10534
|
+
return new e(U.blockAcquireTokenInPopupsError.code, U.blockAcquireTokenInPopupsError.desc);
|
|
10532
10535
|
}, e.createIframeClosedPrematurelyError = function() {
|
|
10533
|
-
return new e(
|
|
10536
|
+
return new e(U.iframeClosedPrematurelyError.code, U.iframeClosedPrematurelyError.desc);
|
|
10534
10537
|
}, e.createSilentLogoutUnsupportedError = function() {
|
|
10535
|
-
return new e(
|
|
10538
|
+
return new e(U.silentLogoutUnsupportedError.code, U.silentLogoutUnsupportedError.desc);
|
|
10536
10539
|
}, e.createNoAccountError = function() {
|
|
10537
|
-
return new e(
|
|
10540
|
+
return new e(U.noAccountError.code, U.noAccountError.desc);
|
|
10538
10541
|
}, e.createSilentPromptValueError = function(t) {
|
|
10539
|
-
return new e(
|
|
10542
|
+
return new e(U.silentPromptValueError.code, U.silentPromptValueError.desc + " Given value: " + t);
|
|
10540
10543
|
}, e.createUnableToParseTokenRequestCacheError = function() {
|
|
10541
|
-
return new e(
|
|
10544
|
+
return new e(U.unableToParseTokenRequestCacheError.code, U.unableToParseTokenRequestCacheError.desc);
|
|
10542
10545
|
}, e.createNoTokenRequestCacheError = function() {
|
|
10543
|
-
return new e(
|
|
10546
|
+
return new e(U.noTokenRequestCacheError.code, U.noTokenRequestCacheError.desc);
|
|
10544
10547
|
}, e.createAuthRequestNotSetError = function() {
|
|
10545
|
-
return new e(
|
|
10548
|
+
return new e(U.authRequestNotSet.code, U.authRequestNotSet.desc);
|
|
10546
10549
|
}, e.createNoCachedAuthorityError = function() {
|
|
10547
|
-
return new e(
|
|
10550
|
+
return new e(U.noCachedAuthorityError.code, U.noCachedAuthorityError.desc);
|
|
10548
10551
|
}, e.createInvalidCacheTypeError = function() {
|
|
10549
|
-
return new e(
|
|
10552
|
+
return new e(U.invalidCacheType.code, "" + U.invalidCacheType.desc);
|
|
10550
10553
|
}, e.createNonBrowserEnvironmentError = function() {
|
|
10551
|
-
return new e(
|
|
10554
|
+
return new e(U.notInBrowserEnvironment.code, U.notInBrowserEnvironment.desc);
|
|
10552
10555
|
}, e.createDatabaseNotOpenError = function() {
|
|
10553
|
-
return new e(
|
|
10556
|
+
return new e(U.databaseNotOpen.code, U.databaseNotOpen.desc);
|
|
10554
10557
|
}, e.createNoNetworkConnectivityError = function() {
|
|
10555
|
-
return new e(
|
|
10558
|
+
return new e(U.noNetworkConnectivity.code, U.noNetworkConnectivity.desc);
|
|
10556
10559
|
}, e.createPostRequestFailedError = function(t, r) {
|
|
10557
|
-
return new e(
|
|
10560
|
+
return new e(U.postRequestFailed.code, U.postRequestFailed.desc + " | Network client threw: " + t + " | Attempted to reach: " + r.split("?")[0]);
|
|
10558
10561
|
}, e.createGetRequestFailedError = function(t, r) {
|
|
10559
|
-
return new e(
|
|
10562
|
+
return new e(U.getRequestFailed.code, U.getRequestFailed.desc + " | Network client threw: " + t + " | Attempted to reach: " + r.split("?")[0]);
|
|
10560
10563
|
}, e.createFailedToParseNetworkResponseError = function(t) {
|
|
10561
|
-
return new e(
|
|
10564
|
+
return new e(U.failedToParseNetworkResponse.code, U.failedToParseNetworkResponse.desc + " | Attempted to reach: " + t.split("?")[0]);
|
|
10562
10565
|
}, e.createUnableToLoadTokenError = function(t) {
|
|
10563
|
-
return new e(
|
|
10566
|
+
return new e(U.unableToLoadTokenError.code, U.unableToLoadTokenError.desc + " | " + t);
|
|
10564
10567
|
}, e.createSigningKeyNotFoundInStorageError = function(t) {
|
|
10565
|
-
return new e(
|
|
10568
|
+
return new e(U.signingKeyNotFoundInStorage.code, U.signingKeyNotFoundInStorage.desc + " | No match found for KeyId: " + t);
|
|
10566
10569
|
}, e.createAuthCodeRequiredError = function() {
|
|
10567
|
-
return new e(
|
|
10570
|
+
return new e(U.authCodeRequired.code, U.authCodeRequired.desc);
|
|
10568
10571
|
}, e.createAuthCodeOrNativeAccountIdRequiredError = function() {
|
|
10569
|
-
return new e(
|
|
10572
|
+
return new e(U.authCodeOrNativeAccountRequired.code, U.authCodeOrNativeAccountRequired.desc);
|
|
10570
10573
|
}, e.createSpaCodeAndNativeAccountIdPresentError = function() {
|
|
10571
|
-
return new e(
|
|
10574
|
+
return new e(U.spaCodeAndNativeAccountPresent.code, U.spaCodeAndNativeAccountPresent.desc);
|
|
10572
10575
|
}, e.createDatabaseUnavailableError = function() {
|
|
10573
|
-
return new e(
|
|
10576
|
+
return new e(U.databaseUnavailable.code, U.databaseUnavailable.desc);
|
|
10574
10577
|
}, e.createUnableToAcquireTokenFromNativePlatformError = function() {
|
|
10575
|
-
return new e(
|
|
10578
|
+
return new e(U.unableToAcquireTokenFromNativePlatform.code, U.unableToAcquireTokenFromNativePlatform.desc);
|
|
10576
10579
|
}, e.createNativeHandshakeTimeoutError = function() {
|
|
10577
|
-
return new e(
|
|
10580
|
+
return new e(U.nativeHandshakeTimeout.code, U.nativeHandshakeTimeout.desc);
|
|
10578
10581
|
}, e.createNativeExtensionNotInstalledError = function() {
|
|
10579
|
-
return new e(
|
|
10582
|
+
return new e(U.nativeExtensionNotInstalled.code, U.nativeExtensionNotInstalled.desc);
|
|
10580
10583
|
}, e.createNativeConnectionNotEstablishedError = function() {
|
|
10581
|
-
return new e(
|
|
10584
|
+
return new e(U.nativeConnectionNotEstablished.code, U.nativeConnectionNotEstablished.desc);
|
|
10582
10585
|
}, e.createNativeBrokerCalledBeforeInitialize = function() {
|
|
10583
|
-
return new e(
|
|
10586
|
+
return new e(U.nativeBrokerCalledBeforeInitialize.code, U.nativeBrokerCalledBeforeInitialize.desc);
|
|
10584
10587
|
}, e.createNativePromptParameterNotSupportedError = function() {
|
|
10585
|
-
return new e(
|
|
10588
|
+
return new e(U.nativePromptNotSupported.code, U.nativePromptNotSupported.desc);
|
|
10586
10589
|
}, e;
|
|
10587
10590
|
}(X)
|
|
10588
10591
|
);
|
|
@@ -10662,12 +10665,12 @@ var Do = {
|
|
|
10662
10665
|
(function(n) {
|
|
10663
10666
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
10664
10667
|
})(Ho || (Ho = {}));
|
|
10665
|
-
var Zr = "msal.db", ns = 1, rs = Zr + ".keys",
|
|
10668
|
+
var Zr = "msal.db", ns = 1, rs = Zr + ".keys", at;
|
|
10666
10669
|
(function(n) {
|
|
10667
10670
|
n[n.Default = 0] = "Default", n[n.AccessToken = 1] = "AccessToken", n[n.AccessTokenAndRefreshToken = 2] = "AccessTokenAndRefreshToken", n[n.RefreshToken = 3] = "RefreshToken", n[n.RefreshTokenAndNetwork = 4] = "RefreshTokenAndNetwork", n[n.Skip = 5] = "Skip";
|
|
10668
|
-
})(
|
|
10671
|
+
})(at || (at = {}));
|
|
10669
10672
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10670
|
-
var
|
|
10673
|
+
var ot = {
|
|
10671
10674
|
redirectUriNotSet: {
|
|
10672
10675
|
code: "redirect_uri_empty",
|
|
10673
10676
|
desc: "A redirect URI is required for all calls, and none has been set."
|
|
@@ -10709,19 +10712,19 @@ var it = {
|
|
|
10709
10712
|
return o.name = "BrowserConfigurationAuthError", Object.setPrototypeOf(o, e.prototype), o;
|
|
10710
10713
|
}
|
|
10711
10714
|
return e.createRedirectUriEmptyError = function() {
|
|
10712
|
-
return new e(
|
|
10715
|
+
return new e(ot.redirectUriNotSet.code, ot.redirectUriNotSet.desc);
|
|
10713
10716
|
}, e.createPostLogoutRedirectUriEmptyError = function() {
|
|
10714
|
-
return new e(
|
|
10717
|
+
return new e(ot.postLogoutUriNotSet.code, ot.postLogoutUriNotSet.desc);
|
|
10715
10718
|
}, e.createStorageNotSupportedError = function(t) {
|
|
10716
|
-
return new e(
|
|
10719
|
+
return new e(ot.storageNotSupportedError.code, ot.storageNotSupportedError.desc + " Given Location: " + t);
|
|
10717
10720
|
}, e.createRedirectCallbacksNotSetError = function() {
|
|
10718
|
-
return new e(
|
|
10721
|
+
return new e(ot.noRedirectCallbacksSet.code, ot.noRedirectCallbacksSet.desc);
|
|
10719
10722
|
}, e.createStubPcaInstanceCalledError = function() {
|
|
10720
|
-
return new e(
|
|
10723
|
+
return new e(ot.stubPcaInstanceCalled.code, ot.stubPcaInstanceCalled.desc);
|
|
10721
10724
|
}, e.createInMemoryRedirectUnavailableError = function() {
|
|
10722
|
-
return new e(
|
|
10725
|
+
return new e(ot.inMemRedirectUnavailable.code, ot.inMemRedirectUnavailable.desc);
|
|
10723
10726
|
}, e.createEntropyNotProvided = function() {
|
|
10724
|
-
return new e(
|
|
10727
|
+
return new e(ot.entropyNotProvided.code, ot.entropyNotProvided.desc);
|
|
10725
10728
|
}, e;
|
|
10726
10729
|
}(X)
|
|
10727
10730
|
);
|
|
@@ -10834,7 +10837,7 @@ var to = (
|
|
|
10834
10837
|
return this.internalStorage;
|
|
10835
10838
|
}
|
|
10836
10839
|
}, e.prototype.migrateCacheEntries = function() {
|
|
10837
|
-
var t = this, r = w.CACHE_PREFIX + "." +
|
|
10840
|
+
var t = this, r = w.CACHE_PREFIX + "." + Ue.ID_TOKEN, o = w.CACHE_PREFIX + "." + Ue.CLIENT_INFO, i = w.CACHE_PREFIX + "." + Ue.ERROR, a = w.CACHE_PREFIX + "." + Ue.ERROR_DESC, s = this.browserStorage.getItem(r), u = this.browserStorage.getItem(o), p = this.browserStorage.getItem(i), l = this.browserStorage.getItem(a), m = [s, u, p, l], f = [Ue.ID_TOKEN, Ue.CLIENT_INFO, Ue.ERROR, Ue.ERROR_DESC];
|
|
10838
10841
|
f.forEach(function(k, E) {
|
|
10839
10842
|
return t.migrateCacheEntry(k, m[E]);
|
|
10840
10843
|
});
|
|
@@ -10859,7 +10862,7 @@ var to = (
|
|
|
10859
10862
|
case ee.ID_TOKEN:
|
|
10860
10863
|
if (kn.isIdTokenEntity(u)) {
|
|
10861
10864
|
t.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: " + a + " found, saving key to token key map");
|
|
10862
|
-
var p =
|
|
10865
|
+
var p = it.toObject(new kn(), u), l = t.updateCredentialCacheKey(a, p);
|
|
10863
10866
|
t.addTokenKey(l, ee.ID_TOKEN);
|
|
10864
10867
|
return;
|
|
10865
10868
|
} else
|
|
@@ -10869,7 +10872,7 @@ var to = (
|
|
|
10869
10872
|
case ee.ACCESS_TOKEN_WITH_AUTH_SCHEME:
|
|
10870
10873
|
if (Cn.isAccessTokenEntity(u)) {
|
|
10871
10874
|
t.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: " + a + " found, saving key to token key map");
|
|
10872
|
-
var m =
|
|
10875
|
+
var m = it.toObject(new Cn(), u), l = t.updateCredentialCacheKey(a, m);
|
|
10873
10876
|
t.addTokenKey(l, ee.ACCESS_TOKEN);
|
|
10874
10877
|
return;
|
|
10875
10878
|
} else
|
|
@@ -10878,7 +10881,7 @@ var to = (
|
|
|
10878
10881
|
case ee.REFRESH_TOKEN:
|
|
10879
10882
|
if (Nn.isRefreshTokenEntity(u)) {
|
|
10880
10883
|
t.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: " + a + " found, saving key to token key map");
|
|
10881
|
-
var f =
|
|
10884
|
+
var f = it.toObject(new Nn(), u), l = t.updateCredentialCacheKey(a, f);
|
|
10882
10885
|
t.addTokenKey(l, ee.REFRESH_TOKEN);
|
|
10883
10886
|
return;
|
|
10884
10887
|
} else
|
|
@@ -10912,7 +10915,7 @@ var to = (
|
|
|
10912
10915
|
if (!r)
|
|
10913
10916
|
return this.removeAccountKeyFromMap(t), null;
|
|
10914
10917
|
var o = this.validateAndParseJson(r);
|
|
10915
|
-
return !o || !Ve.isAccountEntity(o) ? (this.removeAccountKeyFromMap(t), null) :
|
|
10918
|
+
return !o || !Ve.isAccountEntity(o) ? (this.removeAccountKeyFromMap(t), null) : it.toObject(new Ve(), o);
|
|
10916
10919
|
}, e.prototype.setAccount = function(t) {
|
|
10917
10920
|
this.logger.trace("BrowserCacheManager.setAccount called");
|
|
10918
10921
|
var r = t.generateAccountKey();
|
|
@@ -11011,7 +11014,7 @@ var to = (
|
|
|
11011
11014
|
if (!r)
|
|
11012
11015
|
return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ID_TOKEN), null;
|
|
11013
11016
|
var o = this.validateAndParseJson(r);
|
|
11014
|
-
return !o || !kn.isIdTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ID_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),
|
|
11017
|
+
return !o || !kn.isIdTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ID_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"), it.toObject(new kn(), o));
|
|
11015
11018
|
}, e.prototype.setIdTokenCredential = function(t) {
|
|
11016
11019
|
this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
|
|
11017
11020
|
var r = t.generateCredentialKey();
|
|
@@ -11021,7 +11024,7 @@ var to = (
|
|
|
11021
11024
|
if (!r)
|
|
11022
11025
|
return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ACCESS_TOKEN), null;
|
|
11023
11026
|
var o = this.validateAndParseJson(r);
|
|
11024
|
-
return !o || !Cn.isAccessTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ACCESS_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),
|
|
11027
|
+
return !o || !Cn.isAccessTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.ACCESS_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"), it.toObject(new Cn(), o));
|
|
11025
11028
|
}, e.prototype.setAccessTokenCredential = function(t) {
|
|
11026
11029
|
this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
|
|
11027
11030
|
var r = t.generateCredentialKey();
|
|
@@ -11031,7 +11034,7 @@ var to = (
|
|
|
11031
11034
|
if (!r)
|
|
11032
11035
|
return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.REFRESH_TOKEN), null;
|
|
11033
11036
|
var o = this.validateAndParseJson(r);
|
|
11034
|
-
return !o || !Nn.isRefreshTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.REFRESH_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),
|
|
11037
|
+
return !o || !Nn.isRefreshTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.REFRESH_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"), it.toObject(new Nn(), o));
|
|
11035
11038
|
}, e.prototype.setRefreshTokenCredential = function(t) {
|
|
11036
11039
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
11037
11040
|
var r = t.generateCredentialKey();
|
|
@@ -11041,7 +11044,7 @@ var to = (
|
|
|
11041
11044
|
if (!r)
|
|
11042
11045
|
return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null;
|
|
11043
11046
|
var o = this.validateAndParseJson(r);
|
|
11044
|
-
return !o || !$r.isAppMetadataEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),
|
|
11047
|
+
return !o || !$r.isAppMetadataEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"), it.toObject(new $r(), o));
|
|
11045
11048
|
}, e.prototype.setAppMetadata = function(t) {
|
|
11046
11049
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
11047
11050
|
var r = t.generateAppMetadataKey();
|
|
@@ -11051,7 +11054,7 @@ var to = (
|
|
|
11051
11054
|
if (!r)
|
|
11052
11055
|
return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null;
|
|
11053
11056
|
var o = this.validateAndParseJson(r);
|
|
11054
|
-
return !o || !Er.isServerTelemetryEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),
|
|
11057
|
+
return !o || !Er.isServerTelemetryEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"), it.toObject(new Er(), o));
|
|
11055
11058
|
}, e.prototype.setServerTelemetry = function(t, r) {
|
|
11056
11059
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called"), this.setItem(t, JSON.stringify(r));
|
|
11057
11060
|
}, e.prototype.getAuthorityMetadata = function(t) {
|
|
@@ -11059,7 +11062,7 @@ var to = (
|
|
|
11059
11062
|
if (!r)
|
|
11060
11063
|
return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"), null;
|
|
11061
11064
|
var o = this.validateAndParseJson(r);
|
|
11062
|
-
return o && Xr.isAuthorityMetadataEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),
|
|
11065
|
+
return o && Xr.isAuthorityMetadataEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"), it.toObject(new Xr(), o)) : null;
|
|
11063
11066
|
}, e.prototype.getAuthorityMetadataKeys = function() {
|
|
11064
11067
|
var t = this, r = this.internalStorage.getKeys();
|
|
11065
11068
|
return r.filter(function(o) {
|
|
@@ -11073,10 +11076,10 @@ var to = (
|
|
|
11073
11076
|
}, e.prototype.setAuthorityMetadata = function(t, r) {
|
|
11074
11077
|
this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"), this.internalStorage.setItem(t, JSON.stringify(r));
|
|
11075
11078
|
}, e.prototype.getActiveAccount = function() {
|
|
11076
|
-
var t = this.generateCacheKey(
|
|
11079
|
+
var t = this.generateCacheKey(Ue.ACTIVE_ACCOUNT_FILTERS), r = this.getItem(t);
|
|
11077
11080
|
if (!r) {
|
|
11078
11081
|
this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");
|
|
11079
|
-
var o = this.generateCacheKey(
|
|
11082
|
+
var o = this.generateCacheKey(Ue.ACTIVE_ACCOUNT), i = this.getItem(o);
|
|
11080
11083
|
if (!i)
|
|
11081
11084
|
return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"), null;
|
|
11082
11085
|
var a = this.getAccountInfoByFilter({ localAccountId: i })[0] || null;
|
|
@@ -11088,7 +11091,7 @@ var to = (
|
|
|
11088
11091
|
localAccountId: s.localAccountId
|
|
11089
11092
|
})[0] || null) : (this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"), null);
|
|
11090
11093
|
}, e.prototype.setActiveAccount = function(t) {
|
|
11091
|
-
var r = this.generateCacheKey(
|
|
11094
|
+
var r = this.generateCacheKey(Ue.ACTIVE_ACCOUNT_FILTERS), o = this.generateCacheKey(Ue.ACTIVE_ACCOUNT);
|
|
11092
11095
|
if (t) {
|
|
11093
11096
|
this.logger.verbose("setActiveAccount: Active account set");
|
|
11094
11097
|
var i = {
|
|
@@ -11121,7 +11124,7 @@ var to = (
|
|
|
11121
11124
|
if (!r)
|
|
11122
11125
|
return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null;
|
|
11123
11126
|
var o = this.validateAndParseJson(r);
|
|
11124
|
-
return !o || !zo.isThrottlingEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),
|
|
11127
|
+
return !o || !zo.isThrottlingEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"), it.toObject(new zo(), o));
|
|
11125
11128
|
}, e.prototype.setThrottlingCache = function(t, r) {
|
|
11126
11129
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called"), this.setItem(t, JSON.stringify(r));
|
|
11127
11130
|
}, e.prototype.getTemporaryCache = function(t, r) {
|
|
@@ -11220,7 +11223,7 @@ var to = (
|
|
|
11220
11223
|
}, e.prototype.setCache = function() {
|
|
11221
11224
|
}, e.prototype.generateCacheKey = function(t) {
|
|
11222
11225
|
var r = this.validateAndParseJson(t);
|
|
11223
|
-
return r ? JSON.stringify(t) : V.startsWith(t, w.CACHE_PREFIX) || V.startsWith(t,
|
|
11226
|
+
return r ? JSON.stringify(t) : V.startsWith(t, w.CACHE_PREFIX) || V.startsWith(t, Ue.ADAL_ID_TOKEN) ? t : w.CACHE_PREFIX + "." + this.clientId + "." + t;
|
|
11224
11227
|
}, e.prototype.generateAuthorityKey = function(t) {
|
|
11225
11228
|
var r = tn.parseRequestState(this.cryptoImpl, t).libraryState.id;
|
|
11226
11229
|
return this.generateCacheKey(de.AUTHORITY + "." + r);
|
|
@@ -11318,10 +11321,10 @@ var to = (
|
|
|
11318
11321
|
this.setTemporaryCache(r, this.clientId, !1);
|
|
11319
11322
|
} else !t && this.getInteractionInProgress() === this.clientId && this.removeItem(r);
|
|
11320
11323
|
}, e.prototype.getLegacyLoginHint = function() {
|
|
11321
|
-
var t = this.getTemporaryCache(
|
|
11322
|
-
t && (this.browserStorage.removeItem(
|
|
11323
|
-
var r = this.getTemporaryCache(
|
|
11324
|
-
r && (this.removeItem(this.generateCacheKey(
|
|
11324
|
+
var t = this.getTemporaryCache(Ue.ADAL_ID_TOKEN);
|
|
11325
|
+
t && (this.browserStorage.removeItem(Ue.ADAL_ID_TOKEN), this.logger.verbose("Cached ADAL id token retrieved."));
|
|
11326
|
+
var r = this.getTemporaryCache(Ue.ID_TOKEN, !0);
|
|
11327
|
+
r && (this.removeItem(this.generateCacheKey(Ue.ID_TOKEN)), this.logger.verbose("Cached MSAL.js v1 id token retrieved"));
|
|
11325
11328
|
var o = r || t;
|
|
11326
11329
|
if (o) {
|
|
11327
11330
|
var i = new Qt(o, this.cryptoImpl);
|
|
@@ -11346,7 +11349,7 @@ var to = (
|
|
|
11346
11349
|
}, e.prototype.setRedirectRequestContext = function(t) {
|
|
11347
11350
|
this.setTemporaryCache(de.REDIRECT_CONTEXT, t, !0);
|
|
11348
11351
|
}, e;
|
|
11349
|
-
}(
|
|
11352
|
+
}(it)
|
|
11350
11353
|
), os = function(n, e) {
|
|
11351
11354
|
var t = {
|
|
11352
11355
|
cacheLocation: Le.MemoryStorage,
|
|
@@ -11510,7 +11513,7 @@ var as = (
|
|
|
11510
11513
|
}()
|
|
11511
11514
|
);
|
|
11512
11515
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11513
|
-
var
|
|
11516
|
+
var Ae = (
|
|
11514
11517
|
/** @class */
|
|
11515
11518
|
function() {
|
|
11516
11519
|
function n() {
|
|
@@ -11627,8 +11630,8 @@ var _i = (
|
|
|
11627
11630
|
});
|
|
11628
11631
|
}, n.prototype.getRedirectUri = function(e) {
|
|
11629
11632
|
this.logger.verbose("getRedirectUri called");
|
|
11630
|
-
var t = e || this.config.auth.redirectUri ||
|
|
11631
|
-
return ue.getAbsoluteUrl(t,
|
|
11633
|
+
var t = e || this.config.auth.redirectUri || Ae.getCurrentUri();
|
|
11634
|
+
return ue.getAbsoluteUrl(t, Ae.getCurrentUri());
|
|
11632
11635
|
}, n.prototype.validateRequestAuthority = function(e, t) {
|
|
11633
11636
|
return O(this, void 0, void 0, function() {
|
|
11634
11637
|
var r;
|
|
@@ -11714,7 +11717,7 @@ var jn = (
|
|
|
11714
11717
|
this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");
|
|
11715
11718
|
else
|
|
11716
11719
|
this.logger.verbose("logoutHint will not be set since no logout request was configured");
|
|
11717
|
-
return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = ue.getAbsoluteUrl(t.postLogoutRedirectUri,
|
|
11720
|
+
return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = ue.getAbsoluteUrl(t.postLogoutRedirectUri, Ae.getCurrentUri())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", r.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", r.correlationId), r.postLogoutRedirectUri = ue.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, Ae.getCurrentUri())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", r.correlationId), r.postLogoutRedirectUri = ue.getAbsoluteUrl(Ae.getCurrentUri(), Ae.getCurrentUri())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", r.correlationId), r;
|
|
11718
11721
|
}, e.prototype.getLogoutHintFromIdTokenClaims = function(t) {
|
|
11719
11722
|
var r = t.idTokenClaims;
|
|
11720
11723
|
if (r) {
|
|
@@ -11851,7 +11854,7 @@ var fo = (
|
|
|
11851
11854
|
try {
|
|
11852
11855
|
s = this.authModule.handleFragmentResponse(e, a);
|
|
11853
11856
|
} catch (p) {
|
|
11854
|
-
throw p instanceof Sn && p.subError ===
|
|
11857
|
+
throw p instanceof Sn && p.subError === U.userCancelledError.code ? F.createUserCancelledError() : p;
|
|
11855
11858
|
}
|
|
11856
11859
|
return this.performanceClient.setPreQueueTime(A.HandleCodeResponseFromServer, this.authCodeRequest.correlationId), [2, this.handleCodeResponseFromServer(s, t, r, o)];
|
|
11857
11860
|
});
|
|
@@ -11965,7 +11968,7 @@ var qo = (
|
|
|
11965
11968
|
try {
|
|
11966
11969
|
u = this.authModule.handleFragmentResponse(t, s);
|
|
11967
11970
|
} catch (E) {
|
|
11968
|
-
throw E instanceof Sn && E.subError ===
|
|
11971
|
+
throw E instanceof Sn && E.subError === U.userCancelledError.code ? F.createUserCancelledError() : E;
|
|
11969
11972
|
}
|
|
11970
11973
|
return p = this.browserStorage.generateNonceKey(s), l = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = u.code, u.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(u.cloud_instance_host_name, o, i)] : [3, 2];
|
|
11971
11974
|
case 1:
|
|
@@ -12064,7 +12067,7 @@ var vi = (
|
|
|
12064
12067
|
fromCache: !0
|
|
12065
12068
|
}), [2, a];
|
|
12066
12069
|
case 4:
|
|
12067
|
-
throw s = u.sent(), s instanceof F && s.errorCode ===
|
|
12070
|
+
throw s = u.sent(), s instanceof F && s.errorCode === U.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
|
|
12068
12071
|
errorCode: s instanceof X && s.errorCode || void 0,
|
|
12069
12072
|
subErrorCode: s instanceof X && s.subError || void 0,
|
|
12070
12073
|
success: !1
|
|
@@ -12107,7 +12110,7 @@ var vi = (
|
|
|
12107
12110
|
}(jn)
|
|
12108
12111
|
);
|
|
12109
12112
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12110
|
-
var
|
|
12113
|
+
var Un = (
|
|
12111
12114
|
/** @class */
|
|
12112
12115
|
function(n) {
|
|
12113
12116
|
Qe(e, n);
|
|
@@ -12273,7 +12276,7 @@ var xn = (
|
|
|
12273
12276
|
}, e.prototype.createIdTokenObj = function(t) {
|
|
12274
12277
|
return new Qt(t.id_token || w.EMPTY_STRING, this.browserCrypto);
|
|
12275
12278
|
}, e.prototype.createHomeAccountIdentifier = function(t, r) {
|
|
12276
|
-
var o = Ve.generateHomeAccountId(t.client_info || w.EMPTY_STRING,
|
|
12279
|
+
var o = Ve.generateHomeAccountId(t.client_info || w.EMPTY_STRING, nt.Default, this.logger, this.browserCrypto, r);
|
|
12277
12280
|
return o;
|
|
12278
12281
|
}, e.prototype.createAccountEntity = function(t, r, o, i) {
|
|
12279
12282
|
return Ve.createAccount(t.client_info, r, o, void 0, void 0, void 0, i, t.account.id);
|
|
@@ -12385,16 +12388,16 @@ var xn = (
|
|
|
12385
12388
|
switch (k.apiId) {
|
|
12386
12389
|
case Ce.ssoSilent:
|
|
12387
12390
|
case Ce.acquireTokenSilent_silentFlow:
|
|
12388
|
-
return k.logger.trace("initializeNativeRequest: silent request sets prompt to none"),
|
|
12391
|
+
return k.logger.trace("initializeNativeRequest: silent request sets prompt to none"), Xe.NONE;
|
|
12389
12392
|
}
|
|
12390
12393
|
if (!t.prompt) {
|
|
12391
12394
|
k.logger.trace("initializeNativeRequest: prompt was not provided");
|
|
12392
12395
|
return;
|
|
12393
12396
|
}
|
|
12394
12397
|
switch (t.prompt) {
|
|
12395
|
-
case
|
|
12396
|
-
case
|
|
12397
|
-
case
|
|
12398
|
+
case Xe.NONE:
|
|
12399
|
+
case Xe.CONSENT:
|
|
12400
|
+
case Xe.LOGIN:
|
|
12398
12401
|
return k.logger.trace("initializeNativeRequest: prompt is compatible with native flow"), t.prompt;
|
|
12399
12402
|
default:
|
|
12400
12403
|
throw k.logger.trace("initializeNativeRequest: prompt = " + t.prompt + " is not compatible with native flow"), F.createNativePromptParameterNotSupportedError();
|
|
@@ -12614,15 +12617,15 @@ var ss = (
|
|
|
12614
12617
|
}
|
|
12615
12618
|
return s = this.browserStorage.getTemporaryCache(de.ORIGIN_URI, !0) || w.EMPTY_STRING, u = ue.removeHashFromUrl(s), p = ue.removeHashFromUrl(window.location.href), u === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
|
|
12616
12619
|
case 2:
|
|
12617
|
-
return l = R.sent(), s.indexOf("#") > -1 &&
|
|
12620
|
+
return l = R.sent(), s.indexOf("#") > -1 && Ae.replaceHash(s), [2, l];
|
|
12618
12621
|
case 3:
|
|
12619
12622
|
return this.config.auth.navigateToLoginRequestUrl ? [3, 4] : (this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"), [2, this.handleHash(o, i, r)]);
|
|
12620
12623
|
case 4:
|
|
12621
|
-
return !
|
|
12624
|
+
return !Ae.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(de.URL_HASH, o, !0), m = {
|
|
12622
12625
|
apiId: Ce.handleRedirectPromise,
|
|
12623
12626
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
12624
12627
|
noHistory: !0
|
|
12625
|
-
}, f = !0, !s || s === "null" ? (k =
|
|
12628
|
+
}, f = !0, !s || s === "null" ? (k = Ae.getHomepage(), this.browserStorage.setTemporaryCache(de.ORIGIN_URI, k, !0), this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"), [4, this.navigationClient.navigateInternal(k, m)]) : [3, 6]) : [3, 9];
|
|
12626
12629
|
case 5:
|
|
12627
12630
|
return f = R.sent(), [3, 8];
|
|
12628
12631
|
case 6:
|
|
@@ -12649,7 +12652,7 @@ var ss = (
|
|
|
12649
12652
|
this.logger.verbose("getRedirectResponseHash called");
|
|
12650
12653
|
var r = ue.hashContainsKnownProperties(t);
|
|
12651
12654
|
if (r)
|
|
12652
|
-
return
|
|
12655
|
+
return Ae.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
|
|
12653
12656
|
var o = this.browserStorage.getTemporaryCache(de.URL_HASH, !0);
|
|
12654
12657
|
return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(de.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
|
|
12655
12658
|
}, e.prototype.handleHash = function(t, r, o) {
|
|
@@ -12661,7 +12664,7 @@ var ss = (
|
|
|
12661
12664
|
if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = ue.getDeserializedHash(t), a.accountId) {
|
|
12662
12665
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
12663
12666
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12664
|
-
return s = new
|
|
12667
|
+
return s = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), u = tn.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(J(J({}, i), {
|
|
12665
12668
|
state: u,
|
|
12666
12669
|
prompt: void 0
|
|
12667
12670
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12726,7 +12729,7 @@ var ss = (
|
|
|
12726
12729
|
});
|
|
12727
12730
|
}, e.prototype.getRedirectStartPage = function(t) {
|
|
12728
12731
|
var r = t || window.location.href;
|
|
12729
|
-
return ue.getAbsoluteUrl(r,
|
|
12732
|
+
return ue.getAbsoluteUrl(r, Ae.getCurrentUri());
|
|
12730
12733
|
}, e;
|
|
12731
12734
|
}(jn)
|
|
12732
12735
|
);
|
|
@@ -12790,7 +12793,7 @@ var cs = (
|
|
|
12790
12793
|
isNativeBroker: !0
|
|
12791
12794
|
}), !this.nativeMessageHandler)
|
|
12792
12795
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12793
|
-
return T = new
|
|
12796
|
+
return T = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, K.accountId, this.nativeStorage, s.correlationId), H = tn.parseRequestState(this.browserCrypto, z).userRequestState, [2, T.acquireToken(J(J({}, s), {
|
|
12794
12797
|
state: H,
|
|
12795
12798
|
prompt: void 0
|
|
12796
12799
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12829,7 +12832,7 @@ var cs = (
|
|
|
12829
12832
|
apiId: Ce.logoutPopup,
|
|
12830
12833
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
12831
12834
|
noHistory: !1
|
|
12832
|
-
}, k = ue.getAbsoluteUrl(s,
|
|
12835
|
+
}, k = ue.getAbsoluteUrl(s, Ae.getCurrentUri()), this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii("Redirecting main window to: " + k), this.navigationClient.navigateInternal(k, f)) : this.logger.verbose("No main window navigation requested"), [3, 6];
|
|
12833
12836
|
case 5:
|
|
12834
12837
|
throw E = R.sent(), a && a.close(), E instanceof X && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE, W.Popup, null, E), this.eventHandler.emitEvent(ne.LOGOUT_END, W.Popup), u.cacheFailedRequest(E), E;
|
|
12835
12838
|
case 6:
|
|
@@ -12954,13 +12957,13 @@ function hs(n, e) {
|
|
|
12954
12957
|
piiLoggingEnabled: !1
|
|
12955
12958
|
}, p = J(J({}, di), {
|
|
12956
12959
|
loggerOptions: u,
|
|
12957
|
-
networkClient: e ?
|
|
12960
|
+
networkClient: e ? Ae.getBrowserNetworkClient() : Xa,
|
|
12958
12961
|
navigationClient: new ls(),
|
|
12959
12962
|
loadFrameTimeout: 0,
|
|
12960
12963
|
// If loadFrameTimeout is provided, use that as default.
|
|
12961
12964
|
windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || us,
|
|
12962
12965
|
iframeHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || no,
|
|
12963
|
-
navigateFrameWait: e &&
|
|
12966
|
+
navigateFrameWait: e && Ae.detectIEOrEdge() ? 500 : 0,
|
|
12964
12967
|
redirectNavigationTimeout: ds,
|
|
12965
12968
|
asyncPopups: !1,
|
|
12966
12969
|
allowRedirectInIframe: !1,
|
|
@@ -13069,11 +13072,11 @@ var fs = (
|
|
|
13069
13072
|
return L(this, function(u) {
|
|
13070
13073
|
switch (u.label) {
|
|
13071
13074
|
case 0:
|
|
13072
|
-
if (this.performanceClient.addQueueMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), this.logger.verbose("acquireTokenByIframe called"), r = this.performanceClient.startMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), V.isEmpty(t.loginHint) && V.isEmpty(t.sid) && (!t.account || V.isEmpty(t.account.username)) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."), t.prompt && t.prompt !==
|
|
13075
|
+
if (this.performanceClient.addQueueMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), this.logger.verbose("acquireTokenByIframe called"), r = this.performanceClient.startMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), V.isEmpty(t.loginHint) && V.isEmpty(t.sid) && (!t.account || V.isEmpty(t.account.username)) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."), t.prompt && t.prompt !== Xe.NONE && t.prompt !== Xe.NO_SESSION)
|
|
13073
13076
|
throw r.endMeasurement({
|
|
13074
13077
|
success: !1
|
|
13075
13078
|
}), F.createSilentPromptValueError(t.prompt);
|
|
13076
|
-
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(J(J({}, t), { prompt: t.prompt ||
|
|
13079
|
+
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(J(J({}, t), { prompt: t.prompt || Xe.NONE }), W.Silent)];
|
|
13077
13080
|
case 1:
|
|
13078
13081
|
o = u.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || w.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
|
|
13079
13082
|
case 2:
|
|
@@ -13121,7 +13124,7 @@ var fs = (
|
|
|
13121
13124
|
if (u = E.sent(), p = ue.getDeserializedHash(u), l = this.validateAndExtractStateFromHash(p, W.Silent, o.correlationId), p.accountId) {
|
|
13122
13125
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
13123
13126
|
throw F.createNativeConnectionNotEstablishedError();
|
|
13124
|
-
return m = new
|
|
13127
|
+
return m = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), f = tn.parseRequestState(this.browserCrypto, l).userRequestState, [2, m.acquireToken(J(J({}, r), { state: f, prompt: r.prompt || Xe.NONE })).finally(function() {
|
|
13125
13128
|
k.browserStorage.cleanRequestByState(l);
|
|
13126
13129
|
})];
|
|
13127
13130
|
}
|
|
@@ -13224,7 +13227,7 @@ var ms = (
|
|
|
13224
13227
|
var r = JSON.parse(t);
|
|
13225
13228
|
if (typeof r != "object" || !Ve.isAccountEntity(r))
|
|
13226
13229
|
return;
|
|
13227
|
-
var o =
|
|
13230
|
+
var o = it.toObject(new Ve(), r), i = o.getAccountInfo();
|
|
13228
13231
|
!e.oldValue && e.newValue ? (this.logger.info("Account was added to cache in a different window"), this.emitEvent(ne.ACCOUNT_ADDED, void 0, i)) : !e.newValue && e.oldValue && (this.logger.info("Account was removed from cache in a different window"), this.emitEvent(ne.ACCOUNT_REMOVED, void 0, i));
|
|
13229
13232
|
} catch {
|
|
13230
13233
|
return;
|
|
@@ -13834,7 +13837,7 @@ var Ko = (
|
|
|
13834
13837
|
this.inMemoryCache = new eo(), this.indexedDBCache = new Ss(), this.logger = e, this.storeName = t;
|
|
13835
13838
|
}
|
|
13836
13839
|
return n.prototype.handleDatabaseAccessError = function(e) {
|
|
13837
|
-
if (e instanceof F && e.errorCode ===
|
|
13840
|
+
if (e instanceof F && e.errorCode === U.databaseUnavailable.code)
|
|
13838
13841
|
this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");
|
|
13839
13842
|
else
|
|
13840
13843
|
throw e;
|
|
@@ -14423,7 +14426,7 @@ var Os = (
|
|
|
14423
14426
|
return O(this, void 0, void 0, function() {
|
|
14424
14427
|
var t, r, o, i, a, s, u, p, l = this;
|
|
14425
14428
|
return L(this, function(m) {
|
|
14426
|
-
return this.logger.verbose("handleRedirectPromise called"),
|
|
14429
|
+
return this.logger.verbose("handleRedirectPromise called"), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || w.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(ne.HANDLE_REDIRECT_START, W.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && Tn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), u = this.browserStorage.getTemporaryCache(de.CORRELATION_ID, !0) || w.EMPTY_STRING, p = this.createRedirectClient(u), a = p.handleRedirectPromise(e)), o = a.then(function(f) {
|
|
14427
14430
|
if (f) {
|
|
14428
14431
|
var k = t.length < l.getAllAccounts().length;
|
|
14429
14432
|
k ? (l.eventHandler.emitEvent(ne.LOGIN_SUCCESS, W.Redirect, f), l.logger.verbose("handleRedirectResponse returned result, login success")) : (l.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS, W.Redirect, f), l.logger.verbose("handleRedirectResponse returned result, acquire token success"));
|
|
@@ -14438,7 +14441,7 @@ var Os = (
|
|
|
14438
14441
|
return O(this, void 0, void 0, function() {
|
|
14439
14442
|
var t, r, o, i, a, s = this;
|
|
14440
14443
|
return L(this, function(u) {
|
|
14441
|
-
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(W.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, W.Redirect, e) : this.eventHandler.emitEvent(ne.LOGIN_START, W.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new
|
|
14444
|
+
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(W.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, W.Redirect, e) : this.eventHandler.emitEvent(ne.LOGIN_START, W.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), o = i.acquireTokenRedirect(e).catch(function(p) {
|
|
14442
14445
|
if (p instanceof Vt && p.isFatal()) {
|
|
14443
14446
|
s.nativeExtensionProvider = void 0;
|
|
14444
14447
|
var l = s.createRedirectClient(e.correlationId);
|
|
@@ -14630,9 +14633,9 @@ var Os = (
|
|
|
14630
14633
|
return O(this, void 0, void 0, function() {
|
|
14631
14634
|
return L(this, function(o) {
|
|
14632
14635
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenFromCache, t.correlationId), r.cacheLookupPolicy) {
|
|
14633
|
-
case
|
|
14634
|
-
case
|
|
14635
|
-
case
|
|
14636
|
+
case at.Default:
|
|
14637
|
+
case at.AccessToken:
|
|
14638
|
+
case at.AccessTokenAndRefreshToken:
|
|
14636
14639
|
return [2, e.acquireToken(t)];
|
|
14637
14640
|
default:
|
|
14638
14641
|
throw Q.createRefreshRequiredError();
|
|
@@ -14648,10 +14651,10 @@ var Os = (
|
|
|
14648
14651
|
var r;
|
|
14649
14652
|
return L(this, function(o) {
|
|
14650
14653
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenByRefreshToken, e.correlationId), t.cacheLookupPolicy) {
|
|
14651
|
-
case
|
|
14652
|
-
case
|
|
14653
|
-
case
|
|
14654
|
-
case
|
|
14654
|
+
case at.Default:
|
|
14655
|
+
case at.AccessTokenAndRefreshToken:
|
|
14656
|
+
case at.RefreshToken:
|
|
14657
|
+
case at.RefreshTokenAndNetwork:
|
|
14655
14658
|
return r = this.createSilentRefreshClient(e.correlationId), this.performanceClient.setPreQueueTime(A.SilentRefreshClientAcquireToken, e.correlationId), [2, r.acquireToken(e)];
|
|
14656
14659
|
default:
|
|
14657
14660
|
throw Q.createRefreshRequiredError();
|
|
@@ -14714,18 +14717,18 @@ var Os = (
|
|
|
14714
14717
|
}, n.prototype.getActiveAccount = function() {
|
|
14715
14718
|
return this.browserStorage.getActiveAccount();
|
|
14716
14719
|
}, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
|
|
14717
|
-
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"),
|
|
14720
|
+
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), Ae.blockNonBrowserEnvironment(this.isBrowserEnvironment), Ae.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), Ae.blockReloadInHiddenIframes(), Ae.blockAcquireTokenInPopups(), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === W.Redirect && this.config.cache.cacheLocation === Le.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
|
|
14718
14721
|
throw Tr.createInMemoryRedirectUnavailableError();
|
|
14719
14722
|
(e === W.Redirect || e === W.Popup) && this.preflightInteractiveRequest(t);
|
|
14720
14723
|
}, n.prototype.preflightInteractiveRequest = function(e) {
|
|
14721
|
-
this.logger.verbose("preflightInteractiveRequest called, validating app environment"),
|
|
14724
|
+
this.logger.verbose("preflightInteractiveRequest called, validating app environment"), Ae.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
|
|
14722
14725
|
}, n.prototype.acquireTokenNative = function(e, t, r) {
|
|
14723
14726
|
return O(this, void 0, void 0, function() {
|
|
14724
14727
|
var o;
|
|
14725
14728
|
return L(this, function(i) {
|
|
14726
14729
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
|
14727
14730
|
throw F.createNativeConnectionNotEstablishedError();
|
|
14728
|
-
return o = new
|
|
14731
|
+
return o = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, t, this.performanceClient, this.nativeExtensionProvider, r || this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), [2, o.acquireToken(e)];
|
|
14729
14732
|
});
|
|
14730
14733
|
});
|
|
14731
14734
|
}, n.prototype.canUseNative = function(e, t) {
|
|
@@ -14733,9 +14736,9 @@ var Os = (
|
|
|
14733
14736
|
return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"), !1;
|
|
14734
14737
|
if (e.prompt)
|
|
14735
14738
|
switch (e.prompt) {
|
|
14736
|
-
case
|
|
14737
|
-
case
|
|
14738
|
-
case
|
|
14739
|
+
case Xe.NONE:
|
|
14740
|
+
case Xe.CONSENT:
|
|
14741
|
+
case Xe.LOGIN:
|
|
14739
14742
|
this.logger.trace("canUseNative: prompt is compatible with native flow");
|
|
14740
14743
|
break;
|
|
14741
14744
|
default:
|
|
@@ -14872,13 +14875,13 @@ var Ls = (
|
|
|
14872
14875
|
case 2:
|
|
14873
14876
|
u = m.sent(), p = J(J({}, t), {
|
|
14874
14877
|
// set the request's CacheLookupPolicy to Default if it was not optionally passed in
|
|
14875
|
-
cacheLookupPolicy: t.cacheLookupPolicy ||
|
|
14878
|
+
cacheLookupPolicy: t.cacheLookupPolicy || at.Default
|
|
14876
14879
|
}), this.performanceClient.setPreQueueTime(A.AcquireTokenFromCache, u.correlationId), i = this.acquireTokenFromCache(s, u, p).catch(function(f) {
|
|
14877
|
-
if (p.cacheLookupPolicy ===
|
|
14880
|
+
if (p.cacheLookupPolicy === at.AccessToken)
|
|
14878
14881
|
throw f;
|
|
14879
|
-
return
|
|
14882
|
+
return Ae.blockReloadInHiddenIframes(), l.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START, W.Silent, u), l.performanceClient.setPreQueueTime(A.AcquireTokenByRefreshToken, u.correlationId), l.acquireTokenByRefreshToken(u, p).catch(function(k) {
|
|
14880
14883
|
var E = k instanceof Sn, R = k instanceof Mt, q = k.errorCode === On.noTokensFoundError.code, K = k.errorCode === Pt.INVALID_GRANT_ERROR;
|
|
14881
|
-
if ((!E || !K || R || p.cacheLookupPolicy ===
|
|
14884
|
+
if ((!E || !K || R || p.cacheLookupPolicy === at.AccessTokenAndRefreshToken || p.cacheLookupPolicy === at.RefreshToken) && p.cacheLookupPolicy !== at.Skip && !q)
|
|
14882
14885
|
throw k;
|
|
14883
14886
|
return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), l.performanceClient.setPreQueueTime(A.AcquireTokenBySilentIframe, u.correlationId), l.acquireTokenBySilentIframe(u);
|
|
14884
14887
|
});
|
|
@@ -14958,7 +14961,7 @@ class zs extends Bi {
|
|
|
14958
14961
|
return { accessToken: r, idToken: o, scopes: t };
|
|
14959
14962
|
}
|
|
14960
14963
|
}
|
|
14961
|
-
const
|
|
14964
|
+
const xs = Ir("MsAuthPlugin", {
|
|
14962
14965
|
web: () => new zs()
|
|
14963
14966
|
}), Pr = {
|
|
14964
14967
|
data() {
|
|
@@ -14977,7 +14980,7 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
14977
14980
|
var o;
|
|
14978
14981
|
n === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0;
|
|
14979
14982
|
const [t, r] = await ve(
|
|
14980
|
-
|
|
14983
|
+
xs.login({
|
|
14981
14984
|
clientId: n === "sso" ? e.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
14982
14985
|
tenant: n === "sso" ? e.tenant : "consumers",
|
|
14983
14986
|
scopes: ["User.Read"],
|
|
@@ -14991,7 +14994,7 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
14991
14994
|
return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
|
|
14992
14995
|
if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
|
|
14993
14996
|
const [i, a] = await ve(
|
|
14994
|
-
|
|
14997
|
+
tt.microsoftSDK(r, this.$storex)
|
|
14995
14998
|
);
|
|
14996
14999
|
if (i)
|
|
14997
15000
|
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, Y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
|
|
@@ -15024,7 +15027,49 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15024
15027
|
},
|
|
15025
15028
|
compareLangKeys() {
|
|
15026
15029
|
const n = Object.keys(ei.default.state), e = Object.keys(ti.default.state), t = Object.keys(ni.default.state), r = Object.keys(si.default.state), o = Object.keys(oi.default.state), i = Object.keys(ri.default.state), a = Object.keys(ii.default.state), s = Object.keys(ai.default.state);
|
|
15027
|
-
console.log(
|
|
15030
|
+
console.log(
|
|
15031
|
+
"In en but not in de",
|
|
15032
|
+
n.filter((u) => !e.includes(u))
|
|
15033
|
+
), console.log(
|
|
15034
|
+
"In de but not in en",
|
|
15035
|
+
e.filter((u) => !n.includes(u))
|
|
15036
|
+
), console.log(), console.log(
|
|
15037
|
+
"In en but not in es",
|
|
15038
|
+
n.filter((u) => !t.includes(u))
|
|
15039
|
+
), console.log(
|
|
15040
|
+
"In es but not in en",
|
|
15041
|
+
t.filter((u) => !n.includes(u))
|
|
15042
|
+
), console.log(), console.log(
|
|
15043
|
+
"In en but not in kr",
|
|
15044
|
+
n.filter((u) => !r.includes(u))
|
|
15045
|
+
), console.log(
|
|
15046
|
+
"In kr but not in en",
|
|
15047
|
+
r.filter((u) => !n.includes(u))
|
|
15048
|
+
), console.log(), console.log(
|
|
15049
|
+
"In en but not in it",
|
|
15050
|
+
n.filter((u) => !o.includes(u))
|
|
15051
|
+
), console.log(
|
|
15052
|
+
"In it but not in en",
|
|
15053
|
+
o.filter((u) => !n.includes(u))
|
|
15054
|
+
), console.log(), console.log(
|
|
15055
|
+
"In en but not in fr",
|
|
15056
|
+
n.filter((u) => !i.includes(u))
|
|
15057
|
+
), console.log(
|
|
15058
|
+
"In fr but not in en",
|
|
15059
|
+
i.filter((u) => !n.includes(u))
|
|
15060
|
+
), console.log(), console.log(
|
|
15061
|
+
"In en but not in sr",
|
|
15062
|
+
n.filter((u) => !a.includes(u))
|
|
15063
|
+
), console.log(
|
|
15064
|
+
"In sr but not in en",
|
|
15065
|
+
a.filter((u) => !n.includes(u))
|
|
15066
|
+
), console.log(), console.log(
|
|
15067
|
+
"In en but not in tr",
|
|
15068
|
+
n.filter((u) => !s.includes(u))
|
|
15069
|
+
), console.log(
|
|
15070
|
+
"In tr but not in en",
|
|
15071
|
+
s.filter((u) => !n.includes(u))
|
|
15072
|
+
), console.log();
|
|
15028
15073
|
},
|
|
15029
15074
|
base64ImageToBlob(n) {
|
|
15030
15075
|
const e = n.split(";base64,"), t = e[0].split(":")[1], r = window.atob(e[1]), o = new Uint8Array(r.length);
|
|
@@ -15117,7 +15162,7 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15117
15162
|
if (e) return this.errorHandler(e);
|
|
15118
15163
|
localStorage.removeItem("pkce_code_verifier");
|
|
15119
15164
|
let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
|
|
15120
|
-
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await ve(
|
|
15165
|
+
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await ve(tt.oktaSDK(r, this.$storex)), e)
|
|
15121
15166
|
return this.oktaLoad = !1, Y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
15122
15167
|
if (t.data.success) {
|
|
15123
15168
|
if (this.display === "popup")
|
|
@@ -15196,7 +15241,7 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15196
15241
|
}
|
|
15197
15242
|
}
|
|
15198
15243
|
}
|
|
15199
|
-
},
|
|
15244
|
+
}, Us = {
|
|
15200
15245
|
data() {
|
|
15201
15246
|
return {
|
|
15202
15247
|
isQrCodeLogin: !1,
|
|
@@ -15263,9 +15308,14 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15263
15308
|
},
|
|
15264
15309
|
async startQrCodePooling() {
|
|
15265
15310
|
this.poolingInterval = setInterval(async () => {
|
|
15266
|
-
const [n, e] = await ve(
|
|
15267
|
-
|
|
15268
|
-
|
|
15311
|
+
const [n, e] = await ve(
|
|
15312
|
+
Gr.qrCodePooling(
|
|
15313
|
+
{
|
|
15314
|
+
qrToken: this.qrCodeHash
|
|
15315
|
+
},
|
|
15316
|
+
this.$storex
|
|
15317
|
+
)
|
|
15318
|
+
);
|
|
15269
15319
|
if (n) return this.errorHandler(n);
|
|
15270
15320
|
e.data.auth_code && (this.display !== "popup" && (this.loginSetup({ ...e, isModal: this.isModal }), await this.getLoggedInAccounts()), this.loginSuccess({ ...e, isModal: this.isModal }), clearInterval(this.poolingInterval), clearInterval(this.qrCodeRefreshInterval));
|
|
15271
15321
|
}, 2e3);
|
|
@@ -15278,7 +15328,7 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15278
15328
|
}
|
|
15279
15329
|
}, Bs = {
|
|
15280
15330
|
name: "AuthLogin",
|
|
15281
|
-
mixins: [ci, li, Pr, Mr, Nr, ct,
|
|
15331
|
+
mixins: [ci, li, Pr, Mr, Nr, ct, Us],
|
|
15282
15332
|
data() {
|
|
15283
15333
|
return {
|
|
15284
15334
|
loading: !0,
|
|
@@ -15405,13 +15455,13 @@ const Us = Ir("MsAuthPlugin", {
|
|
|
15405
15455
|
}, fc = { class: "forgot center-text pointer small-top" };
|
|
15406
15456
|
function gc(n, e, t, r, o, i) {
|
|
15407
15457
|
const a = fn("router-link");
|
|
15408
|
-
return N(),
|
|
15458
|
+
return N(), x("form", {
|
|
15409
15459
|
class: "page-login content-boxed content-boxed-padding",
|
|
15410
15460
|
onSubmit: e[15] || (e[15] = je((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
15411
15461
|
autocomplete: "on",
|
|
15412
15462
|
style: zn(n.isModal ? "max-width: 500px;" : "")
|
|
15413
15463
|
}, [
|
|
15414
|
-
n.isModal ? (N(),
|
|
15464
|
+
n.isModal ? (N(), x("a", {
|
|
15415
15465
|
key: 0,
|
|
15416
15466
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
15417
15467
|
class: "color-black pull-right pointer",
|
|
@@ -15426,10 +15476,10 @@ function gc(n, e, t, r, o, i) {
|
|
|
15426
15476
|
], -1)
|
|
15427
15477
|
]))) : ce("", !0),
|
|
15428
15478
|
_("h2", Ds, [
|
|
15429
|
-
o.isSSOLogin ? (N(),
|
|
15479
|
+
o.isSSOLogin ? (N(), x("span", Hs, D(this.ssoLang[this.appLanguage].enter_company_email), 1)) : (N(), x("span", js, D(this.ssoLang[this.appLanguage].login), 1))
|
|
15430
15480
|
]),
|
|
15431
15481
|
e[34] || (e[34] = _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)),
|
|
15432
|
-
i.displayFormLogin ? (N(),
|
|
15482
|
+
i.displayFormLogin ? (N(), x("span", qs, [
|
|
15433
15483
|
_("div", Fs, [
|
|
15434
15484
|
e[17] || (e[17] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15435
15485
|
_("img", {
|
|
@@ -15454,7 +15504,7 @@ function gc(n, e, t, r, o, i) {
|
|
|
15454
15504
|
]),
|
|
15455
15505
|
e[18] || (e[18] = _("em", null, null, -1))
|
|
15456
15506
|
]),
|
|
15457
|
-
o.isSSOLogin ? ce("", !0) : (N(),
|
|
15507
|
+
o.isSSOLogin ? ce("", !0) : (N(), x("div", Gs, [
|
|
15458
15508
|
e[19] || (e[19] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15459
15509
|
_("img", {
|
|
15460
15510
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -15484,7 +15534,7 @@ function gc(n, e, t, r, o, i) {
|
|
|
15484
15534
|
])
|
|
15485
15535
|
])
|
|
15486
15536
|
])),
|
|
15487
|
-
o.showOTP ? (N(),
|
|
15537
|
+
o.showOTP ? (N(), x("div", Ws, [
|
|
15488
15538
|
e[20] || (e[20] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15489
15539
|
_("img", {
|
|
15490
15540
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -15505,12 +15555,12 @@ function gc(n, e, t, r, o, i) {
|
|
|
15505
15555
|
e[21] || (e[21] = _("em", null, null, -1))
|
|
15506
15556
|
])) : ce("", !0),
|
|
15507
15557
|
_("button", $s, [
|
|
15508
|
-
o.submitted ? (N(),
|
|
15558
|
+
o.submitted ? (N(), x("span", Zs)) : (N(), x("span", Xs, D(n.ssoLang[n.appLanguage].login), 1))
|
|
15509
15559
|
])
|
|
15510
15560
|
])) : ce("", !0),
|
|
15511
15561
|
e[35] || (e[35] = _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1)),
|
|
15512
15562
|
me(_("span", null, [
|
|
15513
|
-
n.displayAppleLogin ? (N(),
|
|
15563
|
+
n.displayAppleLogin ? (N(), x("a", {
|
|
15514
15564
|
key: 0,
|
|
15515
15565
|
onClick: e[6] || (e[6] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
15516
15566
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15519,9 +15569,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15519
15569
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
15520
15570
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
15521
15571
|
}, null, -1)),
|
|
15522
|
-
n.appleLoad ? (N(),
|
|
15572
|
+
n.appleLoad ? (N(), x("span", tc)) : (N(), x("span", ec, D(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
|
|
15523
15573
|
])) : ce("", !0),
|
|
15524
|
-
n.displayGoogleLogin ? (N(),
|
|
15574
|
+
n.displayGoogleLogin ? (N(), x("a", {
|
|
15525
15575
|
key: 1,
|
|
15526
15576
|
onClick: e[7] || (e[7] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
15527
15577
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15530,9 +15580,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15530
15580
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
15531
15581
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
15532
15582
|
}, null, -1)),
|
|
15533
|
-
n.googleLoad ? (N(),
|
|
15583
|
+
n.googleLoad ? (N(), x("span", rc)) : (N(), x("span", nc, D(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
|
|
15534
15584
|
])) : ce("", !0),
|
|
15535
|
-
n.displayMicrosoftSSOLogin ? ce("", !0) : (N(),
|
|
15585
|
+
n.displayMicrosoftSSOLogin ? ce("", !0) : (N(), x("a", {
|
|
15536
15586
|
key: 2,
|
|
15537
15587
|
onClick: e[8] || (e[8] = (...s) => n.microsoftLogin && n.microsoftLogin(...s)),
|
|
15538
15588
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15541,9 +15591,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15541
15591
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
15542
15592
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
15543
15593
|
}, null, -1)),
|
|
15544
|
-
n.microsoftLoad ? (N(),
|
|
15594
|
+
n.microsoftLoad ? (N(), x("span", ic)) : (N(), x("span", oc, D(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
|
|
15545
15595
|
])),
|
|
15546
|
-
n.displayMicrosoftSSOLogin ? ce("", !0) : (N(),
|
|
15596
|
+
n.displayMicrosoftSSOLogin ? ce("", !0) : (N(), x("a", {
|
|
15547
15597
|
key: 3,
|
|
15548
15598
|
onClick: e[9] || (e[9] = (s) => o.isSSOLogin = !0),
|
|
15549
15599
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15552,9 +15602,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15552
15602
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
15553
15603
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
15554
15604
|
}, null, -1)),
|
|
15555
|
-
n.microsoftSSOLoad ? (N(),
|
|
15605
|
+
n.microsoftSSOLoad ? (N(), x("span", sc)) : (N(), x("span", ac, D(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1))
|
|
15556
15606
|
])),
|
|
15557
|
-
n.displayMicrosoftSSOLogin ? (N(),
|
|
15607
|
+
n.displayMicrosoftSSOLogin ? (N(), x("a", {
|
|
15558
15608
|
key: 4,
|
|
15559
15609
|
onClick: e[10] || (e[10] = (s) => n.microsoftLogin("sso")),
|
|
15560
15610
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15563,9 +15613,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15563
15613
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
15564
15614
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
15565
15615
|
}, null, -1)),
|
|
15566
|
-
n.microsoftSSOLoad ? (N(),
|
|
15616
|
+
n.microsoftSSOLoad ? (N(), x("span", cc, D(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (N(), x("span", lc))
|
|
15567
15617
|
])) : ce("", !0),
|
|
15568
|
-
i.displayFormLogin ? ce("", !0) : (N(),
|
|
15618
|
+
i.displayFormLogin ? ce("", !0) : (N(), x("a", {
|
|
15569
15619
|
key: 5,
|
|
15570
15620
|
onClick: e[11] || (e[11] = (s) => o.emailLogin = !0),
|
|
15571
15621
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15574,9 +15624,9 @@ function gc(n, e, t, r, o, i) {
|
|
|
15574
15624
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
15575
15625
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
15576
15626
|
}, null, -1)),
|
|
15577
|
-
_("span", null,
|
|
15627
|
+
_("span", null, D(n.ssoLang[n.appLanguage].sign_in_with) + " Email", 1)
|
|
15578
15628
|
])),
|
|
15579
|
-
n.displayQRLogin ? (N(),
|
|
15629
|
+
n.displayQRLogin ? (N(), x("a", {
|
|
15580
15630
|
key: 6,
|
|
15581
15631
|
onClick: e[12] || (e[12] = (s) => n.$router.push("/qr")),
|
|
15582
15632
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -15585,57 +15635,57 @@ function gc(n, e, t, r, o, i) {
|
|
|
15585
15635
|
src: "https://cdn.tapni.co/icons/qr.png",
|
|
15586
15636
|
style: { position: "absolute", "margin-left": "-5px", padding: "15px 0", height: "100%" }
|
|
15587
15637
|
}, null, -1)),
|
|
15588
|
-
_("span", null,
|
|
15638
|
+
_("span", null, D(n.ssoLang[n.appLanguage].sign_in_with) + " QR", 1)
|
|
15589
15639
|
])) : ce("", !0),
|
|
15590
15640
|
e[29] || (e[29] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1))
|
|
15591
15641
|
], 512), [
|
|
15592
15642
|
[Ct, !o.isSSOLogin]
|
|
15593
15643
|
]),
|
|
15594
15644
|
_("p", uc, [
|
|
15595
|
-
Se(
|
|
15645
|
+
Se(D(n.ssoLang[n.appLanguage].terms_by_signing_in) + " ", 1),
|
|
15596
15646
|
e[30] || (e[30] = _("br", null, null, -1)),
|
|
15597
|
-
_("a", dc,
|
|
15598
|
-
Se(" " +
|
|
15599
|
-
_("a", pc,
|
|
15647
|
+
_("a", dc, D(n.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
15648
|
+
Se(" " + D(n.ssoLang[n.appLanguage].and) + " ", 1),
|
|
15649
|
+
_("a", pc, D(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
15600
15650
|
]),
|
|
15601
15651
|
e[36] || (e[36] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)),
|
|
15602
|
-
n.isModal ? (N(),
|
|
15652
|
+
n.isModal ? (N(), x("div", {
|
|
15603
15653
|
key: 3,
|
|
15604
15654
|
class: "page-login-links",
|
|
15605
15655
|
onClick: e[14] || (e[14] = (...s) => i.createAccountModal && i.createAccountModal(...s))
|
|
15606
15656
|
}, [
|
|
15607
15657
|
_("a", fc, [
|
|
15608
|
-
Se(
|
|
15658
|
+
Se(D(n.ssoLang[n.appLanguage].or) + " ", 1),
|
|
15609
15659
|
e[32] || (e[32] = _("br", null, null, -1)),
|
|
15610
|
-
Se(" " +
|
|
15660
|
+
Se(" " + D(n.ssoLang[n.appLanguage].create_new_account), 1)
|
|
15611
15661
|
]),
|
|
15612
15662
|
e[33] || (e[33] = _("div", { class: "clear" }, null, -1))
|
|
15613
|
-
])) : (N(),
|
|
15614
|
-
i.displayRegisterLogin ? (N(),
|
|
15663
|
+
])) : (N(), x("div", hc, [
|
|
15664
|
+
i.displayRegisterLogin ? (N(), et(a, {
|
|
15615
15665
|
key: 0,
|
|
15616
15666
|
class: "forgot float-right",
|
|
15617
15667
|
to: "/register"
|
|
15618
15668
|
}, {
|
|
15619
|
-
default:
|
|
15620
|
-
Se(
|
|
15669
|
+
default: st(() => [
|
|
15670
|
+
Se(D(n.ssoLang[n.appLanguage].create_account), 1)
|
|
15621
15671
|
]),
|
|
15622
15672
|
_: 1
|
|
15623
15673
|
})) : ce("", !0),
|
|
15624
|
-
i.displayResetPasswordLogin ? (N(),
|
|
15674
|
+
i.displayResetPasswordLogin ? (N(), et(a, {
|
|
15625
15675
|
key: 1,
|
|
15626
15676
|
class: "create float-left",
|
|
15627
15677
|
to: "/reset"
|
|
15628
15678
|
}, {
|
|
15629
|
-
default:
|
|
15630
|
-
Se(
|
|
15679
|
+
default: st(() => [
|
|
15680
|
+
Se(D(n.ssoLang[n.appLanguage].reset_password), 1)
|
|
15631
15681
|
]),
|
|
15632
15682
|
_: 1
|
|
15633
15683
|
})) : ce("", !0),
|
|
15634
|
-
o.isSSOLogin ? (N(),
|
|
15684
|
+
o.isSSOLogin ? (N(), x("a", {
|
|
15635
15685
|
key: 2,
|
|
15636
15686
|
onClick: e[13] || (e[13] = (s) => o.isSSOLogin = !1),
|
|
15637
15687
|
class: "create float-left pointer"
|
|
15638
|
-
},
|
|
15688
|
+
}, D(n.ssoLang[n.appLanguage].go_back), 1)) : ce("", !0),
|
|
15639
15689
|
e[31] || (e[31] = _("div", { class: "clear" }, null, -1))
|
|
15640
15690
|
]))
|
|
15641
15691
|
], 36);
|
|
@@ -15685,31 +15735,31 @@ const go = /* @__PURE__ */ _t(Bs, [["render", gc]]), mc = /* @__PURE__ */ Object
|
|
|
15685
15735
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
15686
15736
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
15687
15737
|
}, yc = { class: "bold full-top no-bottom center-text" }, wc = { class: "full-bottom half-top center-text font-16" };
|
|
15688
|
-
const bc = { class: "container left-text" }, kc = { class: "firstRow" }, Cc = ["src"], Ec = ["src"], Tc = { class: "firstRow" }, Sc = ["src"], Ic = ["src"], Ac = { class: "firstRow" }, Rc = ["src"], Pc =
|
|
15738
|
+
const bc = { class: "container left-text" }, kc = { class: "firstRow" }, Cc = ["src"], Ec = ["src"], Tc = { class: "firstRow" }, Sc = ["src"], Ic = ["src"], Ac = { class: "firstRow" }, Rc = ["src"], Pc = { class: "red-text" }, Mc = ["src"], Nc = { class: "moreFooter" }, Oc = {
|
|
15689
15739
|
class: "app-version",
|
|
15690
15740
|
style: { "margin-top": "10px" }
|
|
15691
15741
|
};
|
|
15692
|
-
function
|
|
15742
|
+
function Lc(n, e, t, r, o, i) {
|
|
15693
15743
|
const a = fn("router-link");
|
|
15694
|
-
return N(),
|
|
15744
|
+
return N(), x("div", vc, [
|
|
15695
15745
|
e[9] || (e[9] = _("br", null, null, -1)),
|
|
15696
15746
|
ce("", !0),
|
|
15697
|
-
_("h1", yc,
|
|
15698
|
-
_("p", wc,
|
|
15747
|
+
_("h1", yc, D(n.ssoLang[n.appLanguage].welcome_account), 1),
|
|
15748
|
+
_("p", wc, D(n.account.email), 1),
|
|
15699
15749
|
(n.display, ce("", !0)),
|
|
15700
15750
|
_("div", bc, [
|
|
15701
15751
|
ce("", !0),
|
|
15702
|
-
|
|
15752
|
+
Me(a, {
|
|
15703
15753
|
to: "/general",
|
|
15704
15754
|
class: "settingRow"
|
|
15705
15755
|
}, {
|
|
15706
|
-
default:
|
|
15756
|
+
default: st(() => [
|
|
15707
15757
|
_("div", kc, [
|
|
15708
15758
|
_("img", {
|
|
15709
15759
|
src: n.getIcon("user-black.svg"),
|
|
15710
15760
|
class: "withBackground"
|
|
15711
15761
|
}, null, 8, Cc),
|
|
15712
|
-
_("h4", null,
|
|
15762
|
+
_("h4", null, D(n.ssoLang[n.appLanguage].general), 1),
|
|
15713
15763
|
_("img", {
|
|
15714
15764
|
src: n.getIcon("arrow-gray-right.svg")
|
|
15715
15765
|
}, null, 8, Ec)
|
|
@@ -15717,17 +15767,17 @@ function Hc(n, e, t, r, o, i) {
|
|
|
15717
15767
|
]),
|
|
15718
15768
|
_: 1
|
|
15719
15769
|
}),
|
|
15720
|
-
|
|
15770
|
+
Me(a, {
|
|
15721
15771
|
to: "/security",
|
|
15722
15772
|
class: "settingRow"
|
|
15723
15773
|
}, {
|
|
15724
|
-
default:
|
|
15774
|
+
default: st(() => [
|
|
15725
15775
|
_("div", Tc, [
|
|
15726
15776
|
_("img", {
|
|
15727
15777
|
src: n.getIcon("shield-black.svg"),
|
|
15728
15778
|
class: "withBackground"
|
|
15729
15779
|
}, null, 8, Sc),
|
|
15730
|
-
_("h4", null,
|
|
15780
|
+
_("h4", null, D(n.ssoLang[n.appLanguage].security), 1),
|
|
15731
15781
|
_("img", {
|
|
15732
15782
|
src: n.getIcon("arrow-gray-right.svg")
|
|
15733
15783
|
}, null, 8, Ic)
|
|
@@ -15735,68 +15785,34 @@ function Hc(n, e, t, r, o, i) {
|
|
|
15735
15785
|
]),
|
|
15736
15786
|
_: 1
|
|
15737
15787
|
}),
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
class: "settingRow"
|
|
15741
|
-
}, {
|
|
15742
|
-
default: Xe(() => [
|
|
15743
|
-
_("div", Ac, [
|
|
15744
|
-
_("img", {
|
|
15745
|
-
src: n.getIcon("apps-black.svg"),
|
|
15746
|
-
class: "withBackground"
|
|
15747
|
-
}, null, 8, Rc),
|
|
15748
|
-
_("h4", null, x(n.ssoLang[n.appLanguage].apps), 1),
|
|
15749
|
-
_("img", {
|
|
15750
|
-
src: n.getIcon("arrow-gray-right.svg")
|
|
15751
|
-
}, null, 8, Pc)
|
|
15752
|
-
])
|
|
15753
|
-
]),
|
|
15754
|
-
_: 1
|
|
15755
|
-
}),
|
|
15756
|
-
Ie(a, {
|
|
15757
|
-
to: "/billing",
|
|
15758
|
-
class: "settingRow"
|
|
15759
|
-
}, {
|
|
15760
|
-
default: Xe(() => [
|
|
15761
|
-
_("div", Mc, [
|
|
15762
|
-
_("img", {
|
|
15763
|
-
src: n.getIcon("billing-card-black.svg"),
|
|
15764
|
-
class: "withBackground"
|
|
15765
|
-
}, null, 8, Nc),
|
|
15766
|
-
_("h4", null, x(n.ssoLang[n.appLanguage].billing), 1),
|
|
15767
|
-
_("img", {
|
|
15768
|
-
src: n.getIcon("arrow-gray-right.svg")
|
|
15769
|
-
}, null, 8, Oc)
|
|
15770
|
-
])
|
|
15771
|
-
]),
|
|
15772
|
-
_: 1
|
|
15773
|
-
}),
|
|
15788
|
+
ce("", !0),
|
|
15789
|
+
ce("", !0),
|
|
15774
15790
|
_("div", {
|
|
15775
15791
|
class: "settingRow",
|
|
15776
15792
|
onClick: e[4] || (e[4] = (...s) => i.logoutAccount && i.logoutAccount(...s))
|
|
15777
15793
|
}, [
|
|
15778
|
-
_("div",
|
|
15794
|
+
_("div", Ac, [
|
|
15779
15795
|
_("img", {
|
|
15780
15796
|
src: n.getIcon("logout-red.svg"),
|
|
15781
15797
|
class: "withBackground"
|
|
15782
|
-
}, null, 8,
|
|
15783
|
-
_("h4",
|
|
15798
|
+
}, null, 8, Rc),
|
|
15799
|
+
_("h4", Pc, D(n.ssoLang[n.appLanguage].logout), 1),
|
|
15784
15800
|
_("img", {
|
|
15785
15801
|
src: n.getIcon("arrow-gray-right.svg")
|
|
15786
|
-
}, null, 8,
|
|
15802
|
+
}, null, 8, Mc)
|
|
15787
15803
|
])
|
|
15788
15804
|
]),
|
|
15789
|
-
_("div",
|
|
15790
|
-
_("p",
|
|
15805
|
+
_("div", Nc, [
|
|
15806
|
+
_("p", Oc, D(n.ssoLang[n.appLanguage].version) + ": " + D(i.appVersion), 1),
|
|
15791
15807
|
ce("", !0)
|
|
15792
15808
|
])
|
|
15793
15809
|
])
|
|
15794
15810
|
]);
|
|
15795
15811
|
}
|
|
15796
|
-
const mo = /* @__PURE__ */ _t(_c, [["render",
|
|
15812
|
+
const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15797
15813
|
__proto__: null,
|
|
15798
15814
|
default: mo
|
|
15799
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15815
|
+
}, Symbol.toStringTag, { value: "Module" })), xc = {
|
|
15800
15816
|
name: "AuthRegister",
|
|
15801
15817
|
mixins: [ci, li, Pr, ct],
|
|
15802
15818
|
props: {
|
|
@@ -15858,43 +15874,43 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Hc]]), jc = /* @__PURE__ */ Object
|
|
|
15858
15874
|
this.$storex.referral = n;
|
|
15859
15875
|
}
|
|
15860
15876
|
}
|
|
15861
|
-
},
|
|
15877
|
+
}, Uc = {
|
|
15862
15878
|
class: "bold no-bottom center-text",
|
|
15863
15879
|
style: { "margin-top": "63px" }
|
|
15864
|
-
},
|
|
15880
|
+
}, Bc = { class: "half-bottom small-top center-text color-black" }, Dc = { key: 0 }, Hc = { key: 1 }, jc = { class: "page-login-field half-top" }, qc = ["placeholder"], Fc = { class: "page-login-field half-top" }, Kc = ["placeholder", "disabled"], Gc = { class: "page-login-field half-top half-bottom" }, Vc = ["type", "placeholder"], Qc = {
|
|
15865
15881
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
15866
15882
|
class: "responsive-image password-reveal-icon"
|
|
15867
|
-
},
|
|
15883
|
+
}, Yc = {
|
|
15868
15884
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
15869
15885
|
class: "responsive-image password-reveal-icon"
|
|
15870
|
-
},
|
|
15886
|
+
}, Wc = {
|
|
15871
15887
|
type: "submit",
|
|
15872
15888
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
15873
|
-
},
|
|
15889
|
+
}, Jc = { key: 0 }, $c = {
|
|
15874
15890
|
key: 1,
|
|
15875
15891
|
class: "button--loading button__loader"
|
|
15876
|
-
},
|
|
15892
|
+
}, Xc = { key: 0 }, Zc = {
|
|
15877
15893
|
key: 1,
|
|
15878
15894
|
class: "button--loading-black button__loader"
|
|
15879
|
-
},
|
|
15895
|
+
}, el = { key: 0 }, tl = {
|
|
15880
15896
|
key: 1,
|
|
15881
15897
|
class: "button--loading-black button__loader"
|
|
15882
|
-
},
|
|
15898
|
+
}, nl = { class: "close-text center-text half-top color-black" }, rl = {
|
|
15883
15899
|
class: "",
|
|
15884
15900
|
href: "https://tapni.co/policies/terms-of-service"
|
|
15885
|
-
},
|
|
15901
|
+
}, ol = { href: "https://tapni.co/policies/privacy-policy" }, il = {
|
|
15886
15902
|
key: 4,
|
|
15887
15903
|
class: "page-login-links"
|
|
15888
|
-
},
|
|
15889
|
-
function
|
|
15904
|
+
}, al = { class: "forgot center-text pointer small-top" };
|
|
15905
|
+
function sl(n, e, t, r, o, i) {
|
|
15890
15906
|
const a = fn("router-link");
|
|
15891
|
-
return N(),
|
|
15907
|
+
return N(), x("form", {
|
|
15892
15908
|
class: "page-login content-boxed content-boxed-padding",
|
|
15893
15909
|
onSubmit: e[11] || (e[11] = je((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
15894
15910
|
autocomplete: "on",
|
|
15895
15911
|
style: zn(t.isModal ? "max-width: 500px;" : "")
|
|
15896
15912
|
}, [
|
|
15897
|
-
t.isModal ? (N(),
|
|
15913
|
+
t.isModal ? (N(), x("a", {
|
|
15898
15914
|
key: 0,
|
|
15899
15915
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
15900
15916
|
class: "color-black pull-right pointer",
|
|
@@ -15908,15 +15924,15 @@ function hl(n, e, t, r, o, i) {
|
|
|
15908
15924
|
})
|
|
15909
15925
|
], -1)
|
|
15910
15926
|
]))) : ce("", !0),
|
|
15911
|
-
_("h1",
|
|
15912
|
-
_("p",
|
|
15913
|
-
o.usernameRegister ? (N(),
|
|
15914
|
-
Se(" t.link/" +
|
|
15927
|
+
_("h1", Uc, D(n.ssoLang[this.appLanguage].register), 1),
|
|
15928
|
+
_("p", Bc, [
|
|
15929
|
+
o.usernameRegister ? (N(), x("span", Dc, [
|
|
15930
|
+
Se(" t.link/" + D(o.username) + " " + D(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
|
|
15915
15931
|
e[13] || (e[13] = _("br", null, null, -1))
|
|
15916
15932
|
])) : ce("", !0)
|
|
15917
15933
|
]),
|
|
15918
|
-
o.emailLogin ? (N(),
|
|
15919
|
-
_("div",
|
|
15934
|
+
o.emailLogin ? (N(), x("span", Hc, [
|
|
15935
|
+
_("div", jc, [
|
|
15920
15936
|
e[14] || (e[14] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15921
15937
|
_("img", {
|
|
15922
15938
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
@@ -15932,12 +15948,12 @@ function hl(n, e, t, r, o, i) {
|
|
|
15932
15948
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
15933
15949
|
name: "email",
|
|
15934
15950
|
required: ""
|
|
15935
|
-
}, null, 40,
|
|
15951
|
+
}, null, 40, qc), [
|
|
15936
15952
|
[kt, o.email]
|
|
15937
15953
|
]),
|
|
15938
15954
|
e[15] || (e[15] = _("em", null, null, -1))
|
|
15939
15955
|
]),
|
|
15940
|
-
_("div",
|
|
15956
|
+
_("div", Fc, [
|
|
15941
15957
|
e[16] || (e[16] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15942
15958
|
_("img", {
|
|
15943
15959
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
@@ -15958,12 +15974,12 @@ function hl(n, e, t, r, o, i) {
|
|
|
15958
15974
|
required: "",
|
|
15959
15975
|
disabled: o.usernameRegister,
|
|
15960
15976
|
class: He({ "input-disabled": o.usernameRegister })
|
|
15961
|
-
}, null, 42,
|
|
15977
|
+
}, null, 42, Kc), [
|
|
15962
15978
|
[kt, o.username]
|
|
15963
15979
|
]),
|
|
15964
15980
|
e[17] || (e[17] = _("em", null, null, -1))
|
|
15965
15981
|
]),
|
|
15966
|
-
_("div",
|
|
15982
|
+
_("div", Gc, [
|
|
15967
15983
|
e[18] || (e[18] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15968
15984
|
_("img", {
|
|
15969
15985
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -15978,27 +15994,27 @@ function hl(n, e, t, r, o, i) {
|
|
|
15978
15994
|
name: "password",
|
|
15979
15995
|
required: "",
|
|
15980
15996
|
minlength: "8"
|
|
15981
|
-
}, null, 8,
|
|
15997
|
+
}, null, 8, Vc), [
|
|
15982
15998
|
[pr, o.password]
|
|
15983
15999
|
]),
|
|
15984
16000
|
_("em", {
|
|
15985
16001
|
onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
|
|
15986
16002
|
class: "pointer"
|
|
15987
16003
|
}, [
|
|
15988
|
-
me(_("img",
|
|
16004
|
+
me(_("img", Qc, null, 512), [
|
|
15989
16005
|
[Ct, !o.revealPassword]
|
|
15990
16006
|
]),
|
|
15991
|
-
me(_("img",
|
|
16007
|
+
me(_("img", Yc, null, 512), [
|
|
15992
16008
|
[Ct, o.revealPassword]
|
|
15993
16009
|
])
|
|
15994
16010
|
])
|
|
15995
16011
|
]),
|
|
15996
|
-
_("button",
|
|
15997
|
-
o.submitted ? (N(),
|
|
16012
|
+
_("button", Wc, [
|
|
16013
|
+
o.submitted ? (N(), x("span", $c)) : (N(), x("span", Jc, D(o.formButtonText), 1))
|
|
15998
16014
|
])
|
|
15999
16015
|
])) : ce("", !0),
|
|
16000
16016
|
e[26] || (e[26] = _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1)),
|
|
16001
|
-
n.displayAppleLogin ? (N(),
|
|
16017
|
+
n.displayAppleLogin ? (N(), x("a", {
|
|
16002
16018
|
key: 2,
|
|
16003
16019
|
onClick: e[7] || (e[7] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
16004
16020
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -16007,7 +16023,7 @@ function hl(n, e, t, r, o, i) {
|
|
|
16007
16023
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
16008
16024
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
16009
16025
|
}, null, -1)),
|
|
16010
|
-
n.appleLoad ? (N(),
|
|
16026
|
+
n.appleLoad ? (N(), x("span", Zc)) : (N(), x("span", Xc, D(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
|
|
16011
16027
|
])) : ce("", !0),
|
|
16012
16028
|
_("a", {
|
|
16013
16029
|
onClick: e[8] || (e[8] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
@@ -16017,9 +16033,9 @@ function hl(n, e, t, r, o, i) {
|
|
|
16017
16033
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
16018
16034
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
16019
16035
|
}, null, -1)),
|
|
16020
|
-
n.googleLoad ? (N(),
|
|
16036
|
+
n.googleLoad ? (N(), x("span", tl)) : (N(), x("span", el, D(n.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
|
|
16021
16037
|
]),
|
|
16022
|
-
o.emailLogin ? ce("", !0) : (N(),
|
|
16038
|
+
o.emailLogin ? ce("", !0) : (N(), x("a", {
|
|
16023
16039
|
key: 3,
|
|
16024
16040
|
onClick: e[9] || (e[9] = (s) => o.emailLogin = !0),
|
|
16025
16041
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -16028,44 +16044,44 @@ function hl(n, e, t, r, o, i) {
|
|
|
16028
16044
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
16029
16045
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
16030
16046
|
}, null, -1)),
|
|
16031
|
-
_("span", null,
|
|
16047
|
+
_("span", null, D(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
|
|
16032
16048
|
])),
|
|
16033
16049
|
e[27] || (e[27] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)),
|
|
16034
|
-
_("p",
|
|
16035
|
-
Se(
|
|
16050
|
+
_("p", nl, [
|
|
16051
|
+
Se(D(n.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
|
|
16036
16052
|
e[22] || (e[22] = _("br", null, null, -1)),
|
|
16037
|
-
_("a",
|
|
16038
|
-
Se(" " +
|
|
16039
|
-
_("a",
|
|
16053
|
+
_("a", rl, D(n.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
16054
|
+
Se(" " + D(n.ssoLang[this.appLanguage].and) + " ", 1),
|
|
16055
|
+
_("a", ol, D(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
16040
16056
|
]),
|
|
16041
16057
|
e[28] || (e[28] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)),
|
|
16042
|
-
t.isModal ? (N(),
|
|
16058
|
+
t.isModal ? (N(), x("div", {
|
|
16043
16059
|
key: 5,
|
|
16044
16060
|
class: "page-login-links",
|
|
16045
16061
|
onClick: e[10] || (e[10] = (...s) => i.loginAccountModal && i.loginAccountModal(...s))
|
|
16046
16062
|
}, [
|
|
16047
|
-
_("a",
|
|
16048
|
-
Se(
|
|
16063
|
+
_("a", al, [
|
|
16064
|
+
Se(D(n.ssoLang[this.appLanguage].or) + " ", 1),
|
|
16049
16065
|
e[24] || (e[24] = _("br", null, null, -1)),
|
|
16050
|
-
Se(" " +
|
|
16066
|
+
Se(" " + D(n.ssoLang[this.appLanguage].sign_in_with_new), 1)
|
|
16051
16067
|
]),
|
|
16052
16068
|
e[25] || (e[25] = _("div", { class: "clear" }, null, -1))
|
|
16053
|
-
])) : (N(),
|
|
16054
|
-
|
|
16069
|
+
])) : (N(), x("div", il, [
|
|
16070
|
+
Me(a, {
|
|
16055
16071
|
class: "create float-right",
|
|
16056
16072
|
to: "/verify"
|
|
16057
16073
|
}, {
|
|
16058
|
-
default:
|
|
16059
|
-
Se(
|
|
16074
|
+
default: st(() => [
|
|
16075
|
+
Se(D(n.ssoLang[this.appLanguage].verify_account), 1)
|
|
16060
16076
|
]),
|
|
16061
16077
|
_: 1
|
|
16062
16078
|
}),
|
|
16063
|
-
|
|
16079
|
+
Me(a, {
|
|
16064
16080
|
class: "forgot float-left",
|
|
16065
16081
|
to: "/login"
|
|
16066
16082
|
}, {
|
|
16067
|
-
default:
|
|
16068
|
-
Se(
|
|
16083
|
+
default: st(() => [
|
|
16084
|
+
Se(D(n.ssoLang[this.appLanguage].sign_in), 1)
|
|
16069
16085
|
]),
|
|
16070
16086
|
_: 1
|
|
16071
16087
|
}),
|
|
@@ -16073,10 +16089,10 @@ function hl(n, e, t, r, o, i) {
|
|
|
16073
16089
|
]))
|
|
16074
16090
|
], 36);
|
|
16075
16091
|
}
|
|
16076
|
-
const _o = /* @__PURE__ */ _t(
|
|
16092
|
+
const _o = /* @__PURE__ */ _t(xc, [["render", sl]]), cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16077
16093
|
__proto__: null,
|
|
16078
16094
|
default: _o
|
|
16079
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16095
|
+
}, Symbol.toStringTag, { value: "Module" })), ll = {
|
|
16080
16096
|
name: "AuthVerify",
|
|
16081
16097
|
mixins: [ct],
|
|
16082
16098
|
props: {
|
|
@@ -16138,30 +16154,30 @@ const _o = /* @__PURE__ */ _t(qc, [["render", hl]]), fl = /* @__PURE__ */ Object
|
|
|
16138
16154
|
deep: !0
|
|
16139
16155
|
}
|
|
16140
16156
|
}
|
|
16141
|
-
},
|
|
16157
|
+
}, ul = {
|
|
16142
16158
|
class: "bold no-bottom center-text",
|
|
16143
16159
|
style: { "margin-top": "63px" }
|
|
16144
|
-
},
|
|
16160
|
+
}, dl = { class: "page-login-field half-top" }, pl = ["placeholder"], hl = { class: "page-login-field half-top" }, fl = ["placeholder"], gl = {
|
|
16145
16161
|
type: "submit",
|
|
16146
16162
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
16147
|
-
},
|
|
16163
|
+
}, ml = {
|
|
16148
16164
|
key: 0,
|
|
16149
16165
|
class: "uppercase"
|
|
16150
|
-
},
|
|
16166
|
+
}, _l = {
|
|
16151
16167
|
key: 1,
|
|
16152
16168
|
class: "button--loading button__loader"
|
|
16153
|
-
},
|
|
16169
|
+
}, vl = { class: "close-text center-text half-top color-black" }, yl = ["innerHTML"], wl = {
|
|
16154
16170
|
key: 1,
|
|
16155
16171
|
class: "page-login-links"
|
|
16156
|
-
},
|
|
16157
|
-
function
|
|
16172
|
+
}, bl = { class: "forgot center-text pointer small-top" };
|
|
16173
|
+
function kl(n, e, t, r, o, i) {
|
|
16158
16174
|
const a = fn("router-link");
|
|
16159
|
-
return N(),
|
|
16175
|
+
return N(), x("form", {
|
|
16160
16176
|
class: "page-login content-boxed content-boxed-padding",
|
|
16161
16177
|
onSubmit: e[6] || (e[6] = je((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16162
16178
|
style: zn(t.isModal ? "max-width: 500px;" : "")
|
|
16163
16179
|
}, [
|
|
16164
|
-
t.isModal ? (N(),
|
|
16180
|
+
t.isModal ? (N(), x("a", {
|
|
16165
16181
|
key: 0,
|
|
16166
16182
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
16167
16183
|
class: "color-black pull-right pointer",
|
|
@@ -16175,9 +16191,9 @@ function Al(n, e, t, r, o, i) {
|
|
|
16175
16191
|
})
|
|
16176
16192
|
], -1)
|
|
16177
16193
|
]))) : ce("", !0),
|
|
16178
|
-
_("h1",
|
|
16194
|
+
_("h1", ul, D(n.ssoLang[this.appLanguage].verify_account), 1),
|
|
16179
16195
|
e[16] || (e[16] = _("p", { class: "half-bottom half-top center-text color-black" }, null, -1)),
|
|
16180
|
-
_("div",
|
|
16196
|
+
_("div", dl, [
|
|
16181
16197
|
e[8] || (e[8] = _("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
16182
16198
|
_("img", {
|
|
16183
16199
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
@@ -16193,12 +16209,12 @@ function Al(n, e, t, r, o, i) {
|
|
|
16193
16209
|
type: "email",
|
|
16194
16210
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
16195
16211
|
required: ""
|
|
16196
|
-
}, null, 40,
|
|
16212
|
+
}, null, 40, pl), [
|
|
16197
16213
|
[kt, o.email]
|
|
16198
16214
|
]),
|
|
16199
16215
|
e[9] || (e[9] = _("em", null, null, -1))
|
|
16200
16216
|
]),
|
|
16201
|
-
_("div",
|
|
16217
|
+
_("div", hl, [
|
|
16202
16218
|
e[10] || (e[10] = _("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
16203
16219
|
_("img", {
|
|
16204
16220
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
@@ -16214,49 +16230,49 @@ function Al(n, e, t, r, o, i) {
|
|
|
16214
16230
|
type: "tel",
|
|
16215
16231
|
placeholder: n.ssoLang[this.appLanguage].code,
|
|
16216
16232
|
required: ""
|
|
16217
|
-
}, null, 40,
|
|
16233
|
+
}, null, 40, fl), [
|
|
16218
16234
|
[kt, o.code]
|
|
16219
16235
|
]),
|
|
16220
16236
|
e[11] || (e[11] = _("em", null, null, -1))
|
|
16221
16237
|
]),
|
|
16222
|
-
_("button",
|
|
16223
|
-
o.submitted ? (N(),
|
|
16238
|
+
_("button", gl, [
|
|
16239
|
+
o.submitted ? (N(), x("span", _l)) : (N(), x("span", ml, D(n.ssoLang[this.appLanguage].verify_account), 1))
|
|
16224
16240
|
]),
|
|
16225
16241
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)),
|
|
16226
|
-
_("p",
|
|
16242
|
+
_("p", vl, [
|
|
16227
16243
|
_("span", {
|
|
16228
16244
|
innerHTML: n.ssoLang[this.appLanguage].verify_account_p1
|
|
16229
|
-
}, null, 8,
|
|
16245
|
+
}, null, 8, yl),
|
|
16230
16246
|
e[12] || (e[12] = _("a", { href: "mailto:support@tapni.com?subject=Email Verification" }, " support@tapni.com", -1))
|
|
16231
16247
|
]),
|
|
16232
16248
|
e[18] || (e[18] = _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)),
|
|
16233
|
-
t.isModal ? (N(),
|
|
16249
|
+
t.isModal ? (N(), x("div", {
|
|
16234
16250
|
key: 2,
|
|
16235
16251
|
class: "page-login-links",
|
|
16236
16252
|
onClick: e[5] || (e[5] = (...s) => i.registerAccountModal && i.registerAccountModal(...s))
|
|
16237
16253
|
}, [
|
|
16238
|
-
_("a",
|
|
16239
|
-
Se(
|
|
16254
|
+
_("a", bl, [
|
|
16255
|
+
Se(D(n.ssoLang[this.appLanguage].or) + " ", 1),
|
|
16240
16256
|
e[14] || (e[14] = _("br", null, null, -1)),
|
|
16241
|
-
Se(" " +
|
|
16257
|
+
Se(" " + D(n.ssoLang[this.appLanguage].create_new_account), 1)
|
|
16242
16258
|
]),
|
|
16243
16259
|
e[15] || (e[15] = _("div", { class: "clear" }, null, -1))
|
|
16244
|
-
])) : (N(),
|
|
16245
|
-
|
|
16260
|
+
])) : (N(), x("div", wl, [
|
|
16261
|
+
Me(a, {
|
|
16246
16262
|
class: "create float-right",
|
|
16247
16263
|
to: "/register"
|
|
16248
16264
|
}, {
|
|
16249
|
-
default:
|
|
16250
|
-
Se(
|
|
16265
|
+
default: st(() => [
|
|
16266
|
+
Se(D(n.ssoLang[this.appLanguage].register), 1)
|
|
16251
16267
|
]),
|
|
16252
16268
|
_: 1
|
|
16253
16269
|
}),
|
|
16254
|
-
|
|
16270
|
+
Me(a, {
|
|
16255
16271
|
class: "forgot float-left",
|
|
16256
16272
|
to: "/login"
|
|
16257
16273
|
}, {
|
|
16258
|
-
default:
|
|
16259
|
-
Se(
|
|
16274
|
+
default: st(() => [
|
|
16275
|
+
Se(D(n.ssoLang[this.appLanguage].sign_in), 1)
|
|
16260
16276
|
]),
|
|
16261
16277
|
_: 1
|
|
16262
16278
|
}),
|
|
@@ -16264,7 +16280,7 @@ function Al(n, e, t, r, o, i) {
|
|
|
16264
16280
|
]))
|
|
16265
16281
|
], 36);
|
|
16266
16282
|
}
|
|
16267
|
-
const vo = /* @__PURE__ */ _t(
|
|
16283
|
+
const vo = /* @__PURE__ */ _t(ll, [["render", kl], ["__scopeId", "data-v-dea3e9ef"]]), Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16268
16284
|
__proto__: null,
|
|
16269
16285
|
default: vo
|
|
16270
16286
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -16346,9 +16362,9 @@ var Ei = { exports: {} };
|
|
|
16346
16362
|
}, random: function(T) {
|
|
16347
16363
|
for (var H, G = [], $ = function(ye) {
|
|
16348
16364
|
ye = ye;
|
|
16349
|
-
var
|
|
16365
|
+
var Ie = 987654321, we = 4294967295;
|
|
16350
16366
|
return function() {
|
|
16351
|
-
var Oe = ((
|
|
16367
|
+
var Oe = ((Ie = 36969 * (65535 & Ie) + (Ie >> 16) & we) << 16) + (ye = 18e3 * (65535 & ye) + (ye >> 16) & we) & we;
|
|
16352
16368
|
return Oe /= 4294967296, (Oe += 0.5) * (a.random() > 0.5 ? 1 : -1);
|
|
16353
16369
|
};
|
|
16354
16370
|
}, te = 0; te < T; te += 4) {
|
|
@@ -16387,13 +16403,13 @@ var Ei = { exports: {} };
|
|
|
16387
16403
|
}, _append: function(T) {
|
|
16388
16404
|
typeof T == "string" && (T = q.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
|
|
16389
16405
|
}, _process: function(T) {
|
|
16390
|
-
var H = this._data, G = H.words, $ = H.sigBytes, te = this.blockSize, Z = $ / (4 * te), ye = (Z = T ? a.ceil(Z) : a.max((0 | Z) - this._minBufferSize, 0)) * te,
|
|
16406
|
+
var H = this._data, G = H.words, $ = H.sigBytes, te = this.blockSize, Z = $ / (4 * te), ye = (Z = T ? a.ceil(Z) : a.max((0 | Z) - this._minBufferSize, 0)) * te, Ie = a.min(4 * ye, $);
|
|
16391
16407
|
if (ye) {
|
|
16392
16408
|
for (var we = 0; we < ye; we += te) this._doProcessBlock(G, we);
|
|
16393
16409
|
var Oe = G.splice(0, ye);
|
|
16394
|
-
H.sigBytes -=
|
|
16410
|
+
H.sigBytes -= Ie;
|
|
16395
16411
|
}
|
|
16396
|
-
return new f.init(Oe,
|
|
16412
|
+
return new f.init(Oe, Ie);
|
|
16397
16413
|
}, clone: function() {
|
|
16398
16414
|
var T = m.clone.call(this);
|
|
16399
16415
|
return T._data = this._data.clone(), T;
|
|
@@ -16546,16 +16562,16 @@ var Ei = { exports: {} };
|
|
|
16546
16562
|
var E = [], R = m.SHA256 = l.extend({ _doReset: function() {
|
|
16547
16563
|
this._hash = new p.init(f.slice(0));
|
|
16548
16564
|
}, _doProcessBlock: function(q, K) {
|
|
16549
|
-
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], $ = z[3], te = z[4], Z = z[5], ye = z[6],
|
|
16565
|
+
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], $ = z[3], te = z[4], Z = z[5], ye = z[6], Ie = z[7], we = 0; we < 64; we++) {
|
|
16550
16566
|
if (we < 16) E[we] = 0 | q[K + we];
|
|
16551
16567
|
else {
|
|
16552
16568
|
var Oe = E[we - 15], Yt = (Oe << 25 | Oe >>> 7) ^ (Oe << 14 | Oe >>> 18) ^ Oe >>> 3, Ye = E[we - 2], on = (Ye << 15 | Ye >>> 17) ^ (Ye << 13 | Ye >>> 19) ^ Ye >>> 10;
|
|
16553
16569
|
E[we] = Yt + E[we - 7] + on + E[we - 16];
|
|
16554
16570
|
}
|
|
16555
|
-
var Nt = T & H ^ T & G ^ H & G, Ot = (T << 30 | T >>> 2) ^ (T << 19 | T >>> 13) ^ (T << 10 | T >>> 22), ut =
|
|
16556
|
-
|
|
16571
|
+
var Nt = T & H ^ T & G ^ H & G, Ot = (T << 30 | T >>> 2) ^ (T << 19 | T >>> 13) ^ (T << 10 | T >>> 22), ut = Ie + ((te << 26 | te >>> 6) ^ (te << 21 | te >>> 11) ^ (te << 7 | te >>> 25)) + (te & Z ^ ~te & ye) + k[we] + E[we];
|
|
16572
|
+
Ie = ye, ye = Z, Z = te, te = $ + ut | 0, $ = G, G = H, H = T, T = ut + (Ot + Nt) | 0;
|
|
16557
16573
|
}
|
|
16558
|
-
z[0] = z[0] + T | 0, z[1] = z[1] + H | 0, z[2] = z[2] + G | 0, z[3] = z[3] + $ | 0, z[4] = z[4] + te | 0, z[5] = z[5] + Z | 0, z[6] = z[6] + ye | 0, z[7] = z[7] +
|
|
16574
|
+
z[0] = z[0] + T | 0, z[1] = z[1] + H | 0, z[2] = z[2] + G | 0, z[3] = z[3] + $ | 0, z[4] = z[4] + te | 0, z[5] = z[5] + Z | 0, z[6] = z[6] + ye | 0, z[7] = z[7] + Ie | 0;
|
|
16559
16575
|
}, _doFinalize: function() {
|
|
16560
16576
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16561
16577
|
return K[T >>> 5] |= 128 << 24 - T % 32, K[14 + (T + 64 >>> 9 << 4)] = a.floor(z / 4294967296), K[15 + (T + 64 >>> 9 << 4)] = z, q.sigBytes = 4 * K.length, this._process(), this._hash;
|
|
@@ -16579,17 +16595,17 @@ var Ei = { exports: {} };
|
|
|
16579
16595
|
var R = m.SHA512 = s.extend({ _doReset: function() {
|
|
16580
16596
|
this._hash = new l.init([new p.init(1779033703, 4089235720), new p.init(3144134277, 2227873595), new p.init(1013904242, 4271175723), new p.init(2773480762, 1595750129), new p.init(1359893119, 2917565137), new p.init(2600822924, 725511199), new p.init(528734635, 4215389547), new p.init(1541459225, 327033209)]);
|
|
16581
16597
|
}, _doProcessBlock: function(q, K) {
|
|
16582
|
-
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], $ = z[3], te = z[4], Z = z[5], ye = z[6],
|
|
16598
|
+
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], $ = z[3], te = z[4], Z = z[5], ye = z[6], Ie = z[7], we = T.high, Oe = T.low, Yt = H.high, Ye = H.low, on = G.high, Nt = G.low, Ot = $.high, ut = $.low, gn = te.high, an = te.low, mn = Z.high, sn = Z.low, In = ye.high, Te = ye.low, Re = Ie.high, Wt = Ie.low, qe = we, ze = Oe, Lt = Yt, Tt = Ye, Ze = on, dt = Nt, Jt = Ot, zt = ut, We = gn, Pe = an, pt = mn, xt = sn, Ut = In, vt = Te, _n = Re, St = Wt, Fe = 0; Fe < 80; Fe++) {
|
|
16583
16599
|
var yt = E[Fe];
|
|
16584
|
-
if (Fe < 16) var
|
|
16600
|
+
if (Fe < 16) var xe = yt.high = 0 | q[K + 2 * Fe], ht = yt.low = 0 | q[K + 2 * Fe + 1];
|
|
16585
16601
|
else {
|
|
16586
16602
|
var vn = E[Fe - 15], Ke = vn.high, Bt = vn.low, h = (Ke >>> 1 | Bt << 31) ^ (Ke >>> 8 | Bt << 24) ^ Ke >>> 7, c = (Bt >>> 1 | Ke << 31) ^ (Bt >>> 8 | Ke << 24) ^ (Bt >>> 7 | Ke << 25), d = E[Fe - 2], g = d.high, b = d.low, S = (g >>> 19 | b << 13) ^ (g << 3 | b >>> 29) ^ g >>> 6, P = (b >>> 19 | g << 13) ^ (b << 3 | g >>> 29) ^ (b >>> 6 | g << 26), se = E[Fe - 7], be = se.high, ge = se.low, ke = E[Fe - 16], he = ke.high, rr = ke.low;
|
|
16587
|
-
|
|
16603
|
+
xe = (xe = (xe = h + be + ((ht = c + ge) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += P) >>> 0 < P >>> 0 ? 1 : 0)) + he + ((ht += rr) >>> 0 < rr >>> 0 ? 1 : 0), yt.high = xe, yt.low = ht;
|
|
16588
16604
|
}
|
|
16589
|
-
var It, Or = We & pt ^ ~We &
|
|
16590
|
-
_n =
|
|
16605
|
+
var It, Or = We & pt ^ ~We & Ut, or = Pe & xt ^ ~Pe & vt, Lr = qe & Lt ^ qe & Ze ^ Lt & Ze, zr = ze & Tt ^ ze & dt ^ Tt & dt, ir = (qe >>> 28 | ze << 4) ^ (qe << 30 | ze >>> 2) ^ (qe << 25 | ze >>> 7), ar = (ze >>> 28 | qe << 4) ^ (ze << 30 | qe >>> 2) ^ (ze << 25 | qe >>> 7), xr = (We >>> 14 | Pe << 18) ^ (We >>> 18 | Pe << 14) ^ (We << 23 | Pe >>> 9), Ur = (Pe >>> 14 | We << 18) ^ (Pe >>> 18 | We << 14) ^ (Pe << 23 | We >>> 9), v = k[Fe], y = v.high, C = v.low, I = _n + xr + ((It = St + Ur) >>> 0 < St >>> 0 ? 1 : 0), M = ar + zr;
|
|
16606
|
+
_n = Ut, St = vt, Ut = pt, vt = xt, pt = We, xt = Pe, We = Jt + (I = (I = (I = I + Or + ((It += or) >>> 0 < or >>> 0 ? 1 : 0)) + y + ((It += C) >>> 0 < C >>> 0 ? 1 : 0)) + xe + ((It += ht) >>> 0 < ht >>> 0 ? 1 : 0)) + ((Pe = zt + It | 0) >>> 0 < zt >>> 0 ? 1 : 0) | 0, Jt = Ze, zt = dt, Ze = Lt, dt = Tt, Lt = qe, Tt = ze, qe = I + (ir + Lr + (M >>> 0 < ar >>> 0 ? 1 : 0)) + ((ze = It + M | 0) >>> 0 < It >>> 0 ? 1 : 0) | 0;
|
|
16591
16607
|
}
|
|
16592
|
-
Oe = T.low = Oe + ze, T.high = we + qe + (Oe >>> 0 < ze >>> 0 ? 1 : 0), Ye = H.low = Ye + Tt, H.high = Yt + Lt + (Ye >>> 0 < Tt >>> 0 ? 1 : 0), Nt = G.low = Nt + dt, G.high = on +
|
|
16608
|
+
Oe = T.low = Oe + ze, T.high = we + qe + (Oe >>> 0 < ze >>> 0 ? 1 : 0), Ye = H.low = Ye + Tt, H.high = Yt + Lt + (Ye >>> 0 < Tt >>> 0 ? 1 : 0), Nt = G.low = Nt + dt, G.high = on + Ze + (Nt >>> 0 < dt >>> 0 ? 1 : 0), ut = $.low = ut + zt, $.high = Ot + Jt + (ut >>> 0 < zt >>> 0 ? 1 : 0), an = te.low = an + Pe, te.high = gn + We + (an >>> 0 < Pe >>> 0 ? 1 : 0), sn = Z.low = sn + xt, Z.high = mn + pt + (sn >>> 0 < xt >>> 0 ? 1 : 0), Te = ye.low = Te + vt, ye.high = In + Ut + (Te >>> 0 < vt >>> 0 ? 1 : 0), Wt = Ie.low = Wt + St, Ie.high = Re + _n + (Wt >>> 0 < St >>> 0 ? 1 : 0);
|
|
16593
16609
|
}, _doFinalize: function() {
|
|
16594
16610
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16595
16611
|
return K[T >>> 5] |= 128 << 24 - T % 32, K[30 + (T + 128 >>> 10 << 5)] = Math.floor(z / 4294967296), K[31 + (T + 128 >>> 10 << 5)] = z, q.sigBytes = 4 * K.length, this._process(), this._hash.toX32();
|
|
@@ -16648,7 +16664,7 @@ var Ei = { exports: {} };
|
|
|
16648
16664
|
(function(v) {
|
|
16649
16665
|
v.HOTP = "hotp", v.TOTP = "totp";
|
|
16650
16666
|
})(te || (te = {}));
|
|
16651
|
-
var ye = H(te),
|
|
16667
|
+
var ye = H(te), Ie = function() {
|
|
16652
16668
|
throw new Error("Please provide an options.createDigest implementation.");
|
|
16653
16669
|
};
|
|
16654
16670
|
function we(v) {
|
|
@@ -16731,7 +16747,7 @@ var Ei = { exports: {} };
|
|
|
16731
16747
|
});
|
|
16732
16748
|
}
|
|
16733
16749
|
return C;
|
|
16734
|
-
}({}, { algorithm: i.SHA1, createHmacKey: sn, createDigest:
|
|
16750
|
+
}({}, { algorithm: i.SHA1, createHmacKey: sn, createDigest: Ie, digits: 6, encoding: G.ASCII }, {}, v);
|
|
16735
16751
|
return mn(y), Object.freeze(y);
|
|
16736
16752
|
}
|
|
16737
16753
|
function Te(v, y, C) {
|
|
@@ -16740,10 +16756,10 @@ var Ei = { exports: {} };
|
|
|
16740
16756
|
}(y), M = C.createHmacKey(C.algorithm, v, C.encoding);
|
|
16741
16757
|
return C.createDigest(C.algorithm, M, I);
|
|
16742
16758
|
}
|
|
16743
|
-
function
|
|
16759
|
+
function Re(v, y, C) {
|
|
16744
16760
|
return function(I, M) {
|
|
16745
|
-
var j = yn.from(I, "hex"), pe = 15 & j[j.length - 1],
|
|
16746
|
-
return Oe(String(
|
|
16761
|
+
var j = yn.from(I, "hex"), pe = 15 & j[j.length - 1], rt = ((127 & j[pe]) << 24 | (255 & j[pe + 1]) << 16 | (255 & j[pe + 2]) << 8 | 255 & j[pe + 3]) % Math.pow(10, M);
|
|
16762
|
+
return Oe(String(rt), M, "0");
|
|
16747
16763
|
}(C.digest || Te(v, y, C), C.digits);
|
|
16748
16764
|
}
|
|
16749
16765
|
function Wt(v, y, C, I, M) {
|
|
@@ -16765,16 +16781,16 @@ var Ei = { exports: {} };
|
|
|
16765
16781
|
} }, { key: "allOptions", value: function() {
|
|
16766
16782
|
return In(this.options);
|
|
16767
16783
|
} }, { key: "generate", value: function(M, j) {
|
|
16768
|
-
return
|
|
16784
|
+
return Re(M, j, this.allOptions());
|
|
16769
16785
|
} }, { key: "check", value: function(M, j, pe) {
|
|
16770
|
-
return function(
|
|
16771
|
-
return !!we(
|
|
16786
|
+
return function(rt, Dt, cn, Br) {
|
|
16787
|
+
return !!we(rt) && rt === Re(Dt, cn, Br);
|
|
16772
16788
|
}(M, j, pe, this.allOptions());
|
|
16773
16789
|
} }, { key: "verify", value: function(M) {
|
|
16774
16790
|
if (Ye(M) !== "object") throw new Error("Expecting argument 0 of verify to be an object");
|
|
16775
16791
|
return this.check(M.token, M.secret, M.counter);
|
|
16776
|
-
} }, { key: "keyuri", value: function(M, j, pe,
|
|
16777
|
-
return Wt(M, j, pe,
|
|
16792
|
+
} }, { key: "keyuri", value: function(M, j, pe, rt) {
|
|
16793
|
+
return Wt(M, j, pe, rt, this.allOptions());
|
|
16778
16794
|
} }]) && on(C.prototype, I), y;
|
|
16779
16795
|
}(function() {
|
|
16780
16796
|
function v() {
|
|
@@ -16819,8 +16835,8 @@ var Ei = { exports: {} };
|
|
|
16819
16835
|
return C;
|
|
16820
16836
|
}(v) : y;
|
|
16821
16837
|
}
|
|
16822
|
-
function
|
|
16823
|
-
return (
|
|
16838
|
+
function Ze(v) {
|
|
16839
|
+
return (Ze = Object.setPrototypeOf ? Object.getPrototypeOf : function(y) {
|
|
16824
16840
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
16825
16841
|
})(v);
|
|
16826
16842
|
}
|
|
@@ -16853,21 +16869,21 @@ var Ei = { exports: {} };
|
|
|
16853
16869
|
function We(v, y, C) {
|
|
16854
16870
|
return y in v ? Object.defineProperty(v, y, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[y] = C, v;
|
|
16855
16871
|
}
|
|
16856
|
-
function
|
|
16872
|
+
function Pe(v, y) {
|
|
16857
16873
|
return function(C) {
|
|
16858
16874
|
if (Array.isArray(C)) return C;
|
|
16859
16875
|
}(v) || function(C, I) {
|
|
16860
16876
|
if (Symbol.iterator in Object(C) || Object.prototype.toString.call(C) === "[object Arguments]") {
|
|
16861
|
-
var M = [], j = !0, pe = !1,
|
|
16877
|
+
var M = [], j = !0, pe = !1, rt = void 0;
|
|
16862
16878
|
try {
|
|
16863
16879
|
for (var Dt, cn = C[Symbol.iterator](); !(j = (Dt = cn.next()).done) && (M.push(Dt.value), !I || M.length !== I); j = !0) ;
|
|
16864
16880
|
} catch (Br) {
|
|
16865
|
-
pe = !0,
|
|
16881
|
+
pe = !0, rt = Br;
|
|
16866
16882
|
} finally {
|
|
16867
16883
|
try {
|
|
16868
16884
|
j || cn.return == null || cn.return();
|
|
16869
16885
|
} finally {
|
|
16870
|
-
if (pe) throw
|
|
16886
|
+
if (pe) throw rt;
|
|
16871
16887
|
}
|
|
16872
16888
|
}
|
|
16873
16889
|
return M;
|
|
@@ -16879,16 +16895,16 @@ var Ei = { exports: {} };
|
|
|
16879
16895
|
function pt(v) {
|
|
16880
16896
|
if (typeof v == "number") return [Math.abs(v), Math.abs(v)];
|
|
16881
16897
|
if (Array.isArray(v)) {
|
|
16882
|
-
var y =
|
|
16898
|
+
var y = Pe(v, 2), C = y[0], I = y[1];
|
|
16883
16899
|
if (typeof C == "number" && typeof I == "number") return [Math.abs(C), Math.abs(I)];
|
|
16884
16900
|
}
|
|
16885
16901
|
throw new Error("Expecting options.window to be an number or [number, number].");
|
|
16886
16902
|
}
|
|
16887
|
-
function
|
|
16903
|
+
function xt(v) {
|
|
16888
16904
|
if (mn(v), pt(v.window), typeof v.epoch != "number") throw new Error("Expecting options.epoch to be a number.");
|
|
16889
16905
|
if (typeof v.step != "number") throw new Error("Expecting options.step to be a number.");
|
|
16890
16906
|
}
|
|
16891
|
-
var
|
|
16907
|
+
var Ut = function(v, y, C) {
|
|
16892
16908
|
var I = v.length, M = yn.from(v, y).toString("hex");
|
|
16893
16909
|
if (I < C) {
|
|
16894
16910
|
var j = new Array(C - I + 1).join(M);
|
|
@@ -16898,22 +16914,22 @@ var Ei = { exports: {} };
|
|
|
16898
16914
|
}, vt = function(v, y, C) {
|
|
16899
16915
|
switch (v) {
|
|
16900
16916
|
case i.SHA1:
|
|
16901
|
-
return
|
|
16917
|
+
return Ut(y, C, 20);
|
|
16902
16918
|
case i.SHA256:
|
|
16903
|
-
return
|
|
16919
|
+
return Ut(y, C, 32);
|
|
16904
16920
|
case i.SHA512:
|
|
16905
|
-
return
|
|
16921
|
+
return Ut(y, C, 64);
|
|
16906
16922
|
default:
|
|
16907
16923
|
throw new Error("Expecting algorithm to be one of ".concat($.join(", "), ". Received ").concat(v, "."));
|
|
16908
16924
|
}
|
|
16909
16925
|
};
|
|
16910
16926
|
function _n(v) {
|
|
16911
|
-
var y = zt({}, { algorithm: i.SHA1, createDigest:
|
|
16912
|
-
return
|
|
16927
|
+
var y = zt({}, { algorithm: i.SHA1, createDigest: Ie, createHmacKey: vt, digits: 6, encoding: G.ASCII, epoch: Date.now(), step: 30, window: 0 }, {}, v);
|
|
16928
|
+
return xt(y), Object.freeze(y);
|
|
16913
16929
|
}
|
|
16914
16930
|
function St(v, y) {
|
|
16915
16931
|
var C, I;
|
|
16916
|
-
return
|
|
16932
|
+
return Re(v, (C = y.epoch, I = y.step, Math.floor(C / I / 1e3)), y);
|
|
16917
16933
|
}
|
|
16918
16934
|
function Fe(v, y, C, I) {
|
|
16919
16935
|
var M = [];
|
|
@@ -16927,7 +16943,7 @@ var Ei = { exports: {} };
|
|
|
16927
16943
|
function yt(v, y, C) {
|
|
16928
16944
|
return !!we(v) && v === St(y, C);
|
|
16929
16945
|
}
|
|
16930
|
-
function
|
|
16946
|
+
function xe(v, y, C, I) {
|
|
16931
16947
|
var M = null;
|
|
16932
16948
|
return v.some(function(j, pe) {
|
|
16933
16949
|
return !!yt(y, C, zt({}, I, { epoch: j })) && (M = pe + 1, !0);
|
|
@@ -16935,8 +16951,8 @@ var Ei = { exports: {} };
|
|
|
16935
16951
|
}
|
|
16936
16952
|
function ht(v, y, C) {
|
|
16937
16953
|
if (yt(v, y, C)) return 0;
|
|
16938
|
-
var I, M, j, pe,
|
|
16939
|
-
return cn !== null ? -1 * cn :
|
|
16954
|
+
var I, M, j, pe, rt, Dt = (I = C.epoch, M = C.step, j = C.window, pe = pt(j), { current: I, past: Fe(I, -1, rt = 1e3 * M, pe[0]), future: Fe(I, 1, rt, pe[1]) }), cn = xe(Dt.past, v, y, C);
|
|
16955
|
+
return cn !== null ? -1 * cn : xe(Dt.future, v, y, C);
|
|
16940
16956
|
}
|
|
16941
16957
|
function vn(v, y) {
|
|
16942
16958
|
return Math.floor(v / 1e3) % y;
|
|
@@ -16948,7 +16964,7 @@ var Ei = { exports: {} };
|
|
|
16948
16964
|
function y() {
|
|
16949
16965
|
return function(M, j) {
|
|
16950
16966
|
if (!(M instanceof j)) throw new TypeError("Cannot call a class as a function");
|
|
16951
|
-
}(this, y), Tt(this,
|
|
16967
|
+
}(this, y), Tt(this, Ze(y).apply(this, arguments));
|
|
16952
16968
|
}
|
|
16953
16969
|
var C, I;
|
|
16954
16970
|
return function(M, j) {
|
|
@@ -17031,9 +17047,9 @@ var Ei = { exports: {} };
|
|
|
17031
17047
|
});
|
|
17032
17048
|
}
|
|
17033
17049
|
return C;
|
|
17034
|
-
}({}, { algorithm: i.SHA1, createDigest:
|
|
17050
|
+
}({}, { algorithm: i.SHA1, createDigest: Ie, createHmacKey: vt, digits: 6, encoding: G.HEX, epoch: Date.now(), step: 30, window: 0 }, {}, v);
|
|
17035
17051
|
return function(C) {
|
|
17036
|
-
if (
|
|
17052
|
+
if (xt(C), typeof C.keyDecoder != "function") throw new Error("Expecting options.keyDecoder to be a function.");
|
|
17037
17053
|
if (C.keyEncoder && typeof C.keyEncoder != "function") throw new Error("Expecting options.keyEncoder to be a function.");
|
|
17038
17054
|
}(y), Object.freeze(y);
|
|
17039
17055
|
}
|
|
@@ -17066,8 +17082,8 @@ var Ei = { exports: {} };
|
|
|
17066
17082
|
return St(ge(j, pe), pe);
|
|
17067
17083
|
}(M, this.allOptions());
|
|
17068
17084
|
} }, { key: "checkDelta", value: function(M, j) {
|
|
17069
|
-
return function(pe,
|
|
17070
|
-
return ht(pe, ge(
|
|
17085
|
+
return function(pe, rt, Dt) {
|
|
17086
|
+
return ht(pe, ge(rt, Dt), Dt);
|
|
17071
17087
|
}(M, j, this.allOptions());
|
|
17072
17088
|
} }, { key: "encode", value: function(M) {
|
|
17073
17089
|
return be(M, this.allOptions());
|
|
@@ -17102,11 +17118,11 @@ var Ei = { exports: {} };
|
|
|
17102
17118
|
o.d(r, "hotp", function() {
|
|
17103
17119
|
return ar;
|
|
17104
17120
|
}), o.d(r, "totp", function() {
|
|
17105
|
-
return Ur;
|
|
17106
|
-
}), o.d(r, "authenticator", function() {
|
|
17107
17121
|
return xr;
|
|
17122
|
+
}), o.d(r, "authenticator", function() {
|
|
17123
|
+
return Ur;
|
|
17108
17124
|
}), (typeof window > "u" ? "undefined" : ir(window)) === "object" && window.Buffer === void 0 && (window.Buffer = buffer.Buffer);
|
|
17109
|
-
var ar = new qe({ createDigest: It }),
|
|
17125
|
+
var ar = new qe({ createDigest: It }), xr = new Bt({ createDigest: It }), Ur = new he({ createDigest: It, createRandomBytes: function(v, y) {
|
|
17110
17126
|
var C = rr.random(v);
|
|
17111
17127
|
return yn.from(C.toString(), "hex").toString(y);
|
|
17112
17128
|
}, keyDecoder: function(v, y) {
|
|
@@ -17119,7 +17135,7 @@ var Ei = { exports: {} };
|
|
|
17119
17135
|
});
|
|
17120
17136
|
})(Ei);
|
|
17121
17137
|
var Vo = Ei.exports;
|
|
17122
|
-
const
|
|
17138
|
+
const El = {
|
|
17123
17139
|
name: "AuthSecurity",
|
|
17124
17140
|
mixins: [ct],
|
|
17125
17141
|
props: {
|
|
@@ -17182,7 +17198,7 @@ const Pl = {
|
|
|
17182
17198
|
enable: this.mfaEnable
|
|
17183
17199
|
};
|
|
17184
17200
|
this.mfaEnable || delete n.otpSecret;
|
|
17185
|
-
const [e, t] = await ve(
|
|
17201
|
+
const [e, t] = await ve(tt.setMfa(n, this.$storex));
|
|
17186
17202
|
if (e)
|
|
17187
17203
|
return Y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
17188
17204
|
t.data.success && (this.getAccountSettings(), this.successSnack(t.data.message)), this.loading = !1;
|
|
@@ -17197,42 +17213,42 @@ const Pl = {
|
|
|
17197
17213
|
}) === !0 && (this.successSnack(this.ssoLang[this.appLanguage].password_change_success), this.changePassword = !1);
|
|
17198
17214
|
}
|
|
17199
17215
|
}
|
|
17200
|
-
},
|
|
17216
|
+
}, Tl = { class: "page-login content-boxed content-boxed-padding" }, Sl = { class: "subheaderContainer full-top" }, Il = ["src"], Al = {
|
|
17201
17217
|
class: "center-text",
|
|
17202
17218
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
17203
|
-
},
|
|
17219
|
+
}, Rl = { class: "container center-text" }, Pl = { class: "full-top" }, Ml = { class: "settingRow" }, Nl = { class: "firstRow" }, Ol = {
|
|
17204
17220
|
class: "ios-switch",
|
|
17205
17221
|
style: { display: "inline-block" }
|
|
17206
|
-
},
|
|
17222
|
+
}, Ll = { class: "center-text half-top" }, zl = { class: "firstRow" }, xl = { class: "center-text no-margin" }, Ul = { class: "margin-center left-text padding-left small-top" }, Bl = { class: "" }, Dl = ["placeholder"], Hl = ["innerHTML"], jl = {
|
|
17207
17223
|
type: "submit",
|
|
17208
17224
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17209
|
-
},
|
|
17225
|
+
}, ql = { key: 0 }, Fl = {
|
|
17210
17226
|
key: 1,
|
|
17211
17227
|
class: "button--loading button__loader"
|
|
17212
|
-
},
|
|
17228
|
+
}, Kl = { class: "close-text center-text half-top" }, Gl = ["innerHTML"], Vl = {
|
|
17213
17229
|
key: 1,
|
|
17214
17230
|
class: "margin-center small-top",
|
|
17215
17231
|
style: { width: "100%" }
|
|
17216
|
-
},
|
|
17232
|
+
}, Ql = { class: "left-text" }, Yl = { key: 0 }, Wl = { key: 1 }, Jl = { class: "firstRow" }, $l = ["src"], Xl = { class: "center-text half-top" }, Zl = ["placeholder"], eu = { class: "small-text small-top-padding small-bottom" }, tu = ["placeholder"], nu = { class: "small-text small-top-padding small-bottom" }, ru = ["placeholder"], ou = { class: "small-text small-top-padding small-bottom" }, iu = {
|
|
17217
17233
|
type: "submit",
|
|
17218
17234
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17219
|
-
},
|
|
17235
|
+
}, au = { key: 0 }, su = {
|
|
17220
17236
|
key: 1,
|
|
17221
17237
|
class: "button--loading button__loader"
|
|
17222
|
-
},
|
|
17238
|
+
}, cu = { class: "center-text font-13 half-top half-bottom" }, lu = ["innerHTML"], uu = { class: "firstRow" }, du = { class: "red-text" }, pu = ["src"], hu = { class: "center-text half-top" }, fu = { class: "settingRow full-top" }, gu = { class: "firstRow" }, mu = {
|
|
17223
17239
|
class: "ios-switch",
|
|
17224
17240
|
style: { display: "inline-block" }
|
|
17225
|
-
},
|
|
17241
|
+
}, _u = { class: "left-text small-top" }, vu = {
|
|
17226
17242
|
type: "submit",
|
|
17227
17243
|
class: "button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17228
|
-
},
|
|
17244
|
+
}, yu = { key: 0 }, wu = {
|
|
17229
17245
|
key: 1,
|
|
17230
17246
|
class: "button--loading button__loader"
|
|
17231
|
-
},
|
|
17232
|
-
function
|
|
17247
|
+
}, bu = { class: "small-bottom red-text" };
|
|
17248
|
+
function ku(n, e, t, r, o, i) {
|
|
17233
17249
|
const a = fn("router-link");
|
|
17234
|
-
return N(),
|
|
17235
|
-
n.isModal ? (N(),
|
|
17250
|
+
return N(), x("div", Tl, [
|
|
17251
|
+
n.isModal ? (N(), x("a", {
|
|
17236
17252
|
key: 0,
|
|
17237
17253
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
17238
17254
|
class: "color-black pull-right pointer",
|
|
@@ -17246,32 +17262,32 @@ function Au(n, e, t, r, o, i) {
|
|
|
17246
17262
|
})
|
|
17247
17263
|
], -1)
|
|
17248
17264
|
]))) : ce("", !0),
|
|
17249
|
-
_("div",
|
|
17250
|
-
n.isModal ? ce("", !0) : (N(),
|
|
17265
|
+
_("div", Sl, [
|
|
17266
|
+
n.isModal ? ce("", !0) : (N(), et(a, {
|
|
17251
17267
|
key: 0,
|
|
17252
17268
|
to: "/account",
|
|
17253
17269
|
class: "button gray-button pointer left-button"
|
|
17254
17270
|
}, {
|
|
17255
|
-
default:
|
|
17271
|
+
default: st(() => [
|
|
17256
17272
|
_("img", {
|
|
17257
17273
|
src: n.getIcon("arrow-gray-right.svg"),
|
|
17258
17274
|
height: "20",
|
|
17259
17275
|
width: "20",
|
|
17260
17276
|
class: "btn-icon",
|
|
17261
17277
|
style: { rotate: "180deg" }
|
|
17262
|
-
}, null, 8,
|
|
17278
|
+
}, null, 8, Il)
|
|
17263
17279
|
]),
|
|
17264
17280
|
_: 1
|
|
17265
17281
|
})),
|
|
17266
|
-
_("h2",
|
|
17282
|
+
_("h2", Al, D(n.ssoLang[n.appLanguage].security), 1)
|
|
17267
17283
|
]),
|
|
17268
|
-
_("div",
|
|
17269
|
-
_("p", null,
|
|
17270
|
-
_("div",
|
|
17271
|
-
_("div",
|
|
17272
|
-
_("div",
|
|
17273
|
-
_("h4", null,
|
|
17274
|
-
_("div",
|
|
17284
|
+
_("div", Rl, [
|
|
17285
|
+
_("p", null, D(n.ssoLang[n.appLanguage].security_p), 1),
|
|
17286
|
+
_("div", Pl, [
|
|
17287
|
+
_("div", Ml, [
|
|
17288
|
+
_("div", Nl, [
|
|
17289
|
+
_("h4", null, D(n.ssoLang[n.appLanguage].mfa_auth), 1),
|
|
17290
|
+
_("div", Ol, [
|
|
17275
17291
|
me(_("input", {
|
|
17276
17292
|
type: "checkbox",
|
|
17277
17293
|
name: "ios-switch",
|
|
@@ -17288,7 +17304,7 @@ function Au(n, e, t, r, o, i) {
|
|
|
17288
17304
|
])
|
|
17289
17305
|
])
|
|
17290
17306
|
]),
|
|
17291
|
-
me(_("div",
|
|
17307
|
+
me(_("div", Ll, [
|
|
17292
17308
|
e[16] || (e[16] = _("div", {
|
|
17293
17309
|
id: "qrCodeContainer",
|
|
17294
17310
|
class: "qrCodeRounded",
|
|
@@ -17299,17 +17315,17 @@ function Au(n, e, t, r, o, i) {
|
|
|
17299
17315
|
class: "settingRow",
|
|
17300
17316
|
onClick: e[2] || (e[2] = (s) => n.copy(o.otpSecret))
|
|
17301
17317
|
}, [
|
|
17302
|
-
_("div",
|
|
17303
|
-
_("h4",
|
|
17318
|
+
_("div", zl, [
|
|
17319
|
+
_("h4", xl, D(o.otpSecret), 1)
|
|
17304
17320
|
])
|
|
17305
17321
|
]),
|
|
17306
|
-
_("div",
|
|
17307
|
-
_("p",
|
|
17322
|
+
_("div", Ul, [
|
|
17323
|
+
_("p", Bl, D(n.ssoLang[n.appLanguage].mfa_auth_qr), 1)
|
|
17308
17324
|
])
|
|
17309
17325
|
], 512), [
|
|
17310
17326
|
[Ct, o.mfaEnable && !n.account.mfaEnabled]
|
|
17311
17327
|
]),
|
|
17312
|
-
n.account.mfaEnabled !== o.mfaEnable ? (N(),
|
|
17328
|
+
n.account.mfaEnabled !== o.mfaEnable ? (N(), x("form", {
|
|
17313
17329
|
key: 0,
|
|
17314
17330
|
onSubmit: e[5] || (e[5] = je((...s) => i.validateMFA && i.validateMFA(...s), ["prevent"])),
|
|
17315
17331
|
class: "half-top"
|
|
@@ -17324,41 +17340,41 @@ function Au(n, e, t, r, o, i) {
|
|
|
17324
17340
|
required: "",
|
|
17325
17341
|
onKeydown: e[4] || (e[4] = hn(je(() => {
|
|
17326
17342
|
}, ["prevent"]), ["space"]))
|
|
17327
|
-
}, null, 40,
|
|
17343
|
+
}, null, 40, Dl), [
|
|
17328
17344
|
[kt, n.otp]
|
|
17329
17345
|
]),
|
|
17330
17346
|
_("p", {
|
|
17331
17347
|
class: "small-top full-bottom padding-left left-text",
|
|
17332
17348
|
innerHTML: n.ssoLang[n.appLanguage].otp_subtitle
|
|
17333
|
-
}, null, 8,
|
|
17349
|
+
}, null, 8, Hl)
|
|
17334
17350
|
]),
|
|
17335
|
-
_("button",
|
|
17336
|
-
o.loading ? (N(),
|
|
17351
|
+
_("button", jl, [
|
|
17352
|
+
o.loading ? (N(), x("span", Fl)) : (N(), x("span", ql, D(n.ssoLang[n.appLanguage].continue), 1))
|
|
17337
17353
|
]),
|
|
17338
|
-
_("p",
|
|
17354
|
+
_("p", Kl, [
|
|
17339
17355
|
_("span", {
|
|
17340
17356
|
innerHTML: n.ssoLang[n.appLanguage].otp_p1
|
|
17341
|
-
}, null, 8,
|
|
17357
|
+
}, null, 8, Gl),
|
|
17342
17358
|
e[18] || (e[18] = _("a", { href: "mailto:support@tapni.com?subject=MFA Authentication Problem" }, " support@tapni.com", -1))
|
|
17343
17359
|
])
|
|
17344
|
-
], 32)) : (N(),
|
|
17345
|
-
_("div",
|
|
17346
|
-
o.mfaEnable ? (N(),
|
|
17360
|
+
], 32)) : (N(), x("div", Vl, [
|
|
17361
|
+
_("div", Ql, [
|
|
17362
|
+
o.mfaEnable ? (N(), x("p", Yl, D(n.ssoLang[n.appLanguage].mfa_auth_enabled), 1)) : (N(), x("p", Wl, D(n.ssoLang[n.appLanguage].mfa_auth_p), 1))
|
|
17347
17363
|
])
|
|
17348
17364
|
])),
|
|
17349
17365
|
_("div", {
|
|
17350
17366
|
class: "settingRow full-top",
|
|
17351
17367
|
onClick: e[6] || (e[6] = (s) => o.changePassword = !o.changePassword)
|
|
17352
17368
|
}, [
|
|
17353
|
-
_("div",
|
|
17354
|
-
_("h4", null,
|
|
17369
|
+
_("div", Jl, [
|
|
17370
|
+
_("h4", null, D(n.ssoLang[n.appLanguage].change_password), 1),
|
|
17355
17371
|
_("img", {
|
|
17356
17372
|
class: He(["transition-icon", { "rotate-icon": !!o.changePassword }]),
|
|
17357
17373
|
src: n.getIcon("arrow-gray-down.svg")
|
|
17358
|
-
}, null, 10,
|
|
17374
|
+
}, null, 10, $l)
|
|
17359
17375
|
])
|
|
17360
17376
|
]),
|
|
17361
|
-
me(_("form",
|
|
17377
|
+
me(_("form", Xl, [
|
|
17362
17378
|
_("form", {
|
|
17363
17379
|
onSubmit: e[10] || (e[10] = je((...s) => i.submitChangePassword && i.submitChangePassword(...s), ["prevent"]))
|
|
17364
17380
|
}, [
|
|
@@ -17370,10 +17386,10 @@ function Au(n, e, t, r, o, i) {
|
|
|
17370
17386
|
required: "",
|
|
17371
17387
|
minlength: "8",
|
|
17372
17388
|
style: { width: "100%" }
|
|
17373
|
-
}, null, 8,
|
|
17389
|
+
}, null, 8, Zl), [
|
|
17374
17390
|
[kt, o.currentPassword]
|
|
17375
17391
|
]),
|
|
17376
|
-
_("p",
|
|
17392
|
+
_("p", eu, D(n.ssoLang[n.appLanguage].password_current), 1),
|
|
17377
17393
|
me(_("input", {
|
|
17378
17394
|
type: "password",
|
|
17379
17395
|
"onUpdate:modelValue": e[8] || (e[8] = (s) => o.password = s),
|
|
@@ -17382,10 +17398,10 @@ function Au(n, e, t, r, o, i) {
|
|
|
17382
17398
|
required: "",
|
|
17383
17399
|
minlength: "8",
|
|
17384
17400
|
style: { width: "100%" }
|
|
17385
|
-
}, null, 8,
|
|
17401
|
+
}, null, 8, tu), [
|
|
17386
17402
|
[kt, o.password]
|
|
17387
17403
|
]),
|
|
17388
|
-
_("p",
|
|
17404
|
+
_("p", nu, D(n.ssoLang[n.appLanguage].password_new), 1),
|
|
17389
17405
|
me(_("input", {
|
|
17390
17406
|
type: "password",
|
|
17391
17407
|
"onUpdate:modelValue": e[9] || (e[9] = (s) => o.passwordRepeat = s),
|
|
@@ -17394,24 +17410,24 @@ function Au(n, e, t, r, o, i) {
|
|
|
17394
17410
|
required: "",
|
|
17395
17411
|
minlength: "8",
|
|
17396
17412
|
style: { width: "100%" }
|
|
17397
|
-
}, null, 8,
|
|
17413
|
+
}, null, 8, ru), [
|
|
17398
17414
|
[kt, o.passwordRepeat]
|
|
17399
17415
|
]),
|
|
17400
|
-
_("p",
|
|
17401
|
-
_("button",
|
|
17402
|
-
o.loading ? (N(),
|
|
17416
|
+
_("p", ou, D(n.ssoLang[n.appLanguage].password_new_repeat), 1),
|
|
17417
|
+
_("button", iu, [
|
|
17418
|
+
o.loading ? (N(), x("span", su)) : (N(), x("span", au, D(n.ssoLang[n.appLanguage].password_update), 1))
|
|
17403
17419
|
]),
|
|
17404
|
-
_("p",
|
|
17420
|
+
_("p", cu, [
|
|
17405
17421
|
_("span", {
|
|
17406
17422
|
innerHTML: n.ssoLang[n.appLanguage].password_reset
|
|
17407
|
-
}, null, 8,
|
|
17408
|
-
|
|
17423
|
+
}, null, 8, lu),
|
|
17424
|
+
Me(a, {
|
|
17409
17425
|
to: "/reset",
|
|
17410
17426
|
exact: "",
|
|
17411
17427
|
class: "color-black"
|
|
17412
17428
|
}, {
|
|
17413
|
-
default:
|
|
17414
|
-
Se(
|
|
17429
|
+
default: st(() => [
|
|
17430
|
+
Se(D(n.ssoLang[n.appLanguage].by_clicking_here), 1)
|
|
17415
17431
|
]),
|
|
17416
17432
|
_: 1
|
|
17417
17433
|
})
|
|
@@ -17424,19 +17440,19 @@ function Au(n, e, t, r, o, i) {
|
|
|
17424
17440
|
class: "settingRow full-top",
|
|
17425
17441
|
onClick: e[11] || (e[11] = (s) => o.accountDelete = !o.accountDelete)
|
|
17426
17442
|
}, [
|
|
17427
|
-
_("div",
|
|
17428
|
-
_("h4",
|
|
17443
|
+
_("div", uu, [
|
|
17444
|
+
_("h4", du, D(n.ssoLang[n.appLanguage].delete_account), 1),
|
|
17429
17445
|
_("img", {
|
|
17430
17446
|
class: He(["transition-icon", { "rotate-icon": !!o.accountDelete }]),
|
|
17431
17447
|
src: n.getIcon("arrow-gray-down.svg")
|
|
17432
|
-
}, null, 10,
|
|
17448
|
+
}, null, 10, pu)
|
|
17433
17449
|
])
|
|
17434
17450
|
]),
|
|
17435
|
-
me(_("div",
|
|
17436
|
-
_("div",
|
|
17437
|
-
_("div",
|
|
17438
|
-
_("h4", null,
|
|
17439
|
-
_("div",
|
|
17451
|
+
me(_("div", hu, [
|
|
17452
|
+
_("div", fu, [
|
|
17453
|
+
_("div", gu, [
|
|
17454
|
+
_("h4", null, D(n.ssoLang[n.appLanguage].active_account), 1),
|
|
17455
|
+
_("div", mu, [
|
|
17440
17456
|
me(_("input", {
|
|
17441
17457
|
type: "checkbox",
|
|
17442
17458
|
name: "ios-switch",
|
|
@@ -17453,14 +17469,14 @@ function Au(n, e, t, r, o, i) {
|
|
|
17453
17469
|
])
|
|
17454
17470
|
])
|
|
17455
17471
|
]),
|
|
17456
|
-
_("p",
|
|
17472
|
+
_("p", _u, D(n.ssoLang[n.appLanguage].active_account_p), 1),
|
|
17457
17473
|
_("form", {
|
|
17458
17474
|
onSubmit: e[13] || (e[13] = je((...s) => i.deleteAccountSubmit && i.deleteAccountSubmit(...s), ["prevent"]))
|
|
17459
17475
|
}, [
|
|
17460
|
-
_("button",
|
|
17461
|
-
o.loading ? (N(),
|
|
17476
|
+
_("button", vu, [
|
|
17477
|
+
o.loading ? (N(), x("span", wu)) : (N(), x("span", yu, D(n.ssoLang[n.appLanguage].permanent_delete), 1))
|
|
17462
17478
|
]),
|
|
17463
|
-
_("p",
|
|
17479
|
+
_("p", bu, D(n.ssoLang[n.appLanguage].permanent_delete_p), 1)
|
|
17464
17480
|
], 32)
|
|
17465
17481
|
], 512), [
|
|
17466
17482
|
[Ct, o.accountDelete]
|
|
@@ -17469,10 +17485,10 @@ function Au(n, e, t, r, o, i) {
|
|
|
17469
17485
|
])
|
|
17470
17486
|
]);
|
|
17471
17487
|
}
|
|
17472
|
-
const yo = /* @__PURE__ */ _t(
|
|
17488
|
+
const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa3239"]]), Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17473
17489
|
__proto__: null,
|
|
17474
17490
|
default: yo
|
|
17475
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17491
|
+
}, Symbol.toStringTag, { value: "Module" })), Eu = {
|
|
17476
17492
|
name: "AuthReset",
|
|
17477
17493
|
mixins: [ct],
|
|
17478
17494
|
data() {
|
|
@@ -17522,53 +17538,53 @@ const yo = /* @__PURE__ */ _t(Pl, [["render", Au], ["__scopeId", "data-v-5caa323
|
|
|
17522
17538
|
this.$storex.verifyEmail = n;
|
|
17523
17539
|
}
|
|
17524
17540
|
}
|
|
17525
|
-
},
|
|
17541
|
+
}, Tu = {
|
|
17526
17542
|
class: "bold no-bottom center-text",
|
|
17527
17543
|
style: { "margin-top": "63px" }
|
|
17528
|
-
},
|
|
17544
|
+
}, Su = { class: "page-login-field half-top color-black" }, Iu = ["placeholder"], Au = {
|
|
17529
17545
|
type: "submit",
|
|
17530
17546
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17531
|
-
},
|
|
17547
|
+
}, Ru = {
|
|
17532
17548
|
key: 0,
|
|
17533
17549
|
class: "uppercase"
|
|
17534
|
-
},
|
|
17550
|
+
}, Pu = {
|
|
17535
17551
|
key: 1,
|
|
17536
17552
|
class: "button--loading button__loader"
|
|
17537
|
-
},
|
|
17553
|
+
}, Mu = { class: "close-text center-text half-top color-black" }, Nu = ["innerHTML"], Ou = ["href"], Lu = { class: "page-login-links" }, zu = {
|
|
17538
17554
|
class: "bold no-bottom center-text",
|
|
17539
17555
|
style: { "margin-top": "63px" }
|
|
17540
|
-
},
|
|
17556
|
+
}, xu = { class: "half-bottom small-top center-text color-black" }, Uu = { class: "page-login-field half-top" }, Bu = ["type", "placeholder"], Du = {
|
|
17541
17557
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17542
17558
|
class: "responsive-image password-reveal-icon"
|
|
17543
|
-
},
|
|
17559
|
+
}, Hu = {
|
|
17544
17560
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17545
17561
|
class: "responsive-image password-reveal-icon"
|
|
17546
|
-
},
|
|
17562
|
+
}, ju = { class: "page-login-field half-top" }, qu = ["type", "placeholder"], Fu = {
|
|
17547
17563
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17548
17564
|
class: "responsive-image password-reveal-icon"
|
|
17549
|
-
},
|
|
17565
|
+
}, Ku = {
|
|
17550
17566
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17551
17567
|
class: "responsive-image password-reveal-icon"
|
|
17552
|
-
},
|
|
17568
|
+
}, Gu = {
|
|
17553
17569
|
type: "submit",
|
|
17554
17570
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17555
|
-
},
|
|
17571
|
+
}, Vu = {
|
|
17556
17572
|
key: 0,
|
|
17557
17573
|
class: "uppercase"
|
|
17558
|
-
},
|
|
17574
|
+
}, Qu = {
|
|
17559
17575
|
key: 1,
|
|
17560
17576
|
class: "button--loading button__loader"
|
|
17561
|
-
},
|
|
17562
|
-
function
|
|
17577
|
+
}, Yu = { class: "close-text center-text half-top color-black" }, Wu = ["innerHTML"], Ju = ["href"];
|
|
17578
|
+
function $u(n, e, t, r, o, i) {
|
|
17563
17579
|
const a = fn("router-link");
|
|
17564
|
-
return o.passwordChange ? (N(),
|
|
17580
|
+
return o.passwordChange ? (N(), x("form", {
|
|
17565
17581
|
key: 1,
|
|
17566
17582
|
class: "page-login content-boxed content-boxed-padding",
|
|
17567
17583
|
onSubmit: e[7] || (e[7] = je((...s) => i.changePw && i.changePw(...s), ["prevent"]))
|
|
17568
17584
|
}, [
|
|
17569
|
-
_("h3",
|
|
17570
|
-
_("p",
|
|
17571
|
-
_("div",
|
|
17585
|
+
_("h3", zu, D(n.ssoLang[this.appLanguage].password_change), 1),
|
|
17586
|
+
_("p", xu, D(n.ssoLang[this.appLanguage].password_new), 1),
|
|
17587
|
+
_("div", Uu, [
|
|
17572
17588
|
e[14] || (e[14] = _("i", { style: { "padding-top": "15px" } }, [
|
|
17573
17589
|
_("img", {
|
|
17574
17590
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -17581,21 +17597,21 @@ function rd(n, e, t, r, o, i) {
|
|
|
17581
17597
|
type: o.revealPassword ? "text" : "password",
|
|
17582
17598
|
placeholder: n.ssoLang[this.appLanguage].password,
|
|
17583
17599
|
required: ""
|
|
17584
|
-
}, null, 8,
|
|
17600
|
+
}, null, 8, Bu), [
|
|
17585
17601
|
[pr, o.password]
|
|
17586
17602
|
]),
|
|
17587
17603
|
_("em", {
|
|
17588
17604
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
|
|
17589
17605
|
}, [
|
|
17590
|
-
me(_("img",
|
|
17606
|
+
me(_("img", Du, null, 512), [
|
|
17591
17607
|
[Ct, !o.revealPassword]
|
|
17592
17608
|
]),
|
|
17593
|
-
me(_("img",
|
|
17609
|
+
me(_("img", Hu, null, 512), [
|
|
17594
17610
|
[Ct, o.revealPassword]
|
|
17595
17611
|
])
|
|
17596
17612
|
])
|
|
17597
17613
|
]),
|
|
17598
|
-
_("div",
|
|
17614
|
+
_("div", ju, [
|
|
17599
17615
|
e[15] || (e[15] = _("i", { style: { "padding-top": "15px" } }, [
|
|
17600
17616
|
_("img", {
|
|
17601
17617
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -17608,42 +17624,42 @@ function rd(n, e, t, r, o, i) {
|
|
|
17608
17624
|
type: o.revealPassword2 ? "text" : "password",
|
|
17609
17625
|
placeholder: n.ssoLang[this.appLanguage].password_repeat,
|
|
17610
17626
|
required: ""
|
|
17611
|
-
}, null, 8,
|
|
17627
|
+
}, null, 8, qu), [
|
|
17612
17628
|
[pr, o.passwordRepeat]
|
|
17613
17629
|
]),
|
|
17614
17630
|
_("em", {
|
|
17615
17631
|
onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
|
|
17616
17632
|
}, [
|
|
17617
|
-
me(_("img",
|
|
17633
|
+
me(_("img", Fu, null, 512), [
|
|
17618
17634
|
[Ct, !o.revealPassword2]
|
|
17619
17635
|
]),
|
|
17620
|
-
me(_("img",
|
|
17636
|
+
me(_("img", Ku, null, 512), [
|
|
17621
17637
|
[Ct, o.revealPassword2]
|
|
17622
17638
|
])
|
|
17623
17639
|
])
|
|
17624
17640
|
]),
|
|
17625
|
-
_("button",
|
|
17626
|
-
o.submitted ? (N(),
|
|
17641
|
+
_("button", Gu, [
|
|
17642
|
+
o.submitted ? (N(), x("span", Qu)) : (N(), x("span", Vu, D(n.ssoLang[this.appLanguage].password_change), 1))
|
|
17627
17643
|
]),
|
|
17628
17644
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17629
|
-
_("p",
|
|
17645
|
+
_("p", Yu, [
|
|
17630
17646
|
_("span", {
|
|
17631
17647
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
17632
|
-
}, null, 8,
|
|
17648
|
+
}, null, 8, Wu),
|
|
17633
17649
|
e[16] || (e[16] = Se()),
|
|
17634
17650
|
_("a", {
|
|
17635
17651
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17636
|
-
}, " support@tapni.com", 8,
|
|
17652
|
+
}, " support@tapni.com", 8, Ju)
|
|
17637
17653
|
])
|
|
17638
|
-
], 32)) : (N(),
|
|
17654
|
+
], 32)) : (N(), x("form", {
|
|
17639
17655
|
key: 0,
|
|
17640
17656
|
class: "page-login content-boxed content-boxed-padding",
|
|
17641
17657
|
onSubmit: e[2] || (e[2] = je((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
|
|
17642
17658
|
autocomplete: "on"
|
|
17643
17659
|
}, [
|
|
17644
|
-
_("h3",
|
|
17660
|
+
_("h3", Tu, D(n.ssoLang[this.appLanguage].reset_password), 1),
|
|
17645
17661
|
e[11] || (e[11] = _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)),
|
|
17646
|
-
_("div",
|
|
17662
|
+
_("div", Su, [
|
|
17647
17663
|
e[8] || (e[8] = _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
|
|
17648
17664
|
_("img", {
|
|
17649
17665
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
@@ -17659,40 +17675,40 @@ function rd(n, e, t, r, o, i) {
|
|
|
17659
17675
|
type: "email",
|
|
17660
17676
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
17661
17677
|
required: ""
|
|
17662
|
-
}, null, 40,
|
|
17678
|
+
}, null, 40, Iu), [
|
|
17663
17679
|
[kt, o.email]
|
|
17664
17680
|
]),
|
|
17665
17681
|
e[9] || (e[9] = _("em", null, null, -1))
|
|
17666
17682
|
]),
|
|
17667
|
-
_("button",
|
|
17668
|
-
o.submitted ? (N(),
|
|
17683
|
+
_("button", Au, [
|
|
17684
|
+
o.submitted ? (N(), x("span", Pu)) : (N(), x("span", Ru, D(n.ssoLang[this.appLanguage].reset_password), 1))
|
|
17669
17685
|
]),
|
|
17670
17686
|
e[12] || (e[12] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17671
|
-
_("p",
|
|
17687
|
+
_("p", Mu, [
|
|
17672
17688
|
_("span", {
|
|
17673
17689
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p1
|
|
17674
|
-
}, null, 8,
|
|
17690
|
+
}, null, 8, Nu),
|
|
17675
17691
|
_("a", {
|
|
17676
17692
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17677
|
-
}, " support@tapni.com", 8,
|
|
17693
|
+
}, " support@tapni.com", 8, Ou)
|
|
17678
17694
|
]),
|
|
17679
17695
|
e[13] || (e[13] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17680
|
-
_("div",
|
|
17681
|
-
|
|
17696
|
+
_("div", Lu, [
|
|
17697
|
+
Me(a, {
|
|
17682
17698
|
class: "create float-right",
|
|
17683
17699
|
to: "/verify"
|
|
17684
17700
|
}, {
|
|
17685
|
-
default:
|
|
17686
|
-
Se(
|
|
17701
|
+
default: st(() => [
|
|
17702
|
+
Se(D(n.ssoLang[this.appLanguage].verify_account), 1)
|
|
17687
17703
|
]),
|
|
17688
17704
|
_: 1
|
|
17689
17705
|
}),
|
|
17690
|
-
|
|
17706
|
+
Me(a, {
|
|
17691
17707
|
class: "forgot float-left",
|
|
17692
17708
|
to: "/login"
|
|
17693
17709
|
}, {
|
|
17694
|
-
default:
|
|
17695
|
-
Se(
|
|
17710
|
+
default: st(() => [
|
|
17711
|
+
Se(D(n.ssoLang[this.appLanguage].sign_in), 1)
|
|
17696
17712
|
]),
|
|
17697
17713
|
_: 1
|
|
17698
17714
|
}),
|
|
@@ -17700,18 +17716,21 @@ function rd(n, e, t, r, o, i) {
|
|
|
17700
17716
|
])
|
|
17701
17717
|
], 32));
|
|
17702
17718
|
}
|
|
17703
|
-
const wo = /* @__PURE__ */ _t(
|
|
17719
|
+
const wo = /* @__PURE__ */ _t(Eu, [["render", $u], ["__scopeId", "data-v-b19fad43"]]), Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17704
17720
|
__proto__: null,
|
|
17705
17721
|
default: wo
|
|
17706
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17722
|
+
}, Symbol.toStringTag, { value: "Module" })), Zu = {
|
|
17707
17723
|
name: "AuthCallback",
|
|
17708
17724
|
mixins: [Mr, Nr, ct],
|
|
17709
17725
|
data() {
|
|
17710
17726
|
return {};
|
|
17711
17727
|
},
|
|
17712
17728
|
async mounted() {
|
|
17729
|
+
if (this.$route.path === "/callback/redirect")
|
|
17730
|
+
return location.href = atob(this.$route.query.uri);
|
|
17713
17731
|
if (this.$route.path === "/callback/auth" && this.exchangeAuthCode({
|
|
17714
|
-
code: this.$route.query.code
|
|
17732
|
+
code: this.$route.query.code,
|
|
17733
|
+
code_verifier: this.$route.query.code_verifier
|
|
17715
17734
|
}), this.$route.path === "/callback/okta") return await this.handleOktaRedirect();
|
|
17716
17735
|
if (this.$route.path === "/callback/saml") return await this.handleSamlRedirect();
|
|
17717
17736
|
},
|
|
@@ -17721,31 +17740,31 @@ const wo = /* @__PURE__ */ _t(Pu, [["render", rd], ["__scopeId", "data-v-69a9cfa
|
|
|
17721
17740
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
17722
17741
|
}
|
|
17723
17742
|
}
|
|
17724
|
-
},
|
|
17743
|
+
}, ed = { class: "page-login content-boxed content-boxed-padding" }, td = {
|
|
17725
17744
|
key: 0,
|
|
17726
17745
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17727
|
-
},
|
|
17746
|
+
}, nd = {
|
|
17728
17747
|
key: 1,
|
|
17729
17748
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17730
17749
|
};
|
|
17731
|
-
function
|
|
17732
|
-
return N(),
|
|
17733
|
-
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(),
|
|
17734
|
-
Se(
|
|
17750
|
+
function rd(n, e, t, r, o, i) {
|
|
17751
|
+
return N(), x("div", ed, [
|
|
17752
|
+
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(), x("h5", td, [
|
|
17753
|
+
Se(D(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
17735
17754
|
e[1] || (e[1] = _("br", null, null, -1)),
|
|
17736
|
-
Se(" " +
|
|
17755
|
+
Se(" " + D(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
17737
17756
|
_("span", {
|
|
17738
17757
|
onClick: e[0] || (e[0] = (...a) => i.inAppRedirect && i.inAppRedirect(...a)),
|
|
17739
17758
|
style: { color: "blue", cursor: "pointer" }
|
|
17740
|
-
},
|
|
17741
|
-
e[2] || (e[2] = Se("."))
|
|
17742
|
-
])) : (N(),
|
|
17759
|
+
}, D(n.ssoLang[this.appLanguage].click_here), 1),
|
|
17760
|
+
e[2] || (e[2] = Se(". "))
|
|
17761
|
+
])) : (N(), x("h4", nd, D(n.ssoLang[this.appLanguage].please_wait), 1))
|
|
17743
17762
|
]);
|
|
17744
17763
|
}
|
|
17745
|
-
const bo = /* @__PURE__ */ _t(
|
|
17764
|
+
const bo = /* @__PURE__ */ _t(Zu, [["render", rd]]), od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17746
17765
|
__proto__: null,
|
|
17747
17766
|
default: bo
|
|
17748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17767
|
+
}, Symbol.toStringTag, { value: "Module" })), id = {
|
|
17749
17768
|
name: "ModalOverlay",
|
|
17750
17769
|
mixins: [ct],
|
|
17751
17770
|
data() {
|
|
@@ -17770,13 +17789,13 @@ const bo = /* @__PURE__ */ _t(id, [["render", ld]]), ud = /* @__PURE__ */ Object
|
|
|
17770
17789
|
}
|
|
17771
17790
|
}
|
|
17772
17791
|
};
|
|
17773
|
-
function
|
|
17774
|
-
return N(),
|
|
17792
|
+
function ad(n, e, t, r, o, i) {
|
|
17793
|
+
return N(), x("div", {
|
|
17775
17794
|
class: He({ "pointer delete-menu": !0, "delete-menu-active": o.toggle }),
|
|
17776
17795
|
onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
|
|
17777
17796
|
}, null, 2);
|
|
17778
17797
|
}
|
|
17779
|
-
const Ti = /* @__PURE__ */ _t(
|
|
17798
|
+
const Ti = /* @__PURE__ */ _t(id, [["render", ad], ["__scopeId", "data-v-e5fbde19"]]), sd = {
|
|
17780
17799
|
name: "SSO",
|
|
17781
17800
|
mixins: [Pr, Mr, Nr, ct],
|
|
17782
17801
|
data() {
|
|
@@ -17816,16 +17835,16 @@ const Ti = /* @__PURE__ */ _t(dd, [["render", pd], ["__scopeId", "data-v-e5fbde1
|
|
|
17816
17835
|
this.toggle = !this.toggle;
|
|
17817
17836
|
}
|
|
17818
17837
|
}
|
|
17819
|
-
},
|
|
17838
|
+
}, cd = { class: "bold center-text color-black half-top half-bottom" }, ld = ["placeholder"], ud = {
|
|
17820
17839
|
type: "submit",
|
|
17821
17840
|
class: "button black-button white-button button-full",
|
|
17822
17841
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
17823
|
-
},
|
|
17842
|
+
}, dd = { key: 0 }, pd = {
|
|
17824
17843
|
key: 1,
|
|
17825
17844
|
class: "button--loading button__loader"
|
|
17826
17845
|
};
|
|
17827
|
-
function
|
|
17828
|
-
return N(),
|
|
17846
|
+
function hd(n, e, t, r, o, i) {
|
|
17847
|
+
return N(), x("form", {
|
|
17829
17848
|
onSubmit: e[3] || (e[3] = je((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
17830
17849
|
class: He(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
17831
17850
|
style: { height: "auto", "margin-top": "-172.5px" }
|
|
@@ -17843,7 +17862,7 @@ function yd(n, e, t, r, o, i) {
|
|
|
17843
17862
|
})
|
|
17844
17863
|
], -1)
|
|
17845
17864
|
])),
|
|
17846
|
-
_("h3",
|
|
17865
|
+
_("h3", cd, D(n.ssoLang[n.appLanguage].enter_company_email), 1),
|
|
17847
17866
|
_("div", null, [
|
|
17848
17867
|
me(_("input", {
|
|
17849
17868
|
type: "text",
|
|
@@ -17858,16 +17877,16 @@ function yd(n, e, t, r, o, i) {
|
|
|
17858
17877
|
required: "",
|
|
17859
17878
|
onKeydown: e[2] || (e[2] = hn(je(() => {
|
|
17860
17879
|
}, ["prevent"]), ["space"]))
|
|
17861
|
-
}, null, 40,
|
|
17880
|
+
}, null, 40, ld), [
|
|
17862
17881
|
[kt, o.email]
|
|
17863
17882
|
])
|
|
17864
17883
|
]),
|
|
17865
|
-
_("button",
|
|
17866
|
-
o.loading ? (N(),
|
|
17884
|
+
_("button", ud, [
|
|
17885
|
+
o.loading ? (N(), x("span", pd)) : (N(), x("span", dd, D(n.ssoLang[n.appLanguage].continue), 1))
|
|
17867
17886
|
])
|
|
17868
17887
|
], 34);
|
|
17869
17888
|
}
|
|
17870
|
-
const Si = /* @__PURE__ */ _t(
|
|
17889
|
+
const Si = /* @__PURE__ */ _t(sd, [["render", hd], ["__scopeId", "data-v-6ebe2dcb"]]), fd = {
|
|
17871
17890
|
name: "SSOPick",
|
|
17872
17891
|
mixins: [Pr, Mr, Nr, ct],
|
|
17873
17892
|
data() {
|
|
@@ -17902,19 +17921,19 @@ const Si = /* @__PURE__ */ _t(hd, [["render", yd], ["__scopeId", "data-v-6ebe2dc
|
|
|
17902
17921
|
this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, n && (this.sso = n.sso, this.email = n.email), this.toggle = !this.toggle;
|
|
17903
17922
|
}
|
|
17904
17923
|
}
|
|
17905
|
-
},
|
|
17924
|
+
}, gd = { class: "bold center-text color-black half-top half-bottom" }, md = { key: 0 }, _d = {
|
|
17906
17925
|
key: 1,
|
|
17907
17926
|
class: "button--loading button__loader"
|
|
17908
|
-
},
|
|
17927
|
+
}, vd = { key: 0 }, yd = {
|
|
17909
17928
|
key: 1,
|
|
17910
17929
|
class: "button--loading button__loader"
|
|
17911
|
-
},
|
|
17930
|
+
}, wd = { key: 0 }, bd = {
|
|
17912
17931
|
key: 1,
|
|
17913
17932
|
class: "button--loading button__loader"
|
|
17914
17933
|
};
|
|
17915
|
-
function
|
|
17934
|
+
function kd(n, e, t, r, o, i) {
|
|
17916
17935
|
var a, s, u;
|
|
17917
|
-
return N(),
|
|
17936
|
+
return N(), x("form", {
|
|
17918
17937
|
onSubmit: e[4] || (e[4] = je(() => {
|
|
17919
17938
|
}, ["prevent"])),
|
|
17920
17939
|
class: He(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
@@ -17933,8 +17952,8 @@ function Ad(n, e, t, r, o, i) {
|
|
|
17933
17952
|
})
|
|
17934
17953
|
], -1)
|
|
17935
17954
|
])),
|
|
17936
|
-
_("h3",
|
|
17937
|
-
(a = o.sso) != null && a.azure ? (N(),
|
|
17955
|
+
_("h3", gd, D(n.ssoLang[n.appLanguage].select_sign_method), 1),
|
|
17956
|
+
(a = o.sso) != null && a.azure ? (N(), x("a", {
|
|
17938
17957
|
key: 0,
|
|
17939
17958
|
onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
|
|
17940
17959
|
class: "button-center button black-button button-90 google-button pointer"
|
|
@@ -17943,9 +17962,9 @@ function Ad(n, e, t, r, o, i) {
|
|
|
17943
17962
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
17944
17963
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17945
17964
|
}, null, -1)),
|
|
17946
|
-
o.azureLoad ? (N(),
|
|
17965
|
+
o.azureLoad ? (N(), x("span", _d)) : (N(), x("span", md, D(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
|
|
17947
17966
|
])) : ce("", !0),
|
|
17948
|
-
(s = o.sso) != null && s.okta ? (N(),
|
|
17967
|
+
(s = o.sso) != null && s.okta ? (N(), x("a", {
|
|
17949
17968
|
key: 1,
|
|
17950
17969
|
onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
|
|
17951
17970
|
class: "button-center button black-button button-90 google-button pointer"
|
|
@@ -17954,9 +17973,9 @@ function Ad(n, e, t, r, o, i) {
|
|
|
17954
17973
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
17955
17974
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17956
17975
|
}, null, -1)),
|
|
17957
|
-
o.oktaLoad ? (N(),
|
|
17976
|
+
o.oktaLoad ? (N(), x("span", yd)) : (N(), x("span", vd, D(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
|
|
17958
17977
|
])) : ce("", !0),
|
|
17959
|
-
(u = o.sso) != null && u.saml ? (N(),
|
|
17978
|
+
(u = o.sso) != null && u.saml ? (N(), x("a", {
|
|
17960
17979
|
key: 2,
|
|
17961
17980
|
onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
|
|
17962
17981
|
class: "button-center button black-button button-90 google-button pointer"
|
|
@@ -17965,11 +17984,11 @@ function Ad(n, e, t, r, o, i) {
|
|
|
17965
17984
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
17966
17985
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17967
17986
|
}, null, -1)),
|
|
17968
|
-
o.samlLoad ? (N(),
|
|
17987
|
+
o.samlLoad ? (N(), x("span", bd)) : (N(), x("span", wd, D(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
|
|
17969
17988
|
])) : ce("", !0)
|
|
17970
17989
|
], 34);
|
|
17971
17990
|
}
|
|
17972
|
-
const Ii = /* @__PURE__ */ _t(
|
|
17991
|
+
const Ii = /* @__PURE__ */ _t(fd, [["render", kd], ["__scopeId", "data-v-53788b8a"]]), Cd = {
|
|
17973
17992
|
name: "LinkIcon",
|
|
17974
17993
|
mixins: [ct],
|
|
17975
17994
|
props: {
|
|
@@ -18041,14 +18060,12 @@ const Ii = /* @__PURE__ */ _t(wd, [["render", Ad], ["__scopeId", "data-v-767d5eb
|
|
|
18041
18060
|
}
|
|
18042
18061
|
},
|
|
18043
18062
|
methods: {}
|
|
18044
|
-
},
|
|
18045
|
-
function
|
|
18063
|
+
}, Ed = ["src", "alt"], Td = ["alt"], Sd = ["alt"], Id = ["src", "alt"];
|
|
18064
|
+
function Ad(n, e, t, r, o, i) {
|
|
18046
18065
|
var a, s;
|
|
18047
|
-
return N(),
|
|
18066
|
+
return N(), x("a", {
|
|
18048
18067
|
class: He(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
|
|
18049
|
-
style: zn(
|
|
18050
|
-
(t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible; margin-top: 5px;"
|
|
18051
|
-
)
|
|
18068
|
+
style: zn((t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible; margin-top: 5px;")
|
|
18052
18069
|
}, [
|
|
18053
18070
|
_("span", {
|
|
18054
18071
|
class: He({
|
|
@@ -18058,28 +18075,28 @@ function Ld(n, e, t, r, o, i) {
|
|
|
18058
18075
|
}),
|
|
18059
18076
|
style: zn({ ...(a = t.customLinkStyle) == null ? void 0 : a.linkIcon })
|
|
18060
18077
|
}, [
|
|
18061
|
-
!t.data.custom_icon && t.data.type !== "customlink" ? (N(),
|
|
18078
|
+
!t.data.custom_icon && t.data.type !== "customlink" ? (N(), x("img", {
|
|
18062
18079
|
key: 0,
|
|
18063
18080
|
src: "https://cdn.tapni.co/icons/" + t.data.type + ".png",
|
|
18064
18081
|
class: "responsive-image",
|
|
18065
18082
|
alt: t.data.text,
|
|
18066
18083
|
onLoad: e[0] || (e[0] = (u) => n.$emit("loaded")),
|
|
18067
18084
|
onError: e[1] || (e[1] = (u) => n.$emit("loaded"))
|
|
18068
|
-
}, null, 40,
|
|
18085
|
+
}, null, 40, Ed)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (N(), x("img", {
|
|
18069
18086
|
key: 1,
|
|
18070
18087
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
18071
18088
|
class: "responsive-image",
|
|
18072
18089
|
alt: t.data.text,
|
|
18073
18090
|
onLoad: e[2] || (e[2] = (u) => n.$emit("loaded")),
|
|
18074
18091
|
onError: e[3] || (e[3] = (u) => n.$emit("loaded"))
|
|
18075
|
-
}, null, 40,
|
|
18092
|
+
}, null, 40, Td)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (N(), x("img", {
|
|
18076
18093
|
key: 2,
|
|
18077
18094
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
18078
18095
|
class: "responsive-image",
|
|
18079
18096
|
alt: t.data.text,
|
|
18080
18097
|
onLoad: e[4] || (e[4] = (u) => n.$emit("loaded")),
|
|
18081
18098
|
onError: e[5] || (e[5] = (u) => n.$emit("loaded"))
|
|
18082
|
-
}, null, 40,
|
|
18099
|
+
}, null, 40, Sd)) : (N(), x("img", {
|
|
18083
18100
|
key: 3,
|
|
18084
18101
|
src: t.data.style.custom_icon,
|
|
18085
18102
|
style: { "border-radius": "22.46%" },
|
|
@@ -18087,18 +18104,18 @@ function Ld(n, e, t, r, o, i) {
|
|
|
18087
18104
|
alt: t.data.text,
|
|
18088
18105
|
onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
|
|
18089
18106
|
onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
|
|
18090
|
-
}, null, 40,
|
|
18107
|
+
}, null, 40, Id))
|
|
18091
18108
|
], 6),
|
|
18092
18109
|
_("span", {
|
|
18093
18110
|
class: "link-text link-drag color-black",
|
|
18094
18111
|
style: zn({ color: (s = t.customLinkStyle) == null ? void 0 : s.color })
|
|
18095
|
-
},
|
|
18112
|
+
}, D(i.linkText), 5)
|
|
18096
18113
|
], 6);
|
|
18097
18114
|
}
|
|
18098
|
-
const
|
|
18115
|
+
const Rd = /* @__PURE__ */ _t(Cd, [["render", Ad]]), Pd = {
|
|
18099
18116
|
name: "Language",
|
|
18100
18117
|
mixins: [ct],
|
|
18101
|
-
components: { LinkIcon:
|
|
18118
|
+
components: { LinkIcon: Rd },
|
|
18102
18119
|
data() {
|
|
18103
18120
|
return {
|
|
18104
18121
|
toggle: !1
|
|
@@ -18128,10 +18145,10 @@ const zd = /* @__PURE__ */ _t(Rd, [["render", Ld]]), Ud = {
|
|
|
18128
18145
|
this.toggle = !this.toggle;
|
|
18129
18146
|
}
|
|
18130
18147
|
}
|
|
18131
|
-
},
|
|
18132
|
-
function
|
|
18148
|
+
}, Md = { class: "bold center-text color-black small-bottom" };
|
|
18149
|
+
function Nd(n, e, t, r, o, i) {
|
|
18133
18150
|
const a = fn("LinkIcon");
|
|
18134
|
-
return N(),
|
|
18151
|
+
return N(), x("div", {
|
|
18135
18152
|
class: He(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
18136
18153
|
style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
|
|
18137
18154
|
}, [
|
|
@@ -18148,8 +18165,8 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18148
18165
|
})
|
|
18149
18166
|
], -1)
|
|
18150
18167
|
])),
|
|
18151
|
-
_("h3",
|
|
18152
|
-
|
|
18168
|
+
_("h3", Md, D(n.ssoLang[n.appLanguage].app_language), 1),
|
|
18169
|
+
Me(a, {
|
|
18153
18170
|
onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
|
|
18154
18171
|
"link-style": "link-list",
|
|
18155
18172
|
data: { type: "lang/en", text: n.ssoLang[this.appLanguage].english },
|
|
@@ -18157,7 +18174,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18157
18174
|
class: He({ "add-button": !0 }),
|
|
18158
18175
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18159
18176
|
}, null, 8, ["data"]),
|
|
18160
|
-
|
|
18177
|
+
Me(a, {
|
|
18161
18178
|
onClick: e[2] || (e[2] = (s) => i.updateLanguage("es")),
|
|
18162
18179
|
"link-style": "link-list",
|
|
18163
18180
|
data: { type: "lang/es", text: n.ssoLang[this.appLanguage].spanish },
|
|
@@ -18165,7 +18182,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18165
18182
|
class: He({ "add-button": !0 }),
|
|
18166
18183
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18167
18184
|
}, null, 8, ["data"]),
|
|
18168
|
-
|
|
18185
|
+
Me(a, {
|
|
18169
18186
|
onClick: e[3] || (e[3] = (s) => i.updateLanguage("de")),
|
|
18170
18187
|
"link-style": "link-list",
|
|
18171
18188
|
data: { type: "lang/de", text: n.ssoLang[this.appLanguage].german },
|
|
@@ -18173,7 +18190,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18173
18190
|
class: He({ "add-button": !0 }),
|
|
18174
18191
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18175
18192
|
}, null, 8, ["data"]),
|
|
18176
|
-
|
|
18193
|
+
Me(a, {
|
|
18177
18194
|
onClick: e[4] || (e[4] = (s) => i.updateLanguage("it")),
|
|
18178
18195
|
"link-style": "link-list",
|
|
18179
18196
|
data: { type: "lang/it", text: n.ssoLang[this.appLanguage].italian },
|
|
@@ -18181,7 +18198,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18181
18198
|
class: He({ "add-button": !0 }),
|
|
18182
18199
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18183
18200
|
}, null, 8, ["data"]),
|
|
18184
|
-
|
|
18201
|
+
Me(a, {
|
|
18185
18202
|
onClick: e[5] || (e[5] = (s) => i.updateLanguage("fr")),
|
|
18186
18203
|
"link-style": "link-list",
|
|
18187
18204
|
data: { type: "lang/fr", text: n.ssoLang[this.appLanguage].french },
|
|
@@ -18189,7 +18206,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18189
18206
|
class: He({ "add-button": !0 }),
|
|
18190
18207
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18191
18208
|
}, null, 8, ["data"]),
|
|
18192
|
-
|
|
18209
|
+
Me(a, {
|
|
18193
18210
|
onClick: e[6] || (e[6] = (s) => i.updateLanguage("kr")),
|
|
18194
18211
|
"link-style": "link-list",
|
|
18195
18212
|
data: { type: "lang/kr", text: n.ssoLang[this.appLanguage].korean },
|
|
@@ -18197,7 +18214,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18197
18214
|
class: He({ "add-button": !0 }),
|
|
18198
18215
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18199
18216
|
}, null, 8, ["data"]),
|
|
18200
|
-
|
|
18217
|
+
Me(a, {
|
|
18201
18218
|
onClick: e[7] || (e[7] = (s) => i.updateLanguage("sr")),
|
|
18202
18219
|
"link-style": "link-list",
|
|
18203
18220
|
data: { type: "lang/sr", text: n.ssoLang[this.appLanguage].serbian },
|
|
@@ -18205,7 +18222,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18205
18222
|
class: He({ "add-button": !0 }),
|
|
18206
18223
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18207
18224
|
}, null, 8, ["data"]),
|
|
18208
|
-
|
|
18225
|
+
Me(a, {
|
|
18209
18226
|
onClick: e[8] || (e[8] = (s) => i.updateLanguage("tr")),
|
|
18210
18227
|
"link-style": "link-list",
|
|
18211
18228
|
data: { type: "lang/tr", text: n.ssoLang[this.appLanguage].turkish },
|
|
@@ -18213,7 +18230,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18213
18230
|
class: He({ "add-button": !0 }),
|
|
18214
18231
|
customLinkStyle: { linkIcon: { display: "none" } }
|
|
18215
18232
|
}, null, 8, ["data"]),
|
|
18216
|
-
|
|
18233
|
+
Me(a, {
|
|
18217
18234
|
onClick: e[9] || (e[9] = (s) => i.updateLanguage("cn")),
|
|
18218
18235
|
"link-style": "link-list",
|
|
18219
18236
|
data: { type: "lang/cn", text: n.ssoLang[this.appLanguage].chinese },
|
|
@@ -18223,7 +18240,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
18223
18240
|
}, null, 8, ["data"])
|
|
18224
18241
|
], 2);
|
|
18225
18242
|
}
|
|
18226
|
-
const Ai = /* @__PURE__ */ _t(
|
|
18243
|
+
const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce677789"]]), ln = Ir("Preferences", {
|
|
18227
18244
|
web: () => import("./web-LIfHmYL2.js").then((n) => new n.PreferencesWeb())
|
|
18228
18245
|
}), Rt = {
|
|
18229
18246
|
async setObject(n, e) {
|
|
@@ -18329,7 +18346,7 @@ const Ai = /* @__PURE__ */ _t(Ud, [["render", Bd], ["__scopeId", "data-v-ce67778
|
|
|
18329
18346
|
let t = JSON.parse(n);
|
|
18330
18347
|
return t !== void 0 ? t : e;
|
|
18331
18348
|
}
|
|
18332
|
-
},
|
|
18349
|
+
}, Od = {
|
|
18333
18350
|
name: "ReactiveStorage",
|
|
18334
18351
|
data() {
|
|
18335
18352
|
return {
|
|
@@ -18345,23 +18362,23 @@ const Ai = /* @__PURE__ */ _t(Ud, [["render", Bd], ["__scopeId", "data-v-ce67778
|
|
|
18345
18362
|
await jr.setRaw(e);
|
|
18346
18363
|
}, { deep: !0 });
|
|
18347
18364
|
}
|
|
18348
|
-
},
|
|
18365
|
+
}, Ld = { id: "ssoapp" }, zd = {
|
|
18349
18366
|
key: 0,
|
|
18350
18367
|
href: "/",
|
|
18351
18368
|
class: "header-logo"
|
|
18352
|
-
},
|
|
18369
|
+
}, xd = {
|
|
18353
18370
|
class: "snackbar snackbar-boxed",
|
|
18354
18371
|
id: "snackbar"
|
|
18355
|
-
},
|
|
18372
|
+
}, Ud = {
|
|
18356
18373
|
class: "snack-body",
|
|
18357
18374
|
id: "errorSnack"
|
|
18358
|
-
},
|
|
18375
|
+
}, Bd = { id: "errorMessage" }, Dd = {
|
|
18359
18376
|
class: "snack-body",
|
|
18360
18377
|
id: "successSnack"
|
|
18361
|
-
},
|
|
18378
|
+
}, Hd = { id: "successMessage" }, jd = {
|
|
18362
18379
|
store: so,
|
|
18363
18380
|
name: "TapniAuth",
|
|
18364
|
-
mixins: [
|
|
18381
|
+
mixins: [Od, ct],
|
|
18365
18382
|
data() {
|
|
18366
18383
|
return {
|
|
18367
18384
|
storeInterval: null,
|
|
@@ -18453,43 +18470,43 @@ const Ai = /* @__PURE__ */ _t(Ud, [["render", Bd], ["__scopeId", "data-v-ce67778
|
|
|
18453
18470
|
deep: !0
|
|
18454
18471
|
}
|
|
18455
18472
|
}
|
|
18456
|
-
},
|
|
18473
|
+
}, qd = /* @__PURE__ */ Object.assign(jd, {
|
|
18457
18474
|
setup(n) {
|
|
18458
18475
|
return window.Buffer = Zi, document.addEventListener("DOMContentLoaded", function() {
|
|
18459
18476
|
const e = document.createElement("script");
|
|
18460
18477
|
e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
|
|
18461
|
-
}), (e, t) => (N(),
|
|
18462
|
-
e.display === "redirect" || e.renderView.includes("Auth") ? (N(),
|
|
18478
|
+
}), (e, t) => (N(), x("div", Ld, [
|
|
18479
|
+
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", zd, t[2] || (t[2] = [
|
|
18463
18480
|
_("img", {
|
|
18464
18481
|
src: "data:image/png;base64,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",
|
|
18465
18482
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
18466
18483
|
class: "header-logo-img"
|
|
18467
18484
|
}, null, -1)
|
|
18468
18485
|
]))) : ce("", !0),
|
|
18469
|
-
|
|
18470
|
-
n.isModal ? ce("", !0) : (N(),
|
|
18471
|
-
n.isModal ? ce("", !0) : (N(),
|
|
18472
|
-
n.isModal ? ce("", !0) : (N(),
|
|
18473
|
-
e.initialized && e.renderView === "AuthWelcome" ? (N(),
|
|
18486
|
+
Me(Ti),
|
|
18487
|
+
n.isModal ? ce("", !0) : (N(), et(Ai, { key: 1 })),
|
|
18488
|
+
n.isModal ? ce("", !0) : (N(), et(Si, { key: 2 })),
|
|
18489
|
+
n.isModal ? ce("", !0) : (N(), et(Ii, { key: 3 })),
|
|
18490
|
+
e.initialized && e.renderView === "AuthWelcome" ? (N(), et(ao, { key: 4 })) : e.initialized && e.renderView === "AuthLogin" ? (N(), et(go, {
|
|
18474
18491
|
key: 5,
|
|
18475
18492
|
isModal: n.isModal
|
|
18476
|
-
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthAccount" ? (N(),
|
|
18493
|
+
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthAccount" ? (N(), et(mo, {
|
|
18477
18494
|
key: 6,
|
|
18478
18495
|
isModal: n.isModal
|
|
18479
|
-
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthRegister" ? (N(),
|
|
18496
|
+
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthRegister" ? (N(), et(_o, {
|
|
18480
18497
|
key: 7,
|
|
18481
18498
|
isModal: n.isModal
|
|
18482
|
-
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthVerify" ? (N(),
|
|
18499
|
+
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthVerify" ? (N(), et(vo, {
|
|
18483
18500
|
key: 8,
|
|
18484
18501
|
isModal: n.isModal
|
|
18485
|
-
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthSecurity" ? (N(),
|
|
18502
|
+
}, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthSecurity" ? (N(), et(yo, {
|
|
18486
18503
|
key: 9,
|
|
18487
18504
|
isModal: n.isModal,
|
|
18488
18505
|
payload: n.payload
|
|
18489
|
-
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(),
|
|
18490
|
-
_("div",
|
|
18491
|
-
_("p",
|
|
18492
|
-
_("span",
|
|
18506
|
+
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), et(wo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), et(bo, { key: 11 })) : e.display !== "npm" ? (N(), et(Ni(zi), { key: 12 })) : ce("", !0),
|
|
18507
|
+
_("div", xd, [
|
|
18508
|
+
_("p", Ud, [
|
|
18509
|
+
_("span", Bd, D(e.ssoLang[e.appLanguage].error), 1),
|
|
18493
18510
|
_("a", {
|
|
18494
18511
|
onClick: t[0] || (t[0] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18495
18512
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18500,8 +18517,8 @@ const Ai = /* @__PURE__ */ _t(Ud, [["render", Bd], ["__scopeId", "data-v-ce67778
|
|
|
18500
18517
|
}, null, -1)
|
|
18501
18518
|
]))
|
|
18502
18519
|
]),
|
|
18503
|
-
_("p",
|
|
18504
|
-
_("span",
|
|
18520
|
+
_("p", Dd, [
|
|
18521
|
+
_("span", Hd, D(e.ssoLang[e.appLanguage].success), 1),
|
|
18505
18522
|
_("a", {
|
|
18506
18523
|
onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18507
18524
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18515,17 +18532,17 @@ const Ai = /* @__PURE__ */ _t(Ud, [["render", Bd], ["__scopeId", "data-v-ce67778
|
|
|
18515
18532
|
])
|
|
18516
18533
|
]));
|
|
18517
18534
|
}
|
|
18518
|
-
}),
|
|
18535
|
+
}), tp = {
|
|
18519
18536
|
install: (n, { store: e, apiRoot: t }) => {
|
|
18520
|
-
n.component("TapniAuth",
|
|
18537
|
+
n.component("TapniAuth", qd), e.hasModule("auth") || e.registerModule("auth", so), n.config.globalProperties.$apiRoot = t;
|
|
18521
18538
|
}
|
|
18522
18539
|
};
|
|
18523
18540
|
export {
|
|
18524
18541
|
ct as A,
|
|
18525
18542
|
Y as E,
|
|
18526
|
-
|
|
18543
|
+
Us as Q,
|
|
18527
18544
|
_t as _,
|
|
18528
18545
|
le as a,
|
|
18529
|
-
|
|
18530
|
-
|
|
18546
|
+
tt as b,
|
|
18547
|
+
tp as i
|
|
18531
18548
|
};
|