{"version":3,"sources":["../../../AFN/script/afn-spa.js","../../../Base/lib/modernizr.js","../../../Base/script/partial/ash.js","../../../Base/script/ashModal.js","../../../../node_modules/ash-header/dist/navigation.iife.js","../../../Base/script/partial/ashPlugin.js"],"names":["setupAshModal","el","cbOnClose","cbOnClick","length","obj","attr","$","each","this","modalMatch","modalClass","ashModal","theContent","closeContent","addModalClass","callbackAfterClick","callbackAfterClose","removePageScroll","window","document","undefined","is","type","testRunner","featureNames","feature","aliasIdx","result","nameIdx","featureName","featureNameSplit","featureIdx","tests","hasOwnProperty","name","push","toLowerCase","options","aliases","fn","split","Modernizr","Boolean","classes","join","setClasses","className","docElement","classPrefix","_config","isSVG","baseVal","enableJSClass","reJS","RegExp","replace","enableClasses","addTest","test","key","hasOwnProp","last","_trigger","createElement","arguments","createElementNS","call","apply","cssToDOM","str","m1","m2","toUpperCase","domToCSS","getBody","body","fake","injectElementWithStyles","rule","callback","nodes","testnames","style","ret","node","docOverflow","mod","div","parseInt","id","appendChild","styleSheet","cssText","createTextNode","background","overflow","parentNode","removeChild","offsetHeight","roundedEquals","a","b","computedStyle","elem","pseudo","prop","getComputedStyle","console","getPropertyValue","method","error","currentStyle","contains","substr","indexOf","nativeTestProps","props","value","i","CSS","supports","conditionText","fnBind","that","testDOMProps","item","testProps","prefixed","skipValueTest","cleanElems","afterInit","mStyle","modElem","propsLength","before","elems","shift","e","testPropsAll","ucProp","charAt","slice","cssomPrefixes","detectDeleteDatabase","indexeddb","testDBName","deleteReq","deleteDatabase","onsuccess","onerror","testAllProps","ModernizrProto","_version","usePrefixes","_q","on","cb","self","setTimeout","addAsyncTest","prototype","Blob","cookie","XMLHttpRequest","CustomEvent","DataView","navigator","ua","userAgent","location","protocol","history","createSVGRect","eval","WebSocket","CLOSING","unprefixed","newSyntax","oldSyntax","Array","copyWithin","fill","find","findIndex","keys","entries","values","from","of","Map","Set","WeakMap","WeakSet","Function","Math","clz32","cbrt","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","Number","isFinite","isInteger","isSafeInteger","isNaN","parseFloat","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","EPSILON","Object","assign","setPrototypeOf","Promise","resolve","r","String","fromCodePoint","raw","codePointAt","repeat","startsWith","endsWith","includes","File","FileList","FileReader","protoBin","prefixes","_prefixes","documentElement","nodeName","omPrefixes","domPrefixes","_domPrefixes","_hasOwnProperty","object","property","constructor","_l","res","cbs","advertiseSupport","clearTimeout","timeout","removeEventListener","timeoutTime","addEventListener","fail","cleanup","url","URL","revokeObjectURL","worker","terminate","BlobBuilder","usePrefix","MozBlobBuilder","WebKitBlobBuilder","MSBlobBuilder","OBlobBuilder","MozURL","webkitURL","MSURL","OURL","blob","bb","data","scriptText","append","getBlob","createObjectURL","Worker","onmessage","postMessage","uri","addResult","event","image","width","baseTest","Image","onload","src","webpTests","webp","_cssomPrefixes","atRule","cssrule","CSSRule","prefix","thisRule","hasEvent","inner","eventName","element","isSupported","needsFallback","setAttribute","removeAttribute","documentMode","bool","prefixedCSSValue","contentEditable","canvas","externalHost","pointerEvents","outerAnchor","innerAnchor","getBoundingClientRect","innerHTML","childNodes","easy_detect","activex","attachBody","removeFakeBody","runTest","embed","blocked","ActiveXObject","plugins","blockedDetect","inline_style","mq","matchMedia","msMatchMedia","mql","matches","position","testStyles","offsetWidth","clientWidth","DocumentTouch","query","offsetTop","diff","open","form","input","invalidFired","formvalidationapi","opera","operamini","preventDefault","stopPropagation","getElementsByTagName","formvalidationmessage","validationMessage","click","inputElem","inputattrs","attrs","len","list","HTMLDataListElement","inputtypes","inputs","inputElemType","defaultView","smile","WebkitAppearance","checkValidity","scroller","fullSizeElem","scrollbarWidth","one_vw","one_vh","clientHeight","expectedWidth","max","compWidth","bdi","toStringFn","toString","unshift","testProp","useValue","prefixedCSS","prefixedProp","MouseEvent","WEBKIT_FORCE_AT_MOUSE_DOWN","WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN","random","req","openRequest","db","putRequest","dbname","supportsBlob","deletedatabase","onupgradeneeded","createObjectStore","transaction","objectStore","put","close","tempStorage","persStorage","crypto","supportsGetRandomValues","array","Uint32Array","getRandomValues","prerequisites","blobconstructor","bloburls","webworkers","typedarrays","buffer","ArrayBuffer","byteLength","$$ash","ajaxFail","arg1","arg2","arg3","arg4","removeErrorsOnPage","errors","$u","forEach","TweenLite","killTweensOf","determineTarget","useDefaultTarget","target","jQuery","querySelector","HTMLElement","createErrorMessage","message","errorMessage","output","useOldVersion","textContent","listItem","classList","add","insertErrorMessage","messageMarkup","insertBefore","firstChild","nextSibling","fromTo","css","height","padding","opacity","reloadIfExpired","xhr","status","reload","errorObj","errorTarget","errorMessageDomElement","response","responseJSON","responseStatus","customMessage","errorsArray","num","exp","size","def","formSuccess","unstringJSON","parent","class","html","siblings","remove","end","reset","select2","slideDown","replaceState","title","pushState","browserHist","save","histArr","pop","ele","trigger","userList","removeUser","contClass","closest","cont","userId","ajax","user","success","textStatus","reloadOnTimeout","removeItem","thisHeight","outerHeight","addClass","fadeOut","duration","complete","tempErr","text","initSelect2","touchevents","minimumResultsForSearch","formatNoMatches","term","templateInitHelper","triggerOverride","init","not","setTrigger","eventListener","trigr","off","getTemplateData","dataValue","val","handlebarsInit","opts","getHandlebarsTemplateAndJson","templateUrl","jsonUrl","jsonData","useNewVersion","renderTemplate","template","json","insertType","renderTemplate2","numberToLoad","keyToSlice","sliceStartIndex","getTemplateJson","getHandlebarsTemplate","targetId","templateHtml","getElementById","addLoader","when","cache","get","then","jsonDataArr","templateHtmlArr","removeLoader","handlebarsData","done","Handlebars","compile","valInput","$$ashVal","clearValidation","insertTemplateViaDropdown","insertTemplateViaButton","select","hasClass","removeSelectEmptyOption","updateProgress","bodyLinkProcessing","links","bodyLinkRedir","originalArrayBeforeSlice","compiledTemplate","Error","newJsonData","k","preventDefaultFormSubmit","insertData","startIndex","endSlice","newStartIndex","validate","wrap","after","unwrap","removeClass","next","openModal","modalCallback","getCallback","renderModal","runModal","trg","cbObj","formatNum","x","x1","x2","regEx","percent","progress","goal","floor","parseJSON","getTypeKit","typeKitId","typekitConfig","kitId","d","tk","async","onreadystatechange","rs","readyState","Typekit","load","s","cardsEqualHeight","carLIs","winWth","removeAttr","equalHeights","flexheightFallback","removeButtonOnSubmit","resetForm","btn","loader","fadeIn","align","isNextBtn","isCentered","ignoreBtn","parents","loaderClass","inlinesvg","hide","serializeDataToObject","ajaxData","querySelectorAll","filter","control","checked","map","ajaxValue","reduce","acc","objKey","responseHeaderJson","getResponseHeader","o","failOpts","submitButton","xLocation","ajaxOpts","headers","contentType","dataType","processData","beforeSend","callback2","cbOpts","always","dfd","failMessage","failMessageLocation","failMessagePos","failTypeNew","disableSubmitWhilePostingOpts","suppressSuccessTrigger","loaderOpts","loaderLocation","loaderPosition","loaderAlign","traditional","ajaxIgnoreErrorDisplayCodes","xhrFields","withCredentials","enableAjaxCredentials","validationError","validateAll","disableButtonDuringAjaxPost","loadingText","reject","getLocation","href","connectedWidgetInit","ashModalPrinter","logoImgs","content","cssLinks","newWindow","write","loaderPos","containerClass","loaderSel","loaderHtml","prepend","context","ajaxFormSubmit","log","serialize","alert","metaNavInit","theTriggers","theNavList","closeMenu","toggleClass","shiftKey","viewMore","showResults","templateData","jsonSlicer","numberToSlice","unslicedArray","initRender","arrayLength","startSliceIndex","totalLength","cachedTemplate","chatterPost","deleteCommentBind","prepopulateDate","date","validateDate","isTypeDate","match","getAttribute","startInput","endInput","startDate","endDate","convertDate","opDay","iso","change","datepicker","setHiddenInput","dateStr","dateObj1","dateObj2","month","day","year","outputDate","opMonth","opYear","strArr","Date","getMonth","getDate","getFullYear","formatter","newString","string","arg","ease","Power3","easeOut","offset","top","_plugins","scrollTo","to","y","animate","scrollTop","storage","local","set","localStorage","setItem","getItem","session","sessionStorage","storeValues","storeType","storeData","flag","baseKey","innerText","removeData","storeItmFlag","storeTxtFlag","storeValFlag","storeItmObj","txtData","valData","inputType","displayValues","dispItmFlag","dispItmObj","populateFields","fields","dis","field","scrollThrottle","timeDelay","events","scrollTimer","debounce","delay","inputChecker","handleChangeEvent","defaultData","customChecker","optionalData","extend","parentForm","selector","removeEmptyOptionTag","placeholderData","firstOption","selectObj","first","removeEmptyIgnore","disabled","initializeDonutChart","donut","DonutChart","initialize","openModalFromTemplate","closeCallback","openCallback","setInterval","clear","intervalId","seconds","counter","storedId","clearInterval","sessionTimerInit","isPublic","modalTrigger","keepTrigger","keepUrl","endTrigger","endUrl","delayMins","calculateDelay","timeoutId","timer","countStart","keepSession","endSession","pathname","countSecs","countContainer","modalClose","enableOnCheck","allChecked","checkboxes","toggleButton","thisButton","containerSelector","container","buttonsToEnable","ajaxGet","defaults","closeBtnSrc","ovrContent","settings","createModalContent","format","objWidth","objHeight","theHref","objTitle","children","htmlContent","useTemplate","initClose","which","closeModal","has","closeEle","thisCont","invalids","failClass","ajaxError","modalElem","detach","runOnce","noClose","buildModal","restoreButtons","closeBtn","contentCont","contentClass","modalContent","mask","w1","innerWidth","w2","modalBody","appendTo","show","focus","navigation","initMainNavigation","func","wait","immediate","_arguments","_this","later","callNow","fixedHeader","header","mainContainer","mainNavigation","mainNavigationItems","mainNavigationToggle","verticalNav","expandableVerticalNav","horizontalNav","mobileActive","secondaryLogo","showChildrenBtn","navContainer","toggle","closeMobileNav","NodeList","paddingBottom","concat","mainNavigationItem","index","toggleDropdownClasses","addClasses","removeClasses","showChildBtn","dropdownMenu","nextElementSibling","previousElementSibling","toggleClasses","active","paddingTop","paddingLeft","returnedFunction","ashImgGet","img","equalColumnWidth","objItems","numbers","ashTab","tabs","activeClass","iconClass","setHeights","contParent","showCont","tab","ind","activeT","activeCont","contLn","activeA","activeIcon","minHeight","maxHeight","tallest","ashCountdown","textField","countdownInit","maxLength","textVal","currentLength","ashFlexSlide","reel","slide","leftArrw","rightArrw","anTime","arrowsHidden","tick","hideBehindArrows","noArrows","resize","resizeArrows","updateTabs","tabNav","eq","currSlide","calcActiveSlides","cntActiveSlides","theSlides","changeSlide","useTimer","slideTimeOut","amtSlides","theReel","left","slideWidth","animTime","timerTick","resetTimer","prevArrow","nextArrow","hideArrows","noBehindArrows","woArrows","sizerSel","mainParContWidth","parentWidth","outerWidth","allSlidesWidth","hover","stop","fadeTo","_resetSlides","resetSlides","ashAccord","triggerNewText","changeText","newTxt","tr","origTxt","slideToggle","ashCollapsible","panel","startOpen","iconContainer","closedIconClass","openedIconClass","keepOpen","keepOpenMinMax","keepOpenWidth","callbackExpand","callbackCollapse","hideHdr","headerAltText","evt","thisTrigger","one","ashExpDataGallery","finder","delayedFunction","contentTriggers","allContentTriggers","contentItems","allContentItems","mobileFirst","openPanel","slideUp","dataFinder","expandable","scrollPoint","$$ashSc","order","ashFileUpload","targetImg","targetImage","action","ajaxfileupload","onComplete","imgUrl","progressGraphInit","donutWidth","getJSON","responseText","newTotal","Raphael","total","piechart","donutMet","met","donutMetPercent","goalMet","showMax","donutUnit","unit","donutAction","donutTotal","metSvg","metHtml","reverseColors","initViewMoreButton","ajaxSearchInit","numberOfResults","search","finalCallback","cacheFullArray","returnCheckedInputsAsObject","selName","selVal","isTrueButton","originalText","newText","ashTemplateInit","isOnScreen","viewport","bounds","bottom","DateController","jsonCurrUrl","dateControl","needCustomSetup","custForm","ctrlFmt","ctrlSel","getData","ctlrObj","summary","previous","setupDateCtrl","moveToNewDate","dateObj","newArrow","oldArrow","prevDate","nextDate","datePeriod","dateType","resetArrows","displayDate","sDtConv","trim","eDtConv","dtPer","dt","dParts","convDate","mo","moStr","da","daStr","$$sessionTimeOut"],"mappings":"AACA,QAAAA,eAAAC,EAAAC,EAAAC,GACA,GAAAF,EAAAG,OAAA,CAEA,GAAAC,GAAAJ,EAAAK,KAAA,2BAAAL,EAAAM,EAAA,aAEAF,GAAAG,KAAA,WACA,GAAAH,GAAAE,EAAAE,MACAC,EAAAH,EAAA,yCAAAF,EAAAC,KAAA,0BAAA,MACAK,EAAAN,EAAAC,KAAA,0BAAAD,EAAAC,KAAA,0BAAA,IACAD,GAAAO,UAC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ACAA,EAAA,GAAA,OACAA,EAAA,GAAA,OACAA,EAAA,GAAA,SACAA,EAAA,GAAA,YACAA,EAAA,GAAA,UACAA,EAAA,IAAA,WACAA,EAAA,IAAA,WAEAltB,GACA,IAAA,YAEA,MAAAktB,GAAA4X,EAAApX,YAAA,IAAAoX,EAAAnX,UAAA,KAAAmX,EAAAlX,aACA,KAAA,UAEA,MAAAV,GAAA4X,EAAApX,YAAA,IAAAoX,EAAAlX,aACA,KAAA,aAEA,GAAAmX,GAAAD,EAAApX,WAAA,EACAsX,EAAAD,GAAA,EAAA,IAAAA,EAAAruB,WAAAquB,EACAE,EAAAH,EAAAnX,UACAuX,EAAAD,GAAA,EAAA,IAAAA,EAAAvuB,WAAAuuB,CACA,OAAAD,GAAA,IAAAE,EAAA,IAAAJ,EAAAlX,aACA,SAEA,MAAAV,GAAA4X,EAAApX,YAAA,IAAAoX,EAAAnX,UAAA,KAAAmX,EAAAlX,iBL9/BA/tB,UAAA+O,iBAAA,mBAAA,WAUA,GATAmoB,aACA/d,MAAA4R,YACA,oDACA,iDAIAnsB,cAAAO,EAAA,eAEA,IAAAa,SAAA+mB,iBAAA,WAAA/nB,QAAA,IAAAgB,SAAA+mB,iBAAA,aAAA/nB,OAAA,CACA,GAAA4P,GAAA7O,OAAAulC,kBAAA,EACAnsB,OAAA4Z,kBACAO,UAAA1kB,EACAklB,UAAA","file":"bundle-afnSPA.min.js","sourcesContent":[";\r\nfunction setupAshModal(el, cbOnClose, cbOnClick) {\r\n\tif (el.length) {\r\n\t\t//if element has data-ash-ashmodalformat attribute\r\n\t\tvar obj = el.attr('data-ash-ashmodalformat') ? el : $('.modalOpen');\r\n\r\n\t\tobj.each(function () {\r\n\t\t\tvar obj = $(this),\r\n\t\t\t\tmodalMatch = $('.ashModalCont[data-ash-ashmodalmatch=\"' + obj.attr('data-ash-ashmodalmatch') + '\"]'),\r\n\t\t\t\tmodalClass = obj.attr('data-ash-addmodalclass') ? obj.attr('data-ash-addmodalclass') : null;\r\n\t\t\tobj.ashModal({\r\n\t\t\t\t'theContent': modalMatch,\r\n\t\t\t\t'closeContent': '',\r\n\t\t\t\t'addModalClass': modalClass,\r\n\t\t\t\t'callbackAfterClick': cbOnClick,\r\n\t\t\t\t'callbackAfterClose': cbOnClose,\r\n\t\t\t\t'removePageScroll': true\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n}\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n\tnavigation();\r\n\t\t$$ash.metaNavInit(\r\n\t\t\t'.secondaryInfo .user-info a.dropdown-menu-trigger',\r\n\t\t\t'.secondaryInfo .user-info .dropdown-menu-cont'\r\n\t\t);\r\n\r\n\t//set up ashModal\r\n\tsetupAshModal($('.modalOpen'));\r\n\t//initialize session timer\r\n\tif (document.querySelectorAll('.isHome').length === 0 && document.querySelectorAll('.isPublic').length === 0) {\r\n\t\tvar timeout = window.$$sessionTimeOut || 20;\r\n\t\t$$ash.sessionTimerInit({\r\n\t\t\tdelayMins: timeout,\r\n\t\t\tcountSecs: 30\r\n\t\t});\r\n\t}\r\n\r\n});","/*!\r\n * modernizr v3.5.0\r\n * Build https://modernizr.com/download?-adownload-animation-appearance-applicationcache-backgroundblendmode-backgroundcliptext-bdi-blobconstructor-blobworkers-borderimage-contenteditable-contextmenu-cookies-cors-cssall-cssfilters-cssmask-csspointerevents-cssreflections-cssresize-cssvmaxunit-customevent-dataview-dataworkers-details-documentfragment-es6array-es6collections-es6math-es6number-es6object-es6string-eventlistener-filereader-filesystem-flash-flexboxtweener-flexwrap-forcetouch-formvalidation-fullscreen-generators-geolocation-getrandomvalues-hashchange-hiddenscroll-history-htmlimports-indexeddb-indexeddbblob-input-inputtypes-intl-ligatures-objectfit-olreversed-outputelem-pagevisibility-performance-picture-placeholder-pointerevents-pointerlock-postmessage-preserve3d-promises-proximity-queryselector-quotamanagement-requestanimationframe-search-serviceworker-shapes-sharedworkers-supports-svg-svgclippaths-template-templatestrings-textalignlast-texttrackapi_track-touchevents-transferables-typedarrays-unknownelements-webaudio-webgl-webp-websockets-websocketsbinary-willchange-addtest-atrule-domprefixes-hasevent-mq-prefixed-prefixedcss-prefixedcssvalue-prefixes-setclasses-testallprops-testprop-teststyles-dontmin\r\n *\r\n * Copyright (c)\r\n * Faruk Ates\r\n * Paul Irish\r\n * Alex Sexton\r\n * Ryan Seddon\r\n * Patrick Kettner\r\n * Stu Cox\r\n * Richard Herrera\r\n\r\n * MIT License\r\n */\r\n\r\n/*\r\n * Modernizr tests which native CSS3 and HTML5 features are available in the\r\n * current UA and makes the results available to you in two ways: as properties on\r\n * a global `Modernizr` object, and as classes on the `` element. This\r\n * information allows you to progressively enhance your pages with a granular level\r\n * of control over the experience.\r\n*/\r\n\r\n; (function (window, document, undefined) {\r\n var classes = [];\r\n\r\n\r\n var tests = [];\r\n\r\n\r\n /**\r\n *\r\n * ModernizrProto is the constructor for Modernizr\r\n *\r\n * @class\r\n * @access public\r\n */\r\n\r\n var ModernizrProto = {\r\n // The current version, dummy\r\n _version: '3.5.0',\r\n\r\n // Any settings that don't work as separate modules\r\n // can go in here as configuration.\r\n _config: {\r\n 'classPrefix': '',\r\n 'enableClasses': true,\r\n 'enableJSClass': true,\r\n 'usePrefixes': true\r\n },\r\n\r\n // Queue of tests\r\n _q: [],\r\n\r\n // Stub these for people who are listening\r\n on: function (test, cb) {\r\n // I don't really think people should do this, but we can\r\n // safe guard it a bit.\r\n // -- NOTE:: this gets WAY overridden in src/addTest for actual async tests.\r\n // This is in case people listen to synchronous tests. I would leave it out,\r\n // but the code to *disallow* sync tests in the real version of this\r\n // function is actually larger than this.\r\n var self = this;\r\n setTimeout(function () {\r\n cb(self[test]);\r\n }, 0);\r\n },\r\n\r\n addTest: function (name, fn, options) {\r\n tests.push({ name: name, fn: fn, options: options });\r\n },\r\n\r\n addAsyncTest: function (fn) {\r\n tests.push({ name: null, fn: fn });\r\n }\r\n };\r\n\r\n\r\n\r\n // Fake some of Object.create so we can force non test results to be non \"own\" properties.\r\n var Modernizr = function () { };\r\n Modernizr.prototype = ModernizrProto;\r\n\r\n // Leak modernizr globally when you `require` it rather than force it here.\r\n // Overwrite name so constructor name is nicer :D\r\n Modernizr = new Modernizr();\r\n\r\n\r\n /*!\r\n {\r\n \"name\": \"Application Cache\",\r\n \"property\": \"applicationcache\",\r\n \"caniuse\": \"offline-apps\",\r\n \"tags\": [\"storage\", \"offline\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en/docs/HTML/Using_the_application_cache\"\r\n }],\r\n \"polyfills\": [\"html5gears\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Application Cache, for storing data to enable web-based applications run offline.\r\n \r\n The API has been [heavily criticized](http://alistapart.com/article/application-cache-is-a-douchebag) and discussions are underway to address this.\r\n */\r\n\r\n Modernizr.addTest('applicationcache', 'applicationCache' in window);\r\n\r\n /*!\r\n {\r\n \"name\": \"Blob constructor\",\r\n \"property\": \"blobconstructor\",\r\n \"aliases\": [\"blob-constructor\"],\r\n \"builderAliases\": [\"blob_constructor\"],\r\n \"caniuse\": \"blobbuilder\",\r\n \"notes\": [{\r\n \"name\": \"W3C spec\",\r\n \"href\": \"https://w3c.github.io/FileAPI/#constructorBlob\"\r\n }],\r\n \"polyfills\": [\"blobjs\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Blob constructor, for creating file-like objects of immutable, raw data.\r\n */\r\n\r\n Modernizr.addTest('blobconstructor', function () {\r\n try {\r\n return !!new Blob();\r\n } catch (e) {\r\n return false;\r\n }\r\n }, {\r\n aliases: ['blob-constructor']\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Cookies\",\r\n \"property\": \"cookies\",\r\n \"tags\": [\"storage\"],\r\n \"authors\": [\"tauren\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects whether cookie support is enabled.\r\n */\r\n\r\n // https://github.com/Modernizr/Modernizr/issues/191\r\n\r\n Modernizr.addTest('cookies', function () {\r\n // navigator.cookieEnabled cannot detect custom or nuanced cookie blocking\r\n // configurations. For example, when blocking cookies via the Advanced\r\n // Privacy Settings in IE9, it always returns true. And there have been\r\n // issues in the past with site-specific exceptions.\r\n // Don't rely on it.\r\n\r\n // try..catch because some in situations `document.cookie` is exposed but throws a\r\n // SecurityError if you try to access it; e.g. documents created from data URIs\r\n // or in sandboxed iframes (depending on flags/context)\r\n try {\r\n // Create cookie\r\n document.cookie = 'cookietest=1';\r\n var ret = document.cookie.indexOf('cookietest=') != -1;\r\n // Delete cookie\r\n document.cookie = 'cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT';\r\n return ret;\r\n }\r\n catch (e) {\r\n return false;\r\n }\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Cross-Origin Resource Sharing\",\r\n \"property\": \"cors\",\r\n \"caniuse\": \"cors\",\r\n \"authors\": [\"Theodoor van Donge\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS\"\r\n }],\r\n \"polyfills\": [\"pmxdr\", \"ppx\", \"flxhr\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for Cross-Origin Resource Sharing: method of performing XMLHttpRequests across domains.\r\n */\r\n\r\n Modernizr.addTest('cors', 'XMLHttpRequest' in window && 'withCredentials' in new XMLHttpRequest());\r\n\r\n /*!\r\n {\r\n \"name\": \"CustomEvent\",\r\n \"property\": \"customevent\",\r\n \"tags\": [\"customevent\"],\r\n \"authors\": [\"Alberto Elias\"],\r\n \"notes\": [{\r\n \"name\": \"W3C DOM reference\",\r\n \"href\": \"https://www.w3.org/TR/DOM-Level-3-Events/#interface-CustomEvent\"\r\n }, {\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en/docs/Web/API/CustomEvent\"\r\n }],\r\n \"polyfills\": [\"eventlistener\"]\r\n }\r\n !*/\r\n /* DOC\r\n \r\n Detects support for CustomEvent.\r\n \r\n */\r\n\r\n Modernizr.addTest('customevent', 'CustomEvent' in window && typeof window.CustomEvent === 'function');\r\n\r\n /*!\r\n {\r\n \"name\": \"DataView\",\r\n \"property\": \"dataview\",\r\n \"authors\": [\"Addy Osmani\"],\r\n \"builderAliases\": [\"dataview_api\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView\"\r\n }],\r\n \"polyfills\": [\"jdataview\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the DataView interface for reading data from an ArrayBuffer as part of the Typed Array spec.\r\n */\r\n\r\n Modernizr.addTest('dataview', (typeof DataView !== 'undefined' && 'getFloat64' in DataView.prototype));\r\n\r\n /*!\r\n {\r\n \"name\": \"Event Listener\",\r\n \"property\": \"eventlistener\",\r\n \"authors\": [\"Andrew Betts (@triblondon)\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Spec\",\r\n \"href\": \"https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Registration-interfaces\"\r\n }],\r\n \"polyfills\": [\"eventlistener\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects native support for addEventListener\r\n */\r\n\r\n Modernizr.addTest('eventlistener', 'addEventListener' in window);\r\n\r\n /*!\r\n {\r\n \"name\": \"Geolocation API\",\r\n \"property\": \"geolocation\",\r\n \"caniuse\": \"geolocation\",\r\n \"tags\": [\"media\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation\"\r\n }],\r\n \"polyfills\": [\r\n \"joshuabell-polyfill\",\r\n \"webshims\",\r\n \"geo-location-javascript\",\r\n \"geolocation-api-polyfill\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Geolocation API for users to provide their location to web applications.\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 Modernizr.addTest('geolocation', 'geolocation' in navigator);\r\n\r\n /*!\r\n {\r\n \"name\": \"History API\",\r\n \"property\": \"history\",\r\n \"caniuse\": \"history\",\r\n \"tags\": [\"history\"],\r\n \"authors\": [\"Hay Kranen\", \"Alexander Farkas\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Spec\",\r\n \"href\": \"https://www.w3.org/TR/html51/browsers.html#the-history-interface\"\r\n }, {\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/API/window.history\"\r\n }],\r\n \"polyfills\": [\"historyjs\", \"html5historyapi\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the History API for manipulating the browser session history.\r\n */\r\n\r\n Modernizr.addTest('history', function () {\r\n // Issue #733\r\n // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\r\n // Unfortunately support is really buggy and there is no clean way to detect\r\n // these bugs, so we fall back to a user agent sniff :(\r\n var ua = navigator.userAgent;\r\n\r\n // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\r\n // itself as 'Mobile Safari' as well, nor Windows Phone (issue #1471).\r\n if ((ua.indexOf('Android 2.') !== -1 ||\r\n (ua.indexOf('Android 4.0') !== -1)) &&\r\n ua.indexOf('Mobile Safari') !== -1 &&\r\n ua.indexOf('Chrome') === -1 &&\r\n ua.indexOf('Windows Phone') === -1 &&\r\n // Since all documents on file:// share an origin, the History apis are\r\n // blocked there as well\r\n location.protocol !== 'file:'\r\n ) {\r\n return false;\r\n }\r\n\r\n // Return the regular check\r\n return (window.history && 'pushState' in window.history);\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"postMessage\",\r\n \"property\": \"postmessage\",\r\n \"caniuse\": \"x-doc-messaging\",\r\n \"notes\": [{\r\n \"name\": \"W3C Spec\",\r\n \"href\": \"http://www.w3.org/TR/html5/comms.html#posting-messages\"\r\n }],\r\n \"polyfills\": [\"easyxdm\", \"postmessage-jquery\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `window.postMessage` protocol for cross-document messaging.\r\n */\r\n\r\n Modernizr.addTest('postmessage', 'postMessage' in window);\r\n\r\n /*!\r\n {\r\n \"name\": \"QuerySelector\",\r\n \"property\": \"queryselector\",\r\n \"caniuse\": \"queryselector\",\r\n \"tags\": [\"queryselector\"],\r\n \"authors\": [\"Andrew Betts (@triblondon)\"],\r\n \"notes\": [{\r\n \"name\" : \"W3C Selectors reference\",\r\n \"href\": \"https://www.w3.org/TR/selectors-api/#queryselectorall\"\r\n }],\r\n \"polyfills\": [\"css-selector-engine\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for querySelector.\r\n */\r\n\r\n Modernizr.addTest('queryselector', 'querySelector' in document && 'querySelectorAll' in document);\r\n\r\n /*!\r\n {\r\n \"name\": \"ServiceWorker API\",\r\n \"property\": \"serviceworker\",\r\n \"notes\": [{\r\n \"name\": \"ServiceWorkers Explained\",\r\n \"href\": \"https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n ServiceWorkers (formerly Navigation Controllers) are a way to persistently cache resources to built apps that work better offline.\r\n */\r\n\r\n Modernizr.addTest('serviceworker', 'serviceWorker' in navigator);\r\n\r\n /*!\r\n {\r\n \"name\": \"SVG\",\r\n \"property\": \"svg\",\r\n \"caniuse\": \"svg\",\r\n \"tags\": [\"svg\"],\r\n \"authors\": [\"Erik Dahlstrom\"],\r\n \"polyfills\": [\r\n \"svgweb\",\r\n \"raphael\",\r\n \"amplesdk\",\r\n \"canvg\",\r\n \"svg-boilerplate\",\r\n \"sie\",\r\n \"dojogfx\",\r\n \"fabricjs\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for SVG in `` or `` elements.\r\n */\r\n\r\n Modernizr.addTest('svg', !!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect);\r\n\r\n /*!\r\n {\r\n \"name\": \"Template strings\",\r\n \"property\": \"templatestrings\",\r\n \"notes\": [{\r\n \"name\": \"MDN Reference\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings#Browser_compatibility\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Template strings are string literals allowing embedded expressions.\r\n */\r\n\r\n Modernizr.addTest('templatestrings', function () {\r\n var supports;\r\n try {\r\n // A number of tools, including uglifyjs and require, break on a raw \"`\", so\r\n // use an eval to get around that.\r\n // eslint-disable-next-line\r\n eval('``');\r\n supports = true;\r\n } catch (e) { }\r\n return !!supports;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Typed arrays\",\r\n \"property\": \"typedarrays\",\r\n \"caniuse\": \"typedarrays\",\r\n \"tags\": [\"js\"],\r\n \"authors\": [\"Stanley Stuart (@fivetanley)\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/JavaScript_typed_arrays\"\r\n },{\r\n \"name\": \"Kronos spec\",\r\n \"href\": \"https://www.khronos.org/registry/typedarray/specs/latest/\"\r\n }],\r\n \"polyfills\": [\"joshuabell-polyfill\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for native binary data manipulation via Typed Arrays in JavaScript.\r\n \r\n Does not check for DataView support; use `Modernizr.dataview` for that.\r\n */\r\n\r\n // Should fail in:\r\n // Internet Explorer <= 9\r\n // Firefox <= 3.6\r\n // Chrome <= 6.0\r\n // iOS Safari < 4.2\r\n // Safari < 5.1\r\n // Opera < 11.6\r\n // Opera Mini, <= 7.0\r\n // Android Browser < 4.0\r\n // Blackberry Browser < 10.0\r\n\r\n Modernizr.addTest('typedarrays', 'ArrayBuffer' in window);\r\n\r\n /*!\r\n {\r\n \"name\": \"WebSockets Support\",\r\n \"property\": \"websockets\",\r\n \"authors\": [\"Phread [fearphage]\", \"Mike Sherov [mikesherov]\", \"Burak Yigit Kaya [BYK]\"],\r\n \"caniuse\": \"websockets\",\r\n \"tags\": [\"html5\"],\r\n \"warnings\": [\r\n \"This test will reject any old version of WebSockets even if it is not prefixed such as in Safari 5.1\"\r\n ],\r\n \"notes\": [{\r\n \"name\": \"CLOSING State and Spec\",\r\n \"href\": \"https://www.w3.org/TR/websockets/#the-websocket-interface\"\r\n }],\r\n \"polyfills\": [\r\n \"sockjs\",\r\n \"socketio\",\r\n \"kaazing-websocket-gateway\",\r\n \"websocketjs\",\r\n \"atmosphere\",\r\n \"graceful-websocket\",\r\n \"portal\",\r\n \"datachannel\"\r\n ]\r\n }\r\n !*/\r\n\r\n var supports = false;\r\n try {\r\n supports = 'WebSocket' in window && window.WebSocket.CLOSING === 2;\r\n } catch (e) { }\r\n Modernizr.addTest('websockets', supports);\r\n\r\n /*!\r\n {\r\n \"name\": \"Web Audio API\",\r\n \"property\": \"webaudio\",\r\n \"caniuse\": \"audio-api\",\r\n \"polyfills\": [\"xaudiojs\", \"dynamicaudiojs\", \"audiolibjs\"],\r\n \"tags\": [\"audio\", \"media\"],\r\n \"builderAliases\": [\"audio_webaudio_api\"],\r\n \"authors\": [\"Addy Osmani\"],\r\n \"notes\": [{\r\n \"name\": \"W3 Specification\",\r\n \"href\": \"https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects the older non standard webaudio API, (as opposed to the standards based AudioContext API)\r\n */\r\n\r\n Modernizr.addTest('webaudio', function () {\r\n var prefixed = 'webkitAudioContext' in window;\r\n var unprefixed = 'AudioContext' in window;\r\n\r\n if (Modernizr._config.usePrefixes) {\r\n return prefixed || unprefixed;\r\n }\r\n return unprefixed;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Supports\",\r\n \"property\": \"supports\",\r\n \"caniuse\": \"css-featurequeries\",\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_supports\"],\r\n \"notes\": [{\r\n \"name\": \"W3 Spec\",\r\n \"href\": \"http://dev.w3.org/csswg/css3-conditional/#at-supports\"\r\n },{\r\n \"name\": \"Related Github Issue\",\r\n \"href\": \"https://github.com/Modernizr/Modernizr/issues/648\"\r\n },{\r\n \"name\": \"W3 Info\",\r\n \"href\": \"http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface\"\r\n }]\r\n }\r\n !*/\r\n\r\n var newSyntax = 'CSS' in window && 'supports' in window.CSS;\r\n var oldSyntax = 'supportsCSS' in window;\r\n Modernizr.addTest('supports', newSyntax || oldSyntax);\r\n\r\n /*!\r\n {\r\n \"name\": \"picture Element\",\r\n \"property\": \"picture\",\r\n \"tags\": [\"elem\"],\r\n \"authors\": [\"Scott Jehl\", \"Mat Marquis\"],\r\n \"notes\": [{\r\n \"name\": \"Specification\",\r\n \"href\": \"http://picture.responsiveimages.org\"\r\n },{\r\n \"name\": \"Relevant spec issue\",\r\n \"href\": \"https://github.com/ResponsiveImagesCG/picture-element/issues/87\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('picture', 'HTMLPictureElement' in window);\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Array\",\r\n \"property\": \"es6array\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Array per specification.\r\n */\r\n\r\n Modernizr.addTest('es6array', !!(Array.prototype &&\r\n Array.prototype.copyWithin &&\r\n Array.prototype.fill &&\r\n Array.prototype.find &&\r\n Array.prototype.findIndex &&\r\n Array.prototype.keys &&\r\n Array.prototype.entries &&\r\n Array.prototype.values &&\r\n Array.from &&\r\n Array.of));\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Collections\",\r\n \"property\": \"es6collections\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\", \"weakmap\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Map, Set, WeakMap and WeakSet\r\n */\r\n\r\n Modernizr.addTest('es6collections', !!(\r\n window.Map && window.Set && window.WeakMap && window.WeakSet\r\n ));\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Generators\",\r\n \"property\": \"generators\",\r\n \"authors\": [\"Michael Kachanovskyi\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Generators per specification.\r\n */\r\n\r\n Modernizr.addTest('generators', function () {\r\n try {\r\n new Function('function* test() {}')();\r\n } catch (e) {\r\n return false;\r\n }\r\n return true;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Math\",\r\n \"property\": \"es6math\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Math per specification.\r\n */\r\n\r\n Modernizr.addTest('es6math', !!(Math &&\r\n Math.clz32 &&\r\n Math.cbrt &&\r\n Math.imul &&\r\n Math.sign &&\r\n Math.log10 &&\r\n Math.log2 &&\r\n Math.log1p &&\r\n Math.expm1 &&\r\n Math.cosh &&\r\n Math.sinh &&\r\n Math.tanh &&\r\n Math.acosh &&\r\n Math.asinh &&\r\n Math.atanh &&\r\n Math.hypot &&\r\n Math.trunc &&\r\n Math.fround));\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Number\",\r\n \"property\": \"es6number\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Number per specification.\r\n */\r\n\r\n Modernizr.addTest('es6number', !!(Number.isFinite &&\r\n Number.isInteger &&\r\n Number.isSafeInteger &&\r\n Number.isNaN &&\r\n Number.parseInt &&\r\n Number.parseFloat &&\r\n Number.isInteger(Number.MAX_SAFE_INTEGER) &&\r\n Number.isInteger(Number.MIN_SAFE_INTEGER) &&\r\n Number.isFinite(Number.EPSILON)));\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Object\",\r\n \"property\": \"es6object\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Object per specification.\r\n */\r\n\r\n Modernizr.addTest('es6object', !!(Object.assign &&\r\n Object.is &&\r\n Object.setPrototypeOf));\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 Promises\",\r\n \"property\": \"promises\",\r\n \"caniuse\": \"promises\",\r\n \"polyfills\": [\"es6promises\"],\r\n \"authors\": [\"Krister Kari\", \"Jake Archibald\"],\r\n \"tags\": [\"es6\"],\r\n \"notes\": [{\r\n \"name\": \"The ES6 promises spec\",\r\n \"href\": \"https://github.com/domenic/promises-unwrapping\"\r\n },{\r\n \"name\": \"Chromium dashboard - ES6 Promises\",\r\n \"href\": \"https://www.chromestatus.com/features/5681726336532480\"\r\n },{\r\n \"name\": \"JavaScript Promises: There and back again - HTML5 Rocks\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/es6/promises/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 Promises per specification.\r\n */\r\n\r\n Modernizr.addTest('promises', function () {\r\n return 'Promise' in window &&\r\n // Some of these methods are missing from\r\n // Firefox/Chrome experimental implementations\r\n 'resolve' in window.Promise &&\r\n 'reject' in window.Promise &&\r\n 'all' in window.Promise &&\r\n 'race' in window.Promise &&\r\n // Older version of the spec had a resolver object\r\n // as the arg rather than a function\r\n (function () {\r\n var resolve;\r\n new window.Promise(function (r) { resolve = r; });\r\n return typeof resolve === 'function';\r\n }());\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"ES6 String\",\r\n \"property\": \"es6string\",\r\n \"notes\": [{\r\n \"name\": \"unofficial ECMAScript 6 draft specification\",\r\n \"href\": \"https://people.mozilla.org/~jorendorff/es6-draft.html\"\r\n }],\r\n \"polyfills\": [\"es6shim\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"warnings\": [\"ECMAScript 6 is still a only a draft, so this detect may not match the final specification or implementations.\"],\r\n \"tags\": [\"es6\"]\r\n }\r\n !*/\r\n /* DOC\r\n Check if browser implements ECMAScript 6 String per specification.\r\n */\r\n\r\n Modernizr.addTest('es6string', !!(String.fromCodePoint &&\r\n String.raw &&\r\n String.prototype.codePointAt &&\r\n String.prototype.repeat &&\r\n String.prototype.startsWith &&\r\n String.prototype.endsWith &&\r\n String.prototype.includes));\r\n\r\n /*!\r\n {\r\n \"name\": \"File API\",\r\n \"property\": \"filereader\",\r\n \"caniuse\": \"fileapi\",\r\n \"notes\": [{\r\n \"name\": \"W3C Working Draft\",\r\n \"href\": \"https://www.w3.org/TR/FileAPI/\"\r\n }],\r\n \"tags\": [\"file\"],\r\n \"builderAliases\": [\"file_api\"],\r\n \"knownBugs\": [\"Will fail in Safari 5 due to its lack of support for the standards defined FileReader object\"]\r\n }\r\n !*/\r\n /* DOC\r\n `filereader` tests for the File API specification\r\n \r\n Tests for objects specific to the File API W3C specification without\r\n being redundant (don't bother testing for Blob since it is assumed\r\n to be the File object's prototype.)\r\n */\r\n\r\n Modernizr.addTest('filereader', !!(window.File && window.FileList && window.FileReader));\r\n\r\n /*!\r\n {\r\n \"name\": \"Binary WebSockets\",\r\n \"property\": \"websocketsbinary\",\r\n \"tags\": [\"websockets\"],\r\n \"builderAliases\": [\"websockets_binary\"]\r\n }\r\n !*/\r\n\r\n // binaryType is truthy if there is support.. returns \"blob\" in new-ish chrome.\r\n // plus.google.com/115535723976198353696/posts/ERN6zYozENV\r\n // github.com/Modernizr/Modernizr/issues/370\r\n\r\n Modernizr.addTest('websocketsbinary', function () {\r\n var protocol = 'https:' == location.protocol ? 'wss' : 'ws',\r\n protoBin;\r\n\r\n if ('WebSocket' in window) {\r\n protoBin = 'binaryType' in WebSocket.prototype\r\n if (protoBin) {\r\n return protoBin;\r\n }\r\n try {\r\n return !!(new WebSocket(protocol + '://.').binaryType);\r\n } catch (e) { }\r\n }\r\n\r\n return false;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Shared Workers\",\r\n \"property\": \"sharedworkers\",\r\n \"caniuse\" : \"sharedworkers\",\r\n \"tags\": [\"performance\", \"workers\"],\r\n \"builderAliases\": [\"workers_sharedworkers\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Reference\",\r\n \"href\": \"https://www.w3.org/TR/workers/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `SharedWorker` API from the Web Workers spec.\r\n */\r\n\r\n Modernizr.addTest('sharedworkers', 'SharedWorker' in window);\r\n\r\n\r\n /**\r\n * List of property values to set for css tests. See ticket #21\r\n * http://git.io/vUGl4\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr._prefixes\r\n * @optionName Modernizr._prefixes\r\n * @optionProp prefixes\r\n * @access public\r\n * @example\r\n *\r\n * Modernizr._prefixes is the internal list of prefixes that we test against\r\n * inside of things like [prefixed](#modernizr-prefixed) and [prefixedCSS](#-code-modernizr-prefixedcss). It is simply\r\n * an array of kebab-case vendor prefixes you can use within your code.\r\n *\r\n * Some common use cases include\r\n *\r\n * Generating all possible prefixed version of a CSS property\r\n * ```js\r\n * var rule = Modernizr._prefixes.join('transform: rotate(20deg); ');\r\n *\r\n * rule === 'transform: rotate(20deg); webkit-transform: rotate(20deg); moz-transform: rotate(20deg); o-transform: rotate(20deg); ms-transform: rotate(20deg);'\r\n * ```\r\n *\r\n * Generating all possible prefixed version of a CSS value\r\n * ```js\r\n * rule = 'display:' + Modernizr._prefixes.join('flex; display:') + 'flex';\r\n *\r\n * rule === 'display:flex; display:-webkit-flex; display:-moz-flex; display:-o-flex; display:-ms-flex; display:flex'\r\n * ```\r\n */\r\n\r\n // we use ['',''] rather than an empty array in order to allow a pattern of .`join()`ing prefixes to test\r\n // values in feature detects to continue to work\r\n var prefixes = (ModernizrProto._config.usePrefixes ? ' -webkit- -moz- -o- -ms- '.split(' ') : ['', '']);\r\n\r\n // expose these for the plugin API. Look in the source for how to join() them against your input\r\n ModernizrProto._prefixes = prefixes;\r\n\r\n\r\n\r\n /**\r\n * is returns a boolean if the typeof an obj is exactly type.\r\n *\r\n * @access private\r\n * @function is\r\n * @param {*} obj - A thing we want to check the type of\r\n * @param {string} type - A string to compare the typeof against\r\n * @returns {boolean}\r\n */\r\n\r\n function is(obj, type) {\r\n return typeof obj === type;\r\n }\r\n ;\r\n\r\n /**\r\n * Run through all tests and detect their support in the current UA.\r\n *\r\n * @access private\r\n */\r\n\r\n function testRunner() {\r\n var featureNames;\r\n var feature;\r\n var aliasIdx;\r\n var result;\r\n var nameIdx;\r\n var featureName;\r\n var featureNameSplit;\r\n\r\n for (var featureIdx in tests) {\r\n if (tests.hasOwnProperty(featureIdx)) {\r\n featureNames = [];\r\n feature = tests[featureIdx];\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 //\r\n // If there is no name, it's an 'async' test that is run,\r\n // but not directly added to the object. That should\r\n // be done with a post-run addTest call.\r\n if (feature.name) {\r\n featureNames.push(feature.name.toLowerCase());\r\n\r\n if (feature.options && feature.options.aliases && feature.options.aliases.length) {\r\n // Add all the aliases into the names list\r\n for (aliasIdx = 0; aliasIdx < feature.options.aliases.length; aliasIdx++) {\r\n featureNames.push(feature.options.aliases[aliasIdx].toLowerCase());\r\n }\r\n }\r\n }\r\n\r\n // Run the test, or use the raw value if it's not a function\r\n result = is(feature.fn, 'function') ? feature.fn() : feature.fn;\r\n\r\n\r\n // Set each of the names on the Modernizr object\r\n for (nameIdx = 0; nameIdx < featureNames.length; nameIdx++) {\r\n featureName = featureNames[nameIdx];\r\n // Support dot properties as sub tests. We don't do checking to make sure\r\n // that the implied parent tests have been added. You must call them in\r\n // order (either in the test, or make the parent test a dependency).\r\n //\r\n // Cap it to TWO to make the logic simple and because who needs that kind of subtesting\r\n // hashtag famous last words\r\n featureNameSplit = featureName.split('.');\r\n\r\n if (featureNameSplit.length === 1) {\r\n Modernizr[featureNameSplit[0]] = result;\r\n } else {\r\n // cast to a Boolean, if not one already\r\n if (Modernizr[featureNameSplit[0]] && !(Modernizr[featureNameSplit[0]] instanceof Boolean)) {\r\n Modernizr[featureNameSplit[0]] = new Boolean(Modernizr[featureNameSplit[0]]);\r\n }\r\n\r\n Modernizr[featureNameSplit[0]][featureNameSplit[1]] = result;\r\n }\r\n\r\n classes.push((result ? '' : 'no-') + featureNameSplit.join('-'));\r\n }\r\n }\r\n }\r\n }\r\n ;\r\n\r\n /**\r\n * docElement is a convenience wrapper to grab the root element of the document\r\n *\r\n * @access private\r\n * @returns {HTMLElement|SVGElement} The root element of the document\r\n */\r\n\r\n var docElement = document.documentElement;\r\n\r\n /*!\r\n {\r\n \"name\": \"Context menus\",\r\n \"property\": \"contextmenu\",\r\n \"caniuse\": \"menu\",\r\n \"notes\": [{\r\n \"name\": \"W3C spec\",\r\n \"href\": \"http://www.w3.org/TR/html5/interactive-elements.html#context-menus\"\r\n },{\r\n \"name\": \"thewebrocks.com Demo\",\r\n \"href\": \"http://thewebrocks.com/demos/context-menu/\"\r\n }],\r\n \"polyfills\": [\"jquery-contextmenu\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for custom context menus.\r\n */\r\n\r\n Modernizr.addTest(\r\n 'contextmenu',\r\n ('contextMenu' in docElement && 'HTMLMenuItemElement' in window)\r\n );\r\n\r\n /*!\r\n {\r\n \"name\": \"cssall\",\r\n \"property\": \"cssall\",\r\n \"notes\": [{\r\n \"name\": \"Spec\",\r\n \"href\": \"https://drafts.csswg.org/css-cascade/#all-shorthand\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `all` css property, which is a shorthand to reset all css properties (except direction and unicode-bidi) to their original value\r\n */\r\n\r\n\r\n Modernizr.addTest('cssall', 'all' in docElement.style);\r\n\r\n /*!\r\n {\r\n \"name\": \"will-change\",\r\n \"property\": \"willchange\",\r\n \"notes\": [{\r\n \"name\": \"Spec\",\r\n \"href\": \"https://drafts.csswg.org/css-will-change/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `will-change` css property, which formally signals to the\r\n browser that an element will be animating.\r\n */\r\n\r\n Modernizr.addTest('willchange', 'willChange' in docElement.style);\r\n\r\n /*!\r\n {\r\n \"name\": \"Document Fragment\",\r\n \"property\": \"documentfragment\",\r\n \"notes\": [{\r\n \"name\": \"W3C DOM Level 1 Reference\",\r\n \"href\": \"https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-B63ED1A3\"\r\n }, {\r\n \"name\": \"SitePoint Reference\",\r\n \"href\": \"http://reference.sitepoint.com/javascript/DocumentFragment\"\r\n }, {\r\n \"name\": \"QuirksMode Compatibility Tables\",\r\n \"href\": \"http://www.quirksmode.org/m/w3c_core.html#t112\"\r\n }],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"],\r\n \"knownBugs\": [\"false-positive on Blackberry 9500, see QuirksMode note\"],\r\n \"tags\": []\r\n }\r\n !*/\r\n /* DOC\r\n Append multiple elements to the DOM within a single insertion.\r\n */\r\n\r\n Modernizr.addTest('documentfragment', function () {\r\n return 'createDocumentFragment' in document &&\r\n 'appendChild' in docElement;\r\n });\r\n\r\n\r\n /**\r\n * A convenience helper to check if the document we are running in is an SVG document\r\n *\r\n * @access private\r\n * @returns {boolean}\r\n */\r\n\r\n var isSVG = docElement.nodeName.toLowerCase() === 'svg';\r\n\r\n\r\n /**\r\n * setClasses takes an array of class names and adds them to the root element\r\n *\r\n * @access private\r\n * @function setClasses\r\n * @param {string[]} classes - Array of class names\r\n */\r\n\r\n // Pass in an and array of class names, e.g.:\r\n // ['no-webp', 'borderradius', ...]\r\n function setClasses(classes) {\r\n var className = docElement.className;\r\n var classPrefix = Modernizr._config.classPrefix || '';\r\n\r\n if (isSVG) {\r\n className = className.baseVal;\r\n }\r\n\r\n // Change `no-js` to `js` (independently of the `enableClasses` option)\r\n // Handle classPrefix on this too\r\n if (Modernizr._config.enableJSClass) {\r\n var reJS = new RegExp('(^|\\\\s)' + classPrefix + 'no-js(\\\\s|$)');\r\n className = className.replace(reJS, '$1' + classPrefix + 'js$2');\r\n }\r\n\r\n if (Modernizr._config.enableClasses) {\r\n // Add the new classes\r\n className += ' ' + classPrefix + classes.join(' ' + classPrefix);\r\n if (isSVG) {\r\n docElement.className.baseVal = className;\r\n } else {\r\n docElement.className = className;\r\n }\r\n }\r\n\r\n }\r\n\r\n ;\r\n\r\n /**\r\n * If the browsers follow the spec, then they would expose vendor-specific styles as:\r\n * elem.style.WebkitBorderRadius\r\n * instead of something like the following (which is technically 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 *\r\n * @access private\r\n * @returns {string} The string representing the vendor-specific style properties\r\n */\r\n\r\n var omPrefixes = 'Moz O ms Webkit';\r\n\r\n\r\n /**\r\n * List of JavaScript DOM values used for tests\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr._domPrefixes\r\n * @optionName Modernizr._domPrefixes\r\n * @optionProp domPrefixes\r\n * @access public\r\n * @example\r\n *\r\n * Modernizr._domPrefixes is exactly the same as [_prefixes](#modernizr-_prefixes), but rather\r\n * than kebab-case properties, all properties are their Capitalized variant\r\n *\r\n * ```js\r\n * Modernizr._domPrefixes === [ \"Moz\", \"O\", \"ms\", \"Webkit\" ];\r\n * ```\r\n */\r\n\r\n var domPrefixes = (ModernizrProto._config.usePrefixes ? omPrefixes.toLowerCase().split(' ') : []);\r\n ModernizrProto._domPrefixes = domPrefixes;\r\n\r\n\r\n /**\r\n * hasOwnProp is a shim for hasOwnProperty that is needed for Safari 2.0 support\r\n *\r\n * @author kangax\r\n * @access private\r\n * @function hasOwnProp\r\n * @param {object} object - The object to check for a property\r\n * @param {string} property - The property to check for\r\n * @returns {boolean}\r\n */\r\n\r\n // hasOwnProperty shim by kangax needed for Safari 2.0 support\r\n var hasOwnProp;\r\n\r\n (function () {\r\n var _hasOwnProperty = ({}).hasOwnProperty;\r\n /* istanbul ignore else */\r\n /* we have no way of testing IE 5.5 or safari 2,\r\n * so just assume the else gets hit */\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\r\n\r\n\r\n\r\n // _l tracks listeners for async tests, as well as tests that execute after the initial run\r\n ModernizrProto._l = {};\r\n\r\n /**\r\n * Modernizr.on is a way to listen for the completion of async tests. Being\r\n * asynchronous, they may not finish before your scripts run. As a result you\r\n * will get a possibly false negative `undefined` value.\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.on\r\n * @access public\r\n * @function on\r\n * @param {string} feature - String name of the feature detect\r\n * @param {function} cb - Callback function returning a Boolean - true if feature is supported, false if not\r\n * @example\r\n *\r\n * ```js\r\n * Modernizr.on('flash', function( result ) {\r\n * if (result) {\r\n * // the browser has flash\r\n * } else {\r\n * // the browser does not have flash\r\n * }\r\n * });\r\n * ```\r\n */\r\n\r\n ModernizrProto.on = function (feature, cb) {\r\n // Create the list of listeners if it doesn't exist\r\n if (!this._l[feature]) {\r\n this._l[feature] = [];\r\n }\r\n\r\n // Push this test on to the listener list\r\n this._l[feature].push(cb);\r\n\r\n // If it's already been resolved, trigger it on next tick\r\n if (Modernizr.hasOwnProperty(feature)) {\r\n // Next Tick\r\n setTimeout(function () {\r\n Modernizr._trigger(feature, Modernizr[feature]);\r\n }, 0);\r\n }\r\n };\r\n\r\n /**\r\n * _trigger is the private function used to signal test completion and run any\r\n * callbacks registered through [Modernizr.on](#modernizr-on)\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr._trigger\r\n * @access private\r\n * @function _trigger\r\n * @param {string} feature - string name of the feature detect\r\n * @param {function|boolean} [res] - A feature detection function, or the boolean =\r\n * result of a feature detection function\r\n */\r\n\r\n ModernizrProto._trigger = function (feature, res) {\r\n if (!this._l[feature]) {\r\n return;\r\n }\r\n\r\n var cbs = this._l[feature];\r\n\r\n // Force async\r\n setTimeout(function () {\r\n var i, cb;\r\n for (i = 0; i < cbs.length; i++) {\r\n cb = cbs[i];\r\n cb(res);\r\n }\r\n }, 0);\r\n\r\n // Don't trigger these again\r\n delete this._l[feature];\r\n };\r\n\r\n /**\r\n * addTest allows you to define your own feature detects that are not currently\r\n * included in Modernizr (under the covers it's the exact same code Modernizr\r\n * uses for its own [feature detections](https://github.com/Modernizr/Modernizr/tree/master/feature-detects)). Just like the offical detects, the result\r\n * will be added onto the Modernizr object, as well as an appropriate className set on\r\n * the html element when configured to do so\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.addTest\r\n * @optionName Modernizr.addTest()\r\n * @optionProp addTest\r\n * @access public\r\n * @function addTest\r\n * @param {string|object} feature - The string name of the feature detect, or an\r\n * object of feature detect names and test\r\n * @param {function|boolean} test - Function returning true if feature is supported,\r\n * false if not. Otherwise a boolean representing the results of a feature detection\r\n * @example\r\n *\r\n * The most common way of creating your own feature detects is by calling\r\n * `Modernizr.addTest` with a string (preferably just lowercase, without any\r\n * punctuation), and a function you want executed that will return a boolean result\r\n *\r\n * ```js\r\n * Modernizr.addTest('itsTuesday', function() {\r\n * var d = new Date();\r\n * return d.getDay() === 2;\r\n * });\r\n * ```\r\n *\r\n * When the above is run, it will set Modernizr.itstuesday to `true` when it is tuesday,\r\n * and to `false` every other day of the week. One thing to notice is that the names of\r\n * feature detect functions are always lowercased when added to the Modernizr object. That\r\n * means that `Modernizr.itsTuesday` will not exist, but `Modernizr.itstuesday` will.\r\n *\r\n *\r\n * Since we only look at the returned value from any feature detection function,\r\n * you do not need to actually use a function. For simple detections, just passing\r\n * in a statement that will return a boolean value works just fine.\r\n *\r\n * ```js\r\n * Modernizr.addTest('hasJquery', 'jQuery' in window);\r\n * ```\r\n *\r\n * Just like before, when the above runs `Modernizr.hasjquery` will be true if\r\n * jQuery has been included on the page. Not using a function saves a small amount\r\n * of overhead for the browser, as well as making your code much more readable.\r\n *\r\n * Finally, you also have the ability to pass in an object of feature names and\r\n * their tests. This is handy if you want to add multiple detections in one go.\r\n * The keys should always be a string, and the value can be either a boolean or\r\n * function that returns a boolean.\r\n *\r\n * ```js\r\n * var detects = {\r\n * 'hasjquery': 'jQuery' in window,\r\n * 'itstuesday': function() {\r\n * var d = new Date();\r\n * return d.getDay() === 2;\r\n * }\r\n * }\r\n *\r\n * Modernizr.addTest(detects);\r\n * ```\r\n *\r\n * There is really no difference between the first methods and this one, it is\r\n * just a convenience to let you write more readable code.\r\n */\r\n\r\n function addTest(feature, test) {\r\n\r\n if (typeof feature == 'object') {\r\n for (var key in feature) {\r\n if (hasOwnProp(feature, key)) {\r\n addTest(key, feature[key]);\r\n }\r\n }\r\n } else {\r\n\r\n feature = feature.toLowerCase();\r\n var featureNameSplit = feature.split('.');\r\n var last = Modernizr[featureNameSplit[0]];\r\n\r\n // Again, we don't check for parent test existence. Get that right, though.\r\n if (featureNameSplit.length == 2) {\r\n last = last[featureNameSplit[1]];\r\n }\r\n\r\n if (typeof last != '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 // Set the value (this is the magic, right here).\r\n if (featureNameSplit.length == 1) {\r\n Modernizr[featureNameSplit[0]] = test;\r\n } else {\r\n // cast to a Boolean, if not one already\r\n if (Modernizr[featureNameSplit[0]] && !(Modernizr[featureNameSplit[0]] instanceof Boolean)) {\r\n Modernizr[featureNameSplit[0]] = new Boolean(Modernizr[featureNameSplit[0]]);\r\n }\r\n\r\n Modernizr[featureNameSplit[0]][featureNameSplit[1]] = test;\r\n }\r\n\r\n // Set a single class (either `feature` or `no-feature`)\r\n setClasses([(!!test && test != false ? '' : 'no-') + featureNameSplit.join('-')]);\r\n\r\n // Trigger the event\r\n Modernizr._trigger(feature, test);\r\n }\r\n\r\n return Modernizr; // allow chaining.\r\n }\r\n\r\n // After all the tests are run, add self to the Modernizr prototype\r\n Modernizr._q.push(function () {\r\n ModernizrProto.addTest = addTest;\r\n });\r\n\r\n\r\n\r\n /*!\r\n {\r\n \"authors\": [\"Cătălin Mariș\"],\r\n \"caniuse\": \"proximity\",\r\n \"name\": \"Proximity API\",\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/API/Proximity_Events\"\r\n },{\r\n \"name\": \"W3C specification\",\r\n \"href\": \"https://www.w3.org/TR/proximity/\"\r\n }],\r\n \"property\": \"proximity\",\r\n \"tags\": [\"events\", \"proximity\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for an API that allows users to get proximity related information from the device's proximity sensor.\r\n */\r\n\r\n\r\n Modernizr.addAsyncTest(function () {\r\n\r\n var timeout;\r\n var timeoutTime = 300;\r\n\r\n function advertiseSupport() {\r\n\r\n // Clean up after ourselves\r\n clearTimeout(timeout);\r\n window.removeEventListener('deviceproximity', advertiseSupport);\r\n\r\n // Advertise support as the browser supports\r\n // the API and the device has a proximity sensor\r\n addTest('proximity', true);\r\n\r\n }\r\n\r\n // Check if the browser has support for the API\r\n if ('ondeviceproximity' in window && 'onuserproximity' in window) {\r\n\r\n // Check if the device has a proximity sensor\r\n // ( devices without such a sensor support the events but\r\n // will never fire them resulting in a false positive )\r\n window.addEventListener('deviceproximity', advertiseSupport);\r\n\r\n // If the event doesn't fire in a reasonable amount of time,\r\n // it means that the device doesn't have a proximity sensor,\r\n // thus, we can advertise the \"lack\" of support\r\n timeout = setTimeout(function () {\r\n window.removeEventListener('deviceproximity', advertiseSupport);\r\n addTest('proximity', false);\r\n }, timeoutTime);\r\n\r\n } else {\r\n addTest('proximity', false);\r\n }\r\n\r\n });\r\n\r\n\r\n /*!\r\n {\r\n \"name\": \"Workers from Blob URIs\",\r\n \"property\": \"blobworkers\",\r\n \"tags\": [\"performance\", \"workers\"],\r\n \"builderAliases\": [\"workers_blobworkers\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Reference\",\r\n \"href\": \"https://www.w3.org/TR/workers/\"\r\n }],\r\n \"knownBugs\": [\"This test may output garbage to console.\"],\r\n \"authors\": [\"Jussi Kalliokoski\"],\r\n \"async\": true\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for creating Web Workers from Blob URIs.\r\n */\r\n\r\n Modernizr.addAsyncTest(function () {\r\n try {\r\n // we're avoiding using Modernizr._domPrefixes as the prefix capitalization on\r\n // these guys are notoriously peculiar.\r\n var BlobBuilder = window.BlobBuilder;\r\n var URL = window.URL;\r\n if (Modernizr._config.usePrefix) {\r\n BlobBuilder = BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder || window.OBlobBuilder;\r\n URL = URL || window.MozURL || window.webkitURL || window.MSURL || window.OURL;\r\n }\r\n var data = 'Modernizr',\r\n blob,\r\n bb,\r\n worker,\r\n url,\r\n timeout,\r\n scriptText = 'this.onmessage=function(e){postMessage(e.data)}';\r\n\r\n try {\r\n blob = new Blob([scriptText], { type: 'text/javascript' });\r\n } catch (e) {\r\n // we'll fall back to the deprecated BlobBuilder\r\n }\r\n if (!blob) {\r\n bb = new BlobBuilder();\r\n bb.append(scriptText);\r\n blob = bb.getBlob();\r\n }\r\n\r\n url = URL.createObjectURL(blob);\r\n worker = new Worker(url);\r\n\r\n worker.onmessage = function (e) {\r\n addTest('blobworkers', data === e.data);\r\n cleanup();\r\n };\r\n\r\n // Just in case...\r\n worker.onerror = fail;\r\n timeout = setTimeout(fail, 200);\r\n\r\n worker.postMessage(data);\r\n } catch (e) {\r\n fail();\r\n }\r\n\r\n function fail() {\r\n addTest('blobworkers', false);\r\n cleanup();\r\n }\r\n\r\n function cleanup() {\r\n if (url) {\r\n URL.revokeObjectURL(url);\r\n }\r\n if (worker) {\r\n worker.terminate();\r\n }\r\n if (timeout) {\r\n clearTimeout(timeout);\r\n }\r\n }\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Workers from Data URIs\",\r\n \"property\": \"dataworkers\",\r\n \"tags\": [\"performance\", \"workers\"],\r\n \"builderAliases\": [\"workers_dataworkers\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Reference\",\r\n \"href\": \"https://www.w3.org/TR/workers/\"\r\n }],\r\n \"knownBugs\": [\"This test may output garbage to console.\"],\r\n \"authors\": [\"Jussi Kalliokoski\"],\r\n \"async\": true\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for creating Web Workers from Data URIs.\r\n */\r\n\r\n Modernizr.addAsyncTest(function () {\r\n try {\r\n var data = 'Modernizr',\r\n worker = new Worker('data:text/javascript;base64,dGhpcy5vbm1lc3NhZ2U9ZnVuY3Rpb24oZSl7cG9zdE1lc3NhZ2UoZS5kYXRhKX0=');\r\n\r\n worker.onmessage = function (e) {\r\n worker.terminate();\r\n addTest('dataworkers', data === e.data);\r\n worker = null;\r\n };\r\n\r\n // Just in case...\r\n worker.onerror = function () {\r\n addTest('dataworkers', false);\r\n worker = null;\r\n };\r\n\r\n setTimeout(function () {\r\n addTest('dataworkers', false);\r\n }, 200);\r\n\r\n worker.postMessage(data);\r\n } catch (e) {\r\n setTimeout(function () {\r\n addTest('dataworkers', false);\r\n }, 0);\r\n }\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Webp\",\r\n \"async\": true,\r\n \"property\": \"webp\",\r\n \"tags\": [\"image\"],\r\n \"builderAliases\": [\"img_webp\"],\r\n \"authors\": [\"Krister Kari\", \"@amandeep\", \"Rich Bradshaw\", \"Ryan Seddon\", \"Paul Irish\"],\r\n \"notes\": [{\r\n \"name\": \"Webp Info\",\r\n \"href\": \"https://developers.google.com/speed/webp/\"\r\n }, {\r\n \"name\": \"Chormium blog - Chrome 32 Beta: Animated WebP images and faster Chrome for Android touch input\",\r\n \"href\": \"https://blog.chromium.org/2013/11/chrome-32-beta-animated-webp-images-and.html\"\r\n }, {\r\n \"name\": \"Webp Lossless Spec\",\r\n \"href\": \"https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification\"\r\n }, {\r\n \"name\": \"Article about WebP support on Android browsers\",\r\n \"href\": \"http://www.wope-framework.com/en/2013/06/24/webp-support-on-android-browsers/\"\r\n }, {\r\n \"name\": \"Chormium WebP announcement\",\r\n \"href\": \"https://blog.chromium.org/2011/11/lossless-and-transparency-encoding-in.html?m=1\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Tests for lossy, non-alpha webp support.\r\n \r\n Tests for all forms of webp support (lossless, lossy, alpha, and animated)..\r\n \r\n Modernizr.webp // Basic support (lossy)\r\n Modernizr.webp.lossless // Lossless\r\n Modernizr.webp.alpha // Alpha (both lossy and lossless)\r\n Modernizr.webp.animation // Animated WebP\r\n \r\n */\r\n\r\n\r\n Modernizr.addAsyncTest(function () {\r\n\r\n var webpTests = [{\r\n 'uri': 'data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=',\r\n 'name': 'webp'\r\n }, {\r\n 'uri': 'data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==',\r\n 'name': 'webp.alpha'\r\n }, {\r\n 'uri': 'data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA',\r\n 'name': 'webp.animation'\r\n }, {\r\n 'uri': 'data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=',\r\n 'name': 'webp.lossless'\r\n }];\r\n\r\n var webp = webpTests.shift();\r\n function test(name, uri, cb) {\r\n\r\n var image = new Image();\r\n\r\n function addResult(event) {\r\n // if the event is from 'onload', check the see if the image's width is\r\n // 1 pixel (which indiciates support). otherwise, it fails\r\n\r\n var result = event && event.type === 'load' ? image.width == 1 : false;\r\n var baseTest = name === 'webp';\r\n\r\n // if it is the base test, and the result is false, just set a literal false\r\n // rather than use the Boolean contrsuctor\r\n addTest(name, (baseTest && result) ? new Boolean(result) : result);\r\n\r\n if (cb) {\r\n cb(event);\r\n }\r\n }\r\n\r\n image.onerror = addResult;\r\n image.onload = addResult;\r\n\r\n image.src = uri;\r\n }\r\n\r\n // test for webp support in general\r\n test(webp.name, webp.uri, function (e) {\r\n // if the webp test loaded, test everything else.\r\n if (e && e.type === 'load') {\r\n for (var i = 0; i < webpTests.length; i++) {\r\n test(webpTests[i].name, webpTests[i].uri);\r\n }\r\n }\r\n });\r\n\r\n });\r\n\r\n\r\n\r\n var cssomPrefixes = (ModernizrProto._config.usePrefixes ? omPrefixes.split(' ') : []);\r\n ModernizrProto._cssomPrefixes = cssomPrefixes;\r\n\r\n\r\n /**\r\n * atRule returns a given CSS property at-rule (eg @keyframes), possibly in\r\n * some prefixed form, or false, in the case of an unsupported rule\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.atRule\r\n * @optionName Modernizr.atRule()\r\n * @optionProp atRule\r\n * @access public\r\n * @function atRule\r\n * @param {string} prop - String name of the @-rule to test for\r\n * @returns {string|boolean} The string representing the (possibly prefixed)\r\n * valid version of the @-rule, or `false` when it is unsupported.\r\n * @example\r\n * ```js\r\n * var keyframes = Modernizr.atRule('@keyframes');\r\n *\r\n * if (keyframes) {\r\n * // keyframes are supported\r\n * // could be `@-webkit-keyframes` or `@keyframes`\r\n * } else {\r\n * // keyframes === `false`\r\n * }\r\n * ```\r\n *\r\n */\r\n\r\n var atRule = function (prop) {\r\n var length = prefixes.length;\r\n var cssrule = window.CSSRule;\r\n var rule;\r\n\r\n if (typeof cssrule === 'undefined') {\r\n return undefined;\r\n }\r\n\r\n if (!prop) {\r\n return false;\r\n }\r\n\r\n // remove literal @ from beginning of provided property\r\n prop = prop.replace(/^@/, '');\r\n\r\n // CSSRules use underscores instead of dashes\r\n rule = prop.replace(/-/g, '_').toUpperCase() + '_RULE';\r\n\r\n if (rule in cssrule) {\r\n return '@' + prop;\r\n }\r\n\r\n for (var i = 0; i < length; i++) {\r\n // prefixes gives us something like -o-, and we want O_\r\n var prefix = prefixes[i];\r\n var thisRule = prefix.toUpperCase() + '_' + rule;\r\n\r\n if (thisRule in cssrule) {\r\n return '@-' + prefix.toLowerCase() + '-' + prop;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n ModernizrProto.atRule = atRule;\r\n\r\n\r\n\r\n /**\r\n * createElement is a convenience wrapper around document.createElement. Since we\r\n * use createElement all over the place, this allows for (slightly) smaller code\r\n * as well as abstracting away issues with creating elements in contexts other than\r\n * HTML documents (e.g. SVG documents).\r\n *\r\n * @access private\r\n * @function createElement\r\n * @returns {HTMLElement|SVGElement} An HTML or SVG element\r\n */\r\n\r\n function createElement() {\r\n if (typeof document.createElement !== 'function') {\r\n // This is the case in IE7, where the type of createElement is \"object\".\r\n // For this reason, we cannot call apply() as Object is not a Function.\r\n return document.createElement(arguments[0]);\r\n } else if (isSVG) {\r\n return document.createElementNS.call(document, 'http://www.w3.org/2000/svg', arguments[0]);\r\n } else {\r\n return document.createElement.apply(document, arguments);\r\n }\r\n }\r\n\r\n ;\r\n\r\n /**\r\n * Modernizr.hasEvent() detects support for a given event\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.hasEvent\r\n * @optionName Modernizr.hasEvent()\r\n * @optionProp hasEvent\r\n * @access public\r\n * @function hasEvent\r\n * @param {string|*} eventName - the name of an event to test for (e.g. \"resize\")\r\n * @param {Element|string} [element=HTMLDivElement] - is the element|document|window|tagName to test on\r\n * @returns {boolean}\r\n * @example\r\n * `Modernizr.hasEvent` lets you determine if the browser supports a supplied event.\r\n * By default, it does this detection on a div element\r\n *\r\n * ```js\r\n * hasEvent('blur') // true;\r\n * ```\r\n *\r\n * However, you are able to give an object as a second argument to hasEvent to\r\n * detect an event on something other than a div.\r\n *\r\n * ```js\r\n * hasEvent('devicelight', window) // true;\r\n * ```\r\n *\r\n */\r\n\r\n var hasEvent = (function () {\r\n\r\n // Detect whether event support can be detected via `in`. Test on a DOM element\r\n // using the \"blur\" event b/c it should always exist. bit.ly/event-detection\r\n var needsFallback = !('onblur' in document.documentElement);\r\n\r\n function inner(eventName, element) {\r\n\r\n var isSupported;\r\n if (!eventName) { return false; }\r\n if (!element || typeof element === 'string') {\r\n element = createElement(element || 'div');\r\n }\r\n\r\n // Testing via the `in` operator is sufficient for modern browsers and IE.\r\n // When using `setAttribute`, IE skips \"unload\", WebKit skips \"unload\" and\r\n // \"resize\", whereas `in` \"catches\" those.\r\n eventName = 'on' + eventName;\r\n isSupported = eventName in element;\r\n\r\n // Fallback technique for old Firefox - bit.ly/event-detection\r\n if (!isSupported && needsFallback) {\r\n if (!element.setAttribute) {\r\n // Switch to generic element if it lacks `setAttribute`.\r\n // It could be the `document`, `window`, or something else.\r\n element = createElement('div');\r\n }\r\n\r\n element.setAttribute(eventName, '');\r\n isSupported = typeof element[eventName] === 'function';\r\n\r\n if (element[eventName] !== undefined) {\r\n // If property was created, \"remove it\" by setting value to `undefined`.\r\n element[eventName] = undefined;\r\n }\r\n element.removeAttribute(eventName);\r\n }\r\n\r\n return isSupported;\r\n }\r\n return inner;\r\n })();\r\n\r\n\r\n ModernizrProto.hasEvent = hasEvent;\r\n\r\n /*!\r\n {\r\n \"name\": \"Hashchange event\",\r\n \"property\": \"hashchange\",\r\n \"caniuse\": \"hashchange\",\r\n \"tags\": [\"history\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/API/window.onhashchange\"\r\n }],\r\n \"polyfills\": [\r\n \"jquery-hashchange\",\r\n \"moo-historymanager\",\r\n \"jquery-ajaxy\",\r\n \"hasher\",\r\n \"shistory\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `hashchange` event, fired when the current location fragment changes.\r\n */\r\n\r\n Modernizr.addTest('hashchange', function () {\r\n if (hasEvent('hashchange', window) === false) {\r\n return false;\r\n }\r\n\r\n // documentMode logic from YUI to filter out IE8 Compat Mode\r\n // which false positives.\r\n return (document.documentMode === undefined || document.documentMode > 7);\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"input[search] search event\",\r\n \"property\": \"search\",\r\n \"tags\": [\"input\",\"search\"],\r\n \"authors\": [\"Calvin Webster\"],\r\n \"notes\": [{\r\n \"name\": \"Wufoo demo\",\r\n \"href\": \"https://www.wufoo.com/html5/types/5-search.html?\"\r\n }, {\r\n \"name\": \"CSS Tricks\",\r\n \"href\": \"https://css-tricks.com/webkit-html5-search-inputs/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n There is a custom `search` event implemented in webkit browsers when using an `input[search]` element.\r\n */\r\n\r\n Modernizr.addTest('inputsearchevent', hasEvent('search'));\r\n\r\n /*!\r\n {\r\n \"name\": \"DOM Pointer Events API\",\r\n \"property\": \"pointerevents\",\r\n \"tags\": [\"input\"],\r\n \"authors\": [\"Stu Cox\"],\r\n \"notes\": [\r\n {\r\n \"name\": \"W3C spec\",\r\n \"href\": \"https://www.w3.org/TR/pointerevents/\"\r\n }\r\n ],\r\n \"warnings\": [\"This property name now refers to W3C DOM PointerEvents: https://github.com/Modernizr/Modernizr/issues/548#issuecomment-12812099\"],\r\n \"polyfills\": [\"handjs\",\"pep\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the DOM Pointer Events API, which provides a unified event interface for pointing input devices, as implemented in IE10+.\r\n */\r\n\r\n // **Test name hijacked!**\r\n // Now refers to W3C DOM PointerEvents spec rather than the CSS pointer-events property.\r\n Modernizr.addTest('pointerevents', function () {\r\n // Cannot use `.prefixed()` for events, so test each prefix\r\n var bool = false,\r\n i = domPrefixes.length;\r\n\r\n // Don't forget un-prefixed...\r\n bool = Modernizr.hasEvent('pointerdown');\r\n\r\n while (i-- && !bool) {\r\n if (hasEvent(domPrefixes[i] + 'pointerdown')) {\r\n bool = true;\r\n }\r\n }\r\n return bool;\r\n });\r\n\r\n\r\n /**\r\n * prefixedCSSValue is a way test for prefixed css properties (e.g. display: -webkit-flex)\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.prefixedCSSValue\r\n * @optionName Modernizr.prefixedCSSValue()\r\n * @optionProp prefixedCSSValue\r\n * @access public\r\n * @function prefixedCSSValue\r\n * @param {string} prop - String name of the property to test for\r\n * @param {string} value - String value of the non prefixed version of the value you want to test for\r\n * @returns {string|false} The string representing the (possibly prefixed)\r\n * valid version of the property, or `false` when it is unsupported.\r\n * @example\r\n *\r\n * `Modernizr.prefixedCSSValue` is a way test for prefixed css properties (e.g. display: -webkit-flex)\r\n *\r\n * ```js\r\n * Modernizr.prefixedCSSValue('background', 'linear-gradient(left, red, red)')\r\n * ```\r\n *\r\n */\r\n\r\n var prefixedCSSValue = function (prop, value) {\r\n var result = false;\r\n var elem = createElement('div');\r\n var style = elem.style;\r\n\r\n if (prop in style) {\r\n var i = domPrefixes.length;\r\n\r\n style[prop] = value;\r\n result = style[prop];\r\n\r\n while (i-- && !result) {\r\n style[prop] = '-' + domPrefixes[i] + '-' + value;\r\n result = style[prop];\r\n }\r\n }\r\n\r\n if (result === '') {\r\n result = false;\r\n }\r\n\r\n return result;\r\n };\r\n\r\n ModernizrProto.prefixedCSSValue = prefixedCSSValue;\r\n\r\n /*!\r\n {\r\n \"name\": \"Content Editable\",\r\n \"property\": \"contenteditable\",\r\n \"caniuse\": \"contenteditable\",\r\n \"notes\": [{\r\n \"name\": \"WHATWG spec\",\r\n \"href\": \"https://html.spec.whatwg.org/multipage/interaction.html#contenteditable\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `contenteditable` attribute of elements, allowing their DOM text contents to be edited directly by the user.\r\n */\r\n\r\n Modernizr.addTest('contenteditable', function () {\r\n // early bail out\r\n if (!('contentEditable' in docElement)) {\r\n return;\r\n }\r\n\r\n // some mobile browsers (android < 3.0, iOS < 5) claim to support\r\n // contentEditable, but but don't really. This test checks to see\r\n // confirms whether or not it actually supports it.\r\n\r\n var div = createElement('div');\r\n div.contentEditable = true;\r\n return div.contentEditable === 'true';\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"HTML Imports\",\r\n \"notes\": [\r\n {\r\n \"name\": \"W3C HTML Imports Specification\",\r\n \"href\": \"https://w3c.github.io/webcomponents/spec/imports/\"\r\n },\r\n {\r\n \"name\": \"HTML Imports - #include for the web\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/webcomponents/imports/\"\r\n }\r\n ],\r\n \"polyfills\": [\"polymer-htmlimports\"],\r\n \"property\": \"htmlimports\",\r\n \"tags\": [\"html\", \"import\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for HTML import, a feature that is used for loading in Web Components.\r\n */\r\n\r\n\r\n addTest('htmlimports', 'import' in createElement('link'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Reverse Ordered Lists\",\r\n \"property\": \"olreversed\",\r\n \"notes\": [{\r\n \"name\": \"Impressive Webs article\",\r\n \"href\": \"http://impressivewebs.com/reverse-ordered-lists-html5\"\r\n }],\r\n \"builderAliases\": [\"lists_reversed\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `reversed` attribute on the `
    ` element.\r\n */\r\n\r\n Modernizr.addTest('olreversed', 'reversed' in createElement('ol'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Web Animation API\",\r\n \"property\": \"animation\",\r\n \"tags\": [\"webanimations\"],\r\n \"polyfills\": [\"webanimationsjs\"],\r\n \"notes\": [{\r\n \"name\": \"Introducing Web Animations\",\r\n \"href\": \"http://brian.sol1.net/svg/2013/06/26/introducing-web-animations/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Web Animation API, a way to create css animations in js\r\n */\r\n\r\n Modernizr.addTest('webanimations', 'animate' in createElement('div'));\r\n\r\n /*!\r\n {\r\n \"name\": \"WebGL\",\r\n \"property\": \"webgl\",\r\n \"caniuse\": \"webgl\",\r\n \"tags\": [\"webgl\", \"graphics\"],\r\n \"polyfills\": [\"jebgl\", \"cwebgl\", \"iewebgl\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('webgl', function () {\r\n var canvas = createElement('canvas');\r\n var supports = 'probablySupportsContext' in canvas ? 'probablySupportsContext' : 'supportsContext';\r\n if (supports in canvas) {\r\n return canvas[supports]('webgl') || canvas[supports]('experimental-webgl');\r\n }\r\n return 'WebGLRenderingContext' in window;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"a[download] Attribute\",\r\n \"property\": \"adownload\",\r\n \"caniuse\" : \"download\",\r\n \"tags\": [\"media\", \"attribute\"],\r\n \"builderAliases\": [\"a_download\"],\r\n \"notes\": [{\r\n \"name\": \"WhatWG Reference\",\r\n \"href\": \"https://developers.whatwg.org/links.html#downloading-resources\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n When used on an ``, this attribute signifies that the resource it points to should be downloaded by the browser rather than navigating to it.\r\n */\r\n\r\n Modernizr.addTest('adownload', !window.externalHost && 'download' in createElement('a'));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Pointer Events\",\r\n \"caniuse\": \"pointer-events\",\r\n \"property\": \"csspointerevents\",\r\n \"authors\": [\"ausi\"],\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_pointerevents\"],\r\n \"notes\": [\r\n {\r\n \"name\": \"MDN Docs\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events\"\r\n },{\r\n \"name\": \"Test Project Page\",\r\n \"href\": \"https://ausi.github.com/Feature-detection-technique-for-pointer-events/\"\r\n },{\r\n \"name\": \"Test Project Wiki\",\r\n \"href\": \"https://github.com/ausi/Feature-detection-technique-for-pointer-events/wiki\"\r\n },\r\n {\r\n \"name\": \"Related Github Issue\",\r\n \"href\": \"https://github.com/Modernizr/Modernizr/issues/80\"\r\n }\r\n ]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('csspointerevents', function () {\r\n var style = createElement('a').style;\r\n style.cssText = 'pointer-events:auto';\r\n return style.pointerEvents === 'auto';\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Transform Style preserve-3d\",\r\n \"property\": \"preserve3d\",\r\n \"authors\": [\"denyskoch\", \"aFarkas\"],\r\n \"tags\": [\"css\"],\r\n \"notes\": [{\r\n \"name\": \"MDN Docs\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/transform-style\"\r\n },{\r\n \"name\": \"Related Github Issue\",\r\n \"href\": \"https://github.com/Modernizr/Modernizr/issues/1748\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for `transform-style: preserve-3d`, for getting a proper 3D perspective on elements.\r\n */\r\n\r\n Modernizr.addTest('preserve3d', function () {\r\n var outerAnchor, innerAnchor;\r\n var CSS = window.CSS;\r\n var result = false;\r\n\r\n if (CSS && CSS.supports && CSS.supports('(transform-style: preserve-3d)')) {\r\n return true;\r\n }\r\n\r\n outerAnchor = createElement('a');\r\n innerAnchor = createElement('a');\r\n\r\n outerAnchor.style.cssText = 'display: block; transform-style: preserve-3d; transform-origin: right; transform: rotateY(40deg);';\r\n innerAnchor.style.cssText = 'display: block; width: 9px; height: 1px; background: #000; transform-origin: right; transform: rotateY(40deg);';\r\n\r\n outerAnchor.appendChild(innerAnchor);\r\n docElement.appendChild(outerAnchor);\r\n\r\n result = innerAnchor.getBoundingClientRect();\r\n docElement.removeChild(outerAnchor);\r\n\r\n result = result.width && result.width < 4;\r\n return result;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"output Element\",\r\n \"property\": \"outputelem\",\r\n \"tags\": [\"elem\"],\r\n \"builderAliases\": [\"elem_output\"],\r\n \"notes\": [{\r\n \"name\": \"WhatWG Spec\",\r\n \"href\": \"https://html.spec.whatwg.org/multipage/forms.html#the-output-element\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('outputelem', 'value' in createElement('output'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Template Tag\",\r\n \"property\": \"template\",\r\n \"tags\": [\"elem\"],\r\n \"notes\": [{\r\n \"name\": \"HTML5Rocks Article\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/webcomponents/template/\"\r\n },{\r\n \"name\": \"W3 Spec\",\r\n \"href\": \"https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('template', 'content' in createElement('template'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Track element and Timed Text Track\",\r\n \"property\": [\"texttrackapi\", \"track\"],\r\n \"tags\": [\"elem\"],\r\n \"builderAliases\": [\"elem_track\"],\r\n \"authors\": [\"Addy Osmani\"],\r\n \"notes\": [{\r\n \"name\": \"W3 track Element Spec\",\r\n \"href\": \"http://www.w3.org/TR/html5/video.html#the-track-element\"\r\n },{\r\n \"name\": \"W3 track API Spec\",\r\n \"href\": \"http://www.w3.org/TR/html5/media-elements.html#text-track-api\"\r\n }],\r\n \"warnings\": [\"While IE10 has implemented the track element, IE10 does not expose the underlying APIs to create timed text tracks by JS (really sad)\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('texttrackapi', typeof (createElement('video').addTextTrack) === 'function');\r\n\r\n // a more strict test for track including UI support: document.createElement('track').kind === 'subtitles'\r\n Modernizr.addTest('track', 'kind' in createElement('track'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Unknown Elements\",\r\n \"property\": \"unknownelements\",\r\n \"tags\": [\"elem\"],\r\n \"notes\": [{\r\n \"name\": \"The Story of the HTML5 Shiv\",\r\n \"href\": \"https://www.paulirish.com/2011/the-history-of-the-html5-shiv/\"\r\n }, {\r\n \"name\": \"original implementation of detect code\",\r\n \"href\": \"https://github.com/aFarkas/html5shiv/blob/bf4fcc4/src/html5shiv.js#L36\"\r\n }],\r\n \"polyfills\": [\"html5shiv\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"]\r\n }\r\n !*/\r\n /* DOC\r\n Does the browser support HTML with non-standard / new elements?\r\n */\r\n\r\n Modernizr.addTest('unknownelements', function () {\r\n var a = createElement('a');\r\n a.innerHTML = '';\r\n return a.childNodes.length === 1;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"placeholder attribute\",\r\n \"property\": \"placeholder\",\r\n \"tags\": [\"forms\", \"attribute\"],\r\n \"builderAliases\": [\"forms_placeholder\"]\r\n }\r\n !*/\r\n /* DOC\r\n Tests for placeholder attribute in inputs and textareas\r\n */\r\n\r\n Modernizr.addTest('placeholder', ('placeholder' in createElement('input') && 'placeholder' in createElement('textarea')));\r\n\r\n\r\n /**\r\n * cssToDOM takes a kebab-case string and converts it to camelCase\r\n * e.g. box-sizing -> boxSizing\r\n *\r\n * @access private\r\n * @function cssToDOM\r\n * @param {string} name - String name of kebab-case prop we want to convert\r\n * @returns {string} The camelCase version of the supplied name\r\n */\r\n\r\n function cssToDOM(name) {\r\n return name.replace(/([a-z])-([a-z])/g, function (str, m1, m2) {\r\n return m1 + m2.toUpperCase();\r\n }).replace(/^-/, '');\r\n }\r\n ;\r\n\r\n /**\r\n * domToCSS takes a camelCase string and converts it to kebab-case\r\n * e.g. boxSizing -> box-sizing\r\n *\r\n * @access private\r\n * @function domToCSS\r\n * @param {string} name - String name of camelCase prop we want to convert\r\n * @returns {string} The kebab-case version of the supplied name\r\n */\r\n\r\n function domToCSS(name) {\r\n return name.replace(/([A-Z])/g, function (str, m1) {\r\n return '-' + m1.toLowerCase();\r\n }).replace(/^ms-/, '-ms-');\r\n }\r\n ;\r\n\r\n /**\r\n * getBody returns the body of a document, or an element that can stand in for\r\n * the body if a real body does not exist\r\n *\r\n * @access private\r\n * @function getBody\r\n * @returns {HTMLElement|SVGElement} Returns the real body of a document, or an\r\n * artificially created element that stands in for the body\r\n */\r\n\r\n function getBody() {\r\n // After page load injecting a fake body doesn't work so check if body exists\r\n var body = document.body;\r\n\r\n if (!body) {\r\n // Can't use the real body create a fake one.\r\n body = createElement(isSVG ? 'svg' : 'body');\r\n body.fake = true;\r\n }\r\n\r\n return body;\r\n }\r\n\r\n ;\r\n /*!\r\n {\r\n \"name\": \"Flash\",\r\n \"property\": \"flash\",\r\n \"tags\": [\"flash\"],\r\n \"polyfills\": [\"shumway\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects Flash support as well as Flash-blocking plugins\r\n */\r\n\r\n Modernizr.addAsyncTest(function () {\r\n\r\n var attachBody = function (body) {\r\n if (!docElement.contains(body)) {\r\n docElement.appendChild(body);\r\n }\r\n };\r\n var removeFakeBody = function (body) {\r\n // If we’re rockin’ an attached fake body, clean it up\r\n if (body.fake && body.parentNode) {\r\n body.parentNode.removeChild(body);\r\n }\r\n };\r\n var runTest = function (result, embed) {\r\n var bool = !!result;\r\n if (bool) {\r\n bool = new Boolean(bool);\r\n bool.blocked = (result === 'blocked');\r\n }\r\n addTest('flash', function () { return bool; });\r\n\r\n if (embed && body.contains(embed)) {\r\n\r\n // in case embed has been wrapped, as with ClickToPlugin\r\n while (embed.parentNode !== body) {\r\n embed = embed.parentNode;\r\n }\r\n\r\n body.removeChild(embed);\r\n }\r\n\r\n };\r\n var easy_detect;\r\n var activex;\r\n // we wrap activex in a try/catch because when Flash is disabled through\r\n // ActiveX controls, it throws an error.\r\n try {\r\n // Pan is an API that exists for Flash objects.\r\n activex = 'ActiveXObject' in window && 'Pan' in new window.ActiveXObject('ShockwaveFlash.ShockwaveFlash');\r\n } catch (e) { }\r\n\r\n easy_detect = !(('plugins' in navigator && 'Shockwave Flash' in navigator.plugins) || activex);\r\n\r\n if (easy_detect || isSVG) {\r\n runTest(false);\r\n }\r\n else {\r\n // Flash seems to be installed, but it might be blocked. We have to\r\n // actually create an element to see what happens to it.\r\n var embed = createElement('embed');\r\n var body = getBody();\r\n var blockedDetect;\r\n var inline_style;\r\n\r\n embed.type = 'application/x-shockwave-flash';\r\n\r\n // Need to do this in the body (fake or otherwise) otherwise IE8 complains\r\n body.appendChild(embed);\r\n\r\n // Pan doesn't exist in the embed if its IE (its on the ActiveXObjeect)\r\n // so this check is for all other browsers.\r\n if (!('Pan' in embed) && !activex) {\r\n attachBody(body);\r\n runTest('blocked', embed);\r\n removeFakeBody(body);\r\n return;\r\n }\r\n\r\n blockedDetect = function () {\r\n // if we used a fake body originally, we need to restart this test, since\r\n // we haven't been attached to the DOM, and therefore none of the blockers\r\n // have had time to work.\r\n attachBody(body);\r\n if (!docElement.contains(body)) {\r\n body = document.body || body;\r\n embed = createElement('embed');\r\n embed.type = 'application/x-shockwave-flash';\r\n body.appendChild(embed);\r\n return setTimeout(blockedDetect, 1000);\r\n }\r\n if (!docElement.contains(embed)) {\r\n runTest('blocked');\r\n }\r\n else {\r\n inline_style = embed.style.cssText;\r\n if (inline_style !== '') {\r\n // the style of the element has changed automatically. This is a\r\n // really poor heuristic, but for lower end Flash blocks, it the\r\n // only change they can make.\r\n runTest('blocked', embed);\r\n }\r\n else {\r\n runTest(true, embed);\r\n }\r\n }\r\n removeFakeBody(body);\r\n };\r\n\r\n // If we have got this far, there is still a chance a userland plugin\r\n // is blocking us (either changing the styles, or automatically removing\r\n // the element). Both of these require us to take a step back for a moment\r\n // to allow for them to get time of the thread, hence a setTimeout.\r\n //\r\n setTimeout(blockedDetect, 10);\r\n }\r\n });\r\n\r\n\r\n /**\r\n * injectElementWithStyles injects an element with style element and some CSS rules\r\n *\r\n * @access private\r\n * @function injectElementWithStyles\r\n * @param {string} rule - String representing a css rule\r\n * @param {function} callback - A function that is used to test the injected element\r\n * @param {number} [nodes] - An integer representing the number of additional nodes you want injected\r\n * @param {string[]} [testnames] - An array of strings that are used as ids for the additional nodes\r\n * @returns {boolean}\r\n */\r\n\r\n function injectElementWithStyles(rule, callback, nodes, testnames) {\r\n var mod = 'modernizr';\r\n var style;\r\n var ret;\r\n var node;\r\n var docOverflow;\r\n var div = createElement('div');\r\n var body = getBody();\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 = 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 style = createElement('style');\r\n style.type = 'text/css';\r\n style.id = 's' + mod;\r\n\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.fake ? div : body).appendChild(style);\r\n body.appendChild(div);\r\n\r\n if (style.styleSheet) {\r\n style.styleSheet.cssText = rule;\r\n } else {\r\n style.appendChild(document.createTextNode(rule));\r\n }\r\n div.id = mod;\r\n\r\n if (body.fake) {\r\n //avoid crashing IE8, if background image is used\r\n body.style.background = '';\r\n //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\r\n body.style.overflow = 'hidden';\r\n docOverflow = docElement.style.overflow;\r\n docElement.style.overflow = 'hidden';\r\n docElement.appendChild(body);\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.fake) {\r\n body.parentNode.removeChild(body);\r\n docElement.style.overflow = docOverflow;\r\n // Trigger layout so kinetic scrolling isn't disabled in iOS6+\r\n // eslint-disable-next-line\r\n docElement.offsetHeight;\r\n } else {\r\n div.parentNode.removeChild(div);\r\n }\r\n\r\n return !!ret;\r\n\r\n }\r\n\r\n ;\r\n\r\n /**\r\n * Modernizr.mq tests a given media query, live against the current state of the window\r\n * adapted from matchMedia polyfill by Scott Jehl and Paul Irish\r\n * gist.github.com/786768\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.mq\r\n * @optionName Modernizr.mq()\r\n * @optionProp mq\r\n * @access public\r\n * @function mq\r\n * @param {string} mq - String of the media query we want to test\r\n * @returns {boolean}\r\n * @example\r\n * Modernizr.mq allows for you to programmatically check if the current browser\r\n * window state matches a media query.\r\n *\r\n * ```js\r\n * var query = Modernizr.mq('(min-width: 900px)');\r\n *\r\n * if (query) {\r\n * // the browser window is larger than 900px\r\n * }\r\n * ```\r\n *\r\n * Only valid media queries are supported, therefore you must always include values\r\n * with your media query\r\n *\r\n * ```js\r\n * // good\r\n * Modernizr.mq('(min-width: 900px)');\r\n *\r\n * // bad\r\n * Modernizr.mq('min-width');\r\n * ```\r\n *\r\n * If you would just like to test that media queries are supported in general, use\r\n *\r\n * ```js\r\n * Modernizr.mq('only all'); // true if MQ are supported, false if not\r\n * ```\r\n *\r\n *\r\n * Note that if the browser does not support media queries (e.g. old IE) mq will\r\n * always return false.\r\n */\r\n\r\n var mq = (function () {\r\n var matchMedia = window.matchMedia || window.msMatchMedia;\r\n if (matchMedia) {\r\n return function (mq) {\r\n var mql = matchMedia(mq);\r\n return mql && mql.matches || false;\r\n };\r\n }\r\n\r\n return function (mq) {\r\n var bool = false;\r\n\r\n injectElementWithStyles('@media ' + mq + ' { #modernizr { position: absolute; } }', function (node) {\r\n bool = (window.getComputedStyle ?\r\n window.getComputedStyle(node, null) :\r\n node.currentStyle).position == 'absolute';\r\n });\r\n\r\n return bool;\r\n };\r\n })();\r\n\r\n\r\n ModernizrProto.mq = mq;\r\n\r\n\r\n\r\n /**\r\n * testStyles injects an element with style element and some CSS rules\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.testStyles\r\n * @optionName Modernizr.testStyles()\r\n * @optionProp testStyles\r\n * @access public\r\n * @function testStyles\r\n * @param {string} rule - String representing a css rule\r\n * @param {function} callback - A function that is used to test the injected element\r\n * @param {number} [nodes] - An integer representing the number of additional nodes you want injected\r\n * @param {string[]} [testnames] - An array of strings that are used as ids for the additional nodes\r\n * @returns {boolean}\r\n * @example\r\n *\r\n * `Modernizr.testStyles` takes a CSS rule and injects it onto the current page\r\n * along with (possibly multiple) DOM elements. This lets you check for features\r\n * that can not be detected by simply checking the [IDL](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Interface_development_guide/IDL_interface_rules).\r\n *\r\n * ```js\r\n * Modernizr.testStyles('#modernizr { width: 9px; color: papayawhip; }', function(elem, rule) {\r\n * // elem is the first DOM node in the page (by default #modernizr)\r\n * // rule is the first argument you supplied - the CSS rule in string form\r\n *\r\n * addTest('widthworks', elem.style.width === '9px')\r\n * });\r\n * ```\r\n *\r\n * If your test requires multiple nodes, you can include a third argument\r\n * indicating how many additional div elements to include on the page. The\r\n * additional nodes are injected as children of the `elem` that is returned as\r\n * the first argument to the callback.\r\n *\r\n * ```js\r\n * Modernizr.testStyles('#modernizr {width: 1px}; #modernizr2 {width: 2px}', function(elem) {\r\n * document.getElementById('modernizr').style.width === '1px'; // true\r\n * document.getElementById('modernizr2').style.width === '2px'; // true\r\n * elem.firstChild === document.getElementById('modernizr2'); // true\r\n * }, 1);\r\n * ```\r\n *\r\n * By default, all of the additional elements have an ID of `modernizr[n]`, where\r\n * `n` is its index (e.g. the first additional, second overall is `#modernizr2`,\r\n * the second additional is `#modernizr3`, etc.).\r\n * If you want to have more meaningful IDs for your function, you can provide\r\n * them as the fourth argument, as an array of strings\r\n *\r\n * ```js\r\n * Modernizr.testStyles('#foo {width: 10px}; #bar {height: 20px}', function(elem) {\r\n * elem.firstChild === document.getElementById('foo'); // true\r\n * elem.lastChild === document.getElementById('bar'); // true\r\n * }, 2, ['foo', 'bar']);\r\n * ```\r\n *\r\n */\r\n\r\n var testStyles = ModernizrProto.testStyles = injectElementWithStyles;\r\n\r\n /*!\r\n {\r\n \"name\": \"Hidden Scrollbar\",\r\n \"property\": \"hiddenscroll\",\r\n \"authors\": [\"Oleg Korsunsky\"],\r\n \"tags\": [\"overlay\"],\r\n \"notes\": [{\r\n \"name\": \"Overlay Scrollbar description\",\r\n \"href\": \"https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_7.html#//apple_ref/doc/uid/TP40010355-SW39\"\r\n },{\r\n \"name\": \"Video example of overlay scrollbars\",\r\n \"href\": \"https://gfycat.com/FoolishMeaslyAtlanticsharpnosepuffer\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects overlay scrollbars (when scrollbars on overflowed blocks are visible). This is found most commonly on mobile and OS X.\r\n */\r\n\r\n Modernizr.addTest('hiddenscroll', function () {\r\n return testStyles('#modernizr {width:100px;height:100px;overflow:scroll}', function (elem) {\r\n return elem.offsetWidth === elem.clientWidth;\r\n });\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Touch Events\",\r\n \"property\": \"touchevents\",\r\n \"caniuse\" : \"touch\",\r\n \"tags\": [\"media\", \"attribute\"],\r\n \"notes\": [{\r\n \"name\": \"Touch Events spec\",\r\n \"href\": \"https://www.w3.org/TR/2013/WD-touch-events-20130124/\"\r\n }],\r\n \"warnings\": [\r\n \"Indicates if the browser supports the Touch Events spec, and does not necessarily reflect a touchscreen device\"\r\n ],\r\n \"knownBugs\": [\r\n \"False-positive on some configurations of Nokia N900\",\r\n \"False-positive on some BlackBerry 6.0 builds – https://github.com/Modernizr/Modernizr/issues/372#issuecomment-3112695\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Indicates if the browser supports the W3C Touch Events API.\r\n \r\n This *does not* necessarily reflect a touchscreen device:\r\n \r\n * Older touchscreen devices only emulate mouse events\r\n * Modern IE touch devices implement the Pointer Events API instead: use `Modernizr.pointerevents` to detect support for that\r\n * Some browsers & OS setups may enable touch APIs when no touchscreen is connected\r\n * Future browsers may implement other event models for touch interactions\r\n \r\n See this article: [You Can't Detect A Touchscreen](http://www.stucox.com/blog/you-cant-detect-a-touchscreen/).\r\n \r\n It's recommended to bind both mouse and touch/pointer events simultaneously – see [this HTML5 Rocks tutorial](http://www.html5rocks.com/en/mobile/touchandmouse/).\r\n \r\n This test will also return `true` for Firefox 4 Multitouch support.\r\n */\r\n\r\n // Chrome (desktop) used to lie about its support on this, but that has since been rectified: http://crbug.com/36415\r\n Modernizr.addTest('touchevents', function () {\r\n var bool;\r\n if (('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {\r\n bool = true;\r\n } else {\r\n // include the 'heartz' as a way to have a non matching MQ to help terminate the join\r\n // https://git.io/vznFH\r\n var query = ['@media (', prefixes.join('touch-enabled),('), 'heartz', ')', '{#modernizr{top:9px;position:absolute}}'].join('');\r\n testStyles(query, function (node) {\r\n bool = node.offsetTop === 9;\r\n });\r\n }\r\n return bool;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"details Element\",\r\n \"caniuse\": \"details\",\r\n \"property\": \"details\",\r\n \"tags\": [\"elem\"],\r\n \"builderAliases\": [\"elem_details\"],\r\n \"authors\": [\"@mathias\"],\r\n \"notes\": [{\r\n \"name\": \"Mathias' Original\",\r\n \"href\": \"https://mathiasbynens.be/notes/html5-details-jquery#comment-35\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('details', function () {\r\n var el = createElement('details');\r\n var diff;\r\n\r\n // return early if possible; thanks @aFarkas!\r\n if (!('open' in el)) {\r\n return false;\r\n }\r\n\r\n testStyles('#modernizr details{display:block}', function (node) {\r\n node.appendChild(el);\r\n el.innerHTML = 'ab';\r\n diff = el.offsetHeight;\r\n el.open = true;\r\n diff = diff != el.offsetHeight;\r\n });\r\n\r\n\r\n return diff;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Form Validation\",\r\n \"property\": \"formvalidation\",\r\n \"tags\": [\"forms\", \"validation\", \"attribute\"],\r\n \"builderAliases\": [\"forms_validation\"]\r\n }\r\n !*/\r\n /* DOC\r\n This implementation only tests support for interactive form validation.\r\n To check validation for a specific type or a specific other constraint,\r\n the test can be combined:\r\n \r\n - `Modernizr.inputtypes.number && Modernizr.formvalidation` (browser supports rangeOverflow, typeMismatch etc. for type=number)\r\n - `Modernizr.input.required && Modernizr.formvalidation` (browser supports valueMissing)\r\n */\r\n\r\n Modernizr.addTest('formvalidation', function () {\r\n var form = createElement('form');\r\n if (!('checkValidity' in form) || !('addEventListener' in form)) {\r\n return false;\r\n }\r\n if ('reportValidity' in form) {\r\n return true;\r\n }\r\n var invalidFired = false;\r\n var input;\r\n\r\n Modernizr.formvalidationapi = true;\r\n\r\n // Prevent form from being submitted\r\n form.addEventListener('submit', function (e) {\r\n // Old Presto based Opera does not validate form, if submit is prevented\r\n // although Opera Mini servers use newer Presto.\r\n if (!window.opera || window.operamini) {\r\n e.preventDefault();\r\n }\r\n e.stopPropagation();\r\n }, false);\r\n\r\n // Calling form.submit() doesn't trigger interactive validation,\r\n // use a submit button instead\r\n //older opera browsers need a name attribute\r\n form.innerHTML = '';\r\n\r\n testStyles('#modernizr form{position:absolute;top:-99999em}', function (node) {\r\n node.appendChild(form);\r\n\r\n input = form.getElementsByTagName('input')[0];\r\n\r\n // Record whether \"invalid\" event is fired\r\n input.addEventListener('invalid', function (e) {\r\n invalidFired = true;\r\n e.preventDefault();\r\n e.stopPropagation();\r\n }, false);\r\n\r\n //Opera does not fully support the validationMessage property\r\n Modernizr.formvalidationmessage = !!input.validationMessage;\r\n\r\n // Submit form by clicking submit button\r\n form.getElementsByTagName('button')[0].click();\r\n });\r\n\r\n return invalidFired;\r\n });\r\n\r\n\r\n /**\r\n * since we have a fairly large number of input tests that don't mutate the input\r\n * we create a single element that can be shared with all of those tests for a\r\n * minor perf boost\r\n *\r\n * @access private\r\n * @returns {HTMLInputElement}\r\n */\r\n var inputElem = createElement('input');\r\n\r\n /*!\r\n {\r\n \"name\": \"Input attributes\",\r\n \"property\": \"input\",\r\n \"tags\": [\"forms\"],\r\n \"authors\": [\"Mike Taylor\"],\r\n \"notes\": [{\r\n \"name\": \"WHATWG spec\",\r\n \"href\": \"https://html.spec.whatwg.org/multipage/forms.html#input-type-attr-summary\"\r\n }],\r\n \"knownBugs\": [\"Some blackberry devices report false positive for input.multiple\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for HTML5 `` element attributes and exposes Boolean subproperties with the results:\r\n \r\n ```javascript\r\n Modernizr.input.autocomplete\r\n Modernizr.input.autofocus\r\n Modernizr.input.list\r\n Modernizr.input.max\r\n Modernizr.input.min\r\n Modernizr.input.multiple\r\n Modernizr.input.pattern\r\n Modernizr.input.placeholder\r\n Modernizr.input.required\r\n Modernizr.input.step\r\n ```\r\n */\r\n\r\n // Run through HTML5's new input attributes to see if the UA understands any.\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\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\r\n var inputattrs = 'autocomplete autofocus list placeholder max min multiple pattern required step'.split(' ');\r\n var attrs = {};\r\n\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 = !!(createElement('datalist') && window.HTMLDataListElement);\r\n }\r\n return attrs;\r\n })(inputattrs);\r\n\r\n /*!\r\n {\r\n \"name\": \"Form input types\",\r\n \"property\": \"inputtypes\",\r\n \"caniuse\": \"forms\",\r\n \"tags\": [\"forms\"],\r\n \"authors\": [\"Mike Taylor\"],\r\n \"polyfills\": [\r\n \"jquerytools\",\r\n \"webshims\",\r\n \"h5f\",\r\n \"webforms2\",\r\n \"nwxforms\",\r\n \"fdslider\",\r\n \"html5slider\",\r\n \"galleryhtml5forms\",\r\n \"jscolor\",\r\n \"html5formshim\",\r\n \"selectedoptionsjs\",\r\n \"formvalidationjs\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for HTML5 form input types and exposes Boolean subproperties with the results:\r\n \r\n ```javascript\r\n Modernizr.inputtypes.color\r\n Modernizr.inputtypes.date\r\n Modernizr.inputtypes.datetime\r\n Modernizr.inputtypes['datetime-local']\r\n Modernizr.inputtypes.email\r\n Modernizr.inputtypes.month\r\n Modernizr.inputtypes.number\r\n Modernizr.inputtypes.range\r\n Modernizr.inputtypes.search\r\n Modernizr.inputtypes.tel\r\n Modernizr.inputtypes.time\r\n Modernizr.inputtypes.url\r\n Modernizr.inputtypes.week\r\n ```\r\n */\r\n\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 var inputtypes = 'search tel url email datetime date month week time datetime-local number range color'.split(' ');\r\n var inputs = {};\r\n\r\n Modernizr.inputtypes = (function (props) {\r\n var len = props.length;\r\n var smile = '1)';\r\n var inputElemType;\r\n var defaultView;\r\n var bool;\r\n\r\n for (var i = 0; i < len; i++) {\r\n\r\n inputElem.setAttribute('type', inputElemType = props[i]);\r\n bool = inputElem.type !== 'text' && 'style' in inputElem;\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 })(inputtypes);\r\n\r\n\r\n /**\r\n * roundedEquals takes two integers and checks if the first is within 1 of the second\r\n *\r\n * @access private\r\n * @function roundedEquals\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n */\r\n\r\n function roundedEquals(a, b) {\r\n return a - 1 === b || a === b || a + 1 === b;\r\n }\r\n\r\n ;\r\n\r\n\r\n /**\r\n * wrapper around getComputedStyle, to fix issues with Firefox returning null when\r\n * called inside of a hidden iframe\r\n *\r\n * @access private\r\n * @function computedStyle\r\n * @param {HTMLElement|SVGElement} - The element we want to find the computed styles of\r\n * @param {string|null} [pseudoSelector]- An optional pseudo element selector (e.g. :before), of null if none\r\n * @returns {CSSStyleDeclaration}\r\n */\r\n\r\n function computedStyle(elem, pseudo, prop) {\r\n var result;\r\n\r\n if ('getComputedStyle' in window) {\r\n result = getComputedStyle.call(window, elem, pseudo);\r\n var console = window.console;\r\n\r\n if (result !== null) {\r\n if (prop) {\r\n result = result.getPropertyValue(prop);\r\n }\r\n } else {\r\n if (console) {\r\n var method = console.error ? 'error' : 'log';\r\n console[method].call(console, 'getComputedStyle returning null, its possible modernizr test results are inaccurate');\r\n }\r\n }\r\n } else {\r\n result = !pseudo && elem.currentStyle && elem.currentStyle[prop];\r\n }\r\n\r\n return result;\r\n }\r\n\r\n ;\r\n /*!\r\n {\r\n \"name\": \"CSS vmax unit\",\r\n \"property\": \"cssvmaxunit\",\r\n \"caniuse\": \"viewport-units\",\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_vmaxunit\"],\r\n \"notes\": [{\r\n \"name\": \"Related Modernizr Issue\",\r\n \"href\": \"https://github.com/Modernizr/Modernizr/issues/572\"\r\n },{\r\n \"name\": \"JSFiddle Example\",\r\n \"href\": \"https://jsfiddle.net/glsee/JDsWQ/4/\"\r\n }]\r\n }\r\n !*/\r\n\r\n testStyles('#modernizr1{width: 50vmax}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}', function (node) {\r\n var elem = node.childNodes[2];\r\n var scroller = node.childNodes[1];\r\n var fullSizeElem = node.childNodes[0];\r\n var scrollbarWidth = parseInt((scroller.offsetWidth - scroller.clientWidth) / 2, 10);\r\n\r\n var one_vw = fullSizeElem.clientWidth / 100;\r\n var one_vh = fullSizeElem.clientHeight / 100;\r\n var expectedWidth = parseInt(Math.max(one_vw, one_vh) * 50, 10);\r\n var compWidth = parseInt(computedStyle(elem, null, 'width'), 10);\r\n\r\n Modernizr.addTest('cssvmaxunit', roundedEquals(expectedWidth, compWidth) || roundedEquals(expectedWidth, compWidth - scrollbarWidth));\r\n }, 3);\r\n\r\n /*!\r\n {\r\n \"name\": \"bdi Element\",\r\n \"property\": \"bdi\",\r\n \"notes\": [{\r\n \"name\": \"MDN Overview\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detect support for the bdi element, a way to have text that is isolated from its possibly bidirectional surroundings\r\n */\r\n\r\n Modernizr.addTest('bdi', function () {\r\n var div = createElement('div');\r\n var bdi = createElement('bdi');\r\n\r\n bdi.innerHTML = 'إ';\r\n div.appendChild(bdi);\r\n\r\n docElement.appendChild(div);\r\n\r\n var supports = computedStyle(bdi, null, 'direction') === 'rtl';\r\n\r\n docElement.removeChild(div);\r\n\r\n return supports;\r\n });\r\n\r\n\r\n /**\r\n * Object.prototype.toString can be used with every object and allows you to\r\n * get its class easily. Abstracting it off of an object prevents situations\r\n * where the toString property has been overridden\r\n *\r\n * @access private\r\n * @function toStringFn\r\n * @returns {function} An abstracted toString function\r\n */\r\n\r\n var toStringFn = ({}).toString;\r\n\r\n /*!\r\n {\r\n \"name\": \"SVG clip paths\",\r\n \"property\": \"svgclippaths\",\r\n \"tags\": [\"svg\"],\r\n \"notes\": [{\r\n \"name\": \"Demo\",\r\n \"href\": \"http://srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for clip paths in SVG (only, not on HTML content).\r\n \r\n See [this discussion](https://github.com/Modernizr/Modernizr/issues/213) regarding applying SVG clip paths to HTML content.\r\n */\r\n\r\n Modernizr.addTest('svgclippaths', function () {\r\n return !!document.createElementNS &&\r\n /SVGClipPath/.test(toStringFn.call(document.createElementNS('http://www.w3.org/2000/svg', 'clipPath')));\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Web Workers\",\r\n \"property\": \"webworkers\",\r\n \"caniuse\" : \"webworkers\",\r\n \"tags\": [\"performance\", \"workers\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Reference\",\r\n \"href\": \"https://www.w3.org/TR/workers/\"\r\n }, {\r\n \"name\": \"HTML5 Rocks article\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/workers/basics/\"\r\n }, {\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers\"\r\n }],\r\n \"polyfills\": [\"fakeworker\", \"html5shims\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the basic `Worker` API from the Web Workers spec. Web Workers provide a simple means for web content to run scripts in background threads.\r\n */\r\n\r\n Modernizr.addTest('webworkers', 'Worker' in window);\r\n\r\n\r\n\r\n /**\r\n * contains checks to see if a string contains another string\r\n *\r\n * @access private\r\n * @function contains\r\n * @param {string} str - The string we want to check for substrings\r\n * @param {string} substr - The substring we want to search the first string for\r\n * @returns {boolean}\r\n */\r\n\r\n function contains(str, substr) {\r\n return !!~('' + str).indexOf(substr);\r\n }\r\n\r\n ;\r\n\r\n /**\r\n * nativeTestProps allows for us to use native feature detection functionality if available.\r\n * some prefixed form, or false, in the case of an unsupported rule\r\n *\r\n * @access private\r\n * @function nativeTestProps\r\n * @param {array} props - An array of property names\r\n * @param {string} value - A string representing the value we want to check via @supports\r\n * @returns {boolean|undefined} A boolean when @supports exists, undefined otherwise\r\n */\r\n\r\n // Accepts a list of property names and a single value\r\n // Returns `undefined` if native detection not available\r\n function nativeTestProps(props, value) {\r\n var i = props.length;\r\n // Start with the JS API: http://www.w3.org/TR/css3-conditional/#the-css-interface\r\n if ('CSS' in window && 'supports' in window.CSS) {\r\n // Try every prefixed variant of the property\r\n while (i--) {\r\n if (window.CSS.supports(domToCSS(props[i]), value)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n // Otherwise fall back to at-rule (for Opera 12.x)\r\n else if ('CSSSupportsRule' in window) {\r\n // Build a condition string for every prefixed variant\r\n var conditionText = [];\r\n while (i--) {\r\n conditionText.push('(' + domToCSS(props[i]) + ':' + value + ')');\r\n }\r\n conditionText = conditionText.join(' or ');\r\n return injectElementWithStyles('@supports (' + conditionText + ') { #modernizr { position: absolute; } }', function (node) {\r\n return computedStyle(node, null, 'position') == 'absolute';\r\n });\r\n }\r\n return undefined;\r\n }\r\n ;\r\n\r\n /**\r\n * fnBind is a super small [bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) polyfill.\r\n *\r\n * @access private\r\n * @function fnBind\r\n * @param {function} fn - a function you want to change `this` reference to\r\n * @param {object} that - the `this` you want to call the function with\r\n * @returns {function} The wrapped version of the supplied function\r\n */\r\n\r\n function fnBind(fn, that) {\r\n return function () {\r\n return fn.apply(that, arguments);\r\n };\r\n }\r\n\r\n ;\r\n\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 * @access private\r\n * @function testDOMProps\r\n * @param {array.} props - An array of properties to test for\r\n * @param {object} obj - An object or Element you want to use to test the parameters again\r\n * @param {boolean|object} elem - An Element to bind the property lookup again. Use `false` to prevent the check\r\n * @returns {false|*} returns false if the prop is unsupported, otherwise the value that is supported\r\n */\r\n function testDOMProps(props, obj, elem) {\r\n var item;\r\n\r\n for (var i in props) {\r\n if (props[i] in obj) {\r\n\r\n // return the property name as a string\r\n if (elem === false) {\r\n return props[i];\r\n }\r\n\r\n item = obj[props[i]];\r\n\r\n // let's bind a function\r\n if (is(item, 'function')) {\r\n // bind to obj unless overriden\r\n return fnBind(item, 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 ;\r\n\r\n /**\r\n * Create our \"modernizr\" element that we do most feature tests on.\r\n *\r\n * @access private\r\n */\r\n\r\n var modElem = {\r\n elem: createElement('modernizr')\r\n };\r\n\r\n // Clean up this element\r\n Modernizr._q.push(function () {\r\n delete modElem.elem;\r\n });\r\n\r\n\r\n\r\n var mStyle = {\r\n style: modElem.elem.style\r\n };\r\n\r\n // kill ref for gc, must happen before mod.elem is removed, so we unshift on to\r\n // the front of the queue.\r\n Modernizr._q.unshift(function () {\r\n delete mStyle.style;\r\n });\r\n\r\n\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 // Property names can be provided in either camelCase or kebab-case.\r\n\r\n function testProps(props, prefixed, value, skipValueTest) {\r\n skipValueTest = is(skipValueTest, 'undefined') ? false : skipValueTest;\r\n\r\n // Try native detect first\r\n if (!is(value, 'undefined')) {\r\n var result = nativeTestProps(props, value);\r\n if (!is(result, 'undefined')) {\r\n return result;\r\n }\r\n }\r\n\r\n // Otherwise do it properly\r\n var afterInit, i, propsLength, prop, before;\r\n\r\n // If we don't have a style element, that means we're running async or after\r\n // the core tests, so we'll need to create our own elements to use\r\n\r\n // inside of an SVG element, in certain browsers, the `style` element is only\r\n // defined for valid tags. Therefore, if `modernizr` does not have one, we\r\n // fall back to a less used element and hope for the best.\r\n // for strict XHTML browsers the hardly used samp element is used\r\n var elems = ['modernizr', 'tspan', 'samp'];\r\n while (!mStyle.style && elems.length) {\r\n afterInit = true;\r\n mStyle.modElem = createElement(elems.shift());\r\n mStyle.style = mStyle.modElem.style;\r\n }\r\n\r\n // Delete the objects if we created them.\r\n function cleanElems() {\r\n if (afterInit) {\r\n delete mStyle.style;\r\n delete mStyle.modElem;\r\n }\r\n }\r\n\r\n propsLength = props.length;\r\n for (i = 0; i < propsLength; i++) {\r\n prop = props[i];\r\n before = mStyle.style[prop];\r\n\r\n if (contains(prop, '-')) {\r\n prop = cssToDOM(prop);\r\n }\r\n\r\n if (mStyle.style[prop] !== undefined) {\r\n\r\n // If value to test has been passed in, do a set-and-check test.\r\n // 0 (integer) is a valid property value, so check that `value` isn't\r\n // undefined, rather than just checking it's truthy.\r\n if (!skipValueTest && !is(value, 'undefined')) {\r\n\r\n // Needs a try catch block because of old IE. This is slow, but will\r\n // be avoided in most cases because `skipValueTest` will be used.\r\n try {\r\n mStyle.style[prop] = value;\r\n } catch (e) { }\r\n\r\n // If the property value has changed, we assume the value used is\r\n // supported. If `value` is empty string, it'll fail here (because\r\n // it hasn't changed), which matches how browsers have implemented\r\n // CSS.supports()\r\n if (mStyle.style[prop] != before) {\r\n cleanElems();\r\n return prefixed == 'pfx' ? prop : true;\r\n }\r\n }\r\n // Otherwise just return true, or the property name if this is a\r\n // `prefixed()` call\r\n else {\r\n cleanElems();\r\n return prefixed == 'pfx' ? prop : true;\r\n }\r\n }\r\n }\r\n cleanElems();\r\n return false;\r\n }\r\n\r\n ;\r\n\r\n /**\r\n * testProp() investigates whether a given style property is recognized\r\n * Property names can be provided in either camelCase or kebab-case.\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.testProp\r\n * @access public\r\n * @optionName Modernizr.testProp()\r\n * @optionProp testProp\r\n * @function testProp\r\n * @param {string} prop - Name of the CSS property to check\r\n * @param {string} [value] - Name of the CSS value to check\r\n * @param {boolean} [useValue] - Whether or not to check the value if @supports isn't supported\r\n * @returns {boolean}\r\n * @example\r\n *\r\n * Just like [testAllProps](#modernizr-testallprops), only it does not check any vendor prefixed\r\n * version of the string.\r\n *\r\n * Note that the property name must be provided in camelCase (e.g. boxSizing not box-sizing)\r\n *\r\n * ```js\r\n * Modernizr.testProp('pointerEvents') // true\r\n * ```\r\n *\r\n * You can also provide a value as an optional second argument to check if a\r\n * specific value is supported\r\n *\r\n * ```js\r\n * Modernizr.testProp('pointerEvents', 'none') // true\r\n * Modernizr.testProp('pointerEvents', 'penguin') // false\r\n * ```\r\n */\r\n\r\n var testProp = ModernizrProto.testProp = function (prop, value, useValue) {\r\n return testProps([prop], undefined, value, useValue);\r\n };\r\n\r\n\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 * @access private\r\n * @function testPropsAll\r\n * @param {string} prop - A string of the property to test for\r\n * @param {string|object} [prefixed] - An object to check the prefixed properties on. Use a string to skip\r\n * @param {HTMLElement|SVGElement} [elem] - An element used to test the property and value against\r\n * @param {string} [value] - A string of a css value\r\n * @param {boolean} [skipValueTest] - An boolean representing if you want to test if value sticks when set\r\n * @returns {false|string} returns the string version of the property, or false if it is unsupported\r\n */\r\n function testPropsAll(prop, prefixed, elem, value, skipValueTest) {\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, value, skipValueTest);\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\r\n // Modernizr.testAllProps() investigates whether a given style property,\r\n // or any of its vendor-prefixed variants, is recognized\r\n //\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testAllProps('boxSizing')\r\n ModernizrProto.testAllProps = testPropsAll;\r\n\r\n\r\n\r\n /**\r\n * prefixed returns the prefixed or nonprefixed property name variant of your input\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.prefixed\r\n * @optionName Modernizr.prefixed()\r\n * @optionProp prefixed\r\n * @access public\r\n * @function prefixed\r\n * @param {string} prop - String name of the property to test for\r\n * @param {object} [obj] - An object to test for the prefixed properties on\r\n * @param {HTMLElement} [elem] - An element used to test specific properties against\r\n * @returns {string|false} The string representing the (possibly prefixed) valid\r\n * version of the property, or `false` when it is unsupported.\r\n * @example\r\n *\r\n * Modernizr.prefixed takes a string css value in the DOM style camelCase (as\r\n * opposed to the css style kebab-case) form and returns the (possibly prefixed)\r\n * version of that property that the browser actually supports.\r\n *\r\n * For example, in older Firefox...\r\n * ```js\r\n * prefixed('boxSizing')\r\n * ```\r\n * returns 'MozBoxSizing'\r\n *\r\n * In newer Firefox, as well as any other browser that support the unprefixed\r\n * version would simply return `boxSizing`. Any browser that does not support\r\n * the property at all, it will return `false`.\r\n *\r\n * By default, prefixed is checked against a DOM element. If you want to check\r\n * for a property on another object, just pass it as a second argument\r\n *\r\n * ```js\r\n * var rAF = prefixed('requestAnimationFrame', window);\r\n *\r\n * raf(function() {\r\n * renderFunction();\r\n * })\r\n * ```\r\n *\r\n * Note that this will return _the actual function_ - not the name of the function.\r\n * If you need the actual name of the property, pass in `false` as a third argument\r\n *\r\n * ```js\r\n * var rAFProp = prefixed('requestAnimationFrame', window, false);\r\n *\r\n * rafProp === 'WebkitRequestAnimationFrame' // in older webkit\r\n * ```\r\n *\r\n * One common use case for prefixed is if you're trying to determine which transition\r\n * end event to bind to, you might do something like...\r\n * ```js\r\n * var transEndEventNames = {\r\n * 'WebkitTransition' : 'webkitTransitionEnd', * Saf 6, Android Browser\r\n * 'MozTransition' : 'transitionend', * only for FF < 15\r\n * 'transition' : 'transitionend' * IE10, Opera, Chrome, FF 15+, Saf 7+\r\n * };\r\n *\r\n * var transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];\r\n * ```\r\n *\r\n * If you want a similar lookup, but in kebab-case, you can use [prefixedCSS](#modernizr-prefixedcss).\r\n */\r\n\r\n var prefixed = ModernizrProto.prefixed = function (prop, obj, elem) {\r\n if (prop.indexOf('@') === 0) {\r\n return atRule(prop);\r\n }\r\n\r\n if (prop.indexOf('-') != -1) {\r\n // Convert kebab-case to camelCase\r\n prop = cssToDOM(prop);\r\n }\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\r\n\r\n\r\n /**\r\n * prefixedCSS is just like [prefixed](#modernizr-prefixed), but the returned values are in\r\n * kebab-case (e.g. `box-sizing`) rather than camelCase (boxSizing).\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.prefixedCSS\r\n * @optionName Modernizr.prefixedCSS()\r\n * @optionProp prefixedCSS\r\n * @access public\r\n * @function prefixedCSS\r\n * @param {string} prop - String name of the property to test for\r\n * @returns {string|false} The string representing the (possibly prefixed)\r\n * valid version of the property, or `false` when it is unsupported.\r\n * @example\r\n *\r\n * `Modernizr.prefixedCSS` is like `Modernizr.prefixed`, but returns the result\r\n * in hyphenated form\r\n *\r\n * ```js\r\n * Modernizr.prefixedCSS('transition') // '-moz-transition' in old Firefox\r\n * ```\r\n *\r\n * Since it is only useful for CSS style properties, it can only be tested against\r\n * an HTMLElement.\r\n *\r\n * Properties can be passed as both the DOM style camelCase or CSS style kebab-case.\r\n */\r\n\r\n var prefixedCSS = ModernizrProto.prefixedCSS = function (prop) {\r\n var prefixedProp = prefixed(prop);\r\n return prefixedProp && domToCSS(prefixedProp);\r\n };\r\n\r\n /*!\r\n {\r\n \"name\": \"Force Touch Events\",\r\n \"property\": \"forcetouch\",\r\n \"authors\": [\"Kraig Walker\"],\r\n \"notes\": [{\r\n \"name\": \"Responding to Force Touch Events from JavaScript\",\r\n \"href\": \"https://developer.apple.com/library/prerelease/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Articles/RespondingtoForceTouchEventsfromJavaScript.html\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Tests whether the browser supports the detection of Force Touch Events.\r\n Force Touch Events allow custom behaviours and interactions to take place based on the given pressure or change in pressure from a compatible trackpad.\r\n \r\n Force Touch events are available in OS X 10.11 and later on devices equipped with Force Touch trackpads.\r\n */\r\n\r\n Modernizr.addTest('forcetouch', function () {\r\n // github.com/Modernizr/Modernizr/issues/1613\r\n // Test if the browser supports the force touch event progression (see notes link)\r\n if (!hasEvent(prefixed('mouseforcewillbegin', window, false), window)) {\r\n return false;\r\n }\r\n\r\n // Test if the browser provides thresholds defining a \"force touch\" from a normal touch/click event\r\n return MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN && MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN;\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Fullscreen API\",\r\n \"property\": \"fullscreen\",\r\n \"caniuse\": \"fullscreen\",\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en/API/Fullscreen\"\r\n }],\r\n \"polyfills\": [\"screenfulljs\"],\r\n \"builderAliases\": [\"fullscreen_api\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the ability to make the current website take over the user's entire screen\r\n */\r\n\r\n // github.com/Modernizr/Modernizr/issues/739\r\n Modernizr.addTest('fullscreen', !!(prefixed('exitFullscreen', document, false) || prefixed('cancelFullScreen', document, false)));\r\n\r\n /*!\r\n {\r\n \"name\": \"IndexedDB\",\r\n \"property\": \"indexeddb\",\r\n \"caniuse\": \"indexeddb\",\r\n \"tags\": [\"storage\"],\r\n \"polyfills\": [\"indexeddb\"],\r\n \"async\": true\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the IndexedDB client-side storage API (final spec).\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\r\n Modernizr.addAsyncTest(function () {\r\n\r\n var indexeddb;\r\n\r\n try {\r\n // Firefox throws a Security Error when cookies are disabled\r\n indexeddb = prefixed('indexedDB', window);\r\n } catch (e) {\r\n }\r\n\r\n if (!!indexeddb) {\r\n var testDBName = 'modernizr-' + Math.random();\r\n var req = indexeddb.open(testDBName);\r\n\r\n req.onerror = function () {\r\n if (req.error && req.error.name === 'InvalidStateError') {\r\n addTest('indexeddb', false);\r\n } else {\r\n addTest('indexeddb', true);\r\n detectDeleteDatabase(indexeddb, testDBName);\r\n }\r\n };\r\n\r\n req.onsuccess = function () {\r\n addTest('indexeddb', true);\r\n detectDeleteDatabase(indexeddb, testDBName);\r\n };\r\n } else {\r\n addTest('indexeddb', false);\r\n }\r\n });\r\n\r\n function detectDeleteDatabase(indexeddb, testDBName) {\r\n var deleteReq = indexeddb.deleteDatabase(testDBName);\r\n deleteReq.onsuccess = function () {\r\n addTest('indexeddb.deletedatabase', true);\r\n };\r\n deleteReq.onerror = function () {\r\n addTest('indexeddb.deletedatabase', false);\r\n };\r\n }\r\n\r\n ;\r\n /*!\r\n {\r\n \"name\": \"IndexedDB Blob\",\r\n \"property\": \"indexeddbblob\"\r\n }\r\n !*/\r\n /* DOC\r\n Detects if the browser can save File/Blob objects to IndexedDB\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\r\n Modernizr.addAsyncTest(function () {\r\n var indexeddb;\r\n var dbname = 'detect-blob-support';\r\n var supportsBlob = false;\r\n var openRequest;\r\n var db;\r\n var putRequest;\r\n\r\n try {\r\n indexeddb = prefixed('indexedDB', window);\r\n } catch (e) {\r\n }\r\n\r\n if (!(Modernizr.indexeddb && Modernizr.indexeddb.deletedatabase)) {\r\n return false;\r\n }\r\n\r\n // Calling `deleteDatabase` in a try…catch because some contexts (e.g. data URIs)\r\n // will throw a `SecurityError`\r\n try {\r\n indexeddb.deleteDatabase(dbname).onsuccess = function () {\r\n openRequest = indexeddb.open(dbname, 1);\r\n openRequest.onupgradeneeded = function () {\r\n openRequest.result.createObjectStore('store');\r\n };\r\n openRequest.onsuccess = function () {\r\n db = openRequest.result;\r\n try {\r\n putRequest = db.transaction('store', 'readwrite').objectStore('store').put(new Blob(), 'key');\r\n putRequest.onsuccess = function () {\r\n supportsBlob = true;\r\n };\r\n putRequest.onerror = function () {\r\n supportsBlob = false;\r\n };\r\n }\r\n catch (e) {\r\n supportsBlob = false;\r\n }\r\n finally {\r\n addTest('indexeddbblob', supportsBlob);\r\n db.close();\r\n indexeddb.deleteDatabase(dbname);\r\n }\r\n };\r\n };\r\n }\r\n catch (e) {\r\n addTest('indexeddbblob', false);\r\n }\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Internationalization API\",\r\n \"property\": \"intl\",\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl\"\r\n },{\r\n \"name\": \"ECMAScript spec\",\r\n \"href\": \"http://www.ecma-international.org/ecma-402/1.0/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Internationalization API which allow easy formatting of number and dates and sorting string\r\n based on a locale\r\n */\r\n\r\n Modernizr.addTest('intl', !!prefixed('Intl', window));\r\n\r\n /*!\r\n {\r\n \"name\": \"Page Visibility API\",\r\n \"property\": \"pagevisibility\",\r\n \"caniuse\": \"pagevisibility\",\r\n \"tags\": [\"performance\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/DOM/Using_the_Page_Visibility_API\"\r\n },{\r\n \"name\": \"W3C spec\",\r\n \"href\": \"https://www.w3.org/TR/2011/WD-page-visibility-20110602/\"\r\n },{\r\n \"name\": \"HTML5 Rocks tutorial\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/pagevisibility/intro/\"\r\n }],\r\n \"polyfills\": [\"visibilityjs\", \"visiblyjs\", \"jquery-visibility\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Page Visibility API, which can be used to disable unnecessary actions and otherwise improve user experience.\r\n */\r\n\r\n Modernizr.addTest('pagevisibility', !!prefixed('hidden', document, false));\r\n\r\n /*!\r\n {\r\n \"name\": \"Navigation Timing API\",\r\n \"property\": \"performance\",\r\n \"caniuse\": \"nav-timing\",\r\n \"tags\": [\"performance\"],\r\n \"authors\": [\"Scott Murphy (@uxder)\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Spec\",\r\n \"href\": \"https://www.w3.org/TR/navigation-timing/\"\r\n },{\r\n \"name\": \"HTML5 Rocks article\",\r\n \"href\": \"http://www.html5rocks.com/en/tutorials/webperformance/basics/\"\r\n }],\r\n \"polyfills\": [\"perfnow\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the Navigation Timing API, for measuring browser and connection performance.\r\n */\r\n\r\n Modernizr.addTest('performance', !!prefixed('performance', window));\r\n\r\n /*!\r\n {\r\n \"name\": \"Pointer Lock API\",\r\n \"property\": \"pointerlock\",\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/API/Pointer_Lock_API\"\r\n }],\r\n \"builderAliases\": [\"pointerlock_api\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support the pointer lock API which allows you to lock the mouse cursor to the browser window.\r\n */\r\n\r\n // https://developer.mozilla.org/en-US/docs/API/Pointer_Lock_API\r\n Modernizr.addTest('pointerlock', !!prefixed('exitPointerLock', document));\r\n\r\n /*!\r\n {\r\n \"name\": \"Quota Storage Management API\",\r\n \"property\": \"quotamanagement\",\r\n \"tags\": [\"storage\"],\r\n \"builderAliases\": [\"quota_management_api\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Spec\",\r\n \"href\": \"https://www.w3.org/TR/quota-api/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects the ability to request a specific amount of space for filesystem access\r\n */\r\n\r\n Modernizr.addTest('quotamanagement', function () {\r\n var tempStorage = prefixed('temporaryStorage', navigator);\r\n var persStorage = prefixed('persistentStorage', navigator);\r\n\r\n return !!(tempStorage && persStorage);\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"requestAnimationFrame\",\r\n \"property\": \"requestanimationframe\",\r\n \"aliases\": [\"raf\"],\r\n \"caniuse\": \"requestanimationframe\",\r\n \"tags\": [\"animation\"],\r\n \"authors\": [\"Addy Osmani\"],\r\n \"notes\": [{\r\n \"name\": \"W3C spec\",\r\n \"href\": \"https://www.w3.org/TR/animation-timing/\"\r\n }],\r\n \"polyfills\": [\"raf\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `window.requestAnimationFrame` API, for offloading animation repainting to the browser for optimized performance.\r\n */\r\n\r\n Modernizr.addTest('requestanimationframe', !!prefixed('requestAnimationFrame', window), { aliases: ['raf'] });\r\n\r\n /*!\r\n {\r\n \"name\": \"getRandomValues\",\r\n \"property\": \"getrandomvalues\",\r\n \"caniuse\": \"window.crypto.getRandomValues\",\r\n \"tags\": [\"crypto\"],\r\n \"authors\": [\"komachi\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Editor’s Draft\",\r\n \"href\": \"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#RandomSource-method-getRandomValues\"\r\n }],\r\n \"polyfills\": [\r\n \"polycrypt\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the window.crypto.getRandomValues for generate cryptographically secure random numbers\r\n */\r\n\r\n // In Safari <=5.0 `window.crypto` exists (for some reason) but is `undefined`, so we have to check\r\n // it’s truthy before checking for existence of `getRandomValues`\r\n var crypto = prefixed('crypto', window);\r\n var supportsGetRandomValues;\r\n\r\n // Safari 6.0 supports crypto.getRandomValues, but does not return the array,\r\n // which is required by the spec, so we need to actually check.\r\n if (crypto && 'getRandomValues' in crypto && 'Uint32Array' in window) {\r\n var array = new Uint32Array(10);\r\n var values = crypto.getRandomValues(array);\r\n supportsGetRandomValues = values && is(values[0], 'number');\r\n }\r\n\r\n Modernizr.addTest('getrandomvalues', !!supportsGetRandomValues);\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Background Blend Mode\",\r\n \"property\": \"backgroundblendmode\",\r\n \"caniuse\": \"css-backgroundblendmode\",\r\n \"tags\": [\"css\"],\r\n \"notes\": [\r\n {\r\n \"name\": \"CSS Blend Modes could be the next big thing in Web Design\",\r\n \"href\": \" https://medium.com/@bennettfeely/css-blend-modes-could-be-the-next-big-thing-in-web-design-6b51bf53743a\"\r\n }, {\r\n \"name\": \"Demo\",\r\n \"href\": \"http://bennettfeely.com/gradients/\"\r\n }\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects the ability for the browser to composite backgrounds using blending modes similar to ones found in Photoshop or Illustrator.\r\n */\r\n\r\n Modernizr.addTest('backgroundblendmode', prefixed('backgroundBlendMode', 'text'));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Object Fit\",\r\n \"caniuse\": \"object-fit\",\r\n \"property\": \"objectfit\",\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_objectfit\"],\r\n \"notes\": [{\r\n \"name\": \"Opera Article on Object Fit\",\r\n \"href\": \"https://dev.opera.com/articles/css3-object-fit-object-position/\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('objectfit', !!prefixed('objectFit'), { aliases: ['object-fit'] });\r\n\r\n /*!\r\n {\r\n \"name\": \"Filesystem API\",\r\n \"property\": \"filesystem\",\r\n \"caniuse\": \"filesystem\",\r\n \"notes\": [{\r\n \"name\": \"W3 Draft\",\r\n \"href\": \"http://dev.w3.org/2009/dap/file-system/file-dir-sys.html\"\r\n }],\r\n \"authors\": [\"Eric Bidelman (@ebidel)\"],\r\n \"tags\": [\"file\"],\r\n \"builderAliases\": [\"file_filesystem\"],\r\n \"knownBugs\": [\"The API will be present in Chrome incognito, but will throw an exception. See crbug.com/93417\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('filesystem', !!prefixed('requestFileSystem', window));\r\n\r\n /*!\r\n {\r\n \"name\": \"Blob URLs\",\r\n \"property\": \"bloburls\",\r\n \"caniuse\": \"bloburls\",\r\n \"notes\": [{\r\n \"name\": \"W3C Working Draft\",\r\n \"href\": \"https://www.w3.org/TR/FileAPI/#creating-revoking\"\r\n }],\r\n \"tags\": [\"file\", \"url\"],\r\n \"authors\": [\"Ron Waldon (@jokeyrhyme)\"]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for creating Blob URLs\r\n */\r\n\r\n var url = prefixed('URL', window, false);\r\n url = url && window[url];\r\n Modernizr.addTest('bloburls', url && 'revokeObjectURL' in url && 'createObjectURL' in url);\r\n\r\n /*!\r\n {\r\n \"name\": \"Transferables Objects\",\r\n \"property\": \"transferables\",\r\n \"tags\": [\"performance\", \"workers\"],\r\n \"builderAliases\": [\"transferables\"],\r\n \"notes\": [{\r\n \"name\": \"HTML5 Rocks article\",\r\n \"href\": \"http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast\"\r\n }],\r\n \"async\": true\r\n }\r\n !*/\r\n /* DOC\r\n Detects whether web workers can use `transferables` objects.\r\n */\r\n\r\n Modernizr.addAsyncTest(function () {\r\n var prerequisites = !!(Modernizr.blobconstructor &&\r\n Modernizr.bloburls &&\r\n Modernizr.webworkers &&\r\n Modernizr.typedarrays);\r\n\r\n // Early exit\r\n if (!prerequisites) {\r\n return addTest('transferables', false);\r\n }\r\n\r\n // Proper test if prerequisites are met\r\n try {\r\n var buffer,\r\n scriptText = 'var hello = \"world\"',\r\n blob = new Blob([scriptText], { type: 'text/javascript' }),\r\n url = URL.createObjectURL(blob),\r\n worker = new Worker(url),\r\n timeout;\r\n\r\n // Just in case...\r\n worker.onerror = fail;\r\n timeout = setTimeout(fail, 200);\r\n\r\n // Building an minimal array buffer to send to the worker\r\n buffer = new ArrayBuffer(1);\r\n\r\n // Sending the buffer to the worker\r\n worker.postMessage(buffer, [buffer]);\r\n\r\n // If length of buffer is now 0, transferables are working\r\n addTest('transferables', buffer.byteLength === 0);\r\n cleanup();\r\n } catch (e) {\r\n fail();\r\n }\r\n\r\n function fail() {\r\n addTest('transferables', false);\r\n cleanup();\r\n }\r\n\r\n function cleanup() {\r\n if (url) {\r\n URL.revokeObjectURL(url);\r\n }\r\n if (worker) {\r\n worker.terminate();\r\n }\r\n if (timeout) {\r\n clearTimeout(timeout);\r\n }\r\n }\r\n });\r\n\r\n\r\n /**\r\n * testAllProps determines whether a given CSS property is supported in the browser\r\n *\r\n * @memberof Modernizr\r\n * @name Modernizr.testAllProps\r\n * @optionName Modernizr.testAllProps()\r\n * @optionProp testAllProps\r\n * @access public\r\n * @function testAllProps\r\n * @param {string} prop - String naming the property to test (either camelCase or kebab-case)\r\n * @param {string} [value] - String of the value to test\r\n * @param {boolean} [skipValueTest=false] - Whether to skip testing that the value is supported when using non-native detection\r\n * @example\r\n *\r\n * testAllProps determines whether a given CSS property, in some prefixed form,\r\n * is supported by the browser.\r\n *\r\n * ```js\r\n * testAllProps('boxSizing') // true\r\n * ```\r\n *\r\n * It can optionally be given a CSS value in string form to test if a property\r\n * value is valid\r\n *\r\n * ```js\r\n * testAllProps('display', 'block') // true\r\n * testAllProps('display', 'penguin') // false\r\n * ```\r\n *\r\n * A boolean can be passed as a third parameter to skip the value check when\r\n * native detection (@supports) isn't available.\r\n *\r\n * ```js\r\n * testAllProps('shapeOutside', 'content-box', true);\r\n * ```\r\n */\r\n\r\n function testAllProps(prop, value, skipValueTest) {\r\n return testPropsAll(prop, undefined, undefined, value, skipValueTest);\r\n }\r\n ModernizrProto.testAllProps = testAllProps;\r\n\r\n /*!\r\n {\r\n \"name\": \"Font Ligatures\",\r\n \"property\": \"ligatures\",\r\n \"caniuse\": \"font-feature\",\r\n \"notes\": [{\r\n \"name\": \"Cross-browser Web Fonts\",\r\n \"href\": \"http://www.sitepoint.com/cross-browser-web-fonts-part-3/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for OpenType ligatures\r\n */\r\n\r\n Modernizr.addTest('ligatures', testAllProps('fontFeatureSettings', '\"liga\" 1'));\r\n\r\n /*!\r\n {\r\n \"name\": \"Appearance\",\r\n \"property\": \"appearance\",\r\n \"caniuse\": \"css-appearance\",\r\n \"tags\": [\"css\"],\r\n \"notes\": [{\r\n \"name\": \"MDN documentation\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance\"\r\n },{\r\n \"name\": \"CSS-Tricks CSS Almanac: appearance\",\r\n \"href\": \"https://css-tricks.com/almanac/properties/a/appearance/\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `appearance` css property, which is used to make an\r\n element inherit the style of a standard user interface element. It can also be\r\n used to remove the default styles of an element, such as input and buttons.\r\n */\r\n\r\n Modernizr.addTest('appearance', testAllProps('appearance'));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Background Clip Text\",\r\n \"property\": \"backgroundcliptext\",\r\n \"authors\": [\"ausi\"],\r\n \"tags\": [\"css\"],\r\n \"notes\": [\r\n {\r\n \"name\": \"CSS Tricks Article\",\r\n \"href\": \"https://css-tricks.com/image-under-text/\"\r\n },\r\n {\r\n \"name\": \"MDN Docs\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip\"\r\n },\r\n {\r\n \"name\": \"Related Github Issue\",\r\n \"href\": \"https://github.com/Modernizr/Modernizr/issues/199\"\r\n }\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects the ability to control specifies whether or not an element's background\r\n extends beyond its border in CSS\r\n */\r\n\r\n Modernizr.addTest('backgroundcliptext', function () {\r\n return testAllProps('backgroundClip', 'text');\r\n });\r\n\r\n /*!\r\n {\r\n \"name\": \"Border Image\",\r\n \"property\": \"borderimage\",\r\n \"caniuse\": \"border-image\",\r\n \"polyfills\": [\"css3pie\"],\r\n \"knownBugs\": [\"Android < 2.0 is true, but has a broken implementation\"],\r\n \"tags\": [\"css\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('borderimage', testAllProps('borderImage', 'url() 1', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Filters\",\r\n \"property\": \"cssfilters\",\r\n \"caniuse\": \"css-filters\",\r\n \"polyfills\": [\"polyfilter\"],\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_filters\"],\r\n \"notes\": [{\r\n \"name\": \"MDN article on CSS filters\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/filter\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('cssfilters', function () {\r\n if (Modernizr.supports) {\r\n return testAllProps('filter', 'blur(2px)');\r\n } else {\r\n var el = createElement('a');\r\n el.style.cssText = prefixes.join('filter:blur(2px); ');\r\n // https://github.com/Modernizr/Modernizr/issues/615\r\n // documentMode is needed for false positives in oldIE, please see issue above\r\n return !!el.style.length && ((document.documentMode === undefined || document.documentMode > 9));\r\n }\r\n });\r\n\r\n\r\n /*!\r\n {\r\n \"name\": \"Flexbox (tweener)\",\r\n \"property\": \"flexboxtweener\",\r\n \"tags\": [\"css\"],\r\n \"polyfills\": [\"flexie\"],\r\n \"notes\": [{\r\n \"name\": \"The _inbetween_ flexbox\",\r\n \"href\": \"https://www.w3.org/TR/2011/WD-css3-flexbox-20111129/\"\r\n }],\r\n \"warnings\": [\"This represents an old syntax, not the latest standard syntax.\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('flexboxtweener', testAllProps('flexAlign', 'end', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"Flex Line Wrapping\",\r\n \"property\": \"flexwrap\",\r\n \"tags\": [\"css\", \"flexbox\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Flexible Box Layout spec\",\r\n \"href\": \"http://dev.w3.org/csswg/css3-flexbox\"\r\n }],\r\n \"warnings\": [\r\n \"Does not imply a modern implementation – see documentation.\"\r\n ]\r\n }\r\n !*/\r\n /* DOC\r\n Detects support for the `flex-wrap` CSS property, part of Flexbox, which isn’t present in all Flexbox implementations (notably Firefox).\r\n \r\n This featured in both the 'tweener' syntax (implemented by IE10) and the 'modern' syntax (implemented by others). This detect will return `true` for either of these implementations, as long as the `flex-wrap` property is supported. So to ensure the modern syntax is supported, use together with `Modernizr.flexbox`:\r\n \r\n ```javascript\r\n if (Modernizr.flexbox && Modernizr.flexwrap) {\r\n // Modern Flexbox with `flex-wrap` supported\r\n }\r\n else {\r\n // Either old Flexbox syntax, or `flex-wrap` not supported\r\n }\r\n ```\r\n */\r\n\r\n Modernizr.addTest('flexwrap', testAllProps('flexWrap', 'wrap', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Mask\",\r\n \"caniuse\": \"css-masks\",\r\n \"property\": \"cssmask\",\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_mask\"],\r\n \"notes\": [\r\n {\r\n \"name\": \"Webkit blog on CSS Masks\",\r\n \"href\": \"https://webkit.org/blog/181/css-masks/\"\r\n },\r\n {\r\n \"name\": \"Safari Docs\",\r\n \"href\": \"https://developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html\"\r\n },\r\n {\r\n \"name\": \"CSS SVG mask\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/mask\"\r\n },\r\n {\r\n \"name\": \"Combine with clippaths for awesomeness\",\r\n \"href\": \"https://generic.cx/for/webkit/test.html\"\r\n }\r\n ]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('cssmask', testAllProps('maskRepeat', 'repeat-x', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Reflections\",\r\n \"caniuse\": \"css-reflections\",\r\n \"property\": \"cssreflections\",\r\n \"tags\": [\"css\"]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('cssreflections', testAllProps('boxReflect', 'above', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS UI Resize\",\r\n \"property\": \"cssresize\",\r\n \"caniuse\": \"css-resize\",\r\n \"tags\": [\"css\"],\r\n \"builderAliases\": [\"css_resize\"],\r\n \"notes\": [{\r\n \"name\": \"W3C Specification\",\r\n \"href\": \"https://www.w3.org/TR/css3-ui/#resize\"\r\n },{\r\n \"name\": \"MDN Docs\",\r\n \"href\": \"https://developer.mozilla.org/en/CSS/resize\"\r\n }]\r\n }\r\n !*/\r\n /* DOC\r\n Test for CSS 3 UI \"resize\" property\r\n */\r\n\r\n Modernizr.addTest('cssresize', testAllProps('resize', 'both', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS Shapes\",\r\n \"property\": \"shapes\",\r\n \"tags\": [\"css\"],\r\n \"notes\": [{\r\n \"name\": \"CSS Shapes W3C specification\",\r\n \"href\": \"https://www.w3.org/TR/css-shapes\"\r\n },{\r\n \"name\": \"Examples from Adobe\",\r\n \"href\": \"http://webplatform.adobe.com/shapes/\"\r\n }, {\r\n \"name\": \"Samples showcasing uses of Shapes\",\r\n \"href\": \"http://codepen.io/collection/qFesk\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('shapes', testAllProps('shapeOutside', 'content-box', true));\r\n\r\n /*!\r\n {\r\n \"name\": \"CSS text-align-last\",\r\n \"property\": \"textalignlast\",\r\n \"tags\": [\"css\"],\r\n \"knownBugs\": [\"IE does not support the 'start' or 'end' values.\"],\r\n \"notes\": [{\r\n \"name\": \"Quicksmode\",\r\n \"href\": \"http://www.quirksmode.org/css/text/textalignlast.html\"\r\n },{\r\n \"name\": \"MDN\",\r\n \"href\": \"https://developer.mozilla.org/en-US/docs/Web/CSS/text-align-last\"\r\n }]\r\n }\r\n !*/\r\n\r\n Modernizr.addTest('textalignlast', testAllProps('textAlignLast'));\r\n\r\n\r\n // Run each test\r\n testRunner();\r\n\r\n // Remove the \"no-js\" class if it exists\r\n setClasses(classes);\r\n\r\n delete ModernizrProto.addTest;\r\n delete ModernizrProto.addAsyncTest;\r\n\r\n // Run the things that are supposed to run after the tests\r\n for (var i = 0; i < Modernizr._q.length; i++) {\r\n Modernizr._q[i]();\r\n }\r\n\r\n // Leak Modernizr namespace\r\n window.Modernizr = Modernizr;\r\n\r\n\r\n ;\r\n\r\n})(window, document);","//ash functions partial\r\nvar $$ash = {\r\n\t//descriptions of custom global objects\r\n\t//ajaxFail = display failure message to the user when there is a server error with the ajax request\r\n\t//mq = global variables for media queries\r\n\t//formSuccess = display success message to the user when a form is submitted successfully\r\n\t//browserHist = a collection of browser history API functions\r\n\t//userList = a collection of functions that can be applied to the user-list, such as removeUser, removeItem, and tempErr (tempErr is currently not being used)\r\n\t//initSelect2 = if not on a touch device and the select2 prototype constructor exists, then run select2 on all select elements on the page\r\n\t//templateInitHelper = binds the template rendering to an event (click, dropdown change, etc) and sets the triggers\r\n\t//handlebarsInit = initialize handlebars by running $$ash.getHandlebarsTemplateAndJson with a $$ash.renderTemplate callback\r\n\t//getTemplateJson = make an ajax call to retrieve the json data only\r\n\t//getHandlebarsTemplate = make an ajax call to retrieve the handlebars template only\r\n\t//getTemplateData = use json object if it is provided, or make an ajax call to retrieve json data, then make an ajax call to retrieve the template and render it on the page\r\n\t//getHandlebarsTemplateAndJson = make ajax calls to retrieve the handlebars template and json data when both are missing\r\n\t//renderTemplate = insert already compiled handlebars template into target container\r\n\t//insertTemplateViaDropdown = insert portion of already compiled handlebars template into target container on dropdown change\r\n\t//insertTemplateViaButton = insert portion of already compiled handlebars template into target container on button click\r\n\t//validate = add validation classes and markup to object\r\n\t//clearValidation = remove validation classes and markup from object\r\n\t//openModal = set up modal windows using the ashModal plugin that will be triggered by a click on a .createModal link\r\n\t//renderModal = pass object to $$ash.runModal function\r\n\t//runModal = triggers the event handler to open the modal\r\n\t//getCallback = convert a dot notated function string into an object to be returned and called\r\n\t//formatNum = format number with comma and decimal if one exists\r\n\t//updateProgress = updates .user-progress progress bars\r\n\t//unstringJSON = parses 'data' into JSON if 'data' is a string\r\n\t//getTypeKit = create typekit script link, configure it, and add it to the head tag before any other script tags\r\n\t//cardsEqualHeight = when flexbox is not supported, run equalheights plugin on cards (only used in challenges as of 3/31/2015)\r\n\t//setDefaultOption = set the default option of the select element with the placeholder text\r\n\t//flexheightFallback = when flexbox is not supported, run equalheights plugin on all .flex-content items under a .flexheight parent\r\n\t//removeButtonOnSubmit = remove form submit button on form submit to prevent multiple clicks\r\n\t//serializeDataToObject = serialize form data and store in an object to be passed along in a form submit\r\n\t//reloadOnTimeout = if ajax request times out and returns a 401 status code, reload the page\r\n\t//ajax = submit ajax request with the default method GET\r\n\t//connectedWidgetInit = initialize the Connected! activity widget on the HYR dashboard\r\n\t//ashModalPrinter = opens a new browser window and formats the content to be printed\r\n\t//addLoader = add animated loader graphic while content is updated\r\n\t//removeLoader = remove the animated loader graphic\r\n\t//preventDefaultFormSubmit = prevent default form submit action from .ajaxPost forms\r\n\t//metaNavInit = initialize click functionality to show/hide user info in the off-canvas navigation on mobile screen sizes\r\n\t//viewMore = function run on click of 'view more' buttons to display addition list content\r\n\t//chatterPost = post new challenge chatter message to chatter feed on success of json retrieval, or display error message\r\n\t//prepopulateDate = set end date of a matched date input\r\n\t//convertDate = convert any date to ISO format. Also accepts parameters to change the month, day, and year of returned date\r\n\t//setHiddenInput = set the hidden input via target id attribute\r\n\t//formatter = general formatter that can accept different types (e.g., phone, date, etc) and spit out formatted version of the string\r\n\t//scroller =\r\n\t//storage.local.set = set a localStorage key/value pair\r\n\t//storage.local.get = get a localStorage value from a key\r\n\t//storage.session.set = set a sessionStorage key/value pair\r\n\t//storage.session.get = get a sessionStorage value from a key\r\n\t//storeValues = collect name/value pairs to store from specific data attributes and store them in specified storage\r\n\t//displayValues = get stored values from local or session storage and write them to elements on page\r\n\t//populateFields = populate a set of fields from json object, also has ability to disable the fields that are populated\r\n\t//scrollThrottle = throttles firing of scroll events\r\n\t//removeSelectEmptyOption = remove empty option tags on selects if the select's placeholder exists and is not only whitespace\r\n\t//initializeDonutChart = set up the donut chart by running ajax call to get the data for the chart\r\n\t//openModalFromTemplate = opens a modal from within a Handlebars template; modal content also comes from a separate handlebars template - allows for dynamic modal containers that update depending on what data is passed in\r\n\t//enableOnCheck = enables form submit button only when set conditions are met\r\n\r\n\t// if old version, arg1 = target, arg2 = errorMessage(s), arg3 = xhr object, arg4 = errorMessage position\r\n\tajaxFail: function (arg1, arg2, arg3, arg4) {\r\n\t\t// to maintain backwards compatability, ajaxFail will use duck-typing to determine whether to use the old version of\r\n\t\t// ash.ajax or the new one.\r\n\t\tvar useOldVersion = (function useOldVersionTest() {\r\n\t\t\tif (arg1 == null || arguments.length > 1 || arg1 instanceof jQuery || arg1 instanceof HTMLElement || typeof arg1 === 'string') {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\r\n\t\t\treturn false;\r\n\t\t}());\r\n\r\n\t\tvar target;\r\n\t\tvar errorMessage;\r\n\t\tvar xhr;\r\n\t\tvar position;\r\n\r\n\t\tfunction removeErrorsOnPage() {\r\n\t\t\tvar errors = $u('.error'); // errors already on the page\r\n\r\n\t\t\terrors.forEach(function (obj) {\r\n\t\t\t\tobj.parentNode.removeChild(obj);\r\n\r\n\t\t\t\tTweenLite.killTweensOf(obj);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction determineTarget(obj) {\r\n\t\t\tvar target;\r\n\r\n\t\t\tfunction useDefaultTarget() {\r\n\t\t\t\tif ($u('.main-content').length) {\r\n\t\t\t\t\treturn $u('.main-content')[0];\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//else\r\n\t\t\t\treturn document.body;\r\n\t\t\t}\r\n\r\n\t\t\ttry {\r\n\t\t\t\tif (obj) {\r\n\t\t\t\t\tif (jQuery && obj instanceof jQuery && obj.length) {\r\n\t\t\t\t\t\ttarget = obj[0];\r\n\t\t\t\t\t} else if (typeof obj === 'string') {\r\n\t\t\t\t\t\ttarget = document.querySelector(obj) || useDefaultTarget();\r\n\t\t\t\t\t} else if (obj instanceof HTMLElement && document.body.contains(obj)) {\r\n\t\t\t\t\t\ttarget = obj;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttarget = useDefaultTarget();\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttarget = useDefaultTarget();\r\n\r\n\t\t\t\t\tposition = 'prepend'; //don't like this here but it works.\r\n\t\t\t\t}\r\n\t\t\t} catch (e) {\r\n\t\t\t\ttarget = useDefaultTarget();\r\n\t\t\t}\r\n\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\tfunction createErrorMessage(message) {\r\n\t\t\tvar output = document.createElement('div');\r\n\t\t\tvar errorMessage;\r\n\r\n\t\t\tif (!message) {\r\n\t\t\t\terrorMessage = document.createElement('span');\r\n\t\t\t\terrorMessage.textContent = 'This request could not be completed. Please try again or contact us.';\r\n\t\t\t} else {\r\n\t\t\t\tif (message instanceof Array) {\r\n\t\t\t\t\tif (useOldVersion) {\r\n\t\t\t\t\t\terrorMessage = document.createElement('span');\r\n\t\t\t\t\t\terrorMessage.textContent = message[0];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\terrorMessage = document.createElement('ul');\r\n\r\n\t\t\t\t\t\tmessage.forEach(function (obj) {\r\n\t\t\t\t\t\t\tvar listItem = document.createElement('li');\r\n\r\n\t\t\t\t\t\t\tlistItem.textContent = obj.message;\r\n\t\t\t\t\t\t\terrorMessage.appendChild(listItem);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\terrorMessage = document.createElement('span');\r\n\t\t\t\t\terrorMessage.innerHTML = message;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\toutput.classList.add('error');\r\n\t\t\toutput.appendChild(errorMessage);\r\n\r\n\t\t\treturn output;\r\n\t\t}\r\n\r\n\t\tfunction insertErrorMessage(target, messageMarkup, position) {\r\n\t\t\tposition = position || 'before';\r\n\r\n\t\t\tswitch (position) { //position loader in relation to select obj\r\n\t\t\t\tcase 'replace':\r\n\t\t\t\t\ttarget.innerHTML = '';\r\n\t\t\t\t\ttarget.appendChild(messageMarkup);\r\n\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'prepend':\r\n\t\t\t\t\ttarget.insertBefore(messageMarkup, target.firstChild);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'append':\r\n\t\t\t\t\ttarget.appendChild(messageMarkup);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'before':\r\n\t\t\t\t\ttarget.parentNode.insertBefore(messageMarkup, target);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'after':\r\n\t\t\t\t\ttarget.parentNode.insertBefore(messageMarkup, target.nextSibling);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\ttarget.parentNode.insertBefore(messageMarkup, target);\r\n\t\t\t}\r\n\r\n\t\t\tTweenLite\r\n\t\t\t\t.fromTo(messageMarkup, 0.75, {\r\n\t\t\t\t\tcss: { height: '0', padding: '0', opacity: '0' }\r\n\t\t\t\t}, {\r\n\t\t\t\t\tcss: { height: 'auto', padding: '10px 32px', opacity: '1' }\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction reloadIfExpired(xhr) {\r\n\t\t\tvar status;\r\n\r\n\t\t\tif (xhr) {\r\n\t\t\t\tstatus = xhr.status;\r\n\r\n\t\t\t\tif (status === 302 || status === 401) {\r\n\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t(function init() {\r\n\t\t\tvar errorObj;\r\n\t\t\tvar errorTarget;\r\n\t\t\tvar errorMessageDomElement;\r\n\r\n\t\t\tremoveErrorsOnPage();\r\n\r\n\t\t\tif (useOldVersion) {\r\n\t\t\t\ttarget = arg1;\r\n\t\t\t\terrorMessage = arg2;\r\n\t\t\t\txhr = arg3;\r\n\t\t\t\tposition = arg4;\r\n\t\t\t} else {\r\n\t\t\t\ttarget = arg1.target;\r\n\t\t\t\txhr = arg1.response;\r\n\t\t\t\tposition = arg1.position;\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\terrorObj = arg1.response.responseJSON.responseStatus;\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\terrorObj = {};\r\n\t\t\t\t}\r\n\r\n\t\t\t\terrorMessage = (function determineErrorMessage() {\r\n\t\t\t\t\tvar customMessage = arg1.customMessage;\r\n\t\t\t\t\tvar errorsArray = errorObj.errors;\r\n\r\n\t\t\t\t\tif (customMessage) {\r\n\t\t\t\t\t\treturn customMessage\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (errorsArray instanceof Array && errorsArray.length) {\r\n\t\t\t\t\t\treturn errorsArray;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn errorObj.message;\r\n\t\t\t\t}());\r\n\t\t\t}\r\n\r\n\t\t\treloadIfExpired(xhr);\r\n\r\n\t\t\terrorTarget = determineTarget(target);\r\n\t\t\terrorMessageDomElement = createErrorMessage(errorMessage);\r\n\r\n\t\t\tinsertErrorMessage(errorTarget, errorMessageDomElement, position);\r\n\t\t}());\r\n\t},\r\n\t//Usage example: $$ash.mq('sm', 'min')\r\n\tmq: function (num, exp) {\r\n\t\tvar size,\r\n\t\t\tdef = false;\r\n\t\tswitch (num) {\r\n\t\t\tcase 'xxs':\r\n\t\t\t\tnum = 320;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'xs':\r\n\t\t\t\tnum = 500;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'sm':\r\n\t\t\t\tnum = 767;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'md':\r\n\t\t\t\tnum = 992;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'lg':\r\n\t\t\t\tnum = 1200;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tnum = num; //allows usage of manually entered pixel width in the call, for 'abnormal' widths\r\n\t\t\t\tdef = true;\r\n\t\t}\r\n\t\tswitch (exp) {\r\n\t\t\tcase 'min':\r\n\t\t\t\texp = 'min-width';\r\n\t\t\t\tnum = def ? num : num + 1; //adds 1 pixel if the expression is min-width and size is not entered manually\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\texp = 'max-width';\r\n\t\t}\r\n\t\tsize = '(' + exp + ': ' + num + 'px' + ')';\r\n\t\treturn size;\r\n\t},\r\n\r\n\tformSuccess: function (obj, response) {\r\n\t\tresponse = $$ash.unstringJSON(response);\r\n\t\t//use \"resetForm\" class to trigger this function\r\n\t\tif (response.error === true) {\r\n\t\t\t$$ash.ajaxFail(obj, response.errorMessage);\r\n\t\t} else {\r\n\t\t\tvar cont = obj.parent(),\r\n\t\t\t\tmessageMarkup = $('
    ', { //create a div with class message to put the message into\r\n\t\t\t\t\t'class': 'status-message success',\r\n\t\t\t\t\t'style': 'display: none'\r\n\t\t\t\t});\r\n\t\t\tmessageMarkup.html('

    ' + response.message + '

    ');\r\n\t\t\tobj.siblings('.status-message.success').remove().end().before(messageMarkup);\r\n\r\n\t\t\tobj[0].reset();\r\n\t\t\tobj.find('select').select2('data', null); //reset select2\r\n\r\n\t\t\tmessageMarkup.slideDown();\r\n\t\t}\r\n\t},\r\n\thistory: {\r\n\t\treplaceState: function (data, title, url) { //save page state\r\n\t\t\tif (Modernizr.history) { //if html5 history api supported\r\n\t\t\t\thistory.replaceState(data, title, url);\r\n\t\t\t}\r\n\t\t},\r\n\t\tpushState: function (data, title, url) { //save page state into queue\r\n\t\t\tif (Modernizr.history) { //if html5 history api supported\r\n\t\t\t\thistory.pushState(data, title, url);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tbrowserHist: {\r\n\t\tsave: function (histArr, title, url) { //save page state into queue\r\n\t\t\tif (Modernizr.history) { //if html5 history api supported\r\n\t\t\t\thistory.pushState(histArr, title, url);\r\n\t\t\t}\r\n\t\t},\r\n\t\tpop: function (ele) { //listener to return page stat from queue\r\n\t\t\tif (Modernizr.history) { //if html5 history api supported\r\n\t\t\t\twindow.addEventListener('popstate', function (e) {\r\n\t\t\t\t\tele.trigger('rtnData', { data: e });\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tuserList: {\r\n\t\tremoveUser: function (target, contClass) {\r\n\t\t\tvar ele = target.closest('li'),\r\n\t\t\t\tcont = ele.closest(contClass),\r\n\t\t\t\tuserId = target.attr('data-user-id');\r\n\t\t\t$.ajax({\r\n\t\t\t\ttype: \"POST\",\r\n\t\t\t\tdata: { user: userId },\r\n\t\t\t\turl: $(cont).data('ash-url'),\r\n\t\t\t\tsuccess: function (response, textStatus, xhr) {\r\n\t\t\t\t\t$$ash.reloadOnTimeout(xhr);\r\n\r\n\t\t\t\t\tif (response.error) {\r\n\t\t\t\t\t\t$$ash.ajaxFail(ele.parent(), response.errorMessage);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t$$ash.userList.removeItem(ele, response);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\terror: function (xhr) {\r\n\t\t\t\t\t$$ash.ajaxFail(ele.parent(), undefined, xhr);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tremoveItem: function (ele, r) {\r\n\t\t\tvar thisHeight = ele.outerHeight();\r\n\t\t\tele.addClass('ajax-success').css('height', thisHeight + 'px');\r\n\t\t\tele.find('div').fadeOut({\r\n\t\t\t\tduration: 500,\r\n\t\t\t\tcomplete: function () {\r\n\t\t\t\t\tele.html('
    ' + r + '
    ');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\ttempErr: function (ele) {\r\n\t\t\tele.text('error');\r\n\t\t\tele.addClass('error');\r\n\t\t}\r\n\t},\r\n\t//init select 2 when not init with document ready\r\n\tinitSelect2: function () {\r\n\t\t//if not a touch device, run select2\r\n\t\tif (!Modernizr.touchevents && $.fn.select2) {\r\n\t\t\t$('select').select2({\r\n\t\t\t\tminimumResultsForSearch: -1,\r\n\t\t\t\tformatNoMatches: function (term) {\r\n\t\t\t\t\treturn 'Loading...';\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\t//TEMPLATE RENDERING ***this function is outdated if possible avoid using in future***\r\n\t//To initiate, add the 'template-render-init' class to the