Se ha producido un error al procesar la plantilla.
Encountered " ? \'\' : \'<input style=" at 21736/F/NOTA_ESTADNAR_COPIA_A[line 1156, column 60]
Was expecting one of:
    "}" ...
    <DOT> ...
    
1##----Estandar2.0----
 
2$iterVelocityTools.setRenderArticleMode(1)
 
3
 
4<script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
 
5<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>
 
6
 
7#set($sort = "createdate")
 
8#set($criteria= "desc")
 
9#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
10#set($sectionID = "#printAssignedSectionID_v1")
 
11#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
12## CONTENIDOS
 
13#set($dateMask = "d MMMM yyyy")
 
14#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
15#set($title = $!articleToolbox.getTag(null,'Headline').data)
 
16#set($hostName = "#siteUrl()")
 
17##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
18#set ($arrayListContenidos = [])
 
19
 
20#set ($element = {})
 
21#set ($temp = $element.put("name","Text"))
 
22#set ($temp = $element.put("type","paragraph"))
 
23#set ($temp = $element.put("cssclass","texto"))
 
24#set ($temp = $element.put("tag","div"))
 
25#set ($temp = $arrayListContenidos.add($element))
 
26
 
27#set ($element = {})
 
28#set ($temp = $element.put("name","Lead"))
 
29#set ($temp = $element.put("type","text"))
 
30#set ($temp = $element.put("cssclass","lead destacado"))
 
31#set ($temp = $element.put("tag","div"))
 
32#set ($temp = $arrayListContenidos.add($element))
 
33
 
34#set ($element = {})
 
35#set ($temp = $element.put("name","Image_Text"))
 
36#set ($temp = $element.put("type","image"))
 
37#set ($temp = $element.put("cssclass","img lateral"))
 
38#set ($temp = $element.put("tag","div"))
 
39#set( $temp = $arrayListContenidos.add($element))
 
40
 
41#set ($element = {})
 
42#set ($temp = $element.put("name","Youtube_Text"))
 
43#set ($temp = $element.put("type","youtube"))
 
44#set ($temp = $element.put("cssclass","youtube_video ratio ratio-16x9"))
 
45#set ($temp = $element.put("tag","div"))
 
46#set ($temp = $arrayListContenidos.add($element))
 
47
 
48#set ($element = {})
 
49#set ($temp = $element.put("name","Multimedia_Text"))
 
50#set ($temp = $element.put("type","multimedia"))
 
51#set ($temp = $element.put("cssclass","jwplayer_video"))
 
52#set ($temp = $element.put("tag","div"))
 
53#set ($temp = $arrayListContenidos.add($element))
 
54
 
55#set ($element = {})
 
56#set ($temp = $element.put("name","Image_Text_GIF"))
 
57#set ($temp = $element.put("type","image"))
 
58#set ($temp = $element.put("cssclass","imagen"))
 
59#set ($temp = $element.put("tag","div"))
 
60#set ($temp = $arrayListContenidos.add($element))
 
61
 
62#set ($element = {})
 
63#set ($temp = $element.put("name","Facebook_Text"))
 
64#set ($temp = $element.put("type","facebook"))
 
65#set ($temp = $element.put("cssclass","facebook_text"))
 
66#set ($temp = $element.put("tag","div"))
 
67#set ($temp = $arrayListContenidos.add($element))
 
68
 
69#set ($element = {})
 
70#set ($temp = $element.put("name","Instagram_Text"))
 
71#set ($temp = $element.put("type","instagram"))
 
72#set ($temp = $element.put("cssclass","instagram_text"))
 
73#set ($temp = $element.put("tag","div"))
 
74#set ($temp = $arrayListContenidos.add($element))
 
75
 
76#set ($element = {})
 
77#set ($temp = $element.put("name","Twitter_Text"))
 
78#set ($temp = $element.put("type","twitter"))
 
79#set ($temp = $element.put("cssclass","twitter_text"))
 
80#set ($temp = $element.put("tag","div"))
 
81#set ($temp = $arrayListContenidos.add($element))
 
82
 
83#set ($element = {})
 
84#set ($temp = $element.put("name","HTML_Text"))
 
85#set ($temp = $element.put("type","html"))
 
86#set ($temp = $element.put("cssclass","html_text"))
 
87#set ($temp = $element.put("tag","div"))
 
88#set ($temp = $arrayListContenidos.add($element))
 
89
 
90#set ($element = {})
 
91#set ($temp = $element.put("name","Quote"))
 
92#set ($temp = $element.put("type","text"))
 
93#set ($temp = $element.put("cssclass","quote"))
 
94#set ($temp = $element.put("tag","div"))
 
95#set ($temp = $arrayListContenidos.add($element))
 
96
 
97#set ($element = {})
 
98#set ($temp = $element.put("name","title_list"))
 
99#set ($temp = $element.put("type","microformat"))
 
100#set ($temp = $element.put("cssclass","microformat"))
 
101#set ($temp = $element.put("tag","div"))
 
102#set ($temp = $arrayListContenidos.add($element))
 
103
 
104#set ($element = {})
 
105#set ($temp = $element.put("name","image_list"))
 
106#set ($temp = $element.put("type","microformat"))
 
107#set ($temp = $element.put("cssclass","microformat"))
 
108#set ($temp = $element.put("tag","div"))
 
109#set($temp = $arrayListContenidos.add($element))
 
110
 
111#set ($element = {})
 
112#set ($temp = $element.put("name","text_list"))
 
113#set ($temp = $element.put("type","microformat"))
 
114#set ($temp = $element.put("cssclass","microformat"))
 
115#set ($temp = $element.put("tag","div"))
 
116#set($temp = $arrayListContenidos.add($element))
 
117
 
118#set ($element = {})
 
119#set ($temp = $element.put("name","Lead_Text"))
 
120#set ($temp = $element.put("type","text"))
 
121#set ($temp = $element.put("cssclass","intertitulo"))
 
122#set ($temp = $element.put("tag","div"))
 
123#set ($temp = $arrayListContenidos.add($element))
 
124
 
125#set ($element = {})
 
126#set ($temp = $element.put("name","linkTitle_Text"))
 
127#set ($temp = $element.put("type","text"))
 
128#set ($temp = $element.put("cssclass","link_tpi"))
 
129#set ($temp = $element.put("tag","div"))
 
130#set ($temp = $arrayListContenidos.add($element))
 
131
 
132#set ($element = {})
 
133#set ($temp = $element.put("name","Parrafo_Lista"))
 
134#set ($temp = $element.put("type","text"))
 
135#set ($temp = $element.put("cssclass","Parrafo_Lista"))
 
136#set ($temp = $element.put("tag","div"))
 
137#set ($temp = $arrayListContenidos.add($element))
 
