1import {BootstrapWrapper} from 'sites/bootstrap_wrapper' 2 3export class ImpliedConsentLauncher { 4 static openImplicitConsentOffCanvas({contextBanner} = {}) { 5 const impliedConsentEl = document.getElementById('implied_consent_footer') 6 if (impliedConsentEl) { 7 if (contextBanner) impliedConsentEl.setAttribute('data-init--implied-consent-context-banner-text-value', contextBanner) 8 BootstrapWrapper.showOffcanvas(impliedConsentEl) 9 } 10 } 11}
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.