"use strict";
/*!
* Modernizr v2.8.3
* www.modernizr.com
*
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
* Available under the BSD and MIT licenses: www.modernizr.com/license/
*/window.Modernizr=function(e,t,n){var r,o,a,i={},c=t.documentElement,s="modernizr",u=t.createElement(s),l=u.style,d=t.createElement("input"),f=":)",m={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),h="Webkit Moz O ms",g=h.split(" "),v=h.toLowerCase().split(" "),y="http://www.w3.org/2000/svg",b={},E={},x={},w=[],S=w.slice,C=function(e,n,r,o){var a,i,u,l,d=t.createElement("div"),f=t.body,m=f||t.createElement("body");if(parseInt(r,10))for(;r--;)(u=t.createElement("div")).id=o?o[r]:s+(r+1),d.appendChild(u);return a=["",'"].join(""),d.id=s,(f?d:m).innerHTML+=a,m.appendChild(d),f||(m.style.background="",m.style.overflow="hidden",l=c.style.overflow,c.style.overflow="hidden",c.appendChild(m)),i=n(d,e),f?d.parentNode.removeChild(d):(m.parentNode.removeChild(m),c.style.overflow=l),!!i},k=(a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,r){r=r||t.createElement(a[e]||"div");var o=(e="on"+e)in r;return o||(r.setAttribute||(r=t.createElement("div")),r.setAttribute&&r.removeAttribute&&(r.setAttribute(e,""),o=M(r[e],"function"),M(r[e],"undefined")||(r[e]=n),r.removeAttribute(e))),r=null,o}),T={}.hasOwnProperty;function N(e){l.cssText=e}function M(e,t){return typeof e===t}function P(e,t){return!!~(""+e).indexOf(t)}function j(e,t){for(var r in e){var o=e[r];if(!P(o,"-")&&l[o]!==n)return"pfx"!=t||o}return!1}function $(e,t,r){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+g.join(o+" ")+o).split(" ");return M(t,"string")||M(t,"undefined")?j(a,t):function(e,t,r){for(var o in e){var a=t[e[o]];if(a!==n)return!1===r?e[o]:M(a,"function")?a.bind(r||t):a}return!1}(a=(e+" "+v.join(o+" ")+o).split(" "),t,r)}for(var D in o=M(T,"undefined")||M(T.call,"undefined")?function(e,t){return t in e&&M(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=S.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(S.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(S.call(arguments)))};return r}),b.flexbox=function(){return $("flexWrap")},b.flexboxlegacy=function(){return $("boxDirection")},b.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},b.canvastext=function(){return!(!i.canvas||!M(t.createElement("canvas").getContext("2d").fillText,"function"))},b.webgl=function(){return!!e.WebGLRenderingContext},b.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:C(["@media (",p.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(e){n=9===e.offsetTop})),n},b.geolocation=function(){return"geolocation"in navigator},b.postmessage=function(){return!!e.postMessage},b.websqldatabase=function(){return!!e.openDatabase},b.indexedDB=function(){return!!$("indexedDB",e)},b.hashchange=function(){return k("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},b.history=function(){return!(!e.history||!history.pushState)},b.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},b.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},b.rgba=function(){return N("background-color:rgba(150,255,150,.5)"),P(l.backgroundColor,"rgba")},b.hsla=function(){return N("background-color:hsla(120,40%,100%,.5)"),P(l.backgroundColor,"rgba")||P(l.backgroundColor,"hsla")},b.multiplebgs=function(){return N("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(l.background)},b.backgroundsize=function(){return $("backgroundSize")},b.borderimage=function(){return $("borderImage")},b.borderradius=function(){return $("borderRadius")},b.boxshadow=function(){return $("boxShadow")},b.textshadow=function(){return""===t.createElement("div").style.textShadow},b.opacity=function(){var e,t;return e="opacity:.55",N(p.join(e+";")+(t||"")),/^0.55$/.test(l.opacity)},b.cssanimations=function(){return $("animationName")},b.csscolumns=function(){return $("columnCount")},b.cssgradients=function(){var e="background-image:";return N((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+p.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),P(l.backgroundImage,"gradient")},b.cssreflections=function(){return $("boxReflect")},b.csstransforms=function(){return!!$("transform")},b.csstransforms3d=function(){var e=!!$("perspective");return e&&"webkitPerspective"in c.style&&C("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight})),e},b.csstransitions=function(){return $("transition")},b.fontface=function(){var e;return C('@font-face {font-family:"font";src:url("https://")}',(function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])})),e},b.generatedcontent=function(){var e;return C(["#",s,"{font:0/0 a}#",s,':after{content:"',f,'";visibility:hidden;font:3px/1 a}'].join(""),(function(t){e=t.offsetHeight>=3})),e},b.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return n},b.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return n},b.localstorage=function(){try{return localStorage.setItem(s,s),localStorage.removeItem(s),!0}catch(e){return!1}},b.sessionstorage=function(){try{return sessionStorage.setItem(s,s),sessionStorage.removeItem(s),!0}catch(e){return!1}},b.webworkers=function(){return!!e.Worker},b.applicationcache=function(){return!!e.applicationCache},b.svg=function(){return!!t.createElementNS&&!!t.createElementNS(y,"svg").createSVGRect},b.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==y},b.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(m.call(t.createElementNS(y,"animate")))},b.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(m.call(t.createElementNS(y,"clipPath")))},b)o(b,D)&&(r=D.toLowerCase(),i[r]=b[D](),w.push((i[r]?"":"no-")+r));return i.input||(i.input=function(n){for(var r=0,o=n.length;r",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return p.shivMethods?f(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(p,t.frag)}(e,o),e}!function(){try{var e=t.createElement("a");e.innerHTML="",n="hidden"in e,r=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){n=!0,r=!0}}();var p={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==o.shivCSS,supportsUnknownElements:r,shivMethods:!1!==o.shivMethods,type:"default",shivDocument:m,createElement:f,createDocumentFragment:function(e,n){if(e||(e=t),r)return e.createDocumentFragment();for(var o=(n=n||d(e)).frag.cloneNode(),a=0,i=l(),c=i.length;a