object[key] === value); } function cam_unique_array(a) { var seen = {}; return a.filter(function(item) { return seen.hasOwnProperty(item) ? false : (seen[item] = true); }); } window.adthrive.cmd.push(function() { cam_targeting_values = []; cam_unique_targeting=[]; var cam_hubb_location = encodeURIComponent(window.location.pathname.split(‘/’)[1]).toLowerCase(); if (cam_hubb_location.length == 0) { cam_targeting_values.push(‘hubb_home’); } else if (cam_hubb_location.length <= 35) { cam_targeting_values.push('hubb_' + cam_hubb_location); } else { cam_targeting_values.push('hubb_' + cam_hubb_location.substring(0, 35)); } try { if (catid) { cam_tv_catid = cam_getKeyByValue(SEOSlugArray, parseInt(catid)); cam_tv_vd = cam_getKeyByValue(virtualDirectoryArray, parseInt(catid)); cam_adunitarray = adUnitArray[catid].replace('/6585/','').split('/'); if(adUnitArray[catid].replace('/6585/','').split('/')[2]){ cam_targeting_values.push('hubb_' + adUnitArray[catid].replace('/6585/','').split('/')[2].substring(0, 35)); } if(adUnitArray[catid].replace('/6585/','').split('/')[3]){ cam_targeting_values.push('hubb_' + adUnitArray[catid].replace('/6585/','').split('/')[3].substring(0, 35)); } cam_targeting_values.push('hubb_' + cam_tv_catid.substring(0, 35)); cam_targeting_values.push('hubb_' + cam_tv_vd.substring(0, 35)); } } catch (err) {} try { if (window.DFP_custom_targeting.slug) { cam_slug = DFP_custom_targeting.slug; console.log(cam_slug.substring(0, 35)); cam_targeting_values.push('hubb_' + cam_slug.substring(0, 35)); } } catch (err) {} try { if (window.DFP_custom_targeting.is_article) { cam_is_article = DFP_custom_targeting.is_article; console.log(cam_is_article.substring(0, 24)); cam_targeting_values.push('hubb_is_article_' + cam_is_article.substring(0, 24)); } } catch (err) {} try { if (window.DFP_custom_targeting.sponsor) { cam_sponsor = DFP_custom_targeting.sponsor; console.log(cam_sponsor.substring(0, 35)); cam_targeting_values.push('hubb_' + cam_sponsor.substring(0, 35)); } } catch (err) {} try { if (window.DFP_custom_targeting.category && Array.isArray(window.DFP_custom_targeting.category)) { for (i = 0; i 0) { cam_unique_targeting=cam_unique_array(cam_targeting_values); window.adthrive.siteAds.targeting.push({ key: 'at_custom_1', value: cam_unique_targeting, }); } setTimeout(function() { window.adthrive.advertiser_ids = []; window.adthrive.slots._slots.forEach((values, key) => { if (values.googleTagSlot.getResponseInformation()) { if (values.googleTagSlot.getResponseInformation().advertiserId == 4927324502) { console.log(‘CAM – disabling refresh on : ‘ + key); window.adthrive.slotManager.updateRefreshTimeout(key, 0); } } }); }, 10000); }); ]]> slot.getAdUnitPath().includes(“Hubbard_Interstitial”)).forEach(adSlot => googletag.pubads().refresh([adSlot])); } } googletag.pubads().addEventListener(‘slotRenderEnded’, addInterstitialTargeting); }); }); ]]>
{{headline}}
SANTA FE, N.M. (AP) — New Mexico Legislature approves legalization of recreational marijuana, sends bill to supportive governor.
SANTA FE, N.M. (AP) — New Mexico Legislature approves legalization of recreational marijuana, sends bill to supportive governor.
Copyright © 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, written or redistributed.
More from WTOP
Log in to your WTOP account for notifications and alerts customized for you.