Back ASPETTANDO IL FESTIVAL - A MUSICAL JOURNEY

An error occurred while processing the template.
Can't convert this string to number: "null"
The blamed expression:
==> curGeo.longitude.getData()?number  [in template "20097#20123#119888" at line 1148, column 75]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${curGeo.longitude.getData()?number}  [in template "20097#20123#119888" at line 1148, column 73]
----
1<<#if themeDisplay.getLayout().isPrivateLayout()==false> 
2    <#-- instanceId --> 
3    <#assign instanceId = themeDisplay.getPortletDisplay().getId()?keep_after("INSTANCE_") /> 
4 
5    <#-- Etichette --> 
6    <#assign label_data_pubblicazione = languageUtil.get(locale , "label_data_pubblicazione")/> 
7    <#assign label_allegati = languageUtil.get(locale , "label_allegati")/> 
8    <#assign label_allegato = languageUtil.get(locale , "label_allegato")/> 
9    <#assign label_scarica_file = languageUtil.get(locale , "label_scarica_file")/> 
10    <#assign label_in_formato = languageUtil.get(locale , "label_in_formato")/> 
11	<#assign label_chiudi = languageUtil.get(locale , "label_chiudi")/> 
12	<#assign label_loading = languageUtil.get(locale , "label_loading")/> 
13	<#assign label_precedente = languageUtil.get(locale , "label_precedente")/> 
14	<#assign label_successivo = languageUtil.get(locale , "label_successivo")/> 
15	<#assign label_ok = languageUtil.get(locale , "label_ok")/> 
16	<#assign label_ko = languageUtil.get(locale , "label_ko")/> 
17	 
18	<#assign label_data_dal = languageUtil.get(locale , "label_data_dal")/> 
19	<#assign label_data_al = languageUtil.get(locale , "label_data_al")/> 
20 
21	<#-- Ricavo servizi utili in seguito - altri servizi vengono richiamati all'interno del modello utilizzato per le macros --> 
22	<#-- Servizio per ricavare l'oggetto layout --> 
23	<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
24	<#-- Servizio utile per ricavare i documenti della DM --> 
25	<#assign dlFileEntryLocalService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryLocalService') /> 
26	 
27	<#-- Inclusione template con macros e relativi servizi --> 
28	<#include "${templatesPath}/TEMPLATE_COMMON_MACROS" /> 
29			 
30	<#-- Costanti Mappa--> 
31	<#assign url_iframe = "https://geoviewer.ect.regione.puglia.it/it/map/Cartapulia/"/> 
32	 
33    <#-- verifico che ci sia qualche immagine nel blocco della galleria, per valorizzare variabili da usare nei controlli --> 
34	<#assign existImagesGallery = false /> 
35	<#assign numImages = 0 /> 
36	<#if gallerySection.getSiblings()?has_content> 
37		<#list gallerySection.getSiblings() as curGallerySection> 
38			<#if curGallerySection.galleryImage?? && curGallerySection.galleryImage.getData()?has_content> 
39				<#attempt> 
40					<#assign existImagesGallery = true /> 
41					<#assign numImages = numImages + 1 /> 
42				<#recover> 
43					<#-- non imposto alcun valore sulla variabile -->	 
44				</#attempt> 
45			</#if> 
46		</#list> 
47	</#if> 
48     
49	<#-- MAPPA  --> 
50	<div class="mb-4 p-0" id="mapContainer" style="width: 100%;"></div> 
51					 
52    <#-- html --> 
53    <section class="card-detail card-detail-eventi"> 
54 
55		<#-- INTRO: titolo + share functions --> 
56		<div class="card-detail-intro mb-4"> 
57			<div class="container"> 
58	       		<div class="row"> 
59	       			<div class="col-lg-8"> 
60	       				<#-- titolo --> 
61	       				<#-- prevelo il titolo liferay e lo assegno ad una variabile da usare come attributo --> 
62	       				<#assign titoloScheda = htmlUtil.escapeAttribute(titolo) /> 
63	       				<#if title?? && title.getData()?has_content> 
64	       					<h2 class="h1">${title.getData()}</h2> 
65	        					<#assign titoloScheda = htmlUtil.escapeAttribute(title.getData()) /> 
66	       				</#if> 
67						 
68						<#-- BLOCCO LOCATION --> 
69						<#if geoSection.getSiblings()?has_content> 
70						  <div class="locations-list"> 
71							<#list geoSection.getSiblings() as curGeo> 
72							  <div class="location-line d-flex align-items-center mb-2"> 
73 
74								<span class="fa fa-map-marker me-2" aria-hidden="true"></span> 
75 
76								<#-- Controllo se ho latitudine e longitudine --> 
77								<#if curGeo.latitude??  
78									&& curGeo.latitude.getData()?has_content 
79									&& curGeo.longitude??  
80									&& curGeo.longitude.getData()?has_content 
81									&& curGeo.latitude.getData() != "0.0" 
82									&& curGeo.longitude.getData() != "0.0"> 
83 
84									<a  
85										class="me-2" 
86										target="_blank" 
87										href="https://www.google.com/maps?q=${curGeo.latitude.getData()},${curGeo.longitude.getData()}" 
88										style="color: black; text-decoration: underline;" 
89									  > 
90								</#if> 
91 
92								<span> 
93								  <#-- Cap --> 
94								  <#if curGeo.cap?? && curGeo.cap.getData()?has_content> 
95									${curGeo.cap.getData()}, 
96								  </#if> 
97 
98								  <#-- Provincia --> 
99								  <#if curGeo.province?? && curGeo.province.getData()?has_content> 
100									${curGeo.province.getData()}, 
101								  </#if> 
102 
103								  <#-- Comune --> 
104								  <#if curGeo.municipality?? && curGeo.municipality.getData()?has_content> 
105									${curGeo.municipality.getData()}, 
106								  </#if> 
107 
108								  <#-- Indirizzo --> 
109								  <#if curGeo.address?? && curGeo.address.getData()?has_content> 
110									${curGeo.address.getData()} 
111								  </#if> 
112								</span> 
113 
114								<#-- Chiudo il tag </a> solo se ho aperto il link --> 
115								<#if curGeo.latitude??  
116									&& curGeo.latitude.getData()?has_content 
117									&& curGeo.longitude??  
118									&& curGeo.longitude.getData()?has_content 
119									&& curGeo.latitude.getData() != "0.0" 
120									&& curGeo.longitude.getData() != "0.0"> 
121								  </a> 
122								</#if> 
123 
124							  </div> 
125							</#list> 
126						  </div> 
127						</#if> 
128						<#-- FINE BLOCCO LOCATION --> 
129 
130					</div> 
131				</div> 
132			</div>			 
133       	</div> 
134       	 
135        <#-- main content --> 
136       	<div class="card-detail-main-content mb-4"> 
137	       	<div class="container"> 
138				<div class="row"> 
139					 
140					<#-- colonna sinistra: --> 
141					<#if (imageSection.image?? && imageSection.image.getData()?has_content) ||  
142						existImagesGallery ||  
143						oneAtLeastOfListNotEmpty(attachmentSection.attachment)> 
144							<div class="col-lg-8"> 
145					<#else> 
146						<div class="col-lg-8"> 
147					</#if> 
148						<#-- descrizione --> 
149	       				<#if description?? && description.getData()?has_content> 
150							<div class="card-detail-description mb-4"> 
151								${description.getData()} 
152							</div> 
153						</#if> 
154						<#-- abstract --> 
155						<#if abstract?? && abstract.getData()?has_content> 
156							<div class="card-detail-abstract mb-4"> 
157								${abstract.getData()} 
158							</div> 
159						</#if>	 
160						<#-- snippet--> 
161					    <#if snippet?? && snippet.getData()?has_content> 
162						  <div class="card-detail-snippet mb-4"> 
163						     ${snippet.getData()} 
164						  </div> 
165					    </#if> 
166									 
167						<#-- NAV TABS --> 
168						<#-- INFO DI CONTATTO --> 
169						<#if fieldsetContact?has_content &&  
170							( (fieldsetContact.webSite?exists && fieldsetContact.webSite.getData()?has_content) 
171							|| (fieldsetContact.email?exists && fieldsetContact.email.getData()?has_content) 
172							|| (fieldsetContact.telephone?exists && fieldsetContact.telephone.getData()?has_content))>						 
173							<div class="main-content-other-info row border"> 
174							  <div class="col-md-3"> 
175								<ul class="nav nav-tabs d-block p-0 m-0" role="tablist"> 
176									<li class="nav-item" role="presentation"> 
177									  <a id="infoContatti-tab" 
178										 href="#infoContatti" 
179										 class="nav-link justify-content-start w-100 text-wrap px-2 active" 
180										 data-toggle="tab" 
181										 role="tab" 
182										 aria-controls="infoContatti" 
183										 aria-selected="true"> 
184										<@liferay_ui["message"] key="Informazioni di contatto"/> 
185									  </a> 
186									</li> 
187								</ul> 
188							  </div> 
189 
190							  <#-- TAB CONTENT --> 
191							  <div class="col-md-9 p-2 bg-light"> 
192								<div class="tab-content" id="area-contenuti"> 
193 
194								  <#-- CONTENUTO INFO DI CONTATTO --> 
195								  <#if fieldsetContact?has_content > 
196									<div id="infoContatti" 
197										 class="tab-pane fade show active" 
198										 role="tabpanel" 
199										 aria-labelledby="infoContatti-tab"> 
200									  <div class="mb-2"> 
201										<ul class="mb-0"> 
202 
203										  <#-- Sito web --> 
204										  <#if fieldsetContact.webSite?exists && fieldsetContact.webSite.getData()?has_content> 
205											<li> 
206											  <strong>Sito web:</strong> 
207											  <a href="${fieldsetContact.webSite.getData()}" 
208												 target="_blank" 
209												 title="visita il sito web:"> 
210												${fieldsetContact.webSite.getData()} 
211											  </a> 
212											</li> 
213										  </#if> 
214 
215										  <#-- Email --> 
216										  <#if fieldsetContact.email?exists && fieldsetContact.email.getData()?has_content> 
217											<li> 
218											  <strong>Email:</strong> 
219											  <a href="mailto:${fieldsetContact.email.getData()}"> 
220												${fieldsetContact.email.getData()} 
221											  </a> 
222											</li> 
223										  </#if> 
224 
225										  <#-- Telefono --> 
226										  <#if fieldsetContact.telephone?exists && fieldsetContact.telephone.getData()?has_content> 
227											<li> 
228											  <strong>Telefono:</strong> 
229											  <a href="tel:${fieldsetContact.telephone.getData()}"> 
230												${fieldsetContact.telephone.getData()} 
231											  </a> 
232											</li> 
233										  </#if> 
234 
235										</ul> 
236									  </div> 
237									</div> 
238								  </#if> 
239 
240								</div> 
241							  </div> 
242							</div> 
243						</#if>						 
244						 
245						 
246						 
247						 
248						 
249						 
250					  
251				</div> 
252				<#-- fine colonna sinistra --> 
253					 
254					<#-- colonna destra --> 
255					<#if (imageSection.image?? && imageSection.image.getData()?has_content) ||  
256						existImagesGallery ||  
257						oneAtLeastOfListNotEmpty(attachmentSection.attachment) || eventPeriod.getSiblings()?has_content > 
258						<div class="col-lg-4"> 
259	       				 
260	       				<#-- galleria immagini: immagine principale + immagini ripetibili - creo unica galleria --> 
261	       				<#if (imageSection.image?? && imageSection.image.getData()?has_content) || existImagesGallery  > 
262								 <div class="row"> 
263		                        <div class="col-12 mb-4"> 
264									<div id="carousel_gallery_${instanceId}_${journalArticleResourcePrimKey}" class="card-gallery-image owl-carousel owl-theme"> 
265										 
266										<#-- ricavo l'immagine principale --> 
267										<#if imageSection.image?? && imageSection.image.getData()?has_content> 
268											<#attempt> 
269												<#assign numImages = numImages + 1 /> 
270												<#-- alt --> 
271												<#assign imageAlt = titoloScheda /> 
272												<#if imageSection.caption?? && imageSection.caption.getData()?has_content> 
273													<#assign imageAlt = htmlUtil.escapeAttribute(imageSection.caption.getData()) /> 
274												</#if> 
275												<figure> 
276													<div class="card card-full-img border-0 shadow-none"> 
277														<div class="card-img-wrapper card-full-img-wrapper h200"> 
278															<a href="javascript:void(0);" title="${htmlUtil.escapeAttribute(imageAlt)}"> 
279																<img src="${imageSection.image.getData()}" alt="${htmlUtil.escapeAttribute(imageAlt)}" class="card-img"> 
280															</a> 
281														</div> 
282													</div> 
283												</figure> 
284											<#recover> 
285												<#-- in caso di problemi non visulizzo nulla --> 
286											</#attempt> 
287										</#if> 
288										<#-- galleria immagini --> 
289										<#if existImagesGallery> 
290											<#list gallerySection.getSiblings() as curGallerySection> 
291												<#if curGallerySection.galleryImage?? && curGallerySection.galleryImage.getData()?has_content> 
292													<#attempt> 
293														<#assign galleryImageAlt = titoloScheda /> 
294														<#if curGallerySection.galleryImageCaption?? && curGallerySection.galleryImageCaption.getData()?has_content> 
295															<#assign galleryImageAlt = htmlUtil.escapeAttribute(curGallerySection.galleryImageCaption.getData()) /> 
296														</#if> 
297														<figure> 
298															<div class="card card-full-img border-0 shadow-none"> 
299																<div class="card-img-wrapper card-full-img-wrapper h200"> 
300																	<a href="javascript:void(0);" title="${htmlUtil.escapeAttribute(galleryImageAlt)}"> 
301																		<img src="${curGallerySection.galleryImage.getData()}" alt="${galleryImageAlt}" class="card-img"> 
302																	</a> 
303																</div> 
304															</div> 
305														</figure> 
306													<#recover> 
307														<#-- non viene visualizzato niente --> 
308													</#attempt>	 
309												</#if> 
310											</#list> 
311										</#if> 
312									</div> 
313								</div> 
314							</div>						 
315	       				</#if> 
316		       				 
317		       				<#-- ALLEGATI --> 
318							<#assign hasAttachments = false> 
319							<#list attachmentSection.getSiblings() as sibling> 
320							  <#if sibling.attachment?? && sibling.attachment.getData()?has_content> 
321								<#assign hasAttachments = true> 
322								<#break> 
323							  </#if> 
324							</#list> 
325							 
326		                    <#if attachmentSection?? && hasAttachments> 
327			                    <div class="row"> 
328			                        <div class="col-12"> 
329			                            <h3>${label_allegati}</h3> 
330			                             
331			                            <ul class="list-unstyled">									 
332											<#list attachmentSection.getSiblings() as curAttachmentSection> 
333											  <#if curAttachmentSection.attachment?? && curAttachmentSection.attachment.getData()?has_content> 
334												<#attempt> 
335												  <#-- ricavo la size del documento --> 
336												  <#assign parts = (curAttachmentSection.attachment.getData())?split("/") /> 
337												  <#assign groupId = parts[2] /> 
338												  <#assign uuId = parts[5]?split("?")[0] /> 
339												  <#assign dlFileEntry = dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuId, groupId?number) /> 
340												  <#assign dlFileEntrySize = dlFileEntry.getSize() /> 
341												  <#assign dlFileEntryExtension = dlFileEntry.getExtension()?upper_case?trim /> 
342 
343												  <#if dlFileEntrySize gt 0> 
344													<#assign dlFileEntrySize = (dlFileEntrySize / 1000) + " KB"/> 
345												  </#if> 
346 
347												  <#-- ricavo il nome dell'allegato --> 
348												  <#assign attachmentHeader = label_allegato /> 
349												  <#if validator.isNotNull(curAttachmentSection.attachmentName) && validator.isNotNull(curAttachmentSection.attachmentName.getData())> 
350													<#assign attachmentHeader = htmlUtil.escapeAttribute(curAttachmentSection.attachmentName.getData()) /> 
351												  </#if> 
352 
353												  <li> 
354													<a href="${curAttachmentSection.attachment.getData()}" 
355													   target="_blank" 
356													   title="${label_scarica_file} <#if dlFileEntryExtension != "">${label_in_formato} ${dlFileEntryExtension}</#if> - ${dlFileEntrySize}"> 
357													  <strong>${attachmentHeader}</strong> 
358													</a> 
359													<#-- breve descrizione --> 
360													<#if curAttachmentSection.attachmentDescription?? && validator.isNotNull(curAttachmentSection.attachmentDescription.getData())> 
361														<div>${curAttachmentSection.attachmentDescription.getData()}</div> 
362													</#if> 
363													<#if curAttachmentSection?has_next> 
364													  <hr class="border-primary"/> 
365													</#if> 
366												  </li> 
367												<#recover> 
368												  <#-- in caso di errore silenzio --> 
369												</#recover> 
370											  </#if> 
371											</#list> 
372			                            </ul> 
373			                        </div> 
374			                    </div> 
375		                    </#if> 
376							 
377							<#-- SEZIONE PERIODI MULTIPLI -->	 
378							<#if eventPeriod?? && eventPeriod?has_content && eventPeriod.getSiblings()?? && eventPeriod.getSiblings()?has_content 
379								&& ((eventPeriod.eventPeriodDateFrom?? && eventPeriod.eventPeriodDateFrom.getData()?has_content) 
380									|| (eventPeriod.eventPeriodDateTo?? && eventPeriod.eventPeriodDateTo.getData()?has_content) 
381								) 
382							>	 
383 
384								<div class="row mt-4"> 
385									<div class="col-md-12"> 
386										<#if eventPeriod.getSiblings()?has_content>	   
387										<#-- Titolo Periodo --> 
388										<h4>Informazioni periodo</h4> 
389										<div class="accordion mt-3" id="accordionPeriodi-${instanceId}"> 
390											<#list eventPeriod.getSiblings() as eventPeriod> 
391											  <#-- Determina il titolo dell'accordion in base a data fissa o intervallo --> 
392											  <#assign isFixedDate = (eventPeriod.eventPeriodFixedDate.getData()?string?lower_case == "true")> 
393											  <#assign titoloPeriodo = isFixedDate?then( 
394												  '<span style="color:  #c12033;">' + (eventPeriod.eventPeriodDateFrom.getData()!"Data non disponibile") + '</span>', 
395												  '${label_data_dal} <span style="color:  #c12033;">' + (eventPeriod.eventPeriodDateFrom.getData()!"") + '</span> ${label_data_al} <span style="color:  #c12033;">' + (eventPeriod.eventPeriodDateTo.getData()!"") + '</span>' 
396												)> 
397											<div class="card shadow-none border mb-2"> 
398												<div class="card-header p-0 bg-white" id="header-period-${eventPeriod?index}"> 
399												  <h2 class="mb-0"> 
400													<button class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
401															type="button" data-toggle="collapse" 
402															data-target="#collapse-period-${eventPeriod?index}" 
403															aria-expanded="false" 
404															aria-controls="collapse-period-${eventPeriod?index}" 
405															style="color: #000; font-weight: 600;"> 
406													  <span>${titoloPeriodo}</span> 
407													  <i class="fa fa-chevron-down ms-3"></i> 
408													</button> 
409												  </h2> 
410												</div> 
411												<div id="collapse-period-${eventPeriod?index}" 
412													 class="collapse" 
413													 aria-labelledby="header-period-${eventPeriod?index}" 
414													 data-parent="#accordionPeriodi-${instanceId}"> 
415													<div class="card-body bg-light"> 
416										 
417														<ul class="list-inline mb-2"> 
418 
419														<#-- Orari apertura/chiusura --> 
420														<#assign opening = eventPeriod.eventPeriodOpeningHours.getData()?trim!'' /> 
421														<#assign closing = eventPeriod.eventPeriodClosingTimes.getData()?trim!'' /> 
422														<#assign openingMorning = eventPeriod.eventPeriodMorningOpeningHours.getData()?if_exists> 
423														<#assign closingMorning = eventPeriod.eventPeriodMorningClosingTime.getData()?if_exists> 
424														<#assign openingAfternoon = eventPeriod.eventPeriodAfternoonOpeningHours.getData()?if_exists> 
425														<#assign closingAfternoon = eventPeriod.eventPeriodClosingTimeAfternoon.getData()?if_exists> 
426 
427														<#-- Orario mattina --> 
428														<#if openingMorning?has_content> 
429														  <#if closingMorning?has_content> 
430															<#assign morningHours = openingMorning + " - " + closingMorning> 
431														  <#else> 
432															<#assign morningHours = openingMorning> 
433														  </#if> 
434														<#else> 
435														  <#assign morningHours = ""> 
436														</#if> 
437 
438														<#-- Orario pomeriggio --> 
439														<#if openingAfternoon?has_content && closingAfternoon?has_content> 
440														  <#assign afternoonHours = openingAfternoon + " - " + closingAfternoon> 
441														<#elseif openingAfternoon?has_content> 
442														  <#assign afternoonHours = openingAfternoon> 
443														<#else> 
444														  <#assign afternoonHours = ""> 
445														</#if> 
446 
447														<#-- Orario Generale --> 
448														<#if opening?has_content && closing?has_content> 
449														  <p class="mb-2"><strong>Orario:</strong> ${opening} - ${closing}</p> 
450														<#elseif opening?has_content> 
451														  <p class="mb-2"><strong>Apertura:</strong> ${opening}</p> 
452														<#elseif closing?has_content> 
453														  <p class="mb-2"><strong>Chiusura:</strong> ${closing}</p> 
454														</#if> 
455 
456														<#if morningHours?has_content && afternoonHours?has_content> 
457														  <p class="mb-2"><strong>Orario Mattina:</strong> ${morningHours}</p> 
458														  <p class="mb-2"><strong>Orario Pomeriggio:</strong> ${afternoonHours}</p> 
459														<#elseif morningHours?has_content> 
460														  <p class="mb-2"><strong>Orario Mattina:</strong> ${morningHours}</p> 
461														<#elseif afternoonHours?has_content> 
462														  <p class="mb-2"><strong>Orario Pomeriggio:</strong> ${afternoonHours}</p> 
463														</#if> 
464														 
465														<#-- Giorni di chiusura --> 
466														<#assign giorniChiusi = []> 
467														<#list ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"] as dayEnglish> 
468														  <#assign giornoIT =  
469															(dayEnglish == "Sunday")?then("Domenica", 
470															(dayEnglish == "Monday")?then("Lunedi", 
471															(dayEnglish == "Tuesday")?then("Martedi", 
472															(dayEnglish == "Wednesday")?then("Mercoledi", 
473															(dayEnglish == "Thursday")?then("Giovedi", 
474															(dayEnglish == "Friday")?then("Venerdi", 
475															(dayEnglish == "Saturday")?then("Sabato", "Unknown")))))))> 
476														  <#assign closed = getterUtil.getBoolean(eventPeriod["eventPeriodClosed" + dayEnglish].getData()!"false")> 
477														  <#if closed> 
478															<#assign giorniChiusi += [giornoIT]> 
479														  </#if> 
480														</#list> 
481 
482														<#if giorniChiusi?has_content> 
483														  <p class="mb-2"><strong>Giorni di chiusura:</strong> ${giorniChiusi?join(", ")}</p> 
484														</#if> 
485								 
486														 
487														<#-- Cadenza semplice --> 
488														<#if eventPeriod.eventPeriodCadence?? && eventPeriod.eventPeriodCadence.getData()?has_content> 
489														  <p class="mb-2"><strong>Cadenza per:</strong> ${eventPeriod.eventPeriodCadence.getData()}</p> 
490														</#if> 
491														 
492														<#-- Cadenza settimanale --> 
493														<#assign giorniCadenza = []> 
494														<#list ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"] as dayEnglish> 
495														  <#assign giornoIT =  
496															(dayEnglish == "Sunday")?then("Domenica", 
497															(dayEnglish == "Monday")?then("Lunedi", 
498															(dayEnglish == "Tuesday")?then("Martedi", 
499															(dayEnglish == "Wednesday")?then("Mercoledi", 
500															(dayEnglish == "Thursday")?then("Giovedi", 
501															(dayEnglish == "Friday")?then("Venerdi", 
502															(dayEnglish == "Saturday")?then("Sabato", "Unknown")))))))> 
503														  <#assign hasCadence = getterUtil.getBoolean(eventPeriod["eventPeriodCadence" + dayEnglish].getData()!"false")> 
504														  <#if hasCadence> 
505															<#assign giorniCadenza += [giornoIT]> 
506														  </#if> 
507														</#list> 
508 
509														<#if giorniCadenza?has_content> 
510														  <p class="mb-2"><strong>Cadenza settimanale:</strong> ${giorniCadenza?join(", ")}</p> 
511														</#if> 
512														 
513														<#-- Cadenza mensile --> 
514														<#if eventPeriod.eventPeriodMonthlyCadence?? && eventPeriod.eventPeriodMonthlyCadence.getData()?has_content> 
515														  <p class="mb-2"><strong>Cadenza nei mesi:</strong> ${eventPeriod.eventPeriodMonthlyCadence.getData()}</p> 
516														</#if> 
517														 
518													</div> 
519												</div> 
520											</div> 
521											</#list> 
522										</div> 
523										</#if> 
524									</div> 
525								</div> 
526							</#if> 
527 
528							<#-- linea separazione --> 
529							<hr class="border-primary"/> 
530							 
531							<#-- SEZIONE ESIGENZE --> 
532							<div class="row mt-4"> 
533							  <div class="col-md-12"> 
534							    <div id="accordion-detail-${instanceId}" class="accordion"> 
535								  
536								  
537								<#-- TICKET --> 
538								<#assign campi = ["fullTicket", "reducedTicket", "SmallGroups", "groupsNumber", "freeActiveConventions", "reducedActiveConventions", "bookingLink", "notes", "bookingLink", "bookingLink"]> 
539								<#assign ticketHasData = false> 
540								<#list campi as c> 
541									<#if fieldsetTicket[c]?? && fieldsetTicket[c].getData()?has_content> 
542										<#assign ticketHasData = true> 
543										<#break>  
544									</#if> 
545								</#list> 
546 
547								<#if ticketHasData> 
548							 
549 
550									<div class="card shadow-none border mb-2"> 
551										<div class="card-header p-0 bg-transparent" id="ticket-header"> 
552											<h2 class="mb-0"> 
553												 <button 
554													class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
555													type="button" 
556													data-toggle="collapse" 
557													data-target="#ticket-collapse" 
558													aria-expanded="false" 
559													aria-controls="ticket-collapse" 
560													style="color: #000; font-weight: 600;"> 
561													 
562													<#-- Titolo in nero e in grassetto --> 
563													<span class="d-flex align-items-center"> 
564													  <span>Ticket</span> 
565													  <#-- Icona info rossa --> 
566													  <i 
567														class="fa-solid fa-circle-info text-danger" 
568														style="margin-left: 0.5rem;" 
569														data-trigger="hover" 
570														data-toggle="tooltip" 
571														title="Informazioni sui biglietti"> 
572													  </i> 
573													</span> 
574 
575													<#-- Freccia toggler --> 
576													<i class="fa fa-chevron-down ms-3"></i>		 
577												</button> 
578											  </h2> 
579										</div> 
580										<div 
581											id="ticket-collapse" 
582											class="collapse" 
583											aria-labelledby="ticket-header" 
584											data-parent="#accordion-detail-${instanceId}"> 
585											<div class="card-body bg-light"> 
586												   
587												<ul class="list-unstyled mb-0"> 
588			 
589													<#-- Funzione per campi generici --> 
590													<#function showFieldSafe object fieldName> 
591														<#if object?? && object[fieldName]?? && object[fieldName].getData()??> 
592														  <#return object[fieldName].getData()> 
593														<#else> 
594														  <#return "Non disponibile"> 
595														</#if> 
596													</#function> 
597 
598													<#-- Ticket Base --> 
599													<#if fieldsetTicket?? && fieldsetTicket.fullTicket?? && fieldsetTicket.fullTicket.getData()?has_content> 
600													  <li><strong>Ticket Intero:</strong> ${fieldsetTicket.fullTicket.getData()}</li> 
601													</#if> 
602 
603													<#if fieldsetTicket?? && fieldsetTicket.reducedTicket?? && fieldsetTicket.reducedTicket.getData()?has_content> 
604													  <li><strong>Ticket Ridotto:</strong> ${fieldsetTicket.reducedTicket.getData()}</li> 
605													</#if> 
606 
607													<#if fieldsetTicket?? && fieldsetTicket.SmallGroups?? && fieldsetTicket.SmallGroups.getData()?has_content> 
608													  <li><strong>Gruppi ridotto:</strong> ${fieldsetTicket.SmallGroups.getData()}</li> 
609													</#if> 
610 
611													<#if fieldsetTicket?? && fieldsetTicket.groupsNumber?? && fieldsetTicket.groupsNumber.getData()?has_content> 
612													  <li><strong>Gruppi numero:</strong> ${fieldsetTicket.groupsNumber.getData()}</li> 
613													</#if> 
614													 
615													<#-- Convenzioni e Prenotazione -->								    
616													<#if fieldsetTicket?? && fieldsetTicket.freeActiveConventions?? && fieldsetTicket.freeActiveConventions.getData()?has_content> 
617													  <li> 
618														Convenzioni gratis attive:  
619														${fieldsetTicket.freeActiveConventions.getData()} 
620													  </li> 
621													</#if> 
622 
623													<#if fieldsetTicket?? && fieldsetTicket.reducedActiveConventions??  && fieldsetTicket.reducedActiveConventions.getData()?has_content> 
624													  <li> 
625														Convenzioni ridotte attive:  
626														${fieldsetTicket.reducedActiveConventions.getData()} 
627													  </li> 
628													</#if> 
629 
630													<#if fieldsetTicket?? && fieldsetTicket.bookingLink?? && fieldsetTicket.bookingLink.getData()?has_content> 
631													  <li> 
632														Link prenotazione:  
633														<a href="${fieldsetTicket.bookingLink.getData()}" target="_blank"> 
634														  ${fieldsetTicket.bookingLink.getData()} 
635														</a> 
636													  </li> 
637													</#if> 
638 
639													<#if fieldsetTicket?? && fieldsetTicket.notes??  && fieldsetTicket.notes.getData()?has_content> 
640													  <li> 
641														Note: ${fieldsetTicket.notes.getData()} 
642													  </li> 
643													</#if> 
644															 
645													<#-- Ticket Booleani con quadratino --> 
646													<#assign booleanFields = [ 
647													  {"field": "freeForSeniors",       "label": "Gratis per anziani"}, 
648													  {"field": "freeForChildren",       "label": "Gratis per bambini"}, 
649													  {"field": "freeForConventions",   "label": "Gratis per convenzioni"}, 
650													  {"field": "freeForDisabled",      "label": "Gratis per disabili"}, 
651													  {"field": "freeForCompanions",    "label": "Gratis per accompagnatori"}, 
652													  {"field": "reducedForSeniors",    "label": "Ridotto per anziani"}, 
653													  {"field": "reducedForChildren",    "label": "Ridotto per bambini"}, 
654													  {"field": "reducedForConventions","label": "Ridotto per convenzioni"}, 
655													  {"field": "reducedForDisabled",   "label": "Ridotto per disabili"}, 
656													  {"field": "reducedForCompanions", "label": "Ridotto per accompagnatori"} 
657													] /> 
658													 
659													<#-- Calcolo il flag --> 
660													<#assign hasExemptions = false> 
661													<#list booleanFields as item> 
662													  <#if fieldsetTicket[item.field]??  
663														  && getterUtil.getBoolean(fieldsetTicket[item.field].getData())> 
664														<#assign hasExemptions = true /> 
665														<#break> 
666													  </#if> 
667													</#list> 
668 
669													<#if hasExemptions> 
670														<h4 class="mb-2">Esenzioni e riduzioni</h4> 
671														<ul class="list-unstyled"> 
672														  <#list booleanFields as item> 
673															<#if fieldsetTicket[item.field]?? && getterUtil.getBoolean(fieldsetTicket[item.field].getData())> 
674															  <li class="d-flex align-items-center mb-1"> 
675																<span style=" 
676																  display: inline-block; 
677																  width: 5px; 
678																  height: 5px; 
679																  background-color: #c12033; 
680																  margin-right: 4px; 
681																  border-radius: 1px; 
682																"></span> 
683																${item.label} 
684															  </li> 
685															</#if> 
686														  </#list> 
687														</ul> 
688													</#if> 
689 
690												</ul> 
691											</div> 
692										</div> 
693									</div> 
694								</#if>								 
695								 
696								 
697								 
698								 
699								 
700								 
701								 
702								 
703							   
704								<#-- ESIGENZE SPECIFICHE --> 
705								<#-- Definizione dei campi e label --> 
706								<#assign specificNeedsFields = [ 
707								  {"field": "accessibilitySpecificNeedsFamiliesWithChildren",   "label": "Famiglie con bambini"}, 
708								  {"field": "accessibilitySpecificNeedsPeopleWithAnimals",      "label": "Persone con animali"}, 
709								  {"field": "accessibilitySpecificNeedsPhysicalDisability",  "label": "Disabilita fisica"}, 
710								  {"field": "accessibilitySpecificNeedsVisualDisability",    "label": "Disabilita visiva"}, 
711								  {"field": "accessibilitySpecificNeedsHearingDisability",   "label": "Disabilita uditiva"}, 
712								  {"field": "accessibilitySpecificNeedsPregnancy",           "label": "Gravidanza"}, 
713								  {"field": "accessibilitySpecificNeedsElderly",             "label": "Anziani"} 
714								] /> 
715 
716								<#-- Calcolo del flag --> 
717								<#assign hasSpecificNeeds = false> 
718								<#list specificNeedsFields as item> 
719								  <#if accessibilitySpecificNeeds??  
720									  && accessibilitySpecificNeeds[item.field]??  
721									  && getterUtil.getBoolean(accessibilitySpecificNeeds[item.field].getData())> 
722									<#assign hasSpecificNeeds = true /> 
723									<#break> 
724								  </#if> 
725								</#list> 
726 
727								<#-- Accordion avvolto nella condizione --> 
728								<#if hasSpecificNeeds> 
729								  <div class="card shadow-none border mb-2"> 
730									<div class="card-header p-0 bg-white" id="specificNeeds-header"> 
731									  <h2 class="mb-0"> 
732										<button 
733										  class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
734										  type="button" 
735										  data-toggle="collapse" 
736										  data-target="#specificNeeds-collapse" 
737										  aria-expanded="false" 
738										  aria-controls="specificNeeds-collapse" 
739										  style="color: #000; font-weight: 600;"> 
740										   
741										  <span class="d-flex align-items-center"> 
742											<span>Esigenze Specifiche</span> 
743											<i class="fa-solid fa-circle-info text-danger" 
744											   style="margin-left: 0.5rem;" 
745											   data-trigger="hover" 
746											   data-toggle="tooltip" 
747											   title="Esigenze specifiche"></i> 
748										  </span> 
749										  <i class="fa fa-chevron-down ms-3"></i> 
750										</button> 
751									  </h2> 
752									</div> 
753									<div id="specificNeeds-collapse" 
754										 class="collapse" 
755										 aria-labelledby="specificNeeds-header" 
756										 data-parent="#accordion-detail-${instanceId}"> 
757									  <div class="card-body bg-light"> 
758										<ul class="list-unstyled mb-0"> 
759										  <#-- Elenco solo dei campi true --> 
760										  <#list specificNeedsFields as item> 
761											<#if accessibilitySpecificNeeds[item.field]??  
762												&& getterUtil.getBoolean(accessibilitySpecificNeeds[item.field].getData())> 
763											  <li class="d-flex align-items-center mb-1"> 
764												<span style=" 
765												  display: inline-block; 
766												  width: 5px; 
767												  height: 5px; 
768												  background-color: #c12033; 
769												  margin-right: 4px; 
770												  border-radius: 1px; 
771												"></span> 
772												${item.label} 
773											  </li> 
774											</#if> 
775										  </#list> 
776										</ul> 
777									  </div> 
778									</div> 
779								  </div> 
780								</#if> 
781 
782								<#-- ACCESSIBILITA: SERVIZI --> 
783								<#assign accessibilityServicesFields = [ 
784										  {"field":"accessibilityServicesInfopoint","label":"Infopoint"}, 
785										  {"field":"accessibilityServicesToilets","label":"Servizi Igienici"}, 
786										  {"field":"accessibilityServicesDisabledParking","label":"Parcheggio Disabili"}, 
787										  {"field":"accessibilityServicesEntrances","label":"Ingressi"}, 
788										  {"field":"accessibilityServicesTactilePaths","label":"Percorsi Tattili"}, 
789										  {"field":"accessibilityServicesBrailleGuides","label":"Guide Braille"}, 
790										  {"field":"accessibilityServicesBrailleSignage","label":"Segnaletica Braille"}, 
791										  {"field":"accessibilityServicesReadableSignage","label":"Segnaletica Leggibile"}, 
792										  {"field":"accessibilityServicesReadableMaterial","label":"Materiale Leggibile"}, 
793										  {"field":"accessibilityServicesAudioStations","label":"Postazioni Audio"}, 
794										  {"field":"accessibilityServicesAudioguides","label":"Audioguide"}, 
795										  {"field":"accessibilityServicesAudioguidesPaths","label":"Audioguide Percorsi"}, 
796										  {"field":"accessibilityServicesSubtitledMaterial","label":"Materiale Sottotitolato"}, 
797										  {"field":"accessibilityServicesTactilePlayback","label":"Riproduzioni Tattili"}, 
798										  {"field":"accessibilityServicesComputers","label":"Computer"}, 
799										  {"field":"accessibilityServicesLis","label":"LIS"} 
800										] /> 
801								<#--  Calcolo il flag hasServices --> 
802								<#assign hasServices = false> 
803								<#list accessibilityServicesFields as item> 
804								  <#if accessibilityServices??  
805									  && accessibilityServices[item.field]??  
806									  && getterUtil.getBoolean(accessibilityServices[item.field].getData())> 
807									<#assign hasServices = true /> 
808									<#break> 
809								  </#if> 
810								</#list> 
811								 
812								<#if hasServices> 
813									<div class="card shadow-none border mb-2"> 
814									  <div class="card-header p-0 bg-white" id="services-header"> 
815										<h2 class="mb-0"> 
816										  <button class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
817												  type="button" 
818												  data-toggle="collapse" 
819												  data-target="#services-collapse" 
820												  aria-expanded="false" 
821												  aria-controls="services-collapse" 
822												  style="color: #000; font-weight: 600;"> 
823											<span class="d-flex align-items-center"> 
824											  <span>Accessibilita': Servizi</span> 
825											  <i class="fa-solid fa-circle-info text-danger" 
826												 style="margin-left: 0.5rem; 
827												 data-trigger="hover" 
828												 data-toggle="tooltip" 
829												 title="Servizi accessibili"></i> 
830											</span> 
831											<i class="fa fa-chevron-down ms-3"></i> 
832										  </button> 
833										</h2> 
834									  </div> 
835									  <div id="services-collapse" 
836										   class="collapse" 
837										   aria-labelledby="services-header" 
838										   data-parent="#accordion-detail-${instanceId}"> 
839										<div class="card-body bg-light"> 
840										  <ul class="list-unstyled mb-0"> 
841 
842											<#list accessibilityServicesFields as item> 
843											  <#if accessibilityServices??  
844												  && accessibilityServices[item.field]??  
845												  && getterUtil.getBoolean(accessibilityServices[item.field].getData())> 
846												<li class="d-flex align-items-center mb-1"> 
847												  <span style=" 
848													display: inline-block; 
849													width: 5px; 
850													height: 5px; 
851													background-color: #c12033; 
852													margin-right: 4px; 
853													border-radius: 1px; 
854												  "></span> 
855												  ${item.label} 
856												</li> 
857											  </#if> 
858											</#list> 
859 
860										  </ul> 
861										</div> 
862									  </div> 
863									</div> 
864								</#if> 
865								 
866								<#-- ACCESSIBILITA: BAMBINI --> 
867								<#assign accessibilityChildrenFields = [ 
868										  {"field": "accessibilityChildrenLibrary", "label": "Biblioteca"}, 
869										  {"field": "accessibilityChildrenGardens", "label": "Giardini"}, 
870										  {"field": "accessibilityChildrenPlayroom", "label": "Ludoteca"}, 
871										  {"field": "accessibilityChildrenNursey", "label": "Asilo nido"}, 
872										  {"field": "accessibilityChildrenPlayground", "label": "Parco giochi"} 
873										] /> 
874								<#--  Calcolo il flag hasChildren --> 
875								<#assign hasChildren = false> 
876								<#list accessibilityChildrenFields as item> 
877								  <#if accessibilityChildren??  
878									  && accessibilityChildren[item.field]??  
879									  && getterUtil.getBoolean(accessibilityChildren[item.field].getData())> 
880									<#assign hasChildren = true /> 
881									<#break> 
882								  </#if> 
883								</#list>		 
884								 
885								<#if hasChildren> 
886									<div class="card shadow-none border mb-2"> 
887									  <div class="card-header p-0 bg-white" id="children-header"> 
888										<h2 class="mb-0"> 
889										  <button class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
890												  type="button" 
891												  data-toggle="collapse" 
892												  data-target="#children-collapse" 
893												  aria-expanded="false" 
894												  aria-controls="children-collapse" 
895												  style="color: #000; font-weight: 600;"> 
896											<span class="d-flex align-items-center"> 
897											  <span>Accessibilita': Bambini</span> 
898											  <i class="fa-solid fa-circle-info text-danger" 
899												 style="margin-left: 0.5rem; 
900												 data-trigger="hover" 
901												 data-toggle="tooltip" 
902												 title="Servizi per bambini"></i> 
903											</span> 
904											<i class="fa fa-chevron-down ms-3"></i> 
905										  </button> 
906										</h2> 
907									  </div> 
908									  <div id="children-collapse" 
909										   class="collapse" 
910										   aria-labelledby="children-header" 
911										   data-parent="#accordion-detail-${instanceId}"> 
912										<div class="card-body bg-light"> 
913										  <ul class="list-unstyled mb-0"> 
914 
915											<#list accessibilityChildrenFields as item> 
916											  <#if accessibilityChildren??  
917												  && accessibilityChildren[item.field]??  
918												  && getterUtil.getBoolean(accessibilityChildren[item.field].getData())> 
919												<li class="d-flex align-items-center mb-1"> 
920												  <span style=" 
921													display: inline-block; 
922													width: 5px; 
923													height: 5px; 
924													background-color: #c12033; 
925													margin-right: 4px; 
926													border-radius: 1px; 
927												  "></span> 
928												  ${item.label} 
929												</li> 
930											  </#if> 
931											</#list> 
932 
933										  </ul> 
934										</div> 
935									  </div> 
936									</div> 
937								 </#if> 
938								  
939								<#-- ACCESSIBILITA: ANIMALI --> 
940								<#assign accessibilityAnimalsFields = [ 
941										  {"field": "accessibilityAnimalsDog", "label": "Cani ammessi"}, 
942										  {"field": "accessibilityAnimalsDogSmall", "label": "Cani piccoli ammessi"}, 
943										  {"field": "accessibilityAnimalsDogMedium", "label": "Cani medi ammessi"} 
944										] /> 
945										 
946								<#--  Calcolo il flag hasAnimals --> 
947								<#assign hasAnimals = false> 
948								<#list accessibilityAnimalsFields as item> 
949								  <#if accessibilityAnimals??  
950									  && accessibilityAnimals[item.field]??  
951									  && getterUtil.getBoolean(accessibilityAnimals[item.field].getData())> 
952									<#assign hasAnimals = true /> 
953									<#break> 
954								  </#if> 
955								</#list> 
956								 
957								<#if hasAnimals> 
958									<div class="card shadow-none border mb-2"> 
959									  <div class="card-header p-0 bg-white" id="animals-header"> 
960										<h2 class="mb-0"> 
961										  <button class="btn w-100 text-start d-flex justify-content-between align-items-center px-3 py-2 collapsed" 
962												  type="button" 
963												  data-toggle="collapse" 
964												  data-target="#animals-collapse" 
965												  aria-expanded="false" 
966												  aria-controls="animals-collapse" 
967												  style="color: #000; font-weight: 600;"> 
968											<span class="d-flex align-items-center"> 
969											  <span>Accessibilita': Animali</span> 
970											  <i class="fa-solid fa-circle-info text-danger" 
971												 style="margin-left: 0.5rem; 
972												 data-trigger="hover" 
973												 data-toggle="tooltip" 
974												 title="Accesso animali"></i> 
975											</span> 
976											<i class="fa fa-chevron-down ms-3"></i> 
977										  </button> 
978										</h2> 
979									  </div> 
980									  <div id="animals-collapse" 
981										   class="collapse" 
982										   aria-labelledby="animals-header" 
983										   data-parent="#accordion-detail-${instanceId}"> 
984										<div class="card-body bg-light"> 
985										  <ul class="list-unstyled mb-0"> 
986 
987 
988											<#list accessibilityAnimalsFields as item> 
989											  <#if accessibilityAnimals??  
990												  && accessibilityAnimals[item.field]??  
991												  && getterUtil.getBoolean(accessibilityAnimals[item.field].getData())> 
992												<li class="d-flex align-items-center mb-1"> 
993												  <span style=" 
994													display: inline-block; 
995													width: 5px; 
996													height: 5px; 
997													background-color: #c12033; 
998													margin-right: 4px; 
999													border-radius: 1px; 
1000												  "></span> 
1001												  ${item.label} 
1002												</li> 
1003											  </#if> 
1004											</#list> 
1005 
1006										  </ul> 
1007										</div> 
1008									  </div> 
1009									</div> 
1010								</#if> 
1011								 
1012						</div> 
1013					</#if> 
1014					<#-- fine colonna destra --> 
1015					 
1016					<#-- Tooltip --> 
1017					<script> 
1018					  var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) 
1019					  var tooltipList = tooltipTriggerList.map(function (el) { 
1020						return new bootstrap.Tooltip(el) 
1021					  }) 
1022					</script> 
1023					 
1024					<#-- Ruota la freccia su apertura --> 
1025					<style> 
1026					  #ticket-header button[aria-expanded="true"] .fa-chevron-down { 
1027						transform: rotate(180deg); 
1028					  } 
1029					</style> 
1030					 
1031				</div> 
1032			</div> 
1033		</div> 
1034		<#-- fine main content -->	 
1035	</section>	 
1036     
1037    <#if (numImages??) && (numImages gt 0)> 
1038		<script type="text/javascript"> 
1039			$('#carousel_gallery_${instanceId}_${journalArticleResourcePrimKey} .card').on('click', function(e) { 
1040				e.preventDefault(); 
1041				var imgSources = new Array(); 
1042				function imgItem(source,title) { 
1043					this.src = source; 
1044					this.title = title; 
1045				} 
1046				$('#carousel_gallery_${instanceId}_${journalArticleResourcePrimKey} .owl-item:not(.cloned) img').each(function () { 
1047					imgSources.push(new imgItem($(this).attr('src'), $(this).attr('alt'))); 
1048				}); 
1049				var indexOfHighlightedImage = 0; 
1050				//richiamo lo script per il lightbox 
1051				$.magnificPopup.open({ 
1052					items: imgSources, 
1053					type: "image", 
1054					preloader: false, 
1055					fixedContentPos: true, 
1056					showCloseBtn: true, 
1057					removalDelay: 300, 
1058					mainClass: 'mfp-fade', 
1059					tClose: '${label_chiudi}', 
1060				  	tLoading: '${label_loading}', 
1061					gallery: { 
1062						enabled: true, 
1063						tPrev: "${label_precedente}", 
1064						tNext: "${label_successivo}", 
1065						tCounter: '%curr%/%total%' 
1066					} 
1067				}, indexOfHighlightedImage); 
1068			});	 
1069		 
1070			$(document).ready(function(){ 
1071			    var owl = $('#carousel_gallery_${instanceId}_${journalArticleResourcePrimKey}');	 
1072			     
1073				// richiamo lo script per la galleria 
1074				owl.owlCarousel({ 
1075					loop: true, 
1076				    autoplay: true, 
1077				    rewind: true, 
1078					<#-- 
1079				    mouseDrag: false, 
1080				    touchDrag: false, 
1081				    --> 
1082				    margin: 10, 
1083				    nav: false, 
1084				    navText: ['<svg class="icon" aria-hidden="true"><use xlink:href="/o/cartapulia-theme/svg/sprite.svg#it-arrow-left"></use></svg>','<svg class="icon" aria-hidden="true"><use xlink:href="/o/cartapulia-theme/svg/sprite.svg#it-arrow-right"></use></svg>'], 
1085				    dots: false, 
1086				    responsiveClass:true, 
1087				    items: 1, 
1088				    responsive:{ 
1089				        0:{ 
1090				            items:1, 
1091				            dots: true 
1092				        }, 
1093				        768:{ 
1094				            items:1, 
1095				            dots: true 
1096				        }, 
1097				        992:{ 
1098				            items:1, 
1099				            dots: false 
1100				        } 
1101				    } 
1102				}) 
1103				 
1104				// navigazione con tastiera 
1105				$(document.documentElement).keyup(function(event) {     
1106			        if (event.keyCode == 37) { /*left key*/ 
1107			            owl.trigger('prev.owl.carousel', [700]); 
1108			        } else if (event.keyCode == 39) { /*right key*/ 
1109			            owl.trigger('next.owl.carousel', [700]); 
1110			        } 
1111			    }); 
1112			}); 
1113		</script>	 
1114	</#if> 
1115	 
1116	<#-- javascript debug popolamento mappa --> 
1117	<div id="debug_response"></div>	 
1118	<script> 
1119			 
1120		<#-- Variabili --> 
1121		var iframeModello = null; 
1122		var geoJsonEvento = { 
1123			TYPE: 'loadPOI', 
1124			DATA: { 
1125				addPOI: false, 
1126				 geometryType: 'Point', 
1127				 zoom: false, 
1128				'geometry':{ 
1129			      	'type': 'FeatureCollection', 
1130			      	'name': 'loadPoi', 
1131			     	'crs': { 'type': 'name', 'properties': { 'name': 'urn:ogc:def:crs:OGC:1.3:CRS84' } }, 
1132			     	'features': [] 
1133				} 
1134			} 
1135		} 
1136	 
1137		<#-- Visualizzazione della mappa nel container --> 
1138		$(function() { 
1139		 
1140			<#assign portalURL = themeDisplay.getPortalURL() /> 
1141			<#assign geoSections = geoSection.getSiblings()![] /> 
1142			var customFeatures = [ 
1143				<#list geoSections as curGeo> 
1144					<#if (curGeo.latitude.getData()?has_content) && (curGeo.longitude.getData()?has_content)> 
1145						{ 
1146							"geometry": { 
1147								"coordinates": [ 
1148									${curGeo.longitude.getData()?number}, 
1149									${curGeo.latitude.getData()?number} 
1150								], 
1151								"type": "Point" 
1152							}, 
1153							"type": "Feature", 
1154							"properties": { 
1155								"typology": "Evento", 
1156								"image": "${portalURL}${imageSection.image.getData()}", 
1157								"identify": true, 
1158								"like": "", 
1159								"description": "${((description?? && description.getData()?has_content)?then(description.getData(), ''))?replace('<[^>]*>', '', 'r')?replace('&nbsp;', ' ')?js_string}}", 
1160								"id": ${journalArticleResourcePrimKey?default(0)}, 
1161								"title": "${titoloScheda?replace('"','\\"')?replace('\r','')?replace('\n',' ')}" 
1162							} 
1163						} 
1164					  <#if curGeo_has_next>,</#if> 
1165					</#if> 
1166				</#list> 
1167			]; 
1168			 
1169			geoJsonEvento.DATA.geometry.features = customFeatures; 
1170			 
1171			try{ 
1172				window.removeEventListener("message", listenerModelEvento); 
1173				if(!(typeof iframeAdv  === 'undefined')){ 
1174					iframeAdv = null; 
1175				} 
1176			} catch (e) { 
1177				console.log("catch modello eventi") 
1178			} finally { 
1179				$("#mapContainer").html(""); 
1180				$("#mapContainer").html( 
1181					'<iframe id="iframeMappaEvento" width="425" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="${url_iframe}" style="width:100%!important; margin-top: -48px !important;"></iframe>' 
1182				); 
1183				iframeModello = $("#iframeMappaEvento")[0];			 
1184				window.addEventListener("message", listenerModelEvento); 
1185			} 
1186			 
1187		}); 
1188		 
1189		function listenerModelEvento(event) { 
1190			//console.log("function listenerModelEvento"); 
1191			if(event && event.data && event.data.TYPE) { 
1192				try{ 
1193					if(event.data.TYPE == "ready") { 
1194						//ricercaTappe(); 
1195						renderPOIIframeEvento(); 
1196					} else if(event.data.TYPE == "loadPoi") { 
1197						if(event.data.DATA.timestamp) { 
1198							renderPOIIframeEvento(); 
1199						} 
1200					} 
1201					//console.log("EVENT:: "  + event.data.TYPE); 
1202				} catch (ex){ 
1203					console.log("Ex:: " + ex); 
1204				} 
1205			} 
1206		} 
1207		 
1208		function renderPOIIframeEvento() { 
1209			//console.log("function renderPOIIframeEvento"); 
1210			iframeModello.contentWindow.postMessage(geoJsonEvento, '*'); 
1211			geoJsonEvento.DATA.geometry.features = []; 
1212			//console.log("geoJsonEvento::"+JSON.stringify(geoJsonEvento)); 
1213		} 
1214		 
1215	</script>	 
1216</#if>