An error occurred while processing the template.
Encountered "#temp" at 430639434/F/RC_NE[line 159, column 7]
Was expecting one of:
<WHITESPACE> ...
<IDENTIFIER> ...
"{" ...
1$iterVelocityTools.setRenderArticleMode(1)
2
3#set($sort = "createdate")
4#set($criteria= "desc")
5#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
6#set($sectionID = "#printAssignedSectionID_v1")
7#set($templateId = $iterVelocityTools.getVelocityVariable("template_id"))
8
9#set($dateMask = "d MMMM yyyy")
10#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
11#set($hostName = "#siteUrl()")
12
13#set ($arrayListContenidos = [])
14
15#set ($element = {})
16#set ($temp = $element.put("name","Text"))
17#set ($temp = $element.put("type","paragraph"))
18#set ($temp = $element.put("cssclass","texto"))
19#set ($temp = $element.put("tag","div"))
20#set($temp = $arrayListContenidos.add($element))
21
22#set ($element = {})
23#set ($temp = $element.put("name","Image_Text"))
24#set ($temp = $element.put("type","image"))
25#set ($temp = $element.put("cssclass","img text"))
26#set ($temp = $element.put("tag","div"))
27#set($temp = $arrayListContenidos.add($element))
28
29#set ($element = {})
30#set ($temp = $element.put("name","Image_Text_GIF"))
31#set ($temp = $element.put("type","image"))
32#set ($temp = $element.put("cssclass","imagen"))
33#set ($temp = $element.put("tag","div"))
34#set($temp = $arrayListContenidos.add($element))
35
36#set ($element = {})
37#set ($temp = $element.put("name","Lead_Text"))
38#set ($temp = $element.put("type","text"))
39#set ($temp = $element.put("cssclass","intertitulo"))
40#set ($temp = $element.put("tag","div"))
41#set($temp = $arrayListContenidos.add($element))
42
43#set ($element = {})
44#set ($temp = $element.put("name","HTML_Text"))
45#set ($temp = $element.put("type","html"))
46#set ($temp = $element.put("cssclass","html_text"))
47#set ($temp = $element.put("tag","div"))
48#set($temp = $arrayListContenidos.add($element))
49
50#set ($element = {})
51#set ($temp = $element.put("name","Twitter_Text"))
52#set ($temp = $element.put("type","twitter"))
53#set ($temp = $element.put("cssclass","twitter_text"))
54#set ($temp = $element.put("tag","div"))
55#set ($temp = $arrayListContenidos.add($element))
56
57#set ($element = {})
58#set ($temp = $element.put("name","Facebook_Text"))
59#set ($temp = $element.put("type","facebook"))
60#set ($temp = $element.put("cssclass","facebook_text"))
61#set ($temp = $element.put("tag","div"))
62#set ($temp = $arrayListContenidos.add($element))
63
64#set ($element = {})
65#set ($temp = $element.put("name","Instagram_Text"))
66#set ($temp = $element.put("type","instagram"))
67#set ($temp = $element.put("cssclass","instagram_text"))
68#set ($temp = $element.put("tag","div"))
69#set ($temp = $arrayListContenidos.add($element))
70
71#set ($element = {})
72#set ($temp = $element.put("name","Youtube_Text"))
73#set ($temp = $element.put("type","youtube"))
74#set ($temp = $element.put("cssclass","youtube_video"))
75#set ($temp = $element.put("tag","div"))
76#set($temp = $arrayListContenidos.add($element))
77
78#set ($element = {})
79#set ($temp = $element.put("name","Multimedia_Text"))
80#set ($temp = $element.put("type","multimedia"))
81#set ($temp = $element.put("cssclass","video"))
82#set ($temp = $element.put("tag","div"))
83#set($temp = $arrayListContenidos.add($element))
84
85#set ($element = {})
86#set ($temp = $element.put("name","Flourish_Text"))
87#set ($temp = $element.put("type","text"))
88#set ($temp = $element.put("cssclass","flourish_text"))
89#set ($temp = $element.put("tag","div"))
90#set ($temp = $arrayListContenidos.add($element))
91
92#set ($element = {})
93#set ($temp = $element.put("name","Quote"))
94#set ($temp = $element.put("type","text"))
95#set ($temp = $element.put("cssclass","quote"))
96#set ($temp = $element.put("tag","div"))
97#set($temp = $arrayListContenidos.add($element))
98
99#set ($element = {})
100#set ($temp = $element.put("name","Quote_byline"))
101#set ($temp = $element.put("type","text"))
102#set ($temp = $element.put("cssclass","Quote_byline"))
103#set ($temp = $element.put("tag","div"))
104#set ($temp = $arrayListContenidos.add($element))
105
106#set ($element = {})
107#set ($temp = $element.put("name","linkTitle_Text"))
108#set ($temp = $element.put("type","text"))
109#set ($temp = $element.put("cssclass","link_tpi"))
110#set ($temp = $element.put("tag","div"))
111#set($temp = $arrayListContenidos.add($element))
112
113#set ($element = {})
114#set ($temp = $element.put("name","title_list"))
115#set ($temp = $element.put("type","microformat"))
116#set ($temp = $element.put("cssclass","microformat"))
117#set ($temp = $element.put("tag","div"))
118#set($temp = $arrayListContenidos.add($element))
119
120#set ($element = {})
121#set ($temp = $element.put("name","image_list"))
122#set ($temp = $element.put("type","microformat"))
123#set ($temp = $element.put("cssclass","microformat"))
124#set ($temp = $element.put("tag","div"))
125#set($temp = $arrayListContenidos.add($element))
126
127#set ($element = {})
128#set ($temp = $element.put("name","text_list"))
129#set ($temp = $element.put("type","microformat"))
130#set ($temp = $element.put("cssclass","microformat"))
131#set ($temp = $element.put("tag","div"))
132#set($temp = $arrayListContenidos.add($element))
133
134#set ($element = {})
135#set ($temp = $element.put("name","Parrafo_Lista"))
136#set ($temp = $element.put("type","text"))
137#set ($temp = $element.put("cssclass","Parrafo_Lista"))
138#set ($temp = $element.put("tag","div"))
139#set ($temp = $arrayListContenidos.add($element))
140
141#set ($element = {})
142#set ($temp = $element.put("name","Titulo_News"))
143#set ($temp = $element.put("type","text"))
144#set ($temp = $element.put("cssclass","titulo_news"))
145#set ($temp = $element.put("tag","div"))
146#set ($temp = $arrayListContenidos.add($element))
147
148#set ($element = {})
149#set ($temp = $element.put("name","Resumen_News"))
150#set ($temp = $element.put("type","text"))
151#set ($temp = $element.put("cssclass","resumen_news"))
152#set ($temp = $element.put("tag","div"))
153#set ($temp = $arrayListContenidos.add($element))
154
155#set ($element = {})
156#set ($temp = $element.put("name","Boton"))
157#set ($temp = $element.put("type","text"))
158#set ($temp = $element.put("cssclass","Boton"))
159#set (#temp = $element.put("tag","div"))
160#set ($temp = $arrayListContenidos.add($element))
161
162#set ($element = {})
163#set ($temp = $element.put("name","Lead"))
164#set ($temp = $element.put("type","text"))
165#set ($temp = $element.put("cssclass","lead destacado"))
166#set ($temp = $element.put("tag","div"))
167#set ($temp = $arrayListContenidos.add($element))
168
169#set($sectionID = "#printAssignedSectionID_v1")
170#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
171#set($section = "#printAssignedSection_v1")
172
173#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
174#if($FacebookText_ && $FacebookText_.data != "")
175<div id="fb-root"></div>
176<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0"></script>
177#end
178
179#set($pub_imagen1 = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
180#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
181
182#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
183#set($dateF = $dateF.trim())
184#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
185#set($dateM = $dateM.trim())
186#set($dateF = $dateF + "T" + $dateM +"-0600")
187
188#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
189#set($dateF1 = $dateF1.trim())
190#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
191#set($dateH = $dateH.trim())
192#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
193
194#set($titleRaw = $!articleToolbox.getTag(null,"Headline").data)
195#if(!$titleRaw) #set($titleRaw = "") #end
196#set($title = $htmlUtil.escape($titleRaw.replaceAll("\n", "").trim()))
197#set($titleForJS = $titleRaw.replaceAll('"', '\\"').replaceAll("'", "\\'").replaceAll('\n', ' ').replaceAll('\r', '').replaceAll('<', '').replaceAll('>', '').replaceAll('/', '\\/').trim())
198#set($titleForURL = $escapeTool.url($titleRaw.replaceAll("\n", "").trim()))
199
200<style>
201figure.contentMedia.art-img > div:first-child{ padding-top:65% !important; }
202div#backtotop{ display: none !important; }
203</style>
204
205#set($html5Desc = {})
206#set($temp = $html5Desc.put("name","title"))
207#set($temp = $html5Desc.put("content",$title))
208$iterVelocityTools.addMetaTag($html5Desc)
209
210#set($metaCSP = {})
211#set($temp = $metaCSP.put("http-equiv","Content-Security-Policy"))
212#set($temp = $metaCSP.put("content", "upgrade-insecure-requests"))
213$iterVelocityTools.addMetaTag($metaCSP)
214
215<script>console.log("%c S360-RC-NE v12.0","background:#795548;color:white;padding:4px;font-weight:bold");</script>
216
217<div class="template-infinity idart_$htmlUtil.escape($reserved-article-id.data) detail col-100-top-one-col col-xs-12 v2" id-next="$htmlUtil.escape($!art_next.reserved-article-id.data)" id-section="$htmlUtil.escape($sectionID)">
218
219<script async src="https://www.googletagmanager.com/gtag/js?id=G-LLWL5N9CSM"></script>
220<script>
221 window.dataLayer = window.dataLayer || [];
222 function gtag(){dataLayer.push(arguments);}
223 gtag('js', new Date());
224 gtag('config', 'G-LLWL5N9CSM');
225</script>
226
227<div class="container">
228
229 <time hidden datetime="$htmlUtil.escape($dateF)"></time>
230 <time hidden datetime="$htmlUtil.escape($dateFb)"></time>
231 <time hidden datetime="$htmlUtil.escape($dateF)"></time>
232
233 #set($ac-url = $articleContext.selectNodes('articlectx/url'))
234 #set($url_actual = "")
235 #if($ac-url && $ac-url.size() > 0)
236 #set($url_actual = $ac-url.get(0).text)
237 #end
238 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="$htmlUtil.escape($hostName)$htmlUtil.escape($url_actual)" />
239 <meta itemprop="inLanguage" content="es-MX" />
240 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
241 <meta itemprop="url" content="https://vanguardia.com.mx/" />
242 <meta itemprop="name" content="Vanguardia" />
243 <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
244 <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
245 <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
246 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
247 <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
248 <meta itemprop="width" content="380" />
249 <meta itemprop="height" content="35" />
250 </div>
251 </div>
252
253 <script>
254 var group_id = "$htmlUtil.escape($!request.theme-display.scope-group-id)";
255 var id_art_infinity = "$htmlUtil.escape($!reserved-article-id.data)";
256 if (typeof n_noticia === "undefined") n_noticia = 0;
257 #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
258 var teaser_first = true;
259 n_noticia = 1;
260 idart_view = "$htmlUtil.escape($reserved-article-id.data)";
261 #else
262 var teaser_first = false;
263 n_noticia = n_noticia + 1;
264 #end
265 </script>
266
267 <div class="metadatos">
268 #set($hmTemas = {})
269 #getAcAssignedCatExtended_v1($hmTemas "Topic")
270 #set($hmGeografico = {})
271 #getAcAssignedCatExtended_v1($hmGeografico "Location")
272 #set($hmPersonajes = {})
273 #getAcAssignedCatExtended_v1($hmPersonajes "People")
274 #set($hmAutores = {})
275 #getAcAssignedCatExtended_v1($hmAutores "Author")
276 #if($hmTemas && $hmTemas.size() > 0)
277 #foreach ($elem in $hmTemas)
278 <div class="keywords" value="$htmlUtil.escape($elem.name)" id="$htmlUtil.escape($elem.id)" data-voc-name="topic" data-voc-id="102924553"/>
279 #end
280 #end
281 #if($hmGeografico && $hmGeografico.size() > 0)
282 #foreach ($elem in $hmGeografico)
283 <div class="keywords" value="$htmlUtil.escape($elem.name)" id="$htmlUtil.escape($elem.id)" data-voc-name="location" data-voc-id="102922353"/>
284 #end
285 #end
286 #if($hmAutores && $hmAutores.size() > 0)
287 #foreach ($elem in $hmAutores)
288 <div class="keywords" value="$htmlUtil.escape($elem.name)" id="$htmlUtil.escape($elem.id)" data-voc-name="author" data-voc-id="102924559"/>
289 #end
290 #end
291 </div>
292 <div class="canonical hidden"></div>
293
294 <script>
295 document.addEventListener("DOMContentLoaded", function() {
296 if (typeof sendHitUser === "function") {
297 sendHitUser("$titleForJS");
298 }
299 });
300 </script>
301
302 #set($product = "")
303 #set($article_is_restricted = $articleToolbox.article_is_restricted())
304 #if ($article_is_restricted)
305 #foreach($products in $articleToolbox.getProductList())
306 #set($product = $products.get("name"))
307 #end
308 <div id="type-note" data-id="$htmlUtil.escape($product)"></div>
309 #end
310
311 <script type="text/javascript" class="teads" async="true" src="//a.teads.tv/page/172705/tag"></script>
312
313 <style>
314 @media (max-width: 768px) {
315 #publicidadTopNota {
316 display: none;
317 }
318 }
319 </style>
320
321 <article class="mrf-article-body">
322 <h1 class="headline artit font-1 medium bold" canonicalUrl="$htmlUtil.escape($canonicalUrl)" idart="$htmlUtil.escape($reserved-article-id.data)">#getTitle_v1</h1>
323 <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
324
325 <div id="content_note" class="row middle">
326 <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">
327 #set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
328 #if($section == "Opinión" || $section == "Politicón")
329 #if ($hasImages > 0)
330 <div class="image_main">
331 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
332 </div>
333 #elseif($hmAutores && $hmAutores.size() > 0)
334 #foreach ($elem in $hmAutores)
335 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
336 #set($authorNameEsc = $htmlUtil.escape($elem.name))
337 #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","$authorNameEsc","",""))
338 #if($imgColumn && $imgColumn != "")
339 #set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
340 <div class="image_main">
341 $!imgColumn
342 </div>
343 #end
344 #end
345 #end
346 #else
347 <div class="image_main">
348 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
349 </div>
350 #end
351
352 <div class="container-fluid">
353 <div class="row middle">
354 <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">
355 <div class="author">
356 #if($hmAutores && $hmAutores.size() > 0)
357 #foreach ($elem in $hmAutores)
358 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
359 #set($authorNameEsc = $htmlUtil.escape($elem.name))
360 #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$authorNameEsc","",""))
361 <div class="img_author">
362 #if($imgAuthor && $imgAuthor != "")
363 $!imgAuthor
364 #else
365 <img class="img-fluid" src="$htmlUtil.escape($AuthorNoFoto)" alt="$authorNameEsc" loading="lazy"/>
366 #end
367 </div>
368 <div class="text_author">por <span class="name_author"><a href="/autor/-/meta/$htmlUtil.escapeURL($elem.friendlyname)">$authorNameEsc</a></span></div>
369 #end
370 #end
371 </div>
372
373 <script>
374 document.addEventListener('DOMContentLoaded', function() {
375 var blocks = document.querySelectorAll('.block_Parrafo_Lista');
376 blocks.forEach(function(block) {
377 var paragraphs = block.querySelectorAll('p');
378 paragraphs.forEach(function(paragraph) {
379 if (paragraph.innerHTML.trim() === '') {
380 paragraph.style.height = '20px';
381 paragraph.style.display = 'block';
382 }
383 var boldElement = paragraph.querySelector('b');
384 if (boldElement && boldElement.innerHTML.trim() === '') {
385 boldElement.style.height = '20px';
386 boldElement.style.display = 'block';
387 }
388 });
389 });
390 });
391 </script>
392 <style>
393 div.block_Parrafo_Lista p{ margin: 0px !important; }
394 </style>
395
396 #if($section == "NOsection" || $section == "NOsection")
397 <script async type="application/javascript" src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
398 <script>
399 (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
400 basicSubscriptions.init({
401 type: "NewsArticle",
402 isPartOfType: ["Product"],
403 isPartOfProductId: "CAowteHSAQ:openaccess",
404 clientOptions: { theme: "light", lang: "es" },
405 });
406 });
407 </script>
408 <style>
409 @media (min-width: 1024px) {
410 .swg-button-v2-dark, .swg-button-v2-light {
411 align-items: center;
412 border: 0.5px solid #beb5b557 !important;
413 border-radius: 4px;
414 box-sizing: border-box;
415 cursor: pointer;
416 display: inline-flex;
417 font-family: Google Sans,Roboto-Regular,sans-serif,arial;
418 font-size: 10px;
419 font-weight: 500;
420 height: 44px;
421 letter-spacing: .001em;
422 min-height: 44px;
423 min-width: 150px !important;
424 outline: 0;
425 width: 175px !important;
426 }
427 .swg-button-v2-icon-dark, .swg-button-v2-icon-light {
428 background-size: contain;
429 height: 18px;
430 margin-left: 15px !important;
431 margin-right: 8px;
432 width: 18px;
433 }
434 }
435 @media (max-width: 1023px) {
436 .centermovileG{
437 justify-content: center;
438 display: flex;
439 margin-bottom: 20px;
440 }
441 }
442 </style>
443 <div class="centermovileG">
444 <button style="margin-top: 11px;" swg-standard-button="contribution">Contribuciones</button>
445 </div>
446 #end
447
448 <style>
449 .compartirr{ position: sticky; top:50px; }
450 </style>
451 <div class="compartirr">
452 #set($shareUrl = "${hostName}${canonicalUrl}")
453 <div class="rrss d-desktop">
454 <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>
455 <div class="network-social">
456 <ul class="social-options">
457 <li>
458 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Facebook">
459 <div class="fab facebook"></div>
460 <b>Facebook</b>
461 </a>
462 </li>
463 <li>
464 <a class="twitter" href="https://twitter.com/intent/tweet?text=$titleForURL&url=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Twitter">
465 <div class="fab twitter"></div>
466 <b>Twitter</b>
467 </a>
468 </li>
469 <li>
470 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$titleForURL%20-%20$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Whatsapp">
471 <div class="fab whatsapp"></div>
472 <b>Whatsapp</b>
473 </a>
474 </li>
475 <li>
476 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Linkedin">
477 <div class="fab linkedin"></div>
478 <b>Linkedin</b>
479 </a>
480 </li>
481 </ul>
482 </div>
483 </div>
484
485 <div class="temas d-desktop" temas="$hmTemas.size()">
486 <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>
487 #if($hmTemas && $hmTemas.size() > 0)
488 #foreach ($elem in $hmTemas)
489 <div class="item_tema t_$hmTemas.size() keywords"><a href="/topic/-/meta/$htmlUtil.escapeURL($elem.friendlyname)">$htmlUtil.escape($elem.name)</a></div>
490 #end
491 #end
492 #if($hmGeografico && $hmGeografico.size() > 0)
493 #foreach ($elem in $hmGeografico)
494 <div class="item_tema t_$hmGeografico.size() keywords"><a href="/localizaciones/-/meta/$htmlUtil.escapeURL($elem.friendlyname)">$htmlUtil.escape($elem.name)</a></div>
495 #end
496 #end
497 </div>
498
499 </div>
500 </div>
501 <style>
502 @media (max-width: 468px){
503 .template-infinity .rrss.end {
504 display: flex !important;
505 gap: 10px !important;
506 border-bottom: 1px dotted #e0e0e0 !important;
507 border-top: 1px dotted #e0e0e0 !important;
508 padding-top: 10px !important;
509 padding-bottom: 0px !important;
510 margin-bottom: 0px !important;
511 padding-left: 0px !important;
512 position: sticky !important;
513 background: white !important;
514 justify-content: center !important;
515 margin-bottom: 25px !important;
516 }
517 .template-infinity .social-options a.whatsapp, .template-infinity .social-options a.facebook, .template-infinity .social-options a.twitter, .template-infinity .social-options a.linkedin {
518 border-radius: 0% !important;
519 height: 40px !important;
520 width: 40px !important;
521 padding-left: 25% !important;
522 padding-top: 2% !important;
523 }
524 .template-infinity .network-social .social-options {
525 gap: 9px !important;
526 }
527 }
528 </style>
529
530 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
531 <div class="rrss end d-movil" style="position: sticky; top: 38px; background: white; z-index: 3;">
532 <div class="cab-rrss">COMPARTIR</div>
533 <div class="network-social">
534 <ul class="social-options">
535 <li>
536 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Facebook">
537 <div class="fab facebook"></div>
538 </a>
539 </li>
540 <li>
541 <a class="twitter" href="https://twitter.com/intent/tweet?text=$titleForURL&url=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Twitter">
542 <div class="fab twitter"></div>
543 </a>
544 </li>
545 <li>
546 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$titleForURL%20-%20$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Whatsapp">
547 <div class="fab whatsapp"></div>
548 </a>
549 </li>
550 <li>
551 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=$htmlUtil.escape($shareUrl)" target="_blank" rel="noopener noreferrer" title="Compartir en Linkedin">
552 <div class="fab linkedin"></div>
553 </a>
554 </li>
555 </ul>
556 </div>
557 </div>
558 #php_end
559
560 <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">
561
562 #set ($tempSubheadline = "#getTeaserSubheadline(true)")
563 #if($tempSubheadline && $tempSubheadline != "")
564 <h2 class="subheadline">#getTeaserSubheadline_v1(false)</h2>
565 #end
566
567 #php_if("strlen(getenv('ITER_USER'))!==0")
568 #set($islogged = "true")
569 #php_else
570 #set($islogged = "false")
571 #php_end
572
573 #set($productList = $articleToolbox.getProductList())
574 #set($producto = '')
575 #if ($productList && $productList.size() > 0)
576 #set($producto = $productList.get(0).namebase64)
577 #end
578 #set($useraccess = "false")
579 #set($article_is_restricted = $articleToolbox.article_is_restricted())
580
581 <div class="text resizable lazy-load">
582 #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
583
584 <button hidden id="leer">Leer Texto</button>
585
586 <div class="temas d-movil" temas="$hmTemas.size()">
587 <div class="cab-temas">TEMAS</div>
588 #if($hmTemas && $hmTemas.size() > 0)
589 #foreach ($elem in $hmTemas)
590 <div class="item_tema t_$hmTemas.size() keywords"><a href="/topic/-/meta/$htmlUtil.escapeURL($elem.friendlyname)">$htmlUtil.escape($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"><a href="/localizaciones/-/meta/$htmlUtil.escapeURL($elem.friendlyname)">$htmlUtil.escape($elem.name)</a></div>
596 #end
597 #end
598 </div>
599
600 </div>
601
602 #if($Generic && $Generic.getSiblings().size()>0)
603 <ul class="generic">
604 #foreach ($el in $Generic.getSiblings())
605 #set($docUrlClean = $el.Document.data.replaceAll("[<>\"']", ""))
606 <li><span class="icon"></span><a href="$htmlUtil.escape($docUrlClean)">$htmlUtil.escape($!el.data) ($htmlUtil.escape($el.Extension.data))</a></li>
607 #end
608 </ul>
609 #end
610
611 #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
612 #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
613 #if(($urlLink && $urlLink.data != "") && ($titleLink && $titleLink.data != ""))
614 #set($linkUrlClean = $urlLink.data.replaceAll("[<>\"']", ""))
615 <a class="ext_link" href="$htmlUtil.escape($linkUrlClean)" target="_blank" rel="nofollow noopener noreferrer">
616 <strong>$htmlUtil.escape($!titleLink.data)</strong>
617 </a>
618 #end
619 #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
620 <div class="link_tpi">
621 <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
622 #foreach ($el in $linkIntTitle.getSiblings())
623 #set($intUrlClean = $el.linkIntURL.data.replaceAll("[<>\"']", ""))
624 <div class="item_int"><a href="$htmlUtil.escape($intUrlClean)">$htmlUtil.escape($!el.data)</a></div>
625 #end
626 </div>
627 #end
628
629 <div hidden class="fb-comments">
630 #set($urlfb = $canonicalUrl)
631 #foreach ($element in $urlfb.split("-"))
632 #set($urlid = $element)
633 #end
634 #set($urlfb = "FB-" + $urlid)
635 </div>
636
637 #set($urlfbEsc = $htmlUtil.escape($urlfb))
638 <div data-spotim-app="reactions" data-spot-id="sp_wVRiLLf2" data-post-id="$urlfbEsc"></div>
639
640 <script
641 async
642 src="https://launcher.spot.im/spot/sp_wVRiLLf2"
643 data-spotim-module="spotim-launcher"
644 data-post-url="https://vanguardia.com.mx/$urlfbEsc"
645 data-post-id="$urlfbEsc">
646 </script>
647
648 </div>
649
650 </div>
651 </div>
652 </div>
653
654 <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">
655
656 <script>
657 document.addEventListener('DOMContentLoaded', function() {
658 setTimeout(function() {
659 var resizableDiv = document.querySelector('.text.resizable');
660 var otherDiv = document.querySelector('#col-60-40-top-two-col');
661 if (resizableDiv && otherDiv) {
662 var altura = resizableDiv.getBoundingClientRect().height;
663 otherDiv.style.height = altura + 'px';
664 }
665 }, 1000);
666 });
667 </script>
668
669 <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
670 <div class="move-from-a">
671 <h2 class="sectiondestacadas">Encuesta Vanguardia</h2>
672
673 <div id="encuesta1" hidden>
674 <div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="0caca9ca-1533-47e6-bb8e-80157764f66f" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("0caca9ca-1533-47e6-bb8e-80157764f66f");</script></div>
675 <script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
676 </div>
677 <div id="encuesta2" hidden>
678 <div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="c0d24f81-269d-4707-b52a-e21f5d9b1356" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("c0d24f81-269d-4707-b52a-e21f5d9b1356");</script></div>
679 <script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
680 </div>
681 <div id="encuesta3" hidden>
682 <div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="3244537f-cbd2-42e9-82c3-f8c41bbfa073" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("3244537f-cbd2-42e9-82c3-f8c41bbfa073");</script></div>
683 <script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
684 </div>
685 <div id="encuesta4" hidden>
686 <div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="7af52e02-cd19-4eaa-8fa5-56be8beb9918" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("7af52e02-cd19-4eaa-8fa5-56be8beb9918");</script></div>
687 <script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
688 </div>
689 <div id="encuesta5" hidden>
690 <div style="margin-bottom: 40px;margin-top: 40px;" data-placement-id="da595f97-7682-426a-b16a-e9a8de0b348a" data-container="exco-placement"><script>(window.excoPlacements=window.excoPlacements||[]).push("da595f97-7682-426a-b16a-e9a8de0b348a");</script></div>
691 <script src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script>
692 </div>
693 </div>
694 </div>
695
696 <div class="ranking_infinity lateral_secc c004_003"></div>
697
698 </div>
699
700 </div>
701 </article>
702</div>
703
704</div>
705<div class="cl"></div>
706
707<script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
708<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>
709
710<script>
711document.addEventListener("DOMContentLoaded", function() {
712 var subheadline = document.querySelector("h2.subheadline");
713 var entradilla = document.querySelector("div.block_lead.destacado");
714 if (entradilla) {
715 entradilla.insertAdjacentHTML('afterend', '<div id="impactify-screen-static"></div>');
716 }else if(subheadline){
717 subheadline.insertAdjacentHTML('afterend', '<div id="impactify-screen-static"></div>');
718 }
719
720 window.impactifyTag = window.impactifyTag || [];
721 impactifyTag.push({
722 "appId": "642DCECC20D79-UID.vanguardia.com.mx",
723 "format": "screen",
724 "style": "static",
725 "onNoAd": function(){}
726});
727 (function(d, s, id) {
728 var js, ijs = d.getElementsByTagName(s)[0];
729 if (d.getElementById(id)) return;
730 js = d.createElement(s); js.id = id;
731 js.src = 'https://ad.impactify.io/static/ad/tag.js';
732 ijs.parentNode.insertBefore(js, ijs);
733 }(document, 'script', 'impactify-sdk'));
734});
735</script>
736
737<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js"></script>
738<script type="text/javascript">
739 document.addEventListener("DOMContentLoaded", function() {
740 iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
741 });
742</script>
743
744<script>
745 var botonLeer = document.getElementById('leer');
746 if (botonLeer) {
747 botonLeer.addEventListener('click', function() {
748 var elementosParaLeer = document.querySelectorAll('.paragraph.texto p');
749 if (elementosParaLeer.length === 0) return;
750 var mensaje = new SpeechSynthesisUtterance();
751 mensaje.voice = speechSynthesis.getVoices().find(function(voice) { return voice.lang === 'es-ES'; });
752 elementosParaLeer.forEach(function(elemento) {
753 mensaje.text = elemento.textContent;
754 window.speechSynthesis.speak(mensaje);
755 });
756 });
757 }
758</script>
759
760<script>
761 document.addEventListener("DOMContentLoaded", function() {
762 var dayOfWeek = new Date().getDay();
763 switch (dayOfWeek) {
764 case 1: document.getElementById("encuesta1").removeAttribute("hidden"); break;
765 case 2: document.getElementById("encuesta2").removeAttribute("hidden"); document.getElementById("encuesta1").setAttribute("hidden", "true"); break;
766 case 3: document.getElementById("encuesta3").removeAttribute("hidden"); document.getElementById("encuesta2").setAttribute("hidden", "true"); break;
767 case 4: document.getElementById("encuesta4").removeAttribute("hidden"); document.getElementById("encuesta3").setAttribute("hidden", "true"); break;
768 case 5: document.getElementById("encuesta5").removeAttribute("hidden"); document.getElementById("encuesta4").setAttribute("hidden", "true"); break;
769 default: document.getElementById("encuesta5").removeAttribute("hidden"); break;
770 }
771 });
772</script>
773
774<style>
775 #mc_embed_signup.newsletterform { background: #ffffff !important; clear: left; font: 14px Helvetica,Arial,sans-serif; max-width: 550px; min-height: 150px; border-radius: 0px; box-shadow: rgb(0 0 0 / 30%) 0 10px 10px, rgb(0 0 0 / 22%) 0 0 5px; margin-inline: auto; padding-block: 15px; margin-top: 25px; }
776 #mc_embed_signup.newsletterform h2 { margin: 15px 0; color: rgb(0, 0, 0); font-size: 1.5rem!important; font-family: "PT Serif",Georgia,serif!important; font-weight: bolder!important; }
777 #mc_embed_signup input.button { top: -11px !important; height: 40px!important; color: rgb(255, 255, 255) !important; font-family: "PT Serif",Georgia,serif!important; font-weight: bolder!important; text-indent: 0 !important; font-size: 1.2rem !important; background-color: #000000!important; background-image: none!important; min-width: 95% !important; border-radius: 0px !important; }
778 #mc_embed_signup.newsletterform { height: 285px; }
779 #mc_embed_signup input.email{ min-height: 40px; }
780 @media screen and (max-width: 414px) { #mc_embed_signup.newsletterform { height: 310px; } .imagenescool{ padding-left: 0px; } }
781 @media (max-width:460px){ .ImagenVanguardiaNewsL1{ height: 8vw !important; margin-top: -14px !important; } .ImagenVanguardiaNewsL5{ margin-top: 7px !important; } }
782 @media (max-width:330px){ .columnaVanguardiaMovilNewsleters{ display: none !important; } }
783</style>
784<script>
785document.addEventListener("DOMContentLoaded", function() {
786 var elementoP = document.querySelector('p.p_4');
787 if (elementoP) {
788 var bloqueHTML = '<div><link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css"><style>.block_newsletter #mc_embed_signup form {padding-left:0 !important;}</style><div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;"><div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;"><div class="col imagenNewL" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL5" style="height: 50px;width: 100%;margin-top: 0px;"></div></div><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></div><form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=b83f2f8083&f_id=001ac3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self" novalidate><div id="mc_embed_signup_scroll"><p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: PT Serif,Georgia,serif!important;margin-left: 10px;">Registrate para recibir nuestro Newsletter.<\/p><input style="margin: 0px 0% 10px 9px;" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required><div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_b83f2f8083" tabindex="-1" value=""><\/div><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><\/div><\/form><\/div><\/div>';
789 elementoP.insertAdjacentHTML('afterend', bloqueHTML);
790 }
791});
792</script>
793
794<div class="content-infinity-off"></div>
795
796<style>
797 .lazy-load { opacity: 0; transition: opacity 0.3s ease-in; }
798 .in-view { opacity: 1; }
799</style>
800<script>
801 document.addEventListener("DOMContentLoaded", function() {
802 var lazyLoadElements = document.querySelectorAll('.lazy-load');
803 var observer = new IntersectionObserver(function(entries) {
804 entries.forEach(function(entry) {
805 if (entry.isIntersecting) {
806 var lazyElement = entry.target;
807 if (!lazyElement.classList.contains('in-view')) {
808 lazyElement.classList.add('in-view');
809 observer.unobserve(lazyElement);
810 }
811 }
812 });
813 });
814 lazyLoadElements.forEach(function(element) {
815 observer.observe(element);
816 });
817 });
818</script>
819
820<style>
821.menu-principal-header.desktop { transition: all 0.3s ease-in-out; }
822.menu-principal-header.desktop.fixed { position: fixed; top: 0; left: 0; z-index: 9; }
823</style>
824<script>
825 function fixMenu() {
826 var menu = document.querySelector('.menu-principal-header.desktop');
827 if (!menu) return;
828 var scrollY = window.scrollY || window.pageYOffset;
829 if (scrollY > 0) { menu.classList.add('fixed'); } else { menu.classList.remove('fixed'); }
830 }
831 window.addEventListener('scroll', fixMenu);
832 fixMenu();
833</script>
834
835<p hidden>$htmlUtil.escape($pub_imagen1)</p>
836<p hidden>$htmlUtil.escape($!urlImage)</p>
837
838#set($imageUrl3 = "")
839#if($pub_imagen1 && $pub_imagen1.startsWith("https"))
840 #set($imageUrl3 = $pub_imagen1)
841#elseif($urlImage && $urlImage.startsWith("https"))
842 #set($imageUrl3 = $urlImage)
843#else
844 #set($imageUrl3 = "https://vanguardia.com.mx/base-portlet/webrsrc/theme/13d16cf89ee0b324585019c9998ec6dd.svg")
845#end
846
847#set($imageUrl3Safe = $imageUrl3.replaceAll('"', '').replaceAll("'", "").replaceAll('<', '').replaceAll('>', '').replaceAll('\n', '').replaceAll('\r', ''))
848<script type="application/ld+json">
849 {
850 "@context": "http://schema.org",
851 "@type": "ImageObject",
852 "url": "$imageUrl3Safe"
853 }
854</script>
855
856<div hidden itemscope itemtype="https://schema.org/ImageObject">
857<meta hidden itemprop="url" content="$htmlUtil.escape($imageUrl3)">
858</div>
859
860<div class="content-infinity-off"></div>
861
862<script>
863document.addEventListener("DOMContentLoaded", function(){
864 if(document.body.hasAttribute('itemscope')){
865 document.body.removeAttribute('itemscope');
866 document.body.removeAttribute('itemtype');
867 }
868});
869</script>