138
 
139#set ($element = {})
 
140#set ($temp = $element.put("name","Flourish_Text"))
 
141#set ($temp = $element.put("type","text"))
 
142#set ($temp = $element.put("cssclass","flourish_text"))
 
143#set ($temp = $element.put("tag","div"))
 
144#set ($temp = $arrayListContenidos.add($element))
 
145
 
146#set ($element = {})
 
147#set ($temp = $element.put("name","Titulo_News"))
 
148#set ($temp = $element.put("type","text"))
 
149#set ($temp = $element.put("cssclass","titulo_news"))
 
150#set ($temp = $element.put("tag","div"))
 
151#set ($temp = $arrayListContenidos.add($element))
 
152
 
153#set ($element = {})
 
154#set ($temp = $element.put("name","Resumen_News"))
 
155#set ($temp = $element.put("type","text"))
 
156#set ($temp = $element.put("cssclass","resumen_news"))
 
157#set ($temp = $element.put("tag","div"))
 
158#set ($temp = $arrayListContenidos.add($element))
 
159
 
160
 
161#set($sectionID = "#printAssignedSectionID_v1")
 
162#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
163
 
164#set($section = "#printAssignedSection_v1")
 
165
 
166#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
 
167#if($FacebookText_ && $FacebookText_.data != "")
 
168<div id="fb-root"></div>
 
169<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
 
170#end
 
171
 
172##----json----
 
173#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
174#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
175
 
176#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
177#set($dateF = $dateF.trim())
 
178#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
179#set($dateM = $dateM.trim())
 
180#set($dateF = $dateF + "T" + $dateM +"-0600")
 
181
 
182
 
183#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
184#set($dateF1 = $dateF1.trim())
 
185#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
186#set($dateH = $dateH.trim())
 
187#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
188
 
189##METAS TWITTER
 
190
 
191#set($metaTW = {})
 
192#set($temp = $metaTW.put("property","twitter:card"))
 
193#set($temp = $metaTW.put("content", "summary_large_image"))
 
194$iterVelocityTools.addMetaTag( $metaTW )
 
195
 
196#set($metaTW = {})
 
197#set($temp = $metaTW.put("property","twitter:site"))
 
198#set($temp = $metaTW.put("content", "vanguardiamx"))
 
199$iterVelocityTools.addMetaTag( $metaTW )
 
200
 
201#set($metaTW = {})
 
202#set($temp = $metaTW.put("property","twitter:title"))
 
203#set($temp = $metaTW.put("content", "$!TituloEsc"))
 
204$iterVelocityTools.addMetaTag( $metaTW )
 
205
 
206#set($metaTW = {})
 
207#set($temp = $metaTW.put("property","twitter:description"))
 
208#set($temp = $metaTW.put("content", "$TextoEsc"))
 
209$iterVelocityTools.addMetaTag( $metaTW )
 
210
 
211#if($pub_imagen != "")
 
212	#set($metaTW = {})
 
213	#set($temp = $metaTW.put("property","twitter:image"))
 
214	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
215	$iterVelocityTools.addMetaTag( $metaTW )
 
216#end
 
217
 
218#set($metaTW = {})
 
219#set($temp = $metaTW.put("property","twitter:url"))
 
220#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
221$iterVelocityTools.addMetaTag( $metaTW )
 
222
 
223#set($metaTW = {})
 
224#set($temp = $metaTW.put("property","twitter:domain"))
 
225#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
226$iterVelocityTools.addMetaTag( $metaTW )
 
227
 
228#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
229#set($xml-url = $ac-url.get(0).text)
 
230#set($url_actual = $!xml-url )
 
231##----json----
 
232<script type="application/ld+json">
 
233    {
 
234    "@context": "http://schema.org",
 
235    "@type": "ImageObject",
 
236    "url": "$pub_imagen"}
 
237</script>
 
238
 
239
 
240<style>
 
241figure.contentMedia.art-img > div:first-child{
 
242padding-top:65% !important;
 
243}
 
244div#backtotop{
 
245display: none !important;
 
246}
 
247</style>
 
248
 
249##Add meta title
 
250#set($title = $htmlUtil.escape($!title))
 
251#set($title = $title.replaceAll("\n", ""))
 
252
 
253#set($html5Desc = {})
 
254#set($temp = $html5Desc.put("name","title"))
 
255#set($temp = $html5Desc.put("content",$title))
 
256$iterVelocityTools.addMetaTag($html5Desc)
 
257
 
258<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">
 
259
 
260
 
261<script async src="https://www.googletagmanager.com/gtag/js?id=G-LLWL5N9CSM"></script>
 
262<script>
 
263    window.dataLayer = window.dataLayer || [];
 
264    function gtag(){dataLayer.push(arguments);}
 
265    gtag('js', new Date());
 
266    gtag('config', 'G-LLWL5N9CSM');
 
267</script>
 
268
 
269<div class="container">
 
270
 
271        <!-- parte de datos estructurados inicio  -->
 
272
 
273	    <div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 
 
274	        <meta hidden itemprop="url" content="$pub_imagen"> 
 
275	    </div> 
 
276	    <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
277	    <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
278	    <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
279        <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
280        <meta itemprop="inLanguage" content="es-MX" />
 
281	    <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
 
282            <meta itemprop="url" content="https://vanguardia.com.mx/" />
 
283            <meta itemprop="name" content="Vanguardia" />
 
284            <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
 
285            <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
 
286            <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
 
287            <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
 
288            <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
289                <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
290                <meta itemprop="width" content="380" />
 
291                <meta itemprop="height" content="35" />
 
292            </div>
 
293	    </div>
 
294
 
295        <!-- parte de datos estructurados inicio fin -->
 
296
 
297		<script>
 
298			var group_id = $request.theme-display.scope-group-id;
 
299			var id_art_infinity = $reserved-article-id.data;
 
300			#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
301				var teaser_first = true;
 
302				var n_noticia = 1;
 
303				idart_view = $reserved-article-id.data;
 
304			#else
 
305				var teaser_first = false;
 
306				var n_noticia = n_noticia + 1;
 
307			#end
 
308		</script>
 
309		## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
310		#set ($addInParagraph ={})
 
311
 
312		#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
313			#set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
 
314                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
 
315                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
 
316                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
 
317                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
 
318                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
 
319			#set ($temp = $addInParagraph.put("33","v_desk_nota_mid_6"))
 
320			#set ($temp = $addInParagraph.put("38","v_desk_nota_mid_7"))
 
321                        #set ($temp = $addInParagraph.put("43","v_desk_nota_mid_8"))
 
322		        #set ($temp = $addInParagraph.put("48","v_desk_nota_mid_9"))
 
323                        #set ($temp = $addInParagraph.put("53","v_desk_nota_mid_10"))
 
