2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 16079
|
|
|
|
|
// Function ID: 16080
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: AgeGateStore
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1099, 504, 573, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 16079 (AgeGateStore)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initializeDefault from "initialize" /* 504 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import AgeGateConstants from "AgeGateConstants" /* 1099 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const AGE_GATE_REGISTER_TIMEOUT_MS = AgeGateConstants.AGE_GATE_REGISTER_TIMEOUT_MS;
|
2026-07-29 08:29:29 +00:00
|
|
|
let c0 = false;
|
2026-08-24 06:08:38 +00:00
|
|
|
const Store = initializeDefault.Store;
|
2026-07-29 08:29:29 +00:00
|
|
|
class AgeGateStore extends Store {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
AgeGateStore.prototype["isUnderageAnonymous"] = function isUnderageAnonymous() {
|
|
|
|
|
return c0;
|
|
|
|
|
};
|
|
|
|
|
AgeGateStore.displayName = "AgeGateStore";
|
2026-09-10 05:38:07 +00:00
|
|
|
const ageGateStore = new AgeGateStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
AGE_GATE_PREVENT_UNDERAGE_REGISTRATION: function handleMarkUnderageAnonymous() {
|
2026-08-24 06:08:38 +00:00
|
|
|
c0 = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
const timestamp = Date.now();
|
|
|
|
|
},
|
|
|
|
|
LOGIN_SUCCESS: function handleLogin() {
|
2026-08-24 06:08:38 +00:00
|
|
|
c0 = false;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
});
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/age_gate/AgeGateStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default ageGateStore;
|