decord/source/stores/ConsentStore.tsx

75 lines
2 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5723
// Function ID: 5724
2026-07-29 08:29:29 +00:00
// Name: hasConsented
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-08-05 07:35:12 +00:00
// Module 5723 (hasConsented)
2026-07-29 08:29:29 +00:00
import { Store } from "initialize";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c0 = false;
let c1 = false;
let closure_2 = {};
let c3 = null;
class ConsentStore extends Store {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = ConsentStore.prototype;
prototype["hasConsented"] = function hasConsented(arg0) {
let consented = null != dependencyMap[arg0];
if (consented) {
consented = dependencyMap[arg0].consented;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return consented;
};
Object.defineProperty(prototype, "consents", {
get: function consents() {
return closure_2;
},
set: undefined
});
Object.defineProperty(prototype, "fetchedConsents", {
get: function fetchedConsents() {
return c0;
},
set: undefined
});
Object.defineProperty(prototype, "receivedConsentsInConnectionOpen", {
get: function receivedConsentsInConnectionOpen() {
return c1;
},
set: undefined
});
prototype["getAuthenticationConsentRequired"] = function getAuthenticationConsentRequired() {
return c3;
};
ConsentStore.displayName = "ConsentStore";
const consentStore = new ConsentStore(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
CONNECTION_OPEN: function handleConnectionOpen(consents) {
consents = consents.consents;
if (null != consents) {
const obj = {};
2026-07-23 10:11:24 +00:00
const merged = Object.assign(obj);
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(consents);
2026-07-29 08:29:29 +00:00
let c1 = true;
2026-07-20 16:05:17 +00:00
}
},
OVERLAY_INITIALIZE: function handleOverlayInitialize(consents) {
2026-07-23 10:11:24 +00:00
const obj = {};
2026-07-20 16:05:17 +00:00
const merged = Object.assign(consents.consents);
2026-07-29 08:29:29 +00:00
let c0 = true;
2026-07-20 16:05:17 +00:00
},
UPDATE_CONSENTS: function handleUpdateConsents(consents) {
2026-07-23 10:11:24 +00:00
const obj = {};
2026-07-20 16:05:17 +00:00
const merged = Object.assign(consents.consents);
2026-07-29 08:29:29 +00:00
let c0 = true;
2026-07-20 16:05:17 +00:00
},
SET_CONSENT_REQUIRED: function handleConsentRequired(consentRequired) {
consentRequired = consentRequired.consentRequired;
},
LOGOUT: function handleLogout() {
2026-07-29 08:29:29 +00:00
let c3 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("stores/ConsentStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default consentStore;