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