(() => { 'use strict'; const homeHero = document.querySelector('#main-content > .hero-home'); const homeTitle = homeHero?.querySelector('.hero-copy h1'); if (homeTitle) { const lastLine = homeTitle.querySelector('.hero-accent') || homeTitle.querySelector('.hero-heading-primary') || homeTitle; const cursor = document.createElement('span'); cursor.className = 'home-cursor'; cursor.setAttribute('aria-hidden', 'true'); cursor.textContent = '_'; // A word joiner prevents a narrow line from wrapping just the cursor. lastLine.append('\u2060', cursor); } const homeImage = homeHero?.querySelector('.hero-visual > img'); if (homeImage && new URL(homeImage.src).pathname === "\/assets\/uploads\/a8e01ecf1e3d8932fc1f5a76297d3722.webp") { homeImage.insertAdjacentHTML('afterend', "\n \n \n \n \n \n <\/defs>\n <\/g>\n <\/g>\n <\/g>\n <\/g>\n<\/svg>\n"); } document.querySelector('#main-content > .hero-home ~ #about')?.setAttribute('data-moment', 'iris-opens'); })();