function getInternetExplorerVersion(){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}function oldInternetExplorer(){var e=getInternetExplorerVersion();return e>0&&8>=e}function Viewport(){return this.viewport=function(e){var t=document,n=t.documentElement;t.head=t.head||t.getElementsByTagName("head")[0];var r=screen,i=this,o=window;i.bScaled=!1,i.bSupported=!0,t.addEventListener===e?i.bSupported=!1:t.querySelector===e?i.bSupported=!1:o!==parent?i.bSupported=!1:o.orientation===e&&(i.bSupported=!1),i.updateOrientation(),i.updateScreen(),i.dpr=1;var a=o.devicePixelRatio;a===e?i.bSupported=!1:i.dpr=a,i.fromHead(),this.meta!==e&&(i.iHeight=i.height,i.iMaxScale=i.maxScale,i.iMinScale=i.minScale,i.iUserScalable=i.bUserScalable,i.iWidth=i.width),i.defaultWidth=1040,r.width>i.defaultWidth&&(i.defaultWidth=r.width),r.height>i.defaultWidth&&(i.defaultWidth=r.height),i.ready(function(){if(i.bSupported){if(0!==o.screenX)i.bSupported=!1;else if(i.width!==e){var r="";n.offsetHeight<=n.clientHeight&&(r=n.style.height,n.style.height=n.clientHeight+128+"px"),"device-width"===i.width?n.clientWidth!==i.screenWidth&&(i.bSupported=!1):i.width!==n.clientWidth&&(i.bSupported=!1),""===r?n.style.height="auto":r!==e&&(n.style.height=r)}i.bSupported&&(t.addEventListener("touchend",function(){var t=(new Date).getTime();i.lastTouch!==e&&t-i.lastTouch<500&&i.bUserScalable===!0&&(i.bScaled=!0),i.lastTouch=t},!1),t.addEventListener("gestureend",function(e){1!==e.scale&&i.bUserScalable===!0&&(i.bScaled=!0)},!1),t.addEventListener("resize",function(){i.updateCheck()},!1),t.addEventListener("orientationchange",function(){var t=i.orientation;i.updateOrientation(),t!==i.orientation&&(i.updateScreen(),i.bUserScalable===!0&&(i.bScaled=!0),i.orientationChangePolicy!==e&&i.orientationChangePolicy())},!1))}i.readyPolicy!==e&&i.readyPolicy()})},this.fromContentString=function(e){for(var t,n,e=e.split(","),r=0;r<e.length;r++)t=e[r].split("="),2===t.length&&(n=t[0].trim(),t=t[1].trim(),isNaN(parseFloat(t))||(t=parseFloat(t)),"width"===n?this.width=t:"height"===n?this.height=t:"initial-scale"===n?this.initialScale=t:"maximum-scale"===n?this.maxScale=t:"minimum-scale"===n?this.minScale=t:"user-scalable"===n&&(this.bUserScalable="no"===t?!1:!0))},this.fromHead=function(){var e=this.meta=document.head.querySelector("meta[name=viewport]");null===e?this.meta=void 0:e.hasAttribute("content")&&this.fromContentString(e.getAttribute("content"))},this.ready=function(e){var t=document;t.addEventListener&&t.addEventListener("DOMContentLoaded",function(){t.removeEventListener("DOMContentLoaded",arguments.callee,!1),e()},!1)},this.setDefault=function(e,t){this.bUserScalable=!0,this.height=void 0,this.maxScale=5,this.minScale=.25,this.width=this.defaultWidth,this.update(e,t)},this.setMobile=function(e,t){this.bScaled?t():(void 0===this.iWidth?(this.bUserScalable=!1,this.height=void 0,this.minScale=this.maxScale=1,this.width="device-width"):(this.bUserScalable=this.iUserScalable,this.height=this.iHeight,this.maxScale=this.iMaxScale,this.minScale=this.iMinScale,this.width=this.iWidth),this.update(e,t))},this.toString=function(){var e="";return void 0!==this.width&&(e+="width="+this.width+", "),void 0!==this.height&&(e+="height="+this.height+", "),void 0!==this.maxScale&&(e+="maximum-scale="+this.maxScale+", "),void 0!==this.minScale&&(e+="minimum-scale="+this.minScale+", "),!0===this.bUserScalable?e+="user-scalable=yes":!1===this.bUserScalable&&(e+="user-scalable=no"),e},this.update=function(e,t){var n=this;if(n.bSupported){n.updateFailure=t,n.updateSuccess=e;var r=n.width;"device-width"===r&&(r=n.screenWidth),r=n.prevWidth,"device-width"===r?r=n.screenWidth:void 0===r&&(r=document.documentElement.clientWidth),n.updateMeta(),n.updateTimeout=setTimeout(function(){n.updateCheck()},500)}else t()},this.updateCheck=function(){if(void 0!==this.updateTimeout){var e=!1,t=document.documentElement.clientWidth;this.width===t?e=!0:"device-width"===this.width&&this.screenWidth===t&&(e=!0),clearTimeout(this.updateTimeout),this.updateTimeout=void 0,e?(this.prevWidth=this.width,this.updateSuccess(),this.viewportChange()):(this.bSupported=!1,this.updateFailure()),this.updateSuccess=this.updateFailure=void 0}},this.updateMeta=function(){var e=document,t=this.meta;void 0===t?(t=this.meta=e.createElement("meta"),t.setAttribute("name","viewport"),t.setAttribute("content",this.toString()),e.head.appendChild(t)):t.setAttribute("content",this.toString())},this.updateOrientation=function(){var e=window.orientation;this.orientation=e=0===e||180===e?"portrait":90===e||-90===e?"landscape":document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait"},this.updateScale=function(){this.scale=this.screenWidth/window.innerWidth},this.updateScreen=function(){var e=this.screenHeight=screen.height,t=this.screenWidth=screen.width;"portrait"===this.orientation?t>e&&(this.screenHeight=t,this.screenWidth=e):e>t&&(this.screenHeight=t,this.screenWidth=e)},this.viewportChange=function(){var e=document.createEvent("Event");e.initEvent("viewportChange",!0,!0),e.bUserScalable=this.bUserScalable,e.maxScale=this.maxScale,e.minScale=this.minScale,e.width=this.width,document.dispatchEvent(e)},!0}function ReView(){return this.mode="default",this.v=new Viewport,this.v.viewport(),this.v.readyPolicy=function(){reView.ready()},this.v.bSupported&&"device-width"===this.v.width&&(this.mode="core"),this.failure=function(){var e=reView;"default"===e.mode&&void 0!==e.v.iWidth&&window.location.reload(),void 0!==e.failurePolicy&&e.failurePolicy()},this.ready=function(){var e=document.getElementsByClassName("reView"),t=e.length,n=reView;if(n.v.bSupported)for("default"===n.mode&&"core"!==sessionStorage.getItem("reViewMode")&&n.success();t--;)e[t].style.setProperty("display","block","important"),e[t].addEventListener("click",function(e){var t=e.target.parentNode;t.hasAttribute("class")&&t.getAttribute("class").indexOf("reView")>-1&&(e.preventDefault(),n.setDefault())});else for(screen.width>=1024&&n.success();t--;)e[t].style.setProperty("display","none","important")},this.setCore=function(){if("core"===this.mode)this.success();else if(this.v.bSupported){try{sessionStorage.setItem("reViewMode","core")}catch(e){}this.v.setMobile(function(){reView.mode="core",reView.success(),document.cookie="fullSiteCookie=true; path=/"},reView.failure)}else this.failure()},this.setDefault=function(){if("default"===this.mode)this.success();else if(this.v.bSupported){try{sessionStorage.setItem("reViewMode","default"),document.cookie="fullSiteCookie=true; path=/";var e=window.location.pathname,t=/mobileListing.jsp|mobileDetails.jsp/;if(""!=e){var n=e.split("/");"shop"==n[1]&&t.test(n[2])&&location.reload()}}catch(r){}this.v.setDefault(function(){reView.mode="default",reView.success()},reView.failure)}else this.failure()},this.success=function(){var e=reView;e.v.bSupported&&e.updateAnchors(),void 0!==e.successPolicy&&e.successPolicy()},this.updateAnchors=function(){return!0},!0}"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t});var ua={toString:function(){return navigator.userAgent},test:function(e){return this.toString().toLowerCase().indexOf(e.toLowerCase())>-1}};ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],ua.webkit=ua.test("webkit"),ua.gecko=ua.test("gecko")&&!ua.webkit,ua.opera=ua.test("opera"),ua.ie=ua.test("msie")&&!ua.opera,ua.ie6=ua.ie&&document.compatMode&&"undefined"==typeof document.documentElement.style.maxHeight,ua.ie7=ua.ie&&document.documentElement&&"undefined"!=typeof document.documentElement.style.maxHeight&&"undefined"==typeof XDomainRequest,ua.ie8=ua.ie&&"undefined"!=typeof XDomainRequest;var domReady=function(){var e=[],t=function(){if(!arguments.callee.done){arguments.callee.done=!0;for(var t=0;t<e.length;t++)e[t]()}};return document.addEventListener&&document.addEventListener("DOMContentLoaded",t,!1),ua.ie&&(!function(){try{document.documentElement.doScroll("left")}catch(e){return void setTimeout(arguments.callee,50)}t()}(),document.onreadystatechange=function(){"complete"===document.readyState&&(document.onreadystatechange=null,t())}),ua.webkit&&document.readyState&&!function(){"loading"!==document.readyState?t():setTimeout(arguments.callee,10)}(),window.onload=t,function(t){return"function"==typeof t&&(e[e.length]=t),t}}(),cssHelper=function(){var e,t={BLOCKS:/[^\s{;][^{;]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|[^{}]*)*\}/g,BLOCKS_INSIDE:/[^\s{][^{]*\{[^{}]*\}/g,DECLARATIONS:/[a-zA-Z\-]+[^;]*:[^;]+;/g,RELATIVE_URLS:/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,REDUNDANT_COMPONENTS:/(?:\/\*([^*\\\\]|\*(?!\/))+\*\/|@import[^;]+;)/g,REDUNDANT_WHITESPACE:/\s*(,|:|;|\{|\})\s*/g,WHITESPACE_IN_PARENTHESES:/\(\s*(\S*)\s*\)/g,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g},n=!1,r=[],o=function(e){"function"==typeof e&&(r[r.length]=e)},a=function(){for(var t=0;t<r.length;t++)r[t](e)},s={},l=function(e,t){if(s[e]){var n=s[e].listeners;if(n)for(var r=0;r<n.length;r++)n[r](t)}},c=function(e,t,n){if(ua.ie&&!window.XMLHttpRequest&&(window.XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")}),!XMLHttpRequest)return"";var r=new XMLHttpRequest;try{r.open("get",e,!0),r.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest")}catch(i){return void n()}var o=!1;setTimeout(function(){o=!0},5e3),document.documentElement.style.cursor="progress",r.onreadystatechange=function(){4!==r.readyState||o||(!r.status&&"file:"===location.protocol||r.status>=200&&r.status<300||304===r.status||navigator.userAgent.indexOf("Safari")>-1&&"undefined"==typeof r.status?t(r.responseText):n(),document.documentElement.style.cursor="",r=null)},r.send("")},u=function(e){return e=e.replace(t.REDUNDANT_COMPONENTS,""),e=e.replace(t.REDUNDANT_WHITESPACE,"$1"),e=e.replace(t.WHITESPACE_IN_PARENTHESES,"($1)"),e=e.replace(t.MORE_WHITESPACE," "),e=e.replace(t.FINAL_SEMICOLONS,"}")},d={stylesheet:function(e){var n={},r=[],i=[],o=[],a=[],s=e.cssHelperText,l=e.getAttribute("media");if(l)var c=l.toLowerCase().split(",");else var c=["all"];for(var u=0;u<c.length;u++)r[r.length]=d.mediaQuery(c[u],n);var f=s.match(t.BLOCKS);if(null!==f)for(var u=0;u<f.length;u++)if("@media "===f[u].substring(0,7)){var p=d.mediaQueryList(f[u],n);o=o.concat(p.getRules()),i[i.length]=p}else o[o.length]=a[a.length]=d.rule(f[u],n,null);return n.element=e,n.getCssText=function(){return s},n.getAttrMediaQueries=function(){return r},n.getMediaQueryLists=function(){return i},n.getRules=function(){return o},n.getRulesWithoutMQ=function(){return a},n},mediaQueryList:function(e,n){var r={},i=e.indexOf("{"),o=e.substring(0,i);e=e.substring(i+1,e.length-1);for(var a=[],s=[],l=o.toLowerCase().substring(7).split(","),c=0;c<l.length;c++)a[a.length]=d.mediaQuery(l[c],r);var u=e.match(t.BLOCKS_INSIDE);if(null!==u)for(c=0;c<u.length;c++)s[s.length]=d.rule(u[c],n,r);return r.type="mediaQueryList",r.getMediaQueries=function(){return a},r.getRules=function(){return s},r.getListText=function(){return o},r.getCssText=function(){return e},r},mediaQuery:function(e,n){e=e||"";var r,i;"mediaQueryList"===n.type?r=n:i=n;for(var o,a=!1,s=[],l=!0,c=e.match(t.NOT_WHITESPACE),u=0;u<c.length;u++){var d=c[u];if(o||"not"!==d&&"only"!==d)if(o){if("("===d.charAt(0)){var f=d.substring(1,d.length-1).split(":");s[s.length]={mediaFeature:f[0],value:f[1]||null}}}else o=d;else"not"===d&&(a=!0)}return{getQueryText:function(){return e},getAttrStyleSheet:function(){return i||null},getList:function(){return r||null},getValid:function(){return l},getNot:function(){return a},getMediaType:function(){return o},getExpressions:function(){return s}}},rule:function(e,t,n){for(var r={},i=e.indexOf("{"),o=e.substring(0,i),a=o.split(","),s=[],l=e.substring(i+1,e.length-1).split(";"),c=0;c<l.length;c++)s[s.length]=d.declaration(l[c],r);return r.getStylesheet=function(){return t||null},r.getMediaQueryList=function(){return n||null},r.getSelectors=function(){return a},r.getSelectorText=function(){return o},r.getDeclarations=function(){return s},r.getPropertyValue=function(e){for(var t=0;t<s.length;t++)if(s[t].getProperty()===e)return s[t].getValue();return null},r},declaration:function(e,t){var n=e.indexOf(":"),r=e.substring(0,n),i=e.substring(n+1);return{getRule:function(){return t||null},getProperty:function(){return r},getValue:function(){return i}}}},f=function(t){if("string"==typeof t.cssHelperText){var n={stylesheet:null,mediaQueryLists:[],rules:[],selectors:{},declarations:[],properties:{}},r=n.stylesheet=d.stylesheet(t),o=(n.mediaQueryLists=r.getMediaQueryLists(),n.rules=r.getRules()),a=n.selectors,s=function(e){for(var t=e.getSelectors(),n=0;n<t.length;n++){var r=t[n];a[r]||(a[r]=[]),a[r][a[r].length]=e}};for(i=0;i<o.length;i++)s(o[i]);var l=n.declarations;for(i=0;i<o.length;i++)l=n.declarations=l.concat(o[i].getDeclarations());var c=n.properties;for(i=0;i<l.length;i++){var u=l[i].getProperty();c[u]||(c[u]=[]),c[u][c[u].length]=l[i]}return t.cssHelperParsed=n,e[e.length]=t,n}},p=function(e,t){},h=function(){n=!0,e=[];for(var r=[],i=function(){for(var e=0;e<r.length;e++)f(r[e]);var t=document.getElementsByTagName("style");for(e=0;e<t.length;e++)p(t[e]);n=!1,a()},o=document.getElementsByTagName("link"),s=0;s<o.length;s++){var l=o[s];l.getAttribute("rel").indexOf("style")>-1&&l.href&&0!==l.href.length&&!l.disabled&&(r[r.length]=l)}if(r.length>0){var d=0,h=function(){d++,d===r.length&&i()},m=function(e){var n=e.href;c(n,function(r){r=u(r).replace(t.RELATIVE_URLS,"url("+n.substring(0,n.lastIndexOf("/"))+"/$1)"),e.cssHelperText=r,h()},h)};for(s=0;s<r.length;s++)m(r[s])}else i()},m={stylesheets:"array",mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"},g={stylesheets:null,mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null},v=function(e,t){if(null!==g[e]){if("array"===m[e])return g[e]=g[e].concat(t);var n=g[e];for(var r in t)t.hasOwnProperty(r)&&(n[r]=n[r]?n[r].concat(t[r]):t[r]);return n}},y=function(t){g[t]="array"===m[t]?[]:{};for(var n=0;n<e.length;n++){var r="stylesheets"===t?"stylesheet":t;v(t,e[n].cssHelperParsed[r])}return g[t]},b=function(e){return"undefined"!=typeof window.innerWidth?window["inner"+e]:"undefined"!=typeof document.documentElement&&"undefined"!=typeof document.documentElement.clientWidth&&0!=document.documentElement.clientWidth?document.documentElement["client"+e]:void 0};return{addStyle:function(e,t,n){var r=document.createElement("style");return r.setAttribute("type","text/css"),t&&t.length>0&&r.setAttribute("media",t.join(",")),document.getElementsByTagName("head")[0].appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),r.addedWithCssHelper=!0,"undefined"==typeof n||n===!0?cssHelper.parsed(function(t){var n=p(r,e);for(var i in n)n.hasOwnProperty(i)&&v(i,n[i]);l("newStyleParsed",r)}):r.parsingDisallowed=!0,r},removeStyle:function(e){return e.parentNode.removeChild(e)},parsed:function(t){n?o(t):"undefined"!=typeof e?"function"==typeof t&&t(e):(o(t),h())},stylesheets:function(e){cssHelper.parsed(function(t){e(g.stylesheets||y("stylesheets"))})},mediaQueryLists:function(e){cssHelper.parsed(function(t){e(g.mediaQueryLists||y("mediaQueryLists"))})},rules:function(e){cssHelper.parsed(function(t){e(g.rules||y("rules"))})},selectors:function(e){cssHelper.parsed(function(t){e(g.selectors||y("selectors"))})},declarations:function(e){cssHelper.parsed(function(t){e(g.declarations||y("declarations"))})},properties:function(e){cssHelper.parsed(function(t){e(g.properties||y("properties"))})},broadcast:l,addListener:function(e,t){"function"==typeof t&&(s[e]||(s[e]={listeners:[]}),s[e].listeners[s[e].listeners.length]=t)},removeListener:function(e,t){if("function"==typeof t&&s[e])for(var n=s[e].listeners,r=0;r<n.length;r++)n[r]===t&&(n.splice(r,1),r-=1)},getViewportWidth:function(){return b("Width")},getViewportHeight:function(){return b("Height")}}}();domReady(function(){var e,t={LENGTH_UNIT:/[0-9]+(em|ex|px|in|cm|mm|pt|pc)$/,RESOLUTION_UNIT:/[0-9]+(dpi|dpcm)$/,ASPECT_RATIO:/^[0-9]+\/[0-9]+$/,ABSOLUTE_VALUE:/^[0-9]*(\.[0-9]+)*$/},n=[],r=function(){var e="css3-mediaqueries-test",t=document.createElement("div");t.id=e;var n=cssHelper.addStyle("@media all and (width) { #"+e+" { width: 1px !important; } }",[],!1);document.body.appendChild(t);var i=1===t.offsetWidth;return n.parentNode.removeChild(n),t.parentNode.removeChild(t),r=function(){return i},i},i=function(){e=document.createElement("div"),e.style.cssText="position:absolute;top:-9999em;left:-9999em;margin:0;border:none;padding:0;width:1em;font-size:1em;",document.body.appendChild(e),16!==e.offsetWidth&&(e.style.fontSize=16/e.offsetWidth+"em"),e.style.width=""},o=function(t){e.style.width=t;var n=e.offsetWidth;return e.style.width="",n},a=function(e,n){var r=e.length,i="min-"===e.substring(0,4),a=!i&&"max-"===e.substring(0,4);if(null!==n){var s,l;if(t.LENGTH_UNIT.exec(n))s="length",l=o(n);else if(t.RESOLUTION_UNIT.exec(n)){s="resolution",l=parseInt(n,10);var c=n.substring((l+"").length)}else t.ASPECT_RATIO.exec(n)?(s="aspect-ratio",l=n.split("/")):t.ABSOLUTE_VALUE?(s="absolute",l=n):s="unknown"}var u,d;if("device-width"===e.substring(r-12,r))return u=screen.width,null!==n?"length"===s?i&&u>=l||a&&l>u||!i&&!a&&u===l:!1:u>0;if("device-height"===e.substring(r-13,r))return d=screen.height,null!==n?"length"===s?i&&d>=l||a&&l>d||!i&&!a&&d===l:!1:d>0;if("width"===e.substring(r-5,r))return u=document.documentElement.clientWidth||document.body.clientWidth,null!==n?"length"===s?i&&u>=l||a&&l>u||!i&&!a&&u===l:!1:u>0;if("height"===e.substring(r-6,r))return d=document.documentElement.clientHeight||document.body.clientHeight,null!==n?"length"===s?i&&d>=l||a&&l>d||!i&&!a&&d===l:!1:d>0;if("device-aspect-ratio"===e.substring(r-19,r))return"aspect-ratio"===s&&screen.width*l[1]===screen.height*l[0];if("color-index"===e.substring(r-11,r)){var f=Math.pow(2,screen.colorDepth);return null!==n?"absolute"===s?i&&f>=l||a&&l>f||!i&&!a&&f===l:!1:f>0}if("color"===e.substring(r-5,r)){var p=screen.colorDepth;return null!==n?"absolute"===s?i&&p>=l||a&&l>p||!i&&!a&&p===l:!1:p>0}if("resolution"===e.substring(r-10,r)){var h;return h=o("dpcm"===c?"1cm":"1in"),null!==n?"resolution"===s?i&&h>=l||a&&l>h||!i&&!a&&h===l:!1:h>0}return!1},s=function(e){var t=e.getValid(),n=e.getExpressions(),r=n.length;if(r>0){for(var i=0;r>i&&t;i++)t=a(n[i].mediaFeature,n[i].value);var o=e.getNot();return t&&!o||o&&!t}return t},l=function(e,t){for(var r=e.getMediaQueries(),i={},o=0;o<r.length;o++){var a=r[o].getMediaType();if(0!==r[o].getExpressions().length){var l=!0;if("all"!==a&&t&&t.length>0){l=!1;for(var c=0;c<t.length;c++)t[c]===a&&(l=!0)}l&&s(r[o])&&(i[a]=!0)}}var u=[],d=0;for(var f in i)i.hasOwnProperty(f)&&(d>0&&(u[d++]=","),u[d++]=f);u.length>0&&(n[n.length]=cssHelper.addStyle("@media "+u.join("")+"{"+e.getCssText()+"}",t,!1))},c=function(e,t){for(var n=0;n<e.length;n++)l(e[n],t)},u=function(e){for(var t=e.getAttrMediaQueries(),r=!1,i={},o=0;o<t.length;o++)s(t[o])&&(i[t[o].getMediaType()]=t[o].getExpressions().length>0);var a=[],l=[];for(var u in i)i.hasOwnProperty(u)&&(a[a.length]=u,i[u]&&(l[l.length]=u),"all"===u&&(r=!0));l.length>0&&(n[n.length]=cssHelper.addStyle(e.getCssText(),l,!1));var d=e.getMediaQueryLists();r?c(d):c(d,a)},d=function(e){for(var t=0;t<e.length;t++)u(e[t]);ua.ie?(document.documentElement.style.display="block",setTimeout(function(){document.documentElement.style.display=""},0),setTimeout(function(){cssHelper.broadcast("cssMediaQueriesTested")},100)):cssHelper.broadcast("cssMediaQueriesTested")},f=function(){for(var e=0;e<n.length;e++)cssHelper.removeStyle(n[e]);n=[],cssHelper.stylesheets(d)},p=0,h=function(){var e=cssHelper.getViewportWidth(),t=cssHelper.getViewportHeight();if(ua.ie){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999em",n.style.overflow="scroll",document.body.appendChild(n),p=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}var i,o=function(){var n=cssHelper.getViewportWidth(),o=cssHelper.getViewportHeight();(Math.abs(n-e)>p||Math.abs(o-t)>p)&&(e=n,t=o,clearTimeout(i),i=setTimeout(function(){r()?cssHelper.broadcast("cssMediaQueriesTested"):f()},500))};window.onresize=function(){var e=window.onresize||function(){};return function(){e(),o()}}()},m=document.documentElement;return m.style.marginLeft="-32767px",setTimeout(function(){m.style.marginLeft=""},5e3),function(){r()?m.style.marginLeft="":(cssHelper.addListener("newStyleParsed",function(e){u(e.cssHelperParsed.stylesheet)}),cssHelper.addListener("cssMediaQueriesTested",function(){ua.ie&&(m.style.width="1px"),setTimeout(function(){m.style.width="",m.style.marginLeft=""},0),cssHelper.removeListener("cssMediaQueriesTested",arguments.callee)}),i(),f()),h()}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}if(!function(e,t,n,r){function i(e,t){return typeof e===t}function o(e){var t=A.className,n=E._config.classPrefix||"";if(z&&(t=t.baseVal),E._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}E._config.enableClasses&&(e.length>0&&(t+=" "+n+e.join(" "+n)),z?A.className.baseVal=t:A.className=t)}function a(e,t){if("object"==typeof e)for(var n in e)C(e,n)&&a(n,e[n]);else{e=e.toLowerCase();var r=e.split("."),i=E[r[0]];if(2===r.length&&(i=i[r[1]]),void 0!==i)return E;t="function"==typeof t?t():t,1===r.length?E[r[0]]=t:(!E[r[0]]||E[r[0]]instanceof Boolean||(E[r[0]]=new Boolean(E[r[0]])),E[r[0]][r[1]]=t),o([(t&&!1!==t?"":"no-")+r.join("-")]),E._trigger(e,t)}return E}function s(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):z?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function l(){var e=n.body;return e||(e=s(z?"svg":"body"),e.fake=!0),e}function c(e,t,r,i){var o,a,c,u,d="modernizr",f=s("div"),p=l();if(parseInt(r,10))for(;r--;)c=s("div"),c.id=i?i[r]:d+(r+1),f.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+d,(p.fake?p:f).appendChild(o),p.appendChild(f),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(n.createTextNode(e)),f.id=d,p.fake&&(p.style.background="",p.style.overflow="hidden",u=A.style.overflow,A.style.overflow="hidden",A.appendChild(p)),a=t(f,e),p.fake&&p.parentNode?(p.parentNode.removeChild(p),A.style.overflow=u,A.offsetHeight):f.parentNode.removeChild(f),!!a}function u(e,n,r){var i;if("getComputedStyle"in t){i=getComputedStyle.call(t,e,n);var o=t.console;if(null!==i)r&&(i=i.getPropertyValue(r));else if(o){var a=o.error?"error":"log";o[a].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else i=!n&&e.currentStyle&&e.currentStyle[r];return i}function d(e,t){return!!~(""+e).indexOf(t)}function f(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(e,n){var i=e.length;if("CSS"in t&&"supports"in t.CSS){for(;i--;)if(t.CSS.supports(f(e[i]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var o=[];i--;)o.push("("+f(e[i])+":"+n+")");return o=o.join(" or "),c("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"===u(e,null,"position")})}return r}function h(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function m(e,t,n,o){function a(){c&&(delete k.style,delete k.modElem)}if(o=!i(o,"undefined")&&o,!i(n,"undefined")){var l=p(e,n);if(!i(l,"undefined"))return l}for(var c,u,f,m,g,v=["modernizr","tspan","samp"];!k.style&&v.length;)c=!0,k.modElem=s(v.shift()),k.style=k.modElem.style;for(f=e.length,u=0;f>u;u++)if(m=e[u],g=k.style[m],d(m,"-")&&(m=h(m)),k.style[m]!==r){if(o||i(n,"undefined"))return a(),"pfx"!==t||m;try{k.style[m]=n}catch(e){}if(k.style[m]!==g)return a(),"pfx"!==t||m}return a(),!1}function g(e,t){return function(){return e.apply(t,arguments)}}function v(e,t,n){var r;for(var o in e)if(e[o]in t)return!1===n?e[o]:(r=t[e[o]],i(r,"function")?g(r,n||t):r);return!1}function y(e,t,n,r,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+_.join(a+" ")+a).split(" ");return i(t,"string")||i(t,"undefined")?m(s,t,r,o):(s=(e+" "+M.join(a+" ")+a).split(" "),v(s,t,n))}function b(e,t,n){return y(e,r,r,t,n)}function S(e,t){var n=e.deleteDatabase(t);n.onsuccess=function(){a("indexeddb.deletedatabase",!0)},n.onerror=function(){a("indexeddb.deletedatabase",!1)}}var w=[],T={_version:"3.13.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){w.push({name:e,fn:t,options:n})},addAsyncTest:function(e){w.push({name:null,fn:e})}},E=function(){};E.prototype=T,E=new E;var C,x=[],A=n.documentElement,z="svg"===A.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;C=i(e,"undefined")||i(e.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),T._l={},T.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),E.hasOwnProperty(e)&&setTimeout(function(){E._trigger(e,E[e])},0)},T._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e;for(e=0;e<n.length;e++)n[e](t)},0),delete this._l[e]}},E._q.push(function(){T.addTest=a});var L="Moz O ms Webkit",M=T._config.usePrefixes?L.toLowerCase().split(" "):[];T._domPrefixes=M;var N=function(){function e(e,n){var i;return!!e&&(n&&"string"!=typeof n||(n=s(n||"div")),e="on"+e,i=e in n,!i&&t&&(n.setAttribute||(n=s("div")),n.setAttribute(e,""),i="function"==typeof n[e],n[e]!==r&&(n[e]=r),n.removeAttribute(e)),i)}var t=!("onblur"in A);return e}();T.hasEvent=N,z||function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function i(e,t){var n=y.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),y.elements=n+" "+e,c(t)}function o(e){var t=v[e[m]];return t||(t={},g++,e[m]=g,v[g]=t),t}function a(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():h.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 s(e,n){if(e||(e=t),d)return e.createDocumentFragment();n=n||o(e);for(var i=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)i.createElement(s[a]);return i}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function c(e){e||(e=t);var r=o(e);return!y.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),d||l(e,r),e}var u,d,f=e.html5||{},p=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,m="_html5shiv",g=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,d=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){u=!0,d=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==f.shivCSS,supportsUnknownElements:d,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:c,createElement:a,createDocumentFragment:s,addElements:i};e.html5=y,c(t),"object"==typeof module&&module.exports&&(module.exports=y)}(void 0!==t?t:this,n);var P=function(){},H=function(){};t.console&&(P=function(){var e=console.error?"error":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))},H=function(){var e=console.warn?"warn":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))}),T.load=function(){"yepnope"in t?(H("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. yepnope appears to be available on the page, so we’ll use it to handle this call to Modernizr.load, but please update your code to use yepnope directly.\n See http://github.com/Modernizr/Modernizr/issues/1182 for more information."),t.yepnope.apply(t,[].slice.call(arguments,0))):P("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. Get it from http://yepnopejs.com. See http://github.com/Modernizr/Modernizr/issues/1182 for more information.")};var R=function(){var e=t.matchMedia||t.msMatchMedia;return e?function(t){var n=e(t);return n&&n.matches||!1}:function(e){var t=!1;return c("@media "+e+" { #modernizr { position: absolute; } }",function(e){t="absolute"===u(e,null,"position")}),t}}();T.mq=R;var _=T._config.usePrefixes?L.split(" "):[];T._cssomPrefixes=_;var W={elem:s("modernizr")};E._q.push(function(){delete W.elem});var k={style:W.elem.style};E._q.unshift(function(){delete k.style}),T.testAllProps=y;var O=function(e){var n,i=V.length,o=t.CSSRule;if(void 0===o)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+e;for(var a=0;i>a;a++){var s=V[a];if(s.toUpperCase()+"_"+n in o)return"@-"+s.toLowerCase()+"-"+e}return!1};T.atRule=O;var I=T.prefixed=function(e,t,n){return 0===e.indexOf("@")?O(e):(-1!==e.indexOf("-")&&(e=h(e)),t?y(e,t,n):y(e,"pfx"))},V=T._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];T._prefixes=V,T.testAllProps=b;var D=T.testProp=function(e,t,n){return m([e],r,t,n)},U=T.testStyles=c;E.addTest("applicationcache","applicationCache"in t),function(){var e=s("audio");E.addTest("audio",function(){var e=!1;try{e=!!t.canPlayType,e&&(e=new Boolean(e))}catch(t){}return e});try{e.canPlayType&&(E.addTest("audio.ogg",e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"")),E.addTest("audio.mp3",e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,"")),E.addTest("audio.opus",e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,"")),E.addTest("audio.wav",e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"")),E.addTest("audio.m4a",(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,"")))}catch(e){}}(),E.addTest("backgroundsize",b("backgroundSize","100%",!0)),E.addTest("borderimage",b("borderImage","url() 1",!0)),E.addTest("borderradius",b("borderRadius","0px",!0)),E.addTest("boxshadow",b("boxShadow","1px 1px",!0)),E.addTest("canvas",function(){var e=s("canvas");return!(!e.getContext||!e.getContext("2d"))}),E.addTest("canvastext",function(){return!1!==E.canvas&&"function"==typeof s("canvas").getContext("2d").fillText}),E.addTest("cssanimations",b("animationName","a",!0)),function(){E.addTest("csscolumns",function(){var e=!1,t=b("columnCount");try{e=!!t,e&&(e=new Boolean(e))}catch(e){}return e});for(var e,t,n=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],r=0;r<n.length;r++)e=n[r].toLowerCase(),t=b("column"+n[r]),"breakbefore"!==e&&"breakafter"!==e&&"breakinside"!==e||(t=t||b(n[r])),E.addTest("csscolumns."+e,t)}(),E.addTest("cssgradients",function(){for(var e,t="background-image:",n="",r=0,i=V.length-1;i>r;r++)e=0===r?"to ":"",
n+=t+V[r]+"linear-gradient("+e+"left top, #9f9, white);";E._config.usePrefixes&&(n+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var o=s("a"),a=o.style;return a.cssText=n,(""+a.backgroundImage).indexOf("gradient")>-1}),E.addTest("cssreflections",b("boxReflect","above",!0)),E.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&b("transform","scale(1)",!0)});var B="CSS"in t&&"supports"in t.CSS,$="supportsCSS"in t;E.addTest("supports",B||$),E.addTest("csstransforms3d",function(){return!!b("perspective","1px",!0)}),E.addTest("csstransitions",b("transition","all",!0)),E.addTest("flexbox",b("flexBasis","1px",!0)),function(){var e=navigator.userAgent,t=e.match(/w(eb)?osbrowser/gi),n=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9;return t||n}()?E.addTest("fontface",!1):U('@font-face {font-family:"font";src:url("https://")}',function(e,t){var r=n.getElementById("smodernizr"),i=r.sheet||r.styleSheet,o=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"",a=/src/i.test(o)&&0===o.indexOf(t.split(" ")[0]);E.addTest("fontface",a)}),U('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){E.addTest("generatedcontent",e.offsetHeight>=6)}),E.addTest("geolocation","geolocation"in navigator),E.addTest("hashchange",function(){return!1!==N("hashchange",t)&&(n.documentMode===r||n.documentMode>7)}),E.addTest("history",function(){var e=navigator.userAgent;return!!e&&(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&t.history&&"pushState"in t.history}),E.addTest("hsla",function(){var e=s("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",d(e.backgroundColor,"rgba")||d(e.backgroundColor,"hsla")}),E.addAsyncTest(function(){var e;try{e=I("indexedDB",t)}catch(e){}if(e){var n,r="modernizr-"+Math.random();try{n=e.open(r)}catch(e){return void a("indexeddb",!1)}n.onerror=function(t){!n.error||"InvalidStateError"!==n.error.name&&"UnknownError"!==n.error.name?(a("indexeddb",!0),S(e,r)):(a("indexeddb",!1),t.preventDefault())},n.onsuccess=function(){a("indexeddb",!0),S(e,r)}}else a("indexeddb",!1)});var F=s("input"),Q="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),j={};E.input=function(e){for(var n=0,r=e.length;r>n;n++)j[e[n]]=!!(e[n]in F);return j.list&&(j.list=!(!s("datalist")||!t.HTMLDataListElement)),j}(Q),function(){for(var e,t,i,o=["search","tel","url","email","datetime","date","month","week","time","datetime-local","number","range","color"],a=0;a<o.length;a++)F.setAttribute("type",e=o[a]),i="text"!==F.type&&"style"in F,i&&(F.value="1)",F.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&F.style.WebkitAppearance!==r?(A.appendChild(F),t=n.defaultView,i=t.getComputedStyle&&"textfield"!==t.getComputedStyle(F,null).WebkitAppearance&&0!==F.offsetHeight,A.removeChild(F)):/^(search|tel)$/.test(e)||(i=/^(url|email)$/.test(e)?F.checkValidity&&!1===F.checkValidity():"1)"!==F.value)),E.addTest("inputtypes."+e,!!i)}(),E.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}),E.addTest("multiplebgs",function(){var e=s("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}),E.addTest("opacity",function(){var e=s("a").style;return e.cssText=V.join("opacity:.55;"),/^0.55$/.test(e.opacity)});var q=!0;try{t.postMessage({toString:function(){q=!1}},"*")}catch(e){}E.addTest("postmessage",new Boolean("postMessage"in t)),E.addTest("postmessage.structuredclones",q),E.addTest("rgba",function(){var e=s("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1}),E.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}});var X={}.toString;E.addTest("smil",function(){return!!n.createElementNS&&/SVGAnimate/.test(X.call(n.createElementNS("http://www.w3.org/2000/svg","animate")))}),E.addTest("svg",!!n.createElementNS&&!!n.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect),E.addTest("svgclippaths",function(){return!!n.createElementNS&&/SVGClipPath/.test(X.call(n.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),E.addTest("inlinesvg",function(){var e=s("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"===("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}),E.addTest("textshadow",D("textShadow","1px 1px")),function(){var e=s("video");E.addTest("video",function(){var e=!1;try{e=!!t.canPlayType,e&&(e=new Boolean(e))}catch(t){}return e});try{e.canPlayType&&(E.addTest("video.ogg",e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,"")),E.addTest("video.h264",e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,"")),E.addTest("video.h265",e.canPlayType('video/mp4; codecs="hev1"').replace(/^no$/,"")),E.addTest("video.webm",e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")),E.addTest("video.vp9",e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,"")),E.addTest("video.hls",e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,"")),E.addTest("video.av1",e.canPlayType('video/mp4; codecs="av01"').replace(/^no$/,"")))}catch(e){}}(),E.addTest("webgl",function(){return"WebGLRenderingContext"in t});var G=!1;try{G="WebSocket"in t&&2===t.WebSocket.CLOSING}catch(e){}E.addTest("websockets",G),E.addTest("websqldatabase","openDatabase"in t),E.addTest("webworkers","Worker"in t),function(){var e,t,n,r,o,a,s;for(var l in w)if(w.hasOwnProperty(l)){if(e=[],t=w[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=i(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)a=e[o],s=a.split("."),1===s.length?E[s[0]]=r:(E[s[0]]&&(!E[s[0]]||E[s[0]]instanceof Boolean)||(E[s[0]]=new Boolean(E[s[0]])),E[s[0]][s[1]]=r),x.push((r?"":"no-")+s.join("-"))}}(),o(x),delete T.addTest,delete T.addAsyncTest;for(var K=0;K<E._q.length;K++)E._q[K]();e.Modernizr=E}(window,window,document),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace("/^s+|s+$/g","")}),"undefined"!=typeof CSSStyleDeclaration){var isStyleFuncSupported=null!=CSSStyleDeclaration.prototype.getPropertyValue;isStyleFuncSupported||(CSSStyleDeclaration.prototype.getPropertyValue=function(e){return this.getAttribute(e)},CSSStyleDeclaration.prototype.setProperty=function(e,t,n){this.setAttribute(e,t);var n="undefined"!=typeof n?n:"";if(""!==n){var r=new RegExp(RegExp.escape(e)+"s*:s*"+RegExp.escape(t)+"(s*;)?","gmi");this.cssText=this.cssText.replace(r,e+": "+t+" !"+n+";")}},CSSStyleDeclaration.prototype.removeProperty=function(e){return this.removeAttribute(e)},CSSStyleDeclaration.prototype.getPropertyPriority=function(e){var t=new RegExp(RegExp.escape(e)+"s*:s*[^s]*s*!important(s*;)?","gmi");return t.test(this.cssText)?"important":""})}RegExp.escape=function(e){return e.replace("/[-[]{}()*+?.,^$|#s]/g","$&")};var reView;!function(e){if(!oldInternetExplorer()&&(reView=new ReView,reView.v.bSupported))try{if("sessionStorage"in e&&null!==e.sessionStorage){var t=sessionStorage.getItem("reViewMode");"core"===reView.mode&&"default"===t?reView.setDefault():"default"===reView.mode&&"core"===t&&reView.setCore()}else reView.v.bSupported=!1}catch(n){reView.v.bSupported=!1}}(window),window.lazySizesConfig=window.lazySizesConfig||{},document.addEventListener("lazybeforeunveil",function(e){var t=document.getElementsByClassName("carousel");if(t.length>0){var n=document.querySelectorAll(".carousel .lazyload");n.length>0&&("undefined"!=typeof vfnz&&"undefined"!=typeof vfnz.carousel?vfnz.carousel.lazyReset(e):window.addEventListener("load",function(e){vfnz&&vfnz.carousel&&vfnz.carousel.lazyReset(e)}))}}),!function(e,t){var n=t(e,e.document);e.lazySizes=n,"object"==typeof module&&module.exports&&(module.exports=n)}(window,function(e,t){"use strict";if(t.getElementsByClassName){var n,r=t.documentElement,i=e.Date,o=e.HTMLPictureElement,a="addEventListener",s="getAttribute",l=e[a],c=e.setTimeout,u=e.requestAnimationFrame||c,d=e.requestIdleCallback,f=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],h={},m=Array.prototype.forEach,g=function(e,t){return h[t]||(h[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),h[t].test(e[s]("class")||"")&&h[t]},v=function(e,t){g(e,t)||e.setAttribute("class",(e[s]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=g(e,t))&&e.setAttribute("class",(e[s]("class")||"").replace(n," "))},b=function(e,t,n){var r=n?a:"removeEventListener";n&&b(e,t),p.forEach(function(n){e[r](n,t)})},S=function(e,n,r,i,o){var a=t.createEvent("CustomEvent");return a.initCustomEvent(n,!i,!o,r||{}),e.dispatchEvent(a),a},w=function(t,r){var i;!o&&(i=e.picturefill||n.pf)?i({reevaluate:!0,elements:[t]}):r&&r.src&&(t.src=r.src)},T=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,r){for(r=r||e.offsetWidth;r<n.minSize&&t&&!e._lazysizesWidth;)r=t.offsetWidth,t=t.parentNode;return r},C=function(){var e,n,r=[],i=function(){var t;for(e=!0,n=!1;r.length;)t=r.shift(),t[0].apply(t[1],t[2]);e=!1},o=function(o){e?o.apply(this,arguments):(r.push([o,this,arguments]),n||(n=!0,(t.hidden?c:u)(i)))};return o._lsFlush=i,o}(),x=function(e,t){return t?function(){C(e)}:function(){var t=this,n=arguments;C(function(){e.apply(t,n)})}},A=function(e){var t,n=0,r=125,o=666,a=o,s=function(){t=!1,n=i.now(),e()},l=d?function(){d(s,{timeout:a}),a!==o&&(a=o)}:x(function(){c(s)},!0);return function(e){var o;(e=e===!0)&&(a=44),t||(t=!0,o=r-(i.now()-n),0>o&&(o=0),e||9>o&&d?l():c(l,o))}},z=function(e){var t,n,r=99,o=function(){t=null,e()},a=function(){var e=i.now()-n;r>e?c(a,r-e):(d||o)(o)};return function(){n=i.now(),t||(t=c(a,r))}},L=function(){var o,u,d,p,h,E,L,N,P,H,R,_,W,k,O,I=/^img$/i,V=/^iframe$/i,D="onscroll"in e&&!/glebot/.test(navigator.userAgent),U=0,B=0,$=0,F=-1,Q=function(e){$--,e&&e.target&&b(e.target,Q),(!e||0>$||!e.target)&&($=0)},j=function(e,n){var i,o=e,a="hidden"==T(t.body,"visibility")||"hidden"!=T(e,"visibility");for(P-=n,_+=n,H-=n,R+=n;a&&(o=o.offsetParent)&&o!=t.body&&o!=r;)a=(T(o,"opacity")||1)>0,a&&"visible"!=T(o,"overflow")&&(i=o.getBoundingClientRect(),a=R>i.left&&H<i.right&&_>i.top-1&&P<i.bottom+1);return a},q=function(){var e,i,a,l,c,f,p,m,g;if((h=n.loadMode)&&8>$&&(e=o.length)){i=0,F++,null==k&&("expand"in n||(n.expand=r.clientHeight>500&&r.clientWidth>500?500:370),W=n.expand,k=W*n.expFactor),k>B&&1>$&&F>2&&h>2&&!t.hidden?(B=k,F=0):B=h>1&&F>1&&6>$?W:U;for(;e>i;i++)if(o[i]&&!o[i]._lazyRace)if(D)if((m=o[i][s]("data-expand"))&&(f=1*m)||(f=B),g!==f&&(L=innerWidth+f*O,N=innerHeight+f,p=-1*f,g=f),a=o[i].getBoundingClientRect(),(_=a.bottom)>=p&&(P=a.top)<=N&&(R=a.right)>=p*O&&(H=a.left)<=L&&(_||R||H||P)&&(d&&3>$&&!m&&(3>h||4>F)||j(o[i],f))){if(te(o[i]),c=!0,$>9)break}else!c&&d&&!l&&4>$&&4>F&&h>2&&(u[0]||n.preloadAfterLoad)&&(u[0]||!m&&(_||R||H||P||"auto"!=o[i][s](n.sizesAttr)))&&(l=u[0]||o[i]);else te(o[i]);l&&!c&&te(l)}},X=A(q),G=function(e){v(e.target,n.loadedClass),y(e.target,n.loadingClass),b(e.target,J)},K=x(G),J=function(e){K({target:e.target})},Z=function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.src=t}},Y=function(e){var t,r,i=e[s](n.srcsetAttr);(t=n.customMedia[e[s]("data-media")||e[s]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i),t&&(r=e.parentNode,r.insertBefore(e.cloneNode(),e),r.removeChild(e))},ee=x(function(e,t,r,i,o){var a,l,u,d,h,g;(h=S(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(r?v(e,n.autosizesClass):e.setAttribute("sizes",i)),l=e[s](n.srcsetAttr),a=e[s](n.srcAttr),o&&(u=e.parentNode,d=u&&f.test(u.nodeName||"")),g=t.firesLoad||"src"in e&&(l||a||d),h={target:e},g&&(b(e,Q,!0),clearTimeout(p),p=c(Q,2500),v(e,n.loadingClass),b(e,J,!0)),d&&m.call(u.getElementsByTagName("source"),Y),l?e.setAttribute("srcset",l):a&&!d&&(V.test(e.nodeName)?Z(e,a):e.src=a),(l||d)&&w(e,{src:a})),C(function(){e._lazyRace&&delete e._lazyRace,y(e,n.lazyClass),(!g||e.complete)&&(g?Q(h):$--,G(h))})}),te=function(e){var t,r=I.test(e.nodeName),i=r&&(e[s](n.sizesAttr)||e[s]("sizes")),o="auto"==i;(!o&&d||!r||!e.src&&!e.srcset||e.complete||g(e,n.errorClass))&&(t=S(e,"lazyunveilread").detail,o&&M.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,$++,ee(e,t,o,i,r))},ne=function(){if(!d){if(i.now()-E<999)return void c(ne,999);var e=z(function(){n.loadMode=3,X()});d=!0,n.loadMode=3,X(),l("scroll",function(){3==n.loadMode&&(n.loadMode=2),e()},!0)}};return{_:function(){E=i.now(),o=t.getElementsByClassName(n.lazyClass),u=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),O=n.hFac,l("scroll",X,!0),l("resize",X,!0),e.MutationObserver?new MutationObserver(X).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[a]("DOMNodeInserted",X,!0),r[a]("DOMAttrModified",X,!0),setInterval(X,999)),l("hashchange",X,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(e){t[a](e,X,!0)}),/d$|^c/.test(t.readyState)?ne():(l("load",ne),t[a]("DOMContentLoaded",X),c(ne,2e4)),o.length?q():X()},checkElems:X,unveil:te}}(),M=function(){var e,r=x(function(e,t,n,r){var i,o,a;if(e._lazysizesWidth=r,r+="px",e.setAttribute("sizes",r),f.test(t.nodeName||""))for(i=t.getElementsByTagName("source"),o=0,a=i.length;a>o;o++)i[o].setAttribute("sizes",r);n.detail.dataAttr||w(e,n.detail)}),i=function(e,t,n){var i,o=e.parentNode;o&&(n=E(e,o,n),i=S(e,"lazybeforesizes",{width:n,dataAttr:!!t}),i.defaultPrevented||(n=i.detail.width,n&&n!==e._lazysizesWidth&&r(e,o,i,n)))},o=function(){var t,n=e.length;if(n)for(t=0;n>t;t++)i(e[t])},a=z(o);return{_:function(){e=t.getElementsByClassName(n.autosizesClass),l("resize",a)},checkElems:a,updateElem:i}}(),N=function(){N.i||(N.i=!0,M._(),L._())};return function(){var t,r={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2};n=e.lazySizesConfig||e.lazysizesConfig||{};for(t in r)t in n||(n[t]=r[t]);e.lazySizesConfig=n,c(function(){n.init&&N()})}(),{cfg:n,autoSizer:M,loader:L,init:N,uP:w,aC:v,rC:y,hC:g,fire:S,gW:E,rAF:C}}});