`
const PAYWALL_HTML2 = `
Subscribe For Unlimited Access
You have exceeded the number of free articles available each month.
Thank you for supporting quality local journalism
Our award-winning coverage would not be possible without you.
Sign in here
if you are already a subscriber for unlimited access to breaking news, sports, photos, videos and our e-edition on your phone, tablet or desktop.
Click here
for our new subscriber specials.
`.trim();
const PAYWALL_HTML3 = `
`
const PAYWALL_HTML4 = “
function ensureCss() {
if (!document.head) return;
const existing = document.querySelector(‘link[data-paywall-css=”1″]’);
if (existing) return;
const link = document.createElement(‘link’);
link.rel = ‘stylesheet’;
link.type = ‘text/css’;
link.href = CSS_HREF;
link.setAttribute(‘data-paywall-css’, ‘1’);
document.head.appendChild(link);
}
function hasSubInfo(el) {
// Only replace once the widget already contains .subInfo
return !!(el && el.querySelector(‘.subInfo’));
}
function applyTo(el) {
if (!el || el.dataset.paywallReplaced === ‘1’) return;
if (!hasSubInfo(el)) return; //


























