PageSourceSearch

https://cdn.congstar.de/libraries/@congstar/device-dependent-content/v2.0.1/device-dependent-content.js

js congstar.de collected 2026-09-24 08:48:18 UTC 1,481 bytes, 3 lines download raw bytes

1(function(i){typeof define=="function"&&define.amd?define(i):i()})(function(){"use strict";var i=document.createElement("style");i.textContent=`device-dependent-content{display:block;opacity:0;height:0;visibility:hidden;overflow:hidden}device-dependent-content.active{opacity:1;height:auto;visibility:visible;overflow:visible}
2`,document.head.appendChild(i);const d=()=>{const e=window.navigator.userAgent;if(/android/i.test(e))return"android";if(/iPad|iPhone|iPod/i.test(e)&&!window.MSStream)return"ios"},o={md:768,lg:1160,xl:1440},u=()=>{const e={mobile:"all and (max-width: "+(o.md-1)+"px)",tablet:"all and (min-width: "+o.md+"px) and (max-width: "+(o.lg-1)+"px)",desktop:"all and (min-width: "+o.lg+"px)"};if(window.matchMedia(e.mobile).matches)return"mobile";if(window.matchMedia(e.tablet).matches)return"tablet";if(window.matchMedia(e.desktop).matches){const t=d();return t==="android"||t==="ios"?"tablet":"desktop"}},a=(e,t)=>{if(!(!t||!t.length))return t.length===0||t[0]===""||e&&t.includes(e)},l=e=>{e.classList.add("active")};((e,t)=>{const h=document.querySelectorAll("[data-default-or-rule='match_device_types']"),c=document.querySelectorAll("[data-default-or-rule='default']");h.forEach(n=>{var r,s;const m=(r=n.getAttribute("data-os-type"))==null?void 0:r.split(","),f=(s=n.getAttribute("data-device-type"))==null?void 0:s.split(",");if(a(e,m)&&a(t,f)){l(n);return}}),c.length>0&&c.forEach(n=>l(n))})(d(),u())});
3//# sourceMappingURL=device-dependent-content.js.map

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.