Se ha producido un error al procesar la plantilla.
Invocation of method 'addMetaTag' in  class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception XYZ_E_INVALID_VELOCITY_META_TAGS_MAP_ZYX:Invalid parameters K: 'content' V: 'null'

[file IterVelocityTools.java, method addMetaTag, line 886] at 21736/F/SCROLL_INFINITO[line 315, column 20]
1##----Estandar2.0----
 
2$iterVelocityTools.setRenderArticleMode(1)
 
3
 
4#set($sort = "createdate")
 
5#set($criteria= "desc")
 
6#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
7#set($sectionID = "#printAssignedSectionID_v1")
 
8#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
9## CONTENIDOS
 
10#set($dateMask = "d MMMM yyyy")
 
11#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
12#set($title = $!articleToolbox.getTag(null,'Headline').data)
 
13#set($hostName = "#siteUrl()")
 
14##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
15#set ($arrayListContenidos = [])
 
16
 
17#set ($element = {})
 
18#set ($temp = $element.put("name","Titulo_App"))
 
19#set ($temp = $element.put("type","Tituloapp"))
 
20#set ($temp = $element.put("cssclass","texto"))
 
21#set ($temp = $element.put("tag","div"))
 
22#set($temp = $arrayListContenidos.add($element))
 
23
 
24#set ($element = {})
 
25#set ($temp = $element.put("name","Text"))
 
26#set ($temp = $element.put("type","paragraph"))
 
27#set ($temp = $element.put("cssclass","texto"))
 
28#set ($temp = $element.put("tag","div"))
 
29#set($temp = $arrayListContenidos.add($element))
 
30
 
31#set ($element = {})
 
32#set ($temp = $element.put("name","Image_Text"))
 
33#set ($temp = $element.put("type","image"))
 
34#set ($temp = $element.put("cssclass","img text"))
 
35#set ($temp = $element.put("tag","div"))
 
36#set($temp = $arrayListContenidos.add($element))
 
37
 
38#set ($element = {})
 
39#set ($temp = $element.put("name","Image_Text_GIF"))
 
40#set ($temp = $element.put("type","image"))
 
41#set ($temp = $element.put("cssclass","imagen"))
 
42#set ($temp = $element.put("tag","div"))
 
43#set($temp = $arrayListContenidos.add($element))
 
44
 
45#set ($element = {})
 
46#set ($temp = $element.put("name","Lead_Text"))
 
47#set ($temp = $element.put("type","text"))
 
48#set ($temp = $element.put("cssclass","intertitulo"))
 
49#set ($temp = $element.put("tag","div"))
 
50#set($temp = $arrayListContenidos.add($element))
 
51
 
52#set ($element = {})
 
53#set ($temp = $element.put("name","HTML_Text"))
 
54#set ($temp = $element.put("type","html"))
 
55#set ($temp = $element.put("cssclass","html_text"))
 
56#set ($temp = $element.put("tag","div"))
 
57#set($temp = $arrayListContenidos.add($element))
 
58
 
59#set ($element = {})
 
60#set ($temp = $element.put("name","Twitter_Text"))
 
61#set ($temp = $element.put("type","twitter"))
 
62#set ($temp = $element.put("cssclass","twitter_text"))
 
63#set ($temp = $element.put("tag","div"))
 
64#set ($temp = $arrayListContenidos.add($element))
 
65
 
66#set ($element = {})
 
67#set ($temp = $element.put("name","Facebook_Text"))
 
68#set ($temp = $element.put("type","facebook"))
 
69#set ($temp = $element.put("cssclass","facebook_text"))
 
70#set ($temp = $element.put("tag","div"))
 
71#set ($temp = $arrayListContenidos.add($element))
 
72
 
73#set ($element = {})
 
74#set ($temp = $element.put("name","Instagram_Text"))
 
75#set ($temp = $element.put("type","instagram"))
 
76#set ($temp = $element.put("cssclass","instagram_text"))
 
77#set ($temp = $element.put("tag","div"))
 
78#set ($temp = $arrayListContenidos.add($element))
 
79
 
80#set ($element = {})
 
81#set ($temp = $element.put("name","Youtube_Text"))
 
82#set ($temp = $element.put("type","youtube"))
 
83#set ($temp = $element.put("cssclass","youtube_video"))
 
84#set ($temp = $element.put("tag","div"))
 
85#set($temp = $arrayListContenidos.add($element))
 
86
 
87#set ($element = {})
 
88#set ($temp = $element.put("name","Multimedia_Text"))
 
89#set ($temp = $element.put("type","multimedia"))
 
90#set ($temp = $element.put("cssclass","video"))
 
91#set ($temp = $element.put("tag","div"))
 
92#set($temp = $arrayListContenidos.add($element))
 
93
 
94#set ($element = {})
 
95#set ($temp = $element.put("name","Flourish_Text"))
 
96#set ($temp = $element.put("type","text"))
 
97#set ($temp = $element.put("cssclass","flourish_text"))
 
98#set ($temp = $element.put("tag","div"))
 
99#set ($temp = $arrayListContenidos.add($element))
 
100
 
101#set ($element = {})
 
102#set ($temp = $element.put("name","Quote"))
 
103#set ($temp = $element.put("type","text"))
 
104#set ($temp = $element.put("cssclass","quote"))
 
105#set ($temp = $element.put("tag","div"))
 
106#set($temp = $arrayListContenidos.add($element))
 
107
 
108#set ($element = {})
 
109#set ($temp = $element.put("name","Quote_byline"))
 
110#set ($temp = $element.put("type","text"))
 
111#set ($temp = $element.put("cssclass","Quote_byline"))
 
112#set ($temp = $element.put("tag","div"))
 
113#set ($temp = $arrayListContenidos.add($element))
 
114
 
115#set ($element = {})
 
116#set ($temp = $element.put("name","linkTitle_Text"))
 
117#set ($temp = $element.put("type","text"))
 
118#set ($temp = $element.put("cssclass","link_tpi"))
 
119#set ($temp = $element.put("tag","div"))
 
120#set($temp = $arrayListContenidos.add($element))
 
121
 
122#set ($element = {})
 
123#set ($temp = $element.put("name","title_list"))
 
124#set ($temp = $element.put("type","microformat"))
 
125#set ($temp = $element.put("cssclass","microformat"))
 
126#set ($temp = $element.put("tag","div"))
 
127#set($temp = $arrayListContenidos.add($element))
 
128
 
129#set ($element = {})
 
130#set ($temp = $element.put("name","image_list"))
 
131#set ($temp = $element.put("type","microformat"))
 
132#set ($temp = $element.put("cssclass","microformat"))
 
133#set ($temp = $element.put("tag","div"))
 
134#set($temp = $arrayListContenidos.add($element))
 
135
 
136#set ($element = {})
 
137#set ($temp = $element.put("name","text_list"))
 
138#set ($temp = $element.put("type","microformat"))
 
139#set ($temp = $element.put("cssclass","microformat"))
 
140#set ($temp = $element.put("tag","div"))
 
141#set($temp = $arrayListContenidos.add($element))
 
142
 
143#set ($element = {})
 
