@newskit-render/my-account 7.147.2-72d7c9f8e.8 → 7.147.2-cea011b5a.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
- package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js +11 -17
- package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
- package/dist/cjs/Components/Sections/CancelSubscription/types.d.ts +2 -0
- package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js +9 -1
- package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -1
- package/dist/cjs/Components/Sections/CancellationOffers/types.d.ts +2 -1
- package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.d.ts +2 -1
- package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.js +15 -3
- package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.js.map +1 -1
- package/dist/cjs/Components/Sections/CancellationReview/CancellationReview.js +1 -2
- package/dist/cjs/Components/Sections/CancellationReview/CancellationReview.js.map +1 -1
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +1 -18
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.d.ts +2 -0
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js +59 -0
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js.map +1 -0
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.d.ts +89 -0
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.js +47 -0
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.js.map +1 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.d.ts +2 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.js +95 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.js.map +1 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/index.d.ts +26 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/index.js +18 -0
- package/dist/cjs/Components/Sections/ConfirmSubscriptionOffer/index.js.map +1 -0
- package/dist/cjs/Components/Sections/ContactSupport/ContactSupport.d.ts +2 -0
- package/dist/cjs/Components/Sections/ContactSupport/ContactSupport.js +43 -0
- package/dist/cjs/Components/Sections/ContactSupport/ContactSupport.js.map +1 -0
- package/dist/cjs/Components/Sections/ContactSupport/index.d.ts +2 -0
- package/dist/cjs/Components/Sections/ContactSupport/index.js +19 -0
- package/dist/cjs/Components/Sections/ContactSupport/index.js.map +1 -0
- package/dist/cjs/Components/Sections/ContactSupport/types.d.ts +21 -0
- package/dist/cjs/Components/Sections/ContactSupport/types.js +3 -0
- package/dist/cjs/Components/Sections/ContactSupport/types.js.map +1 -0
- package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +2 -6
- package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
- package/dist/cjs/Components/Sections/SectionContainer/ListSection.js +1 -11
- package/dist/cjs/Components/Sections/SectionContainer/ListSection.js.map +1 -1
- package/dist/cjs/Components/Sections/SectionContainer/utils.js +6 -7
- package/dist/cjs/Components/Sections/SectionContainer/utils.js.map +1 -1
- package/dist/cjs/Components/Sections/UserHub/BaseSection.js +1 -11
- package/dist/cjs/Components/Sections/UserHub/BaseSection.js.map +1 -1
- package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +1 -1
- package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js +7 -24
- package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -1
- package/dist/cjs/Components/Templates/CancellationStepperRender.d.ts +58 -2
- package/dist/cjs/Components/Templates/CancellationStepperRender.js +21 -12
- package/dist/cjs/Components/Templates/CancellationStepperRender.js.map +1 -1
- package/dist/cjs/Components/Templates/LayoutTemplate.js +29 -1
- package/dist/cjs/Components/Templates/LayoutTemplate.js.map +1 -1
- package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js +22 -0
- package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
- package/dist/cjs/Components/Templates/SunCancellationFlowRender.js +14 -1
- package/dist/cjs/Components/Templates/SunCancellationFlowRender.js.map +1 -1
- package/dist/cjs/Components/Templates/UserHubRender.js +16 -6
- package/dist/cjs/Components/Templates/UserHubRender.js.map +1 -1
- package/dist/cjs/Components/index.d.ts +1 -0
- package/dist/cjs/context/types.d.ts +15 -2
- package/dist/cjs/context/types.js +8 -1
- package/dist/cjs/context/types.js.map +1 -1
- package/dist/cjs/getProviderPropsTimes.js +13 -13
- package/dist/cjs/getProviderPropsTimes.js.map +1 -1
- package/dist/cjs/helpers/cancellationUtils.js +2 -1
- package/dist/cjs/helpers/cancellationUtils.js.map +1 -1
- package/dist/cjs/helpers/dataUtils.d.ts +3 -0
- package/dist/cjs/helpers/dataUtils.js +7 -3
- package/dist/cjs/helpers/dataUtils.js.map +1 -1
- package/dist/cjs/helpers/dateUtils.d.ts +1 -2
- package/dist/cjs/helpers/dateUtils.js +8 -11
- package/dist/cjs/helpers/dateUtils.js.map +1 -1
- package/dist/cjs/helpers/dmccVariant.d.ts +2 -0
- package/dist/cjs/helpers/dmccVariant.js +81 -0
- package/dist/cjs/helpers/dmccVariant.js.map +1 -0
- package/dist/cjs/helpers/entitlementUtils.d.ts +2 -2
- package/dist/cjs/helpers/entitlementUtils.js +7 -4
- package/dist/cjs/helpers/entitlementUtils.js.map +1 -1
- package/dist/cjs/helpers/index.d.ts +3 -0
- package/dist/cjs/helpers/index.js +3 -0
- package/dist/cjs/helpers/index.js.map +1 -1
- package/dist/cjs/helpers/providerUtilsTimes.js +2 -3
- package/dist/cjs/helpers/providerUtilsTimes.js.map +1 -1
- package/dist/cjs/helpers/randomizeReasons.d.ts +2 -0
- package/dist/cjs/helpers/randomizeReasons.js +37 -0
- package/dist/cjs/helpers/randomizeReasons.js.map +1 -0
- package/dist/cjs/helpers/subscriptionsUtils.d.ts +4 -1
- package/dist/cjs/helpers/subscriptionsUtils.js +29 -8
- package/dist/cjs/helpers/subscriptionsUtils.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/pages/CancellationStepper/CancellationStepper.js +1 -1
- package/dist/cjs/pages/CancellationStepper/CancellationStepper.js.map +1 -1
- package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js +699 -539
- package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
- package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +3 -0
- package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
- package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +1 -0
- package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
- package/dist/cjs/pages/UserHub/UserHubContext.js +1 -0
- package/dist/cjs/pages/UserHub/UserHubContext.js.map +1 -1
- package/dist/cjs/pages/types.d.ts +9 -1
- package/dist/cjs/queries/getUserGroupAccounts.js +1 -1
- package/dist/cjs/queries/getUserGroupAccounts.js.map +1 -1
- package/dist/cjs/queries/getUserIncentives.js +1 -1
- package/dist/cjs/queries/getUserIncentives.js.map +1 -1
- package/dist/cjs/queries/mutateSendFamilyMemberInvite.js +2 -1
- package/dist/cjs/queries/mutateSendFamilyMemberInvite.js.map +1 -1
- package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
- package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js +11 -17
- package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
- package/dist/esm/Components/Sections/CancelSubscription/types.d.ts +2 -0
- package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js +11 -3
- package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -1
- package/dist/esm/Components/Sections/CancellationOffers/types.d.ts +2 -1
- package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.d.ts +2 -1
- package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.js +13 -2
- package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.js.map +1 -1
- package/dist/esm/Components/Sections/CancellationReview/CancellationReview.js +1 -2
- package/dist/esm/Components/Sections/CancellationReview/CancellationReview.js.map +1 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +1 -18
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.js +1 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.d.ts +2 -0
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js +52 -0
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js.map +1 -0
- package/dist/esm/Components/Sections/ConfirmCancellation/index.d.ts +89 -0
- package/dist/esm/Components/Sections/ConfirmCancellation/index.js +40 -0
- package/dist/esm/Components/Sections/ConfirmCancellation/index.js.map +1 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.d.ts +2 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.js +88 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/ConfirmSubscriptionOffer.js.map +1 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/index.d.ts +26 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/index.js +2 -0
- package/dist/esm/Components/Sections/ConfirmSubscriptionOffer/index.js.map +1 -0
- package/dist/esm/Components/Sections/ContactSupport/ContactSupport.d.ts +2 -0
- package/dist/esm/Components/Sections/ContactSupport/ContactSupport.js +36 -0
- package/dist/esm/Components/Sections/ContactSupport/ContactSupport.js.map +1 -0
- package/dist/esm/Components/Sections/ContactSupport/index.d.ts +2 -0
- package/dist/esm/Components/Sections/ContactSupport/index.js +3 -0
- package/dist/esm/Components/Sections/ContactSupport/index.js.map +1 -0
- package/dist/esm/Components/Sections/ContactSupport/types.d.ts +21 -0
- package/dist/esm/Components/Sections/ContactSupport/types.js +2 -0
- package/dist/esm/Components/Sections/ContactSupport/types.js.map +1 -0
- package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +2 -6
- package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
- package/dist/esm/Components/Sections/SectionContainer/ListSection.js +2 -12
- package/dist/esm/Components/Sections/SectionContainer/ListSection.js.map +1 -1
- package/dist/esm/Components/Sections/SectionContainer/utils.js +6 -7
- package/dist/esm/Components/Sections/SectionContainer/utils.js.map +1 -1
- package/dist/esm/Components/Sections/UserHub/BaseSection.js +1 -11
- package/dist/esm/Components/Sections/UserHub/BaseSection.js.map +1 -1
- package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +1 -1
- package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js +9 -26
- package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -1
- package/dist/esm/Components/Templates/CancellationStepperRender.d.ts +58 -2
- package/dist/esm/Components/Templates/CancellationStepperRender.js +21 -12
- package/dist/esm/Components/Templates/CancellationStepperRender.js.map +1 -1
- package/dist/esm/Components/Templates/LayoutTemplate.js +6 -1
- package/dist/esm/Components/Templates/LayoutTemplate.js.map +1 -1
- package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js +22 -0
- package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
- package/dist/esm/Components/Templates/SunCancellationFlowRender.js +15 -2
- package/dist/esm/Components/Templates/SunCancellationFlowRender.js.map +1 -1
- package/dist/esm/Components/Templates/UserHubRender.js +16 -6
- package/dist/esm/Components/Templates/UserHubRender.js.map +1 -1
- package/dist/esm/Components/index.d.ts +1 -0
- package/dist/esm/context/types.d.ts +15 -2
- package/dist/esm/context/types.js +7 -0
- package/dist/esm/context/types.js.map +1 -1
- package/dist/esm/getProviderPropsTimes.js +13 -13
- package/dist/esm/getProviderPropsTimes.js.map +1 -1
- package/dist/esm/helpers/cancellationUtils.js +2 -1
- package/dist/esm/helpers/cancellationUtils.js.map +1 -1
- package/dist/esm/helpers/dataUtils.d.ts +3 -0
- package/dist/esm/helpers/dataUtils.js +5 -2
- package/dist/esm/helpers/dataUtils.js.map +1 -1
- package/dist/esm/helpers/dateUtils.d.ts +1 -2
- package/dist/esm/helpers/dateUtils.js +7 -9
- package/dist/esm/helpers/dateUtils.js.map +1 -1
- package/dist/esm/helpers/dmccVariant.d.ts +2 -0
- package/dist/esm/helpers/dmccVariant.js +76 -0
- package/dist/esm/helpers/dmccVariant.js.map +1 -0
- package/dist/esm/helpers/entitlementUtils.d.ts +2 -2
- package/dist/esm/helpers/entitlementUtils.js +7 -4
- package/dist/esm/helpers/entitlementUtils.js.map +1 -1
- package/dist/esm/helpers/index.d.ts +3 -0
- package/dist/esm/helpers/index.js +3 -0
- package/dist/esm/helpers/index.js.map +1 -1
- package/dist/esm/helpers/providerUtilsTimes.js +2 -3
- package/dist/esm/helpers/providerUtilsTimes.js.map +1 -1
- package/dist/esm/helpers/randomizeReasons.d.ts +2 -0
- package/dist/esm/helpers/randomizeReasons.js +33 -0
- package/dist/esm/helpers/randomizeReasons.js.map +1 -0
- package/dist/esm/helpers/subscriptionsUtils.d.ts +4 -1
- package/dist/esm/helpers/subscriptionsUtils.js +26 -7
- package/dist/esm/helpers/subscriptionsUtils.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/pages/CancellationStepper/CancellationStepper.js +1 -1
- package/dist/esm/pages/CancellationStepper/CancellationStepper.js.map +1 -1
- package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js +701 -541
- package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
- package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +3 -0
- package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
- package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +1 -0
- package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
- package/dist/esm/pages/UserHub/UserHubContext.js +1 -0
- package/dist/esm/pages/UserHub/UserHubContext.js.map +1 -1
- package/dist/esm/pages/types.d.ts +9 -1
- package/dist/esm/queries/getUserGroupAccounts.js +1 -1
- package/dist/esm/queries/getUserGroupAccounts.js.map +1 -1
- package/dist/esm/queries/getUserIncentives.js +1 -1
- package/dist/esm/queries/getUserIncentives.js.map +1 -1
- package/dist/esm/queries/mutateSendFamilyMemberInvite.js +2 -1
- package/dist/esm/queries/mutateSendFamilyMemberInvite.js.map +1 -1
- package/package.json +3 -3
|
@@ -40,620 +40,780 @@ var reasonSubtitleOverrides = {
|
|
|
40
40
|
stylePreset: { xs: 'textAlignCenter', md: 'textAlignLeft' },
|
|
41
41
|
};
|
|
42
42
|
var downgradePageUrl = '[baseURL]/cancel?step=downgrade';
|
|
43
|
-
var CancellationStepperContext = function (variant, contractPhase, inEmbeddedMode) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
eventContext: {
|
|
56
|
-
event_navigation_action: 'navigation',
|
|
57
|
-
event_navigation_name: 'button:back',
|
|
58
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
59
|
-
page_name: 'cancellation reasons',
|
|
60
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
61
|
-
contract_state: contractPhase,
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
backButtonOverrides: {
|
|
65
|
-
marginBlockEnd: 'space060',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
containerOverrides: {
|
|
69
|
-
rows: 'auto',
|
|
70
|
-
columns: '1fr 1fr',
|
|
71
|
-
rowGap: '8px',
|
|
72
|
-
columnGap: '8px',
|
|
73
|
-
justifyContent: 'space-between',
|
|
74
|
-
overrides: {
|
|
75
|
-
paddingBlock: 'space050',
|
|
76
|
-
paddingInline: 'space040',
|
|
77
|
-
minWidth: '100%',
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
layoutMainContentOverrides: {
|
|
81
|
-
fullWidth: true,
|
|
82
|
-
justifyContent: 'stretch',
|
|
83
|
-
width: {
|
|
84
|
-
xs: '100%',
|
|
85
|
-
md: '100%',
|
|
86
|
-
},
|
|
87
|
-
paddingInline: {
|
|
88
|
-
xs: 'space045',
|
|
89
|
-
md: 'space060',
|
|
90
|
-
},
|
|
91
|
-
paddingBlockStart: {
|
|
92
|
-
xs: 'space045',
|
|
93
|
-
md: 'space060',
|
|
43
|
+
var CancellationStepperContext = function (variant, contractPhase, inEmbeddedMode) {
|
|
44
|
+
var isVariantTwo = variant === constants_1.CANCELLATION_EXPERIMENT.VARIANT_2_A;
|
|
45
|
+
var varTwoIntroduction = {
|
|
46
|
+
title: 'Your subscription has been cancelled',
|
|
47
|
+
description: 'We’ve processed your cancellation. You’ll continue to have access until the end of your current billing period.',
|
|
48
|
+
center: false,
|
|
49
|
+
titleOverrides: {},
|
|
50
|
+
};
|
|
51
|
+
return {
|
|
52
|
+
baseUrl: constants_1.BASE_URL,
|
|
53
|
+
head: {
|
|
54
|
+
pageTitle: 'Cancellation',
|
|
94
55
|
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
},
|
|
110
|
-
layoutType: 'grid',
|
|
111
|
-
header: {
|
|
112
|
-
center: true,
|
|
113
|
-
title: 'Before you go, can you tell us why?',
|
|
114
|
-
description: 'Your feedback helps us improve and may allow us to offer you a better solution.',
|
|
115
|
-
fullWidthTitle: true,
|
|
116
|
-
titleOverrides: {
|
|
117
|
-
marginBlockEnd: 'space060',
|
|
118
|
-
typographyPreset: {
|
|
119
|
-
xs: 'editorialHeadline040',
|
|
120
|
-
md: 'editorialSubheadline050',
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
descriptionOverrides: {
|
|
124
|
-
marginBlockEnd: 'space040',
|
|
125
|
-
paddingInline: { xs: 'space000', md: 'space110' },
|
|
126
|
-
typographyPreset: {
|
|
127
|
-
xs: 'editorialParagraph010',
|
|
128
|
-
md: 'editorialParagraph020',
|
|
129
|
-
},
|
|
56
|
+
showBackButton: true,
|
|
57
|
+
header: {
|
|
58
|
+
backButton: {
|
|
59
|
+
text: 'Back',
|
|
60
|
+
'aria-label': 'back',
|
|
61
|
+
href: '[baseURL]/subscription-and-billing',
|
|
62
|
+
hasIcon: true,
|
|
63
|
+
eventContext: {
|
|
64
|
+
event_navigation_action: 'navigation',
|
|
65
|
+
event_navigation_name: 'button:back',
|
|
66
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
67
|
+
page_name: 'cancellation reasons',
|
|
68
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
69
|
+
contract_state: contractPhase,
|
|
130
70
|
},
|
|
131
71
|
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
columns: '1fr 1fr',
|
|
135
|
-
rowGap: 'space040',
|
|
136
|
-
columnGap: 'space040',
|
|
137
|
-
justifyContent: 'space-between',
|
|
138
|
-
overrides: {
|
|
139
|
-
paddingBlock: 'space045',
|
|
140
|
-
minWidth: '100%',
|
|
141
|
-
},
|
|
72
|
+
backButtonOverrides: {
|
|
73
|
+
marginBlockEnd: 'space060',
|
|
142
74
|
},
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
75
|
+
},
|
|
76
|
+
containerOverrides: {
|
|
77
|
+
rows: 'auto',
|
|
78
|
+
columns: '1fr 1fr',
|
|
79
|
+
rowGap: '8px',
|
|
80
|
+
columnGap: '8px',
|
|
81
|
+
justifyContent: 'space-between',
|
|
82
|
+
overrides: {
|
|
83
|
+
paddingBlock: 'space050',
|
|
84
|
+
paddingInline: 'space040',
|
|
85
|
+
minWidth: '100%',
|
|
154
86
|
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
87
|
+
},
|
|
88
|
+
layoutMainContentOverrides: {
|
|
89
|
+
fullWidth: true,
|
|
90
|
+
justifyContent: 'stretch',
|
|
91
|
+
width: {
|
|
92
|
+
xs: '100%',
|
|
93
|
+
md: '100%',
|
|
94
|
+
},
|
|
95
|
+
paddingInline: {
|
|
96
|
+
xs: 'space045',
|
|
97
|
+
md: 'space060',
|
|
160
98
|
},
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
99
|
+
paddingBlockStart: {
|
|
100
|
+
xs: 'space045',
|
|
101
|
+
md: 'space060',
|
|
164
102
|
},
|
|
165
|
-
|
|
103
|
+
},
|
|
104
|
+
contentContainerOverrides: {
|
|
105
|
+
marginInline: 'auto',
|
|
106
|
+
paddingBlockStart: 'space000',
|
|
107
|
+
paddingInline: 'space000',
|
|
108
|
+
},
|
|
109
|
+
components: {
|
|
110
|
+
reason: {
|
|
111
|
+
tealiumContext: getPageTrackingEvent('cancellation reasons', variant, contractPhase, inEmbeddedMode),
|
|
112
|
+
contentContainerOverrides: {
|
|
113
|
+
marginInline: 'auto',
|
|
114
|
+
paddingBlockStart: 'space000',
|
|
115
|
+
paddingInline: 'space000',
|
|
116
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
117
|
+
},
|
|
118
|
+
layoutType: 'grid',
|
|
119
|
+
header: {
|
|
120
|
+
center: true,
|
|
121
|
+
title: 'Before you go, can you tell us why?',
|
|
122
|
+
description: 'Your feedback helps us improve and may allow us to offer you a better solution.',
|
|
123
|
+
fullWidthTitle: true,
|
|
124
|
+
titleOverrides: {
|
|
125
|
+
marginBlockEnd: 'space060',
|
|
126
|
+
typographyPreset: {
|
|
127
|
+
xs: 'editorialHeadline040',
|
|
128
|
+
md: 'editorialSubheadline050',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
descriptionOverrides: {
|
|
132
|
+
marginBlockEnd: 'space040',
|
|
133
|
+
paddingInline: { xs: 'space000', md: 'space110' },
|
|
134
|
+
typographyPreset: {
|
|
135
|
+
xs: 'editorialParagraph010',
|
|
136
|
+
md: 'editorialParagraph020',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
},
|
|
166
140
|
containerOverrides: {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
141
|
+
rows: 'auto',
|
|
142
|
+
columns: '1fr 1fr',
|
|
143
|
+
rowGap: 'space040',
|
|
144
|
+
columnGap: 'space040',
|
|
145
|
+
justifyContent: 'space-between',
|
|
171
146
|
overrides: {
|
|
172
|
-
|
|
147
|
+
paddingBlock: 'space045',
|
|
148
|
+
minWidth: '100%',
|
|
173
149
|
},
|
|
174
150
|
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
151
|
+
itemContainerOverrides: {
|
|
152
|
+
rows: { xs: 'auto 1fr', md: 'auto' },
|
|
153
|
+
columns: '1fr',
|
|
154
|
+
rowGap: { xs: 'space040', md: 'space030' },
|
|
155
|
+
justifyContent: 'space-between',
|
|
156
|
+
overrides: {
|
|
157
|
+
paddingBlock: { xs: 'space020', md: 'space045' },
|
|
158
|
+
paddingInline: { xs: 'space020', md: 'space045' },
|
|
159
|
+
paddingBlockEnd: { xs: 'space045', md: 'space045' },
|
|
160
|
+
minWidth: '100%',
|
|
161
|
+
},
|
|
180
162
|
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
163
|
+
itemHeaderOverrides: {
|
|
164
|
+
flow: { xs: 'vertical-center', md: 'horizontal-top' },
|
|
165
|
+
flowReverse: { xs: true, md: false },
|
|
166
|
+
imageVisible: true,
|
|
167
|
+
height: 'auto',
|
|
184
168
|
},
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
169
|
+
itemImageOverrides: {
|
|
170
|
+
width: 45,
|
|
171
|
+
height: 36,
|
|
188
172
|
},
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
173
|
+
belowItemExtra: {
|
|
174
|
+
containerOverrides: {
|
|
175
|
+
columns: 'repeat(2, auto)',
|
|
176
|
+
justifyContent: 'center',
|
|
177
|
+
justifyItems: 'center',
|
|
178
|
+
alignItems: 'center',
|
|
179
|
+
overrides: {
|
|
180
|
+
marginBlockStart: 'space050',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
label: 'or',
|
|
184
|
+
button: {
|
|
185
|
+
text: 'None of the above',
|
|
186
|
+
href: downgradePageUrl,
|
|
187
|
+
id: 'none-of-the-above',
|
|
188
|
+
},
|
|
189
|
+
buttonOverrides: {
|
|
190
|
+
stylePreset: 'baseInteractivePrimary030',
|
|
191
|
+
typographyPreset: 'utilitySubheading020',
|
|
192
|
+
},
|
|
193
|
+
iconOverrides: {
|
|
194
|
+
size: 'iconSize020',
|
|
195
|
+
stylePreset: 'baseInteractivePrimary030',
|
|
196
|
+
},
|
|
197
|
+
marginInline: 'auto',
|
|
210
198
|
eventContext: {
|
|
211
199
|
event_navigation_action: 'navigation',
|
|
212
200
|
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
213
201
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
214
202
|
page_name: 'cancellation reasons',
|
|
215
|
-
article_parent_name: '
|
|
203
|
+
article_parent_name: 'none of the above',
|
|
216
204
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
217
205
|
contract_state: contractPhase,
|
|
218
206
|
},
|
|
219
207
|
},
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
208
|
+
items: [
|
|
209
|
+
{
|
|
210
|
+
id: 'tech-issues',
|
|
211
|
+
label: "I'm having tech issues",
|
|
212
|
+
labelOverrides: reasonLabelOverrides,
|
|
213
|
+
subtitle: "I've experienced problems with the app or website",
|
|
214
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
215
|
+
componentType: 'grid',
|
|
216
|
+
image: '/assets/cancellation/placeholder.png',
|
|
217
|
+
href: downgradePageUrl,
|
|
218
|
+
eventContext: {
|
|
219
|
+
event_navigation_action: 'navigation',
|
|
220
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
221
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
222
|
+
page_name: 'cancellation reasons',
|
|
223
|
+
article_parent_name: 'tech issues',
|
|
224
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
225
|
+
contract_state: contractPhase,
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
id: 'not-right-for-me',
|
|
230
|
+
label: "The content isn't right for me",
|
|
231
|
+
labelOverrides: reasonLabelOverrides,
|
|
232
|
+
subtitle: "I'm not enjoying the content, or I'm taking a break from news",
|
|
233
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
234
|
+
componentType: 'grid',
|
|
235
|
+
image: '/assets/cancellation/placeholder.png',
|
|
236
|
+
href: downgradePageUrl,
|
|
237
|
+
eventContext: {
|
|
238
|
+
event_navigation_action: 'navigation',
|
|
239
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
240
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
241
|
+
page_name: 'cancellation reasons',
|
|
242
|
+
article_parent_name: 'not right for me',
|
|
243
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
244
|
+
contract_state: contractPhase,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: 'no-time',
|
|
249
|
+
label: "I don't have time",
|
|
250
|
+
labelOverrides: reasonLabelOverrides,
|
|
251
|
+
subtitle: "I don't read the news enough to make it worthwhile",
|
|
252
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
253
|
+
componentType: 'grid',
|
|
254
|
+
image: '/assets/cancellation/placeholder.png',
|
|
255
|
+
href: downgradePageUrl,
|
|
256
|
+
eventContext: {
|
|
257
|
+
event_navigation_action: 'navigation',
|
|
258
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
259
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
260
|
+
page_name: 'cancellation reasons',
|
|
261
|
+
article_parent_name: 'no time',
|
|
262
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
263
|
+
contract_state: contractPhase,
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: 'expensive',
|
|
268
|
+
label: "It's too expensive",
|
|
269
|
+
labelOverrides: reasonLabelOverrides,
|
|
270
|
+
subtitle: "I can't justify the subscription cost",
|
|
271
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
272
|
+
componentType: 'grid',
|
|
273
|
+
image: '/assets/cancellation/placeholder.png',
|
|
274
|
+
href: downgradePageUrl,
|
|
275
|
+
eventContext: {
|
|
276
|
+
event_navigation_action: 'navigation',
|
|
277
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
278
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
279
|
+
page_name: 'cancellation reasons',
|
|
280
|
+
article_parent_name: 'expensive',
|
|
281
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
282
|
+
contract_state: contractPhase,
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
id: 'practical-issues',
|
|
287
|
+
label: 'Practical issues',
|
|
288
|
+
labelOverrides: reasonLabelOverrides,
|
|
289
|
+
subtitle: 'I’m having delivery problems or can’t receive the paper any more',
|
|
290
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
291
|
+
componentType: 'grid',
|
|
292
|
+
image: '/assets/cancellation/placeholder.png',
|
|
293
|
+
href: downgradePageUrl,
|
|
294
|
+
eventContext: {
|
|
295
|
+
event_navigation_action: 'navigation',
|
|
296
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
297
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
298
|
+
page_name: 'cancellation reasons',
|
|
299
|
+
article_parent_name: 'practical issues',
|
|
300
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
301
|
+
contract_state: contractPhase,
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
id: 'another-source',
|
|
306
|
+
label: 'I prefer another source',
|
|
307
|
+
labelOverrides: reasonLabelOverrides,
|
|
308
|
+
subtitle: 'I now get my news from somewhere else',
|
|
309
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
310
|
+
componentType: 'grid',
|
|
311
|
+
image: '/assets/cancellation/placeholder.png',
|
|
312
|
+
href: downgradePageUrl,
|
|
313
|
+
eventContext: {
|
|
314
|
+
event_navigation_action: 'navigation',
|
|
315
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
316
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
317
|
+
page_name: 'cancellation reasons',
|
|
318
|
+
article_parent_name: 'another source',
|
|
319
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
320
|
+
contract_state: contractPhase,
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
},
|
|
325
|
+
downgrade: {
|
|
326
|
+
tealiumContext: getPageTrackingEvent('offer page', variant, contractPhase, inEmbeddedMode),
|
|
327
|
+
contentContainerOverrides: {
|
|
328
|
+
marginInline: 'auto',
|
|
329
|
+
paddingBlockStart: 'space000',
|
|
330
|
+
paddingInline: 'space000',
|
|
331
|
+
width: { xs: '100%' },
|
|
332
|
+
maxWidth: '1400px',
|
|
333
|
+
},
|
|
334
|
+
header: {
|
|
335
|
+
overline: 'Exclusive international offer:',
|
|
336
|
+
overlineOverrides: {
|
|
337
|
+
paddingInline: { xs: 'space000', md: 'space050' },
|
|
338
|
+
typographyPreset: 'utilityHeading050',
|
|
339
|
+
},
|
|
340
|
+
title: 'Stay informed for less',
|
|
341
|
+
description: 'Save on your subscription and continue to access trusted analysis and global reporting.',
|
|
342
|
+
fullWidthTitle: true,
|
|
343
|
+
titleOverrides: {
|
|
344
|
+
marginBlockEnd: 'space060',
|
|
345
|
+
paddingInline: { xs: 'space000', md: 'space050' },
|
|
346
|
+
typographyPreset: {
|
|
347
|
+
xs: 'editorialLightDisplay007',
|
|
348
|
+
md: 'editorialLightDisplay008',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
descriptionOverrides: {
|
|
352
|
+
paddingInline: { xs: 'space000', md: 'space050' },
|
|
353
|
+
stylePreset: 'inkSubtle',
|
|
354
|
+
typographyPreset: {
|
|
355
|
+
xs: 'editorialLightHeadline020',
|
|
356
|
+
md: 'editorialLightHeadline030',
|
|
357
|
+
},
|
|
237
358
|
},
|
|
238
359
|
},
|
|
239
|
-
{
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
360
|
+
heroImage: {
|
|
361
|
+
width: 450,
|
|
362
|
+
height: 470,
|
|
363
|
+
src: '/assets/cancellation/cancellation-hero.png',
|
|
364
|
+
alt: 'Downgrade',
|
|
365
|
+
},
|
|
366
|
+
offers: [
|
|
367
|
+
{
|
|
368
|
+
id: 'offer-1',
|
|
369
|
+
title: 'Save £80/year',
|
|
370
|
+
offerLabel: (react_1.default.createElement(newskit_1.Stack, { spaceInline: "space010", flow: "horizontal-center" },
|
|
371
|
+
react_1.default.createElement(newskit_1.TextBlock, { typographyPreset: "editorialLightHeadline040", stylePreset: "inkSubtle" },
|
|
372
|
+
react_1.default.createElement("s", null, "\u00A3120")),
|
|
373
|
+
react_1.default.createElement(newskit_1.TextBlock, { typographyPreset: "editorialLightHeadline050", stylePreset: "inkSection020" }, "\u00A340 for a whole year"))),
|
|
374
|
+
description: 'Continue getting unrivalled international journalism from world-class reporters, dedicated to delivering unbiased, informative and entertaining analysis of the very latest global events.',
|
|
375
|
+
newPrice: 'Then £10/month thereafter',
|
|
376
|
+
buttonText: 'Save £80 for a year',
|
|
377
|
+
containerOverrides: {
|
|
378
|
+
overrides: { marginBlockEnd: 'space050', marginInline: '-8px' },
|
|
379
|
+
},
|
|
380
|
+
buttonEventContext: {
|
|
381
|
+
event_navigation_action: 'navigation',
|
|
382
|
+
event_navigation_name: 'offer 1 cta selected',
|
|
383
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
384
|
+
page_name: 'offer page',
|
|
385
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
386
|
+
contract_state: contractPhase,
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
id: 'offer-2',
|
|
391
|
+
title: 'Your current subscription',
|
|
392
|
+
offerLabel: 'International Digital',
|
|
393
|
+
offerLabelOverrides: {
|
|
394
|
+
typographyPreset: 'editorialLightHeadline050',
|
|
395
|
+
stylePreset: 'inkSection020',
|
|
396
|
+
},
|
|
397
|
+
newPrice: '£10/month (£120/year)',
|
|
398
|
+
buttonText: 'Keep your current subscription',
|
|
399
|
+
baseUrl: '/account',
|
|
400
|
+
buttonHref: '[baseUrl]/subscription-and-billing',
|
|
401
|
+
buttonOverrides: {
|
|
402
|
+
overrides: {
|
|
403
|
+
stylePreset: 'buttonOutlinedSecondary',
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
buttonEventContext: {
|
|
407
|
+
event_navigation_action: 'navigation',
|
|
408
|
+
event_navigation_name: 'online cancellation - keep your current subscription',
|
|
409
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
410
|
+
page_name: 'offer page',
|
|
411
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
412
|
+
contract_state: contractPhase,
|
|
413
|
+
},
|
|
414
|
+
containerOverrides: {
|
|
415
|
+
overrides: { marginBlockEnd: 'space050', marginInline: '-8px' },
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
continueButton: {
|
|
248
420
|
eventContext: {
|
|
249
421
|
event_navigation_action: 'navigation',
|
|
250
|
-
event_navigation_name: 'online cancellation
|
|
422
|
+
event_navigation_name: 'online cancellation - proceed with cancellation',
|
|
251
423
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
252
|
-
page_name: '
|
|
253
|
-
article_parent_name: 'no time',
|
|
424
|
+
page_name: 'offer page',
|
|
254
425
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
255
426
|
contract_state: contractPhase,
|
|
256
427
|
},
|
|
428
|
+
label: 'or',
|
|
429
|
+
baseUrl: '/account',
|
|
430
|
+
button: {
|
|
431
|
+
text: 'Proceed with cancellation',
|
|
432
|
+
href: '[baseURL]/cancel?step=cancel',
|
|
433
|
+
},
|
|
257
434
|
},
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
435
|
+
},
|
|
436
|
+
confirmCancel: {
|
|
437
|
+
tealiumContext: getPageTrackingEvent('cancellation page', variant, contractPhase, inEmbeddedMode),
|
|
438
|
+
showBackButton: false,
|
|
439
|
+
contentContainerOverrides: {
|
|
440
|
+
marginInline: 'auto',
|
|
441
|
+
paddingBlockStart: 'space000',
|
|
442
|
+
paddingInline: 'space000',
|
|
443
|
+
width: __assign(__assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }), (isVariantTwo
|
|
444
|
+
? { xs: '100%', sm: '100%', md: '440px', lg: '440px' }
|
|
445
|
+
: {})),
|
|
446
|
+
},
|
|
447
|
+
image: {
|
|
448
|
+
src: '/assets/cancellation/thank-you.png',
|
|
449
|
+
alt: 'Cancellation confirmed',
|
|
450
|
+
width: 220,
|
|
451
|
+
height: 320,
|
|
452
|
+
},
|
|
453
|
+
introduction: __assign({ title: 'Subscription cancelled', description: 'Your subscription will expire on ##DATE##.', center: true }, (isVariantTwo ? varTwoIntroduction : {})),
|
|
454
|
+
subscriptionDetails: {
|
|
455
|
+
containerOverrides: {
|
|
456
|
+
width: '100%',
|
|
457
|
+
marginBlockEnd: 'space100',
|
|
458
|
+
},
|
|
459
|
+
subscriptionType: {
|
|
460
|
+
label: 'Subscription type',
|
|
461
|
+
overrides: {
|
|
462
|
+
paddingBlock: 'space050',
|
|
463
|
+
paddingInlineStart: 'space040',
|
|
464
|
+
typographyPreset: 'utilityHeading010',
|
|
465
|
+
},
|
|
466
|
+
},
|
|
467
|
+
endDate: {
|
|
468
|
+
label: 'Subscription end date',
|
|
469
|
+
overrides: {
|
|
470
|
+
paddingBlock: 'space050',
|
|
471
|
+
paddingInlineStart: 'space040',
|
|
472
|
+
typographyPreset: 'utilityHeading010',
|
|
473
|
+
},
|
|
275
474
|
},
|
|
276
475
|
},
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
476
|
+
buttonText: isVariantTwo
|
|
477
|
+
? 'Go back to My Account'
|
|
478
|
+
: 'Return to Homepage',
|
|
479
|
+
buttonUrl: '/account',
|
|
480
|
+
buttonEventContext: {
|
|
481
|
+
event_navigation_action: 'navigation',
|
|
482
|
+
event_navigation_name: 'online cancellation - return to homepage',
|
|
483
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
484
|
+
page_name: 'cancellation page',
|
|
485
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
486
|
+
contract_state: contractPhase,
|
|
487
|
+
},
|
|
488
|
+
},
|
|
489
|
+
preCancellation: {
|
|
490
|
+
tealiumContext: getPageTrackingEvent('pre-confirmation page', variant, contractPhase, inEmbeddedMode),
|
|
491
|
+
contentContainerOverrides: {
|
|
492
|
+
marginInline: 'auto',
|
|
493
|
+
paddingBlockStart: 'space000',
|
|
494
|
+
paddingInline: 'space000',
|
|
495
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
496
|
+
},
|
|
497
|
+
header: {
|
|
498
|
+
title: 'Confirm your cancellation',
|
|
499
|
+
description: '##TIME_REMAINING## ##TIME_PERIOD## remaining',
|
|
500
|
+
fullWidthTitle: true,
|
|
501
|
+
titleOverrides: {
|
|
502
|
+
textAlign: { xs: 'left', md: 'center' },
|
|
503
|
+
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
504
|
+
typographyPreset: {
|
|
505
|
+
xs: 'editorialHeadline040',
|
|
506
|
+
md: 'editorialSubheadline050',
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
descriptionOverrides: {
|
|
510
|
+
textAlign: { xs: 'left', md: 'center' },
|
|
511
|
+
marginBlockEnd: { xs: 'space070', md: 'space090' },
|
|
512
|
+
typographyPreset: 'editorialLightDisplay004',
|
|
294
513
|
},
|
|
295
514
|
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
515
|
+
subscriptionName: '##SUBSCRIPTION_NAME## subscription',
|
|
516
|
+
subscriptionEnd: {
|
|
517
|
+
messages: {
|
|
518
|
+
daysRemaining: 'Your subscription will end on ##DATE##. ',
|
|
519
|
+
monthsRemaining: 'Your subscription will end in 1 month. ',
|
|
520
|
+
},
|
|
521
|
+
description: (react_1.default.createElement(react_1.default.Fragment, null,
|
|
522
|
+
"After this date, your access to The Times and Sunday Times will stop. If you change your mind before then, just contact our",
|
|
523
|
+
' ',
|
|
524
|
+
react_1.default.createElement(newskit_1.LinkInline, { external: false, overrides: {
|
|
525
|
+
typographyPreset: 'utilityBody020',
|
|
526
|
+
stylePreset: 'inkSubtle',
|
|
527
|
+
}, href: "https://www.thetimes.com/help/articles/how-do-i-contact-customer-services", target: "_blank" }, "customer service team"),
|
|
528
|
+
' ',
|
|
529
|
+
"- we\u2019ll be happy to help you keep your access.")),
|
|
530
|
+
},
|
|
531
|
+
continueButton: {
|
|
305
532
|
eventContext: {
|
|
306
533
|
event_navigation_action: 'navigation',
|
|
307
|
-
event_navigation_name: 'online cancellation
|
|
534
|
+
event_navigation_name: 'online cancellation - confirm cancellation',
|
|
308
535
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
309
|
-
page_name: '
|
|
310
|
-
article_parent_name: 'another source',
|
|
536
|
+
page_name: 'pre-confirmation page',
|
|
311
537
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
312
538
|
contract_state: contractPhase,
|
|
313
539
|
},
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
downgrade: {
|
|
318
|
-
tealiumContext: getPageTrackingEvent('offer page', variant, contractPhase, inEmbeddedMode),
|
|
319
|
-
contentContainerOverrides: {
|
|
320
|
-
marginInline: 'auto',
|
|
321
|
-
paddingBlockStart: 'space000',
|
|
322
|
-
paddingInline: 'space000',
|
|
323
|
-
width: { xs: '100%' },
|
|
324
|
-
maxWidth: '1400px',
|
|
325
|
-
},
|
|
326
|
-
header: {
|
|
327
|
-
overline: 'Exclusive international offer:',
|
|
328
|
-
overlineOverrides: {
|
|
329
|
-
paddingInline: { xs: 'space000', md: 'space050' },
|
|
330
|
-
typographyPreset: 'utilityHeading050',
|
|
331
|
-
},
|
|
332
|
-
title: 'Stay informed for less',
|
|
333
|
-
description: 'Save on your subscription and continue to access trusted analysis and global reporting.',
|
|
334
|
-
fullWidthTitle: true,
|
|
335
|
-
titleOverrides: {
|
|
336
|
-
marginBlockEnd: 'space060',
|
|
337
|
-
paddingInline: { xs: 'space000', md: 'space050' },
|
|
338
|
-
typographyPreset: {
|
|
339
|
-
xs: 'editorialLightDisplay007',
|
|
340
|
-
md: 'editorialLightDisplay008',
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
descriptionOverrides: {
|
|
344
|
-
paddingInline: { xs: 'space000', md: 'space050' },
|
|
345
|
-
stylePreset: 'inkSubtle',
|
|
346
|
-
typographyPreset: {
|
|
347
|
-
xs: 'editorialLightHeadline020',
|
|
348
|
-
md: 'editorialLightHeadline030',
|
|
540
|
+
label: '',
|
|
541
|
+
button: {
|
|
542
|
+
text: 'Confirm cancellation',
|
|
349
543
|
},
|
|
350
544
|
},
|
|
545
|
+
defaultCancellationReason: 'no reason',
|
|
546
|
+
genericErrorMessage: {
|
|
547
|
+
error: "Sorry, we're having trouble processing your cancellation request right now. Please try again later, or contact support.",
|
|
548
|
+
},
|
|
351
549
|
},
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
title: '
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
newPrice: 'Then £10/month thereafter',
|
|
368
|
-
buttonText: 'Save £80 for a year',
|
|
369
|
-
containerOverrides: {
|
|
370
|
-
overrides: { marginBlockEnd: 'space050', marginInline: '-8px' },
|
|
550
|
+
offers: {
|
|
551
|
+
tealiumContext: getPageTrackingEvent('offer page', variant, contractPhase, inEmbeddedMode),
|
|
552
|
+
contentContainerOverrides: {
|
|
553
|
+
marginInline: 'auto',
|
|
554
|
+
paddingBlockStart: 'space000',
|
|
555
|
+
paddingInline: 'space000',
|
|
556
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
557
|
+
},
|
|
558
|
+
header: {
|
|
559
|
+
title: "Don't cancel yet - here's a special offer",
|
|
560
|
+
description: "We'd like you to stay. Choose an option below to keep access to The Times and The Sunday Times.",
|
|
561
|
+
showDivider: true,
|
|
562
|
+
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
563
|
+
titleOverrides: {
|
|
564
|
+
marginBlockEnd: 'space060',
|
|
371
565
|
},
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
event_navigation_name: 'offer 1 cta selected',
|
|
375
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
376
|
-
page_name: 'offer page',
|
|
377
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
378
|
-
contract_state: contractPhase,
|
|
566
|
+
descriptionOverrides: {
|
|
567
|
+
marginBlockEnd: 'space060',
|
|
379
568
|
},
|
|
380
569
|
},
|
|
381
|
-
{
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
typographyPreset: 'editorialLightHeadline050',
|
|
387
|
-
stylePreset: 'inkSection020',
|
|
570
|
+
offersSection: {
|
|
571
|
+
title: 'Limited time deal',
|
|
572
|
+
titleOverrides: {
|
|
573
|
+
typographyPreset: 'editorialHeadline050',
|
|
574
|
+
marginBlockEnd: 'space060',
|
|
388
575
|
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
576
|
+
items: [
|
|
577
|
+
{
|
|
578
|
+
id: 'DINCV-0039',
|
|
579
|
+
title: 'Save 75% for 6 months',
|
|
580
|
+
description: 'Stay subscribed for just £10/month for the next 6 months. After that, your price returns to £30/month. Cancel anytime.',
|
|
581
|
+
discountedPrice: '£10/month for 6 months',
|
|
582
|
+
regularPrice: '£30/month after',
|
|
583
|
+
nextStep: 'discountPreview',
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
id: 'cancel',
|
|
587
|
+
title: 'Cancel subscription',
|
|
588
|
+
description: 'If you still want to leave, you’ll be taken to the final confirmation step.',
|
|
589
|
+
nextStep: 'reviewCancellation',
|
|
590
|
+
overrides: {
|
|
591
|
+
container: {
|
|
592
|
+
borderColor: 'interfaceInformative010',
|
|
593
|
+
backgroundColor: 'interfaceBackground',
|
|
594
|
+
},
|
|
595
|
+
title: {
|
|
596
|
+
marginBlockStart: 'space030',
|
|
597
|
+
typographyPreset: 'utilityHeading010',
|
|
598
|
+
},
|
|
599
|
+
},
|
|
396
600
|
},
|
|
601
|
+
],
|
|
602
|
+
},
|
|
603
|
+
benefits: {
|
|
604
|
+
showBenefits: true,
|
|
605
|
+
title: 'Subscriber benefits',
|
|
606
|
+
titleOverrides: {
|
|
607
|
+
typographyPreset: 'editorialHeadline030',
|
|
608
|
+
stylePreset: 'inkContrast',
|
|
609
|
+
marginBlockEnd: 'space050',
|
|
397
610
|
},
|
|
398
|
-
|
|
611
|
+
items: [
|
|
612
|
+
{
|
|
613
|
+
code: 'FP-032',
|
|
614
|
+
title: 'Unlimited digital access',
|
|
615
|
+
description: 'Read without limits on your phone, tablet or on the web',
|
|
616
|
+
link: {
|
|
617
|
+
href: 'https://www.thetimes.com/',
|
|
618
|
+
text: "Read today's stories",
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
code: 'share',
|
|
623
|
+
title: 'Share articles',
|
|
624
|
+
description: 'Forward articles to friends and family for free',
|
|
625
|
+
},
|
|
626
|
+
],
|
|
627
|
+
},
|
|
628
|
+
continueButton: {
|
|
629
|
+
// TO DO: update with AIT spec
|
|
630
|
+
eventContext: {
|
|
399
631
|
event_navigation_action: 'navigation',
|
|
400
|
-
event_navigation_name: 'online cancellation -
|
|
632
|
+
event_navigation_name: 'online cancellation - proceed with offer selection',
|
|
401
633
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
402
|
-
page_name: '
|
|
403
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
404
|
-
contract_state: contractPhase,
|
|
634
|
+
page_name: 'offers page',
|
|
405
635
|
},
|
|
406
|
-
|
|
407
|
-
|
|
636
|
+
label: '',
|
|
637
|
+
button: {
|
|
638
|
+
text: 'Continue',
|
|
408
639
|
},
|
|
409
640
|
},
|
|
410
|
-
],
|
|
411
|
-
continueButton: {
|
|
412
|
-
eventContext: {
|
|
413
|
-
event_navigation_action: 'navigation',
|
|
414
|
-
event_navigation_name: 'online cancellation - proceed with cancellation',
|
|
415
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
416
|
-
page_name: 'offer page',
|
|
417
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
418
|
-
contract_state: contractPhase,
|
|
419
|
-
},
|
|
420
|
-
label: 'or',
|
|
421
|
-
baseUrl: '/account',
|
|
422
|
-
button: {
|
|
423
|
-
text: 'Proceed with cancellation',
|
|
424
|
-
href: '[baseURL]/cancel?step=cancel',
|
|
425
|
-
},
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
confirmCancel: {
|
|
429
|
-
tealiumContext: getPageTrackingEvent('cancellation page', variant, contractPhase, inEmbeddedMode),
|
|
430
|
-
showBackButton: false,
|
|
431
|
-
contentContainerOverrides: {
|
|
432
|
-
marginInline: 'auto',
|
|
433
|
-
paddingBlockStart: 'space000',
|
|
434
|
-
paddingInline: 'space000',
|
|
435
|
-
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
436
641
|
},
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
456
|
-
contract_state: contractPhase,
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
preCancellation: {
|
|
460
|
-
tealiumContext: getPageTrackingEvent('pre-confirmation page', variant, contractPhase, inEmbeddedMode),
|
|
461
|
-
contentContainerOverrides: {
|
|
462
|
-
marginInline: 'auto',
|
|
463
|
-
paddingBlockStart: 'space000',
|
|
464
|
-
paddingInline: 'space000',
|
|
465
|
-
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
466
|
-
},
|
|
467
|
-
header: {
|
|
468
|
-
title: 'Confirm your cancellation',
|
|
469
|
-
description: '##TIME_REMAINING## ##TIME_PERIOD## remaining',
|
|
470
|
-
fullWidthTitle: true,
|
|
471
|
-
titleOverrides: {
|
|
472
|
-
textAlign: { xs: 'left', md: 'center' },
|
|
473
|
-
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
474
|
-
typographyPreset: {
|
|
475
|
-
xs: 'editorialHeadline040',
|
|
476
|
-
md: 'editorialSubheadline050',
|
|
642
|
+
offerConfirmation: {
|
|
643
|
+
contentContainerOverrides: {
|
|
644
|
+
marginInline: 'auto',
|
|
645
|
+
paddingBlockStart: 'space000',
|
|
646
|
+
paddingInline: 'space000',
|
|
647
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
648
|
+
},
|
|
649
|
+
showBackButton: false,
|
|
650
|
+
header: {
|
|
651
|
+
title: 'Your subscription has been updated and your discount will start from ##DATE##',
|
|
652
|
+
description: "You'll shortly receive a confirmation email. View your subscription details in My Account.",
|
|
653
|
+
showDivider: true,
|
|
654
|
+
marginBlockEnd: { xs: 'space050', md: 'space070' },
|
|
655
|
+
titleOverrides: {
|
|
656
|
+
marginBlockEnd: 'space060',
|
|
657
|
+
},
|
|
658
|
+
descriptionOverrides: {
|
|
659
|
+
marginBlockEnd: 'space000',
|
|
477
660
|
},
|
|
478
661
|
},
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
"After this date, your access to The Times and Sunday Times will stop. If you change your mind before then, just contact our",
|
|
493
|
-
' ',
|
|
494
|
-
react_1.default.createElement(newskit_1.LinkInline, { external: false, overrides: {
|
|
495
|
-
typographyPreset: 'utilityBody020',
|
|
496
|
-
stylePreset: 'inkSubtle',
|
|
497
|
-
}, href: "https://www.thetimes.com/help/articles/how-do-i-contact-customer-services", target: "_blank" }, "customer service team"),
|
|
498
|
-
' ',
|
|
499
|
-
"- we\u2019ll be happy to help you keep your access.")),
|
|
500
|
-
},
|
|
501
|
-
continueButton: {
|
|
502
|
-
eventContext: {
|
|
503
|
-
event_navigation_action: 'navigation',
|
|
504
|
-
event_navigation_name: 'online cancellation - confirm cancellation',
|
|
505
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
506
|
-
page_name: 'pre-confirmation page',
|
|
507
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
508
|
-
contract_state: contractPhase,
|
|
509
|
-
},
|
|
510
|
-
label: '',
|
|
511
|
-
button: {
|
|
512
|
-
text: 'Confirm cancellation',
|
|
662
|
+
subscriptionDetails: {
|
|
663
|
+
subscriptionType: {
|
|
664
|
+
label: 'Your subscription',
|
|
665
|
+
},
|
|
666
|
+
offerStartDate: {
|
|
667
|
+
label: 'Offer start date',
|
|
668
|
+
},
|
|
669
|
+
initialPrice: {
|
|
670
|
+
label: 'Initial price',
|
|
671
|
+
},
|
|
672
|
+
regularPrice: {
|
|
673
|
+
label: 'Regular price',
|
|
674
|
+
},
|
|
513
675
|
},
|
|
676
|
+
buttonText: 'Go back to My Account',
|
|
677
|
+
buttonUrl: '/account',
|
|
514
678
|
},
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
533
|
-
titleOverrides: {
|
|
534
|
-
marginBlockEnd: 'space060',
|
|
679
|
+
contactSupport: {
|
|
680
|
+
tealiumContext: getPageTrackingEvent('contact support', variant, contractPhase),
|
|
681
|
+
contentContainerOverrides: {
|
|
682
|
+
marginInline: 'auto',
|
|
683
|
+
paddingBlockStart: 'space000',
|
|
684
|
+
paddingInline: 'space000',
|
|
685
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
686
|
+
},
|
|
687
|
+
header: {
|
|
688
|
+
title: "Let's talk before you go",
|
|
689
|
+
description: 'Our team may have an offer or solution for you.',
|
|
690
|
+
titleOverrides: {
|
|
691
|
+
marginBlockEnd: 'space060',
|
|
692
|
+
},
|
|
693
|
+
descriptionOverrides: {
|
|
694
|
+
marginBlockEnd: 'space060',
|
|
695
|
+
},
|
|
535
696
|
},
|
|
536
|
-
|
|
537
|
-
|
|
697
|
+
contactMethods: [
|
|
698
|
+
{
|
|
699
|
+
label: 'Call us',
|
|
700
|
+
ariaLabel: 'Call us',
|
|
701
|
+
type: 'contactMethod',
|
|
702
|
+
default: (react_1.default.createElement(newskit_1.Button, { as: "a", href: "tel:1800949687", overrides: {
|
|
703
|
+
typographyPreset: 'utilityHeading030',
|
|
704
|
+
stylePreset: 'inkDark010',
|
|
705
|
+
paddingBlock: 'space000',
|
|
706
|
+
paddingInline: 'space000',
|
|
707
|
+
minHeight: 'auto',
|
|
708
|
+
minWidth: 'auto',
|
|
709
|
+
} }, "1800 949 687")),
|
|
710
|
+
valueDescription: 'Lines are open 8-7pm Mon-Fri UK time and 8-4pm weekends & bank holidays.',
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
label: 'Chat online',
|
|
714
|
+
ariaLabel: 'Chat online',
|
|
715
|
+
type: 'contactMethod',
|
|
716
|
+
default: (react_1.default.createElement(newskit_1.Button, { overrides: {
|
|
717
|
+
stylePreset: 'buttonMinimalPrimary',
|
|
718
|
+
paddingBlock: 'space000',
|
|
719
|
+
paddingInline: 'space000',
|
|
720
|
+
minHeight: 'auto',
|
|
721
|
+
minWidth: 'auto',
|
|
722
|
+
typographyPreset: 'utilityLabel020',
|
|
723
|
+
} }, "Live chat")),
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
label: 'WhatsApp',
|
|
727
|
+
ariaLabel: 'WhatsApp',
|
|
728
|
+
type: 'contactMethod',
|
|
729
|
+
default: (react_1.default.createElement(newskit_1.Button, { as: "a", target: "_blank", href: "https://wa.me/447782386977", overrides: {
|
|
730
|
+
typographyPreset: 'utilityLabel020',
|
|
731
|
+
stylePreset: 'inkBrand020',
|
|
732
|
+
paddingBlock: 'space000',
|
|
733
|
+
paddingInline: 'space000',
|
|
734
|
+
minHeight: 'auto',
|
|
735
|
+
minWidth: 'auto',
|
|
736
|
+
} }, "Message us on WhatsApp")),
|
|
737
|
+
},
|
|
738
|
+
],
|
|
739
|
+
continueButton: {
|
|
740
|
+
eventContext: {
|
|
741
|
+
event_navigation_action: 'navigation',
|
|
742
|
+
event_navigation_name: 'online cancellation - continue with cancellation',
|
|
743
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
744
|
+
page_name: 'contact support',
|
|
745
|
+
},
|
|
746
|
+
text: 'Continue with cancellation',
|
|
538
747
|
},
|
|
539
748
|
},
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
749
|
+
reviewCancellation: {
|
|
750
|
+
tealiumContext: getPageTrackingEvent('review cancellation', variant, contractPhase, inEmbeddedMode),
|
|
751
|
+
contentContainerOverrides: {
|
|
752
|
+
marginInline: 'auto',
|
|
753
|
+
paddingBlockStart: 'space000',
|
|
754
|
+
paddingInline: 'space000',
|
|
755
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
756
|
+
},
|
|
757
|
+
header: {
|
|
758
|
+
title: 'Confirm your cancellation',
|
|
759
|
+
fullWidthTitle: true,
|
|
760
|
+
titleOverrides: {
|
|
761
|
+
marginBlockEnd: { xs: 'space050', md: 'space060' },
|
|
762
|
+
typographyPreset: {
|
|
763
|
+
xs: 'editorialHeadline040',
|
|
764
|
+
md: 'editorialHeadline050',
|
|
765
|
+
},
|
|
766
|
+
},
|
|
545
767
|
},
|
|
546
|
-
|
|
768
|
+
details: [
|
|
547
769
|
{
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
770
|
+
label: 'Type',
|
|
771
|
+
ariaLabel: 'Type',
|
|
772
|
+
default: '[Digital]',
|
|
773
|
+
valueDescription: (react_1.default.createElement(react_1.default.Fragment, null,
|
|
774
|
+
"Cancelling now means your subscription will end at the close of your current billing period. After this, your access will stop.",
|
|
775
|
+
react_1.default.createElement("br", null),
|
|
776
|
+
react_1.default.createElement("br", null),
|
|
777
|
+
"If you change your mind before then, our Customer Care team can help you keep your access.")),
|
|
778
|
+
type: 'subscription',
|
|
554
779
|
},
|
|
555
780
|
{
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
container: {
|
|
562
|
-
borderColor: 'interfaceInformative010',
|
|
563
|
-
backgroundColor: 'interfaceBackground',
|
|
564
|
-
},
|
|
565
|
-
title: {
|
|
566
|
-
marginBlockStart: 'space030',
|
|
567
|
-
typographyPreset: 'utilityHeading010',
|
|
568
|
-
},
|
|
569
|
-
},
|
|
781
|
+
label: 'Subscription end date',
|
|
782
|
+
ariaLabel: 'Subscription end date',
|
|
783
|
+
default: '[Date]',
|
|
784
|
+
valueDescription: 'This will be your last day with full access to your subscription if you cancel today.',
|
|
785
|
+
type: 'subDate',
|
|
570
786
|
},
|
|
571
787
|
],
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
typographyPreset: 'editorialHeadline030',
|
|
578
|
-
stylePreset: 'inkContrast',
|
|
579
|
-
marginBlockEnd: 'space050',
|
|
580
|
-
},
|
|
581
|
-
},
|
|
582
|
-
continueButton: {
|
|
583
|
-
// TO DO: update with AIT spec
|
|
584
|
-
eventContext: {
|
|
585
|
-
event_navigation_action: 'navigation',
|
|
586
|
-
event_navigation_name: 'online cancellation - proceed with offer selection',
|
|
587
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
588
|
-
page_name: 'offers page',
|
|
788
|
+
cancellationButtons: {
|
|
789
|
+
marginBlockStart: { xs: 'space030', md: 'space060' },
|
|
790
|
+
primaryButton: {
|
|
791
|
+
text: 'Confirm cancellation',
|
|
792
|
+
},
|
|
589
793
|
},
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
text: 'Continue',
|
|
794
|
+
genericErrorMessage: {
|
|
795
|
+
error: "Sorry, we're having trouble processing your cancellation request right now. Please try again later, or contact support.",
|
|
593
796
|
},
|
|
797
|
+
defaultCancellationReason: 'no reason',
|
|
594
798
|
},
|
|
595
799
|
},
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
},
|
|
604
|
-
header: {
|
|
605
|
-
title: 'Confirm your cancellation',
|
|
606
|
-
fullWidthTitle: true,
|
|
607
|
-
titleOverrides: {
|
|
608
|
-
marginBlockEnd: { xs: 'space050', md: 'space060' },
|
|
609
|
-
typographyPreset: {
|
|
610
|
-
xs: 'editorialHeadline040',
|
|
611
|
-
md: 'editorialHeadline050',
|
|
612
|
-
},
|
|
613
|
-
},
|
|
614
|
-
},
|
|
615
|
-
details: [
|
|
616
|
-
{
|
|
617
|
-
label: 'Type',
|
|
618
|
-
ariaLabel: 'Type',
|
|
619
|
-
default: '[Digital]',
|
|
620
|
-
valueDescription: (react_1.default.createElement(react_1.default.Fragment, null,
|
|
621
|
-
"Cancelling now means your subscription will end at the close of your current billing period. After this, your access will stop.",
|
|
622
|
-
react_1.default.createElement("br", null),
|
|
623
|
-
react_1.default.createElement("br", null),
|
|
624
|
-
"If you change your mind before then, our Customer Care team can help you keep your access.")),
|
|
625
|
-
type: 'subscription',
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
label: 'Subscription end date',
|
|
629
|
-
ariaLabel: 'Subscription end date',
|
|
630
|
-
default: '[Date]',
|
|
631
|
-
valueDescription: 'This will be your last day with full access to your subscription if you cancel today.',
|
|
632
|
-
type: 'subDate',
|
|
633
|
-
},
|
|
800
|
+
componentSequence: {
|
|
801
|
+
Digital: [
|
|
802
|
+
'contactSupport',
|
|
803
|
+
'reason',
|
|
804
|
+
'downgrade',
|
|
805
|
+
'reviewCancellation',
|
|
806
|
+
'confirmCancel',
|
|
634
807
|
],
|
|
635
|
-
cancellationButtons: {
|
|
636
|
-
marginBlockStart: { xs: 'space030', md: 'space060' },
|
|
637
|
-
primaryButton: {
|
|
638
|
-
text: 'Confirm cancellation',
|
|
639
|
-
},
|
|
640
|
-
},
|
|
641
|
-
genericErrorMessage: {
|
|
642
|
-
error: "Sorry, we're having trouble processing your cancellation request right now. Please try again later, or contact support.",
|
|
643
|
-
},
|
|
644
|
-
defaultCancellationReason: 'no reason',
|
|
645
808
|
},
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
disableBanner: true,
|
|
656
|
-
},
|
|
657
|
-
}); };
|
|
809
|
+
navigationPrimary: baseContext_1.navigationPrimary,
|
|
810
|
+
footer: baseContext_1.footer,
|
|
811
|
+
sideNav: baseContext_1.sideNav,
|
|
812
|
+
sideNavSelected: 'subscription-and-billing',
|
|
813
|
+
previousSubscription: {
|
|
814
|
+
disableBanner: true,
|
|
815
|
+
},
|
|
816
|
+
};
|
|
817
|
+
};
|
|
658
818
|
exports.CancellationStepperContext = CancellationStepperContext;
|
|
659
819
|
//# sourceMappingURL=CancellationStepperContext.js.map
|