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