1import { someNav as l } from "./Navigation.js"; 2const a = () => { 3 const o = document.querySelector("[data-number-of-results-output]"), t = document.querySelector("[data-number-of-results-container]"), e = document.querySelector("[data-number-of-results]"); 4 !o || !e || (o.innerText = e.dataset.numberOfResults || "", t == null || t.classList.remove("hidden")); 5}, d = (o) => Array.from(o.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter( 6 (e) => e.offsetParent !== null && !e.hasAttribute("hidden") 7), i = "usercentrics-cmp-ui", u = "nwl-cmp-focus-styles", f = () => { 8 const o = document.getElementById(i); 9 if (!o) 10 return !1; 11 const t = o.shadowRoot; 12 if (!t) 13 return !1; 14 if (t.querySelector(`#${u}`)) 15 return !0; 16 const e = document.createElement("style"); 17 return e.id = u, e.textContent = ` 18 .links { 19 margin-bottom: 10px !important; 20 } 21 22 *:focus-visible, 23 *:focus { 24 outline: var(--color-nwl-blue-500) 2px groove !important; 25 outline-offset: 3px !important; 26 } 27 .main-wrapper, 28 .cmp-wrapper .cmp { 29 outline: none !important; 30 31 &:focus-visible, &:focus { 32 outline: none !important; 33 } 34 } 35 `, t.appendChild(e), !0; 36}, m = () => { 37 const o = [0, 50, 150, 350, 600]; 38 let t = !1; 39 const e = () => { 40 o.forEach((n) => setTimeout(() => f(), n)); 41 }, r = () => { 42 const n = document.getElementById(i); 43 if (!n) return; 44 const c = n.shadowRoot; 45 c && (e(), t || (t = !0, new MutationObserver(() => { 46 e(); 47 }).observe(c, { childList: !0, subtree: !0 }))); 48 }; 49 e(), new MutationObserver(r).observe(document.body, { childList: !0, subtree: !0 }), r(); 50}, b = () => { 51 const o = Array.from(document.querySelectorAll("dialog")); 52 o.length !== 0 && o.forEach((t) => { 53 t.addEventListener("keydown", (e) => { 54 if (e.key === "Escape") { 55 t.close(); 56 return; 57 } 58 if (e.key !== "Tab") return; 59 const r = d(t); 60 if (r.length === 0) return; 61 const s = r.indexOf(document.activeElement), n = r.length - 1; 62 e.shiftKey ? s <= 0 && (e.preventDefault(), r[n].focus()) : (s === -1 || s >= n) && (e.preventDefault(), r[0].focus()); 63 }); 64 }); 65}; 66b(); 67a(); 68m(); 69l();
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.