PageSourceSearch

https://www.tana.al/public/index.php?url=js-css/js-common&f=01modernizr-1.7-min.js&min=0&sid=1743598167

js tana.al collected 2026-10-02 01:12:36 UTC 8,836 bytes, 1 lines download raw bytes

1/* */window.Modernizr=function(e,t,n){function r(e,t){var n=e.charAt(0).toUpperCase()+e.substr(1);return!!o((e+" "+b.join(n+" ")+n).split(" "),t)}function o(e,t){for(var r in e)if(p[e[r]]!==n&&(!t||t(e[r],f)))return!0}function a(e,t){return-1!==(""+e).indexOf(t)}function i(e,t){return typeof e===t}function c(e){p.cssText=e}var s,u,l={},d=t.documentElement,m=t.head||t.getElementsByTagName("head")[0],f=t.createElement("modernizr"),p=f.style,h=t.createElement("input"),g=":)",v=Object.prototype.toString,y=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),b="Webkit Moz O ms Khtml".split(" "),x="http://www.w3.org/2000/svg",w={},C={},E={},T=[],k=function(e){var n,r=t.createElement("style"),o=t.createElement("div");return r.textContent=e+"{#modernizr{height:3px}}",m.appendChild(r),o.id="modernizr",d.appendChild(o),n=3===o.offsetHeight,r.parentNode.removeChild(r),o.parentNode.removeChild(o),!!n},S=function(){var e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(r,o){o=o||t.createElement(e[r]||"div");var a=(r="on"+r)in o;return a||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(r,""),a=i(o[r],"function"),i(o[r],n)||(o[r]=n),o.removeAttribute(r))),o=null,a}}(),P={}.hasOwnProperty;for(var N in u=i(P,n)||i(P.call,n)?function(e,t){return t in e&&i(e.constructor.prototype[t],n)}:function(e,t){return P.call(e,t)},w.flexbox=function(){var e=t.createElement("div"),n=t.createElement("div");(function(e,t,n,r){t+=":",e.style.cssText=(t+y.join(n+";"+t)).slice(0,-t.length)+(r||"")})(e,"display","box","width:42px;padding:0;"),function(e,t,n,r){e.style.cssText=y.join(t+":"+n+";")+(r||"")}(n,"box-flex","1","width:10px;"),e.appendChild(n),d.appendChild(e);var r=42===n.offsetWidth;return e.removeChild(n),d.removeChild(e),r},w.canvas=function(){var e=t.createElement("canvas");return e.getContext&&e.getContext("2d")},w.canvastext=function(){return l.canvas&&i(t.createElement("canvas").getContext("2d").fillText,"function")},w.webgl=function(){return!!e.WebGLRenderingContext},w.touch=function(){return"ontouchstart"in e||k("@media ("+y.join("touch-enabled),(")+"modernizr)")},w.geolocation=function(){return!!navigator.geolocation},w.postmessage=function(){return!!e.postMessage},w.websqldatabase=function(){return!!e.openDatabase},w.indexedDB=function(){for(var t=-1,n=b.length;++t<n;){var r=b[t].toLowerCase();if(e[r+"_indexedDB"]||e[r+"IndexedDB"])return!0}return!1},w.hashchange=function(){return S("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},w.history=function(){return!(!e.history||!history.pushState)},w.draganddrop=function(){return S("dragstart")&&S("drop")},w.websockets=function(){return"WebSocket"in e},w.rgba=function(){return c("background-color:rgba(150,255,150,.5)"),a(p.backgroundColor,"rgba")},w.hsla=function(){return c("background-color:hsla(120,40%,100%,.5)"),a(p.backgroundColor,"rgba")||a(p.backgroundColor,"hsla")},w.multiplebgs=function(){return c("background:url(//:),url(//:),red url(//:)"),new RegExp("(url\\s*\\(.*?){3}").test(p.background)},w.backgroundsize=function(){return r("backgroundSize")},w.borderimage=function(){return r("borderImage")},w.borderradius=function(){return r("borderRadius","")},w.boxshadow=function(){return r("boxShadow")},w.textshadow=function(){return""===t.createElement("div").style.textShadow},w.opacity=function(){var e,t;return e="opacity:.55",c(y.join(e+";")+(t||"")),/^0.55$/.test(p.opacity)},w.cssanimations=function(){return r("animationName")},w.csscolumns=function(){return r("columnCount")},w.cssgradients=function(){var e="background-image:";return c((e+y.join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+y.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),a(p.backgroundImage,"gradient")},w.cssreflections=function(){return r("boxReflect")},w.csstransforms=function(){return!!o(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},w.csstransforms3d=function(){var e=!!o(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);return e&&"webkitPerspective"in d.style&&(e=k("@media ("+y.join("transform-3d),(")+"modernizr)")),e},w.csstransitions=function(){return r("transitionProperty")},w.fontface=function(){var e,n,r=m||d,o=t.createElement("style"),a=t.implementation||{hasFeature:function(){return!1}};o.type="text/css",r.insertBefore(o,r.firstChild),e=o.sheet||o.styleSheet;var i=a.hasFeature("CSS2","")?function(t){if(!e||!t)return!1;var n=!1;try{e.insertRule(t,0),n=/src/i.test(e.cssRules[0].cssText),e.deleteRule(e.cssRules.length-1)}catch(e){}return n}:function(t){return!(!e||!t)&&(e.cssText=t,0!==e.cssText.length&&/src/i.test(e.cssText)&&0===e.cssText.replace(/\r+|\n+/g,"").indexOf(t.split(" ")[0]))};return n=i('@font-face { font-family: "font"; src: url(data:,); }'),r.removeChild(o),n},w.video=function(){var e=t.createElement("video"),n=!!e.canPlayType;if(n){(n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"');var r='video/mp4; codecs="avc1.42E01E';n.h264=e.canPlayType(r+'"')||e.canPlayType(r+', mp4a.40.2"'),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"')}return n},w.audio=function(){var e=t.createElement("audio"),n=!!e.canPlayType;return n&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"'),n.mp3=e.canPlayType("audio/mpeg;"),n.wav=e.canPlayType('audio/wav; codecs="1"'),n.m4a=e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")),n},w.localstorage=function(){try{return!!localStorage.getItem}catch(e){return!1}},w.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(e){return!1}},w.webWorkers=function(){return!!e.Worker},w.applicationcache=function(){return!!e.applicationCache},w.svg=function(){return!!t.createElementNS&&!!t.createElementNS(x,"svg").createSVGRect},w.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>
1",(e.firstChild&&e.firstChild.namespaceURI)==x},w.smil=function(){return!!t.createElementNS&&/SVG/.test(v.call(t.createElementNS(x,"animate")))},w.svgclippaths=function(){return!!t.createElementNS&&/SVG/.test(v.call(t.createElementNS(x,"clipPath")))},w)u(w,N)&&(s=N.toLowerCase(),l[s]=w[N](),T.push((l[s]?"":"no-")+s));return l.input||(l.input=function(e){for(var t=0,n=e.length;t<n;t++)E[e[t]]=!!(e[t]in h);return E}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),l.inputtypes=function(e){for(var r,o,a,i=0,c=e.length;i<c;i++)h.setAttribute("type",o=e[i]),(r="text"!==h.type)&&(h.value=g,h.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&h.style.WebkitAppearance!==n?(d.appendChild(h),r=(a=t.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(h,null).WebkitAppearance&&0!==h.offsetHeight,d.removeChild(h)):/^(search|tel)$/.test(o)||(/^(url|email)$/.test(o)?r=h.checkValidity&&!1===h.checkValidity():/^color$/.test(o)?(d.appendChild(h),d.offsetWidth,r=h.value!=g,d.removeChild(h)):r=h.value!=g)),C[e[i]]=!!r;return C}("search tel url email datetime date month week time datetime-local number range color".split(" "))),l.crosswindowmessaging=l.postmessage,l.historymanagement=l.history,l.addTest=function(e,t){if(e=e.toLowerCase(),!l[e])return t=!!t(),d.className+=" "+(t?"":"no-")+e,l[e]=t,l},c(""),f=h=null,e.attachEvent&&function(){var e=t.createElement("div");return e.innerHTML="<elem></elem>",1!==e.childNodes.length}()&&function(e,t){function n(e){for(var t=-1;++t<i;)e.createElement(a[t])}var r,o="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",a=o.split("|"),i=a.length,c=new RegExp("(^|\\s)("+o+")","gi"),s=new RegExp("<(/*)("+o+")","gi"),u=new RegExp("(^|[^\\n]*?\\s)("+o+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=t.createDocumentFragment(),d=t.documentElement,m=d.firstChild,f=t.createElement("body"),p=t.createElement("style");n(t),n(l),m.insertBefore(p,m.firstChild),p.media="print",e.attachEvent("onbeforeprint",function(){var e,n=-1,o=function e(t,n){for(var r,o=-1,a=t.length,i=[];++o<a;)"screen"!=(n=(r=t[o]).media||n)&&i.push(e(r.imports,n),r.cssText);return i.join("")}(t.styleSheets,"all"),m=[];for(r=r||t.body;null!=(e=u.exec(o));)m.push((e[1]+e[2]+e[3]).replace(c,"$1.iepp_$2")+e[4]);for(p.styleSheet.cssText=m.join("\n");++n<i;)for(var h=t.getElementsByTagName(a[n]),g=h.length,v=-1;++v<g;)h[v].className.indexOf("iepp_")<0&&(h[v].className+=" iepp_"+a[n]);l.appendChild(r),d.appendChild(f),f.className=r.className,f.innerHTML=r.innerHTML.replace(s,"<$1font")}),e.attachEvent("onafterprint",function(){f.innerHTML="",d.removeChild(f),d.appendChild(r),p.styleSheet.cssText=""})}(e,t),l._enableHTML5=!0,l._version="1.7",d.className=d.className.replace(/\bno-js\b/,"")+" js "+T.join(" "),l}(this,this.document);

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.