CTYPE html> // Function to set a cookie function setCookie(name, value, days) { const date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); // Convert days to milliseconds const expires = "expires=" + date.toUTCString(); document.cookie = name + "=" + value + ";" + expires + ";path=/"; } // Add an event listener to the link function getCookie(name) { let match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? match[2] : null; } function checkPrivacyState(expectedValue) { let cookieValue = getCookie("privacy-state"); //console.log("cookieVal= ", cookieValue); if (cookieValue !== null) { //console.log("cookieNotNull"); if (cookieValue == "Yes") { //console.log("convert yes to opt-out"); cookieValue = "opt-out"; } //console.log("expectedVal= ", expectedValue); if (cookieValue !== expectedValue) { //alert("RELOAD?"); //location.reload(); } } } document.addEventListener('DOMContentLoaded', () => { checkPrivacyState("unknown"); }); (function (){ window.addEventListener('pageshow', (event) => { if( (this.getCookie('mstoken') !== null) & !this.metaChecker() ){ //console.log("Cookie. No Meta.") window.location.reload(); } if( !(this.getCookie('mstoken') !== null) & this.metaChecker() ){ //console.log("No Cookie. Meta.") window.location.reload(); } }); })(); function setCookie(){ //console.log(window.location.hostname); document.cookie = "authjwttest=value; expires=Thu, 18 Dec 2022 12:00:00 UTC; path=/; domain=" + window.location.hostname + "; SameSite=None; Secure"; window.location.href = "/subscriber-portal/?" + window.location.pathname; } function deleteCookie(){ //console.log(window.location.hostname); document.cookie = "authjwttest=value; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=" + window.location.hostname + "; SameSite=None; Secure"; window.location.href = "/subscriber-portal/?" + window.location.pathname; } function metaChecker(){ const meta_auth_check = document.getElementById("trib_auth"); if(meta_auth_check){ //console.log(meta_auth_check.getAttribute('name')) if(meta_auth_check.getAttribute('name') === "trib_auth"){ return true; }else{ return false; } }else{ return false; } } function getCookie(cookie_name) { let name = cookie_name + "="; let decodedCookie = decodeURIComponent(document.cookie); let ca = decodedCookie.split(';'); for(let i = 0; i <ca.length; i++) { let c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return null; } function trib_(){ window.location.href = "/subscriber-portal/"; } function trib_(){ document.cookie = "mstoken=value; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=" + window.location.hostname + "; SameSite=None; Secure"; document.cookie = "tribtoken=value; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=" + window.location.hostname + "; SameSite=None; Secure"; document.cookie = "mstoken=value; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=.triblive.com; SameSite=None; Secure"; document.cookie = "tribtoken=value; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=.triblive.com; SameSite=None; Secure"; // window.location.reload(); window.location.href = "https://triblive.com/subscriber-portal/"; } var checkFor = window.location.href; if (checkFor == "https://triblive.com//") { trib_(); } var Settings = [{fp: '0'}, {loggedIn: 'No'}, {ed: 'No'}, {: 'No'}, {privacyMode: 'No'}, ]; var showAds = "Yes"; var toggleOption = "default"; var myIP = "172.17.0.1, 18.188.175.152"; var myProductionFlag = "Yes"; var myShowWidgetsFlag = 'Yes'; var myIamPre = '';var meAlphaTopCategory = '';var meAlphaChildCategory = 'Home'; var myPageType = 'page'; myIamPre = ''; var meParentCategory = ''; var meChildCategory = 'Home'; var meGetTheTitle = 'triblive.com'; myShowWidgetsFlag = 'Page'; // change to show widget var myIam = myIamPre;function OptanonWrapper() { } //check for AdFree var tokenCB = getCookie('tribtoken'); var adfreecheck = false; var adfreename = ""; if (tokenCB != null & tokenCB !=""){ let base64Url = tokenCB.split('.')[1]; let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); let jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) { return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2); }).('')); let parsedtoken = JSON.parse(jsonPayload); //console.log("GAM Parsed Token: "); //console.log(parsedtoken); adfreecheck = parsedtoken.is_adfree; adfreename = parsedtoken..name; } var googletag = window.googletag = window.googletag || {}; googletag.pubads().setTargeting("site","triblive.com"); googletag.pubads().setTargeting("cstmSctn","Homepage"); googletag.pubads().setTargeting("conType","Page"); googletag.pubads().setTargeting("content",["Home","ROS"]); googletag.pubads().setSafeFrameConfig({allowPushExpansion: true},{allowOverlayExpansion: true}); googletag.pubads().enableAsyncRendering(); googletag.pubads().enableSingleRequest(); googletag.pubads().enableLazyLoad({ // Fetch slots within 0 viewports. // All slots should fetch due to above singleRequest. fetchMarginPercent: 0, // Render slots within 1 viewport(s). renderMarginPercent: 100, // 1.5x the above values on mobile, where viewports are smaller // and s tend to scroll faster. mobileScaling: 1.5 }); window.addEventListener('DOMContentLoaded', function () { document.body.classList.add('ad-free'); });   function getCookieTPD(cname) {    let name = cname + "=";    let decodedCookie = decodeURIComponent(document.cookie);    let ca = decodedCookie.split(';');    for(let i = 0; i <ca.length; i++) {     let c = ca[i];     while (c.charAt(0) == ' ') {      c = c.substring(1);     }     if (c.indexOf(name) == 0) {      return c.substring(name.length, c.length);     }    }    return "";   }   var tokenTPD = getCookieTPD('tribtoken');   var parsedtokenTPD = false;   if (tokenTPD != null & tokenTPD !=''){     let base64Url = tokenTPD.split('.')[1];     let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');     let jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) {       return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);     }).(''));     let parsedtoken = JSON.parse(jsonPayload);     console.log('TPD Parsed Token: ');     console.log(parsedtoken);     parsedtokenTPD = parsedtoken.is_adfree; console.log('TPD AdFree: ');     console.log(parsedtokenTPD);   } var privacycookie = getCookieTPD('privacy-state'); if (privacycookie != null & privacycookie !=''){ if(privacycookie == "Yes" || privacycookie =="Yes"){ parsedtokenTPD = true; } }   if (parsedtokenTPD !== true){     // Create a new script element     var script = document.createElement('script');     // Set the source of the script     script.src = 'https://cdn.tpdads.com/configs/triblive.js';     script.type = 'text/javascript';     // Append the script to the document's head (or body)     document.head.appendChild(script);     console.log('LOGGED OUT ');     window.tpdTargetingMap = {       'PostID': '0',       'Page-Type': 'triblive',       'Post-Author': '',       'Category': [ 'Home', 'Home' ],       'Tag': [ 'news' ],     };   } else { console.log('LOGGED IN '); } dataLayer = [{ 'CMSId': '0', 'FullSection': '', 'CanonicalUrl': 'https://triblive.com/', 'Headline': 'Home', 'Author': '', 'Category': 'Home', 'SubCategory': 'Home', 'Description': 'The Tribune-Review is a multi-platform news organization, covering the Steelers, Pirates, Penguins and Western Pennsylvania.', 'Published': '', 'Published_short': '', 'Updated': '', 'StoryType': 'triblive', 'Day_of_week': 'Thursday', 'Month': 'June', 'Day': '05', 'Hour': '02', 'Year': '2025', 'Server': 'production', 'Domain': 'triblive.com','Testing': 'No', '': 'No', 'Logged': '' }]; (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-PNZ6CV4'); @font-face{font-family:'FontAwesome'; src:url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.eot?v=4.6.3'); src:url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg'); font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-bars:before{content:"\f0c9"}.fa-search:before{content:"\f002"}.fa-home:before{content:"\f015"}.fa-facebook:before{content:"\f09a"}.fa-print:before{content:"\f02f"}.fa-twitter:before{content:"\f099"}.fa-instagram:before{content:"\f16d"}.fa-rss:before{content:"\f09e"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-newspaper-o:before{content:"\f1ea"}.fa-cloud-sun:before {content:"\f0c2";}@font-face{font-family:'open_sansregular'; src:url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.eot'); src:url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.woff2') format('woff2'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.woff') format('woff'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.ttf') format('truetype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');font-weight:normal; font-style:normal}@font-face{font-family:'open_sanslight';src: url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.eot'); src:url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.woff2') format('woff2'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.woff') format('woff'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.ttf') format('truetype'), url('https://triblive.com/wp-content/themes/TribLIVE2/assets/visuals/fonts/opensans-light-webfont.svg#open_sanslight') format('svg');font-weight:normal;font-style:normal}.sl-comp-black{font-family:"Stainless Comp Bla";font-style:normal;font-weight:normal}.sl-cond-bold{font-family:"Stainless Cond Bd";font-style:normal;font-weight:normal}.sl-light{font-family:"Stainless Lt";font-style:normal;font-weight:normal} /* AD FIXES */ div.double-ads { min-height: 110px !important; } @media only screen and (min-width: 768px) { #dsk-banner-ad-b { margin-bottom: 30px !important; } } @media only screen and (max-width: 767px) { #mob-banner-ad-b { margin-bottom: 10px !important; } } /*Beginning of Fixing Logo Sizes*/ /*For all instances*/ @media all and (max-width:991.98px){ .extra-logo, .triblive-logo{ width:100%!important; height:auto!important; } } @media (min-width:992px){ .extra-logo{ width:130px!important; height:auto!important; max-width:100%!important; } .triblive-logo{ width:212px!important; height:auto!important; } } /*Trib Extra Instances Only*/ @media all and (max-width:767px){ .header .head-min a.logo.extra-logo-link{ width:12%!important; } } @media (min-width:768px) and (max-width:991px){ .header .head-min a.logo.extra-logo-link{ width:9%!important; } } /*TribLIVE Instances Only*/ @media all and (max-width:767px){ .header .head-min .triblive-logo-link{ width:20%!important; } } @media (min-width:768px) and (max-width:991px){ .header .head-min .triblive-logo-link{ width:15%!important; } } /*End of Fixing Logo Sizes*/ (function() { var chartbeat_status = 'anon'; if (adfreename != ""){chartbeat_status = 'lgdin';} if (adfreecheck == true) {chartbeat_status = 'paid';} /** CONFIGURATION START **/ var _sf_async_config = window._sf_async_config = (window._sf_async_config || {}); _sf_async_config.uid = 66938; _sf_async_config.domain = 'triblive.com'; // DON'T INCLUDE HTTP(S) OR WWW _sf_async_config.useCanonical = true; _sf_async_config.useCanonicalDomain = true; _sf_async_config.flickerControl = false; _sf_async_config.sections = "Home | Home/Home"; var _cbq = window._cbq = (window._cbq || []); _cbq.push(['_acct', chartbeat_status]); //SET PAGE SECTION(S) _sf_async_config.authors = ''; //SET PAGE AUTHOR(S) /** CONFIGURATION END **/ function loadChartbeat() { var e = document.createElement('script'); var n = document.getElementsByTagName('script')[0]; e.type = 'text/javascript'; e.async = true; e.src = '//static.chartbeat.com/js/chartbeat.js'; n.parentNode.insertBefore(e, n); } loadChartbeat(); })(); Log out My SUBSCRIBE NEWSLETTERS | CLASSIFIEDS| JOBS| E-TRIB HIGH SCHOOL SPORTS NETWORK TRIBLIVE LOCAL Thursday, June 5, 2025 Western Pennsylvania's trusted news source Home | TribLIVE.com body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--duotone--dark-grayscale: url('#wp-duotone-dark-grayscale');--wp--preset--duotone--grayscale: url('#wp-duotone-grayscale');--wp--preset--duotone--purple-yellow: url('#wp-duotone-purple-yellow');--wp--preset--duotone--blue-red: url('#wp-duotone-blue-red');--wp--preset--duotone--midnight: url('#wp-duotone-midnight');--wp--preset--duotone--magenta-yellow: url('#wp-duotone-magenta-yellow');--wp--preset--duotone--purple-green: url('#wp-duotone-purple-green');--wp--preset--duotone--blue-orange: url('#wp-duotone-blue-orange');--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;} :where(.wp-block-columns.is-layout-flex){gap: 2em;} .wp-block-pullquote{font-size: 1.5em;line-height: 1.6;} .heateor_sss_button_instagram span.heateor_sss_svg,a.heateor_sss_instagram span.heateor_sss_svg{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.heateor_sss_horizontal_sharing .heateor_sss_svg,.heateor_sss_standard_follow_icons_container .heateor_sss_svg{color:#fff;border-width:0px;border-style:solid;border-color:transparent}.heateor_sss_horizontal_sharing .heateorSssTCBackground{color:#666}.heateor_sss_horizontal_sharing span.heateor_sss_svg:hover,.heateor_sss_standard_follow_icons_container span.heateor_sss_svg:hover{border-color:transparent;}.heateor_sss_vertical_sharing span.heateor_sss_svg,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg{color:#fff;border-width:0px;border-style:solid;border-color:transparent;}.heateor_sss_vertical_sharing .heateorSssTCBackground{color:#666;}.heateor_sss_vertical_sharing span.heateor_sss_svg:hover,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg:hover{border-color:transparent;}@media screen and (max-width:783px) {.heateor_sss_vertical_sharing{display:none!important}}div.heateor_sss_mobile_footer{display:none;}@media screen and (max-width:783px){div.heateor_sss_bottom_sharing .heateorSssTCBackground{background-color:white}div.heateor_sss_bottom_sharing{width:100%!important;left:0!important;}div.heateor_sss_bottom_sharing a{width:14.285714285714% !important;}div.heateor_sss_bottom_sharing .heateor_sss_svg{width: 100% !important;}div.heateor_sss_bottom_sharing div.heateorSssTotalShareCount{font-size:1em!important;line-height:24.5px!important}div.heateor_sss_bottom_sharing div.heateorSssTotalShareText{font-size:.7em!important;line-height:0px!important}div.heateor_sss_mobile_footer{display:block;height:35px;}.heateor_sss_bottom_sharing{padding:0!important;display:block!important;width:auto!important;bottom:-2px!important;top: auto!important;}.heateor_sss_bottom_sharing .heateor_sss_square_count{line-height:inherit;}.heateor_sss_bottom_sharing .heateorSssSharingArrow{display:none;}.heateor_sss_bottom_sharing .heateorSssTCBackground{margin-right:1.1em!important}} nav .dropdown.hex-obituaries .nav-item.active, nav .dropdown.hex-tribextra .nav-item.open, nav .dropdown.hex-tribextra .mega-menu { background: #4d1312eb; border-bottom: none; } nav .nav-item { padding: 10px 14px } .extramobile-show{display:none;} .fa-chevron-circle-up:link, .fa-chevron-circle-up:hover, .fa-chevron-circle-up:visited, .fa-chevron-circle-up:active { margin-bottom: 100px !important; } @media all and (max-width:991.98px){ .extra-hover, .chevron-hover{ display:none!important; } .extramobile-show{display:block;} .fa-chevron-circle-up:link, .fa-chevron-circle-up:hover, .fa-chevron-circle-up:visited, .fa-chevron-circle-up:active { margin-bottom: 100px;} } /* div.titleBar {max-width:100% !important; overflow: hidden !important;} */ Home Local Local Front - - - - -Pittsburgh Allegheny Westmoreland Valley News Dispatch Regional - - - - - TribLIVE LocalBethel Park JournalBridgeville Signal ItemFox Chapel HeraldHampton JournalMonroeville Times Express Murrysville StarNorth Allegheny JournalNorth Hills JournalNorwin StarPenn Hills ProgressPenn-Trafford Star Pine Creek JournalPlum Advance LeaderPlum ExplosionSewickley HeraldShaler JournalSouth Hills Record Sports Sports Front - - - - -Steelers/NFL Penguins/NHL Pirates/MLB - - - - -Breakfast With BenzMark Madden Pitt Penn State WVU Duquesne Robert Morris - - - - - - - - - - High Schools NCAA SportsDistrict Colleges Riverhounds Outdoors - - - - - U.S./World Sports Olympics Golf Other Local Podcast Network Sports Betting News News Front - - - - -Pennsylvania Spotlight PA Business Bridge to Business U.S./World Health Education Religion InstagramPolitics Partner News From the Newsroom Special ProjectsTrib VideosWeather All Stories Opinion Opinion Front - - - - -Columnists Editorials Cartoons Featured Commentary Letters to the Editor Send a Letter A&E A&E Front - - - - -TV Talk with Rob Owen Music Concert Reviews Movies & TV Theater & Arts Events Books Art & Museums Crosswords Sudoku More A&E Lifestyles Lifestyles Front - - - - -Food & Drink More Lifestyles Asking for a Friend Home & Garden Travel Video - - - - - Trib Videos Obituaries - - - - - Obituary Stories Tribune-Review Valley News Dispatch Carnegie Signal Item Fox Chapel Herald Hampton Journal Monroeville Times Express Murrysville Star North Journal Norwin Star Penn Hills Progress Penn-Trafford Star Pine Creek Journal Plum Advance Leader Sewickley Herald Shaler Journal South Hills Record Online Only All Obituaries Western Pennsylvania's trusted news sourceThursday, June 5, 2025 Log out My SUBSCRIBE NEWSLETTERS CLASSIFIEDS JOBS E-TRIB HIGH SCHOOL SPORTS NETWORK TRIBLIVE LOCAL GET THE TRIB SECTIONS OF USE $('.extra-nav a').on('click', function(){ $('.menu-overlay').removeClass( "active" ); $('.navbar').removeClass( "slide-in" ); $('body').removeClass( "lock" ); }); Walmart, Sam's Club sue Pittsburgh Mills mall owners over road conditions New era for Pittsburgh Catholics begins with Bishop Mark Eckman Summer Lee grills U.S. Education secretary on DEI policies  Fourth Avenue bridge in Tarentum, over Bull Creek, closed #desktopbanner{display:inline-block;} #home_promo_banner{display:block;} #mobilebanner{display:none;} #desktopbanner{width: 100%;} @media (max-width: 680px) { #home_promo_banner{display:block;} #desktopbanner{display:none; width: 100%;} #mobilebanner{display:inline-block; width: 100%; max-width: 350px;} } Sports Mike Burrows shines in start as Pirates shut out Astros to even seriesKevin Gorman In Dan Muse, Penguins pick coach with uncommon resume, knack for developmentSeth Rorabaugh Steelers OTAs notes: new DT Daniel Ekuale feels at home already, Beanie Bishop runs into Aaron Rodgers Pirates catcher Joey Bart remains in concussion protocol; reliever Dauri Moreta closes in on Tommy John recovery Penguins hire Dan Muse as head coach  No apologies from Steelers CB Beanie Bishop over wiping his feet on Pitt logo Fast, firm, fierce: Taming Oakmont's greens will be no easy task at U.S. Open Mark Madden: Steelers' lack of No. 2 wideout options shows how they feel about position What is a Stimpmeter? Get to know the term that will be heavily utilized at Oakmont More sports > Top Stories Trump orders investigation into Biden's actions as president Trump moves to block U.S. entry for foreigners planning to study at Harvard University Trump announces travel ban affecting a dozen countries set to go into effect Monday Bethel Park parish proud to call new Pittsburgh Bishop Mark Eckman their own Jury returns $5.25M verdict against Jefferson Hospital in wrongful death case Sewickley Heights road, closed more than a year, in need of nearly $1 million in repairs Allegheny County officials investigate elevated sulfur levels at Clairton Coke Works Judge says migrants sent to El Salvador prison must get a chance to challenge their removals Feds halt Pittsburgh Job Corps program for low-income students Editor's PicksBurrell's Stewart Elementary celebrates its last day: 'It's bittersweet'Voodoo Brewing in New Kensington to remain open amid other closuresHere's why McDonald's is bringing back the fan favorite Snack Wrap Shorter, smaller Three Rivers Arts Festival doesn't dampen spirits of artists, visitorsTV Q&A: Why do the same sitcoms rerun most often?More Editor's Picks > PittsburghPenn Hills man charged following alleged assault outside family courtFeds halt Pittsburgh Job Corps program for low-income studentsPittsburgh Diocese names new bishop as Pope Leo accepts Zubik's resignationPolice make 3rd arrest in slaying of Woodland Hills gradCar crash injures Ed Gainey's wife, bodyguard; city mum on detailsMore Pittsburgh > WestmorelandJudge dismisses ex-Norwin director's lawsuitCanada geese being treated at Youngwood rehab center after suffering fishing line injuries2 Western Pa. recovery nonprofits seek donations to continue sober space at Stage AEWestmoreland's municipal primary tiebreakers set for FridayEducators debate Pa. House proposal to set flat cyber charter tuition rateMore Westmoreland > Valley News DispatchWalmart, Sam's Club sue Pittsburgh Mills mall owners over road conditionsFourth Avenue bridge in Tarentum, over Bull Creek, closedBurrell's Stewart Elementary celebrates its last day: 'It's bittersweet'Voodoo Brewing in New Kensington to remain open amid other closuresArmy Corps to give update on Parks Township nuclear waste dump cleanupMore Valley News Dispatch > Events AlleghenyWalmart, Sam's Club sue Pittsburgh Mills mall owners over road conditionsSummer Lee grills U.S. Education secretary on DEI policies Sewickley Heights road, closed more than a year, in need of nearly $1 million in repairs2025 Pittsburgh/Allegheny County homicide victimsWeeknight closures of 62nd Street Bridge ramp to Etna scheduled through mid-JuneMore Allegheny > RegionalNew era for Pittsburgh Catholics begins with Bishop Mark EckmanBethel Park parish proud to call new Pittsburgh Bishop Mark Eckman their ownPa. set to expand cellphone ban for drivers — aiming to shift focus from phones to freewayFormer Jehovah's Witness sentenced for child sexual assaultPodcast: Inside the Penn State closure decisionMore Regional > PennsylvaniaMan accused of shooting stranger after bumping into her in Harrisburg remains on the loosePa. set to expand cellphone ban for drivers — aiming to shift focus from phones to freewayNew Pennsylvania law bans handheld cellphone use while driving. What to knowJohn Fetterman loses another top staffer in Senate officeFederal uncertainty complicates Pa. budget haggling over transit, educationMore Pennsylvania > PoliticsTrump orders investigation into Biden's actions as presidentSummer Lee grills U.S. Education secretary on DEI policies Judge tosses Democratic committees' lawsuit over the Federal Election Commission's independenceTrump tax bill will add $2.4 trillion to the deficit and leave 10.9 million more uninsured, CBO saysTrump urges senators to get his big tax bill done by July 4More Politics > OpinionEditorial: Where does Trump stand on coal mining?Daniel J. Stone: Biden’s cancer diagnosis should be a teaching momentGuy Ciarrocchi: More questions than answers in recent Pa. primaryLetter to the editor: Disgusted by Rocky Bleier, SteelersEditorial: Schools can teach lessons about residential useMore Opinion > U.S./WorldTrump moves to block U.S. entry for foreigners planning to study at Harvard UniversityTrump announces travel ban affecting a dozen countries set to go into effect MondayTrump istration signals it will slash funds for long-delayed California high-speed rail projectJudge says migrants sent to El Salvador prison must get a chance to challenge their removalsU.S. judge issues order stopping the deportation of family of man charged in Boulder firebombingMore World > Arts & EntertainmentShorter, smaller Three Rivers Arts Festival doesn't dampen spirits of artists, visitors2 Western Pa. recovery nonprofits seek donations to continue sober space at Stage AETV Q&A: Why do the same sitcoms rerun most often?Pittsburgh local music spotlight: Nowhere Wolves 2025 Pittsburgh area concert calendarMore A & E > Lifestyles200-year-old condom decorated with erotic art goes on display in Amsterdam's RijksmuseumLaurel Caverns proposed as Pennsylvania's 1st underground state parkNakama Japanese Steakhouse mysteriously closes in South SidePittsburgh Pride organizers reflect on importance of the eventsIs your love story legendary? Prove it and win $20K in online contestMore Lifestyles > TV Talk with Rob OwenTV Q&A: Why do the same sitcoms rerun most often?CMU grads help Universal Orlando one-up Disney with Epic Universe TV Talk: Apple TV+ series, Amazon movie to film in PittsburghTV Talk: ‘Succession’ writer depicts tech bros behaving badly in HBO’s ‘Mountainhead’TV Q&A: Why do full weather forecasts come late in a newscast?More TV Talk with Rob Owen > Got a news tip? The Tribune-Review encourages its readers to offer story ideas and tips. You can submit your news here. Call us at • 724-836-6675 (Greensburg) • 724-226-4666 (Tarentum) • 412-320-7847 (Pittsburgh) You can also send an email . Information will remain confidential. For customer service and circulation inquiries, please call 1-800-909-8742 . Partner NewsThis summer at National Aviary, 'Global Odyssey: Avian Adventure' takes you on a journey without leaving ‘tahnShop 'n Save Westmoreland International Airshow celebrates 100 years with spectacular lineupFrom frustration to freedom: How HomeBuyers of Pittsburgh helped a homeowner sell quicklyMore Partner News > BusinessWalmart, Sam's Club sue Pittsburgh Mills mall owners over road conditionsJohn Dorfman: Why I’ll continue to invest in gold, at least for another yearHere's why McDonald's is bringing back the fan favorite Snack Wrap Trump’s promised steel and aluminum tariffs go into effectTrump promises to hike steel and aluminum tariffs to 50% starting Wednesday. Here's what we knowMore Business >   function getCookieSided(cname) {    let name = cname + "=";    let decodedCookie = decodeURIComponent(document.cookie);    let ca = decodedCookie.split(';');    for(let i = 0; i <ca.length; i++) {     let c = ca[i];     while (c.charAt(0) == ' ') {      c = c.substring(1);     }     if (c.indexOf(name) == 0) {      return c.substring(name.length, c.length);     }    }    return "";   }   var tokenSided = getCookieSided('tribtoken');   var parsedtokenSided = false;   if (tokenSided != null & tokenSided !=''){     let base64Url = tokenSided.split('.')[1];     let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');     let jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) {       return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);     }).(''));     let parsedtoken = JSON.parse(jsonPayload);     console.log('TPD Parsed Token: ');     console.log(parsedtoken);     parsedtokenSided = parsedtoken.is_adfree; console.log('TPD AdFree: ');     console.log(parsedtokenSided);   }   if (parsedtokenSided !== true){     // Create a new script element     var script = document.createElement('script');     // Set the source of the script     script.src = 'https://cdn.sided.co/embed-assets/load.min.js';     script.type = 'text/javascript'; script.async = true;     // Append the script to the document's head (or body)     document.body.appendChild(script);     console.log('LOGGED OUT ');   } else { console.log('LOGGED IN '); } window.sidedScriptPayload = window.sidedScriptPayload || {}; window.sidedScriptPayload.categories = ['business','health-now','local','regional','top-stories']; var tokenSided = getCookie('tribtoken'); var parsedtokenSided = false; if (tokenSided != null & tokenSided !=''){ let base64Url = tokenSided.split('.')[1]; let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); let jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) { return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2); }).('')); let parsedtoken = JSON.parse(jsonPayload); console.log('FI Parsed Token: '); console.log(parsedtoken); parsedtokenSided = parsedtoken.is_adfree; } var frontpage = true; if (parsedtokenSided == true & frontpage) { document.getElementById('sidedwidget215').setAttribute('placementId', '411'); document.getElementById('sidedwidget216').setAttribute('placementId', '412'); document.getElementById('promo-ad-free-story-top').setAttribute('style', 'display: none;'); document.getElementById('promo-ad-free-story-bottom').setAttribute('style', 'display: none;'); }     1-800-909-8742 Fax (724) 779-8743 210 Wood StreetTarentum, PA 15084 © 2025 Trib Total Media | All Rights Reserved Career Opportunities Advertising Newsroom Us Request Correction Resource Center Scholarship Opportunities Send Letter to the Editor Send News Tip Subscribe Subscriber Services Get the Trib Blog Email Newsletters eTrib Facebook Home Delivery Instagram LinkedIn Marketing Minute Store Locations TribLIVE App - App Store TribLIVE App - Google Play X (formerly Twitter) Sections Arts & Entertainment Best of the Best Business Directory Contests Lifestyles Local News What do you think? Obituaries Opinion Our Publications Real Estate Sports Video Weather YaJagOff of Use Cookie Settings of Service function evvntDiscoveryInit() { evvnt_require("evvnt/discovery_plugin").init({ api_key: "triblive", publisher_id:590, discovery: { element: "#evvnt-calendar-widget", detail_page_enabled: true, widget: true, virtual: false, map: false, category_id: null, orientation: "landscape", number: 3, }, submission: { partner_name: "Trib Live", text: "Promote your event", } }); } //check for AdFree var tokenS2N = getCookie('tribtoken'); var parsedtokenS2N = true; var checkparsedtoken = false; if (tokenS2N != null & tokenS2N !=''){ let base64Url = tokenS2N.split('.')[1]; let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); let jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) { return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2); }).('')); let parsedtoken = JSON.parse(jsonPayload); console.log('Vids Parsed Token: '); console.log(parsedtoken); checkparsedtoken = parsedtoken.is_adfree; if ( checkparsedtoken == true ){ const element = document.getElementsByClassName('vIM6lqgG')[0]; element.remove(); parsedtokenS2N = false; } } var privacycookieS2N = getCookie('privacy-state'); if (privacycookieS2N != null & privacycookieS2N !=''){ if(privacycookieS2N == 'Yes' || privacycookieS2N =='Yes'){ checkparsedtoken = true; } } if ( checkparsedtoken == false ) { // Create a new script element var script = document.createElement('script'); // Set the source of the script script.src = '//embed.sendtonews.com/player3/embedcode.js?fk=vIM6lqgG&cid=6108&offsetx=0&offsety=0&floatwidth=400&floatposition=bottom-right'; script.type = 'text/javascript'; // Append the script to the document's head (or body) document.head.appendChild(script); console.log('Script included.'); } function setupS2NApi(getS2NApiForPlayer) { const s2nPlayer = document.querySelector('.vIM6lqgG'); if (!s2nPlayer) { console.error('setupS2NApi: Embed code <div> not found.'); return; } const s2nApi = getS2NApiForPlayer(s2nPlayer); if(!s2nApi) { console.error('setupS2NApi: API request has been denied. See your STN for more details.'); return; } const isSubscribed = true; s2nApi.float = parsedtokenS2N; } .vf-tray-trigger--floating {display: none !important;} Top jQuery(document).ready(function() { var offset = 220; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.fa-chevron-circle-up').fadeIn(duration); } }); jQuery('.fa-chevron-circle-up').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) }); function heateorSssLoadEvent(e) {var t=window.onload;if (typeof window.onload!="function") {window.onload=e}else{window.onload=function() {t();e()}}}; var heateorSssSharingAjaxUrl = 'https://triblive.com/wp-/-ajax.php', heateorSssCloseIconPath = 'https://triblive.com/wp-content/plugins/sassy-social-share/public/../images/close.png', heateorSssPluginIconPath = 'https://triblive.com/wp-content/plugins/sassy-social-share/public/../images/logo.png', heateorSssHorizontalSharingCountEnable = 0, heateorSssVerticalSharingCountEnable = 0, heateorSssSharingOffset = -10; var heateorSssMobileStickySharingEnabled = 1;var heateorSssCopyLinkMessage = "Link copied.";var heateorSssUrlCountFetched = [], heateorSssSharesText = 'Shares', heateorSssShareText = 'Share';function heateorSssPopup(e) {window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,resizable,scrollbars,toolbar=0,personalbar=0,menubar=no,location=no,directories=no,status")} footer { padding: 30px 30px 120px !important; } #adb_modal{ display:none; } #adb_sticky{ display:none; position: absolute; bottom: 10px; right: 10px; } const getttCookie = (cname) => { let name = cname + "="; let ca = document.cookie.split(';'); console.log("CA Token List:", ca); for(let i = 0; i < ca.length; i++) { let c = ca[i].trim(); if (c.indexOf(name) === 0) { return c.substring(name.length, c.length); } } return ""; } MG2Loader.init({ plugins: [{ name: "FP", initOptions: { version: "triblive", environment: "prod" } }, { name: "DL", initOptions: { version: "triblive", collectors: ["connext"], tagManager: "GTM", containerId: "GTM-PN8CQL65" } }, { name: "NXT", initOptions: { clientCode: "triblive", environment: "prod", siteCode: "TR", configCode: "TRConfig", debug: false, publicEventHandlers: { onNotAuthorized: function(eventData) { //event fires on every page load if visitor is logged out (document.getElementById("MG2") || {}).hidden=false; (document.getElementById("MG2Subscribe") || {}).hidden=false; (document.getElementById("MG2My") || {}).hidden=true; (document.getElementById("MG2") || {}).hidden=true; (document.getElementById("MG2activation") || {}).hidden=true; (document.getElementById("MG2_mob") || {}).hidden=false; (document.getElementById("MG2Subscribe_mob") || {}).hidden=false; (document.getElementById("MG2My_mob") || {}).hidden=true; (document.getElementById("MG2_mob") || {}).hidden=true; (document.getElementById("MG2activation_mob") || {}).hidden=true; }, onLoggedIn: function(eventData) { var get_tt = getttCookie('tribtoken'); var adfreecheck = false; var check = false; var tt_exists = false; var issuetime = Date.now(); if (get_tt != null & get_tt !=""){ let ttbase64Url = get_tt.split('.')[1]; let ttbase64 = ttbase64Url.replace(/-/g, '+').replace(/_/g, '/'); let ttjsonPayload = decodeURIComponent(window.atob(ttbase64).split('').map(function(c) { return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2); }).('')); let ttparsedtoken = JSON.parse(ttjsonPayload); console.log("TPL Parsed Token: "); console.log(ttparsedtoken); adfreecheck = ttparsedtoken.is_adfree; check = ttparsedtoken.is_; issuetime = ttparsedtoken.iat * 1000; tt_exists = true; } console.log("AdFree Check:", adfreecheck); const LData = Connext.Storage.GetData(); console.log("On Logged In Data:", LData); var email = LData.Email; console.log("Logged Email:", email); // Iterate through this array to find adFree Subscription var householdsublevel = 1; var OwnedSubsArray = LData.OwnedSubscriptions; if (OwnedSubsArray != null & OwnedSubsArray !=""){ for (i = 0; i < OwnedSubsArray.length; i++) { console.log(OwnedSubsArray[i].HouseholdSubscriptionLevel); if (OwnedSubsArray[i].HouseholdSubscriptionLevel == 3) { householdsublevel = 3; } } } //var householdsublevel = LData.DigitalAccess.Subscription.HouseholdSubscriptionLevel; var navadfreecheck = false; if ( householdsublevel == 3 || adfreecheck == true ){ navadfreecheck = true; } // If tribtoken adFree is true make navcheck true console.log("Logged Household:", householdsublevel); // Add a check for token issue date greater than 12 hours // 43200000 milliseconds in 12 hours // 3600000 millisecond in 1 hour var rightnow = Date.now(); console.log("Token Issued:", issuetime); console.log("Right Now:", rightnow); var timediff = rightnow - issuetime; console.log("Difference:", timediff); // If tribtoken does not exist yet or if adfreecheck does not equal navadfreecheck setTimeout(function () { if (adfreecheck != navadfreecheck || tt_exists == false || timediff > 43200000){ const apiUrl = `https://uezqiyl5esk7oubkt7bfg4gg4q0lcqpq.lambda-url.us-east-2.on.aws/?get=${email}&navafc=${householdsublevel}`; fetch(apiUrl) .then(response => response.json()) .then(data => { console.log("Fetch response:", data); // Get the JWT token from the response const token = data.token; console.log("Fetched token:", token); // Set the JWT as a cookie document.cookie = "tribtoken=" +token+ "; Path=/; domain=triblive.com"; document.cookie = "mstoken=" +token+ "; Path=/; domain=triblive.com"; window.location.reload(); }) .catch(error => { console.error('Error:', error); }); } }, 2000); }, onAuthorized: function(eventData) { //event fires on every page load if visitor is logged in but has access to this product (document.getElementById("MG2") || {}).hidden=true; (document.getElementById("MG2Subscribe") || {}).hidden=false; (document.getElementById("MG2My") || {}).hidden=false; (document.getElementById("MG2") || {}).hidden=false; (document.getElementById("MG2activation") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=true; (document.getElementById("MG2Subscribe_mob") || {}).hidden=false; (document.getElementById("MG2My_mob") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=false; (document.getElementById("MG2activation_mob") || {}).hidden=false; }, onHasNoActiveSubscription: function(eventData) { //event fires on every page load if visitor is logged in but their subscription is stopped or inactive (document.getElementById("MG2") || {}).hidden=true; (document.getElementById("MG2Subscribe") || {}).hidden=false; (document.getElementById("MG2My") || {}).hidden=false; (document.getElementById("MG2") || {}).hidden=false; (document.getElementById("MG2activation") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=true; (document.getElementById("MG2Subscribe_mob") || {}).hidden=false; (document.getElementById("MG2My_mob") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=false; (document.getElementById("MG2activation_mob") || {}).hidden=false; }, onHasAccessNotEntitled: function(eventData) { //event fires on every page load if visitor is logged in and has no access to this product, but has access to other products) (document.getElementById("MG2") || {}).hidden=true; (document.getElementById("MG2Subscribe") || {}).hidden=false; (document.getElementById("MG2My") || {}).hidden=false; (document.getElementById("MG2") || {}).hidden=false; (document.getElementById("MG2activation") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=true; (document.getElementById("MG2Subscribe_mob") || {}).hidden=false; (document.getElementById("MG2My_mob") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=false; (document.getElementById("MG2activation_mob") || {}).hidden=false; }, onHasAccess: function(eventData) { //event fires on every page load if visitor is subscriber (document.getElementById("MG2") || {}).hidden=true; (document.getElementById("MG2Subscribe") || {}).hidden=true; (document.getElementById("MG2My") || {}).hidden=false; (document.getElementById("MG2") || {}).hidden=false; (document.getElementById("MG2activation") || {}).hidden=true; (document.getElementById("MG2_mob") || {}).hidden=true; (document.getElementById("MG2Subscribe_mob") || {}).hidden=true; (document.getElementById("MG2My_mob") || {}).hidden=false; (document.getElementById("MG2_mob") || {}).hidden=false; (document.getElementById("MG2activation_mob") || {}).hidden=true; } } } } ] }); // Function to check if Connext is available function waitForConnext(callback) { const interval = setInterval(() => { if (typeof Connext !== 'undefined' & Connext.Storage && typeof Connext.Storage.GetData === 'function') { clearInterval(interval); callback(); } }, 100); // Check every 100ms } function deleteCookie(){ document.cookie = "mstoken=; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=triblive.com"; document.cookie = "tribtoken=; expires=Thu, 18 Dec 1970 12:00:00 UTC; path=/; domain=triblive.com"; } // Function to retrieve data from local storage function retrieveData() { try { const State = Connext.Storage.GetState(); console.log(" State:", State); var check_tt = getttCookie('tribtoken'); var tt_check = false; if (check_tt != null & check_tt !=""){ tt_check = true; } // If is logged out and has a tribtoken set delete tribtoken and mstoken if ( State == 'Logged Out' & tt_check == true ) { deleteCookie(); window.location.reload(); } } catch (error) { console.error("Error retrieving data:", error); } } // When the page loads, wait for Connext and then retrieve the data window.addEventListener('load', () => { waitForConnext(retrieveData); }); (function() { const gettCookie = (cname) => { let name = cname + "="; let ca = document.cookie.split(';'); for(let i = 0; i < ca.length; i++) { let c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } var articlesViewed = []; var articlesToTrack = []; var el = document.getElementById('carousel-spotlight-wdget'); if (el) { function isElementInViewport (el) { var rect = el.getBoundingClientRect(); return ( rect.top >= 0 & rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /* or $(window).height() */ rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */ ); } } const olViewTracker = async (olArticlesViewed = []) => { let obj = { //targetTitle: e.target.innerText ? e.target.innerText : null, areaClicked: olArticlesViewed }; console.log("Clicked obj: " + JSON.stringify(obj)); try { let myHeaders = new Headers(); myHeaders.append("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MTA5NzkyMDAsImV4cCI6MTc0MjUxNTIwMCwicHVibGlzaGVyX2lkIjo1MTU0fQ.gCgVtoqHVoxmhKOr3Gtw40D2a2-Ja32KAiSxtcc"); myHeaders.append("Content-Type", "application/json"); let myBody = JSON.stringify({ article_ids: obj.areaClicked }); console.log("Clicked body:", myBody); let res = await fetch( "https://community.triblive.com/impressions", { method: "POST", headers: myHeaders, body: myBody, } ); if (!res.ok) { // trow an error if response status is not 200 throw new Error(`Status Code Error: ${res.status}`); console.log("OL Views Not OK Error"); } else { const jsonRes = await res.json(); console.log("OL Views All OK"); } } catch (error) { console.log(error); console.log("OL Views Catch Error"); } }; const olClickTracker = async (olareaClicked="", olbucketname="ol_widget_clicks", oltargetTitle="", oltargetLink="") => { var currentPage = window.location.href; let obj = { //targetTitle: e.target.innerText ? e.target.innerText : null, areaClicked: olareaClicked, olLink: oltargetLink, olTitle: oltargetTitle, currentPage: currentPage, serverLabel: "konate localhost", publisher: "TribLive", apiType: "widget", fp: "2430589478", device: "Desktop" }; console.log("Clicked obj: " + JSON.stringify(obj)); try { let myHeaders = new Headers(); myHeaders.append("X-API-Key", "SmvblRLZ4o7gGFY2eC0sD9oh8IFPHY1L4OUMxlBa"); myHeaders.append("Content-Type", "application/json"); let myBody = JSON.stringify({ api: {type: olbucketname, }, areaClicked: obj.areaClicked, olLinkClicked: obj.olLink, olTitle: obj.olTitle, currentPage: obj.currentPage, serverLabel: obj.serverLabel, publisher: obj.publisher, apiType: obj.apiType, fp: obj.fp, device: obj.device }); console.log("Clicked body:", myBody); let res = await fetch( "https://ckxj10om5j.execute-api.us-east-2.amazonaws.com/default", { method: "POST", headers: myHeaders, body: myBody, } ); if (!res.ok) { // trow an error if response status is not 200 throw new Error(`Status Code Error: ${res.status}`); console.log("OL Res Not OK Error"); } else { const jsonRes = await res.json(); console.log("OL All OK"); } } catch (error) { console.log(error); console.log("OL Catch Error"); } }; const olLinkHandler = async (e) => { e.preventDefault(); olareaClicked = e.target.getAttribute("bodyid"); oltargetLink = e.target.getAttribute("thref"); oltargetTitle = e.target.getAttribute("title"); olbucketname = "ol_widget_clicks"; olClickTracker(olareaClicked, olbucketname, oltargetTitle, oltargetLink); console.log("Got to olLinkHandler: " + oltargetLink); window.open(oltargetLink, "_self"); }; const tresultTracker = async (tIP="0.0.0.0", tType="Regular ") => { var tcurrentPage = window.location.href; let twidth = ""; if (document.documentElement & document.documentElement.clientWidth) {twidth = document.documentElement.clientWidth;} else {twidth = 1024;} let ttype = "";if ((twidth >0)&(twidth <728)){ttype = "Mobile";} else if ((twidth>=728)&(twidth<1024)){ttype = "Tablet";}else {ttype = "Desktop";} let tobj = { Type: tType, IP: tIP, currentPage: tcurrentPage, serverLabel: "konate localhost", publisher: "Test Referrer", apiType: "widget", fp: mesearchfp.genFP(), device: ttype, }; console.log("Just loaded obj: " + JSON.stringify(tobj)); try { let tmyHeaders = new Headers(); tmyHeaders.append("X-API-Key", "SmvblRLZ4o7gGFY2eC0sD9oh8IFPHY1L4OUMxlBa"); tmyHeaders.append("Content-Type", "application/json"); let tmyBody = JSON.stringify({ api: {type: "scriptcheck_total", }, Type: tobj.Type, IP: tobj.IP, currentPage: tobj.currentPage, serverLabel: tobj.serverLabel, publisher: tobj.publisher, apiType: tobj.apiType, fp: tobj.fp, device: tobj.device, }); console.log("Just loaded body:", tmyBody); let tres = await fetch( "https://ckxj10om5j.execute-api.us-east-2.amazonaws.com/default", { method: "POST", headers: tmyHeaders, body: tmyBody, } ); if (!tres.ok) { // trow an error if response status is not 200 throw new Error(`Status Code Error: ${tres.status}`); console.log("Res Not OK Error"); } else { const tjsonRes = await tres.json(); console.log("Loaded OK"); } } catch (error) { console.log(error); console.log("Catch Error"); } } var tIP = "0.0.0.0"; $.getJSON("https://api.ipify.org?format=json", function (data) { console.log("TPL My IP: "); console.log(data.ip); tIP = data.ip; }) var ttokenBlock = gettCookie('tribtoken'); var tparsedtokenBlock = false; var tType = "Regular "; if (ttokenBlock != null & ttokenBlock !=""){ let tbase64Url = ttokenBlock.split('.')[1]; let tbase64 = tbase64Url.replace(/-/g, '+').replace(/_/g, '/'); let tjsonPayload = decodeURIComponent(window.atob(tbase64).split('').map(function(c) { return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2); }).('')); let tparsedtoken = JSON.parse(tjsonPayload); console.log("TPL Parsed Token: "); console.log(tparsedtoken); tparsedtokenBlock = tparsedtoken.is_adfree; } if (tparsedtokenBlock != true) { tType = "Regular "; } else { tType = "AdFree "; } setTimeout(function () { tresultTracker(tIP, tType); let ol_widget_links = document.getElementsByClassName("card-top"); console.log("Divs: " + ol_widget_links.length); for (var i = 0; i < ol_widget_links.length; i++) { ol_widget_links[i].addEventListener("click", olLinkHandler); console.log("Click Tracker on: " + i); } }, 2000); function onVisibilityChange(el, callback) { var old_visible; return function () { var visible = isElementInViewport(el); if (visible != old_visible) { old_visible = visible; if (typeof callback == 'function') { callback(); } } } } function onVisibilityChange2(el, callback) { var old_visible; return function () { var visible = isElementInViewport(el); if ( visible==true ) { old_visible = visible; if (typeof callback == 'function') { callback(visible); } } } } var i = 0; var handler = onVisibilityChange(el, function() { console.log('Element is in the viewport! ' + i); if (i==1){ var article_list = el.getElementsByClassName('card-top-view'); var olBodyID = article_list[0].getAttribute("bodyid"); var olbucketname = "ol_widget_views"; var oltargetLink = article_list[0].getAttribute("href"); var oltargetTitle = article_list[0].getAttribute("title"); if(!articlesViewed.includes(olBodyID)){ olClickTracker(olBodyID, olbucketname, oltargetTitle, oltargetLink); articlesViewed.push(olBodyID); articlesToTrack.push(olBodyID); } console.log("Got to olViewHandler" + olBodyID); var olBodyID2 = article_list[1].getAttribute("bodyid"); var olbucketname2 = "ol_widget_views"; var oltargetLink2 = article_list[1].getAttribute("href"); var oltargetTitle2 = article_list[1].getAttribute("title"); if(!articlesViewed.includes(olBodyID2)){ olClickTracker(olBodyID2, olbucketname2, oltargetTitle2, oltargetLink2); articlesViewed.push(olBodyID2); articlesToTrack.push(olBodyID2); } console.log("Got to olViewHandler2" + olBodyID2); if (articlesToTrack.length > 0){ olViewTracker(articlesToTrack); console.log("Articles Viewed to OL: " + articlesToTrack); articlesToTrack = []; } console.log("Articles Viewed: " + articlesViewed); } i++; }); var handler2 = onVisibilityChange2(el, function(onoroff) { console.log('Element is in the viewport! ' + i); console.log('On or Off: ' + onoroff); if (onoroff==true){ var active_card = el.getElementsByClassName('active'); var article_list = active_card[0].getElementsByClassName('card-top-view'); var olBodyID = article_list[0].getAttribute("bodyid"); var olbucketname = "ol_widget_views"; var oltargetLink = article_list[0].getAttribute("href"); var oltargetTitle = article_list[0].getAttribute("title"); if(!articlesViewed.includes(olBodyID)){ olClickTracker(olBodyID, olbucketname, oltargetTitle, oltargetLink); articlesViewed.push(olBodyID); } console.log("Got to olViewHandler" + olBodyID); var olBodyID2 = article_list[1].getAttribute("bodyid"); var olbucketname2 = "ol_widget_views"; var oltargetLink2 = article_list[1].getAttribute("href"); var oltargetTitle2 = article_list[1].getAttribute("title"); if(!articlesViewed.includes(olBodyID2)){ olClickTracker(olBodyID2, olbucketname2, oltargetTitle2, oltargetLink2); articlesViewed.push(olBodyID2); } console.log("Got to olViewHandler2" + olBodyID2); console.log("Articles Viewed: " + articlesViewed); } i++; }); $('#carousel-spotlight-wdget').on('slide.bs.carousel', function () { console.log("Carousel has moved: " + i); }) if (window.addEventListener) { //addEventListener('DOMContentLoaded', handler, false); //addEventListener('load', handler, false); addEventListener('scroll', handler, false); addEventListener('resize', handler, false); } else if (window.attachEvent) { //attachEvent('onDOMContentLoaded', handler); // Internet Explorer 9+ :( //attachEvent('onload', handler); attachEvent('onscroll', handler); attachEvent('onresize', handler); } })(); $(document).ready(function(){ $('.carousel').carousel({ interval: 4000 }) $('.carousel').carousel('cycle'); $('.carousel .right.carousel-control').carousel('next'); $('.carousel .left.carousel-control').carousel('prev'); }); .top a { padding: 0; } .top { padding: 0.5em; } (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");ym(92306955, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});(function (d, w, c) {(w[c] = w[c] || []).push(function() {try {w.yaCounter92138010 = new Ya.Metrika2({id:92138010,clickmap:true,trackLinks:true,accurateTrackBounce:true});} catch(e) { }});var n = d.getElementsByTagName("script")[0],s = d.createElement("script"),f = function () { n.parentNode.insertBefore(s, n); };s.type = "text/javascript";s.async = true;s.src = "https://mc.yandex.ru/metrika/tag.js";if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else { f(); }})(document, window, "yandex_metrika_callbacks2"); !function e(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null}("prefix_views_counter")&function e(t){var n,r;if(!t||(window.XMLHttpRequest&(n=new window.XMLHttpRequest),!n))return!1;r="action="+encodeURIComponent(t);try{n.open("POST","/user.php",!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){200===n.status&function e(t,n,r){if(r){var o=new Date;o.setTime(o.getTime()+864e5*r);var i="; expires="+o.toGMTString()}else var i="";document.cookie=t+"=1"+i+"; path=/"}("prefix_views_counter",1,1)},n.send(r)}catch(o){}return!0}('3ec979e05dee18da7205279e11ce8880'); (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(92138135, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true }); @media (max-width: 479px) { main .row .row { margin-left: 0; margin-right: 0; } .section .button, .section.hex-local .button { margin-right: 15px; } } (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");ym(92306955, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});(function (d, w, c) {(w[c] = w[c] || []).push(function() {try {w.yaCounter92138010 = new Ya.Metrika2({id:92138010,clickmap:true,trackLinks:true,accurateTrackBounce:true});} catch(e) { }});var n = d.getElementsByTagName("script")[0],s = d.createElement("script"),f = function () { n.parentNode.insertBefore(s, n); };s.type = "text/javascript";s.async = true;s.src = "https://mc.yandex.ru/metrika/tag.js";if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else { f(); }})(document, window, "yandex_metrika_callbacks2"); !function e(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null}("prefix_views_counter")&function e(t){var n,r;if(!t||(window.XMLHttpRequest&(n=new window.XMLHttpRequest),!n))return!1;r="action="+encodeURIComponent(t);try{n.open("POST","/user.php",!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){200===n.status&function e(t,n,r){if(r){var o=new Date;o.setTime(o.getTime()+864e5*r);var i="; expires="+o.toGMTString()}else var i="";document.cookie=t+"=1"+i+"; path=/"}("prefix_views_counter",1,1)},n.send(r)}catch(o){}return!0}('3ec979e05dee18da7205279e11ce8880'); (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(92138135, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true }); 1h5n28