decord/source/modules/notifications/settings/native/MobileNotifSettingsNodes.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

219 lines
8.5 KiB
TypeScript

// Module ID: 15926
// Function ID: 15927
// Name: toggle
// Dependencies: [11473, 1114, 2722, 13683, 14448, 15927, 14453, 15917, 2]
// Module 15926 (toggle)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import messagesProxyDefault from "messagesProxy" /* 2722 */;
import b64ToDeclarativeSettingsProto from "b64ToDeclarativeSettingsProto" /* 13683 */;
import NotifSettings from "NotifSettings" /* 14448 */;
import getNamedExperiment from "getNamedExperiment" /* 14453 */;
import MobileNotifSettings from "MobileNotifSettings" /* 15917 */;
import updateNotifSettingValue from "updateNotifSettingValue" /* 15927 */;
import createToggle from "createToggle" /* 11473 */;
let obj = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.wv4QHR);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.REACTIONS);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.REACTIONS, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.REACTIONS);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle = createToggle.createToggle(obj);
obj = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle1 = createToggle.createToggle(obj);
const toggle2 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj1 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.n0Wp6j);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.MISSED_MESSAGES_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle3 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj2 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle4 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj3 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault.Iy9grw);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.VOICE_ACTIVITY_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle5 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj4 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_LOW, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_LOW);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const toggle6 = createToggle.createToggle({
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
});
const obj5 = {
useTitle() {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["9EDo+/"]);
},
useValue() {
return b64ToDeclarativeSettingsProto.useNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
onValueChange(arg0) {
return updateNotifSettingValue.updateNotifSettingToggleValue(NotifSettings.NotifSettings.GAMING_DEFAULT, arg0);
},
usePredicate() {
return getNamedExperiment.useNotifSettingVisibility(NotifSettings.NotifSettings.GAMING_DEFAULT);
},
parent: MobileNotifSettings.MobileNotifSettings.NOTIF_CATEGORY_SOCIAL
};
const result = set.fileFinishedImporting("modules/notifications/settings/native/MobileNotifSettingsNodes.tsx");
export const Reactions = toggle;
export const MissedMessagesLow = toggle1;
export const MissedMessagesDefault = toggle2;
export const VoiceActivityLow = toggle3;
export const VoiceActivityDefault = toggle4;
export const GamingLow = toggle5;
export const GamingDefault = toggle6;