48 lines
2.8 KiB
JavaScript
48 lines
2.8 KiB
JavaScript
// Module ID: 7403
|
|
// Function ID: 59535
|
|
// Name: SubscriptionRenewalMutationsNotice
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 7403 (SubscriptionRenewalMutationsNotice)
|
|
importAll(dependencyMap[0]);
|
|
const View = arg1(dependencyMap[1]).View;
|
|
const isNoneSubscription = arg1(dependencyMap[2]).isNoneSubscription;
|
|
({ jsx: closure_5, jsxs: closure_6 } = arg1(dependencyMap[3]));
|
|
let obj = arg1(dependencyMap[4]);
|
|
obj = {};
|
|
obj = { "Bool(false)": true, "Bool(false)": true, "Bool(false)": true, "Bool(false)": true, "Bool(false)": true, "Bool(false)": true, "Bool(false)": true, borderRadius: importDefault(dependencyMap[5]).radii.xs, backgroundColor: arg1(dependencyMap[6]).DARK_PRIMARY_630_LIGHT_PRIMARY_230 };
|
|
obj.container = obj;
|
|
const obj1 = { maxLength: -115216812179857800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -328930550: -115216883831183370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, color: arg1(dependencyMap[6]).DARK_PRIMARY_300_LIGHT_PRIMARY_500 };
|
|
obj.icon = obj1;
|
|
const obj2 = { 1268152339: -33283686791197806000000, 1576886190: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010061404906786437, color: arg1(dependencyMap[6]).DARK_PRIMARY_300_LIGHT_PRIMARY_500 };
|
|
obj.text = obj2;
|
|
let closure_7 = obj.createStyles(obj);
|
|
const tmp3 = arg1(dependencyMap[3]);
|
|
const result = arg1(dependencyMap[10]).fileFinishedImporting("modules/premium/native/SubscriptionRenewalMutationsNotice.tsx");
|
|
|
|
export default function SubscriptionRenewalMutationsNotice(arg0) {
|
|
let renewalMutations;
|
|
let subscription;
|
|
({ subscription, renewalMutations } = arg0);
|
|
const tmp = callback2();
|
|
let obj = { style: tmp.container };
|
|
obj = { style: tmp.icon };
|
|
const items = [callback(arg1(dependencyMap[7]).WarningCircle, obj), ];
|
|
obj = { style: tmp.text };
|
|
const intl = arg1(dependencyMap[8]).intl;
|
|
const obj1 = {};
|
|
if (!subscription.hasExternalPlanChange) {
|
|
if (!isNoneSubscription(renewalMutations.planId)) {
|
|
let displayName = importDefault(dependencyMap[9]).getDisplayName(renewalMutations.planId);
|
|
const obj5 = importDefault(dependencyMap[9]);
|
|
}
|
|
obj1.planName = displayName;
|
|
obj1.date = subscription.currentPeriodEnd;
|
|
obj.children = intl.format(tmp5, obj1);
|
|
items[1] = callback(arg1(dependencyMap[7]).LegacyText, obj);
|
|
obj.children = items;
|
|
return closure_6(View, obj);
|
|
}
|
|
displayName = arg1(dependencyMap[9]).getExternalPlanDisplayName(renewalMutations);
|
|
};
|