144#set ($temp = $element.put("name","Parrafo_Lista"))
 
145#set ($temp = $element.put("type","text"))
 
146#set ($temp = $element.put("cssclass","Parrafo_Lista"))
 
147#set ($temp = $element.put("tag","div"))
 
148#set ($temp = $arrayListContenidos.add($element))
 
149
 
150#set ($element = {})
 
151#set ($temp = $element.put("name","Titulo_News"))
 
152#set ($temp = $element.put("type","text"))
 
153#set ($temp = $element.put("cssclass","titulo_news"))
 
154#set ($temp = $element.put("tag","div"))
 
155#set ($temp = $arrayListContenidos.add($element))
 
156
 
157#set ($element = {})
 
158#set ($temp = $element.put("name","Resumen_News"))
 
159#set ($temp = $element.put("type","text"))
 
160#set ($temp = $element.put("cssclass","resumen_news"))
 
161#set ($temp = $element.put("tag","div"))
 
162#set ($temp = $arrayListContenidos.add($element))
 
163
 
164#set ($element = {})
 
165#set ($temp = $element.put("name","Boton"))
 
166#set ($temp = $element.put("type","text"))
 
167#set ($temp = $element.put("cssclass","Boton"))
 
168#set ($temp = $element.put("tag","div"))
 
169#set ($temp = $arrayListContenidos.add($element))
 
170
 
171#set ($element = {})
 
172#set ($temp = $element.put("name","Lead"))
 
173#set ($temp = $element.put("type","text"))
 
174#set ($temp = $element.put("cssclass","lead destacado"))
 
175#set ($temp = $element.put("tag","div"))
 
176#set ($temp = $arrayListContenidos.add($element))
 
177
 
178#set ($element = {})
 
179#set ($temp = $element.put("name","Ficha_Titulo"))
 
180#set ($temp = $element.put("type","text"))
 
181#set ($temp = $element.put("cssclass","Ficha_Titulo"))
 
182#set ($temp = $element.put("tag","div"))
 
183#set ($temp = $arrayListContenidos.add($element))
 
184
 
185#set ($element = {})
 
186#set ($temp = $element.put("name","Ficha_Foto"))
 
187#set ($temp = $element.put("type","image"))
 
188#set ($temp = $element.put("cssclass","Ficha_Foto"))
 
189#set ($temp = $element.put("tag","div"))
 
190#set ($temp = $arrayListContenidos.add($element))
 
191
 
192#set ($element = {})
 
193#set ($temp = $element.put("name","Ficha_Texto"))
 
194#set ($temp = $element.put("type","text"))
 
195#set ($temp = $element.put("cssclass","Ficha_Texto"))
 
196#set ($temp = $element.put("tag","div"))
 
197#set ($temp = $arrayListContenidos.add($element))
 
198
 
199#set ($element = {})
 
200#set ($temp = $element.put("name","Ficha_Social"))
 
201#set ($temp = $element.put("type","text"))
 
202#set ($temp = $element.put("cssclass","Ficha_Social"))
 
203#set ($temp = $element.put("tag","div"))
 
204#set ($temp = $arrayListContenidos.add($element))
 
205
 
206#set ($element = {})
 
207#set ($temp = $element.put("name","Entrevista_Pregunta"))
 
208#set ($temp = $element.put("type","text"))
 
209#set ($temp = $element.put("cssclass","Entrevista_Pregunta"))
 
210#set ($temp = $element.put("tag","div"))
 
211#set ($temp = $arrayListContenidos.add($element))
 
212
 
213#set ($element = {})
 
214#set ($temp = $element.put("name","Entrevista_Respuesta"))
 
215#set ($temp = $element.put("type","text"))
 
216#set ($temp = $element.put("cssclass","Entrevista_Respuesta"))
 
217#set ($temp = $element.put("tag","div"))
 
218#set ($temp = $arrayListContenidos.add($element))
 
219
 
220#set ($element = {})
 
221#set ($temp = $element.put("name","URLCanonical"))
 
222#set ($temp = $element.put("type","text"))
 
223#set ($temp = $element.put("cssclass","URLCanonical"))
 
224#set ($temp = $element.put("tag","div"))
 
225#set ($temp = $arrayListContenidos.add($element))
 
226
 
227
 
228#set($sectionID = "#printAssignedSectionID_v1")
 
229#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
230
 
231#set($section = "#printAssignedSection_v1")
 
232
 
233#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
 
234#if($FacebookText_ && $FacebookText_.data != "")
 
235<div id="fb-root"></div>
 
236<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
 
237#end
 
238
 
239##----json----
 
240#set($pub_imagen1 = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
241#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
242
 
243#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
244#set($dateF = $dateF.trim())
 
245#set($dateM = "#printDateCreate('HH:mm:ss' 'false' 'false')")
 
246#set($dateM = $dateM.trim())
 
247#set($dateF = $dateF + "T" + $dateM +"-0600")
 
248
 
249
 
250#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
251#set($dateF1 = $dateF1.trim())
 
252#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
253#set($dateH = $dateH.trim())
 
254#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
255
 
256##METAS TWITTER
 
257
 
258#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
 
259#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
260
 
261#set($metaTW = {})
 
262#set($temp = $metaTW.put("property","twitter:card"))
 
263#set($temp = $metaTW.put("content", "summary_large_image"))
 
264$iterVelocityTools.addMetaTag( $metaTW )
 
265
 
266#set($metaTW = {})
 
267#set($temp = $metaTW.put("property","twitter:site"))
 
268#set($temp = $metaTW.put("content", "vanguardiamx"))
 
269$iterVelocityTools.addMetaTag( $metaTW )
 
270
 
271#set($metaTW = {})
 
272#set($temp = $metaTW.put("property","twitter:title"))
 
273#set($temp = $metaTW.put("content", "$TituloEsc"))
 
274$iterVelocityTools.addMetaTag( $metaTW )
 
275
 
276#set($metaTW = {})
 
277#set($temp = $metaTW.put("property","twitter:description"))
 
278#set($temp = $metaTW.put("content", "$TextoEsc"))
 
279$iterVelocityTools.addMetaTag( $metaTW )
 
280
 
281
 
282#set($metaTW = {})
 
283#set($temp = $metaTW.put("property","twitter:image"))
 
284#set($temp = $metaTW.put("content", "$pub_imagen1"))
 
285$iterVelocityTools.addMetaTag( $metaTW )
 
286
 
287
 
288#set($metaTW = {})
 
289#set($temp = $metaTW.put("property","twitter:url"))
 
290#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
291$iterVelocityTools.addMetaTag( $metaTW )
 
292
 
293#set($metaTW = {})
 
294#set($temp = $metaTW.put("property","twitter:domain"))
 
295#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
296$iterVelocityTools.addMetaTag( $metaTW )
 
297
 
298#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
299#set($xml-url = $ac-url.get(0).text)
 
300#set($url_actual = $!xml-url )
 
301
 
302#if($pub_imagen1)
 
303    <link rel="preload" href="$pub_imagen1" as="image">
 
304    <!-- Lazysizes para lazy loading -->
 
305    <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js" async></script>
 
306#end
 
307
 
308##Add meta title
 
