| 655 | renderEnhancedDialogContent: function (contentRoot, content, options) { |
| 656 | const sectionScrollOffset = 24; |
| 657 | const createSectionIcon = function (className, iconUrl) { |
| 658 | if (!iconUrl) { |
| 659 | return null; |
| 660 | } |
| 661 | |
| 662 | const icon = document.createElement('span'); |
| 663 | icon.className = className; |
| 664 | icon.setAttribute('aria-hidden', 'true'); |
| 665 | icon.style.setProperty('--analytics-dialog-section-icon', `url("${iconUrl}")`); |
| 666 | return icon; |
| 667 | }; |
| 668 | const layout = document.createElement('div'); |
| 669 | layout.className = 'analyticsEnhancedDialogLayout'; |
| 670 | |