var gg = window.gg = window.gg || {};
var ggCmd = window.ggCmd || [];
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [];
window.enabledYtIma = true;
godo={};godo.ads=[];var adsCfg= {"unitname":"/55964524/lv_w/loterias/loteria-navidad/p","sequential":["roba","mega","modulo","triplepack-izq-","triplepack-cen-","triplepack-der-"],"sectionable":["cintillo","patrocinio"],"prebid":{"timeout":5000,"bidders":{"criteo":{"md":{"mega1":"768469","roba1":"768472","roba2":"768473","roba3":"768474","roba4":"768475","skyl-inpage":"768470","skyr-inpage":"768471"},"sm":{"mega1":"768476","roba1":"768477","roba3":"792061","roba4":"792062","roba5":"792063"},"xs":"sm"},"richaudience":{"md":{"mega1":["aNaXJdDvuL","1gQhRt80hv"],"roba1":"1RTpvUFaDi","roba2":"2F1bMdvQu6","roba3":"7Y70bZitxT","roba4":"1r9klYTjZC","roba5":"0CsNLIjw2h","roba6":"0LnvaGbOZa","roba7":"0hJChb7mJK","skyl-inpage":"j4SK4Qf3mj","skyr-inpage":"RwysGvzhSL"},"sm":{"mega1":"ypBZN0Dlrk","roba1":"AGtH0mSoEW","roba2":"1jEFqsZQ0S","roba3":"WYhNchHxsD","roba4":"mHnn7u2ksB","roba5":"1ph3qY3443","roba6":"2PIByXjhcR","roba7":"S1VdhdOBlT"},"xs":"sm"},"appnexus":{"md":{"mega1":"16324351","mega2":"16324352","roba1":"16324353","roba2":"16324354","roba3":"16324355","roba4":"16324356","roba5":"16324357","roba6":"16324358","roba7":"16324359","skyl-inpage":"16324361","skyr-inpage":"16324360"},"xs":{"mega1":"16324655","mega2":"16324656","roba1":"16324657","roba2":"16324658","roba3":"16324659","roba4":"16324660","roba5":"16324661","roba6":"16324662","roba7":"16324664"}},"smartadserver":{"md":{"slots":{"sky1":"128424","sky2":"128425","mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928229","siteId":"636712"},"xs":{"slots":{"mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928230","siteId":"636713"},"siteId":null}}},"keys":{"environment":"pro"}};adsCfg.adUnitSection= adsCfg.unitname.split('/')[3];
adsCfg.aps = {
pubID: '3714',
isEnabled: false,
adServer: 'googletag'
}
adsCfg.googletagVendorId = 'google';
adsCfg.apstagVendorId = 'c:amazonads-9c5TNGaj';
adsCfg.isDfpConsentRequired = true;
godo.ads.push(function(x){x.configure(null, adsCfg);});godo.ads.push(function(x){x.init();});
gg.didomi.doWhenConsent(!window.didomiBy, 596, function () {
gg.util.getScript("https://cdn.insurads.com/bootstrap/EMOIYLRT.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
var _comscore = _comscore || [];
comscoreSrc = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
window.didomiOnReady.push(function(){
_comscore.push({
c1:"2",
c2:"6398301",
cs_ucfr: Didomi.getConsentStatusForVendor('c:comscore-jUFc9icY') === false ? "0" : "1"
});
gg.util.getScript(comscoreSrc,{async:true});
});
var gfkMediaId = "LavanguardiaWeb";
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkMediaId = /iPad|iPhone|iPod/i.test(navigator.Agent) ? "LavanguardiaIos" : "LavanguardiaAndroid";
}
var gfkS2sConf = {
media: gfkMediaId,
url: "//es-config.sensic.net/s2s-web.js",
type: "WEB",
logLevel: "none" //optional
};
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkS2sConf.type = "APP";
gfkS2sConf.device = "UNKNOWN";
gfkS2sConf.ai = "";
}
(function (w, d, c, s, id, v) {
if (d.getElementById(id)) {
return;
}
w.gfkS2sConf = c;
w[id] = {};
w[id].agents = [];
var api = ["playStreamLive", "playStreamOnDemand", "stop", "skip", "screen", "volume", "impression"];
w.gfks = (function () {
function f(sA, e, cb) {
return function () {
sA.p = cb();
sA.queue.push({f: e, a: arguments});
};
}
function s(c, pId, cb) {
var sA = {queue: [], config: c, cb: cb, pId: pId};
for (var i = 0; i < api.length; i++) {
var e = api[i];
sA[e] = f(sA, e, cb);
}
return sA;
}
return s;
}());
w[id].getAgent = function (cb, pId) {
var a = {
a: new w.gfks(c, pId || "", cb || function () {
return 0;
})
};
function g(a, e) {
return function () {
return a.a[e].apply(a.a, arguments);
}
}
for (var i = 0; i < api.length; i++) {
var e = api[i];
a[e] = g(a, e);
}
w[id].agents.push(a);
return a;
};
var lJS = function (eId, url) {
var tag = d.createElement(s);
var el = d.getElementsByTagName(s)[0];
tag.id = eId;
tag.async = true;
tag.type = 'text/javascript';
tag.src = url;
el.parentNode.insertBefore(tag, el);
};
if (c.hasOwnProperty(v)) {lJS(id + v, c[v]);}
lJS(id, c.url);
})(window, document, gfkS2sConf, 'script', 'gfkS2s', 'visUrl');
var agent = gfkS2s.getAgent();
var customParams = {
c1: "lavanguardia.com",
c2: "loterias/loteria-navidad"
};
agent.impression("default", customParams);
gg.didomi.doWhenConsent(!window.didomiBy, 'c:facebooka-frU9M5JY', function () {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '316167066837274');
fbq('track', 'PageView');
});
var initGtm = function() {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHSTS65');
};
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [], window.googletag.cmd.push(function () {if (0 === window.googletag.pubads().getTargeting('permutive').length) {var e = window.localStorage.getItem('_pdfps');window.googletag.pubads().setTargeting('permutive', e ? JSON.parse(e) : []);var o = window.localStorage.getItem('permutive-id');o & (window.googletag.pubads().setTargeting('puid', o), window.googletag.pubads().setTargeting('ptime', Date.now().toString())), window.permutive.config.viewId && window.googletag.pubads().setTargeting('prmtvvid', window.permutive.config.viewId), window.permutive.config.workspaceId && window.googletag.pubads().setTargeting('prmtvwid', window.permutive.config.workspaceId);}})
!function(e,o,n,i){if(!e){e=e||{},window.permutive=e,e.q=[];var t=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})};e.config=i||{},e.config.apiKey=o,e.config.workspaceId=n,e.config.environment=e.config.environment||"production",(window.crypto||window.msCrypto)&(e.config.viewId=t());for(var g=["addon","identify","track","trigger","query","segment","segments","ready","on","once","","consent"],r=0;r<g.length;r++){var w=g[r];e[w]=function(o){return function(){var n=Array.prototype.slice.call(arguments,0);e.q.push({functionName:o,arguments:n})}}(w)}}}(window.permutive,"eef148c2-9875-47de-a74e-1f63e078551b","045b8894-d300-4d6e-9660-5d16b7c213f9",{"consentRequired": true});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
permutive.once("Pageview", function (evnt, err) {
firePixels();
function firePixels() {
if (window.__tcfapi) {
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
if (Didomi.getConsentStatusForVendor("c:laliga-Y6YQ22RR")) {
laLigaPixel();
}
};
});
} else {
return [0, null];
}
}
function laLigaPixel() {
var cohortsToFire = getCohortsToFireByLocalStorageKey("laliga_datasharing");
if (cohortsToFire.length < 1) {
return;
}
cohortsToFire.forEach(function (cohortId) {
var src = "https://beacon.krxd.net/event.gif?event_id=Opf7g9VZ&event_type=default&event_name=GODO" + "&segment=" + cohortId;
firePixelWithImgElement(src);
});
saveFiredPixels("laliga_datasharing", cohortsToFire);
}
function firePixelWithImgElement(src) {
var s = document.createElement("img");
s.src = src;
s.height = 1;
s.width = 1;
s.style = "display:none;visibility:hidden";
document.head.appendChild(s);
}
function getCohortsToFireByLocalStorageKey(localStorageKey) {
var cohorts = localStorage.getItem(localStorageKey) || "";
cohorts = cohorts.length > 0 ? JSON.parse(cohorts) : [];
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
return cohorts.filter(function (cohortCode) {
return !cohortsPost.includes(cohortCode);
});
}
function saveFiredPixels(localStorageKey, cohorts) {
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
localStorage.setItem(
localStorageKey + "Post",
JSON.stringify(cohortsPost.concat(cohorts))
);
}
});
} catch (e) {
console.log("Permutive is not running");
}
});
function triggerPermutivePush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function(str){ return '' !== str.trim(); }).map(function(topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function(author) {
return author.replace('#', '').trim();
});
}
var pageKeys = [];
if (dataSource.pageKeys & '' !== dataSource.pageKeys) {
pageKeys = dataSource.pageKeys.split(',').map(function(pageKey) {
return pageKey.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var creationDateISO = parseDateFormat(dataSource.creationDate);
var forcedUpdateDateISO = parseDateFormat(dataSource.forcedUpdateDate);
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var daysPublished = null;
if (dataSource.publicationDate !== ''){
var today = new Date();
var pubDate = new Date(dataSource.publicationDate);
var msSincePubDate = today.getTime() - pubDate.getTime();
daysPublished = Math.floor(msSincePubDate / (1000 * 60 * 60 * 24));
}
var evSegments = null;
if (typeof localStorage.evolokSegments !== "undefined") {
evSegments = JSON.parse(localStorage.evolokSegments).split(",").map(entry=>entry);
}
var permutiveJSON = {
page: {
type: dataSource.webType,
content: {
categories: sections,
trackingId: dataSource.trackingId,
unitName: dataSource.unitName
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
topics: topics,
: ,
wordCount: parseInt(dataSource.wordCounter) ,
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section,
company: "LV",
creationDate: creationDateISO,
daysPublished: daysPublished,
pagekeys: pageKeys,
facet: dataSource.facet,
forcedUpdateDate: forcedUpdateDateISO,
inlineNews: parseInt(dataSource.inlineNews),
relatedNews: parseInt(dataSource.relatedNews),
webType: dataSource.webType
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function' & gg.s.get().getAge() !== null) ? parseInt(gg.s.get().getAge()) : null,
gender: (typeof gg.s.get().getGender ==='function') ? gg.s.get().getGender() : null,
language: navigator.language,
Id: (typeof gg.s.get().uid !== 'undefined') ? gg.s.get().uid : null,
evolok_segments: evSegments,
consentedTcf: (typeof didomiState !== 'undefined') ? didomiState.didomiVendorsConsent.split(",") : null
}
}
}
if (dataSource.webType == "story" || dataSource.webType == "opinion"){
permutiveJSON.page["classifications_watson"] = {
concepts: '$alchemy_concepts',
entities: '$alchemy_entities',
keywords: '$alchemy_keywords',
categories: '$alchemy_taxonomy',
sentiment: '$alchemy_document_sentiment',
emotion: '$alchemy_document_emotion',
taxonomy_labels: '$alchemy_taxonomy_labels'
}
}
if (window.ggIsApp) {
if (window.__evContext && window.__evContext.platform) {
if (window.__evContext.platform === 'ios' || window.__evContext.platform === 'android') {
permutiveJSON.page['client'] = { type: window.__evContext.platform };
}
}
}
permutive.addon('web', permutiveJSON);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function(sourceData, util){
triggerPermutivePush(sourceData, util);
});
gg.didomi.doWhenConsent(!window.didomiBy, 361, function () {
gg.util.getScript("https://045b8894-d300-4d6e-9660-5d16b7c213f9.edge.permutive.app/045b8894-d300-4d6e-9660-5d16b7c213f9-web.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentToken = "";
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
consentToken = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 361, function(){
if (typeof consentToken !== 'undefined'){
permutive.consent({ "opt_in": true, "token": consentToken })
}
})
} catch(e) {
console.log(e);
}
});
var gaId = gg.cookie.get("_ga");
var permutiveIdentifyJSON = [
{
"id": gaId,
"tag": "gtm_id",
"priority": 1
}
];
var sId = gg.s.get().uid;
if (typeof sId !== 'undefined') {
permutiveIdentifyJSON.push({
"id": sId,
"tag": "_id",
"priority": 0
});
}
var emailSha = gg.s.get().email;
if (typeof emailSha !== "undefined" & emailSha.length > 0) {
permutiveIdentifyJSON.push({
"id": emailSha,
"tag": "email_sha256",
"priority": 3
});
}
if (typeof ggIsApp !== 'undefined' & ggIsApp && typeof sId !== 'undefined'){
var mobileId = window["mobileId"];
permutiveIdentifyJSON.push({
"id": mobileId,
"tag": "mobile_id",
"priority": 2
})
}
permutive.identify(permutiveIdentifyJSON);
window.__wmass = window.__wmass || {};
window.__wmass.bff = window.__wmass.bff || [];
window.__wmass.getSegments = window.__wmass.getSegments || function () {
let psegs = [];
try {
pSegs = JSON.parse(window.localStorage["28986622-e6be-473d-9a8f-e603a25f3c66_papns"] || '[]').slice(0, 250).map(String);
} catch (e) {
pSegs = []
}
return { permutive: pSegs };
};
function triggerWeMassPush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function (str) { return '' !== str.trim(); }).map(function (topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function (author) {
return author.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var addonData = {
page: {
type: dataSource.webType,
content: {
categories: sections
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
topics: topics,
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
: ,
wordCount: parseInt(dataSource.wordCounter),
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : null,
gender: (typeof gg.s.get().getGender === 'function') ? gg.s.get().getGender() : null
}
}
};
window.__wmass.bff.push(function () {
__wmass.dmp.addon('web', addonData);
});
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function (sourceData, util) {
triggerWeMassPush(sourceData, util);
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentTokenWM = "";
__tcfapi('addEventListener', 2, function (tcdata, success) {
if(success & tcdata.eventStatus === 'tcloaded') {
consentTokenWM = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 968, function () {
if (typeof consentTokenWM !== 'undefined') {
window.__wmass.bff.push(function () {
__wmass.dmp.consent({ "opt_in": true, "token": consentTokenWM });
});
}
})
} catch (e) {
console.log(e);
}
});
window.__didomiVersion=2;
var dataLayer = window["dataLayer"] || [];
dataLayer.push({"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"});
dataLayer.push({"company":"LV","slug":"/loterias/loteria-navidad/comprobar-numeros/36192.html","content":{"creationDate":"2024-12-22T08:00:00Z","publicationDate":"2024-12-22T08:00:00Z","modificationDate":"2024-12-22T08:00:00Z"},"page":{"mainSection":"/loterias/loteria-navidad","pagePath":"/loterias/loteria-navidad/comprobar-numeros/36192.html","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/loterias/loteria-navidad/p","ismonetized":true}});
var autorefresh = !!window.performance.navigation.type & sessionStorage.getItem('autorefresh') || false;
sessionStorage.removeItem('autorefresh');
dataLayer.push({
"tech": {
autorefresh: autorefresh
},
});
var ggPageData = Object.assign({"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"}, {"company":"LV","slug":"/loterias/loteria-navidad/comprobar-numeros/36192.html","content":{"creationDate":"2024-12-22T08:00:00Z","publicationDate":"2024-12-22T08:00:00Z","modificationDate":"2024-12-22T08:00:00Z"},"page":{"mainSection":"/loterias/loteria-navidad","pagePath":"/loterias/loteria-navidad/comprobar-numeros/36192.html","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/loterias/loteria-navidad/p","ismonetized":true}}) || {"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"};
window.__evContext = {
platform: "",
token: "",
isApp: false,
isNativePurchaseEnabled: null
};
gg.didomi.doWhenConsent(!window.didomiBy, 'google', function () {
initGtm();
});
var Info = {};
var Id = gg.cookie.get(gg.s.cookieName);
if (Id)
Info.Id = Id;
Info.Type = gg.s.getType();
Info.Age = (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : "";
Info.monthsFromRegistration = gg.s.get().registrationDate ? gg.paywall.utils.getedValue(gg.s.get().registrationDate) : "";
dataLayer.push(Info);
/* GA4 */
Info.evolokId = (gg.s.get().getEvolokId !== undefined ? gg.s.get().getEvolokId() || undefined : undefined);
Info.roles = (gg.s.get().getRoleName !== undefined ? gg.s.get().getRoleName() || undefined : undefined);
Info.Date = (gg.s.get().getDate !== undefined ? gg.s.get().getDate() || undefined : undefined);
Info.newsletters = (gg.s.get().getNewsletterList !== undefined ? gg.s.get().getNewsletterList() || undefined : undefined);
Info.communications = (gg.s.get().getCommunicationList !== undefined ? gg.s.get().getCommunicationList() || undefined : undefined);
if (Info.monthsFromRegistration == false) Info.monthsFromRegistration = undefined;
Info.Id = Info.Id || undefined;
Info.monthsFromRegistration = Info.monthsFromRegistration || undefined;
dataLayer.push({
: Info
});
gg.didomi.init({
newVersion: false,
siteName: 'La Vanguardia',
privacyPolicyUrl: '/politica-privacidad',
brandColor: '#001c4c',
noticeTimeout: 5000,
font: 'sans-serif',
acceptButtonFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-seguir-navegando',
'eventLabel': null,
'eventValue': null
});
},
showPreferencesButtonFunction: function() {
// wait for element
var fixpoint = function (f, selector, callback) {
var e = $(selector);
if(e.get().length == 1) {
callback(e);
} else {
window.setTimeout(function () { f(f, selector, callback) }, 100);
}
};
//
// visible after preferences is pressed (WARNING title text selector and comparisons!)
var K_DENY_ALL = "Rechazar todo";
var K_SAVE = "Guardar";
fixpoint(fixpoint, '.didomi-button span:contains("' + K_DENY_ALL + '")', function (btn) {
btn.click(function () {
var txt = $(this).text();
var action = "";
if(txt == K_DENY_ALL) action = "click-rechazar-todo";
if(txt == K_SAVE ) action = "guardar";
if(action !== "") {
dataLayer.push({
event: "consent-management",
eventAction: action
});
}
});
});
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-mas-informacion',
'eventLabel': null,
'eventValue': null
});
},
scrollFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'scroll',
'eventLabel': null,
'eventValue': null
});
}
})
console.log('start');
gg.breakpoint.setBreakpoints({'xs': 0, 'md': 768}, true);
gg.registry.init();
const onGGLoad = () => {
document.querySelectorAll('script[type="script/gg"]')
.forEach(scr => {
try {
eval.call(window, scr.textContent)
} catch (e) {
console.error('Error running gg script', e);
console.log('gg script contents:', scr.textContent);
}
});
window.ggReady = true;
document.dispatchEvent(new CustomEvent("ggReady", {}));
}
document.addEventListener("DOMContentLoaded", function() {
return onGGLoad();
});
var mrfTech = 'web';
if(dataLayer[0].facet === "app"){
mrfTech='app';
}
function e(e){var t=!(arguments.length>1&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.async=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}function t(t,c,n){var a,o,r;null!==(a=t.marfeel)&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n,t.marfeel.config.Id=c;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}!function(e,c){var n=arguments.length>2&void 0!==arguments[2]?arguments[2]:{};t(e,c,n)}(window,1435,{pageType:mrfTech} /*config*/);
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', 'com', function(experiences, com) {
experiences.addEventListener('flowcards', 'navigationfromcard', function(event) {
com.trackNewPage(); // Com
ga('send', 'pageview', document.location.pathname); //Google Analytics
COMSCORE.beacon({ c1: '2', c2: 6398301 }); // Comscore
});
}]);
if(typeof ev !== "undefined"){
ev.marfeel.Type();
};
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
var recommendationItems;
var ggPageDataOriginal = null;
var infiniteScrollTestMode = 0;
function handleRecommendations(response) {
if (!response || !response.items.length) {
var loadingNextTextEl = document.querySelector("#infinite-loading");
if (loadingNextTextEl) {
loadingNextTextEl.style.display = "none"
}
recommendationItems = [];
return;
}
if (infiniteScrollTestMode & !response.testMode) {
return;
}
recommendationItems = response.items;
var newEvent = new Event("recommendationItemsAvailable");
document.dispatchEvent(newEvent);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
var ggInfiniteScrollSlugsLoaded = false;
ggPageDataCmd.push(function (articleData, util) {
if (ggInfiniteScrollSlugsLoaded) {
return;
}
ggInfiniteScrollSlugsLoaded = true;
});
}
window._gravity = [];
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
function getRecommendedNewsBySection(section) {
var recommended_by_section = {
'default':'FC_kc7P1wOuS9qR8BqznOvC6A',
'comprar':'FC_TKMbG3xITyeNC_qz3CloSQ',
'ocio':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'lacontra':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'vida':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'economia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'natural':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'internacional':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'deportes':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'ocio':'FC_JsTk0-VCRSSu3RwEp3aPXg',
'politica':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'motor':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'mascotas':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'empresas-de-vanguardia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'videos':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'comer':'FC_7nkUnaXJToqVztHiYSbNWw',
'gente':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'television':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'cribeo':'FC_8W3EU6YGRsapxzm6mfZNkQ',
'magazine':'FC_b-3PUfGQSNCRqdlhA3Sa7w',
}
if(section in recommended_by_section & recommended_by_section[section] != ''){
return recommended_by_section[section];
}
if(section.includes('/')){
var split_section = section.split('/');
if(split_section[0] in recommended_by_section & recommended_by_section[split_section[0]] != ''){
return recommended_by_section[split_section[0]];
}
}
return recommended_by_section['default'];
}
var ggPageDataCmd = window.ggPageDataCmd || [];
ggPageDataCmd.push(function(articleData, util) {
if (window._ggYuspRecommendationsRequested) {
return;
}
var section = 'default';
if (articleData['page']['mainSection'] !== null) {
section = articleData['page']['mainSection'].substring(1);
}
var recommendationsSection = getRecommendedNewsBySection(section);
window._ggYuspRecommendationsRequested = 1;
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', (experiences) => {
experiences.getRecommendations(recommendationsSection).then(recommendations => {
handleRecommendations({items: recommendations});
});
}]);
});
}
ggCmd.push(function () {
gg.registry.('GoogleTagManager', 'lv.googleTagManager.init', null, {priority: 99999});
gg.registry.('scroll-registry', 'gg.scrollRegistry.init');
});
{
"@id":"#organization",
"@context": "https://schema.org",
"@type": "Organization",
"name": "La Vanguardia",
"url": "",
"logo": "/rsc/images/logo-lv.png",
"sameAs": ["https://www.facebook.com/LaVanguardia", "https://www.twitter.com/lavanguardia", "https://www.instagram.com/lavanguardia"]
}
3s5p4g
Comprobar número 36192 del sorteo de la Lotería de Navidad 2024 56711b
1y7326
¿Quieres saber si el número 36192 ha sido premiado? Comprueba tu décimo del sorteo de la Lotería de Navidad 2024 3n5f9
36192
Lo sentimosTu número 36192 no ha sido premiado.
Suscríbete a La Vanguardia y únete a más de 100.000 suscriptores que cada día crean su propia suerte. Ahora por 1€ el primer mes.
Comprueba tu décimo del Gordo de Navidad
¿Quieres saber si el número 36192 ha sido premiado?
Comprueba tu décimo
istraciones que vendieron el décimo 36192 4f1m6
- Dirección:
- PLAZA BAIX, 2
- Población:
- Elx/Elche
- Provincia:
- Alacant/Alicante
- Teléfono:
- 965451261
- Series:
- 184
- Dirección:
- PZA. PICORNELL, 7-
- Población:
- Ondara
- Provincia:
- Alacant/Alicante
- Teléfono:
- 965767003
- Series:
- 183
- Dirección:
- CALABRIA, 152 TIENDA 4
- Población:
- Barcelona
- Provincia:
- Barcelona
- Teléfono:
- 934254690
- Series:
- 179
- Dirección:
- PZA. DE ESPAÑA, 9
- Población:
- Bellavista (Les Franqueses del Vallès)
- Provincia:
- Barcelona
- Teléfono:
- 938493073
- Series:
- 189
- Dirección:
- CTRA DE ESPLUGAS, 186
- Población:
- Cornellà de Llobregat
- Provincia:
- Barcelona
- Teléfono:
- 931804208
- Series:
- 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57
- Dirección:
- RAMBLA POMPEU FABRA, 87
- Población:
- Gavà
- Provincia:
- Barcelona
- Teléfono:
- 936629652
- Series:
- 187
- Dirección:
- GENERAL CASTAÑOS, 33
- Población:
- Portugalete
- Provincia:
- Bizkaia
- Teléfono:
- 944833900
- Series:
- 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87
- Dirección:
- AVDA. CAYETANO DEL TORO, 42
- Población:
- Cádiz
- Provincia:
- Cádiz
- Teléfono:
- 956279237
- Series:
- 11
- Dirección:
- ANIMAS, 9
- Población:
- Fuente el Fresno
- Provincia:
- Ciudad Real
- Teléfono:
- 926804416
- Series:
- 193
- Dirección:
- PASEO MARISMEÑO, 13
- Población:
- El Rocio (Almonte)
- Provincia:
- Huelva
- Teléfono:
- 959442415
- Series:
- 186
- Dirección:
- AVDA. FONTANAR, 4
- Población:
- Pozo Alcón
- Provincia:
- Jaén
- Teléfono:
- 953738110
- Series:
- 185
- Dirección:
- P.DELICIAS,78(VUELTA CACERES)
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915288147
- Series:
- 180
- Dirección:
- GRAN VIA, 56 QUIOSCO
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915597216
- Series:
- 14, 15, 16, 17, 18
- Dirección:
- CARMEN, 22
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915214694
- Series:
- 13, 178
- Dirección:
- TERRAZA, 27
- Población:
- Estepona
- Provincia:
- Málaga
- Teléfono:
- 952800418
- Series:
- 188
- Dirección:
- MADRE SALESA, 8
- Población:
- Málaga
- Provincia:
- Málaga
- Teléfono:
- 952244486
- Series:
- 182
- Dirección:
- CISNEROS, 9 -BAJO
- Población:
- Málaga
- Provincia:
- Málaga
- Teléfono:
- 952213622
- Series:
- 1, 2, 3, 4, 5
- Dirección:
- C/ Ramón Gómez de la Serna, Nº 13, L-1
- Población:
- Marbella
- Provincia:
- Málaga
- Teléfono:
- 952829181
- Series:
- 182
- Dirección:
- SEVILLA, S/N
- Población:
- Pruna
- Provincia:
- Sevilla
- Teléfono:
- 954858482
- Series:
- 9
- Dirección:
- SABALO, 2 LOCAL 2
- Población:
- Sevilla
- Provincia:
- Sevilla
- Teléfono:
- 954384658
- Series:
- 190
- Dirección:
- PLAZA DE LA CONSTITUCION, 13
- Población:
- Utrera
- Provincia:
- Sevilla
- Teléfono:
- 955865369
- Series:
- 192
- Dirección:
- Avda. DELS TRAMVIES, 12
- Población:
- Manises
- Provincia:
- València/Valencia
- Teléfono:
- 960661000
- Series:
- 8
- Dirección:
- PARET DE PILES, 16-BAJO
- Población:
- Quart de Poblet
- Provincia:
- València/Valencia
- Teléfono:
- 961533846
- Series:
- 19
- Dirección:
- VALENCIA, 54
- Población:
- Sedaví
- Provincia:
- València/Valencia
- Teléfono:
- 963760853
- Series:
- 191
- Dirección:
- EDUARDO BOSCA, 22
- Población:
- València
- Provincia:
- València/Valencia
- Teléfono:
- 963375944
- Series:
- 191
- Dirección:
- REINA, 171
- Población:
- València
- Provincia:
- València/Valencia
- Teléfono:
- 963550150
- Series:
- 181
- Dirección:
- PASAJE DEL LLEO, 4
- Población:
- Xàtiva
- Provincia:
- València/Valencia
- Teléfono:
- 962273597
- Series:
- 10
Cargando siguiente contenido...