324			<script>console.log('definicion movil');</script>
 
325		#php_else
 
326                        #set ($temp = $addInParagraph.put("3","v_desk_nota_mid_1"))
 
327                        #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_2"))
 
328                        #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_3"))
 
329                        #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_4"))
 
330                        #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_5"))
 
331                        #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_6"))
 
332                        #set ($temp = $addInParagraph.put("33","v_desk_nota_mid_7"))
 
333                        #set ($temp = $addInParagraph.put("38","v_desk_nota_mid_8"))
 
334                        #set ($temp = $addInParagraph.put("43","v_desk_nota_mid_9"))
 
335                        #set ($temp = $addInParagraph.put("48","v_desk_nota_mid_10"))
 
336        #php_end
 
337
 
338		<div class="metadatos">#*
 
339		*##set($hmTemas = {})#*
 
340		*##getAcAssignedCatExtended_v1($hmTemas "Topic")#*
 
341		*##set($hmGeografico = {})#*
 
342		*##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
 
343		*##set($hmPersonajes = {})#*
 
344		*##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
 
345		*##set($hmAutores = {})#*
 
346		*##getAcAssignedCatExtended_v1($hmAutores "Author")#*
 
347		*##if($hmTemas && $hmTemas.size() > 0)	#*
 
348			*##foreach ($elem in $hmTemas)#*
 
349				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topic" data-voc-id="102924553"/>#*
 
350			*##end#*
 
351		*##end#*
 
352		*##if($hmGeografico && $hmGeografico.size() > 0)#*
 
353			*##foreach ($elem in $hmGeografico)#*
 
354				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
 
355			*##end#*
 
356		*##end#*
 
357		*##if($hmAutores && $hmAutores.size() > 0)#*	
 
358			*##foreach ($elem in $hmAutores)#*
 
359				*#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
 
360			*##end#*
 
361		*##end#*
 
362		*#</div>
 
363		<div class="canonical hidden"></div>
 
364		
 
365
 
366    ##PAYWALL HIT MAS
 
367	<script>
 
368		$(document).ready(function() {
 
369			var title = "$!escapeTool.html($!title)";
 
370			sendHitUser(title);
 
371		});
 
372	</script>
 
373
 
374    ##PAYWALL PRODUCT
 
375        #set($product = "")
 
376        #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
377        #if ($article_is_restricted)
 
378            #foreach($products in $articleToolbox.getProductList())
 
379            #set($product = $products.get("name"))
 
380            #end
 
381            <div id="type-note" data-id="$product"></div>
 
382        #end  
 
383        ##USUARIO ANONIMO
 
384        #*
 
385                #if ($environment != 'PREVIEW')
 
386            #php_if("strlen(getenv('ITER_USER'))===0")
 
387                #if($product == "registrados")
 
388                    
 
389                    #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
 
390                    #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
 
391                    <script>
 
392                    var cons = ${cons};
 
393                    var total = ${total};
 
394                    var disp = total-cons;
 
395                    $(".paywall-title span").html(disp);
 
396                    </script>
 
397                #end
 
398            
 
399            #php_end
 
400                #end
 
401        *#
 
402        ##FIN USUARIO ANONIMO
 
403	<!-- script para iframes pro Datafactory -->
 
404		<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js"></script>
 
405		  <script type="text/javascript">
 
406		    document.addEventListener("DOMContentLoaded", function() {
 
407		      iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
 
408		    });
 
409		  </script>
 
410			
 
411	<!-- script para iframes pro Datafactory -->
 
412		##HEADLINE
 
413        <script type="text/javascript" class="teads" async="true" src="//a.teads.tv/page/172705/tag"></script>
 
414
 
415		##publicidad video 
 
416
 
417		##publicidad video
 
418
 
419
 
420        
 
421        <style>
 
422            @media (max-width: 768px) {
 
423                #publicidadTopNota {
 
424                    display: none; /* Ocultar el elemento en dispositivos móviles */
 
425                }
 
426            }
 
427        </style>
 
428
 
429	    <article class="mrf-article-body">
 
430            <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
431            ## SECC / FECHA
 
432            <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
 
433		
 
434            <div id="content_note" style="visibility: hidden" class="row middle">
 
435                <!-- Columna de articulo padre -->
 
436                <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">
 
437
 
438			#set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
 
439                        #if($section == "Opinión" || $section == "Politicón")
 
440				#if ($hasImages > 0)
 
441					<div class="image_main" itemprop="image">
 
442					    #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
443					</div>
 
444				#elseif($hmAutores && $hmAutores.size() > 0)
 
445					#foreach ($elem in $hmAutores)
 
446					    #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
447					    #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
 
448					    #if($imgColumn && $imgColumn != "")
 
449						#set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
 
450						#set($metaImgAuthor = {})
 
451						###set($temp = $metaImgAuthor.put("property","og:image"))
 
452						###set($temp = $metaImgAuthor.put("content",$urlImage))
 
453						###$iterVelocityTools.addMetaTag( $metaImgAuthor )
 
454						<div class="image_main" itemprop="image">
 
455						    $!imgColumn
 
456						</div>
 
457					    #end
 
458					#end
 
459				#end
 
460                        #else
 
461                            ##IMAGEN
 
462                            <div class="image_main" itemprop="image">
 
463                                #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
 
464                            </div>
 
465                        #end
 
466
 
467                        <div class="container-fluid">
 
468                            <div class="row middle">
 
469
 
470                                <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">	
 
471
 
472                                    ##AUTOR
 
473                                    <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
 
474                                        #if($hmAutores && $hmAutores.size() > 0)
 
475                                            #foreach ($elem in $hmAutores)
 
476                                                #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
 
477                                                #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
 
478                                                <div class="img_author" itemprop="image">
 
479                                                    #if($imgAuthor && $imgAuthor != "")
 
480                                                        $!imgAuthor
 
481                                                    #else
 
482                                                        <img class="img-fluid" src="$AuthorNoFoto"/>
 
483                                                    #end
 
484                                                </div>
 
485                                                <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
 
486                                            #end
 
487                                        #end
 
488                                    </div>
 
489
 
490					<!-- Estilo para Lista sin Plublicidad -->
 
491					<script>
 
