');});$('.text-rich-text').find('figure + figure').not('.post-media-3-across figure').each(function () {$(this).prev('figure').addBack().wrapAll('
');});$('.blog-post h5 a').addClass('button primary-color');}); // webflow.pushfunction sluggify(str) {// Convert the string to lowercase and remove leading/trailing spacesstr = str.trim().toLowerCase();// Replace spaces and special characters with hyphens using regular expressionsstr = str.replace(/[^\w\s-]/g, ''); // Remove special characters except hyphenstr = str.replace(/\s+/g, '-'); // Replace spaces with hyphensreturn str;}+(function () {// Select all tags with target="_blank"const links = document.querySelectorAll('a[target="_blank"]');// Loop through each linklinks.forEach(link => {// Get the current value of the rel attributelet rel = link.getAttribute('rel') || "";// Split the rel value by spaces (to handle cases where multiple values exist)let relValues = rel.split(' ').filter(Boolean);// Check if noopener is not already presentif (relValues.indexOf('noopener') === -1) {relValues.push('noopener');link.setAttribute('rel', relValues.join(' '));}});})();