@tapni/auth 1.0.52 → 1.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +10 -10
- package/dist/{Apps-WVb4S3LS.js → Apps-Dnw2La4O.js} +1 -1
- package/dist/{Billing-C8WFpUFn.js → Billing-C9TDWfv1.js} +1 -1
- package/dist/{CustomApp-LUQvCaYr.js → CustomApp-CjMfIsaK.js} +1 -1
- package/dist/{QR-C6K2Z3Ey.js → QR-7_VeMwh2.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +4 -4
- package/dist/{install-Bwa_1dZE.js → install-CLAhcoxj.js} +305 -297
- package/dist/style.css +1 -1
- package/package.json +65 -65
- package/src/App.vue +247 -258
- package/src/views/General.vue +3 -6
- package/src/views/Security.vue +4 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as Hr, readonly as xi, resolveComponent as rn, openBlock as O, createElementBlock as U, createElementVNode as _, toDisplayString as B, createCommentVNode as le, createVNode as gt, withCtx as et, createTextVNode as Ee, createStaticVNode as Ui, nextTick as So, withModifiers as Xe, normalizeStyle as
|
|
1
|
+
import { reactive as Hr, readonly as xi, resolveComponent as rn, openBlock as O, createElementBlock as U, createElementVNode as _, toDisplayString as B, createCommentVNode as le, createVNode as gt, withCtx as et, createTextVNode as Ee, createStaticVNode as Ui, nextTick as So, withModifiers as Xe, normalizeStyle as or, withDirectives as _e, withKeys as mn, vModelText as ct, vModelDynamic as fr, vShow as kt, createBlock as ze, normalizeClass as fn, vModelCheckbox as Io, defineComponent as ei, mergeModels as Ao, useModel as Bi, ref as wn, computed as Ro, watch as io, onMounted as Di, onBeforeUnmount as ji, renderSlot as Wt, Fragment as Fr, renderList as qr, Teleport as Hi, unref as Fi } from "vue";
|
|
2
2
|
import { createRouter as qi, createWebHistory as Ki, RouterView as Gi } from "vue-router";
|
|
3
3
|
import { createNamespacedHelpers as Vi, createStore as Qi } from "vuex";
|
|
4
4
|
import { Capacitor as Gn, registerPlugin as Ar, WebPlugin as $i } from "@capacitor/core";
|
|
@@ -7,7 +7,7 @@ import ao from "axios";
|
|
|
7
7
|
import { jwtDecode as ti } from "jwt-decode";
|
|
8
8
|
import { Device as Kr } from "@capacitor/device";
|
|
9
9
|
import { sha256 as ni } from "js-sha256";
|
|
10
|
-
import { Browser as
|
|
10
|
+
import { Browser as mr } from "@capacitor/browser";
|
|
11
11
|
import ri from "qr-code-styling";
|
|
12
12
|
import { sanitizeUrl as Yi } from "@braintree/sanitize-url";
|
|
13
13
|
function Wi(n) {
|
|
@@ -62,18 +62,18 @@ function Ji(n) {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Xt = [], Un = !1, Cn,
|
|
65
|
+
var Xt = [], Un = !1, Cn, hr = -1;
|
|
66
66
|
function Xi() {
|
|
67
|
-
!Un || !Cn || (Un = !1, Cn.length ? Xt = Cn.concat(Xt) :
|
|
67
|
+
!Un || !Cn || (Un = !1, Cn.length ? Xt = Cn.concat(Xt) : hr = -1, Xt.length && ai());
|
|
68
68
|
}
|
|
69
69
|
function ai() {
|
|
70
70
|
if (!Un) {
|
|
71
71
|
var n = ii(Xi);
|
|
72
72
|
Un = !0;
|
|
73
73
|
for (var e = Xt.length; e; ) {
|
|
74
|
-
for (Cn = Xt, Xt = []; ++
|
|
75
|
-
Cn && Cn[
|
|
76
|
-
|
|
74
|
+
for (Cn = Xt, Xt = []; ++hr < e; )
|
|
75
|
+
Cn && Cn[hr].run();
|
|
76
|
+
hr = -1, e = Xt.length;
|
|
77
77
|
}
|
|
78
78
|
Cn = null, Un = !1, Ji(n);
|
|
79
79
|
}
|
|
@@ -1144,19 +1144,19 @@ co.write = function(n, e, t, r, o, i) {
|
|
|
1144
1144
|
throw new Error("BigInt not supported");
|
|
1145
1145
|
}
|
|
1146
1146
|
})(so);
|
|
1147
|
-
const bn = so.Buffer, la = so.Buffer,
|
|
1147
|
+
const bn = so.Buffer, la = so.Buffer, ur = Hr(/* @__PURE__ */ new Map()), ne = {
|
|
1148
1148
|
$on(n, e) {
|
|
1149
|
-
let t =
|
|
1150
|
-
t || (t = /* @__PURE__ */ new Set(),
|
|
1149
|
+
let t = ur.get(n);
|
|
1150
|
+
t || (t = /* @__PURE__ */ new Set(), ur.set(n, t)), t.add(e);
|
|
1151
1151
|
},
|
|
1152
1152
|
$emit(n, ...e) {
|
|
1153
|
-
const t =
|
|
1153
|
+
const t = ur.get(n);
|
|
1154
1154
|
if (t)
|
|
1155
1155
|
for (const r of t)
|
|
1156
1156
|
r(...e);
|
|
1157
1157
|
},
|
|
1158
1158
|
$off(n, e) {
|
|
1159
|
-
const t =
|
|
1159
|
+
const t = ur.get(n);
|
|
1160
1160
|
t && t.delete(e);
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
@@ -1391,7 +1391,7 @@ function wa(n, e, t, r, o, i) {
|
|
|
1391
1391
|
const lo = /* @__PURE__ */ an(fa, [["render", wa], ["__scopeId", "data-v-cb61958b"]]), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1392
1392
|
__proto__: null,
|
|
1393
1393
|
default: lo
|
|
1394
|
-
}, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.
|
|
1394
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.54", qn = {
|
|
1395
1395
|
getMe() {
|
|
1396
1396
|
return pe().get("/users/me");
|
|
1397
1397
|
},
|
|
@@ -5828,7 +5828,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5828
5828
|
app_region: "지역",
|
|
5829
5829
|
app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
|
|
5830
5830
|
}
|
|
5831
|
-
}, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() =>
|
|
5831
|
+
}, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-7_VeMwh2.js"), Na = () => Promise.resolve().then(() => qu), Oa = () => import("./Apps-Dnw2La4O.js"), La = () => import("./Billing-C9TDWfv1.js"), za = () => import("./CustomApp-CjMfIsaK.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
|
|
5832
5832
|
{
|
|
5833
5833
|
path: "/welcome",
|
|
5834
5834
|
name: "AuthWelcome",
|
|
@@ -6821,11 +6821,11 @@ var b = {
|
|
|
6821
6821
|
ID_TOKEN_RESPONSE_TYPE: "id_token",
|
|
6822
6822
|
SHR_NONCE_VALIDITY: 240,
|
|
6823
6823
|
INVALID_INSTANCE: "invalid_instance"
|
|
6824
|
-
},
|
|
6824
|
+
}, ir = [
|
|
6825
6825
|
b.OPENID_SCOPE,
|
|
6826
6826
|
b.PROFILE_SCOPE,
|
|
6827
6827
|
b.OFFLINE_ACCESS_SCOPE
|
|
6828
|
-
], zo = Pr(
|
|
6828
|
+
], zo = Pr(ir, [
|
|
6829
6829
|
b.EMAIL_SCOPE
|
|
6830
6830
|
]), _t;
|
|
6831
6831
|
(function(n) {
|
|
@@ -6861,14 +6861,14 @@ var Ze = {
|
|
|
6861
6861
|
var xo = {
|
|
6862
6862
|
PLAIN: "plain",
|
|
6863
6863
|
S256: "S256"
|
|
6864
|
-
},
|
|
6864
|
+
}, gr;
|
|
6865
6865
|
(function(n) {
|
|
6866
6866
|
n.QUERY = "query", n.FRAGMENT = "fragment", n.FORM_POST = "form_post";
|
|
6867
|
-
})(
|
|
6868
|
-
var
|
|
6867
|
+
})(gr || (gr = {}));
|
|
6868
|
+
var _r;
|
|
6869
6869
|
(function(n) {
|
|
6870
6870
|
n.IMPLICIT_GRANT = "implicit", n.AUTHORIZATION_CODE_GRANT = "authorization_code", n.CLIENT_CREDENTIALS_GRANT = "client_credentials", n.RESOURCE_OWNER_PASSWORD_GRANT = "password", n.REFRESH_TOKEN_GRANT = "refresh_token", n.DEVICE_CODE_GRANT = "device_code", n.JWT_BEARER = "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
6871
|
-
})(
|
|
6871
|
+
})(_r || (_r = {}));
|
|
6872
6872
|
var Jt;
|
|
6873
6873
|
(function(n) {
|
|
6874
6874
|
n.MSSTS_ACCOUNT_TYPE = "MSSTS", n.ADFS_ACCOUNT_TYPE = "ADFS", n.MSAV1_ACCOUNT_TYPE = "MSA", n.GENERIC_ACCOUNT_TYPE = "Generic";
|
|
@@ -6920,10 +6920,10 @@ var Yn = {
|
|
|
6920
6920
|
}, Uo = {
|
|
6921
6921
|
INVALID_GRANT_ERROR: "invalid_grant",
|
|
6922
6922
|
CLIENT_MISMATCH_ERROR: "client_mismatch"
|
|
6923
|
-
},
|
|
6923
|
+
}, vr;
|
|
6924
6924
|
(function(n) {
|
|
6925
6925
|
n.username = "username", n.password = "password";
|
|
6926
|
-
})(
|
|
6926
|
+
})(vr || (vr = {}));
|
|
6927
6927
|
var Nn;
|
|
6928
6928
|
(function(n) {
|
|
6929
6929
|
n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
|
|
@@ -6945,7 +6945,7 @@ var Jr;
|
|
|
6945
6945
|
n.Jwt = "JWT", n.Jwk = "JWK", n.Pop = "pop";
|
|
6946
6946
|
})(Jr || (Jr = {}));
|
|
6947
6947
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6948
|
-
var
|
|
6948
|
+
var dr = {
|
|
6949
6949
|
unexpectedError: {
|
|
6950
6950
|
code: "unexpected_error",
|
|
6951
6951
|
desc: "Unexpected error in authentication."
|
|
@@ -6965,14 +6965,14 @@ var ur = {
|
|
|
6965
6965
|
return e.prototype.setCorrelationId = function(t) {
|
|
6966
6966
|
this.correlationId = t;
|
|
6967
6967
|
}, e.createUnexpectedError = function(t) {
|
|
6968
|
-
return new e(
|
|
6968
|
+
return new e(dr.unexpectedError.code, dr.unexpectedError.desc + ": " + t);
|
|
6969
6969
|
}, e.createPostRequestFailed = function(t) {
|
|
6970
|
-
return new e(
|
|
6970
|
+
return new e(dr.postRequestFailed.code, dr.postRequestFailed.desc + ": " + t);
|
|
6971
6971
|
}, e;
|
|
6972
6972
|
}(Error)
|
|
6973
6973
|
);
|
|
6974
6974
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6975
|
-
var
|
|
6975
|
+
var yr = {
|
|
6976
6976
|
createNewGuid: function() {
|
|
6977
6977
|
var n = "Crypto interface - createNewGuid() has not been implemented";
|
|
6978
6978
|
throw X.createUnexpectedError(n);
|
|
@@ -7746,7 +7746,7 @@ var Je = (
|
|
|
7746
7746
|
}()
|
|
7747
7747
|
);
|
|
7748
7748
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7749
|
-
function
|
|
7749
|
+
function br(n, e) {
|
|
7750
7750
|
if (Q.isEmpty(n))
|
|
7751
7751
|
throw $.createClientInfoEmptyError();
|
|
7752
7752
|
try {
|
|
@@ -7843,7 +7843,7 @@ var Qe = (
|
|
|
7843
7843
|
return s;
|
|
7844
7844
|
if (e)
|
|
7845
7845
|
try {
|
|
7846
|
-
var l =
|
|
7846
|
+
var l = br(e, o);
|
|
7847
7847
|
if (!Q.isEmpty(l.uid) && !Q.isEmpty(l.utid))
|
|
7848
7848
|
return "" + l.uid + He.CLIENT_INFO_SEPARATOR + l.utid;
|
|
7849
7849
|
} catch {
|
|
@@ -8394,9 +8394,9 @@ function Wa(n) {
|
|
|
8394
8394
|
systemOptions: ye(ye({}, bi), t),
|
|
8395
8395
|
loggerOptions: E,
|
|
8396
8396
|
cacheOptions: ye(ye({}, Ka), o),
|
|
8397
|
-
storageInterface: i || new Ha(e.clientId,
|
|
8397
|
+
storageInterface: i || new Ha(e.clientId, yr, new ho(E)),
|
|
8398
8398
|
networkInterface: a || Ga,
|
|
8399
|
-
cryptoInterface: s ||
|
|
8399
|
+
cryptoInterface: s || yr,
|
|
8400
8400
|
clientCredentials: l || Qa,
|
|
8401
8401
|
libraryInfo: ye(ye({}, Va), p),
|
|
8402
8402
|
telemetry: ye(ye({}, Ya), u),
|
|
@@ -8421,7 +8421,7 @@ var An = (
|
|
|
8421
8421
|
}(X)
|
|
8422
8422
|
);
|
|
8423
8423
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8424
|
-
var
|
|
8424
|
+
var wr = (
|
|
8425
8425
|
/** @class */
|
|
8426
8426
|
function() {
|
|
8427
8427
|
function n() {
|
|
@@ -8485,7 +8485,7 @@ var Xa = (
|
|
|
8485
8485
|
return se(this, function(a) {
|
|
8486
8486
|
switch (a.label) {
|
|
8487
8487
|
case 0:
|
|
8488
|
-
|
|
8488
|
+
wr.preProcess(this.cacheManager, e), a.label = 1;
|
|
8489
8489
|
case 1:
|
|
8490
8490
|
return a.trys.push([1, 3, , 4]), [4, this.networkClient.sendPostRequestAsync(t, r)];
|
|
8491
8491
|
case 2:
|
|
@@ -8493,7 +8493,7 @@ var Xa = (
|
|
|
8493
8493
|
case 3:
|
|
8494
8494
|
throw i = a.sent(), i instanceof X ? i : $.createNetworkError(t, i);
|
|
8495
8495
|
case 4:
|
|
8496
|
-
return
|
|
8496
|
+
return wr.postProcess(this.cacheManager, e, o), [2, o];
|
|
8497
8497
|
}
|
|
8498
8498
|
});
|
|
8499
8499
|
});
|
|
@@ -8558,12 +8558,12 @@ var Jn = (
|
|
|
8558
8558
|
}, n.prototype.addResponseTypeForTokenAndIdToken = function() {
|
|
8559
8559
|
this.parameters.set(ce.RESPONSE_TYPE, encodeURIComponent(b.TOKEN_RESPONSE_TYPE + " " + b.ID_TOKEN_RESPONSE_TYPE));
|
|
8560
8560
|
}, n.prototype.addResponseMode = function(e) {
|
|
8561
|
-
this.parameters.set(ce.RESPONSE_MODE, encodeURIComponent(e ||
|
|
8561
|
+
this.parameters.set(ce.RESPONSE_MODE, encodeURIComponent(e || gr.QUERY));
|
|
8562
8562
|
}, n.prototype.addNativeBroker = function() {
|
|
8563
8563
|
this.parameters.set(ce.NATIVE_BROKER, encodeURIComponent("1"));
|
|
8564
8564
|
}, n.prototype.addScopes = function(e, t) {
|
|
8565
8565
|
t === void 0 && (t = !0);
|
|
8566
|
-
var r = t ? Pr(e || [],
|
|
8566
|
+
var r = t ? Pr(e || [], ir) : e || [], o = new Je(r);
|
|
8567
8567
|
this.parameters.set(ce.SCOPE, encodeURIComponent(o.printScopes()));
|
|
8568
8568
|
}, n.prototype.addClientId = function(e) {
|
|
8569
8569
|
this.parameters.set(ce.CLIENT_ID, encodeURIComponent(e));
|
|
@@ -8644,9 +8644,9 @@ var Jn = (
|
|
|
8644
8644
|
values: t
|
|
8645
8645
|
}), JSON.stringify(r);
|
|
8646
8646
|
}, n.prototype.addUsername = function(e) {
|
|
8647
|
-
this.parameters.set(
|
|
8647
|
+
this.parameters.set(vr.username, encodeURIComponent(e));
|
|
8648
8648
|
}, n.prototype.addPassword = function(e) {
|
|
8649
|
-
this.parameters.set(
|
|
8649
|
+
this.parameters.set(vr.password, encodeURIComponent(e));
|
|
8650
8650
|
}, n.prototype.addPopToken = function(e) {
|
|
8651
8651
|
Q.isEmpty(e) || (this.parameters.set(ce.TOKEN_TYPE, ke.POP), this.parameters.set(ce.REQ_CNF, encodeURIComponent(e)));
|
|
8652
8652
|
}, n.prototype.addSshJwk = function(e) {
|
|
@@ -9034,10 +9034,10 @@ var R;
|
|
|
9034
9034
|
(function(n) {
|
|
9035
9035
|
n.AcquireTokenByCode = "acquireTokenByCode", n.AcquireTokenByRefreshToken = "acquireTokenByRefreshToken", n.AcquireTokenSilent = "acquireTokenSilent", n.AcquireTokenSilentAsync = "acquireTokenSilentAsync", n.AcquireTokenPopup = "acquireTokenPopup", n.CryptoOptsGetPublicKeyThumbprint = "cryptoOptsGetPublicKeyThumbprint", n.CryptoOptsSignJwt = "cryptoOptsSignJwt", n.SilentCacheClientAcquireToken = "silentCacheClientAcquireToken", n.SilentIframeClientAcquireToken = "silentIframeClientAcquireToken", n.SilentRefreshClientAcquireToken = "silentRefreshClientAcquireToken", n.SsoSilent = "ssoSilent", n.StandardInteractionClientGetDiscoveredAuthority = "standardInteractionClientGetDiscoveredAuthority", n.FetchAccountIdWithNativeBroker = "fetchAccountIdWithNativeBroker", n.NativeInteractionClientAcquireToken = "nativeInteractionClientAcquireToken", n.BaseClientCreateTokenRequestHeaders = "baseClientCreateTokenRequestHeaders", n.BrokerHandhshake = "brokerHandshake", n.AcquireTokenByRefreshTokenInBroker = "acquireTokenByRefreshTokenInBroker", n.AcquireTokenByBroker = "acquireTokenByBroker", n.RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest", n.RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken", n.RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken", n.RefreshTokenClientAcquireTokenByRefreshToken = "refreshTokenClientAcquireTokenByRefreshToken", n.RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody", n.AcquireTokenFromCache = "acquireTokenFromCache", n.AcquireTokenBySilentIframe = "acquireTokenBySilentIframe", n.InitializeBaseRequest = "initializeBaseRequest", n.InitializeSilentRequest = "initializeSilentRequest", n.InitializeClientApplication = "initializeClientApplication", n.SilentIframeClientTokenHelper = "silentIframeClientTokenHelper", n.SilentHandlerInitiateAuthRequest = "silentHandlerInitiateAuthRequest", n.SilentHandlerMonitorIframeForHash = "silentHandlerMonitorIframeForHash", n.SilentHandlerLoadFrame = "silentHandlerLoadFrame", n.StandardInteractionClientCreateAuthCodeClient = "standardInteractionClientCreateAuthCodeClient", n.StandardInteractionClientGetClientConfiguration = "standardInteractionClientGetClientConfiguration", n.StandardInteractionClientInitializeAuthorizationRequest = "standardInteractionClientInitializeAuthorizationRequest", n.StandardInteractionClientInitializeAuthorizationCodeRequest = "standardInteractionClientInitializeAuthorizationCodeRequest", n.GetAuthCodeUrl = "getAuthCodeUrl", n.HandleCodeResponseFromServer = "handleCodeResponseFromServer", n.HandleCodeResponseFromHash = "handleCodeResponseFromHash", n.UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority", n.AuthClientAcquireToken = "authClientAcquireToken", n.AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest", n.AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody", n.AuthClientCreateQueryString = "authClientCreateQueryString", n.PopTokenGenerateCnf = "popTokenGenerateCnf", n.PopTokenGenerateKid = "popTokenGenerateKid", n.HandleServerTokenResponse = "handleServerTokenResponse", n.AuthorityFactoryCreateDiscoveredInstance = "authorityFactoryCreateDiscoveredInstance", n.AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync", n.AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork", n.AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata", n.AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork", n.AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata", n.AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation", n.RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion", n.RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS", n.RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion", n.AcquireTokenByCodeAsync = "acquireTokenByCodeAsync", n.GetEndpointMetadataFromNetwork = "getEndpointMetadataFromNetwork", n.GetCloudDiscoveryMetadataFromNetworkMeasurement = "getCloudDiscoveryMetadataFromNetworkMeasurement", n.HandleRedirectPromiseMeasurement = "handleRedirectPromiseMeasurement", n.UpdateCloudDiscoveryMetadataMeasurement = "updateCloudDiscoveryMetadataMeasurement", n.UsernamePasswordClientAcquireToken = "usernamePasswordClientAcquireToken", n.NativeMessageHandlerHandshake = "nativeMessageHandlerHandshake", n.ClearTokensAndKeysWithClaims = "clearTokensAndKeysWithClaims";
|
|
9036
9036
|
})(R || (R = {}));
|
|
9037
|
-
var
|
|
9037
|
+
var kr;
|
|
9038
9038
|
(function(n) {
|
|
9039
9039
|
n[n.NotStarted = 0] = "NotStarted", n[n.InProgress = 1] = "InProgress", n[n.Completed = 2] = "Completed";
|
|
9040
|
-
})(
|
|
9040
|
+
})(kr || (kr = {}));
|
|
9041
9041
|
var es = /* @__PURE__ */ new Set([
|
|
9042
9042
|
"accessTokenSize",
|
|
9043
9043
|
"durationMs",
|
|
@@ -9167,7 +9167,7 @@ var ts = (
|
|
|
9167
9167
|
}()
|
|
9168
9168
|
);
|
|
9169
9169
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9170
|
-
var
|
|
9170
|
+
var Cr = (
|
|
9171
9171
|
/** @class */
|
|
9172
9172
|
function() {
|
|
9173
9173
|
function n(e, t, r, o, i, a, s) {
|
|
@@ -9180,7 +9180,7 @@ var kr = (
|
|
|
9180
9180
|
throw $.createStateMismatchError();
|
|
9181
9181
|
if (e.error || e.error_description || e.suberror)
|
|
9182
9182
|
throw Mt.isInteractionRequiredError(e.error, e.error_description, e.suberror) ? new Mt(e.error || b.EMPTY_STRING, e.error_description, e.suberror, e.timestamp || b.EMPTY_STRING, e.trace_id || b.EMPTY_STRING, e.correlation_id || b.EMPTY_STRING, e.claims || b.EMPTY_STRING) : new An(e.error || b.EMPTY_STRING, e.error_description, e.suberror);
|
|
9183
|
-
e.client_info &&
|
|
9183
|
+
e.client_info && br(e.client_info, r);
|
|
9184
9184
|
}, n.prototype.validateTokenResponse = function(e) {
|
|
9185
9185
|
if (e.error || e.error_description || e.suberror) {
|
|
9186
9186
|
if (Mt.isInteractionRequiredError(e.error, e.error_description, e.suberror))
|
|
@@ -9331,7 +9331,7 @@ var wi = (
|
|
|
9331
9331
|
case 1:
|
|
9332
9332
|
return f = G.sent(), k = (s = f.headers) === null || s === void 0 ? void 0 : s[_t.X_MS_REQUEST_ID], E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_HTTP_VERSION], E && (u == null || u.addStaticFields({
|
|
9333
9333
|
httpVerAuthority: E
|
|
9334
|
-
})), P = new
|
|
9334
|
+
})), P = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(R.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, m, t, r, void 0, void 0, void 0, k).then(function(x) {
|
|
9335
9335
|
return u == null || u.endMeasurement({
|
|
9336
9336
|
success: !0
|
|
9337
9337
|
}), x;
|
|
@@ -9346,7 +9346,7 @@ var wi = (
|
|
|
9346
9346
|
});
|
|
9347
9347
|
});
|
|
9348
9348
|
}, e.prototype.handleFragmentResponse = function(t, r) {
|
|
9349
|
-
var o = new
|
|
9349
|
+
var o = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, null, null), i = new he(t), a = he.getDeserializedHash(i.getHash());
|
|
9350
9350
|
if (o.validateServerAuthorizationCodeResponse(a, r, this.cryptoUtils), !a.code)
|
|
9351
9351
|
throw $.createNoAuthCodeInServerResponseError();
|
|
9352
9352
|
return ye(ye({}, a), {
|
|
@@ -9369,7 +9369,7 @@ var wi = (
|
|
|
9369
9369
|
case 1:
|
|
9370
9370
|
if (l = k.sent(), p = void 0, r.clientInfo)
|
|
9371
9371
|
try {
|
|
9372
|
-
u =
|
|
9372
|
+
u = br(r.clientInfo, this.cryptoUtils), p = {
|
|
9373
9373
|
credential: "" + u.uid + He.CLIENT_INFO_SEPARATOR + u.utid,
|
|
9374
9374
|
type: mt.HOME_ACCOUNT_ID
|
|
9375
9375
|
};
|
|
@@ -9397,7 +9397,7 @@ var wi = (
|
|
|
9397
9397
|
return se(this, function(k) {
|
|
9398
9398
|
switch (k.label) {
|
|
9399
9399
|
case 0:
|
|
9400
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.AuthClientCreateTokenRequestBody, t.correlationId), i = new Jn(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : kn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(
|
|
9400
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.AuthClientCreateTokenRequestBody, t.correlationId), i = new Jn(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : kn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(_r.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== ke.POP ? [3, 2] : (s = new Dn(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(R.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
|
|
9401
9401
|
case 1:
|
|
9402
9402
|
return l = k.sent(), i.addPopToken(l.reqCnfString), [3, 3];
|
|
9403
9403
|
case 2:
|
|
@@ -9410,7 +9410,7 @@ var wi = (
|
|
|
9410
9410
|
case 3:
|
|
9411
9411
|
if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!Q.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), u = void 0, t.clientInfo)
|
|
9412
9412
|
try {
|
|
9413
|
-
m =
|
|
9413
|
+
m = br(t.clientInfo, this.cryptoUtils), u = {
|
|
9414
9414
|
credential: "" + m.uid + He.CLIENT_INFO_SEPARATOR + m.utid,
|
|
9415
9415
|
type: mt.HOME_ACCOUNT_ID
|
|
9416
9416
|
};
|
|
@@ -9515,7 +9515,7 @@ var ki = (
|
|
|
9515
9515
|
refreshTokenSize: ((s = f.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
|
|
9516
9516
|
}), k && (u == null || u.addStaticFields({
|
|
9517
9517
|
httpVerToken: k
|
|
9518
|
-
})), E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_REQUEST_ID], P = new
|
|
9518
|
+
})), E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_REQUEST_ID], P = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(R.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, m, t, void 0, void 0, !0, t.forceCache, E).then(function(x) {
|
|
9519
9519
|
return u == null || u.endMeasurement({
|
|
9520
9520
|
success: !0
|
|
9521
9521
|
}), x;
|
|
@@ -9602,7 +9602,7 @@ var ki = (
|
|
|
9602
9602
|
return se(this, function(k) {
|
|
9603
9603
|
switch (k.label) {
|
|
9604
9604
|
case 0:
|
|
9605
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(R.BaseClientCreateTokenRequestHeaders, a), l = new Jn(), l.addClientId(this.config.authOptions.clientId), l.addScopes(t.scopes), l.addGrantType(
|
|
9605
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(R.BaseClientCreateTokenRequestHeaders, a), l = new Jn(), l.addClientId(this.config.authOptions.clientId), l.addScopes(t.scopes), l.addGrantType(_r.REFRESH_TOKEN_GRANT), l.addClientInfo(), l.addLibraryInfo(this.config.libraryInfo), l.addApplicationTelemetry(this.config.telemetry.application), l.addThrottling(), this.serverTelemetryManager && l.addServerTelemetry(this.serverTelemetryManager), l.addCorrelationId(a), l.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && l.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, l.addClientAssertion(p.assertion), l.addClientAssertionType(p.assertionType)), t.authenticationScheme !== ke.POP ? [3, 2] : (u = new Dn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(R.PopTokenGenerateCnf, t.correlationId), [4, u.generateCnf(t)]);
|
|
9606
9606
|
case 1:
|
|
9607
9607
|
return m = k.sent(), l.addPopToken(m.reqCnfString), [3, 3];
|
|
9608
9608
|
case 2:
|
|
@@ -9704,7 +9704,7 @@ var ns = (
|
|
|
9704
9704
|
throw $.createAuthTimeNotFoundError();
|
|
9705
9705
|
Vt.checkMaxAge(i, r.maxAge);
|
|
9706
9706
|
}
|
|
9707
|
-
return [4,
|
|
9707
|
+
return [4, Cr.generateAuthenticationResult(this.cryptoUtils, this.authority, t, !0, r, o)];
|
|
9708
9708
|
case 1:
|
|
9709
9709
|
return [2, a.sent()];
|
|
9710
9710
|
}
|
|
@@ -10224,7 +10224,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
10224
10224
|
}()
|
|
10225
10225
|
);
|
|
10226
10226
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10227
|
-
var
|
|
10227
|
+
var Er = (
|
|
10228
10228
|
/** @class */
|
|
10229
10229
|
function() {
|
|
10230
10230
|
function n() {
|
|
@@ -10258,7 +10258,7 @@ var Cr = (
|
|
|
10258
10258
|
}()
|
|
10259
10259
|
);
|
|
10260
10260
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10261
|
-
var
|
|
10261
|
+
var Tr = (
|
|
10262
10262
|
/** @class */
|
|
10263
10263
|
function() {
|
|
10264
10264
|
function n() {
|
|
@@ -10296,7 +10296,7 @@ var ss = {
|
|
|
10296
10296
|
}
|
|
10297
10297
|
};
|
|
10298
10298
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10299
|
-
var
|
|
10299
|
+
var pr = {
|
|
10300
10300
|
missingKidError: {
|
|
10301
10301
|
code: "missing_kid_error",
|
|
10302
10302
|
desc: "The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."
|
|
@@ -10314,9 +10314,9 @@ var dr = {
|
|
|
10314
10314
|
return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
|
|
10315
10315
|
}
|
|
10316
10316
|
return e.createMissingKidError = function() {
|
|
10317
|
-
return new e(
|
|
10317
|
+
return new e(pr.missingKidError.code, pr.missingKidError.desc);
|
|
10318
10318
|
}, e.createMissingAlgError = function() {
|
|
10319
|
-
return new e(
|
|
10319
|
+
return new e(pr.missingAlgError.code, pr.missingAlgError.desc);
|
|
10320
10320
|
}, e;
|
|
10321
10321
|
}(X)
|
|
10322
10322
|
);
|
|
@@ -10362,14 +10362,14 @@ var ls = (
|
|
|
10362
10362
|
var e = this.getLastRequests();
|
|
10363
10363
|
return e.cacheHits += 1, this.cacheManager.setServerTelemetry(this.telemetryCacheKey, e), e.cacheHits;
|
|
10364
10364
|
}, n.prototype.getLastRequests = function() {
|
|
10365
|
-
var e = new
|
|
10365
|
+
var e = new Tr(), t = this.cacheManager.getServerTelemetry(this.telemetryCacheKey);
|
|
10366
10366
|
return t || e;
|
|
10367
10367
|
}, n.prototype.clearTelemetryCache = function() {
|
|
10368
10368
|
var e = this.getLastRequests(), t = n.maxErrorsToSend(e), r = e.errors.length;
|
|
10369
10369
|
if (t === r)
|
|
10370
10370
|
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
10371
10371
|
else {
|
|
10372
|
-
var o = new
|
|
10372
|
+
var o = new Tr();
|
|
10373
10373
|
o.failedRequests = e.failedRequests.slice(t * 2), o.errors = e.errors.slice(t), this.cacheManager.setServerTelemetry(this.telemetryCacheKey, o);
|
|
10374
10374
|
}
|
|
10375
10375
|
}, n.maxErrorsToSend = function(e) {
|
|
@@ -10446,7 +10446,7 @@ var Ei = (
|
|
|
10446
10446
|
s.startMeasurement();
|
|
10447
10447
|
var l = {
|
|
10448
10448
|
eventId: this.generateId(),
|
|
10449
|
-
status:
|
|
10449
|
+
status: kr.InProgress,
|
|
10450
10450
|
authority: this.authority,
|
|
10451
10451
|
libraryName: this.libraryName,
|
|
10452
10452
|
libraryVersion: this.libraryVersion,
|
|
@@ -10491,7 +10491,7 @@ var Ei = (
|
|
|
10491
10491
|
var u = ye(ye({}, a), e), m = 0;
|
|
10492
10492
|
return (i = u.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(f) {
|
|
10493
10493
|
r.logger.trace("PerformanceClient: Incomplete submeasurement " + f.name + " found for " + e.name, u.correlationId), m++;
|
|
10494
|
-
}), u.incompleteSubMeasurements = void 0, u = ye(ye({}, u), { durationMs: Math.round(p), queuedTimeMs: l.totalQueueTime, queuedCount: l.totalQueueCount, queuedManuallyCompletedCount: l.manuallyCompletedCount, status:
|
|
10494
|
+
}), u.incompleteSubMeasurements = void 0, u = ye(ye({}, u), { durationMs: Math.round(p), queuedTimeMs: l.totalQueueTime, queuedCount: l.totalQueueCount, queuedManuallyCompletedCount: l.manuallyCompletedCount, status: kr.Completed, incompleteSubsCount: m }), this.truncateIntegralFields(u, this.getIntFields()), this.emitEvents([u], e.correlationId), u;
|
|
10495
10495
|
}, n.prototype.addStaticFields = function(e, t) {
|
|
10496
10496
|
this.logger.trace("PerformanceClient: Updating static fields");
|
|
10497
10497
|
var r = this.eventsByCorrelationId.get(t);
|
|
@@ -10927,7 +10927,7 @@ var Ko;
|
|
|
10927
10927
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
10928
10928
|
})(Ko || (Ko = {}));
|
|
10929
10929
|
var Go = {
|
|
10930
|
-
scopes:
|
|
10930
|
+
scopes: ir
|
|
10931
10931
|
}, jn = "jwk", Vo;
|
|
10932
10932
|
(function(n) {
|
|
10933
10933
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
@@ -10970,7 +10970,7 @@ var it = {
|
|
|
10970
10970
|
code: "entropy_not_provided",
|
|
10971
10971
|
desc: "The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."
|
|
10972
10972
|
}
|
|
10973
|
-
},
|
|
10973
|
+
}, Sr = (
|
|
10974
10974
|
/** @class */
|
|
10975
10975
|
function(n) {
|
|
10976
10976
|
$e(e, n);
|
|
@@ -11004,10 +11004,10 @@ var Qo = (
|
|
|
11004
11004
|
}
|
|
11005
11005
|
return n.prototype.validateWindowStorage = function(e) {
|
|
11006
11006
|
if (e !== xe.LocalStorage && e !== xe.SessionStorage)
|
|
11007
|
-
throw
|
|
11007
|
+
throw Sr.createStorageNotSupportedError(e);
|
|
11008
11008
|
var t = !!window[e];
|
|
11009
11009
|
if (!t)
|
|
11010
|
-
throw
|
|
11010
|
+
throw Sr.createStorageNotSupportedError(e);
|
|
11011
11011
|
}, n.prototype.getItem = function(e) {
|
|
11012
11012
|
return this.windowStorage.getItem(e);
|
|
11013
11013
|
}, n.prototype.setItem = function(e, t) {
|
|
@@ -11321,7 +11321,7 @@ var ro = (
|
|
|
11321
11321
|
if (!r)
|
|
11322
11322
|
return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null;
|
|
11323
11323
|
var o = this.validateAndParseJson(r);
|
|
11324
|
-
return !o || !
|
|
11324
|
+
return !o || !Tr.isServerTelemetryEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"), at.toObject(new Tr(), o));
|
|
11325
11325
|
}, e.prototype.setServerTelemetry = function(t, r) {
|
|
11326
11326
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called"), this.setItem(t, JSON.stringify(r));
|
|
11327
11327
|
}, e.prototype.getAuthorityMetadata = function(t) {
|
|
@@ -11626,7 +11626,7 @@ var ro = (
|
|
|
11626
11626
|
cacheMigrationEnabled: !1,
|
|
11627
11627
|
claimsBasedCachingEnabled: !0
|
|
11628
11628
|
};
|
|
11629
|
-
return new ro(n, t,
|
|
11629
|
+
return new ro(n, t, yr, e);
|
|
11630
11630
|
};
|
|
11631
11631
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11632
11632
|
var Dr = "@azure/msal-browser", Zn = "2.38.3";
|
|
@@ -11938,11 +11938,11 @@ var Si = (
|
|
|
11938
11938
|
knownAuthorities: this.config.auth.knownAuthorities,
|
|
11939
11939
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
11940
11940
|
authorityMetadata: this.config.auth.authorityMetadata
|
|
11941
|
-
}, e ? (this.logger.verbose("Creating discovered authority with request authority"), [4,
|
|
11941
|
+
}, e ? (this.logger.verbose("Creating discovered authority with request authority"), [4, Er.createDiscoveredInstance(e, this.config.system.networkClient, this.browserStorage, t, this.logger)]) : [3, 2];
|
|
11942
11942
|
case 1:
|
|
11943
11943
|
return [2, r.sent()];
|
|
11944
11944
|
case 2:
|
|
11945
|
-
return this.logger.verbose("Creating discovered authority with configured authority"), [4,
|
|
11945
|
+
return this.logger.verbose("Creating discovered authority with configured authority"), [4, Er.createDiscoveredInstance(this.config.auth.authority, this.config.system.networkClient, this.browserStorage, t, this.logger)];
|
|
11946
11946
|
case 3:
|
|
11947
11947
|
return [2, r.sent()];
|
|
11948
11948
|
}
|
|
@@ -12070,7 +12070,7 @@ var Hn = (
|
|
|
12070
12070
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
12071
12071
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
12072
12072
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
|
|
12073
|
-
}, s = t || this.config.auth.authority, l = rr.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(R.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4,
|
|
12073
|
+
}, s = t || this.config.auth.authority, l = rr.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(R.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, Er.createDiscoveredInstance(l, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(u) {
|
|
12074
12074
|
return i.endMeasurement({
|
|
12075
12075
|
success: !0
|
|
12076
12076
|
}), u;
|
|
@@ -12096,7 +12096,7 @@ var Hn = (
|
|
|
12096
12096
|
interactionType: r
|
|
12097
12097
|
}, a = tn.setRequestState(this.browserCrypto, t && t.state || b.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(R.InitializeBaseRequest, this.correlationId), l = [{}], [4, this.initializeBaseRequest(t)];
|
|
12098
12098
|
case 1:
|
|
12099
|
-
return s = J.apply(void 0, [J.apply(void 0, l.concat([m.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode:
|
|
12099
|
+
return s = J.apply(void 0, [J.apply(void 0, l.concat([m.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: gr.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), Q.isEmpty(s.loginHint) && !p && (u = this.browserStorage.getLegacyLoginHint(), u && (s.loginHint = u)), [2, s];
|
|
12100
12100
|
}
|
|
12101
12101
|
});
|
|
12102
12102
|
});
|
|
@@ -12150,7 +12150,7 @@ var _o = (
|
|
|
12150
12150
|
return z(this, function(a) {
|
|
12151
12151
|
switch (a.label) {
|
|
12152
12152
|
case 0:
|
|
12153
|
-
return this.performanceClient.addQueueMeasurement(R.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), o = "https://" + e + "/" + t.tenant + "/", [4,
|
|
12153
|
+
return this.performanceClient.addQueueMeasurement(R.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), o = "https://" + e + "/" + t.tenant + "/", [4, Er.createDiscoveredInstance(o, r, this.browserStorage, t.options, this.logger, this.performanceClient, this.authCodeRequest.correlationId)];
|
|
12154
12154
|
case 1:
|
|
12155
12155
|
return i = a.sent(), this.authModule.updateAuthority(i), [
|
|
12156
12156
|
2
|
|
@@ -12651,7 +12651,7 @@ var Bn = (
|
|
|
12651
12651
|
case 1:
|
|
12652
12652
|
E.sent(), E.label = 2;
|
|
12653
12653
|
case 2:
|
|
12654
|
-
return o = new he(r), o.validateAsUri(), i = t.scopes, a = Lo(t, ["scopes"]), s = new Je(i || []), s.appendScopes(
|
|
12654
|
+
return o = new he(r), o.validateAsUri(), i = t.scopes, a = Lo(t, ["scopes"]), s = new Je(i || []), s.appendScopes(ir), l = function() {
|
|
12655
12655
|
switch (k.apiId) {
|
|
12656
12656
|
case Ie.ssoSilent:
|
|
12657
12657
|
case Ie.acquireTokenSilent_silentFlow:
|
|
@@ -12943,7 +12943,7 @@ var gs = (
|
|
|
12943
12943
|
throw K.createNoCachedAuthorityError();
|
|
12944
12944
|
return this.performanceClient.setPreQueueTime(R.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
|
|
12945
12945
|
case 1:
|
|
12946
|
-
return u = k.sent(), this.logger.verbose("Auth code client created"),
|
|
12946
|
+
return u = k.sent(), this.logger.verbose("Auth code client created"), wr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new $o(u, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, m.handleCodeResponseFromHash(t, r, u.authority, this.networkClient)];
|
|
12947
12947
|
case 2:
|
|
12948
12948
|
return [2, k.sent()];
|
|
12949
12949
|
}
|
|
@@ -13011,7 +13011,7 @@ var _s = (
|
|
|
13011
13011
|
}
|
|
13012
13012
|
return e.prototype.acquireToken = function(t) {
|
|
13013
13013
|
try {
|
|
13014
|
-
var r = this.generatePopupName(t.scopes ||
|
|
13014
|
+
var r = this.generatePopupName(t.scopes || ir, t.authority || this.config.auth.authority), o = t.popupWindowAttributes || {};
|
|
13015
13015
|
if (this.config.system.asyncPopups)
|
|
13016
13016
|
return this.logger.verbose("asyncPopups set to true, acquiring token"), this.acquireTokenPopupAsync(t, r, o);
|
|
13017
13017
|
this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");
|
|
@@ -13054,7 +13054,7 @@ var _s = (
|
|
|
13054
13054
|
popupWindowAttributes: o
|
|
13055
13055
|
}, P = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(oe.POPUP_OPENED, Y.Popup, { popupWindow: P }, null), [4, this.monitorPopupForHash(P)];
|
|
13056
13056
|
case 6:
|
|
13057
|
-
if (F = I.sent(), G = he.getDeserializedHash(F), x = this.validateAndExtractStateFromHash(G, Y.Popup, s.correlationId),
|
|
13057
|
+
if (F = I.sent(), G = he.getDeserializedHash(F), x = this.validateAndExtractStateFromHash(G, Y.Popup, s.correlationId), wr.removeThrottle(this.browserStorage, this.config.auth.clientId, l), G.accountId) {
|
|
13058
13058
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), m && m.endMeasurement({
|
|
13059
13059
|
success: !0,
|
|
13060
13060
|
isNativeBroker: !0
|
|
@@ -13874,7 +13874,7 @@ var Ns = "RSASSA-PKCS1-v1_5", Yo = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13874
13874
|
throw this.hasMsrCrypto() && this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"), this.logger.error("BrowserCrypto: No crypto interfaces available."), K.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");
|
|
13875
13875
|
if (this.subtleCrypto.initPrng) {
|
|
13876
13876
|
if (this.logger.verbose("BrowserCrypto: Interface requires entropy"), !(!((o = this.cryptoOptions) === null || o === void 0) && o.entropy))
|
|
13877
|
-
throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),
|
|
13877
|
+
throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."), Sr.createEntropyNotProvided();
|
|
13878
13878
|
this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
|
|
13879
13879
|
}
|
|
13880
13880
|
this.keygenAlgorithmOptions = {
|
|
@@ -14232,15 +14232,15 @@ var Wo = (
|
|
|
14232
14232
|
}()
|
|
14233
14233
|
);
|
|
14234
14234
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14235
|
-
var
|
|
14235
|
+
var Ir;
|
|
14236
14236
|
(function(n) {
|
|
14237
14237
|
n.asymmetricKeys = "asymmetricKeys", n.symmetricKeys = "symmetricKeys";
|
|
14238
|
-
})(
|
|
14238
|
+
})(Ir || (Ir = {}));
|
|
14239
14239
|
var xs = (
|
|
14240
14240
|
/** @class */
|
|
14241
14241
|
function() {
|
|
14242
14242
|
function n(e) {
|
|
14243
|
-
this.logger = e, this.asymmetricKeys = new Wo(this.logger,
|
|
14243
|
+
this.logger = e, this.asymmetricKeys = new Wo(this.logger, Ir.asymmetricKeys), this.symmetricKeys = new Wo(this.logger, Ir.symmetricKeys);
|
|
14244
14244
|
}
|
|
14245
14245
|
return n.prototype.clear = function() {
|
|
14246
14246
|
return L(this, void 0, void 0, function() {
|
|
@@ -14647,7 +14647,7 @@ var Fs = (
|
|
|
14647
14647
|
/** @class */
|
|
14648
14648
|
function() {
|
|
14649
14649
|
function n(e) {
|
|
14650
|
-
this.isBrowserEnvironment = typeof window < "u", this.config = ks(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new ho(this.config.system.loggerOptions, Dr, Zn), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Bs(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application, this.config.system.cryptoOptions) : new us(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new Us(this.logger, this.performanceClient, this.config.system.cryptoOptions) :
|
|
14650
|
+
this.isBrowserEnvironment = typeof window < "u", this.config = ks(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new ho(this.config.system.loggerOptions, Dr, Zn), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Bs(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application, this.config.system.cryptoOptions) : new us(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new Us(this.logger, this.performanceClient, this.config.system.cryptoOptions) : yr, this.eventHandler = new Ts(this.logger, this.browserCrypto), this.browserStorage = this.isBrowserEnvironment ? new ro(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger) : hs(this.config.auth.clientId, this.logger);
|
|
14651
14651
|
var t = {
|
|
14652
14652
|
cacheLocation: xe.MemoryStorage,
|
|
14653
14653
|
temporaryCacheLocation: xe.MemoryStorage,
|
|
@@ -14985,7 +14985,7 @@ var Fs = (
|
|
|
14985
14985
|
return this.browserStorage.getActiveAccount();
|
|
14986
14986
|
}, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
|
|
14987
14987
|
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), Pe.blockNonBrowserEnvironment(this.isBrowserEnvironment), Pe.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), Pe.blockReloadInHiddenIframes(), Pe.blockAcquireTokenInPopups(), Pe.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === Y.Redirect && this.config.cache.cacheLocation === xe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
|
|
14988
|
-
throw
|
|
14988
|
+
throw Sr.createInMemoryRedirectUnavailableError();
|
|
14989
14989
|
(e === Y.Redirect || e === Y.Popup) && this.preflightInteractiveRequest(t);
|
|
14990
14990
|
}, n.prototype.preflightInteractiveRequest = function(e) {
|
|
14991
14991
|
this.logger.verbose("preflightInteractiveRequest called, validating app environment"), Pe.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
|
|
@@ -15485,7 +15485,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15485
15485
|
window.addEventListener("message", async (u) => {
|
|
15486
15486
|
if (!this.allowedOriginsAuth.includes(u.origin)) return console.error("Origin is not allowed!");
|
|
15487
15487
|
u.data.type === "okta" && (p = u.data.code, await l.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
|
|
15488
|
-
}, { once: !0 }), this.isNative ? await
|
|
15488
|
+
}, { once: !0 }), this.isNative ? await mr.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
|
|
15489
15489
|
},
|
|
15490
15490
|
async handleOktaRedirect() {
|
|
15491
15491
|
let n = this.$route.query.code, e, t, r, o, i = { type: "okta" };
|
|
@@ -15494,7 +15494,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15494
15494
|
const a = new URLSearchParams(e);
|
|
15495
15495
|
t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
|
|
15496
15496
|
}
|
|
15497
|
-
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await
|
|
15497
|
+
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await mr.close(), ne.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), ne.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
15498
15498
|
}
|
|
15499
15499
|
}
|
|
15500
15500
|
}, Li = {
|
|
@@ -15539,7 +15539,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15539
15539
|
}
|
|
15540
15540
|
},
|
|
15541
15541
|
{ once: !0 }
|
|
15542
|
-
), this.isNative ? this.popupWindow = await
|
|
15542
|
+
), this.isNative ? this.popupWindow = await mr.open({ url: n, presentationStyle: "popover" }) : (this.checkInterval = setInterval(() => {
|
|
15543
15543
|
var s;
|
|
15544
15544
|
const i = localStorage.getItem("auth_code"), a = localStorage.getItem("pkce_code_verifier");
|
|
15545
15545
|
i && (clearInterval(this.checkInterval), localStorage.removeItem("auth_code"), localStorage.removeItem("pkce_code_verifier"), (s = window.parent) == null || s.postMessage({ code: i, state: this.$route.query.state, code_verifier: a }, "*"), a && (this.display === "npm" || this.display === "redirect") && this.exchangeAuthCode({ code: i, code_verifier: a }));
|
|
@@ -15551,7 +15551,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15551
15551
|
if (this.$route.query.code && (n = this.$route.query.code), window.opener)
|
|
15552
15552
|
window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
|
|
15553
15553
|
else {
|
|
15554
|
-
if (this.isNative && this.isiOS && await
|
|
15554
|
+
if (this.isNative && this.isiOS && await mr.close(), ne.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && ((this.display === "popup" || this.display === "npm") && (localStorage.setItem("auth_code", n), this.shouldCloseWindow = !0, (e = window.parent) == null || e.postMessage({ code: n, state: this.$route.query.state }, "*"), this.closeWindow()), this.display === "redirect" || location.host === "auth.tapni.com")) {
|
|
15555
15555
|
let t = "https://auth.tapni.com/callback/auth";
|
|
15556
15556
|
return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
|
|
15557
15557
|
}
|
|
@@ -15777,7 +15777,7 @@ function Ac(n, e, t, r, o, i) {
|
|
|
15777
15777
|
class: "page-login content-boxed content-boxed-padding",
|
|
15778
15778
|
onSubmit: e[15] || (e[15] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
15779
15779
|
autocomplete: "on",
|
|
15780
|
-
style:
|
|
15780
|
+
style: or(n.isModal ? "max-width: 500px;" : "")
|
|
15781
15781
|
}, [
|
|
15782
15782
|
n.isModal ? (O(), U("a", {
|
|
15783
15783
|
key: 0,
|
|
@@ -15838,7 +15838,7 @@ function Ac(n, e, t, r, o, i) {
|
|
|
15838
15838
|
required: "",
|
|
15839
15839
|
minlength: "8"
|
|
15840
15840
|
}, null, 8, ic), [
|
|
15841
|
-
[
|
|
15841
|
+
[fr, o.password]
|
|
15842
15842
|
]),
|
|
15843
15843
|
_("em", {
|
|
15844
15844
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
|
|
@@ -16263,7 +16263,7 @@ function Il(n, e, t, r, o, i) {
|
|
|
16263
16263
|
class: "page-login content-boxed content-boxed-padding",
|
|
16264
16264
|
onSubmit: e[11] || (e[11] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16265
16265
|
autocomplete: "on",
|
|
16266
|
-
style:
|
|
16266
|
+
style: or(t.isModal ? "max-width: 500px;" : "")
|
|
16267
16267
|
}, [
|
|
16268
16268
|
t.isModal ? (O(), U("a", {
|
|
16269
16269
|
key: 0,
|
|
@@ -16350,7 +16350,7 @@ function Il(n, e, t, r, o, i) {
|
|
|
16350
16350
|
required: "",
|
|
16351
16351
|
minlength: "8"
|
|
16352
16352
|
}, null, 8, pl), [
|
|
16353
|
-
[
|
|
16353
|
+
[fr, o.password]
|
|
16354
16354
|
]),
|
|
16355
16355
|
_("em", {
|
|
16356
16356
|
onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
|
|
@@ -16530,7 +16530,7 @@ function Fl(n, e, t, r, o, i) {
|
|
|
16530
16530
|
return O(), U("form", {
|
|
16531
16531
|
class: "page-login content-boxed content-boxed-padding",
|
|
16532
16532
|
onSubmit: e[6] || (e[6] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16533
|
-
style:
|
|
16533
|
+
style: or(t.isModal ? "max-width: 500px;" : "")
|
|
16534
16534
|
}, [
|
|
16535
16535
|
t.isModal ? (O(), U("a", {
|
|
16536
16536
|
key: 0,
|
|
@@ -16954,11 +16954,11 @@ var zi = { exports: {} };
|
|
|
16954
16954
|
var yt = E[Ke];
|
|
16955
16955
|
if (Ke < 16) var De = yt.high = 0 | F[G + 2 * Ke], ht = yt.low = 0 | F[G + 2 * Ke + 1];
|
|
16956
16956
|
else {
|
|
16957
|
-
var yn = E[Ke - 15], Ge = yn.high, Ut = yn.low, h = (Ge >>> 1 | Ut << 31) ^ (Ge >>> 8 | Ut << 24) ^ Ge >>> 7, c = (Ut >>> 1 | Ge << 31) ^ (Ut >>> 8 | Ge << 24) ^ (Ut >>> 7 | Ge << 25), d = E[Ke - 2], g = d.high, w = d.low, S = (g >>> 19 | w << 13) ^ (g << 3 | w >>> 29) ^ g >>> 6, M = (w >>> 19 | g << 13) ^ (w << 3 | g >>> 29) ^ (w >>> 6 | g << 26), ue = E[Ke - 7], Te = ue.high, be = ue.low, Se = E[Ke - 16], ve = Se.high,
|
|
16958
|
-
De = (De = (De = h + Te + ((ht = c + be) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += M) >>> 0 < M >>> 0 ? 1 : 0)) + ve + ((ht +=
|
|
16957
|
+
var yn = E[Ke - 15], Ge = yn.high, Ut = yn.low, h = (Ge >>> 1 | Ut << 31) ^ (Ge >>> 8 | Ut << 24) ^ Ge >>> 7, c = (Ut >>> 1 | Ge << 31) ^ (Ut >>> 8 | Ge << 24) ^ (Ut >>> 7 | Ge << 25), d = E[Ke - 2], g = d.high, w = d.low, S = (g >>> 19 | w << 13) ^ (g << 3 | w >>> 29) ^ g >>> 6, M = (w >>> 19 | g << 13) ^ (w << 3 | g >>> 29) ^ (w >>> 6 | g << 26), ue = E[Ke - 7], Te = ue.high, be = ue.low, Se = E[Ke - 16], ve = Se.high, ar = Se.low;
|
|
16958
|
+
De = (De = (De = h + Te + ((ht = c + be) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += M) >>> 0 < M >>> 0 ? 1 : 0)) + ve + ((ht += ar) >>> 0 < ar >>> 0 ? 1 : 0), yt.high = De, yt.low = ht;
|
|
16959
16959
|
}
|
|
16960
|
-
var It, Nr = Ye & pt ^ ~Ye & xt,
|
|
16961
|
-
vn = xt, St = vt, xt = pt, vt = zt, pt = Ye, zt = Ne, Ye = Yt + (A = (A = (A = A + Nr + ((It +=
|
|
16960
|
+
var It, Nr = Ye & pt ^ ~Ye & xt, sr = Ne & zt ^ ~Ne & vt, Or = qe & Ot ^ qe & tt ^ Ot & tt, Lr = Be & Tt ^ Be & dt ^ Tt & dt, cr = (qe >>> 28 | Be << 4) ^ (qe << 30 | Be >>> 2) ^ (qe << 25 | Be >>> 7), lr = (Be >>> 28 | qe << 4) ^ (Be << 30 | qe >>> 2) ^ (Be << 25 | qe >>> 7), zr = (Ye >>> 14 | Ne << 18) ^ (Ye >>> 18 | Ne << 14) ^ (Ye << 23 | Ne >>> 9), xr = (Ne >>> 14 | Ye << 18) ^ (Ne >>> 18 | Ye << 14) ^ (Ne << 23 | Ye >>> 9), v = k[Ke], y = v.high, C = v.low, A = vn + zr + ((It = St + xr) >>> 0 < St >>> 0 ? 1 : 0), N = lr + Lr;
|
|
16961
|
+
vn = xt, St = vt, xt = pt, vt = zt, pt = Ye, zt = Ne, Ye = Yt + (A = (A = (A = A + Nr + ((It += sr) >>> 0 < sr >>> 0 ? 1 : 0)) + y + ((It += C) >>> 0 < C >>> 0 ? 1 : 0)) + De + ((It += ht) >>> 0 < ht >>> 0 ? 1 : 0)) + ((Ne = Lt + It | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Yt = tt, Lt = dt, tt = Ot, dt = Tt, Ot = qe, Tt = Be, qe = A + (cr + Or + (N >>> 0 < lr >>> 0 ? 1 : 0)) + ((Be = It + N | 0) >>> 0 < It >>> 0 ? 1 : 0) | 0;
|
|
16962
16962
|
}
|
|
16963
16963
|
Ce = T.low = Ce + Be, T.high = re + qe + (Ce >>> 0 < Be >>> 0 ? 1 : 0), de = H.low = de + Tt, H.high = Le + Ot + (de >>> 0 < Tt >>> 0 ? 1 : 0), Et = V.low = Et + dt, V.high = Ue + tt + (Et >>> 0 < dt >>> 0 ? 1 : 0), ut = W.low = ut + Lt, W.high = Nt + Yt + (ut >>> 0 < Lt >>> 0 ? 1 : 0), sn = Z.low = sn + Ne, Z.high = gn + Ye + (sn >>> 0 < Ne >>> 0 ? 1 : 0), cn = I.low = cn + zt, I.high = _n + pt + (cn >>> 0 < zt >>> 0 ? 1 : 0), Re = te.low = Re + vt, te.high = Rn + xt + (Re >>> 0 < vt >>> 0 ? 1 : 0), $t = fe.low = $t + St, fe.high = Me + vn + ($t >>> 0 < St >>> 0 ? 1 : 0);
|
|
16964
16964
|
}, _doFinalize: function() {
|
|
@@ -17448,7 +17448,7 @@ var zi = { exports: {} };
|
|
|
17448
17448
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10;
|
|
17449
17449
|
return Se(N, this.allOptions());
|
|
17450
17450
|
} }]) && c(C.prototype, A), y;
|
|
17451
|
-
}(Ut),
|
|
17451
|
+
}(Ut), ar = s.a.lib.WordArray, It = function(v, y, C) {
|
|
17452
17452
|
var A = function(ge) {
|
|
17453
17453
|
switch (ge) {
|
|
17454
17454
|
case i.SHA1:
|
|
@@ -17462,26 +17462,26 @@ var zi = { exports: {} };
|
|
|
17462
17462
|
}
|
|
17463
17463
|
}(v), N = P.a.parse(C), q = P.a.parse(y);
|
|
17464
17464
|
return String(A(N, q));
|
|
17465
|
-
}, Nr = o(7),
|
|
17466
|
-
function
|
|
17467
|
-
return (
|
|
17465
|
+
}, Nr = o(7), sr = o.n(Nr), Or = o(8), Lr = o.n(Or);
|
|
17466
|
+
function cr(v) {
|
|
17467
|
+
return (cr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
17468
17468
|
return typeof y;
|
|
17469
17469
|
} : function(y) {
|
|
17470
17470
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
17471
17471
|
})(v);
|
|
17472
17472
|
}
|
|
17473
17473
|
o.d(r, "hotp", function() {
|
|
17474
|
-
return
|
|
17474
|
+
return lr;
|
|
17475
17475
|
}), o.d(r, "totp", function() {
|
|
17476
17476
|
return zr;
|
|
17477
17477
|
}), o.d(r, "authenticator", function() {
|
|
17478
17478
|
return xr;
|
|
17479
|
-
}), (typeof window > "u" ? "undefined" :
|
|
17480
|
-
var
|
|
17481
|
-
var C =
|
|
17479
|
+
}), (typeof window > "u" ? "undefined" : cr(window)) === "object" && window.Buffer === void 0 && (window.Buffer = buffer.Buffer);
|
|
17480
|
+
var lr = new qe({ createDigest: It }), zr = new Ut({ createDigest: It }), xr = new ve({ createDigest: It, createRandomBytes: function(v, y) {
|
|
17481
|
+
var C = ar.random(v);
|
|
17482
17482
|
return bn.from(C.toString(), "hex").toString(y);
|
|
17483
17483
|
}, keyDecoder: function(v, y) {
|
|
17484
|
-
var C =
|
|
17484
|
+
var C = sr()(v.toUpperCase(), "RFC4648");
|
|
17485
17485
|
return bn.from(C).toString(y);
|
|
17486
17486
|
}, keyEncoder: function(v, y) {
|
|
17487
17487
|
return Lr()(bn.from(v, y), "RFC4648", { padding: !1 });
|
|
@@ -17583,23 +17583,23 @@ const Kl = {
|
|
|
17583
17583
|
key: 1,
|
|
17584
17584
|
class: "margin-center small-top",
|
|
17585
17585
|
style: { width: "100%" }
|
|
17586
|
-
}, fu = { class: "left-text" }, mu = { key: 0 }, gu = { key: 1 }, _u = { class: "firstRow" }, vu = ["src"], yu =
|
|
17586
|
+
}, fu = { class: "left-text" }, mu = { key: 0 }, gu = { key: 1 }, _u = { class: "firstRow" }, vu = ["src"], yu = ["placeholder"], bu = { class: "small-text small-top-padding small-bottom" }, wu = ["placeholder"], ku = { class: "small-text small-top-padding small-bottom" }, Cu = ["placeholder"], Eu = { class: "small-text small-top-padding small-bottom" }, Tu = {
|
|
17587
17587
|
type: "submit",
|
|
17588
17588
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17589
|
-
},
|
|
17589
|
+
}, Su = { key: 0 }, Iu = {
|
|
17590
17590
|
key: 1,
|
|
17591
17591
|
class: "button--loading button__loader"
|
|
17592
|
-
},
|
|
17592
|
+
}, Au = { class: "center-text font-13 half-top half-bottom" }, Ru = ["innerHTML"], Pu = { class: "firstRow" }, Mu = { class: "red-text" }, Nu = ["src"], Ou = { class: "center-text half-top" }, Lu = { class: "settingRow full-top" }, zu = { class: "firstRow" }, xu = {
|
|
17593
17593
|
class: "ios-switch",
|
|
17594
17594
|
style: { display: "inline-block" }
|
|
17595
|
-
},
|
|
17595
|
+
}, Uu = { class: "left-text small-top" }, Bu = {
|
|
17596
17596
|
type: "submit",
|
|
17597
17597
|
class: "button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17598
|
-
},
|
|
17598
|
+
}, Du = { key: 0 }, ju = {
|
|
17599
17599
|
key: 1,
|
|
17600
17600
|
class: "button--loading button__loader"
|
|
17601
|
-
},
|
|
17602
|
-
function
|
|
17601
|
+
}, Hu = { class: "small-bottom red-text" };
|
|
17602
|
+
function Fu(n, e, t, r, o, i) {
|
|
17603
17603
|
const a = rn("router-link");
|
|
17604
17604
|
return O(), U("div", Gl, [
|
|
17605
17605
|
n.isModal ? (O(), U("a", {
|
|
@@ -17619,7 +17619,7 @@ function qu(n, e, t, r, o, i) {
|
|
|
17619
17619
|
_("div", Vl, [
|
|
17620
17620
|
n.isModal ? (O(), U("div", {
|
|
17621
17621
|
key: 0,
|
|
17622
|
-
class: "
|
|
17622
|
+
class: "pointer left-button",
|
|
17623
17623
|
onClick: e[1] || (e[1] = (s) => n.$emit("update:viewProp", "AuthAccount"))
|
|
17624
17624
|
}, [
|
|
17625
17625
|
_("img", {
|
|
@@ -17740,85 +17740,84 @@ function qu(n, e, t, r, o, i) {
|
|
|
17740
17740
|
}, null, 10, vu)
|
|
17741
17741
|
])
|
|
17742
17742
|
]),
|
|
17743
|
-
_e(_("form",
|
|
17744
|
-
|
|
17745
|
-
|
|
17746
|
-
|
|
17747
|
-
|
|
17748
|
-
|
|
17749
|
-
|
|
17750
|
-
|
|
17751
|
-
|
|
17752
|
-
|
|
17753
|
-
|
|
17754
|
-
|
|
17755
|
-
|
|
17756
|
-
|
|
17757
|
-
|
|
17758
|
-
|
|
17759
|
-
|
|
17760
|
-
|
|
17761
|
-
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
|
|
17768
|
-
|
|
17769
|
-
|
|
17770
|
-
|
|
17771
|
-
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
|
|
17775
|
-
|
|
17776
|
-
|
|
17777
|
-
|
|
17778
|
-
|
|
17779
|
-
|
|
17780
|
-
|
|
17781
|
-
|
|
17782
|
-
|
|
17783
|
-
|
|
17784
|
-
|
|
17785
|
-
|
|
17786
|
-
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
], 512), [
|
|
17743
|
+
_e(_("form", {
|
|
17744
|
+
onSubmit: e[11] || (e[11] = Xe((...s) => i.submitChangePassword && i.submitChangePassword(...s), ["prevent"])),
|
|
17745
|
+
class: "center-text half-top"
|
|
17746
|
+
}, [
|
|
17747
|
+
_e(_("input", {
|
|
17748
|
+
type: "password",
|
|
17749
|
+
"onUpdate:modelValue": e[8] || (e[8] = (s) => o.currentPassword = s),
|
|
17750
|
+
placeholder: n.ssoLang[n.appLanguage].password_current_p,
|
|
17751
|
+
class: "edit-input h-40 lh-40",
|
|
17752
|
+
required: "",
|
|
17753
|
+
minlength: "8",
|
|
17754
|
+
style: { width: "100%" }
|
|
17755
|
+
}, null, 8, yu), [
|
|
17756
|
+
[ct, o.currentPassword]
|
|
17757
|
+
]),
|
|
17758
|
+
_("p", bu, B(n.ssoLang[n.appLanguage].password_current), 1),
|
|
17759
|
+
_e(_("input", {
|
|
17760
|
+
type: "password",
|
|
17761
|
+
"onUpdate:modelValue": e[9] || (e[9] = (s) => o.password = s),
|
|
17762
|
+
placeholder: n.ssoLang[n.appLanguage].password_new_p,
|
|
17763
|
+
class: "bg-white edit-input h-40 lh-40",
|
|
17764
|
+
required: "",
|
|
17765
|
+
minlength: "8",
|
|
17766
|
+
style: { width: "100%" }
|
|
17767
|
+
}, null, 8, wu), [
|
|
17768
|
+
[ct, o.password]
|
|
17769
|
+
]),
|
|
17770
|
+
_("p", ku, B(n.ssoLang[n.appLanguage].password_new), 1),
|
|
17771
|
+
_e(_("input", {
|
|
17772
|
+
type: "password",
|
|
17773
|
+
"onUpdate:modelValue": e[10] || (e[10] = (s) => o.passwordRepeat = s),
|
|
17774
|
+
placeholder: n.ssoLang[n.appLanguage].password_new_repeat_p,
|
|
17775
|
+
class: "edit-input h-40 lh-40",
|
|
17776
|
+
required: "",
|
|
17777
|
+
minlength: "8",
|
|
17778
|
+
style: { width: "100%" }
|
|
17779
|
+
}, null, 8, Cu), [
|
|
17780
|
+
[ct, o.passwordRepeat]
|
|
17781
|
+
]),
|
|
17782
|
+
_("p", Eu, B(n.ssoLang[n.appLanguage].password_new_repeat), 1),
|
|
17783
|
+
_("button", Tu, [
|
|
17784
|
+
o.loading ? (O(), U("span", Iu)) : (O(), U("span", Su, B(n.ssoLang[n.appLanguage].password_update), 1))
|
|
17785
|
+
]),
|
|
17786
|
+
_("p", Au, [
|
|
17787
|
+
_("span", {
|
|
17788
|
+
innerHTML: n.ssoLang[n.appLanguage].password_reset
|
|
17789
|
+
}, null, 8, Ru),
|
|
17790
|
+
gt(a, {
|
|
17791
|
+
to: "/reset",
|
|
17792
|
+
exact: "",
|
|
17793
|
+
class: "color-black"
|
|
17794
|
+
}, {
|
|
17795
|
+
default: et(() => [
|
|
17796
|
+
Ee(B(n.ssoLang[n.appLanguage].by_clicking_here), 1)
|
|
17797
|
+
]),
|
|
17798
|
+
_: 1
|
|
17799
|
+
})
|
|
17800
|
+
])
|
|
17801
|
+
], 544), [
|
|
17803
17802
|
[kt, o.changePassword]
|
|
17804
17803
|
]),
|
|
17805
17804
|
_("div", {
|
|
17806
17805
|
class: "settingRow full-top",
|
|
17807
17806
|
onClick: e[12] || (e[12] = (s) => o.accountDelete = !o.accountDelete)
|
|
17808
17807
|
}, [
|
|
17809
|
-
_("div",
|
|
17810
|
-
_("h4",
|
|
17808
|
+
_("div", Pu, [
|
|
17809
|
+
_("h4", Mu, B(n.ssoLang[n.appLanguage].delete_account), 1),
|
|
17811
17810
|
_("img", {
|
|
17812
17811
|
class: fn(["transition-icon", { "rotate-icon": !!o.accountDelete }]),
|
|
17813
17812
|
src: n.getIcon("arrow-gray-down.svg")
|
|
17814
|
-
}, null, 10,
|
|
17813
|
+
}, null, 10, Nu)
|
|
17815
17814
|
])
|
|
17816
17815
|
]),
|
|
17817
|
-
_e(_("div",
|
|
17818
|
-
_("div",
|
|
17819
|
-
_("div",
|
|
17816
|
+
_e(_("div", Ou, [
|
|
17817
|
+
_("div", Lu, [
|
|
17818
|
+
_("div", zu, [
|
|
17820
17819
|
_("h4", null, B(n.ssoLang[n.appLanguage].active_account), 1),
|
|
17821
|
-
_("div",
|
|
17820
|
+
_("div", xu, [
|
|
17822
17821
|
_e(_("input", {
|
|
17823
17822
|
type: "checkbox",
|
|
17824
17823
|
name: "ios-switch",
|
|
@@ -17835,14 +17834,14 @@ function qu(n, e, t, r, o, i) {
|
|
|
17835
17834
|
])
|
|
17836
17835
|
])
|
|
17837
17836
|
]),
|
|
17838
|
-
_("p",
|
|
17837
|
+
_("p", Uu, B(n.ssoLang[n.appLanguage].active_account_p), 1),
|
|
17839
17838
|
_("form", {
|
|
17840
17839
|
onSubmit: e[14] || (e[14] = Xe((...s) => i.deleteAccountSubmit && i.deleteAccountSubmit(...s), ["prevent"]))
|
|
17841
17840
|
}, [
|
|
17842
|
-
_("button",
|
|
17843
|
-
o.loading ? (O(), U("span",
|
|
17841
|
+
_("button", Bu, [
|
|
17842
|
+
o.loading ? (O(), U("span", ju)) : (O(), U("span", Du, B(n.ssoLang[n.appLanguage].permanent_delete), 1))
|
|
17844
17843
|
]),
|
|
17845
|
-
_("p",
|
|
17844
|
+
_("p", Hu, B(n.ssoLang[n.appLanguage].permanent_delete_p), 1)
|
|
17846
17845
|
], 32)
|
|
17847
17846
|
], 512), [
|
|
17848
17847
|
[kt, o.accountDelete]
|
|
@@ -17851,7 +17850,7 @@ function qu(n, e, t, r, o, i) {
|
|
|
17851
17850
|
])
|
|
17852
17851
|
]);
|
|
17853
17852
|
}
|
|
17854
|
-
const ko = /* @__PURE__ */ an(Kl, [["render",
|
|
17853
|
+
const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-64ae2517"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17855
17854
|
__proto__: null,
|
|
17856
17855
|
default: ko
|
|
17857
17856
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -17870,13 +17869,13 @@ const Mr = (n, e) => {
|
|
|
17870
17869
|
for (const [r, o] of e)
|
|
17871
17870
|
t[r] = o;
|
|
17872
17871
|
return t;
|
|
17873
|
-
},
|
|
17872
|
+
}, Ku = {}, Gu = {
|
|
17874
17873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17875
17874
|
viewBox: "0 0 20 20",
|
|
17876
17875
|
fill: "currentColor"
|
|
17877
17876
|
};
|
|
17878
|
-
function
|
|
17879
|
-
return O(), U("svg",
|
|
17877
|
+
function Vu(n, e) {
|
|
17878
|
+
return O(), U("svg", Gu, e[0] || (e[0] = [
|
|
17880
17879
|
_("path", {
|
|
17881
17880
|
"fill-rule": "evenodd",
|
|
17882
17881
|
d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
|
|
@@ -17884,17 +17883,17 @@ function Qu(n, e) {
|
|
|
17884
17883
|
}, null, -1)
|
|
17885
17884
|
]));
|
|
17886
17885
|
}
|
|
17887
|
-
const
|
|
17886
|
+
const Qu = /* @__PURE__ */ Mr(Ku, [["render", Vu]]), $u = {}, Yu = {
|
|
17888
17887
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17889
17888
|
viewBox: "0 0 20 20",
|
|
17890
17889
|
fill: "currentColor"
|
|
17891
17890
|
};
|
|
17892
|
-
function
|
|
17893
|
-
return O(), U("svg",
|
|
17891
|
+
function Wu(n, e) {
|
|
17892
|
+
return O(), U("svg", Yu, e[0] || (e[0] = [
|
|
17894
17893
|
_("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }, null, -1)
|
|
17895
17894
|
]));
|
|
17896
17895
|
}
|
|
17897
|
-
const Zo = /* @__PURE__ */ Mr(
|
|
17896
|
+
const Zo = /* @__PURE__ */ Mr($u, [["render", Wu]]), Ju = ["aria-disabled", "aria-selected"], Xu = /* @__PURE__ */ ei({
|
|
17898
17897
|
__name: "MenuOption",
|
|
17899
17898
|
props: {
|
|
17900
17899
|
menu: {},
|
|
@@ -17926,21 +17925,21 @@ const Zo = /* @__PURE__ */ Mr(Yu, [["render", Ju]]), Xu = ["aria-disabled", "ari
|
|
|
17926
17925
|
onKeydown: a[1] || (a[1] = mn((s) => r("select"), ["enter"]))
|
|
17927
17926
|
}, [
|
|
17928
17927
|
Wt(i.$slots, "default")
|
|
17929
|
-
], 42,
|
|
17928
|
+
], 42, Ju));
|
|
17930
17929
|
}
|
|
17931
|
-
}),
|
|
17932
|
-
function
|
|
17933
|
-
return O(), U("div",
|
|
17930
|
+
}), Zu = {}, ed = { className: "spinner" };
|
|
17931
|
+
function td(n, e) {
|
|
17932
|
+
return O(), U("div", ed, [
|
|
17934
17933
|
(O(), U(Fr, null, qr(12, (t) => _("div", {
|
|
17935
17934
|
key: t,
|
|
17936
17935
|
class: "spinner-circle"
|
|
17937
17936
|
})), 64))
|
|
17938
17937
|
]);
|
|
17939
17938
|
}
|
|
17940
|
-
const
|
|
17939
|
+
const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed866313"]]), rd = ["aria-expanded", "aria-describedby", "aria-description", "aria-labelledby", "aria-label", "aria-required"], od = ["onClick"], id = ["id", "disabled", "placeholder"], ad = { class: "indicators-container" }, sd = ["disabled"], cd = ["disabled"], ld = ["aria-label", "aria-multiselectable"], ud = {
|
|
17941
17940
|
key: 0,
|
|
17942
17941
|
class: "no-results"
|
|
17943
|
-
},
|
|
17942
|
+
}, dd = /* @__PURE__ */ ei({
|
|
17944
17943
|
__name: "Select",
|
|
17945
17944
|
props: /* @__PURE__ */ Ao({
|
|
17946
17945
|
options: {},
|
|
@@ -18100,7 +18099,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18100
18099
|
}, [
|
|
18101
18100
|
Ee(B(I.getMultiValueLabel(de)), 1),
|
|
18102
18101
|
gt(Zo)
|
|
18103
|
-
], 8,
|
|
18102
|
+
], 8, od)
|
|
18104
18103
|
], !0)), 128)) : le("", !0),
|
|
18105
18104
|
_e(_("input", {
|
|
18106
18105
|
id: I.inputId,
|
|
@@ -18119,11 +18118,11 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18119
18118
|
placeholder: f.value.length === 0 ? I.placeholder : "",
|
|
18120
18119
|
onMousedown: te[2] || (te[2] = (de) => k()),
|
|
18121
18120
|
onKeydown: V
|
|
18122
|
-
}, null, 40,
|
|
18121
|
+
}, null, 40, id), [
|
|
18123
18122
|
[ct, l.value]
|
|
18124
18123
|
])
|
|
18125
|
-
], 10,
|
|
18126
|
-
_("div",
|
|
18124
|
+
], 10, rd),
|
|
18125
|
+
_("div", ad, [
|
|
18127
18126
|
f.value.length > 0 && I.isClearable && !I.isLoading ? (O(), U("button", {
|
|
18128
18127
|
key: 0,
|
|
18129
18128
|
type: "button",
|
|
@@ -18135,7 +18134,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18135
18134
|
Wt(I.$slots, "clear", {}, () => [
|
|
18136
18135
|
gt(Zo)
|
|
18137
18136
|
], !0)
|
|
18138
|
-
], 8,
|
|
18137
|
+
], 8, sd)) : le("", !0),
|
|
18139
18138
|
I.isLoading ? le("", !0) : (O(), U("button", {
|
|
18140
18139
|
key: 1,
|
|
18141
18140
|
type: "button",
|
|
@@ -18145,11 +18144,11 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18145
18144
|
onClick: P
|
|
18146
18145
|
}, [
|
|
18147
18146
|
Wt(I.$slots, "dropdown", {}, () => [
|
|
18148
|
-
gt(
|
|
18147
|
+
gt(Qu)
|
|
18149
18148
|
], !0)
|
|
18150
|
-
], 8,
|
|
18149
|
+
], 8, cd)),
|
|
18151
18150
|
Wt(I.$slots, "loading", {}, () => [
|
|
18152
|
-
I.isLoading ? (O(), ze(
|
|
18151
|
+
I.isLoading ? (O(), ze(nd, { key: 0 })) : le("", !0)
|
|
18153
18152
|
], !0)
|
|
18154
18153
|
])
|
|
18155
18154
|
], 2),
|
|
@@ -18166,14 +18165,14 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18166
18165
|
role: "listbox",
|
|
18167
18166
|
"aria-label": (Ce = I.aria) == null ? void 0 : Ce.labelledby,
|
|
18168
18167
|
"aria-multiselectable": I.isMulti,
|
|
18169
|
-
style:
|
|
18168
|
+
style: or({
|
|
18170
18169
|
width: t.teleport ? `${(Le = i.value) == null ? void 0 : Le.getBoundingClientRect().width}px` : "100%",
|
|
18171
18170
|
top: t.teleport ? Z().top : "unset",
|
|
18172
18171
|
left: t.teleport ? Z().left : "unset"
|
|
18173
18172
|
})
|
|
18174
18173
|
}, [
|
|
18175
18174
|
Wt(I.$slots, "menu-header", {}, void 0, !0),
|
|
18176
|
-
(O(!0), U(Fr, null, qr(m.value, (de, Ue) => (O(), ze(
|
|
18175
|
+
(O(!0), U(Fr, null, qr(m.value, (de, Ue) => (O(), ze(Xu, {
|
|
18177
18176
|
key: Ue,
|
|
18178
18177
|
type: "button",
|
|
18179
18178
|
class: fn(["menu-option", { focused: u.value === Ue, selected: de.value === o.value }]),
|
|
@@ -18191,21 +18190,21 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18191
18190
|
]),
|
|
18192
18191
|
_: 2
|
|
18193
18192
|
}, 1032, ["class", "menu", "index", "is-focused", "is-selected", "is-disabled", "onSelect"]))), 128)),
|
|
18194
|
-
m.value.length === 0 ? (O(), U("div",
|
|
18193
|
+
m.value.length === 0 ? (O(), U("div", ud, [
|
|
18195
18194
|
Wt(I.$slots, "no-options", {}, () => [
|
|
18196
18195
|
te[3] || (te[3] = Ee(" No results found "))
|
|
18197
18196
|
], !0)
|
|
18198
18197
|
])) : le("", !0)
|
|
18199
|
-
], 12,
|
|
18198
|
+
], 12, ld)) : le("", !0)
|
|
18200
18199
|
], 8, ["to", "disabled"]))
|
|
18201
18200
|
], 2);
|
|
18202
18201
|
};
|
|
18203
18202
|
}
|
|
18204
|
-
}),
|
|
18203
|
+
}), pd = /* @__PURE__ */ Mr(dd, [["__scopeId", "data-v-7f19f42a"]]), hd = {
|
|
18205
18204
|
name: "AuthGeneral",
|
|
18206
18205
|
mixins: [Qt],
|
|
18207
18206
|
components: {
|
|
18208
|
-
VueSelect:
|
|
18207
|
+
VueSelect: pd
|
|
18209
18208
|
},
|
|
18210
18209
|
props: {
|
|
18211
18210
|
isModal: {
|
|
@@ -18250,19 +18249,19 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18250
18249
|
e ? this.errorHandler(e) : t.data.success && (this.successSnack(this.ssoLang[this.appLanguage].profile_update_success), await this.getAccountSettings()), this.loading = !1;
|
|
18251
18250
|
}
|
|
18252
18251
|
}
|
|
18253
|
-
},
|
|
18252
|
+
}, fd = { class: "page-login content-boxed content-boxed-padding tapni-auth-general" }, md = { class: "subheaderContainer full-top" }, gd = ["src"], _d = ["src"], vd = {
|
|
18254
18253
|
class: "center-text",
|
|
18255
18254
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
18256
|
-
},
|
|
18255
|
+
}, yd = { class: "container left-text" }, bd = { class: "center-text" }, wd = { class: "full-top bold small-bottom" }, kd = ["placeholder"], Cd = ["placeholder"], Ed = { class: "full-top bold" }, Td = { class: "full-top bold" }, Sd = {
|
|
18257
18256
|
type: "submit",
|
|
18258
18257
|
class: "button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
18259
|
-
},
|
|
18258
|
+
}, Id = { key: 0 }, Ad = {
|
|
18260
18259
|
key: 1,
|
|
18261
18260
|
class: "button--loading button__loader"
|
|
18262
18261
|
};
|
|
18263
|
-
function
|
|
18262
|
+
function Rd(n, e, t, r, o, i) {
|
|
18264
18263
|
const a = rn("router-link"), s = rn("VueSelect");
|
|
18265
|
-
return O(), U("div",
|
|
18264
|
+
return O(), U("div", fd, [
|
|
18266
18265
|
t.isModal ? (O(), U("a", {
|
|
18267
18266
|
key: 0,
|
|
18268
18267
|
onClick: e[0] || (e[0] = (...l) => i.close && i.close(...l)),
|
|
@@ -18277,10 +18276,10 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18277
18276
|
})
|
|
18278
18277
|
], -1)
|
|
18279
18278
|
]))) : le("", !0),
|
|
18280
|
-
_("div",
|
|
18279
|
+
_("div", md, [
|
|
18281
18280
|
t.isModal ? (O(), U("div", {
|
|
18282
18281
|
key: 0,
|
|
18283
|
-
class: "
|
|
18282
|
+
class: "pointer left-button",
|
|
18284
18283
|
onClick: e[1] || (e[1] = (l) => n.$emit("update:viewProp", "AuthAccount"))
|
|
18285
18284
|
}, [
|
|
18286
18285
|
_("img", {
|
|
@@ -18289,7 +18288,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18289
18288
|
width: "20",
|
|
18290
18289
|
class: "btn-icon",
|
|
18291
18290
|
style: { rotate: "180deg" }
|
|
18292
|
-
}, null, 8,
|
|
18291
|
+
}, null, 8, gd)
|
|
18293
18292
|
])) : (O(), ze(a, {
|
|
18294
18293
|
key: 1,
|
|
18295
18294
|
to: "/account",
|
|
@@ -18302,19 +18301,19 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18302
18301
|
width: "20",
|
|
18303
18302
|
class: "btn-icon",
|
|
18304
18303
|
style: { rotate: "180deg" }
|
|
18305
|
-
}, null, 8,
|
|
18304
|
+
}, null, 8, _d)
|
|
18306
18305
|
]),
|
|
18307
18306
|
_: 1
|
|
18308
18307
|
})),
|
|
18309
|
-
_("h2",
|
|
18308
|
+
_("h2", vd, B(n.ssoLang[n.appLanguage].general), 1)
|
|
18310
18309
|
]),
|
|
18311
|
-
_("div",
|
|
18312
|
-
_("p",
|
|
18310
|
+
_("div", yd, [
|
|
18311
|
+
_("p", bd, B(n.ssoLang[n.appLanguage].general_p), 1),
|
|
18313
18312
|
_("form", {
|
|
18314
18313
|
class: "full-top",
|
|
18315
18314
|
onSubmit: e[6] || (e[6] = Xe((...l) => i.submitGeneralUpdate && i.submitGeneralUpdate(...l), ["prevent"]))
|
|
18316
18315
|
}, [
|
|
18317
|
-
_("h3",
|
|
18316
|
+
_("h3", wd, B(n.ssoLang[n.appLanguage].personal_details), 1),
|
|
18318
18317
|
_e(_("input", {
|
|
18319
18318
|
type: "text",
|
|
18320
18319
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => n.account.name = l),
|
|
@@ -18322,7 +18321,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18322
18321
|
class: "edit-input h-40 lh-40 small-bottom",
|
|
18323
18322
|
required: "",
|
|
18324
18323
|
style: { width: "100%" }
|
|
18325
|
-
}, null, 8,
|
|
18324
|
+
}, null, 8, kd), [
|
|
18326
18325
|
[ct, n.account.name]
|
|
18327
18326
|
]),
|
|
18328
18327
|
_e(_("input", {
|
|
@@ -18333,10 +18332,10 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18333
18332
|
class: "bg-white edit-input h-40 lh-40 small-bottom",
|
|
18334
18333
|
required: "",
|
|
18335
18334
|
style: { width: "100%" }
|
|
18336
|
-
}, null, 8,
|
|
18335
|
+
}, null, 8, Cd), [
|
|
18337
18336
|
[ct, n.account.email]
|
|
18338
18337
|
]),
|
|
18339
|
-
_("h3",
|
|
18338
|
+
_("h3", Ed, B(n.ssoLang[n.appLanguage].app_region), 1),
|
|
18340
18339
|
n.account.billing ? (O(), ze(s, {
|
|
18341
18340
|
key: 0,
|
|
18342
18341
|
modelValue: n.account.billing.region,
|
|
@@ -18356,7 +18355,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18356
18355
|
placeholder: "Select region"
|
|
18357
18356
|
}, null, 8, ["modelValue"])) : le("", !0),
|
|
18358
18357
|
le("", !0),
|
|
18359
|
-
_("h3",
|
|
18358
|
+
_("h3", Td, B(n.ssoLang[n.appLanguage].app_language), 1),
|
|
18360
18359
|
gt(s, {
|
|
18361
18360
|
modelValue: n.account.lang,
|
|
18362
18361
|
"onUpdate:modelValue": e[5] || (e[5] = (l) => n.account.lang = l),
|
|
@@ -18375,17 +18374,17 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18375
18374
|
placeholder: "Select language"
|
|
18376
18375
|
}, null, 8, ["modelValue", "options"]),
|
|
18377
18376
|
e[8] || (e[8] = _("p", null, "Translate the app on your preferred language.", -1)),
|
|
18378
|
-
_("button",
|
|
18379
|
-
o.loading ? (O(), U("span",
|
|
18377
|
+
_("button", Sd, [
|
|
18378
|
+
o.loading ? (O(), U("span", Ad)) : (O(), U("span", Id, B(n.ssoLang[n.appLanguage].save), 1))
|
|
18380
18379
|
])
|
|
18381
18380
|
], 32)
|
|
18382
18381
|
])
|
|
18383
18382
|
]);
|
|
18384
18383
|
}
|
|
18385
|
-
const Co = /* @__PURE__ */ an(
|
|
18384
|
+
const Co = /* @__PURE__ */ an(hd, [["render", Rd]]), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18386
18385
|
__proto__: null,
|
|
18387
18386
|
default: Co
|
|
18388
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18387
|
+
}, Symbol.toStringTag, { value: "Module" })), Md = {
|
|
18389
18388
|
name: "AuthReset",
|
|
18390
18389
|
mixins: [Qt],
|
|
18391
18390
|
data() {
|
|
@@ -18435,53 +18434,53 @@ const Co = /* @__PURE__ */ an(fd, [["render", Pd]]), Md = /* @__PURE__ */ Object
|
|
|
18435
18434
|
this.$storex.verifyEmail = n;
|
|
18436
18435
|
}
|
|
18437
18436
|
}
|
|
18438
|
-
},
|
|
18437
|
+
}, Nd = {
|
|
18439
18438
|
class: "bold no-bottom center-text text-[22px]",
|
|
18440
18439
|
style: { "margin-top": "63px" }
|
|
18441
|
-
},
|
|
18440
|
+
}, Od = { class: "page-login-field half-top color-black" }, Ld = ["placeholder"], zd = {
|
|
18442
18441
|
type: "submit",
|
|
18443
18442
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
18444
|
-
},
|
|
18443
|
+
}, xd = {
|
|
18445
18444
|
key: 0,
|
|
18446
18445
|
class: "uppercase"
|
|
18447
|
-
},
|
|
18446
|
+
}, Ud = {
|
|
18448
18447
|
key: 1,
|
|
18449
18448
|
class: "button--loading button__loader"
|
|
18450
|
-
},
|
|
18449
|
+
}, Bd = { class: "close-text center-text half-top color-black" }, Dd = ["innerHTML"], jd = ["href"], Hd = { class: "page-login-links" }, Fd = {
|
|
18451
18450
|
class: "bold no-bottom center-text",
|
|
18452
18451
|
style: { "margin-top": "63px" }
|
|
18453
|
-
},
|
|
18452
|
+
}, qd = { class: "half-bottom small-top center-text color-black" }, Kd = { class: "page-login-field half-top" }, Gd = ["type", "placeholder"], Vd = {
|
|
18454
18453
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
18455
18454
|
class: "responsive-image password-reveal-icon"
|
|
18456
|
-
},
|
|
18455
|
+
}, Qd = {
|
|
18457
18456
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
18458
18457
|
class: "responsive-image password-reveal-icon"
|
|
18459
|
-
},
|
|
18458
|
+
}, $d = { class: "page-login-field half-top" }, Yd = ["type", "placeholder"], Wd = {
|
|
18460
18459
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
18461
18460
|
class: "responsive-image password-reveal-icon"
|
|
18462
|
-
},
|
|
18461
|
+
}, Jd = {
|
|
18463
18462
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
18464
18463
|
class: "responsive-image password-reveal-icon"
|
|
18465
|
-
},
|
|
18464
|
+
}, Xd = {
|
|
18466
18465
|
type: "submit",
|
|
18467
18466
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
18468
|
-
},
|
|
18467
|
+
}, Zd = {
|
|
18469
18468
|
key: 0,
|
|
18470
18469
|
class: "uppercase"
|
|
18471
|
-
},
|
|
18470
|
+
}, ep = {
|
|
18472
18471
|
key: 1,
|
|
18473
18472
|
class: "button--loading button__loader"
|
|
18474
|
-
},
|
|
18475
|
-
function
|
|
18473
|
+
}, tp = { class: "close-text center-text half-top color-black" }, np = ["innerHTML"], rp = ["href"];
|
|
18474
|
+
function op(n, e, t, r, o, i) {
|
|
18476
18475
|
const a = rn("router-link");
|
|
18477
18476
|
return o.passwordChange ? (O(), U("form", {
|
|
18478
18477
|
key: 1,
|
|
18479
18478
|
class: "page-login content-boxed content-boxed-padding",
|
|
18480
18479
|
onSubmit: e[7] || (e[7] = Xe((...s) => i.changePw && i.changePw(...s), ["prevent"]))
|
|
18481
18480
|
}, [
|
|
18482
|
-
_("h3",
|
|
18483
|
-
_("p",
|
|
18484
|
-
_("div",
|
|
18481
|
+
_("h3", Fd, B(n.ssoLang[this.appLanguage].password_change), 1),
|
|
18482
|
+
_("p", qd, B(n.ssoLang[this.appLanguage].password_new), 1),
|
|
18483
|
+
_("div", Kd, [
|
|
18485
18484
|
e[14] || (e[14] = _("i", { style: { "padding-top": "15px" } }, [
|
|
18486
18485
|
_("img", {
|
|
18487
18486
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -18494,21 +18493,21 @@ function ip(n, e, t, r, o, i) {
|
|
|
18494
18493
|
type: o.revealPassword ? "text" : "password",
|
|
18495
18494
|
placeholder: n.ssoLang[this.appLanguage].password,
|
|
18496
18495
|
required: ""
|
|
18497
|
-
}, null, 8,
|
|
18498
|
-
[
|
|
18496
|
+
}, null, 8, Gd), [
|
|
18497
|
+
[fr, o.password]
|
|
18499
18498
|
]),
|
|
18500
18499
|
_("em", {
|
|
18501
18500
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
|
|
18502
18501
|
}, [
|
|
18503
|
-
_e(_("img",
|
|
18502
|
+
_e(_("img", Vd, null, 512), [
|
|
18504
18503
|
[kt, !o.revealPassword]
|
|
18505
18504
|
]),
|
|
18506
|
-
_e(_("img",
|
|
18505
|
+
_e(_("img", Qd, null, 512), [
|
|
18507
18506
|
[kt, o.revealPassword]
|
|
18508
18507
|
])
|
|
18509
18508
|
])
|
|
18510
18509
|
]),
|
|
18511
|
-
_("div",
|
|
18510
|
+
_("div", $d, [
|
|
18512
18511
|
e[15] || (e[15] = _("i", { style: { "padding-top": "15px" } }, [
|
|
18513
18512
|
_("img", {
|
|
18514
18513
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -18521,32 +18520,32 @@ function ip(n, e, t, r, o, i) {
|
|
|
18521
18520
|
type: o.revealPassword2 ? "text" : "password",
|
|
18522
18521
|
placeholder: n.ssoLang[this.appLanguage].password_repeat,
|
|
18523
18522
|
required: ""
|
|
18524
|
-
}, null, 8,
|
|
18525
|
-
[
|
|
18523
|
+
}, null, 8, Yd), [
|
|
18524
|
+
[fr, o.passwordRepeat]
|
|
18526
18525
|
]),
|
|
18527
18526
|
_("em", {
|
|
18528
18527
|
onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
|
|
18529
18528
|
}, [
|
|
18530
|
-
_e(_("img",
|
|
18529
|
+
_e(_("img", Wd, null, 512), [
|
|
18531
18530
|
[kt, !o.revealPassword2]
|
|
18532
18531
|
]),
|
|
18533
|
-
_e(_("img",
|
|
18532
|
+
_e(_("img", Jd, null, 512), [
|
|
18534
18533
|
[kt, o.revealPassword2]
|
|
18535
18534
|
])
|
|
18536
18535
|
])
|
|
18537
18536
|
]),
|
|
18538
|
-
_("button",
|
|
18539
|
-
o.submitted ? (O(), U("span",
|
|
18537
|
+
_("button", Xd, [
|
|
18538
|
+
o.submitted ? (O(), U("span", ep)) : (O(), U("span", Zd, B(n.ssoLang[this.appLanguage].password_change), 1))
|
|
18540
18539
|
]),
|
|
18541
18540
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18542
|
-
_("p",
|
|
18541
|
+
_("p", tp, [
|
|
18543
18542
|
_("span", {
|
|
18544
18543
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
18545
|
-
}, null, 8,
|
|
18544
|
+
}, null, 8, np),
|
|
18546
18545
|
e[16] || (e[16] = Ee()),
|
|
18547
18546
|
_("a", {
|
|
18548
18547
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
18549
|
-
}, " support@tapni.com", 8,
|
|
18548
|
+
}, " support@tapni.com", 8, rp)
|
|
18550
18549
|
])
|
|
18551
18550
|
], 32)) : (O(), U("form", {
|
|
18552
18551
|
key: 0,
|
|
@@ -18554,9 +18553,9 @@ function ip(n, e, t, r, o, i) {
|
|
|
18554
18553
|
onSubmit: e[2] || (e[2] = Xe((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
|
|
18555
18554
|
autocomplete: "on"
|
|
18556
18555
|
}, [
|
|
18557
|
-
_("h3",
|
|
18556
|
+
_("h3", Nd, B(n.ssoLang[this.appLanguage].reset_password), 1),
|
|
18558
18557
|
e[11] || (e[11] = _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)),
|
|
18559
|
-
_("div",
|
|
18558
|
+
_("div", Od, [
|
|
18560
18559
|
e[8] || (e[8] = _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
|
|
18561
18560
|
_("img", {
|
|
18562
18561
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
@@ -18572,25 +18571,25 @@ function ip(n, e, t, r, o, i) {
|
|
|
18572
18571
|
type: "email",
|
|
18573
18572
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
18574
18573
|
required: ""
|
|
18575
|
-
}, null, 40,
|
|
18574
|
+
}, null, 40, Ld), [
|
|
18576
18575
|
[ct, o.email]
|
|
18577
18576
|
]),
|
|
18578
18577
|
e[9] || (e[9] = _("em", null, null, -1))
|
|
18579
18578
|
]),
|
|
18580
|
-
_("button",
|
|
18581
|
-
o.submitted ? (O(), U("span",
|
|
18579
|
+
_("button", zd, [
|
|
18580
|
+
o.submitted ? (O(), U("span", Ud)) : (O(), U("span", xd, B(n.ssoLang[this.appLanguage].reset_password), 1))
|
|
18582
18581
|
]),
|
|
18583
18582
|
e[12] || (e[12] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18584
|
-
_("p",
|
|
18583
|
+
_("p", Bd, [
|
|
18585
18584
|
_("span", {
|
|
18586
18585
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p1
|
|
18587
|
-
}, null, 8,
|
|
18586
|
+
}, null, 8, Dd),
|
|
18588
18587
|
_("a", {
|
|
18589
18588
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
18590
|
-
}, " support@tapni.com", 8,
|
|
18589
|
+
}, " support@tapni.com", 8, jd)
|
|
18591
18590
|
]),
|
|
18592
18591
|
e[13] || (e[13] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18593
|
-
_("div",
|
|
18592
|
+
_("div", Hd, [
|
|
18594
18593
|
gt(a, {
|
|
18595
18594
|
class: "create float-right",
|
|
18596
18595
|
to: "/verify"
|
|
@@ -18613,10 +18612,10 @@ function ip(n, e, t, r, o, i) {
|
|
|
18613
18612
|
])
|
|
18614
18613
|
], 32));
|
|
18615
18614
|
}
|
|
18616
|
-
const Eo = /* @__PURE__ */ an(
|
|
18615
|
+
const Eo = /* @__PURE__ */ an(Md, [["render", op], ["__scopeId", "data-v-707a4b16"]]), ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18617
18616
|
__proto__: null,
|
|
18618
18617
|
default: Eo
|
|
18619
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18618
|
+
}, Symbol.toStringTag, { value: "Module" })), ap = {
|
|
18620
18619
|
name: "AuthCallback",
|
|
18621
18620
|
mixins: [Oi, Li, Qt],
|
|
18622
18621
|
data() {
|
|
@@ -18637,16 +18636,16 @@ const Eo = /* @__PURE__ */ an(Nd, [["render", ip], ["__scopeId", "data-v-707a4b1
|
|
|
18637
18636
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
18638
18637
|
}
|
|
18639
18638
|
}
|
|
18640
|
-
},
|
|
18639
|
+
}, sp = { class: "page-login content-boxed content-boxed-padding" }, cp = {
|
|
18641
18640
|
key: 0,
|
|
18642
18641
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
18643
|
-
},
|
|
18642
|
+
}, lp = {
|
|
18644
18643
|
key: 1,
|
|
18645
18644
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
18646
18645
|
};
|
|
18647
|
-
function
|
|
18648
|
-
return O(), U("div",
|
|
18649
|
-
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (O(), U("h5",
|
|
18646
|
+
function up(n, e, t, r, o, i) {
|
|
18647
|
+
return O(), U("div", sp, [
|
|
18648
|
+
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (O(), U("h5", cp, [
|
|
18650
18649
|
Ee(B(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
18651
18650
|
e[1] || (e[1] = _("br", null, null, -1)),
|
|
18652
18651
|
Ee(" " + B(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
@@ -18655,10 +18654,10 @@ function dp(n, e, t, r, o, i) {
|
|
|
18655
18654
|
style: { color: "blue", cursor: "pointer" }
|
|
18656
18655
|
}, B(n.ssoLang[this.appLanguage].click_here), 1),
|
|
18657
18656
|
e[2] || (e[2] = Ee(". "))
|
|
18658
|
-
])) : (O(), U("h4",
|
|
18657
|
+
])) : (O(), U("h4", lp, B(n.ssoLang[this.appLanguage].please_wait), 1))
|
|
18659
18658
|
]);
|
|
18660
18659
|
}
|
|
18661
|
-
const To = /* @__PURE__ */ an(
|
|
18660
|
+
const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18662
18661
|
__proto__: null,
|
|
18663
18662
|
default: To
|
|
18664
18663
|
}, Symbol.toStringTag, { value: "Module" })), un = Ar("Preferences", {
|
|
@@ -18767,7 +18766,7 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18767
18766
|
let t = JSON.parse(n);
|
|
18768
18767
|
return t !== void 0 ? t : e;
|
|
18769
18768
|
}
|
|
18770
|
-
},
|
|
18769
|
+
}, pp = {
|
|
18771
18770
|
name: "ReactiveStorage",
|
|
18772
18771
|
data() {
|
|
18773
18772
|
return {
|
|
@@ -18783,23 +18782,23 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18783
18782
|
await jr.setRaw(e);
|
|
18784
18783
|
}, { deep: !0 });
|
|
18785
18784
|
}
|
|
18786
|
-
},
|
|
18785
|
+
}, hp = {
|
|
18787
18786
|
key: 0,
|
|
18788
18787
|
href: "/",
|
|
18789
18788
|
class: "header-logo"
|
|
18790
|
-
},
|
|
18789
|
+
}, fp = {
|
|
18791
18790
|
class: "snackbar snackbar-boxed",
|
|
18792
18791
|
id: "snackbar"
|
|
18793
|
-
},
|
|
18792
|
+
}, mp = {
|
|
18794
18793
|
class: "snack-body",
|
|
18795
18794
|
id: "errorSnack"
|
|
18796
|
-
},
|
|
18795
|
+
}, gp = { id: "errorMessage" }, _p = {
|
|
18797
18796
|
class: "snack-body",
|
|
18798
18797
|
id: "successSnack"
|
|
18799
|
-
},
|
|
18798
|
+
}, vp = { id: "successMessage" }, yp = {
|
|
18800
18799
|
store: uo,
|
|
18801
18800
|
name: "TapniAuth",
|
|
18802
|
-
mixins: [
|
|
18801
|
+
mixins: [pp, Qt],
|
|
18803
18802
|
data() {
|
|
18804
18803
|
return {
|
|
18805
18804
|
storeInterval: null,
|
|
@@ -18846,6 +18845,12 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18846
18845
|
computed: {
|
|
18847
18846
|
initialized() {
|
|
18848
18847
|
return this.isSetup || this.isModal;
|
|
18848
|
+
},
|
|
18849
|
+
containerStyle() {
|
|
18850
|
+
return {
|
|
18851
|
+
maxHeight: this.isModal ? "90vh" : "auto",
|
|
18852
|
+
overflowY: this.isModal ? "hidden" : "auto"
|
|
18853
|
+
};
|
|
18849
18854
|
}
|
|
18850
18855
|
},
|
|
18851
18856
|
async mounted() {
|
|
@@ -18888,13 +18893,16 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18888
18893
|
deep: !0
|
|
18889
18894
|
}
|
|
18890
18895
|
}
|
|
18891
|
-
},
|
|
18896
|
+
}, bp = /* @__PURE__ */ Object.assign(yp, {
|
|
18892
18897
|
setup(n) {
|
|
18893
18898
|
return window.Buffer = la, document.addEventListener("DOMContentLoaded", function() {
|
|
18894
18899
|
const e = document.createElement("script");
|
|
18895
18900
|
e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
|
|
18896
|
-
}), (e, t) => (O(), U("div",
|
|
18897
|
-
|
|
18901
|
+
}), (e, t) => (O(), U("div", {
|
|
18902
|
+
id: "ssoapp",
|
|
18903
|
+
style: or(e.containerStyle)
|
|
18904
|
+
}, [
|
|
18905
|
+
e.display === "redirect" || e.renderView.includes("Auth") ? (O(), U("a", hp, t[2] || (t[2] = [
|
|
18898
18906
|
_("img", {
|
|
18899
18907
|
src: "https://cdn.tapni.co/images/logo-dark.png",
|
|
18900
18908
|
class: "header-logo-img"
|
|
@@ -18923,9 +18931,9 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18923
18931
|
payload: n.payload,
|
|
18924
18932
|
"onUpdate:viewProp": e.setView
|
|
18925
18933
|
}, null, 8, ["isModal", "payload", "onUpdate:viewProp"])) : e.initialized && e.renderView === "AuthReset" ? (O(), ze(Eo, { key: 8 })) : e.initialized && e.renderView === "AuthCallback" ? (O(), ze(To, { key: 9 })) : e.display !== "npm" ? (O(), ze(Fi(Gi), { key: 10 })) : le("", !0),
|
|
18926
|
-
_("div",
|
|
18927
|
-
_("p",
|
|
18928
|
-
_("span",
|
|
18934
|
+
_("div", fp, [
|
|
18935
|
+
_("p", mp, [
|
|
18936
|
+
_("span", gp, B(e.ssoLang[e.appLanguage].error), 1),
|
|
18929
18937
|
_("a", {
|
|
18930
18938
|
onClick: t[0] || (t[0] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18931
18939
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18936,8 +18944,8 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18936
18944
|
}, null, -1)
|
|
18937
18945
|
]))
|
|
18938
18946
|
]),
|
|
18939
|
-
_("p",
|
|
18940
|
-
_("span",
|
|
18947
|
+
_("p", _p, [
|
|
18948
|
+
_("span", vp, B(e.ssoLang[e.appLanguage].success), 1),
|
|
18941
18949
|
_("a", {
|
|
18942
18950
|
onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18943
18951
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18949,11 +18957,11 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18949
18957
|
]))
|
|
18950
18958
|
])
|
|
18951
18959
|
])
|
|
18952
|
-
]));
|
|
18960
|
+
], 4));
|
|
18953
18961
|
}
|
|
18954
|
-
}),
|
|
18962
|
+
}), Lp = {
|
|
18955
18963
|
install: (n, { store: e, apiRoot: t }) => {
|
|
18956
|
-
n.component("TapniAuth",
|
|
18964
|
+
n.component("TapniAuth", bp), e.hasModule("auth") || e.registerModule("auth", uo), n.config.globalProperties.$apiRoot = t;
|
|
18957
18965
|
}
|
|
18958
18966
|
};
|
|
18959
18967
|
export {
|
|
@@ -18963,5 +18971,5 @@ export {
|
|
|
18963
18971
|
an as _,
|
|
18964
18972
|
pe as a,
|
|
18965
18973
|
nt as b,
|
|
18966
|
-
|
|
18974
|
+
Lp as i
|
|
18967
18975
|
};
|