492					    document.addEventListener('DOMContentLoaded', function() {
 
493					      // Obtener todos los div con la clase block_Parrafo_Lista
 
494					      var blocks = document.querySelectorAll('.block_Parrafo_Lista');
 
495					    
 
496					      // Iterar a través de los bloques
 
497					      blocks.forEach(function(block) {
 
498						// Obtener todos los elementos <p> dentro del bloque actual
 
499						var paragraphs = block.querySelectorAll('p');
 
500					    
 
501						// Iterar a través de los elementos <p>
 
502						paragraphs.forEach(function(paragraph) {
 
503						  // Verificar si el <p> está vacío
 
504						  if (paragraph.innerHTML.trim() === '') {
 
505						    // Agregar altura y display block
 
506						    paragraph.style.height = '20px';
 
507						    paragraph.style.display = 'block';
 
508						  }
 
509					    
 
510						  // Verificar si el <p> contiene un <b> vacío
 
511						  var boldElement = paragraph.querySelector('b');
 
512						  if (boldElement && boldElement.innerHTML.trim() === '') {
 
513						    // Agregar altura y display block al <b> dentro del <p>
 
514						    boldElement.style.height = '20px';
 
515						    boldElement.style.display = 'block';
 
516						  }
 
517						});
 
518					      });
 
519					    });
 
520					    </script>
 
521					<style>
 
522					    div.block_Parrafo_Lista p{
 
523						margin: 0px !important;
 
524					    }
 
525					</style>
 
526					<!-- Estilo para Lista sin Plublicidad -->
 
527
 
528
 
529                                    <!-- Google Contribucion inicio -->
 
530                                    #if($section == "NOsection" || $section == "NOsection")
 
531                                        <script async type="application/javascript"
 
532                                                        src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
 
533                                                    
 
534
 
535                                        <script>
 
536                                            (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
 
537                                            basicSubscriptions.init({
 
538                                            type: "NewsArticle",
 
539                                            isPartOfType: ["Product"],
 
540                                            isPartOfProductId: "CAowteHSAQ:openaccess",
 
541                                            clientOptions: { theme: "light", lang: "es" },
 
542                                            });
 
543                                            });
 
544                                        </script>
 
545                                        <style>
 
546                                            @media (min-width: 1024px) {
 
547                                                .swg-button-v2-dark, .swg-button-v2-light {
 
548                                                -ms-flex-align: center;
 
549                                                align-items: center;
 
550                                                border: 0.5px solid #beb5b557 !important;
 
551                                                border-radius: 4px;
 
552                                                box-sizing: border-box;
 
553                                                cursor: pointer;
 
554                                                display: -ms-inline-flexbox;
 
555                                                display: inline-flex;
 
556                                                font-family: Google Sans,Roboto-Regular,sans-serif,arial;
 
557                                                font-size: 10px;
 
558                                                font-weight: 500;
 
559                                                height: 44px;
 
560                                                letter-spacing: .001em;
 
561                                                min-height: 44px;
 
562                                                min-width: 150px !important;
 
563                                                outline: 0;
 
564                                                width: 175px !important;
 
565                                            }
 
566                                            .swg-button-v2-icon-dark, .swg-button-v2-icon-light {
 
567                                                background-size: contain;
 
568                                                height: 18px;
 
569                                                margin-left: 15px !important;
 
570                                                margin-right: 8px;
 
571                                                width: 18px;
 
572                                            }
 
573                                            }
 
574                                            @media (max-width: 1023px) {
 
575                                            .centermovileG{
 
576                                                justify-content: center;
 
577                                                display: flex;
 
578                                                margin-bottom: 20px;
 
579                                            }
 
580                                            }
 
581                                        </style>
 
582                                        <div class="centermovileG">
 
583                                            <button style="margin-top: 11px;" swg-standard-button="contribution">Contribuciones</button>
 
584                                        </div>
 
585                                    #end
 
586                                    <!-- Googel Contribucion Fin -->
 
587
 
588                                    <style>
 
589                                        .compartirr{
 
590                                        position: sticky;
 
591                                        top:50px;
 
592                                        }
 
593                                    </style>
 
594                                    <div class="compartirr">	
 
595                                        
 
596                                        <div class="rrss d-desktop">
 
597                                            <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>		
 
598                                            <div class="network-social"> 
 
599                                                <ul class="social-options"> 
 
600                                                    <li> 
 
601                                                        <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
602                                                            <div class="fab facebook"></div>
 
603                                                            <b>Facebook</b> 
 
604                                                        </a> 
 
605                                                    </li> 
 
606                                                    <li> 
 
607                                                        <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"> 
 
608                                                            <div class="fab twitter"></div>
 
609                                                            <b>Twitter</b> 
 
610                                                        </a> 
 
611                                                    </li>  
 
612                                                    <li> 
 
613                                                        <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
614                                                            <div class="fab whatsapp"></div>
 
615                                                            <b>Whatsapp</b> 
 
616                                                        </a> 
 
617                                                    </li> 
 
618                                                    <li> 
 
619                                                        <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
620                                                            <div class="fab linkedin"></div>
 
621                                                            <b>Linkedin</b> 
 
622                                                        </a> 
 
623                                                    </li>
 
624                                                </ul> 
 
625                                            </div>							                            
 
626                                        </div>
 
627
 
628                                        ## TAGS
 
629                                        <div class="temas d-desktop" temas="$hmTemas.size()">
 
630                                            <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>	
 
631                                            #if($hmTemas && $hmTemas.size() > 0)
 
632                                                #foreach ($elem in $hmTemas)
 
633                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
634                                                #end
 
635                                            #end
 
636                                            #if($hmGeografico && $hmGeografico.size() > 0)
 
637                                                #foreach ($elem in $hmGeografico)
 
638                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
639                                                #end
 
640                                            #end
 
641                                        </div>
 
642                                        
 
643                                    </div>
 
644                                </div>
 
645                                <style>
 
646                                    @media (max-width: 468px){
 
647                                        .template-infinity .rrss.end {
 
648                                            display: flex !important;
 
649                                            gap: 10px !important;
 
650                                            border-bottom: 1px dotted #e0e0e0 !important;
 
651                                            border-top: 1px dotted #e0e0e0 !important;
 
652                                            padding-top: 10px !important;
 
653                                            padding-bottom: 0px !important;
 
654                                            margin-bottom: 0px !important;
 
655                                            padding-left: 0px !important;
 
656                                            position: sticky !important;
 
657                                            top: 5% !important;
 
658                                            background: white !important;
 
659                                            z-index: 9 !important;
 
660                                            justify-content: center !important;
 
661					    margin-bottom: 25px !important;
 
662                                        }                                        
 
663                                        .template-infinity .social-options a.whatsapp, .template-infinity .social-options a.facebook, .template-infinity .social-options a.twitter, .template-infinity .social-options a.linkedin {
 
664                                            border-radius: 0% !important;
 
665                                            height: 40px !important;
 
666                                            width: 40px !important;
 
667                                            padding-left: 25% !important;
 
668                                            padding-top: 2% !important;
 
669                                        } 
 
670                                        .template-infinity .network-social .social-options {
 
671                                            gap: 9px !important;
 
672                                        }
 
673                                    }
 
674
 
675                                </style>
 
