2026-09-30 07:29:52 +00:00
|
|
|
// Module ID: 6207
|
|
|
|
|
// Function ID: 6208
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: PromoEmailConsentStore
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [560, 1248, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: setPromoEmailConsentChecked, setPromoEmailConsentState
|
|
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
// Module 6207 (PromoEmailConsentStore)
|
2026-09-10 05:38:07 +00:00
|
|
|
import module_560 from "module_560" /* 560 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = globalThis.__r;
|
|
|
|
|
|
|
|
|
|
const usePromoEmailConsentStore = module_560.create(() => ({ required: false, checked: false, preChecked: false }));
|
|
|
|
|
const result = size.fileFinishedImporting("modules/auth/PromoEmailConsentStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const setPromoEmailConsentState = function setPromoEmailConsentState(arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
_require = arg0;
|
|
|
|
|
require("ReactBatchUpdates").batchUpdates(() => obj.setState(closure_0));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export const setPromoEmailConsentChecked = function setPromoEmailConsentChecked(checked) {
|
|
|
|
|
_require = checked;
|
|
|
|
|
require("ReactBatchUpdates").batchUpdates(() => {
|
|
|
|
|
const obj = { checked };
|
|
|
|
|
return obj.setState(obj);
|
|
|
|
|
});
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export { usePromoEmailConsentStore };
|