309#set($title = $htmlUtil.escape($!title))
 
310#set($title = $title.replaceAll("\n", ""))
 
311
 
312#set($html5Desc = {})
 
313#set($temp = $html5Desc.put("name","title"))
 
314#set($temp = $html5Desc.put("content",$title))
 
315$iterVelocityTools.addMetaTag($html5Desc)
 
316
 
317<div class="template-infinity idart_$reserved-article-id.data detail col-100-top-one-col col-xs-12 v2" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID">
 
318
 
319
 
320<div class="container">
 
321
 
322        <!-- parte de datos estructurados inicio  -->
 
323 
 
324	    <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
325	    <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
326	    <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
327        <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
328        <meta itemprop="inLanguage" content="es-MX" />
 
329	    <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
 
330            <meta itemprop="url" content="https://vanguardia.com.mx/" />
 
331            <meta itemprop="name" content="Vanguardia" />
 
332            <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
 
333            <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
 
334            <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
 
335            <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
 
336            <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
337                <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
338                <meta itemprop="width" content="380" />
 
339                <meta itemprop="height" content="35" />
 
340            </div>
 
341	    </div>
 
342
 
343        <!-- parte de datos estructurados inicio fin -->
 
344
 
345		<script>
 
346			var group_id = $request.theme-display.scope-group-id;
 
347			var id_art_infinity = $reserved-article-id.data;
 
348			#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
349				var teaser_first = true;
 
350				var n_noticia = 1;
 
351				idart_view = $reserved-article-id.data;
 
352			#else
 
353				var teaser_first = false;
 
354				var n_noticia = n_noticia + 1;
 
355			#end
 
356		</script>
 
357		## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
358		#set ($addInParagraph ={})
 
359
 
360		#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
361			#set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
 
362                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
 
363                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
 
364                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
 
365                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
 
366                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
 
367		#php_else
 
368                        #set ($temp = $addInParagraph.put("6","v_desk_nota_mid_1"))
 
369                        #set ($temp = $addInParagraph.put("11","v_desk_nota_mid_2"))
 
370                        #set ($temp = $addInParagraph.put("16","v_desk_nota_mid_3"))
 
371                        #set ($temp = $addInParagraph.put("21","v_desk_nota_mid_4"))
 
372                        #set ($temp = $addInParagraph.put("26","v_desk_nota_mid_5"))
 
373                #php_end
 
374
 
375		<div class="metadatos">#*
 
376		*##set($hmTemas = {})#*
 
377		*##getAcAssignedCatExtended_v1($hmTemas "Topic")#*
 
378		*##set($hmGeografico = {})#*
 
379		*##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
 
380		*##set($hmPersonajes = {})#*
 
381		*##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
 
382		*##set($hmAutores = {})#*
 
383		*##getAcAssignedCatExtended_v1($hmAutores "Author")#*
 
384		*##if($hmTemas && $hmTemas.size() > 0)	#*
 
385			*##foreach ($elem in $hmTemas)#*
 
386				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topic" data-voc-id="102924553"/>#*
 
387			*##end#*
 
388		*##end#*
 
389		*##if($hmGeografico && $hmGeografico.size() > 0)#*
 
390			*##foreach ($elem in $hmGeografico)#*
 
391				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
 
392			*##end#*
 
393		*##end#*
 
394		*##if($hmAutores && $hmAutores.size() > 0)#*	
 
395			*##foreach ($elem in $hmAutores)#*
 
396				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
 
397			*##end#*
 
398		*##end#*
 
399		*#</div>
 
400		<div class="canonical hidden"></div>
 
401		
 
402
 
403    ##PAYWALL HIT MAS
 
404	<script>
 
405		$(document).ready(function() {
 
406			var title = "$!escapeTool.html($!title)";
 
407			sendHitUser(title);
 
408		});
 
409	</script>
 
410
 
411    ##PAYWALL PRODUCT
 
412        #set($product = "")
 
413        #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
414        #if ($article_is_restricted)
 
415            #foreach($products in $articleToolbox.getProductList())
 
416            #set($product = $products.get("name"))
 
417            #end
 
418            <!-- <div id="type-note" data-id="$product"></div> -->
 
419        #end  
 
420        ##USUARIO ANONIMO
 
421        #*
 
422                #if ($environment != 'PREVIEW')
 
423            #php_if("strlen(getenv('ITER_USER'))===0")
 
424                #if($product == "registrados")
 
425                    
 
426                    #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
 
427                    #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
 
428                    <script>
 
429                    var cons = ${cons};
 
430                    var total = ${total};
 
431                    var disp = total-cons;
 
432                    $(".paywall-title span").html(disp);
 
433                    </script>
 
434                #end
 
435            
 
436            #php_end
 
437                #end
 
438        *#
 
439        ##FIN USUARIO ANONIMO
 
440		##HEADLINE
 
441
 
442
 
443		##publicidad video 
 
444
 
445		##publicidad video
 
446
 
447
 
448
 
449		<div id='div-gpt-ad-7320176-1' class="op12" style="min-width: 300px; min-height: 50px;">
 
450		  <script>
 
451		    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-1'); });
 
452		  </script>
 
453		</div>
 
454
 
455
 
456	    <article class="mrf-article-body">
 
457
 
458            <!-- DATOS PARA SCRIPT DE ACCEDER -->
 
459
 
460            #set($NombreAutor = "")
 
461            #set($IDAutor = "")
 
462    
 
463            #if($hmAutores && $hmAutores.size() > 0)
 
464                #foreach ($elem in $hmAutores)
 
465    
 
466                <div data-author-name="$elem.name" id="NombreAutor" ></div>
 
467                <div data-author-id="$elem.id" id="IDAutor" ></div>
 
468    
 
469                #set($NombreAutor = $elem.name)
 
470                #set($IDAutor = $elem.id)
 
471                #end
 
472            #end
 
473
 
474            <div id="eww-general" data-events='{
 
475                    "author": "$NombreAutor",
 
476                    "section": "$section",
 
477                    "post_title": "$title",
 
478                    "post_id": "$reserved-article-id.data",
 
479                    "autor_id": "$IDAutor"
 
480                }'>
 
481            </div>
 
482
 
483            <!-- DATOS PARA SCRIPT DE ACCEDER -->
 
484
 
485            <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
486            ## SECC / FECHA
 
487            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
488		
 
489            <div class="row middle">
 
490                <!-- Columna de articulo padre -->
 
491                <div class="col-60-40-top-one-col col-xs-12 col-md-8 col-lg-8 portlet-column nopadding" id="col-60-40-top-one-col">
 
492
 
493			#set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
 
494                        #if($section == "Opinión" || $section == "Politicón")
 
495				#if ($hasImages > 0)
 
496					<div class="image_main" itemprop="image">
 
497					    #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
498					</div>
 
499				#elseif($hmAutores && $hmAutores.size() > 0)
 
500					#foreach ($elem in $hmAutores)
 
501					    #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
502					    #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
 
503					    #if($imgColumn && $imgColumn != "")
 
504						#set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
 
505						#set($metaImgAuthor = {})
 
506						###set($temp = $metaImgAuthor.put("property","og:image"))
 
