decord/source/stores/ConsentStore.tsx

118 lines
2.9 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 5590
2026-07-27 11:26:19 +00:00
// Function ID: 47501
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 566, 686, 2]
2026-07-24 07:16:23 +00:00
// Module 5590 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import dispatcher from "dispatcher";
import set from "set";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let dispatcher = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return dispatcher;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let c5 = false;
let c6 = false;
2026-07-20 16:05:17 +00:00
let closure_7 = {};
2026-07-23 10:11:24 +00:00
let c8 = null;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class ConsentStore {
constructor() {
self = this;
tmp = ConsentStore(this, ConsentStore);
2026-07-23 10:11:24 +00:00
obj = outer1_3(ConsentStore);
tmp2 = outer1_2;
if (outer1_9()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_3;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(ConsentStore, Store);
let obj = {
key: "hasConsented",
value(arg0) {
2026-07-23 10:11:24 +00:00
let consented = null != outer1_7[arg0];
2026-07-20 16:05:17 +00:00
if (consented) {
2026-07-23 10:11:24 +00:00
consented = outer1_7[arg0].consented;
2026-07-20 16:05:17 +00:00
}
return consented;
}
};
const items = [obj, , , , ];
obj = {
key: "consents",
get() {
2026-07-23 10:11:24 +00:00
return outer1_7;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
obj = {
key: "fetchedConsents",
get() {
2026-07-23 10:11:24 +00:00
return outer1_5;
2026-07-20 16:05:17 +00:00
}
};
items[2] = obj;
items[3] = {
key: "receivedConsentsInConnectionOpen",
get() {
2026-07-23 10:11:24 +00:00
return outer1_6;
2026-07-20 16:05:17 +00:00
}
};
items[4] = {
key: "getAuthenticationConsentRequired",
value() {
2026-07-23 10:11:24 +00:00
return outer1_8;
2026-07-20 16:05:17 +00:00
}
};
return callback(ConsentStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "ConsentStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(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-23 10:11:24 +00:00
let c6 = 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-23 10:11:24 +00:00
let c5 = 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-23 10:11:24 +00:00
let c5 = true;
2026-07-20 16:05:17 +00:00
},
SET_CONSENT_REQUIRED: function handleConsentRequired(consentRequired) {
consentRequired = consentRequired.consentRequired;
},
LOGOUT: function handleLogout() {
2026-07-23 10:11:24 +00:00
let c8 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/ConsentStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;