@asgardeo/auth-spa 3.3.2 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/asgardeo-spa.production.esm.js +43 -14
- package/dist/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/asgardeo-spa.production.js +39 -10
- package/dist/asgardeo-spa.production.js.map +1 -1
- package/dist/asgardeo-spa.production.min.js +1 -1
- package/dist/asgardeo-spa.production.min.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.esm.js +70 -41
- package/dist/polyfilled/asgardeo-spa.production.esm.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.js +70 -41
- package/dist/polyfilled/asgardeo-spa.production.js.map +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js +1 -1
- package/dist/polyfilled/asgardeo-spa.production.min.js.map +1 -1
- package/dist/src/client.d.ts +30 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +39 -0
- package/dist/src/client.js.map +1 -1
- package/dist/src/clients/web-worker-client.d.ts.map +1 -1
- package/dist/src/clients/web-worker-client.js +48 -1
- package/dist/src/clients/web-worker-client.js.map +1 -1
- package/dist/src/constants/messages-types.d.ts +1 -0
- package/dist/src/constants/messages-types.d.ts.map +1 -1
- package/dist/src/constants/messages-types.js +1 -0
- package/dist/src/constants/messages-types.js.map +1 -1
- package/dist/src/http-client/clients/axios-http-client.d.ts.map +1 -1
- package/dist/src/http-client/clients/axios-http-client.js +6 -0
- package/dist/src/http-client/clients/axios-http-client.js.map +1 -1
- package/dist/src/models/client.d.ts +1 -0
- package/dist/src/models/client.d.ts.map +1 -1
- package/dist/src/models/message.d.ts +2 -2
- package/dist/src/models/message.d.ts.map +1 -1
- package/dist/src/utils/message-utils.d.ts +8 -1
- package/dist/src/utils/message-utils.d.ts.map +1 -1
- package/dist/src/utils/message-utils.js +27 -5
- package/dist/src/utils/message-utils.js.map +1 -1
- package/dist/src/worker/worker-receiver.d.ts.map +1 -1
- package/dist/src/worker/worker-receiver.js +33 -1
- package/dist/src/worker/worker-receiver.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/client.ts +47 -2
- package/src/clients/web-worker-client.ts +61 -0
- package/src/constants/messages-types.ts +1 -0
- package/src/http-client/clients/axios-http-client.ts +7 -1
- package/src/models/client.ts +1 -0
- package/src/models/message.ts +2 -0
- package/src/utils/message-utils.ts +26 -5
- package/src/worker/worker-receiver.ts +36 -0
|
@@ -26,7 +26,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
26
26
|
};
|
|
27
27
|
import { AsgardeoAuthException } from "@asgardeo/auth-js";
|
|
28
28
|
import { WebWorkerCore } from "./worker-core";
|
|
29
|
-
import { DISABLE_HTTP_HANDLER, ENABLE_HTTP_HANDLER, GET_AUTH_URL, GET_BASIC_USER_INFO, GET_CONFIG_DATA, GET_CRYPTO_HELPER, GET_DECODED_ID_TOKEN, GET_ID_TOKEN, GET_OIDC_SERVICE_ENDPOINTS, GET_SIGN_OUT_URL, HTTP_REQUEST, HTTP_REQUEST_ALL, INIT, IS_AUTHENTICATED, REFRESH_ACCESS_TOKEN, REQUEST_ACCESS_TOKEN, REQUEST_CUSTOM_GRANT, REQUEST_FINISH, REQUEST_START, REQUEST_SUCCESS, REVOKE_ACCESS_TOKEN, SET_SESSION_STATE, SIGN_OUT, START_AUTO_REFRESH_TOKEN, UPDATE_CONFIG } from "../constants";
|
|
29
|
+
import { DISABLE_HTTP_HANDLER, ENABLE_HTTP_HANDLER, GET_AUTH_URL, GET_BASIC_USER_INFO, GET_CONFIG_DATA, GET_CRYPTO_HELPER, GET_DECODED_ID_TOKEN, GET_ID_TOKEN, GET_OIDC_SERVICE_ENDPOINTS, GET_SIGN_OUT_URL, HTTP_REQUEST, HTTP_REQUEST_ALL, HTTP_STREAM_REQUEST, INIT, IS_AUTHENTICATED, REFRESH_ACCESS_TOKEN, REQUEST_ACCESS_TOKEN, REQUEST_CUSTOM_GRANT, REQUEST_FINISH, REQUEST_START, REQUEST_SUCCESS, REVOKE_ACCESS_TOKEN, SET_SESSION_STATE, SIGN_OUT, START_AUTO_REFRESH_TOKEN, UPDATE_CONFIG } from "../constants";
|
|
30
30
|
import { MessageUtils } from "../utils";
|
|
31
31
|
export const workerReceiver = (getAuthHelper) => {
|
|
32
32
|
const ctx = self;
|
|
@@ -95,6 +95,34 @@ export const workerReceiver = (getAuthHelper) => {
|
|
|
95
95
|
});
|
|
96
96
|
break;
|
|
97
97
|
}
|
|
98
|
+
case HTTP_STREAM_REQUEST: {
|
|
99
|
+
const request = data.data;
|
|
100
|
+
// Inject fetch adapter config for streaming
|
|
101
|
+
request.adapter = "fetch";
|
|
102
|
+
request.responseType = "stream";
|
|
103
|
+
webWorker
|
|
104
|
+
.httpRequest(request)
|
|
105
|
+
.then((response) => {
|
|
106
|
+
var _a;
|
|
107
|
+
const stream = (_a = response) === null || _a === void 0 ? void 0 : _a.data;
|
|
108
|
+
if (stream instanceof ReadableStream) {
|
|
109
|
+
// Post raw message — do NOT use generateSuccessMessage here.
|
|
110
|
+
// generateSuccessMessage calls JSON.stringify which turns a
|
|
111
|
+
// ReadableStream into {} and the stream reference is lost.
|
|
112
|
+
port.postMessage({
|
|
113
|
+
data: stream,
|
|
114
|
+
success: true
|
|
115
|
+
}, [stream]);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
port.postMessage(MessageUtils.generateSuccessMessage(response));
|
|
119
|
+
}
|
|
120
|
+
})
|
|
121
|
+
.catch((error) => {
|
|
122
|
+
port.postMessage(MessageUtils.generateFailureMessage(error));
|
|
123
|
+
});
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
98
126
|
case HTTP_REQUEST_ALL:
|
|
99
127
|
webWorker
|
|
100
128
|
.httpRequestAll(data.data)
|
|
@@ -245,6 +273,10 @@ export const workerReceiver = (getAuthHelper) => {
|
|
|
245
273
|
ctx.postMessage({ type: REQUEST_START });
|
|
246
274
|
};
|
|
247
275
|
const onRequestSuccessCallback = (response) => {
|
|
276
|
+
var _a;
|
|
277
|
+
// Skip stringifying if response contains a ReadableStream
|
|
278
|
+
if (((_a = response) === null || _a === void 0 ? void 0 : _a.data) instanceof ReadableStream)
|
|
279
|
+
return;
|
|
248
280
|
ctx.postMessage({ data: JSON.stringify(response !== null && response !== void 0 ? response : ""), type: REQUEST_SUCCESS });
|
|
249
281
|
};
|
|
250
282
|
const onRequestFinishCallback = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-receiver.js","sourceRoot":"","sources":["../../../src/worker/worker-receiver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;AAEH,OAAO,EAEH,qBAAqB,EAGxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EACH,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,IAAI,EACJ,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,QAAQ,EACR,wBAAwB,EACxB,aAAa,EAChB,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,CAAC,MAAM,cAAc,GAAG,CAC1B,aAGgD,EAClD,EAAE;IACA,MAAM,GAAG,GAAwB,IAAW,CAAC;IAE7C,IAAI,SAAiC,CAAC;IAEtC,GAAG,CAAC,SAAS,GAAG,CAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;;QACtC,MAAM,IAAI,GAAG,KAAK,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,EAAE;;QAC9D,0DAA0D;QAC1D,IAAI,CAAA,MAAC,QAAgB,0CAAE,IAAI,aAAY,cAAc;YAAE,OAAO;QAC9D,GAAG,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IACrF,CAAC,CAAC;IAEF,MAAM,uBAAuB,GAAG,GAAS,EAAE;QACvC,GAAG,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IAC9C,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es6.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/client-config.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/oidc-provider-meta-data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/client-config.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/token.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/custom-grant.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/id-token.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/authorization-url.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/user.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/crypto.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/fetch.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/oidc-endpoints.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/custom-grant-template-tags.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/parameters.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/scopes.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/fetch.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/data/data-layer.d.ts","../node_modules/@asgardeo/auth-js/dist/src/data/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/crypto-helper.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/authentication-helper.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/client.d.ts","../node_modules/@asgardeo/auth-js/dist/src/utils/authentication-utils.d.ts","../node_modules/@asgardeo/auth-js/dist/src/utils/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/exception/exception.d.ts","../node_modules/@asgardeo/auth-js/dist/src/exception/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/public-api.d.ts","../node_modules/@asgardeo/auth-js/dist/src/index.d.ts","../src/constants/messages-types.ts","../src/constants/storage.ts","../src/constants/hooks.ts","../src/constants/session-management.ts","../src/constants/parameters.ts","../src/constants/errors.ts","../src/constants/index.ts","../src/index.ts","../src/helpers/spa-helper.ts","../node_modules/axios/index.d.ts","../src/http-client/helpers/decorators.ts","../src/http-client/helpers/index.ts","../src/http-client/models/axios-http-client.ts","../src/http-client/models/http-client.ts","../src/http-client/models/index.ts","../src/http-client/clients/axios-http-client.ts","../src/http-client/clients/index.ts","../src/http-client/index.ts","../src/models/client.ts","../src/models/message.ts","../src/models/http-client.ts","../src/models/web-worker.ts","../src/models/session-management-helper.ts","../src/models/storage.ts","../src/models/client-config.ts","../src/models/sign-in.ts","../src/models/sign-out-error.ts","../src/models/index.ts","../src/models/request-custom-grant.ts","../src/utils/message-utils.ts","../src/utils/spa-utils.ts","../src/utils/index.ts","../src/helpers/authentication-helper.ts","../src/helpers/session-management-helper.ts","../src/helpers/index.ts","../src/stores/local-store.ts","../src/stores/memory-store.ts","../src/stores/session-store.ts","../src/stores/index.ts","../node_modules/buffer/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/base64url/dist/base64url.d.ts","../node_modules/fast-sha256/sha256.d.ts","../node_modules/jose/dist/types/types.d.ts","../node_modules/jose/dist/types/jwe/compact/decrypt.d.ts","../node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts","../node_modules/jose/dist/types/jwe/general/decrypt.d.ts","../node_modules/jose/dist/types/jwe/general/encrypt.d.ts","../node_modules/jose/dist/types/jws/compact/verify.d.ts","../node_modules/jose/dist/types/jws/flattened/verify.d.ts","../node_modules/jose/dist/types/jws/general/verify.d.ts","../node_modules/jose/dist/types/jwt/verify.d.ts","../node_modules/jose/dist/types/jwt/decrypt.d.ts","../node_modules/jose/dist/types/jwt/produce.d.ts","../node_modules/jose/dist/types/jwe/compact/encrypt.d.ts","../node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts","../node_modules/jose/dist/types/jws/compact/sign.d.ts","../node_modules/jose/dist/types/jws/flattened/sign.d.ts","../node_modules/jose/dist/types/jws/general/sign.d.ts","../node_modules/jose/dist/types/jwt/sign.d.ts","../node_modules/jose/dist/types/jwt/encrypt.d.ts","../node_modules/jose/dist/types/jwk/thumbprint.d.ts","../node_modules/jose/dist/types/jwk/embedded.d.ts","../node_modules/jose/dist/types/jwks/local.d.ts","../node_modules/jose/dist/types/jwks/remote.d.ts","../node_modules/jose/dist/types/jwt/unsecured.d.ts","../node_modules/jose/dist/types/key/export.d.ts","../node_modules/jose/dist/types/key/import.d.ts","../node_modules/jose/dist/types/util/decode_protected_header.d.ts","../node_modules/jose/dist/types/util/decode_jwt.d.ts","../node_modules/jose/dist/types/util/errors.d.ts","../node_modules/jose/dist/types/key/generate_key_pair.d.ts","../node_modules/jose/dist/types/key/generate_secret.d.ts","../node_modules/jose/dist/types/util/base64url.d.ts","../node_modules/jose/dist/types/index.d.ts","../src/utils/crypto-utils.ts","../src/clients/main-thread-client.ts","../src/clients/web-worker-client.ts","../src/clients/index.ts","../src/client.ts","../src/worker/worker-core.ts","../src/worker/worker-receiver.ts","../src/public-api.ts","../src/index-polyfill.ts","../polyfilled/esm.d.ts","../polyfilled/umd.d.ts","../src/web-worker.d.ts","../src/worker.ts","../src/worker/index.ts","../node_modules/@types/crypto-js/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"5eb247204e0071898fd2336fafbb9766e75cbb204916eb45d815b9979ce6fa25","d681bdc2954f5e561d30407e0ab367d7444e274a0d802005a347389c824ee22d","03f1c2a95a0138349419d32b4c10d2bb81e1b34723e655616837e467aa425e3c","2d90decb740c9c25b45d35092763096e0d1e9f3b93930732e6864c553f4f116d","b030697e31bc3a17055c25245416b537f294473e7f0cbaadf1b6e925acf77c67","32e08aebc30bad470ec1a0986d1daeed66c30325865b223b7fdf0ed66e5c4631","8075834e3cd8c79bf1040c82259807d69136ddfb32975ec0ad2a152d9a5f8030","e6d5097caa2b801d56838703a2612caca6e4ad76c8068942810fee3625a622ac","a09e36d197874f408154c72a93ddfbdbb4dc3530aca7374fb8b42c91a48236dc","bbdfcd4707689f9bb25ceaac33fe6de75f519b1c6dc1b1653ad514416ddba013","f7a2cb36f1513c9b7c9deeee89c37b84ffa8aa6a5741fdcd9cd6e6bca2d601fc","5d340ad2bc6e635a639e1940ca656ad3860dc529f6c7f3d91eacafebcbe344b2","0213ef491d2af6180d582e5d38275e7ffd08ea70e8658b70e51f7cc2e8f9c20d","f6c7702c252e54a6ea3487d9ac261e3b5f047f4ad38093973368b9f88d32b922","2f2a8f38a620019ba17aca84641938f0aca2ddcc23d3472ab0987d13feebad9f","014859158bae57726918c748ae188cb65f5971abf510a0e80089644adcc145be","0f51af0572cac9d22dc9e2d787be08f563e7bc0d9d483426621348e13bdad619","3625d2b4c5103c6129ab6a81de4d70cb09e2dd9187d1f6308fd4c05361e12c0b","8f306fc2cd1eea02a2bae64a6b93581a820606982844f173a70cd8c8f4d17343","10ebbe35065a26711c59a28edf19c2c972c86599e2f8067f142d3df538dd0e0c","c789014bcd8fc97b0b2f0baf99bb9bd56b7caf9c7d0f89a1a26f93e63677c800","8ec05eb6d7095fee3bed62bf2e1bb13f9acfaf7090e8e909b467aec2ae3b875d","c8cdd7202b908fe6be3afe8623bc924dcef1c268632996daf965532611e79f01","b361c8c7908f138126bbe6b42b24f6a13af243c71ef236cf8ce9e09e8d5a7500","969fededea64a89c05a192812585e9823da3d89eaf04e3119c91c70342bc6abf","e7d1dd0a90e551c6b1a26d5a7bb61f56af6905c52ed2d6f705ca73ca262135db","0f63e1577f90f8641e13eb378f9d8e2b147bc38f0d3481c0eb91120832e4da2d","80b87a9acb21115b7c60490fd791feb98b7f19a1698eedc84df6cdd82e9028c6","6c7dde0e0c2be13924975a22ce7e599a0a0c0e31cfa6b2f0009be55e5929f944","d6a902fece8d75efc2aaf5b57fb13cf58772d4cb332f8f2f37b09dceafce940a","fc8d85ad0b12b426d6e3fe5e269dbb7a27c9a1c7d4631cff8013427c44c32f7a","42f6bce57392bb09b4a16d66a11ad84038b65ad1c795f92bf3a90097e56af3d1","2bdb6daae81c09fa9a951ba3b388aef26669b2c407c0c1ef693d445536d1dfec","dd5561dac7c617e000ecca79006e52685ac6d03cc62865087d41fa5b929fb5a1","9ced747e5c237fb9a51b44ee8811ed66ba3665b362b5bec6e0af6d3b7df01c79","2092f0d331ad3e2608f2e1c11fa85983985b619a802e33ab6ff22d12b172e911","eac8f7f5aa8ad1418ea1b50274777d88a7a5da16f650613a880f97f658b4b284","fb0c18b16461bda0debff0373a95a4e71221bdfe0237bf83e0fc96fecff62b5e","1a5fd7fd06c35fceef3d43a0637fe370bfe1daa82f538b183cb065bb0aec3a78","6d810ad82884439caecb265c9444667e038dcf01706cadfec80ea4dd998d81d8","b8fed43680ec4066d13d2c48daaff88a885c4ea5fa11fc5393011e1b13f2c2f0","7c3ab924fd8494f286ad3966ebbcbcf7fe07d81bc3d928e1800b05d75a7fadac","c241721993235e5b85856909593605f12530c5e366f0456f5cd2158c19dcbad6","6da64e55101ad42112c2f2327c89f16abc5879c56042585882b32610c764778d","ed8d18f4db98a6038b2d818776a23e9d70c1c59b83368af2e5c525d7fea540fe","a21280e001d7c8996040872e63b114ca4d2a94476e0c741ee198248d0d2ddbd6","7b69a343d360fef3cf03736059bd3890166400bf88d9cb3ca2126d6d5ce45791","d373d738f77efc587af5b7cc4f0072af050dd4a7af7fd404928423052101139f","886f9c6cce85546bd9e7acdb8c3e3642418efe459dcf1f468c4c8ffa279427bd","e21a9da6c7f42fa58f6ea36f3596b1cbd8a9186beb6de5158ed24920bbc7e0f2","de7b78df4313997299572ca4fe7d92c06cc38cbfb05e64b9df3084f80f46857c","577834a29cc67ba4325d99a2818f35d0b3520ac2448c620f61f8bbe65a9e043a","6146a5a006637f224f757548e4a26a9b168a24acbdddf4ca8848cbfb4fbdfc7a","1db6ce87193a2f542fd6c3e14b9bf17b57202773c0e88bd1249b776f136f7008","30c6794996780f08e943f58511b0b5b1edd444c47cd61d51959099781db520ea","7e3618670f073414247cca0d15c21dc1e30cc91aa0537643705d62ceb1a798b0","e6ef854ad1e937ef95b0ddc9ad7a6c7cf60ca7d37dcd4d2db46e6a22b9921bb3","dadee70187ec1810888823edaa893a95fba52e84281926e55ee95eacff107d57","e48b236713c8c6af5ebc00f10b8d001cb77bf1632adfda0235a82be488527f10","d4551be00948f205f7308e09464d715e062deed201dc3398db97d2db12247bbc","2a3ee5ceba0a31af3ccb8065831a9681fa378f318fdcfbd01d005c6cdcaa6b36","753ee327c7b3de8a2003e8199826879210174aedba6184098703b4a4c9fb150d","093ceafe704d2244ba3e297d7ce665d7f2e4a7112cf1334a9373b76acb9402a8","7a061e6586c5fca55fde97e8505e79c82e649a87b6e90767e5330470e0ee221a","1fea5b44dead36f951aabebf97d7636f3b35078870ef4ba042c24a1542befa5c","7f54a52e0344af384dd483351dc9fe2003bed675f8771e7339c27be46693318a","b3643471b0860e55440721bc05499b5c6373d5ad8aad96d429a78484024176a9","789a86243d9f9d1d2816f005c924c07e4054193bcd9a5dccb9b683722251586b","4ac58569ec95e39656dff0a8b5cd43d847bb537d6ebf85c5cfe5fadbfe65cae5","a403cebc4c34b09157a0abdbed93e79e5f4055d36072f858a6db85cb8dea5f12","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"af9771b066ec35ffa1c7db391b018d2469d55e51b98ae95e62b6cbef1b0169ca","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","946d667bb57e1a5c8850161b3980a11b616ab4f1914d9b4ba71791bda1d195a5","4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","1531a27b26ce94b434820a642f74906970b5f6648225d2b16e267e05aa45f564","49d23943d2bb09f5bac15ba69944325239a998d25c17e9f4724afe850c43ae47","74a70c21fd168d487f5d52bcdce453e6b2e4bae65dcf9391b6fcdd3823bd8a43","1eb1f8d7cd1ef1f675840229a6558b895e2bcc70843d52abfcfbe3779312ff2b","341a824d0b80e9a51ef509d8017f8a3d8782e99dbe47737c931b7f4f7c756cb1","c03698e335016d40fbc36fb1bd987f1a6fdf46349ba288892e588189a3e7d07e","89bff8ab43246dfcfc1f22ed78dc5cdfc7ac2ddaf832d79deceaf59beb3d7c18","6ddab747e2657463f99954bfe360d92144f460cfca7a8db62b320242e1ba0a70","9a386e46e4da74a20a5f15c80d164ec51470c238bba3636a5a3814faab090bcf","79372fb45509911fc905e496ef91afd825a8feb564d29d0bc6ddf56365a1541f","f516426a4c73211f80aa6b6e4bdbb701dab91475f8c49c0c52a116eb6b3abd59","d5e8f65b23bac083dcedccb5ff5ef4cf0acd40a78d1341300dae6de8d5d0560d","98a58f29b115ee5f1c20e30cd0112125ddd30f6ad6d26f5a895e87dfffccc8d9","9f427bfbb1e88cae899b1508c94d38d1d95e806e2afe15ac36c43022698b0c86","3a0692d9c826d71e03f16cc70a5bfbac8660fda8fd81cd992aebc8f32d2ab3e9","fa846ab6f2ffb7ba3b26d7e72d4cc75c3204039626fd2528c4be26f2c111c13d","5289ef752f4ad8c3636b55ec9d32a3d20244072e83168cacbaffb674a3cabdc6","1044957b7d84969a41b4a9af59830e3505f506372085653011d12479d324f775","c2475ed7529224760c4560c49716de327c2000770830709c96bfc1f2a33d3bc0","6cc423d06bc7a3393b5699927f168f8b6a85f21b56d44b71e9c982e182b90727","c35bd485fe96ae6a9ba8dba325ec62e706e035cd3e0f87eae1ba1f644cb1650e","a8f998f84a7e74d04563a4f143d69ef2e638b644345227b75f28a50ecf7982d4","80c95f005d486dba7e47d848f865c0e3e280d6fbdc408b616256c229e769c921","66a2250469e4bd12ed4d22ce05dc4f889f34b899dcfe3a91ab6c542ef7d3d1ea","6f234a6f77a89151262494840aec72a750da289afbf8acd10e01d1f4c956a6a2","b37cf105323d1dafa75b5ecf746a0ec6bed5dc6c5d5be7813de8603c093373ab","770ded6da7e75524f010f18b5b4882259e768ef47b5d05b9c83cc4a96aaf4ec8","f51d38853c34f5482c6d61bea7d97ff31243e8c215cc9881f816c9a66f69fbd5","e379c832b4da9ebeba2232a130cfa7a83e970f456123d207820f0c87263d034c","c2ea643caad48f903c5f88528c6bc766ab24d72c09134d951931e884b795b4ca","086d9e59a579981bdf4f3bfa6e8e893570e5005f7219292bf7d90c153066cdfc","1071bc70119d0cf9cfbffa219eb9c76abbca2fd3f679d5bc5eb8c0f69db1f7f8","d08e30f38e32524d753b8241d49d6e01ba2cbd5224844c1b09a12d2454b74537","8773ca849fda492ca4169ac27d7c17ec1a140304e96667b1bc4fc68d17332964","912e1a8378d266b24997e0962e4c354dc2a083014b143b0b4880ca561b91f326","671315ee8d597ab350f046802451dc7176d8a1aa08580c6d6275aae87bb9f9bb","45196434cd91e1c86b4fcd55af597c75671f6b902806bdb4031e0774a4f6f4bb","b85a496dce2f3136fab72c63965cd56455083634446ec0813f6426c6d8979a10","19a56e94330a46efb1c78e12a32085d28d1e33143eb1dd70d2dd821bdf06fb4e","2a8a5ca050d56e679e0239fe2bc986eede47e096b2553536c7d5254549defa7b","94385f5e0f8622f419c90b355f4e417a25c80a04e9a1a42eca89fad5e0c6cb55","99fc1afc2ee80d9ccca4185b67de2123563287ba59f7f717368cc70722383b3e","99fc1afc2ee80d9ccca4185b67de2123563287ba59f7f717368cc70722383b3e","b7250063a1605fc45ce68674b4a6941a8f44cc9493cb9b1f4119c6912042cfee","3f0d46e0734ae376cf9eca991dee0fa5538106d079d3682ea78b1e39a7f6764b","40997479c291410de405b3a8ac4fba2ad003788c9239a31391b09128394d1ea1",{"version":"4f9362850bb427525ba05c0e861dae06d9918bd16ccb38d504cb7294f69e8496","affectsGlobalScope":true},"89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":99,"noImplicitAny":false,"outDir":"./","sourceMap":true,"strict":true,"suppressImplicitAnyIndexErrors":true,"target":2},"fileIdsList":[[55,64,67,158],[158],[44,56,57,58,59,60,61,158],[55,158],[55,62,158],[63,158],[71,158],[55,64,65,158],[65,66,158],[73,158],[45,62,158],[45,46,47,48,49,50,51,52,53,54,158],[44,55,57,58,59,60,64,65,68,70,72,158],[69,158],[115,158],[118,158],[119,124,158],[120,130,131,138,147,157,158],[120,121,130,138,158],[122,158],[123,124,131,139,158],[124,147,154,158],[125,127,130,138,158],[126,158],[127,128,158],[129,130,158],[130,158],[130,131,132,147,157,158],[130,131,132,147,158],[158,162],[133,138,147,157,158],[130,131,133,134,138,147,154,157,158],[133,135,147,154,157,158],[115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[130,136,158],[137,157,158],[127,130,138,147,158],[139,158],[140,158],[118,141,158],[142,156,158,162],[143,158],[144,158],[130,145,158],[145,146,158,160],[130,147,148,149,158],[147,149,158],[147,148,158],[150,158],[151,158],[130,152,153,158],[152,153,158],[124,138,147,154,158],[155,158],[138,156,158],[119,133,144,157,158],[124,158],[147,158,159],[158,160],[158,161],[119,124,130,132,141,147,157,158,160,162],[147,158,163],[158,165],[158,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198],[158,168],[158,168,178],[158,208],[74,81,92,98,102,106,109,158,203,211],[158,201,202],[74,81,92,98,102,103,106,109,113,158,200],[74,81,98,102,103,106,109,113,158,200],[75,76,77,78,79,80,158],[74,81,83,98,102,103,106,158],[83,107,108,158],[74,81,98,102,106,158],[74,82,158],[82,84,86,89,158],[90,158],[85,158],[89,91,158],[82,158],[102,158],[87,88,158],[158,207],[74,98,158],[74,92,102,158],[82,84,92,102,158],[93,94,95,96,97,98,99,100,101,158],[81,158],[74,158],[74,82,102,158],[74,76,77,83,102,103,105,107,158,201,202,204,206],[110,111,112,158],[74,119,158,166,167,199],[104,105,158],[74,81,82,158],[74,102,109,158,206],[158,205,206],[74,92,102,109,113,158,200],[74,81,102,106,109,158,205]],"referencedMap":[[68,1],[44,2],[57,2],[58,2],[61,2],[62,3],[56,4],[59,2],[60,2],[63,5],[64,6],[71,2],[72,7],[66,8],[65,4],[67,9],[74,10],[51,2],[46,11],[53,2],[49,2],[47,4],[54,2],[50,2],[55,12],[45,2],[48,2],[52,2],[73,13],[69,4],[70,14],[214,2],[215,2],[115,15],[116,15],[118,16],[119,17],[120,18],[121,19],[122,20],[123,21],[124,22],[125,23],[126,24],[127,25],[128,25],[129,26],[130,27],[131,28],[132,29],[117,30],[164,2],[133,31],[134,32],[135,33],[165,34],[136,35],[137,36],[138,37],[139,38],[140,39],[141,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[149,47],[148,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[157,56],[158,57],[159,58],[160,59],[161,60],[162,61],[163,62],[216,63],[84,2],[166,63],[114,2],[167,2],[199,64],[169,65],[179,65],[170,65],[180,65],[171,65],[172,65],[187,65],[186,65],[188,65],[189,65],[181,65],[173,65],[182,65],[174,65],[183,65],[175,65],[177,65],[185,66],[178,65],[184,66],[190,66],[176,65],[191,65],[196,65],[197,65],[192,65],[168,2],[198,2],[194,65],[193,65],[195,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[42,2],[38,2],[39,2],[40,2],[41,2],[2,2],[1,2],[43,2],[12,2],[11,2],[209,67],[210,67],[204,68],[203,69],[201,70],[202,71],[80,2],[77,2],[81,72],[75,2],[79,2],[78,2],[76,2],[107,73],[109,74],[108,75],[83,76],[90,77],[91,78],[85,2],[86,79],[92,80],[87,81],[88,82],[89,83],[208,84],[82,84],[99,85],[93,86],[95,87],[102,88],[94,89],[103,90],[97,81],[100,90],[101,2],[98,2],[96,91],[207,92],[113,93],[110,90],[111,90],[112,90],[200,94],[106,95],[104,82],[105,96],[211,2],[212,97],[213,98],[205,99],[206,100],[217,2],[218,2],[219,2],[220,2],[221,2],[222,2]],"exportedModulesMap":[[68,1],[44,2],[57,2],[58,2],[61,2],[62,3],[56,4],[59,2],[60,2],[63,5],[64,6],[71,2],[72,7],[66,8],[65,4],[67,9],[74,10],[51,2],[46,11],[53,2],[49,2],[47,4],[54,2],[50,2],[55,12],[45,2],[48,2],[52,2],[73,13],[69,4],[70,14],[214,2],[215,2],[115,15],[116,15],[118,16],[119,17],[120,18],[121,19],[122,20],[123,21],[124,22],[125,23],[126,24],[127,25],[128,25],[129,26],[130,27],[131,28],[132,29],[117,30],[164,2],[133,31],[134,32],[135,33],[165,34],[136,35],[137,36],[138,37],[139,38],[140,39],[141,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[149,47],[148,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[157,56],[158,57],[159,58],[160,59],[161,60],[162,61],[163,62],[216,63],[84,2],[166,63],[114,2],[167,2],[199,64],[169,65],[179,65],[170,65],[180,65],[171,65],[172,65],[187,65],[186,65],[188,65],[189,65],[181,65],[173,65],[182,65],[174,65],[183,65],[175,65],[177,65],[185,66],[178,65],[184,66],[190,66],[176,65],[191,65],[196,65],[197,65],[192,65],[168,2],[198,2],[194,65],[193,65],[195,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[42,2],[38,2],[39,2],[40,2],[41,2],[2,2],[1,2],[43,2],[12,2],[11,2],[209,67],[210,67],[204,68],[203,69],[201,70],[202,71],[80,2],[77,2],[81,72],[75,2],[79,2],[78,2],[76,2],[107,73],[109,74],[108,75],[83,76],[90,77],[91,78],[85,2],[86,79],[92,80],[87,81],[88,82],[89,83],[208,84],[82,84],[99,85],[93,86],[95,87],[102,88],[94,89],[103,90],[97,81],[100,90],[101,2],[98,2],[96,91],[207,92],[113,93],[110,90],[111,90],[112,90],[200,94],[106,95],[104,82],[105,96],[211,2],[212,97],[213,98],[205,99],[206,100],[217,2],[218,2],[219,2],[220,2],[221,2],[222,2]],"semanticDiagnosticsPerFile":[68,44,57,58,61,62,56,59,60,63,64,71,72,66,65,67,74,51,46,53,49,47,54,50,55,45,48,52,73,69,70,214,215,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,117,164,133,134,135,165,136,137,138,139,140,141,142,143,144,145,146,147,149,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,216,84,166,114,167,199,169,179,170,180,171,172,187,186,188,189,181,173,182,174,183,175,177,185,178,184,190,176,191,196,197,192,168,198,194,193,195,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,42,38,39,40,41,2,1,43,12,11,209,210,204,203,201,202,80,77,81,75,79,78,76,107,109,108,83,90,91,85,86,92,87,88,89,208,82,99,93,95,102,94,103,97,100,101,98,96,207,113,110,111,112,200,106,104,105,211,212,213,205,206,217,218,219,220,221,222]},"version":"4.5.5"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es6.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/client-config.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/oidc-provider-meta-data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/client-config.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/token.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/custom-grant.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/id-token.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/authorization-url.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/user.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/crypto.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/fetch.d.ts","../node_modules/@asgardeo/auth-js/dist/src/models/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/oidc-endpoints.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/custom-grant-template-tags.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/data.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/parameters.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/scopes.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/fetch.d.ts","../node_modules/@asgardeo/auth-js/dist/src/constants/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/data/data-layer.d.ts","../node_modules/@asgardeo/auth-js/dist/src/data/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/crypto-helper.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/authentication-helper.d.ts","../node_modules/@asgardeo/auth-js/dist/src/helpers/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/client.d.ts","../node_modules/@asgardeo/auth-js/dist/src/utils/authentication-utils.d.ts","../node_modules/@asgardeo/auth-js/dist/src/utils/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/exception/exception.d.ts","../node_modules/@asgardeo/auth-js/dist/src/exception/index.d.ts","../node_modules/@asgardeo/auth-js/dist/src/public-api.d.ts","../node_modules/@asgardeo/auth-js/dist/src/index.d.ts","../src/constants/messages-types.ts","../src/constants/storage.ts","../src/constants/hooks.ts","../src/constants/session-management.ts","../src/constants/parameters.ts","../src/constants/errors.ts","../src/constants/index.ts","../src/index.ts","../src/helpers/spa-helper.ts","../node_modules/axios/index.d.ts","../src/http-client/helpers/decorators.ts","../src/http-client/helpers/index.ts","../src/http-client/models/axios-http-client.ts","../src/http-client/models/http-client.ts","../src/http-client/models/index.ts","../src/http-client/clients/axios-http-client.ts","../src/http-client/clients/index.ts","../src/http-client/index.ts","../src/models/client.ts","../src/models/message.ts","../src/models/http-client.ts","../src/models/web-worker.ts","../src/models/session-management-helper.ts","../src/models/storage.ts","../src/models/client-config.ts","../src/models/sign-in.ts","../src/models/sign-out-error.ts","../src/models/index.ts","../src/models/request-custom-grant.ts","../src/utils/message-utils.ts","../src/utils/spa-utils.ts","../src/utils/index.ts","../src/helpers/authentication-helper.ts","../src/helpers/session-management-helper.ts","../src/helpers/index.ts","../src/stores/local-store.ts","../src/stores/memory-store.ts","../src/stores/session-store.ts","../src/stores/index.ts","../node_modules/buffer/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/base64url/dist/base64url.d.ts","../node_modules/fast-sha256/sha256.d.ts","../node_modules/jose/dist/types/types.d.ts","../node_modules/jose/dist/types/jwe/compact/decrypt.d.ts","../node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts","../node_modules/jose/dist/types/jwe/general/decrypt.d.ts","../node_modules/jose/dist/types/jwe/general/encrypt.d.ts","../node_modules/jose/dist/types/jws/compact/verify.d.ts","../node_modules/jose/dist/types/jws/flattened/verify.d.ts","../node_modules/jose/dist/types/jws/general/verify.d.ts","../node_modules/jose/dist/types/jwt/verify.d.ts","../node_modules/jose/dist/types/jwt/decrypt.d.ts","../node_modules/jose/dist/types/jwt/produce.d.ts","../node_modules/jose/dist/types/jwe/compact/encrypt.d.ts","../node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts","../node_modules/jose/dist/types/jws/compact/sign.d.ts","../node_modules/jose/dist/types/jws/flattened/sign.d.ts","../node_modules/jose/dist/types/jws/general/sign.d.ts","../node_modules/jose/dist/types/jwt/sign.d.ts","../node_modules/jose/dist/types/jwt/encrypt.d.ts","../node_modules/jose/dist/types/jwk/thumbprint.d.ts","../node_modules/jose/dist/types/jwk/embedded.d.ts","../node_modules/jose/dist/types/jwks/local.d.ts","../node_modules/jose/dist/types/jwks/remote.d.ts","../node_modules/jose/dist/types/jwt/unsecured.d.ts","../node_modules/jose/dist/types/key/export.d.ts","../node_modules/jose/dist/types/key/import.d.ts","../node_modules/jose/dist/types/util/decode_protected_header.d.ts","../node_modules/jose/dist/types/util/decode_jwt.d.ts","../node_modules/jose/dist/types/util/errors.d.ts","../node_modules/jose/dist/types/key/generate_key_pair.d.ts","../node_modules/jose/dist/types/key/generate_secret.d.ts","../node_modules/jose/dist/types/util/base64url.d.ts","../node_modules/jose/dist/types/index.d.ts","../src/utils/crypto-utils.ts","../src/clients/main-thread-client.ts","../src/clients/web-worker-client.ts","../src/clients/index.ts","../src/client.ts","../src/worker/worker-core.ts","../src/worker/worker-receiver.ts","../src/public-api.ts","../src/index-polyfill.ts","../polyfilled/esm.d.ts","../polyfilled/umd.d.ts","../src/web-worker.d.ts","../src/worker.ts","../src/worker/index.ts","../node_modules/@types/crypto-js/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"5eb247204e0071898fd2336fafbb9766e75cbb204916eb45d815b9979ce6fa25","d681bdc2954f5e561d30407e0ab367d7444e274a0d802005a347389c824ee22d","03f1c2a95a0138349419d32b4c10d2bb81e1b34723e655616837e467aa425e3c","2d90decb740c9c25b45d35092763096e0d1e9f3b93930732e6864c553f4f116d","b030697e31bc3a17055c25245416b537f294473e7f0cbaadf1b6e925acf77c67","32e08aebc30bad470ec1a0986d1daeed66c30325865b223b7fdf0ed66e5c4631","8075834e3cd8c79bf1040c82259807d69136ddfb32975ec0ad2a152d9a5f8030","e6d5097caa2b801d56838703a2612caca6e4ad76c8068942810fee3625a622ac","a09e36d197874f408154c72a93ddfbdbb4dc3530aca7374fb8b42c91a48236dc","bbdfcd4707689f9bb25ceaac33fe6de75f519b1c6dc1b1653ad514416ddba013","f7a2cb36f1513c9b7c9deeee89c37b84ffa8aa6a5741fdcd9cd6e6bca2d601fc","5d340ad2bc6e635a639e1940ca656ad3860dc529f6c7f3d91eacafebcbe344b2","0213ef491d2af6180d582e5d38275e7ffd08ea70e8658b70e51f7cc2e8f9c20d","f6c7702c252e54a6ea3487d9ac261e3b5f047f4ad38093973368b9f88d32b922","2f2a8f38a620019ba17aca84641938f0aca2ddcc23d3472ab0987d13feebad9f","014859158bae57726918c748ae188cb65f5971abf510a0e80089644adcc145be","0f51af0572cac9d22dc9e2d787be08f563e7bc0d9d483426621348e13bdad619","3625d2b4c5103c6129ab6a81de4d70cb09e2dd9187d1f6308fd4c05361e12c0b","8f306fc2cd1eea02a2bae64a6b93581a820606982844f173a70cd8c8f4d17343","10ebbe35065a26711c59a28edf19c2c972c86599e2f8067f142d3df538dd0e0c","c789014bcd8fc97b0b2f0baf99bb9bd56b7caf9c7d0f89a1a26f93e63677c800","8ec05eb6d7095fee3bed62bf2e1bb13f9acfaf7090e8e909b467aec2ae3b875d","c8cdd7202b908fe6be3afe8623bc924dcef1c268632996daf965532611e79f01","b361c8c7908f138126bbe6b42b24f6a13af243c71ef236cf8ce9e09e8d5a7500","969fededea64a89c05a192812585e9823da3d89eaf04e3119c91c70342bc6abf","e7d1dd0a90e551c6b1a26d5a7bb61f56af6905c52ed2d6f705ca73ca262135db","0f63e1577f90f8641e13eb378f9d8e2b147bc38f0d3481c0eb91120832e4da2d","80b87a9acb21115b7c60490fd791feb98b7f19a1698eedc84df6cdd82e9028c6","6c7dde0e0c2be13924975a22ce7e599a0a0c0e31cfa6b2f0009be55e5929f944","d6a902fece8d75efc2aaf5b57fb13cf58772d4cb332f8f2f37b09dceafce940a","fc8d85ad0b12b426d6e3fe5e269dbb7a27c9a1c7d4631cff8013427c44c32f7a","07a48d2eab065794833fd21a0056e863f0e0119775d5f563438e960248da5a30","2bdb6daae81c09fa9a951ba3b388aef26669b2c407c0c1ef693d445536d1dfec","dd5561dac7c617e000ecca79006e52685ac6d03cc62865087d41fa5b929fb5a1","9ced747e5c237fb9a51b44ee8811ed66ba3665b362b5bec6e0af6d3b7df01c79","2092f0d331ad3e2608f2e1c11fa85983985b619a802e33ab6ff22d12b172e911","eac8f7f5aa8ad1418ea1b50274777d88a7a5da16f650613a880f97f658b4b284","fb0c18b16461bda0debff0373a95a4e71221bdfe0237bf83e0fc96fecff62b5e","1a5fd7fd06c35fceef3d43a0637fe370bfe1daa82f538b183cb065bb0aec3a78","6d810ad82884439caecb265c9444667e038dcf01706cadfec80ea4dd998d81d8","faf770b3935c2ba6558b2bb65af5d5de58945d81f496dc1a5938c41a1abb358b","7c3ab924fd8494f286ad3966ebbcbcf7fe07d81bc3d928e1800b05d75a7fadac","c241721993235e5b85856909593605f12530c5e366f0456f5cd2158c19dcbad6","6da64e55101ad42112c2f2327c89f16abc5879c56042585882b32610c764778d","ed8d18f4db98a6038b2d818776a23e9d70c1c59b83368af2e5c525d7fea540fe","a21280e001d7c8996040872e63b114ca4d2a94476e0c741ee198248d0d2ddbd6","914211857900f90e42e8374dd06a95c572f6c9adabc4c3d19a25534fc92ad943","d373d738f77efc587af5b7cc4f0072af050dd4a7af7fd404928423052101139f","886f9c6cce85546bd9e7acdb8c3e3642418efe459dcf1f468c4c8ffa279427bd","8aafc276dfa5d96c9a3473b1ca04cb8a192148cc67308b315ee9e36200aa85e0","4d08375115e8e1932bbff845223471757567385f4d450c5c2db6dafa2a9ea80a","577834a29cc67ba4325d99a2818f35d0b3520ac2448c620f61f8bbe65a9e043a","6146a5a006637f224f757548e4a26a9b168a24acbdddf4ca8848cbfb4fbdfc7a","1db6ce87193a2f542fd6c3e14b9bf17b57202773c0e88bd1249b776f136f7008","30c6794996780f08e943f58511b0b5b1edd444c47cd61d51959099781db520ea","7e3618670f073414247cca0d15c21dc1e30cc91aa0537643705d62ceb1a798b0","e6ef854ad1e937ef95b0ddc9ad7a6c7cf60ca7d37dcd4d2db46e6a22b9921bb3","dadee70187ec1810888823edaa893a95fba52e84281926e55ee95eacff107d57","e48b236713c8c6af5ebc00f10b8d001cb77bf1632adfda0235a82be488527f10","d4551be00948f205f7308e09464d715e062deed201dc3398db97d2db12247bbc","c498a194d3375e243a88449109ec2ed6fa33fe193ff76cb9149f75a916371af7","753ee327c7b3de8a2003e8199826879210174aedba6184098703b4a4c9fb150d","093ceafe704d2244ba3e297d7ce665d7f2e4a7112cf1334a9373b76acb9402a8","7a061e6586c5fca55fde97e8505e79c82e649a87b6e90767e5330470e0ee221a","1fea5b44dead36f951aabebf97d7636f3b35078870ef4ba042c24a1542befa5c","7f54a52e0344af384dd483351dc9fe2003bed675f8771e7339c27be46693318a","b3643471b0860e55440721bc05499b5c6373d5ad8aad96d429a78484024176a9","789a86243d9f9d1d2816f005c924c07e4054193bcd9a5dccb9b683722251586b","4ac58569ec95e39656dff0a8b5cd43d847bb537d6ebf85c5cfe5fadbfe65cae5","a403cebc4c34b09157a0abdbed93e79e5f4055d36072f858a6db85cb8dea5f12","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"af9771b066ec35ffa1c7db391b018d2469d55e51b98ae95e62b6cbef1b0169ca","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","946d667bb57e1a5c8850161b3980a11b616ab4f1914d9b4ba71791bda1d195a5","4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","1531a27b26ce94b434820a642f74906970b5f6648225d2b16e267e05aa45f564","49d23943d2bb09f5bac15ba69944325239a998d25c17e9f4724afe850c43ae47","74a70c21fd168d487f5d52bcdce453e6b2e4bae65dcf9391b6fcdd3823bd8a43","1eb1f8d7cd1ef1f675840229a6558b895e2bcc70843d52abfcfbe3779312ff2b","341a824d0b80e9a51ef509d8017f8a3d8782e99dbe47737c931b7f4f7c756cb1","c03698e335016d40fbc36fb1bd987f1a6fdf46349ba288892e588189a3e7d07e","89bff8ab43246dfcfc1f22ed78dc5cdfc7ac2ddaf832d79deceaf59beb3d7c18","6ddab747e2657463f99954bfe360d92144f460cfca7a8db62b320242e1ba0a70","9a386e46e4da74a20a5f15c80d164ec51470c238bba3636a5a3814faab090bcf","79372fb45509911fc905e496ef91afd825a8feb564d29d0bc6ddf56365a1541f","f516426a4c73211f80aa6b6e4bdbb701dab91475f8c49c0c52a116eb6b3abd59","d5e8f65b23bac083dcedccb5ff5ef4cf0acd40a78d1341300dae6de8d5d0560d","98a58f29b115ee5f1c20e30cd0112125ddd30f6ad6d26f5a895e87dfffccc8d9","9f427bfbb1e88cae899b1508c94d38d1d95e806e2afe15ac36c43022698b0c86","3a0692d9c826d71e03f16cc70a5bfbac8660fda8fd81cd992aebc8f32d2ab3e9","fa846ab6f2ffb7ba3b26d7e72d4cc75c3204039626fd2528c4be26f2c111c13d","5289ef752f4ad8c3636b55ec9d32a3d20244072e83168cacbaffb674a3cabdc6","1044957b7d84969a41b4a9af59830e3505f506372085653011d12479d324f775","c2475ed7529224760c4560c49716de327c2000770830709c96bfc1f2a33d3bc0","6cc423d06bc7a3393b5699927f168f8b6a85f21b56d44b71e9c982e182b90727","c35bd485fe96ae6a9ba8dba325ec62e706e035cd3e0f87eae1ba1f644cb1650e","a8f998f84a7e74d04563a4f143d69ef2e638b644345227b75f28a50ecf7982d4","80c95f005d486dba7e47d848f865c0e3e280d6fbdc408b616256c229e769c921","66a2250469e4bd12ed4d22ce05dc4f889f34b899dcfe3a91ab6c542ef7d3d1ea","6f234a6f77a89151262494840aec72a750da289afbf8acd10e01d1f4c956a6a2","b37cf105323d1dafa75b5ecf746a0ec6bed5dc6c5d5be7813de8603c093373ab","770ded6da7e75524f010f18b5b4882259e768ef47b5d05b9c83cc4a96aaf4ec8","f51d38853c34f5482c6d61bea7d97ff31243e8c215cc9881f816c9a66f69fbd5","e379c832b4da9ebeba2232a130cfa7a83e970f456123d207820f0c87263d034c","c2ea643caad48f903c5f88528c6bc766ab24d72c09134d951931e884b795b4ca","086d9e59a579981bdf4f3bfa6e8e893570e5005f7219292bf7d90c153066cdfc","1071bc70119d0cf9cfbffa219eb9c76abbca2fd3f679d5bc5eb8c0f69db1f7f8","d08e30f38e32524d753b8241d49d6e01ba2cbd5224844c1b09a12d2454b74537","8773ca849fda492ca4169ac27d7c17ec1a140304e96667b1bc4fc68d17332964","ffb63b99b8f84c94d98a387c82017055cbed3cff0766219c55255533435cf85a","671315ee8d597ab350f046802451dc7176d8a1aa08580c6d6275aae87bb9f9bb","a657f005a40cb96ee13e969a0ec93c7f9adbf9268fa73cd7e3c1a7599bb493b9","b85a496dce2f3136fab72c63965cd56455083634446ec0813f6426c6d8979a10","007fedc9ed7393bbc052159cf19b27496947d60194c55cb82aef31daf901f721","2a8a5ca050d56e679e0239fe2bc986eede47e096b2553536c7d5254549defa7b","94385f5e0f8622f419c90b355f4e417a25c80a04e9a1a42eca89fad5e0c6cb55","99fc1afc2ee80d9ccca4185b67de2123563287ba59f7f717368cc70722383b3e","99fc1afc2ee80d9ccca4185b67de2123563287ba59f7f717368cc70722383b3e","b7250063a1605fc45ce68674b4a6941a8f44cc9493cb9b1f4119c6912042cfee","3f0d46e0734ae376cf9eca991dee0fa5538106d079d3682ea78b1e39a7f6764b","40997479c291410de405b3a8ac4fba2ad003788c9239a31391b09128394d1ea1",{"version":"4f9362850bb427525ba05c0e861dae06d9918bd16ccb38d504cb7294f69e8496","affectsGlobalScope":true},"89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b"],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":99,"noImplicitAny":false,"outDir":"./","sourceMap":true,"strict":true,"suppressImplicitAnyIndexErrors":true,"target":2},"fileIdsList":[[55,64,67,158],[158],[44,56,57,58,59,60,61,158],[55,158],[55,62,158],[63,158],[71,158],[55,64,65,158],[65,66,158],[73,158],[45,62,158],[45,46,47,48,49,50,51,52,53,54,158],[44,55,57,58,59,60,64,65,68,70,72,158],[69,158],[115,158],[118,158],[119,124,158],[120,130,131,138,147,157,158],[120,121,130,138,158],[122,158],[123,124,131,139,158],[124,147,154,158],[125,127,130,138,158],[126,158],[127,128,158],[129,130,158],[130,158],[130,131,132,147,157,158],[130,131,132,147,158],[158,162],[133,138,147,157,158],[130,131,133,134,138,147,154,157,158],[133,135,147,154,157,158],[115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[130,136,158],[137,157,158],[127,130,138,147,158],[139,158],[140,158],[118,141,158],[142,156,158,162],[143,158],[144,158],[130,145,158],[145,146,158,160],[130,147,148,149,158],[147,149,158],[147,148,158],[150,158],[151,158],[130,152,153,158],[152,153,158],[124,138,147,154,158],[155,158],[138,156,158],[119,133,144,157,158],[124,158],[147,158,159],[158,160],[158,161],[119,124,130,132,141,147,157,158,160,162],[147,158,163],[158,165],[158,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198],[158,168],[158,168,178],[158,208],[74,81,92,98,102,106,109,158,203,211],[158,201,202],[74,81,92,98,102,103,106,109,113,158,200],[74,81,98,102,103,106,109,113,158,200],[75,76,77,78,79,80,158],[74,81,83,98,102,103,106,158],[83,107,108,158],[74,81,98,102,106,158],[74,82,158],[82,84,86,89,158],[90,158],[85,158],[89,91,158],[82,158],[102,158],[87,88,158],[158,207],[74,98,158],[74,92,102,158],[82,84,92,102,158],[93,94,95,96,97,98,99,100,101,158],[81,158],[74,158],[74,82,102,158],[74,76,77,83,102,103,105,107,158,201,202,204,206],[110,111,112,158],[74,119,158,166,167,199],[104,105,158],[74,81,82,158],[74,102,109,158,206],[158,205,206],[74,92,102,109,113,158,200],[74,81,102,106,109,158,205]],"referencedMap":[[68,1],[44,2],[57,2],[58,2],[61,2],[62,3],[56,4],[59,2],[60,2],[63,5],[64,6],[71,2],[72,7],[66,8],[65,4],[67,9],[74,10],[51,2],[46,11],[53,2],[49,2],[47,4],[54,2],[50,2],[55,12],[45,2],[48,2],[52,2],[73,13],[69,4],[70,14],[214,2],[215,2],[115,15],[116,15],[118,16],[119,17],[120,18],[121,19],[122,20],[123,21],[124,22],[125,23],[126,24],[127,25],[128,25],[129,26],[130,27],[131,28],[132,29],[117,30],[164,2],[133,31],[134,32],[135,33],[165,34],[136,35],[137,36],[138,37],[139,38],[140,39],[141,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[149,47],[148,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[157,56],[158,57],[159,58],[160,59],[161,60],[162,61],[163,62],[216,63],[84,2],[166,63],[114,2],[167,2],[199,64],[169,65],[179,65],[170,65],[180,65],[171,65],[172,65],[187,65],[186,65],[188,65],[189,65],[181,65],[173,65],[182,65],[174,65],[183,65],[175,65],[177,65],[185,66],[178,65],[184,66],[190,66],[176,65],[191,65],[196,65],[197,65],[192,65],[168,2],[198,2],[194,65],[193,65],[195,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[42,2],[38,2],[39,2],[40,2],[41,2],[2,2],[1,2],[43,2],[12,2],[11,2],[209,67],[210,67],[204,68],[203,69],[201,70],[202,71],[80,2],[77,2],[81,72],[75,2],[79,2],[78,2],[76,2],[107,73],[109,74],[108,75],[83,76],[90,77],[91,78],[85,2],[86,79],[92,80],[87,81],[88,82],[89,83],[208,84],[82,84],[99,85],[93,86],[95,87],[102,88],[94,89],[103,90],[97,81],[100,90],[101,2],[98,2],[96,91],[207,92],[113,93],[110,90],[111,90],[112,90],[200,94],[106,95],[104,82],[105,96],[211,2],[212,97],[213,98],[205,99],[206,100],[217,2],[218,2],[219,2],[220,2],[221,2],[222,2]],"exportedModulesMap":[[68,1],[44,2],[57,2],[58,2],[61,2],[62,3],[56,4],[59,2],[60,2],[63,5],[64,6],[71,2],[72,7],[66,8],[65,4],[67,9],[74,10],[51,2],[46,11],[53,2],[49,2],[47,4],[54,2],[50,2],[55,12],[45,2],[48,2],[52,2],[73,13],[69,4],[70,14],[214,2],[215,2],[115,15],[116,15],[118,16],[119,17],[120,18],[121,19],[122,20],[123,21],[124,22],[125,23],[126,24],[127,25],[128,25],[129,26],[130,27],[131,28],[132,29],[117,30],[164,2],[133,31],[134,32],[135,33],[165,34],[136,35],[137,36],[138,37],[139,38],[140,39],[141,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[149,47],[148,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[157,56],[158,57],[159,58],[160,59],[161,60],[162,61],[163,62],[216,63],[84,2],[166,63],[114,2],[167,2],[199,64],[169,65],[179,65],[170,65],[180,65],[171,65],[172,65],[187,65],[186,65],[188,65],[189,65],[181,65],[173,65],[182,65],[174,65],[183,65],[175,65],[177,65],[185,66],[178,65],[184,66],[190,66],[176,65],[191,65],[196,65],[197,65],[192,65],[168,2],[198,2],[194,65],[193,65],[195,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[42,2],[38,2],[39,2],[40,2],[41,2],[2,2],[1,2],[43,2],[12,2],[11,2],[209,67],[210,67],[204,68],[203,69],[201,70],[202,71],[80,2],[77,2],[81,72],[75,2],[79,2],[78,2],[76,2],[107,73],[109,74],[108,75],[83,76],[90,77],[91,78],[85,2],[86,79],[92,80],[87,81],[88,82],[89,83],[208,84],[82,84],[99,85],[93,86],[95,87],[102,88],[94,89],[103,90],[97,81],[100,90],[101,2],[98,2],[96,91],[207,92],[113,93],[110,90],[111,90],[112,90],[200,94],[106,95],[104,82],[105,96],[211,2],[212,97],[213,98],[205,99],[206,100],[217,2],[218,2],[219,2],[220,2],[221,2],[222,2]],"semanticDiagnosticsPerFile":[68,44,57,58,61,62,56,59,60,63,64,71,72,66,65,67,74,51,46,53,49,47,54,50,55,45,48,52,73,69,70,214,215,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,117,164,133,134,135,165,136,137,138,139,140,141,142,143,144,145,146,147,149,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,216,84,166,114,167,199,169,179,170,180,171,172,187,186,188,189,181,173,182,174,183,175,177,185,178,184,190,176,191,196,197,192,168,198,194,193,195,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,42,38,39,40,41,2,1,43,12,11,209,210,204,203,201,202,80,77,81,75,79,78,76,107,109,108,83,90,91,85,86,92,87,88,89,208,82,99,93,95,102,94,103,97,100,101,98,96,207,113,110,111,112,200,106,104,105,211,212,213,205,206,217,218,219,220,221,222]},"version":"4.5.5"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asgardeo/auth-spa",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Asgardeo Auth SPA SDK to be used in Single-Page Applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Asgardeo",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@asgardeo/auth-js": "^5.1.1",
|
|
29
29
|
"await-semaphore": "^0.1.3",
|
|
30
|
-
"axios": "^
|
|
30
|
+
"axios": "^1.7.0",
|
|
31
31
|
"base64url": "^3.0.1",
|
|
32
32
|
"buffer": "^6.0.3",
|
|
33
33
|
"fast-sha256": "^1.3.0",
|
package/src/client.ts
CHANGED
|
@@ -229,7 +229,7 @@ export class AsgardeoSPAClient {
|
|
|
229
229
|
*
|
|
230
230
|
* @preserve
|
|
231
231
|
*/
|
|
232
|
-
|
|
232
|
+
|
|
233
233
|
public async initialize(
|
|
234
234
|
config: AuthSPAClientConfig,
|
|
235
235
|
authHelper?: typeof AuthenticationHelper,
|
|
@@ -275,7 +275,7 @@ export class AsgardeoSPAClient {
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
// Do not sign out the user if the autoLogoutOnTokenRefreshError is set to false.
|
|
278
|
-
if (!mergedConfig.autoLogoutOnTokenRefreshError) {
|
|
278
|
+
if (!mergedConfig.autoLogoutOnTokenRefreshError) {
|
|
279
279
|
return Promise.resolve(true);
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -590,6 +590,51 @@ export class AsgardeoSPAClient {
|
|
|
590
590
|
return this._client?.httpRequestAll(config);
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
+
/**
|
|
594
|
+
* This method sends a streaming API request to a protected endpoint.
|
|
595
|
+
* The access token is automatically attached to the header of the request.
|
|
596
|
+
* Internally uses the fetch adapter and transfers a ReadableStream from the Web Worker.
|
|
597
|
+
*
|
|
598
|
+
* @param {HttpRequestConfig} config - The config object containing attributes necessary to send a request.
|
|
599
|
+
*
|
|
600
|
+
* @return {Promise<ReadableStream>} - Returns a Promise that resolves with a ReadableStream.
|
|
601
|
+
*
|
|
602
|
+
* @example
|
|
603
|
+
* ```
|
|
604
|
+
* const stream = await auth.httpStreamRequest({
|
|
605
|
+
* method: "POST",
|
|
606
|
+
* url: "https://api.example.com/stream",
|
|
607
|
+
* data: { question: "Hello" }
|
|
608
|
+
* });
|
|
609
|
+
*
|
|
610
|
+
* const reader = stream.getReader();
|
|
611
|
+
* while (true) {
|
|
612
|
+
* const { done, value } = await reader.read();
|
|
613
|
+
* if (done) break;
|
|
614
|
+
* // process chunk
|
|
615
|
+
* }
|
|
616
|
+
* ```
|
|
617
|
+
*
|
|
618
|
+
* @memberof AsgardeoSPAClient
|
|
619
|
+
*
|
|
620
|
+
* @preserve
|
|
621
|
+
*/
|
|
622
|
+
public async httpStreamRequest(config: HttpRequestConfig): Promise<ReadableStream | undefined> {
|
|
623
|
+
await this._validateMethod(false);
|
|
624
|
+
|
|
625
|
+
if (this._storage !== Storage.WebWorker) {
|
|
626
|
+
throw new AsgardeoAuthException(
|
|
627
|
+
"SPA-AUTH_CLIENT-HSR-IV01",
|
|
628
|
+
"Streaming is only supported with WebWorker storage.",
|
|
629
|
+
"The httpStreamRequest method requires storage type to be set to webWorker."
|
|
630
|
+
);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
const webWorkerClient = this._client as WebWorkerClientInterface;
|
|
634
|
+
|
|
635
|
+
return webWorkerClient.httpStreamRequest(config);
|
|
636
|
+
}
|
|
637
|
+
|
|
593
638
|
/**
|
|
594
639
|
* This method allows you to send a request with a custom grant.
|
|
595
640
|
*
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
GET_SIGN_OUT_URL,
|
|
49
49
|
HTTP_REQUEST,
|
|
50
50
|
HTTP_REQUEST_ALL,
|
|
51
|
+
HTTP_STREAM_REQUEST,
|
|
51
52
|
INIT,
|
|
52
53
|
IS_AUTHENTICATED,
|
|
53
54
|
REFRESH_ACCESS_TOKEN,
|
|
@@ -181,6 +182,45 @@ export const WebWorkerClient = async (
|
|
|
181
182
|
});
|
|
182
183
|
};
|
|
183
184
|
|
|
185
|
+
/**
|
|
186
|
+
* Communicate with the Worker for streaming requests.
|
|
187
|
+
* Unlike `communicate`, this does NOT JSON.parse the response data,
|
|
188
|
+
* because the response contains a transferred ReadableStream.
|
|
189
|
+
*/
|
|
190
|
+
const communicateStream = (message: Message<HttpRequestConfig>): Promise<ReadableStream> => {
|
|
191
|
+
const channel = new MessageChannel();
|
|
192
|
+
|
|
193
|
+
worker.postMessage(message, [channel.port2]);
|
|
194
|
+
|
|
195
|
+
return new Promise((resolve, reject) => {
|
|
196
|
+
const timer = setTimeout(() => {
|
|
197
|
+
reject(
|
|
198
|
+
new AsgardeoAuthException(
|
|
199
|
+
"SPA-WEB_WORKER_CLIENT-COMS-TO01",
|
|
200
|
+
"Stream operation timed out.",
|
|
201
|
+
"No response was received from the web worker for " +
|
|
202
|
+
_requestTimeout / 1000 +
|
|
203
|
+
" since dispatching the stream request"
|
|
204
|
+
)
|
|
205
|
+
);
|
|
206
|
+
}, _requestTimeout);
|
|
207
|
+
|
|
208
|
+
return (channel.port1.onmessage = ({ data }: { data: any; }) => {
|
|
209
|
+
clearTimeout(timer);
|
|
210
|
+
channel.port1.close();
|
|
211
|
+
channel.port2.close();
|
|
212
|
+
|
|
213
|
+
if (data?.success) {
|
|
214
|
+
// Raw stream message shape: { success: true, data: ReadableStream }
|
|
215
|
+
// (posted directly from worker-receiver, NOT via generateSuccessMessage)
|
|
216
|
+
resolve(data?.data as ReadableStream);
|
|
217
|
+
} else {
|
|
218
|
+
reject(data.error ? JSON.parse(data.error) : null);
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
|
|
184
224
|
/**
|
|
185
225
|
* Allows using custom grant types.
|
|
186
226
|
*
|
|
@@ -252,6 +292,26 @@ export const WebWorkerClient = async (
|
|
|
252
292
|
});
|
|
253
293
|
};
|
|
254
294
|
|
|
295
|
+
/**
|
|
296
|
+
* Send a streaming API request through the web worker.
|
|
297
|
+
* Uses the fetch adapter internally and transfers the ReadableStream back from the Worker.
|
|
298
|
+
*
|
|
299
|
+
* @param {HttpRequestConfig} config The Http Request Config object
|
|
300
|
+
* @returns {Promise<ReadableStream>} A promise that resolves with a ReadableStream.
|
|
301
|
+
*/
|
|
302
|
+
const httpStreamRequest = (config: HttpRequestConfig): Promise<ReadableStream> => {
|
|
303
|
+
if (config?.data && config?.data instanceof FormData) {
|
|
304
|
+
config.data = { ...Object.fromEntries(config?.data.entries()), formData: true };
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
const message: Message<HttpRequestConfig> = {
|
|
308
|
+
data: config,
|
|
309
|
+
type: HTTP_STREAM_REQUEST
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
return communicateStream(message);
|
|
313
|
+
};
|
|
314
|
+
|
|
255
315
|
/**
|
|
256
316
|
*
|
|
257
317
|
* Send multiple API requests to the web worker and returns the response.
|
|
@@ -849,6 +909,7 @@ export const WebWorkerClient = async (
|
|
|
849
909
|
getOIDCServiceEndpoints,
|
|
850
910
|
httpRequest,
|
|
851
911
|
httpRequestAll,
|
|
912
|
+
httpStreamRequest,
|
|
852
913
|
initialize,
|
|
853
914
|
isAuthenticated,
|
|
854
915
|
refreshAccessToken,
|
|
@@ -22,6 +22,7 @@ export const AUTH_CODE = "auth-code";
|
|
|
22
22
|
export const SIGN_OUT = "sign-out";
|
|
23
23
|
export const HTTP_REQUEST = "http-request";
|
|
24
24
|
export const HTTP_REQUEST_ALL = "http-request-all";
|
|
25
|
+
export const HTTP_STREAM_REQUEST = "http-stream-request";
|
|
25
26
|
export const REQUEST_CUSTOM_GRANT = "request-custom-grant";
|
|
26
27
|
export const REVOKE_ACCESS_TOKEN = "revoke-access-token";
|
|
27
28
|
export const END_USER_SESSION = "end-user-session";
|
|
@@ -93,8 +93,9 @@ export class HttpClient implements HttpClientInterface<HttpRequestConfig, HttpRe
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// Register request interceptor
|
|
96
|
+
// Cast to `any` to bridge Axios 0.x HttpRequestConfig vs Axios 1.x InternalAxiosRequestConfig
|
|
96
97
|
this.axiosInstance.interceptors.request.use(
|
|
97
|
-
async (request) => await this.clientInstance.requestHandler(request)
|
|
98
|
+
async (request) => await this.clientInstance.requestHandler(request as any) as any
|
|
98
99
|
);
|
|
99
100
|
|
|
100
101
|
// Register response interceptor
|
|
@@ -182,6 +183,11 @@ export class HttpClient implements HttpClientInterface<HttpRequestConfig, HttpRe
|
|
|
182
183
|
* @return {HttpResponse}
|
|
183
184
|
*/
|
|
184
185
|
public successHandler(response: HttpResponse): HttpResponse {
|
|
186
|
+
// Skip callbacks for streaming responses — ReadableStream must pass through untouched
|
|
187
|
+
if ((response as any)?.config?.responseType === "stream") {
|
|
188
|
+
return response;
|
|
189
|
+
}
|
|
190
|
+
|
|
185
191
|
if (HttpClient.isHandlerEnabled) {
|
|
186
192
|
if (this.requestSuccessCallback && typeof this.requestSuccessCallback === "function") {
|
|
187
193
|
this.requestSuccessCallback(response);
|
package/src/models/client.ts
CHANGED
|
@@ -79,6 +79,7 @@ export interface WebWorkerClientInterface {
|
|
|
79
79
|
requestCustomGrant(requestParams: CustomGrantConfig): Promise<FetchResponse | BasicUserInfo>;
|
|
80
80
|
httpRequest<T = any>(config: HttpRequestConfig): Promise<HttpResponse<T>>;
|
|
81
81
|
httpRequestAll<T = any>(configs: HttpRequestConfig[]): Promise<HttpResponse<T>[]>;
|
|
82
|
+
httpStreamRequest(config: HttpRequestConfig): Promise<ReadableStream>;
|
|
82
83
|
enableHttpHandler(): Promise<boolean>;
|
|
83
84
|
disableHttpHandler(): Promise<boolean>;
|
|
84
85
|
initialize(): Promise<boolean>;
|
package/src/models/message.ts
CHANGED
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
GET_SIGN_OUT_URL,
|
|
35
35
|
HTTP_REQUEST,
|
|
36
36
|
HTTP_REQUEST_ALL,
|
|
37
|
+
HTTP_STREAM_REQUEST,
|
|
37
38
|
INIT,
|
|
38
39
|
IS_AUTHENTICATED,
|
|
39
40
|
REFRESH_ACCESS_TOKEN,
|
|
@@ -82,6 +83,7 @@ export type MessageType =
|
|
|
82
83
|
| typeof SIGN_OUT
|
|
83
84
|
| typeof HTTP_REQUEST
|
|
84
85
|
| typeof HTTP_REQUEST_ALL
|
|
86
|
+
| typeof HTTP_STREAM_REQUEST
|
|
85
87
|
| typeof REQUEST_CUSTOM_GRANT
|
|
86
88
|
| typeof REVOKE_ACCESS_TOKEN
|
|
87
89
|
| typeof END_USER_SESSION
|
|
@@ -40,7 +40,14 @@ export class MessageUtils {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
|
+
* Explicitly constructs a serializable error shape instead of relying on
|
|
45
|
+
* JSON.stringify(error) directly. This is necessary because axios 1.x defines
|
|
46
|
+
* toJSON() on the AxiosError prototype which deliberately excludes `response`
|
|
47
|
+
* (to avoid leaking sensitive data). Since toJSON() is on the prototype and not
|
|
48
|
+
* the instance, `delete error.toJSON` is a no-op, and JSON.stringify ends up
|
|
49
|
+
* calling the prototype's toJSON — stripping response.data (and server-side
|
|
50
|
+
* error codes like BPM-60006) from the postMessage payload.
|
|
44
51
|
*
|
|
45
52
|
* @param {any} error The error object.
|
|
46
53
|
*
|
|
@@ -48,12 +55,26 @@ export class MessageUtils {
|
|
|
48
55
|
*/
|
|
49
56
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
50
57
|
public static generateFailureMessage(error?: any): ResponseMessage<string> {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
const serializable: any = error ? {
|
|
59
|
+
code: error?.code,
|
|
60
|
+
config: error?.config,
|
|
61
|
+
isAxiosError: error?.isAxiosError,
|
|
62
|
+
message: error?.message,
|
|
63
|
+
name: error?.name,
|
|
64
|
+
request: error?.request,
|
|
65
|
+
response: error?.response ? {
|
|
66
|
+
config: error.response.config,
|
|
67
|
+
data: error.response.data,
|
|
68
|
+
headers: error.response.headers,
|
|
69
|
+
request: error.response.request,
|
|
70
|
+
status: error.response.status,
|
|
71
|
+
statusText: error.response.statusText
|
|
72
|
+
} : undefined,
|
|
73
|
+
status: error?.status ?? error?.response?.status ?? null
|
|
74
|
+
} : "";
|
|
54
75
|
|
|
55
76
|
return {
|
|
56
|
-
error: JSON.stringify(
|
|
77
|
+
error: JSON.stringify(serializable),
|
|
57
78
|
success: false
|
|
58
79
|
};
|
|
59
80
|
}
|