| 78 | const root = document.querySelector('.atlas-architecture'); |
| 79 | if (!root) return null; |
| 80 | const text = (element) => element?.textContent?.replace(/\s+/g, ' ').trim() ?? null; |
| 81 | const history = root.querySelector('[role="group"][aria-label="Architecture history"]'); |
| 82 | const button = (label) => { const element = history?.querySelector(`button[aria-label="${label}"]`); return element ? { disabled: element.disabled, title: element.getAttribute('title') } : null; }; |
| 83 | const location = root.querySelector('[aria-label="Architecture location"]'); |