decord/source/utils/AuthenticationUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

30 lines
825 B
TypeScript

// Module ID: 7668
// Function ID: 7669
// Name: getToken
// Dependencies: [1099, 7669, 2]
// Exports: getArtForPath, getToken, isAuthenticated
// Module 7668 (getToken)
import set from "set" /* 2 */;
import setSecondaryTokenAll from "setSecondaryToken" /* 1099 */;
import registerAsset from "registerAsset" /* 7669 */;
const result = set.fileFinishedImporting("utils/AuthenticationUtils.tsx");
export const getToken = function getToken() {
return setSecondaryTokenAll.getToken();
};
export const isAuthenticated = function isAuthenticated() {
return null != setSecondaryTokenAll.getToken();
};
export const getArtForPath = function getArtForPath(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
if (obj.test(arg0)) {
tmp = registerAsset;
}
obj = /^\/developers/;
}
return tmp;
};