CINXE.COM

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type='text/javascript' src='https://loader-cdn.azureedge.net/prod/masthead/loader.min.js'></script> <style> .status{ text-align: center; padding: 50px; } h2{ font-family:sans-serif;text-align: center;width:100%; } h2 img{max-width:250px;} </style> </head> <body> <h2>You are being redirected...</h2> <div style="text-align: center;width:100%;"> <img src="loader.gif" style="width:250px;"/> </div> <div id="status" style="visibility: hidden;">Checking Susbcription Status....</div> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8e78c5735b368225',t:'MTczMjQ0NDcyNy4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body> <script type="text/javascript"> var MTM_Archive = (function(){ var user_state = "none"; var isStage = /^stage/.test(window.location.host); var prodstate = "prod"; var clientid = "k7iOQMObRszZEujcsa1ZPwWFrXW2q6T4"; var authdomain = "masthead-prod.us.auth0.com"; var mgdebug = false; var site = "sunjournal"; if (isStage){ prodstate = "stage"; authdomain = "masthead-dev.us.auth0.com"; clientid = "9Us5GzGyisWRDxBf5KZROabJcccjMBrG"; mgdebug = true; } MG2Loader.init({ plugins: [{ name: "FP", initOptions: { version: "masthead", environment: prodstate } }, { name: "DL", initOptions: { version: "masthead", collectors: ["connext"], tagManager: "GTM", containerId: "GTM-WKNP65V" } }, { name: "NXT", initOptions: { clientCode: "masthead", environment: prodstate, siteCode: "SJ", configCode: "SJ_config", settingsKey: "SMG_SJ", checkUserDataEveryPageload: true, debug: mgdebug, silentmode: false, authSettings: { domain: authdomain, client_id: clientid, redirect_uri: "https://"+location.host +"/success/" //example: https://www.websitedomain.com/login }, publicEventHandlers: { onNotAuthorized: function(eventData) { var now = new Date(); user_state = "loggedout"; document.getElementById("status").innerText = user_state; window.location = 'https://sunjournal.com/archive-access'; }, onAuthorized: function(eventData) { user_state = "registered"; document.getElementById("status").innerText = user_state; window.location = 'https://sunjournal.com/archive-access'; }, onHasNoActiveSubscription: function(eventData) { user_state = "inactive"; document.getElementById("status").innerText = user_state; window.location = 'https://sunjournal.com/archive-access'; }, onHasAccessNotEntitled: function(eventData) { user_state = "notentitled"; //not used document.getElementById("status").innerText = user_state; window.location = 'https://sunjournal.com/archive-access'; }, onHasAccess: function(eventData) { user_state = "subscribed"; document.getElementById("status").innerText = user_state; MTM_NewsPapers_Access.getLink(site, function(link){ window.location = link }); } } } }] }); return { getStatus: function(){ return user_state } } }()); </script> <script src="//code.jquery.com/jquery.min.js"></script> <script src="./assets/js/main.js"></script> </html>