Une erreur s'est produite en traitant le calibre.
Error on line 445, column 9 in 20154#20194#HOOVER-MEGACONTENT
weightsMap[key] is undefined.
It cannot be assigned to value
1<#-- Services --> 
2<#assign dLFileEntryLocalService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService") /> 
3 
4<#-- Common variables --> 
5<#assign maxModulesPosition = 10 /> 
6<#assign CANDY_WS_ENDPOINT_BASE_URL = "https://orappl.candy.it/candyrest/service1.svc" /> 
7<#assign CANDY_HOOVER_CDN_BOOKLET_URL = "http://cdn.candy-hoover.com/hoover/static/custom/booklet" /> 
8<#assign CANDY_HOOVER_BRAND = "hoover" /> 
9 
10<#-- Assigning weights to each module--> 
11 
12<#assign weightsMap = {} /> 
13<#assign module1weightsMap = {} /> 
14<#assign module2weightsMap = {} /> 
15<#assign module3weightsMap = {} /> 
16<#assign module4weightsMap = {} /> 
17<#assign module5weightsMap = {} /> 
18<#assign module6weightsMap = {} /> 
19<#assign module7weightsMap = {} /> 
20<#assign module8weightsMap = {} /> 
21 
22<#assign anchorTitleMap = {} /> 
23 
24<#if heading??> 
25  <#if heading.headingWeight??> 
26    <#assign weight = heading.headingWeight.getData() /> 
27    <#if validator.isNotNull(weight)> 
28      <#assign weightKey = "headingWeight" /> 
29      <#assign weightsMap = weightsMap + { weightKey : weight} />      
30    </#if> 
31  </#if> 
32</#if> 
33 
34<#if module1Title?? && module1Title.getSiblings()?has_content> 
35  <#assign i = 0 /> 
36  <#list module1Title.getSiblings() as cur_module> 
37    <#if cur_module.weightT1??> 
38      <#assign weight = cur_module.weightT1.getData() /> 
39      <#assign i = i + 1 /> 
40      <#if validator.isNotNull(weight)> 
41        <#assign weightKey = "weightM1${i}" /> 
42        <#assign module1weightsMap = module1weightsMap + { weightKey : weight} />      
43      </#if> 
44    </#if> 
45    <#if cur_module.anchorTitleT1??> 
46      <#assign anchorTitle = cur_module.anchorTitleT1.getData() /> 
47      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
48        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
49        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
50      </#if> 
51    </#if> 
52  </#list> 
53</#if> 
54<#if validator.isNotNull(module1weightsMap)> 
55  <#assign weightsMap = weightsMap + module1weightsMap />  
56</#if> 
57 
58<#if module2Title?? && module2Title.getSiblings()?has_content> 
59  <#assign i = 0 /> 
60  <#list module2Title.getSiblings() as cur_module> 
61    <#if cur_module.weightT2??> 
62      <#assign weight = cur_module.weightT2.getData() /> 
63      <#assign i = i + 1 /> 
64      <#if validator.isNotNull(weight)> 
65        <#assign weightKey = "weightM2${i}" /> 
66        <#assign module2weightsMap = module2weightsMap + { weightKey : weight} />      
67      </#if> 
68    </#if> 
69    <#if cur_module.anchorTitleT2??> 
70      <#assign anchorTitle = cur_module.anchorTitleT2.getData() /> 
71      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
72        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
73        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
74      </#if> 
75    </#if> 
76  </#list> 
77</#if> 
78<#if validator.isNotNull(module2weightsMap)> 
79  <#assign weightsMap = weightsMap + module2weightsMap />  
80</#if> 
81 
82<#if module3Title?? && module3Title.getSiblings()?has_content> 
83  <#assign i = 0 /> 
84  <#list module3Title.getSiblings() as cur_module> 
85    <#if cur_module.weightT3??> 
86      <#assign weight = cur_module.weightT3.getData() /> 
87      <#assign i = i + 1 /> 
88      <#if validator.isNotNull(weight)> 
89        <#assign weightKey = "weightM3${i}" /> 
90        <#assign module3weightsMap = module3weightsMap + { weightKey : weight} />      
91      </#if> 
92    </#if> 
93    <#if cur_module.anchorTitleT3??> 
94      <#assign anchorTitle = cur_module.anchorTitleT3.getData() /> 
95      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
96        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
97        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
98      </#if> 
99    </#if> 
100  </#list> 
101</#if> 
102<#if validator.isNotNull(module3weightsMap)> 
103  <#assign weightsMap = weightsMap + module3weightsMap />  
104</#if> 
105 
106<#if module4Title?? && module4Title.getSiblings()?has_content> 
107  <#assign i = 0 /> 
108  <#list module4Title.getSiblings() as cur_module> 
109    <#if cur_module.weightT4??> 
110      <#assign weight = cur_module.weightT4.getData() /> 
111      <#assign i = i + 1 /> 
112      <#if validator.isNotNull(weight)> 
113        <#assign weightKey = "weightM4${i}" /> 
114        <#assign module4weightsMap = module4weightsMap + { weightKey : weight} />      
115      </#if> 
116    </#if> 
117    <#if cur_module.anchorTitleT4??> 
118      <#assign anchorTitle = cur_module.anchorTitleT4.getData() /> 
119      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
120        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
121        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
122      </#if> 
123    </#if> 
124  </#list> 
125</#if> 
126<#if validator.isNotNull(module4weightsMap)> 
127  <#assign weightsMap = weightsMap + module4weightsMap />  
128</#if> 
129 
130<#if module5Title?? && module5Title.getSiblings()?has_content> 
131  <#assign i = 0 /> 
132  <#list module5Title.getSiblings() as cur_module> 
133    <#if cur_module.weightT5??> 
134      <#assign weight = cur_module.weightT5.getData() /> 
135      <#assign i = i + 1 /> 
136      <#if validator.isNotNull(weight)> 
137        <#assign weightKey = "weightM5${i}" /> 
138        <#assign module5weightsMap = module5weightsMap + { weightKey : weight} />      
139      </#if> 
140    </#if> 
141    <#if cur_module.anchorTitleT5??> 
142      <#assign anchorTitle = cur_module.anchorTitleT5.getData() /> 
143      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
144        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
145        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
146      </#if> 
147    </#if> 
148  </#list> 
149</#if> 
150<#if validator.isNotNull(module5weightsMap)> 
151  <#assign weightsMap = weightsMap + module5weightsMap />  
152</#if> 
153 
154<#if module7Title?? && module7Title.getSiblings()?has_content> 
155  <#assign i = 0 /> 
156  <#list module7Title.getSiblings() as cur_module> 
157    <#if cur_module.weightT7??> 
158      <#assign weight = cur_module.weightT7.getData() /> 
159      <#assign i = i + 1 /> 
160      <#if validator.isNotNull(weight)> 
161        <#assign weightKey = "weightM7${i}" /> 
162        <#assign module7weightsMap = module7weightsMap + { weightKey : weight} />      
163      </#if> 
164    </#if> 
165  </#list> 
166</#if> 
167<#if validator.isNotNull(module7weightsMap)> 
168  <#assign weightsMap = weightsMap + module7weightsMap />  
169</#if> 
170 
171<#if module8Title?? && module8Title.getSiblings()?has_content> 
172  <#assign i = 0 /> 
173  <#list module8Title.getSiblings() as cur_module> 
174    <#if cur_module.weightT8??> 
175      <#assign weight = cur_module.weightT8.getData() /> 
176      <#assign i = i + 1 /> 
177      <#if validator.isNotNull(weight)> 
178        <#assign weightKey = "weightM8${i}" /> 
179        <#assign module8weightsMap = module8weightsMap + { weightKey : weight} />      
180      </#if> 
181    </#if> 
182    <#if cur_module.anchorTitleT8??> 
183      <#assign anchorTitle = cur_module.anchorTitleT8.getData() /> 
184      <#if validator.isNotNull(anchorTitle) && !cur_module.getData()?contains("[$$hide]")> 
185        <#assign anchorTitleValue = anchorTitle?lower_case?replace(" ", "-") /> 
186        <#assign anchorTitleMap = anchorTitleMap + {anchorTitle : anchorTitleValue}/> 
187      </#if> 
188    </#if> 
189  </#list> 
190</#if> 
191<#if validator.isNotNull(module8weightsMap)> 
192  <#assign weightsMap = weightsMap + module8weightsMap />  
193</#if> 
194 
195<#if module9Title??> 
196  <#if module9Title.weightT9??> 
197    <#assign weight = module9Title.weightT9.getData() /> 
198    <#if validator.isNotNull(weight)> 
199      <#assign weightKey = "weightM9" /> 
200      <#assign weightsMap = weightsMap + { weightKey : weight} />     
201    </#if> 
202  </#if> 
203</#if> 
204 
205<#if module10Title??> 
206  <#if module10Title.weightT10??> 
207    <#assign weight = module10Title.weightT10.getData() /> 
208    <#if validator.isNotNull(weight)> 
209      <#assign weightKey = "weightM10${i}" /> 
210      <#assign weightsMap = weightsMap + { weightKey : weight} />      
211    </#if> 
212</#if> 
213</#if> 
214 
215<#assign keys = weightsMap?keys /> 
216<#assign mapSize = 0 /> 
217<#list keys as key> 
218  <#assign mapSize = keys?size /> 
219</#list> 
220 
221<#-- Starting to show all the modules, according to their weights --> 
222<#assign pagePosition = 0 /> 
223 
224<#-- Start if-pagePosition --> 
225<#if pagePosition < mapSize > 
226  <#-- Starting list-maxModulesPosition --> 
227   
228  <#assign counter=0 /> 
229  <#list 0..20 as position> 
230     
231    <#-- Heading --> 
232     
233    <#if heading?? && validator.isNotNull(heading.getData())> 
234      <#assign key = "headingWeight"> 
235      <#assign value = weightsMap[key]> 
236      <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
237        <#assign headingTitle = heading.getData() /> 
238        <#assign background = "" /> 
239        <#if heading.headingBackground??> 
240          <#assign background = heading.headingBackground.getData() /> 
241        </#if> 
242        <#assign bottomMargin = "" /> 
243        <#if heading.headingMargin??> 
244          <#assign bottomMargin = heading.headingMargin.getData() /> 
245        </#if> 
246        <#assign hideHeading = "" /> 
247        <#if heading.hideHeading??> 
248          <#assign hideHeading = heading.hideHeading.getData() /> 
249        </#if> 
250        <#assign subtitle = "" /> 
251        <#if heading.headingSubtitle??> 
252          <#assign subtitle = heading.headingSubtitle.getData() /> 
253        </#if> 
254         
255        <div class="vgg ${background} <#if validator.isNotNull(hideHeading) && (hideHeading == "true")>visuallyhidden</#if>"> 
256          <div class="vgg__container vgg__container--wrapper"> 
257            <div class="editorial-intro <#if validator.isNotNull(bottomMargin) && (bottomMargin == "true")>slim-padding</#if>"> 
258              <div class="editorial-intro__text"> 
259                <div class="editorial-text"> 
260                  <h1 class="title-a text-center">${headingTitle}</h1> 
261                  <#if validator.isNotNull(subtitle)> 
262                    <p class="text-center"> 
263                      ${subtitle} 
264                    </p> 
265                  </#if> 
266                </div> 
267              </div> 
268            </div> 
269          </div> 
270        </div> 
271      </#if>  <#-- Ending if-value=pagePosition --> 
272    </#if> 
273     
274    <#-- Module Type 1 --> 
275     
276    <#if module1Title?? && module1Title.getSiblings()?has_content>  <#-- Starting if-module1Title?has_content --> 
277      <#assign module1Count = 0> 
278      <#list module1Title.getSiblings() as modul> <#-- Starting list-module1Title.getSiblings --> 
279         
280        <#assign module1Count = module1Count + 1> 
281        <#assign key = "weightM1${module1Count}"> 
282        <#assign value = weightsMap[key]> 
283         
284        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
285           
286          <@module1Show module1=modul/>  
287 
288        </#if>  <#-- Ending if-value=pagePosition --> 
289         
290      </#list>  <#-- Ending list-module1Title.getSiblings --> 
291    </#if>  <#-- Ending if-module1Title?has_content --> 
292     
293     
294    <#-- Module Type 2 --> 
295     
296    <#if module2Title?? && module2Title.getSiblings()?has_content>  <#-- Starting if-module2Title?has_content --> 
297      <#assign module2Count = 0> 
298       
299      <#list module2Title.getSiblings() as modul> <#-- Starting list-module2Title.getSiblings --> 
300         
301        <#assign module2Count = module2Count + 1> 
302        <#assign key = "weightM2${module2Count}"> 
303        <#assign value = weightsMap[key]> 
304         
305        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
306           
307           
308          <@module2Show module2=modul /> 
309 
310        </#if>  <#-- Ending if-value=pagePosition --> 
311         
312      </#list>  <#-- Ending list-module1Title.getSiblings --> 
313    </#if>  <#-- Ending if-module1Title?has_content --> 
314     
315     
316    <#-- Module Type 3 --> 
317    <#if module3Title?? && module3Title.getSiblings()?has_content>  <#-- Starting if-module3Title?has_content --> 
318      <#assign module3Count = 0> 
319       
320      <#list module3Title.getSiblings() as module3> <#-- Starting list-module3Title.getSiblings --> 
321         
322        <#assign module3Count = module3Count + 1> 
323        <#assign key = "weightM3${module3Count}"> 
324        <#assign value = weightsMap[key]> 
325         
326        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
327           
328          <@module3Show module3=module3 /> 
329 
330        </#if>  <#-- Ending if-value=pagePosition --> 
331         
332      </#list>  <#-- Ending list-module1Title.getSiblings --> 
333    </#if>  <#-- Ending if-module1Title?has_content --> 
334     
335     
336    <#-- Module Type 4 --> 
337     
338    <#if module4Title?? && module4Title.getSiblings()?has_content>  <#-- Starting if-module4Title?has_content --> 
339      <#assign module4Count = 0> 
340       
341      <#list module4Title.getSiblings() as module4> <#-- Starting list-module4Title.getSiblings --> 
342         
343        <#assign module4Count = module4Count + 1> 
344        <#assign key = "weightM4${module4Count}"> 
345        <#assign value = weightsMap[key]> 
346         
347        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
348           
349          
350          
351          <@module4Show module4=module4 /> 
352 
353                    
354        </#if>  <#-- Ending if-value=pagePosition --> 
355         
356      </#list>  <#-- Ending list-module1Title.getSiblings --> 
357    </#if>  <#-- Ending if-module1Title?has_content --> 
358     
359     
360    <#-- Module Type 5 --> 
361    <#if module5Title?? && module5Title.getSiblings()?has_content>  <#-- Starting if-module5Title?has_content --> 
362      <#assign module5Count = 0> 
363           
364      <#list module5Title.getSiblings() as module5> <#-- Starting list-module5Title.getSiblings --> 
365         
366        <#assign module5Count = module5Count + 1> 
367        <#assign key = "weightM5${module5Count}"> 
368        <#assign value = weightsMap[key]> 
369         
370        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
371         
372        <@module5Show module5=module5 /> 
373 
374        </#if>    <#-- Ending if-value=pagePosition --> 
375      </#list>  <#-- Ending list-module5Title.getSiblings() --> 
376    </#if>  <#-- Ending if-module5Title?has_content --> 
377     
378     
379    <#-- Module Type 6 --> 
380    <#-- TODO --> 
381     
382    <#-- Module Type 7 --> 
383    <#if module7Title?? && module7Title.getSiblings()?has_content>  <#-- Starting if-module7Title?has_content --> 
384      <#assign module7Count = 0> 
385       
386      <#list module7Title.getSiblings() as module7> <#-- Starting list-module7Title.getSiblings --> 
387         
388        <#assign module7Count = module7Count + 1> 
389        <#assign key = "weightM7${module7Count}"> 
390        <#assign value = weightsMap[key]> 
391         
392        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
393           
394        <@module7Show module7=module7 /> 
395 
396        </#if>  <#-- Ending if-value=pagePosition --> 
397      </#list>  <#-- Ending list-module1Title.getSiblings --> 
398    </#if>  <#-- Ending if-module1Title?has_content -->   
399     
400    <#-- Module Type 8 --> 
401    <#if module8Title?? && module8Title.getSiblings()?has_content>  <#-- Starting if-module8Title?has_content --> 
402      <#assign module8Count = 0> 
403       
404      <#list module8Title.getSiblings() as module8> <#-- Starting list-module8Title.getSiblings --> 
405         
406        <#assign module8Count = module8Count + 1> 
407        <#assign key = "weightM8${module8Count}"> 
408        <#assign value = weightsMap[key]> 
409         
410        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
411           
412        <@module8Show module8=module8 /> 
413 
414        </#if>  <#-- Ending if-value=pagePosition --> 
415         
416      </#list>  <#-- Ending list-module1Title.getSiblings --> 
417    </#if>  <#-- Ending if-module1Title?has_content --> 
418      
419      
420    <#-- Module Type 9 - Newsletter --> 
421    <#if module9Title?? && module9Title.getSiblings()?has_content && validator.isNotNull(module9Title.getData())>  <#-- Starting if-module9Title?has_content --> 
422       
423      <#list module9Title.getSiblings() as module9> <#-- Starting list-module9Title.getSiblings --> 
424         
425        <#assign key = "weightM9"> 
426        <#assign value = weightsMap[key]> 
427         
428        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
429           
430      		  <@module9Show module9=module9 />  
431         </#if>  <#-- Ending if-value=pagePosition --> 
432         
433      </#list>  <#-- Ending list-module9Title.getSiblings --> 
434    </#if>  <#-- Ending if-module9Title?has_content --> 
435     
436     
437        <#-- Module Type 10 - Find code --> 
438    <#if module10Title??>  <#-- Starting if-module10Title?? --> 
439      <#assign module10Count = 0> 
440       
441      <#list module10Title.getSiblings() as module10> <#-- Starting list-module10Title.getSiblings --> 
442         
443        <#assign module10Count = module10Count + 1> 
444        <#assign key = "weightM10${module10Count}"> 
445        <#assign value = weightsMap[key]> 
446         
447        <#if value?number == (pagePosition + 1) > <#-- Starting if-value=pagePosition --> 
448           
449      		  <@module10Show module10=module10 /> 
450        </#if>  <#-- Ending if-value=pagePosition --> 
451         
452      </#list>  <#-- Ending list-module9Title.getSiblings --> 
453    </#if>  <#-- Ending if-module10Title?? --> 
454      
455      
456    <#assign pagePosition = pagePosition + 1> 
457  </#list> 
458   
459   
460   
461  	<#macro module1Show module1> 
462  	 
463  	 <#assign title = module1.getData() /> 
464          <#assign moduleShow = "show"/> 
465          <#if validator.isNotNull(title) && title?contains("[$$") > 
466            <#assign showSpittedArray = title?split("[$$")/> 
467            <#assign title = showSpittedArray[0]/> 
468            <#if showSpittedArray?size &gt; 1> 
469              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
470              <#assign moduleShow = "${moduleShow[0]}" /> 
471            </#if> 
472          </#if> 
473           
474          <#if moduleShow == "show"> 
475             
476            <#assign anchorTitleLink = "" /> 
477            <#if module1.anchorTitleT1??> 
478              <#if validator.isNotNull(module1.anchorTitleT1.getData())> 
479                <#assign anchorKey = module1.anchorTitleT1.getData() /> 
480                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
481              </#if> 
482            </#if> 
483           
484            <#assign background = module1.backgroundT1.getData() /> 
485            <#assign width = module1.widthT1.getData() /> 
486            <#assign abstract = module1.abstractT1.getData() /> 
487            <#assign image = module1.imageT1.getData() /> 
488            <#assign imageLink = module1.imageT1.imageLinkT1.getData() /> 
489            <#assign imageLinkSpittedArray = imageLink?split("[$$")/> 
490            <#assign imageLink = imageLinkSpittedArray[0]/> 
491            <#assign imgTarget = "" /> 
492            <#if imageLinkSpittedArray?size &gt; 1> 
493              <#assign imgTarget = imageLinkSpittedArray[1]?split("]")/> 
494              <#assign imgTarget = "target=\"${imgTarget[0]}\"" /> 
495            </#if> 
496            <#assign imageAlt = module1.imageT1.imageAltT1.getData() /> 
497            <#assign video = module1.videoT1.getData() /> 
498            <#assign ctaLabel = module1.labelT1.getData() /> 
499            <#assign ctaLink = module1.labelT1.linkT1.getData() /> 
500            <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
501            <#assign ctaLink = ctaLinkSpittedArray[0]/> 
502            <#assign ctaTarget = "" /> 
503            <#if ctaLinkSpittedArray?size &gt; 1> 
504              <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
505              <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
506            </#if> 
507            <#assign ctaLook = module1.labelT1.lookT1.getData() /> 
508             
509            <div class="vgg ${background}"> 
510              <div class="vgg__container ${width}"> 
511                <div ${anchorTitleLink} class="editorial-intro"> 
512                  <#if (title?? && validator.isNotNull(title)) || (abstract?? && validator.isNotNull(abstract))> 
513                    <div class="editorial-intro__text"> 
514                      <div class="editorial-text"> 
515                        <#if title?? && validator.isNotNull(title)> 
516                          <h2>${title}</h2> 
517                        </#if>   
518               
519                        <#if abstract?? && validator.isNotNull(abstract)> 
520                        <p>${abstract}</p> 
521                        </#if>   
522                      </div>  <#-- end-editorial-text --> 
523                    </div>  <#-- end-editorial-intro__text --> 
524                     
525                     
526                        
527             <#assign counter=counter+1 /> 
528            <@showAnchor conditionToShow=counter/>  
529             
530                     
531                  </#if> 
532                  <#assign link = ""/> 
533                  <#if video?? && validator.isNotNull(video)> 
534                    <a class="editorial-intro__cover is-video js-modal-video" 
535                      href="https://www.youtube.com/watch?v=${video}"> 
536                      <img alt="${imageAlt}" src="${image}" /> 
537                    </a> 
538                     
539                  <#elseif image?? && validator.isNotNull(image)> 
540                    <#if imageLink?? && validator.isNotNull(imageLink)> 
541                      <#assign link = "href=\"${imageLink}\"" /> 
542                    </#if> 
543                    <a class="editorial-intro__cover" ${link} ${imgTarget}> 
544                      <img alt="${imageAlt}" src="${image}" />  <#-- end-editorial-intro__cover --> 
545                    </a> 
546                  </#if> 
547                   
548                  <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))> 
549                    <a class="editorial-intro__cta ${ctaLook}" href="${ctaLink}" ${ctaTarget}> 
550                      <div class="button__wrapper"> 
551                        <div class="button__inner"> 
552                          <span>${ctaLabel}</span> 
553                        </div>  <#-- end-button__wrapper --> 
554                      </div>  <#-- end-button__inner --> 
555                    </a> 
556                  </#if> 
557                </div>  <#-- end-editorial-intro --> 
558              </div>  <#-- end-vgg__container --> 
559            </div> <#-- end-vgg --> 
560          
561          </#if>  <#-- Ending if-moduleShow=show --> 
562  	 
563  	</#macro>  
564  	 
565  	 
566  	<#macro module2Show module2> 
567  	 
568  	 
569          <#assign title = module2.getData() /> 
570          <#assign moduleShow = "show"/> 
571          <#if validator.isNotNull(title) && title?contains("[$$") > 
572            <#assign showSpittedArray = title?split("[$$")/> 
573            <#assign title = showSpittedArray[0]/> 
574            <#if showSpittedArray?size &gt; 1> 
575              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
576              <#assign moduleShow = "${moduleShow[0]}" /> 
577            </#if> 
578          </#if> 
579           
580          <#if moduleShow == "show"> 
581            <#assign anchorTitleLink = "" /> 
582            <#if module2.anchorTitleT2??> 
583              <#if validator.isNotNull(module2.anchorTitleT2.getData())> 
584                <#assign anchorKey = module2.anchorTitleT2.getData() /> 
585                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
586              </#if> 
587            </#if> 
588             
589            <#assign background = module2.backgroundT2.getData() /> 
590            <#assign width = module2.widthT2.getData() /> 
591            <#assign text = module2.textT2.getData() /> 
592            <#assign ctaLabel = module2.labelT2.getData() /> 
593            <#assign ctaLink = module2.labelT2.linkT2.getData() /> 
594            <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
595            <#assign ctaLink = ctaLinkSpittedArray[0]/> 
596            <#assign ctaTarget = "" /> 
597            <#if ctaLinkSpittedArray?size &gt; 1> 
598              <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
599              <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
600            </#if> 
601            <#assign ctaLook = module2.labelT2.lookT2.getData() /> 
602             
603            <#if text?? && validator.isNotNull(text)> <#-- Starting if-validator.isNotNull(text) --> 
604              <div class="vgg ${background}"> 
605                <div class="vgg__container ${width}"> 
606                  <div ${anchorTitleLink} class="editorial-standard"> 
607                    <div class="editorial-standard__text"> 
608                      <div class="editorial-text"> 
609                        ${text} 
610                      </div>  <#-- end-editorial-text --> 
611                    </div>  <#-- end-editorial-standard__text --> 
612               
613                    <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))> 
614                      <a class="editorial-intro__cta ${ctaLook}" href="${ctaLink}" ${ctaTarget}> 
615                        <div class="button__wrapper"> 
616                          <div class="button__inner"> 
617                              <span>${ctaLabel}</span> 
618                          </div>  <#-- end-button__wrapper --> 
619                        </div>  <#-- end-button__inner --> 
620                      </a> 
621                    </#if> 
622                     
623                  </div>  <#-- end-editorial-standard --> 
624                </div>  <#-- end-vgg__container --> 
625              </div>  <#-- end-vgg --> 
626               
627               <#assign counter =counter+1/> 
628            <@showAnchor conditionToShow=counter/>  
629               
630            </#if>  <#-- Ending if-validator.isNotNull(text) --> 
631             
632             
633             
634          </#if> <#-- Ending if-moduleShow=show --> 
635         
636  	 
637  	</#macro> 
638   
639    <#macro module3Show module3>     
640           
641          <#assign title = module3.getData() /> 
642          <#assign moduleShow = "show"/> 
643          <#if validator.isNotNull(title) && title?contains("[$$") > 
644            <#assign showSpittedArray = title?split("[$$")/> 
645            <#assign title = showSpittedArray[0]/> 
646            <#if showSpittedArray?size &gt; 1> 
647              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
648              <#assign moduleShow = "${moduleShow[0]}" /> 
649            </#if> 
650          </#if> 
651           
652          <#if moduleShow == "show"> 
653           
654            <#assign anchorTitleLink = "" /> 
655            <#if module3.anchorTitleT3??> 
656              <#if validator.isNotNull(module3.anchorTitleT3.getData())> 
657                <#assign anchorKey = module3.anchorTitleT3.getData() /> 
658                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
659              </#if> 
660            </#if> 
661             
662            <#assign background = module3.backgroundT3.getData() /> 
663            <#assign width = module3.widthT3.getData() /> 
664            <#assign slidesNum = module3.slidesNumT3.getData() />  
665             
666            <#if module3.slideTextT3?? && module3.slideTextT3.getSiblings()?has_content> 
667              <#-- <#if (slideTexts.getSiblings()?size > 1) && (slideTexts.getSiblings()?size < 6)> --> 
668               
669              <#if module3.slideTextT3.getSiblings()?size == slidesNum?number > 
670                 
671                <#assign slideHiddenCount = 0 /> 
672                <#if module3.slideTextT3?? && module3.slideTextT3.getSiblings()?has_content> 
673                  <#list module3.slideTextT3.getSiblings() as slideText> 
674                    <#if validator.isNotNull(slideText.getData()) && slideText.getData()?contains("[$$hide]") > 
675                      <#assign slideHiddenCount = slideHiddenCount + 1 /> 
676                    </#if>                    
677                  </#list> 
678                </#if> 
679                 
680                <#if slideHiddenCount != slidesNum?number>  <#-- Starting if-slideHiddenCount --> 
681                  <div class="vgg ${background}"> 
682                    <div class="vgg__container ${width}"> 
683 
684                      <div ${anchorTitleLink} class="editorial-dynamic"> 
685                        <div class="editorial-dynamic__wrapper"> 
686                         
687                          <#if module3.slideTextT3?? && module3.slideTextT3.getSiblings()?has_content>                          
688                            <#list module3.slideTextT3.getSiblings() as slideText> 
689                               
690                              <#assign text = slideText.getData() /> 
691                              <#assign slideShow = "show"/> 
692                              <#if validator.isNotNull(text) && text?contains("[$$") > 
693                                <#assign slideShowSpittedArray = text?split("[$$")/> 
694                                <#assign text = slideShowSpittedArray[0]/> 
695                                <#if slideShowSpittedArray?size &gt; 1> 
696                                  <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
697                                  <#assign slideShow = "${moduleShow[0]}" /> 
698                                </#if> 
699                              </#if> 
700                               
701                              <#if slideShow == "show"> 
702                               
703                                <#assign images = slideText.imageT3 /> 
704                                <#assign videos = slideText.videoT3 /> 
705                                <#assign ctaLabel = slideText.labelT3.getData() /> 
706                                <#assign ctaLink = slideText.labelT3.linkT3.getData() /> 
707                                <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
708                                <#assign ctaLink = ctaLinkSpittedArray[0]/> 
709                                <#assign ctaTarget = "" /> 
710                                <#if ctaLinkSpittedArray?size &gt; 1> 
711                                  <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
712                                  <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
713                                </#if> 
714                                <#assign ctaLook = slideText.labelT3.lookT3.getData() /> 
715                                   
716                                <div class="editorial-dynamic__item"> 
717                                 
718                                  <#if images.getSiblings()?has_content || videos.getSiblings()?has_content> 
719                                    <div class="editorial-dynamic__slider"> 
720                                      <div class="swiper-container"> 
721                                       
722                                        <div class="swiper-wrapper"> 
723                                         
724                                          <#if images?? && images.getSiblings()?has_content && validator.isNotNull(images.getData())> 
725                                            <#list images.getSiblings() as image> 
726                                              <#assign imageLink = image.imageLinkT3.getData() /> 
727                                              <#assign imageLinkSpittedArray = imageLink?split("[$$")/> 
728                                              <#assign imageLink = imageLinkSpittedArray[0]/> 
729                                              <#assign imgTarget = "" /> 
730                                              <#if imageLinkSpittedArray?size &gt; 1> 
731                                                <#assign imgTarget = imageLinkSpittedArray[1]?split("]")/> 
732                                                <#assign imgTarget = "target=\"${imgTarget[0]}\"" /> 
733                                              </#if> 
734                                              <#assign imageAlt = image.imageAltT3.getData() /> 
735                                              <#assign link = "" /> 
736                                              <#if imageLink?? && validator.isNotNull(imageLink)> 
737                                                <#assign link = "href=\"${imageLink}\"" /> 
738                                              </#if> 
739                                              <a class="swiper-slide" ${link} ${imgTarget}> 
740                                                <img alt="${imageAlt}" src="${image.getData()}" />  
741                                              </a> <#-- end swiper-slide --> 
742                                            </#list> 
743                                          </#if> 
744                                           
745                                          <#if videos.getSiblings()?has_content> 
746                                            <#list videos.getSiblings() as video> 
747                                              <#assign cover = video.coverT3 /> 
748                                              <#assign coverAlt = cover.coverAltT3.getData() /> 
749                                              <#if validator.isNotNull(video.getData()) && (cover?? && validator.isNotNull(cover.getData()))> 
750                                                <a class="swiper-slide editorial-dynamic__slider__video js-modal-video" href="https://www.youtube.com/watch?v=${video.getData()}"> 
751                                                  <img alt="${coverAlt}" src="${cover.getData()}" />  
752                                                </a>  <#-- end swiper-slide --> 
753                                              </#if> 
754                                            </#list> 
755                                          </#if> 
756                                         
757                                        </div>  <#-- end swiper-wrapper --> 
758                                         
759                                        <div class="swiper-pagination">&nbsp;</div> 
760                                         
761                                      </div>  <#-- end swiper-container --> 
762                                    </div>  <#-- end editorial-dynamic__slider --> 
763                                  </#if> 
764                         
765                                  <div class="editorial-dynamic__text"> 
766                                    <div class="editorial-text"> 
767                                      ${slideText.getData()} 
768                                    </div> 
769                                  </div>  <#-- end editorial-dynamic__text --> 
770                         
771                                  <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))> 
772                                    <a class="editorial-dynamic__cta ${ctaLook} button-block" href="${ctaLink}" ${ctaTarget}> 
773                                      <div class="button__wrapper"> 
774                                        <div class="button__inner"> 
775                                          <span>${ctaLabel}</span> 
776                                        </div> 
777                                      </div>  <#-- end button__wrapper --> 
778                                    </a> 
779                                  </#if>                     
780                                </div>  <#-- end editorial-dynamic__item --> 
781                             
782                              </#if>  <#-- end if-slideShow=show --> 
783                           
784                            </#list> 
785                          </#if> 
786                           
787                        </div>  <#-- end-editorial-dynamic-wrapper --> 
788                      </div>  <#-- end-editorial-dynamic --> 
789                    </div>  <#-- end-vgg__container --> 
790                  </div>  <#-- end-vgg --> 
791                   
792                  <#assign counter =counter+1/> 
793            <@showAnchor conditionToShow=counter/>  
794             
795                </#if>  <#-- Ending if-slideHiddenCount --> 
796                 
797              </#if> 
798            </#if> 
799             
800              
801           
802          </#if>  <#-- Ending if-moduleShow=show --> 
803     
804    </#macro> 
805     
806    <#macro module4Show module4> 
807      
808          <#assign title = module4.getData() /> 
809          <#assign moduleShow = "show"/> 
810          <#if validator.isNotNull(title) && title?contains("[$$") > 
811            <#assign showSpittedArray = title?split("[$$")/> 
812            <#assign title = showSpittedArray[0]/> 
813            <#if showSpittedArray?size &gt; 1> 
814              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
815              <#assign moduleShow = "${moduleShow[0]}" /> 
816            </#if> 
817          </#if> 
818           
819          <#if moduleShow == "show"> 
820           
821            <#assign anchorTitleLink = "" /> 
822            <#if module4.anchorTitleT4??> 
823              <#if validator.isNotNull(module4.anchorTitleT4.getData())> 
824                <#assign anchorKey = module4.anchorTitleT4.getData() /> 
825                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
826              </#if> 
827            </#if> 
828             
829            <#assign background = module4.backgroundT4.getData() /> 
830            <#assign width = module4.widthT4.getData() /> 
831             
832            <#if module4.textT4?? && module4.textT4.getSiblings()?has_content && validator.isNotNull(module4.textT4.getData())> 
833               
834              <#assign slideHiddenCount = 0 /> 
835              <#if module4.textT4?? && module4.textT4.getSiblings()?has_content> 
836                <#list module4.textT4.getSiblings() as text> 
837                  <#if validator.isNotNull(text.getData()) && text.getData()?contains("[$$hide]") > 
838                    <#assign slideHiddenCount = slideHiddenCount + 1 /> 
839                  </#if>                    
840                </#list> 
841              </#if> 
842               
843              <#if slideHiddenCount != module4.textT4.getSiblings()?size>  <#-- Starting if-slideHiddenCount --> 
844               
845                <div class="vgg ${background}"> 
846 
847                  <div class="vgg__container ${width}">              
848                    <#list module4.textT4.getSiblings() as triple> 
849                      <#assign text = triple.getData() /> 
850                      <#assign slideShow = "show"/> 
851                      <#if validator.isNotNull(text) && text?contains("[$$") > 
852                        <#assign slideShowSpittedArray = text?split("[$$")/> 
853                        <#assign text = slideShowSpittedArray[0]/> 
854                        <#if slideShowSpittedArray?size &gt; 1> 
855                          <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
856                          <#assign slideShow = "${moduleShow[0]}" /> 
857                        </#if> 
858                      </#if> 
859                       
860                      <#if slideShow == "show"> 
861                     
862                        <#assign positionT4 = triple.positionT4.getData() /> 
863                        <#assign images = triple.imageT4 /> 
864                        <#assign videos = triple.videoT4 /> 
865                        <#assign ctaLabel = triple.labelT4.getData() /> 
866                        <#assign ctaLink = triple.labelT4.linkT4.getData() /> 
867                        <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
868                        <#assign ctaLink = ctaLinkSpittedArray[0]/> 
869                        <#assign ctaTarget = "" /> 
870                        <#if ctaLinkSpittedArray?size &gt; 1> 
871                          <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
872                          <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
873                        </#if> 
874                        <#assign ctaLook = triple.labelT4.lookT4.getData() /> 
875                         
876                        <article ${anchorTitleLink} class="editorial-tripletta ${positionT4}"> 
877                         
878                          <#if (images.getSiblings()?has_content && validator.isNotNull(images.getData()))  
879                                || (videos.getSiblings()?has_content && validator.isNotNull(videos.getData()))> 
880                            <div class="editorial-tripletta__slider"> 
881                              <div class="swiper-container"> 
882                                <div class="swiper-wrapper"> 
883                                 
884                                  <#if images?? && images.getSiblings()?has_content && validator.isNotNull(images.getData())> 
885                                    <#list images.getSiblings() as image> 
886                                      <#assign imageLink = image.imageLinkT4.getData() /> 
887                                      <#assign imageLinkSpittedArray = imageLink?split("[$$")/> 
888                                      <#assign imageLink = imageLinkSpittedArray[0]/> 
889                                      <#assign imgTarget = "" /> 
890                                      <#if imageLinkSpittedArray?size &gt; 1> 
891                                        <#assign imgTarget = imageLinkSpittedArray[1]?split("]")/> 
892                                        <#assign imgTarget = "target=\"${imgTarget[0]}\"" /> 
893                                      </#if> 
894                                      <#assign imageAlt = image.imageAltT4.getData() /> 
895                                      <#assign link = "" /> 
896                                      <#if imageLink?? && validator.isNotNull(imageLink)> 
897                                        <#assign link = "href=\"${imageLink}\"" /> 
898                                      </#if> 
899                                      <a class="swiper-slide" ${link} ${imgTarget}> 
900                                        <img alt="${imageAlt}" src="${image.getData()}" /> 
901                                      </a>  <#-- end swiper-slide --> 
902                                    </#list> 
903                                  </#if> 
904                                   
905                                  <#if videos.getSiblings()?has_content> 
906                                    <#list videos.getSiblings() as video> 
907                                      <#assign cover = video.coverT4 /> 
908                                      <#assign coverAlt = cover.coverAltT4.getData() /> 
909                                      <#if validator.isNotNull(video.getData()) && (cover?? && validator.isNotNull(cover.getData()))> 
910                                        <a class="swiper-slide editorial-tripletta__slider__video js-modal-video" href="https://www.youtube.com/watch?v=${video.getData()}"> 
911                                          <img alt="${coverAlt}" src="${cover.getData()}" />  
912                                        </a>  <#-- end swiper-slide --> 
913                                      </#if> 
914                                    </#list> 
915                                  </#if> 
916                                   
917                                </div>  <#-- end-swiper-wrapper --> 
918                       
919                                <div class="swiper-pagination">&nbsp;</div> 
920                                 
921                              </div>  <#-- end-swiper-container --> 
922                            </div>  <#-- end-editorial-tripletta__slider --> 
923                          </#if>  <#-- end if-images||videos.getSiblings() --> 
924                           
925                          <div class="editorial-tripletta__text"> 
926                            <div class="editorial-text"> 
927                              ${text} 
928                            </div> 
929                     
930                            <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))> 
931                              <a class="editorial-tripletta__cta ${ctaLook}" href="${ctaLink}" ${ctaTarget}> 
932                                <div class="button__wrapper"> 
933                                  <div class="button__inner"> 
934                                    <span>${ctaLabel}</span> 
935                                  </div> 
936                                </div>  <#-- end-button__wrapper --> 
937                              </a> 
938                            </#if> 
939                             
940                          </div>  <#-- end-editorial-tripletta__text --> 
941                           
942                         
943                        </article>  <#-- end-editorial-tripletta --> 
944                         
945                      </#if>  <#-- end if-slideShow=show --> 
946                         
947                    </#list> 
948                  </div>  <#-- end-vgg__container --> 
949                </div>  <#-- end-vgg --> 
950                 
951                <#assign counter =counter+1/> 
952            <@showAnchor conditionToShow=counter/>  
953                 
954              </#if>  <#-- Ending if-slideHiddenCount --> 
955                 
956            </#if> 
957             
958              
959           
960          </#if>  <#-- Ending if-moduleShow=show --> 
961     
962     
963    </#macro> 
964   
965  	<#macro module5Show module5> 
966  	 
967  	           
968          <#assign title = module5.getData() /> 
969          <#assign moduleShow = "show"/> 
970          <#if validator.isNotNull(title) && title?contains("[$$") > 
971            <#assign showSpittedArray = title?split("[$$")/> 
972            <#assign title = showSpittedArray[0]/> 
973            <#if showSpittedArray?size &gt; 1> 
974              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
975              <#assign moduleShow = "${moduleShow[0]}" /> 
976            </#if> 
977          </#if> 
978           
979          <#if moduleShow == "show"> 
980           
981            <#assign anchorTitleLink = "" /> 
982            <#if module5.anchorTitleT5??> 
983              <#if validator.isNotNull(module5.anchorTitleT5.getData())> 
984                <#assign anchorKey = module5.anchorTitleT5.getData() /> 
985                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
986              </#if> 
987            </#if> 
988             
989            <#assign background = module5.backgroundT5.getData() /> 
990            <#assign width = module5.widthT5.getData() /> 
991       
992            <#if module5.textT5?? && module5.textT5.getSiblings()?has_content && validator.isNotNull(module5.textT5.getData())> 
993             
994              <#assign slideHiddenCount = 0 /> 
995              <#if module5.textT5?? && module5.textT5.getSiblings()?has_content> 
996                <#list module5.textT5.getSiblings() as text> 
997                  <#if validator.isNotNull(text.getData()) && text.getData()?contains("[$$hide]") > 
998                    <#assign slideHiddenCount = slideHiddenCount + 1 /> 
999                  </#if>                    
1000                </#list> 
1001              </#if> 
1002               
1003              <#if slideHiddenCount != module5.textT5.getSiblings()?size>  <#-- Starting if-slideHiddenCount --> 
1004             
1005                <div class="vgg ${background}"> 
1006                  <div class="vgg__container ${width}"> 
1007                    <div ${anchorTitleLink} class="editorial-listing"> 
1008           
1009                      <#list module5.textT5.getSiblings() as item> 
1010                        <#assign text = item.getData() /> 
1011                        <#assign slideShow = "show"/> 
1012                        <#if validator.isNotNull(text) && text?contains("[$$") > 
1013                          <#assign slideShowSpittedArray = text?split("[$$")/> 
1014                          <#assign text = slideShowSpittedArray[0]/> 
1015                          <#if slideShowSpittedArray?size &gt; 1> 
1016                            <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
1017                            <#assign slideShow = "${moduleShow[0]}" /> 
1018                          </#if> 
1019                        </#if> 
1020                         
1021                        <#if slideShow == "show"> 
1022                         
1023                          <#assign image = item.imageT5.getData() /> 
1024                          <#assign imageLink = item.imageT5.imageLinkT5.getData() /> 
1025                          <#assign imageLinkSpittedArray = imageLink?split("[$$")/> 
1026                          <#assign imageLink = imageLinkSpittedArray[0]/> 
1027                          <#assign imgTarget = "" /> 
1028                          <#if imageLinkSpittedArray?size &gt; 1> 
1029                            <#assign imgTarget = imageLinkSpittedArray[1]?split("]")/> 
1030                            <#assign imgTarget = "target=\"${imgTarget[0]}\"" /> 
1031                          </#if> 
1032                          <#assign imageAlt = item.imageT5.imageAltT5.getData() /> 
1033                          <#assign ctaLabel = item.labelT5.getData() /> 
1034                          <#assign ctaLink = item.labelT5.linkT5.getData() /> 
1035                          <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
1036                          <#assign ctaLink = ctaLinkSpittedArray[0]/> 
1037                          <#assign ctaTarget = "" /> 
1038                          <#if ctaLinkSpittedArray?size &gt; 1> 
1039                            <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
1040                            <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
1041                          </#if> 
1042                          <#assign ctaLook = item.labelT5.lookT5.getData() /> 
1043             
1044                          <div class="editorial-listing__item"> 
1045                             
1046                            <#if image?? && validator.isNotNull(image)> 
1047                              <#assign link = "" /> 
1048                              <#if imageLink?? && validator.isNotNull(imageLink)> 
1049                                <#assign link = "href=\"${imageLink}\"" /> 
1050                              </#if> 
1051                              <a class="editorial-listing__image" ${link} ${imgTarget}> 
1052                                <img alt="${imageAlt}" src="${image}" /> 
1053                              </a> 
1054                            </#if> 
1055                             
1056                            <#if (text?? && validator.isNotNull(text)) || ((ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink)))> 
1057                              <div class="editorial-listing__text"> 
1058                                <#if (text?? && validator.isNotNull(text))> 
1059                                  <div class="editorial-text"> 
1060                                    ${text} 
1061                                  </div> 
1062                                </#if> 
1063                                 
1064                                <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) || (ctaLink?? && validator.isNotNull(ctaLink))> 
1065                                  <#if ctaLook == "no-button"> 
1066                                    <a class="editorial-listing__cta" href="${ctaLink}" ${ctaTarget}>${ctaLabel}</a> 
1067                                  <#else> 
1068                                    <a class="editorial-listing__cta" href="${ctaLink}" ${ctaTarget}> 
1069                                      <div class="editorial-listing__cta ${ctaLook}" type="button"> 
1070                                        <div class="button__wrapper"> 
1071                                          <div class="button__inner" > 
1072                                            <span>${ctaLabel}</span> 
1073                                          </div> 
1074                                        </div> 
1075                                      </div> 
1076                                    </a> 
1077                                  </#if> 
1078                                </#if> 
1079                              </div> 
1080                            </#if> 
1081                             
1082                          </div> 
1083                   
1084                        </#if>  <#-- end if-slideShow=show --> 
1085                   
1086                      </#list>  <#-- Ending list-item --> 
1087                         
1088                    </div>  <#-- end-editorial-listing --> 
1089                  </div>  <#-- end-vgg__container --> 
1090                </div>  <#-- end-vgg --> 
1091                 
1092                 
1093                   <#assign counter =counter+1/> 
1094            <@showAnchor conditionToShow=counter/>  
1095             
1096                 
1097              </#if>  <#-- Ending if-slideHiddenCount --> 
1098             
1099            </#if>    <#-- Ending if-module4.textT4??... --> 
1100             
1101           
1102          </#if>  <#-- Ending if-moduleShow=show --> 
1103  	  	 
1104  	</#macro> 
1105   
1106  	<#macro module7Show module7> 
1107  	<#assign title = module7.getData() /> 
1108          <#assign moduleShow = "show"/> 
1109          <#if validator.isNotNull(title) && title?contains("[$$") > 
1110            <#assign showSpittedArray = title?split("[$$")/> 
1111            <#assign title = showSpittedArray[0]/> 
1112            <#if showSpittedArray?size &gt; 1> 
1113              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
1114              <#assign moduleShow = "${moduleShow[0]}" /> 
1115            </#if> 
1116          </#if> 
1117           
1118          <#if moduleShow == "show"> 
1119           
1120            <#assign width = module7.widthT7.getData() /> 
1121            <#assign sliderLook = "" /> 
1122            <#if module7.sliderLookT7??> 
1123              <#assign sliderLook = module7.sliderLookT7.getData() /> 
1124            </#if> 
1125   
1126            <#assign slideHiddenCount = 0 /> 
1127            <#if module7.titleT7?? && module7.titleT7.getSiblings()?has_content> 
1128              <#list module7.titleT7.getSiblings() as text> 
1129                <#if validator.isNotNull(text.getData()) && text.getData()?contains("[$$hide]") > 
1130                  <#assign slideHiddenCount = slideHiddenCount + 1 /> 
1131                </#if>                    
1132              </#list> 
1133            </#if> 
1134             
1135            <#if slideHiddenCount != module7.titleT7.getSiblings()?size>  <#-- Starting if-slideHiddenCount --> 
1136   
1137              <#if sliderLook == "generic"> 
1138                <#if module7.titleT7?? && module7.titleT7.getSiblings()?has_content &&  
1139                  (validator.isNotNull(module7.titleT7.getData()) || validator.isNotNull(module7.titleT7.imageT7.getData()) )> <#-- Starting if-module7Title.has_content --> 
1140                  <#assign slidesNumber = module7.titleT7.getSiblings()?size /> 
1141                   
1142                    <div class="vgg"> 
1143                      <div class="vgg__container ${width}"> 
1144                        <section class="editorial-slider"> 
1145                        <#if slidesNumber &gt; 1> 
1146                          <div class="swiper-container" data-autoplay="data-autoplay"> 
1147                            <div class="swiper-wrapper"> 
1148                        </#if> 
1149                            <#list module7.titleT7.getSiblings() as slide>  <#-- Ending list-module7Title.has_content --> 
1150                              <#assign title = slide.getData() /> 
1151                              <#assign slideShow = "show"/> 
1152                              <#if validator.isNotNull(title) && title?contains("[$$") > 
1153                                <#assign slideShowSpittedArray = title?split("[$$")/> 
1154                                <#assign title = slideShowSpittedArray[0]/> 
1155                                <#if slideShowSpittedArray?size &gt; 1> 
1156                                  <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
1157                                  <#assign slideShow = "${moduleShow[0]}" /> 
1158                                </#if> 
1159                              </#if> 
1160                               
1161                              <#if slideShow == "show"> 
1162                               
1163                                <#assign abstract = slide.abstractT7.getData() /> 
1164                                <#assign positionT7 = slide.positionT7.getData() /> 
1165                                <#assign image = slide.imageT7.getData() /> 
1166                                <#--<#assign imageLink = slide.imageT7.imageLinkT7.getData() />--> 
1167                                <#assign video = slide.videoT7.getData() /> 
1168                                <#assign ctaLabel = slide.labelT7.getData() /> 
1169                                <#assign ctaLink = slide.labelT7.linkT7.getData() /> 
1170                                <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
1171                                <#assign ctaLink = ctaLinkSpittedArray[0]/> 
1172                                <#assign ctaTarget = "" /> 
1173                                <#if ctaLinkSpittedArray?size &gt; 1> 
1174                                  <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
1175                                  <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
1176                                </#if> 
1177                                <#assign ctaLook = slide.labelT7.lookT7.getData() /> 
1178                                 
1179                                <div class="swiper-slide editorial-slider__slide ${positionT7}"> 
1180                                  <div class="editorial-slider__slide-inner"> 
1181                                   
1182                                    <#if image?? && validator.isNotNull(image)> 
1183                                      <#--<#assign link = "" /> 
1184                                      <#if imageLink?? && validator.isNotNull(imageLink)> 
1185                                        <#assign link = "href=\"${imageLink}\"" /> 
1186                                      </#if>--> 
1187                                      <div class="editorial-slider__image" style="background-image: url('${image}')"></div> 
1188                                    </#if> 
1189                                   
1190                                    <#if (title?? && validator.isNotNull(title)) || (abstract?? && validator.isNotNull(abstract))> 
1191                                      <div class="editorial-slider__content"> 
1192                                        <#if title?? && validator.isNotNull(title)> 
1193                                          <h2 class="editorial-slider__heading">${title}</h2> 
1194                                        </#if> 
1195                                         
1196                                        <#if abstract?? && validator.isNotNull(abstract)> 
1197                                          <p class="editorial-slider__abstract">${abstract}</p> 
1198                                        </#if> 
1199                                         
1200                                        <#if ctaLabel?? && validator.isNotNull(ctaLabel)> 
1201                                          <#--<button class="editorial-slider__cta button--primary" 
1202                                            type="button"></button>--> 
1203                           
1204                                          <#if video?? && validator.isNotNull(video)> 
1205                                            <a class="editorial-slider__cta editorial-slider__video-link ${ctaLook} js-modal-video" 
1206                                                  href="https://www.youtube.com/watch?v=${video}"> 
1207                                              <div class="button__wrapper"> 
1208                                                <div class="button__inner"> 
1209                                                    <span>${ctaLabel}</span>  
1210                                                    <svg aria-hidden="true" class="Icon Icon--caret-circle">  
1211                                                      <use xlink:href="#caret-circle" xmlns:xlink="http://www.w3.org/1999/xlink"></use>  
1212                                                    </svg>  
1213                                                </div> 
1214                                              </div> 
1215                                            </a> 
1216                                          <#--<#elseif (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))>--> 
1217                                          <#else> 
1218                                            <button class="editorial-slider__cta ${ctaLook}" href="${ctaLink}" ${ctaTarget} type="button"> 
1219                                              <div class="button__wrapper"> 
1220                                                <div class="button__inner"> 
1221                                                  <span>${ctaLabel}</span> 
1222                                                </div> 
1223                                              </div> 
1224                                            </button> 
1225                                          </#if> 
1226                                        </#if>  <#-- Ending if-ctaLabel?? && validator.isNotNull(ctaLabel) ecc.. --> 
1227                                         
1228                                      </div>  <#-- end-editorial-slider__content --> 
1229                                    <#elseif video?? && validator.isNotNull(video)>  <#-- elseif-title??-&&-validator.isNotNull(title) ecc.. --> 
1230                                      <div class="editorial-slider__content"> 
1231                                        <a class="editorial-slider__cta editorial-slider__video-link button--primary js-modal-video" 
1232                                              href="https://www.youtube.com/watch?v=${video}"> 
1233                                          <div class="button__wrapper"> 
1234                                            <div class="button__inner"> 
1235                                              <svg aria-hidden="true" class="Icon Icon--caret">  
1236                                                <use xlink:href="#caret" xmlns:xlink="http://www.w3.org/1999/xlink"></use>  
1237                                              </svg>  
1238                                            </div> 
1239                                          </div> 
1240                                        </a> 
1241                                      </div> 
1242                                    </#if>  <#-- Ending elseif-title??-&&-validator.isNotNull(title) ecc.. --> 
1243                                     
1244                                  </div>  <#-- end-editorial-slider__slide-inner --> 
1245                                </div>  <#-- end-swiper-slide editorial-slider__slide --> 
1246                             
1247                              </#if>  <#-- end if-slideShow=show --> 
1248                             
1249                            </#list>  <#-- Ending list-module7Title.has_content --> 
1250                           
1251                          <#if slidesNumber &gt; 1>   
1252                          </div>  <#-- end-swiper-wrapper --> 
1253                           
1254                          <div class="editorial-slider__pagination">&nbsp;</div> 
1255                           
1256                        </div>  <#-- end-swiper-container --> 
1257                        </#if> 
1258                           
1259                      </section>  <#-- end-editorial-slider --> 
1260                    </div>  <#-- end-vgg__container --> 
1261                  </div>  <#-- end-vgg --> 
1262                </#if>  <#-- Ending if-module7Title.has_content --> 
1263                 
1264              <#elseif sliderLook == "hero"> 
1265                 
1266                <#if module7.titleT7?? && module7.titleT7.getSiblings()?has_content &&  
1267                  (validator.isNotNull(module7.titleT7.getData()) || validator.isNotNull(module7.titleT7.imageT7.getData()) )> <#-- Starting if-module7Title.has_content --> 
1268                  <div class="vgg"> 
1269                    <div class="vgg__container"> 
1270                      <section class="hero-slider"> 
1271                        <div class="swiper-container" data-autoplay="data-autoplay"> 
1272                          <div class="swiper-wrapper"> 
1273                   
1274                            <#list module7.titleT7.getSiblings() as slide>  <#-- Starting list-module1Title.has_content --> 
1275                              <#assign title = slide.getData() /> 
1276                              <#assign slideShow = "show"/> 
1277                              <#if validator.isNotNull(title) && title?contains("[$$") > 
1278                                <#assign slideShowSpittedArray = title?split("[$$")/> 
1279                                <#assign title = slideShowSpittedArray[0]/> 
1280                                <#if slideShowSpittedArray?size &gt; 1> 
1281                                  <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
1282                                  <#assign slideShow = "${moduleShow[0]}" /> 
1283                                </#if> 
1284                              </#if> 
1285                                 
1286                              <#if slideShow == "show"> 
1287                               
1288                                <#assign abstract = slide.abstractT7.getData() /> 
1289                                <#assign bgImage = slide.bgImageT7.getData() /> 
1290                                <#assign image = slide.imageT7.getData() /> 
1291                                <#--<#assign imageLink = slide.imageT7.imageLinkT7.getData() />--> 
1292                                <#assign imageAlt = slide.imageT7.imageAltT7.getData() /> 
1293                                <#assign video = slide.videoT7.getData() /> 
1294                                <#assign ctaLabel = slide.labelT7.getData() /> 
1295                                <#assign ctaLink = slide.labelT7.linkT7.getData() /> 
1296                                <#assign ctaLinkSpittedArray = ctaLink?split("[$$")/> 
1297                                <#assign ctaLink = ctaLinkSpittedArray[0]/> 
1298                                <#assign ctaTarget = "" /> 
1299                                <#if ctaLinkSpittedArray?size &gt; 1> 
1300                                  <#assign ctaTarget = ctaLinkSpittedArray[1]?split("]")/> 
1301                                  <#assign ctaTarget = "target=\"${ctaTarget[0]}\"" /> 
1302                                </#if> 
1303                                <#assign ctaLook = slide.labelT7.lookT7.getData() /> 
1304                                <#assign extLinks = slide.extLinkT7 /> 
1305                                 
1306                                <#if (image?? && validator.isNotNull(image)) || (bgImage?? && validator.isNotNull(bgImage))> 
1307                                  <#if imageAlt?? && validator.isNull(imageAlt)> 
1308                                    <#assign imageAlt = " " /> 
1309                                  </#if> 
1310                                  <#--<#assign link = "" /> 
1311                                  <#if imageLink?? && validator.isNotNull(imageLink)> 
1312                                    <#assign link = "href=\"${imageLink}\"" /> 
1313                                  </#if>--> 
1314                                  <div class="swiper-slide hero-slider__slide"> 
1315                                    <div class="hero-slider__slide-inner"> 
1316                                      <div class="hero-slider__image-container"> 
1317                                       
1318                                        <#if bgImage?? && validator.isNotNull(bgImage)> 
1319                                          <div class="hero-slider__image-bg" style="background-image: url('${bgImage}')"> 
1320                                            &nbsp; 
1321                                          </div> 
1322                                        </#if> 
1323                                        <#if image?? && validator.isNotNull(image)> 
1324                                          <img alt="${imageAlt}" class="hero-slider__image" src="${image}" /> 
1325                                        </#if> 
1326                                      </div> 
1327                                       
1328                                      <div class="hero-slider__content"> 
1329                                        <#if validator.isNotNull(title)> 
1330                                          <h2 class="hero-slider__heading">${title}</h2> 
1331                                        </#if> 
1332                                         
1333                                        <#if abstract?? && validator.isNotNull(abstract)> 
1334                                          <p class="hero-slider__abstract">${abstract}</p> 
1335                                        </#if> 
1336                                         
1337                                        <#if (ctaLabel?? && validator.isNotNull(ctaLabel)) && (ctaLink?? && validator.isNotNull(ctaLink))> 
1338                                          <a class="hero-slider__cta ${ctaLook}" href="${ctaLink}" ${ctaTarget}> 
1339                                            <div class="button__wrapper"> 
1340                                              <div class="button__inner"> 
1341                                                <span>${ctaLabel}</span> 
1342                                              </div> 
1343                                            </div> 
1344                                          </a> 
1345                                        </#if> 
1346                         
1347                                        <#if video?? && validator.isNotNull(video)> 
1348                                        <a class="hero-slider__cta button--black js-modal-video" href="https://www.youtube.com/watch?v=${video}"> 
1349                                          <div class="button__wrapper"> 
1350                                            <div class="button__inner"> 
1351                                              <svg aria-hidden="true" class="Icon Icon--caret-circle">  
1352                                                <use xlink:href="#caret-circle" xmlns:xlink="http://www.w3.org/1999/xlink"></use>  
1353                                              </svg>  
1354                                            </div> 
1355                                          </div> 
1356                                        </a> 
1357                                        </#if> 
1358                                         
1359                                        <#if extLinks?? && extLinks.getSiblings()?has_content && validator.isNotNull(extLinks.getData())> 
1360                                          <div class="hero-slider__links-list"> 
1361                                             
1362                                            <#list extLinks.getSiblings() as extLink> 
1363                                              <#assign extLinkSpittedArray = extLink.getData()?split("[$$")/> 
1364                                              <#assign link = extLinkSpittedArray[0]/> 
1365                                              <#assign extLinkTarget = "" /> 
1366                                              <#if extLinkSpittedArray?size &gt; 1> 
1367                                                <#assign extLinkTarget = extLinkSpittedArray[1]?split("]")/> 
1368                                                <#assign extLinkTarget = "target=\"${extLinkTarget[0]}\"" /> 
1369                                              </#if> 
1370                                              <#assign extLabel = extLink.extLabelT7.getData() /> 
1371                                              <#if extLabel?? && validator.isNotNull(extLabel)> 
1372                                                <a class="hero-slider__link" href="${link}" ${extLinkTarget}>${extLabel}</a> 
1373                                              </#if> 
1374                                            </#list> 
1375                                          </div> 
1376                                        </#if> 
1377                                         
1378                                      </div>  <#-- end-hero-slider__content --> 
1379                                       
1380                                      <div class="hero-slider__white-panel"> 
1381                                        <svg aria-hidden="true" class="Icon Icon--hoover-logo-flat"> <use 
1382                                            xlink:href="#hoover-logo-flat" 
1383                                            xmlns:xlink="http://www.w3.org/1999/xlink"></use> </svg> 
1384                                      </div> 
1385                                       
1386                                    </div>  <#-- end-hero-slider__slide-inner --> 
1387                                  </div>  <#-- end-swiper-slide hero-slider__slide --> 
1388                                </#if>  <#-- Ending if-image??||bgImage? --> 
1389                               
1390                              </#if>  <#-- end if-slideShow=show --> 
1391                               
1392                            </#list>  <#-- Ending list-module1Title.has_content --> 
1393                               
1394                          </div>  <#-- end-swiper-wrapper --> 
1395                           
1396                          <div class="hero-slider__red-panel">&nbsp;</div> 
1397                           
1398                          <div class="hero-slider__pagination">&nbsp;</div> 
1399                           
1400                        </div>  <#-- end-swiper-container --> 
1401                           
1402                      </section>  <#-- end-hero-slider --> 
1403                    </div>  <#-- end-vgg__container --> 
1404                  </div>  <#-- end-vgg --> 
1405                   
1406                   
1407                  
1408                </#if> 
1409              </#if> 
1410               
1411              
1412             
1413            </#if>  <#-- Ending if-slideHiddenCount --> 
1414             
1415              <#assign counter =counter+1/> 
1416            <@showAnchor conditionToShow=counter/>  
1417             
1418          </#if>  <#-- Ending if-moduleShow=show --> 
1419  	</#macro> 
1420  	 
1421  	 
1422  	<#macro module8Show module8> 
1423  	 
1424          <#assign title = module8.getData() /> 
1425          <#assign moduleShow = "show"/> 
1426          <#if validator.isNotNull(title) && title?contains("[$$") > 
1427            <#assign showSpittedArray = title?split("[$$")/> 
1428            <#assign title = showSpittedArray[0]/> 
1429            <#if showSpittedArray?size &gt; 1> 
1430              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
1431              <#assign moduleShow = "${moduleShow[0]}" /> 
1432            </#if> 
1433          </#if> 
1434           
1435          <#if moduleShow == "show"> 
1436           
1437            <#assign anchorTitleLink = "" /> 
1438            <#if module8.anchorTitleT8??> 
1439              <#if validator.isNotNull(module8.anchorTitleT8.getData())> 
1440                <#assign anchorKey = module8.anchorTitleT8.getData() /> 
1441                <#assign anchorTitleLink = "id=\"${anchorTitleMap[anchorKey]}\"" /> 
1442              </#if> 
1443            </#if> 
1444             
1445            <#assign background = module8.backgroundT8.getData() /> 
1446            <#assign width = module8.widthT8.getData() /> 
1447            <#assign texts = module8.textT8 /> 
1448             
1449            <#if texts?? && texts.getSiblings()?has_content && (validator.isNotNull(texts.getData()) ||  
1450              validator.isNotNull(texts.imageT8.getData()) || validator.isNotNull(texts.videoT8.getData()))> <#-- Starting if-text??.. --> 
1451               
1452              <#assign slideHiddenCount = 0 /> 
1453              <#if texts?? && texts.getSiblings()?has_content> 
1454                <#list texts.getSiblings() as text> 
1455                  <#if validator.isNotNull(text.getData()) && text.getData()?contains("[$$hide]") > 
1456                    <#assign slideHiddenCount = slideHiddenCount + 1 /> 
1457                  </#if>                    
1458                </#list> 
1459              </#if> 
1460               
1461              <#if slideHiddenCount != module8.textT8.getSiblings()?size>  <#-- Starting if-slideHiddenCount --> 
1462               
1463                <div class="vgg ${background}"> 
1464                  <div class="vgg__container ${width}"> 
1465                   
1466                    <div ${anchorTitleLink} class="editorial-gallery"> 
1467                      <div class="editorial-gallery__slider"> 
1468                        <div class="swiper-container"> 
1469                          <div class="swiper-wrapper"> 
1470                           
1471                            <#list texts.getSiblings() as slide>  <#-- Ending list-module7Title.has_content --> 
1472                              <#assign text = slide.getData() /> 
1473                              <#assign slideShow = "show"/> 
1474                              <#if validator.isNotNull(text) && text?contains("[$$") > 
1475                                <#assign slideShowSpittedArray = text?split("[$$")/> 
1476                                <#assign text = slideShowSpittedArray[0]/> 
1477                                <#if slideShowSpittedArray?size &gt; 1> 
1478                                  <#assign slideShow = slideShowSpittedArray[1]?split("]")/> 
1479                                  <#assign slideShow = "${moduleShow[0]}" /> 
1480                                </#if> 
1481                              </#if> 
1482                                 
1483                              <#if slideShow == "show"> 
1484                               
1485                                <#assign image = slide.imageT8.getData() /> 
1486                                <#assign imageLink = slide.imageT8.imageLinkT8.getData() /> 
1487                                <#assign imageLinkSpittedArray = imageLink?split("[$$")/> 
1488                                <#assign imageLink = imageLinkSpittedArray[0]/> 
1489                                <#assign imgTarget = "" /> 
1490                                <#if imageLinkSpittedArray?size &gt; 1> 
1491                                  <#assign imgTarget = imageLinkSpittedArray[1]?split("]")/> 
1492                                  <#assign imgTarget = "target=\"${imgTarget[0]}\"" /> 
1493                                </#if> 
1494                                <#assign imageAlt = slide.imageT8.imageAltT8.getData() /> 
1495                                <#assign video = slide.videoT8.getData() /> 
1496                                 
1497                                <div class="swiper-slide"> 
1498                                  <div class="editorial-gallery__slide"> 
1499                                   
1500                                    <#if video?? && validator.isNotNull(video)> 
1501                                      <a class="editorial-gallery__figure is-video js-modal-video" 
1502                                        href="https://www.youtube.com/watch?v=${video}"> 
1503                                          <img alt="${imageAlt}" src="${image}" /> 
1504                                      </a> 
1505                                    <#elseif image?? && validator.isNotNull(image)> 
1506                                      <#assign link = "" /> 
1507                                      <#if imageLink?? && validator.isNotNull(imageLink)> 
1508                                        <#assign link = "href=\"${imageLink}\"" /> 
1509                                      </#if> 
1510                                      <a class="editorial-gallery__figure" ${link} ${imgTarget}> 
1511                                        <img alt="${imageAlt}" src="${image}" /> 
1512                                      </a>  <#-- end-editorial-gallery__figure --> 
1513                                    </#if> 
1514                                     
1515                                    <#if text?? && validator.isNotNull(text)> 
1516                                      <div class="editorial-gallery__text"> 
1517                                        <div class="editorial-text"> 
1518                                          ${text} 
1519                                        </div> 
1520                                      </div>  <#-- end-editorial-gallery__figure --> 
1521                                    </#if>  <#-- Ending if-text?? --> 
1522                                     
1523                                  </div>  <#-- end-editorial-gallery__slide --> 
1524                                </div>  <#-- end-swiper-slide --> 
1525                             
1526                              </#if>  <#-- Ending if-moduleShow=show --> 
1527                             
1528                            </#list> 
1529                           
1530                          </div>  <#-- end-swiper-wrapper --> 
1531                           
1532                          <div class="swiper-button-next">&nbsp;</div> 
1533                          <div class="swiper-button-prev">&nbsp;</div> 
1534                             
1535                        </div>  <#-- end-swiper-container --> 
1536                      </div>  <#-- end-editorial-gallery__slider --> 
1537                    </div>  <#-- end-editorial-gallery --> 
1538                     
1539                   
1540                  </div>  <#-- end-vgg__container --> 
1541                </div>  <#-- end-vgg --> 
1542                       <#assign counter =counter+1/> 
1543            <@showAnchor conditionToShow=counter/>  
1544              </#if>  <#-- Starting if-slideHiddenCount --> 
1545                 
1546            </#if>  <#-- Ending if-text??.. --> 
1547             
1548       
1549           
1550          </#if>  <#-- Ending if-moduleShow=show --> 
1551           
1552  	</#macro> 
1553   
1554   
1555  	<#macro module9Show module9> 
1556  	 
1557          <#assign title = module9.getData() /> 
1558          <#assign moduleShow = "show"/> 
1559          <#if validator.isNotNull(title) && title?contains("[$$") > 
1560            <#assign showSpittedArray = title?split("[$$")/> 
1561            <#assign title = showSpittedArray[0]/> 
1562            <#if showSpittedArray?size &gt; 1> 
1563              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
1564              <#assign moduleShow = "${moduleShow[0]}" /> 
1565            </#if> 
1566          </#if> 
1567           
1568          <#if moduleShow == "show">  <#-- Starting if-module-show --> 
1569           
1570            <#assign searchLabel = module9.searchLabelT9.getData() /> 
1571            <#assign submitLabel = module9.submitLabelT9.getData() /> 
1572            <#assign action = module9.actionT9.getData() /> 
1573       
1574            <div class="vgg vgg--bg-red"> 
1575              <div class="vgg__container"> 
1576                <section class="hp-newsletter"> 
1577                  <h2 class="hp-newsletter__title">${title}</h2> 
1578             
1579                  <div class="hp-newsletter__form"> 
1580                    <#if validator.isNotNull(action)> 
1581                      <form action="${action}"> 
1582                        <fieldset> 
1583                          <div class="hp-newsletter__block"> 
1584                            <label class="visuallyhidden" for="search-key">${searchLabel}</label>  
1585                            <input class="hp-newsletter__input" id="newsletterEmail" name="email" 
1586                              placeholder="${searchLabel}" type="text" /> 
1587   
1588                            <button class="hp-newsletter__submit button button--white" type="submit"> 
1589                              <div class="button__wrapper"> 
1590                                <div class="button__inner"> 
1591                                  <span>${submitLabel}</span> 
1592                                </div> 
1593                              </div> 
1594                            </button> 
1595                             
1596                          </div> 
1597                        </fieldset> 
1598                      </form> 
1599                    </#if> 
1600                  </div> 
1601                </section> 
1602              </div> 
1603            </div> 
1604             
1605            <#assign counter =counter+1/> 
1606            <@showAnchor conditionToShow=counter/>  
1607             
1608          </#if>  <#-- Ending if-module-show --> 
1609   
1610   
1611  	 
1612  	</#macro> 
1613 
1614 
1615  	<#macro module10Show module10> 
1616  	<#assign txt = module10.getData() /> 
1617          <#assign moduleShow = "show"/> 
1618          <#if validator.isNotNull(txt) && txt?contains("[$$") > 
1619            <#assign showSpittedArray = txt?split("[$$")/> 
1620            <#assign txt = showSpittedArray[0]/> 
1621            <#if showSpittedArray?size &gt; 1> 
1622              <#assign moduleShow = showSpittedArray[1]?split("]")/> 
1623              <#assign moduleShow = "${moduleShow[0]}" /> 
1624            </#if> 
1625          </#if> 
1626           
1627          <#if moduleShow == "show" && validator.isNotNull(txt)>  <#-- Starting if-module-show --> 
1628                 
1629                 
1630                <#if module10Title.linkT10?? && validator.isNotNull(module10Title.linkT10.getData()) && txt?contains("[$picklist$]") >  <#-- Starting if_modulehas-picklist-and-title-is-specified --> 
1631                    <#assign divisionTranslations = {"1":"booklet-washing-and-dryings", 
1632                                                     "2":"booklet-cooking", 
1633                                                     "3":"booklet-cooling", 
1634                                                     "4":"booklet-vaccuming", 
1635                                                     "5":"booklet-cleaning", 
1636                                                     "6":"booklet-ironing"} /> 
1637                    <#assign defaultLines = {"1":"777,888,13,11,12", 
1638                                             "2":"16,20,17,19,18", 
1639                                             "3":"15,14,241", 
1640                                             "4":"41,81,1081,1041,61,121,10122,82", 
1641                                             "5":"10102,10103,10104,122,1063,1062,10121", 
1642                                             "6":"10281,10282"} /> 
1643                     
1644                    <#assign background = module10Title.backgroundT10.getData() /> 
1645                    <#assign text1 = "" /> 
1646                    <#if module10Title.linkT10.text1T10??> 
1647                      <#assign text1 = module10Title.linkT10.text1T10.getData() /> 
1648                    </#if> 
1649                    <#assign text2 = "" /> 
1650                    <#if module10Title.linkT10.text2T10??> 
1651                      <#assign text2 = module10Title.linkT10.text2T10.getData() /> 
1652                    </#if> 
1653                    <#assign divisionIds = [] /> 
1654                    <#assign lineDivMap = {} /> 
1655                    <#if module10Title.linkT10.lineIdsT10??> 
1656                      <#assign divisionIds = module10Title.linkT10.lineIdsT10.getData()?split(",") /> 
1657                    </#if> 
1658                     
1659                    <#if validator.isNotNull(divisionIds) && divisionIds?has_content && validator.isNotNull(divisionIds[0])>  <#-- Starting if-lineIds?has_content --> 
1660                       
1661                      <#list divisionIds as division> 
1662                        <#if division?contains(":")> 
1663                          <#assign lineIds = division?split(":")[1]?split("-") /> 
1664                          <#assign lineDivMap = lineDivMap + {division?split(":")[0] : lineIds} /> 
1665                        <#else> 
1666                          <#assign lineDivMap = lineDivMap + {division : ""} /> 
1667                        </#if> 
1668                      </#list> 
1669                       
1670                       
1671                           
1672                       
1673                      <div class="vgg"> 
1674                        <div class="modal-window"> 
1675                          <div class="modal-window__close"></div> 
1676                          <div class="modal-window__outer"> 
1677                            <div class="modal-window__inner"> 
1678                              <div class="find-wrapper"> 
1679                                <div class="find-code" 
1680                                  data-url="${CANDY_WS_ENDPOINT_BASE_URL}" data-lang="${locale.getLanguage()}-${locale.getCountry()}" data-brand="${CANDY_HOOVER_BRAND}"> 
1681                                  <p><#if validator.isNotNull(text1)>${text1}<#else>${languageUtil.get(locale,"booklet-info-line-selection")}</#if></p> 
1682                                  <select class="s_linea-prodotto" id="s_linea-prodotto" name="request" required="required"> 
1683                                    <option value="">${languageUtil.get(locale,"booklet-select")}</option> 
1684                                    <#list divisionIds as division> 
1685                                      <#assign divisionLabel = divisionTranslations[division?split(":")[0]] /> 
1686                                      <optgroup data-id="${division?split(":")[0]}" label="${languageUtil.get(locale,divisionLabel)}"></optgroup> 
1687                                    </#list> 
1688                                  </select> 
1689                                </div> 
1690                                <div class="findcodeWrapper is-hidden"> 
1691                                  <p class="form__label"><#if validator.isNotNull(text2)>${text2}<#else>${languageUtil.get(locale,"booklet-find-code")}</#if></p> 
1692                                  <img class="findcodeImage" data-src="${CANDY_HOOVER_CDN_BOOKLET_URL}/libretto-{id}.jpg" /> 
1693                                  <img class="findcodeLabel" src="${CANDY_HOOVER_CDN_BOOKLET_URL}/libretto-label.jpg" /> 
1694                                </div> 
1695                              </div> 
1696                            </div> 
1697                          </div> 
1698                        </div> 
1699                      </div> 
1700                       
1701                      <script type="text/javascript" charset="utf-8"> 
1702                        var linesToDisplay = [ 
1703                          <#assign divisions = lineDivMap?keys /> 
1704                          <#assign divisionCount = 0 /> 
1705                          <#list divisions as division> 
1706                            <#assign divisionCount = divisionCount + 1 /> 
1707                            <#if validator.isNotNull(lineDivMap[division])> 
1708
1709                                group: ${division}, 
1710                                lines: [ 
1711                                <#assign count = 0 /> 
1712                                <#list lineDivMap[division] as line> 
1713                                  <#assign count = count + 1 /> 
1714                                  ${line}<#if lineDivMap[division]?size != count>,</#if>   
1715                                </#list> 
1716
1717                              }<#if lineDivMap?keys?size != divisionCount>,</#if> 
1718                            <#else> 
1719                              <#assign lines = defaultLines[division] /> 
1720
1721                                group: ${division}, 
1722                                lines: [ 
1723                                <#assign count = 0 /> 
1724                                <#list lines?split(",") as line> 
1725                                  <#assign count = count + 1 /> 
1726                                  ${line}<#if defaultLines[division]?split(",")?size != count>,</#if>   
1727                                </#list> 
1728
1729                              }<#if lineDivMap?keys?size != divisionCount>,</#if> 
1730                            </#if> 
1731                          </#list> 
1732                        ]; 
1733                      </script> 
1734                       
1735                    </#if>  <#-- Ending if-lineIds?has_content --> 
1736                     
1737                    <#assign txt = txt?replace("[$picklist$]",   '<a class="js-find-code" href="#">${module10Title.linkT10.getData()}</a>') > 
1738 
1739                </#if> <#-- Ending if_modulehas-picklist-and-title-is-specified --> 
1740                
1741                <div class="vgg ${background}"> 
1742                    <div class="vgg__container vgg__container--wrapper"> 
1743                        <div class="editorial-intro__text"> 
1744                            <div class="editorial-text">${txt}</div> 
1745                        </div> 
1746                    </div> 
1747                </div> 
1748                 
1749                 <#assign counter =counter+1/> 
1750            	<@showAnchor conditionToShow=counter/>  
1751             
1752              </#if>  <#-- Ending if-module-show --> 
1753  	</#macro> 
1754   
1755    <#macro showAnchor conditionToShow>    
1756   		 
1757   		<#if conditionToShow==1> 
1758   		<#-- Anchor Menu --> 
1759   		 
1760              <#if anchorTitleMap?keys?size &gt; 0 > 
1761                <div class="vgg vgg--bg-white"> <#-- Starting anchor menu --> 
1762                  <div class="vgg__container"> 
1763                    <div class="internal-nav internal-nav--white"> 
1764                      <ul class="internal-nav__list"> 
1765                        <#list anchorTitleMap?keys as anchorTitle> 
1766                          <li class="internal-nav__item"> 
1767                            <a href="#${anchorTitleMap[anchorTitle]}"> 
1768                              <span>${anchorTitle}</span> 
1769                            </a> 
1770                          </li> 
1771                        </#list> 
1772                      </ul> <#-- end-internal-nav__list --> 
1773                    </div>  <#-- end-internal-nav --> 
1774                  </div>  <#-- end-vgg__container --> 
1775                </div>  <#-- Ending anchor menu --> 
1776              </#if> 
1777               
1778        </#if> 
1779  	  </#macro> 
1780   
1781  <#-- Starting list-maxModulesPosition --> 
1782</#if> 
1783<#-- End if-pagePosition -->