676
 
677
 
678                                #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
679                                    <div class="rrss end d-movil" style="
 
680                                    position: sticky;
 
681                                    top: 38px;
 
682                                    background: white;
 
683                                    z-index: 3;">
 
684                                        <div class="cab-rrss">COMPARTIR</div>
 
685                                        <div class="network-social"> 
 
686                                            <ul class="social-options"> 
 
687                                                <li> 
 
688                                                    <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
689                                                        <div class="fab facebook"></div>
 
690                                                    </a> 
 
691                                                </li> 
 
692                                                <li> 
 
693                                                    <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"> 
 
694                                                        <div class="fab twitter"></div>
 
695                                                    </a> 
 
696                                                </li>  
 
697                                                <li> 
 
698                                                    <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
699                                                        <div class="fab whatsapp"></div>									
 
700                                                    </a> 
 
701                                                </li>  
 
702                                                                                    <li> 
 
703                                                    <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
704                                                                        <div class="fab linkedin"></div>								
 
705                                                    </a> 
 
706                                                </li>  
 
707                                            </ul> 
 
708                                        </div>							                            
 
709                                    </div>
 
710                                #php_end
 
711
 
712                                <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">
 
713
 
714                                    ##SUBHEADLINE/TOPHEADLINE
 
715                                    #set ($tempSubheadline = "#getTeaserSubheadline(true)")
 
716                                    #if($tempSubheadline && $tempSubheadline != "")
 
717                                        <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
 
718                                    #end
 
719
 
720##PUBLI BOX PREMIUM
 
721
 
722
 
723##PUBLI BOX PREMIUM
 
724#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
725                                     <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
 
726#php_end
 
727
 
728                                    ##aqui estaba el paywall inicio
 
729                                    ##PAYWALL
 
730                                    #php_if("strlen(getenv('ITER_USER'))!==0")
 
731                                        <!--Usuario logueado-->
 
732                                        #set($islogged = "true")
 
733                                    #php_else
 
734                                        <!--Usuario no logueado-->
 
735                                        #set($islogged = "false")
 
736                                    #php_end
 
737
 
738                                    #set($productList = $articleToolbox.getProductList())
 
739                                    #set($producto = '')
 
740                                    #if ($productList && $productList.size() > 0)
 
741                                        #set($producto = $productList.get(0).namebase64)
 
742                                    #end  
 
743                                    <!-- product:$producto -->
 
744                                    <!-- reserved-article-id.data:$reserved-article-id.data -->
 
745                                    #set($useraccess = "false")	
 
746                                    #set($article_is_restricted = $articleToolbox.article_is_restricted())
 
747                                    
 
748                                        <!-- TEXTO LIBRE -->
 
749                                        ##TEXTO
 
750                                        <div class="text resizable" itemprop="articleBody">
 
751                                            #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
 
752                                            
 
753                                            <!-- funcion para leer la nota inicio -->
 
754
 
755                                            <button hidden id="leer">Leer Texto</button>
 
756                                            <script>
 
757                                            const botonLeer = document.getElementById('leer');
 
758
 
759                                            botonLeer.addEventListener('click', () => {
 
760                                                const elementosParaLeer = document.querySelectorAll('.paragraph.texto p');
 
761
 
762                                                if (elementosParaLeer.length === 0) {
 
763                                                console.log('No se encontraron elementos para leer.');
 
764                                                return;
 
765                                                }
 
766
 
767                                                const mensaje = new SpeechSynthesisUtterance();
 
768                                                mensaje.voice = speechSynthesis.getVoices().find(voice => voice.lang === 'es-ES');
 
769
 
770                                                elementosParaLeer.forEach(elemento => {
 
771                                                mensaje.text = elemento.textContent;
 
772                                                window.speechSynthesis.speak(mensaje);
 
773                                                });
 
774                                            });
 
775                                            </script>
 
776
 
777                                            <!-- funcion leer nota fin -->
 
778
 
779                                            <!-- nuevas tags con estilo de especial + autores inicio -->
 
780
 
781                                                <!-- TAGS MOVIL INICIO -->
 
782                                                ## TAGS
 
783                                                <div class="temas d-movil" temas="$hmTemas.size()">
 
784                                                <div class="cab-temas">TEMAS</div>
 
785                                                #if($hmTemas && $hmTemas.size() > 0)
 
786                                                    #foreach ($elem in $hmTemas)
 
787                                                    <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
788                                                    #end
 
789                                                #end
 
790                                                #if($hmGeografico && $hmGeografico.size() > 0)
 
791                                                    #foreach ($elem in $hmGeografico)
 
792                                                    <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
 
793                                                    #end
 
794                                                #end
 
795                                                </div>
 
796                                                <!-- TAGS MOVIL FIN -->
 
797
 
798                                            <!-- nuevas tags con estilo de especial + autores fin  -->
 
799
 
800                                            <!-- excoplayer video debajo de la nota inicio 
 
801
 
802                                            <script>
 
803                                            (function (d, s, n) {
 
804                                                var js, fjs = d.getElementsByTagName(s)[0];
 
805                                                js = d.createElement(s);
 
806                                                js.className = n;
 
807                                                js.src = "//player.ex.co/player/0b65faeb-7817-45cc-a6d0-60e3e0b40b3a";
 
808                                                fjs.parentNode.insertBefore(js, fjs);
 
809                                            }(document, 'script', 'exco-player'));
 
810                                            </script>
 
811                                            <style>
 
812                                            @media (max-width: 767px){
 
813                                            .sectiondestacadas {
 
814                                                margin: 0px !important;
 
815                                            }
 
816                                            }
 
817
 
818                                            </style>
 
819                                            <div class="VideoVanguardiapro" style="border-top: 1px solid #e0e0e0;margin-top: 20px;width: auto;margin-bottom: 20px;"></div>
 
820                                            <h2 class="sectiondestacadas VideoVanguardiapro" style="margin-bottom: 20px !important;" >Videos</h2>
 
821                                            <div class="VideoVanguardiapro" id="0b65faeb-7817-45cc-a6d0-60e3e0b40b3a" ></div>
 
822
 
823                                             excoplayer video debajo de la nota fin -->
 
824                                        </div>
 
825                                        <!-- TEXTO LIBRE -->
 
826
 
827                                        ##GENERICO
 
828                                        #if($Generic && $Generic.getSiblings().size()>0)
 
829                                            <ul class="generic">
 
830                                                #foreach ($el in $Generic.getSiblings())
 
831                                                    <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
 
832                                                #end
 
833                                            </ul>
 
834                                        #end
 
835                                    
 
836
 
837                                        ## FIN PAYWALL
 
838                                        ##aqui estaba el paywall fin
 
839
 
840                                        ## MOVER TEXTO AQUI
 
