{"version":3,"sources":["webpack:///dashboard.head.bundle.js","webpack:///webpack/bootstrap 9699f0601e3555e1b59d","webpack:///./sitefiles/scripts/lib/modernizr.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","18","19","window","Modernizr","document","undefined","setCss","str","mStyle","cssText","setCssAll","str1","str2","prefixes","join","is","obj","type","contains","substr","indexOf","testProps","props","prefixed","prop","testDOMProps","elem","item","bind","testPropsAll","ucProp","charAt","toUpperCase","slice","cssomPrefixes","split","featureName","hasOwnProp","docElement","documentElement","mod","modElem","createElement","style","inputElem","smile","toString","omPrefixes","domPrefixes","toLowerCase","ns","svg","tests","inputs","attrs","classes","injectElementWithStyles","rule","callback","nodes","testnames","ret","node","docOverflow","div","body","fakeBody","parseInt","id","appendChild","innerHTML","background","overflow","parentNode","removeChild","testMediaQuery","mq","matchMedia","msMatchMedia","matches","bool","getComputedStyle","currentStyle","isEventSupported","eventName","element","TAGNAMES","isSupported","setAttribute","removeAttribute","select","change","submit","reset","error","load","abort","_hasOwnProperty","constructor","Function","that","target","this","TypeError","args","arguments","bound","F","self","result","apply","concat","getContext","fillText","WebGLRenderingContext","DocumentTouch","offsetTop","navigator","postMessage","openDatabase","documentMode","history","pushState","backgroundColor","test","textShadow","opacity","length","backgroundImage","offsetLeft","offsetHeight","getElementById","sheet","styleSheet","cssRules","canPlayType","Boolean","ogg","replace","h264","webm","e","mp3","wav","m4a","localStorage","setItem","removeItem","sessionStorage","Worker","applicationCache","createElementNS","createSVGRect","firstChild","namespaceURI","feature","push","input","len","list","HTMLDataListElement","inputElemType","defaultView","value","WebkitAppearance","checkValidity","addTest","key","className","addStyleSheet","ownerDocument","parent","getElementsByTagName","insertBefore","lastChild","getElements","elements","html5","getExpandoData","data","expandoData","expando","expanID","nodeName","supportsUnknownElements","cache","cloneNode","saveClones","createElem","canHaveChildren","reSkip","tagUrn","frag","createDocumentFragment","clone","elems","shivMethods","createFrag","shivDocument","shivCSS","supportsHtml5Styles","hasCSS","options","a","childNodes","version","_version","_prefixes","_domPrefixes","_cssomPrefixes","hasEvent","testProp","testAllProps","testStyles"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,mBAGAzB,IAAA0B,EAAA,MDMMC,GACA,SAAUvB,EAAQD,EAASH,GAEjCI,EAAOD,QAAUH,EAAoB,KAK/B4B,GACA,SAAUxB,EAAQD,IE3ExB,WA0BA0B,OAAAC,UAAA,SAAAD,EAAAE,EAAAC,GAwQA,QAAAC,GAAAC,GACAC,EAAAC,QAAAF,EAMA,QAAAG,GAAAC,EAAAC,GACA,MAAAN,GAAAO,EAAAC,KAAAH,EAAA,MAA6CC,GAAA,KAM7C,QAAAG,GAAAC,EAAAC,GACA,aAAAD,KAAAC,EAMA,QAAAC,GAAAX,EAAAY,GACA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AMAxE,EAAA+M,SAAA/H,EAOAhF,EAAAgN,SAAA,SAAA3L,GACA,MAAAH,IAAAG,KASArB,EAAAiN,aAAAvL,EAOA1B,EAAAkN,WAAA7J,EAwBArD,EAAAoB,SAAA,SAAAC,EAAAR,EAAAU,GACA,MAAAV,GAIAa,EAAAL,EAAAR,EAAAU,GAHAG,EAAAL,EAAA,QAWAc,EAAAkI,UAAAlI,EAAAkI,UAAA9B,QAAA,4BAGA,OAAAnF,EAAAzC,KAAA,KAGAX,GAECmG,UAAAlG,UAGD3B,EAAAD,QAAA0B,OAAAC,YACCvB,KAAAsB","file":"dashboard.head.bundle.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/sitefiles/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 18);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 18:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(19);\n\n\n/***/ }),\n\n/***/ 19:\n/***/ (function(module, exports) {\n\n/*** IMPORTS FROM imports-loader ***/\n(function() {\n\n/*!\r\n * Modernizr v2.8.3\r\n * www.modernizr.com\r\n *\r\n * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton\r\n * Available under the BSD and MIT licenses: www.modernizr.com/license/\r\n */\r\n\r\n/*\r\n * Modernizr tests which native CSS3 and HTML5 features are available in\r\n * the current UA and makes the results available to you in two ways:\r\n * as properties on a global Modernizr object, and as classes on the\r\n * element. This information allows you to progressively enhance\r\n * your pages with a granular level of control over the experience.\r\n *\r\n * Modernizr has an optional (not included) conditional resource loader\r\n * called Modernizr.load(), based on Yepnope.js (yepnopejs.com).\r\n * To get a build that includes Modernizr.load(), as well as choosing\r\n * which tests to include, go to www.modernizr.com/download/\r\n *\r\n * Authors Faruk Ates, Paul Irish, Alex Sexton\r\n * Contributors Ryan Seddon, Ben Alman\r\n */\r\n\r\nwindow.Modernizr = (function( window, document, undefined ) {\r\n\r\n var version = '2.8.3',\r\n\r\n Modernizr = {},\r\n\r\n /*>>cssclasses*/\r\n // option for enabling the HTML classes to be added\r\n enableClasses = true,\r\n /*>>cssclasses*/\r\n\r\n docElement = document.documentElement,\r\n\r\n /**\r\n * Create our \"modernizr\" element that we do most feature tests on.\r\n */\r\n mod = 'modernizr',\r\n modElem = document.createElement(mod),\r\n mStyle = modElem.style,\r\n\r\n /**\r\n * Create the input element for various Web Forms feature tests.\r\n */\r\n inputElem /*>>inputelem*/ = document.createElement('input') /*>>inputelem*/ ,\r\n\r\n /*>>smile*/\r\n smile = ':)',\r\n /*>>smile*/\r\n\r\n toString = {}.toString,\r\n\r\n // TODO :: make the prefixes more granular\r\n /*>>prefixes*/\r\n // List of property values to set for css tests. See ticket #21\r\n prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),\r\n /*>>prefixes*/\r\n\r\n /*>>domprefixes*/\r\n // Following spec is to expose vendor-specific style properties as:\r\n // elem.style.WebkitBorderRadius\r\n // and the following would be incorrect:\r\n // elem.style.webkitBorderRadius\r\n\r\n // Webkit ghosts their properties in lowercase but Opera & Moz do not.\r\n // Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+\r\n // erik.eae.net/archives/2008/03/10/21.48.10/\r\n\r\n // More here: github.com/Modernizr/Modernizr/issues/issue/21\r\n omPrefixes = 'Webkit Moz O ms',\r\n\r\n cssomPrefixes = omPrefixes.split(' '),\r\n\r\n domPrefixes = omPrefixes.toLowerCase().split(' '),\r\n /*>>domprefixes*/\r\n\r\n /*>>ns*/\r\n ns = {'svg': 'http://www.w3.org/2000/svg'},\r\n /*>>ns*/\r\n\r\n tests = {},\r\n inputs = {},\r\n attrs = {},\r\n\r\n classes = [],\r\n\r\n slice = classes.slice,\r\n\r\n featureName, // used in testing loop\r\n\r\n\r\n /*>>teststyles*/\r\n // Inject element with style element and some CSS rules\r\n injectElementWithStyles = function( rule, callback, nodes, testnames ) {\r\n\r\n var style, ret, node, docOverflow,\r\n div = document.createElement('div'),\r\n // After page load injecting a fake body doesn't work so check if body exists\r\n body = document.body,\r\n // IE6 and 7 won't return offsetWidth or offsetHeight unless it's in the body element, so we fake it.\r\n fakeBody = body || document.createElement('body');\r\n\r\n if ( parseInt(nodes, 10) ) {\r\n // In order not to give false positives we create a node for each test\r\n // This also allows the method to scale for unspecified uses\r\n while ( nodes-- ) {\r\n node = document.createElement('div');\r\n node.id = testnames ? testnames[nodes] : mod + (nodes + 1);\r\n div.appendChild(node);\r\n }\r\n }\r\n\r\n // '].join('');\r\n div.id = mod;\r\n // IE6 will false positive on some tests due to the style element inside the test div somehow interfering offsetHeight, so insert it into body or fakebody.\r\n // Opera will act all quirky when injecting elements in documentElement when page is served as xml, needs fakebody too. #270\r\n (body ? div : fakeBody).innerHTML += style;\r\n fakeBody.appendChild(div);\r\n if ( !body ) {\r\n //avoid crashing IE8, if background image is used\r\n fakeBody.style.background = '';\r\n //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\r\n fakeBody.style.overflow = 'hidden';\r\n docOverflow = docElement.style.overflow;\r\n docElement.style.overflow = 'hidden';\r\n docElement.appendChild(fakeBody);\r\n }\r\n\r\n ret = callback(div, rule);\r\n // If this is done after page load we don't want to remove the body so check if body exists\r\n if ( !body ) {\r\n fakeBody.parentNode.removeChild(fakeBody);\r\n docElement.style.overflow = docOverflow;\r\n } else {\r\n div.parentNode.removeChild(div);\r\n }\r\n\r\n return !!ret;\r\n\r\n },\r\n /*>>teststyles*/\r\n\r\n /*>>mq*/\r\n // adapted from matchMedia polyfill\r\n // by Scott Jehl and Paul Irish\r\n // gist.github.com/786768\r\n testMediaQuery = function( mq ) {\r\n\r\n var matchMedia = window.matchMedia || window.msMatchMedia;\r\n if ( matchMedia ) {\r\n return matchMedia(mq) && matchMedia(mq).matches || false;\r\n }\r\n\r\n var bool;\r\n\r\n injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {\r\n bool = (window.getComputedStyle ?\r\n getComputedStyle(node, null) :\r\n node.currentStyle)['position'] == 'absolute';\r\n });\r\n\r\n return bool;\r\n\r\n },\r\n /*>>mq*/\r\n\r\n\r\n /*>>hasevent*/\r\n //\r\n // isEventSupported determines if a given element supports the given event\r\n // kangax.github.com/iseventsupported/\r\n //\r\n // The following results are known incorrects:\r\n // Modernizr.hasEvent(\"webkitTransitionEnd\", elem) // false negative\r\n // Modernizr.hasEvent(\"textInput\") // in Webkit. github.com/Modernizr/Modernizr/issues/333\r\n // ...\r\n isEventSupported = (function() {\r\n\r\n var TAGNAMES = {\r\n 'select': 'input', 'change': 'input',\r\n 'submit': 'form', 'reset': 'form',\r\n 'error': 'img', 'load': 'img', 'abort': 'img'\r\n };\r\n\r\n function isEventSupported( eventName, element ) {\r\n\r\n element = element || document.createElement(TAGNAMES[eventName] || 'div');\r\n eventName = 'on' + eventName;\r\n\r\n // When using `setAttribute`, IE skips \"unload\", WebKit skips \"unload\" and \"resize\", whereas `in` \"catches\" those\r\n var isSupported = eventName in element;\r\n\r\n if ( !isSupported ) {\r\n // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element\r\n if ( !element.setAttribute ) {\r\n element = document.createElement('div');\r\n }\r\n if ( element.setAttribute && element.removeAttribute ) {\r\n element.setAttribute(eventName, '');\r\n isSupported = is(element[eventName], 'function');\r\n\r\n // If property was created, \"remove it\" (by setting value to `undefined`)\r\n if ( !is(element[eventName], 'undefined') ) {\r\n element[eventName] = undefined;\r\n }\r\n element.removeAttribute(eventName);\r\n }\r\n }\r\n\r\n element = null;\r\n return isSupported;\r\n }\r\n return isEventSupported;\r\n })(),\r\n /*>>hasevent*/\r\n\r\n // TODO :: Add flag for hasownprop ? didn't last time\r\n\r\n // hasOwnProperty shim by kangax needed for Safari 2.0 support\r\n _hasOwnProperty = ({}).hasOwnProperty, hasOwnProp;\r\n\r\n if ( !is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined') ) {\r\n hasOwnProp = function (object, property) {\r\n return _hasOwnProperty.call(object, property);\r\n };\r\n }\r\n else {\r\n hasOwnProp = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */\r\n return ((property in object) && is(object.constructor.prototype[property], 'undefined'));\r\n };\r\n }\r\n\r\n // Adapted from ES5-shim https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js\r\n // es5.github.com/#x15.3.4.5\r\n\r\n if (!Function.prototype.bind) {\r\n Function.prototype.bind = function bind(that) {\r\n\r\n var target = this;\r\n\r\n if (typeof target != \"function\") {\r\n throw new TypeError();\r\n }\r\n\r\n var args = slice.call(arguments, 1),\r\n bound = function () {\r\n\r\n if (this instanceof bound) {\r\n\r\n var F = function(){};\r\n F.prototype = target.prototype;\r\n var self = new F();\r\n\r\n var result = target.apply(\r\n self,\r\n args.concat(slice.call(arguments))\r\n );\r\n if (Object(result) === result) {\r\n return result;\r\n }\r\n return self;\r\n\r\n } else {\r\n\r\n return target.apply(\r\n that,\r\n args.concat(slice.call(arguments))\r\n );\r\n\r\n }\r\n\r\n };\r\n\r\n return bound;\r\n };\r\n }\r\n\r\n /**\r\n * setCss applies given styles to the Modernizr DOM node.\r\n */\r\n function setCss( str ) {\r\n mStyle.cssText = str;\r\n }\r\n\r\n /**\r\n * setCssAll extrapolates all vendor-specific css strings.\r\n */\r\n function setCssAll( str1, str2 ) {\r\n return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));\r\n }\r\n\r\n /**\r\n * is returns a boolean for if typeof obj is exactly type.\r\n */\r\n function is( obj, type ) {\r\n return typeof obj === type;\r\n }\r\n\r\n /**\r\n * contains returns a boolean for if substr is found within str.\r\n */\r\n function contains( str, substr ) {\r\n return !!~('' + str).indexOf(substr);\r\n }\r\n\r\n /*>>testprop*/\r\n\r\n // testProps is a generic CSS / DOM property test.\r\n\r\n // In testing support for a given CSS property, it's legit to test:\r\n // `elem.style[styleName] !== undefined`\r\n // If the property is supported it will return an empty string,\r\n // if unsupported it will return undefined.\r\n\r\n // We'll take advantage of this quick test and skip setting a style\r\n // on our modernizr element, but instead just testing undefined vs\r\n // empty string.\r\n\r\n // Because the testing of the CSS property names (with \"-\", as\r\n // opposed to the camelCase DOM properties) is non-portable and\r\n // non-standard but works in WebKit and IE (but not Gecko or Opera),\r\n // we explicitly reject properties with dashes so that authors\r\n // developing in WebKit or IE first don't end up with\r\n // browser-specific content by accident.\r\n\r\n function testProps( props, prefixed ) {\r\n for ( var i in props ) {\r\n var prop = props[i];\r\n if ( !contains(prop, \"-\") && mStyle[prop] !== undefined ) {\r\n return prefixed == 'pfx' ? prop : true;\r\n }\r\n }\r\n return false;\r\n }\r\n /*>>testprop*/\r\n\r\n // TODO :: add testDOMProps\r\n /**\r\n * testDOMProps is a generic DOM property test; if a browser supports\r\n * a certain property, it won't return undefined for it.\r\n */\r\n function testDOMProps( props, obj, elem ) {\r\n for ( var i in props ) {\r\n var item = obj[props[i]];\r\n if ( item !== undefined) {\r\n\r\n // return the property name as a string\r\n if (elem === false) return props[i];\r\n\r\n // let's bind a function\r\n if (is(item, 'function')){\r\n // default to autobind unless override\r\n return item.bind(elem || obj);\r\n }\r\n\r\n // return the unbound function or obj or value\r\n return item;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n /*>>testallprops*/\r\n /**\r\n * testPropsAll tests a list of DOM properties we want to check against.\r\n * We specify literally ALL possible (known and/or likely) properties on\r\n * the element including the non-vendor prefixed one, for forward-\r\n * compatibility.\r\n */\r\n function testPropsAll( prop, prefixed, elem ) {\r\n\r\n var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),\r\n props = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' ');\r\n\r\n // did they call .prefixed('boxSizing') or are we just testing a prop?\r\n if(is(prefixed, \"string\") || is(prefixed, \"undefined\")) {\r\n return testProps(props, prefixed);\r\n\r\n // otherwise, they called .prefixed('requestAnimationFrame', window[, elem])\r\n } else {\r\n props = (prop + ' ' + (domPrefixes).join(ucProp + ' ') + ucProp).split(' ');\r\n return testDOMProps(props, prefixed, elem);\r\n }\r\n }\r\n /*>>testallprops*/\r\n\r\n\r\n /**\r\n * Tests\r\n * -----\r\n */\r\n\r\n // The *new* flexbox\r\n // dev.w3.org/csswg/css3-flexbox\r\n\r\n tests['flexbox'] = function() {\r\n return testPropsAll('flexWrap');\r\n };\r\n\r\n // The *old* flexbox\r\n // www.w3.org/TR/2009/WD-css3-flexbox-20090723/\r\n\r\n tests['flexboxlegacy'] = function() {\r\n return testPropsAll('boxDirection');\r\n };\r\n\r\n // On the S60 and BB Storm, getContext exists, but always returns undefined\r\n // so we actually have to call getContext() to verify\r\n // github.com/Modernizr/Modernizr/issues/issue/97/\r\n\r\n tests['canvas'] = function() {\r\n var elem = document.createElement('canvas');\r\n return !!(elem.getContext && elem.getContext('2d'));\r\n };\r\n\r\n tests['canvastext'] = function() {\r\n return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));\r\n };\r\n\r\n // webk.it/70117 is tracking a legit WebGL feature detect proposal\r\n\r\n // We do a soft detect which may false positive in order to avoid\r\n // an expensive context creation: bugzil.la/732441\r\n\r\n tests['webgl'] = function() {\r\n return !!window.WebGLRenderingContext;\r\n };\r\n\r\n /*\r\n * The Modernizr.touch test only indicates if the browser supports\r\n * touch events, which does not necessarily reflect a touchscreen\r\n * device, as evidenced by tablets running Windows 7 or, alas,\r\n * the Palm Pre / WebOS (touch) phones.\r\n *\r\n * Additionally, Chrome (desktop) used to lie about its support on this,\r\n * but that has since been rectified: crbug.com/36415\r\n *\r\n * We also test for Firefox 4 Multitouch Support.\r\n *\r\n * For more info, see: modernizr.github.com/Modernizr/touch.html\r\n */\r\n\r\n tests['touch'] = function() {\r\n var bool;\r\n\r\n if(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {\r\n bool = true;\r\n } else {\r\n injectElementWithStyles(['@media (',prefixes.join('touch-enabled),('),mod,')','{#modernizr{top:9px;position:absolute}}'].join(''), function( node ) {\r\n bool = node.offsetTop === 9;\r\n });\r\n }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // geolocation is often considered a trivial feature detect...\r\n // Turns out, it's quite tricky to get right:\r\n //\r\n // Using !!navigator.geolocation does two things we don't want. It:\r\n // 1. Leaks memory in IE9: github.com/Modernizr/Modernizr/issues/513\r\n // 2. Disables page caching in WebKit: webk.it/43956\r\n //\r\n // Meanwhile, in Firefox < 8, an about:config setting could expose\r\n // a false positive that would throw an exception: bugzil.la/688158\r\n\r\n tests['geolocation'] = function() {\r\n return 'geolocation' in navigator;\r\n };\r\n\r\n\r\n tests['postmessage'] = function() {\r\n return !!window.postMessage;\r\n };\r\n\r\n\r\n // Chrome incognito mode used to throw an exception when using openDatabase\r\n // It doesn't anymore.\r\n tests['websqldatabase'] = function() {\r\n return !!window.openDatabase;\r\n };\r\n\r\n // Vendors had inconsistent prefixing with the experimental Indexed DB:\r\n // - Webkit's implementation is accessible through webkitIndexedDB\r\n // - Firefox shipped moz_indexedDB before FF4b9, but since then has been mozIndexedDB\r\n // For speed, we don't test the legacy (and beta-only) indexedDB\r\n tests['indexedDB'] = function() {\r\n return !!testPropsAll(\"indexedDB\", window);\r\n };\r\n\r\n // documentMode logic from YUI to filter out IE8 Compat Mode\r\n // which false positives.\r\n tests['hashchange'] = function() {\r\n return isEventSupported('hashchange', window) && (document.documentMode === undefined || document.documentMode > 7);\r\n };\r\n\r\n // Per 1.6:\r\n // This used to be Modernizr.historymanagement but the longer\r\n // name has been deprecated in favor of a shorter and property-matching one.\r\n // The old API is still available in 1.6, but as of 2.0 will throw a warning,\r\n // and in the first release thereafter disappear entirely.\r\n tests['history'] = function() {\r\n return !!(window.history && history.pushState);\r\n };\r\n\r\n tests['draganddrop'] = function() {\r\n var div = document.createElement('div');\r\n return ('draggable' in div) || ('ondragstart' in div && 'ondrop' in div);\r\n };\r\n\r\n // FF3.6 was EOL'ed on 4/24/12, but the ESR version of FF10\r\n // will be supported until FF19 (2/12/13), at which time, ESR becomes FF17.\r\n // FF10 still uses prefixes, so check for it until then.\r\n // for more ESR info, see: mozilla.org/en-US/firefox/organizations/faq/\r\n tests['websockets'] = function() {\r\n return 'WebSocket' in window || 'MozWebSocket' in window;\r\n };\r\n\r\n\r\n // css-tricks.com/rgba-browser-support/\r\n tests['rgba'] = function() {\r\n // Set an rgba() color and check the returned value\r\n\r\n setCss('background-color:rgba(150,255,150,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba');\r\n };\r\n\r\n tests['hsla'] = function() {\r\n // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,\r\n // except IE9 who retains it as hsla\r\n\r\n setCss('background-color:hsla(120,40%,100%,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba') || contains(mStyle.backgroundColor, 'hsla');\r\n };\r\n\r\n tests['multiplebgs'] = function() {\r\n // Setting multiple images AND a color on the background shorthand property\r\n // and then querying the style.background property value for the number of\r\n // occurrences of \"url(\" is a reliable method for detecting ACTUAL support for this!\r\n\r\n setCss('background:url(https://),url(https://),red url(https://)');\r\n\r\n // If the UA supports multiple backgrounds, there should be three occurrences\r\n // of the string \"url(\" in the return value for elemStyle.background\r\n\r\n return (/(url\\s*\\(.*?){3}/).test(mStyle.background);\r\n };\r\n\r\n\r\n\r\n // this will false positive in Opera Mini\r\n // github.com/Modernizr/Modernizr/issues/396\r\n\r\n tests['backgroundsize'] = function() {\r\n return testPropsAll('backgroundSize');\r\n };\r\n\r\n tests['borderimage'] = function() {\r\n return testPropsAll('borderImage');\r\n };\r\n\r\n\r\n // Super comprehensive table about all the unique implementations of\r\n // border-radius: muddledramblings.com/table-of-css3-border-radius-compliance\r\n\r\n tests['borderradius'] = function() {\r\n return testPropsAll('borderRadius');\r\n };\r\n\r\n // WebOS unfortunately false positives on this test.\r\n tests['boxshadow'] = function() {\r\n return testPropsAll('boxShadow');\r\n };\r\n\r\n // FF3.0 will false positive on this test\r\n tests['textshadow'] = function() {\r\n return document.createElement('div').style.textShadow === '';\r\n };\r\n\r\n\r\n tests['opacity'] = function() {\r\n // Browsers that actually have CSS Opacity implemented have done so\r\n // according to spec, which means their return values are within the\r\n // range of [0.0,1.0] - including the leading zero.\r\n\r\n setCssAll('opacity:.55');\r\n\r\n // The non-literal . in this regex is intentional:\r\n // German Chrome returns this value as 0,55\r\n // github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632\r\n return (/^0.55$/).test(mStyle.opacity);\r\n };\r\n\r\n\r\n // Note, Android < 4 will pass this test, but can only animate\r\n // a single property at a time\r\n // goo.gl/v3V4Gp\r\n tests['cssanimations'] = function() {\r\n return testPropsAll('animationName');\r\n };\r\n\r\n\r\n tests['csscolumns'] = function() {\r\n return testPropsAll('columnCount');\r\n };\r\n\r\n\r\n tests['cssgradients'] = function() {\r\n /**\r\n * For CSS Gradients syntax, please see:\r\n * webkit.org/blog/175/introducing-css-gradients/\r\n * developer.mozilla.org/en/CSS/-moz-linear-gradient\r\n * developer.mozilla.org/en/CSS/-moz-radial-gradient\r\n * dev.w3.org/csswg/css3-images/#gradients-\r\n */\r\n\r\n var str1 = 'background-image:',\r\n str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',\r\n str3 = 'linear-gradient(left top,#9f9, white);';\r\n\r\n setCss(\r\n // legacy webkit syntax (FIXME: remove when syntax not in use anymore)\r\n (str1 + '-webkit- '.split(' ').join(str2 + str1) +\r\n // standard syntax // trailing 'background-image:'\r\n prefixes.join(str3 + str1)).slice(0, -str1.length)\r\n );\r\n\r\n return contains(mStyle.backgroundImage, 'gradient');\r\n };\r\n\r\n\r\n tests['cssreflections'] = function() {\r\n return testPropsAll('boxReflect');\r\n };\r\n\r\n\r\n tests['csstransforms'] = function() {\r\n return !!testPropsAll('transform');\r\n };\r\n\r\n\r\n tests['csstransforms3d'] = function() {\r\n\r\n var ret = !!testPropsAll('perspective');\r\n\r\n // Webkit's 3D transforms are passed off to the browser's own graphics renderer.\r\n // It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in\r\n // some conditions. As a result, Webkit typically recognizes the syntax but\r\n // will sometimes throw a false positive, thus we must do a more thorough check:\r\n if ( ret && 'webkitPerspective' in docElement.style ) {\r\n\r\n // Webkit allows this media query to succeed only if the feature is enabled.\r\n // `@media (transform-3d),(-webkit-transform-3d){ ... }`\r\n injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {\r\n ret = node.offsetLeft === 9 && node.offsetHeight === 3;\r\n });\r\n }\r\n return ret;\r\n };\r\n\r\n\r\n tests['csstransitions'] = function() {\r\n return testPropsAll('transition');\r\n };\r\n\r\n\r\n /*>>fontface*/\r\n // @font-face detection routine by Diego Perini\r\n // javascript.nwbox.com/CSSSupport/\r\n\r\n // false positives:\r\n // WebOS github.com/Modernizr/Modernizr/issues/342\r\n // WP7 github.com/Modernizr/Modernizr/issues/538\r\n tests['fontface'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles('@font-face {font-family:\"font\";src:url(\"https://\")}', function( node, rule ) {\r\n var style = document.getElementById('smodernizr'),\r\n sheet = style.sheet || style.styleSheet,\r\n cssText = sheet ? (sheet.cssRules && sheet.cssRules[0] ? sheet.cssRules[0].cssText : sheet.cssText || '') : '';\r\n\r\n bool = /src/i.test(cssText) && cssText.indexOf(rule.split(' ')[0]) === 0;\r\n });\r\n\r\n return bool;\r\n };\r\n /*>>fontface*/\r\n\r\n // CSS generated content detection\r\n tests['generatedcontent'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles(['#',mod,'{font:0/0 a}#',mod,':after{content:\"',smile,'\";visibility:hidden;font:3px/1 a}'].join(''), function( node ) {\r\n bool = node.offsetHeight >= 3;\r\n });\r\n\r\n return bool;\r\n };\r\n\r\n\r\n\r\n // These tests evaluate support of the video/audio elements, as well as\r\n // testing what types of content they support.\r\n //\r\n // We're using the Boolean constructor here, so that we can extend the value\r\n // e.g. Modernizr.video // true\r\n // Modernizr.video.ogg // 'probably'\r\n //\r\n // Codec values from : github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845\r\n // thx to NielsLeenheer and zcorpan\r\n\r\n // Note: in some older browsers, \"no\" was a return value instead of empty string.\r\n // It was live in FF3.5.0 and 3.5.1, but fixed in 3.5.2\r\n // It was also live in Safari 4.0.0 - 4.0.4, but fixed in 4.0.5\r\n\r\n tests['video'] = function() {\r\n var elem = document.createElement('video'),\r\n bool = false;\r\n\r\n // IE9 Running on Windows Server SKU can cause an exception to be thrown, bug #224\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('video/ogg; codecs=\"theora\"') .replace(/^no$/,'');\r\n\r\n // Without QuickTime, this value will be `undefined`. github.com/Modernizr/Modernizr/issues/546\r\n bool.h264 = elem.canPlayType('video/mp4; codecs=\"avc1.42E01E\"') .replace(/^no$/,'');\r\n\r\n bool.webm = elem.canPlayType('video/webm; codecs=\"vp8, vorbis\"').replace(/^no$/,'');\r\n }\r\n\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n tests['audio'] = function() {\r\n var elem = document.createElement('audio'),\r\n bool = false;\r\n\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,'');\r\n bool.mp3 = elem.canPlayType('audio/mpeg;') .replace(/^no$/,'');\r\n\r\n // Mimetypes accepted:\r\n // developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements\r\n // bit.ly/iphoneoscodecs\r\n bool.wav = elem.canPlayType('audio/wav; codecs=\"1\"') .replace(/^no$/,'');\r\n bool.m4a = ( elem.canPlayType('audio/x-m4a;') ||\r\n elem.canPlayType('audio/aac;')) .replace(/^no$/,'');\r\n }\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // In FF4, if disabled, window.localStorage should === null.\r\n\r\n // Normally, we could not test that directly and need to do a\r\n // `('localStorage' in window) && ` test first because otherwise Firefox will\r\n // throw bugzil.la/365772 if cookies are disabled\r\n\r\n // Also in iOS5 Private Browsing mode, attempting to use localStorage.setItem\r\n // will throw the exception:\r\n // QUOTA_EXCEEDED_ERRROR DOM Exception 22.\r\n // Peculiarly, getItem and removeItem calls do not throw.\r\n\r\n // Because we are forced to try/catch this, we'll go aggressive.\r\n\r\n // Just FWIW: IE8 Compat mode supports these features completely:\r\n // www.quirksmode.org/dom/html5.html\r\n // But IE8 doesn't support either with local files\r\n\r\n tests['localstorage'] = function() {\r\n try {\r\n localStorage.setItem(mod, mod);\r\n localStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n tests['sessionstorage'] = function() {\r\n try {\r\n sessionStorage.setItem(mod, mod);\r\n sessionStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n\r\n tests['webworkers'] = function() {\r\n return !!window.Worker;\r\n };\r\n\r\n\r\n tests['applicationcache'] = function() {\r\n return !!window.applicationCache;\r\n };\r\n\r\n\r\n // Thanks to Erik Dahlstrom\r\n tests['svg'] = function() {\r\n return !!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect;\r\n };\r\n\r\n // specifically for SVG inline in HTML, not within XHTML\r\n // test page: paulirish.com/demo/inline-svg\r\n tests['inlinesvg'] = function() {\r\n var div = document.createElement('div');\r\n div.innerHTML = '';\r\n return (div.firstChild && div.firstChild.namespaceURI) == ns.svg;\r\n };\r\n\r\n // SVG SMIL animation\r\n tests['smil'] = function() {\r\n return !!document.createElementNS && /SVGAnimate/.test(toString.call(document.createElementNS(ns.svg, 'animate')));\r\n };\r\n\r\n // This test is only for clip paths in SVG proper, not clip paths on HTML content\r\n // demo: srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg\r\n\r\n // However read the comments to dig into applying SVG clippaths to HTML content here:\r\n // github.com/Modernizr/Modernizr/issues/213#issuecomment-1149491\r\n tests['svgclippaths'] = function() {\r\n return !!document.createElementNS && /SVGClipPath/.test(toString.call(document.createElementNS(ns.svg, 'clipPath')));\r\n };\r\n\r\n /*>>webforms*/\r\n // input features and input types go directly onto the ret object, bypassing the tests loop.\r\n // Hold this guy to execute in a moment.\r\n function webforms() {\r\n /*>>input*/\r\n // Run through HTML5's new input attributes to see if the UA understands any.\r\n // We're using f which is the element created early on\r\n // Mike Taylr has created a comprehensive resource for testing these attributes\r\n // when applied to all input types:\r\n // miketaylr.com/code/input-type-attr.html\r\n // spec: www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\r\n\r\n // Only input placeholder is tested while textarea's placeholder is not.\r\n // Currently Safari 4 and Opera 11 have support only for the input placeholder\r\n // Both tests are available in feature-detects/forms-placeholder.js\r\n Modernizr['input'] = (function( props ) {\r\n for ( var i = 0, len = props.length; i < len; i++ ) {\r\n attrs[ props[i] ] = !!(props[i] in inputElem);\r\n }\r\n if (attrs.list){\r\n // safari false positive's on datalist: webk.it/74252\r\n // see also github.com/Modernizr/Modernizr/issues/146\r\n attrs.list = !!(document.createElement('datalist') && window.HTMLDataListElement);\r\n }\r\n return attrs;\r\n })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));\r\n /*>>input*/\r\n\r\n /*>>inputtypes*/\r\n // Run through HTML5's new input types to see if the UA understands any.\r\n // This is put behind the tests runloop because it doesn't return a\r\n // true/false like all the other tests; instead, it returns an object\r\n // containing each input type with its corresponding true/false value\r\n\r\n // Big thanks to @miketaylr for the html5 forms expertise. miketaylr.com/\r\n Modernizr['inputtypes'] = (function(props) {\r\n\r\n for ( var i = 0, bool, inputElemType, defaultView, len = props.length; i < len; i++ ) {\r\n\r\n inputElem.setAttribute('type', inputElemType = props[i]);\r\n bool = inputElem.type !== 'text';\r\n\r\n // We first check to see if the type we give it sticks..\r\n // If the type does, we feed it a textual value, which shouldn't be valid.\r\n // If the value doesn't stick, we know there's input sanitization which infers a custom UI\r\n if ( bool ) {\r\n\r\n inputElem.value = smile;\r\n inputElem.style.cssText = 'position:absolute;visibility:hidden;';\r\n\r\n if ( /^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined ) {\r\n\r\n docElement.appendChild(inputElem);\r\n defaultView = document.defaultView;\r\n\r\n // Safari 2-4 allows the smiley as a value, despite making a slider\r\n bool = defaultView.getComputedStyle &&\r\n defaultView.getComputedStyle(inputElem, null).WebkitAppearance !== 'textfield' &&\r\n // Mobile android web browser has false positive, so must\r\n // check the height to see if the widget is actually there.\r\n (inputElem.offsetHeight !== 0);\r\n\r\n docElement.removeChild(inputElem);\r\n\r\n } else if ( /^(search|tel)$/.test(inputElemType) ){\r\n // Spec doesn't define any special parsing or detectable UI\r\n // behaviors so we pass these through as true\r\n\r\n // Interestingly, opera fails the earlier test, so it doesn't\r\n // even make it here.\r\n\r\n } else if ( /^(url|email)$/.test(inputElemType) ) {\r\n // Real url and email support comes with prebaked validation.\r\n bool = inputElem.checkValidity && inputElem.checkValidity() === false;\r\n\r\n } else {\r\n // If the upgraded input compontent rejects the :) text, we got a winner\r\n bool = inputElem.value != smile;\r\n }\r\n }\r\n\r\n inputs[ props[i] ] = !!bool;\r\n }\r\n return inputs;\r\n })('search tel url email datetime date month week time datetime-local number range color'.split(' '));\r\n /*>>inputtypes*/\r\n }\r\n /*>>webforms*/\r\n\r\n\r\n // End of test definitions\r\n // -----------------------\r\n\r\n\r\n\r\n // Run through all tests and detect their support in the current UA.\r\n // todo: hypothetically we could be doing an array of tests and use a basic loop here.\r\n for ( var feature in tests ) {\r\n if ( hasOwnProp(tests, feature) ) {\r\n // run the test, throw the return value into the Modernizr,\r\n // then based on that boolean, define an appropriate className\r\n // and push it into an array of classes we'll join later.\r\n featureName = feature.toLowerCase();\r\n Modernizr[featureName] = tests[feature]();\r\n\r\n classes.push((Modernizr[featureName] ? '' : 'no-') + featureName);\r\n }\r\n }\r\n\r\n /*>>webforms*/\r\n // input tests need to run.\r\n Modernizr.input || webforms();\r\n /*>>webforms*/\r\n\r\n\r\n /**\r\n * addTest allows the user to define their own feature tests\r\n * the result will be added onto the Modernizr object,\r\n * as well as an appropriate className set on the html element\r\n *\r\n * @param feature - String naming the feature\r\n * @param test - Function returning true if feature is supported, false if not\r\n */\r\n Modernizr.addTest = function ( feature, test ) {\r\n if ( typeof feature == 'object' ) {\r\n for ( var key in feature ) {\r\n if ( hasOwnProp( feature, key ) ) {\r\n Modernizr.addTest( key, feature[ key ] );\r\n }\r\n }\r\n } else {\r\n\r\n feature = feature.toLowerCase();\r\n\r\n if ( Modernizr[feature] !== undefined ) {\r\n // we're going to quit if you're trying to overwrite an existing test\r\n // if we were to allow it, we'd do this:\r\n // var re = new RegExp(\"\\\\b(no-)?\" + feature + \"\\\\b\");\r\n // docElement.className = docElement.className.replace( re, '' );\r\n // but, no rly, stuff 'em.\r\n return Modernizr;\r\n }\r\n\r\n test = typeof test == 'function' ? test() : test;\r\n\r\n if (typeof enableClasses !== \"undefined\" && enableClasses) {\r\n docElement.className += ' ' + (test ? '' : 'no-') + feature;\r\n }\r\n Modernizr[feature] = test;\r\n\r\n }\r\n\r\n return Modernizr; // allow chaining.\r\n };\r\n\r\n\r\n // Reset modElem.cssText to nothing to reduce memory footprint.\r\n setCss('');\r\n modElem = inputElem = null;\r\n\r\n /*>>shiv*/\r\n /**\r\n * @preserve HTML5 Shiv prev3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed\r\n */\r\n ;(function(window, document) {\r\n /*jshint evil:true */\r\n /** version */\r\n var version = '3.7.0';\r\n\r\n /** Preset options */\r\n var options = window.html5 || {};\r\n\r\n /** Used to skip problem elements */\r\n var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;\r\n\r\n /** Not all elements can be cloned in IE **/\r\n var saveClones = /^(?: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;\r\n\r\n /** Detect whether the browser supports default html5 styles */\r\n var supportsHtml5Styles;\r\n\r\n /** Name of the expando, to work with multiple documents or to re-shiv one document */\r\n var expando = '_html5shiv';\r\n\r\n /** The id for the the documents expando */\r\n var expanID = 0;\r\n\r\n /** Cached data for each document */\r\n var expandoData = {};\r\n\r\n /** Detect whether the browser supports unknown elements */\r\n var supportsUnknownElements;\r\n\r\n (function() {\r\n try {\r\n var a = document.createElement('a');\r\n a.innerHTML = '';\r\n //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles\r\n supportsHtml5Styles = ('hidden' in a);\r\n\r\n supportsUnknownElements = a.childNodes.length == 1 || (function() {\r\n // assign a false positive if unable to shiv\r\n (document.createElement)('a');\r\n var frag = document.createDocumentFragment();\r\n return (\r\n typeof frag.cloneNode == 'undefined' ||\r\n typeof frag.createDocumentFragment == 'undefined' ||\r\n typeof frag.createElement == 'undefined'\r\n );\r\n }());\r\n } catch(e) {\r\n // assign a false positive if detection fails => unable to shiv\r\n supportsHtml5Styles = true;\r\n supportsUnknownElements = true;\r\n }\r\n\r\n }());\r\n\r\n /*--------------------------------------------------------------------------*/\r\n\r\n /**\r\n * Creates a style sheet with the given CSS text and adds it to the document.\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @param {String} cssText The CSS text.\r\n * @returns {StyleSheet} The style element.\r\n */\r\n function addStyleSheet(ownerDocument, cssText) {\r\n var p = ownerDocument.createElement('p'),\r\n parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;\r\n\r\n p.innerHTML = 'x';\r\n return parent.insertBefore(p.lastChild, parent.firstChild);\r\n }\r\n\r\n /**\r\n * Returns the value of `html5.elements` as an array.\r\n * @private\r\n * @returns {Array} An array of shived element node names.\r\n */\r\n function getElements() {\r\n var elements = html5.elements;\r\n return typeof elements == 'string' ? elements.split(' ') : elements;\r\n }\r\n\r\n /**\r\n * Returns the data associated to the given document\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @returns {Object} An object of data.\r\n */\r\n function getExpandoData(ownerDocument) {\r\n var data = expandoData[ownerDocument[expando]];\r\n if (!data) {\r\n data = {};\r\n expanID++;\r\n ownerDocument[expando] = expanID;\r\n expandoData[expanID] = data;\r\n }\r\n return data;\r\n }\r\n\r\n /**\r\n * returns a shived element for the given nodeName and document\r\n * @memberOf html5\r\n * @param {String} nodeName name of the element\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived element.\r\n */\r\n function createElement(nodeName, ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createElement(nodeName);\r\n }\r\n if (!data) {\r\n data = getExpandoData(ownerDocument);\r\n }\r\n var node;\r\n\r\n if (data.cache[nodeName]) {\r\n node = data.cache[nodeName].cloneNode();\r\n } else if (saveClones.test(nodeName)) {\r\n node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();\r\n } else {\r\n node = data.createElem(nodeName);\r\n }\r\n\r\n // Avoid adding some elements to fragments in IE < 9 because\r\n // * Attributes like `name` or `type` cannot be set/changed once an element\r\n // is inserted into a document/fragment\r\n // * Link elements with `src` attributes that are inaccessible, as with\r\n // a 403 response, will cause the tab/window to crash\r\n // * Script elements appended to fragments will execute when their `src`\r\n // or `text` property is set\r\n return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node;\r\n }\r\n\r\n /**\r\n * returns a shived DocumentFragment for the given document\r\n * @memberOf html5\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived DocumentFragment.\r\n */\r\n function createDocumentFragment(ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createDocumentFragment();\r\n }\r\n data = data || getExpandoData(ownerDocument);\r\n var clone = data.frag.cloneNode(),\r\n i = 0,\r\n elems = getElements(),\r\n l = elems.length;\r\n for(;i>shiv*/\r\n\r\n // Assign private properties to the return object with prefix\r\n Modernizr._version = version;\r\n\r\n // expose these for the plugin API. Look in the source for how to join() them against your input\r\n /*>>prefixes*/\r\n Modernizr._prefixes = prefixes;\r\n /*>>prefixes*/\r\n /*>>domprefixes*/\r\n Modernizr._domPrefixes = domPrefixes;\r\n Modernizr._cssomPrefixes = cssomPrefixes;\r\n /*>>domprefixes*/\r\n\r\n /*>>mq*/\r\n // Modernizr.mq tests a given media query, live against the current state of the window\r\n // A few important notes:\r\n // * If a browser does not support media queries at all (eg. oldIE) the mq() will always return false\r\n // * A max-width or orientation query will be evaluated against the current state, which may change later.\r\n // * You must specify values. Eg. If you are testing support for the min-width media query use:\r\n // Modernizr.mq('(min-width:0)')\r\n // usage:\r\n // Modernizr.mq('only screen and (max-width:768)')\r\n Modernizr.mq = testMediaQuery;\r\n /*>>mq*/\r\n\r\n /*>>hasevent*/\r\n // Modernizr.hasEvent() detects support for a given event, with an optional element to test on\r\n // Modernizr.hasEvent('gesturestart', elem)\r\n Modernizr.hasEvent = isEventSupported;\r\n /*>>hasevent*/\r\n\r\n /*>>testprop*/\r\n // Modernizr.testProp() investigates whether a given style property is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testProp('pointerEvents')\r\n Modernizr.testProp = function(prop){\r\n return testProps([prop]);\r\n };\r\n /*>>testprop*/\r\n\r\n /*>>testallprops*/\r\n // Modernizr.testAllProps() investigates whether a given style property,\r\n // or any of its vendor-prefixed variants, is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testAllProps('boxSizing')\r\n Modernizr.testAllProps = testPropsAll;\r\n /*>>testallprops*/\r\n\r\n\r\n /*>>teststyles*/\r\n // Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards\r\n // Modernizr.testStyles('#modernizr { position:absolute }', function(elem, rule){ ... })\r\n Modernizr.testStyles = injectElementWithStyles;\r\n /*>>teststyles*/\r\n\r\n\r\n /*>>prefixed*/\r\n // Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input\r\n // Modernizr.prefixed('boxSizing') // 'MozBoxSizing'\r\n\r\n // Properties must be passed as dom-style camelcase, rather than `box-sizing` hypentated style.\r\n // Return values will also be the camelCase variant, if you need to translate that to hypenated style use:\r\n //\r\n // str.replace(/([A-Z])/g, function(str,m1){ return '-' + m1.toLowerCase(); }).replace(/^ms-/,'-ms-');\r\n\r\n // If you're trying to ascertain which transition end event to bind to, you might do something like...\r\n //\r\n // var transEndEventNames = {\r\n // 'WebkitTransition' : 'webkitTransitionEnd',\r\n // 'MozTransition' : 'transitionend',\r\n // 'OTransition' : 'oTransitionEnd',\r\n // 'msTransition' : 'MSTransitionEnd',\r\n // 'transition' : 'transitionend'\r\n // },\r\n // transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];\r\n\r\n Modernizr.prefixed = function(prop, obj, elem){\r\n if(!obj) {\r\n return testPropsAll(prop, 'pfx');\r\n } else {\r\n // Testing DOM property e.g. Modernizr.prefixed('requestAnimationFrame', window) // 'mozRequestAnimationFrame'\r\n return testPropsAll(prop, obj, elem);\r\n }\r\n };\r\n /*>>prefixed*/\r\n\r\n\r\n /*>>cssclasses*/\r\n // Remove \"no-js\" class from element, if it exists:\r\n docElement.className = docElement.className.replace(/(^|\\s)no-js(\\s|$)/, '$1$2') +\r\n\r\n // Add the new classes to the element.\r\n (enableClasses ? ' js ' + classes.join(' ') : '');\r\n /*>>cssclasses*/\r\n\r\n return Modernizr;\r\n\r\n})(this, this.document);\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = window.Modernizr;\n}.call(window));\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// dashboard.head.bundle.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/sitefiles/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 18);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 9699f0601e3555e1b59d","/*** IMPORTS FROM imports-loader ***/\n(function() {\n\n/*!\r\n * Modernizr v2.8.3\r\n * www.modernizr.com\r\n *\r\n * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton\r\n * Available under the BSD and MIT licenses: www.modernizr.com/license/\r\n */\r\n\r\n/*\r\n * Modernizr tests which native CSS3 and HTML5 features are available in\r\n * the current UA and makes the results available to you in two ways:\r\n * as properties on a global Modernizr object, and as classes on the\r\n * element. This information allows you to progressively enhance\r\n * your pages with a granular level of control over the experience.\r\n *\r\n * Modernizr has an optional (not included) conditional resource loader\r\n * called Modernizr.load(), based on Yepnope.js (yepnopejs.com).\r\n * To get a build that includes Modernizr.load(), as well as choosing\r\n * which tests to include, go to www.modernizr.com/download/\r\n *\r\n * Authors Faruk Ates, Paul Irish, Alex Sexton\r\n * Contributors Ryan Seddon, Ben Alman\r\n */\r\n\r\nwindow.Modernizr = (function( window, document, undefined ) {\r\n\r\n var version = '2.8.3',\r\n\r\n Modernizr = {},\r\n\r\n /*>>cssclasses*/\r\n // option for enabling the HTML classes to be added\r\n enableClasses = true,\r\n /*>>cssclasses*/\r\n\r\n docElement = document.documentElement,\r\n\r\n /**\r\n * Create our \"modernizr\" element that we do most feature tests on.\r\n */\r\n mod = 'modernizr',\r\n modElem = document.createElement(mod),\r\n mStyle = modElem.style,\r\n\r\n /**\r\n * Create the input element for various Web Forms feature tests.\r\n */\r\n inputElem /*>>inputelem*/ = document.createElement('input') /*>>inputelem*/ ,\r\n\r\n /*>>smile*/\r\n smile = ':)',\r\n /*>>smile*/\r\n\r\n toString = {}.toString,\r\n\r\n // TODO :: make the prefixes more granular\r\n /*>>prefixes*/\r\n // List of property values to set for css tests. See ticket #21\r\n prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),\r\n /*>>prefixes*/\r\n\r\n /*>>domprefixes*/\r\n // Following spec is to expose vendor-specific style properties as:\r\n // elem.style.WebkitBorderRadius\r\n // and the following would be incorrect:\r\n // elem.style.webkitBorderRadius\r\n\r\n // Webkit ghosts their properties in lowercase but Opera & Moz do not.\r\n // Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+\r\n // erik.eae.net/archives/2008/03/10/21.48.10/\r\n\r\n // More here: github.com/Modernizr/Modernizr/issues/issue/21\r\n omPrefixes = 'Webkit Moz O ms',\r\n\r\n cssomPrefixes = omPrefixes.split(' '),\r\n\r\n domPrefixes = omPrefixes.toLowerCase().split(' '),\r\n /*>>domprefixes*/\r\n\r\n /*>>ns*/\r\n ns = {'svg': 'http://www.w3.org/2000/svg'},\r\n /*>>ns*/\r\n\r\n tests = {},\r\n inputs = {},\r\n attrs = {},\r\n\r\n classes = [],\r\n\r\n slice = classes.slice,\r\n\r\n featureName, // used in testing loop\r\n\r\n\r\n /*>>teststyles*/\r\n // Inject element with style element and some CSS rules\r\n injectElementWithStyles = function( rule, callback, nodes, testnames ) {\r\n\r\n var style, ret, node, docOverflow,\r\n div = document.createElement('div'),\r\n // After page load injecting a fake body doesn't work so check if body exists\r\n body = document.body,\r\n // IE6 and 7 won't return offsetWidth or offsetHeight unless it's in the body element, so we fake it.\r\n fakeBody = body || document.createElement('body');\r\n\r\n if ( parseInt(nodes, 10) ) {\r\n // In order not to give false positives we create a node for each test\r\n // This also allows the method to scale for unspecified uses\r\n while ( nodes-- ) {\r\n node = document.createElement('div');\r\n node.id = testnames ? testnames[nodes] : mod + (nodes + 1);\r\n div.appendChild(node);\r\n }\r\n }\r\n\r\n // '].join('');\r\n div.id = mod;\r\n // IE6 will false positive on some tests due to the style element inside the test div somehow interfering offsetHeight, so insert it into body or fakebody.\r\n // Opera will act all quirky when injecting elements in documentElement when page is served as xml, needs fakebody too. #270\r\n (body ? div : fakeBody).innerHTML += style;\r\n fakeBody.appendChild(div);\r\n if ( !body ) {\r\n //avoid crashing IE8, if background image is used\r\n fakeBody.style.background = '';\r\n //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\r\n fakeBody.style.overflow = 'hidden';\r\n docOverflow = docElement.style.overflow;\r\n docElement.style.overflow = 'hidden';\r\n docElement.appendChild(fakeBody);\r\n }\r\n\r\n ret = callback(div, rule);\r\n // If this is done after page load we don't want to remove the body so check if body exists\r\n if ( !body ) {\r\n fakeBody.parentNode.removeChild(fakeBody);\r\n docElement.style.overflow = docOverflow;\r\n } else {\r\n div.parentNode.removeChild(div);\r\n }\r\n\r\n return !!ret;\r\n\r\n },\r\n /*>>teststyles*/\r\n\r\n /*>>mq*/\r\n // adapted from matchMedia polyfill\r\n // by Scott Jehl and Paul Irish\r\n // gist.github.com/786768\r\n testMediaQuery = function( mq ) {\r\n\r\n var matchMedia = window.matchMedia || window.msMatchMedia;\r\n if ( matchMedia ) {\r\n return matchMedia(mq) && matchMedia(mq).matches || false;\r\n }\r\n\r\n var bool;\r\n\r\n injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {\r\n bool = (window.getComputedStyle ?\r\n getComputedStyle(node, null) :\r\n node.currentStyle)['position'] == 'absolute';\r\n });\r\n\r\n return bool;\r\n\r\n },\r\n /*>>mq*/\r\n\r\n\r\n /*>>hasevent*/\r\n //\r\n // isEventSupported determines if a given element supports the given event\r\n // kangax.github.com/iseventsupported/\r\n //\r\n // The following results are known incorrects:\r\n // Modernizr.hasEvent(\"webkitTransitionEnd\", elem) // false negative\r\n // Modernizr.hasEvent(\"textInput\") // in Webkit. github.com/Modernizr/Modernizr/issues/333\r\n // ...\r\n isEventSupported = (function() {\r\n\r\n var TAGNAMES = {\r\n 'select': 'input', 'change': 'input',\r\n 'submit': 'form', 'reset': 'form',\r\n 'error': 'img', 'load': 'img', 'abort': 'img'\r\n };\r\n\r\n function isEventSupported( eventName, element ) {\r\n\r\n element = element || document.createElement(TAGNAMES[eventName] || 'div');\r\n eventName = 'on' + eventName;\r\n\r\n // When using `setAttribute`, IE skips \"unload\", WebKit skips \"unload\" and \"resize\", whereas `in` \"catches\" those\r\n var isSupported = eventName in element;\r\n\r\n if ( !isSupported ) {\r\n // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element\r\n if ( !element.setAttribute ) {\r\n element = document.createElement('div');\r\n }\r\n if ( element.setAttribute && element.removeAttribute ) {\r\n element.setAttribute(eventName, '');\r\n isSupported = is(element[eventName], 'function');\r\n\r\n // If property was created, \"remove it\" (by setting value to `undefined`)\r\n if ( !is(element[eventName], 'undefined') ) {\r\n element[eventName] = undefined;\r\n }\r\n element.removeAttribute(eventName);\r\n }\r\n }\r\n\r\n element = null;\r\n return isSupported;\r\n }\r\n return isEventSupported;\r\n })(),\r\n /*>>hasevent*/\r\n\r\n // TODO :: Add flag for hasownprop ? didn't last time\r\n\r\n // hasOwnProperty shim by kangax needed for Safari 2.0 support\r\n _hasOwnProperty = ({}).hasOwnProperty, hasOwnProp;\r\n\r\n if ( !is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined') ) {\r\n hasOwnProp = function (object, property) {\r\n return _hasOwnProperty.call(object, property);\r\n };\r\n }\r\n else {\r\n hasOwnProp = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */\r\n return ((property in object) && is(object.constructor.prototype[property], 'undefined'));\r\n };\r\n }\r\n\r\n // Adapted from ES5-shim https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js\r\n // es5.github.com/#x15.3.4.5\r\n\r\n if (!Function.prototype.bind) {\r\n Function.prototype.bind = function bind(that) {\r\n\r\n var target = this;\r\n\r\n if (typeof target != \"function\") {\r\n throw new TypeError();\r\n }\r\n\r\n var args = slice.call(arguments, 1),\r\n bound = function () {\r\n\r\n if (this instanceof bound) {\r\n\r\n var F = function(){};\r\n F.prototype = target.prototype;\r\n var self = new F();\r\n\r\n var result = target.apply(\r\n self,\r\n args.concat(slice.call(arguments))\r\n );\r\n if (Object(result) === result) {\r\n return result;\r\n }\r\n return self;\r\n\r\n } else {\r\n\r\n return target.apply(\r\n that,\r\n args.concat(slice.call(arguments))\r\n );\r\n\r\n }\r\n\r\n };\r\n\r\n return bound;\r\n };\r\n }\r\n\r\n /**\r\n * setCss applies given styles to the Modernizr DOM node.\r\n */\r\n function setCss( str ) {\r\n mStyle.cssText = str;\r\n }\r\n\r\n /**\r\n * setCssAll extrapolates all vendor-specific css strings.\r\n */\r\n function setCssAll( str1, str2 ) {\r\n return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));\r\n }\r\n\r\n /**\r\n * is returns a boolean for if typeof obj is exactly type.\r\n */\r\n function is( obj, type ) {\r\n return typeof obj === type;\r\n }\r\n\r\n /**\r\n * contains returns a boolean for if substr is found within str.\r\n */\r\n function contains( str, substr ) {\r\n return !!~('' + str).indexOf(substr);\r\n }\r\n\r\n /*>>testprop*/\r\n\r\n // testProps is a generic CSS / DOM property test.\r\n\r\n // In testing support for a given CSS property, it's legit to test:\r\n // `elem.style[styleName] !== undefined`\r\n // If the property is supported it will return an empty string,\r\n // if unsupported it will return undefined.\r\n\r\n // We'll take advantage of this quick test and skip setting a style\r\n // on our modernizr element, but instead just testing undefined vs\r\n // empty string.\r\n\r\n // Because the testing of the CSS property names (with \"-\", as\r\n // opposed to the camelCase DOM properties) is non-portable and\r\n // non-standard but works in WebKit and IE (but not Gecko or Opera),\r\n // we explicitly reject properties with dashes so that authors\r\n // developing in WebKit or IE first don't end up with\r\n // browser-specific content by accident.\r\n\r\n function testProps( props, prefixed ) {\r\n for ( var i in props ) {\r\n var prop = props[i];\r\n if ( !contains(prop, \"-\") && mStyle[prop] !== undefined ) {\r\n return prefixed == 'pfx' ? prop : true;\r\n }\r\n }\r\n return false;\r\n }\r\n /*>>testprop*/\r\n\r\n // TODO :: add testDOMProps\r\n /**\r\n * testDOMProps is a generic DOM property test; if a browser supports\r\n * a certain property, it won't return undefined for it.\r\n */\r\n function testDOMProps( props, obj, elem ) {\r\n for ( var i in props ) {\r\n var item = obj[props[i]];\r\n if ( item !== undefined) {\r\n\r\n // return the property name as a string\r\n if (elem === false) return props[i];\r\n\r\n // let's bind a function\r\n if (is(item, 'function')){\r\n // default to autobind unless override\r\n return item.bind(elem || obj);\r\n }\r\n\r\n // return the unbound function or obj or value\r\n return item;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n /*>>testallprops*/\r\n /**\r\n * testPropsAll tests a list of DOM properties we want to check against.\r\n * We specify literally ALL possible (known and/or likely) properties on\r\n * the element including the non-vendor prefixed one, for forward-\r\n * compatibility.\r\n */\r\n function testPropsAll( prop, prefixed, elem ) {\r\n\r\n var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),\r\n props = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' ');\r\n\r\n // did they call .prefixed('boxSizing') or are we just testing a prop?\r\n if(is(prefixed, \"string\") || is(prefixed, \"undefined\")) {\r\n return testProps(props, prefixed);\r\n\r\n // otherwise, they called .prefixed('requestAnimationFrame', window[, elem])\r\n } else {\r\n props = (prop + ' ' + (domPrefixes).join(ucProp + ' ') + ucProp).split(' ');\r\n return testDOMProps(props, prefixed, elem);\r\n }\r\n }\r\n /*>>testallprops*/\r\n\r\n\r\n /**\r\n * Tests\r\n * -----\r\n */\r\n\r\n // The *new* flexbox\r\n // dev.w3.org/csswg/css3-flexbox\r\n\r\n tests['flexbox'] = function() {\r\n return testPropsAll('flexWrap');\r\n };\r\n\r\n // The *old* flexbox\r\n // www.w3.org/TR/2009/WD-css3-flexbox-20090723/\r\n\r\n tests['flexboxlegacy'] = function() {\r\n return testPropsAll('boxDirection');\r\n };\r\n\r\n // On the S60 and BB Storm, getContext exists, but always returns undefined\r\n // so we actually have to call getContext() to verify\r\n // github.com/Modernizr/Modernizr/issues/issue/97/\r\n\r\n tests['canvas'] = function() {\r\n var elem = document.createElement('canvas');\r\n return !!(elem.getContext && elem.getContext('2d'));\r\n };\r\n\r\n tests['canvastext'] = function() {\r\n return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));\r\n };\r\n\r\n // webk.it/70117 is tracking a legit WebGL feature detect proposal\r\n\r\n // We do a soft detect which may false positive in order to avoid\r\n // an expensive context creation: bugzil.la/732441\r\n\r\n tests['webgl'] = function() {\r\n return !!window.WebGLRenderingContext;\r\n };\r\n\r\n /*\r\n * The Modernizr.touch test only indicates if the browser supports\r\n * touch events, which does not necessarily reflect a touchscreen\r\n * device, as evidenced by tablets running Windows 7 or, alas,\r\n * the Palm Pre / WebOS (touch) phones.\r\n *\r\n * Additionally, Chrome (desktop) used to lie about its support on this,\r\n * but that has since been rectified: crbug.com/36415\r\n *\r\n * We also test for Firefox 4 Multitouch Support.\r\n *\r\n * For more info, see: modernizr.github.com/Modernizr/touch.html\r\n */\r\n\r\n tests['touch'] = function() {\r\n var bool;\r\n\r\n if(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {\r\n bool = true;\r\n } else {\r\n injectElementWithStyles(['@media (',prefixes.join('touch-enabled),('),mod,')','{#modernizr{top:9px;position:absolute}}'].join(''), function( node ) {\r\n bool = node.offsetTop === 9;\r\n });\r\n }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // geolocation is often considered a trivial feature detect...\r\n // Turns out, it's quite tricky to get right:\r\n //\r\n // Using !!navigator.geolocation does two things we don't want. It:\r\n // 1. Leaks memory in IE9: github.com/Modernizr/Modernizr/issues/513\r\n // 2. Disables page caching in WebKit: webk.it/43956\r\n //\r\n // Meanwhile, in Firefox < 8, an about:config setting could expose\r\n // a false positive that would throw an exception: bugzil.la/688158\r\n\r\n tests['geolocation'] = function() {\r\n return 'geolocation' in navigator;\r\n };\r\n\r\n\r\n tests['postmessage'] = function() {\r\n return !!window.postMessage;\r\n };\r\n\r\n\r\n // Chrome incognito mode used to throw an exception when using openDatabase\r\n // It doesn't anymore.\r\n tests['websqldatabase'] = function() {\r\n return !!window.openDatabase;\r\n };\r\n\r\n // Vendors had inconsistent prefixing with the experimental Indexed DB:\r\n // - Webkit's implementation is accessible through webkitIndexedDB\r\n // - Firefox shipped moz_indexedDB before FF4b9, but since then has been mozIndexedDB\r\n // For speed, we don't test the legacy (and beta-only) indexedDB\r\n tests['indexedDB'] = function() {\r\n return !!testPropsAll(\"indexedDB\", window);\r\n };\r\n\r\n // documentMode logic from YUI to filter out IE8 Compat Mode\r\n // which false positives.\r\n tests['hashchange'] = function() {\r\n return isEventSupported('hashchange', window) && (document.documentMode === undefined || document.documentMode > 7);\r\n };\r\n\r\n // Per 1.6:\r\n // This used to be Modernizr.historymanagement but the longer\r\n // name has been deprecated in favor of a shorter and property-matching one.\r\n // The old API is still available in 1.6, but as of 2.0 will throw a warning,\r\n // and in the first release thereafter disappear entirely.\r\n tests['history'] = function() {\r\n return !!(window.history && history.pushState);\r\n };\r\n\r\n tests['draganddrop'] = function() {\r\n var div = document.createElement('div');\r\n return ('draggable' in div) || ('ondragstart' in div && 'ondrop' in div);\r\n };\r\n\r\n // FF3.6 was EOL'ed on 4/24/12, but the ESR version of FF10\r\n // will be supported until FF19 (2/12/13), at which time, ESR becomes FF17.\r\n // FF10 still uses prefixes, so check for it until then.\r\n // for more ESR info, see: mozilla.org/en-US/firefox/organizations/faq/\r\n tests['websockets'] = function() {\r\n return 'WebSocket' in window || 'MozWebSocket' in window;\r\n };\r\n\r\n\r\n // css-tricks.com/rgba-browser-support/\r\n tests['rgba'] = function() {\r\n // Set an rgba() color and check the returned value\r\n\r\n setCss('background-color:rgba(150,255,150,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba');\r\n };\r\n\r\n tests['hsla'] = function() {\r\n // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,\r\n // except IE9 who retains it as hsla\r\n\r\n setCss('background-color:hsla(120,40%,100%,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba') || contains(mStyle.backgroundColor, 'hsla');\r\n };\r\n\r\n tests['multiplebgs'] = function() {\r\n // Setting multiple images AND a color on the background shorthand property\r\n // and then querying the style.background property value for the number of\r\n // occurrences of \"url(\" is a reliable method for detecting ACTUAL support for this!\r\n\r\n setCss('background:url(https://),url(https://),red url(https://)');\r\n\r\n // If the UA supports multiple backgrounds, there should be three occurrences\r\n // of the string \"url(\" in the return value for elemStyle.background\r\n\r\n return (/(url\\s*\\(.*?){3}/).test(mStyle.background);\r\n };\r\n\r\n\r\n\r\n // this will false positive in Opera Mini\r\n // github.com/Modernizr/Modernizr/issues/396\r\n\r\n tests['backgroundsize'] = function() {\r\n return testPropsAll('backgroundSize');\r\n };\r\n\r\n tests['borderimage'] = function() {\r\n return testPropsAll('borderImage');\r\n };\r\n\r\n\r\n // Super comprehensive table about all the unique implementations of\r\n // border-radius: muddledramblings.com/table-of-css3-border-radius-compliance\r\n\r\n tests['borderradius'] = function() {\r\n return testPropsAll('borderRadius');\r\n };\r\n\r\n // WebOS unfortunately false positives on this test.\r\n tests['boxshadow'] = function() {\r\n return testPropsAll('boxShadow');\r\n };\r\n\r\n // FF3.0 will false positive on this test\r\n tests['textshadow'] = function() {\r\n return document.createElement('div').style.textShadow === '';\r\n };\r\n\r\n\r\n tests['opacity'] = function() {\r\n // Browsers that actually have CSS Opacity implemented have done so\r\n // according to spec, which means their return values are within the\r\n // range of [0.0,1.0] - including the leading zero.\r\n\r\n setCssAll('opacity:.55');\r\n\r\n // The non-literal . in this regex is intentional:\r\n // German Chrome returns this value as 0,55\r\n // github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632\r\n return (/^0.55$/).test(mStyle.opacity);\r\n };\r\n\r\n\r\n // Note, Android < 4 will pass this test, but can only animate\r\n // a single property at a time\r\n // goo.gl/v3V4Gp\r\n tests['cssanimations'] = function() {\r\n return testPropsAll('animationName');\r\n };\r\n\r\n\r\n tests['csscolumns'] = function() {\r\n return testPropsAll('columnCount');\r\n };\r\n\r\n\r\n tests['cssgradients'] = function() {\r\n /**\r\n * For CSS Gradients syntax, please see:\r\n * webkit.org/blog/175/introducing-css-gradients/\r\n * developer.mozilla.org/en/CSS/-moz-linear-gradient\r\n * developer.mozilla.org/en/CSS/-moz-radial-gradient\r\n * dev.w3.org/csswg/css3-images/#gradients-\r\n */\r\n\r\n var str1 = 'background-image:',\r\n str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',\r\n str3 = 'linear-gradient(left top,#9f9, white);';\r\n\r\n setCss(\r\n // legacy webkit syntax (FIXME: remove when syntax not in use anymore)\r\n (str1 + '-webkit- '.split(' ').join(str2 + str1) +\r\n // standard syntax // trailing 'background-image:'\r\n prefixes.join(str3 + str1)).slice(0, -str1.length)\r\n );\r\n\r\n return contains(mStyle.backgroundImage, 'gradient');\r\n };\r\n\r\n\r\n tests['cssreflections'] = function() {\r\n return testPropsAll('boxReflect');\r\n };\r\n\r\n\r\n tests['csstransforms'] = function() {\r\n return !!testPropsAll('transform');\r\n };\r\n\r\n\r\n tests['csstransforms3d'] = function() {\r\n\r\n var ret = !!testPropsAll('perspective');\r\n\r\n // Webkit's 3D transforms are passed off to the browser's own graphics renderer.\r\n // It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in\r\n // some conditions. As a result, Webkit typically recognizes the syntax but\r\n // will sometimes throw a false positive, thus we must do a more thorough check:\r\n if ( ret && 'webkitPerspective' in docElement.style ) {\r\n\r\n // Webkit allows this media query to succeed only if the feature is enabled.\r\n // `@media (transform-3d),(-webkit-transform-3d){ ... }`\r\n injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {\r\n ret = node.offsetLeft === 9 && node.offsetHeight === 3;\r\n });\r\n }\r\n return ret;\r\n };\r\n\r\n\r\n tests['csstransitions'] = function() {\r\n return testPropsAll('transition');\r\n };\r\n\r\n\r\n /*>>fontface*/\r\n // @font-face detection routine by Diego Perini\r\n // javascript.nwbox.com/CSSSupport/\r\n\r\n // false positives:\r\n // WebOS github.com/Modernizr/Modernizr/issues/342\r\n // WP7 github.com/Modernizr/Modernizr/issues/538\r\n tests['fontface'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles('@font-face {font-family:\"font\";src:url(\"https://\")}', function( node, rule ) {\r\n var style = document.getElementById('smodernizr'),\r\n sheet = style.sheet || style.styleSheet,\r\n cssText = sheet ? (sheet.cssRules && sheet.cssRules[0] ? sheet.cssRules[0].cssText : sheet.cssText || '') : '';\r\n\r\n bool = /src/i.test(cssText) && cssText.indexOf(rule.split(' ')[0]) === 0;\r\n });\r\n\r\n return bool;\r\n };\r\n /*>>fontface*/\r\n\r\n // CSS generated content detection\r\n tests['generatedcontent'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles(['#',mod,'{font:0/0 a}#',mod,':after{content:\"',smile,'\";visibility:hidden;font:3px/1 a}'].join(''), function( node ) {\r\n bool = node.offsetHeight >= 3;\r\n });\r\n\r\n return bool;\r\n };\r\n\r\n\r\n\r\n // These tests evaluate support of the video/audio elements, as well as\r\n // testing what types of content they support.\r\n //\r\n // We're using the Boolean constructor here, so that we can extend the value\r\n // e.g. Modernizr.video // true\r\n // Modernizr.video.ogg // 'probably'\r\n //\r\n // Codec values from : github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845\r\n // thx to NielsLeenheer and zcorpan\r\n\r\n // Note: in some older browsers, \"no\" was a return value instead of empty string.\r\n // It was live in FF3.5.0 and 3.5.1, but fixed in 3.5.2\r\n // It was also live in Safari 4.0.0 - 4.0.4, but fixed in 4.0.5\r\n\r\n tests['video'] = function() {\r\n var elem = document.createElement('video'),\r\n bool = false;\r\n\r\n // IE9 Running on Windows Server SKU can cause an exception to be thrown, bug #224\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('video/ogg; codecs=\"theora\"') .replace(/^no$/,'');\r\n\r\n // Without QuickTime, this value will be `undefined`. github.com/Modernizr/Modernizr/issues/546\r\n bool.h264 = elem.canPlayType('video/mp4; codecs=\"avc1.42E01E\"') .replace(/^no$/,'');\r\n\r\n bool.webm = elem.canPlayType('video/webm; codecs=\"vp8, vorbis\"').replace(/^no$/,'');\r\n }\r\n\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n tests['audio'] = function() {\r\n var elem = document.createElement('audio'),\r\n bool = false;\r\n\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,'');\r\n bool.mp3 = elem.canPlayType('audio/mpeg;') .replace(/^no$/,'');\r\n\r\n // Mimetypes accepted:\r\n // developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements\r\n // bit.ly/iphoneoscodecs\r\n bool.wav = elem.canPlayType('audio/wav; codecs=\"1\"') .replace(/^no$/,'');\r\n bool.m4a = ( elem.canPlayType('audio/x-m4a;') ||\r\n elem.canPlayType('audio/aac;')) .replace(/^no$/,'');\r\n }\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // In FF4, if disabled, window.localStorage should === null.\r\n\r\n // Normally, we could not test that directly and need to do a\r\n // `('localStorage' in window) && ` test first because otherwise Firefox will\r\n // throw bugzil.la/365772 if cookies are disabled\r\n\r\n // Also in iOS5 Private Browsing mode, attempting to use localStorage.setItem\r\n // will throw the exception:\r\n // QUOTA_EXCEEDED_ERRROR DOM Exception 22.\r\n // Peculiarly, getItem and removeItem calls do not throw.\r\n\r\n // Because we are forced to try/catch this, we'll go aggressive.\r\n\r\n // Just FWIW: IE8 Compat mode supports these features completely:\r\n // www.quirksmode.org/dom/html5.html\r\n // But IE8 doesn't support either with local files\r\n\r\n tests['localstorage'] = function() {\r\n try {\r\n localStorage.setItem(mod, mod);\r\n localStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n tests['sessionstorage'] = function() {\r\n try {\r\n sessionStorage.setItem(mod, mod);\r\n sessionStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n\r\n tests['webworkers'] = function() {\r\n return !!window.Worker;\r\n };\r\n\r\n\r\n tests['applicationcache'] = function() {\r\n return !!window.applicationCache;\r\n };\r\n\r\n\r\n // Thanks to Erik Dahlstrom\r\n tests['svg'] = function() {\r\n return !!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect;\r\n };\r\n\r\n // specifically for SVG inline in HTML, not within XHTML\r\n // test page: paulirish.com/demo/inline-svg\r\n tests['inlinesvg'] = function() {\r\n var div = document.createElement('div');\r\n div.innerHTML = '';\r\n return (div.firstChild && div.firstChild.namespaceURI) == ns.svg;\r\n };\r\n\r\n // SVG SMIL animation\r\n tests['smil'] = function() {\r\n return !!document.createElementNS && /SVGAnimate/.test(toString.call(document.createElementNS(ns.svg, 'animate')));\r\n };\r\n\r\n // This test is only for clip paths in SVG proper, not clip paths on HTML content\r\n // demo: srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg\r\n\r\n // However read the comments to dig into applying SVG clippaths to HTML content here:\r\n // github.com/Modernizr/Modernizr/issues/213#issuecomment-1149491\r\n tests['svgclippaths'] = function() {\r\n return !!document.createElementNS && /SVGClipPath/.test(toString.call(document.createElementNS(ns.svg, 'clipPath')));\r\n };\r\n\r\n /*>>webforms*/\r\n // input features and input types go directly onto the ret object, bypassing the tests loop.\r\n // Hold this guy to execute in a moment.\r\n function webforms() {\r\n /*>>input*/\r\n // Run through HTML5's new input attributes to see if the UA understands any.\r\n // We're using f which is the element created early on\r\n // Mike Taylr has created a comprehensive resource for testing these attributes\r\n // when applied to all input types:\r\n // miketaylr.com/code/input-type-attr.html\r\n // spec: www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\r\n\r\n // Only input placeholder is tested while textarea's placeholder is not.\r\n // Currently Safari 4 and Opera 11 have support only for the input placeholder\r\n // Both tests are available in feature-detects/forms-placeholder.js\r\n Modernizr['input'] = (function( props ) {\r\n for ( var i = 0, len = props.length; i < len; i++ ) {\r\n attrs[ props[i] ] = !!(props[i] in inputElem);\r\n }\r\n if (attrs.list){\r\n // safari false positive's on datalist: webk.it/74252\r\n // see also github.com/Modernizr/Modernizr/issues/146\r\n attrs.list = !!(document.createElement('datalist') && window.HTMLDataListElement);\r\n }\r\n return attrs;\r\n })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));\r\n /*>>input*/\r\n\r\n /*>>inputtypes*/\r\n // Run through HTML5's new input types to see if the UA understands any.\r\n // This is put behind the tests runloop because it doesn't return a\r\n // true/false like all the other tests; instead, it returns an object\r\n // containing each input type with its corresponding true/false value\r\n\r\n // Big thanks to @miketaylr for the html5 forms expertise. miketaylr.com/\r\n Modernizr['inputtypes'] = (function(props) {\r\n\r\n for ( var i = 0, bool, inputElemType, defaultView, len = props.length; i < len; i++ ) {\r\n\r\n inputElem.setAttribute('type', inputElemType = props[i]);\r\n bool = inputElem.type !== 'text';\r\n\r\n // We first check to see if the type we give it sticks..\r\n // If the type does, we feed it a textual value, which shouldn't be valid.\r\n // If the value doesn't stick, we know there's input sanitization which infers a custom UI\r\n if ( bool ) {\r\n\r\n inputElem.value = smile;\r\n inputElem.style.cssText = 'position:absolute;visibility:hidden;';\r\n\r\n if ( /^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined ) {\r\n\r\n docElement.appendChild(inputElem);\r\n defaultView = document.defaultView;\r\n\r\n // Safari 2-4 allows the smiley as a value, despite making a slider\r\n bool = defaultView.getComputedStyle &&\r\n defaultView.getComputedStyle(inputElem, null).WebkitAppearance !== 'textfield' &&\r\n // Mobile android web browser has false positive, so must\r\n // check the height to see if the widget is actually there.\r\n (inputElem.offsetHeight !== 0);\r\n\r\n docElement.removeChild(inputElem);\r\n\r\n } else if ( /^(search|tel)$/.test(inputElemType) ){\r\n // Spec doesn't define any special parsing or detectable UI\r\n // behaviors so we pass these through as true\r\n\r\n // Interestingly, opera fails the earlier test, so it doesn't\r\n // even make it here.\r\n\r\n } else if ( /^(url|email)$/.test(inputElemType) ) {\r\n // Real url and email support comes with prebaked validation.\r\n bool = inputElem.checkValidity && inputElem.checkValidity() === false;\r\n\r\n } else {\r\n // If the upgraded input compontent rejects the :) text, we got a winner\r\n bool = inputElem.value != smile;\r\n }\r\n }\r\n\r\n inputs[ props[i] ] = !!bool;\r\n }\r\n return inputs;\r\n })('search tel url email datetime date month week time datetime-local number range color'.split(' '));\r\n /*>>inputtypes*/\r\n }\r\n /*>>webforms*/\r\n\r\n\r\n // End of test definitions\r\n // -----------------------\r\n\r\n\r\n\r\n // Run through all tests and detect their support in the current UA.\r\n // todo: hypothetically we could be doing an array of tests and use a basic loop here.\r\n for ( var feature in tests ) {\r\n if ( hasOwnProp(tests, feature) ) {\r\n // run the test, throw the return value into the Modernizr,\r\n // then based on that boolean, define an appropriate className\r\n // and push it into an array of classes we'll join later.\r\n featureName = feature.toLowerCase();\r\n Modernizr[featureName] = tests[feature]();\r\n\r\n classes.push((Modernizr[featureName] ? '' : 'no-') + featureName);\r\n }\r\n }\r\n\r\n /*>>webforms*/\r\n // input tests need to run.\r\n Modernizr.input || webforms();\r\n /*>>webforms*/\r\n\r\n\r\n /**\r\n * addTest allows the user to define their own feature tests\r\n * the result will be added onto the Modernizr object,\r\n * as well as an appropriate className set on the html element\r\n *\r\n * @param feature - String naming the feature\r\n * @param test - Function returning true if feature is supported, false if not\r\n */\r\n Modernizr.addTest = function ( feature, test ) {\r\n if ( typeof feature == 'object' ) {\r\n for ( var key in feature ) {\r\n if ( hasOwnProp( feature, key ) ) {\r\n Modernizr.addTest( key, feature[ key ] );\r\n }\r\n }\r\n } else {\r\n\r\n feature = feature.toLowerCase();\r\n\r\n if ( Modernizr[feature] !== undefined ) {\r\n // we're going to quit if you're trying to overwrite an existing test\r\n // if we were to allow it, we'd do this:\r\n // var re = new RegExp(\"\\\\b(no-)?\" + feature + \"\\\\b\");\r\n // docElement.className = docElement.className.replace( re, '' );\r\n // but, no rly, stuff 'em.\r\n return Modernizr;\r\n }\r\n\r\n test = typeof test == 'function' ? test() : test;\r\n\r\n if (typeof enableClasses !== \"undefined\" && enableClasses) {\r\n docElement.className += ' ' + (test ? '' : 'no-') + feature;\r\n }\r\n Modernizr[feature] = test;\r\n\r\n }\r\n\r\n return Modernizr; // allow chaining.\r\n };\r\n\r\n\r\n // Reset modElem.cssText to nothing to reduce memory footprint.\r\n setCss('');\r\n modElem = inputElem = null;\r\n\r\n /*>>shiv*/\r\n /**\r\n * @preserve HTML5 Shiv prev3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed\r\n */\r\n ;(function(window, document) {\r\n /*jshint evil:true */\r\n /** version */\r\n var version = '3.7.0';\r\n\r\n /** Preset options */\r\n var options = window.html5 || {};\r\n\r\n /** Used to skip problem elements */\r\n var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;\r\n\r\n /** Not all elements can be cloned in IE **/\r\n var saveClones = /^(?: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;\r\n\r\n /** Detect whether the browser supports default html5 styles */\r\n var supportsHtml5Styles;\r\n\r\n /** Name of the expando, to work with multiple documents or to re-shiv one document */\r\n var expando = '_html5shiv';\r\n\r\n /** The id for the the documents expando */\r\n var expanID = 0;\r\n\r\n /** Cached data for each document */\r\n var expandoData = {};\r\n\r\n /** Detect whether the browser supports unknown elements */\r\n var supportsUnknownElements;\r\n\r\n (function() {\r\n try {\r\n var a = document.createElement('a');\r\n a.innerHTML = '';\r\n //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles\r\n supportsHtml5Styles = ('hidden' in a);\r\n\r\n supportsUnknownElements = a.childNodes.length == 1 || (function() {\r\n // assign a false positive if unable to shiv\r\n (document.createElement)('a');\r\n var frag = document.createDocumentFragment();\r\n return (\r\n typeof frag.cloneNode == 'undefined' ||\r\n typeof frag.createDocumentFragment == 'undefined' ||\r\n typeof frag.createElement == 'undefined'\r\n );\r\n }());\r\n } catch(e) {\r\n // assign a false positive if detection fails => unable to shiv\r\n supportsHtml5Styles = true;\r\n supportsUnknownElements = true;\r\n }\r\n\r\n }());\r\n\r\n /*--------------------------------------------------------------------------*/\r\n\r\n /**\r\n * Creates a style sheet with the given CSS text and adds it to the document.\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @param {String} cssText The CSS text.\r\n * @returns {StyleSheet} The style element.\r\n */\r\n function addStyleSheet(ownerDocument, cssText) {\r\n var p = ownerDocument.createElement('p'),\r\n parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;\r\n\r\n p.innerHTML = 'x';\r\n return parent.insertBefore(p.lastChild, parent.firstChild);\r\n }\r\n\r\n /**\r\n * Returns the value of `html5.elements` as an array.\r\n * @private\r\n * @returns {Array} An array of shived element node names.\r\n */\r\n function getElements() {\r\n var elements = html5.elements;\r\n return typeof elements == 'string' ? elements.split(' ') : elements;\r\n }\r\n\r\n /**\r\n * Returns the data associated to the given document\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @returns {Object} An object of data.\r\n */\r\n function getExpandoData(ownerDocument) {\r\n var data = expandoData[ownerDocument[expando]];\r\n if (!data) {\r\n data = {};\r\n expanID++;\r\n ownerDocument[expando] = expanID;\r\n expandoData[expanID] = data;\r\n }\r\n return data;\r\n }\r\n\r\n /**\r\n * returns a shived element for the given nodeName and document\r\n * @memberOf html5\r\n * @param {String} nodeName name of the element\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived element.\r\n */\r\n function createElement(nodeName, ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createElement(nodeName);\r\n }\r\n if (!data) {\r\n data = getExpandoData(ownerDocument);\r\n }\r\n var node;\r\n\r\n if (data.cache[nodeName]) {\r\n node = data.cache[nodeName].cloneNode();\r\n } else if (saveClones.test(nodeName)) {\r\n node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();\r\n } else {\r\n node = data.createElem(nodeName);\r\n }\r\n\r\n // Avoid adding some elements to fragments in IE < 9 because\r\n // * Attributes like `name` or `type` cannot be set/changed once an element\r\n // is inserted into a document/fragment\r\n // * Link elements with `src` attributes that are inaccessible, as with\r\n // a 403 response, will cause the tab/window to crash\r\n // * Script elements appended to fragments will execute when their `src`\r\n // or `text` property is set\r\n return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node;\r\n }\r\n\r\n /**\r\n * returns a shived DocumentFragment for the given document\r\n * @memberOf html5\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived DocumentFragment.\r\n */\r\n function createDocumentFragment(ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createDocumentFragment();\r\n }\r\n data = data || getExpandoData(ownerDocument);\r\n var clone = data.frag.cloneNode(),\r\n i = 0,\r\n elems = getElements(),\r\n l = elems.length;\r\n for(;i>shiv*/\r\n\r\n // Assign private properties to the return object with prefix\r\n Modernizr._version = version;\r\n\r\n // expose these for the plugin API. Look in the source for how to join() them against your input\r\n /*>>prefixes*/\r\n Modernizr._prefixes = prefixes;\r\n /*>>prefixes*/\r\n /*>>domprefixes*/\r\n Modernizr._domPrefixes = domPrefixes;\r\n Modernizr._cssomPrefixes = cssomPrefixes;\r\n /*>>domprefixes*/\r\n\r\n /*>>mq*/\r\n // Modernizr.mq tests a given media query, live against the current state of the window\r\n // A few important notes:\r\n // * If a browser does not support media queries at all (eg. oldIE) the mq() will always return false\r\n // * A max-width or orientation query will be evaluated against the current state, which may change later.\r\n // * You must specify values. Eg. If you are testing support for the min-width media query use:\r\n // Modernizr.mq('(min-width:0)')\r\n // usage:\r\n // Modernizr.mq('only screen and (max-width:768)')\r\n Modernizr.mq = testMediaQuery;\r\n /*>>mq*/\r\n\r\n /*>>hasevent*/\r\n // Modernizr.hasEvent() detects support for a given event, with an optional element to test on\r\n // Modernizr.hasEvent('gesturestart', elem)\r\n Modernizr.hasEvent = isEventSupported;\r\n /*>>hasevent*/\r\n\r\n /*>>testprop*/\r\n // Modernizr.testProp() investigates whether a given style property is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testProp('pointerEvents')\r\n Modernizr.testProp = function(prop){\r\n return testProps([prop]);\r\n };\r\n /*>>testprop*/\r\n\r\n /*>>testallprops*/\r\n // Modernizr.testAllProps() investigates whether a given style property,\r\n // or any of its vendor-prefixed variants, is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testAllProps('boxSizing')\r\n Modernizr.testAllProps = testPropsAll;\r\n /*>>testallprops*/\r\n\r\n\r\n /*>>teststyles*/\r\n // Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards\r\n // Modernizr.testStyles('#modernizr { position:absolute }', function(elem, rule){ ... })\r\n Modernizr.testStyles = injectElementWithStyles;\r\n /*>>teststyles*/\r\n\r\n\r\n /*>>prefixed*/\r\n // Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input\r\n // Modernizr.prefixed('boxSizing') // 'MozBoxSizing'\r\n\r\n // Properties must be passed as dom-style camelcase, rather than `box-sizing` hypentated style.\r\n // Return values will also be the camelCase variant, if you need to translate that to hypenated style use:\r\n //\r\n // str.replace(/([A-Z])/g, function(str,m1){ return '-' + m1.toLowerCase(); }).replace(/^ms-/,'-ms-');\r\n\r\n // If you're trying to ascertain which transition end event to bind to, you might do something like...\r\n //\r\n // var transEndEventNames = {\r\n // 'WebkitTransition' : 'webkitTransitionEnd',\r\n // 'MozTransition' : 'transitionend',\r\n // 'OTransition' : 'oTransitionEnd',\r\n // 'msTransition' : 'MSTransitionEnd',\r\n // 'transition' : 'transitionend'\r\n // },\r\n // transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];\r\n\r\n Modernizr.prefixed = function(prop, obj, elem){\r\n if(!obj) {\r\n return testPropsAll(prop, 'pfx');\r\n } else {\r\n // Testing DOM property e.g. Modernizr.prefixed('requestAnimationFrame', window) // 'mozRequestAnimationFrame'\r\n return testPropsAll(prop, obj, elem);\r\n }\r\n };\r\n /*>>prefixed*/\r\n\r\n\r\n /*>>cssclasses*/\r\n // Remove \"no-js\" class from element, if it exists:\r\n docElement.className = docElement.className.replace(/(^|\\s)no-js(\\s|$)/, '$1$2') +\r\n\r\n // Add the new classes to the element.\r\n (enableClasses ? ' js ' + classes.join(' ') : '');\r\n /*>>cssclasses*/\r\n\r\n return Modernizr;\r\n\r\n})(this, this.document);\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = window.Modernizr;\n}.call(window));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./sitefiles/scripts/lib/modernizr.js\n// module id = 19\n// module chunks = 8"],"sourceRoot":""}