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