(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":3241,"name":"McClatchy - KansasCity.com","cookie_name":"bounceClientVisit3241","domain":"kansascity.com","ct":"bind_to_domain","ally":1,"ei":0,"tcjs":"","cjs":"if (window.location.href.indexOf('checkout.kansascity.com/apps/payment/#/loginOrRegister') > -1) {\n jQuery('.loading-container').addClass('hidden');\n bouncex.on(bouncex.document, 'ajaxComplete.bx', function(e,t,s){\n if(s.url.indexOf('pd.cdnwidget.com/lookup?') > -1){\n jQuery('.loading-container').addClass('hidden');\n }\n });\n}\n\nwindow.bouncex.report_ga = function(action, label, bypass) {\n var eventName;\n if (action === 'impression') eventName = 'bxImpression';\n else if (action === 'click') eventName = 'bxClick';\n else if (action === 'submission') eventName = 'bxSubmission';\n else if (action === 'close') eventName = 'bxClose';\n \n var event = document.createEvent('Event');\n event.data = {};\n event.data.campaignName = label;\n \n event.initEvent(eventName, true, true);\n document.dispatchEvent(event);\n};\n\n/* https://www.wrike.com/open.htm?id=867316566 */\nvar isSubPage = bouncex.utils.getNestedProp('digitalData.page.template') === 'naviga_digital|landing_is_displayed';\nvar isExcludedSubPage = window.location.href.indexOf('mycheckout.') >-1 && window.location.pathname === '/';\n\nif (isSubPage && !isExcludedSubPage) {\n\tbouncex.setVarAndReload('num_sub_page_views', bouncex.vars.num_sub_page_views + 1);\n}","force_https":false,"waypoints":false,"content_width":0,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":null,"burls":[{"prop":"contains","val":"voter-guide"}],"ple":false,"fbe":true,"mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"// Snippet for privacy_cookies_accepted RTV; see https://www.wrike.com/open.htm?id=905336012\nbouncex.et.on(\n jQuery(document),\n \"click.bxallowcookies\",\n function () {\n bouncex.setVar(\"privacy_cookies_accepted\", true);\n bouncex.setBounceCookie();\n },\n '[aria-label=\"allow cookies\"]'\n);\n\nbouncex.setTimeout2(function () {\n bouncex.setVar(\"privacy_cookies_accepted\", true);\n bouncex.setBounceCookie();\n}, 60000);\n\nbouncex.et.onVarChange(\"page_changed_or_refreshed\", function (oldVal, newVal) {\n if (\n document.cookie.match(/__privaci_cookie_consent[^;]+/) &&\n document.cookie.match(/__privaci_cookie_consent[^;]+/).length > 0 &&\n newVal > 1\n ) {\n bouncex.setVar(\"privacy_cookies_accepted\", true);\n bouncex.setBounceCookie();\n }\n return;\n});\n\n//Use WID 3054 Sacbee as base for all changes\n// This is the tracking for the May 2022 replatform\n//Last Update to Master 6/14/22 - KK\nfunction inputContainsSubstrings(input, paths) {\n if (!paths || !input) {\n return false;\n }\n\n for (var i = 0; i < paths.length; i++) {\n if (input.indexOf(paths[i]) > -1) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction initializeLoggedInUser() {\n var userEmail;\n bouncex.et.onTrue(function () {\n userEmail = !!bouncex.utils.getNestedProp(\"userProvider.displayName\") && userProvider.displayName();\n return bouncex.utils.validate.email(userEmail);\n }, function () {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n\n bouncex.setv('logged_in_identified', true);\n }, 5);\n}\n\nfunction initializePrintAbandonment(pids) {\n var printEventName = \"view_print_subscription\";\n\n if (inputContainsSubstrings(bouncex.utils.url.getParam(\"PID\"), pids)) {\n bouncex.push([printEventName, {}]);\n return;\n }\n\n var standardPrintValues = [\n \"naviga_print|offers_presented|days:6\",\n \"naviga_print|offers_presented|days:2\",\n \"naviga_print|offers_presented|days:1\",\n \"naviga_print|offer_selected|days:6\",\n \"naviga_print|offer_selected|days:2\",\n \"naviga_print|offer_selected|days:1\"\n ];\n\n checkSubPageRTV(standardPrintValues, printEventName);\n return;\n}\n\nfunction checkSubPageRTV(substrings, eventName) {\n if (inputContainsSubstrings(bouncex.vars.subscribe_page, substrings)) {\n bouncex.push([eventName, {}]);\n return;\n }\n\n bouncex.et.onVarChange(\"subscribe_page\", function (oldVal, newVal) {\n if (newVal && inputContainsSubstrings(newVal, substrings)) {\n bouncex.push([eventName, {}]);\n }\n });\n\n return;\n}\n\nfunction init() {\n var globalConfig = {\n '3054': {\n domains: ['sacbee.com', 'sacbeeoffers.com'],\n pids: [3273402, 3273403, 3273404]\n },\n '3241': {\n domains: ['kansascity.com', 'kcsoffers.com'],\n pids: [3273363, 3273364, 3273365]\n },\n '3337': {\n domains: ['bradenton.com']\n },\n '3360': {\n domains: ['miamiherald.com', 'miamioffer.com'],\n pids: [3273384, 3273385, 3273386]\n },\n '3361': {\n domains: ['star-telegram.com']\n },\n '3362': {\n domains: ['charlotteobserver.com', 'charoffers.com'],\n pids: [3273339, 3273340, 3273341]\n },\n '3581': {\n domains: ['newsobserver.com', 'rnoffers.com'],\n pids: [3273396, 3273397, 3273398]\n },\n '3639': {\n domains: ['thestate.com']\n },\n '3640': {\n domains: ['kentucky.com']\n },\n '3641': {\n domains: ['kansas.com']\n },\n '3642': {\n domains: ['idahostatesman.com']\n },\n '3747': {\n domains: ['tri-cityherald.com']\n },\n '3748': {\n domains: ['theolympian.com']\n },\n '3749': {\n domains: ['thenewstribune.com']\n },\n '3750': {\n domains: ['sunherald.com']\n },\n '3751': {\n domains: ['sanluisobispo.com']\n },\n '3752': {\n domains: ['myrtlebeachonline.com']\n },\n '3753': {\n domains: ['modbee.com']\n },\n '3754': {\n domains: ['mercedsunstar.com']\n },\n '3755': {\n domains: ['macon.com']\n },\n '3756': {\n domains: ['ledger-enquirer.com']\n },\n '3757': {\n domains: ['islandpacket.com']\n },\n '3759': {\n domains: ['heraldonline.com']\n },\n '3760': {\n domains: ['fresnobee.com']\n },\n '3761': {\n domains: ['centredaily.com']\n },\n '3762': {\n domains: ['bnd.com', 'bndoffers.com']\n },\n '3763': {\n domains: ['bellinghamherald.com']\n },\n },\n config = globalConfig[bouncex.website.id];\n\n if (!inputContainsSubstrings(window.location.href, config.domains)) {\n return;\n }\n\n checkSubPageRTV([\"naviga_digital|offer_selected\"], \"view_subscription\");\n\n if (bouncex.vars.logged_in && !bouncex.vars.logged_in_identified) {\n initializeLoggedInUser();\n }\n\n if (!!config.pids) {\n initializePrintAbandonment(config.pids);\n }\n}\n\ninit();\n","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":1,"bpush":false,"pt":{"article":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('meta[property=\"og:type\"][content=\"article\"]').length > 0;"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('#nav-section-front').length > 0;"}]]},"checkout":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('#ordersummary').length > 0 || document.querySelectorAll('div[page=\"payment\"]').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.href.indexOf('checkout.miamihearld') > -1 && window.location.href.indexOf('loginOrRegister') > -1;"}]]},"gallery":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body.gallery').length > 0;"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('link[rel=\"canonical\"][href=\"https://www.kansascity.com/\"]').length > 0;"},{"activation":"current_page_url","prop":"exactly","prop2":"","prop3":"","val":"https://kcsoffers.com/"},{"activation":"current_page_url","prop":"exactly","prop2":"","prop3":"","val":"https://www.kcsoffers.com/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/search"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/e-edition"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/video"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/Offers.aspx';"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search/?"}]]},"video":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body.videoIngest').length > 0;"}]]}},"els":{"Navigation":"header.masthead","masthead":"#zone-el-2"},"vars":[{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"video_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('video').length > 0;","trigger":"pageload"},{"name":"article_name","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'article' && jQuery('meta[property=\"og:title\"]').attr('content');","trigger":"pageload"},{"name":"section_category","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(bouncex.website.pts === 'article' || bouncex.website.pts === 'video') ? bouncex.utils.getNestedProp('window.rtkcategories[0]') : null;","trigger":"pageload"},{"name":"article_category","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'article' && jQuery('header .kicker').length > 0 && jQuery('header .kicker').text().trim();","trigger":"pageload"},{"name":"paywall_visible","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"window.location.href.indexOf('/paywall/') > -1;","trigger":"pageload"},{"name":"submitted_morning","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"submitted_coronavirus","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"logged_in","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#signInOut #popout a').text().indexOf('Sign Out') > -1;","trigger":"pageload"},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":"pageload"},{"name":"paid_subscriber","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('digitalData.user.subscription.status') && bouncex.utils.getNestedProp('digitalData.user.subscription.status').indexOf('sub_0') > -1 || null;","trigger":"pageload"},{"name":"google_popup_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('body.paywalled').length > 0;","trigger":"pageload"},{"name":"dfp_rblock","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n function check() {\n bouncex.dfp_loaded = false || bouncex.dfp_loaded;\n var slots = window.googletag && typeof googletag.pubads == 'function' && typeof googletag.pubads().getSlots == 'function'? googletag.pubads().getSlots() : [];\n var numSlots = slots.length;\n for (var i = 0; i < numSlots; i++) {\n var slotInfo = slots[i] && typeof slots[i].getResponseInformation == 'function'? slots[i].getResponseInformation() : false;\n if (slotInfo && slotInfo.lineItemId) {\n bouncex.dfp_loaded = true;\n if (bouncex.website.gbi.rblocks && bouncex.website.gbi.rblocks.indexOf(slotInfo.lineItemId) > -1) {\n return 'sponsor';\n }\n }\n }\n if (bouncex.dfp_loaded) {\n return 'allow';\n }\n return 'not_ready';\n }\n if (!bouncex.website.gbi_enabled) {\n return 'disabled';\n } else if (bouncex.dfp_loaded) {\n return null;\n } else if (window.googletag && googletag.apiReady && googletag.pubadsReady) {\n return check();\n }\n return 'fallback';\n})();","trigger":"pageload"},{"name":"google_propensity_score","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n function getCookie(name) {\n var value = \"; \" + document.cookie;\n var parts = value.split(\"; \" + name + \"=\");\n if (parts.length == 2) return parts.pop().split(\";\").shift();\n }\n if (getCookie('mi_gps') === undefined) {\n return false;\n }\n var score = Number(getCookie('mi_gps')) || null;\n if (score <= 9) {\n return 'lowfunnel';\n } else if (score >= 10 && score <= 52) {\n return 'midfunnel';\n } else {\n return 'topfunnel';\n }\n})();","trigger":"pageload"},{"name":"article_keywords","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('meta[name=keywords').attr('content');","trigger":"pageload"},{"name":"user_segments","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp(\"digitalData.user.segments\", false);","trigger":"pageload"},{"name":"backfill_deployment","polling":"all","persist":"no","page_types":[],"testmode":false,"default":0,"code":"bouncex.gbi2 ? bouncex.gbi2.getFailedDeployments().join(',') : '';","trigger":"pageload"},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"Number(jQuery('#final-price').text().replace().replace(/[^0-9.]/g,''));","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"free_article","polling":"none","persist":"no","page_types":["article"],"testmode":false,"default":"false","code":"(function(){\n var accessTags = (bouncex.utils.getNestedProp('window.pageInfo')['access.tags'] || '').split(','),\n index = 0;\n\n for (index; index < accessTags.length; index++){\n if (accessTags[index] === 'matopend'){\n return true;\n }\n }\n return false;\n})();","trigger":"pageload"},{"name":"chrome_browser","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!!bouncex.browser.chrome && bouncex.utils.getNestedProp('navigator.userAgent').indexOf('Edg') === -1;","trigger":"pageload"},{"name":"subscribe_page","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function () {\n if (bouncex.utils.url.allowParams().indexOf('mycheckout') === -1) {\n return;\n }\n return bouncex.utils.getNestedProp('digitalData.page.template');\n})()","trigger":"pageload"},{"name":"num_sub_page_views","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"null;","trigger":"pageload"},{"name":"privacy_cookies_accepted","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"page_changed_or_refreshed","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.cookie.vpv;","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":0,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":null,"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":true,"gamNetwork":"7675","spa":0,"spatm":1,"preinit_cjs":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fme":false,"fmx":"","sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":1},"pubs":{"enabled":1},"websdk":{"enabled":0},"ga4_property_id":"","ga4_measurement_id":""} ; bouncex.tag = 'tag3'; bouncex.$ = window.jQuery; bouncex.env = 'production'; bouncex.restrictedTlds = {"casl":{"ca":1},"gdpr":{"ad":1,"al":1,"at":1,"ax":1,"ba":1,"be":1,"bg":1,"by":1,"xn--90ais":1,"ch":1,"cy":1,"cz":1,"de":1,"dk":1,"ee":1,"es":1,"eu":1,"fi":1,"fo":1,"fr":1,"uk":1,"gb":1,"gg":1,"gi":1,"gr":1,"hr":1,"hu":1,"ie":1,"im":1,"is":1,"it":1,"je":1,"li":1,"lt":1,"lu":1,"lv":1,"mc":1,"md":1,"me":1,"mk":1,"xn--d1al":1,"mt":1,"nl":1,"no":1,"pl":1,"pt":1,"ro":1,"rs":1,"xn--90a3ac":1,"ru":1,"su":1,"xn--p1ai":1,"se":1,"si":1,"sj":1,"sk":1,"sm":1,"ua":1,"xn--j1amh":1,"va":1,"tr":1}}; bouncex.client = { supportsBrotli: 0 }; bouncex.assets = {"ads":"0109586821763416266dd874f087ef69","creativesBaseStyles":"a53944a2","gam_7675":"//assets.bounceexchange.com/assets/gam/7675/e89bca82871049694c030d12c7c5e8c9.json","inbox":"749c9ccd613f1a40075d1e7b59caea42","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0704dae1eb637cbeb4a847506058402d"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_6459738026535cda4232dc813c61447d.js'); runtime.setAttribute('async', 'async'); runtime.setAttribute('onload', 'bouncex.initializeTag()'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_f63930b37a25405c0fe14c50976210bb.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/cjs_min_3a843477d8e318f67237a66d0a58c542.js'); deviceGraphScript.setAttribute('async', 'async'); var dgAttrs = [{"Key":"id","Value":"c.js"},{"Key":"async","Value":"true"},{"Key":"data-apikey","Value":"2^HIykD"},{"Key":"data-cb","Value":"bouncex.dg.initPostDeviceGraph"},{"Key":"data-bx","Value":"1"},{"Key":"data-gm","Value":"1"},{"Key":"data-fire","Value":"1"},{"Key":"data-adcb","Value":"bouncex.dg.getAdsOptStatus"}]; if (dgAttrs) { for (var i = 0; i < dgAttrs.length; i++) { deviceGraphScript.setAttribute(dgAttrs[i].Key, dgAttrs[i].Value); } } document.body.appendChild(deviceGraphScript); bouncex.initializeTag = function() {}; }; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();