2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 6011
|
|
|
|
|
// Function ID: 6012
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: PromoEmailConsentStore
|
2026-09-26 17:57:22 +00:00
|
|
|
// Dependencies: [560, 1248, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: setPromoEmailConsentChecked, setPromoEmailConsentState
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 6011 (PromoEmailConsentStore)
|
2026-09-26 17:57:22 +00:00
|
|
|
import module_560 from "module_560" /* 560 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const require = globalThis.__r;
|
|
|
|
|
|
2026-09-26 17:57:22 +00:00
|
|
|
const usePromoEmailConsentStore = module_560.create(() => ({ required: false, checked: false, preChecked: false }));
|
2026-09-18 19:45:33 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/auth/PromoEmailConsentStore.tsx");
|
|
|
|
|
|
|
|
|
|
export const setPromoEmailConsentState = function setPromoEmailConsentState(arg0) {
|
|
|
|
|
_require = arg0;
|
|
|
|
|
require("ReactBatchUpdates").batchUpdates(() => obj.setState(closure_0));
|
|
|
|
|
};
|
|
|
|
|
export const setPromoEmailConsentChecked = function setPromoEmailConsentChecked(checked) {
|
|
|
|
|
_require = checked;
|
|
|
|
|
require("ReactBatchUpdates").batchUpdates(() => {
|
|
|
|
|
const obj = { checked };
|
|
|
|
|
return obj.setState(obj);
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
export { usePromoEmailConsentStore };
|