Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
/* Metro module 13688; source: modules/user_settings/billing/native/GuildRoleSubscriptionCancelSettingScreen.tsx; dependencies: [31, 33, 7032, 13689, 2] */
|
||||
function _fun104532(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#104532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13885:6, offset: 0x02299492, size: 138 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/billing/native/GuildRoleSubscriptionCancelSettingScreen.tsx');
|
||||
exports.default = GuildRoleSubscriptionCancelSettingScreen;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
/* Metro module 14238; source: modules/user_settings/billing/native/OrbsFlowTestModal.tsx; dependencies: [57, 31, 27, 33, 9884, 5280, 9603, 9893, 4501, 697, 4572, 4573, 14239, 4080, 10135, 1962, 1244, 7981, 4578, 10124, 10134, 5463, 6517, 14241, 2] */
|
||||
function _fun107688(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:6, offset: 0x02305650, size: 433 bytes, params: 8, frame: 24
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_5 = value2.ScrollView;
|
||||
const env0_6 = value2.View;
|
||||
const value3 = require(33) /* metro dependency 33 */;
|
||||
const env0_7 = value3.jsx;
|
||||
const env0_8 = value3.jsxs;
|
||||
const env0_9 = (require(9884) /* metro dependency 9884 */).createNativeStackNavigator();
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
object2 = {};
|
||||
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
|
||||
object2.wrap = {backgroundColor: BACKGROUND_BASE_LOW};
|
||||
let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object2.container = {padding: PX_16};
|
||||
object2.title = {marginBottom: 8};
|
||||
const object3 = {'flexDirection': 'row', 'justifyContent': 'center'};
|
||||
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object3.marginBottom = PX_16;
|
||||
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object3.gap = PX_16;
|
||||
object2.balancePillContainer = object3;
|
||||
const env0_10 = Reflect.apply(createStyles, createStylesModule, [object2]);
|
||||
value = value.memo(OrbsFlowTestModal);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/billing/native/OrbsFlowTestModal.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function BalanceWidgetMenuSection() { // fn#107689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:491, offset: 0x02305801, size: 166 bytes, params: 1, frame: 19
|
||||
const styles = useStyles();
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
return (
|
||||
<Stack spacing={16} style={styles.container}>
|
||||
<Text variant="text-lg/semibold" style={styles.title}>
|
||||
{'Balance Widget Menu'}
|
||||
</Text>
|
||||
{((Component) => <Component />)(importDefault(14239) /* metro dependency 14239: BalanceWidgetMenu */)}
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
function BalanceWidgetPillSection() { // fn#107690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:710, offset: 0x023058a7, size: 554 bytes, params: 1, frame: 26
|
||||
const styles = useStyles();
|
||||
const [property, env0_1] = env0_3Binding(env0_4.useState(1000), 2);
|
||||
var [property2, env0_3] = env0_3Binding(env0_4.useState('1000'), 2);
|
||||
const value6 = env0_4.useCallback(_fun107691, []);
|
||||
const value7 = env0_4.useCallback(_fun107692, [property2]);
|
||||
const value8 = env0_4.useCallback(_fun107693, [property]);
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const items2 = [<Text variant="text-lg/semibold" style={styles.title}>{'Balance Widget Pill'}</Text>];
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
items2[1] = <TextInput value={property2} onChange={value6} placeholder="Enter balance amount" keyboardType="numeric" />;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
items2[2] = <Button text="Apply Balance" variant="primary" onPress={value7} />;
|
||||
const BalanceWidgetPill = (require(10124) /* metro dependency 10124: BalanceWidgetPill */).BalanceWidgetPill;
|
||||
const balanceWidgetPill = <BalanceWidgetPill balance={property} />;
|
||||
const BalanceWidgetPillButton = (require(10134) /* metro dependency 10134: BalanceWidgetPillButton */).BalanceWidgetPillButton;
|
||||
items2[3] = <View style={styles.balancePillContainer}>{balanceWidgetPill}<BalanceWidgetPillButton balance={property} onPress={value8} /></View>;
|
||||
return (
|
||||
<Stack spacing={16} style={styles.container}>
|
||||
{items2}
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
function OrbsFlowTest() { // fn#107698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:1814, offset: 0x02305c49, size: 242 bytes, params: 1, frame: 23
|
||||
const styles = useStyles();
|
||||
const insets = (importDefault(5463) /* metro dependency 5463: useSafeAreaInsetsKeyboardAwareNative */)({includeKeyboardHeight: true}).insets;
|
||||
const LayerScope = (require(6517) /* metro dependency 6517: LayerScopeNative */).LayerScope;
|
||||
return (
|
||||
<LayerScope>
|
||||
<ScrollView
|
||||
style={styles.wrap}
|
||||
contentContainerStyle={{paddingBottom: insets.bottom, paddingTop: insets.top, paddingLeft: insets.left,
|
||||
paddingRight: insets.right}}
|
||||
>
|
||||
<BalanceWidgetMenuSection />
|
||||
<BalanceWidgetPillSection />
|
||||
{((Component) => <Component />)(importDefault(14241) /* metro dependency 14241: OrbCheckoutMenu */)}
|
||||
</ScrollView>
|
||||
</LayerScope>
|
||||
);
|
||||
}
|
||||
|
||||
function OrbsFlowTestModal() { // fn#107699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:2161, offset: 0x02305d3b, size: 129 bytes, params: 1, frame: 19
|
||||
const env0_0 = (require(5280) /* metro dependency 5280: NavigatorNative */).useAccessibilityNativeStackOptions();
|
||||
const {Navigator, Screen} = env0_9;
|
||||
return (
|
||||
<Navigator screenOptions={screenOptions_107700}>
|
||||
<Screen
|
||||
name="OrbsFlowTest"
|
||||
options={function() {
|
||||
return {title: 'Orbs Flow Test'};
|
||||
}}
|
||||
component={OrbsFlowTest}
|
||||
/>
|
||||
</Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun107692() { // fn#107692, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:890, offset: 0x02305ad1, size: 63 bytes, params: 1, frame: 15
|
||||
const int = global.parseInt(env0_2, 10);
|
||||
if (!global.isNaN(int) && int >= 0) {
|
||||
env0_1(int);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun107693() { // fn#107693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:962, offset: 0x02305b10, size: 212 bytes, params: 1, frame: 22
|
||||
const defaultImport = importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */;
|
||||
const openLazy = defaultImport.openLazy;
|
||||
const object2 = {};
|
||||
object2.balance = env0_0;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
object2.primaryButtonConfig = {buttonText: Reflect.apply(string, intl, [t.cpT0Cq]),
|
||||
onButtonPress: onButtonPress_107696};
|
||||
string = intl.string;
|
||||
const WAI6xu = t.WAI6xu;
|
||||
object2.secondaryButtonConfig = {buttonText: Reflect.apply(string, intl, [WAI6xu]),
|
||||
onButtonPress: onButtonPress_107697};
|
||||
Reflect.apply(openLazy, defaultImport, [_fun107694, 'OrbsFlowTestModalBalanceWidgetMenuKey', object2]);
|
||||
}
|
||||
|
||||
function OrbsFlowTestModalScreenOptions({navigation}) { // fn#107700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:2277, owner: OrbsFlowTestModal.screenOptions, offset: 0x02305dbc, size: 118 bytes, params: 2, frame: 16
|
||||
const object2 = {headerTitle: headerTitle_107701};
|
||||
object2.headerLeft = (require(9603) /* metro dependency 9603: HeaderShared */).getRenderModalCloseImage(navigation);
|
||||
object2.headerTitleAlign = 'center';
|
||||
copyDataProperties(object2, env0_0, navigation);
|
||||
copyDataProperties(object2, (importDefault(9893) /* metro dependency 9893: getNavigationModalPresentation */)(),
|
||||
navigation);
|
||||
return object2;
|
||||
}
|
||||
|
||||
function _fun107694() { // fn#107694, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:986, offset: 0x02305be4, size: 64 bytes, params: 1, frame: 13
|
||||
var environment;
|
||||
let value = environment.__proto__.__proto__;
|
||||
value = require(dependencyMap[15]);
|
||||
value = value(dependencyMap[14], dependencyMap.paths);
|
||||
return value.then(function(a0) {
|
||||
return a0.default;
|
||||
});
|
||||
}
|
||||
|
||||
function onButtonPress_107696() { // fn#107696, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:1173, offset: 0x02305c24, size: 37 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__.__proto__;
|
||||
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
||||
}
|
||||
|
||||
function screenOptionsHeaderTitle_107701(a0) { // fn#107701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14435:2309, owner: OrbsFlowTestModal.screenOptions.headerTitle, offset: 0x02305e32, size: 87 bytes, params: 2, frame: 16
|
||||
const children = a0.children;
|
||||
const value = Object.create(null);
|
||||
value.children = 0;
|
||||
const value2 = copyDataProperties({}, a0, value, children);
|
||||
const GenericHeaderTitle = (require(9603) /* metro dependency 9603: HeaderShared */).GenericHeaderTitle;
|
||||
return <GenericHeaderTitle title={children} {...value2} />;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
/* Metro module 14236; source: modules/user_settings/billing/native/PaymentFlowTest.android.tsx; dependencies: [57, 31, 27, 1878, 33, 4501, 697, 632, 4572, 4573, 6239, 7981, 4578, 4080, 14237, 1962, 5463, 10109, 2] */
|
||||
function _fun107657(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14433:6, offset: 0x023043e4, size: 355 bytes, params: 8, frame: 23
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_5 = (require(27) /* metro dependency 27 */).ScrollView;
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const value2 = require(33) /* metro dependency 33 */;
|
||||
const env0_7 = value2.jsx;
|
||||
const env0_8 = value2.jsxs;
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
object2 = {};
|
||||
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
|
||||
object2.wrap = {backgroundColor: BACKGROUND_BASE_LOW};
|
||||
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object2.container = {padding: PX_16};
|
||||
object2.textInput = {marginBottom: 16};
|
||||
object2.title = {marginBottom: 8};
|
||||
const env0_9 = Reflect.apply(createStyles, createStylesModule, [object2]);
|
||||
value = value.memo(PaymentFlowTest_107663);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/billing/native/PaymentFlowTest.android.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function TestView() { // fn#107658, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14433:349, offset: 0x02304547, size: 692 bytes, params: 1, frame: 34
|
||||
const value2 = undefined;
|
||||
const styles = useStyles();
|
||||
let binding = env0_4;
|
||||
let useState = binding.useState;
|
||||
const value4 = env0_3(Reflect.apply(useState, binding, ['1341506443580276736']), 2);
|
||||
const property = value4[0];
|
||||
const env0_1 = value4[1];
|
||||
const currentUser = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([UserStore],
|
||||
function() {
|
||||
return UserStore.getCurrentUser();
|
||||
});
|
||||
binding = env0_4;
|
||||
useState = binding.useState;
|
||||
const value6 = env0_3(Reflect.apply(useState, binding, [currentUser == null ? value2 : currentUser.id]), 2);
|
||||
const property2 = value6[0];
|
||||
const property3 = value6[1];
|
||||
const [property4, property5] = env0_3(env0_4.useState(value2), 2);
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const text = <Text variant="text-lg/bold">{'Android Payment Flow Test'}</Text>;
|
||||
const Card = (require(6239) /* metro dependency 6239: CardNative */).Card;
|
||||
const items2 = [<Text style={styles.title} variant="text-md/bold">{'Gift Purchase SKU'}</Text>];
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
items2[1] = <TextInput containerStyle={styles.textInput} label="SKU ID" value={property} placeholder="Default: 1341506443580276736 (Anime Shy)" onChange={onChange_107660} isClearable />;
|
||||
items2[2] = <TextInput containerStyle={styles.textInput} label="Gift Recipient ID" value={property2} placeholder="Recipient User ID" onChange={property3} isClearable />;
|
||||
items2[3] = <TextInput containerStyle={styles.textInput} label="Gift Message (Optional)" value={property4} placeholder="Here's a gift for you!" onChange={property5} isClearable />;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
items2[4] = <Button disabled={property === null || property2 === null} text="Send Gift" onPress={onPress_107661} />;
|
||||
return (
|
||||
<Stack spacing={16} style={styles.container}>
|
||||
{text}
|
||||
<Card>
|
||||
{items2}
|
||||
</Card>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
function openRequestActionSheet(a0) { // fn#107662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14433:1541, offset: 0x02304850, size: 102 bytes, params: 2, frame: 17
|
||||
importDefault(dependencyMap[13]).hideActionSheet();
|
||||
const defaultImport2 = importDefault(dependencyMap[13]);
|
||||
const openLazy = defaultImport2.openLazy;
|
||||
let value = require(dependencyMap[15]);
|
||||
value = value(dependencyMap[14], dependencyMap.paths);
|
||||
Reflect.apply(openLazy, defaultImport2, [value, 'SimpleRequestOTPActionSheet', a0]);
|
||||
}
|
||||
|
||||
function PaymentFlowTest_107663() { // fn#107663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14433:1662, offset: 0x023048b6, size: 202 bytes, params: 1, frame: 20
|
||||
const styles = useStyles();
|
||||
const insets = (importDefault(5463) /* metro dependency 5463: useSafeAreaInsetsKeyboardAwareNative */)({includeKeyboardHeight: true}).insets;
|
||||
const NativePaymentContextProvider = (require(10109) /* metro dependency 10109: NativePaymentContext */).NativePaymentContextProvider;
|
||||
return (
|
||||
<NativePaymentContextProvider skuIDs={[]} activeSubscription={null}>
|
||||
<ScrollView
|
||||
style={styles.wrap}
|
||||
contentContainerStyle={{paddingBottom: insets.bottom, paddingTop: insets.top, paddingLeft: insets.left,
|
||||
paddingRight: insets.right}}
|
||||
>
|
||||
<TestView />
|
||||
</ScrollView>
|
||||
</NativePaymentContextProvider>
|
||||
);
|
||||
}
|
||||
|
||||
function TestViewOnPress() { // fn#107661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14433:1380, owner: TestView.onPress, offset: 0x023047fb, size: 85 bytes, params: 1, frame: 12
|
||||
var value4;
|
||||
if (env0_0 != null && env0_2 != null) {
|
||||
value4 = environment.__proto__;
|
||||
openRequestActionSheet({selectedSkuId: env0_0, requestType: 'giftSku', giftRecipientId: env0_2,
|
||||
giftMessage: env0_3});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/* Metro module 14235; source: modules/user_settings/billing/native/PaymentFlowTestModal.tsx; dependencies: [31, 33, 9884, 5280, 9603, 9893, 14236, 2] */
|
||||
function _fun107652(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14432:6, offset: 0x023041d2, size: 174 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_4 = (require(9884) /* metro dependency 9884 */).createNativeStackNavigator();
|
||||
value = value.memo(PaymentFlowTestModal);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/billing/native/PaymentFlowTestModal.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function PaymentFlowTestModal() { // fn#107653, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14432:173, offset: 0x02304280, size: 137 bytes, params: 1, frame: 19
|
||||
const env0_0 = (require(5280) /* metro dependency 5280: NavigatorNative */).useAccessibilityNativeStackOptions();
|
||||
const {Navigator, Screen} = env0_4;
|
||||
return (
|
||||
<Navigator screenOptions={screenOptions_107654}>
|
||||
<Screen
|
||||
name="PaymentFlowTest"
|
||||
options={function() {
|
||||
return {title: 'Payment Flow Test'};
|
||||
}}
|
||||
component={importDefault(14236) /* metro dependency 14236: PaymentFlowTestAndroid */}
|
||||
/>
|
||||
</Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
function PaymentFlowTestModalScreenOptions({navigation}) { // fn#107654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14432:292, owner: PaymentFlowTestModal.screenOptions, offset: 0x02304309, size: 118 bytes, params: 2, frame: 16
|
||||
const object2 = {headerTitle: headerTitle_107655};
|
||||
object2.headerLeft = (require(9603) /* metro dependency 9603: HeaderShared */).getRenderModalCloseImage(navigation);
|
||||
object2.headerTitleAlign = 'center';
|
||||
copyDataProperties(object2, env0_0, navigation);
|
||||
copyDataProperties(object2, (importDefault(9893) /* metro dependency 9893: getNavigationModalPresentation */)(),
|
||||
navigation);
|
||||
return object2;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/* Metro module 14242; source: modules/user_settings/billing/native/RevenueSmokeTestModal.tsx; dependencies: [31, 33, 9884, 5280, 10109, 9603, 9893, 14243, 2] */
|
||||
function _fun107724(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14439:6, offset: 0x02306eb5, size: 174 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_4 = (require(9884) /* metro dependency 9884 */).createNativeStackNavigator();
|
||||
value = value.memo(RevenueSmokeTestModal);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/billing/native/RevenueSmokeTestModal.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function RevenueSmokeTestModal() { // fn#107725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14439:173, offset: 0x02306f63, size: 187 bytes, params: 1, frame: 21
|
||||
const env0_0 = (require(5280) /* metro dependency 5280: NavigatorNative */).useAccessibilityNativeStackOptions();
|
||||
const NativePaymentContextProvider = (require(10109) /* metro dependency 10109: NativePaymentContext */).NativePaymentContextProvider;
|
||||
const binding = env0_4;
|
||||
const Navigator = binding.Navigator;
|
||||
const object = {screenOptions: screenOptions_107726};
|
||||
const Screen = binding.Screen;
|
||||
const RunAllFlows = (importDefault(14243) /* metro dependency 14243: BillingFlowsAndroid */).RunAllFlows;
|
||||
return (
|
||||
<NativePaymentContextProvider skuIDs={[]} activeSubscription={null}>
|
||||
<Navigator {...object}>
|
||||
<Screen
|
||||
name="RunAllFlows"
|
||||
options={function() {
|
||||
return {title: 'Run All Payment Flows'};
|
||||
}}
|
||||
component={RunAllFlows}
|
||||
/>
|
||||
</Navigator>
|
||||
</NativePaymentContextProvider>
|
||||
);
|
||||
}
|
||||
|
||||
function RevenueSmokeTestModalScreenOptions({navigation}) { // fn#107726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14439:376, owner: RevenueSmokeTestModal.screenOptions, offset: 0x0230701e, size: 118 bytes, params: 2, frame: 16
|
||||
const object2 = {headerTitle: headerTitle_107727};
|
||||
object2.headerLeft = (require(9603) /* metro dependency 9603: HeaderShared */).getRenderModalCloseImage(navigation);
|
||||
object2.headerTitleAlign = 'center';
|
||||
copyDataProperties(object2, env0_0, navigation);
|
||||
copyDataProperties(object2, (importDefault(9893) /* metro dependency 9893: getNavigationModalPresentation */)(),
|
||||
navigation);
|
||||
return object2;
|
||||
}
|
||||
|
||||
function screenOptionsHeaderTitle_107727(a0) { // fn#107727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14439:408, owner: RevenueSmokeTestModal.screenOptions.headerTitle, offset: 0x02307094, size: 87 bytes, params: 2, frame: 16
|
||||
const children = a0.children;
|
||||
const value = Object.create(null);
|
||||
value.children = 0;
|
||||
const value2 = copyDataProperties({}, a0, value, children);
|
||||
const GenericHeaderTitle = (require(9603) /* metro dependency 9603: HeaderShared */).GenericHeaderTitle;
|
||||
return <GenericHeaderTitle title={children} {...value2} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user