window.matchMedia||(window.matchMedia=function(e){var s=e.document,i=s.documentElement,t=[],a=0,n="",r={},l=/\s*(only|not)?\s*(screen|print|[a-z\-]+)\s*(and)?\s*/i,o=/^\s*\(\s*(-[a-z]+-)?(min-|max-)?([a-z\-]+)\s*(:?\s*([0-9]+(\.[0-9]+)?|portrait|landscape)(px|em|dppx|dpcm|rem|%|in|cm|mm|ex|pt|pc|\/([0-9]+(\.[0-9]+)?))?)?\s*\)\s*$/,d=0,c=function(e){var s=-1!==e.indexOf(",")&&e.split(",")||[e],i=s.length-1,t=i,a=null,d=null,c="",u=0,h=!1,m="",f="",a=null,d=0,f=null,w="",p="",b="",k="",y="",w=!1;if(""===e)return!0;do if(a=s[t-i],h=!1,(d=a.match(l))&&(c=d[0],u=d.index),!d||-1===a.substring(0,u).indexOf("(")&&(u||!d[3]&&c!==d.input))w=!1;else{if(f=a,h="not"===d[1],u||(m=d[2],f=a.substring(c.length)),w=m===n||"all"===m||""===m,a=-1!==f.indexOf(" and ")&&f.split(" and ")||[f],d=a.length-1,w&&d>=0&&""!==f)do{if(f=a[d].match(o),!f||!r[f[3]]){w=!1;break}if(w=f[2],k=p=f[5],b=f[7],y=r[f[3]],b&&(k="px"===b?Number(p):"em"===b||"rem"===b?16*p:f[8]?(p/f[8]).toFixed(2):"dppx"===b?96*p:"dpcm"===b?.3937*p:Number(p)),w="min-"===w&&k?y>=k:"max-"===w&&k?k>=y:k?y===k:!!y,!w)break}while(d--);if(w)break}while(i--);return h?!w:w},u=function(){var s=e.innerWidth||i.clientWidth,t=e.innerHeight||i.clientHeight,a=e.screen.width,n=e.screen.height,l=e.screen.colorDepth,o=e.devicePixelRatio;r.width=s,r.height=t,r["aspect-ratio"]=(s/t).toFixed(2),r["device-width"]=a,r["device-height"]=n,r["device-aspect-ratio"]=(a/n).toFixed(2),r.color=l,r["color-index"]=Math.pow(2,l),r.orientation=t>=s?"portrait":"landscape",r.resolution=o&&96*o||e.screen.deviceXDPI||96,r["device-pixel-ratio"]=o||1},h=function(){clearTimeout(d),d=setTimeout(function(){var s=null,i=a-1,n=i,r=!1;if(i>=0){u();do if((s=t[n-i])&&((r=c(s.mql.media))&&!s.mql.matches||!r&&s.mql.matches)&&(s.mql.matches=r,s.listeners))for(var r=0,l=s.listeners.length;l>r;r++)s.listeners[r]&&s.listeners[r].call(e,s.mql);while(i--)}},10)},m=s.getElementsByTagName("head")[0],s=s.createElement("style"),f=null,w="screen print speech projection handheld tv braille embossed tty".split(" "),p=0,b=w.length,k="#mediamatchjs { position: relative; z-index: 0; }",y="",$=e.addEventListener||(y="on")&&e.attachEvent;for(s.type="text/css",s.id="mediamatchjs",m.appendChild(s),f=e.getComputedStyle&&e.getComputedStyle(s)||s.currentStyle;b>p;p++)k+="@media "+w[p]+" { #mediamatchjs { position: relative; z-index: "+p+" } }";return s.styleSheet?s.styleSheet.cssText=k:s.textContent=k,n=w[1*f.zIndex||0],m.removeChild(s),u(),$(y+"resize",h),$(y+"orientationchange",h),function(e){var s=a,i={matches:!1,media:e,addListener:function(e){t[s].listeners||(t[s].listeners=[]),e&&t[s].listeners.push(e)},removeListener:function(e){var i=t[s],a=0,n=0;if(i)for(n=i.listeners.length;n>a;a++)i.listeners[a]===e&&i.listeners.splice(a,1)}};return""===e?(i.matches=!0,i):(i.matches=c(e),a=t.push({mql:i,listeners:null}),i)}}(window));
"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 setTimeout(arguments.callee,50),void 0}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,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g},s=!1,i=[],n=function(e){"function"==typeof e&&(i[i.length]=e)},a=function(){for(var t=0;t<i.length;t++)i[t](e)},r={},o=function(e,t){if(r[e]){var s=r[e].listeners;if(s)for(var i=0;i<s.length;i++)s[i](t)}},l=function(e,t,s){if(ua.ie&&!window.XMLHttpRequest&&(window.XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")}),!XMLHttpRequest)return"";var i=new XMLHttpRequest;try{i.open("get",e,!0),i.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest")}catch(n){return s(),void 0}var a=!1;setTimeout(function(){a=!0},5e3),document.documentElement.style.cursor="progress",i.onreadystatechange=function(){4!==i.readyState||a||(!i.status&&"file:"===location.protocol||i.status>=200&&i.status<300||304===i.status||navigator.userAgent.indexOf("Safari")>-1&&"undefined"==typeof i.status?t(i.responseText):s(),document.documentElement.style.cursor="",i=null)},i.send("")},d=function(e){return e=e.replace(t.REDUNDANT_COMPONENTS,""),e=e.replace(t.REDUNDANT_WHITESPACE,"$1"),e=e.replace(t.MORE_WHITESPACE," "),e=e.replace(t.FINAL_SEMICOLONS,"}")},c={mediaQueryList:function(e){var s={},i=e.indexOf("{"),n=e.substring(0,i);e=e.substring(i+1,e.length-1);for(var a=[],r=[],o=n.toLowerCase().substring(7).split(","),l=0;l<o.length;l++)a[a.length]=c.mediaQuery(o[l],s);var d=e.match(t.BLOCKS_INSIDE);if(null!==d)for(l=0;l<d.length;l++)r[r.length]=c.rule(d[l],s);return s.getMediaQueries=function(){return a},s.getRules=function(){return r},s.getListText=function(){return n},s.getCssText=function(){return e},s},mediaQuery:function(e,s){e=e||"";for(var i,n=!1,a=[],r=!0,o=e.match(t.NOT_WHITESPACE),l=0;l<o.length;l++){var d=o[l];if(i||"not"!==d&&"only"!==d)if(i){if("("===d.charAt(0)){var c=d.substring(1,d.length-1).split(":");a[a.length]={mediaFeature:c[0],value:c[1]||null}}}else i=d;else"not"===d&&(n=!0)}return{getList:function(){return s||null},getValid:function(){return r},getNot:function(){return n},getMediaType:function(){return i},getExpressions:function(){return a}}},rule:function(e,t){for(var s={},i=e.indexOf("{"),n=e.substring(0,i),a=n.split(","),r=[],o=e.substring(i+1,e.length-1).split(";"),l=0;l<o.length;l++)r[r.length]=c.declaration(o[l],s);return s.getMediaQueryList=function(){return t||null},s.getSelectors=function(){return a},s.getSelectorText=function(){return n},s.getDeclarations=function(){return r},s.getPropertyValue=function(e){for(var t=0;t<r.length;t++)if(r[t].getProperty()===e)return r[t].getValue();return null},s},declaration:function(e,t){var s=e.indexOf(":"),i=e.substring(0,s),n=e.substring(s+1);return{getRule:function(){return t||null},getProperty:function(){return i},getValue:function(){return n}}}},u=function(s){if("string"==typeof s.cssHelperText){var i={mediaQueryLists:[],rules:[],selectors:{},declarations:[],properties:{}},n=i.mediaQueryLists,a=i.rules,r=s.cssHelperText.match(t.BLOCKS);if(null!==r)for(var o=0;o<r.length;o++)"@media "===r[o].substring(0,7)?(n[n.length]=c.mediaQueryList(r[o]),a=i.rules=a.concat(n[n.length-1].getRules())):a[a.length]=c.rule(r[o]);var l=i.selectors,d=function(e){for(var t=e.getSelectors(),s=0;s<t.length;s++){var i=t[s];l[i]||(l[i]=[]),l[i][l[i].length]=e}};for(o=0;o<a.length;o++)d(a[o]);var u=i.declarations;for(o=0;o<a.length;o++)u=i.declarations=u.concat(a[o].getDeclarations());var h=i.properties;for(o=0;o<u.length;o++){var f=u[o].getProperty();h[f]||(h[f]=[]),h[f][h[f].length]=u[o]}return s.cssHelperParsed=i,e[e.length]=s,i}},h=function(e,t){return e.cssHelperText=d(t||e.innerHTML),u(e)},f=function(){s=!0,e=[];for(var i=[],n=function(){for(var e=0;e<i.length;e++)u(i[e]);var t=document.getElementsByTagName("style");for(e=0;e<t.length;e++)h(t[e]);s=!1,a()},r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var c=r[o];c.getAttribute("rel").indexOf("style")>-1&&c.href&&0!==c.href.length&&!c.disabled&&(i[i.length]=c)}if(i.length>0){var f=0,m=function(){f++,f===i.length&&n()},p=function(e){var s=e.href;l(s,function(i){i=d(i).replace(t.RELATIVE_URLS,"url("+s.substring(0,s.lastIndexOf("/"))+"/$1)"),e.cssHelperText=i,m()},m)};for(o=0;o<i.length;o++)p(i[o])}else n()},m={mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"},p={mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null},w=function(e,t){if(null!==p[e]){if("array"===m[e])return p[e]=p[e].concat(t);var s=p[e];for(var i in t)t.hasOwnProperty(i)&&(s[i]=s[i]?s[i].concat(t[i]):t[i]);return s}},g=function(t){p[t]="array"===m[t]?[]:{};for(var s=0;s<e.length;s++)w(t,e[s].cssHelperParsed[t]);return p[t]};domReady(function(){for(var e=document.body.getElementsByTagName("*"),t=0;t<e.length;t++)e[t].checkedByCssHelper=!0;document.implementation.hasFeature("MutationEvents","2.0")||window.MutationEvent?document.body.addEventListener("DOMNodeInserted",function(e){var t=e.target;1===t.nodeType&&(o("DOMElementInserted",t),t.checkedByCssHelper=!0)},!1):setInterval(function(){for(var e=document.body.getElementsByTagName("*"),t=0;t<e.length;t++)e[t].checkedByCssHelper||(o("DOMElementInserted",e[t]),e[t].checkedByCssHelper=!0)},1e3)});var y=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){var s=document.createElement("style");return s.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),s.addedWithCssHelper=!0,"undefined"==typeof t||t===!0?cssHelper.parsed(function(){var t=h(s,e);for(var i in t)t.hasOwnProperty(i)&&w(i,t[i]);o("newStyleParsed",s)}):s.parsingDisallowed=!0,s},removeStyle:function(e){return e.parentNode.removeChild(e)},parsed:function(t){s?n(t):"undefined"!=typeof e?"function"==typeof t&&t(e):(n(t),f())},mediaQueryLists:function(e){cssHelper.parsed(function(){e(p.mediaQueryLists||g("mediaQueryLists"))})},rules:function(e){cssHelper.parsed(function(){e(p.rules||g("rules"))})},selectors:function(e){cssHelper.parsed(function(){e(p.selectors||g("selectors"))})},declarations:function(e){cssHelper.parsed(function(){e(p.declarations||g("declarations"))})},properties:function(e){cssHelper.parsed(function(){e(p.properties||g("properties"))})},broadcast:o,addListener:function(e,t){"function"==typeof t&&(r[e]||(r[e]={listeners:[]}),r[e].listeners[r[e].listeners.length]=t)},removeListener:function(e,t){if("function"==typeof t&&r[e])for(var s=r[e].listeners,i=0;i<s.length;i++)s[i]===t&&(s.splice(i,1),i-=1)},getViewportWidth:function(){return y("Width")},getViewportHeight:function(){return y("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]+)*$/},s=[],i=function(){var e="css3-mediaqueries-test",t=document.createElement("div");t.id=e;var s=cssHelper.addStyle("@media all and (width) { #"+e+" { width: 1px !important; } }",!1);document.body.appendChild(t);var n=1===t.offsetWidth;return s.parentNode.removeChild(s),t.parentNode.removeChild(t),i=function(){return n},n},n=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=""},a=function(t){e.style.width=t;var s=e.offsetWidth;return e.style.width="",s},r=function(e,s){var i=e.length,n="min-"===e.substring(0,4),r=!n&&"max-"===e.substring(0,4);if(null!==s){var o,l;if(t.LENGTH_UNIT.exec(s))o="length",l=a(s);else if(t.RESOLUTION_UNIT.exec(s)){o="resolution",l=parseInt(s,10);var d=s.substring((l+"").length)}else t.ASPECT_RATIO.exec(s)?(o="aspect-ratio",l=s.split("/")):t.ABSOLUTE_VALUE?(o="absolute",l=s):o="unknown"}var c,u;if("device-width"===e.substring(i-12,i))return c=screen.width,null!==s?"length"===o?n&&c>=l||r&&l>c||!n&&!r&&c===l:!1:c>0;if("device-height"===e.substring(i-13,i))return u=screen.height,null!==s?"length"===o?n&&u>=l||r&&l>u||!n&&!r&&u===l:!1:u>0;if("width"===e.substring(i-5,i))return c=document.documentElement.clientWidth||document.body.clientWidth,null!==s?"length"===o?n&&c>=l||r&&l>c||!n&&!r&&c===l:!1:c>0;if("height"===e.substring(i-6,i))return u=document.documentElement.clientHeight||document.body.clientHeight,null!==s?"length"===o?n&&u>=l||r&&l>u||!n&&!r&&u===l:!1:u>0;if("device-aspect-ratio"===e.substring(i-19,i))return"aspect-ratio"===o&&screen.width*l[1]===screen.height*l[0];if("color-index"===e.substring(i-11,i)){var h=Math.pow(2,screen.colorDepth);return null!==s?"absolute"===o?n&&h>=l||r&&l>h||!n&&!r&&h===l:!1:h>0}if("color"===e.substring(i-5,i)){var f=screen.colorDepth;return null!==s?"absolute"===o?n&&f>=l||r&&l>f||!n&&!r&&f===l:!1:f>0}if("resolution"===e.substring(i-10,i)){var m;return m="dpcm"===d?a("1cm"):a("1in"),null!==s?"resolution"===o?n&&m>=l||r&&l>m||!n&&!r&&m===l:!1:m>0}return!1},o=function(e){var t=e.getValid(),s=e.getExpressions(),i=s.length;if(i>0){for(var n=0;i>n&&t;n++)t=r(s[n].mediaFeature,s[n].value);var a=e.getNot();return t&&!a||a&&!t}},l=function(e){for(var t=e.getMediaQueries(),i={},n=0;n<t.length;n++)o(t[n])&&(i[t[n].getMediaType()]=!0);var a=[],r=0;for(var l in i)i.hasOwnProperty(l)&&(r>0&&(a[r++]=","),a[r++]=l);a.length>0&&(s[s.length]=cssHelper.addStyle("@media "+a.join("")+"{"+e.getCssText()+"}",!1))},d=function(e){for(var t=0;t<e.length;t++)l(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")},c=function(){for(var e=0;e<s.length;e++)cssHelper.removeStyle(s[e]);s=[],cssHelper.mediaQueryLists(d)},u=0,h=function(){var e=cssHelper.getViewportWidth(),t=cssHelper.getViewportHeight();if(ua.ie){var s=document.createElement("div");s.style.position="absolute",s.style.top="-9999em",s.style.overflow="scroll",document.body.appendChild(s),u=s.offsetWidth-s.clientWidth,document.body.removeChild(s)}var n,a=function(){var s=cssHelper.getViewportWidth(),a=cssHelper.getViewportHeight();(Math.abs(s-e)>u||Math.abs(a-t)>u)&&(e=s,t=a,clearTimeout(n),n=setTimeout(function(){i()?cssHelper.broadcast("cssMediaQueriesTested"):c()},500))};window.onresize=function(){var e=window.onresize||function(){};return function(){e(),a()}}()},f=document.documentElement;return f.style.marginLeft="-32767px",setTimeout(function(){f.style.marginTop=""},2e4),function(){i()?f.style.marginLeft="":(cssHelper.addListener("newStyleParsed",function(e){d(e.cssHelperParsed.mediaQueryLists)}),cssHelper.addListener("cssMediaQueriesTested",function(){ua.ie&&(f.style.width="1px"),setTimeout(function(){f.style.width="",f.style.marginLeft=""},0),cssHelper.removeListener("cssMediaQueriesTested",arguments.callee)}),n(),c()),h()}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}
window.Modernizr=function(e,t,n){function i(){h.input=function(e){for(var t=0,n=e.length;n>t;t++)I[e[t]]=!!(e[t]in b);return I}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),h.inputtypes=function(e){for(var i,s,a,r=0,o=e.length;o>r;r++)b.setAttribute("type",s=e[r]),i="text"!==b.type,i&&(b.value=C,b.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(s)&&b.style.WebkitAppearance!==n?(p.appendChild(b),a=t.defaultView,i=a.getComputedStyle&&"textfield"!==a.getComputedStyle(b,null).WebkitAppearance&&0!==b.offsetHeight,p.removeChild(b)):/^(search|tel)$/.test(s)||(/^(url|email)$/.test(s)?i=b.checkValidity&&b.checkValidity()===!1:/^color$/.test(s)?(p.appendChild(b),p.offsetWidth,i=b.value!=C,p.removeChild(b)):i=b.value!=C)),S[e[r]]=!!i;return S}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function s(e,t){var n=e.charAt(0).toUpperCase()+e.substr(1),i=(e+" "+E.join(n+" ")+n).split(" ");return!!a(i,t)}function a(e,t){for(var i in e)if(v[e[i]]!==n&&(!t||t(e[i],y)))return!0}function r(e,t){return-1!==(""+e).indexOf(t)}function o(e,t){return typeof e===t}function l(e,t){return c(x.join(e+";")+(t||""))}function c(e){v.cssText=e}var u,d,f="1.7",h={},m=!0,p=t.documentElement,g=t.head||t.getElementsByTagName("head")[0],w="modernizr",y=t.createElement(w),v=y.style,b=t.createElement("input"),C=":)",k=Object.prototype.toString,x=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),E="Webkit Moz O ms Khtml".split(" "),$={svg:"http://www.w3.org/2000/svg"},T={},S={},I={},j=[],Q=function(e){var n,i=t.createElement("style"),s=t.createElement("div");return i.textContent=e+"{#modernizr{height:3px}}",g.appendChild(i),s.id="modernizr",p.appendChild(s),n=3===s.offsetHeight,i.parentNode.removeChild(i),s.parentNode.removeChild(s),!!n},L=function(){function e(e,s){s=s||t.createElement(i[e]||"div");var a=(e="on"+e)in s;return a||(s.setAttribute||(s=t.createElement("div")),s.setAttribute&&s.removeAttribute&&(s.setAttribute(e,""),a=o(s[e],"function"),o(s[e],n)||(s[e]=n),s.removeAttribute(e))),s=null,a}var i={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),O={}.hasOwnProperty;d=o(O,n)||o(O.call,n)?function(e,t){return t in e&&o(e.constructor.prototype[t],n)}:function(e,t){return O.call(e,t)},T.flexbox=function(){function e(e,t,n,i){e.style.cssText=x.join(t+":"+n+";")+(i||"")}function n(e,t,n,i){t+=":",e.style.cssText=(t+x.join(n+";"+t)).slice(0,-t.length)+(i||"")}var i=t.createElement("div"),s=t.createElement("div");n(i,"display","box","width:42px;padding:0;"),e(s,"box-flex","1","width:10px;"),i.appendChild(s),p.appendChild(i);var a=42===s.offsetWidth;return i.removeChild(s),p.removeChild(i),a},T.canvas=function(){var e=t.createElement("canvas");return e.getContext&&e.getContext("2d")},T.canvastext=function(){return h.canvas&&o(t.createElement("canvas").getContext("2d").fillText,"function")},T.webgl=function(){return!!e.WebGLRenderingContext},T.touch=function(){return"ontouchstart"in e||Q("@media ("+x.join("touch-enabled),(")+"modernizr)")},T.geolocation=function(){return!!navigator.geolocation},T.postmessage=function(){return!!e.postMessage},T.websqldatabase=function(){var t=!!e.openDatabase;return t},T.indexedDB=function(){for(var t=-1,n=E.length;++t<n;){var i=E[t].toLowerCase();if(e[i+"_indexedDB"]||e[i+"IndexedDB"])return!0}return!1},T.hashchange=function(){return L("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},T.history=function(){return!(!e.history||!history.pushState)},T.draganddrop=function(){return L("dragstart")&&L("drop")},T.websockets=function(){return"WebSocket"in e},T.rgba=function(){return c("background-color:rgba(150,255,150,.5)"),r(v.backgroundColor,"rgba")},T.hsla=function(){return c("background-color:hsla(120,40%,100%,.5)"),r(v.backgroundColor,"rgba")||r(v.backgroundColor,"hsla")},T.multiplebgs=function(){return c("background:url(//:),url(//:),red url(//:)"),new RegExp("(url\\s*\\(.*?){3}").test(v.background)},T.backgroundsize=function(){return s("backgroundSize")},T.borderimage=function(){return s("borderImage")},T.borderradius=function(){return s("borderRadius","",function(e){return r(e,"orderRadius")})},T.boxshadow=function(){return s("boxShadow")},T.textshadow=function(){return""===t.createElement("div").style.textShadow},T.opacity=function(){return l("opacity:.55"),/^0.55$/.test(v.opacity)},T.cssanimations=function(){return s("animationName")},T.csscolumns=function(){return s("columnCount")},T.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 c((e+x.join(t+e)+x.join(n+e)).slice(0,-e.length)),r(v.backgroundImage,"gradient")},T.cssreflections=function(){return s("boxReflect")},T.csstransforms=function(){return!!a(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},T.csstransforms3d=function(){var e=!!a(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);return e&&"webkitPerspective"in p.style&&(e=Q("@media ("+x.join("transform-3d),(")+"modernizr)")),e},T.csstransitions=function(){return s("transitionProperty")},T.fontface=function(){var e,n,i=g||p,s=t.createElement("style"),a=t.implementation||{hasFeature:function(){return!1}};s.type="text/css",i.insertBefore(s,i.firstChild),e=s.sheet||s.styleSheet;var r=a.hasFeature("CSS2","")?function(t){if(!e||!t)return!1;var n=!1;try{e.insertRule(t,0),n=/src/i.test(e.cssRules[0].cssText),e.deleteRule(e.cssRules.length-1)}catch(i){}return n}:function(t){return e&&t?(e.cssText=t,0!==e.cssText.length&&/src/i.test(e.cssText)&&0===e.cssText.replace(/\r+|\n+/g,"").indexOf(t.split(" ")[0])):!1};return n=r('@font-face { font-family: "font"; src: url(data:,); }'),i.removeChild(s),n},T.video=function(){var e=t.createElement("video"),n=!!e.canPlayType;if(n){n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"');var i='video/mp4; codecs="avc1.42E01E';n.h264=e.canPlayType(i+'"')||e.canPlayType(i+', mp4a.40.2"'),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"')}return n},T.audio=function(){var e=t.createElement("audio"),n=!!e.canPlayType;return n&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"'),n.mp3=e.canPlayType("audio/mpeg;"),n.wav=e.canPlayType('audio/wav; codecs="1"'),n.m4a=e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")),n},T.localstorage=function(){try{return!!localStorage.getItem}catch(e){return!1}},T.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(e){return!1}},T.webWorkers=function(){return!!e.Worker},T.applicationcache=function(){return!!e.applicationCache},T.svg=function(){return!!t.createElementNS&&!!t.createElementNS($.svg,"svg").createSVGRect},T.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==$.svg},T.smil=function(){return!!t.createElementNS&&/SVG/.test(k.call(t.createElementNS($.svg,"animate")))},T.svgclippaths=function(){return!!t.createElementNS&&/SVG/.test(k.call(t.createElementNS($.svg,"clipPath")))};for(var W in T)d(T,W)&&(u=W.toLowerCase(),h[u]=T[W](),j.push((h[u]?"":"no-")+u));return h.input||i(),h.crosswindowmessaging=h.postmessage,h.historymanagement=h.history,h.addTest=function(e,t){return e=e.toLowerCase(),h[e]?void 0:(t=!!t(),p.className+=" "+(t?"":"no-")+e,h[e]=t,h)},c(""),y=b=null,m&&e.attachEvent&&function(){var e=t.createElement("div");return e.innerHTML="<elem></elem>",1!==e.childNodes.length}()&&function(e,t){function n(e,t){for(var i,s=-1,a=e.length,r=[];++s<a;)i=e[s],"screen"!=(t=i.media||t)&&r.push(n(i.imports,t),i.cssText);return r.join("")}function i(e){for(var t=-1;++t<o;)e.createElement(r[t])}var s,a="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",r=a.split("|"),o=r.length,l=new RegExp("(^|\\s)("+a+")","gi"),c=new RegExp("<(/*)("+a+")","gi"),u=new RegExp("(^|[^\\n]*?\\s)("+a+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),d=t.createDocumentFragment(),f=t.documentElement,h=f.firstChild,m=t.createElement("body"),p=t.createElement("style");i(t),i(d),h.insertBefore(p,h.firstChild),p.media="print",e.attachEvent("onbeforeprint",function(){var e,i=-1,a=n(t.styleSheets,"all"),h=[];for(s=s||t.body;null!=(e=u.exec(a));)h.push((e[1]+e[2]+e[3]).replace(l,"$1.iepp_$2")+e[4]);for(p.styleSheet.cssText=h.join("\n");++i<o;)for(var g=t.getElementsByTagName(r[i]),w=g.length,y=-1;++y<w;)g[y].className.indexOf("iepp_")<0&&(g[y].className+=" iepp_"+r[i]);d.appendChild(s),f.appendChild(m),m.className=s.className,m.innerHTML=s.innerHTML.replace(c,"<$1font")}),e.attachEvent("onafterprint",function(){m.innerHTML="",f.removeChild(m),f.appendChild(s),p.styleSheet.cssText=""})}(e,t),h._enableHTML5=m,h._version=f,p.className=p.className.replace(/\bno-js\b/,"")+" js "+j.join(" "),h}(this,this.document);
/*! jQuery Color v@2.1.2 with SVG Color Names http://github.com/jquery/jquery-color | jquery.org/license */
(function(a,b){function m(a,b,c){var d=h[b.type]||{};return a==null?c||!b.def?null:b.def:(a=d.floor?~~a:parseFloat(a),isNaN(a)?b.def:d.mod?(a+d.mod)%d.mod:0>a?0:d.max<a?d.max:a)}function n(b){var c=f(),d=c._rgba=[];return b=b.toLowerCase(),l(e,function(a,e){var f,h=e.re.exec(b),i=h&&e.parse(h),j=e.space||"rgba";if(i)return f=c[j](i),c[g[j].cache]=f[g[j].cache],d=c._rgba=f._rgba,!1}),d.length?(d.join()==="0,0,0,0"&&a.extend(d,k.transparent),c):k[b]}function o(a,b,c){return c=(c+1)%1,c*6<1?a+(b-a)*c*6:c*2<1?b:c*3<2?a+(b-a)*(2/3-c)*6:a}var c="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1]*2.55,a[2]*2.55,a[3]*2.55,a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}],f=a.Color=function(b,c,d,e){return new a.Color.fn.parse(b,c,d,e)},g={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},h={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},i=f.support={},j=a("<p>")[0],k,l=a.each;j.style.cssText="background-color:rgba(1,1,1,.5)",i.rgba=j.style.backgroundColor.indexOf("rgba")>-1,l(g,function(a,b){b.cache="_"+a,b.props.alpha={idx:3,type:"percent",def:1}}),f.fn=a.extend(f.prototype,{parse:function(c,d,e,h){if(c===b)return this._rgba=[null,null,null,null],this;if(c.jquery||c.nodeType)c=a(c).css(d),d=b;var i=this,j=a.type(c),o=this._rgba=[];d!==b&&(c=[c,d,e,h],j="array");if(j==="string")return this.parse(n(c)||k._default);if(j==="array")return l(g.rgba.props,function(a,b){o[b.idx]=m(c[b.idx],b)}),this;if(j==="object")return c instanceof f?l(g,function(a,b){c[b.cache]&&(i[b.cache]=c[b.cache].slice())}):l(g,function(b,d){var e=d.cache;l(d.props,function(a,b){if(!i[e]&&d.to){if(a==="alpha"||c[a]==null)return;i[e]=d.to(i._rgba)}i[e][b.idx]=m(c[a],b,!0)}),i[e]&&a.inArray(null,i[e].slice(0,3))<0&&(i[e][3]=1,d.from&&(i._rgba=d.from(i[e])))}),this},is:function(a){var b=f(a),c=!0,d=this;return l(g,function(a,e){var f,g=b[e.cache];return g&&(f=d[e.cache]||e.to&&e.to(d._rgba)||[],l(e.props,function(a,b){if(g[b.idx]!=null)return c=g[b.idx]===f[b.idx],c})),c}),c},_space:function(){var a=[],b=this;return l(g,function(c,d){b[d.cache]&&a.push(c)}),a.pop()},transition:function(a,b){var c=f(a),d=c._space(),e=g[d],i=this.alpha()===0?f("transparent"):this,j=i[e.cache]||e.to(i._rgba),k=j.slice();return c=c[e.cache],l(e.props,function(a,d){var e=d.idx,f=j[e],g=c[e],i=h[d.type]||{};if(g===null)return;f===null?k[e]=g:(i.mod&&(g-f>i.mod/2?f+=i.mod:f-g>i.mod/2&&(f-=i.mod)),k[e]=m((g-f)*b+f,d))}),this[d](k)},blend:function(b){if(this._rgba[3]===1)return this;var c=this._rgba.slice(),d=c.pop(),e=f(b)._rgba;return f(a.map(c,function(a,b){return(1-d)*e[b]+d*a}))},toRgbaString:function(){var b="rgba(",c=a.map(this._rgba,function(a,b){return a==null?b>2?1:0:a});return c[3]===1&&(c.pop(),b="rgb("),b+c.join()+")"},toHslaString:function(){var b="hsla(",c=a.map(this.hsla(),function(a,b){return a==null&&(a=b>2?1:0),b&&b<3&&(a=Math.round(a*100)+"%"),a});return c[3]===1&&(c.pop(),b="hsl("),b+c.join()+")"},toHexString:function(b){var c=this._rgba.slice(),d=c.pop();return b&&c.push(~~(d*255)),"#"+a.map(c,function(a){return a=(a||0).toString(16),a.length===1?"0"+a:a}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}}),f.fn.parse.prototype=f.fn,g.hsla.to=function(a){if(a[0]==null||a[1]==null||a[2]==null)return[null,null,null,a[3]];var b=a[0]/255,c=a[1]/255,d=a[2]/255,e=a[3],f=Math.max(b,c,d),g=Math.min(b,c,d),h=f-g,i=f+g,j=i*.5,k,l;return g===f?k=0:b===f?k=60*(c-d)/h+360:c===f?k=60*(d-b)/h+120:k=60*(b-c)/h+240,h===0?l=0:j<=.5?l=h/i:l=h/(2-i),[Math.round(k)%360,l,j,e==null?1:e]},g.hsla.from=function(a){if(a[0]==null||a[1]==null||a[2]==null)return[null,null,null,a[3]];var b=a[0]/360,c=a[1],d=a[2],e=a[3],f=d<=.5?d*(1+c):d+c-d*c,g=2*d-f;return[Math.round(o(g,f,b+1/3)*255),Math.round(o(g,f,b)*255),Math.round(o(g,f,b-1/3)*255),e]},l(g,function(c,e){var g=e.props,h=e.cache,i=e.to,j=e.from;f.fn[c]=function(c){i&&!this[h]&&(this[h]=i(this._rgba));if(c===b)return this[h].slice();var d,e=a.type(c),k=e==="array"||e==="object"?c:arguments,n=this[h].slice();return l(g,function(a,b){var c=k[e==="object"?a:b.idx];c==null&&(c=n[b.idx]),n[b.idx]=m(c,b)}),j?(d=f(j(n)),d[h]=n,d):f(n)},l(g,function(b,e){if(f.fn[b])return;f.fn[b]=function(f){var g=a.type(f),h=b==="alpha"?this._hsla?"hsla":"rgba":c,i=this[h](),j=i[e.idx],k;return g==="undefined"?j:(g==="function"&&(f=f.call(this,j),g=a.type(f)),f==null&&e.empty?this:(g==="string"&&(k=d.exec(f),k&&(f=j+parseFloat(k[2])*(k[1]==="+"?1:-1))),i[e.idx]=f,this[h](i)))}})}),f.hook=function(b){var c=b.split(" ");l(c,function(b,c){a.cssHooks[c]={set:function(b,d){var e,g,h="";if(d!=="transparent"&&(a.type(d)!=="string"||(e=n(d)))){d=f(e||d);if(!i.rgba&&d._rgba[3]!==1){g=c==="backgroundColor"?b.parentNode:b;while((h===""||h==="transparent")&&g&&g.style)try{h=a.css(g,"backgroundColor"),g=g.parentNode}catch(j){}d=d.blend(h&&h!=="transparent"?h:"_default")}d=d.toRgbaString()}try{b.style[c]=d}catch(j){}}},a.fx.step[c]=function(b){b.colorInit||(b.start=f(b.elem,c),b.end=f(b.end),b.colorInit=!0),a.cssHooks[c].set(b.elem,b.start.transition(b.end,b.pos))}})},f.hook(c),a.cssHooks.borderColor={expand:function(a){var b={};return l(["Top","Right","Bottom","Left"],function(c,d){b["border"+d+"Color"]=a}),b}},k=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery),jQuery.extend(jQuery.Color.names,{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32"});
/*! jQuery Mobile v1.4.5 | Copyright 2010, 2014 jQuery Foundation, Inc. | jquery.org/license */

(function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,r){"$:nomunge";function l(e){return e=e||location.href,"#"+e.replace(/^[^#]*#?(.*)$/,"$1")}var i="hashchange",s=n,o,u=e.event.special,a=s.documentMode,f="on"+i in t&&(a===r||a>7);e.fn[i]=function(e){return e?this.bind(i,e):this.trigger(i)},e.fn[i].delay=50,u[i]=e.extend(u[i],{setup:function(){if(f)return!1;e(o.start)},teardown:function(){if(f)return!1;e(o.stop)}}),o=function(){function p(){var n=l(),r=h(u);n!==u?(c(u=n,r),e(t).trigger(i)):r!==u&&(location.href=location.href.replace(/#.*/,"")+r),o=setTimeout(p,e.fn[i].delay)}var n={},o,u=l(),a=function(e){return e},c=a,h=a;return n.start=function(){o||p()},n.stop=function(){o&&clearTimeout(o),o=r},t.attachEvent&&!t.addEventListener&&!f&&function(){var t,r;n.start=function(){t||(r=e.fn[i].src,r=r&&r+l(),t=e('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||c(l()),p()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow,s.onpropertychange=function(){try{event.propertyName==="title"&&(t.document.title=s.title)}catch(e){}})},n.stop=a,h=function(){return l(t.location.href)},c=function(n,r){var o=t.document,u=e.fn[i].domain;n!==r&&(o.title=s.title,o.open(),u&&o.write('<script>document.domain="'+u+'"</script>'),o.close(),t.location.hash=n)}}(),n}()})(e,this),function(e){e.mobile={}}(e),function(e,t,n){e.extend(e.mobile,{version:"1.4.5",subPageUrlKey:"ui-page",hideUrlBar:!0,keepNative:":jqmData(role='none'), :jqmData(role='nojs')",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:!0,hashListeningEnabled:!0,linkBindingEnabled:!0,defaultPageTransition:"fade",maxTransitionWidth:!1,minScrollBack:0,defaultDialogTransition:"pop",pageLoadErrorMessage:"Error Loading Page",pageLoadErrorMessageTheme:"a",phonegapNavigationEnabled:!1,autoInitializePage:!0,pushStateEnabled:!0,ignoreContentEnabled:!1,buttonMarkup:{hoverDelay:200},dynamicBaseEnabled:!0,pageContainer:e(),allowCrossDomainPages:!1,dialogHashKey:"&ui-state=dialog"})}(e,this),function(e,t,n){var r={},i=e.find,s=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,o=/:jqmData\(([^)]*)\)/g;e.extend(e.mobile,{ns:"",getAttribute:function(t,n){var r;t=t.jquery?t[0]:t,t&&t.getAttribute&&(r=t.getAttribute("data-"+e.mobile.ns+n));try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:s.test(r)?JSON.parse(r):r}catch(i){}return r},nsNormalizeDict:r,nsNormalize:function(t){return r[t]||(r[t]=e.camelCase(e.mobile.ns+t))},closestPageData:function(e){return e.closest(":jqmData(role='page'), :jqmData(role='dialog')").data("mobile-page")}}),e.fn.jqmData=function(t,r){var i;return typeof t!="undefined"&&(t&&(t=e.mobile.nsNormalize(t)),arguments.length<2||r===n?i=this.data(t):i=this.data(t,r)),i},e.jqmData=function(t,n,r){var i;return typeof n!="undefined"&&(i=e.data(t,n?e.mobile.nsNormalize(n):n,r)),i},e.fn.jqmRemoveData=function(t){return this.removeData(e.mobile.nsNormalize(t))},e.jqmRemoveData=function(t,n){return e.removeData(t,e.mobile.nsNormalize(n))},e.find=function(t,n,r,s){return t.indexOf(":jqmData")>-1&&(t=t.replace(o,"[data-"+(e.mobile.ns||"")+"$1]")),i.call(this,t,n,r,s)},e.extend(e.find,i)}(e,this),function(e,t){function s(t,n){var r,i,s,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(s=e("img[usemap=#"+i+"]")[0],!!s&&o(s))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&o(t)}function o(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return e.css(this,"visibility")==="hidden"}).length}var r=0,i=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"c0ab71056b936627e8a7821f03c044aec6280a40",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(this[0].ownerDocument||n):t},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},removeUniqueId:function(){return this.each(function(){i.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return s(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&s(t,!r)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in n.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(r){if(r!==t)return this.css("zIndex",r);if(this.length){var i=e(this[0]),s,o;while(i.length&&i[0]!==n){s=i.css("position");if(s==="absolute"||s==="relative"||s==="fixed"){o=parseInt(i.css("zIndex"),10);if(!isNaN(o)&&o!==0)return o}i=i.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i<s.length;i++)e.options[s[i][0]]&&s[i][1].apply(e.element,n)}}}(e),function(e,t,r){var i=function(t,n){var r=t.parent(),i=[],s=function(){var t=e(this),n=e.mobile.toolbar&&t.data("mobile-toolbar")?t.toolbar("option"):{position:t.attr("data-"+e.mobile.ns+"position"),updatePagePadding:t.attr("data-"+e.mobile.ns+"update-page-padding")!==!1};return n.position!=="fixed"||n.updatePagePadding!==!0},o=r.children(":jqmData(role='header')").filter(s),u=t.children(":jqmData(role='header')"),a=r.children(":jqmData(role='footer')").filter(s),f=t.children(":jqmData(role='footer')");return u.length===0&&o.length>0&&(i=i.concat(o.toArray())),f.length===0&&a.length>0&&(i=i.concat(a.toArray())),e.each(i,function(t,r){n-=e(r).outerHeight()}),Math.max(0,n)};e.extend(e.mobile,{window:e(t),document:e(n),keyCode:e.ui.keyCode,behaviors:{},silentScroll:function(n){e.type(n)!=="number"&&(n=e.mobile.defaultHomeScroll),e.event.special.scrollstart.enabled=!1,setTimeout(function(){t.scrollTo(0,n),e.mobile.document.trigger("silentscroll",{x:0,y:n})},20),setTimeout(function(){e.event.special.scrollstart.enabled=!0},150)},getClosestBaseUrl:function(t){var n=e(t).closest(".ui-page").jqmData("url"),r=e.mobile.path.documentBase.hrefNoHash;if(!e.mobile.dynamicBaseEnabled||!n||!e.mobile.path.isPath(n))n=r;return e.mobile.path.makeUrlAbsolute(n,r)},removeActiveLinkClass:function(t){!!e.mobile.activeClickedLink&&(!e.mobile.activeClickedLink.closest("."+e.mobile.activePageClass).length||t)&&e.mobile.activeClickedLink.removeClass(e.mobile.activeBtnClass),e.mobile.activeClickedLink=null},getInheritedTheme:function(e,t){var n=e[0],r="",i=/ui-(bar|body|overlay)-([a-z])\b/,s,o;while(n){s=n.className||"";if(s&&(o=i.exec(s))&&(r=o[2]))break;n=n.parentNode}return r||t||"a"},enhanceable:function(e){return this.haveParents(e,"enhance")},hijackable:function(e){return this.haveParents(e,"ajax")},haveParents:function(t,n){if(!e.mobile.ignoreContentEnabled)return t;var r=t.length,i=e(),s,o,u,a,f;for(a=0;a<r;a++){o=t.eq(a),u=!1,s=t[a];while(s){f=s.getAttribute?s.getAttribute("data-"+e.mobile.ns+n):"";if(f==="false"){u=!0;break}s=s.parentNode}u||(i=i.add(o))}return i},getScreenHeight:function(){return t.innerHeight||e.mobile.window.height()},resetActivePageHeight:function(t){var n=e("."+e.mobile.activePageClass),r=n.height(),s=n.outerHeight(!0);t=i(n,typeof t=="number"?t:e.mobile.getScreenHeight()),n.css("min-height",""),n.height()<t&&n.css("min-height",t-(s-r))},loading:function(){var t=this.loading._widget||e(e.mobile.loader.prototype.defaultHtml).loader(),n=t.loader.apply(t,arguments);return this.loading._widget=t,n}}),e.addDependents=function(t,n){var r=e(t),i=r.jqmData("dependents")||e();r.jqmData("dependents",e(i).add(n))},e.fn.extend({removeWithDependents:function(){e.removeWithDependents(this)},enhanceWithin:function(){var t,n={},r=e.mobile.page.prototype.keepNativeSelector(),i=this;e.mobile.nojs&&e.mobile.nojs(this),e.mobile.links&&e.mobile.links(this),e.mobile.degradeInputsWithin&&e.mobile.degradeInputsWithin(this),e.fn.buttonMarkup&&this.find(e.fn.buttonMarkup.initSelector).not(r).jqmEnhanceable().buttonMarkup(),e.fn.fieldcontain&&this.find(":jqmData(role='fieldcontain')").not(r).jqmEnhanceable().fieldcontain(),e.each(e.mobile.widgets,function(t,s){if(s.initSelector){var o=e.mobile.enhanceable(i.find(s.initSelector));o.length>0&&(o=o.not(r)),o.length>0&&(n[s.prototype.widgetName]=o)}});for(t in n)n[t][t]();return this},addDependents:function(t){e.addDependents(this,t)},getEncodedText:function(){return e("<a>").text(this.text()).html()},jqmEnhanceable:function(){return e.mobile.enhanceable(this)},jqmHijackable:function(){return e.mobile.hijackable(this)}}),e.removeWithDependents=function(t){var n=e(t);(n.jqmData("dependents")||e()).remove(),n.remove()},e.addDependents=function(t,n){var r=e(t),i=r.jqmData("dependents")||e();r.jqmData("dependents",e(i).add(n))},e.find.matches=function(t,n){return e.find(t,null,null,n)},e.find.matchesSelector=function(t,n){return e.find(n,null,null,[t]).length>0}}(e,this),function(e,r){t.matchMedia=t.matchMedia||function(e,t){var n,r=e.documentElement,i=r.firstElementChild||r.firstChild,s=e.createElement("body"),o=e.createElement("div");return o.id="mq-test-1",o.style.cssText="position:absolute;top:-100em",s.style.background="none",s.appendChild(o),function(e){return o.innerHTML='&shy;<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',r.insertBefore(s,i),n=o.offsetWidth===42,r.removeChild(s),{matches:n,media:e}}}(n),e.mobile.media=function(e){return t.matchMedia(e).matches}}(e),function(e,t){var r={touch:"ontouchend"in n};e.mobile.support=e.mobile.support||{},e.extend(e.support,r),e.extend(e.mobile.support,r)}(e),function(e,n){e.extend(e.support,{orientation:"orientation"in t&&"onorientationchange"in t})}(e),function(e,r){function i(e){var t=e.charAt(0).toUpperCase()+e.substr(1),n=(e+" "+u.join(t+" ")+t).split(" "),i;for(i in n)if(o[n[i]]!==r)return!0}function h(){var n=t,r=!!n.document.createElementNS&&!!n.document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect&&(!n.opera||navigator.userAgent.indexOf("Chrome")!==-1),i=function(t){(!t||!r)&&e("html").addClass("ui-nosvg")},s=new n.Image;s.onerror=function(){i(!1)},s.onload=function(){i(s.width===1&&s.height===1)},s.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="}function p(){var i="transform-3d",o=e.mobile.media("(-"+u.join("-"+i+"),(-")+"-"+i+"),("+i+")"),a,f,l;if(o)return!!o;a=n.createElement("div"),f={MozTransform:"-moz-transform",transform:"transform"},s.append(a);for(l in f)a.style[l]!==r&&(a.style[l]="translate3d( 100px, 1px, 1px )",o=t.getComputedStyle(a).getPropertyValue(f[l]));return!!o&&o!=="none"}function d(){var t=location.protocol+"//"+location.host+location.pathname+"ui-dir/",n=e("head base"),r=null,i="",o,u;return n.length?i=n.attr("href"):n=r=e("<base>",{href:t}).appendTo("head"),o=e("<a href='testurl' />").prependTo(s),u=o[0].href,n[0].href=i||location.pathname,r&&r.remove(),u.indexOf(t)===0}function v(){var e=n.createElement("x"),r=n.documentElement,i=t.getComputedStyle,s;return"pointerEvents"in e.style?(e.style.pointerEvents="auto",e.style.pointerEvents="x",r.appendChild(e),s=i&&i(e,"").pointerEvents==="auto",r.removeChild(e),!!s):!1}function m(){var e=n.createElement("div");return typeof e.getBoundingClientRect!="undefined"}function g(){var e=t,n=navigator.userAgent,r=navigator.platform,i=n.match(/AppleWebKit\/([0-9]+)/),s=!!i&&i[1],o=n.match(/Fennec\/([0-9]+)/),u=!!o&&o[1],a=n.match(/Opera Mobi\/([0-9]+)/),f=!!a&&a[1];return(r.indexOf("iPhone")>-1||r.indexOf("iPad")>-1||r.indexOf("iPod")>-1)&&s&&s<534||e.operamini&&{}.toString.call(e.operamini)==="[object OperaMini]"||a&&f<7458||n.indexOf("Android")>-1&&s&&s<533||u&&u<6||"palmGetResource"in t&&s&&s<534||n.indexOf("MeeGo")>-1&&n.indexOf("NokiaBrowser/8.5.0")>-1?!1:!0}var s=e("<body>").prependTo("html"),o=s[0].style,u=["Webkit","Moz","O"],a="palmGetResource"in t,f=t.operamini&&{}.toString.call(t.operamini)==="[object OperaMini]",l=t.blackberry&&!i("-webkit-transform"),c;e.extend(e.mobile,{browser:{}}),e.mobile.browser.oldIE=function(){var e=3,t=n.createElement("div"),r=t.all||[];do t.innerHTML="<!--[if gt IE "+ ++e+"]><br><![endif]-->";while(r[0]);return e>4?e:!e}(),e.extend(e.support,{pushState:"pushState"in history&&"replaceState"in history&&!(t.navigator.userAgent.indexOf("Firefox")>=0&&t.top!==t)&&t.navigator.userAgent.search(/CriOS/)===-1,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!i("content"),touchOverflow:!!i("overflowScrolling"),cssTransform3d:p(),boxShadow:!!i("boxShadow")&&!l,fixedPosition:g(),scrollTop:("pageXOffset"in t||"scrollTop"in n.documentElement||"scrollTop"in s[0])&&!a&&!f,dynamicBaseTag:d(),cssPointerEvents:v(),boundingRect:m(),inlineSVG:h}),s.remove(),c=function(){var e=t.navigator.userAgent;return e.indexOf("Nokia")>-1&&(e.indexOf("Symbian/3")>-1||e.indexOf("Series60/5")>-1)&&e.indexOf("AppleWebKit")>-1&&e.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}(),e.mobile.gradeA=function(){return(e.support.mediaquery&&e.support.cssPseudoElement||e.mobile.browser.oldIE&&e.mobile.browser.oldIE>=8)&&(e.support.boundingRect||e.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/)!==null)},e.mobile.ajaxBlacklist=t.blackberry&&!t.WebKitPoint||f||c,c&&e(function(){e("head link[rel='stylesheet']").attr("rel","alternate stylesheet").attr("rel","stylesheet")}),e.support.boxShadow||e("html").addClass("ui-noboxshadow")}(e),function(e,t){var n=e.mobile.window,r,i=function(){};e.event.special.beforenavigate={setup:function(){n.on("navigate",i)},teardown:function(){n.off("navigate",i)}},e.event.special.navigate=r={bound:!1,pushStateEnabled:!0,originalEventName:t,isPushStateEnabled:function(){return e.support.pushState&&e.mobile.pushStateEnabled===!0&&this.isHashChangeEnabled()},isHashChangeEnabled:function(){return e.mobile.hashListeningEnabled===!0},popstate:function(t){var r=new e.Event("navigate"),i=new e.Event("beforenavigate"),s=t.originalEvent.state||{};i.originalEvent=t,n.trigger(i);if(i.isDefaultPrevented())return;t.historyState&&e.extend(s,t.historyState),r.originalEvent=t,setTimeout(function(){n.trigger(r,{state:s})},0)},hashchange:function(t){var r=new e.Event("navigate"),i=new e.Event("beforenavigate");i.originalEvent=t,n.trigger(i);if(i.isDefaultPrevented())return;r.originalEvent=t,n.trigger(r,{state:t.hashchangeState||{}})},setup:function(){if(r.bound)return;r.bound=!0,r.isPushStateEnabled()?(r.originalEventName="popstate",n.bind("popstate.navigate",r.popstate)):r.isHashChangeEnabled()&&(r.originalEventName="hashchange",n.bind("hashchange.navigate",r.hashchange))}}}(e),function(e){e.event.special.throttledresize={setup:function(){e(this).bind("resize",n)},teardown:function(){e(this).unbind("resize",n)}};var t=250,n=function(){s=(new Date).getTime(),o=s-r,o>=t?(r=s,e(this).trigger("throttledresize")):(i&&clearTimeout(i),i=setTimeout(n,t-o))},r=0,i,s,o}(e),function(e,t){function p(){var e=s();e!==o&&(o=e,r.trigger(i))}var r=e(t),i="orientationchange",s,o,u,a,f={0:!0,180:!0},l,c,h;if(e.support.orientation){l=t.innerWidth||r.width(),c=t.innerHeight||r.height(),h=50,u=l>c&&l-c>h,a=f[t.orientation];if(u&&a||!u&&!a)f={"-90":!0,90:!0}}e.event.special.orientationchange=e.extend({},e.event.special.orientationchange,{setup:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled)return!1;o=s(),r.bind("throttledresize",p)},teardown:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled)return!1;r.unbind("throttledresize",p)},add:function(e){var t=e.handler;e.handler=function(e){return e.orientation=s(),t.apply(this,arguments)}}}),e.event.special.orientationchange.orientation=s=function(){var r=!0,i=n.documentElement;return e.support.orientation?r=f[t.orientation]:r=i&&i.clientWidth/i.clientHeight<1.1,r?"portrait":"landscape"},e.fn[i]=function(e){return e?this.bind(i,e):this.trigger(i)},e.attrFn&&(e.attrFn[i]=!0)}(e,this),function(e,t,n,r){function T(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function N(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;d<v;d++)l=u[d],t[l]=h[l]}return t}function C(t){var n={},r,s;while(t){r=e.data(t,i);for(s in r)r[s]&&(n[s]=n.hasVirtualBinding=!0);t=t.parentNode}return n}function k(t,n){var r;while(t){r=e.data(t,i);if(r&&(!n||r[n]))return t;t=t.parentNode}return null}function L(){g=!1}function A(){g=!0}function O(){E=0,v.length=0,m=!1,A()}function M(){L()}function _(){D(),c=setTimeout(function(){c=0,O()},e.vmouse.resetTimerDuration)}function D(){c&&(clearTimeout(c),c=0)}function P(t,n,r){var i;if(r&&r[t]||!r&&k(n.target,t))i=N(n,t),e(n.target).trigger(i);return i}function H(t){var n=e.data(t.target,s),r;!m&&(!E||E!==n)&&(r=P("v"+t.type,t),r&&(r.isDefaultPrevented()&&t.preventDefault(),r.isPropagationStopped()&&t.stopPropagation(),r.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function B(t){var n=T(t).touches,r,i,o;n&&n.length===1&&(r=t.target,i=C(r),i.hasVirtualBinding&&(E=w++,e.data(r,s,E),D(),M(),d=!1,o=T(t).touches[0],h=o.pageX,p=o.pageY,P("vmouseover",t,i),P("vmousedown",t,i)))}function j(e){if(g)return;d||P("vmousecancel",e,C(e.target)),d=!0,_()}function F(t){if(g)return;var n=T(t).touches[0],r=d,i=e.vmouse.moveDistanceThreshold,s=C(t.target);d=d||Math.abs(n.pageX-h)>i||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,H),e(this).bind(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",B).bind("touchend",I).bind("touchmove",F).bind("scroll",j))},teardown:function(){--l[t],l[t]||b.unbind(n,H),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",B).unbind("touchmove",F).unbind("touchend",I).unbind("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.unbind(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;x<o.length;x++)e.event.special[o[x]]=U(o[x]);y&&n.addEventListener("click",function(t){var n=v.length,r=t.target,i,o,u,a,f,l;if(n){i=t.clientX,o=t.clientY,S=e.vmouse.clickDistanceThreshold,u=r;while(u){for(a=0;a<n;a++){f=v[a],l=0;if(u===r&&Math.abs(f.x-i)<S&&Math.abs(f.y-o)<S||e.data(u,s)===f.touchID){t.preventDefault(),t.stopPropagation();return}}u=u.parentNode}}},!0)}(e,t,n),function(e,t,r){function l(t,n,i,s){var o=i.type;i.type=n,s?e.event.trigger(i,r,t):e.event.dispatch.call(t,i),i.type=o}var i=e(n),s=e.mobile.support.touch,o="touchmove scroll",u=s?"touchstart":"mousedown",a=s?"touchend":"mouseup",f=s?"touchmove":"mousemove";e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)}),e.event.special.scrollstart={enabled:!0,setup:function(){function s(e,n){r=n,l(t,r?"scrollstart":"scrollstop",e)}var t=this,n=e(t),r,i;n.bind(o,function(t){if(!e.event.special.scrollstart.enabled)return;r||s(t,!0),clearTimeout(i),i=setTimeout(function(){s(t,!1)},50)})},teardown:function(){e(this).unbind(o)}},e.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var t=this,n=e(t),r=!1;n.bind("vmousedown",function(s){function a(){clearTimeout(u)}function f(){a(),n.unbind("vclick",c).unbind("vmouseup",a),i.unbind("vmousecancel",f)}function c(e){f(),!r&&o===e.target?l(t,"tap",e):r&&e.preventDefault()}r=!1;if(s.which&&s.which!==1)return!1;var o=s.target,u;n.bind("vmouseup",a).bind("vclick",c),i.bind("vmousecancel",f),u=setTimeout(function(){e.event.special.tap.emitTapOnTaphold||(r=!0),l(t,"taphold",e.Event("taphold",{target:o}))},e.event.special.tap.tapholdThreshold)})},teardown:function(){e(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup"),i.unbind("vmousecancel")}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:30,getLocation:function(e){var n=t.pageXOffset,r=t.pageYOffset,i=e.clientX,s=e.clientY;if(e.pageY===0&&Math.floor(s)>Math.floor(e.pageY)||e.pageX===0&&Math.floor(i)>Math.floor(e.pageX))i-=n,s-=r;else if(s<e.pageY-r||i<e.pageX-n)i=e.pageX-n,s=e.pageY-r;return{x:i,y:s}},start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,r=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[r.x,r.y],origin:e(t.target)}},stop:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,r=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[r.x,r.y]}},handleSwipe:function(t,n,r,i){if(n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var s=t.coords[0]>n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(e.event.special.swipe.eventInProgress)return;e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){if(!o||t.isDefaultPrevented())return;r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)},r.on(u,s.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,t.length===0&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)});
/*!
 * Masonry PACKAGED v3.2.2
 * Cascading grid layout library
 * http://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */

!function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],c):c("object"==typeof exports?require("jquery"):a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):"object"==typeof exports?module.exports=f:a.eventie=f}(this),function(a){function b(a){"function"==typeof a&&(b.isReady?a():g.push(a))}function c(a){var c="readystatechange"===a.type&&"complete"!==f.readyState;b.isReady||c||d()}function d(){b.isReady=!0;for(var a=0,c=g.length;c>a;a++){var d=g[a];d()}}function e(e){return"complete"===f.readyState?d():(e.bind(f,"DOMContentLoaded",c),e.bind(f,"readystatechange",c),e.bind(a,"load",c)),b}var f=a.document,g=[];b.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],e):"object"==typeof exports?module.exports=e(require("eventie")):a.docReady=e(a.eventie)}(window),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;b<a.length;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;b<a.length;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if(a instanceof RegExp)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:e.EventEmitter=a}.call(this),function(a){function b(a){if(a){if("string"==typeof d[a])return a;a=a.charAt(0).toUpperCase()+a.slice(1);for(var b,e=0,f=c.length;f>e;e++)if(b=c[e]+a,"string"==typeof d[b])return b}}var c="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return b}):"object"==typeof exports?module.exports=b:a.getStyleProperty=b}(window),function(a){function b(a){var b=parseFloat(a),c=-1===a.indexOf("%")&&!isNaN(b);return c&&b}function c(){}function d(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0,c=g.length;c>b;b++){var d=g[b];a[d]=0}return a}function e(c){function e(){if(!m){m=!0;var d=a.getComputedStyle;if(j=function(){var a=d?function(a){return d(a,null)}:function(a){return a.currentStyle};return function(b){var c=a(b);return c||f("Style returned "+c+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),c}}(),k=c("boxSizing")){var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style[k]="border-box";var g=document.body||document.documentElement;g.appendChild(e);var h=j(e);l=200===b(h.width),g.removeChild(e)}}}function h(a){if(e(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var c=j(a);if("none"===c.display)return d();var f={};f.width=a.offsetWidth,f.height=a.offsetHeight;for(var h=f.isBorderBox=!(!k||!c[k]||"border-box"!==c[k]),m=0,n=g.length;n>m;m++){var o=g[m],p=c[o];p=i(a,p);var q=parseFloat(p);f[o]=isNaN(q)?0:q}var r=f.paddingLeft+f.paddingRight,s=f.paddingTop+f.paddingBottom,t=f.marginLeft+f.marginRight,u=f.marginTop+f.marginBottom,v=f.borderLeftWidth+f.borderRightWidth,w=f.borderTopWidth+f.borderBottomWidth,x=h&&l,y=b(c.width);y!==!1&&(f.width=y+(x?0:r+v));var z=b(c.height);return z!==!1&&(f.height=z+(x?0:s+w)),f.innerWidth=f.width-(r+v),f.innerHeight=f.height-(s+w),f.outerWidth=f.width+t,f.outerHeight=f.height+u,f}}function i(b,c){if(a.getComputedStyle||-1===c.indexOf("%"))return c;var d=b.style,e=d.left,f=b.runtimeStyle,g=f&&f.left;return g&&(f.left=b.currentStyle.left),d.left=c,c=d.pixelLeft,d.left=e,g&&(f.left=g),c}var j,k,l,m=!1;return h}var f="undefined"==typeof console?c:function(a){console.error(a)},g=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property")):a.getSize=e(a.getStyleProperty)}(window),function(a){function b(a,b){return a[g](b)}function c(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function d(a,b){c(a);for(var d=a.parentNode.querySelectorAll(b),e=0,f=d.length;f>e;e++)if(d[e]===a)return!0;return!1}function e(a,d){return c(a),b(a,d)}var f,g=function(){if(a.matchesSelector)return"matchesSelector";for(var b=["webkit","moz","ms","o"],c=0,d=b.length;d>c;c++){var e=b[c],f=e+"MatchesSelector";if(a[f])return f}}();if(g){var h=document.createElement("div"),i=b(h,"div");f=i?b:e}else f=d;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return f}):"object"==typeof exports?module.exports=f:window.matchesSelector=f}(Element.prototype),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){for(var b in a)return!1;return b=null,!0}function d(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function e(a,e,f){function h(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}var i=f("transition"),j=f("transform"),k=i&&j,l=!!f("perspective"),m={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[i],n=["transform","transition","transitionDuration","transitionProperty"],o=function(){for(var a={},b=0,c=n.length;c>b;b++){var d=n[b],e=f(d);e&&e!==d&&(a[d]=e)}return a}();b(h.prototype,a.prototype),h.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},h.prototype.getSize=function(){this.size=e(this.element)},h.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=o[c]||c;b[d]=a[c]}},h.prototype.getPosition=function(){var a=g(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=parseInt(a[c?"left":"right"],10),f=parseInt(a[d?"top":"bottom"],10);e=isNaN(e)?0:e,f=isNaN(f)?0:f;var h=this.layout.size;e-=c?h.paddingLeft:h.paddingRight,f-=d?h.paddingTop:h.paddingBottom,this.position.x=e,this.position.y=f},h.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={};b.isOriginLeft?(c.left=this.position.x+a.paddingLeft+"px",c.right=""):(c.right=this.position.x+a.paddingRight+"px",c.left=""),b.isOriginTop?(c.top=this.position.y+a.paddingTop+"px",c.bottom=""):(c.bottom=this.position.y+a.paddingBottom+"px",c.top=""),this.css(c),this.emitEvent("layout",[this])};var p=l?function(a,b){return"translate3d("+a+"px, "+b+"px, 0)"}:function(a,b){return"translate("+a+"px, "+b+"px)"};h.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={},k=this.layout.options;h=k.isOriginLeft?h:-h,i=k.isOriginTop?i:-i,j.transform=p(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},h.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},h.prototype.moveTo=k?h.prototype._transitionTo:h.prototype.goTo,h.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},h.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},h.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var q=j&&d(j)+",opacity";h.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:q,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(m,this,!1))},h.prototype.transition=h.prototype[i?"_transition":"_nonTransition"],h.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},h.prototype.onotransitionend=function(a){this.ontransitionend(a)};var r={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};h.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,d=r[a.propertyName]||a.propertyName;if(delete b.ingProperties[d],c(b.ingProperties)&&this.disableTransition(),d in b.clean&&(this.element.style[a.propertyName]="",delete b.clean[d]),d in b.onEnd){var e=b.onEnd[d];e.call(this),delete b.onEnd[d]}this.emitEvent("transitionEnd",[this])}},h.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(m,this,!1),this.isTransitioning=!1},h.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]="";this.css(b)};var s={transitionProperty:"",transitionDuration:""};return h.prototype.removeTransitionStyles=function(){this.css(s)},h.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},h.prototype.remove=function(){if(!i||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.on("transitionEnd",function(){return a.removeElem(),!0}),this.hide()},h.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var a=this.layout.options;this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0})},h.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var a=this.layout.options;this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},h.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},h}var f=a.getComputedStyle,g=f?function(a){return f(a,null)}:function(a){return a.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property")):(a.Outlayer={},a.Outlayer.Item=e(a.EventEmitter,a.getSize,a.getStyleProperty))}(window),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){return"[object Array]"===l.call(a)}function d(a){var b=[];if(c(a))b=a;else if(a&&"number"==typeof a.length)for(var d=0,e=a.length;e>d;d++)b.push(a[d]);else b.push(a);return b}function e(a,b){var c=n(b,a);-1!==c&&b.splice(c,1)}function f(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+"-"+c}).toLowerCase()}function g(c,g,l,n,o,p){function q(a,c){if("string"==typeof a&&(a=h.querySelector(a)),!a||!m(a))return void(i&&i.error("Bad "+this.constructor.namespace+" element: "+a));this.element=a,this.options=b({},this.constructor.defaults),this.option(c);var d=++r;this.element.outlayerGUID=d,s[d]=this,this._create(),this.options.isInitLayout&&this.layout()}var r=0,s={};return q.namespace="outlayer",q.Item=p,q.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},b(q.prototype,l.prototype),q.prototype.option=function(a){b(this.options,a)},q.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),b(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},q.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},q.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},q.prototype._filterFindItemElements=function(a){a=d(a);for(var b=this.options.itemSelector,c=[],e=0,f=a.length;f>e;e++){var g=a[e];if(m(g))if(b){o(g,b)&&c.push(g);for(var h=g.querySelectorAll(b),i=0,j=h.length;j>i;i++)c.push(h[i])}else c.push(g)}return c},q.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},q.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},q.prototype._init=q.prototype.layout,q.prototype._resetLayout=function(){this.getSize()},q.prototype.getSize=function(){this.size=n(this.element)},q.prototype._getMeasurement=function(a,b){var c,d=this.options[a];d?("string"==typeof d?c=this.element.querySelector(d):m(d)&&(c=d),this[a]=c?n(c)[b]:d):this[a]=0},q.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},q.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},q.prototype._layoutItems=function(a,b){function c(){d.emitEvent("layoutComplete",[d,a])}var d=this;if(!a||!a.length)return void c();this._itemsOn(a,"layout",c);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f],i=this._getItemLayoutPosition(h);i.item=h,i.isInstant=b||h.isLayoutInstant,e.push(i)}this._processLayoutQueue(e)},q.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},q.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},q.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},q.prototype._postLayout=function(){this.resizeContainer()},q.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},q.prototype._getContainerSize=k,q.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?"width":"height"]=a+"px"}},q.prototype._itemsOn=function(a,b,c){function d(){return e++,e===f&&c.call(g),!0}for(var e=0,f=a.length,g=this,h=0,i=a.length;i>h;h++){var j=a[h];j.on(b,d)}},q.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},q.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored},q.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},q.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e(d,this.stamps),this.unignore(d)}},q.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=d(a)):void 0},q.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp(c)}}},q.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},q.prototype._manageStamp=k,q.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,d=n(a),e={left:b.left-c.left-d.marginLeft,top:b.top-c.top-d.marginTop,right:c.right-b.right-d.marginRight,bottom:c.bottom-b.bottom-d.marginBottom};return e},q.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},q.prototype.bindResize=function(){this.isResizeBound||(c.bind(a,"resize",this),this.isResizeBound=!0)},q.prototype.unbindResize=function(){this.isResizeBound&&c.unbind(a,"resize",this),this.isResizeBound=!1},q.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},q.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},q.prototype.needsResizeLayout=function(){var a=n(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},q.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},q.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},q.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat(c),this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems(c)}},q.prototype.reveal=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.reveal()}},q.prototype.hide=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.hide()}},q.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},q.prototype.getItems=function(a){if(a&&a.length){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c],f=this.getItem(e);f&&b.push(f)}return b}},q.prototype.remove=function(a){a=d(a);var b=this.getItems(a);if(b&&b.length){this._itemsOn(b,"remove",function(){this.emitEvent("removeComplete",[this,b])});for(var c=0,f=b.length;f>c;c++){var g=b[c];g.remove(),e(g,this.items)}}},q.prototype.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="";for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize();var e=this.element.outlayerGUID;delete s[e],delete this.element.outlayerGUID,j&&j.removeData(this.element,this.constructor.namespace)},q.data=function(a){var b=a&&a.outlayerGUID;return b&&s[b]},q.create=function(a,c){function d(){q.apply(this,arguments)}return Object.create?d.prototype=Object.create(q.prototype):b(d.prototype,q.prototype),d.prototype.constructor=d,d.defaults=b({},q.defaults),b(d.defaults,c),d.prototype.settings={},d.namespace=a,d.data=q.data,d.Item=function(){p.apply(this,arguments)},d.Item.prototype=new p,g(function(){for(var b=f(a),c=h.querySelectorAll(".js-"+b),e="data-"+b+"-options",g=0,k=c.length;k>g;g++){var l,m=c[g],n=m.getAttribute(e);try{l=n&&JSON.parse(n)}catch(o){i&&i.error("Error parsing "+e+" on "+m.nodeName.toLowerCase()+(m.id?"#"+m.id:"")+": "+o);continue}var p=new d(m,l);j&&j.data(m,a,p)}}),j&&j.bridget&&j.bridget(a,d),d},q.Item=p,q}var h=a.document,i=a.console,j=a.jQuery,k=function(){},l=Object.prototype.toString,m="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&"object"==typeof a&&1===a.nodeType&&"string"==typeof a.nodeName},n=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],g):"object"==typeof exports?module.exports=g(require("eventie"),require("doc-ready"),require("wolfy87-eventemitter"),require("get-size"),require("desandro-matches-selector"),require("./item")):a.Outlayer=g(a.eventie,a.docReady,a.EventEmitter,a.getSize,a.matchesSelector,a.Outlayer.Item)}(window),function(a){function b(a,b){var d=a.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var a=this.cols;for(this.colYs=[];a--;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b(c).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?"round":"ceil",e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;--b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var a=this.containerWidth;return this.getContainerWidth(),a!==this.containerWidth},d}var c=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++){var e=a[c];if(e===b)return c}return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],b):"object"==typeof exports?module.exports=b(require("outlayer"),require("get-size")):a.Masonry=b(a.Outlayer,a.getSize)}(window);
function addDeviceClasses(){var e="unknown";switch(!0){case os.isChrome:e="chrome";break;case os.isSafari:e="safari";break;case os.isIE12:case os.isIE11:case os.isIE:e="msie";break;case os.isOpera:e="opera";break;case os.isFirefox:e="firefox";break;case os.isWebkit:e="webkit";break;case os.isSilk:e="silk"}switch($("html").addClass(e),!0){case os.isWin2K:$("html").addClass("isWin win2k");break;case os.isXP:$("html").addClass("isWin winXP");break;case os.isVista:$("html").addClass("isWin winVista");break;case os.isWin7:$("html").addClass("isWin win7");break;case os.isWin8:$("html").addClass("isWin win8");break;case os.isIpad:$("html").addClass("ipad");break;case os.isIphone:$("html").addClass("iphone");break;case os.isMac:$("html").addClass("mac");break;case os.isAndroid:$("html").addClass("android");break;case os.isKindleFire:$("html").addClass("kindlefire");break;case os.isSilk:$("html").addClass("kindlefire");break;case os.isKindle:$("html").addClass("kindle");break;case os.isBlackBerry:$("html").addClass("blackberry")}switch(!0){case os.isIE6:jQuery("html").addClass("ie6 lt-ie7 lt-ie8 lt-ie9 lt-ie10 lt-ie11 lt-ie12");break;case os.isIE7:jQuery("html").addClass("ie7 lt-ie8 lt-ie9 lt-ie10 lt-ie11 lt-ie12");break;case os.isIE8:jQuery("html").addClass("ie8 lt-ie9 lt-ie10 lt-ie11 lt-ie12 gt-ie7");break;case os.isIE9:jQuery("html").addClass("ie9 lt-ie10 lt-ie11 lt-ie12 gt-ie7 gt-ie8");break;case os.isIE10:jQuery("html").addClass("ie10 lt-ie11 lt-ie12 gt-ie7 gt-ie8 gt-ie9");break;case os.isIE11:jQuery("html").addClass("ie11 lt-ie12 gt-ie7 gt-ie8 gt-ie9 gt-ie10");break;case os.isIE12:jQuery("html").addClass("ie12 gt-ie7 gt-ie8 gt-ie9 gt-ie10 gt-ie11")}var t=jQuery(window).height()>jQuery(window).width()?"portrait":"landscape";$("html").addClass(t)}function logOrientation(){$("html").removeClass("portrait landscape");var e=jQuery(window).height()>jQuery(window).width()?"portrait":"landscape";$("html").addClass(e)}function matchMediaSize(e,t){var i=jQuery(window).width(),a=!0,s=!0;return e&&(a=i>=e),t&&(s=t>=i),a&&s}function setupScreen(){var e="";switch(!0){case window.matchMedia&&window.matchMedia("screen and (max-width: 479px)").matches:case!window.matchMedia&&matchMediaSize(0,479):e="res_xxsmall res_lt_xsmall res_lt_small res_lt_medium res_lt_large";break;case window.matchMedia&&window.matchMedia("screen and (min-width: 480px) and (max-width: 767px)").matches:case!window.matchMedia&&matchMediaSize(480,767):e="res_xsmall res_gt_xxsmall res_lt_small res_lt_medium res_lt_large";break;case window.matchMedia&&window.matchMedia("screen and (min-width: 768px) and (max-width: 991px)").matches:case!window.matchMedia&&matchMediaSize(768,991):e="res_small res_gt_xsmall res_gt_xxsmall res_lt_medium res_lt_large";break;case window.matchMedia&&window.matchMedia("screen and (min-width: 992px) and (max-width: 1199px)").matches:case!window.matchMedia&&matchMediaSize(992,1199):e="res_medium res_gt_small res_gt_xsmall res_gt_xxsmall res_lt_large";break;case window.matchMedia&&window.matchMedia("screen and (min-width: 1200px)").matches:case!window.matchMedia&&matchMediaSize(1200,0):e="res_large res_gt_medium res_gt_small res_gt_xsmall res_gt_xxsmall"}jQuery("body").removeClass("res_xxsmall res_xsmall res_small res_medium res_large res_lt_xsmall res_lt_small res_lt_medium res_lt_large res_gt_medium res_gt_small res_gt_xsmall res_gt_xxsmall"),jQuery("body").addClass(e),setupRun||addSliders(),setupRun=!0}function addSliders(){if(jQuery(".cabsSlider:not(.single)").length>0){var e=0;jQuery(".cabsSlider").each(function(){var t=jQuery(this),i=t.find(".slide_image");if(t.data("totalSlides",i.length),t.data("curSlide",1),t.data("isAnimating",!1),t.find("a.previous").length){var a=t.find("a.previous");a.bind({click:function(e){if(!t.data("isAnimating")){e.preventDefault();var i=t.data("curSlide")>1?t.data("curSlide")-1:t.data("totalSlides");sliderGoto(t,i,0,!0)}}})}if(t.on("swiperight",function(e){if(!t.data("isAnimating")){e.preventDefault();var i=t.data("curSlide")>1?t.data("curSlide")-1:t.data("totalSlides");sliderGoto(t,i,0,!0)}}),t.find("a.next").length){var s=t.find("a.next");s.bind({click:function(e){if(!t.data("isAnimating")){e.preventDefault();var i=t.data("curSlide")<t.data("totalSlides")?t.data("curSlide")+1:1;sliderGoto(t,i,0)}}})}t.on("swipeleft",function(e){if(!t.data("isAnimating")){e.preventDefault();var i=t.data("curSlide")<t.data("totalSlides")?t.data("curSlide")+1:1;sliderGoto(t,i,0)}});var n=setTimeout(function(){sliderGoto(t,2,txtDelay)},offsetDelay*e);t.data("initTimer",n),e++})}}function sliderGoto(e,t,i,a){return parseInt(e.data("curSlide"))==parseInt(t)?!1:(clearInterval(e.data("initTimer")),clearInterval(e.data("loopTimer")),loopTimer=setTimeout(function(){{var i=e.data("curSlide"),s=e.find(".slide_outer");s.find("slide_wrap")}e.data("isAnimating",!0);var n=e.find("#cabs_slide_"+i);n.stop(!1,!0,!1).css({"z-index":2}).animate({left:a?""+n.outerWidth(!0):"-"+n.outerWidth(!0)},txtAniSpeed,function(){jQuery(this).css("left",a?"+=10":"-=10")});var n=e.find("#cabs_slide_"+t);n.stop(!1,!0,!1).css({display:"block","z-index":3,left:a?0-n.outerWidth(!0):n.outerWidth(!0)}).animate({left:0},txtAniSpeed,function(){e.data("isAnimating",!1)}),e.data("curSlide",t);var r=t<e.data("totalSlides")?t+1:1;sliderGoto(e,r,txtDelay)},i),void e.data("loopTimer",loopTimer))}function filterButton(){jQuery(".cat-any").click(function(e){e.stopPropagation();var t=jQuery(this).data("target");t.length&&(jQuery(this).toggleClass("active"),jQuery(t).slideToggle(500));var i="";switch(jQuery(this).attr("id")){case"cats_dropdown":i="#tags_dropdown";break;case"tags_dropdown":i="#cats_dropdown"}if(jQuery(i).length){var t=jQuery(i).data("target");t.length&&(jQuery(i).removeClass("active"),jQuery(t).slideUp(500))}}),jQuery("html").click(function(){jQuery(".cat-any").length&&jQuery(".cat-any").each(function(){var e=jQuery(this).data("target");e.length&&(jQuery(this).removeClass("active"),jQuery(e).slideUp(500))})})}function filterTags(e,t){return timing=800,jQuery(".displayText").text(t),jQuery(".interest_single.post:not(."+e+")").length&&jQuery(".interest_single.post:not(."+e+")").fadeOut(timing),jQuery(".interest_single.post."+e).length&&jQuery(".interest_single.post."+e).fadeIn(timing),filterTimer=setTimeout(filterShowHideTitles,timing),!1}function filterShowHideTitles(){clearInterval(filterTimer),filterTimer=null,jQuery(".filterList").length&&jQuery(".filterList").each(function(){var e=jQuery(this).data("heading");jQuery(e).length&&(jQuery(this).find("div.interest_single:visible").length>0?jQuery(e).fadeIn(500):jQuery(e).fadeOut(500))})}function toggleJob(e){jQuery("#job_"+e).length&&jQuery("#job_"+e).slideToggle(),jQuery("#link_"+e).length&&jQuery("#link_"+e).toggleClass("active")}function scrollToID(e){jQuery(window).scrollTo(jQuery("#"+e),750,{axis:"y",queue:!1,easing:"easeOutQuad"})}function clearDefaults(){$(".clearDefault").length&&$("html").hasClass("ltie9")&&$(".clearDefault").each(function(e,t){""==$(this).val()&&$(this).val($(this).attr("title")),$(t).bind({focus:function(){$(this).val()==$(this).attr("title")&&$(this).val("")},blur:function(){""==$(this).val()&&$(this).val($(this).attr("title"))}})})}function validateEmail(e){var t=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;return t.test(e)?!0:!1}function basename(e,t){var i=e.replace(/^.*[\/\\]/g,"");return"string"==typeof t&&i.substr(i.length-t.length)==t&&(i=i.substr(0,i.length-t.length)),i}function callHash(e,t,i){if(""!=e){var a=e.indexOf("?");-1!=a?(fullTag=e,e=e.substring(0,a),qsParam=fullTag.substring(a+1)):qsParam=!1,func=e,t=t&&""!=t?t:"",qsParam=qsParam&&""!=qsParam?qsParam:"",qsParam=""!=t?t+"&"+qsParam:qsParam,func.indexOf("/")>0&&(p=func.indexOf("/"),t=func.substring(p+1),func=func.substring(0,p+1)),func=func.replace(/\/|\!/g,""),func=func.replace(/\-/g,"_"),t=t.replace(/\//g,","),qsParam=qsParam.replace(/\//g,","),safeCall(func,t,qsParam,i)}}function safeCall(e,t,i){"function"==typeof window[e]?window[e](t,i):(curURI=curURI.replace(/\-/g,"_"),curURI&&"function"==typeof window[curURI]?window[curURI](e,t,i):jQuery("#"+e).length&&scrollToID(e))}function altRows(e,t){e=null!=e&&void 0!=e?e:"table",t=null!=t&&void 0!=t?t:"tr";var i=0;jQuery(e+" "+t).each(function(e,t){jQuery(t).addClass(i++%2==0?"odd":"even")})}function firstLast(e,t){e=null!=e&&void 0!=e?e:"ul",t=null!=t&&void 0!=t?t:"li",p=jQuery(e),p.each(function(e,i){jQuery(i).find(t+":first").addClass("first"),jQuery(i).find(t+":last").addClass("last")})}function intval(e,t){var i,a=typeof e;return"boolean"===a?+e:"string"===a?(i=parseInt(e,t||10),isNaN(i)||!isFinite(i)?0:i):"number"===a&&isFinite(e)?0|e:0}function strpos(e,t,i){var a=(e+"").indexOf(t,i||0);return-1===a?!1:a}function trim(e,t){var i,a=0,s=0;for(e+="",t?(t+="",i=t.replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,"$1")):i=" \n\r	\f            ​\u2028\u2029　",a=e.length,s=0;a>s;s++)if(-1===i.indexOf(e.charAt(s))){e=e.substring(s);break}for(a=e.length,s=a-1;s>=0;s--)if(-1===i.indexOf(e.charAt(s))){e=e.substring(0,s+1);break}return-1===i.indexOf(e.charAt(0))?e:""}function shake(e){e.css("position","relative"),e.stop(!0,!0).animate({left:"-=5px"},50,function(){e.stop(!0).animate({left:"+=10px"},100,function(){e.stop(!0).animate({left:"-=10px"},100,function(){e.stop(!0).animate({left:"+=10px"},100,function(){e.stop(!0).animate({left:"-=5px"},50)})})})})}function scrollToID(e){jQuery(window).scrollTo(jQuery(e),750,{offset:-40,axis:"y",queue:!1,easing:"easeOutQuad"})}function trace(e,t){"undefined"!=typeof console&&"undefined"!=typeof console.log&&console.log(t?t:"LOG:",e)}jQuery.noConflict();var $=jQuery,setupRun=!1,windowHeight=$(window).height(),windowWidth=$(window).width(),s=document.createElement("p").style,supportsTransitions="transition"in s||"WebkitTransition"in s||"MozTransition"in s||"msTransition"in s||"OTransition"in s;jQuery(document).ready(function(){addDeviceClasses(),firstLast(),firstLast("table","tr"),firstLast("table","tr"),altRows(),altRows("ul","li"),filterButton(),jQuery("button.close").length&&jQuery("button.close").click(function(){select_target=jQuery(this).data("dismiss"),target=jQuery(this).closest(select_target),target.length&&target.fadeOut(500)});var e=getUrlParameter("area");e&&"undefined"!=e&&e.length&&(e=trim(trim(e).replace("/","")),filterLink=jQuery('li.desktoptag a[href="#'+e+'"]'),filterLink.length&&(filterName=filterLink.text(),filterTags(e,filterName)))}),jQuery(window).load(function(){setupScreen(),jQuery("#staff_assoc").masonry({itemSelector:".staff_single"})}),jQuery(window).resize(function(){windowHeight=jQuery(window).height(),windowWidth=jQuery(window).width(),waitForFinalEvent(function(){setupScreen()},100,"window resize")});var os=function(){var e=navigator.userAgent.toLowerCase();return{ua:e,isWin2K:/windows nt 5.0/.test(e),isXP:/windows nt 5.1/.test(e),isVista:/windows nt 6.0/.test(e),isWin7:/windows nt 6.1/.test(e),isWin8:/windows nt 6.2/.test(e),isMac:/mac os/.test(e)&&!/silk/.test(e),isWin:/windows/.test(e),isIpad:/ipad/.test(e),isBlackBerry:/blackberry/.test(e)&&!/bb/.test(e),isIphone:/iphone/.test(e),isAndroid:/android/.test(e),isKindleFire:/kindle/.test(e)&&/fire/.test(e),isKindleFireSilk:/silk/.test(e),isKindle:/kindle/.test(e)&&!/fire/.test(e)&&!/silk/.test(e),isChrome:/chrome/.test(e),isSafari:/safari/.test(e)&&!/chrome/.test(e),isIE:/msie/.test(e),isOpera:/opera/.test(e),isFirefox:/firefox/.test(e),isWebkit:/applewebkit/.test(e),isSilk:/silk/.test(e),isIE6:/msie 6/.test(e),isIE7:/msie 7/.test(e),isIE8:/msie 8/.test(e),isIE9:/msie 9/.test(e),isIE10:/msie 10/.test(e),isIE11:/rv:11/.test(e),isIE12:/rv:12/.test(e)}}(),txtAniSpeed="undefined"!=typeof textAniSpeed&&parseInt(textAniSpeed)?parseInt(textAniSpeed):1e3,txtTickerSpeed="undefined"!=typeof textTickerSpeed&&parseInt(textTickerSpeed)?parseInt(textTickerSpeed):150,txtDelay="undefined"!=typeof textDelay&&parseInt(textDelay)?parseInt(textDelay):7e3,offsetDelay="undefined"!=typeof sliderOffsetDelay&&parseInt(sliderOffsetDelay)?parseInt(sliderOffsetDelay):1e3,filterTimer=null,waitForFinalEvent=function(){var e={};return function(t,i,a){a||(a="Don't call this twice without a uniqueId"),e[a]&&clearTimeout(e[a]),e[a]=setTimeout(t,i)}}();jQuery.fn.isOnScreen=function(){var e=jQuery(window),t={top:e.scrollTop(),left:e.scrollLeft()};t.right=t.left+e.width(),t.bottom=t.top+e.height();var i=this.offset();return i.right=i.left+this.outerWidth(),i.bottom=i.top+this.outerHeight(),!(t.right<i.left||t.left>i.right||t.bottom<i.top||t.top>i.bottom)};var getUrlParameter=function(e){var t,i,a=decodeURIComponent(window.location.search.substring(1)),s=a.split("&");for(i=0;i<s.length;i++)if(t=s[i].split("="),t[0]===e)return void 0===t[1]?!0:t[1]};jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,a,s){return jQuery.easing[jQuery.easing.def](e,t,i,a,s)},easeInQuad:function(e,t,i,a,s){return a*(t/=s)*t+i},easeOutQuad:function(e,t,i,a,s){return-a*(t/=s)*(t-2)+i},easeInOutQuad:function(e,t,i,a,s){return(t/=s/2)<1?a/2*t*t+i:-a/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,a,s){return a*(t/=s)*t*t+i},easeOutCubic:function(e,t,i,a,s){return a*((t=t/s-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,a,s){return(t/=s/2)<1?a/2*t*t*t+i:a/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,a,s){return a*(t/=s)*t*t*t+i},easeOutQuart:function(e,t,i,a,s){return-a*((t=t/s-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,a,s){return(t/=s/2)<1?a/2*t*t*t*t+i:-a/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,a,s){return a*(t/=s)*t*t*t*t+i},easeOutQuint:function(e,t,i,a,s){return a*((t=t/s-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,a,s){return(t/=s/2)<1?a/2*t*t*t*t*t+i:a/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,a,s){return-a*Math.cos(t/s*(Math.PI/2))+a+i},easeOutSine:function(e,t,i,a,s){return a*Math.sin(t/s*(Math.PI/2))+i},easeInOutSine:function(e,t,i,a,s){return-a/2*(Math.cos(Math.PI*t/s)-1)+i},easeInExpo:function(e,t,i,a,s){return 0==t?i:a*Math.pow(2,10*(t/s-1))+i},easeOutExpo:function(e,t,i,a,s){return t==s?i+a:a*(-Math.pow(2,-10*t/s)+1)+i},easeInOutExpo:function(e,t,i,a,s){return 0==t?i:t==s?i+a:(t/=s/2)<1?a/2*Math.pow(2,10*(t-1))+i:a/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(e,t,i,a,s){return-a*(Math.sqrt(1-(t/=s)*t)-1)+i},easeOutCirc:function(e,t,i,a,s){return a*Math.sqrt(1-(t=t/s-1)*t)+i},easeInOutCirc:function(e,t,i,a,s){return(t/=s/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+i:a/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,a,s){var n=1.70158,r=0,o=a;if(0==t)return i;if(1==(t/=s))return i+a;if(r||(r=.3*s),o<Math.abs(a)){o=a;var n=r/4}else var n=r/(2*Math.PI)*Math.asin(a/o);return-(o*Math.pow(2,10*(t-=1))*Math.sin(2*(t*s-n)*Math.PI/r))+i},easeOutElastic:function(e,t,i,a,s){var n=1.70158,r=0,o=a;if(0==t)return i;if(1==(t/=s))return i+a;if(r||(r=.3*s),o<Math.abs(a)){o=a;var n=r/4}else var n=r/(2*Math.PI)*Math.asin(a/o);return o*Math.pow(2,-10*t)*Math.sin(2*(t*s-n)*Math.PI/r)+a+i},easeInOutElastic:function(e,t,i,a,s){var n=1.70158,r=0,o=a;if(0==t)return i;if(2==(t/=s/2))return i+a;if(r||(r=.3*s*1.5),o<Math.abs(a)){o=a;var n=r/4}else var n=r/(2*Math.PI)*Math.asin(a/o);return 1>t?-.5*o*Math.pow(2,10*(t-=1))*Math.sin(2*(t*s-n)*Math.PI/r)+i:o*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*s-n)*Math.PI/r)*.5+a+i},easeInBack:function(e,t,i,a,s,n){return void 0==n&&(n=1.70158),a*(t/=s)*t*((n+1)*t-n)+i},easeOutBack:function(e,t,i,a,s,n){return void 0==n&&(n=1.70158),a*((t=t/s-1)*t*((n+1)*t+n)+1)+i},easeInOutBack:function(e,t,i,a,s,n){return void 0==n&&(n=1.70158),(t/=s/2)<1?a/2*t*t*(((n*=1.525)+1)*t-n)+i:a/2*((t-=2)*t*(((n*=1.525)+1)*t+n)+2)+i},easeInBounce:function(e,t,i,a,s){return a-jQuery.easing.easeOutBounce(e,s-t,0,a,s)+i},easeOutBounce:function(e,t,i,a,s){return(t/=s)<1/2.75?7.5625*a*t*t+i:2/2.75>t?a*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?a*(7.5625*(t-=2.25/2.75)*t+.9375)+i:a*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,a,s){return s/2>t?.5*jQuery.easing.easeInBounce(e,2*t,0,a,s)+i:.5*jQuery.easing.easeOutBounce(e,2*t-s,0,a,s)+.5*a+i}}),function(e){"use strict";e(["jquery"],function(e){function t(t){return e.isFunction(t)||e.isPlainObject(t)?t:{top:t,left:t}}var i=e.scrollTo=function(t,i,a){return e(window).scrollTo(t,i,a)};return i.defaults={axis:"xy",duration:0,limit:!0},i.window=function(){return e(window)._scrollable()},e.fn._scrollable=function(){return this.map(function(){var t=this,i=!t.nodeName||-1!=e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!i)return t;var a=(t.contentWindow||t).document||t.ownerDocument||t;return/webkit/i.test(navigator.userAgent)||"BackCompat"==a.compatMode?a.body:a.documentElement})},e.fn.scrollTo=function(a,s,n){return"object"==typeof s&&(n=s,s=0),"function"==typeof n&&(n={onAfter:n}),"max"==a&&(a=9e9),n=e.extend({},i.defaults,n),s=s||n.duration,n.queue=n.queue&&n.axis.length>1,n.queue&&(s/=2),n.offset=t(n.offset),n.over=t(n.over),this._scrollable().each(function(){function r(e){u.animate(c,s,n.easing,e&&function(){e.call(this,d,n)})}if(null!=a){var o,l=this,u=e(l),d=a,c={},f=u.is("html,body");switch(typeof d){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(d)){d=t(d);break}if(d=f?e(d):e(d,this),!d.length)return;case"object":(d.is||d.style)&&(o=(d=e(d)).offset())}var h=e.isFunction(n.offset)&&n.offset(l,d)||n.offset;e.each(n.axis.split(""),function(e,t){var a="x"==t?"Left":"Top",s=a.toLowerCase(),m="scroll"+a,g=l[m],w=i.max(l,t);if(o)c[m]=o[s]+(f?0:g-u.offset()[s]),n.margin&&(c[m]-=parseInt(d.css("margin"+a))||0,c[m]-=parseInt(d.css("border"+a+"Width"))||0),c[m]+=h[s]||0,n.over[s]&&(c[m]+=d["x"==t?"width":"height"]()*n.over[s]);else{var p=d[s];c[m]=p.slice&&"%"==p.slice(-1)?parseFloat(p)/100*w:p}n.limit&&/^\d+$/.test(c[m])&&(c[m]=c[m]<=0?0:Math.min(c[m],w)),!e&&n.queue&&(g!=c[m]&&r(n.onAfterFirst),delete c[m])}),r(n.onAfter)}}).end()},i.max=function(t,i){var a="x"==i?"Width":"Height",s="scroll"+a;if(!e(t).is("html,body"))return t[s]-e(t)[a.toLowerCase()]();var n="client"+a,r=t.ownerDocument.documentElement,o=t.ownerDocument.body;return Math.max(r[s],o[s])-Math.min(r[n],o[n])},i})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)});
