1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(()=>{const toolbarState=sessionStorage.getItem('Drupal.toolbar.toolbarState')?JSON.parse(sessionStorage.getItem('Drupal.toolbar.toolbarState')):false;const classesToAdd=['toolbar-loading','toolbar-anti-flicker'];if(toolbarState){const {orientation,hasActiveTab,isFixed,activeTray,activeTabId,isOriented,userButtonMinWidth}=toolbarState;classesToAdd.push(orientation?`toolbar-${orientation}`:'toolbar-horizontal');if(hasActiveTab!==false)classesToAdd.push('toolbar-tray-open');if(isFixed)classesToAdd.push('toolbar-fixed');if(isOriented)classesToAdd.push('toolbar-oriented');if(activeTray){const styleContent=` 3 .toolbar-loading #${activeTabId} { 4 background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); 5 } 6 .toolbar-loading #${activeTabId}-tray { 7 display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); 8 border-right: 1px solid #aaa; background-color: #f5f5f5; 9 z-index: 0; 10 } 11 .toolbar-loading.toolbar-vertical.toolbar-tray-open #${activeTabId}-tray { 12 width: 15rem; height: 100vh; 13 } 14 .toolbar-loading.toolbar-horizontal :not(#${activeTray}) > .toolbar-lining {opacity: 0}`;const style=document.createElement('style');style.textContent=styleContent;style.setAttribute('data-toolbar-anti-flicker-loading',true);document.querySelector('head').appendChild(style);if(userButtonMinWidth){const userButtonStyle=document.createElement('style');userButtonStyle.textContent=` 15 #toolbar-item-user {min-width: ${userButtonMinWidth}px;}`;document.querySelector('head').appendChild(userButtonStyle);}}}document.querySelector('html').classList.add(...classesToAdd);})();;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.