841
 
842                                        ##RELACIONADAS EXTERNAS 
 
843                                        #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
 
844                                        #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
 
845                                        #if(($urlLink && $urlLink.data != "")  && ($titleLink && $titleLink.data != ""))
 
846                                            <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
 
847                                                <strong>$!titleLink.data</strong>
 
848                                            </a>
 
849                                        #end
 
850                                        ##RELACIONADAS INTERNAS 
 
851                                        #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
 
852                                            <div class="link_tpi">
 
853                                                <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
 
854                                                #foreach ($el in $linkIntTitle.getSiblings())
 
855                                                    <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
 
856                                                #end
 
857                                            </div>
 
858                                        #end
 
859
 
860
 
861                                        ##openweb					
 
862                                            <div hidden class="fb-comments">
 
863                        
 
864                                                #set($urlfb = $canonicalUrl)
 
865                                                #foreach ($element in $urlfb.split("-"))
 
866                                                    #set($urlid = $element)
 
867                                                #end
 
868                                                #set($urlfb = "FB-" + $urlid)
 
869                                                        
 
870                                            </div>
 
871                        
 
872                        
 
873                                            <div data-spotim-app="reactions" data-spot-id="sp_wVRiLLf2" data-post-id="$urlfb"></div>
 
874                        
 
875                        
 
876                                                <script 
 
877                                                    async 
 
878                                                    src="https://launcher.spot.im/spot/sp_wVRiLLf2"
 
879                                                    data-spotim-module="spotim-launcher"
 
880                                                    data-post-url="https://vanguardia.com.mx/$urlfb"   
 
881                                                    data-post-id="$urlfb">
 
882                                                </script>
 
883                    
 
884                                        ##cierra openweb
 
885                                            
 
886                                        #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
887                                            ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
888                                            ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
 
889                                        #php_end
 
890
 
891                                </div>
 
892
 
893                            </div>
 
894                        </div>
 
895                </div>
 
896
 
897                <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">	
 
898
 
899                    <script>
 
900                        document.addEventListener('DOMContentLoaded', function() {
 
901                        // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
 
902                        setTimeout(function() {
 
903                        // Obtén una referencia a los elementos div con las clases específicas
 
904                        var resizableDiv = document.querySelector('.text.resizable');
 
905                        var otherDiv = document.querySelector('#col-60-40-top-two-col');
 
906
 
907                        // Obtén la altura del div redimensionable
 
908                        //var resizableDivHeight = resizableDiv.offsetHeight;
 
909                        var altura = resizableDiv.getBoundingClientRect();
 
910                        // Asigna la altura del div redimensionable al otro div
 
911                        otherDiv.style.height = altura + 'px';
 
912                        }, 1000); // 1000 ms = 1 segundo
 
913                        });
 
914                    </script>
 
915
 
916                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
917                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
 
918                                    
 
919                    #php_else
 
920                        <div islogged="$islogged" useraccess="$useraccess"></div>
 
921                        <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div>
 
922                        <style>
 
923                            .cab_ads{
 
924                                display: none;
 
925                            }
 
926                        </style>
 
927                    #php_end	
 
928
 
929                    <!-- la enceusta se ve aqui inicio -->
 
930
 
931                    <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
 
932
 
933                        <div class="move-from-a">
 
934                        
 
935                            <h2 class="sectiondestacadas">Encuesta Vanguardia</h2>
 
936
 
937                              <div id="encuesta1" hidden>
 
938<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="d44fdbf9-398c-443f-8ef8-abe8d59aad13" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("d44fdbf9-398c-443f-8ef8-abe8d59aad13");</script></div>
 
939<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
940                               </div>
 
941
 
942                            <div id="encuesta2" hidden>
 
943<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="bd14a761-3785-40ca-a756-ee22dc5cb991" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("bd14a761-3785-40ca-a756-ee22dc5cb991");</script></div>
 
944<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
945                            </div>
 
946
 
947                            <div id="encuesta3" hidden>
 
948<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="666de03e-32d6-4adc-8540-b0251a712759" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("666de03e-32d6-4adc-8540-b0251a712759");</script></div>
 
949<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
950                            </div>
 
951
 
952                            <div id="encuesta4" hidden>
 
953<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="ca1e87d0-e455-4ac2-a094-80a8b28e0043" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("ca1e87d0-e455-4ac2-a094-80a8b28e0043");</script></div>
 
954<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
955                            </div>
 
956
 
957                            <div id="encuesta5" hidden>
 
958<div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="40435a41-3801-4762-aa60-9754aa689bb1" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("40435a41-3801-4762-aa60-9754aa689bb1");</script></div>
 
959<script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
 
960                            </div>
 
961
 
962                            <script>
 
963                                document.addEventListener("DOMContentLoaded", function() {
 
964                                    // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
 
965                                    var dayOfWeek = new Date().getDay();
 
966
 
967                                    // Mostrar el div de la encuesta correspondiente al día de la semana
 
968                                    switch (dayOfWeek) {
 
969                                    case 1: // Lunes
 
970                                        document.getElementById("encuesta1").removeAttribute("hidden");
 
971                                        break;
 
972                                    case 2: // Martes
 
973                                        document.getElementById("encuesta2").removeAttribute("hidden");
 
974                                        document.getElementById("encuesta1").setAttribute("hidden", "true");
 
975                                        break;
 
976                                    case 3: // Miércoles
 
977                                        document.getElementById("encuesta3").removeAttribute("hidden");
 
978                                        document.getElementById("encuesta2").setAttribute("hidden", "true");
 
979                                        break;
 
980                                    case 4: // Jueves
 
981                                        document.getElementById("encuesta4").removeAttribute("hidden");
 
982                                        document.getElementById("encuesta3").setAttribute("hidden", "true");
 
983                                        break;
 
984                                    case 5: // Viernes
 
985                                        document.getElementById("encuesta5").removeAttribute("hidden");
 
986                                        document.getElementById("encuesta4").setAttribute("hidden", "true");
 
987                                        break;
 
988                                    default: // Sábado (6) y Domingo (0)
 
989                                        document.getElementById("encuesta5").removeAttribute("hidden");
 
990                                    break;
 
991                                    // Para el resto de los días (sábado y domingo), no se mostrará ninguna encuesta
 
992                                    }
 
993                                });
 
994                            </script>
 
995
 
996                        </div>
 
997
 
998                    </div>	
 
999                    
 
1000                    <!-- la enceusta se ve aqui fin -->
 
1001                                    
 
1002                    ##RANKING
 
1003                    <div class="ranking_infinity lateral_secc c004_003"></div>
 
1004                    ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1005                    #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")				
 
1006                                    
 
1007                    #php_else				
 
1008                                    <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div>
 
1009                    #php_end						
 
