PageSourceSearch

https://dmo.gov.ng/media/koowa/framework/js/min/modernizr.js?3d4b11f6

js dmo.gov.ng collected 2026-10-02 14:37:04 UTC 11,873 bytes, 155 lines download raw bytes

vendor: 5,371 bytes, lines 1-16
1/*!
2 * modernizr v3.3.1
3 * Build http://modernizr.com/download?-appearance-boxshadow-checked-cssanimations-eventlistener-flexbox-flexboxlegacy-flexboxtweener-flexwrap-touchevents-prefixedcss-setclasses-shiv-dontmin-cssclassprefix:k-
4 *
5 * Copyright (c)
6 *  Faruk Ates
7 *  Paul Irish
8 *  Alex Sexton
9 *  Ryan Seddon
10 *  Patrick Kettner
11 *  Stu Cox
12 *  Richard Herrera
13
14 * MIT License
15 */
16!function(a,b,c){function d(a,b){return typeof a===b}function e(){var a,b,c,e,f,g,h;for(var i in s)if(s.hasOwnProperty(i)){if(a=[],b=s[i],b.name&&(a.push(b.name.toLowerCase()),b.options&&b.options.aliases&&b.options.aliases.length))for(c=0;c<b.options.aliases.length;c++)a.push(b.options.aliases[c].toLowerCase());for(e=d(b.fn,"function")?b.fn():b.fn,f=0;f<a.length;f++)g=a[f],h=g.split("."),1===h.length?u[h[0]]=e:(!u[h[0]]||u[h[0]]instanceof Boolean||(u[h[0]]=new Boolean(u[h[0]])),u[h[0]][h[1]]=e),v.push((e?"":"no-")+h.join("-"))}}function f(a){var b=w.className,c=u._config.classPrefix||"";if(x&&(b=b.baseVal),u._config.enableJSClass){var d=new RegExp("(^|\\s)"+c+"no-js(\\s|$)");b=b.replace(d,"$1"+c+"js$2")}u._config.enableClasses&&(b+=" "+c+a.join(" "+c),x?w.className.baseVal=b:w.className=b)}function g(a,b){return!!~(""+a).indexOf(b)}function h(){return"function"!=typeof b.createElement?b.createElement(arguments[0]):x?b.createElementNS.call(b,"http://www.w3.org/2000/svg",arguments[0]):b.createElement.apply(b,arguments)}function i(){var a=b.body;return a||(a=h(x?"svg":"body"),a.fake=!0),a}function j(a,c,d,e){var f,g,j,k,l="modernizr",m=h("div"),n=i();if(parseInt(d,10))for(;d--;)j=h("div"),j.id=e?e[d]:l+(d+1),m.appendChild(j);return f=h("style"),f.type="text/css",f.id="s"+l,(n.fake?n:m).appendChild(f),n.appendChild(m),f.styleSheet?f.styleSheet.cssText=a:f.appendChild(b.createTextNode(a)),m.id=l,n.fake&&(n.style.background="",n.style.overflow="hidden",k=w.style.overflow,w.style.overflow="hidden",w.appendChild(n)),g=c(m,a),n.fake?(n.parentNode.removeChild(n),w.style.overflow=k,w.offsetHeight):m.parentNode.removeChild(m),!!g}function k(a){return a.replace(/([A-Z])/g,function(a,b){return"-"+b.toLowerCase()}).replace(/^ms-/,"-ms-")}function l(b,d){var e=b.length;if("CSS"in a&&"supports"in a.CSS){for(;e--;)if(a.CSS.supports(k(b[e]),d))return!0;return!1}if("CSSSupportsRule"in a){for(var f=[];e--;)f.push("("+k(b[e])+":"+d+")");return f=f.join(" or "),j("@supports ("+f+") { #modernizr { position: absolute; } }",function(a){return"absolute"==getComputedStyle(a,null).position})}return c}function m(a){return a.replace(/([a-z])-([a-z])/g,function(a,b,c){return b+c.toUpperCase()}).replace(/^-/,"")}function n(a,b,e,f){function i(){k&&(delete B.style,delete B.modElem)}if(f=!d(f,"undefined")&&f,!d(e,"undefined")){var j=l(a,e);if(!d(j,"undefined"))return j}for(var k,n,o,p,q,r=["modernizr","tspan"];!B.style;)k=!0,B.modElem=h(r.shift()),B.style=B.modElem.style;for(o=a.length,n=0;n<o;n++)if(p=a[n],q=B.style[p],g(p,"-")&&(p=m(p)),B.style[p]!==c){if(f||d(e,"undefined"))return i(),"pfx"!=b||p;try{B.style[p]=e}catch(a){}if(B.style[p]!=q)return i(),"pfx"!=b||p}return i(),!1}function o(a,b){return function(){return a.apply(b,arguments)}}function p(a,b,c){var e;for(var f in a)if(a[f]in b)return c===!1?a[f]:(e=b[a[f]],d(e,"function")?o(e,c||b):e);return!1}function q(a,b,c,e,f){var g=a.charAt(0).toUpperCase()+a.slice(1),h=(a+" "+z.join(g+" ")+g).split(" ");return d(b,"string")||d(b,"undefined")?n(h,b,e,f):(h=(a+" "+C.join(g+" ")+g).split(" "),p(h,b,c))}function r(a,b,d){return q(a,c,c,b,d)}var s=[],t={_version:"3.3.1",_config:{classPrefix:"k-",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(a,b){var c=this;setTimeout(function(){b(c[a])},0)},addTest:function(a,b,c){s.push({name:a,fn:b,options:c})},addAsyncTest:function(a){s.push({name:null,fn:a})}},u=function(){};u.prototype=t,u=new u;var v=[],w=b.documentElement,x="svg"===w.nodeName.toLowerCase();x||!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;g<i;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
16play:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(a){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof a?a:this,b);var y="Moz O ms Webkit",z=t._config.usePrefixes?y.split(" "):[];t._cssomPrefixes=z;var A={elem:h("modernizr")};u._q.push(function(){delete A.elem});var B={style:A.elem.style};u._q.unshift(function(){delete B.style});var C=t._config.usePrefixes?y.toLowerCase().split(" "):[];t._domPrefixes=C,t.testAllProps=q;var D=function(b){var d,e=G.length,f=a.CSSRule;if("undefined"==typeof f)return c;if(!b)return!1;if(b=b.replace(/^@/,""),d=b.replace(/-/g,"_").toUpperCase()+"_RULE",d in f)return"@"+b;for(var g=0;g<e;g++){var h=G[g],i=h.toUpperCase()+"_"+d;if(i in f)return"@-"+h.toLowerCase()+"-"+b}return!1};t.atRule=D;var E=t.prefixed=function(a,b,c){return 0===a.indexOf("@")?D(a):(a.indexOf("-")!=-1&&(a=m(a)),b?q(a,b,c):q(a,"pfx"))};t.prefixedCSS=function(a){var b=E(a);return b&&k(b)};/*!
17{
18  "name": "Event Listener",
19  "property": "eventlistener",
20  "authors": ["Andrew Betts (@triblondon)"],
21  "notes": [{
22    "name": "W3C Spec",
23    "href": "https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Registration-interfaces"
24  }],
25  "polyfills": ["eventlistener"]
26}
27!*/
28u.addTest("eventlistener","addEventListener"in a),t.testAllProps=r,/*!
29{
30  "name": "Appearance",
31  "property": "appearance",
32  "caniuse": "css-appearance",
33  "tags": ["css"],
34  "notes": [{
35    "name": "MDN documentation",
36    "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance"
37  },{
38    "name": "CSS-Tricks CSS Almanac: appearance",
39    "href": "https://css-tricks.com/almanac/properties/a/appearance/"
40  }]
41}
42!*/
43u.addTest("appearance",r("appearance")),/*!
44{
45  "name": "Box Shadow",
46  "property": "boxshadow",
47  "caniuse": "css-boxshadow",
48  "tags": ["css"],
49  "knownBugs": [
50    "WebOS false positives on this test.",
51    "The Kindle Silk browser false positives"
52  ]
53}
54!*/
55u.addTest("boxshadow",r("boxShadow","1px 1px",!0));var F=t.testStyles=j;/*!
56{
57  "name": "CSS :checked pseudo-selector",
58  "caniuse": "css-sel3",
59  "property": "checked",
60  "tags": ["css"],
61  "notes": [{
62    "name": "Related Github Issue",
63    "href": "https://github.com/Modernizr/Modernizr/pull/879"
64  }]
65}
66!*/
67u.addTest("checked",function(){return F("#modernizr {position:absolute} #modernizr input {margin-left:10px} #modernizr :checked {margin-left:20px;display:block}",function(a){var b=h("input");return b.setAttribute("type","checkbox"),b.setAttribute("checked","checked"),a.appendChild(b),20===b.offsetLeft})}),/*!
68{
69  "name": "CSS Animations",
70  "property": "cssanimations",
71  "caniuse": "css-animation",
72  "polyfills": ["transformie", "csssandpaper"],
73  "tags": ["css"],
74  "warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
75  "notes": [{
76    "name" : "Article: 'Dispelling the Android CSS animation myths'",
77    "href": "https://goo.gl/OGw5Gm"
78  }]
79}
80!*/
81u.addTest("cssanimations",r("animationName","a",!0)),/*!
82{
83  "name": "Flexbox",
84  "property": "flexbox",
85  "caniuse": "flexbox",
86  "tags": ["css"],
87  "notes": [{
88    "name": "The _new_ flexbox",
89    "href": "http://dev.w3.org/csswg/css3-flexbox"
90  }],
91  "warnings": [
92    "A `true` result for this detect does not imply that the `flex-wrap` property is supported; see the `flexwrap` detect."
93  ]
94}
95!*/
96u.addTest("flexbox",r("flexBasis","1px",!0)),/*!
97{
98  "name": "Flexbox (legacy)",
99  "property": "flexboxlegacy",
100  "tags": ["css"],
101  "polyfills": ["flexie"],
102  "notes": [{
103    "name": "The _old_ flexbox",
104    "href": "https://www.w3.org/TR/2009/WD-css3-flexbox-20090723/"
105  }]
106}
107!*/
108u.addTest("flexboxlegacy",r("boxDirection","reverse",!0)),/*!
109{
110  "name": "Flexbox (tweener)",
111  "property": "flexboxtweener",
112  "tags": ["css"],
113  "polyfills": ["flexie"],
114  "notes": [{
115    "name": "The _inbetween_ flexbox",
116    "href": "https://www.w3.org/TR/2011/WD-css3-flexbox-20111129/"
117  }],
118  "warnings": ["This represents an old syntax, not the latest standard syntax."]
119}
120!*/
121u.addTest("flexboxtweener",r("flexAlign","end",!0)),/*!
122{
123  "name": "Flex Line Wrapping",
124  "property": "flexwrap",
125  "tags": ["css", "flexbox"],
126  "notes": [{
127    "name": "W3C Flexible Box Layout spec",
128    "href": "http://dev.w3.org/csswg/css3-flexbox"
129  }],
130  "warnings": [
131    "Does not imply a modern implementation – see documentation."
132  ]
133}
134!*/
135u.addTest("flexwrap",r("flexWrap","wrap",!0));var G=t._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];t._prefixes=G,/*!
136{
137  "name": "Touch Events",
138  "property": "touchevents",
139  "caniuse" : "touch",
140  "tags": ["media", "attribute"],
141  "notes": [{
142    "name": "Touch Events spec",
143    "href": "https://www.w3.org/TR/2013/WD-touch-events-20130124/"
144  }],
145  "warnings": [
146    "Indicates if the browser supports the Touch Events spec, and does not necessarily reflect a touchscreen device"
147  ],
148  "knownBugs": [
149    "False-positive on some configurations of Nokia N900",
150    "False-positive on some BlackBerry 6.0 builds – https://github.com/Modernizr/Modernizr/issues/372#issuecomment-3112695"
151  ]
152}
153!*/
154u.addTest("touchevents",function(){var c;if("ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch)c=!0;else{var d=["@media (",G.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");F(d,function(a){c=9===a.offsetTop})}return c}),e(),f(v),delete t.addTest,delete t.addAsyncTest;for(var H=0;H<u._q.length;H++)u._q[H]();a.Modernizr=u}(window,document);
155//# sourceMappingURL=modernizr.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.