507						###set($temp = $metaImgAuthor.put("content",$urlImage))
 
508						###$iterVelocityTools.addMetaTag( $metaImgAuthor )
 
509						<div class="image_main" itemprop="image">
 
510						    $!imgColumn
 
511						</div>
 
512					    #end
 
513					#end
 
514				#end
 
515                        #else
 
516                            ##IMAGEN
 
517                            <div class="image_main" itemprop="image">
 
518                                #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
519                            </div>
 
520                        #end
 
521
 
522                        <div class="container-fluid">
 
523                            <div class="row middle">
 
524
 
525                                <div class="col-60-40-top-two-col col-xs-12 col-md-3 col-lg-3 portlet-column nopadding" id="col-60-40-top-two-col">	
 
526
 
527                                    ##AUTOR
 
528                                    <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
 
529                                        #if($hmAutores && $hmAutores.size() > 0)
 
530                                            #foreach ($elem in $hmAutores)
 
531                                                #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
532                                                #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
 
533                                                <div class="img_author">
 
534                                                    #if($imgAuthor && $imgAuthor != "")
 
535                                                        $!imgAuthor
 
536                                                    #else
 
537                                                        <img class="img-fluid" src="$AuthorNoFoto"/>
 
538                                                    #end
 
539                                                </div>
 
540                                                <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
 
541
 
542                                                <div data-author-name="$elem.name" id="NombreAutor" ></div>
 
543                                                <div data-author-id="$elem.id" id="IDAutor" ></div>
 
544    
 
545                                                #set($NombreAutor = $elem.name)
 
546                                                #set($IDAutor = $elem.id)
 
547                                            #end
 
548                                        #end
 
549                                    </div>
 
550
 
551                                    <div class="compartirr">	
 
552                                        
 
553                                        <div class="rrss d-desktop">
 
554                                            <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>		
 
555                                            <div class="network-social"> 
 
556                                                <ul class="social-options"> 
 
557                                                    <li> 
 
558                                                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
559                                                            <div class="fab facebook"></div>
 
560                                                            <b>Facebook</b> 
 
561                                                        </a> 
 
562                                                    </li> 
 
563                                                    <li> 
 
564                                                        <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
565                                                            <div class="fab twitter"></div>
 
566                                                            <b>Twitter</b> 
 
567                                                        </a> 
 
568                                                    </li>  
 
569                                                    <li> 
 
570                                                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
571                                                            <div class="fab whatsapp"></div>
 
572                                                            <b>Whatsapp</b> 
 
573                                                        </a> 
 
574                                                    </li> 
 
575                                                    <li> 
 
576                                                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
577                                                            <div class="fab linkedin"></div>
 
578                                                            <b>Linkedin</b> 
 
579                                                        </a> 
 
580                                                    </li>
 
581                                                </ul> 
 
582                                            </div>							                            
 
583                                        </div>
 
584
 
585                                        ## TAGS
 
586                                        <div class="temas d-desktop" temas="$hmTemas.size()">
 
587                                            <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>	
 
588                                            #if($hmTemas && $hmTemas.size() > 0)
 
589                                                #foreach ($elem in $hmTemas)
 
590                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
591                                                #end
 
592                                            #end
 
593                                            #if($hmGeografico && $hmGeografico.size() > 0)
 
594                                                #foreach ($elem in $hmGeografico)
 
595                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
596                                                #end
 
597                                            #end
 
598					    #if($hmPersonajes && $hmPersonajes.size() > 0)
 
599						#foreach ($elem in $hmPersonajes)
 
600						  <div class="item_tema t_$hmPersonajes.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
601						#end
 
602					    #end
 
603                                        </div>
 
604                                        
 
605                                    </div>
 
606                                </div>
 
607
 
608
 
609                                #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
610                                    <div class="rrss end d-movil" style="
 
611                                    position: sticky;
 
612                                    top: 38px;
 
613                                    background: white;
 
614                                    z-index: 3;">
 
615                                        <div class="cab-rrss">COMPARTIR</div>
 
616                                        <div class="network-social"> 
 
617                                            <ul class="social-options"> 
 
618                                                <li> 
 
619                                                    <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
620                                                        <div class="fab facebook"></div>
 
621                                                    </a> 
 
622                                                </li> 
 
623                                                <li> 
 
624                                                    <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
625                                                        <div class="fab twitter"></div>
 
626                                                    </a> 
 
627                                                </li>  
 
628                                                <li> 
 
629                                                    <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
630                                                        <div class="fab whatsapp"></div>									
 
631                                                    </a> 
 
632                                                </li>  
 
633                                                                                    <li> 
 
634                                                    <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
635                                                                        <div class="fab linkedin"></div>								
 
636                                                    </a> 
 
637                                                </li>  
 
638                                            </ul> 
 
639                                        </div>							                            
 
640                                    </div>
 
641                                #php_end
 
642
 
643                                <!-- acceder bloque texto -->
 
644
 
645                                <div class="col-60-40-top-one-col col-xs-12 col-md-9 col-lg-9 portlet-column nopadding" id="col-60-40-top-one-col" data-post-type="$product" data-section="$section" data-events='{
 
646                                    "author": "$NombreAutor",
 
647                                    "section": "$section",
 
648                                    "post_title": "$title",
 
649                                    "post_id": "$reserved-article-id.data",
 
650                                    "autor_id": "$IDAutor"
 
651                                  }'>
 
652
 
653                                <!-- acceder bloque texto -->
 
654
 
655                                    ##SUBHEADLINE/TOPHEADLINE
 
656                                    #set ($tempSubheadline = "#getTeaserSubheadline(true)")
 
657                                    #if($tempSubheadline && $tempSubheadline != "")
 
658                                        <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
 
659                                    #end
 
660
 
661					<div id='div-gpt-ad-7320176-2' class="op12" style="min-width: 300px; min-height: 50px;">
 
662					  <script>
 
663					    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-2'); });
 
664					  </script>
 
665					</div>
 
666
 
667                                    <!-- acceder save post -->
 
668
 
669                                    <div id="eww-save-post" eww-post-title="$title" data-post-id="$reserved-article-id.data" data-events='{
 
670                                        "author": "$NombreAutor",
 
671                                        "section": "$section",
 
672                                        "post_title": "$title",
 
673                                        "post_id": "$reserved-article-id.data",
 
674                                        "autor_id": "$IDAutor"
 
675                                        }' ></div> 
 
676                                    <!-- acceder save post -->
 
677
 
678                                    ##PUBLI BOX PREMIUM
 
679
 
680
 
681                                    ##PUBLI BOX PREMIUM
 
682                                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
683                                        <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
 
684                                    #php_end
 
685
 
686                                    ##aqui estaba el paywall inicio
 
687                                    ##PAYWALL
 
688                                    #php_if("strlen(getenv('ITER_USER'))!==0")
 
689                                        <!--Usuario logueado-->
 
690                                        #set($islogged = "true")
 
691                                    #php_else
 
692                                        <!--Usuario no logueado-->
 
693                                        #set($islogged = "false")
 
694                                    #php_end
 
695
 
696                                    #set($productList = $articleToolbox.getProductList())
 
