1/** 2 * @license 3 * Copyright The Lit Project 4 * Copyright 2021 Google LLC 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7const r=new URL(window.location.href),e=r.searchParams.get("mods"),n=n=>{if(e){const s=new URL(n,r);if(s.origin===r.origin)return s.searchParams.set("mods",e),s.href}return n},s=r=>null!==e&&e.split(" ").includes(r);export{e as MODS,n as addModsParameterToUrlIfNeeded,s as modEnabled};
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.