1010                </div>
 
1011
 
1012            </div>
 
1013
 
1014            <!-- mover newslatter dentro de la nota inicio -->
 
1015                <style>
 
1016                    #mc_embed_signup.newsletterform {
 
1017                        background: #ffffff !important;
 
1018                        clear: left;
 
1019                        font: 14px Helvetica,Arial,sans-serif;
 
1020                        max-width: 550px;
 
1021                        min-height: 150px;
 
1022                        border-radius: 0px;
 
1023                        box-shadow: rgb(0 0 0 / 30%) 0 10px 10px, rgb(0 0 0 / 22%) 0 0 5px;
 
1024                        margin-inline: auto;
 
1025                        padding-block: 15px;
 
1026                        margin-top: 25px;
 
1027                    }
 
1028                    #mc_embed_signup.newsletterform h2 {
 
1029                        margin: 15px 0;
 
1030                        color: rgb(0, 0, 0);
 
1031                        font-size: 1.5rem!important;
 
1032                        font-family: "PT Serif",Georgia,serif!important;
 
1033                        font-weight: bolder!important;
 
1034                    }
 
1035                    #mc_embed_signup input.button {
 
1036                        top: -11px !important;
 
1037                        height: 40pxpx!important;
 
1038                        color: rgb(255, 255, 255) !important;
 
1039                        font-family: "PT Serif",Georgia,serif!important;
 
1040                        font-weight: bolder!important;
 
1041                        text-indent: 0 !important;
 
1042                        font-size: 1.2rem !important;
 
1043                        background-color: #000000!important;
 
1044                        background-image: none!important;
 
1045                        min-width: 95% !important;
 
1046                        border-radius: 0px !important;
 
1047                    }
 
1048
 
1049                    #mc_embed_signup.newsletterform {
 
1050                        height: 285px ;
 
1051                    }
 
1052                    #mc_embed_signup input.email{
 
1053                        min-height: 40px ;
 
1054                    }
 
1055                    @media screen and (min-width: 300px) and (max-width: 322px) {
 
1056                    #mc_embed_signup.newsletterform {
 
1057                        height: 353px !important;
 
1058                    }
 
1059                    .imagenescool{
 
1060                        padding-left: 0px;
 
1061                    }
 
1062                    }
 
1063                    @media screen and (min-width: 323px) and (max-width: 360px) {
 
1064                    #mc_embed_signup.newsletterform {
 
1065                        height: 333px !important;
 
1066                    }
 
1067                    .imagenescool{
 
1068                        padding-left: 0px;
 
1069                    }
 
1070                    }
 
1071                    @media screen and (min-width: 359px) and (max-width: 390px) {
 
1072                    #mc_embed_signup.newsletterform {
 
1073                        height: 315px !important;
 
1074                    }
 
1075                    .imagenescool{
 
1076                        padding-left: 0px;
 
1077                    }
 
1078                    }
 
1079                    @media screen and (min-width: 391px) and (max-width: 414px) {
 
1080                    #mc_embed_signup.newsletterform {
 
1081                        height: 310px ;
 
1082                    }
 
1083                    .imagenescool{
 
1084                        padding-left: 0px;
 
1085                    }
 
1086                    }
 
1087                    @media (max-width:460px){
 
1088                        .ImagenVanguardiaNewsL1{
 
1089                            height: 8vw !important;
 
1090                            margin-top: -14px !important;
 
1091                        }
 
1092                        .ImagenVanguardiaNewsL4{
 
1093                            margin-top: 7px !important;
 
1094                        }
 
1095                    }
 
1096                    @media (max-width:330px){
 
1097                        .columnaVanguardiaMovilNewsleters{
 
1098                            display: none !important;
 
1099                        }
 
1100                    }
 
1101                </style>
 
1102
 
1103<script>/*<![CDATA[*/
 
1104const mailchimpEmbedCookieDomain = '.vanguardia.com.mx';
 
1105const mailchimpEmbedDeleteCookie = (name, domain) => {
 
1106  document.cookie = `${name}=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;domain=${domain}`;
 
1107};
 
1108const getMailchimpEmbedCookie = (cname) => {
 
1109  let name = cname + '=';
 
1110  let decodedCookie = decodeURIComponent(document.cookie);
 
1111  let ca = decodedCookie.split(';');
 
1112  for (let i = 0; i < ca.length; i++) {
 
1113    let c = ca[i];
 
1114    while (c.charAt(0) === ' ') {
 
1115      c = c.substring(1);
 
1116    }
 
1117    if (c.indexOf(name) === 0) {
 
1118      return c.substring(name.length, c.length);
 
1119    }
 
1120  }
 
1121  return '';
 
1122};
 
1123
 
1124
 
1125document.addEventListener('DOMContentLoaded', function() {
 
1126  // Obtener el elemento <p> con la clase "p_4"
 
1127  const elementoP = document.querySelector('p.p_4');
 
1128
 
1129  if (elementoP) {
 
1130
 
1131    const token = getMailchimpEmbedCookie('_vuser');
 
1132    const _token = token.split('.')[1];
 
1133    const decodeToken = _token ? JSON.parse(atob(_token)) : undefined;
 
1134    console.log('decodeToken', decodeToken);
 
1135    if (decodeToken && !decodeToken.email) {
 
1136      mailchimpEmbedDeleteCookie('_vuser', mailchimpEmbedCookieDomain);
 
1137      return window.location.reload();
 
1138    }
 
1139
 
1140    const email = decodeToken && decodeToken.email ? decodeToken.email : undefined;
 
1141    // Insertar el bloque de código HTML después del elemento <p>
 
1142    const bloqueHTML = `<div>
 
1143
 
1144                                            <link href='//cdn-images.mailchimp.com/embedcode/slim-10_7.css' rel='stylesheet' type='text/css'>
 
1145                                            <style type='text/css'>
 
1146                                                .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
 
1147                                            </style>
 
1148                                            <div class='newsletterform' id='mc_embed_signup' style='margin-bottom: 30px; padding: 0px !important;border-radius: 5px;'>
 
1149                                                <div class='row imagenescool' style='background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;'>
 
1150                                                    <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>
 
1151                                                    <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>
 
1152                                                </div>
 
1153                                                <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' target='_self' novalidate>
 
1154                                                    <div id='mc_embed_signup_scroll'>
 
1155                                                    <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. <strong>Regístrate ahora mismo.</strong></p>
 
1156 ${email ? '' : '<input style=\'margin: 0px 0% 10px 9px; !important\' type=\'email\' value=\'\' name=\'EMAIL\' class=\'email\' id=\'mce-EMAIL\' placeholder=\'Correo electrónico\' required>'}
 
1157
 
1158                                                    <div style='position: absolute; left: -5000px;' aria-hidden='true'><input type='text' name='b_372436c882786b2c9a8e7680a_51de90b277' tabindex='-1' value=''></div>
 
1159                                                    <div class='clear'><input type='submit' style='margin-top: 8px;right: 3% !important ;' value='Registrarme ahora' name='subscribe' id='mc-embedded-subscribe' class='button'></div>
 
1160                                                    </div>
 
1161                                                </form>
 
1162                                            </div>
 
1163                                        </div>`;
 
1164
 
1165    elementoP.insertAdjacentHTML('afterend', bloqueHTML);
 
1166  }
 
1167});
 