697                                    #set($producto = '')
 
698                                    #if ($productList && $productList.size() > 0)
 
699                                        #set($producto = $productList.get(0).namebase64)
 
700                                    #end  
 
701                                    <!-- product:$producto -->
 
702                                    <!-- reserved-article-id.data:$reserved-article-id.data -->
 
703                                    #set($useraccess = "false")	
 
704                                    #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
705                                    
 
706                                        <!-- TEXTO LIBRE -->
 
707                                        ##TEXTO
 
708                                        <div class="text resizable lazy-load" itemprop="articleBody">
 
709
 
710                                            #if($section == "Politicón")
 
711                                                
 
712                                                #if($url_actual == "/opinion/politicon/politicon-siguen-pegando-recortes-a-coahuila-EH9584767" || $url_actual == "/opinion/politicon/politicon-persisten-anomalias-financieras-en-la-uadec-EC12457715")
 
713                                                    <div class="PoliticonNotaslogoSinAcento" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
 
714                                                #else
 
715                                                    <div class="PoliticonNotaslogo cambiourll" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
 
716                                                #end
 
717                                            #end
 
718
 
719                                            #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
 
720                                            
 
721                                            <!-- funcion para leer la nota inicio -->
 
722                                            <button hidden id="leer">Leer Texto</button>
 
723                                            <!--  -->
 
724
 
725                                            <!-- nuevas tags con estilo de especial + autores inicio -->
 
726
 
727                                                <!-- TAGS MOVIL INICIO -->
 
728                                                ## TAGS
 
729                                                <div class="temas d-movil" temas="$hmTemas.size()">
 
730                                                <div class="cab-temas temasmovil">TEMAS</div>
 
731                                                #if($hmTemas && $hmTemas.size() > 0)
 
732                                                    #foreach ($elem in $hmTemas)
 
733                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
734                                                    #end
 
735                                                #end
 
736                                                #if($hmGeografico && $hmGeografico.size() > 0)
 
737                                                    #foreach ($elem in $hmGeografico)
 
738                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
739                                                    #end
 
740                                                #end
 
741						#if($hmPersonajes && $hmPersonajes.size() > 0)
 
742						    #foreach ($elem in $hmPersonajes)
 
743						       <div class="item_tema t_$hmPersonajes.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
744					            #end
 
745						 #end
 
746                                                </div>
 
747                                                <!-- TAGS MOVIL FIN -->
 
748
 
749                                            <!-- nuevas tags con estilo de especial + autores fin  -->
 
750
 
751                                        </div>
 
752                                        <!-- TEXTO LIBRE -->
 
753
 
754                                        ##GENERICO
 
755                                        #if($Generic && $Generic.getSiblings().size()>0)
 
756                                            <ul class="generic">
 
757                                                #foreach ($el in $Generic.getSiblings())
 
758                                                    <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
759                                                #end
 
760                                            </ul>
 
761                                        #end
 
762                                    
 
763
 
764                                        ## FIN PAYWALL
 
765                                        ##aqui estaba el paywall fin
 
766
 
767                                        ## MOVER TEXTO AQUI
 
768
 
769                                        ##RELACIONADAS EXTERNAS 
 
770                                        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
771                                        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
772                                        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
773                                            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
774                                                <strong>$!titleLink.data</strong>
 
775                                            </a>
 
776                                        #end
 
777                                        ##RELACIONADAS INTERNAS 
 
778                                        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
779                                            <div class="link_tpi">
 
780                                                <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
781                                                #foreach ($el in $linkIntTitle.getSiblings())
 
782                                                    <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
783                                                #end
 
784                                            </div>
 
785                                        #end
 
786
 
787                                        <!-- comentarios acceder -->
 
788
 
789					<div id='div-gpt-ad-7320176-3' class="op12" style="min-width: 300px; min-height: 50px;">
 
790					  <script>
 
791					    googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-3'); });
 
792					  </script>
 
793					</div>
 
794
 
795                                        <div style="border-top: solid 1px #80808047;margin-top: 30px;">
 
796					<h2 style="margin-top: 25px;
 
797						font-size: 1.1rem;
 
798						letter-spacing: 0px !important;
 
799						border-left: 4px solid #F16504;
 
800						padding-left: 5px;
 
801						text-transform: uppercase;
 
802						font-family: 'PT Sans', helvetica, arial, sans-serif;
 
803						font-weight: 400;"
 
804						 >COMENTARIOS <h2></div>
 
805                                            <div id="eww-comments" data-post-id="$reserved-article-id.data"  data-events='{
 
806                                                "author": "$NombreAutor",
 
807                                                "section": "$section",
 
808                                                "post_title": "$title",
 
809                                                "post_id": "$reserved-article-id.data",
 
810                                                "autor_id": "$IDAutor"
 
811                                                }'></div>
 
812                                        <!-- comentarios acceder -->
 
813
 
814                                        <div id="eww-mailchimp"></div>
 
815
 
816                                        ##openweb					
 
817
 
818
 
819                    
 
820                                        ##cierra openweb
 
821                                            
 
822                                        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
823                                            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
824                                            ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
 
825                                        #php_end
 
826
 
827                                </div>
 
828
 
829                            </div>
 
830                        </div>
 
831                </div>
 
832
 
833                <div class="col-60-40-top-two-col col-xs-12 col-md-4 col-lg-4 portlet-column nopadding" id="col-60-40-top-two-col">	
 
834
 
835
 
836                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
837                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
838                                    
 
839                    #php_else
 
840                        <!-- <div islogged="$islogged" useraccess="$useraccess"></div>
 
841                        <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div> 
 
842
 
843                        <div id='div-gpt-ad-8622108-5' style="width: 300px;margin: 1rem auto;margin-top: 0px;">
 
844                            <script>
 
845                              googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-5'); });
 
846                            </script>
 
847                        </div> -->
 
848                    #php_end	
 
849
 
850                    <!-- la enceusta se ve aqui inicio -->
 
851
 
852                    <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
 
853
 
854                      <div class="move-from-a">
 
855                        <h2 hidden class="sectiondestacadas">Encuesta Vanguardia</h2>
 
856                        <div hidden id="encuesta-container" style="margin-bottom: 40px;margin-top: 40px;"></div>
 
857                      </div>                    
 
858
 
859                    </div>	
 
860                    
 
861                    <!-- la enceusta se ve aqui fin -->
 
862                                    
 
863                    ##RANKING
 
864                    <div class="ranking_infinity lateral_secc c004_003"></div>
 
865                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
866                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")				
 
867                                    
 
868                    #php_else				
 
869                        <!-- <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div>
 
870                        <div id='div-gpt-ad-8622108-6' class="cb" style="width: 300px; margin: 1rem auto">
 
871                            <script>
 
872                              googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-6'); });
 
873                            </script>
 
874                        </div> -->
 
875                    #php_end						
 
876                </div>
 
877
 
878            </div>
 
879        </article>
 
880	</div>
 
881
 
882</div>
 
883<div class="cl"></div>
 
884
 
885
 
886#set($urlExterna = $articleToolbox.getTag(null,"URLCanonical"))
 
887#if($urlExterna && $urlExterna.data != "")
 
