文章内容:
查看照片
插图。(法新社/OLIVIER DOULIERY)
SALEM, KOMPAS.com - 已有 73 名女性参加了俄勒冈州彩票的“终生赢钱”游戏,第一笔头奖金额高达 52,000 美元,或一年内可赢取 778 卢比。
俄勒冈州彩票为来自格兰茨帕斯的 73 岁的 Ruth Salvatore 发放了一张终身彩票,该彩票于 6 月 4 日在格兰茨帕斯的 Fred Meyer 商店开出。
萨尔瓦多表示,彩票投注站每天都会发放 2 美元的彩票,而且第二张彩票是作为主场门票出售的。
另请参阅:乌克兰玩家赢得比利时 800 万卢比彩票
据联合通讯社报道,萨尔瓦托表示,他和丈夫埃德·巴伯拉已经同意了这一要求,并表示,这距离他上次见面已经过去了 52 个月。
另请参阅:赢得大头奖,赢得奖金并赢得我们最喜欢的彩票
我们致力于为游客提供更舒适和更便捷的服务,以便您在坎昆拥有一个愉快的假期。
我们会定期发布突发新闻和新闻。您希望了解详情,请访问 Kompas.com WhatsApp 频道:https://www.whatsapp.com/channel/0029VaFPbedBPzjZrk13HO3D。您只需点击一下即可安装 WhatsApp 应用程序。文章摘要
不准
塔图普
`); var wSpecStop = createElementFromHTML(`请查看内容,以了解详细信息。乌龙干
`); reactionPopup.querySelector('.buttonShare').setAttribute('data-title', item.title); reactionPopup.querySelector('.buttonShare').setAttribute('data-url', itemUrl); reactionPopup.querySelector('.buttonShare').setAttribute('data-campaign', 'AIML_Widget_Desktop'); 让 userFeedback = new UserFeedback(resultObj.engine['tracker_algsrc'], itemUrl + tracker_params, jxRecHelper, index); reactionPopup.querySelector('.buttonBookmark').addEventListener('click', function() { do_bookmark(itemUrl, index, userFeedback); }); reactionPopup.querySelector('.buttonShare').addEventListener('click', function() { userFeedback.event('share'); }); reactionPopup.querySelector('.buttonNotInterest').addEventListener('click', function() { if (getCookie('kmps_usrid')) { hideThisArt(this); userFeedback.event('not-interested'); } else { const parentAction = this.parentElement.parentElement.parentElement if (!!parentAction) { let indexElement = parentAction.getAttribute('data-index') if (indexElement != 'undefined') { localStorage.setItem('reaction_not_interest_temp', JSON.stringify({ urlpage: items[indexElement].url })) } } window.location.href = "https://account.kompas.com/login/a29tcGFz/" + btoa(window.location.href); } }); /** * 当用户未登录且不感兴趣时,触发操作“userFeedback”表示用户之前不感兴趣的项目 */ if (getCookie('kmps_usrid') && localStorage.getItem('reaction_not_interest_temp')) { const tempUrlNotInterest = JSON.parse(localStorage.getItem('reaction_not_interest_temp')) if (itemUrl == tempUrlNotInterest.urlpage) { userFeedback.event('not-interested'); localStorage.removeItem('reaction_not_interest_temp'); } } wSpecStop.querySelector('.wSpec-stop-undo').addEventListener('click', function() { showThisArt(this); userFeedback.event('un-not-interested'); }); recItem.appendChild(buttonOption); recItem.appendChild(reactionPopup); recItem.appendChild(wSpecStop); } var recItemWrapperA = createElement('a', null, null, null); recItemWrapperA.setAttribute('href', itemUrl + tracker_params); var titleDiv = createElement('h4', null, null, [cssClasses.title]); var titleTextNode = document.createTextNode(item.title); 如果 (item.itemType == 'video') { var iconVideo = createElement('div', null, null, ['icoInline', 'icoVideo']); iconVideo.style.marginRight = '5px'; titleDiv.appendChild(iconVideo); } titleDiv.appendChild(titleTextNode); var sourceDiv = null;如果 (item.hasOwnProperty('method')) { sourceDiv = createElement('div', null, null, [cssClasses.source], resultObj.engine['type'] + ' . ' + item.method.toUpperCase()); } else { var sourceDiv = createElement('div', null, null, [cssClasses.source], resultObj.engine['type']); } var textWrapper = createElement('div', null, null, [cssClasses.text_wrapper]); textWrapper.appendChild(categoryDiv); textWrapper.appendChild(titleDiv); textWrapper.appendChild(sourceDiv); recItemWrapper.appendChild(imgWrapper); recItemWrapper.appendChild(textWrapper); recItemWrapperA.appendChild(recItemWrapper); recItem.appendChild(recItemWrapperA); widgetWrapper.appendChild(recItem); // 连接此项目的点击处理程序 // recItem.onclick = handleClick.bind(null, jxRecHelper, itemUrl + tracker_params, index); recItemWrapperA.onclick = handleClick.bind(null, jxRecHelper, itemUrl + tracker_params, index); }); } // 结束 while var endDate = new Date(); var loadtime = (endDate.getTime() - startDate.getTime()); trackEventGa('AIML 文章推荐', '内容已加载', 'algsrc='+algsrc+',site=GLOBAL,device=desktop,loadtime=' + loadtime) let domain = window.location.hostname; if(domain=='www.kompas.com'){ var url=window.location.href.split("/"); domain=url[2]+'/'+url[3] } let user_subs_type = "Gues"; let subs_type = ""; let is_lgn = 0; let engine = algsrc; if(getCookie('kmps_usrid')){is_lgn=1}; let time_load = loadtime; resolve(); /*** * JXRECSDK 注意事项 3/5 - * 将有关项目的所有信息传递给 rec 助手 * 每个都是一个对象:全部必填 * div * id * pos */ jxRecHelper.items(widgetItemArr); /*** * JXRECSDK 注释 4/5 - * 当推荐结果填充到小部件中时,调用辅助对象的 ready() * (这将注册 action=ready 事件) */ if (resultObj.engine['type'] == 'api-1') { jxRecHelper.ready(resultObj.options.algo + ":" + resultObj.options.version); } else { jxRecHelper.ready(resultObj.engine['type']); } } else { jxRecHelper.error(204); console.error("错误:没有推荐项目"); return; } } catch (err) { jxRecHelper.error(901); console.log(err.stack); let domain = window.location.hostname;如果(domain=='www.kompas.com'){var url=window.location.href.split("/"); domain=url[2]+'/'+url[3] } let user_subs_type = "Gues"; let subs_type = "" let is_lgn = 0; let engine = algsrc; 如果(getCookie('kmps_usrid')){is_lgn=1}; let endDate = new Date(); let time_load = (endDate.getTime() - startDate.getTime()); } }); } const _jxRecSdkURL = 'https://scripts.jixie.media/jxrecsdk.1.0.min.js'; var startDate = new Date(); class OneWidget { 构造函数() { //这也是我们在实例化它时将传递给 JX rec 辅助对象的东西: //在此实现中,其中大部分来自发布者页面上的选项 obj。 this._options = { accountid:'9262bf2590d558736cac4fff7978fcb1', pageurl:'https://www.kompas.com/global/read/2023/06/17/210000170/iseng-ikut-lotre-nenek-73-tahun-menangkan-rp-778-juta-dibayar-tiap-tahun', widget_id:'1000183-6xWeiWZFIM', type:'pages', container:'rekomendasi-konten-pilihan-untukmu-aiml', keyword:content_tags, title:title, customid:“70”, count:14, }; this._containerId = this._options.container;这个._container = document.getElementById(这个._containerId); this._engines = [{"url":"https:\/\/recommendation.jixie.media\/v1\/recommendation","method":"GET","pageurl":"https:\/\/www.kompas.com\/global\/read\/2023\/06\/17\/210000170\/iseng-ikut-lotre-nenek-73-tahun-menangkan-rp-778-juta-dibayar-tiap-tahun","system":"jx","type":"api-1","tracker_params":"?source=widgetML","tracker_algsrc":"V","count":14,"page_status":"read","excludeitemids":"20230617210000170"}]; } kickOff() { startDate = new Date(); const rand = Math.floor(Math.random() * 1000); /*const randSystem = Math.floor(Math.random() * 3); this._engine = this._engines[randSystem] if (location.hostname.indexOf('lestari') != -1) { this._engine = this._engines[1] }*/ this._engine = this._engines[0]; this._options.system = this._engine['system'] trackEventGa('AIML 文章推荐', '小部件加载', 'algsrc=' + this._engine['tracker_algsrc'] + ',site=GLOBAL,device=desktop') let promJXSDK = fetchJSFileP(_jxRecSdkURL); let thisObj = this; // 首先我们等待 JX REC SDK 加载并初始化 let recHelperObj = null; let recResults = null; promJXSDK .then(function() { /*** * JXRECSDK 注释 1/5 - JX REC 帮助对象实例化 * 在加载 JX REC SDK 之后但在调用 REC * 后端之前调用此函数。 * * param:必需的选项对象 * 选项对象至少必须具有 * accountid:从 jixie 获取 * widgetid:从 jixie 获取 * container:用于容纳小部件的目标 div 的 DIV ID * (对于 jixie 小部件,这只是从页面传递的选项对象) * * (这还将注册 action=load 事件) */ recHelperObj = jxRecMgr.createJxRecHelper(thisObj._options); let basicInfo = thisObj._options; basicInfo.engine = thisObj._engine if (basicInfo.engine.type == 'api-1') { var options = { count:basicInfo['count'], adpositions:“”,keywords:basicInfo['keywords'],title:basicInfo['title'],date_published:“2023-06-17”,pagecategory:“GLOBAL”,algo:“mixed”}; if(getCookie('kmps_usrid')){ var kg = { pagetype:basicInfo.engine.page_status, uid:getCookie('kmps_usrid'), ukid:getCookie('kmp_uid') } if(basicInfo.engine.page_status=='read'){ kg['excludeitemids'] = basicInfo.engine.excludeitemids; kg['multiFormat'] = true; } options['additional'] = { kg:kg }; } return recHelperObj.getJxRecommendations(options); } 其他 { 返回 fetchRecommendationsP(basicInfo,recHelperObj.getJxUserInfo()); } }) .then(function(resp) { if (thisObj._engine.type == 'api-3') { recResults = new Object recResults.items = resp.docs.result; } else { recResults = resp; } recResults.engine = thisObj._engine; if (!resp || !recResults.items || recResults.items.length == 0) { /*** * JXRECSDK 注释 2/5 - * 当获取过程中发生错误或没有推荐项目时,调用 recHelper 上的 error() 函数 * * (这将注册 action=error 事件) */ recHelperObj.error(204); throw "no recommend results"; } }) .then(function() { // 一切就绪(推荐结果,css): document.getElementById("推荐内容列表").classList.remove("-loading"); document.querySelector('.wSpec-list').remove(); createDisplay(rand, thisObj._container, recResults, recHelperObj) .then(function() { toggleDropdown(); //observe lozad lozad('.lozad', { load: function(el) { el.src = el.dataset.src; el.onload = function() { el.classList.add('fade') } } }).observe() }) }) .catch(function(error) { console.log(`无法创建推荐小部件 ${error.stack} ${error.message}`); }); } } var limit_gtm_ready = 1;函数 check_gtm_ready() { if ('ga' in window) { // 根据选项创建我们的小部件的新实例 const newW = new OneWidget(); newW.kickOff(); } else { const timeout_gtm_ready = setTimeout(check_gtm_ready, 500) limit_gtm_ready += 1; if (limit_gtm_ready > 10) { clearTimeout(timeout_gtm_ready); const newW = new OneWidget(); newW.kickOff(); } } } check_gtm_ready() document.querySelector('.wSpec-secret').addEventListener('click', function(e) { e.preventDefault(); let wSl = document.querySelectorAll('.wSpec-source'); if (wSl.length > 0) { for (let i = 0; i { el.addEventListener('click', function() { el.parentElement.classList.toggle('-active') let saved = el.parentElement.getAttribute('data-saved') let kmps_usrid = getCookie('kmps_usrid'); if (kmps_usrid && !saved && el.parentElement.classList.contains('-active')) { let url = el.parentElement.getAttribute('data-url'); let guid = get_guid(url); check_bookmark( kmps_usrid, guid ).then(function(resp) { if (resp.hasOwnProperty('total_data')) { if (resp.total_data > 0) { el.parentElement.querySelector('.buttonBookmark').classList.add('-active'); el.parentElement.querySelector('.buttonBookmark').innerHTML = '来自其他'; el.parentElement.setAttribute('data-saved', 'true'); } else { el.parentElement.setAttribute('data-saved', 'false'); } } }) } }) document.addEventListener("click", function(e) { // console.log(e.target) if (el.contains(e.target)) { // console.log(tdd) } else { el.parentElement.classList.remove('-active') } }); }); } } 函数 check_bookmark(kmps_usrid,guid) { 让 url = `https://api.kompas.com/2021/reaction/bookmark/list?kmps_usrid=${kmps_usrid}&guid=${guid}`; 返回新的 Promise(function(resolve,reject) { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { resolve(JSON.parse(this.responseText)) } }; xmlhttp.open("GET", url,true); xmlhttp.send(); }); } 函数 do_bookmark(pageurl,pos,userFeedback) { const wSpecItem = document.querySelector(`.wSpec-item[data-index="${pos}"]`); const btnBookmark = wSpecItem.querySelector('.buttonBookmark'); const kmps_usrid = getCookie('kmps_usrid'); const guid = get_guid(pageurl); const type = pageurl.match(/\/watch\/(\d+)/) ? '视频' : '文章'; if (kmps_usrid) { if (btnBookmark.classList.contains('-active')) { set_unbookmark({ guid: guid, kmps_usrid: kmps_usrid, type: type }).then(function(resp) { btnBookmark.classList.remove('-active'); btnBookmark.innerHTML = '简单文章'; reactionToast('文章已从列表中删除'); userFeedback.event('un-save'); }).catch(function(resp) { // 消息:“数据不存在” if (resp.hasOwnProperty('message') && resp.message.includes('exist')) { btnBookmark.classList.remove('-active'); btnBookmark.innerHTML = '简单文章'; reactionToast('这篇文章来自列表中包含的文章'); } }) } else { const user_bookmark_url = "https://activity.kompas.com/saved?order=desc"; set_bookmark({ guid: guid, kmps_usrid: kmps_usrid, type: type, publisher: 'kompas', platform: 'desktop' }).then(function(resp) { btnBookmark.classList.add('-active'); btnBookmark.innerHTML = '已存在'; reactionToast('已存在文章', user_bookmark_url); userFeedback.event('save'); }).catch(function(resp) { // 消息:“数据已存在” if (resp.hasOwnProperty('message') && resp.message.includes('exist')) { btnBookmark.classList.add('-active'); btnBookmark.innerHTML = '已存在'; reactionToast('已存在文章disimpan', user_bookmark_url); } }) } } else { const login_url = "https://account.kompas.com/login/a29tcGFz/" + btoa(window.location.href); window.location.href = login_url; } } function set_bookmark(data) { const url = "https://api.kompas.com/2021/reaction/bookmark/add";返回新的 Promise(function(resolve, rejection) { const xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 201) { resolve(JSON.parse(this.responseText)); } else if (this.readyState == 4 && this.status == 400) { rejection(JSON.parse(this.responseText)); } }; xmlhttp.open("POST", url, true); xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8"); xmlhttp.send(formBody(data)); }); } 函数 set_unbookmark(data) { const url = "https://api.kompas.com/2021/reaction/bookmark/delete";返回新的Promise(函数(resolve,reject){ const xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function(){ if(this.readyState == 4 && this.status == 200){ resolve(JSON.parse(this.responseText)); } else if(this.readyState == 4 && this.status == 400){ rejection(JSON.parse(this.responseText)); } }; xmlhttp.open(“POST”,url,true); xmlhttp.setRequestHeader(“Content-Type”,“application / x-www-form-urlencoded; charset=UTF-8”); xmlhttp.send(formBody(data)); }); } class UserFeedback { 构造函数(engine,pageurl,jxRecHelper,pos){ this.engine = engine; this.pageurl = pageurl; this.jxRecHelper = jxRecHelper; this.pos = pos; } 事件(反馈){如果(this.engine =='C'){ const xmlhttp = new XMLHttpRequest(); 让params = {域:'kompas.com',ce_userid:getCookie('kmps_usrid'),ce_sessionid:getCookie('ukid'),ce_pageurl:this.pageurl,引擎:'C',ce_feedback:反馈} xmlhttp.open(“GET”,'https://apis.kgdata.dev/v1/aiml/feedback-widgetml'+formatParams(params)); xmlhttp.send(); } else if(this.engine =='V'){如果(feedback =='share'){this.jxRecHelper.shared(this.pos); } else if (feedback == 'save') { this.jxRecHelper.bookmarked(this.pos); } else if (feedback == 'not-interested') { this.jxRecHelper.hidden(this.pos); } else if (feedback == 'un-not-interested') { this.jxRecHelper.unhidden(this.pos); } } } 函数 formatParams(params) { return "!" + 对象 .keys(params) .map(function(key) { 返回 key + "=" + encodeURIComponent(params[key]) }) .join("&") } document.addEventListener("click", function(e){ let dx = document.querySelectorAll('[data-dropdown]') if(dx) { dx.forEach(function(el){ if(el.contains(e.target)) { el.parentElement.classList.toggle('-active') } else { el.parentElement.classList.remove('-active') } }) } })
分类:
标签:
留言