@opentripplanner/trip-details 5.0.13 → 5.0.14
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.
|
@@ -0,0 +1,3495 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
|
|
4
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
5
|
+
<h2 id="trip-details-header"
|
|
6
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
7
|
+
>
|
|
8
|
+
Trip Details
|
|
9
|
+
</h2>
|
|
10
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
11
|
+
<div role="group"
|
|
12
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
13
|
+
>
|
|
14
|
+
<div role="presentation"
|
|
15
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
16
|
+
>
|
|
17
|
+
<svg viewbox="0 0 448 512"
|
|
18
|
+
height="17"
|
|
19
|
+
width="17"
|
|
20
|
+
aria-hidden="true"
|
|
21
|
+
focusable="false"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
24
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
25
|
+
>
|
|
26
|
+
<path fill="currentColor"
|
|
27
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
28
|
+
>
|
|
29
|
+
</path>
|
|
30
|
+
</svg>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
33
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
34
|
+
Depart
|
|
35
|
+
<strong>
|
|
36
|
+
December 13, 2019
|
|
37
|
+
</strong>
|
|
38
|
+
at
|
|
39
|
+
<strong>
|
|
40
|
+
11:29 AM
|
|
41
|
+
</strong>
|
|
42
|
+
</span>
|
|
43
|
+
</div>
|
|
44
|
+
<div aria-hidden="true"
|
|
45
|
+
class="rah-static rah-static--height-zero "
|
|
46
|
+
style="height: 0px; overflow: hidden;"
|
|
47
|
+
>
|
|
48
|
+
<div style="display: none;">
|
|
49
|
+
<div aria-labelledby="expand-button"
|
|
50
|
+
id="mocked_id"
|
|
51
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
52
|
+
>
|
|
53
|
+
<button role="presentation"
|
|
54
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
55
|
+
>
|
|
56
|
+
<svg viewbox="0 0 512 512"
|
|
57
|
+
height="0.92em"
|
|
58
|
+
width="0.92em"
|
|
59
|
+
aria-hidden="true"
|
|
60
|
+
focusable="false"
|
|
61
|
+
fill="currentColor"
|
|
62
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
63
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
64
|
+
>
|
|
65
|
+
<path fill="currentColor"
|
|
66
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
67
|
+
>
|
|
68
|
+
</path>
|
|
69
|
+
</svg>
|
|
70
|
+
</button>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div role="group"
|
|
76
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
77
|
+
>
|
|
78
|
+
<div role="presentation"
|
|
79
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
80
|
+
>
|
|
81
|
+
<svg viewbox="0 0 512 512"
|
|
82
|
+
height="17"
|
|
83
|
+
width="17"
|
|
84
|
+
aria-hidden="true"
|
|
85
|
+
focusable="false"
|
|
86
|
+
fill="currentColor"
|
|
87
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
88
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
89
|
+
>
|
|
90
|
+
<path fill="currentColor"
|
|
91
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
92
|
+
>
|
|
93
|
+
</path>
|
|
94
|
+
</svg>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
97
|
+
Time Spent Active:
|
|
98
|
+
<strong>
|
|
99
|
+
~1 minute
|
|
100
|
+
</strong>
|
|
101
|
+
<button aria-label="Show details"
|
|
102
|
+
aria-controls="mocked_id"
|
|
103
|
+
aria-expanded="false"
|
|
104
|
+
id="expand-button"
|
|
105
|
+
tabindex="0"
|
|
106
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
107
|
+
>
|
|
108
|
+
<svg viewbox="0 0 512 512"
|
|
109
|
+
height="0.92em"
|
|
110
|
+
width="0.92em"
|
|
111
|
+
aria-hidden="true"
|
|
112
|
+
focusable="false"
|
|
113
|
+
fill="currentColor"
|
|
114
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
115
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
116
|
+
>
|
|
117
|
+
<path fill="currentColor"
|
|
118
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
119
|
+
>
|
|
120
|
+
</path>
|
|
121
|
+
</svg>
|
|
122
|
+
</button>
|
|
123
|
+
</div>
|
|
124
|
+
<div aria-hidden="true"
|
|
125
|
+
class="rah-static rah-static--height-zero "
|
|
126
|
+
style="height: 0px; overflow: hidden;"
|
|
127
|
+
>
|
|
128
|
+
<div style="display: none;">
|
|
129
|
+
<div aria-labelledby="expand-button"
|
|
130
|
+
id="mocked_id"
|
|
131
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
132
|
+
>
|
|
133
|
+
<button role="presentation"
|
|
134
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
135
|
+
>
|
|
136
|
+
<svg viewbox="0 0 512 512"
|
|
137
|
+
height="0.92em"
|
|
138
|
+
width="0.92em"
|
|
139
|
+
aria-hidden="true"
|
|
140
|
+
focusable="false"
|
|
141
|
+
fill="currentColor"
|
|
142
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
143
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
144
|
+
>
|
|
145
|
+
<path fill="currentColor"
|
|
146
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
147
|
+
>
|
|
148
|
+
</path>
|
|
149
|
+
</svg>
|
|
150
|
+
</button>
|
|
151
|
+
By taking this trip, you'll spend
|
|
152
|
+
<strong>
|
|
153
|
+
1 minute
|
|
154
|
+
</strong>
|
|
155
|
+
walking and
|
|
156
|
+
<strong>
|
|
157
|
+
0 minutes
|
|
158
|
+
</strong>
|
|
159
|
+
biking.
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
<div role="group"
|
|
165
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
166
|
+
>
|
|
167
|
+
<div role="presentation"
|
|
168
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
169
|
+
>
|
|
170
|
+
<svg viewbox="0 0 576 512"
|
|
171
|
+
height="17"
|
|
172
|
+
width="17"
|
|
173
|
+
aria-hidden="true"
|
|
174
|
+
focusable="false"
|
|
175
|
+
fill="currentColor"
|
|
176
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
177
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
178
|
+
>
|
|
179
|
+
<path fill="currentColor"
|
|
180
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
181
|
+
>
|
|
182
|
+
</path>
|
|
183
|
+
</svg>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
186
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
187
|
+
CO₂ Emitted:
|
|
188
|
+
<strong>
|
|
189
|
+
1g
|
|
190
|
+
</strong>
|
|
191
|
+
</span>
|
|
192
|
+
<button aria-label="Show details"
|
|
193
|
+
aria-controls="mocked_id"
|
|
194
|
+
aria-expanded="false"
|
|
195
|
+
id="expand-button"
|
|
196
|
+
tabindex="0"
|
|
197
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
198
|
+
>
|
|
199
|
+
<svg viewbox="0 0 512 512"
|
|
200
|
+
height="0.92em"
|
|
201
|
+
width="0.92em"
|
|
202
|
+
aria-hidden="true"
|
|
203
|
+
focusable="false"
|
|
204
|
+
fill="currentColor"
|
|
205
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
206
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
207
|
+
>
|
|
208
|
+
<path fill="currentColor"
|
|
209
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
210
|
+
>
|
|
211
|
+
</path>
|
|
212
|
+
</svg>
|
|
213
|
+
</button>
|
|
214
|
+
</div>
|
|
215
|
+
<div aria-hidden="true"
|
|
216
|
+
class="rah-static rah-static--height-zero "
|
|
217
|
+
style="height: 0px; overflow: hidden;"
|
|
218
|
+
>
|
|
219
|
+
<div style="display: none;">
|
|
220
|
+
<div aria-labelledby="expand-button"
|
|
221
|
+
id="mocked_id"
|
|
222
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
223
|
+
>
|
|
224
|
+
<button role="presentation"
|
|
225
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
226
|
+
>
|
|
227
|
+
<svg viewbox="0 0 512 512"
|
|
228
|
+
height="0.92em"
|
|
229
|
+
width="0.92em"
|
|
230
|
+
aria-hidden="true"
|
|
231
|
+
focusable="false"
|
|
232
|
+
fill="currentColor"
|
|
233
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
234
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
235
|
+
>
|
|
236
|
+
<path fill="currentColor"
|
|
237
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
238
|
+
>
|
|
239
|
+
</path>
|
|
240
|
+
</svg>
|
|
241
|
+
</button>
|
|
242
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
243
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
244
|
+
rel="noopener noreferrer"
|
|
245
|
+
target="_blank"
|
|
246
|
+
>
|
|
247
|
+
this spreadsheet
|
|
248
|
+
</a>
|
|
249
|
+
.
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
`;
|
|
257
|
+
|
|
258
|
+
exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
|
|
259
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
260
|
+
<h2 id="trip-details-header"
|
|
261
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
262
|
+
>
|
|
263
|
+
Trip Details
|
|
264
|
+
</h2>
|
|
265
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
266
|
+
<div role="group"
|
|
267
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
268
|
+
>
|
|
269
|
+
<div role="presentation"
|
|
270
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
271
|
+
>
|
|
272
|
+
<svg viewbox="0 0 448 512"
|
|
273
|
+
height="17"
|
|
274
|
+
width="17"
|
|
275
|
+
aria-hidden="true"
|
|
276
|
+
focusable="false"
|
|
277
|
+
fill="currentColor"
|
|
278
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
279
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
280
|
+
>
|
|
281
|
+
<path fill="currentColor"
|
|
282
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
283
|
+
>
|
|
284
|
+
</path>
|
|
285
|
+
</svg>
|
|
286
|
+
</div>
|
|
287
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
288
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
289
|
+
Depart
|
|
290
|
+
<strong>
|
|
291
|
+
November 13, 2019
|
|
292
|
+
</strong>
|
|
293
|
+
at
|
|
294
|
+
<strong>
|
|
295
|
+
3:42 PM
|
|
296
|
+
</strong>
|
|
297
|
+
</span>
|
|
298
|
+
</div>
|
|
299
|
+
<div aria-hidden="true"
|
|
300
|
+
class="rah-static rah-static--height-zero "
|
|
301
|
+
style="height: 0px; overflow: hidden;"
|
|
302
|
+
>
|
|
303
|
+
<div style="display: none;">
|
|
304
|
+
<div aria-labelledby="expand-button"
|
|
305
|
+
id="mocked_id"
|
|
306
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
307
|
+
>
|
|
308
|
+
<button role="presentation"
|
|
309
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
310
|
+
>
|
|
311
|
+
<svg viewbox="0 0 512 512"
|
|
312
|
+
height="0.92em"
|
|
313
|
+
width="0.92em"
|
|
314
|
+
aria-hidden="true"
|
|
315
|
+
focusable="false"
|
|
316
|
+
fill="currentColor"
|
|
317
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
318
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
319
|
+
>
|
|
320
|
+
<path fill="currentColor"
|
|
321
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
322
|
+
>
|
|
323
|
+
</path>
|
|
324
|
+
</svg>
|
|
325
|
+
</button>
|
|
326
|
+
</div>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
</div>
|
|
330
|
+
<div role="group"
|
|
331
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
332
|
+
>
|
|
333
|
+
<div role="presentation"
|
|
334
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
335
|
+
>
|
|
336
|
+
<svg viewbox="0 0 512 512"
|
|
337
|
+
height="17"
|
|
338
|
+
width="17"
|
|
339
|
+
aria-hidden="true"
|
|
340
|
+
focusable="false"
|
|
341
|
+
fill="currentColor"
|
|
342
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
343
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
344
|
+
>
|
|
345
|
+
<path fill="currentColor"
|
|
346
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
347
|
+
>
|
|
348
|
+
</path>
|
|
349
|
+
</svg>
|
|
350
|
+
</div>
|
|
351
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
352
|
+
Time Spent Active:
|
|
353
|
+
<strong>
|
|
354
|
+
7 minutes
|
|
355
|
+
</strong>
|
|
356
|
+
<button aria-label="Show details"
|
|
357
|
+
aria-controls="mocked_id"
|
|
358
|
+
aria-expanded="false"
|
|
359
|
+
id="expand-button"
|
|
360
|
+
tabindex="0"
|
|
361
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
362
|
+
>
|
|
363
|
+
<svg viewbox="0 0 512 512"
|
|
364
|
+
height="0.92em"
|
|
365
|
+
width="0.92em"
|
|
366
|
+
aria-hidden="true"
|
|
367
|
+
focusable="false"
|
|
368
|
+
fill="currentColor"
|
|
369
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
370
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
371
|
+
>
|
|
372
|
+
<path fill="currentColor"
|
|
373
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
374
|
+
>
|
|
375
|
+
</path>
|
|
376
|
+
</svg>
|
|
377
|
+
</button>
|
|
378
|
+
</div>
|
|
379
|
+
<div aria-hidden="true"
|
|
380
|
+
class="rah-static rah-static--height-zero "
|
|
381
|
+
style="height: 0px; overflow: hidden;"
|
|
382
|
+
>
|
|
383
|
+
<div style="display: none;">
|
|
384
|
+
<div aria-labelledby="expand-button"
|
|
385
|
+
id="mocked_id"
|
|
386
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
387
|
+
>
|
|
388
|
+
<button role="presentation"
|
|
389
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
390
|
+
>
|
|
391
|
+
<svg viewbox="0 0 512 512"
|
|
392
|
+
height="0.92em"
|
|
393
|
+
width="0.92em"
|
|
394
|
+
aria-hidden="true"
|
|
395
|
+
focusable="false"
|
|
396
|
+
fill="currentColor"
|
|
397
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
398
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
399
|
+
>
|
|
400
|
+
<path fill="currentColor"
|
|
401
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
402
|
+
>
|
|
403
|
+
</path>
|
|
404
|
+
</svg>
|
|
405
|
+
</button>
|
|
406
|
+
By taking this trip, you'll spend
|
|
407
|
+
<strong>
|
|
408
|
+
0 minutes
|
|
409
|
+
</strong>
|
|
410
|
+
walking and
|
|
411
|
+
<strong>
|
|
412
|
+
7 minutes
|
|
413
|
+
</strong>
|
|
414
|
+
biking.
|
|
415
|
+
</div>
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
418
|
+
</div>
|
|
419
|
+
<div role="group"
|
|
420
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
421
|
+
>
|
|
422
|
+
<div role="presentation"
|
|
423
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
424
|
+
>
|
|
425
|
+
<svg viewbox="0 0 576 512"
|
|
426
|
+
height="17"
|
|
427
|
+
width="17"
|
|
428
|
+
aria-hidden="true"
|
|
429
|
+
focusable="false"
|
|
430
|
+
fill="currentColor"
|
|
431
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
432
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
433
|
+
>
|
|
434
|
+
<path fill="currentColor"
|
|
435
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
436
|
+
>
|
|
437
|
+
</path>
|
|
438
|
+
</svg>
|
|
439
|
+
</div>
|
|
440
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
441
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
442
|
+
CO₂ Emitted:
|
|
443
|
+
<strong>
|
|
444
|
+
19g
|
|
445
|
+
</strong>
|
|
446
|
+
</span>
|
|
447
|
+
<button aria-label="Show details"
|
|
448
|
+
aria-controls="mocked_id"
|
|
449
|
+
aria-expanded="false"
|
|
450
|
+
id="expand-button"
|
|
451
|
+
tabindex="0"
|
|
452
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
453
|
+
>
|
|
454
|
+
<svg viewbox="0 0 512 512"
|
|
455
|
+
height="0.92em"
|
|
456
|
+
width="0.92em"
|
|
457
|
+
aria-hidden="true"
|
|
458
|
+
focusable="false"
|
|
459
|
+
fill="currentColor"
|
|
460
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
461
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
462
|
+
>
|
|
463
|
+
<path fill="currentColor"
|
|
464
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
465
|
+
>
|
|
466
|
+
</path>
|
|
467
|
+
</svg>
|
|
468
|
+
</button>
|
|
469
|
+
</div>
|
|
470
|
+
<div aria-hidden="true"
|
|
471
|
+
class="rah-static rah-static--height-zero "
|
|
472
|
+
style="height: 0px; overflow: hidden;"
|
|
473
|
+
>
|
|
474
|
+
<div style="display: none;">
|
|
475
|
+
<div aria-labelledby="expand-button"
|
|
476
|
+
id="mocked_id"
|
|
477
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
478
|
+
>
|
|
479
|
+
<button role="presentation"
|
|
480
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
481
|
+
>
|
|
482
|
+
<svg viewbox="0 0 512 512"
|
|
483
|
+
height="0.92em"
|
|
484
|
+
width="0.92em"
|
|
485
|
+
aria-hidden="true"
|
|
486
|
+
focusable="false"
|
|
487
|
+
fill="currentColor"
|
|
488
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
489
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
490
|
+
>
|
|
491
|
+
<path fill="currentColor"
|
|
492
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
493
|
+
>
|
|
494
|
+
</path>
|
|
495
|
+
</svg>
|
|
496
|
+
</button>
|
|
497
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
498
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
499
|
+
rel="noopener noreferrer"
|
|
500
|
+
target="_blank"
|
|
501
|
+
>
|
|
502
|
+
this spreadsheet
|
|
503
|
+
</a>
|
|
504
|
+
.
|
|
505
|
+
</div>
|
|
506
|
+
</div>
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
</div>
|
|
510
|
+
</div>
|
|
511
|
+
`;
|
|
512
|
+
|
|
513
|
+
exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
|
|
514
|
+
<div>
|
|
515
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
516
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
517
|
+
<th class="main"
|
|
518
|
+
scope="col"
|
|
519
|
+
>
|
|
520
|
+
<strong>
|
|
521
|
+
Adult
|
|
522
|
+
</strong>
|
|
523
|
+
</th>
|
|
524
|
+
<th scope="col">
|
|
525
|
+
<strong>
|
|
526
|
+
Cash
|
|
527
|
+
</strong>
|
|
528
|
+
<br>
|
|
529
|
+
$10.25
|
|
530
|
+
</th>
|
|
531
|
+
<th scope="col">
|
|
532
|
+
<strong>
|
|
533
|
+
Electronic
|
|
534
|
+
</strong>
|
|
535
|
+
<br>
|
|
536
|
+
-
|
|
537
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
538
|
+
No fare total available
|
|
539
|
+
</span>
|
|
540
|
+
</th>
|
|
541
|
+
<th scope="col">
|
|
542
|
+
<strong>
|
|
543
|
+
Special
|
|
544
|
+
</strong>
|
|
545
|
+
<br>
|
|
546
|
+
-
|
|
547
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
548
|
+
No fare total available
|
|
549
|
+
</span>
|
|
550
|
+
</th>
|
|
551
|
+
</thead>
|
|
552
|
+
<tr>
|
|
553
|
+
<td class="no-zebra">
|
|
554
|
+
90X
|
|
555
|
+
</td>
|
|
556
|
+
<td>
|
|
557
|
+
$1.00
|
|
558
|
+
</td>
|
|
559
|
+
<td>
|
|
560
|
+
-
|
|
561
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
562
|
+
No fare information for this leg
|
|
563
|
+
</span>
|
|
564
|
+
</td>
|
|
565
|
+
<td>
|
|
566
|
+
-
|
|
567
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
568
|
+
No fare information for this leg
|
|
569
|
+
</span>
|
|
570
|
+
</td>
|
|
571
|
+
</tr>
|
|
572
|
+
<tr>
|
|
573
|
+
<td class="no-zebra">
|
|
574
|
+
512
|
|
575
|
+
</td>
|
|
576
|
+
<td>
|
|
577
|
+
$3.25
|
|
578
|
+
</td>
|
|
579
|
+
<td>
|
|
580
|
+
$3.25
|
|
581
|
+
</td>
|
|
582
|
+
<td>
|
|
583
|
+
$1.00
|
|
584
|
+
</td>
|
|
585
|
+
</tr>
|
|
586
|
+
<tr>
|
|
587
|
+
<td class="no-zebra">
|
|
588
|
+
535
|
|
589
|
+
</td>
|
|
590
|
+
<td>
|
|
591
|
+
$3.25
|
|
592
|
+
</td>
|
|
593
|
+
<td title="Transfer discount of $3.25 is applied">
|
|
594
|
+
<svg viewbox="0 0 24 24"
|
|
595
|
+
height="16"
|
|
596
|
+
width="16"
|
|
597
|
+
aria-hidden="true"
|
|
598
|
+
focusable="false"
|
|
599
|
+
fill="currentColor"
|
|
600
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
601
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
602
|
+
>
|
|
603
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
604
|
+
</path>
|
|
605
|
+
</svg>
|
|
606
|
+
$0.00
|
|
607
|
+
</td>
|
|
608
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
609
|
+
<svg viewbox="0 0 24 24"
|
|
610
|
+
height="16"
|
|
611
|
+
width="16"
|
|
612
|
+
aria-hidden="true"
|
|
613
|
+
focusable="false"
|
|
614
|
+
fill="currentColor"
|
|
615
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
616
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
617
|
+
>
|
|
618
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
619
|
+
</path>
|
|
620
|
+
</svg>
|
|
621
|
+
$0.00
|
|
622
|
+
</td>
|
|
623
|
+
</tr>
|
|
624
|
+
<tr>
|
|
625
|
+
<td class="no-zebra">
|
|
626
|
+
372
|
|
627
|
+
</td>
|
|
628
|
+
<td>
|
|
629
|
+
$2.75
|
|
630
|
+
</td>
|
|
631
|
+
<td title="Transfer discount of $3.25 is applied">
|
|
632
|
+
<svg viewbox="0 0 24 24"
|
|
633
|
+
height="16"
|
|
634
|
+
width="16"
|
|
635
|
+
aria-hidden="true"
|
|
636
|
+
focusable="false"
|
|
637
|
+
fill="currentColor"
|
|
638
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
639
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
640
|
+
>
|
|
641
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
642
|
+
</path>
|
|
643
|
+
</svg>
|
|
644
|
+
$0.00
|
|
645
|
+
</td>
|
|
646
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
647
|
+
<svg viewbox="0 0 24 24"
|
|
648
|
+
height="16"
|
|
649
|
+
width="16"
|
|
650
|
+
aria-hidden="true"
|
|
651
|
+
focusable="false"
|
|
652
|
+
fill="currentColor"
|
|
653
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
654
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
655
|
+
>
|
|
656
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
657
|
+
</path>
|
|
658
|
+
</svg>
|
|
659
|
+
$0.00
|
|
660
|
+
</td>
|
|
661
|
+
</tr>
|
|
662
|
+
</table>
|
|
663
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
664
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
665
|
+
<th class="main"
|
|
666
|
+
scope="col"
|
|
667
|
+
>
|
|
668
|
+
<strong>
|
|
669
|
+
Youth
|
|
670
|
+
</strong>
|
|
671
|
+
</th>
|
|
672
|
+
<th scope="col">
|
|
673
|
+
<strong>
|
|
674
|
+
Cash
|
|
675
|
+
</strong>
|
|
676
|
+
<br>
|
|
677
|
+
$0.00
|
|
678
|
+
</th>
|
|
679
|
+
<th scope="col">
|
|
680
|
+
<strong>
|
|
681
|
+
Electronic
|
|
682
|
+
</strong>
|
|
683
|
+
<br>
|
|
684
|
+
-
|
|
685
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
686
|
+
No fare total available
|
|
687
|
+
</span>
|
|
688
|
+
</th>
|
|
689
|
+
</thead>
|
|
690
|
+
<tr>
|
|
691
|
+
<td class="no-zebra">
|
|
692
|
+
90X
|
|
693
|
+
</td>
|
|
694
|
+
<td>
|
|
695
|
+
$0.00
|
|
696
|
+
</td>
|
|
697
|
+
<td>
|
|
698
|
+
-
|
|
699
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
700
|
+
No fare information for this leg
|
|
701
|
+
</span>
|
|
702
|
+
</td>
|
|
703
|
+
</tr>
|
|
704
|
+
<tr>
|
|
705
|
+
<td class="no-zebra">
|
|
706
|
+
512
|
|
707
|
+
</td>
|
|
708
|
+
<td>
|
|
709
|
+
$0.00
|
|
710
|
+
</td>
|
|
711
|
+
<td>
|
|
712
|
+
$0.00
|
|
713
|
+
</td>
|
|
714
|
+
</tr>
|
|
715
|
+
<tr>
|
|
716
|
+
<td class="no-zebra">
|
|
717
|
+
535
|
|
718
|
+
</td>
|
|
719
|
+
<td>
|
|
720
|
+
$0.00
|
|
721
|
+
</td>
|
|
722
|
+
<td>
|
|
723
|
+
$0.00
|
|
724
|
+
</td>
|
|
725
|
+
</tr>
|
|
726
|
+
<tr>
|
|
727
|
+
<td class="no-zebra">
|
|
728
|
+
372
|
|
729
|
+
</td>
|
|
730
|
+
<td>
|
|
731
|
+
$0.00
|
|
732
|
+
</td>
|
|
733
|
+
<td>
|
|
734
|
+
$0.00
|
|
735
|
+
</td>
|
|
736
|
+
</tr>
|
|
737
|
+
</table>
|
|
738
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
739
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
740
|
+
<th class="main"
|
|
741
|
+
scope="col"
|
|
742
|
+
>
|
|
743
|
+
<strong>
|
|
744
|
+
Senior
|
|
745
|
+
</strong>
|
|
746
|
+
</th>
|
|
747
|
+
<th scope="col">
|
|
748
|
+
<strong>
|
|
749
|
+
Cash
|
|
750
|
+
</strong>
|
|
751
|
+
<br>
|
|
752
|
+
$9.75
|
|
753
|
+
</th>
|
|
754
|
+
<th scope="col">
|
|
755
|
+
<strong>
|
|
756
|
+
Electronic
|
|
757
|
+
</strong>
|
|
758
|
+
<br>
|
|
759
|
+
-
|
|
760
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
761
|
+
No fare total available
|
|
762
|
+
</span>
|
|
763
|
+
</th>
|
|
764
|
+
</thead>
|
|
765
|
+
<tr>
|
|
766
|
+
<td class="no-zebra">
|
|
767
|
+
90X
|
|
768
|
+
</td>
|
|
769
|
+
<td>
|
|
770
|
+
$0.50
|
|
771
|
+
</td>
|
|
772
|
+
<td>
|
|
773
|
+
-
|
|
774
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
775
|
+
No fare information for this leg
|
|
776
|
+
</span>
|
|
777
|
+
</td>
|
|
778
|
+
</tr>
|
|
779
|
+
<tr>
|
|
780
|
+
<td class="no-zebra">
|
|
781
|
+
512
|
|
782
|
+
</td>
|
|
783
|
+
<td>
|
|
784
|
+
$3.25
|
|
785
|
+
</td>
|
|
786
|
+
<td>
|
|
787
|
+
$1.00
|
|
788
|
+
</td>
|
|
789
|
+
</tr>
|
|
790
|
+
<tr>
|
|
791
|
+
<td class="no-zebra">
|
|
792
|
+
535
|
|
793
|
+
</td>
|
|
794
|
+
<td>
|
|
795
|
+
$3.25
|
|
796
|
+
</td>
|
|
797
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
798
|
+
<svg viewbox="0 0 24 24"
|
|
799
|
+
height="16"
|
|
800
|
+
width="16"
|
|
801
|
+
aria-hidden="true"
|
|
802
|
+
focusable="false"
|
|
803
|
+
fill="currentColor"
|
|
804
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
805
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
806
|
+
>
|
|
807
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
808
|
+
</path>
|
|
809
|
+
</svg>
|
|
810
|
+
$0.00
|
|
811
|
+
</td>
|
|
812
|
+
</tr>
|
|
813
|
+
<tr>
|
|
814
|
+
<td class="no-zebra">
|
|
815
|
+
372
|
|
816
|
+
</td>
|
|
817
|
+
<td>
|
|
818
|
+
$2.75
|
|
819
|
+
</td>
|
|
820
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
821
|
+
<svg viewbox="0 0 24 24"
|
|
822
|
+
height="16"
|
|
823
|
+
width="16"
|
|
824
|
+
aria-hidden="true"
|
|
825
|
+
focusable="false"
|
|
826
|
+
fill="currentColor"
|
|
827
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
828
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
829
|
+
>
|
|
830
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
831
|
+
</path>
|
|
832
|
+
</svg>
|
|
833
|
+
$0.00
|
|
834
|
+
</td>
|
|
835
|
+
</tr>
|
|
836
|
+
</table>
|
|
837
|
+
</div>
|
|
838
|
+
`;
|
|
839
|
+
|
|
840
|
+
exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
|
|
841
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
842
|
+
<h2 id="trip-details-header"
|
|
843
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
844
|
+
>
|
|
845
|
+
Trip Details
|
|
846
|
+
</h2>
|
|
847
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
848
|
+
<div role="group"
|
|
849
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
850
|
+
>
|
|
851
|
+
<div role="presentation"
|
|
852
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
853
|
+
>
|
|
854
|
+
<svg viewbox="0 0 448 512"
|
|
855
|
+
height="17"
|
|
856
|
+
width="17"
|
|
857
|
+
aria-hidden="true"
|
|
858
|
+
focusable="false"
|
|
859
|
+
fill="currentColor"
|
|
860
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
861
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
862
|
+
>
|
|
863
|
+
<path fill="currentColor"
|
|
864
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
865
|
+
>
|
|
866
|
+
</path>
|
|
867
|
+
</svg>
|
|
868
|
+
</div>
|
|
869
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
870
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
871
|
+
Depart
|
|
872
|
+
<strong>
|
|
873
|
+
December 28, 2023
|
|
874
|
+
</strong>
|
|
875
|
+
at
|
|
876
|
+
<strong>
|
|
877
|
+
1:42 PM
|
|
878
|
+
</strong>
|
|
879
|
+
</span>
|
|
880
|
+
</div>
|
|
881
|
+
<div aria-hidden="true"
|
|
882
|
+
class="rah-static rah-static--height-zero "
|
|
883
|
+
style="height: 0px; overflow: hidden;"
|
|
884
|
+
>
|
|
885
|
+
<div style="display: none;">
|
|
886
|
+
<div aria-labelledby="expand-button"
|
|
887
|
+
id="mocked_id"
|
|
888
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
889
|
+
>
|
|
890
|
+
<button role="presentation"
|
|
891
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
892
|
+
>
|
|
893
|
+
<svg viewbox="0 0 512 512"
|
|
894
|
+
height="0.92em"
|
|
895
|
+
width="0.92em"
|
|
896
|
+
aria-hidden="true"
|
|
897
|
+
focusable="false"
|
|
898
|
+
fill="currentColor"
|
|
899
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
900
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
901
|
+
>
|
|
902
|
+
<path fill="currentColor"
|
|
903
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
904
|
+
>
|
|
905
|
+
</path>
|
|
906
|
+
</svg>
|
|
907
|
+
</button>
|
|
908
|
+
</div>
|
|
909
|
+
</div>
|
|
910
|
+
</div>
|
|
911
|
+
</div>
|
|
912
|
+
<div role="group"
|
|
913
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
914
|
+
>
|
|
915
|
+
<div role="presentation"
|
|
916
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
917
|
+
>
|
|
918
|
+
<svg viewbox="0 0 640 512"
|
|
919
|
+
height="17"
|
|
920
|
+
width="17"
|
|
921
|
+
aria-hidden="true"
|
|
922
|
+
focusable="false"
|
|
923
|
+
fill="currentColor"
|
|
924
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
925
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
926
|
+
>
|
|
927
|
+
<path fill="currentColor"
|
|
928
|
+
d="M352 288h-16v-88c0-4.42-3.58-8-8-8h-13.58c-4.74 0-9.37 1.4-13.31 4.03l-15.33 10.22a7.994 7.994 0 0 0-2.22 11.09l8.88 13.31a7.994 7.994 0 0 0 11.09 2.22l.47-.31V288h-16c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h64c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 192c-53.02 0-96-50.15-96-112 0-61.86 42.98-112 96-112s96 50.14 96 112c0 61.87-43 112-96 112zm272 32h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"
|
|
929
|
+
>
|
|
930
|
+
</path>
|
|
931
|
+
</svg>
|
|
932
|
+
</div>
|
|
933
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
934
|
+
<span class="styled__Fare-sc-6q2ok2-5 dIDmTx">
|
|
935
|
+
<details class="styled__TransitFare-sc-6q2ok2-10 ddwUoq">
|
|
936
|
+
<summary style="display: list-item;">
|
|
937
|
+
Transit Fare:
|
|
938
|
+
<strong>
|
|
939
|
+
$10.25
|
|
940
|
+
</strong>
|
|
941
|
+
</summary>
|
|
942
|
+
<div>
|
|
943
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
944
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
945
|
+
<th class="main"
|
|
946
|
+
scope="col"
|
|
947
|
+
>
|
|
948
|
+
<strong>
|
|
949
|
+
Adult
|
|
950
|
+
</strong>
|
|
951
|
+
</th>
|
|
952
|
+
<th scope="col">
|
|
953
|
+
<strong>
|
|
954
|
+
Cash
|
|
955
|
+
</strong>
|
|
956
|
+
<br>
|
|
957
|
+
$10.25
|
|
958
|
+
</th>
|
|
959
|
+
<th scope="col">
|
|
960
|
+
<strong>
|
|
961
|
+
Electronic
|
|
962
|
+
</strong>
|
|
963
|
+
<br>
|
|
964
|
+
-
|
|
965
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
966
|
+
No fare total available
|
|
967
|
+
</span>
|
|
968
|
+
</th>
|
|
969
|
+
<th scope="col">
|
|
970
|
+
<strong>
|
|
971
|
+
Special
|
|
972
|
+
</strong>
|
|
973
|
+
<br>
|
|
974
|
+
-
|
|
975
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
976
|
+
No fare total available
|
|
977
|
+
</span>
|
|
978
|
+
</th>
|
|
979
|
+
</thead>
|
|
980
|
+
<tr>
|
|
981
|
+
<td class="no-zebra">
|
|
982
|
+
90X
|
|
983
|
+
</td>
|
|
984
|
+
<td>
|
|
985
|
+
$1.00
|
|
986
|
+
</td>
|
|
987
|
+
<td>
|
|
988
|
+
-
|
|
989
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
990
|
+
No fare information for this leg
|
|
991
|
+
</span>
|
|
992
|
+
</td>
|
|
993
|
+
<td>
|
|
994
|
+
-
|
|
995
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
996
|
+
No fare information for this leg
|
|
997
|
+
</span>
|
|
998
|
+
</td>
|
|
999
|
+
</tr>
|
|
1000
|
+
<tr>
|
|
1001
|
+
<td class="no-zebra">
|
|
1002
|
+
512
|
|
1003
|
+
</td>
|
|
1004
|
+
<td>
|
|
1005
|
+
$3.25
|
|
1006
|
+
</td>
|
|
1007
|
+
<td>
|
|
1008
|
+
$3.25
|
|
1009
|
+
</td>
|
|
1010
|
+
<td>
|
|
1011
|
+
$1.00
|
|
1012
|
+
</td>
|
|
1013
|
+
</tr>
|
|
1014
|
+
<tr>
|
|
1015
|
+
<td class="no-zebra">
|
|
1016
|
+
535
|
|
1017
|
+
</td>
|
|
1018
|
+
<td>
|
|
1019
|
+
$3.25
|
|
1020
|
+
</td>
|
|
1021
|
+
<td title="Transfer discount of $3.25 is applied">
|
|
1022
|
+
<svg viewbox="0 0 24 24"
|
|
1023
|
+
height="16"
|
|
1024
|
+
width="16"
|
|
1025
|
+
aria-hidden="true"
|
|
1026
|
+
focusable="false"
|
|
1027
|
+
fill="currentColor"
|
|
1028
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1029
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1030
|
+
>
|
|
1031
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1032
|
+
</path>
|
|
1033
|
+
</svg>
|
|
1034
|
+
$0.00
|
|
1035
|
+
</td>
|
|
1036
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
1037
|
+
<svg viewbox="0 0 24 24"
|
|
1038
|
+
height="16"
|
|
1039
|
+
width="16"
|
|
1040
|
+
aria-hidden="true"
|
|
1041
|
+
focusable="false"
|
|
1042
|
+
fill="currentColor"
|
|
1043
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1044
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1045
|
+
>
|
|
1046
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1047
|
+
</path>
|
|
1048
|
+
</svg>
|
|
1049
|
+
$0.00
|
|
1050
|
+
</td>
|
|
1051
|
+
</tr>
|
|
1052
|
+
<tr>
|
|
1053
|
+
<td class="no-zebra">
|
|
1054
|
+
372
|
|
1055
|
+
</td>
|
|
1056
|
+
<td>
|
|
1057
|
+
$2.75
|
|
1058
|
+
</td>
|
|
1059
|
+
<td title="Transfer discount of $3.25 is applied">
|
|
1060
|
+
<svg viewbox="0 0 24 24"
|
|
1061
|
+
height="16"
|
|
1062
|
+
width="16"
|
|
1063
|
+
aria-hidden="true"
|
|
1064
|
+
focusable="false"
|
|
1065
|
+
fill="currentColor"
|
|
1066
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1067
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1068
|
+
>
|
|
1069
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1070
|
+
</path>
|
|
1071
|
+
</svg>
|
|
1072
|
+
$0.00
|
|
1073
|
+
</td>
|
|
1074
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
1075
|
+
<svg viewbox="0 0 24 24"
|
|
1076
|
+
height="16"
|
|
1077
|
+
width="16"
|
|
1078
|
+
aria-hidden="true"
|
|
1079
|
+
focusable="false"
|
|
1080
|
+
fill="currentColor"
|
|
1081
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1082
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1083
|
+
>
|
|
1084
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1085
|
+
</path>
|
|
1086
|
+
</svg>
|
|
1087
|
+
$0.00
|
|
1088
|
+
</td>
|
|
1089
|
+
</tr>
|
|
1090
|
+
</table>
|
|
1091
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
1092
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
1093
|
+
<th class="main"
|
|
1094
|
+
scope="col"
|
|
1095
|
+
>
|
|
1096
|
+
<strong>
|
|
1097
|
+
Youth
|
|
1098
|
+
</strong>
|
|
1099
|
+
</th>
|
|
1100
|
+
<th scope="col">
|
|
1101
|
+
<strong>
|
|
1102
|
+
Cash
|
|
1103
|
+
</strong>
|
|
1104
|
+
<br>
|
|
1105
|
+
$0.00
|
|
1106
|
+
</th>
|
|
1107
|
+
<th scope="col">
|
|
1108
|
+
<strong>
|
|
1109
|
+
Electronic
|
|
1110
|
+
</strong>
|
|
1111
|
+
<br>
|
|
1112
|
+
-
|
|
1113
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
1114
|
+
No fare total available
|
|
1115
|
+
</span>
|
|
1116
|
+
</th>
|
|
1117
|
+
</thead>
|
|
1118
|
+
<tr>
|
|
1119
|
+
<td class="no-zebra">
|
|
1120
|
+
90X
|
|
1121
|
+
</td>
|
|
1122
|
+
<td>
|
|
1123
|
+
$0.00
|
|
1124
|
+
</td>
|
|
1125
|
+
<td>
|
|
1126
|
+
-
|
|
1127
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
1128
|
+
No fare information for this leg
|
|
1129
|
+
</span>
|
|
1130
|
+
</td>
|
|
1131
|
+
</tr>
|
|
1132
|
+
<tr>
|
|
1133
|
+
<td class="no-zebra">
|
|
1134
|
+
512
|
|
1135
|
+
</td>
|
|
1136
|
+
<td>
|
|
1137
|
+
$0.00
|
|
1138
|
+
</td>
|
|
1139
|
+
<td>
|
|
1140
|
+
$0.00
|
|
1141
|
+
</td>
|
|
1142
|
+
</tr>
|
|
1143
|
+
<tr>
|
|
1144
|
+
<td class="no-zebra">
|
|
1145
|
+
535
|
|
1146
|
+
</td>
|
|
1147
|
+
<td>
|
|
1148
|
+
$0.00
|
|
1149
|
+
</td>
|
|
1150
|
+
<td>
|
|
1151
|
+
$0.00
|
|
1152
|
+
</td>
|
|
1153
|
+
</tr>
|
|
1154
|
+
<tr>
|
|
1155
|
+
<td class="no-zebra">
|
|
1156
|
+
372
|
|
1157
|
+
</td>
|
|
1158
|
+
<td>
|
|
1159
|
+
$0.00
|
|
1160
|
+
</td>
|
|
1161
|
+
<td>
|
|
1162
|
+
$0.00
|
|
1163
|
+
</td>
|
|
1164
|
+
</tr>
|
|
1165
|
+
</table>
|
|
1166
|
+
<table class="fare-table__Table-sc-i0o2oh-1 fTAlL">
|
|
1167
|
+
<thead class="fare-table__TableHeader-sc-i0o2oh-0 jbfBMx">
|
|
1168
|
+
<th class="main"
|
|
1169
|
+
scope="col"
|
|
1170
|
+
>
|
|
1171
|
+
<strong>
|
|
1172
|
+
Senior
|
|
1173
|
+
</strong>
|
|
1174
|
+
</th>
|
|
1175
|
+
<th scope="col">
|
|
1176
|
+
<strong>
|
|
1177
|
+
Cash
|
|
1178
|
+
</strong>
|
|
1179
|
+
<br>
|
|
1180
|
+
$9.75
|
|
1181
|
+
</th>
|
|
1182
|
+
<th scope="col">
|
|
1183
|
+
<strong>
|
|
1184
|
+
Electronic
|
|
1185
|
+
</strong>
|
|
1186
|
+
<br>
|
|
1187
|
+
-
|
|
1188
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
1189
|
+
No fare total available
|
|
1190
|
+
</span>
|
|
1191
|
+
</th>
|
|
1192
|
+
</thead>
|
|
1193
|
+
<tr>
|
|
1194
|
+
<td class="no-zebra">
|
|
1195
|
+
90X
|
|
1196
|
+
</td>
|
|
1197
|
+
<td>
|
|
1198
|
+
$0.50
|
|
1199
|
+
</td>
|
|
1200
|
+
<td>
|
|
1201
|
+
-
|
|
1202
|
+
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 jafONT">
|
|
1203
|
+
No fare information for this leg
|
|
1204
|
+
</span>
|
|
1205
|
+
</td>
|
|
1206
|
+
</tr>
|
|
1207
|
+
<tr>
|
|
1208
|
+
<td class="no-zebra">
|
|
1209
|
+
512
|
|
1210
|
+
</td>
|
|
1211
|
+
<td>
|
|
1212
|
+
$3.25
|
|
1213
|
+
</td>
|
|
1214
|
+
<td>
|
|
1215
|
+
$1.00
|
|
1216
|
+
</td>
|
|
1217
|
+
</tr>
|
|
1218
|
+
<tr>
|
|
1219
|
+
<td class="no-zebra">
|
|
1220
|
+
535
|
|
1221
|
+
</td>
|
|
1222
|
+
<td>
|
|
1223
|
+
$3.25
|
|
1224
|
+
</td>
|
|
1225
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
1226
|
+
<svg viewbox="0 0 24 24"
|
|
1227
|
+
height="16"
|
|
1228
|
+
width="16"
|
|
1229
|
+
aria-hidden="true"
|
|
1230
|
+
focusable="false"
|
|
1231
|
+
fill="currentColor"
|
|
1232
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1233
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1234
|
+
>
|
|
1235
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1236
|
+
</path>
|
|
1237
|
+
</svg>
|
|
1238
|
+
$0.00
|
|
1239
|
+
</td>
|
|
1240
|
+
</tr>
|
|
1241
|
+
<tr>
|
|
1242
|
+
<td class="no-zebra">
|
|
1243
|
+
372
|
|
1244
|
+
</td>
|
|
1245
|
+
<td>
|
|
1246
|
+
$2.75
|
|
1247
|
+
</td>
|
|
1248
|
+
<td title="Transfer discount of $1.00 is applied">
|
|
1249
|
+
<svg viewbox="0 0 24 24"
|
|
1250
|
+
height="16"
|
|
1251
|
+
width="16"
|
|
1252
|
+
aria-hidden="true"
|
|
1253
|
+
focusable="false"
|
|
1254
|
+
fill="currentColor"
|
|
1255
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1256
|
+
class="StyledIconBase-ea9ulj-0 hPhvO fare-table__TransferIcon-sc-i0o2oh-2 ILewe"
|
|
1257
|
+
>
|
|
1258
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1259
|
+
</path>
|
|
1260
|
+
</svg>
|
|
1261
|
+
$0.00
|
|
1262
|
+
</td>
|
|
1263
|
+
</tr>
|
|
1264
|
+
</table>
|
|
1265
|
+
</div>
|
|
1266
|
+
</details>
|
|
1267
|
+
</span>
|
|
1268
|
+
</div>
|
|
1269
|
+
<div aria-hidden="true"
|
|
1270
|
+
class="rah-static rah-static--height-zero "
|
|
1271
|
+
style="height: 0px; overflow: hidden;"
|
|
1272
|
+
>
|
|
1273
|
+
<div style="display: none;">
|
|
1274
|
+
<div aria-labelledby="expand-button"
|
|
1275
|
+
id="mocked_id"
|
|
1276
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1277
|
+
>
|
|
1278
|
+
<button role="presentation"
|
|
1279
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1280
|
+
>
|
|
1281
|
+
<svg viewbox="0 0 512 512"
|
|
1282
|
+
height="0.92em"
|
|
1283
|
+
width="0.92em"
|
|
1284
|
+
aria-hidden="true"
|
|
1285
|
+
focusable="false"
|
|
1286
|
+
fill="currentColor"
|
|
1287
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1288
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1289
|
+
>
|
|
1290
|
+
<path fill="currentColor"
|
|
1291
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1292
|
+
>
|
|
1293
|
+
</path>
|
|
1294
|
+
</svg>
|
|
1295
|
+
</button>
|
|
1296
|
+
</div>
|
|
1297
|
+
</div>
|
|
1298
|
+
</div>
|
|
1299
|
+
</div>
|
|
1300
|
+
<div role="group"
|
|
1301
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1302
|
+
>
|
|
1303
|
+
<div role="presentation"
|
|
1304
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1305
|
+
>
|
|
1306
|
+
<svg viewbox="0 0 512 512"
|
|
1307
|
+
height="17"
|
|
1308
|
+
width="17"
|
|
1309
|
+
aria-hidden="true"
|
|
1310
|
+
focusable="false"
|
|
1311
|
+
fill="currentColor"
|
|
1312
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1313
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1314
|
+
>
|
|
1315
|
+
<path fill="currentColor"
|
|
1316
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
1317
|
+
>
|
|
1318
|
+
</path>
|
|
1319
|
+
</svg>
|
|
1320
|
+
</div>
|
|
1321
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1322
|
+
Time Spent Active:
|
|
1323
|
+
<strong>
|
|
1324
|
+
29 minutes
|
|
1325
|
+
</strong>
|
|
1326
|
+
<button aria-label="Show details"
|
|
1327
|
+
aria-controls="mocked_id"
|
|
1328
|
+
aria-expanded="false"
|
|
1329
|
+
id="expand-button"
|
|
1330
|
+
tabindex="0"
|
|
1331
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1332
|
+
>
|
|
1333
|
+
<svg viewbox="0 0 512 512"
|
|
1334
|
+
height="0.92em"
|
|
1335
|
+
width="0.92em"
|
|
1336
|
+
aria-hidden="true"
|
|
1337
|
+
focusable="false"
|
|
1338
|
+
fill="currentColor"
|
|
1339
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1340
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1341
|
+
>
|
|
1342
|
+
<path fill="currentColor"
|
|
1343
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1344
|
+
>
|
|
1345
|
+
</path>
|
|
1346
|
+
</svg>
|
|
1347
|
+
</button>
|
|
1348
|
+
</div>
|
|
1349
|
+
<div aria-hidden="true"
|
|
1350
|
+
class="rah-static rah-static--height-zero "
|
|
1351
|
+
style="height: 0px; overflow: hidden;"
|
|
1352
|
+
>
|
|
1353
|
+
<div style="display: none;">
|
|
1354
|
+
<div aria-labelledby="expand-button"
|
|
1355
|
+
id="mocked_id"
|
|
1356
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1357
|
+
>
|
|
1358
|
+
<button role="presentation"
|
|
1359
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1360
|
+
>
|
|
1361
|
+
<svg viewbox="0 0 512 512"
|
|
1362
|
+
height="0.92em"
|
|
1363
|
+
width="0.92em"
|
|
1364
|
+
aria-hidden="true"
|
|
1365
|
+
focusable="false"
|
|
1366
|
+
fill="currentColor"
|
|
1367
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1368
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1369
|
+
>
|
|
1370
|
+
<path fill="currentColor"
|
|
1371
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1372
|
+
>
|
|
1373
|
+
</path>
|
|
1374
|
+
</svg>
|
|
1375
|
+
</button>
|
|
1376
|
+
By taking this trip, you'll spend
|
|
1377
|
+
<strong>
|
|
1378
|
+
29 minutes
|
|
1379
|
+
</strong>
|
|
1380
|
+
walking and
|
|
1381
|
+
<strong>
|
|
1382
|
+
0 minutes
|
|
1383
|
+
</strong>
|
|
1384
|
+
biking.
|
|
1385
|
+
</div>
|
|
1386
|
+
</div>
|
|
1387
|
+
</div>
|
|
1388
|
+
</div>
|
|
1389
|
+
<div role="group"
|
|
1390
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1391
|
+
>
|
|
1392
|
+
<div role="presentation"
|
|
1393
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1394
|
+
>
|
|
1395
|
+
<svg viewbox="0 0 576 512"
|
|
1396
|
+
height="17"
|
|
1397
|
+
width="17"
|
|
1398
|
+
aria-hidden="true"
|
|
1399
|
+
focusable="false"
|
|
1400
|
+
fill="currentColor"
|
|
1401
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1402
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1403
|
+
>
|
|
1404
|
+
<path fill="currentColor"
|
|
1405
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
1406
|
+
>
|
|
1407
|
+
</path>
|
|
1408
|
+
</svg>
|
|
1409
|
+
</div>
|
|
1410
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1411
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
1412
|
+
CO₂ Emitted:
|
|
1413
|
+
<strong>
|
|
1414
|
+
9,031g
|
|
1415
|
+
</strong>
|
|
1416
|
+
</span>
|
|
1417
|
+
<button aria-label="Show details"
|
|
1418
|
+
aria-controls="mocked_id"
|
|
1419
|
+
aria-expanded="false"
|
|
1420
|
+
id="expand-button"
|
|
1421
|
+
tabindex="0"
|
|
1422
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1423
|
+
>
|
|
1424
|
+
<svg viewbox="0 0 512 512"
|
|
1425
|
+
height="0.92em"
|
|
1426
|
+
width="0.92em"
|
|
1427
|
+
aria-hidden="true"
|
|
1428
|
+
focusable="false"
|
|
1429
|
+
fill="currentColor"
|
|
1430
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1431
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1432
|
+
>
|
|
1433
|
+
<path fill="currentColor"
|
|
1434
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1435
|
+
>
|
|
1436
|
+
</path>
|
|
1437
|
+
</svg>
|
|
1438
|
+
</button>
|
|
1439
|
+
</div>
|
|
1440
|
+
<div aria-hidden="true"
|
|
1441
|
+
class="rah-static rah-static--height-zero "
|
|
1442
|
+
style="height: 0px; overflow: hidden;"
|
|
1443
|
+
>
|
|
1444
|
+
<div style="display: none;">
|
|
1445
|
+
<div aria-labelledby="expand-button"
|
|
1446
|
+
id="mocked_id"
|
|
1447
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1448
|
+
>
|
|
1449
|
+
<button role="presentation"
|
|
1450
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1451
|
+
>
|
|
1452
|
+
<svg viewbox="0 0 512 512"
|
|
1453
|
+
height="0.92em"
|
|
1454
|
+
width="0.92em"
|
|
1455
|
+
aria-hidden="true"
|
|
1456
|
+
focusable="false"
|
|
1457
|
+
fill="currentColor"
|
|
1458
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1459
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1460
|
+
>
|
|
1461
|
+
<path fill="currentColor"
|
|
1462
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1463
|
+
>
|
|
1464
|
+
</path>
|
|
1465
|
+
</svg>
|
|
1466
|
+
</button>
|
|
1467
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
1468
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
1469
|
+
rel="noopener noreferrer"
|
|
1470
|
+
target="_blank"
|
|
1471
|
+
>
|
|
1472
|
+
this spreadsheet
|
|
1473
|
+
</a>
|
|
1474
|
+
.
|
|
1475
|
+
</div>
|
|
1476
|
+
</div>
|
|
1477
|
+
</div>
|
|
1478
|
+
</div>
|
|
1479
|
+
</div>
|
|
1480
|
+
</div>
|
|
1481
|
+
`;
|
|
1482
|
+
|
|
1483
|
+
exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
|
|
1484
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
1485
|
+
<h2 id="trip-details-header"
|
|
1486
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
1487
|
+
>
|
|
1488
|
+
Trip Details
|
|
1489
|
+
</h2>
|
|
1490
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
1491
|
+
<div role="group"
|
|
1492
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1493
|
+
>
|
|
1494
|
+
<div role="presentation"
|
|
1495
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1496
|
+
>
|
|
1497
|
+
<svg viewbox="0 0 448 512"
|
|
1498
|
+
height="17"
|
|
1499
|
+
width="17"
|
|
1500
|
+
aria-hidden="true"
|
|
1501
|
+
focusable="false"
|
|
1502
|
+
fill="currentColor"
|
|
1503
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1504
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1505
|
+
>
|
|
1506
|
+
<path fill="currentColor"
|
|
1507
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
1508
|
+
>
|
|
1509
|
+
</path>
|
|
1510
|
+
</svg>
|
|
1511
|
+
</div>
|
|
1512
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1513
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
1514
|
+
Depart
|
|
1515
|
+
<strong>
|
|
1516
|
+
June 15, 2022
|
|
1517
|
+
</strong>
|
|
1518
|
+
at
|
|
1519
|
+
<strong>
|
|
1520
|
+
9:15 AM
|
|
1521
|
+
</strong>
|
|
1522
|
+
</span>
|
|
1523
|
+
</div>
|
|
1524
|
+
<div aria-hidden="true"
|
|
1525
|
+
class="rah-static rah-static--height-zero "
|
|
1526
|
+
style="height: 0px; overflow: hidden;"
|
|
1527
|
+
>
|
|
1528
|
+
<div style="display: none;">
|
|
1529
|
+
<div aria-labelledby="expand-button"
|
|
1530
|
+
id="mocked_id"
|
|
1531
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1532
|
+
>
|
|
1533
|
+
<button role="presentation"
|
|
1534
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1535
|
+
>
|
|
1536
|
+
<svg viewbox="0 0 512 512"
|
|
1537
|
+
height="0.92em"
|
|
1538
|
+
width="0.92em"
|
|
1539
|
+
aria-hidden="true"
|
|
1540
|
+
focusable="false"
|
|
1541
|
+
fill="currentColor"
|
|
1542
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1543
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1544
|
+
>
|
|
1545
|
+
<path fill="currentColor"
|
|
1546
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1547
|
+
>
|
|
1548
|
+
</path>
|
|
1549
|
+
</svg>
|
|
1550
|
+
</button>
|
|
1551
|
+
</div>
|
|
1552
|
+
</div>
|
|
1553
|
+
</div>
|
|
1554
|
+
</div>
|
|
1555
|
+
<div role="group"
|
|
1556
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1557
|
+
>
|
|
1558
|
+
<div role="presentation"
|
|
1559
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1560
|
+
>
|
|
1561
|
+
<svg viewbox="0 0 512 512"
|
|
1562
|
+
height="17"
|
|
1563
|
+
width="17"
|
|
1564
|
+
aria-hidden="true"
|
|
1565
|
+
focusable="false"
|
|
1566
|
+
fill="currentColor"
|
|
1567
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1568
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1569
|
+
>
|
|
1570
|
+
<path fill="currentColor"
|
|
1571
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
1572
|
+
>
|
|
1573
|
+
</path>
|
|
1574
|
+
</svg>
|
|
1575
|
+
</div>
|
|
1576
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1577
|
+
Time Spent Active:
|
|
1578
|
+
<strong>
|
|
1579
|
+
5 minutes
|
|
1580
|
+
</strong>
|
|
1581
|
+
<button aria-label="Show details"
|
|
1582
|
+
aria-controls="mocked_id"
|
|
1583
|
+
aria-expanded="false"
|
|
1584
|
+
id="expand-button"
|
|
1585
|
+
tabindex="0"
|
|
1586
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1587
|
+
>
|
|
1588
|
+
<svg viewbox="0 0 512 512"
|
|
1589
|
+
height="0.92em"
|
|
1590
|
+
width="0.92em"
|
|
1591
|
+
aria-hidden="true"
|
|
1592
|
+
focusable="false"
|
|
1593
|
+
fill="currentColor"
|
|
1594
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1595
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1596
|
+
>
|
|
1597
|
+
<path fill="currentColor"
|
|
1598
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1599
|
+
>
|
|
1600
|
+
</path>
|
|
1601
|
+
</svg>
|
|
1602
|
+
</button>
|
|
1603
|
+
</div>
|
|
1604
|
+
<div aria-hidden="true"
|
|
1605
|
+
class="rah-static rah-static--height-zero "
|
|
1606
|
+
style="height: 0px; overflow: hidden;"
|
|
1607
|
+
>
|
|
1608
|
+
<div style="display: none;">
|
|
1609
|
+
<div aria-labelledby="expand-button"
|
|
1610
|
+
id="mocked_id"
|
|
1611
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1612
|
+
>
|
|
1613
|
+
<button role="presentation"
|
|
1614
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1615
|
+
>
|
|
1616
|
+
<svg viewbox="0 0 512 512"
|
|
1617
|
+
height="0.92em"
|
|
1618
|
+
width="0.92em"
|
|
1619
|
+
aria-hidden="true"
|
|
1620
|
+
focusable="false"
|
|
1621
|
+
fill="currentColor"
|
|
1622
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1623
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1624
|
+
>
|
|
1625
|
+
<path fill="currentColor"
|
|
1626
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1627
|
+
>
|
|
1628
|
+
</path>
|
|
1629
|
+
</svg>
|
|
1630
|
+
</button>
|
|
1631
|
+
By taking this trip, you'll spend
|
|
1632
|
+
<strong>
|
|
1633
|
+
5 minutes
|
|
1634
|
+
</strong>
|
|
1635
|
+
walking and
|
|
1636
|
+
<strong>
|
|
1637
|
+
0 minutes
|
|
1638
|
+
</strong>
|
|
1639
|
+
biking.
|
|
1640
|
+
</div>
|
|
1641
|
+
</div>
|
|
1642
|
+
</div>
|
|
1643
|
+
</div>
|
|
1644
|
+
<div role="group"
|
|
1645
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1646
|
+
>
|
|
1647
|
+
<div role="presentation"
|
|
1648
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1649
|
+
>
|
|
1650
|
+
<svg viewbox="0 0 576 512"
|
|
1651
|
+
height="17"
|
|
1652
|
+
width="17"
|
|
1653
|
+
aria-hidden="true"
|
|
1654
|
+
focusable="false"
|
|
1655
|
+
fill="currentColor"
|
|
1656
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1657
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1658
|
+
>
|
|
1659
|
+
<path fill="currentColor"
|
|
1660
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
1661
|
+
>
|
|
1662
|
+
</path>
|
|
1663
|
+
</svg>
|
|
1664
|
+
</div>
|
|
1665
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1666
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
1667
|
+
CO₂ Emitted:
|
|
1668
|
+
<strong>
|
|
1669
|
+
7g
|
|
1670
|
+
</strong>
|
|
1671
|
+
</span>
|
|
1672
|
+
<button aria-label="Show details"
|
|
1673
|
+
aria-controls="mocked_id"
|
|
1674
|
+
aria-expanded="false"
|
|
1675
|
+
id="expand-button"
|
|
1676
|
+
tabindex="0"
|
|
1677
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1678
|
+
>
|
|
1679
|
+
<svg viewbox="0 0 512 512"
|
|
1680
|
+
height="0.92em"
|
|
1681
|
+
width="0.92em"
|
|
1682
|
+
aria-hidden="true"
|
|
1683
|
+
focusable="false"
|
|
1684
|
+
fill="currentColor"
|
|
1685
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1686
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1687
|
+
>
|
|
1688
|
+
<path fill="currentColor"
|
|
1689
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1690
|
+
>
|
|
1691
|
+
</path>
|
|
1692
|
+
</svg>
|
|
1693
|
+
</button>
|
|
1694
|
+
</div>
|
|
1695
|
+
<div aria-hidden="true"
|
|
1696
|
+
class="rah-static rah-static--height-zero "
|
|
1697
|
+
style="height: 0px; overflow: hidden;"
|
|
1698
|
+
>
|
|
1699
|
+
<div style="display: none;">
|
|
1700
|
+
<div aria-labelledby="expand-button"
|
|
1701
|
+
id="mocked_id"
|
|
1702
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1703
|
+
>
|
|
1704
|
+
<button role="presentation"
|
|
1705
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1706
|
+
>
|
|
1707
|
+
<svg viewbox="0 0 512 512"
|
|
1708
|
+
height="0.92em"
|
|
1709
|
+
width="0.92em"
|
|
1710
|
+
aria-hidden="true"
|
|
1711
|
+
focusable="false"
|
|
1712
|
+
fill="currentColor"
|
|
1713
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1714
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1715
|
+
>
|
|
1716
|
+
<path fill="currentColor"
|
|
1717
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1718
|
+
>
|
|
1719
|
+
</path>
|
|
1720
|
+
</svg>
|
|
1721
|
+
</button>
|
|
1722
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
1723
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
1724
|
+
rel="noopener noreferrer"
|
|
1725
|
+
target="_blank"
|
|
1726
|
+
>
|
|
1727
|
+
this spreadsheet
|
|
1728
|
+
</a>
|
|
1729
|
+
.
|
|
1730
|
+
</div>
|
|
1731
|
+
</div>
|
|
1732
|
+
</div>
|
|
1733
|
+
</div>
|
|
1734
|
+
</div>
|
|
1735
|
+
</div>
|
|
1736
|
+
`;
|
|
1737
|
+
|
|
1738
|
+
exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
|
|
1739
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
1740
|
+
<h2 id="trip-details-header"
|
|
1741
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
1742
|
+
>
|
|
1743
|
+
Trip Details
|
|
1744
|
+
</h2>
|
|
1745
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
1746
|
+
<div role="group"
|
|
1747
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1748
|
+
>
|
|
1749
|
+
<div role="presentation"
|
|
1750
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1751
|
+
>
|
|
1752
|
+
<svg viewbox="0 0 448 512"
|
|
1753
|
+
height="17"
|
|
1754
|
+
width="17"
|
|
1755
|
+
aria-hidden="true"
|
|
1756
|
+
focusable="false"
|
|
1757
|
+
fill="currentColor"
|
|
1758
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1759
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1760
|
+
>
|
|
1761
|
+
<path fill="currentColor"
|
|
1762
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
1763
|
+
>
|
|
1764
|
+
</path>
|
|
1765
|
+
</svg>
|
|
1766
|
+
</div>
|
|
1767
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1768
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
1769
|
+
Depart
|
|
1770
|
+
<strong>
|
|
1771
|
+
June 22, 2022
|
|
1772
|
+
</strong>
|
|
1773
|
+
at
|
|
1774
|
+
<strong>
|
|
1775
|
+
4:59 PM
|
|
1776
|
+
</strong>
|
|
1777
|
+
</span>
|
|
1778
|
+
</div>
|
|
1779
|
+
<div aria-hidden="true"
|
|
1780
|
+
class="rah-static rah-static--height-zero "
|
|
1781
|
+
style="height: 0px; overflow: hidden;"
|
|
1782
|
+
>
|
|
1783
|
+
<div style="display: none;">
|
|
1784
|
+
<div aria-labelledby="expand-button"
|
|
1785
|
+
id="mocked_id"
|
|
1786
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1787
|
+
>
|
|
1788
|
+
<button role="presentation"
|
|
1789
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1790
|
+
>
|
|
1791
|
+
<svg viewbox="0 0 512 512"
|
|
1792
|
+
height="0.92em"
|
|
1793
|
+
width="0.92em"
|
|
1794
|
+
aria-hidden="true"
|
|
1795
|
+
focusable="false"
|
|
1796
|
+
fill="currentColor"
|
|
1797
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1798
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1799
|
+
>
|
|
1800
|
+
<path fill="currentColor"
|
|
1801
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1802
|
+
>
|
|
1803
|
+
</path>
|
|
1804
|
+
</svg>
|
|
1805
|
+
</button>
|
|
1806
|
+
</div>
|
|
1807
|
+
</div>
|
|
1808
|
+
</div>
|
|
1809
|
+
</div>
|
|
1810
|
+
<div role="group"
|
|
1811
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1812
|
+
>
|
|
1813
|
+
<div role="presentation"
|
|
1814
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1815
|
+
>
|
|
1816
|
+
<svg viewbox="0 0 512 512"
|
|
1817
|
+
height="17"
|
|
1818
|
+
width="17"
|
|
1819
|
+
aria-hidden="true"
|
|
1820
|
+
focusable="false"
|
|
1821
|
+
fill="currentColor"
|
|
1822
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1823
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1824
|
+
>
|
|
1825
|
+
<path fill="currentColor"
|
|
1826
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
1827
|
+
>
|
|
1828
|
+
</path>
|
|
1829
|
+
</svg>
|
|
1830
|
+
</div>
|
|
1831
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1832
|
+
Time Spent Active:
|
|
1833
|
+
<strong>
|
|
1834
|
+
12 minutes
|
|
1835
|
+
</strong>
|
|
1836
|
+
<button aria-label="Show details"
|
|
1837
|
+
aria-controls="mocked_id"
|
|
1838
|
+
aria-expanded="false"
|
|
1839
|
+
id="expand-button"
|
|
1840
|
+
tabindex="0"
|
|
1841
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1842
|
+
>
|
|
1843
|
+
<svg viewbox="0 0 512 512"
|
|
1844
|
+
height="0.92em"
|
|
1845
|
+
width="0.92em"
|
|
1846
|
+
aria-hidden="true"
|
|
1847
|
+
focusable="false"
|
|
1848
|
+
fill="currentColor"
|
|
1849
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1850
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1851
|
+
>
|
|
1852
|
+
<path fill="currentColor"
|
|
1853
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1854
|
+
>
|
|
1855
|
+
</path>
|
|
1856
|
+
</svg>
|
|
1857
|
+
</button>
|
|
1858
|
+
</div>
|
|
1859
|
+
<div aria-hidden="true"
|
|
1860
|
+
class="rah-static rah-static--height-zero "
|
|
1861
|
+
style="height: 0px; overflow: hidden;"
|
|
1862
|
+
>
|
|
1863
|
+
<div style="display: none;">
|
|
1864
|
+
<div aria-labelledby="expand-button"
|
|
1865
|
+
id="mocked_id"
|
|
1866
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1867
|
+
>
|
|
1868
|
+
<button role="presentation"
|
|
1869
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1870
|
+
>
|
|
1871
|
+
<svg viewbox="0 0 512 512"
|
|
1872
|
+
height="0.92em"
|
|
1873
|
+
width="0.92em"
|
|
1874
|
+
aria-hidden="true"
|
|
1875
|
+
focusable="false"
|
|
1876
|
+
fill="currentColor"
|
|
1877
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1878
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1879
|
+
>
|
|
1880
|
+
<path fill="currentColor"
|
|
1881
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1882
|
+
>
|
|
1883
|
+
</path>
|
|
1884
|
+
</svg>
|
|
1885
|
+
</button>
|
|
1886
|
+
By taking this trip, you'll spend
|
|
1887
|
+
<strong>
|
|
1888
|
+
12 minutes
|
|
1889
|
+
</strong>
|
|
1890
|
+
walking and
|
|
1891
|
+
<strong>
|
|
1892
|
+
0 minutes
|
|
1893
|
+
</strong>
|
|
1894
|
+
biking.
|
|
1895
|
+
</div>
|
|
1896
|
+
</div>
|
|
1897
|
+
</div>
|
|
1898
|
+
</div>
|
|
1899
|
+
<div role="group"
|
|
1900
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1901
|
+
>
|
|
1902
|
+
<div role="presentation"
|
|
1903
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1904
|
+
>
|
|
1905
|
+
<svg viewbox="0 0 576 512"
|
|
1906
|
+
height="17"
|
|
1907
|
+
width="17"
|
|
1908
|
+
aria-hidden="true"
|
|
1909
|
+
focusable="false"
|
|
1910
|
+
fill="currentColor"
|
|
1911
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1912
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1913
|
+
>
|
|
1914
|
+
<path fill="currentColor"
|
|
1915
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
1916
|
+
>
|
|
1917
|
+
</path>
|
|
1918
|
+
</svg>
|
|
1919
|
+
</div>
|
|
1920
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
1921
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
1922
|
+
CO₂ Emitted:
|
|
1923
|
+
<strong>
|
|
1924
|
+
4,682g
|
|
1925
|
+
</strong>
|
|
1926
|
+
</span>
|
|
1927
|
+
<button aria-label="Show details"
|
|
1928
|
+
aria-controls="mocked_id"
|
|
1929
|
+
aria-expanded="false"
|
|
1930
|
+
id="expand-button"
|
|
1931
|
+
tabindex="0"
|
|
1932
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
1933
|
+
>
|
|
1934
|
+
<svg viewbox="0 0 512 512"
|
|
1935
|
+
height="0.92em"
|
|
1936
|
+
width="0.92em"
|
|
1937
|
+
aria-hidden="true"
|
|
1938
|
+
focusable="false"
|
|
1939
|
+
fill="currentColor"
|
|
1940
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1941
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1942
|
+
>
|
|
1943
|
+
<path fill="currentColor"
|
|
1944
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
1945
|
+
>
|
|
1946
|
+
</path>
|
|
1947
|
+
</svg>
|
|
1948
|
+
</button>
|
|
1949
|
+
</div>
|
|
1950
|
+
<div aria-hidden="true"
|
|
1951
|
+
class="rah-static rah-static--height-zero "
|
|
1952
|
+
style="height: 0px; overflow: hidden;"
|
|
1953
|
+
>
|
|
1954
|
+
<div style="display: none;">
|
|
1955
|
+
<div aria-labelledby="expand-button"
|
|
1956
|
+
id="mocked_id"
|
|
1957
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
1958
|
+
>
|
|
1959
|
+
<button role="presentation"
|
|
1960
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
1961
|
+
>
|
|
1962
|
+
<svg viewbox="0 0 512 512"
|
|
1963
|
+
height="0.92em"
|
|
1964
|
+
width="0.92em"
|
|
1965
|
+
aria-hidden="true"
|
|
1966
|
+
focusable="false"
|
|
1967
|
+
fill="currentColor"
|
|
1968
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1969
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
1970
|
+
>
|
|
1971
|
+
<path fill="currentColor"
|
|
1972
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
1973
|
+
>
|
|
1974
|
+
</path>
|
|
1975
|
+
</svg>
|
|
1976
|
+
</button>
|
|
1977
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
1978
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
1979
|
+
rel="noopener noreferrer"
|
|
1980
|
+
target="_blank"
|
|
1981
|
+
>
|
|
1982
|
+
this spreadsheet
|
|
1983
|
+
</a>
|
|
1984
|
+
.
|
|
1985
|
+
</div>
|
|
1986
|
+
</div>
|
|
1987
|
+
</div>
|
|
1988
|
+
</div>
|
|
1989
|
+
<div role="group"
|
|
1990
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
1991
|
+
>
|
|
1992
|
+
<div role="presentation"
|
|
1993
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
1994
|
+
>
|
|
1995
|
+
<svg viewbox="0 0 512 512"
|
|
1996
|
+
height="17"
|
|
1997
|
+
width="17"
|
|
1998
|
+
aria-hidden="true"
|
|
1999
|
+
focusable="false"
|
|
2000
|
+
fill="currentColor"
|
|
2001
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2002
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2003
|
+
>
|
|
2004
|
+
<path fill="currentColor"
|
|
2005
|
+
d="M416 320h-96c-17.6 0-32-14.4-32-32s14.4-32 32-32h96s96-107 96-160-43-96-96-96-96 43-96 96c0 25.5 22.2 63.4 45.3 96H320c-52.9 0-96 43.1-96 96s43.1 96 96 96h96c17.6 0 32 14.4 32 32s-14.4 32-32 32H185.5c-16 24.8-33.8 47.7-47.3 64H416c52.9 0 96-43.1 96-96s-43.1-96-96-96zm0-256c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM96 256c-53 0-96 43-96 96s96 160 96 160 96-107 96-160-43-96-96-96zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"
|
|
2006
|
+
>
|
|
2007
|
+
</path>
|
|
2008
|
+
</svg>
|
|
2009
|
+
</div>
|
|
2010
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2011
|
+
<span class="styled__FlexSummary-sc-6q2ok2-12 fyssTI">
|
|
2012
|
+
This trip includes flexible routes. This is the first pickup booking info message. This is the first dropoff booking info message.
|
|
2013
|
+
</span>
|
|
2014
|
+
</div>
|
|
2015
|
+
<div aria-hidden="true"
|
|
2016
|
+
class="rah-static rah-static--height-zero "
|
|
2017
|
+
style="height: 0px; overflow: hidden;"
|
|
2018
|
+
>
|
|
2019
|
+
<div style="display: none;">
|
|
2020
|
+
<div aria-labelledby="expand-button"
|
|
2021
|
+
id="mocked_id"
|
|
2022
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2023
|
+
>
|
|
2024
|
+
<button role="presentation"
|
|
2025
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2026
|
+
>
|
|
2027
|
+
<svg viewbox="0 0 512 512"
|
|
2028
|
+
height="0.92em"
|
|
2029
|
+
width="0.92em"
|
|
2030
|
+
aria-hidden="true"
|
|
2031
|
+
focusable="false"
|
|
2032
|
+
fill="currentColor"
|
|
2033
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2034
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2035
|
+
>
|
|
2036
|
+
<path fill="currentColor"
|
|
2037
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2038
|
+
>
|
|
2039
|
+
</path>
|
|
2040
|
+
</svg>
|
|
2041
|
+
</button>
|
|
2042
|
+
</div>
|
|
2043
|
+
</div>
|
|
2044
|
+
</div>
|
|
2045
|
+
</div>
|
|
2046
|
+
</div>
|
|
2047
|
+
</div>
|
|
2048
|
+
`;
|
|
2049
|
+
|
|
2050
|
+
exports[`TripDetails StyledItinerary smoke-test 1`] = `
|
|
2051
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 hdTDmP">
|
|
2052
|
+
<h2 id="trip-details-header"
|
|
2053
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
2054
|
+
>
|
|
2055
|
+
Trip Details
|
|
2056
|
+
</h2>
|
|
2057
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
2058
|
+
<div role="group"
|
|
2059
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2060
|
+
>
|
|
2061
|
+
<div role="presentation"
|
|
2062
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2063
|
+
>
|
|
2064
|
+
<svg viewbox="0 0 448 512"
|
|
2065
|
+
height="17"
|
|
2066
|
+
width="17"
|
|
2067
|
+
aria-hidden="true"
|
|
2068
|
+
focusable="false"
|
|
2069
|
+
fill="currentColor"
|
|
2070
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2071
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2072
|
+
>
|
|
2073
|
+
<path fill="currentColor"
|
|
2074
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
2075
|
+
>
|
|
2076
|
+
</path>
|
|
2077
|
+
</svg>
|
|
2078
|
+
</div>
|
|
2079
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2080
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
2081
|
+
Depart
|
|
2082
|
+
<strong>
|
|
2083
|
+
November 13, 2019
|
|
2084
|
+
</strong>
|
|
2085
|
+
at
|
|
2086
|
+
<strong>
|
|
2087
|
+
3:44 PM
|
|
2088
|
+
</strong>
|
|
2089
|
+
</span>
|
|
2090
|
+
</div>
|
|
2091
|
+
<div aria-hidden="true"
|
|
2092
|
+
class="rah-static rah-static--height-zero "
|
|
2093
|
+
style="height: 0px; overflow: hidden;"
|
|
2094
|
+
>
|
|
2095
|
+
<div style="display: none;">
|
|
2096
|
+
<div aria-labelledby="expand-button"
|
|
2097
|
+
id="mocked_id"
|
|
2098
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2099
|
+
>
|
|
2100
|
+
<button role="presentation"
|
|
2101
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2102
|
+
>
|
|
2103
|
+
<svg viewbox="0 0 512 512"
|
|
2104
|
+
height="0.92em"
|
|
2105
|
+
width="0.92em"
|
|
2106
|
+
aria-hidden="true"
|
|
2107
|
+
focusable="false"
|
|
2108
|
+
fill="currentColor"
|
|
2109
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2110
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2111
|
+
>
|
|
2112
|
+
<path fill="currentColor"
|
|
2113
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2114
|
+
>
|
|
2115
|
+
</path>
|
|
2116
|
+
</svg>
|
|
2117
|
+
</button>
|
|
2118
|
+
</div>
|
|
2119
|
+
</div>
|
|
2120
|
+
</div>
|
|
2121
|
+
</div>
|
|
2122
|
+
<div role="group"
|
|
2123
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2124
|
+
>
|
|
2125
|
+
<div role="presentation"
|
|
2126
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2127
|
+
>
|
|
2128
|
+
<svg viewbox="0 0 512 512"
|
|
2129
|
+
height="17"
|
|
2130
|
+
width="17"
|
|
2131
|
+
aria-hidden="true"
|
|
2132
|
+
focusable="false"
|
|
2133
|
+
fill="currentColor"
|
|
2134
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2135
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2136
|
+
>
|
|
2137
|
+
<path fill="currentColor"
|
|
2138
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
2139
|
+
>
|
|
2140
|
+
</path>
|
|
2141
|
+
</svg>
|
|
2142
|
+
</div>
|
|
2143
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2144
|
+
Time Spent Active:
|
|
2145
|
+
<strong>
|
|
2146
|
+
2 minutes
|
|
2147
|
+
</strong>
|
|
2148
|
+
<button aria-label="Show details"
|
|
2149
|
+
aria-controls="mocked_id"
|
|
2150
|
+
aria-expanded="false"
|
|
2151
|
+
id="expand-button"
|
|
2152
|
+
tabindex="0"
|
|
2153
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2154
|
+
>
|
|
2155
|
+
<svg viewbox="0 0 512 512"
|
|
2156
|
+
height="0.92em"
|
|
2157
|
+
width="0.92em"
|
|
2158
|
+
aria-hidden="true"
|
|
2159
|
+
focusable="false"
|
|
2160
|
+
fill="currentColor"
|
|
2161
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2162
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2163
|
+
>
|
|
2164
|
+
<path fill="currentColor"
|
|
2165
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2166
|
+
>
|
|
2167
|
+
</path>
|
|
2168
|
+
</svg>
|
|
2169
|
+
</button>
|
|
2170
|
+
</div>
|
|
2171
|
+
<div aria-hidden="true"
|
|
2172
|
+
class="rah-static rah-static--height-zero "
|
|
2173
|
+
style="height: 0px; overflow: hidden;"
|
|
2174
|
+
>
|
|
2175
|
+
<div style="display: none;">
|
|
2176
|
+
<div aria-labelledby="expand-button"
|
|
2177
|
+
id="mocked_id"
|
|
2178
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2179
|
+
>
|
|
2180
|
+
<button role="presentation"
|
|
2181
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2182
|
+
>
|
|
2183
|
+
<svg viewbox="0 0 512 512"
|
|
2184
|
+
height="0.92em"
|
|
2185
|
+
width="0.92em"
|
|
2186
|
+
aria-hidden="true"
|
|
2187
|
+
focusable="false"
|
|
2188
|
+
fill="currentColor"
|
|
2189
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2190
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2191
|
+
>
|
|
2192
|
+
<path fill="currentColor"
|
|
2193
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2194
|
+
>
|
|
2195
|
+
</path>
|
|
2196
|
+
</svg>
|
|
2197
|
+
</button>
|
|
2198
|
+
By taking this trip, you'll spend
|
|
2199
|
+
<strong>
|
|
2200
|
+
2 minutes
|
|
2201
|
+
</strong>
|
|
2202
|
+
walking and
|
|
2203
|
+
<strong>
|
|
2204
|
+
0 minutes
|
|
2205
|
+
</strong>
|
|
2206
|
+
biking.
|
|
2207
|
+
</div>
|
|
2208
|
+
</div>
|
|
2209
|
+
</div>
|
|
2210
|
+
</div>
|
|
2211
|
+
<div role="group"
|
|
2212
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2213
|
+
>
|
|
2214
|
+
<div role="presentation"
|
|
2215
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2216
|
+
>
|
|
2217
|
+
<svg viewbox="0 0 576 512"
|
|
2218
|
+
height="17"
|
|
2219
|
+
width="17"
|
|
2220
|
+
aria-hidden="true"
|
|
2221
|
+
focusable="false"
|
|
2222
|
+
fill="currentColor"
|
|
2223
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2224
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2225
|
+
>
|
|
2226
|
+
<path fill="currentColor"
|
|
2227
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
2228
|
+
>
|
|
2229
|
+
</path>
|
|
2230
|
+
</svg>
|
|
2231
|
+
</div>
|
|
2232
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2233
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
2234
|
+
CO₂ Emitted:
|
|
2235
|
+
<strong>
|
|
2236
|
+
61g
|
|
2237
|
+
</strong>
|
|
2238
|
+
</span>
|
|
2239
|
+
<button aria-label="Show details"
|
|
2240
|
+
aria-controls="mocked_id"
|
|
2241
|
+
aria-expanded="false"
|
|
2242
|
+
id="expand-button"
|
|
2243
|
+
tabindex="0"
|
|
2244
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2245
|
+
>
|
|
2246
|
+
<svg viewbox="0 0 512 512"
|
|
2247
|
+
height="0.92em"
|
|
2248
|
+
width="0.92em"
|
|
2249
|
+
aria-hidden="true"
|
|
2250
|
+
focusable="false"
|
|
2251
|
+
fill="currentColor"
|
|
2252
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2253
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2254
|
+
>
|
|
2255
|
+
<path fill="currentColor"
|
|
2256
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2257
|
+
>
|
|
2258
|
+
</path>
|
|
2259
|
+
</svg>
|
|
2260
|
+
</button>
|
|
2261
|
+
</div>
|
|
2262
|
+
<div aria-hidden="true"
|
|
2263
|
+
class="rah-static rah-static--height-zero "
|
|
2264
|
+
style="height: 0px; overflow: hidden;"
|
|
2265
|
+
>
|
|
2266
|
+
<div style="display: none;">
|
|
2267
|
+
<div aria-labelledby="expand-button"
|
|
2268
|
+
id="mocked_id"
|
|
2269
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2270
|
+
>
|
|
2271
|
+
<button role="presentation"
|
|
2272
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2273
|
+
>
|
|
2274
|
+
<svg viewbox="0 0 512 512"
|
|
2275
|
+
height="0.92em"
|
|
2276
|
+
width="0.92em"
|
|
2277
|
+
aria-hidden="true"
|
|
2278
|
+
focusable="false"
|
|
2279
|
+
fill="currentColor"
|
|
2280
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2281
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2282
|
+
>
|
|
2283
|
+
<path fill="currentColor"
|
|
2284
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2285
|
+
>
|
|
2286
|
+
</path>
|
|
2287
|
+
</svg>
|
|
2288
|
+
</button>
|
|
2289
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
2290
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
2291
|
+
rel="noopener noreferrer"
|
|
2292
|
+
target="_blank"
|
|
2293
|
+
>
|
|
2294
|
+
this spreadsheet
|
|
2295
|
+
</a>
|
|
2296
|
+
.
|
|
2297
|
+
</div>
|
|
2298
|
+
</div>
|
|
2299
|
+
</div>
|
|
2300
|
+
</div>
|
|
2301
|
+
</div>
|
|
2302
|
+
</div>
|
|
2303
|
+
`;
|
|
2304
|
+
|
|
2305
|
+
exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
|
|
2306
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
2307
|
+
<h2 id="trip-details-header"
|
|
2308
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
2309
|
+
>
|
|
2310
|
+
Trip Details
|
|
2311
|
+
</h2>
|
|
2312
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
2313
|
+
<div role="group"
|
|
2314
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2315
|
+
>
|
|
2316
|
+
<div role="presentation"
|
|
2317
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2318
|
+
>
|
|
2319
|
+
<svg viewbox="0 0 448 512"
|
|
2320
|
+
height="17"
|
|
2321
|
+
width="17"
|
|
2322
|
+
aria-hidden="true"
|
|
2323
|
+
focusable="false"
|
|
2324
|
+
fill="currentColor"
|
|
2325
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2326
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2327
|
+
>
|
|
2328
|
+
<path fill="currentColor"
|
|
2329
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
2330
|
+
>
|
|
2331
|
+
</path>
|
|
2332
|
+
</svg>
|
|
2333
|
+
</div>
|
|
2334
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2335
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
2336
|
+
Depart
|
|
2337
|
+
<strong>
|
|
2338
|
+
May 23, 2023
|
|
2339
|
+
</strong>
|
|
2340
|
+
at
|
|
2341
|
+
<strong>
|
|
2342
|
+
10:58 AM
|
|
2343
|
+
</strong>
|
|
2344
|
+
</span>
|
|
2345
|
+
</div>
|
|
2346
|
+
<div aria-hidden="true"
|
|
2347
|
+
class="rah-static rah-static--height-zero "
|
|
2348
|
+
style="height: 0px; overflow: hidden;"
|
|
2349
|
+
>
|
|
2350
|
+
<div style="display: none;">
|
|
2351
|
+
<div aria-labelledby="expand-button"
|
|
2352
|
+
id="mocked_id"
|
|
2353
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2354
|
+
>
|
|
2355
|
+
<button role="presentation"
|
|
2356
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2357
|
+
>
|
|
2358
|
+
<svg viewbox="0 0 512 512"
|
|
2359
|
+
height="0.92em"
|
|
2360
|
+
width="0.92em"
|
|
2361
|
+
aria-hidden="true"
|
|
2362
|
+
focusable="false"
|
|
2363
|
+
fill="currentColor"
|
|
2364
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2365
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2366
|
+
>
|
|
2367
|
+
<path fill="currentColor"
|
|
2368
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2369
|
+
>
|
|
2370
|
+
</path>
|
|
2371
|
+
</svg>
|
|
2372
|
+
</button>
|
|
2373
|
+
</div>
|
|
2374
|
+
</div>
|
|
2375
|
+
</div>
|
|
2376
|
+
</div>
|
|
2377
|
+
<div role="group"
|
|
2378
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2379
|
+
>
|
|
2380
|
+
<div role="presentation"
|
|
2381
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2382
|
+
>
|
|
2383
|
+
<svg viewbox="0 0 640 512"
|
|
2384
|
+
height="17"
|
|
2385
|
+
width="17"
|
|
2386
|
+
aria-hidden="true"
|
|
2387
|
+
focusable="false"
|
|
2388
|
+
fill="currentColor"
|
|
2389
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2390
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2391
|
+
>
|
|
2392
|
+
<path fill="currentColor"
|
|
2393
|
+
d="M352 288h-16v-88c0-4.42-3.58-8-8-8h-13.58c-4.74 0-9.37 1.4-13.31 4.03l-15.33 10.22a7.994 7.994 0 0 0-2.22 11.09l8.88 13.31a7.994 7.994 0 0 0 11.09 2.22l.47-.31V288h-16c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h64c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 192c-53.02 0-96-50.15-96-112 0-61.86 42.98-112 96-112s96 50.14 96 112c0 61.87-43 112-96 112zm272 32h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"
|
|
2394
|
+
>
|
|
2395
|
+
</path>
|
|
2396
|
+
</svg>
|
|
2397
|
+
</div>
|
|
2398
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2399
|
+
<span class="styled__Fare-sc-6q2ok2-5 dIDmTx">
|
|
2400
|
+
<span class="styled__TNCFare-sc-6q2ok2-7 fUCOeq">
|
|
2401
|
+
<span class="styled__TNCFareCompanies-sc-6q2ok2-8 cEqxeU">
|
|
2402
|
+
uber
|
|
2403
|
+
</span>
|
|
2404
|
+
Fare:
|
|
2405
|
+
<strong>
|
|
2406
|
+
$34.00 - $37.00
|
|
2407
|
+
</strong>
|
|
2408
|
+
</span>
|
|
2409
|
+
</span>
|
|
2410
|
+
<button aria-label="Show details"
|
|
2411
|
+
aria-controls="mocked_id"
|
|
2412
|
+
aria-expanded="false"
|
|
2413
|
+
id="expand-button"
|
|
2414
|
+
tabindex="0"
|
|
2415
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2416
|
+
>
|
|
2417
|
+
<svg viewbox="0 0 512 512"
|
|
2418
|
+
height="0.92em"
|
|
2419
|
+
width="0.92em"
|
|
2420
|
+
aria-hidden="true"
|
|
2421
|
+
focusable="false"
|
|
2422
|
+
fill="currentColor"
|
|
2423
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2424
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2425
|
+
>
|
|
2426
|
+
<path fill="currentColor"
|
|
2427
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2428
|
+
>
|
|
2429
|
+
</path>
|
|
2430
|
+
</svg>
|
|
2431
|
+
</button>
|
|
2432
|
+
</div>
|
|
2433
|
+
<div aria-hidden="true"
|
|
2434
|
+
class="rah-static rah-static--height-zero "
|
|
2435
|
+
style="height: 0px; overflow: hidden;"
|
|
2436
|
+
>
|
|
2437
|
+
<div style="display: none;">
|
|
2438
|
+
<div aria-labelledby="expand-button"
|
|
2439
|
+
id="mocked_id"
|
|
2440
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2441
|
+
>
|
|
2442
|
+
<button role="presentation"
|
|
2443
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2444
|
+
>
|
|
2445
|
+
<svg viewbox="0 0 512 512"
|
|
2446
|
+
height="0.92em"
|
|
2447
|
+
width="0.92em"
|
|
2448
|
+
aria-hidden="true"
|
|
2449
|
+
focusable="false"
|
|
2450
|
+
fill="currentColor"
|
|
2451
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2452
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2453
|
+
>
|
|
2454
|
+
<path fill="currentColor"
|
|
2455
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2456
|
+
>
|
|
2457
|
+
</path>
|
|
2458
|
+
</svg>
|
|
2459
|
+
</button>
|
|
2460
|
+
Custom details about fares (transitFares: ) (cents), can be constructed dynamically using any markup.
|
|
2461
|
+
</div>
|
|
2462
|
+
</div>
|
|
2463
|
+
</div>
|
|
2464
|
+
</div>
|
|
2465
|
+
<div role="group"
|
|
2466
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2467
|
+
>
|
|
2468
|
+
<div role="presentation"
|
|
2469
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2470
|
+
>
|
|
2471
|
+
<svg viewbox="0 0 512 512"
|
|
2472
|
+
height="17"
|
|
2473
|
+
width="17"
|
|
2474
|
+
aria-hidden="true"
|
|
2475
|
+
focusable="false"
|
|
2476
|
+
fill="currentColor"
|
|
2477
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2478
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2479
|
+
>
|
|
2480
|
+
<path fill="currentColor"
|
|
2481
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
2482
|
+
>
|
|
2483
|
+
</path>
|
|
2484
|
+
</svg>
|
|
2485
|
+
</div>
|
|
2486
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2487
|
+
Time Spent Active:
|
|
2488
|
+
<strong>
|
|
2489
|
+
2 minutes
|
|
2490
|
+
</strong>
|
|
2491
|
+
<button aria-label="Show details"
|
|
2492
|
+
aria-controls="mocked_id"
|
|
2493
|
+
aria-expanded="false"
|
|
2494
|
+
id="expand-button"
|
|
2495
|
+
tabindex="0"
|
|
2496
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2497
|
+
>
|
|
2498
|
+
<svg viewbox="0 0 512 512"
|
|
2499
|
+
height="0.92em"
|
|
2500
|
+
width="0.92em"
|
|
2501
|
+
aria-hidden="true"
|
|
2502
|
+
focusable="false"
|
|
2503
|
+
fill="currentColor"
|
|
2504
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2505
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2506
|
+
>
|
|
2507
|
+
<path fill="currentColor"
|
|
2508
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2509
|
+
>
|
|
2510
|
+
</path>
|
|
2511
|
+
</svg>
|
|
2512
|
+
</button>
|
|
2513
|
+
</div>
|
|
2514
|
+
<div aria-hidden="true"
|
|
2515
|
+
class="rah-static rah-static--height-zero "
|
|
2516
|
+
style="height: 0px; overflow: hidden;"
|
|
2517
|
+
>
|
|
2518
|
+
<div style="display: none;">
|
|
2519
|
+
<div aria-labelledby="expand-button"
|
|
2520
|
+
id="mocked_id"
|
|
2521
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2522
|
+
>
|
|
2523
|
+
<button role="presentation"
|
|
2524
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2525
|
+
>
|
|
2526
|
+
<svg viewbox="0 0 512 512"
|
|
2527
|
+
height="0.92em"
|
|
2528
|
+
width="0.92em"
|
|
2529
|
+
aria-hidden="true"
|
|
2530
|
+
focusable="false"
|
|
2531
|
+
fill="currentColor"
|
|
2532
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2533
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2534
|
+
>
|
|
2535
|
+
<path fill="currentColor"
|
|
2536
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2537
|
+
>
|
|
2538
|
+
</path>
|
|
2539
|
+
</svg>
|
|
2540
|
+
</button>
|
|
2541
|
+
By taking this trip, you'll spend
|
|
2542
|
+
<strong>
|
|
2543
|
+
2 minutes
|
|
2544
|
+
</strong>
|
|
2545
|
+
walking and
|
|
2546
|
+
<strong>
|
|
2547
|
+
0 minutes
|
|
2548
|
+
</strong>
|
|
2549
|
+
biking.
|
|
2550
|
+
</div>
|
|
2551
|
+
</div>
|
|
2552
|
+
</div>
|
|
2553
|
+
</div>
|
|
2554
|
+
<div role="group"
|
|
2555
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2556
|
+
>
|
|
2557
|
+
<div role="presentation"
|
|
2558
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2559
|
+
>
|
|
2560
|
+
<svg viewbox="0 0 576 512"
|
|
2561
|
+
height="17"
|
|
2562
|
+
width="17"
|
|
2563
|
+
aria-hidden="true"
|
|
2564
|
+
focusable="false"
|
|
2565
|
+
fill="currentColor"
|
|
2566
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2567
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2568
|
+
>
|
|
2569
|
+
<path fill="currentColor"
|
|
2570
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
2571
|
+
>
|
|
2572
|
+
</path>
|
|
2573
|
+
</svg>
|
|
2574
|
+
</div>
|
|
2575
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2576
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
2577
|
+
CO₂ Emitted:
|
|
2578
|
+
<strong>
|
|
2579
|
+
319g
|
|
2580
|
+
</strong>
|
|
2581
|
+
</span>
|
|
2582
|
+
<button aria-label="Show details"
|
|
2583
|
+
aria-controls="mocked_id"
|
|
2584
|
+
aria-expanded="false"
|
|
2585
|
+
id="expand-button"
|
|
2586
|
+
tabindex="0"
|
|
2587
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2588
|
+
>
|
|
2589
|
+
<svg viewbox="0 0 512 512"
|
|
2590
|
+
height="0.92em"
|
|
2591
|
+
width="0.92em"
|
|
2592
|
+
aria-hidden="true"
|
|
2593
|
+
focusable="false"
|
|
2594
|
+
fill="currentColor"
|
|
2595
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2596
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2597
|
+
>
|
|
2598
|
+
<path fill="currentColor"
|
|
2599
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2600
|
+
>
|
|
2601
|
+
</path>
|
|
2602
|
+
</svg>
|
|
2603
|
+
</button>
|
|
2604
|
+
</div>
|
|
2605
|
+
<div aria-hidden="true"
|
|
2606
|
+
class="rah-static rah-static--height-zero "
|
|
2607
|
+
style="height: 0px; overflow: hidden;"
|
|
2608
|
+
>
|
|
2609
|
+
<div style="display: none;">
|
|
2610
|
+
<div aria-labelledby="expand-button"
|
|
2611
|
+
id="mocked_id"
|
|
2612
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2613
|
+
>
|
|
2614
|
+
<button role="presentation"
|
|
2615
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2616
|
+
>
|
|
2617
|
+
<svg viewbox="0 0 512 512"
|
|
2618
|
+
height="0.92em"
|
|
2619
|
+
width="0.92em"
|
|
2620
|
+
aria-hidden="true"
|
|
2621
|
+
focusable="false"
|
|
2622
|
+
fill="currentColor"
|
|
2623
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2624
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2625
|
+
>
|
|
2626
|
+
<path fill="currentColor"
|
|
2627
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2628
|
+
>
|
|
2629
|
+
</path>
|
|
2630
|
+
</svg>
|
|
2631
|
+
</button>
|
|
2632
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
2633
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
2634
|
+
rel="noopener noreferrer"
|
|
2635
|
+
target="_blank"
|
|
2636
|
+
>
|
|
2637
|
+
this spreadsheet
|
|
2638
|
+
</a>
|
|
2639
|
+
.
|
|
2640
|
+
</div>
|
|
2641
|
+
</div>
|
|
2642
|
+
</div>
|
|
2643
|
+
</div>
|
|
2644
|
+
</div>
|
|
2645
|
+
</div>
|
|
2646
|
+
`;
|
|
2647
|
+
|
|
2648
|
+
exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
|
|
2649
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 hdTDmP">
|
|
2650
|
+
<h2 id="trip-details-header"
|
|
2651
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
2652
|
+
>
|
|
2653
|
+
Custom Trip Details Title
|
|
2654
|
+
</h2>
|
|
2655
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
2656
|
+
<div role="group"
|
|
2657
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2658
|
+
>
|
|
2659
|
+
<div role="presentation"
|
|
2660
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2661
|
+
>
|
|
2662
|
+
<svg viewbox="0 0 448 512"
|
|
2663
|
+
height="17"
|
|
2664
|
+
width="17"
|
|
2665
|
+
aria-hidden="true"
|
|
2666
|
+
focusable="false"
|
|
2667
|
+
fill="currentColor"
|
|
2668
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2669
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2670
|
+
>
|
|
2671
|
+
<path fill="currentColor"
|
|
2672
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
2673
|
+
>
|
|
2674
|
+
</path>
|
|
2675
|
+
</svg>
|
|
2676
|
+
</div>
|
|
2677
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2678
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
2679
|
+
<strong>
|
|
2680
|
+
Leave
|
|
2681
|
+
</strong>
|
|
2682
|
+
at
|
|
2683
|
+
<strong>
|
|
2684
|
+
10:58 AM
|
|
2685
|
+
</strong>
|
|
2686
|
+
on
|
|
2687
|
+
<strong>
|
|
2688
|
+
May 23, 2023
|
|
2689
|
+
</strong>
|
|
2690
|
+
</span>
|
|
2691
|
+
<button aria-label="Show details"
|
|
2692
|
+
aria-controls="mocked_id"
|
|
2693
|
+
aria-expanded="false"
|
|
2694
|
+
id="expand-button"
|
|
2695
|
+
tabindex="0"
|
|
2696
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2697
|
+
>
|
|
2698
|
+
<svg viewbox="0 0 512 512"
|
|
2699
|
+
height="0.92em"
|
|
2700
|
+
width="0.92em"
|
|
2701
|
+
aria-hidden="true"
|
|
2702
|
+
focusable="false"
|
|
2703
|
+
fill="currentColor"
|
|
2704
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2705
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2706
|
+
>
|
|
2707
|
+
<path fill="currentColor"
|
|
2708
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2709
|
+
>
|
|
2710
|
+
</path>
|
|
2711
|
+
</svg>
|
|
2712
|
+
</button>
|
|
2713
|
+
</div>
|
|
2714
|
+
<div aria-hidden="true"
|
|
2715
|
+
class="rah-static rah-static--height-zero "
|
|
2716
|
+
style="height: 0px; overflow: hidden;"
|
|
2717
|
+
>
|
|
2718
|
+
<div style="display: none;">
|
|
2719
|
+
<div aria-labelledby="expand-button"
|
|
2720
|
+
id="mocked_id"
|
|
2721
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2722
|
+
>
|
|
2723
|
+
<button role="presentation"
|
|
2724
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2725
|
+
>
|
|
2726
|
+
<svg viewbox="0 0 512 512"
|
|
2727
|
+
height="0.92em"
|
|
2728
|
+
width="0.92em"
|
|
2729
|
+
aria-hidden="true"
|
|
2730
|
+
focusable="false"
|
|
2731
|
+
fill="currentColor"
|
|
2732
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2733
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2734
|
+
>
|
|
2735
|
+
<path fill="currentColor"
|
|
2736
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2737
|
+
>
|
|
2738
|
+
</path>
|
|
2739
|
+
</svg>
|
|
2740
|
+
</button>
|
|
2741
|
+
Custom messages about May 23, 2023 can be constructed dynamically using any markup.
|
|
2742
|
+
</div>
|
|
2743
|
+
</div>
|
|
2744
|
+
</div>
|
|
2745
|
+
</div>
|
|
2746
|
+
<div role="group"
|
|
2747
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2748
|
+
>
|
|
2749
|
+
<div role="presentation"
|
|
2750
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2751
|
+
>
|
|
2752
|
+
<svg viewbox="0 0 640 512"
|
|
2753
|
+
height="17"
|
|
2754
|
+
width="17"
|
|
2755
|
+
aria-hidden="true"
|
|
2756
|
+
focusable="false"
|
|
2757
|
+
fill="currentColor"
|
|
2758
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2759
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2760
|
+
>
|
|
2761
|
+
<path fill="currentColor"
|
|
2762
|
+
d="M352 288h-16v-88c0-4.42-3.58-8-8-8h-13.58c-4.74 0-9.37 1.4-13.31 4.03l-15.33 10.22a7.994 7.994 0 0 0-2.22 11.09l8.88 13.31a7.994 7.994 0 0 0 11.09 2.22l.47-.31V288h-16c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h64c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 192c-53.02 0-96-50.15-96-112 0-61.86 42.98-112 96-112s96 50.14 96 112c0 61.87-43 112-96 112zm272 32h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"
|
|
2763
|
+
>
|
|
2764
|
+
</path>
|
|
2765
|
+
</svg>
|
|
2766
|
+
</div>
|
|
2767
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2768
|
+
<span class="styled__Fare-sc-6q2ok2-5 dIDmTx">
|
|
2769
|
+
<span class="styled__TNCFare-sc-6q2ok2-7 fUCOeq">
|
|
2770
|
+
Pay
|
|
2771
|
+
<strong>
|
|
2772
|
+
$34.00-$37.00
|
|
2773
|
+
</strong>
|
|
2774
|
+
to
|
|
2775
|
+
<span class="styled__TNCFareCompanies-sc-6q2ok2-8 cEqxeU">
|
|
2776
|
+
uber
|
|
2777
|
+
</span>
|
|
2778
|
+
</span>
|
|
2779
|
+
</span>
|
|
2780
|
+
</div>
|
|
2781
|
+
<div aria-hidden="true"
|
|
2782
|
+
class="rah-static rah-static--height-zero "
|
|
2783
|
+
style="height: 0px; overflow: hidden;"
|
|
2784
|
+
>
|
|
2785
|
+
<div style="display: none;">
|
|
2786
|
+
<div aria-labelledby="expand-button"
|
|
2787
|
+
id="mocked_id"
|
|
2788
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2789
|
+
>
|
|
2790
|
+
<button role="presentation"
|
|
2791
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2792
|
+
>
|
|
2793
|
+
<svg viewbox="0 0 512 512"
|
|
2794
|
+
height="0.92em"
|
|
2795
|
+
width="0.92em"
|
|
2796
|
+
aria-hidden="true"
|
|
2797
|
+
focusable="false"
|
|
2798
|
+
fill="currentColor"
|
|
2799
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2800
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2801
|
+
>
|
|
2802
|
+
<path fill="currentColor"
|
|
2803
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2804
|
+
>
|
|
2805
|
+
</path>
|
|
2806
|
+
</svg>
|
|
2807
|
+
</button>
|
|
2808
|
+
</div>
|
|
2809
|
+
</div>
|
|
2810
|
+
</div>
|
|
2811
|
+
</div>
|
|
2812
|
+
<div role="group"
|
|
2813
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2814
|
+
>
|
|
2815
|
+
<div role="presentation"
|
|
2816
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2817
|
+
>
|
|
2818
|
+
<svg viewbox="0 0 512 512"
|
|
2819
|
+
height="17"
|
|
2820
|
+
width="17"
|
|
2821
|
+
aria-hidden="true"
|
|
2822
|
+
focusable="false"
|
|
2823
|
+
fill="currentColor"
|
|
2824
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2825
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2826
|
+
>
|
|
2827
|
+
<path fill="currentColor"
|
|
2828
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
2829
|
+
>
|
|
2830
|
+
</path>
|
|
2831
|
+
</svg>
|
|
2832
|
+
</div>
|
|
2833
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2834
|
+
Time Spent Active:
|
|
2835
|
+
<strong>
|
|
2836
|
+
2 minutes
|
|
2837
|
+
</strong>
|
|
2838
|
+
<button aria-label="Show details"
|
|
2839
|
+
aria-controls="mocked_id"
|
|
2840
|
+
aria-expanded="false"
|
|
2841
|
+
id="expand-button"
|
|
2842
|
+
tabindex="0"
|
|
2843
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2844
|
+
>
|
|
2845
|
+
<svg viewbox="0 0 512 512"
|
|
2846
|
+
height="0.92em"
|
|
2847
|
+
width="0.92em"
|
|
2848
|
+
aria-hidden="true"
|
|
2849
|
+
focusable="false"
|
|
2850
|
+
fill="currentColor"
|
|
2851
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2852
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2853
|
+
>
|
|
2854
|
+
<path fill="currentColor"
|
|
2855
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2856
|
+
>
|
|
2857
|
+
</path>
|
|
2858
|
+
</svg>
|
|
2859
|
+
</button>
|
|
2860
|
+
</div>
|
|
2861
|
+
<div aria-hidden="true"
|
|
2862
|
+
class="rah-static rah-static--height-zero "
|
|
2863
|
+
style="height: 0px; overflow: hidden;"
|
|
2864
|
+
>
|
|
2865
|
+
<div style="display: none;">
|
|
2866
|
+
<div aria-labelledby="expand-button"
|
|
2867
|
+
id="mocked_id"
|
|
2868
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2869
|
+
>
|
|
2870
|
+
<button role="presentation"
|
|
2871
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2872
|
+
>
|
|
2873
|
+
<svg viewbox="0 0 512 512"
|
|
2874
|
+
height="0.92em"
|
|
2875
|
+
width="0.92em"
|
|
2876
|
+
aria-hidden="true"
|
|
2877
|
+
focusable="false"
|
|
2878
|
+
fill="currentColor"
|
|
2879
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2880
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2881
|
+
>
|
|
2882
|
+
<path fill="currentColor"
|
|
2883
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2884
|
+
>
|
|
2885
|
+
</path>
|
|
2886
|
+
</svg>
|
|
2887
|
+
</button>
|
|
2888
|
+
Custom message about active minutes.
|
|
2889
|
+
</div>
|
|
2890
|
+
</div>
|
|
2891
|
+
</div>
|
|
2892
|
+
</div>
|
|
2893
|
+
<div role="group"
|
|
2894
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2895
|
+
>
|
|
2896
|
+
<div role="presentation"
|
|
2897
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
2898
|
+
>
|
|
2899
|
+
<svg viewbox="0 0 576 512"
|
|
2900
|
+
height="17"
|
|
2901
|
+
width="17"
|
|
2902
|
+
aria-hidden="true"
|
|
2903
|
+
focusable="false"
|
|
2904
|
+
fill="currentColor"
|
|
2905
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2906
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2907
|
+
>
|
|
2908
|
+
<path fill="currentColor"
|
|
2909
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
2910
|
+
>
|
|
2911
|
+
</path>
|
|
2912
|
+
</svg>
|
|
2913
|
+
</div>
|
|
2914
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
2915
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
2916
|
+
CO₂ Emitted:
|
|
2917
|
+
<strong>
|
|
2918
|
+
319g
|
|
2919
|
+
</strong>
|
|
2920
|
+
</span>
|
|
2921
|
+
<button aria-label="Show details"
|
|
2922
|
+
aria-controls="mocked_id"
|
|
2923
|
+
aria-expanded="false"
|
|
2924
|
+
id="expand-button"
|
|
2925
|
+
tabindex="0"
|
|
2926
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
2927
|
+
>
|
|
2928
|
+
<svg viewbox="0 0 512 512"
|
|
2929
|
+
height="0.92em"
|
|
2930
|
+
width="0.92em"
|
|
2931
|
+
aria-hidden="true"
|
|
2932
|
+
focusable="false"
|
|
2933
|
+
fill="currentColor"
|
|
2934
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2935
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2936
|
+
>
|
|
2937
|
+
<path fill="currentColor"
|
|
2938
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
2939
|
+
>
|
|
2940
|
+
</path>
|
|
2941
|
+
</svg>
|
|
2942
|
+
</button>
|
|
2943
|
+
</div>
|
|
2944
|
+
<div aria-hidden="true"
|
|
2945
|
+
class="rah-static rah-static--height-zero "
|
|
2946
|
+
style="height: 0px; overflow: hidden;"
|
|
2947
|
+
>
|
|
2948
|
+
<div style="display: none;">
|
|
2949
|
+
<div aria-labelledby="expand-button"
|
|
2950
|
+
id="mocked_id"
|
|
2951
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
2952
|
+
>
|
|
2953
|
+
<button role="presentation"
|
|
2954
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
2955
|
+
>
|
|
2956
|
+
<svg viewbox="0 0 512 512"
|
|
2957
|
+
height="0.92em"
|
|
2958
|
+
width="0.92em"
|
|
2959
|
+
aria-hidden="true"
|
|
2960
|
+
focusable="false"
|
|
2961
|
+
fill="currentColor"
|
|
2962
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2963
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
2964
|
+
>
|
|
2965
|
+
<path fill="currentColor"
|
|
2966
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
2967
|
+
>
|
|
2968
|
+
</path>
|
|
2969
|
+
</svg>
|
|
2970
|
+
</button>
|
|
2971
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
2972
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
2973
|
+
rel="noopener noreferrer"
|
|
2974
|
+
target="_blank"
|
|
2975
|
+
>
|
|
2976
|
+
this spreadsheet
|
|
2977
|
+
</a>
|
|
2978
|
+
.
|
|
2979
|
+
</div>
|
|
2980
|
+
</div>
|
|
2981
|
+
</div>
|
|
2982
|
+
</div>
|
|
2983
|
+
</div>
|
|
2984
|
+
</div>
|
|
2985
|
+
`;
|
|
2986
|
+
|
|
2987
|
+
exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
|
|
2988
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
2989
|
+
<h2 id="trip-details-header"
|
|
2990
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
2991
|
+
>
|
|
2992
|
+
Trip Details
|
|
2993
|
+
</h2>
|
|
2994
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
2995
|
+
<div role="group"
|
|
2996
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
2997
|
+
>
|
|
2998
|
+
<div role="presentation"
|
|
2999
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3000
|
+
>
|
|
3001
|
+
<svg viewbox="0 0 448 512"
|
|
3002
|
+
height="17"
|
|
3003
|
+
width="17"
|
|
3004
|
+
aria-hidden="true"
|
|
3005
|
+
focusable="false"
|
|
3006
|
+
fill="currentColor"
|
|
3007
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3008
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3009
|
+
>
|
|
3010
|
+
<path fill="currentColor"
|
|
3011
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
3012
|
+
>
|
|
3013
|
+
</path>
|
|
3014
|
+
</svg>
|
|
3015
|
+
</div>
|
|
3016
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3017
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
3018
|
+
Depart
|
|
3019
|
+
<strong>
|
|
3020
|
+
December 13, 2019
|
|
3021
|
+
</strong>
|
|
3022
|
+
at
|
|
3023
|
+
<strong>
|
|
3024
|
+
11:29 AM
|
|
3025
|
+
</strong>
|
|
3026
|
+
</span>
|
|
3027
|
+
</div>
|
|
3028
|
+
<div aria-hidden="true"
|
|
3029
|
+
class="rah-static rah-static--height-zero "
|
|
3030
|
+
style="height: 0px; overflow: hidden;"
|
|
3031
|
+
>
|
|
3032
|
+
<div style="display: none;">
|
|
3033
|
+
<div aria-labelledby="expand-button"
|
|
3034
|
+
id="mocked_id"
|
|
3035
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3036
|
+
>
|
|
3037
|
+
<button role="presentation"
|
|
3038
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3039
|
+
>
|
|
3040
|
+
<svg viewbox="0 0 512 512"
|
|
3041
|
+
height="0.92em"
|
|
3042
|
+
width="0.92em"
|
|
3043
|
+
aria-hidden="true"
|
|
3044
|
+
focusable="false"
|
|
3045
|
+
fill="currentColor"
|
|
3046
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3047
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3048
|
+
>
|
|
3049
|
+
<path fill="currentColor"
|
|
3050
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3051
|
+
>
|
|
3052
|
+
</path>
|
|
3053
|
+
</svg>
|
|
3054
|
+
</button>
|
|
3055
|
+
</div>
|
|
3056
|
+
</div>
|
|
3057
|
+
</div>
|
|
3058
|
+
</div>
|
|
3059
|
+
<div role="group"
|
|
3060
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
3061
|
+
>
|
|
3062
|
+
<div role="presentation"
|
|
3063
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3064
|
+
>
|
|
3065
|
+
<svg viewbox="0 0 512 512"
|
|
3066
|
+
height="17"
|
|
3067
|
+
width="17"
|
|
3068
|
+
aria-hidden="true"
|
|
3069
|
+
focusable="false"
|
|
3070
|
+
fill="currentColor"
|
|
3071
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3072
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3073
|
+
>
|
|
3074
|
+
<path fill="currentColor"
|
|
3075
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
3076
|
+
>
|
|
3077
|
+
</path>
|
|
3078
|
+
</svg>
|
|
3079
|
+
</div>
|
|
3080
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3081
|
+
Time Spent Active:
|
|
3082
|
+
<strong>
|
|
3083
|
+
1 minute
|
|
3084
|
+
</strong>
|
|
3085
|
+
<button aria-label="Show details"
|
|
3086
|
+
aria-controls="mocked_id"
|
|
3087
|
+
aria-expanded="false"
|
|
3088
|
+
id="expand-button"
|
|
3089
|
+
tabindex="0"
|
|
3090
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
3091
|
+
>
|
|
3092
|
+
<svg viewbox="0 0 512 512"
|
|
3093
|
+
height="0.92em"
|
|
3094
|
+
width="0.92em"
|
|
3095
|
+
aria-hidden="true"
|
|
3096
|
+
focusable="false"
|
|
3097
|
+
fill="currentColor"
|
|
3098
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3099
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3100
|
+
>
|
|
3101
|
+
<path fill="currentColor"
|
|
3102
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
3103
|
+
>
|
|
3104
|
+
</path>
|
|
3105
|
+
</svg>
|
|
3106
|
+
</button>
|
|
3107
|
+
</div>
|
|
3108
|
+
<div aria-hidden="true"
|
|
3109
|
+
class="rah-static rah-static--height-zero "
|
|
3110
|
+
style="height: 0px; overflow: hidden;"
|
|
3111
|
+
>
|
|
3112
|
+
<div style="display: none;">
|
|
3113
|
+
<div aria-labelledby="expand-button"
|
|
3114
|
+
id="mocked_id"
|
|
3115
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3116
|
+
>
|
|
3117
|
+
<button role="presentation"
|
|
3118
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3119
|
+
>
|
|
3120
|
+
<svg viewbox="0 0 512 512"
|
|
3121
|
+
height="0.92em"
|
|
3122
|
+
width="0.92em"
|
|
3123
|
+
aria-hidden="true"
|
|
3124
|
+
focusable="false"
|
|
3125
|
+
fill="currentColor"
|
|
3126
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3127
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3128
|
+
>
|
|
3129
|
+
<path fill="currentColor"
|
|
3130
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3131
|
+
>
|
|
3132
|
+
</path>
|
|
3133
|
+
</svg>
|
|
3134
|
+
</button>
|
|
3135
|
+
By taking this trip, you'll spend
|
|
3136
|
+
<strong>
|
|
3137
|
+
1 minute
|
|
3138
|
+
</strong>
|
|
3139
|
+
walking and
|
|
3140
|
+
<strong>
|
|
3141
|
+
0 minutes
|
|
3142
|
+
</strong>
|
|
3143
|
+
biking.
|
|
3144
|
+
</div>
|
|
3145
|
+
</div>
|
|
3146
|
+
</div>
|
|
3147
|
+
</div>
|
|
3148
|
+
<div role="group"
|
|
3149
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
3150
|
+
>
|
|
3151
|
+
<div role="presentation"
|
|
3152
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3153
|
+
>
|
|
3154
|
+
<svg viewbox="0 0 576 512"
|
|
3155
|
+
height="17"
|
|
3156
|
+
width="17"
|
|
3157
|
+
aria-hidden="true"
|
|
3158
|
+
focusable="false"
|
|
3159
|
+
fill="currentColor"
|
|
3160
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3161
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3162
|
+
>
|
|
3163
|
+
<path fill="currentColor"
|
|
3164
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
3165
|
+
>
|
|
3166
|
+
</path>
|
|
3167
|
+
</svg>
|
|
3168
|
+
</div>
|
|
3169
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3170
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
3171
|
+
CO₂ Emitted:
|
|
3172
|
+
<strong>
|
|
3173
|
+
1g
|
|
3174
|
+
</strong>
|
|
3175
|
+
</span>
|
|
3176
|
+
<button aria-label="Show details"
|
|
3177
|
+
aria-controls="mocked_id"
|
|
3178
|
+
aria-expanded="false"
|
|
3179
|
+
id="expand-button"
|
|
3180
|
+
tabindex="0"
|
|
3181
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
3182
|
+
>
|
|
3183
|
+
<svg viewbox="0 0 512 512"
|
|
3184
|
+
height="0.92em"
|
|
3185
|
+
width="0.92em"
|
|
3186
|
+
aria-hidden="true"
|
|
3187
|
+
focusable="false"
|
|
3188
|
+
fill="currentColor"
|
|
3189
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3190
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3191
|
+
>
|
|
3192
|
+
<path fill="currentColor"
|
|
3193
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
3194
|
+
>
|
|
3195
|
+
</path>
|
|
3196
|
+
</svg>
|
|
3197
|
+
</button>
|
|
3198
|
+
</div>
|
|
3199
|
+
<div aria-hidden="true"
|
|
3200
|
+
class="rah-static rah-static--height-zero "
|
|
3201
|
+
style="height: 0px; overflow: hidden;"
|
|
3202
|
+
>
|
|
3203
|
+
<div style="display: none;">
|
|
3204
|
+
<div aria-labelledby="expand-button"
|
|
3205
|
+
id="mocked_id"
|
|
3206
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3207
|
+
>
|
|
3208
|
+
<button role="presentation"
|
|
3209
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3210
|
+
>
|
|
3211
|
+
<svg viewbox="0 0 512 512"
|
|
3212
|
+
height="0.92em"
|
|
3213
|
+
width="0.92em"
|
|
3214
|
+
aria-hidden="true"
|
|
3215
|
+
focusable="false"
|
|
3216
|
+
fill="currentColor"
|
|
3217
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3218
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3219
|
+
>
|
|
3220
|
+
<path fill="currentColor"
|
|
3221
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3222
|
+
>
|
|
3223
|
+
</path>
|
|
3224
|
+
</svg>
|
|
3225
|
+
</button>
|
|
3226
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
3227
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
3228
|
+
rel="noopener noreferrer"
|
|
3229
|
+
target="_blank"
|
|
3230
|
+
>
|
|
3231
|
+
this spreadsheet
|
|
3232
|
+
</a>
|
|
3233
|
+
.
|
|
3234
|
+
</div>
|
|
3235
|
+
</div>
|
|
3236
|
+
</div>
|
|
3237
|
+
</div>
|
|
3238
|
+
</div>
|
|
3239
|
+
</div>
|
|
3240
|
+
`;
|
|
3241
|
+
|
|
3242
|
+
exports[`TripDetails WalkTransitWalkItinerary smoke-test 1`] = `
|
|
3243
|
+
<div class="styled__TripDetails-sc-6q2ok2-16 gXZRkS">
|
|
3244
|
+
<h2 id="trip-details-header"
|
|
3245
|
+
class="styled__TripDetailsHeader-sc-6q2ok2-18 bUkvmv"
|
|
3246
|
+
>
|
|
3247
|
+
Trip Details
|
|
3248
|
+
</h2>
|
|
3249
|
+
<div class="styled__TripDetailsBody-sc-6q2ok2-17 hnhjev">
|
|
3250
|
+
<div role="group"
|
|
3251
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
3252
|
+
>
|
|
3253
|
+
<div role="presentation"
|
|
3254
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3255
|
+
>
|
|
3256
|
+
<svg viewbox="0 0 448 512"
|
|
3257
|
+
height="17"
|
|
3258
|
+
width="17"
|
|
3259
|
+
aria-hidden="true"
|
|
3260
|
+
focusable="false"
|
|
3261
|
+
fill="currentColor"
|
|
3262
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3263
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3264
|
+
>
|
|
3265
|
+
<path fill="currentColor"
|
|
3266
|
+
d="M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"
|
|
3267
|
+
>
|
|
3268
|
+
</path>
|
|
3269
|
+
</svg>
|
|
3270
|
+
</div>
|
|
3271
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3272
|
+
<span class="styled__Timing-sc-6q2ok2-9 ecUkOx">
|
|
3273
|
+
Depart
|
|
3274
|
+
<strong>
|
|
3275
|
+
November 13, 2019
|
|
3276
|
+
</strong>
|
|
3277
|
+
at
|
|
3278
|
+
<strong>
|
|
3279
|
+
3:44 PM
|
|
3280
|
+
</strong>
|
|
3281
|
+
</span>
|
|
3282
|
+
</div>
|
|
3283
|
+
<div aria-hidden="true"
|
|
3284
|
+
class="rah-static rah-static--height-zero "
|
|
3285
|
+
style="height: 0px; overflow: hidden;"
|
|
3286
|
+
>
|
|
3287
|
+
<div style="display: none;">
|
|
3288
|
+
<div aria-labelledby="expand-button"
|
|
3289
|
+
id="mocked_id"
|
|
3290
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3291
|
+
>
|
|
3292
|
+
<button role="presentation"
|
|
3293
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3294
|
+
>
|
|
3295
|
+
<svg viewbox="0 0 512 512"
|
|
3296
|
+
height="0.92em"
|
|
3297
|
+
width="0.92em"
|
|
3298
|
+
aria-hidden="true"
|
|
3299
|
+
focusable="false"
|
|
3300
|
+
fill="currentColor"
|
|
3301
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3302
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3303
|
+
>
|
|
3304
|
+
<path fill="currentColor"
|
|
3305
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3306
|
+
>
|
|
3307
|
+
</path>
|
|
3308
|
+
</svg>
|
|
3309
|
+
</button>
|
|
3310
|
+
</div>
|
|
3311
|
+
</div>
|
|
3312
|
+
</div>
|
|
3313
|
+
</div>
|
|
3314
|
+
<div role="group"
|
|
3315
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
3316
|
+
>
|
|
3317
|
+
<div role="presentation"
|
|
3318
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3319
|
+
>
|
|
3320
|
+
<svg viewbox="0 0 512 512"
|
|
3321
|
+
height="17"
|
|
3322
|
+
width="17"
|
|
3323
|
+
aria-hidden="true"
|
|
3324
|
+
focusable="false"
|
|
3325
|
+
fill="currentColor"
|
|
3326
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3327
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3328
|
+
>
|
|
3329
|
+
<path fill="currentColor"
|
|
3330
|
+
d="m320.2 243.8-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"
|
|
3331
|
+
>
|
|
3332
|
+
</path>
|
|
3333
|
+
</svg>
|
|
3334
|
+
</div>
|
|
3335
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3336
|
+
Time Spent Active:
|
|
3337
|
+
<strong>
|
|
3338
|
+
2 minutes
|
|
3339
|
+
</strong>
|
|
3340
|
+
<button aria-label="Show details"
|
|
3341
|
+
aria-controls="mocked_id"
|
|
3342
|
+
aria-expanded="false"
|
|
3343
|
+
id="expand-button"
|
|
3344
|
+
tabindex="0"
|
|
3345
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
3346
|
+
>
|
|
3347
|
+
<svg viewbox="0 0 512 512"
|
|
3348
|
+
height="0.92em"
|
|
3349
|
+
width="0.92em"
|
|
3350
|
+
aria-hidden="true"
|
|
3351
|
+
focusable="false"
|
|
3352
|
+
fill="currentColor"
|
|
3353
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3354
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3355
|
+
>
|
|
3356
|
+
<path fill="currentColor"
|
|
3357
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
3358
|
+
>
|
|
3359
|
+
</path>
|
|
3360
|
+
</svg>
|
|
3361
|
+
</button>
|
|
3362
|
+
</div>
|
|
3363
|
+
<div aria-hidden="true"
|
|
3364
|
+
class="rah-static rah-static--height-zero "
|
|
3365
|
+
style="height: 0px; overflow: hidden;"
|
|
3366
|
+
>
|
|
3367
|
+
<div style="display: none;">
|
|
3368
|
+
<div aria-labelledby="expand-button"
|
|
3369
|
+
id="mocked_id"
|
|
3370
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3371
|
+
>
|
|
3372
|
+
<button role="presentation"
|
|
3373
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3374
|
+
>
|
|
3375
|
+
<svg viewbox="0 0 512 512"
|
|
3376
|
+
height="0.92em"
|
|
3377
|
+
width="0.92em"
|
|
3378
|
+
aria-hidden="true"
|
|
3379
|
+
focusable="false"
|
|
3380
|
+
fill="currentColor"
|
|
3381
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3382
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3383
|
+
>
|
|
3384
|
+
<path fill="currentColor"
|
|
3385
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3386
|
+
>
|
|
3387
|
+
</path>
|
|
3388
|
+
</svg>
|
|
3389
|
+
</button>
|
|
3390
|
+
By taking this trip, you'll spend
|
|
3391
|
+
<strong>
|
|
3392
|
+
2 minutes
|
|
3393
|
+
</strong>
|
|
3394
|
+
walking and
|
|
3395
|
+
<strong>
|
|
3396
|
+
0 minutes
|
|
3397
|
+
</strong>
|
|
3398
|
+
biking.
|
|
3399
|
+
</div>
|
|
3400
|
+
</div>
|
|
3401
|
+
</div>
|
|
3402
|
+
</div>
|
|
3403
|
+
<div role="group"
|
|
3404
|
+
class="styled__TripDetail-sc-6q2ok2-13 hRFCVg"
|
|
3405
|
+
>
|
|
3406
|
+
<div role="presentation"
|
|
3407
|
+
class="styled__TripDetailIcon-sc-6q2ok2-15 iOxUtJ"
|
|
3408
|
+
>
|
|
3409
|
+
<svg viewbox="0 0 576 512"
|
|
3410
|
+
height="17"
|
|
3411
|
+
width="17"
|
|
3412
|
+
aria-hidden="true"
|
|
3413
|
+
focusable="false"
|
|
3414
|
+
fill="currentColor"
|
|
3415
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3416
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3417
|
+
>
|
|
3418
|
+
<path fill="currentColor"
|
|
3419
|
+
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
|
|
3420
|
+
>
|
|
3421
|
+
</path>
|
|
3422
|
+
</svg>
|
|
3423
|
+
</div>
|
|
3424
|
+
<div class="styled__TripDetailSummary-sc-6q2ok2-19 jcPpES">
|
|
3425
|
+
<span class="styled__CO2Summary-sc-6q2ok2-3 cfRjsN">
|
|
3426
|
+
CO₂ Emitted:
|
|
3427
|
+
<strong>
|
|
3428
|
+
61g
|
|
3429
|
+
</strong>
|
|
3430
|
+
</span>
|
|
3431
|
+
<button aria-label="Show details"
|
|
3432
|
+
aria-controls="mocked_id"
|
|
3433
|
+
aria-expanded="false"
|
|
3434
|
+
id="expand-button"
|
|
3435
|
+
tabindex="0"
|
|
3436
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 ePjQmC iFnqoI"
|
|
3437
|
+
>
|
|
3438
|
+
<svg viewbox="0 0 512 512"
|
|
3439
|
+
height="0.92em"
|
|
3440
|
+
width="0.92em"
|
|
3441
|
+
aria-hidden="true"
|
|
3442
|
+
focusable="false"
|
|
3443
|
+
fill="currentColor"
|
|
3444
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3445
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3446
|
+
>
|
|
3447
|
+
<path fill="currentColor"
|
|
3448
|
+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
|
|
3449
|
+
>
|
|
3450
|
+
</path>
|
|
3451
|
+
</svg>
|
|
3452
|
+
</button>
|
|
3453
|
+
</div>
|
|
3454
|
+
<div aria-hidden="true"
|
|
3455
|
+
class="rah-static rah-static--height-zero "
|
|
3456
|
+
style="height: 0px; overflow: hidden;"
|
|
3457
|
+
>
|
|
3458
|
+
<div style="display: none;">
|
|
3459
|
+
<div aria-labelledby="expand-button"
|
|
3460
|
+
id="mocked_id"
|
|
3461
|
+
class="styled__TripDetailDescription-sc-6q2ok2-14 khgSHF"
|
|
3462
|
+
>
|
|
3463
|
+
<button role="presentation"
|
|
3464
|
+
class="styled__BaseButton-sc-6q2ok2-1 styled__HideButton-sc-6q2ok2-6 ePjQmC cbjQiE"
|
|
3465
|
+
>
|
|
3466
|
+
<svg viewbox="0 0 512 512"
|
|
3467
|
+
height="0.92em"
|
|
3468
|
+
width="0.92em"
|
|
3469
|
+
aria-hidden="true"
|
|
3470
|
+
focusable="false"
|
|
3471
|
+
fill="currentColor"
|
|
3472
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3473
|
+
class="StyledIconBase-ea9ulj-0 hPhvO"
|
|
3474
|
+
>
|
|
3475
|
+
<path fill="currentColor"
|
|
3476
|
+
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
3477
|
+
>
|
|
3478
|
+
</path>
|
|
3479
|
+
</svg>
|
|
3480
|
+
</button>
|
|
3481
|
+
CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
|
|
3482
|
+
<a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
|
|
3483
|
+
rel="noopener noreferrer"
|
|
3484
|
+
target="_blank"
|
|
3485
|
+
>
|
|
3486
|
+
this spreadsheet
|
|
3487
|
+
</a>
|
|
3488
|
+
.
|
|
3489
|
+
</div>
|
|
3490
|
+
</div>
|
|
3491
|
+
</div>
|
|
3492
|
+
</div>
|
|
3493
|
+
</div>
|
|
3494
|
+
</div>
|
|
3495
|
+
`;
|