888	#set ($urlExternaData = $urlExterna.data)
 
889	#set ($urlExternaData = $urlExternaData.replaceAll("<.*?>",""))
 
890	#set($linkCanonical= {})
 
891	#set($temp = $linkCanonical.put("rel","canonical"))
 
892	#set($temp = $linkCanonical.put("href",$urlExternaData))
 
893	$iterVelocityTools.addLinkTag($linkCanonical)
 
894#end
 
895
 
896<!-- <script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
 
897<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>-->
 
898
 
899<!-- script para iframes pro Datafactory -->
 
900<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js" defer></script>
 
901<script type="text/javascript" defer>
 
902    document.addEventListener("DOMContentLoaded", function() {
 
903    iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
 
904    });
 
905</script>
 
906<!-- script para iframes pro Datafactory -->
 
907
 
908<!-- Script para encuestas -->
 
909<script defer>
 
910  document.addEventListener("DOMContentLoaded", function() {
 
911      // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
 
912      var dayOfWeek = new Date().getDay();
 
913
 
914      // Mapear los días de la semana a los IDs de las encuestas
 
915      var encuestaIds = {
 
916          1: "71ca2dd0-e66a-4193-a0f4-08cd1b0ea1cd", // Lunes
 
917          2: "eee46c11-9560-46b8-8bda-320f623b72ce", // Martes
 
918          3: "01881361-4fbf-4cd4-89e5-659eb86530dc", // Miércoles
 
919          4: "dbb58b9e-3ed9-442f-a6a0-5cdd795bd685", // Jueves 
 
920          5: "82c2038b-24e0-44f6-b835-3976ebad1803"  // Viernes
 
921      };
 
922
 
923      // Contenedor donde se cargará la encuesta
 
924      var encuestaContainer = document.getElementById("encuesta-container");
 
925
 
926      // Cargar la encuesta correspondiente al día de la semana
 
927      if (encuestaIds[dayOfWeek]) {
 
928          var encuestaId = encuestaIds[dayOfWeek];
 
929          encuestaContainer.setAttribute("data-placement-id", encuestaId);
 
930          encuestaContainer.setAttribute("data-container", "exco-placement");
 
931
 
932          // Cargar el script para la encuesta
 
933          var script = document.createElement("script");
 
934          script.textContent = '(window.excoPlacements=window.excoPlacements||[]).push("' + encuestaId + '");';
 
935          encuestaContainer.appendChild(script);
 
936      } else {
 
937          // Si es sábado (6) o domingo (0), no se mostrará ninguna encuesta
 
938          encuestaContainer.style.display = "none";
 
939      }
 
940  });
 
941</script>
 
942
 
943<!-- Newsletter notas -->
 
944<script>
 