1168/*]]>*/</script>
 
1169                
 
1170            <!-- mover newslatter dentro de la nota fin -->
 
1171        </article>
 
1172	</div>
 
1173
 
1174</div>
 
1175<div class="cl"></div>
 
1176
 
1177<!-- apagar o encender scroll infinito -->
 
1178<div class="content-infinity-off">
 
1179<!-- apagar o encender scroll infinito -->
 
1180
 
1181</div>
 
1182
 
1183<script type="text/javascript" async="async">
 
1184if(isMobileEnvironment ==  false){
 
1185	if($(".ranking_infinity").size() > 0){
 
1186		$(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
 
1187	}
 
1188}
 
1189</script>
 
1190
 
1191<script>
 
1192document.addEventListener("DOMContentLoaded", function() {
 
1193    var subheadline = document.querySelector("h2.subheadline");
 
1194    if (subheadline) {
 
1195        subheadline.insertAdjacentHTML('afterend', '<div id="impactify-screen-static"></div>');
 
1196        }
 
1197});
 
1198</script>
 
1199<script>
 
1200    window.impactifyTag = window.impactifyTag || [];
 
1201    impactifyTag.push({
 
1202    "appId": "642DCECC20D79-UID.vanguardia.com.mx",
 
1203    "format": "screen",
 
1204    "style": "static",
 
1205    "onNoAd": function(){}
 
1206});
 
1207    (function(d, s, id) {
 
1208        var js, ijs = d.getElementsByTagName(s)[0];
 
1209        if (d.getElementById(id)) return;
 
1210        js = d.createElement(s); js.id = id;
 
1211        js.src = 'https://ad.impactify.io/static/ad/tag.js';
 
1212        ijs.parentNode.insertBefore(js, ijs);
 
1213     }(document, 'script', 'impactify-sdk'));
 
1214</script>
 
1215##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1216##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1217#*
 
1218#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
 
1219		#set($TituloEsc = $htmlUtil.escape($!Headline.data))
 
1220		#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
1221		#set ($tempSubheadline = "#getTeaserSubheadline(false)")
 
1222		#if($tempSubheadline && $tempSubheadline != "")
 
1223			#set($Texto = $tempSubheadline )
 
1224		#else
 
1225			#set($Texto = "#dameText(200)" )
 
1226		#end	
 
1227		#set($Texto = $Texto.replaceAll("<.*?>","") )
 
1228		#set($Texto = $Texto.trim() )
 
1229		#set($TextoEsc = $htmlUtil.escape($Texto))	
 
1230		#set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
 
1231		#set($logo = $logo.trim() )
 
1232		#set($logo = $htmlUtil.escape($logo))
 
1233		#set($logo = $logo.replaceAll("/","\/") )
 
1234		#set($section = "")
 
1235		#set($section_url = "")
 
1236		#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
1237		#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
1238			#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
1239				#if($atrib.name == "name")
 
1240					#set($section = $!atrib.data)
 
1241				#end
 
1242				#if($atrib.name == "url")
 
1243					#set($section_url = $!atrib.data)
 
1244				#end
 
1245				
 
1246			#end
 
1247		#end
 
1248		## ***************AUTOR ********************
 
1249		#set($autorfinal = "")
 
1250		#set($urlautorfinal = "")
 
1251		#if($hmAutores.size() > 0)
 
1252			#set($hmAutor = $hmAutores.get(0))
 
1253			#set($autorfinal = $hmAutor.name)
 
1254			#set($autorfinalEsc = $htmlUtil.escape($autorfinal))	
 
1255			#set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
1256		#end
 
1257		#if($autorfinal == "")
 
1258			#set($autorfinal = "Vanguardia")
 
1259		#end
 
1260		#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
1261		#set($xml-url = $ac-url.get(0).text)
 
1262		#set($url_actual = $!xml-url )
 
1263
 
1264
 
1265		<!-- ITEMS EN PAGINA  fullaccess: $fullaccess -->
 
1266		<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
1267		<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
1268			<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
1269			<meta itemprop="name" content="Vanguardia" />
 
1270			<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
1271				<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
 
1272				<meta itemprop="width" content="600" />
 
1273				<meta itemprop="height" content="60" />
 
1274			</div>
 
1275		</div>
 
1276
 
1277
 
1278##METAS TWITTER
 
1279
 
1280#set($metaTW = {})
 
1281#set($temp = $metaTW.put("property","twitter:card"))
 
1282#set($temp = $metaTW.put("content", "summary_large_image"))
 
1283$iterVelocityTools.addMetaTag( $metaTW )
 
1284
 
1285#set($metaTW = {})
 
1286#set($temp = $metaTW.put("property","twitter:site"))
 
1287#set($temp = $metaTW.put("content", "vanguardiamx"))
 
1288$iterVelocityTools.addMetaTag( $metaTW )
 
1289
 
1290#set($metaTW = {})
 
1291#set($temp = $metaTW.put("property","twitter:title"))
 
1292#set($temp = $metaTW.put("content", "$!TituloEsc"))
 
1293$iterVelocityTools.addMetaTag( $metaTW )
 
1294
 
1295#set($metaTW = {})
 
1296#set($temp = $metaTW.put("property","twitter:description"))
 
1297#set($temp = $metaTW.put("content", "$TextoEsc"))
 
1298$iterVelocityTools.addMetaTag( $metaTW )
 
1299
 
1300#if($pub_imagen != "")
 
1301	#set($metaTW = {})
 
1302	#set($temp = $metaTW.put("property","twitter:image"))
 
1303	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
1304	$iterVelocityTools.addMetaTag( $metaTW )
 
1305#end
 
1306
 
1307#set($metaTW = {})
 
1308#set($temp = $metaTW.put("property","twitter:url"))
 
1309#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
1310$iterVelocityTools.addMetaTag( $metaTW )
 
1311
 
1312#set($metaTW = {})
 
1313#set($temp = $metaTW.put("property","twitter:domain"))
 
1314#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
1315$iterVelocityTools.addMetaTag( $metaTW )
 
1316
 
1317
 
1318
 
1319#end
 
1320*#
 
1321##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
1322##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
Seleccione los productos:
Lo destacado