1<#assign siteExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge() />
2<#assign new_restyle = (siteExpandoBridge.hasAttribute("new-restyle")?then(getterUtil.getBoolean(siteExpandoBridge.getAttribute("new-restyle", false)),false)) />
3<#assign Image = {} >
4<#assign ImageTl = {} >
5<#assign ImageTp = {} >
6<#assign ImageM = {} >
7<#if VideoInfo.Image.getData()?? && VideoInfo.Image.getData() != "">
8 <#assign Image = VideoInfo.Image >
9 <#if (VideoInfo.Image.ImageTl.getData())?? && VideoInfo.Image.ImageTl.getData() != "">
10 <#assign ImageTl = VideoInfo.Image.ImageTl >
11 </#if>
12 <#if (VideoInfo.Image.ImageTp.getData())?? && VideoInfo.Image.ImageTp.getData() != "">
13 <#assign ImageTp = VideoInfo.Image.ImageTp >
14 </#if>
15 <#if (VideoInfo.Image.ImageM.getData())?? && VideoInfo.Image.ImageM.getData() != "">
16 <#assign ImageM = VideoInfo.Image.ImageM >
17 </#if>
18</#if>
19<#macro renderTitle>
20 <#assign _html = htmlUtil.unescape(TextInfo.Title.getData())?interpret>
21 <@_html />
22</#macro>
23<#macro renderDesc>
24 <#assign _html = htmlUtil.unescape(TextInfo.Title.Description.getData())?interpret>
25 <@_html />
26</#macro>
27<#if new_restyle?? && new_restyle>
28 <@leonardo.articleInfo .vars "(I3) Video Launch"/>
29
30 <#macro videoBox yt canto video poster>
31
32 <div class="video-full-width-container-rounded">
33 <button
34 class="video-full-width"
35 title="play report video"
36 onclick="playSingleVideo(this)"
37 data-video="${video}"
38 >
39 <div class="cover rounded-20">
40 <#if VideoInfo.Image.getData()?? && VideoInfo.Image.getData() != "">
41 <#assign scalingDetails = {
42 "desktop": {"alternateImage": {}, "key": "w_768"},
43 "tl": {"alternateImage": ImageTl!, "key": "h_400"},
44 "tp": {"alternateImage": ImageTp!, "key": "w_720"},
45 "mobile": {"alternateImage": ImageM!, "key": "w_596"} }>
46 <#assign posterImg = leonardo.adaptImage(Image!, scalingDetails )>
47 <picture>
48 <source
49 srcset="${posterImg.mobile?replace(" ", "%20")!}"
50 media="(max-width: 576px)"
51 />
52 <source
53 srcset="${posterImg.tablet_portrait?replace(" ", "%20")!}"
54 media="(max-width: 768px)"
55 >
56 <source
57 srcset="${posterImg.tablet_landscape?replace(" ", "%20")!}"
58 media="(max-width: 1024px)"
59 >
60 <img class="img-fluid" alt="${posterImg.alt_desktop!}" src="${posterImg.desktop?replace(" ", "%20")!}" />
61 </picture>
62 </#if>
63
64 <div class="btn-play">
65 <img
66 class="icon"
67 src="${themeDisplay.getPathThemeImages()}/img/generic/button-play.svg"
68 alt="play"
69 />
70 <img
71 class="icon-hover"
72 src="${themeDisplay.getPathThemeImages()}/img/generic/button-play-hover.svg"
73 alt="play"
74 />
75 </div>
76 </div>
77 </button>
78 </div>
79 </#macro>
80
81 <#if VideoInfo.Video.getData() != "" || VideoInfo.YoutubeId.getData() != "" || VideoInfo.CantoUrl.getData() != "" >
82 <#assign scalingDetails = {
83 "desktop": {"alternateImage": {}, "key": "w_768"},
84 "tl": {"alternateImage": ImageTl!, "key": "h_400"},
85 "tp": {"alternateImage": ImageTp!, "key": "w_720"},
86 "mobile": {"alternateImage": ImageM!, "key": "w_596"} }>
87 <#assign posterImg = leonardo.adaptImage(Image!, scalingDetails )>
88
89 <#assign isYt = (VideoInfo.YoutubeId.getData() != "") >
90 <#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") >
91
92 <#if (VideoInfo.CantoUrl.getData())?has_content && VideoInfo.CantoUrl.getData() != "">
93 <#assign videoStr = VideoInfo.CantoUrl.getData()>
94 <#elseif VideoInfo.YoutubeId.getData() != "">
95 <#assign videoStr = VideoInfo.YoutubeId.getData()>
96 <#elseif VideoInfo.Video.getSiblings()?has_content>
97 <#assign videoStr = "">
98 <#list VideoInfo.Video.getSiblings() as cur_Video>
99 <#assign videoFile = cur_Video.getData()>
100 <#assign videoFileType = cur_Video.VideoType.options?first>
101 <#if videoStr?? && videoStr != "">
102 <#assign videoStr = videoStr + ",">
103 </#if>
104 <#assign videoStr = videoStr + "${themeDisplay.getPortalURL()}" + videoFile>
105 </#list>
106 </#if>
107
108 <!--Start Module: Plan Highlights-->
109 <div class="container-full-width padding-bottom padding-top">
110 <div class="container">
111 <div class="flex-grid-plus-cards video">
112 <div class="left <#if VideoInfo.ImagePosition.getData() == "right">order-lg-2</#if>">
113 <#if VideoInfo.YoutubeId.getData() != "">
114 <div class="video-full-width-container-rounded">
115 <#assign videoId = VideoInfo.YoutubeId.getData()>
116 <button
117 type="button"
118 class="video-full-width video-yt"
119 title="play report video"
120 data-video="${videoId}"
121 id="button-video-${videoId}"
122 >
123 <div class="cover rounded-20">
124 <#if VideoInfo.Image.getData()?? && VideoInfo.Image.getData() != "">
125 <#assign scalingDetails = {
126 "desktop": {"alternateImage": {}, "key": "w_768"},
127 "tl": {"alternateImage": ImageTl!, "key": "h_400"},
128 "tp": {"alternateImage": ImageTp!, "key": "w_720"},
129 "mobile": {"alternateImage": ImageM!, "key": "w_596"} }>
130 <#assign posterImg = leonardo.adaptImage(Image!, scalingDetails )>
131 <picture>
132 <source
133 srcset="${posterImg.mobile?replace(" ", "%20")!}"
134 media="(max-width: 576px)"
135 />
136 <source
137 srcset="${posterImg.tablet_portrait?replace(" ", "%20")!}"
138 media="(max-width: 768px)"
139 >
140 <source
141 srcset="${posterImg.tablet_landscape?replace(" ", "%20")!}"
142 media="(max-width: 1024px)"
143 >
144 <img class="img-fluid" alt="${posterImg.alt_desktop!}" src="${posterImg.desktop?replace(" ", "%20")!}" />
145 </picture>
146 </#if>
147
148 <div class="btn-play">
149 <img
150 class="icon"
151 src="${themeDisplay.getPathThemeImages()}/img/generic/button-play.svg"
152 alt="play"
153 />
154 <img
155 class="icon-hover"
156 src="${themeDisplay.getPathThemeImages()}/img/generic/button-play-hover.svg"
157 alt="play"
158 />
159 </div>
160 </div>
161 </button>
162 <div id="video-${videoId}" class="embed-responsive embed-responsive-16by9" style="display:none;">
163 <iframe
164 id="youtube-player-${videoId}"
165 width="100%"
166 height="100%"
167 frameborder="0"
168 allow="autoplay; fullscreen; encrypted-media"
169 allowfullscreen
170 playsinline
171 <#-- q1-2025-22 upgrade - check escape text fields-->
172 <#-- title="<#if TextInfo.Title.getData() != ''><@leonardo.escapeTitle title=TextInfo.Title.getData()/><#else>video youtube</#if>"-->
173 title="<#if TextInfo.Title.getData() != ''><@renderTitle/><#else>video youtube</#if>"
174 ></iframe>
175 </div>
176 </div>
177 <script>
178 (function() {
179 const button = document.getElementById("button-video-${videoId}");
180 const overlay = document.getElementById("video-${videoId}");
181 const iframe = document.getElementById("youtube-player-${videoId}");
182
183 button.addEventListener("click", function() {
184 const videoId = button.dataset.video;
185
186 iframe.src = "https://www.youtube.com/embed/" + videoId + "?autoplay=1&rel=0";
187 overlay.style.display = "block";
188 button.style.display = "none";
189 });
190 })();
191 </script>
192 <#else>
193 <@videoBox yt=isYt canto=isCanto video=videoStr poster=posterImg />
194 </#if>
195 </div>
196 <div class="right component-with-title">
197 <!--Start Module: Highlights Pitch-->
198 <div>
199 <#if TextInfo.Title.getData() != "" >
200 <p class="title title-regular">
201 <#-- q1-2025-22 upgrade - check escape text fields-->
202 <#-- <@leonardo.escapeTitle title=TextInfo.Title.getData()/>-->
203 <@renderTitle/>
204 </p>
205 </#if>
206 <#if TextInfo.Title.Description?? && TextInfo.Title.Description.getData() != "" >
207 <p class="description body-small">
208 <#-- q1-2025-22 upgrade - check escape text fields-->
209 <#-- <@leonardo.escapeTitle title=TextInfo.Title.Description.getData()/>-->
210 <@renderDesc/>
211 </p>
212 </#if>
213 </div>
214 <#if TextInfo.Title.Attach.getData() !=''>
215 <div class="card-interview centered download">
216 <#list TextInfo.Title.Attach.getSiblings() as node>
217 <#if TextInfo.Title.Attach?? && TextInfo.Title.Attach.getData() != "" && TextInfo.Title.Attach.Label.getData() != "">
218 <div class="card">
219 <a href="${TextInfo.Title.Attach.getData()}" target="_blank" class="label-regular" title="${TextInfo.Title.Attach.Label.getData()}">
220 <span>${TextInfo.Title.Attach.Label.getData()}</span>
221 </a>
222 </div>
223 </#if>
224 </#list>
225 </div>
226 </#if>
227 <#if Links?? && Links.getSiblings()?has_content>
228 <div class="flex flex-col gap-4">
229 <#list Links.getSiblings() as node>
230 <#assign url = "" />
231 <#if node.ExternalTargetURL?? && node.ExternalTargetURL.getData()?has_content && node.LinkText.getData()?has_content>
232 <#assign url = node.ExternalTargetURL.getData() />
233 </#if>
234 <#if node.LinkTargetPage?? && node.LinkTargetPage.getFriendlyUrl()?has_content && node.LinkText.getData()?has_content>
235 <#assign url = node.LinkTargetPage.getFriendlyUrl() />
236 </#if>
237 <#if url?has_content>
238 <a href="${url}" target="${node.LinkTargetOpenIn.getData()}" title="${node.LinkText.getData()}" class="card-text-arrow">
239 <p class="body-medium">${node.LinkText.getData()}</p>
240 </a>
241 </#if>
242 </#list>
243 </div>
244 </#if>
245 <!--End Module: Highlights Pitch-->
246 </div>
247 </div>
248 </div>
249 </div>
250 <!--End Module: Plan Highlights-->
251 <#else>
252 <!-- No video selected -->
253 </#if>
254<#else>
255 <@leonardo.articleInfo .vars "(I3) Video Launch"/>
256 <#assign rndNamespace = randomNamespace>
257 <#assign currentLayoutFriendlyURL = themeDisplay.getLayout().getFriendlyURL()?remove_beginning("/") />
258
259 <#if currentLayoutFriendlyURL == "home">
260 <#assign cssForTitle = "plan-highlights">
261 <#else>
262 <#assign cssForTitle = "plan-highlights--investors">
263 </#if>
264
265 <#macro downloadIcon>
266 <svg xmlns="http://www.w3.org/2000/svg" width="14" height="18" viewBox="0 0 14 18">
267 <path fill="#000" fill-rule="nonzero" d="M6.61 12.763l-2.145-2.24a.58.58 0 0 1 0-.796c.211-.22.551-.22.762 0l1.235 1.29V6.75c0-.31.24-.563.538-.563.297 0 .538.252.538.563v4.267l1.235-1.29c.21-.22.551-.22.762 0a.58.58 0 0 1 0 .796l-2.145 2.24a.526.526 0 0 1-.78 0zM12.62 18H1.383C.62 18 0 17.368 0 16.592V5.037c0-.49.19-.968.52-1.314L3.565.544A1.728 1.728 0 0 1 4.82 0h7.797C13.38 0 14 .631 14 1.407v15.186C14 17.37 13.38 18 12.619 18zM4.82 1.125a.682.682 0 0 0-.496.214L1.282 4.52a.755.755 0 0 0-.205.518v11.555c0 .156.137.283.306.283h11.235c.168 0 .305-.127.305-.282V1.407c0-.155-.137-.282-.305-.282H4.821zm-.783 4.5H2.154a.551.551 0 0 1-.539-.563c0-.31.242-.562.539-.562h1.884c.15 0 .27-.126.27-.281V2.25c0-.31.24-.563.538-.563.297 0 .539.252.539.563v1.969c0 .775-.605 1.406-1.347 1.406zm6.193 9.563H3.769a.55.55 0 0 1-.538-.563.55.55 0 0 1 .538-.563h6.462a.55.55 0 0 1 .538.563.55.55 0 0 1-.538.563z"/>
268 </svg>
269 </#macro>
270 <#macro videoBox yt canto video poster>
271 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
272 <div class="plan-highlights--wrapper">
273 <#if canto>
274 <div class="leo-video canto-video"
275 data-video-data='{
276 "showControls":true,
277 "videoSources":[
278 "${video}"
279 ],
280 "posters":{
281 "desktop":"${poster.desktop!}",
282 "tabletLandscape":"${poster.tablet_landscape!}",
283 "tabletPortrait":"${poster.tablet_portrait!}",
284 "mobile":"${poster.mobile!}"
285 }}'
286 data-img-url-d="${poster.desktop!}"
287 data-img-url-tl="${poster.tablet_landscape!}"
288 data-img-url-tp="${poster.tablet_portrait!}"
289 data-img-url-m="${poster.mobile!}">
290 </div>
291 <#elseif yt>
292 <div class="youtube-player-container "
293 data-video-id="${video}"
294 data-div-id = "${randomNamespace}${video}"
295 data-img-url-d="${poster.desktop!}"
296 data-img-url-tl="${poster.tablet_landscape!}"
297 data-img-url-tp="${poster.tablet_portrait!}"
298 data-img-url-m="${poster.mobile!}"
299 data-use-no-cookie-domain="true"
300 data-play-fullscreen="true"
301 data-video-controls="true"
302 tabindex="1">
303 <div class="youtube-player" id="${randomNamespace}${video}"></div>
304 </div>
305 <#else>
306 <div class="leo-video"
307 data-video-data="{
308 "showControls":true,
309 "videoSources":[
310 ${video}
311 ],
312 "posters":{
313 "desktop":"${poster.desktop!}",
314 "tabletLandscape":"${poster.tablet_landscape!}",
315 "tabletPortrait":"${poster.tablet_portrait!}",
316 "mobile":"${poster.mobile!}"
317 }}"
318 data-img-url-d="${poster.desktop!}"
319 data-img-url-tl="${poster.tablet_landscape!}"
320 data-img-url-tp="${poster.tablet_portrait!}"
321 data-img-url-m="${poster.mobile!}">
322 </div>
323 </#if>
324 </div>
325 </div>
326 </#macro>
327
328 <#if VideoInfo.Video.getData() != "" || VideoInfo.YoutubeId.getData() != "" || VideoInfo.CantoUrl.getData() != "" >
329
330 <#assign isLeft = (VideoInfo.ImagePosition?? && VideoInfo.ImagePosition.getData() != "" && !(VideoInfo.ImagePosition.getData())?contains("right")) >
331
332 <#assign scalingDetails = {
333 "desktop": {"alternateImage": {}, "key": "w_720"},
334 "tl": {"alternateImage": ImageTl!, "key": "h_695"},
335 "tp": {"alternateImage": ImageTp!, "key": "w_768"},
336 "mobile": {"alternateImage": ImageM!, "key": "w_375"}
337 }>
338 <#assign posterImg = leonardo.adaptImage(Image!, scalingDetails )>
339
340 <noscript>
341 <img src="${posterImg.desktop!}" alt='${posterImg.alt_desktop!}'>
342 <img src="${posterImg.tablet_landscape!}" alt='${posterImg.alt_tablet_landscape!}'>
343 <img src="${posterImg.tablet_portrait!}" alt='${posterImg.alt_tablet_portrait!}'>
344 <img src="${posterImg.mobile!}" alt='${posterImg.alt_mobile!}'>
345 </noscript>
346
347 <#assign isYt = (VideoInfo.YoutubeId.getData() != "") >
348 <#assign isCanto = (VideoInfo.CantoUrl.getData())?has_content && (VideoInfo.CantoUrl.getData() != "") >
349
350 <#if (VideoInfo.CantoUrl.getData())?has_content && VideoInfo.CantoUrl.getData() != "">
351 <#assign videoStr = VideoInfo.CantoUrl.getData()>
352 <#elseif VideoInfo.YoutubeId.getData() != "">
353 <#assign videoStr = VideoInfo.YoutubeId.getData()>
354 <#elseif VideoInfo.Video.getSiblings()?has_content>
355 <#assign videoStr = "">
356 <#list VideoInfo.Video.getSiblings() as cur_Video>
357 <#assign videoFile = cur_Video.getData()>
358 <#assign videoFileType = cur_Video.VideoType.options?first>
359 <#if videoStr?? && videoStr != "">
360 <#assign videoStr = videoStr + ",">
361 </#if>
362 <#assign videoStr = videoStr + "{"src":"" + videoFile + "","type":"" + videoFileType + ""}">
363 </#list>
364 </#if>
365
366 <!--Start Module: Plan Highlights-->
367 <div class="section-container section-container--fixed">
368 <#if TextInfo.Title.isAnchorEnabled?? && getterUtil.getBoolean(TextInfo.Title.isAnchorEnabled.getData())>
369 <#assign labelIsLeft = ((TextInfo.Title.isAnchorEnabled.AnchorText.LabelPosition.options?first)!"left") == "left">
370 <div class="section-grid layout--tp-col layout--m-col">
371 <#if !labelIsLeft >
372 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"></div>
373 </#if>
374 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
375 <!--Start Module: Goto-->
376 <#if TextInfo.Title.isAnchorEnabled.AnchorText.getData() != "" >
377 <a class='goto ${(!labelIsLeft)?then("goto--icon-left","")}' href="javascript:void(0)" title="Scroll to next section">${TextInfo.Title.isAnchorEnabled.AnchorText.getData()}<span class="icon--goto"></span></a>
378 </#if>
379 <!--End Module: Goto-->
380 </div>
381 <#if labelIsLeft>
382 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p"></div>
383 </#if>
384 </div>
385 </#if>
386 <div class="${cssForTitle}">
387 <div class="section-grid ${(!isLeft)?then('layout--tp-col-reverse layout--m-col-reverse','layout--tp-col layout--m-col')}">
388 <#if isLeft >
389 <@videoBox yt=isYt canto=isCanto video=videoStr poster=posterImg />
390 </#if>
391 <div class="grid grid--d50p grid--tl50p grid--tp100p grid--m100p">
392 <!--Start Module: Highlights Pitch-->
393 <div class="highlights-pitch">
394 <#if TextInfo.Title.getData() != "" >
395 <#if TextInfo.Title.isH1?? && getterUtil.getBoolean(TextInfo.Title.isH1.getData())>
396 <h1 class="highlights-pitch--title">
397 <#-- q1-2025-22 upgrade - check escape text fields-->
398 <#-- <@leonardo.escapeTitle title=TextInfo.Title.getData()/>-->
399 <@renderTitle/>
400 </h1>
401 <#else>
402 <h2 class="highlights-pitch--title">
403 <#-- q1-2025-22 upgrade - check escape text fields-->
404 <#-- <@leonardo.escapeTitle title=TextInfo.Title.getData()/>-->
405 <@renderTitle/>
406 </h2>
407 </#if>
408 <#if TextInfo.Title.Description?? && TextInfo.Title.Description.getData() != "" >
409 <p class="highlights-pitch--description">
410 <#-- q1-2025-22 upgrade - check escape text fields-->
411 <#-- <@leonardo.escapeTitle title=TextInfo.Title.Description.getData()/>-->
412 <@renderDesc/>
413 </p>
414 </#if>
415 </#if>
416 <#if TextInfo.Title.Attach?? && TextInfo.Title.Attach.getData() != "">
417 <div class="highlights-pitch--file-downloads">
418 <#list TextInfo.Title.Attach.getSiblings() as cur_file>
419 <#assign file_info = leonardo.findFileEntryInfo(cur_file.getData()) >
420 <div class="highlights-pitch--file">
421 <a class="file"
422 href="${file_info.downloadUrl}"
423 target="_blank">
424 <@downloadIcon />
425 <span class="highlights-pitch--file--filename">
426 ${(cur_file.Label.getData())!(file_info.title)!}
427 </span>
428 </a>
429 </div>
430 </#list>
431 </div>
432 </#if>
433 <#assign opened = false>
434
435 <#if Links?? && Links.getSiblings()?has_content>
436 <#list Links.getSiblings() as cur_Link>
437 <#assign targetUrl=leonardo.getTargetUrl(cur_Link.ExternalTargetURL, cur_Link.LinkTargetPage)!>
438 <#if targetUrl?has_content>
439 <#assign target=leonardo.getTarget(cur_Link.LinkTargetOpenIn!)!>
440 <#if opened = false>
441 <div class="section-hero-card--targets" >
442 <#assign opened = true>
443 </#if>
444 <div class="section-hero-card--target">
445 <a class="section-hero-card--target--link"
446 href="${targetUrl}"
447 target = "${target}"
448 <#if (target!"")?lower_case == "_blank"> rel="noopener noreferrer"</#if>
449 title="${cur_Link.LinkText.data!}" >
450 ${cur_Link.LinkText.data!}
451 <span class="icon--read-more"></span>
452 </a>
453 </div>
454 </#if>
455 </#list>
456 <#if opened>
457 </div>
458 </#if>
459 </#if>
460 </div>
461 <!--End Module: Highlights Pitch-->
462 </div>
463 <#if !isLeft >
464 <@videoBox yt=isYt canto=isCanto video=videoStr poster=posterImg />
465 </#if>
466 </div>
467 </div>
468 </div>
469 <!--End Module: Plan Highlights-->
470 <#else>
471 <!-- No video selected -->
472 </#if>
473</#if>