945  document.addEventListener("DOMContentLoaded", function() {
 
946      // Definir la cantidad de newsletters
 
947      const totalNewsletters = 7;
 
948  
 
949      // Obtener el estado actual del newsletter desde localStorage
 
950      let newsletterIndex = localStorage.getItem('newsletterIndex');
 
951      if (newsletterIndex === null) {
 
952          newsletterIndex = 0; // Valor predeterminado
 
953      } else {
 
954          newsletterIndex = parseInt(newsletterIndex);
 
955      }
 
956  
 
957      // Mostrar el newsletter correspondiente
 
958      const newsletterHTML = [
 
959      `<div>          
 
960              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
961              <style type="text/css">
 
962                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
963              </style>
 
964              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
965                  <div class="row imagenescool" style="background-color: #ffffff;padding-left: 15px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;padding-right: 15px;">
 
966                      <div class="col" style="justify-content: start;display: flex;align-items: center;border-bottom: 1px solid #f16504;"><div class="RodeoNewsleteres" style="height: 27px;width: 100%;margin-top: 19px;"></div></div>
 
967                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;border-bottom: 1px solid #f16504;"><div class="ImagenVanguardiaNewsL1Black" style="height: 20px;width: 89%;margin-top: 15px;margin-right: auto;margin-left: auto;"></div></div>
 
968                  </div>
 
969                  <form style="padding: 12px !important;" action="https://rodeocapital.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&amp;id=60bae9d119&amp;f_id=001053e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaRodeoCapital" target="_self" novalidate="">
 
970                      <div id="mc_embed_signup_scroll">
 
971                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> Rompe los límites y recibe un adelanto exclusivo de Rodeo Capital. Suscríbete a la primera newsletter para quienes desafían lo ordinario y celebran la auténtica tradición vaquera de México. </p>
 
972                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
 
973                      
 
974                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_60bae9d119" tabindex="-1" value=""></div>
 
975                      <input type="submit" style="background-color: #f16504 !important;margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
 
976                      </div>
 
977                  </form>
 
978              </div>
 
979          </div>`,
 
980      `<div>          
 
981              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
982              <style type="text/css">
 
983                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
984              </style>
 
985              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
986                  <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
987                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="TribunaPoliticaVMX" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
 
988                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
989                  </div>
 
990                  <form style="padding: 12px !important;" action="https://vanguardia.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&amp;id=d996cb4b89&amp;f_id=001353e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaTribunaPolitica" target="_self" novalidate>
 
991                      <div id="mc_embed_signup_scroll">
 
992                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> Recibe cada martes Tribuna Política: la newsletter de opinión que conecta con la política que mueve a México y el mundo. ¡Únete a la conversación! </p>
 
993                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
994                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
995                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_d996cb4b89" tabindex="-1" value=""></div>
 
996                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
 
997                      </div>
 
998                  </form>
 
999              </div>
 
1000          </div>`,
 
1001          `<div>          
 
1002              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
1003              <style type="text/css">
 
1004                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1005              </style>
 
1006              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
1007                  <div class="row imagenescool" style="background-color: #ffffff;padding-left: 15px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;padding-right: 15px;">
 
1008                      <div class="col" style="justify-content: start;display: flex;align-items: center;border-bottom: 1px solid #f18078;"><div class="VMASVMX" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
 
1009                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;border-bottom: 1px solid #f18078;"><div class="ImagenVanguardiaNewsL1gris" style="height: 20px;width: 100%;margin-top: 15px;"></div></div>
 
1010                  </div>
 
1011                  <form style="padding: 12px !important;" action="https://vanguardia.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&amp;id=8641e54d37&amp;f_id=001253e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaVmas" target="_self" novalidate="">
 
1012                      <div id="mc_embed_signup_scroll">
 
1013                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;">¡Descubre, elige y date un gusto con V+LIST! Los jueves, cada 15 días, recibe una selección exclusiva de ofertas en línea: desde esenciales para el hogar y lo mejor para tu mascota, hasta los imperdibles de temporada. </p>
 
1014                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
 
1015                      
 
1016                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_8641e54d37" tabindex="-1" value=""></div>
 
1017                      <input type="submit" style="background-color: #2b62ff !important;margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
 
1018                      </div>
 
1019                  </form>
 
1020              </div>
 
1021          </div>`,
 
1022          `<div>
 
1023              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
1024              <style type="text/css">
 
1025                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1026              </style>
 
1027              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
1028                  <div class="row imagenescool" style="background-color: #ffffff;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
1029                      <div class="col vanguardiamovilnewsletter" style="display: block;padding: 15px;">
 
1030                          <div class="ImagenVanguardiaNewsVanguardia" style="height: 30px;width: 60%;margin-top: 0px;margin-right: auto;margin-left: auto;"></div>
 
1031                          <div style="width: 80%;height: 1px;margin: 0px auto;border-bottom: 4px solid #ff7e1f;padding: 7px;">&nbsp;</div>
 
1032                      </div>
 
1033                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;display: none;">
 
1034                          <div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div>
 
1035                      </div>
 
1036                  </div>
 
1037                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=33e9fe5f1c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaVanguardia" target="_self" novalidate>
 
1038                      <div id="mc_embed_signup_scroll">
 
1039                          <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;">¡Comienza tus mañanas bien informado! Obtén nuestra selección diaria de noticias locales y nacionales para mantenerte actualizado desde el amanecer.</p>
 
1040                          <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
1041                          <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_33e9fe5f1c" tabindex="-1" value=""></div>
 
1042                          <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnVanguardia">
 
1043                      </div>
 
1044                  </form>
 
1045              </div>
 
1046          </div>`,
 
1047          `<div>           
 
1048              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
1049              <style type="text/css">
 
1050                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1051              </style>
 
1052              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
1053                  <div class="row imagenescool" style="background-color: #de001f;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
1054                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsSemanario" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
 
1055                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
1056                  </div>
 
1057                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=11c878846e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaSemanario" target="_self" novalidate>
 
1058                      <div id="mc_embed_signup_scroll">
 
1059                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;">¡No te pierdas nuestras investigaciones exclusivas! Conoce los motivos del reportaje, directamente de sus autores, con nuestra newsletter semanal.</p>
 
1060                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
1061                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
1062                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_11c878846e" tabindex="-1" value=""></div>
 
1063                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnSemanario">
 
1064                      </div>
 
1065                  </form>
 
1066              </div>
 
1067          </div>`,
 
1068          `<div>          
 
1069              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
1070              <style type="text/css">
 
1071                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1072              </style>
 
1073              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
1074                  <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
1075                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsNYT" style="height: 25px;width: 100%;margin-top: 0px;filter: invert(1) brightness(2);"></div></div>
 
1076                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
1077                  </div>
 
1078                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&amp;id=77ee4ec641&amp;f_id=0061c3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaTNYT" target="_self" novalidate>
 
1079                      <div id="mc_embed_signup_scroll">
 
1080                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> ¡Informate con lo mejor del periodismo internacional cada sábado! Suscríbete a nuestra Newsletter y recibe las noticias más destacadas del New York Times, traducidas especialmente para ti.</p>
 
1081                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
1082                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
1083                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_77ee4ec641" tabindex="-1" value=""></div>
 
1084                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
 
1085                      </div>
 
1086                  </form>
 
1087              </div>
 
1088          </div>`,
 
1089          `<div>
 
1090              <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
 
1091              <style type="text/css">
 
1092                  .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1093              </style>
 
1094              <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
 
1095                  <div class="row imagenescool" style="background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
 
1096                      <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL4" style="height: 36px;width: 100%;margin-top: 0px;"></div></div>
 
1097                      <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
 
1098                  </div>
 
1099                  <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=51de90b277&f_id=006dc3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaCoahuilanatural" target="_self" novalidate>
 
1100                      <div id="mc_embed_signup_scroll">
 
1101                      <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: &quot;PT Serif&quot;,Georgia,serif!important;margin-left: 10px;"> ¡Descubre el fascinante newsletter de Vanguardia y enamórate de la naturaleza del sureste de Coahuila! Únete para vivir aventuras, experiencias únicas y aprender todo sobre el senderismo.</p>
 
1102                      <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
 
1103                      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
 
1104                      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_51de90b277" tabindex="-1" value=""></div>
 
1105                      <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnCoahuilanatural">
 
1106                      </div>
 
1107                  </form>
 
1108              </div>
 
1109          </div>`
 
1110
 
1111          // Agregar otros 3 bloques de HTML para los otros newsletters
 
1112      ];
 
1113  
 
1114// Esperar 2 segundos antes de ejecutar el script
 
1115setTimeout(() => {
 
1116    // Verificar si existe un div con la clase "css-15l1kde"
 
1117    const divElemento = document.querySelector('div.css-15l1kde');
 
1118
 
1119    if (!divElemento) {
 
1120        // Obtener el elemento <p> con la clase "p_4"
 
1121        const elementoP = document.querySelector('p.p_4');
 
1122        if (elementoP) {
 
1123            // Insertar el bloque de código HTML después del elemento <p>
 
1124            elementoP.insertAdjacentHTML('afterend', newsletterHTML[newsletterIndex]);
 
1125        } else {
 
1126            console.log("no hay elementos p_4");
 
1127        }
 
1128    } else {
 
1129        console.log("El div con la clase css-15l1kde está presente. El script no se ejecutará.");
 
1130    }
 
1131}, 2000); // 2000 milisegundos = 2 segundos
 
1132  
 
1133      // Actualizar el índice del newsletter para la próxima visita
 
1134      newsletterIndex = (newsletterIndex + 1) % totalNewsletters;
 
1135      localStorage.setItem('newsletterIndex', newsletterIndex);
 
1136  });
 
1137</script>
 
1138<!-- Newsletter notas -->
 
1139
 
1140<!-- apagar o encender scroll infinito -->
 
1141<div class="content-infinity-off">
 
1142
 
1143</div>
 
1144<!-- apagar o encender scroll infinito -->
 
1145
 
1146<!-- speed page -->
 
1147<script defer>
 
1148    document.addEventListener("DOMContentLoaded", function() {
 
1149        const lazyLoadElements = document.querySelectorAll('.lazy-load');
 
1150        
 
1151        const observer = new IntersectionObserver(entries => {
 
1152            entries.forEach(entry => {
 
1153                if (entry.isIntersecting) {
 
1154                    const lazyElement = entry.target;
 
1155
 
1156                    // Verificar si el elemento ya ha sido marcado como cargado
 
1157                    if (!lazyElement.classList.contains('in-view')) {
 
1158                        // Realizar acciones específicas del elemento aquí
 
1159                        // Por ejemplo, puedes agregar una clase, cargar contenido, etc.
 
1160                        lazyElement.classList.add('in-view');
 
1161
 
1162                        // Dejar de observar el elemento después de que ha entrado en la vista
 
1163                        observer.unobserve(lazyElement);
 
1164                    }
 
1165                }
 
1166            });
 
1167        });
 
1168
 
1169        lazyLoadElements.forEach(element => {
 
1170            observer.observe(element);
 
1171        });
 
1172    });
 
1173</script>
 
1174<!-- speed page -->
 
1175
 
1176<script defer>
 
1177// Función para aplicar el estilo fijo al menú al salir de pantalla
 
1178function fixMenu() {
 
1179    var menu = document.querySelector('.menu-principal-header.desktop');
 
1180    var scrollY = window.scrollY || window.pageYOffset;
 
1181    if (scrollY > 0) {
 
1182    menu.classList.add('fixed');
 
1183    } else {
 
1184    menu.classList.remove('fixed');
 
1185    }
 
1186}
 
