| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
const |
| 5 |
initSearchToggle = require( './searchToggle.js' ), |
| 6 |
updateWatchIcon = require( './watchstar.js' ).updateWatchIcon, |
| 7 |
STICKY_HEADER_ID = 'vector-sticky-header', |
| 8 |
STICKY_HEADER_APPENDED_ID = '-sticky-header', |
| 9 |
STICKY_HEADER_APPENDED_PARAM = [ 'wvprov', 'sticky-header' ], |
| 10 |
STICKY_HEADER_VISIBLE_CLASS = 'vector-sticky-header-visible', |
| 11 |
STICKY_HEADER_USER_MENU_CONTAINER_SELECTOR = '.vector-sticky-header-icon-end .vector-user-links', |
| 12 |
FIRST_HEADING_ID = 'firstHeading', |
| 13 |
USER_LINKS_DROPDOWN_ID = 'vector-user-links-dropdown', |
| 14 |
ULS_STICKY_CLASS = 'uls-dialog-sticky', |
| 15 |
ULS_HIDE_CLASS = 'uls-dialog-sticky-hide', |
| 16 |
SEARCH_TOGGLE_SELECTOR = '.vector-sticky-header-search-toggle', |
| 17 |
STICKY_HEADER_EXPERIMENT_NAME = 'vector.sticky_header'; |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
function copyAttribute( from, to, attribute ) { |
| 27 |
const fromAttr = from.getAttribute( attribute ); |
| 28 |
if ( fromAttr ) { |
| 29 |
to.setAttribute( attribute, fromAttr ); |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
function show() { |
| 37 |
document.body.classList.add( STICKY_HEADER_VISIBLE_CLASS ); |
| 38 |
document.body.classList.remove( ULS_HIDE_CLASS ); |
| 39 |
} |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
function hide() { |
| 45 |
document.body.classList.remove( STICKY_HEADER_VISIBLE_CLASS ); |
| 46 |
document.body.classList.add( ULS_HIDE_CLASS ); |
| 47 |
|
| 48 |
|
| 49 |
const stickyHeader = ( document.getElementById( STICKY_HEADER_ID ) ); |
| 50 |
if ( stickyHeader && stickyHeader.contains( document.activeElement ) ) { |
| 51 |
document.body.click(); |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
function copyButtonAttributes( from, to ) { |
| 62 |
copyAttribute( from, to, 'href' ); |
| 63 |
copyAttribute( from, to, 'title' ); |
| 64 |
|
| 65 |
if ( to.lastElementChild && from.lastElementChild ) { |
| 66 |
to.lastElementChild.textContent = from.lastElementChild.textContent || ''; |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
function suffixStickyAttribute( node, attribute ) { |
| 78 |
const value = node.getAttribute( attribute ); |
| 79 |
if ( value ) { |
| 80 |
node.setAttribute( attribute, value + STICKY_HEADER_APPENDED_ID ); |
| 81 |
} |
| 82 |
} |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
function suffixStickyHref( node ) { |
| 94 |
const url = new URL( node.href ); |
| 95 |
if ( url && !url.searchParams.has( STICKY_HEADER_APPENDED_PARAM[ 0 ] ) ) { |
| 96 |
url.searchParams.append( |
| 97 |
STICKY_HEADER_APPENDED_PARAM[ 0 ], STICKY_HEADER_APPENDED_PARAM[ 1 ] |
| 98 |
); |
| 99 |
node.href = url.toString(); |
| 100 |
} |
| 101 |
} |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
function unsuffixStickyHref( node ) { |
| 109 |
const url = new URL( node.href ); |
| 110 |
url.searchParams.delete( STICKY_HEADER_APPENDED_PARAM[ 0 ] ); |
| 111 |
node.href = url.toString(); |
| 112 |
} |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
function makeNodeTrackable( node ) { |
| 120 |
suffixStickyAttribute( node, 'id' ); |
| 121 |
suffixStickyAttribute( node, 'data-event-name' ); |
| 122 |
} |
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
function removeNode( node ) { |
| 128 |
if ( node.parentNode ) { |
| 129 |
node.parentNode.removeChild( node ); |
| 130 |
} |
| 131 |
} |
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
function updateStickyWatchlink( watchLink, isWatched ) { |
| 140 |
watchLink.setAttribute( 'data-event-name', isWatched ? 'watch-sticky-header' : 'unwatch-sticky-header' ); |
| 141 |
} |
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
function removeClassFromNodes( nodes, className ) { |
| 148 |
Array.prototype.forEach.call( nodes, ( node ) => { |
| 149 |
node.classList.remove( className ); |
| 150 |
} ); |
| 151 |
} |
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
function removeNodes( nodes ) { |
| 157 |
Array.prototype.forEach.call( nodes, ( node ) => { |
| 158 |
node.parentNode.removeChild( node ); |
| 159 |
} ); |
| 160 |
} |
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
function watchstarCallback( $link, isWatched ) { |
| 169 |
updateStickyWatchlink( ( $link[ 0 ] ), isWatched ); |
| 170 |
} |
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
function prepareIcons( header, history, talk, subject, watch ) { |
| 182 |
const historySticky = header.querySelector( '#ca-history-sticky-header' ), |
| 183 |
talkSticky = header.querySelector( '#ca-talk-sticky-header' ), |
| 184 |
subjectSticky = header.querySelector( '#ca-subject-sticky-header' ), |
| 185 |
watchSticky = header.querySelector( '#ca-watchstar-sticky-header' ); |
| 186 |
|
| 187 |
if ( !historySticky || !talkSticky || !subjectSticky || !watchSticky ) { |
| 188 |
throw new Error( 'Sticky header has unexpected HTML' ); |
| 189 |
} |
| 190 |
|
| 191 |
if ( history ) { |
| 192 |
copyButtonAttributes( history, historySticky ); |
| 193 |
} else { |
| 194 |
removeNode( historySticky ); |
| 195 |
} |
| 196 |
|
| 197 |
if ( talk ) { |
| 198 |
copyButtonAttributes( talk, talkSticky ); |
| 199 |
} else { |
| 200 |
removeNode( talkSticky ); |
| 201 |
} |
| 202 |
|
| 203 |
if ( subject ) { |
| 204 |
copyButtonAttributes( subject, subjectSticky ); |
| 205 |
} else { |
| 206 |
removeNode( subjectSticky ); |
| 207 |
} |
| 208 |
|
| 209 |
if ( watch && watch.parentNode instanceof Element ) { |
| 210 |
const watchContainer = watch.parentNode; |
| 211 |
const isTemporaryWatch = watchContainer.classList.contains( 'mw-watchlink-temp' ); |
| 212 |
const isWatched = isTemporaryWatch || watchContainer.getAttribute( 'id' ) === 'ca-unwatch'; |
| 213 |
const watchIcon = ( watchSticky.querySelector( '.vector-icon' ) ); |
| 214 |
|
| 215 |
|
| 216 |
copyButtonAttributes( watch, watchSticky ); |
| 217 |
updateWatchIcon( watchIcon, isWatched, isTemporaryWatch ? '' : 'infinity' ); |
| 218 |
updateStickyWatchlink( watchSticky, isWatched ); |
| 219 |
|
| 220 |
const watchLib = require( ( 'mediawiki.page.watch.ajax' ) ); |
| 221 |
|
| 222 |
|
| 223 |
watchLib.watchstar( $( watchSticky ), mw.config.get( 'wgRelevantPageName' ), watchstarCallback ); |
| 224 |
} else { |
| 225 |
removeNode( watchSticky ); |
| 226 |
} |
| 227 |
} |
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
function prepareEditIcons( |
| 241 |
header, |
| 242 |
primaryEdit, |
| 243 |
isProtected, |
| 244 |
secondaryEdit, |
| 245 |
addSection, |
| 246 |
disableStickyHeader |
| 247 |
) { |
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
const getAnchorElement = ( selector ) => header.querySelector( selector ); |
| 253 |
const |
| 254 |
primaryEditSticky = getAnchorElement( |
| 255 |
'#ca-ve-edit-sticky-header' |
| 256 |
), |
| 257 |
protectedSticky = getAnchorElement( |
| 258 |
'#ca-viewsource-sticky-header' |
| 259 |
), |
| 260 |
wikitextSticky = getAnchorElement( |
| 261 |
'#ca-edit-sticky-header' |
| 262 |
), |
| 263 |
addSectionSticky = getAnchorElement( |
| 264 |
'#ca-addsection-sticky-header' |
| 265 |
); |
| 266 |
|
| 267 |
if ( addSectionSticky ) { |
| 268 |
if ( addSection ) { |
| 269 |
copyButtonAttributes( addSection, addSectionSticky ); |
| 270 |
suffixStickyHref( addSectionSticky ); |
| 271 |
} else { |
| 272 |
removeNode( addSectionSticky ); |
| 273 |
} |
| 274 |
} |
| 275 |
|
| 276 |
|
| 277 |
if ( !primaryEditSticky || !wikitextSticky || !protectedSticky ) { |
| 278 |
return; |
| 279 |
} |
| 280 |
|
| 281 |
if ( !primaryEdit ) { |
| 282 |
removeNode( protectedSticky ); |
| 283 |
removeNode( wikitextSticky ); |
| 284 |
removeNode( primaryEditSticky ); |
| 285 |
return; |
| 286 |
} else if ( isProtected ) { |
| 287 |
removeNode( wikitextSticky ); |
| 288 |
removeNode( primaryEditSticky ); |
| 289 |
copyButtonAttributes( primaryEdit, protectedSticky ); |
| 290 |
suffixStickyHref( protectedSticky ); |
| 291 |
} else { |
| 292 |
removeNode( protectedSticky ); |
| 293 |
copyButtonAttributes( primaryEdit, primaryEditSticky ); |
| 294 |
suffixStickyHref( primaryEditSticky ); |
| 295 |
|
| 296 |
primaryEditSticky.addEventListener( 'click', ( ev ) => { |
| 297 |
const target = ev.target; |
| 298 |
|
| 299 |
|
| 300 |
const $ve = $( primaryEdit ); |
| 301 |
if ( target && $ve.length ) { |
| 302 |
const link = ( $ve[ 0 ] ); |
| 303 |
|
| 304 |
const event = $.Event( 'click' ); |
| 305 |
suffixStickyHref( link ); |
| 306 |
|
| 307 |
$ve.trigger( event ); |
| 308 |
unsuffixStickyHref( link ); |
| 309 |
|
| 310 |
if ( event.isDefaultPrevented() ) { |
| 311 |
disableStickyHeader(); |
| 312 |
ev.preventDefault(); |
| 313 |
} |
| 314 |
} |
| 315 |
} ); |
| 316 |
if ( secondaryEdit ) { |
| 317 |
copyButtonAttributes( secondaryEdit, wikitextSticky ); |
| 318 |
suffixStickyHref( wikitextSticky ); |
| 319 |
wikitextSticky.addEventListener( 'click', ( ev ) => { |
| 320 |
const target = ev.target; |
| 321 |
if ( target ) { |
| 322 |
|
| 323 |
|
| 324 |
const $edit = $( secondaryEdit ); |
| 325 |
if ( $edit.length ) { |
| 326 |
const link = ( $edit[ 0 ] ); |
| 327 |
|
| 328 |
const event = $.Event( 'click' ); |
| 329 |
suffixStickyHref( link ); |
| 330 |
|
| 331 |
$edit.trigger( event ); |
| 332 |
unsuffixStickyHref( link ); |
| 333 |
|
| 334 |
if ( event.isDefaultPrevented() ) { |
| 335 |
disableStickyHeader(); |
| 336 |
ev.preventDefault(); |
| 337 |
} |
| 338 |
} |
| 339 |
} |
| 340 |
} ); |
| 341 |
} else { |
| 342 |
removeNode( wikitextSticky ); |
| 343 |
} |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
function isInViewport( element ) { |
| 354 |
const rect = element.getBoundingClientRect(); |
| 355 |
return ( |
| 356 |
rect.top >= 0 && |
| 357 |
rect.left >= 0 && |
| 358 |
rect.bottom <= ( window.innerHeight || document.documentElement.clientHeight ) && |
| 359 |
rect.right <= ( window.innerWidth || document.documentElement.clientWidth ) |
| 360 |
); |
| 361 |
} |
| 362 |
|
| 363 |
|
| 364 |
|
| 365 |
|
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
function addVisualEditorHooks( stickyIntersection, observer ) { |
| 370 |
|
| 371 |
mw.hook( 've.activationStart' ).add( () => { |
| 372 |
hide(); |
| 373 |
observer.unobserve( stickyIntersection ); |
| 374 |
} ); |
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
mw.hook( 've.deactivationComplete' ).add( () => { |
| 379 |
|
| 380 |
|
| 381 |
requestAnimationFrame( () => { |
| 382 |
observer.observe( stickyIntersection ); |
| 383 |
} ); |
| 384 |
} ); |
| 385 |
|
| 386 |
|
| 387 |
mw.hook( 'postEdit.afterRemoval' ).add( () => { |
| 388 |
if ( !isInViewport( stickyIntersection ) ) { |
| 389 |
show(); |
| 390 |
observer.observe( stickyIntersection ); |
| 391 |
} |
| 392 |
} ); |
| 393 |
} |
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
function prepareUserLinksDropdown( userLinksDropdown ) { |
| 405 |
const |
| 406 |
|
| 407 |
userLinksDropdownClone = ( userLinksDropdown.cloneNode( true ) ), |
| 408 |
userLinksDropdownStickyElementsWithIds = userLinksDropdownClone.querySelectorAll( '[ id ], [ data-event-name ]' ); |
| 409 |
|
| 410 |
makeNodeTrackable( userLinksDropdownClone ); |
| 411 |
userLinksDropdownStickyElementsWithIds.forEach( makeNodeTrackable ); |
| 412 |
|
| 413 |
removeNodes( userLinksDropdownClone.querySelectorAll( '.mw-list-item-js' ) ); |
| 414 |
removeClassFromNodes( |
| 415 |
userLinksDropdownClone.querySelectorAll( '.user-links-collapsible-item' ), |
| 416 |
'user-links-collapsible-item' |
| 417 |
); |
| 418 |
|
| 419 |
const userLinksDropdownCheckbox = userLinksDropdownClone.querySelector( 'input' ); |
| 420 |
if ( userLinksDropdownCheckbox ) { |
| 421 |
userLinksDropdownCheckbox.setAttribute( 'tabindex', '-1' ); |
| 422 |
} |
| 423 |
|
| 424 |
|
| 425 |
const logoutLink = ( userLinksDropdownClone.querySelector( '#pt-logout-sticky-header a' ) ); |
| 426 |
if ( logoutLink ) { |
| 427 |
logoutLink.addEventListener( 'click', ( ev ) => { |
| 428 |
ev.preventDefault(); |
| 429 |
mw.hook( 'skin.logout' ).fire( logoutLink.href ); |
| 430 |
} ); |
| 431 |
} |
| 432 |
return userLinksDropdownClone; |
| 433 |
} |
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
|
| 439 |
|
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
function makeStickyHeaderFunctional( |
| 444 |
header, |
| 445 |
userLinksDropdown, |
| 446 |
stickyObserver, |
| 447 |
stickyIntersection |
| 448 |
) { |
| 449 |
const userLinksDropdownStickyContainer = document.querySelector( |
| 450 |
STICKY_HEADER_USER_MENU_CONTAINER_SELECTOR |
| 451 |
); |
| 452 |
|
| 453 |
|
| 454 |
if ( userLinksDropdownStickyContainer ) { |
| 455 |
const clonedUserLinksDropdown = prepareUserLinksDropdown( userLinksDropdown ); |
| 456 |
userLinksDropdownStickyContainer.appendChild( clonedUserLinksDropdown ); |
| 457 |
} |
| 458 |
|
| 459 |
let namespaceName = mw.config.get( 'wgCanonicalNamespace' ); |
| 460 |
const namespaceNumber = mw.config.get( 'wgNamespaceNumber' ); |
| 461 |
if ( namespaceNumber >= 0 && namespaceNumber % 2 === 1 ) { |
| 462 |
|
| 463 |
namespaceName = namespaceName.slice( 0, -5 ); |
| 464 |
} |
| 465 |
|
| 466 |
let namespaceKey = namespaceName.toLowerCase() || 'main'; |
| 467 |
if ( namespaceKey === 'file' ) { |
| 468 |
namespaceKey = 'image'; |
| 469 |
} |
| 470 |
const namespaceTabId = 'ca-nstab-' + namespaceKey; |
| 471 |
|
| 472 |
prepareIcons( header, |
| 473 |
document.querySelector( '#ca-history a' ), |
| 474 |
document.querySelector( '#ca-talk:not( .selected ) a' ), |
| 475 |
document.querySelector( '#' + namespaceTabId + ':not( .selected ) a' ), |
| 476 |
document.querySelector( '#ca-watch a, #ca-unwatch a' ) |
| 477 |
); |
| 478 |
|
| 479 |
const veEdit = document.querySelector( '#ca-ve-edit a' ); |
| 480 |
const ceEdit = document.querySelector( '#ca-edit a' ); |
| 481 |
const protectedEdit = document.querySelector( '#ca-viewsource a' ); |
| 482 |
const isProtected = !!protectedEdit; |
| 483 |
|
| 484 |
|
| 485 |
const primaryEdit = protectedEdit || veEdit || ceEdit; |
| 486 |
const secondaryEdit = veEdit ? ceEdit : null; |
| 487 |
const disableStickyHeader = () => { |
| 488 |
document.body.classList.remove( STICKY_HEADER_VISIBLE_CLASS ); |
| 489 |
stickyObserver.unobserve( stickyIntersection ); |
| 490 |
}; |
| 491 |
|
| 492 |
const addSection = document.querySelector( '#ca-addsection a' ) || document.querySelector( 'a#ca-addsection' ); |
| 493 |
|
| 494 |
prepareEditIcons( |
| 495 |
header, |
| 496 |
primaryEdit, |
| 497 |
isProtected, |
| 498 |
secondaryEdit, |
| 499 |
addSection, |
| 500 |
disableStickyHeader |
| 501 |
); |
| 502 |
|
| 503 |
stickyObserver.observe( stickyIntersection ); |
| 504 |
} |
| 505 |
|
| 506 |
|
| 507 |
|
| 508 |
|
| 509 |
function setupSearchIfNeeded( header ) { |
| 510 |
const |
| 511 |
searchToggle = header.querySelector( SEARCH_TOGGLE_SELECTOR ); |
| 512 |
|
| 513 |
if ( !document.body.classList.contains( 'skin-vector-search-vue' ) ) { |
| 514 |
return; |
| 515 |
} |
| 516 |
|
| 517 |
if ( searchToggle ) { |
| 518 |
initSearchToggle( searchToggle ); |
| 519 |
} |
| 520 |
} |
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
function isAllowedNamespace( namespaceNumber ) { |
| 529 |
|
| 530 |
const allowedNamespaceNumbers = [ 0, 2, 4, 10, 12, 14, 100, 828 ]; |
| 531 |
|
| 532 |
const isAllowedTalk = namespaceNumber > 0 && namespaceNumber % 2 !== 0; |
| 533 |
return isAllowedTalk || allowedNamespaceNumbers.indexOf( namespaceNumber ) > -1; |
| 534 |
} |
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
function isAllowedAction( action ) { |
| 543 |
const disallowedActions = [ 'history', 'edit' ], |
| 544 |
hasDiffId = mw.config.get( 'wgDiffOldId' ); |
| 545 |
return disallowedActions.indexOf( action ) < 0 && !hasDiffId; |
| 546 |
} |
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
function initStickyHeader( props ) { |
| 560 |
makeStickyHeaderFunctional( |
| 561 |
props.header, |
| 562 |
props.userLinksDropdown, |
| 563 |
props.observer, |
| 564 |
props.stickyIntersection |
| 565 |
); |
| 566 |
|
| 567 |
setupSearchIfNeeded( props.header ); |
| 568 |
addVisualEditorHooks( props.stickyIntersection, props.observer ); |
| 569 |
|
| 570 |
|
| 571 |
mw.hook( 'mw.uls.compact_language_links.open' ).add( ( $trigger ) => { |
| 572 |
const trigger = $trigger[ 0 ]; |
| 573 |
if ( trigger.id !== 'p-lang-btn-sticky-header' ) { |
| 574 |
const bodyClassList = document.body.classList; |
| 575 |
bodyClassList.remove( ULS_HIDE_CLASS ); |
| 576 |
bodyClassList.remove( ULS_STICKY_CLASS ); |
| 577 |
} |
| 578 |
} ); |
| 579 |
|
| 580 |
|
| 581 |
const langBtn = props.header.querySelector( '#p-lang-btn-sticky-header' ); |
| 582 |
if ( langBtn ) { |
| 583 |
langBtn.addEventListener( 'click', () => { |
| 584 |
const bodyClassList = document.body.classList; |
| 585 |
bodyClassList.remove( ULS_HIDE_CLASS ); |
| 586 |
bodyClassList.add( ULS_STICKY_CLASS ); |
| 587 |
} ); |
| 588 |
} |
| 589 |
} |
| 590 |
|
| 591 |
module.exports = { |
| 592 |
show, |
| 593 |
hide, |
| 594 |
prepareUserLinksDropdown, |
| 595 |
isAllowedNamespace, |
| 596 |
isAllowedAction, |
| 597 |
initStickyHeader, |
| 598 |
STICKY_HEADER_ID, |
| 599 |
FIRST_HEADING_ID, |
| 600 |
USER_LINKS_DROPDOWN_ID, |
| 601 |
STICKY_HEADER_EXPERIMENT_NAME |
| 602 |
}; |