PageSourceSearch

https://www.experimentarium.dk/wp-content/themes/experimentarium/a…/modernizr-custom.min.js?r=623178a7

js experimentarium.dk collected 2026-10-02 03:12:29 UTC 4,830 bytes, 3 lines download raw bytes

1(()=>{(function(d,v,w){function h(e,t){return typeof e===t}function q(){var e,t,n,r,o,a,s;for(var c in C)if(C.hasOwnProperty(c)){if(e=[],t=C[c],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=h(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)a=e[o],s=a.split("."),s.length===1?i[s[0]]=r:(!i[s[0]]||i[s[0]]instanceof Boolean||(i[s[0]]=new Boolean(i[s[0]])),i[s[0]][s[1]]=r),z.push((r?"":"no-")+s.join("-"))}}function A(e){var t=y.className,n=i._config.classPrefix||"";if(S&&(t=t.baseVal),i._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}i._config.enableClasses&&(t+=" "+n+e.join(" "+n),S?y.className.baseVal=t:y.className=t)}function b(e){return e.replace(/([a-z])-([a-z])/g,function(t,n,r){return n+r.toUpperCase()}).replace(/^-/,"")}function O(e,t){return!!~(""+e).indexOf(t)}function m(){return typeof v.createElement!="function"?v.createElement(arguments[0]):S?v.createElementNS.call(v,"http://www.w3.org/2000/svg",arguments[0]):v.createElement.apply(v,arguments)}function R(e,t){return function(){return e.apply(t,arguments)}}function U(e,t,n){var r;for(var o in e)if(e[o]in t)return n===!1?e[o]:(r=t[e[o]],h(r,"function")?R(r,n||t):r);return!1}function j(e){return e.replace(/([A-Z])/g,function(t,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function M(e,t,n){var r;if("getComputedStyle"in d){r=getComputedStyle.call(d,e,t);var o=d.console;if(r!==null)n&&(r=r.getPropertyValue(n));else if(o){var a=o.error?"error":"log";o[a].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else r=!t&&e.currentStyle&&e.currentStyle[n];return r}function V(){var e=v.body;return e||(e=m(S?"svg":"body"),e.fake=!0),e}function $(e,t,n,r){var o,a,s,c,g="modernizr",l=m("div"),f=V();if(parseInt(n,10))for(;n--;)s=m("div"),s.id=r?r[n]:g+(n+1),l.appendChild(s);return o=m("style"),o.type="text/css",o.id="s"+g,(f.fake?f:l).appendChild(o),f.appendChild(l),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(v.createTextNode(e)),l.id=g,f.fake&&(f.style.background="",f.style.overflow="hidden",c=y.style.overflow,y.style.overflow="hidden",y.appendChild(f)),a=t(l,e),f.fake?(f.parentNode.removeChild(f),y.style.overflow=c,y.offsetHeight):l.parentNode.removeChild(l),!!a}function B(e,t){var n=e.length;if("CSS"in d&&"supports"in d.CSS){for(;n--;)if(d.CSS.supports(j(e[n]),t))return!0;return!1}if("CSSSupportsRule"in d){for(var r=[];n--;)r.push("("+j(e[n])+":"+t+")");return r=r.join(" or "),$("@supports ("+r+") { #modernizr { position: absolute; } }",function(o){return M(o,null,"position")=="absolute"})}return w}function J(e,t,n,r){function o(){s&&(delete u.style,delete u.modElem)}if(r=h(r,"undefined")?!1:r,!h(n,"undefined")){var a=B(e,n);if(!h(a,"undefined"))return a}for(var s,c,g,l,f,T=["modernizr","tspan","samp"];!u.style&&T.length;)s=!0,u.modElem=m(T.shift()),u.style=u.modElem.style;for(g=e.length,c=0;g>c;c++)if(l=e[c],f=u.style[l],O(l,"-")&&(l=b(l)),u.style[l]!==w){if(r||h(n,"undefined"))return o(),t=="pfx"?l:!0;try{u.style[l]=n}catch{}if(u.style[l]!=f)return o(),t=="pfx"?l:!0}return o(),!1}function x(e,t,n,r,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+P.join(a+" ")+a).split(" ");return h(t,"string")||h(t,"undefined")?J(s,t,r,o):(s=(e+" "+L.join(a+" ")+a).split(" "),U(s,t,n))}var z=[],C=[],p={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){C.push({name:e,fn:t,options:n})},addAsyncTest:function(e){C.push({name:null,fn:e})}},i=function(){};i.prototype=p,i=new i;var y=v.documentElement,S=y.nodeName.toLowerCase()==="svg",E="Moz O ms Webkit",P=p._config.usePrefixes?E.split(" "):[];p._cssomPrefixes=P;var N=function(e){var t,n=prefixes.length,r=d.CSSRule;if(typeof r>"u")return w;if(!e)return!1;if(e=e.replace(/^@/,""),t=e.replace(/-/g,"_").toUpperCase()+"_RULE",t in r)return"@"+e;for(var o=0;n>o;o++){var a=prefixes[o],s=a.toUpperCase()+"_"+t;if(s in r)return"@-"+a.toLowerCase()+"-"+e}return!1};p.atRule=N;var L=p._config.usePrefixes?E.toLowerCase().split(" "):[];p._domPrefixes=L;var k={elem:m("modernizr")};i._q.push(function(){delete k.elem});var u={style:k.elem.style};i._q.unshift(function(){delete u.style}),p.testAllProps=x;var F=p.prefixed=function(e,t,n){return e.indexOf("@")===0?N(e):(e.indexOf("-")!=-1&&(e=b(e)),t?x(e,t,n):x(e,"pfx"))};i.addTest("objectfit",!!F("objectFit"),{aliases:["object-fit"]}),q(),A(z),delete p.addTest,delete p.addAsyncTest;for(var _=0;_<i._q.length;_++)i._q[_]();d.Modernizr=i})(window,document);})();
2/*! modernizr 3.5.0 (Custom Build) | MIT *
3 * https://modernizr.com/download/?-objectfit-setclasses !*/

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.