1187
 
1188// Escuchador de eventos de desplazamiento
 
1189window.addEventListener('scroll', fixMenu);
 
1190
 
1191// Llamar a la función al cargar la página
 
1192fixMenu();
 
1193</script>
 
1194
 
1195<!-- Estilo para Lista sin Plublicidad -->
 
1196<script>
 
1197    document.addEventListener('DOMContentLoaded', function() {
 
1198        
 
1199      // Obtener todos los div con la clase block_Parrafo_Lista
 
1200      var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
1201    
 
1202        // Iterar a través de los bloques
 
1203        blocks.forEach(function(block) {
 
1204            // Obtener todos los elementos <p> dentro del bloque actual
 
1205            var paragraphs = block.querySelectorAll('p');
 
1206        
 
1207            // Iterar a través de los elementos <p>
 
1208            paragraphs.forEach(function(paragraph) {
 
1209                // Verificar si el <p> está vacío
 
1210                if (paragraph.innerHTML.trim() === '') {
 
1211                    // Agregar altura y display block
 
1212                    paragraph.style.height = '20px';
 
1213                    paragraph.style.display = 'block';
 
1214                }
 
1215            
 
1216                // Verificar si el <p> contiene un <b> vacío
 
1217                var boldElement = paragraph.querySelector('b');
 
1218                if (boldElement && boldElement.innerHTML.trim() === '') {
 
1219                    // Agregar altura y display block al <b> dentro del <p>
 
1220                    boldElement.style.height = '20px';
 
1221                    boldElement.style.display = 'block';
 
1222                }
 
1223            });
 
1224        });
 
1225
 
1226    });
 
1227</script>
 
1228<style>
 
1229    div.block_Parrafo_Lista p{
 
1230    margin: 0px !important;
 
1231    }
 
1232</style>
 
1233<!-- Estilo para Lista sin Plublicidad -->
 
1234
 
1235<script defer>
 
1236    document.addEventListener('DOMContentLoaded', function() {
 
1237    // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
 
1238    setTimeout(function() {
 
1239    // Obtén una referencia a los elementos div con las clases específicas
 
1240    var resizableDiv = document.querySelector('.text.resizable');
 
1241    var otherDiv = document.querySelector('#col-60-40-top-two-col');
 
1242
 
1243    // Obtén la altura del div redimensionable
 
1244    //var resizableDivHeight = resizableDiv.offsetHeight;
 
1245    var altura = resizableDiv.getBoundingClientRect();
 
1246    // Asigna la altura del div redimensionable al otro div
 
1247    otherDiv.style.height = altura + 'px';
 
1248    }, 1000); // 1000 ms = 1 segundo
 
1249    });
 
1250</script>
 
1251
 
1252
 
1253
 
1254<!-- sdk de encuestas ex.co 
 
1255<script defer src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script> -->
 
1256
 
1257<script>
 
1258
 
1259document.addEventListener('DOMContentLoaded', function() {
 
1260    // Selecciona todos los elementos div con las clases "lead destacado"
 
1261    var elements = document.querySelectorAll('div.lead.destacado');
 
1262    
 
1263    // Itera sobre cada elemento y agrega el atributo itemprop="description"
 
1264    elements.forEach(function(element) {
 
1265        element.setAttribute('itemprop', 'description');
 
1266    });
 
1267});
 
1268
 
1269</script>
 
1270
 
1271<p hidden>$pub_imagen1</p>
 
1272<p hidden>$urlImage</p>
 
1273
 
1274#set($imageUrl3 = "")
 
1275#if($pub_imagen1.startsWith("https"))
 
1276    #set($imageUrl3 = $pub_imagen1)
 
1277#elseif($urlImage.startsWith("https"))
 
1278    #set($imageUrl3 = $urlImage)
 
1279#else
 
1280    #set($imageUrl3 = "https://vanguardia.com.mx/base-portlet/webrsrc/theme/13d16cf89ee0b324585019c9998ec6dd.svg")
 
1281#end
 
1282
 
1283<script type="application/ld+json">
 
1284    {
 
1285      "@context": "http://schema.org",
 
1286      "@type": "ImageObject",
 
1287      "url": "$imageUrl3",
 
1288      "datePublished": "$dateF",
 
1289      "dateModified": "$dateFb",
 
1290      "dateCreated": "$dateF>"
 
1291    }
 
1292</script>
 
1293
 
1294<div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 
 
1295<meta hidden itemprop="url" content="$imageUrl3"> 
 
1296</div>
 
1297
 
1298<script type="text/javascript" async="async">
 
1299if(isMobileEnvironment ==  false){
 
1300	if($(".ranking_infinity").size() > 0){
 
1301		$(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
 
1302	}
 
1303}
 
1304</script>
 
1305##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1306##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1307#*
 
1308#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
 
1309		#set($TituloEsc = $htmlUtil.escape($!Headline.data))
 
1310		#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
1311		#set ($tempSubheadline = "#getTeaserSubheadline(false)")
 
1312		#if($tempSubheadline && $tempSubheadline != "")
 
1313			#set($Texto = $tempSubheadline )
 
1314		#else
 
1315			#set($Texto = "#dameText(200)" )
 
1316		#end	
 
1317		#set($Texto = $Texto.replaceAll("<.*?>","") )
 
1318		#set($Texto = $Texto.trim() )
 
1319			
 
1320		#set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
 
1321		#set($logo = $logo.trim() )
 
1322		#set($logo = $htmlUtil.escape($logo))
 
1323		#set($logo = $logo.replaceAll("/","\/") )
 
1324		#set($section = "")
 
1325		#set($section_url = "")
 
1326		#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
1327		#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
1328			#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
1329				#if($atrib.name == "name")
 
1330					#set($section = $!atrib.data)
 
1331				#end
 
1332				#if($atrib.name == "url")
 
1333					#set($section_url = $!atrib.data)
 
1334				#end
 
1335				
 
1336			#end
 
1337		#end
 
1338		## ***************AUTOR ********************
 
1339		#set($autorfinal = "")
 
1340		#set($urlautorfinal = "")
 
1341		#if($hmAutores.size() > 0)
 
1342			#set($hmAutor = $hmAutores.get(0))
 
1343			#set($autorfinal = $hmAutor.name)
 
1344			#set($autorfinalEsc = $htmlUtil.escape($autorfinal))	
 
1345			#set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
1346		#end
 
1347		#if($autorfinal == "")
 
1348			#set($autorfinal = "Vanguardia")
 
1349		#end
 
1350
 
1351
 
1352
 
1353		<!-- ITEMS EN PAGINA  fullaccess: $fullaccess -->
 
1354		<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
1355		<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
1356			<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
1357			<meta itemprop="name" content="Vanguardia" />
 
1358			<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
1359				<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
 
1360				<meta itemprop="width" content="600" />
 
1361				<meta itemprop="height" content="60" />
 
1362			</div>
 
1363		</div>
 
1364
 
1365#end
 
1366*#
 
1367##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1368##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
NUESTRO CONTENIDO PREMIUM