PageSourceSearch

https://direktvertrieb.de/node_modules/bootstrap-detect-breakpoint…bootstrap-detect-breakpoint.js?v=2412031737

js direktvertrieb.de collected 2026-09-24 18:34:31 UTC 621 bytes, 15 lines download raw bytes

1const bootstrapDetectBreakpoint = function () {
2    const breakpointNames = ["xl", "lg", "md", "sm", "xs"]
3    let breakpointValues = []
4    for (const breakpointName of breakpointNames) {
5        breakpointValues[breakpointName] = window.getComputedStyle(document.documentElement).getPropertyValue('--breakpoint-' + breakpointName)
6    }
7    let i = breakpointNames.length
8    for (const breakpointName of breakpointNames) {
9        i--
10        if (window.matchMedia("(min-width: " + breakpointValues[breakpointName] + ")").matches) {
11            return {name: breakpointName, index: i}
12        }
13    }
14    return null
15}

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.