window.Modernizr=function(e,t,n){function r(e){y.cssText=e}function o(e,t){return r(E.join(e+";")+(t||""))}function i(e,t){return typeof e===t}function a(e,t){return!!~(""+e).indexOf(t)}function s(e,t){for(var r in e){var o=e[r];if(!a(o,"-")&&y[o]!==n)return"pfx"!=t||o}return!1}function c(e,t,r){for(var o in e){var a=t[e[o]];if(a!==n)return r===!1?e[o]:i(a,"function")?a.bind(r||t):a}return!1}function l(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+C.join(r+" ")+r).split(" ");return i(t,"string")||i(t,"undefined")?s(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),c(o,t,n))}function d(){f.input=function(n){for(var r=0,o=n.length;r',e,""].join(""),l.id=v,(d?l:u).innerHTML+=i,u.appendChild(l),d||(u.style.background="",u.style.overflow="hidden",c=h.style.overflow,h.style.overflow="hidden",h.appendChild(u)),a=n(l,e),d?l.parentNode.removeChild(l):(u.parentNode.removeChild(u),h.style.overflow=c),!!a},D=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return M("@media "+t+" { #"+v+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},F=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var a=e in o;return a||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),a=i(o[e],"function"),i(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,a}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),N={}.hasOwnProperty;m=i(N,"undefined")||i(N.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return N.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=R.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var i=new o,a=t.apply(i,n.concat(R.call(arguments)));return Object(a)===a?a:i}return t.apply(e,n.concat(R.call(arguments)))};return r}),$.flexbox=function(){return l("flexWrap")},$.flexboxlegacy=function(){return l("boxDirection")},$.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},$.canvastext=function(){return!(!f.canvas||!i(t.createElement("canvas").getContext("2d").fillText,"function"))},$.webgl=function(){return!!e.WebGLRenderingContext},$.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:M(["@media (",E.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},$.geolocation=function(){return"geolocation"in navigator},$.postmessage=function(){return!!e.postMessage},$.websqldatabase=function(){return!!e.openDatabase},$.indexedDB=function(){return!!l("indexedDB",e)},$.hashchange=function(){return F("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},$.history=function(){return!(!e.history||!history.pushState)},$.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},$.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},$.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),a(y.backgroundColor,"rgba")},$.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),a(y.backgroundColor,"rgba")||a(y.backgroundColor,"hsla")},$.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(y.background)},$.backgroundsize=function(){return l("backgroundSize")},$.borderimage=function(){return l("borderImage")},$.borderradius=function(){return l("borderRadius")},$.boxshadow=function(){return l("boxShadow")},$.textshadow=function(){return""===t.createElement("div").style.textShadow},$.opacity=function(){return o("opacity:.55"),/^0.55$/.test(y.opacity)},$.cssanimations=function(){return l("animationName")},$.csscolumns=function(){return l("columnCount")},$.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+E.join(n+e)).slice(0,-e.length)),a(y.backgroundImage,"gradient")},$.cssreflections=function(){return l("boxReflect")},$.csstransforms=function(){return!!l("transform")},$.csstransforms3d=function(){var e=!!l("perspective");return e&&"webkitPerspective"in h.style&&M("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight}),e},$.csstransitions=function(){return l("transition")},$.fontface=function(){var e;return M('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),i=o.sheet||o.styleSheet,a=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";e=/src/i.test(a)&&0===a.indexOf(r.split(" ")[0])}),e},$.generatedcontent=function(){var e;return M(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},$.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),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(r){}return n},$.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),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(r){}return n},$.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},$.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},$.webworkers=function(){return!!e.Worker},$.applicationcache=function(){return!!e.applicationCache},$.svg=function(){return!!t.createElementNS&&!!t.createElementNS(j.svg,"svg").createSVGRect},$.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==j.svg},$.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(k.call(t.createElementNS(j.svg,"animate")))},$.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(k.call(t.createElementNS(j.svg,"clipPath")))};for(var I in $)m($,I)&&(u=I.toLowerCase(),f[u]=$[I](),P.push((f[u]?"":"no-")+u));return f.input||d(),f.addTest=function(e,t){if("object"==typeof e)for(var r in e)m(e,r)&&f.addTest(r,e[r]);else{if(e=e.toLowerCase(),f[e]!==n)return f;t="function"==typeof t?t():t,"undefined"!=typeof g&&g&&(h.className+=" "+(t?"":"no-")+e),f[e]=t}return f},r(""),b=w=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=b.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[g]];return t||(t={},h++,e[g]=h,v[h]=t),t}function i(e,n,r){if(n||(n=t),d)return n.createElement(e);r||(r=o(n));var i;return i=r.cache[e]?r.cache[e].cloneNode():f.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!i.canHaveChildren||p.test(e)||i.tagUrn?i:r.frag.appendChild(i)}function a(e,n){if(e||(e=t),d)return e.createDocumentFragment();n=n||o(e);for(var i=n.frag.cloneNode(),a=0,s=r(),c=s.length;a",l="hidden"in e,d=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){l=!0,d=!0}}();var b={elements:m.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:u,shivCSS:m.shivCSS!==!1,supportsUnknownElements:d,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:c,createElement:i,createDocumentFragment:a};e.html5=b,c(t)}(this,t),f._version=p,f._prefixes=E,f._domPrefixes=T,f._cssomPrefixes=C,f.mq=D,f.hasEvent=F,f.testProp=function(e){return s([e])},f.testAllProps=l,f.testStyles=M,f.prefixed=function(e,t,n){return t?l(e,t,n):l(e,"pfx")},h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+P.join(" "):""),f}(this,this.document),window.Detectizr=function(e,t,n,r){function o(e,t){var n,r,i;if(arguments.length>2)for(n=1,r=arguments.length;n-1}function a(e){return e.test(w.browser.userAgent)}function s(e){return e.exec(w.browser.userAgent)}function c(e){return e.replace(/^\s+|\s+$/g,"")}function l(e){return null===e||e===r?"":String(e).replace(/((\s|\-|\.)+[a-z0-9])/g,function(e){return e.toUpperCase().replace(/(\s|\-|\.)/g,"")})}function d(e,t){var n=t||"",r=1===e.nodeType&&(e.className?(" "+e.className+" ").replace(C," "):"");if(r){for(;r.indexOf(" "+n+" ")>=0;)r=r.replace(" "+n+" "," ");e.className=t?c(r):""}}function u(e,t,n){e&&(e=l(e),t&&(t=l(t),m(e+t,!0),n&&m(e+t+"_"+n,!0)))}function m(e,t){e&&x&&(E.addAllFeaturesAsClass?x.addTest(e,t):(t="function"==typeof t?t():t,t?x.addTest(e,!0):(delete x[e],d(T,e))))}function p(e,t){e.version=t;var n=t.split(".");n.length>0?(n=n.reverse(),e.major=n.pop(),n.length>0?(e.minor=n.pop(),n.length>0?(n=n.reverse(),e.patch=n.join(".")):e.patch="0"):e.minor="0"):e.major="0"}function f(){e.clearTimeout(b),b=e.setTimeout(function(){y=w.device.orientation,e.innerHeight>e.innerWidth?w.device.orientation="portrait":w.device.orientation="landscape",m(w.device.orientation,!0),y!==w.device.orientation&&m(y,!1)},10)}function g(e){var n,r,o,i,a,s=t.plugins;for(i=s.length-1;i>=0;i--){for(n=s[i],r=n.name+n.description,o=0,a=e.length;a>=0;a--)r.indexOf(e[a])!==-1&&(o+=1);if(o===e.length)return!0}return!1}function h(e){var t;for(t=e.length-1;t>=0;t--)try{new ActiveXObject(e[t])}catch(n){}return!1}function v(r){var c,d,v,b,y,C,T;if(E=o({},E,r||{}),E.detectDevice){for(w.device={type:"",model:"",orientation:""},v=w.device,a(/googletv|smarttv|smart-tv|internet.tv|netcast|nettv|appletv|boxee|kylo|roku|dlnadoc|roku|pov_tv|hbbtv|ce\-html/)?(v.type=k[0],v.model="smartTv"):a(/xbox|playstation.3|wii/)?(v.type=k[0],v.model="gameConsole"):a(/ip(a|ro)d/)?(v.type=k[1],v.model="ipad"):a(/tablet/)&&!a(/rx-34/)||a(/folio/)?(v.type=k[1],v.model=String(s(/playbook/)||"")):a(/linux/)&&a(/android/)&&!a(/fennec|mobi|htc.magic|htcX06ht|nexus.one|sc-02b|fone.945/)?(v.type=k[1],v.model="android"):a(/kindle/)||a(/mac.os/)&&a(/silk/)?(v.type=k[1],v.model="kindle"):a(/gt-p10|sc-01c|shw-m180s|sgh-t849|sch-i800|shw-m180l|sph-p100|sgh-i987|zt180|htc(.flyer|\_flyer)|sprint.atp51|viewpad7|pandigital(sprnova|nova)|ideos.s7|dell.streak.7|advent.vega|a101it|a70bht|mid7015|next2|nook/)||a(/mb511/)&&a(/rutem/)?(v.type=k[1],v.model="android"):a(/bb10/)?(v.type=k[1],v.model="blackberry"):(v.model=s(/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec|j2me/),null!==v.model?(v.type=k[2],v.model=String(v.model)):(v.model="",a(/bolt|fennec|iris|maemo|minimo|mobi|mowser|netfront|novarra|prism|rx-34|skyfire|tear|xv6875|xv6975|google.wireless.transcoder/)?v.type=k[2]:a(/opera/)&&a(/windows.nt.5/)&&a(/htc|xda|mini|vario|samsung\-gt\-i8000|samsung\-sgh\-i9/)?v.type=k[2]:a(/windows.(nt|xp|me|9)/)&&!a(/phone/)||a(/win(9|.9|nt)/)||a(/\(windows 8\)/)?v.type=k[3]:a(/macintosh|powerpc/)&&!a(/silk/)?(v.type=k[3],v.model="mac"):a(/linux/)&&a(/x11/)?v.type=k[3]:a(/solaris|sunos|bsd/)?v.type=k[3]:a(/cros/)?v.type=k[3]:a(/bot|crawler|spider|yahoo|ia_archiver|covario-ids|findlinks|dataparksearch|larbin|mediapartners-google|ng-search|snappy|teoma|jeeves|tineye/)&&!a(/mobile/)?(v.type=k[3],v.model="crawler"):v.type=k[2])),c=0,d=k.length;c=0;c--)C=S[c],T=!1,e.ActiveXObject?T=h(C.progIds):t.plugins&&(T=g(C.substrs)),T&&(y.plugins.push(C.name),m(C.name,!0));t.javaEnabled()&&(y.plugins.push("java"),m("java",!0))}}var b,y,w={},x=e.Modernizr,k=["tv","tablet","mobile","desktop"],E={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},S=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],C=/[\t\r\n]/g,T=n.documentElement;return w.detect=function(e){return v(e)},w.init=function(){w!==r&&(w.browser={userAgent:(t.userAgent||t.vendor||e.opera).toLowerCase()},w.detect())},w.init(),w}(this,this.navigator,this.document);