@newskit-render/my-account 7.145.1-08530b643.4 → 7.145.1-cdb781404.2
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/Elements/CancellationButtons/CancellationButtons.d.ts +7 -0
- package/dist/cjs/Components/Elements/CancellationButtons/CancellationButtons.js +43 -0
- package/dist/cjs/Components/Elements/CancellationButtons/CancellationButtons.js.map +1 -0
- package/dist/cjs/Components/Elements/CancellationButtons/index.d.ts +1 -0
- package/dist/cjs/Components/Elements/CancellationButtons/index.js +18 -0
- package/dist/cjs/Components/Elements/CancellationButtons/index.js.map +1 -0
- package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js +1 -1
- package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
- package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js +1 -1
- package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +18 -1
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
- package/dist/cjs/Components/Sections/ContentContainer/BelowContentExtra.js +1 -1
- package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +98 -55
- package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
- package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
- package/dist/cjs/Components/Sections/ContentContainer/{InvoiceHistoryButton.js → PaginationButton.js} +13 -16
- package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
- package/dist/cjs/Components/Sections/ContentContainer/types.d.ts +4 -3
- package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js +1 -1
- package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
- package/dist/cjs/Components/Sections/SectionContainer/types.d.ts +2 -2
- package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js +1 -1
- package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
- package/dist/cjs/Components/Templates/CancellationStepperRender.d.ts +1 -55
- package/dist/cjs/Components/Templates/CancellationStepperRender.js +12 -12
- package/dist/cjs/Components/Templates/CancellationStepperRender.js.map +1 -1
- package/dist/cjs/Components/Templates/DisplayRenderer.js +1 -1
- package/dist/cjs/Components/Templates/DisplayRenderer.js.map +1 -1
- package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js +1 -1
- package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
- package/dist/cjs/context/types.d.ts +1 -1
- package/dist/cjs/helpers/dataUtils.d.ts +2 -2
- package/dist/cjs/helpers/dataUtils.js +16 -11
- package/dist/cjs/helpers/dataUtils.js.map +1 -1
- package/dist/cjs/helpers/dateUtils.d.ts +0 -1
- package/dist/cjs/helpers/dateUtils.js +1 -11
- package/dist/cjs/helpers/dateUtils.js.map +1 -1
- 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 +499 -530
- package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
- package/dist/cjs/pages/Newsletters/NewslettersContext.js +3 -3
- package/dist/cjs/pages/Newsletters/NewslettersContext.js.map +1 -1
- package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +45 -0
- package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
- package/dist/cjs/pages/types.d.ts +10 -0
- package/dist/cjs/queries/getUserSubscription.js +1 -1
- package/dist/cjs/queries/getUserSubscription.js.map +1 -1
- package/dist/cjs/queries/mutateSendFamilyMemberInvite.js +1 -2
- package/dist/cjs/queries/mutateSendFamilyMemberInvite.js.map +1 -1
- package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.d.ts +7 -0
- package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.js +36 -0
- package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.js.map +1 -0
- package/dist/esm/Components/Elements/CancellationButtons/index.d.ts +1 -0
- package/dist/esm/Components/Elements/CancellationButtons/index.js +2 -0
- package/dist/esm/Components/Elements/CancellationButtons/index.js.map +1 -0
- package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js +1 -1
- package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
- package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js +2 -2
- package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +18 -1
- 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/ContentContainer/BelowContentExtra.js +1 -1
- package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +99 -56
- package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
- package/dist/esm/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
- package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js +37 -0
- package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
- package/dist/esm/Components/Sections/ContentContainer/types.d.ts +4 -3
- package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js +2 -2
- package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
- package/dist/esm/Components/Sections/SectionContainer/types.d.ts +2 -2
- package/dist/esm/Components/Sections/UserHub/NewslettersSection.js +1 -1
- package/dist/esm/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
- package/dist/esm/Components/Templates/CancellationStepperRender.d.ts +1 -55
- package/dist/esm/Components/Templates/CancellationStepperRender.js +12 -12
- package/dist/esm/Components/Templates/CancellationStepperRender.js.map +1 -1
- package/dist/esm/Components/Templates/DisplayRenderer.js +1 -1
- package/dist/esm/Components/Templates/DisplayRenderer.js.map +1 -1
- package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js +2 -2
- package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
- package/dist/esm/context/types.d.ts +1 -1
- package/dist/esm/helpers/dataUtils.d.ts +2 -2
- package/dist/esm/helpers/dataUtils.js +11 -6
- package/dist/esm/helpers/dataUtils.js.map +1 -1
- package/dist/esm/helpers/dateUtils.d.ts +0 -1
- package/dist/esm/helpers/dateUtils.js +0 -9
- package/dist/esm/helpers/dateUtils.js.map +1 -1
- 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 +500 -531
- package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
- package/dist/esm/pages/Newsletters/NewslettersContext.js +3 -3
- package/dist/esm/pages/Newsletters/NewslettersContext.js.map +1 -1
- package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +45 -0
- package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
- package/dist/esm/pages/types.d.ts +10 -0
- package/dist/esm/queries/getUserSubscription.js +1 -1
- package/dist/esm/queries/getUserSubscription.js.map +1 -1
- package/dist/esm/queries/mutateSendFamilyMemberInvite.js +1 -2
- package/dist/esm/queries/mutateSendFamilyMemberInvite.js.map +1 -1
- package/package.json +3 -3
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.d.ts +0 -2
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js +0 -59
- package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js.map +0 -1
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.d.ts +0 -89
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.js +0 -47
- package/dist/cjs/Components/Sections/ConfirmCancellation/index.js.map +0 -1
- package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
- package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.d.ts +0 -2
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js +0 -52
- package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellationExp2.js.map +0 -1
- package/dist/esm/Components/Sections/ConfirmCancellation/index.d.ts +0 -89
- package/dist/esm/Components/Sections/ConfirmCancellation/index.js +0 -40
- package/dist/esm/Components/Sections/ConfirmCancellation/index.js.map +0 -1
- package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
- package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js +0 -40
- package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
|
@@ -40,601 +40,570 @@ 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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
backButtonOverrides: {
|
|
73
|
-
marginBlockEnd: 'space060',
|
|
43
|
+
var CancellationStepperContext = function (variant, contractPhase, inEmbeddedMode) { return ({
|
|
44
|
+
baseUrl: constants_1.BASE_URL,
|
|
45
|
+
head: {
|
|
46
|
+
pageTitle: 'Cancellation',
|
|
47
|
+
},
|
|
48
|
+
showBackButton: true,
|
|
49
|
+
header: {
|
|
50
|
+
backButton: {
|
|
51
|
+
text: 'Back',
|
|
52
|
+
'aria-label': 'back',
|
|
53
|
+
href: '[baseURL]/subscription-and-billing',
|
|
54
|
+
hasIcon: true,
|
|
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,
|
|
74
62
|
},
|
|
75
63
|
},
|
|
76
|
-
|
|
77
|
-
|
|
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%',
|
|
86
|
-
},
|
|
64
|
+
backButtonOverrides: {
|
|
65
|
+
marginBlockEnd: 'space060',
|
|
87
66
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
paddingBlockStart: {
|
|
100
|
-
xs: 'space045',
|
|
101
|
-
md: 'space060',
|
|
102
|
-
},
|
|
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%',
|
|
103
78
|
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
79
|
+
},
|
|
80
|
+
layoutMainContentOverrides: {
|
|
81
|
+
fullWidth: true,
|
|
82
|
+
justifyContent: 'stretch',
|
|
83
|
+
width: {
|
|
84
|
+
xs: '100%',
|
|
85
|
+
md: '100%',
|
|
108
86
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
87
|
+
paddingInline: {
|
|
88
|
+
xs: 'space045',
|
|
89
|
+
md: 'space060',
|
|
90
|
+
},
|
|
91
|
+
paddingBlockStart: {
|
|
92
|
+
xs: 'space045',
|
|
93
|
+
md: 'space060',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
contentContainerOverrides: {
|
|
97
|
+
marginInline: 'auto',
|
|
98
|
+
paddingBlockStart: 'space000',
|
|
99
|
+
paddingInline: 'space000',
|
|
100
|
+
},
|
|
101
|
+
components: {
|
|
102
|
+
reason: {
|
|
103
|
+
tealiumContext: getPageTrackingEvent('cancellation reasons', variant, contractPhase, inEmbeddedMode),
|
|
104
|
+
contentContainerOverrides: {
|
|
105
|
+
marginInline: 'auto',
|
|
106
|
+
paddingBlockStart: 'space000',
|
|
107
|
+
paddingInline: 'space000',
|
|
108
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
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',
|
|
130
121
|
},
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
122
|
+
},
|
|
123
|
+
descriptionOverrides: {
|
|
124
|
+
marginBlockEnd: 'space040',
|
|
125
|
+
paddingInline: { xs: 'space000', md: 'space110' },
|
|
126
|
+
typographyPreset: {
|
|
127
|
+
xs: 'editorialParagraph010',
|
|
128
|
+
md: 'editorialParagraph020',
|
|
138
129
|
},
|
|
139
130
|
},
|
|
131
|
+
},
|
|
132
|
+
containerOverrides: {
|
|
133
|
+
rows: 'auto',
|
|
134
|
+
columns: '1fr 1fr',
|
|
135
|
+
rowGap: 'space040',
|
|
136
|
+
columnGap: 'space040',
|
|
137
|
+
justifyContent: 'space-between',
|
|
138
|
+
overrides: {
|
|
139
|
+
paddingBlock: 'space045',
|
|
140
|
+
minWidth: '100%',
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
itemContainerOverrides: {
|
|
144
|
+
rows: { xs: 'auto 1fr', md: 'auto' },
|
|
145
|
+
columns: '1fr',
|
|
146
|
+
rowGap: { xs: 'space040', md: 'space030' },
|
|
147
|
+
justifyContent: 'space-between',
|
|
148
|
+
overrides: {
|
|
149
|
+
paddingBlock: { xs: 'space020', md: 'space045' },
|
|
150
|
+
paddingInline: { xs: 'space020', md: 'space045' },
|
|
151
|
+
paddingBlockEnd: { xs: 'space045', md: 'space045' },
|
|
152
|
+
minWidth: '100%',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
itemHeaderOverrides: {
|
|
156
|
+
flow: { xs: 'vertical-center', md: 'horizontal-top' },
|
|
157
|
+
flowReverse: { xs: true, md: false },
|
|
158
|
+
imageVisible: true,
|
|
159
|
+
height: 'auto',
|
|
160
|
+
},
|
|
161
|
+
itemImageOverrides: {
|
|
162
|
+
width: 45,
|
|
163
|
+
height: 36,
|
|
164
|
+
},
|
|
165
|
+
belowItemExtra: {
|
|
140
166
|
containerOverrides: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
justifyContent: 'space-between',
|
|
167
|
+
columns: 'repeat(2, auto)',
|
|
168
|
+
justifyContent: 'center',
|
|
169
|
+
justifyItems: 'center',
|
|
170
|
+
alignItems: 'center',
|
|
146
171
|
overrides: {
|
|
147
|
-
|
|
148
|
-
minWidth: '100%',
|
|
172
|
+
marginBlockStart: 'space050',
|
|
149
173
|
},
|
|
150
174
|
},
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
overrides: {
|
|
157
|
-
paddingBlock: { xs: 'space020', md: 'space045' },
|
|
158
|
-
paddingInline: { xs: 'space020', md: 'space045' },
|
|
159
|
-
paddingBlockEnd: { xs: 'space045', md: 'space045' },
|
|
160
|
-
minWidth: '100%',
|
|
161
|
-
},
|
|
175
|
+
label: 'or',
|
|
176
|
+
button: {
|
|
177
|
+
text: 'None of the above',
|
|
178
|
+
href: downgradePageUrl,
|
|
179
|
+
id: 'none-of-the-above',
|
|
162
180
|
},
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
imageVisible: true,
|
|
167
|
-
height: 'auto',
|
|
181
|
+
buttonOverrides: {
|
|
182
|
+
stylePreset: 'baseInteractivePrimary030',
|
|
183
|
+
typographyPreset: 'utilitySubheading020',
|
|
168
184
|
},
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
185
|
+
iconOverrides: {
|
|
186
|
+
size: 'iconSize020',
|
|
187
|
+
stylePreset: 'baseInteractivePrimary030',
|
|
172
188
|
},
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
size: 'iconSize020',
|
|
195
|
-
stylePreset: 'baseInteractivePrimary030',
|
|
196
|
-
},
|
|
197
|
-
marginInline: 'auto',
|
|
189
|
+
marginInline: 'auto',
|
|
190
|
+
eventContext: {
|
|
191
|
+
event_navigation_action: 'navigation',
|
|
192
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
193
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
194
|
+
page_name: 'cancellation reasons',
|
|
195
|
+
article_parent_name: 'none of the above',
|
|
196
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
197
|
+
contract_state: contractPhase,
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
items: [
|
|
201
|
+
{
|
|
202
|
+
id: 'tech-issues',
|
|
203
|
+
label: "I'm having tech issues",
|
|
204
|
+
labelOverrides: reasonLabelOverrides,
|
|
205
|
+
subtitle: "I've experienced problems with the app or website",
|
|
206
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
207
|
+
componentType: 'grid',
|
|
208
|
+
image: '/assets/cancellation/placeholder.png',
|
|
209
|
+
href: downgradePageUrl,
|
|
198
210
|
eventContext: {
|
|
199
211
|
event_navigation_action: 'navigation',
|
|
200
212
|
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
201
213
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
202
214
|
page_name: 'cancellation reasons',
|
|
203
|
-
article_parent_name: '
|
|
215
|
+
article_parent_name: 'tech issues',
|
|
204
216
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
205
217
|
contract_state: contractPhase,
|
|
206
218
|
},
|
|
207
219
|
},
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
-
},
|
|
220
|
+
{
|
|
221
|
+
id: 'not-right-for-me',
|
|
222
|
+
label: "The content isn't right for me",
|
|
223
|
+
labelOverrides: reasonLabelOverrides,
|
|
224
|
+
subtitle: "I'm not enjoying the content, or I'm taking a break from news",
|
|
225
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
226
|
+
componentType: 'grid',
|
|
227
|
+
image: '/assets/cancellation/placeholder.png',
|
|
228
|
+
href: downgradePageUrl,
|
|
229
|
+
eventContext: {
|
|
230
|
+
event_navigation_action: 'navigation',
|
|
231
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
232
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
233
|
+
page_name: 'cancellation reasons',
|
|
234
|
+
article_parent_name: 'not right for me',
|
|
235
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
236
|
+
contract_state: contractPhase,
|
|
246
237
|
},
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
id: 'no-time',
|
|
241
|
+
label: "I don't have time",
|
|
242
|
+
labelOverrides: reasonLabelOverrides,
|
|
243
|
+
subtitle: "I don't read the news enough to make it worthwhile",
|
|
244
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
245
|
+
componentType: 'grid',
|
|
246
|
+
image: '/assets/cancellation/placeholder.png',
|
|
247
|
+
href: downgradePageUrl,
|
|
248
|
+
eventContext: {
|
|
249
|
+
event_navigation_action: 'navigation',
|
|
250
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
251
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
252
|
+
page_name: 'cancellation reasons',
|
|
253
|
+
article_parent_name: 'no time',
|
|
254
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
255
|
+
contract_state: contractPhase,
|
|
265
256
|
},
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
id: 'expensive',
|
|
260
|
+
label: "It's too expensive",
|
|
261
|
+
labelOverrides: reasonLabelOverrides,
|
|
262
|
+
subtitle: "I can't justify the subscription cost",
|
|
263
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
264
|
+
componentType: 'grid',
|
|
265
|
+
image: '/assets/cancellation/placeholder.png',
|
|
266
|
+
href: downgradePageUrl,
|
|
267
|
+
eventContext: {
|
|
268
|
+
event_navigation_action: 'navigation',
|
|
269
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
270
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
271
|
+
page_name: 'cancellation reasons',
|
|
272
|
+
article_parent_name: 'expensive',
|
|
273
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
274
|
+
contract_state: contractPhase,
|
|
284
275
|
},
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
id: 'practical-issues',
|
|
279
|
+
label: 'Practical issues',
|
|
280
|
+
labelOverrides: reasonLabelOverrides,
|
|
281
|
+
subtitle: 'I’m having delivery problems or can’t receive the paper any more',
|
|
282
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
283
|
+
componentType: 'grid',
|
|
284
|
+
image: '/assets/cancellation/placeholder.png',
|
|
285
|
+
href: downgradePageUrl,
|
|
286
|
+
eventContext: {
|
|
287
|
+
event_navigation_action: 'navigation',
|
|
288
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
289
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
290
|
+
page_name: 'cancellation reasons',
|
|
291
|
+
article_parent_name: 'practical issues',
|
|
292
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
293
|
+
contract_state: contractPhase,
|
|
303
294
|
},
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: 'another-source',
|
|
298
|
+
label: 'I prefer another source',
|
|
299
|
+
labelOverrides: reasonLabelOverrides,
|
|
300
|
+
subtitle: 'I now get my news from somewhere else',
|
|
301
|
+
subtitleOverrides: reasonSubtitleOverrides,
|
|
302
|
+
componentType: 'grid',
|
|
303
|
+
image: '/assets/cancellation/placeholder.png',
|
|
304
|
+
href: downgradePageUrl,
|
|
305
|
+
eventContext: {
|
|
306
|
+
event_navigation_action: 'navigation',
|
|
307
|
+
event_navigation_name: 'online cancellation : cancellation reason selection',
|
|
308
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
309
|
+
page_name: 'cancellation reasons',
|
|
310
|
+
article_parent_name: 'another source',
|
|
311
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
312
|
+
contract_state: contractPhase,
|
|
322
313
|
},
|
|
323
|
-
|
|
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',
|
|
324
325
|
},
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
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
|
-
},
|
|
358
|
-
},
|
|
326
|
+
header: {
|
|
327
|
+
overline: 'Exclusive international offer:',
|
|
328
|
+
overlineOverrides: {
|
|
329
|
+
paddingInline: { xs: 'space000', md: 'space050' },
|
|
330
|
+
typographyPreset: 'utilityHeading050',
|
|
359
331
|
},
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
+
},
|
|
365
342
|
},
|
|
366
|
-
|
|
367
|
-
{
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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
|
-
},
|
|
343
|
+
descriptionOverrides: {
|
|
344
|
+
paddingInline: { xs: 'space000', md: 'space050' },
|
|
345
|
+
stylePreset: 'inkSubtle',
|
|
346
|
+
typographyPreset: {
|
|
347
|
+
xs: 'editorialLightHeadline020',
|
|
348
|
+
md: 'editorialLightHeadline030',
|
|
388
349
|
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
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
|
-
},
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
heroImage: {
|
|
353
|
+
width: 450,
|
|
354
|
+
height: 470,
|
|
355
|
+
src: '/assets/cancellation/cancellation-hero.png',
|
|
356
|
+
alt: 'Downgrade',
|
|
357
|
+
},
|
|
358
|
+
offers: [
|
|
359
|
+
{
|
|
360
|
+
id: 'offer-1',
|
|
361
|
+
title: 'Save £80/year',
|
|
362
|
+
offerLabel: (react_1.default.createElement(newskit_1.Stack, { spaceInline: "space010", flow: "horizontal-center" },
|
|
363
|
+
react_1.default.createElement(newskit_1.TextBlock, { typographyPreset: "editorialLightHeadline040", stylePreset: "inkSubtle" },
|
|
364
|
+
react_1.default.createElement("s", null, "\u00A3120")),
|
|
365
|
+
react_1.default.createElement(newskit_1.TextBlock, { typographyPreset: "editorialLightHeadline050", stylePreset: "inkSection020" }, "\u00A340 for a whole year"))),
|
|
366
|
+
description: 'Continue getting unrivalled international journalism from world-class reporters, dedicated to delivering unbiased, informative and entertaining analysis of the very latest global events.',
|
|
367
|
+
newPrice: 'Then £10/month thereafter',
|
|
368
|
+
buttonText: 'Save £80 for a year',
|
|
369
|
+
containerOverrides: {
|
|
370
|
+
overrides: { marginBlockEnd: 'space050', marginInline: '-8px' },
|
|
417
371
|
},
|
|
418
|
-
|
|
419
|
-
continueButton: {
|
|
420
|
-
eventContext: {
|
|
372
|
+
buttonEventContext: {
|
|
421
373
|
event_navigation_action: 'navigation',
|
|
422
|
-
event_navigation_name: '
|
|
374
|
+
event_navigation_name: 'offer 1 cta selected',
|
|
423
375
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
424
376
|
page_name: 'offer page',
|
|
425
377
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
426
378
|
contract_state: contractPhase,
|
|
427
379
|
},
|
|
428
|
-
label: 'or',
|
|
429
|
-
baseUrl: '/account',
|
|
430
|
-
button: {
|
|
431
|
-
text: 'Proceed with cancellation',
|
|
432
|
-
href: '[baseURL]/cancel?step=cancel',
|
|
433
|
-
},
|
|
434
380
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
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',
|
|
381
|
+
{
|
|
382
|
+
id: 'offer-2',
|
|
383
|
+
title: 'Your current subscription',
|
|
384
|
+
offerLabel: 'International Digital',
|
|
385
|
+
offerLabelOverrides: {
|
|
386
|
+
typographyPreset: 'editorialLightHeadline050',
|
|
387
|
+
stylePreset: 'inkSection020',
|
|
388
|
+
},
|
|
389
|
+
newPrice: '£10/month (£120/year)',
|
|
390
|
+
buttonText: 'Keep your current subscription',
|
|
391
|
+
baseUrl: '/account',
|
|
392
|
+
buttonHref: '[baseUrl]/subscription-and-billing',
|
|
393
|
+
buttonOverrides: {
|
|
461
394
|
overrides: {
|
|
462
|
-
|
|
463
|
-
paddingInlineStart: 'space040',
|
|
464
|
-
typographyPreset: 'utilityHeading010',
|
|
395
|
+
stylePreset: 'buttonOutlinedSecondary',
|
|
465
396
|
},
|
|
466
397
|
},
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
398
|
+
buttonEventContext: {
|
|
399
|
+
event_navigation_action: 'navigation',
|
|
400
|
+
event_navigation_name: 'online cancellation - keep your current subscription',
|
|
401
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
402
|
+
page_name: 'offer page',
|
|
403
|
+
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
404
|
+
contract_state: contractPhase,
|
|
405
|
+
},
|
|
406
|
+
containerOverrides: {
|
|
407
|
+
overrides: { marginBlockEnd: 'space050', marginInline: '-8px' },
|
|
474
408
|
},
|
|
475
409
|
},
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
buttonUrl: '/account',
|
|
480
|
-
buttonEventContext: {
|
|
410
|
+
],
|
|
411
|
+
continueButton: {
|
|
412
|
+
eventContext: {
|
|
481
413
|
event_navigation_action: 'navigation',
|
|
482
|
-
event_navigation_name: 'online cancellation -
|
|
414
|
+
event_navigation_name: 'online cancellation - proceed with cancellation',
|
|
483
415
|
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
484
|
-
page_name: '
|
|
416
|
+
page_name: 'offer page',
|
|
485
417
|
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
486
418
|
contract_state: contractPhase,
|
|
487
419
|
},
|
|
420
|
+
label: 'or',
|
|
421
|
+
baseUrl: '/account',
|
|
422
|
+
button: {
|
|
423
|
+
text: 'Proceed with cancellation',
|
|
424
|
+
href: '[baseURL]/cancel?step=cancel',
|
|
425
|
+
},
|
|
488
426
|
},
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
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
|
+
},
|
|
437
|
+
image: {
|
|
438
|
+
src: '/assets/cancellation/thank-you.png',
|
|
439
|
+
alt: 'Cancellation confirmed',
|
|
440
|
+
width: 220,
|
|
441
|
+
height: 320,
|
|
442
|
+
},
|
|
443
|
+
introduction: {
|
|
444
|
+
title: 'Subscription cancelled',
|
|
445
|
+
description: 'Your subscription will expire on ##DATE##.',
|
|
446
|
+
center: true,
|
|
447
|
+
},
|
|
448
|
+
buttonText: 'Return to Homepage',
|
|
449
|
+
buttonUrl: '/account',
|
|
450
|
+
buttonEventContext: {
|
|
451
|
+
event_navigation_action: 'navigation',
|
|
452
|
+
event_navigation_name: 'online cancellation - return to homepage',
|
|
453
|
+
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
454
|
+
page_name: 'cancellation page',
|
|
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',
|
|
513
477
|
},
|
|
514
478
|
},
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
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: {
|
|
532
|
-
eventContext: {
|
|
533
|
-
event_navigation_action: 'navigation',
|
|
534
|
-
event_navigation_name: 'online cancellation - confirm cancellation',
|
|
535
|
-
event_navigation_browsing_method: newskit_1.EventTrigger.Click,
|
|
536
|
-
page_name: 'pre-confirmation page',
|
|
537
|
-
optimizely_feature_data: "cancellation_exp|".concat(variant),
|
|
538
|
-
contract_state: contractPhase,
|
|
539
|
-
},
|
|
540
|
-
label: '',
|
|
541
|
-
button: {
|
|
542
|
-
text: 'Confirm cancellation',
|
|
543
|
-
},
|
|
479
|
+
descriptionOverrides: {
|
|
480
|
+
textAlign: { xs: 'left', md: 'center' },
|
|
481
|
+
marginBlockEnd: { xs: 'space070', md: 'space090' },
|
|
482
|
+
typographyPreset: 'editorialLightDisplay004',
|
|
544
483
|
},
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
484
|
+
},
|
|
485
|
+
subscriptionName: '##SUBSCRIPTION_NAME## subscription',
|
|
486
|
+
subscriptionEnd: {
|
|
487
|
+
messages: {
|
|
488
|
+
daysRemaining: 'Your subscription will end on ##DATE##. ',
|
|
489
|
+
monthsRemaining: 'Your subscription will end in 1 month. ',
|
|
548
490
|
},
|
|
491
|
+
description: (react_1.default.createElement(react_1.default.Fragment, null,
|
|
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.")),
|
|
549
500
|
},
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
563
|
-
titleOverrides: {
|
|
564
|
-
marginBlockEnd: 'space060',
|
|
565
|
-
},
|
|
566
|
-
descriptionOverrides: {
|
|
567
|
-
marginBlockEnd: 'space060',
|
|
568
|
-
},
|
|
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',
|
|
569
513
|
},
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
514
|
+
},
|
|
515
|
+
defaultCancellationReason: 'no reason',
|
|
516
|
+
genericErrorMessage: {
|
|
517
|
+
error: "Sorry, we're having trouble processing your cancellation request right now. Please try again later, or contact support.",
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
offers: {
|
|
521
|
+
tealiumContext: getPageTrackingEvent('offer page', variant, contractPhase, inEmbeddedMode),
|
|
522
|
+
contentContainerOverrides: {
|
|
523
|
+
marginInline: 'auto',
|
|
524
|
+
paddingBlockStart: 'space000',
|
|
525
|
+
paddingInline: 'space000',
|
|
526
|
+
width: __assign(__assign({}, shared_components_1.DEFAULT_CONTENT_CONTAINER_WIDTH), { xs: '100%', sm: '100%' }),
|
|
527
|
+
},
|
|
528
|
+
header: {
|
|
529
|
+
title: "Don't cancel yet - here's a special offer",
|
|
530
|
+
description: "We'd like you to stay. Choose an option below to keep access to The Times and The Sunday Times.",
|
|
531
|
+
showDivider: true,
|
|
532
|
+
marginBlockEnd: { xs: 'space050', md: 'space080' },
|
|
533
|
+
titleOverrides: {
|
|
534
|
+
marginBlockEnd: 'space060',
|
|
535
|
+
},
|
|
536
|
+
descriptionOverrides: {
|
|
537
|
+
marginBlockEnd: 'space060',
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
offersSection: {
|
|
541
|
+
title: 'Limited time deal',
|
|
542
|
+
titleOverrides: {
|
|
543
|
+
typographyPreset: 'editorialHeadline050',
|
|
544
|
+
marginBlockEnd: 'space060',
|
|
545
|
+
},
|
|
546
|
+
items: [
|
|
547
|
+
{
|
|
548
|
+
id: 'DINCV-0039',
|
|
549
|
+
title: 'Save 75% for 6 months',
|
|
550
|
+
description: 'Stay subscribed for just £10/month for the next 6 months. After that, your price returns to £30/month. Cancel anytime.',
|
|
551
|
+
discountedPrice: '£10/month for 6 months',
|
|
552
|
+
regularPrice: '£30/month after',
|
|
553
|
+
nextStep: 'discountPreview',
|
|
575
554
|
},
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
nextStep: 'preCancellation',
|
|
590
|
-
overrides: {
|
|
591
|
-
container: {
|
|
592
|
-
borderColor: 'interfaceInformative010',
|
|
593
|
-
backgroundColor: 'interfaceBackground',
|
|
594
|
-
},
|
|
595
|
-
title: {
|
|
596
|
-
marginBlockStart: 'space030',
|
|
597
|
-
typographyPreset: 'utilityHeading010',
|
|
598
|
-
},
|
|
555
|
+
{
|
|
556
|
+
id: 'cancel',
|
|
557
|
+
title: 'Cancel subscription',
|
|
558
|
+
description: 'If you still want to leave, you’ll be taken to the final confirmation step.',
|
|
559
|
+
nextStep: 'preCancellation',
|
|
560
|
+
overrides: {
|
|
561
|
+
container: {
|
|
562
|
+
borderColor: 'interfaceInformative010',
|
|
563
|
+
backgroundColor: 'interfaceBackground',
|
|
564
|
+
},
|
|
565
|
+
title: {
|
|
566
|
+
marginBlockStart: 'space030',
|
|
567
|
+
typographyPreset: 'utilityHeading010',
|
|
599
568
|
},
|
|
600
569
|
},
|
|
601
|
-
],
|
|
602
|
-
},
|
|
603
|
-
benefits: {
|
|
604
|
-
showBenefits: true,
|
|
605
|
-
title: 'Subscriber benefits',
|
|
606
|
-
titleOverrides: {
|
|
607
|
-
typographyPreset: 'editorialHeadline030',
|
|
608
|
-
stylePreset: 'inkContrast',
|
|
609
|
-
marginBlockEnd: 'space050',
|
|
610
570
|
},
|
|
571
|
+
],
|
|
572
|
+
},
|
|
573
|
+
benefits: {
|
|
574
|
+
showBenefits: true,
|
|
575
|
+
title: 'Subscriber benefits',
|
|
576
|
+
titleOverrides: {
|
|
577
|
+
typographyPreset: 'editorialHeadline030',
|
|
578
|
+
stylePreset: 'inkContrast',
|
|
579
|
+
marginBlockEnd: 'space050',
|
|
611
580
|
},
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
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',
|
|
589
|
+
},
|
|
590
|
+
label: '',
|
|
591
|
+
button: {
|
|
592
|
+
text: 'Continue',
|
|
624
593
|
},
|
|
625
594
|
},
|
|
626
595
|
},
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
};
|
|
596
|
+
},
|
|
597
|
+
componentSequence: {
|
|
598
|
+
Digital: ['reason', 'downgrade', 'preCancellation', 'confirmCancel'],
|
|
599
|
+
},
|
|
600
|
+
navigationPrimary: baseContext_1.navigationPrimary,
|
|
601
|
+
footer: baseContext_1.footer,
|
|
602
|
+
sideNav: baseContext_1.sideNav,
|
|
603
|
+
sideNavSelected: 'subscription-and-billing',
|
|
604
|
+
previousSubscription: {
|
|
605
|
+
disableBanner: true,
|
|
606
|
+
},
|
|
607
|
+
}); };
|
|
639
608
|
exports.CancellationStepperContext = CancellationStepperContext;
|
|
640
609
|
//# sourceMappingURL=CancellationStepperContext.js.map
|