mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
086ba5da87
* fix various lighthouse issues * remove bom FROM AN AUTOGENERATED FILE
2 lines
170 KiB
JavaScript
2 lines
170 KiB
JavaScript
window.Modernizr=function(e,i){function t(e){a.cssText=e}var n,o,r={},s=e.documentElement,a=e.createElement("modernizr").style,l={},c=[],d=c.slice,u={}.hasOwnProperty,p=void 0!==u&&void 0!==u.call?function(e,t){return u.call(e,t)}:function(e,t){return t in e&&void 0===e.constructor.prototype[t]};for(o in Function.prototype.bind||(Function.prototype.bind=function(n){var i=this;if("function"!=typeof i)throw new TypeError;var o=d.call(arguments,1),r=function(){if(this instanceof r){var e=function(){};e.prototype=i.prototype;var t=new e,e=i.apply(t,o.concat(d.call(arguments)));return Object(e)===e?e:t}return i.apply(n,o.concat(d.call(arguments)))};return r}),l)p(l,o)&&(n=o.toLowerCase(),r[n]=l[o](),c.push((r[n]?"":"no-")+n));return r.addTest=function(e,t){if("object"==typeof e)for(var n in e)p(e,n)&&r.addTest(n,e[n]);else{if(e=e.toLowerCase(),r[e]!==i)return r;t="function"==typeof t?t():t,s.className+=" "+(t?"":"no-")+e,r[e]=t}return r},t(""),0,function(e,a){function l(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function c(e){var t=f[e[r]];return t||(t={},s++,e[r]=s,f[s]=t),t}function d(e,t,n){return t=t||a,p?t.createElement(e):!(t=(n=n||c(t)).cache[e]?n.cache[e].cloneNode():o.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||i.test(e)||t.tagUrn?t:n.frag.appendChild(t)}function t(e){var t,n,i,o,r,s=c(e=e||a);return!h.shivCSS||u||s.hasCSS||(s.hasCSS=(o="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",r=(i=e).createElement("p"),i=i.getElementsByTagName("head")[0]||i.documentElement,r.innerHTML="x<style>"+o+"</style>",!!i.insertBefore(r.lastChild,i.firstChild))),p||(t=e,(n=s).cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return h.shivMethods?d(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(h,n.frag)),e}var u,p,n=e.html5||{},i=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,r="_html5shiv",s=0,f={};!function(){try{var e=a.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,p=1==e.childNodes.length||function(){a.createElement("a");var e=a.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){p=u=!0}}();var h={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:p,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:t,createElement:d,createDocumentFragment:function(e,t){if(e=e||a,p)return e.createDocumentFragment();for(var n=(t=t||c(e)).frag.cloneNode(),i=0,o=l(),r=o.length;i<r;i++)n.createElement(o[i]);return n}};e.html5=h,t(a)}(this,e),r._version="2.8.3",s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+c.join(" ")),r}(this.document),function(e,f){function u(e){return"[object Function]"==o.call(e)}function h(e){return"string"==typeof e}function p(){}function g(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function m(){var e=b.shift();w=1,e?e.t?v(function(){("c"==e.t?A.injectCss:A.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),m()):w=0}function t(e,t,n,i,o){return w=0,t=t||"j",h(e)?(s="c"==t?T:S,a=e,l=t,t=this.i++,n=n,i=i,o=(o=o)||A.errorTimeout,c=f.createElement(s),u=d=0,p={t:l,s:a,e:n,a:i,x:o},1===C[a]&&(u=1,C[a]=[]),"object"==s?c.data=a:(c.src=a,c.type=s),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){r.call(this,u)},b.splice(t,0,p),"img"!=s&&(u||2===C[a]?(k.insertBefore(c,x?null:y),v(r,o)):C[a].push(c))):(b.splice(this.i++,0,e),1==b.length&&m()),this;function r(e){if(!d&&g(c.readyState)&&(p.r=d=1,w||m(),c.onload=c.onreadystatechange=null,e))for(var t in"img"!=s&&v(function(){k.removeChild(c)},50),C[a])C[a].hasOwnProperty(t)&&C[a][t].onload()}var s,a,l,c,d,u,p}function a(){var e=A;return e.loader={load:t,i:0},e}var n,i=f.documentElement,v=e.setTimeout,y=f.getElementsByTagName("script")[0],o={}.toString,b=[],w=0,r="MozAppearance"in i.style,x=r&&!!f.createRange().compareNode,k=x?i:y.parentNode,i=e.opera&&"[object Opera]"==o.call(e.opera),i=!!f.attachEvent&&!i,S=r?"object":i?"script":"img",T=i?"script":S,s=Array.isArray||function(e){return"[object Array]"==o.call(e)},l=[],C={},c={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},A=function(e){function d(e,t,n,i,o){var r=function(e){for(var t,n,e=e.split("!"),i=l.length,o=e.pop(),r=e.length,o={url:o,origUrl:o,prefixes:e},s=0;s<r;s++)n=e[s].split("="),(t=c[n.shift()])&&(o=t(o,n));for(s=0;s<i;s++)o=l[s](o);return o}(e),s=r.autoCallback;r.url.split(".").pop().split("?").shift(),r.bypass||(t=t&&(u(t)?t:t[e]||t[i]||t[e.split("/").pop().split("?")[0]]),r.instead?r.instead(e,t,n,i,o):(C[r.url]?r.noexec=!0:C[r.url]=1,n.load(r.url,r.forceCSS||!r.forceJS&&"css"==r.url.split(".").pop().split("?").shift()?"c":void 0,r.noexec,r.attrs,r.timeout),(u(t)||u(s))&&n.load(function(){a(),t&&t(r.origUrl,o,i),s&&s(r.origUrl,o,i),C[r.url]=2})))}function t(e,t){function n(n,e){if(n){if(h(n))d(n,a=!e?function(){var e=[].slice.call(arguments);l.apply(this,e),c()}:a,t,0,r);else if(Object(n)===n)for(o in i=function(){var e,t=0;for(e in n)n.hasOwnProperty(e)&&t++;return t}(),n)n.hasOwnProperty(o)&&(e||--i||(u(a)?a=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}:a[o]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),c()}}(l[o])),d(n[o],a,t,o,r))}else e||c()}var i,o,r=!!e.test,s=e.load||e.both,a=e.callback||p,l=a,c=e.complete||p;n(r?e.yep:e.nope,!!s),s&&n(s)}var n,i,o=this.yepnope.loader;if(h(e))d(e,0,o,0);else if(s(e))for(n=0;n<e.length;n++)h(i=e[n])?d(i,0,o,0):s(i)?A(i):Object(i)===i&&t(i,o);else Object(e)===e&&t(e,o)};A.addPrefix=function(e,t){c[e]=t},A.addFilter=function(e){l.push(e)},A.errorTimeout=1e4,null==f.readyState&&f.addEventListener&&(f.readyState="loading",f.addEventListener("DOMContentLoaded",n=function(){f.removeEventListener("DOMContentLoaded",n,0),f.readyState="complete"},0)),e.yepnope=a(),e.yepnope.executeStack=m,e.yepnope.injectJs=function(e,t,n,i,o,r){var s,a,l=f.createElement("script"),i=i||A.errorTimeout;for(a in l.src=e,n)l.setAttribute(a,n[a]);t=r?m:t||p,l.onreadystatechange=l.onload=function(){!s&&g(l.readyState)&&(s=1,t(),l.onload=l.onreadystatechange=null)},v(function(){s||t(s=1)},i),o?l.onload():y.parentNode.insertBefore(l,y)},e.yepnope.injectCss=function(e,t,n,i,o,r){var s,t=r?m:t||p;for(s in(i=f.createElement("link")).href=e,i.rel="stylesheet",i.type="text/css",n)i.setAttribute(s,n[s]);o||(y.parentNode.insertBefore(i,y),v(t,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(e){var t,o,n,i,r=navigator.userAgent;function s(){clearTimeout(t),t=setTimeout(n,99)}function a(){s(),i&&i.addListener&&i.addListener(s)}e.HTMLPictureElement&&/ecko/.test(r)&&r.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(o=document.createElement("source"),n=function(){for(var e=document.querySelectorAll("picture > img, img[srcset][sizes]"),t=0;t<e.length;t++)!function(e){var t,n,i=e.parentNode;"PICTURE"===i.nodeName.toUpperCase()?(t=o.cloneNode(),i.insertBefore(t,i.firstElementChild),setTimeout(function(){i.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,n=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=n}))}(e[t])},i=e.matchMedia&&matchMedia("(orientation: landscape)"),o.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s))}(window),function(e,r,c){"use strict";var o,d,s;r.createElement("picture");function t(){}function n(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)}var w={},a=!1,i=r.createElement("img"),u=i.getAttribute,p=i.setAttribute,f=i.removeAttribute,l=r.documentElement,h={},x={algorithm:""},g="data-pfsrc",m=g+"set",v=navigator.userAgent,k=/rident/.test(v)||/ecko/.test(v)&&v.match(/rv\:(\d+)/)&&35<RegExp.$1,S="currentSrc",y=/\s+\+?\d+(e\d+)?w/,b=/(\([^)]+\))?\s*(.+)/,T=e.picturefillCFG,C="font-size:100%!important;",A=!0,$={},E={},_=e.devicePixelRatio,j={px:1,in:96},D=r.createElement("a"),L=!1,N=/^[ \t\n\r\u000c]+/,H=/^[, \t\n\r\u000c]+/,q=/^[^ \t\n\r\u000c]+/,O=/[,]+$/,P=/^\d+$/,M=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=function(t){var n={};return function(e){return e in n||(n[e]=t(e)),n[e]}};function F(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function z(e,t){return e.w?(e.cWidth=w.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e}var I,R,W,B,U,X,Q,Y,G,V,J,K,Z,ee,te,ne=(I=/^([\d\.]+)(em|vw|px)$/,R=v(function(e){return"return "+function(){for(var e=arguments,t=0,n=e[0];++t in e;)n=n.replace(e[t],e[++t]);return n}((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(e,t){var n;if(!(e in $))if($[e]=!1,t&&(n=e.match(I)))$[e]=n[1]*j[n[2]];else try{$[e]=new Function("e",R(e))(j)}catch(e){}return $[e]}),ie=function(e){if(a){var t,n,i,o=e||{};if(o.elements&&1===o.elements.nodeType&&("IMG"===o.elements.nodeName.toUpperCase()?o.elements=[o.elements]:(o.context=o.elements,o.elements=null)),i=(t=o.elements||w.qsa(o.context||r,o.reevaluate||o.reselect?w.sel:w.selShort)).length){for(w.setupRun(o),L=!0,n=0;n<i;n++)w.fillImg(t[n],o);w.teardownRun(o)}}};function oe(e,t){return e.res-t.res}function re(e,t){var n,i,o;if(e&&t)for(o=w.parseSet(t),e=w.makeUrl(e),n=0;n<o.length;n++)if(e===w.makeUrl(o[n].url)){i=o[n];break}return i}function se(t,d){function e(e){var e=e.exec(t.substring(s));if(e)return e=e[0],s+=e.length,e}var u,p,n,i,o,r=t.length,s=0,f=[];function a(){for(var e,t,n,i,o,r,s,a=!1,l={},c=0;c<p.length;c++)i=(s=p[c])[s.length-1],o=s.substring(0,s.length-1),r=parseInt(o,10),s=parseFloat(o),P.test(o)&&"w"===i?((e||t)&&(a=!0),0===r?a=!0:e=r):M.test(o)&&"x"===i?((e||t||n)&&(a=!0),s<0?a=!0:t=s):P.test(o)&&"h"===i?((n||t)&&(a=!0),0===r?a=!0:n=r):a=!0;a||(l.url=u,e&&(l.w=e),t&&(l.d=t),n&&(l.h=n),n||t||e||(l.d=1),1===l.d&&(d.has1x=!0),l.set=d,f.push(l))}for(;;){if(e(H),r<=s)return f;u=e(q),p=[],","===u.slice(-1)?(u=u.replace(O,""),a()):function(){for(e(N),n="",i="in descriptor";;){if(o=t.charAt(s),"in descriptor"===i)if(F(o))n&&(p.push(n),n="",i="after descriptor");else{if(","===o)return s+=1,n&&p.push(n),a();if("("===o)n+=o,i="in parens";else{if(""===o)return n&&p.push(n),a();n+=o}}else if("in parens"===i)if(")"===o)n+=o,i="in descriptor";else{if(""===o)return p.push(n),a();n+=o}else if("after descriptor"===i&&!F(o)){if(""===o)return a();i="in descriptor",--s}s+=1}}()}}function ae(e){var t,n,i,o,r,s,a=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(i=(n=function(e){var t,n="",i=[],o=[],r=0,s=0,a=!1;function l(){n&&(i.push(n),n="")}function c(){i[0]&&(o.push(i),i=[])}for(;;){if(""===(t=e.charAt(s)))return l(),c(),o;if(a)"*"!==t||"/"!==e[s+1]?s+=1:(a=!1,s+=2,l());else{if(F(t)){if(e.charAt(s-1)&&F(e.charAt(s-1))||!n){s+=1;continue}if(0===r){l(),s+=1;continue}t=" "}else if("("===t)r+=1;else if(")"===t)--r;else{if(","===t){l(),c(),s+=1;continue}if("/"===t&&"*"===e.charAt(s+1)){a=!0,s+=2;continue}}n+=t,s+=1}}}(e)).length,t=0;t<i;t++)if(r=(o=n[t])[o.length-1],s=r,a.test(s)&&0<=parseFloat(s)||(l.test(s)||("0"===s||"-0"===s||"+0"===s))){if(r=r,o.pop(),0===o.length)return r;if(o=o.join(" "),w.matchesMedia(o))return r}return"100vw"}function le(){2===B.width&&(w.supSizes=!0),d=w.supSrcset&&!w.supSizes,a=!0,setTimeout(ie)}function ce(){var e=r.readyState||"";J=setTimeout(ce,"loading"===e?200:999),r.body&&(w.fillImgs(),(U=U||V.test(e))&&clearTimeout(J))}function de(){var e=new Date-G;e<Q?Y=setTimeout(de,Q-e):(Y=null,X())}e.console&&console.warn,S in i||(S="src"),h["image/jpeg"]=!0,h["image/gif"]=!0,h["image/png"]=!0,h["image/svg+xml"]=r.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),w.ns=("pf"+(new Date).getTime()).substr(0,9),w.supSrcset="srcset"in i,w.supSizes="sizes"in i,w.supPicture=!!e.HTMLPictureElement,w.supSrcset&&w.supPicture&&!w.supSizes&&(W=r.createElement("img"),i.srcset="data:,a",W.src="data:,a",w.supSrcset=i.complete===W.complete,w.supPicture=w.supSrcset&&w.supPicture),w.supSrcset&&!w.supSizes?(W="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",(B=r.createElement("img")).onload=le,B.onerror=le,B.setAttribute("sizes","9px"),B.srcset=W+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",B.src=W):a=!0,w.selShort="picture>img,img[srcset]",w.sel=w.selShort,w.cfg=x,w.DPR=_||1,w.u=j,w.types=h,w.setSize=t,w.makeUrl=v(function(e){return D.href=e,D.href}),w.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},w.matchesMedia=function(){return e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?w.matchesMedia=function(e){return!e||matchMedia(e).matches}:w.matchesMedia=w.mMQ,w.matchesMedia.apply(this,arguments)},w.mMQ=function(e){return!e||ne(e)},w.calcLength=function(e){e=ne(e,!0)||!1;return e=e<0?!1:e},w.supportsType=function(e){return!e||h[e]},w.parseSize=v(function(e){e=(e||"").match(b);return{media:e&&e[1],length:e&&e[2]}}),w.parseSet=function(e){return e.cands||(e.cands=se(e.srcset,e)),e.cands},w.getEmValue=function(){var e,t,n,i;return!o&&(e=r.body)&&(t=r.createElement("div"),n=l.style.cssText,i=e.style.cssText,t.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",l.style.cssText=C,e.style.cssText=C,e.appendChild(t),o=t.offsetWidth,e.removeChild(t),o=parseFloat(o,10),l.style.cssText=n,e.style.cssText=i),o||16},w.calcListLength=function(e){var t;return e in E&&!x.uT||(t=w.calcLength(ae(e)),E[e]=t||j.width),E[e]},w.setRes=function(e){if(e)for(var t,n=0,i=(t=w.parseSet(e)).length;n<i;n++)z(t[n],e.sizes);return t},w.setRes.res=z,w.applySetCandidate=function(e,t){if(e.length){var n,i,o,r,s,a,l,c,d,u,p,f,h,g,m=t[w.ns],v=w.DPR,y=m.curSrc||t[S],b=m.curCan||(l=t,c=y,b=e[0].set,(b=re(c,b=!b&&c?(b=l[w.ns].sets)&&b[b.length-1]:b))&&(c=w.makeUrl(c),l[w.ns].curSrc=c,(l[w.ns].curCan=b).res||z(b,b.set.sizes)),b);if(b&&b.set===e[0].set&&((a=k&&!t.complete&&b.res-.1>v)||(b.cached=!0,b.res>=v&&(s=b))),!s)for(e.sort(oe),s=e[(r=e.length)-1],i=0;i<r;i++)if((n=e[i]).res>=v){s=e[o=i-1]&&(a||y!==w.makeUrl(n.url))&&(d=e[o].res,u=n.res,p=v,f=e[o].cached,g=h=void 0,d="saveData"===x.algorithm?2.7<d?p+1:(g=(u-p)*(h=Math.pow(d-.6,1.5)),f&&(g+=.1*h),d+g):1<p?Math.sqrt(d*u):d,p<d)?e[o]:n;break}s&&(b=w.makeUrl(s.url),m.curSrc=b,m.curCan=s,b!==y&&w.setSrc(t,s),w.setSize(t))}},w.setSrc=function(e,t){e.src=t.url,"image/svg+xml"===t.set.type&&(t=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=t))},w.getSet=function(e){for(var t,n,i=!1,o=e[w.ns].sets,r=0;r<o.length&&!i;r++)if((t=o[r]).srcset&&w.matchesMedia(t.media)&&(n=w.supportsType(t.type))){i=t="pending"===n?n:t;break}return i},w.parseSets=function(e,t,n){var i,o,r,s,a=t&&"PICTURE"===t.nodeName.toUpperCase(),l=e[w.ns];l.src!==c&&!n.src||(l.src=u.call(e,"src"),l.src?p.call(e,g,l.src):f.call(e,g)),l.srcset!==c&&!n.srcset&&w.supSrcset&&!e.srcset||(i=u.call(e,"srcset"),l.srcset=i,s=!0),l.sets=[],a&&(l.pic=!0,function(e,t){for(var n,i,o=e.getElementsByTagName("source"),r=0,s=o.length;r<s;r++)(n=o[r])[w.ns]=!0,(i=n.getAttribute("srcset"))&&t.push({srcset:i,media:n.getAttribute("media"),type:n.getAttribute("type"),sizes:n.getAttribute("sizes")})}(t,l.sets)),l.srcset?(o={srcset:l.srcset,sizes:u.call(e,"sizes")},l.sets.push(o),(r=(d||l.src)&&y.test(l.srcset||""))||!l.src||re(l.src,o)||o.has1x||(o.srcset+=", "+l.src,o.cands.push({url:l.src,d:1,set:o}))):l.src&&l.sets.push({srcset:l.src,sizes:null}),l.curCan=null,l.curSrc=c,l.supported=!(a||o&&!w.supSrcset||r&&!w.supSizes),s&&w.supSrcset&&!l.supported&&(i?(p.call(e,m,i),e.srcset=""):f.call(e,m)),l.supported&&!l.srcset&&(!l.src&&e.src||e.src!==w.makeUrl(l.src))&&(null===l.src?e.removeAttribute("src"):e.src=l.src),l.parsed=!0},w.fillImg=function(e,t){var n,i=t.reselect||t.reevaluate;e[w.ns]||(e[w.ns]={}),n=e[w.ns],!i&&n.evaled===s||(n.parsed&&!t.reevaluate||w.parseSets(e,e.parentNode,t),n.supported?n.evaled=s:(t=e,n=w.getSet(t),e=!1,"pending"!==n&&(e=s,n&&(n=w.setRes(n),w.applySetCandidate(n,t))),t[w.ns].evaled=e))},w.setupRun=function(){L&&!A&&_===e.devicePixelRatio||(A=!1,_=e.devicePixelRatio,$={},E={},w.DPR=_||1,j.width=Math.max(e.innerWidth||0,l.clientWidth),j.height=Math.max(e.innerHeight||0,l.clientHeight),j.vw=j.width/100,j.vh=j.height/100,s=[j.height,j.width,_].join("-"),j.em=w.getEmValue(),j.rem=j.em)},w.supPicture?(ie=t,w.fillImg=t):(V=e.attachEvent?/d$|^c/:/d$|^c|^i/,J=setTimeout(ce,r.body?9:99),K=l.clientHeight,n(e,"resize",(X=function(){A=Math.max(e.innerWidth||0,l.clientWidth)!==j.width||l.clientHeight!==K,K=l.clientHeight,A&&w.fillImgs()},Q=99,function(){G=new Date,Y=Y||setTimeout(de,Q)})),n(r,"readystatechange",ce)),w.picturefill=ie,w.fillImgs=ie,w.teardownRun=t,ie._=w,e.picturefillCFG={pf:w,push:function(e){var t=e.shift();"function"==typeof w[t]?w[t].apply(w,e):(x[t]=e[0],L&&w.fillImgs({reselect:!0}))}};for(;T&&T.length;)e.picturefillCFG.push(T.shift());e.picturefill=ie,"object"==typeof module&&"object"==typeof module.exports?module.exports=ie:"function"==typeof define&&define.amd&&define("picturefill",function(){return ie}),w.supPicture||(h["image/webp"]=(Z="image/webp",ee="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",(te=new e.Image).onerror=function(){h[Z]=!1,ie()},te.onload=function(){h[Z]=1===te.width,ie()},te.src=ee,"pending"))}(window,document),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(x,e){function t(e,t){return t.toUpperCase()}var n=[],k=x.document,d=n.slice,g=n.concat,a=n.push,o=n.indexOf,i={},r=i.toString,h=i.hasOwnProperty,m={},S=function(e,t){return new S.fn.init(e,t)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,c=/-([\da-z])/gi;function u(e){var t=!!e&&"length"in e&&e.length,n=S.type(e);return"function"!==n&&!S.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:"2.2.4",constructor:S,selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:d.call(this)},pushStack:function(e){e=S.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},S.extend=S.fn.extend=function(){var e,t,n,i,o,r=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[s]||{},s++),"object"==typeof r||S.isFunction(r)||(r={}),s===a&&(r=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)o=r[t],n=e[t],r!==n&&(l&&n&&(S.isPlainObject(n)||(i=S.isArray(n)))?(o=i?(i=!1,o&&S.isArray(o)?o:[]):o&&S.isPlainObject(o)?o:{},r[t]=S.extend(l,o,n)):void 0!==n&&(r[t]=n));return r},S.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===S.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!S.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){if("object"!==S.type(e)||e.nodeType||S.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(var t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[r.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=S.trim(e))&&(1===e.indexOf("use strict")?((t=k.createElement("script")).text=e,k.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(l,"ms-").replace(c,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(u(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(s,"")},makeArray:function(e,t){t=t||[];return null!=e&&(u(Object(e))?S.merge(t,"string"==typeof e?[e]:e):a.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:o.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,s=!n;o<r;o++)!t(e[o],o)!=s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,s=[];if(u(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&s.push(o);else for(r in e)o=t(e[r],r,n),null!=o&&s.push(o);return g.apply([],s)},guid:1,proxy:function(e,t){var n,i;return"string"==typeof t&&(i=e[t],t=e,e=i),S.isFunction(e)?(n=d.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(d.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i):void 0},now:Date.now,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=n[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var p=function(n){function u(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function t(){k()}var e,h,w,r,i,g,p,m,x,l,c,k,S,o,T,v,s,a,y,C="sizzle"+ +new Date,b=n.document,A=0,d=0,f=oe(),$=oe(),E=oe(),_=function(e,t){return e===t&&(c=!0),0},j={}.hasOwnProperty,D=[],L=D.pop,N=D.push,H=D.push,q=D.slice,O=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z="\\["+M+"*("+F+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+M+"*\\]",I=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",R=new RegExp(M+"+","g"),W=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),B=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),X=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),Q=new RegExp(I),Y=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig");try{H.apply(D=q.call(b.childNodes),b.childNodes),D[b.childNodes.length].nodeType}catch(e){H={apply:D.length?function(e,t){N.apply(e,q.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,n,i){var o,r,s,a,l,c,d,u,p=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:b)!==S&&k(t),t=t||S,T)){if(11!==f&&(c=Z.exec(e)))if(o=c[1]){if(9===f){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(p&&(s=p.getElementById(o))&&y(t,s)&&s.id===o)return n.push(s),n}else{if(c[2])return H.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(o)),n}if(h.qsa&&!E[e+" "]&&(!v||!v.test(e))){if(1!==f)p=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=C),r=(d=g(e)).length,l=Y.test(a)?"#"+a:"[id='"+a+"']";r--;)d[r]=l+" "+pe(d[r]);u=d.join(","),p=ee.test(e)&&de(t.parentNode)||t}if(u)try{return H.apply(n,p.querySelectorAll(u)),n}catch(e){}finally{a===C&&t.removeAttribute("id")}}}return m(e.replace(W,"$1"),t,n,i)}function oe(){var n=[];function i(e,t){return n.push(e+" ")>w.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function re(e){return e[C]=!0,e}function se(e){var t=S.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ae(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(s){return re(function(r){return r=+r,re(function(e,t){for(var n,i=s([],e.length,r),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ie.support={},i=ie.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},k=ie.setDocument=function(e){var e=e?e.ownerDocument||e:b;return e!==S&&9===e.nodeType&&e.documentElement&&(o=(S=e).documentElement,T=!i(S),(e=S.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",t,!1):e.attachEvent&&e.attachEvent("onunload",t)),h.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=se(function(e){return e.appendChild(S.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=K.test(S.getElementsByClassName),h.getById=se(function(e){return o.appendChild(e).id=C,!S.getElementsByName||!S.getElementsByName(C).length}),h.getById?(w.find.ID=function(e,t){if(void 0!==t.getElementById&&T){e=t.getElementById(e);return e?[e]:[]}},w.filter.ID=function(e){var t=e.replace(ne,u);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(ne,u);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&T?t.getElementsByClassName(e):void 0},s=[],v=[],(h.qsa=K.test(S.querySelectorAll))&&(se(function(e){o.appendChild(e).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||v.push(".#.+[+~]")}),se(function(e){var t=S.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(h.matchesSelector=K.test(a=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&se(function(e){h.disconnectedMatch=a.call(e,"div"),a.call(e,"[s!='']:x"),s.push("!=",I)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),e=K.test(o.compareDocumentPosition),y=e||K.test(o.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=e?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===S||e.ownerDocument===b&&y(b,e)?-1:t===S||t.ownerDocument===b&&y(b,t)?1:l?O(l,e)-O(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,s=[e],a=[t];if(!o||!r)return e===S?-1:t===S?1:o?-1:r?1:l?O(l,e)-O(l,t):0;if(o===r)return le(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?le(s[i],a[i]):s[i]===b?-1:a[i]===b?1:0}),S},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==S&&k(e),t=t.replace(X,"='$1']"),h.matchesSelector&&T&&!E[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=a.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<ie(t,S,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==S&&k(e),y(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==S&&k(e);var n=w.attrHandle[t.toLowerCase()],n=n&&j.call(w.attrHandle,t.toLowerCase())?n(e,t,!T):void 0;return void 0!==n?n:h.attributes||!T?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(_),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},r=ie.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(w=ie.selectors={cacheLength:50,createPseudo:re,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,u),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,u),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Q.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=f[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&f(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=ie.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(R," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,m){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,r,s,a,l,c=v!=y?"nextSibling":"previousSibling",d=e.parentNode,u=b&&e.nodeName.toLowerCase(),p=!n&&!b,f=!1;if(d){if(v){for(;c;){for(s=e;s=s[c];)if(b?s.nodeName.toLowerCase()===u:1===s.nodeType)return!1;l=c="only"===h&&!l&&"nextSibling"}return!0}if(l=[y?d.firstChild:d.lastChild],y&&p){for(f=(a=(i=(o=(r=(s=d)[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[h]||[])[0]===A&&i[1])&&i[2],s=a&&d.childNodes[a];s=++a&&s&&s[c]||(f=a=0)||l.pop();)if(1===s.nodeType&&++f&&s===e){o[h]=[A,a,f];break}}else if(!1===(f=p?a=(i=(o=(r=(s=e)[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[h]||[])[0]===A&&i[1]:f))for(;(s=++a&&s&&s[c]||(f=a=0)||l.pop())&&((b?s.nodeName.toLowerCase()!==u:1!==s.nodeType)||!++f||(p&&((o=(r=s[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[h]=[A,f]),s!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,r){var t,s=w.pseudos[e]||w.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return s[C]?s(r):1<s.length?(t=[e,e,"",r],w.setFilters.hasOwnProperty(e.toLowerCase())?re(function(e,t){for(var n,i=s(e,r),o=i.length;o--;)e[n=O(e,i[o])]=!(t[n]=i[o])}):function(e){return s(e,0,t)}):s}},pseudos:{not:re(function(e){var i=[],o=[],a=p(e.replace(W,"$1"));return a[C]?re(function(e,t,n,i){for(var o,r=a(e,null,i,[]),s=e.length;s--;)(o=r[s])&&(e[s]=!(t[s]=o))}):function(e,t,n){return i[0]=e,a(i,null,n,o),i[0]=null,!o.pop()}}),has:re(function(t){return function(e){return 0<ie(t,e).length}}),contains:re(function(t){return t=t.replace(ne,u),function(e){return-1<(e.textContent||e.innerText||r(e)).indexOf(t)}}),lang:re(function(n){return Y.test(n||"")||ie.error("unsupported lang: "+n),n=n.replace(ne,u).toLowerCase(),function(e){var t;do{if(t=T?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===S.activeElement&&(!S.hasFocus||S.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:ce(function(){return[0]}),last:ce(function(e,t){return[t-1]}),eq:ce(function(e,t,n){return[n<0?n+t:n]}),even:ce(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ce(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ce(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:ce(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ue(){}function pe(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function fe(s,e,t){var a=e.dir,l=t&&"parentNode"===a,c=d++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||l)return s(e,t,n)}:function(e,t,n){var i,o,r=[A,c];if(n){for(;e=e[a];)if((1===e.nodeType||l)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||l){if((o=(i=(o=e[C]||(e[C]={}))[e.uniqueID]||(o[e.uniqueID]={}))[a])&&o[0]===A&&o[1]===c)return r[2]=o[2];if((i[a]=r)[2]=s(e,t,n))return!0}}}function he(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function ge(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),c&&t.push(a)));return s}function me(f,h,g,m,v,e){return m&&!m[C]&&(m=me(m)),v&&!v[C]&&(v=me(v,e)),re(function(e,t,n,i){var o,r,s,a=[],l=[],c=t.length,d=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)ie(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),u=!f||!e&&h?d:ge(d,a,f,n,i),p=g?v||(e?f:c||m)?[]:t:u;if(g&&g(u,p,n,i),m)for(o=ge(p,l),m(o,[],n,i),r=o.length;r--;)(s=o[r])&&(p[l[r]]=!(u[l[r]]=s));if(e){if(v||f){if(v){for(o=[],r=p.length;r--;)(s=p[r])&&o.push(u[r]=s);v(null,p=[],o,i)}for(r=p.length;r--;)(s=p[r])&&-1<(o=v?O(e,s):a[r])&&(e[o]=!(t[o]=s))}}else p=ge(p===t?p.splice(c,p.length):p),v?v(null,t,p,i):H.apply(t,p)})}function ve(m,v){function e(e,t,n,i,o){var r,s,a,l=0,c="0",d=e&&[],u=[],p=x,f=e||b&&w.find.TAG("*",o),h=A+=null==p?1:Math.random()||.1,g=f.length;for(o&&(x=t===S||t||o);c!==g&&null!=(r=f[c]);c++){if(b&&r){for(s=0,t||r.ownerDocument===S||(k(r),n=!T);a=m[s++];)if(a(r,t||S,n)){i.push(r);break}o&&(A=h)}y&&((r=!a&&r)&&l--,e&&d.push(r))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(d,u,t,n);if(e){if(0<l)for(;c--;)d[c]||u[c]||(u[c]=L.call(i));u=ge(u)}H.apply(i,u),o&&!e&&0<u.length&&1<l+v.length&&ie.uniqueSort(i)}return o&&(A=h,x=p),d}var y=0<v.length,b=0<m.length;return y?re(e):e}return ue.prototype=w.filters=w.pseudos,w.setFilters=new ue,g=ie.tokenize=function(e,t){var n,i,o,r,s,a,l,c=$[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=w.preFilter;s;){for(r in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(o=[])),n=!1,(i=U.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(W," ")}),s=s.slice(n.length)),w.filter)!(i=G[r].exec(s))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):$(e,a).slice(0)},p=ie.compile=function(e,t){var n,i=[],o=[],r=E[e+" "];if(!r){for(n=(t=t||g(e)).length;n--;)((r=function e(t){for(var i,n,o,r=t.length,s=w.relative[t[0].type],a=s||w.relative[" "],l=s?1:0,c=fe(function(e){return e===i},a,!0),d=fe(function(e){return-1<O(i,e)},a,!0),u=[function(e,t,n){return n=!s&&(n||t!==x)||((i=t).nodeType?c:d)(e,t,n),i=null,n}];l<r;l++)if(n=w.relative[t[l].type])u=[fe(he(u),n)];else{if((n=w.filter[t[l].type].apply(null,t[l].matches))[C]){for(o=++l;o<r&&!w.relative[t[o].type];o++);return me(1<l&&he(u),1<l&&pe(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(W,"$1"),n,l<o&&e(t.slice(l,o)),o<r&&e(t=t.slice(o)),o<r&&pe(t))}u.push(n)}return he(u)}(t[n]))[C]?i:o).push(r);(r=E(e,ve(o,i))).selector=e}return r},m=ie.select=function(e,t,n,i){var o,r,s,a,l,c="function"==typeof e&&e,d=!i&&g(e=c.selector||e);if(n=n||[],1===d.length){if(2<(r=d[0]=d[0].slice(0)).length&&"ID"===(s=r[0]).type&&h.getById&&9===t.nodeType&&T&&w.relative[r[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(ne,u),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=G.needsContext.test(e)?0:r.length;o--&&(s=r[o],!w.relative[a=s.type]);)if((l=w.find[a])&&(i=l(s.matches[0].replace(ne,u),ee.test(r[0].type)&&de(t.parentNode)||t))){if(r.splice(o,1),!(e=i.length&&pe(r)))return H.apply(n,i),n;break}}return(c||p(e,d))(i,t,!T,n,!t||ee.test(e)&&de(t.parentNode)||t),n},h.sortStable=C.split("").sort(_).join("")===C,h.detectDuplicates=!!c,k(),h.sortDetached=se(function(e){return 1&e.compareDocumentPosition(S.createElement("div"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ae(P,function(e,t,n){return n?void 0:!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null}),ie}(x);S.find=p,S.expr=p.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=p.uniqueSort,S.text=p.getText,S.isXMLDoc=p.isXML,S.contains=p.contains;function f(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&S(e).is(n))break;i.push(e)}return i}function v(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var y=S.expr.match.needsContext,b=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function T(e,n,i){if(S.isFunction(n))return S.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return S.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(w.test(n))return S.filter(n,e,i);n=S.filter(n,e)}return S.grep(e,function(e){return-1<o.call(n,e)!==i})}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n=this.length,i=[],o=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<n;t++)if(S.contains(o[t],this))return!0}));for(t=0;t<n;t++)S.find(e,o[t],i);return(i=this.pushStack(1<n?S.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&y.test(e)?S(e):e||[],!1).length}});var C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(S.fn.init=function(e,t,n){if(!e)return this;if(n=n||A,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):S.isFunction(e)?void 0!==n.ready?n.ready(e):e(S):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),S.makeArray(e,this));if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:C.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),b.test(i[1])&&S.isPlainObject(t))for(var i in t)S.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=k.getElementById(i[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=k,this.selector=e,this}).prototype=S.fn;var A=S(k),$=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function _(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,r=[],s=y.test(e)||"string"!=typeof e?S(e,t||this.context):0;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?S.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?o.call(S(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return f(e,"parentNode")},parentsUntil:function(e,t,n){return f(e,"parentNode",n)},next:function(e){return _(e,"nextSibling")},prev:function(e){return _(e,"previousSibling")},nextAll:function(e){return f(e,"nextSibling")},prevAll:function(e){return f(e,"previousSibling")},nextUntil:function(e,t,n){return f(e,"nextSibling",n)},prevUntil:function(e,t,n){return f(e,"previousSibling",n)},siblings:function(e){return v((e.parentNode||{}).firstChild,e)},children:function(e){return v(e.firstChild)},contents:function(e){return e.contentDocument||S.merge([],e.childNodes)}},function(i,o){S.fn[i]=function(e,t){var n=S.map(this,o,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(E[i]||S.uniqueSort(n),$.test(i)&&n.reverse()),this.pushStack(n)}});var j,D=/\S+/g;function L(){k.removeEventListener("DOMContentLoaded",L),x.removeEventListener("load",L),S.ready()}S.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},S.each(e.match(D)||[],function(e,t){n[t]=!0}),n):S.extend({},i);function o(){for(a=i.once,s=r=!0;c.length;d=-1)for(t=c.shift();++d<l.length;)!1===l[d].apply(t[0],t[1])&&i.stopOnFalse&&(d=l.length,t=!1);i.memory||(t=!1),r=!1,a&&(l=t?[]:"")}var r,t,s,a,l=[],c=[],d=-1,u={add:function(){return l&&(t&&!r&&(d=l.length-1,c.push(t)),function n(e){S.each(e,function(e,t){S.isFunction(t)?i.unique&&u.has(t)||l.push(t):t&&t.length&&"string"!==S.type(t)&&n(t)})}(arguments),t&&!r&&o()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;-1<(n=S.inArray(t,l,n));)l.splice(n,1),n<=d&&d--}),this},has:function(e){return e?-1<S.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),r||o()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!s}};return u},S.extend({Deferred:function(e){var r=[["resolve","done",S.Callbacks("once memory"),"resolved"],["reject","fail",S.Callbacks("once memory"),"rejected"],["notify","progress",S.Callbacks("memory")]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var o=arguments;return S.Deferred(function(i){S.each(r,function(e,t){var n=S.isFunction(o[e])&&o[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&S.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===s?i.promise():this,n?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?S.extend(e,s):s}},a={};return s.pipe=s.then,S.each(r,function(e,t){var n=t[2],i=t[3];s[t[1]]=n.add,i&&n.add(function(){o=i},r[1^e][2].disable,r[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?d.call(arguments):e,i===o?c.notifyWith(n,i):--l||c.resolveWith(n,i)}}var o,n,i,r=0,s=d.call(arguments),a=s.length,l=1!==a||e&&S.isFunction(e.promise)?a:0,c=1===l?e:S.Deferred();if(1<a)for(o=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)s[r]&&S.isFunction(s[r].promise)?s[r].promise().progress(t(r,n,o)).done(t(r,i,s)).fail(c.reject):--l;return l||c.resolveWith(i,s),c.promise()}}),S.fn.ready=function(e){return S.ready.promise().done(e),this},S.extend({isReady:!1,readyWait:1,holdReady:function(e){e?S.readyWait++:S.ready(!0)},ready:function(e){(!0===e?--S.readyWait:S.isReady)||((S.isReady=!0)!==e&&0<--S.readyWait||(j.resolveWith(k,[S]),S.fn.triggerHandler&&(S(k).triggerHandler("ready"),S(k).off("ready"))))}}),S.ready.promise=function(e){return j||(j=S.Deferred(),"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?x.setTimeout(S.ready):(k.addEventListener("DOMContentLoaded",L),x.addEventListener("load",L))),j.promise(e)},S.ready.promise();function N(e,t,n,i,o,r,s){var a=0,l=e.length,c=null==n;if("object"===S.type(n))for(a in o=!0,n)N(e,t,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,S.isFunction(i)||(s=!0),t=c?s?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(S(e),n)}):t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):r}function H(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function q(){this.expando=S.expando+q.uid++}q.uid=1,q.prototype={register:function(e,t){t=t||{};return e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!H(e))return{};var t=e[this.expando];return t||(t={},H(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(i in t)o[i]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(i=this.get(e,t))?i:this.get(e,S.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,o,r=e[this.expando];if(void 0!==r){if(void 0===t)this.register(e);else{n=(i=S.isArray(t)?t.concat(t.map(S.camelCase)):(o=S.camelCase(t),t in r?[t,o]:(i=o)in r?[i]:i.match(D)||[])).length;for(;n--;)delete r[i[n]]}void 0!==t&&!S.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var O=new q,P=new q,M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/[A-Z]/g;function z(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(F,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:M.test(n)?S.parseJSON(n):n)}catch(e){}P.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return P.hasData(e)||O.hasData(e)},data:function(e,t,n){return P.access(e,t,n)},removeData:function(e,t){P.remove(e,t)},_data:function(e,t,n){return O.access(e,t,n)},_removeData:function(e,t){O.remove(e,t)}}),S.fn.extend({data:function(i,e){var t,n,o,r=this[0],s=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){P.set(this,i)}):N(this,function(t){var e,n;return r&&void 0===t?void 0!==(e=P.get(r,i)||P.get(r,i.replace(F,"-$&").toLowerCase()))?e:(n=S.camelCase(i),void 0!==(e=P.get(r,n))?e:void 0!==(e=z(r,n,void 0))?e:void 0):(n=S.camelCase(i),void this.each(function(){var e=P.get(this,n);P.set(this,n,t),-1<i.indexOf("-")&&void 0!==e&&P.set(this,i,t)}))},null,e,1<arguments.length,null,!0);if(this.length&&(o=P.get(r),1===r.nodeType&&!O.get(r,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&(0===(n=s[t].name).indexOf("data-")&&(n=S.camelCase(n.slice(5)),z(r,n,o[n])));O.set(r,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){P.remove(this,e)})}}),S.extend({queue:function(e,t,n){var i;return e?(i=O.get(e,t=(t||"fx")+"queue"),n&&(!i||S.isArray(n)?i=O.access(e,t,S.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,o=n.shift(),r=S._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){S.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return O.get(e,n)||O.access(e,n,{empty:S.Callbacks("once memory").add(function(){O.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||r.resolveWith(s,[s])}var i,o=1,r=S.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=O.get(s[a],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),r.promise(t)}});function I(e,t){return"none"===S.css(e=t||e,"display")||!S.contains(e.ownerDocument,e)}var R=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,W=new RegExp("^(?:([+-])=|)("+R+")([a-z%]*)$","i"),B=["Top","Right","Bottom","Left"];function U(e,t,n,i){var o,r=1,s=20,a=i?function(){return i.cur()}:function(){return S.css(e,t,"")},l=a(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),d=(S.cssNumber[t]||"px"!==c&&+l)&&W.exec(S.css(e,t));if(d&&d[3]!==c)for(c=c||d[3],n=n||[],d=+l||1;S.style(e,t,(d/=r=r||".5")+c),r!==(r=a()/l)&&1!==r&&--s;);return n&&(d=+d||+l||0,o=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=d,i.end=o)),o}var X=/^(?:checkbox|radio)$/i,Q=/<([\w:-]+)/,Y=/^$|\/(?:java|ecma)script/i,G={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function V(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&S.nodeName(e,t)?S.merge([e],n):n}function J(e,t){for(var n=0,i=e.length;n<i;n++)O.set(e[n],"globalEval",!t||O.get(t[n],"globalEval"))}G.optgroup=G.option,G.tbody=G.tfoot=G.colgroup=G.caption=G.thead,G.th=G.td;var K=/<|&#?\w+;/;function Z(e,t,n,i,o){for(var r,s,a,l,c,d=t.createDocumentFragment(),u=[],p=0,f=e.length;p<f;p++)if((r=e[p])||0===r)if("object"===S.type(r))S.merge(u,r.nodeType?[r]:r);else if(K.test(r)){for(s=s||d.appendChild(t.createElement("div")),a=(Q.exec(r)||["",""])[1].toLowerCase(),a=G[a]||G._default,s.innerHTML=a[1]+S.htmlPrefilter(r)+a[2],c=a[0];c--;)s=s.lastChild;S.merge(u,s.childNodes),(s=d.firstChild).textContent=""}else u.push(t.createTextNode(r));for(d.textContent="",p=0;r=u[p++];)if(i&&-1<S.inArray(r,i))o&&o.push(r);else if(l=S.contains(r.ownerDocument,r),s=V(d.appendChild(r),"script"),l&&J(s),n)for(c=0;r=s[c++];)Y.test(r.type||"")&&n.push(r);return d}n=k.createDocumentFragment().appendChild(k.createElement("div")),(p=k.createElement("input")).setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),n.appendChild(p),m.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;var ee=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;function ie(){return!0}function oe(){return!1}function re(){try{return k.activeElement}catch(e){}}function se(e,t,n,i,o,r){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)se(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=oe;else if(!o)return e;return 1===r&&(s=o,(o=function(e){return S().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),e.each(function(){S.event.add(this,t,o,i,n)})}S.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,d,u,p,f,h=O.get(t);if(h)for(n.handler&&(n=(r=n).handler,o=r.selector),n.guid||(n.guid=S.guid++),(a=h.events)||(a=h.events={}),(s=h.handle)||(s=h.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;l--;)u=f=(c=ne.exec(e[l])||[])[1],p=(c[2]||"").split(".").sort(),u&&(d=S.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=S.event.special[u]||{},c=S.extend({type:u,origType:f,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:p.join(".")},r),(f=a[u])||((f=a[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(u,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),S.event.global[u]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,c,d,u,p,f,h,g,m=O.hasData(e)&&O.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(D)||[""]).length;c--;)if(f=g=(a=ne.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(u=S.event.special[f]||{},p=l[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)d=p[r],!o&&g!==d.origType||n&&n.guid!==d.guid||a&&!a.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(p.splice(r,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));s&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,h,m.handle)||S.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)S.event.remove(e,f+t[c],n,i,!0);S.isEmptyObject(l)&&O.remove(e,"handle events")}},dispatch:function(e){e=S.event.fix(e);var t,n,i,o,r,s=d.call(arguments),a=(O.get(this,"events")||{})[e.type]||[],l=S.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(r=S.event.handlers.call(this,e,a),t=0;(i=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(o=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<a;n++)void 0===i[o=(r=t[n]).selector+" "]&&(i[o]=r.needsContext?-1<S(o,this).index(l):S.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||k).documentElement,i=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[S.expando])return e;var t,n,i,o=e.type,r=e,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=te.test(o)?this.mouseHooks:ee.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new S.Event(r),t=i.length;t--;)e[n=i[t]]=r[n];return e.target||(e.target=k),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==re()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===re()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&S.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return S.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){return this instanceof S.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ie:oe):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||S.now(),void(this[S.expando]=!0)):new S.Event(e,t)},S.Event.prototype={constructor:S.Event,isDefaultPrevented:oe,isPropagationStopped:oe,isImmediatePropagationStopped:oe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ie,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ie,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ie,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){S.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),S.fn.extend({on:function(e,t,n,i){return se(this,e,t,n,i)},one:function(e,t,n,i){return se(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=oe),this.each(function(){S.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this}});var ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,le=/<script|<style|<link/i,ce=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function pe(e,t){return S.nodeName(e,"table")&&S.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=de.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ge(e,t){var n,i,o,r,s,a;if(1===t.nodeType){if(O.hasData(e)&&(r=O.access(e),s=O.set(t,r),a=r.events))for(o in delete s.handle,s.events={},a)for(n=0,i=a[o].length;n<i;n++)S.event.add(t,o,a[o][n]);P.hasData(e)&&(e=P.access(e),e=S.extend({},e),P.set(t,e))}}function me(n,i,o,r){i=g.apply([],i);var e,t,s,a,l,c,d=0,u=n.length,p=u-1,f=i[0],h=S.isFunction(f);if(h||1<u&&"string"==typeof f&&!m.checkClone&&ce.test(f))return n.each(function(e){var t=n.eq(e);h&&(i[0]=f.call(this,e,t.html())),me(t,i,o,r)});if(u&&(t=(e=Z(i,n[0].ownerDocument,!1,n,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(a=(s=S.map(V(e,"script"),fe)).length;d<u;d++)l=e,d!==p&&(l=S.clone(l,!0,!0),a&&S.merge(s,V(l,"script"))),o.call(n[d],l,d);if(a)for(c=s[s.length-1].ownerDocument,S.map(s,he),d=0;d<a;d++)l=s[d],Y.test(l.type||"")&&!O.access(l,"globalEval")&&S.contains(c,l)&&(l.src?S._evalUrl&&S._evalUrl(l.src):S.globalEval(l.textContent.replace(ue,"")))}return n}function ve(e,t,n){for(var i,o=t?S.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||S.cleanData(V(i)),i.parentNode&&(n&&S.contains(i.ownerDocument,i)&&J(V(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e.replace(ae,"<$1></$2>")},clone:function(e,t,n){var i,o,r,s,a,l,c,d=e.cloneNode(!0),u=S.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(s=V(d),i=0,o=(r=V(e)).length;i<o;i++)a=r[i],l=s[i],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&X.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(r=r||V(e),s=s||V(d),i=0,o=r.length;i<o;i++)ge(r[i],s[i]);else ge(e,d);return 0<(s=V(d,"script")).length&&J(s,!u&&V(e,"script")),d},cleanData:function(e){for(var t,n,i,o=S.event.special,r=0;void 0!==(n=e[r]);r++)if(H(n)){if(t=n[O.expando]){if(t.events)for(i in t.events)o[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[O.expando]=void 0}n[P.expando]&&(n[P.expando]=void 0)}}}),S.fn.extend({domManip:me,detach:function(e){return ve(this,e,!0)},remove:function(e){return ve(this,e)},text:function(e){return N(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return me(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pe(this,e).appendChild(e)})},prepend:function(){return me(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=pe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(V(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return N(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!le.test(e)&&!G[(Q.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(V(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return me(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(V(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){S.fn[e]=function(e){for(var t,n=[],i=S(e),o=i.length-1,r=0;r<=o;r++)t=r===o?this:this.clone(!0),S(i[r])[s](t),a.apply(n,t.get());return this.pushStack(n)}});var ye,be={HTML:"block",BODY:"block"};function we(e,t){e=S(t.createElement(e)).appendTo(t.body),t=S.css(e[0],"display");return e.detach(),t}function xe(e){var t=k,n=be[e];return n||("none"!==(n=we(e,t))&&n||((t=(ye=(ye||S("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=we(e,t),ye.detach()),be[e]=n),n}function ke(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?x:t).getComputedStyle(e)}function Se(e,t,n,i){var o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,i||[]),t)e.style[o]=r[o];return i}var Te,Ce,Ae,$e,Ee,_e,je=/^margin/,De=new RegExp("^("+R+")(?!px)[a-z%]+$","i"),Le=k.documentElement;function Ne(){_e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",_e.innerHTML="",Le.appendChild(Ee);var e=x.getComputedStyle(_e);Te="1%"!==e.top,$e="2px"===e.marginLeft,Ce="4px"===e.width,_e.style.marginRight="50%",Ae="4px"===e.marginRight,Le.removeChild(Ee)}function He(e,t,n){var i,o,r=e.style;return""!==(o=(n=n||ke(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||S.contains(e.ownerDocument,e)||(o=S.style(e,t)),n&&!m.pixelMarginRight()&&De.test(o)&&je.test(t)&&(i=r.width,e=r.minWidth,t=r.maxWidth,r.minWidth=r.maxWidth=r.width=o,o=n.width,r.width=i,r.minWidth=e,r.maxWidth=t),void 0!==o?o+"":o}function qe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}Ee=k.createElement("div"),(_e=k.createElement("div")).style&&(_e.style.backgroundClip="content-box",_e.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===_e.style.backgroundClip,Ee.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",Ee.appendChild(_e),S.extend(m,{pixelPosition:function(){return Ne(),Te},boxSizingReliable:function(){return null==Ce&&Ne(),Ce},pixelMarginRight:function(){return null==Ce&&Ne(),Ae},reliableMarginLeft:function(){return null==Ce&&Ne(),$e},reliableMarginRight:function(){var e,t=_e.appendChild(k.createElement("div"));return t.style.cssText=_e.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",_e.style.width="1px",Le.appendChild(Ee),e=!parseFloat(x.getComputedStyle(t).marginRight),Le.removeChild(Ee),_e.removeChild(t),e}}));var Oe=/^(none|table(?!-c[ea]).+)/,Pe={position:"absolute",visibility:"hidden",display:"block"},Me={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],ze=k.createElement("div").style;function Ie(e){if(e in ze)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in ze)return e}function Re(e,t,n){var i=W.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function We(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=S.css(e,n+B[r],!0,o)),i?("content"===n&&(s-=S.css(e,"padding"+B[r],!0,o)),"margin"!==n&&(s-=S.css(e,"border"+B[r]+"Width",!0,o))):(s+=S.css(e,"padding"+B[r],!0,o),"padding"!==n&&(s+=S.css(e,"border"+B[r]+"Width",!0,o)));return s}function Be(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=ke(e),s="border-box"===S.css(e,"boxSizing",!1,r);if(o<=0||null==o){if(((o=He(e,t,r))<0||null==o)&&(o=e.style[t]),De.test(o))return o;i=s&&(m.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+We(e,t,n||(s?"border":"content"),i,r)+"px"}function Ue(e,t){for(var n,i,o,r=[],s=0,a=e.length;s<a;s++)(i=e[s]).style&&(r[s]=O.get(i,"olddisplay"),n=i.style.display,t?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&I(i)&&(r[s]=O.access(i,"olddisplay",xe(i.nodeName)))):(o=I(i),"none"===n&&o||O.set(i,"olddisplay",o?n:S.css(i,"display"))));for(s=0;s<a;s++)(i=e[s]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[s]||"":"none"));return e}function Xe(e,t,n,i,o){return new Xe.prototype.init(e,t,n,i,o)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=He(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=S.camelCase(t),l=e.style;return t=S.cssProps[a]||(S.cssProps[a]=Ie(a)||a),s=S.cssHooks[t]||S.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(o=s.get(e,!1,i))?o:l[t]:("string"===(r=typeof n)&&(o=W.exec(n))&&o[1]&&(n=U(e,t,o),r="number"),void(null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(S.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l[t]=n))))}},css:function(e,t,n,i){var o,r=S.camelCase(t);return t=S.cssProps[r]||(S.cssProps[r]=Ie(r)||r),"normal"===(o=void 0===(o=(r=S.cssHooks[t]||S.cssHooks[r])&&"get"in r?r.get(e,!0,n):o)?He(e,t,i):o)&&t in Me&&(o=Me[t]),""===n||n?(t=parseFloat(o),!0===n||isFinite(t)?t||0:o):o}}),S.each(["height","width"],function(e,r){S.cssHooks[r]={get:function(e,t,n){return t?Oe.test(S.css(e,"display"))&&0===e.offsetWidth?Se(e,Pe,function(){return Be(e,r,n)}):Be(e,r,n):void 0},set:function(e,t,n){var i,o=n&&ke(e),o=n&&We(e,r,n,"border-box"===S.css(e,"boxSizing",!1,o),o);return o&&(i=W.exec(t))&&"px"!==(i[3]||"px")&&(e.style[r]=t,t=S.css(e,r)),Re(0,t,o)}}}),S.cssHooks.marginLeft=qe(m.reliableMarginLeft,function(e,t){return t?(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),S.cssHooks.marginRight=qe(m.reliableMarginRight,function(e,t){return t?Se(e,{display:"inline-block"},He,[e,"marginRight"]):void 0}),S.each({margin:"",padding:"",border:"Width"},function(o,r){S.cssHooks[o+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+B[t]+r]=i[t]||i[t-2]||i[0];return n}},je.test(o)||(S.cssHooks[o+r].set=Re)}),S.fn.extend({css:function(e,t){return N(this,function(e,t,n){var i,o,r={},s=0;if(S.isArray(t)){for(i=ke(e),o=t.length;s<o;s++)r[t[s]]=S.css(e,t[s],!1,i);return r}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)},show:function(){return Ue(this,!0)},hide:function(){return Ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){I(this)?S(this).show():S(this).hide()})}}),((S.Tween=Xe).prototype={constructor:Xe,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(S.cssNumber[n]?"":"px")},cur:function(){var e=Xe.propHooks[this.prop];return(e&&e.get?e:Xe.propHooks._default).get(this)},run:function(e){var t,n=Xe.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:Xe.propHooks._default).set(this),this}}).init.prototype=Xe.prototype,(Xe.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=S.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[S.cssProps[e.prop]]&&!S.cssHooks[e.prop]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Xe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=Xe.prototype.init,S.fx.step={};var Qe,Ye,Ge=/^(?:toggle|show|hide)$/,Ve=/queueHooks$/;function Je(){return x.setTimeout(function(){Qe=void 0}),Qe=S.now()}function Ke(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=B[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function Ze(e,t,n){for(var i,o=(et.tweeners[t]||[]).concat(et.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function et(o,e,t){var n,r,i=0,s=et.prefilters.length,a=S.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Qe||Je(),e=Math.max(0,c.startTime+c.duration-e),t=1-(e/c.duration||0),n=0,i=c.tweens.length;n<i;n++)c.tweens[n].run(t);return a.notifyWith(o,[c,t,e]),t<1&&i?e:(a.resolveWith(o,[c]),!1)},c=a.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Qe||Je(),duration:t.duration,tweens:[],createTween:function(e,t){e=S.Tween(o,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(e),e},stop:function(e){var t=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;t<n;t++)c.tweens[t].run(1);return e?(a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c,e])):a.rejectWith(o,[c,e]),this}}),d=c.props;for(function(e,t){var n,i,o,r,s;for(n in e)if(i=S.camelCase(n),o=t[i],r=e[n],S.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),s=S.cssHooks[i],s&&"expand"in s)for(n in r=s.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(d,c.opts.specialEasing);i<s;i++)if(n=et.prefilters[i].call(c,o,d,c.opts))return S.isFunction(n.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=S.proxy(n.stop,n)),n;return S.map(d,Ze,c),S.isFunction(c.opts.start)&&c.opts.start.call(o,c),S.fx.timer(S.extend(l,{elem:o,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}S.Animation=S.extend(et,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return U(n.elem,e,W.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=S.isFunction(e)?(t=e,["*"]):e.match(D)).length;i<o;i++)n=e[i],et.tweeners[n]=et.tweeners[n]||[],et.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var i,o,r,s,a,l,c,d=this,u={},p=t.style,f=t.nodeType&&I(t),h=O.get(t,"fxshow");for(i in n.queue||(null==(a=S._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,S.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(c=S.css(t,"display"))?O.get(t,"olddisplay")||xe(t.nodeName):c)&&"none"===S.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(o=e[i],Ge.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!h||void 0===h[i])continue;f=!0}u[i]=h&&h[i]||S.style(t,i)}else c=void 0;if(S.isEmptyObject(u))"inline"===("none"===c?xe(t.nodeName):c)&&(p.display=c);else for(i in h?"hidden"in h&&(f=h.hidden):h=O.access(t,"fxshow",{}),r&&(h.hidden=!f),f?S(t).show():d.done(function(){S(t).hide()}),d.done(function(){for(var e in O.remove(t,"fxshow"),u)S.style(t,e,u[e])}),u)s=Ze(f?h[i]:0,i,d),i in h||(h[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}],prefilter:function(e,t){t?et.prefilters.unshift(e):et.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||S.isFunction(e)&&e,duration:e,easing:n&&t||t&&!S.isFunction(t)&&t};return i.duration=S.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in S.fx.speeds?S.fx.speeds[i.duration]:S.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){S.isFunction(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(I).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var o=S.isEmptyObject(t),r=S.speed(e,n,i),i=function(){var e=et(this,S.extend({},t),r);(o||O.get(this,"finish"))&&e.stop(!0)};return i.finish=i,o||!1===r.queue?this.each(i):this.queue(r.queue,i)},stop:function(o,e,r){function s(e){var t=e.stop;delete e.stop,t(r)}return"string"!=typeof o&&(r=e,e=o,o=void 0),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=S.timers,i=O.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&Ve.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||S.dequeue(this,o)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=O.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],o=S.timers,r=n?n.length:0;for(t.finish=!0,S.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===s&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,i){var o=S.fn[i];S.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(Ke(i,!0),e,t,n)}}),S.each({slideDown:Ke("show"),slideUp:Ke("hide"),slideToggle:Ke("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){S.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(Qe=S.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),Qe=void 0},S.fx.timer=function(e){S.timers.push(e),e()?S.fx.start():S.timers.pop()},S.fx.interval=13,S.fx.start=function(){Ye=Ye||x.setInterval(S.fx.tick,S.fx.interval)},S.fx.stop=function(){x.clearInterval(Ye),Ye=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,e){return i=S.fx&&S.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=x.setTimeout(e,i);t.stop=function(){x.clearTimeout(n)}})},p=k.createElement("input"),n=k.createElement("select"),R=n.appendChild(k.createElement("option")),p.type="checkbox",m.checkOn=""!==p.value,m.optSelected=R.selected,n.disabled=!0,m.optDisabled=!R.disabled,(p=k.createElement("input")).value="t",p.type="radio",m.radioValue="t"===p.value;var tt,nt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return N(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?S.prop(e,t,n):(1===r&&S.isXMLDoc(e)||(t=t.toLowerCase(),o=S.attrHooks[t]||(S.expr.match.bool.test(t)?tt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&S.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(D);if(r&&1===e.nodeType)for(;n=r[o++];)i=S.propFix[n]||n,S.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),tt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var r=nt[t]||S.find.attr;nt[t]=function(e,t,n){var i,o;return n||(o=nt[t],nt[t]=i,i=null!=r(e,t,n)?t.toLowerCase():null,nt[t]=o),i}});var it=/^(?:input|select|textarea|button)$/i,ot=/^(?:a|area)$/i;S.fn.extend({prop:function(e,t){return N(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&S.isXMLDoc(e)||(t=S.propFix[t]||t,o=S.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):it.test(e.nodeName)||ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this});var rt=/[\t\r\n\f]/g;function st(e){return e.getAttribute&&e.getAttribute("class")||""}S.fn.extend({addClass:function(t){var e,n,i,o,r,s,a=0;if(S.isFunction(t))return this.each(function(e){S(this).addClass(t.call(this,e,st(this)))});if("string"==typeof t&&t)for(e=t.match(D)||[];n=this[a++];)if(s=st(n),i=1===n.nodeType&&(" "+s+" ").replace(rt," ")){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s!==(s=S.trim(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,o,r,s,a=0;if(S.isFunction(t))return this.each(function(e){S(this).removeClass(t.call(this,e,st(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(D)||[];n=this[a++];)if(s=st(n),i=1===n.nodeType&&(" "+s+" ").replace(rt," ")){for(r=0;o=e[r++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");s!==(s=S.trim(i))&&n.setAttribute("class",s)}return this},toggleClass:function(o,t){var r=typeof o;return"boolean"==typeof t&&"string"==r?t?this.addClass(o):this.removeClass(o):S.isFunction(o)?this.each(function(e){S(this).toggleClass(o.call(this,e,st(this),t),t)}):this.each(function(){var e,t,n,i;if("string"==r)for(t=0,n=S(this),i=o.match(D)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=r||((e=st(this))&&O.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==o&&O.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+st(t)+" ").replace(rt," ").indexOf(i))return!0;return!1}});var at=/\r/g,lt=/[\x20\t\r\n\f]+/g;S.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=S.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,S(this).val()):t)?e="":"number"==typeof e?e+="":S.isArray(e)&&(e=S.map(e,function(e){return null==e?"":e+""})),(n=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):o?(n=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(at,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:S.trim(S.text(e)).replace(lt," ")}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,r=o?null:[],s=o?i+1:n.length,a=i<0?s:o?i:0;a<s;a++)if(((t=n[a]).selected||a===i)&&(m.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!S.nodeName(t.parentNode,"optgroup"))){if(t=S(t).val(),o)return t;r.push(t)}return r},set:function(e,t){for(var n,i,o=e.options,r=S.makeArray(t),s=o.length;s--;)((i=o[s]).selected=-1<S.inArray(S.valHooks.option.get(i),r))&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){return S.isArray(t)?e.checked=-1<S.inArray(S(e).val(),t):void 0}},m.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ct=/^(?:focusinfocus|focusoutblur)$/;S.extend(S.event,{trigger:function(e,t,n,i){var o,r,s,a,l,c,d=[n||k],u=h.call(e,"type")?e.type:e,p=h.call(e,"namespace")?e.namespace.split("."):[],f=r=n=n||k;if(3!==n.nodeType&&8!==n.nodeType&&!ct.test(u+S.event.triggered)&&(-1<u.indexOf(".")&&(u=(p=u.split(".")).shift(),p.sort()),a=u.indexOf(":")<0&&"on"+u,(e=e[S.expando]?e:new S.Event(u,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[u]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!S.isWindow(n)){for(s=c.delegateType||u,ct.test(s+u)||(f=f.parentNode);f;f=f.parentNode)d.push(f),r=f;r===(n.ownerDocument||k)&&d.push(r.defaultView||r.parentWindow||x)}for(o=0;(f=d[o++])&&!e.isPropagationStopped();)e.type=1<o?s:c.bindType||u,(l=(O.get(f,"events")||{})[e.type]&&O.get(f,"handle"))&&l.apply(f,t),(l=a&&f[a])&&l.apply&&H(f)&&(e.result=l.apply(f,t),!1===e.result&&e.preventDefault());return e.type=u,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!H(n)||a&&S.isFunction(n[u])&&!S.isWindow(n)&&((r=n[a])&&(n[a]=null),n[S.event.triggered=u](),S.event.triggered=void 0,r&&(n[a]=r)),e.result}},simulate:function(e,t,n){e=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(e,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?S.event.trigger(e,t,n,!0):void 0}}),S.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),S.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),m.focusin="onfocusin"in x,m.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,i){function o(e){S.event.simulate(i,e.target,S.event.fix(e))}S.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=O.access(e,i);t||e.addEventListener(n,o,!0),O.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=O.access(e,i)-1;t?O.access(e,i,t):(e.removeEventListener(n,o,!0),O.remove(e,i))}}});var dt=x.location,ut=S.now(),pt=/\?/;S.parseJSON=function(e){return JSON.parse(e+"")},S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var ft=/#.*$/,ht=/([?&])_=[^&]*/,gt=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,vt=/^\/\//,yt={},bt={},wt="*/".concat("*"),xt=k.createElement("a");function kt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(D)||[];if(S.isFunction(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function St(t,i,o,r){var s={},a=t===bt;function l(e){var n;return s[e]=!0,S.each(t[e]||[],function(e,t){t=t(i,o,r);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Tt(e,t){var n,i,o=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&S.extend(!0,e,i),e}xt.href=dt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":S.parseJSON,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Tt(Tt(e,S.ajaxSettings),t):Tt(S.ajaxSettings,e)},ajaxPrefilter:kt(yt),ajaxTransport:kt(bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,d,n,u,p,i,f=S.ajaxSetup({},t=t||{}),h=f.context||f,g=f.context&&(h.nodeType||h.jquery)?S(h):S.event,m=S.Deferred(),v=S.Callbacks("once memory"),y=f.statusCode||{},o={},r={},b=0,s="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!n)for(n={};t=gt.exec(d);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?d:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=r[n]=r[n]||e,o[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){if(e)if(b<2)for(var t in e)y[t]=[y[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){e=e||s;return l&&l.abort(e),a(0,e),this}};if(m.promise(w).complete=v.add,w.success=w.done,w.error=w.fail,f.url=((e||f.url||dt.href)+"").replace(ft,"").replace(vt,dt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=S.trim(f.dataType||"*").toLowerCase().match(D)||[""],null==f.crossDomain){e=k.createElement("a");try{e.href=f.url,e.href=e.href,f.crossDomain=xt.protocol+"//"+xt.host!=e.protocol+"//"+e.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=S.param(f.data,f.traditional)),St(yt,f,t,w),2===b)return w;for(i in(p=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!mt.test(f.type),c=f.url,f.hasContent||(f.data&&(c=f.url+=(pt.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=ht.test(c)?c.replace(ht,"$1_="+ut++):c+(pt.test(c)?"&":"?")+"_="+ut++)),f.ifModified&&(S.lastModified[c]&&w.setRequestHeader("If-Modified-Since",S.lastModified[c]),S.etag[c]&&w.setRequestHeader("If-None-Match",S.etag[c])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+wt+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(!1===f.beforeSend.call(h,w,f)||2===b))return w.abort();for(i in s="abort",{success:1,error:1,complete:1})w[i](f[i]);if(l=St(bt,f,t,w)){if(w.readyState=1,p&&g.trigger("ajaxSend",[w,f]),2===b)return w;f.async&&0<f.timeout&&(u=x.setTimeout(function(){w.abort("timeout")},f.timeout));try{b=1,l.send(o,a)}catch(e){if(!(b<2))throw e;a(-1,e)}}else a(-1,"No Transport");function a(e,t,n,i){var o,r,s,a=t;2!==b&&(b=2,u&&x.clearTimeout(u),l=void 0,d=i||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}s=s||o}r=r||s}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}(f,w,n)),s=function(e,t,n,i){var o,r,s,a,l,c={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if(a=o.split(" "),a[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],d.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(f,s,w,i),i?(f.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(S.lastModified[c]=n),(n=w.getResponseHeader("etag"))&&(S.etag[c]=n)),204===e||"HEAD"===f.type?a="nocontent":304===e?a="notmodified":(a=s.state,o=s.data,i=!(r=s.error))):(r=a,!e&&a||(a="error",e<0&&(e=0))),w.status=e,w.statusText=(t||a)+"",i?m.resolveWith(h,[o,a,w]):m.rejectWith(h,[w,a,r]),w.statusCode(y),y=void 0,p&&g.trigger(i?"ajaxSuccess":"ajaxError",[w,f,i?o:r]),v.fireWith(h,[w,a]),p&&(g.trigger("ajaxComplete",[w,f]),--S.active||S.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,o){S[o]=function(e,t,n,i){return S.isFunction(t)&&(i=i||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:o,dataType:i,data:t,success:n},S.isPlainObject(e)&&e))}}),S._evalUrl=function(e){return S.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(t){var e;return S.isFunction(t)?this.each(function(e){S(this).wrapAll(t.call(this,e))}):(this[0]&&(e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return S.isFunction(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=S.isFunction(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){S.nodeName(this,"body")||S(this).replaceWith(this.childNodes)}).end()}}),S.expr.filters.hidden=function(e){return!S.expr.filters.visible(e)},S.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var Ct=/%20/g,At=/\[\]$/,$t=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,_t=/^(?:input|select|textarea|keygen)/i;S.param=function(e,t){function n(e,t){t=S.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,o=[];if(void 0===t&&(t=S.ajaxSettings&&S.ajaxSettings.traditional),S.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,o,r){if(S.isArray(e))S.each(e,function(e,t){o||At.test(i)?r(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,r)});else if(o||"object"!==S.type(e))r(i,e);else for(var t in e)n(i+"["+t+"]",e[t],o,r)}(i,e[i],t,n);return o.join("&").replace(Ct,"+")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&_t.test(this.nodeName)&&!Et.test(e)&&(this.checked||!X.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:S.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace($t,"\r\n")}}):{name:t.name,value:n.replace($t,"\r\n")}}).get()}}),S.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var jt={0:200,1223:204},Dt=S.ajaxSettings.xhr();m.cors=!!Dt&&"withCredentials"in Dt,m.ajax=Dt=!!Dt,S.ajaxTransport(function(o){var r,s;return m.cors||Dt&&!o.crossDomain?{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);r=function(e){return function(){r&&(r=s=i.onload=i.onerror=i.onabort=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(jt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=r(),s=i.onerror=r("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&x.setTimeout(function(){r&&s()})},r=r("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}:void 0}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(e,t){i=S("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(i[0])},abort:function(){o&&o()}}});var Lt=[],Nt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Lt.pop()||S.expando+"_"+ut++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,r,s=!1!==e.jsonp&&(Nt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Nt.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=S.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Nt,"$1"+i):!1!==e.jsonp&&(e.url+=(pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||S.error(i+" was not called"),r[0]},e.dataTypes[0]="json",o=x[i],x[i]=function(){r=arguments},n.always(function(){void 0===o?S(x).removeProp(i):x[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Lt.push(i)),r&&S.isFunction(o)&&o(r[0]),r=o=void 0}),"script"):void 0}),S.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||k;var i=b.exec(e),n=!n&&[];return i?[t.createElement(i[1])]:(i=Z([e],t,n),n&&n.length&&S(n).remove(),S.merge([],i.childNodes))};var Ht=S.fn.load;function qt(e){return S.isWindow(e)?e:9===e.nodeType&&e.defaultView}S.fn.load=function(e,t,n){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);var i,o,r,s=this,a=e.indexOf(" ");return-1<a&&(i=S.trim(e.slice(a)),e=e.slice(0,a)),S.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<s.length&&S.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.filters.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var i,o,r,s,a=S.css(e,"position"),l=S(e),c={};"static"===a&&(e.style.position="relative"),r=l.offset(),i=S.css(e,"top"),s=S.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(s)||0),null!=(t=S.isFunction(t)?t.call(e,n,S.extend({},r)):t).top&&(c.top=t.top-r.top+o),null!=t.left&&(c.left=t.left-r.left+s),"using"in t?t.using.call(e,c):l.css(c)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n=this[0],i={top:0,left:0},o=n&&n.ownerDocument;return o?(e=o.documentElement,S.contains(e,n)?(i=n.getBoundingClientRect(),o=qt(o),{top:i.top+o.pageYOffset-e.clientTop,left:i.left+o.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===S.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(i=!S.nodeName(e[0],"html")?e.offset():i).top+=S.css(e[0],"borderTopWidth",!0),i.left+=S.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-S.css(n,"marginTop",!0),left:t.left-i.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||Le})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r="pageYOffset"===o;S.fn[t]=function(e){return N(this,function(e,t,n){var i=qt(e);return void 0===n?i?i[o]:e[t]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=qe(m.pixelPosition,function(e,t){return t?(t=He(e,n),De.test(t)?S(e).position()[n]+"px":t):void 0})}),S.each({Height:"height",Width:"width"},function(r,s){S.each({padding:"inner"+r,content:s,"":"outer"+r},function(i,e){S.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return N(this,function(e,t,n){var i;return S.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?S.css(e,t,o):S.style(e,t,n,o)},s,n?e:void 0,n,null)}})}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),S.fn.andSelf=S.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Ot=x.jQuery,Pt=x.$;return S.noConflict=function(e){return x.$===S&&(x.$=Pt),e&&x.jQuery===S&&(x.jQuery=Ot),S},e||(x.jQuery=x.$=S),S}),function(d,l,i,n){"use strict";!function(e){for(var t=e.length,n=d("head");t--;)0===n.has("."+e[t]).length&&n.append('<meta class="'+e[t]+'" />')}(["foundation-mq-small","foundation-mq-small-only","foundation-mq-medium","foundation-mq-medium-only","foundation-mq-large","foundation-mq-large-only","foundation-mq-xlarge","foundation-mq-xlarge-only","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),d(function(){"undefined"!=typeof FastClick&&void 0!==i.body&&FastClick.attach(i.body)});function a(e,t){if("string"!=typeof e)return d(e,t);if(t){var n;if(t.jquery){if(!(n=t[0]))return t}else n=t;return d(n.querySelectorAll(e))}return d(i.querySelectorAll(e))}function t(e){var t=[];return e||t.push("data"),0<this.namespace.length&&t.push(this.namespace),t.push(this.name),t.join("-")}function o(e){for(var t=e.split("-"),n=t.length,i=[];n--;)0===n&&0<this.namespace.length?i.push(this.namespace,t[n]):i.push(t[n]);return i.reverse().join("-")}function r(n,i){function e(){var e=a(this),t=!e.data(o.attr_name(!0)+"-init");e.data(o.attr_name(!0)+"-init",d.extend({},o.settings,i||n,o.data_options(e))),t&&o.events(this)}var o=this;if(a(this.scope).is("["+this.attr_name()+"]")?e.call(this.scope):a("["+this.attr_name()+"]",this.scope).each(e),"string"==typeof n)return this[n].call(this,i)}function s(e,t){function n(){t(e[0])}!e.attr("src")||e[0].complete||4===e[0].readyState?n():function(){var e,t;this.one("load",n),/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&(t=(e=this.attr("src")).match(/\?/)?"&":"?",t+="random="+(new Date).getTime(),this.attr("src",e+t))}.call(e)}var e,c,u,p,f,h;l.matchMedia=l.matchMedia||(u=(e=i).documentElement,p=u.firstElementChild||u.firstChild,f=e.createElement("body"),(h=e.createElement("div")).id="mq-test-1",h.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(h),function(e){return h.innerHTML='­<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',u.insertBefore(f,p),c=42===h.offsetWidth,u.removeChild(f),{matches:c,media:e}}),function(t){for(var n,o=0,e=["webkit","moz"],i=l.requestAnimationFrame,r=l.cancelAnimationFrame,s=void 0!==t.fx;o<e.length&&!i;o++)i=l[e[o]+"RequestAnimationFrame"],r=r||l[e[o]+"CancelAnimationFrame"]||l[e[o]+"CancelRequestAnimationFrame"];function a(){n&&(i(a),s&&t.fx.tick())}i?(l.requestAnimationFrame=i,l.cancelAnimationFrame=r,s&&(t.fx.timer=function(e){e()&&t.timers.push(e)&&!n&&(n=!0,a())},t.fx.stop=function(){n=!1})):(l.requestAnimationFrame=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o)),i=l.setTimeout(function(){e(t+n)},n);return o=t+n,i},l.cancelAnimationFrame=function(e){clearTimeout(e)})}(d),l.Foundation={name:"Foundation",version:"5.5.1",media_queries:{small:a(".foundation-mq-small").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"small-only":a(".foundation-mq-small-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),medium:a(".foundation-mq-medium").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"medium-only":a(".foundation-mq-medium-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),large:a(".foundation-mq-large").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"large-only":a(".foundation-mq-large-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xlarge:a(".foundation-mq-xlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"xlarge-only":a(".foundation-mq-xlarge-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xxlarge:a(".foundation-mq-xxlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")},stylesheet:d("<style></style>").appendTo("head")[0].sheet,global:{namespace:n},init:function(e,t,n,i,o){var o=[e,n,i,o],r=[];if(this.rtl=/rtl/i.test(a("html").attr("dir")),this.scope=e||this.scope,this.set_namespace(),t&&"string"==typeof t&&!/reflow/i.test(t))this.libs.hasOwnProperty(t)&&r.push(this.init_lib(t,o));else for(var s in this.libs)r.push(this.init_lib(s,t));return a(l).load(function(){a(l).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),e},init_lib:function(e,t){return this.libs.hasOwnProperty(e)?(this.patch(this.libs[e]),t&&t.hasOwnProperty(e)?(void 0!==this.libs[e].settings?d.extend(!0,this.libs[e].settings,t[e]):void 0!==this.libs[e].defaults&&d.extend(!0,this.libs[e].defaults,t[e]),this.libs[e].init.apply(this.libs[e],[this.scope,t[e]])):(t=t instanceof Array?t:new Array(t),this.libs[e].init.apply(this.libs[e],t))):function(){}},patch:function(e){e.scope=this.scope,e.namespace=this.global.namespace,e.rtl=this.rtl,e.data_options=this.utils.data_options,e.attr_name=t,e.add_namespace=o,e.bindings=r,e.S=this.utils.S},inherit:function(e,t){for(var n=t.split(" "),i=n.length;i--;)this.utils.hasOwnProperty(n[i])&&(e[n[i]]=this.utils[n[i]])},set_namespace:function(){var e=this.global.namespace===n?d(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=e===n||/false/i.test(e)?"":e},libs:{},utils:{S:a,throttle:function(n,i){var o=null;return function(){var e=this,t=arguments;null==o&&(o=setTimeout(function(){n.apply(e,t),o=null},i))}},debounce:function(i,o,r){var s,a;return function(){var e=this,t=arguments,n=r&&!s;return clearTimeout(s),s=setTimeout(function(){s=null,r||(a=i.apply(e,t))},o),a=n?i.apply(e,t):a}},data_options:function(e,t){t=t||"options";var n,i,o,r,s,a,l={},e=(r=e,0<(s=Foundation.global.namespace).length?r.data(s+"-"+t):r.data(t));if("object"==typeof e)return e;function c(e){return"string"==typeof e?d.trim(e):e}for(n=(o=(e||":").split(";")).length;n--;)i=[(i=o[n].split(":"))[0],i.slice(1).join(":")],/true/i.test(i[1])&&(i[1]=!0),/false/i.test(i[1])&&(i[1]=!1),a=i[1],isNaN(+a)||null===a||""===a||!1===a||!0===a||(-1===i[1].indexOf(".")?i[1]=parseInt(i[1],10):i[1]=parseFloat(i[1])),2===i.length&&0<i[0].length&&(l[c(i[0])]=c(i[1]));return l},register_media:function(e,t){Foundation.media_queries[e]===n&&(d("head").append('<meta class="'+t+'"/>'),Foundation.media_queries[e]=t="string"==typeof(t=d("."+t).css("font-family"))||t instanceof String?t.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,""):t)},add_custom_rule:function(e,t){t===n&&Foundation.stylesheet?Foundation.stylesheet.insertRule(e,Foundation.stylesheet.cssRules.length):Foundation.media_queries[t]!==n&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[t]+"{ "+e+" }")},image_loaded:function(e,t){var n=this,i=e.length;0===i&&t(e),e.each(function(){s(n.S(this),function(){0===--i&&t(e)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)},match:function(e){return l.matchMedia(e).matches},is_small_up:function(){return this.match(Foundation.media_queries.small)},is_medium_up:function(){return this.match(Foundation.media_queries.medium)},is_large_up:function(){return this.match(Foundation.media_queries.large)},is_xlarge_up:function(){return this.match(Foundation.media_queries.xlarge)},is_xxlarge_up:function(){return this.match(Foundation.media_queries.xxlarge)},is_small_only:function(){return!(this.is_medium_up()||this.is_large_up()||this.is_xlarge_up()||this.is_xxlarge_up())},is_medium_only:function(){return this.is_medium_up()&&!this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_large_only:function(){return this.is_medium_up()&&this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xxlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&this.is_xxlarge_up()}}},d.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(e)),this})}}(jQuery,window,window.document),function(s,a,l){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.5.1",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(e,t,n){Foundation.inherit(this,"add_custom_rule register_media throttle");var i=this;i.register_media("topbar","foundation-mq-topbar"),this.bindings(t,n),i.S("["+this.attr_name()+"]",this.scope).each(function(){var e=s(this),t=e.data(i.attr_name(!0)+"-init");i.S("section, .top-bar-section",this);e.data("index",0);var n=e.parent();n.hasClass("fixed")||i.is_sticky(e,n,t)?(i.settings.sticky_class=t.sticky_class,(i.settings.sticky_topbar=e).data("height",n.outerHeight()),e.data("stickyoffset",n.offset().top)):e.data("height",e.outerHeight()),t.assembled||i.assemble(e),t.is_hover?i.S(".has-dropdown",e).addClass("not-click"):i.S(".has-dropdown",e).removeClass("not-click"),i.add_custom_rule(".f-topbar-fixed { padding-top: "+e.data("height")+"px }"),n.hasClass("fixed")&&i.S("body").addClass("f-topbar-fixed")})},is_sticky:function(e,t,n){var i=t.hasClass(n.sticky_class),o=matchMedia(Foundation.media_queries.small).matches,r=matchMedia(Foundation.media_queries.medium).matches,t=matchMedia(Foundation.media_queries.large).matches;return!(!i||"all"!==n.sticky_on)||(!(!(i&&this.small()&&-1!==n.sticky_on.indexOf("small")&&o)||r||t)||(!(!(i&&this.medium()&&-1!==n.sticky_on.indexOf("medium")&&o&&r)||t)||(!!(i&&this.large()&&-1!==n.sticky_on.indexOf("large")&&o&&r&&t)||!(!i||!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)))))},toggle:function(e){var t=this,n=e?t.S(e).closest("["+this.attr_name()+"]"):t.S("["+this.attr_name()+"]"),i=n.data(this.attr_name(!0)+"-init"),e=t.S("section, .top-bar-section",n);t.breakpoint()&&(t.rtl?(e.css({right:"0%"}),s(">.name",e).css({right:"100%"})):(e.css({left:"0%"}),s(">.name",e).css({left:"100%"})),t.S("li.moved",e).removeClass("moved"),n.data("index",0),n.toggleClass("expanded").css("height","")),i.scrolltop?n.hasClass("expanded")?n.parent().hasClass("fixed")&&(i.scrolltop?(n.parent().removeClass("fixed"),n.addClass("fixed"),t.S("body").removeClass("f-topbar-fixed"),a.scrollTo(0,0)):n.parent().removeClass("expanded")):n.hasClass("fixed")&&(n.parent().addClass("fixed"),n.removeClass("fixed"),t.S("body").addClass("f-topbar-fixed")):(t.is_sticky(n,n.parent(),i)&&n.parent().addClass("fixed"),n.parent().hasClass("fixed")&&(n.hasClass("expanded")?(n.addClass("fixed"),n.parent().addClass("expanded"),t.S("body").addClass("f-topbar-fixed")):(n.removeClass("fixed"),n.parent().removeClass("expanded"),t.update_sticky_positioning())))},timer:null,events:function(e){var o=this,r=this.S;r(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(e){e.preventDefault(),o.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(e){var t=s(this).closest("li");!o.breakpoint()||t.hasClass("back")||t.hasClass("has-dropdown")||o.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(e){var t=r(this),n=r(e.target),i=t.closest("["+o.attr_name()+"]").data(o.attr_name(!0)+"-init");n.data("revealId")?o.toggle():o.breakpoint()||i.is_hover&&!Modernizr.touch||(e.stopImmediatePropagation(),t.hasClass("hover")?(t.removeClass("hover").find("li").removeClass("hover"),t.parents("li.hover").removeClass("hover")):(t.addClass("hover"),s(t).siblings().removeClass("hover"),"A"===n[0].nodeName&&n.parent().hasClass("has-dropdown")&&e.preventDefault()))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(e){var t,n,i;o.breakpoint()&&(e.preventDefault(),i=(n=(t=r(this)).closest("["+o.attr_name()+"]")).find("section, .top-bar-section"),t.next(".dropdown").outerHeight(),e=t.closest("li"),n.data("index",n.data("index")+1),e.addClass("moved"),o.rtl?(i.css({right:-100*n.data("index")+"%"}),i.find(">.name").css({right:100*n.data("index")+"%"})):(i.css({left:-100*n.data("index")+"%"}),i.find(">.name").css({left:100*n.data("index")+"%"})),n.css("height",t.siblings("ul").outerHeight(!0)+n.data("height")))}),r(a).off(".topbar").on("resize.fndtn.topbar",o.throttle(function(){o.resize.call(o)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){r(this).trigger("resize.fndtn.topbar")}),r("body").off(".topbar").on("click.fndtn.topbar",function(e){0<r(e.target).closest("li").closest("li.hover").length||r("["+o.attr_name()+"] li.hover").removeClass("hover")}),r(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(e){e.preventDefault();var t=r(this),n=t.closest("["+o.attr_name()+"]"),e=n.find("section, .top-bar-section"),i=(n.data(o.attr_name(!0)+"-init"),t.closest("li.moved")),t=i.parent();n.data("index",n.data("index")-1),o.rtl?(e.css({right:-100*n.data("index")+"%"}),e.find(">.name").css({right:100*n.data("index")+"%"})):(e.css({left:-100*n.data("index")+"%"}),e.find(">.name").css({left:100*n.data("index")+"%"})),0===n.data("index")?n.css("height",""):n.css("height",t.outerHeight(!0)+n.data("height")),setTimeout(function(){i.removeClass("moved")},300)}),r(this.scope).find(".dropdown a").focus(function(){s(this).parents(".has-dropdown").addClass("hover")}).blur(function(){s(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var r=this;r.S("["+this.attr_name()+"]").each(function(){var e,t,n=r.S(this),i=n.data(r.attr_name(!0)+"-init"),o=n.parent("."+r.settings.sticky_class);r.breakpoint()||(t=n.hasClass("expanded"),n.css("height","").removeClass("expanded").find("li").removeClass("hover"),t&&r.toggle(n)),r.is_sticky(n,o,i)&&(o.hasClass("fixed")?(o.removeClass("fixed"),e=o.offset().top,r.S(l.body).hasClass("f-topbar-fixed")&&(e-=n.data("height")),n.data("stickyoffset",e),o.addClass("fixed")):(e=o.offset().top,n.data("stickyoffset",e)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(e){var i=this,o=e.data(this.attr_name(!0)+"-init"),t=i.S("section, .top-bar-section",e);t.detach(),i.S(".has-dropdown>a",t).each(function(){var e=i.S(this),t=e.siblings(".dropdown"),n=e.attr("href");t.find(".title.back").length||(n=1==o.mobile_show_parent_link&&n?s('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-large-up"><a class="parent-link js-generated" href="'+n+'">'+e.html()+"</a></li>"):s('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'),1==o.custom_back_text?s("h5>a",n).html(o.back_text):s("h5>a",n).html("« "+e.html()),t.prepend(n))}),t.appendTo(e),this.sticky(),this.assembled(e)},assembled:function(e){e.data(this.attr_name(!0),s.extend({},e.data(this.attr_name(!0)),{assembled:!0}))},height:function(e){var t=0,n=this;return s("> li",e).each(function(){t+=n.S(this).outerHeight(!0)}),t},sticky:function(){var e=this;this.S(a).on("scroll",function(){e.update_sticky_positioning()})},update_sticky_positioning:function(){var e,t="."+this.settings.sticky_class,n=this.S(a),i=this;i.settings.sticky_topbar&&i.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)&&(e=this.settings.sticky_topbar.data("stickyoffset"),i.S(t).hasClass("expanded")||(n.scrollTop()>e?i.S(t).hasClass("fixed")||(i.S(t).addClass("fixed"),i.S("body").addClass("f-topbar-fixed")):n.scrollTop()<=e&&i.S(t).hasClass("fixed")&&(i.S(t).removeClass("fixed"),i.S("body").removeClass("f-topbar-fixed"))))},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(a).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),function(p,n,f){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.5.1",settings:{templates:{viewing:'<a href="#" class="clearing-close">×</a><div class="visible-img" style="display: none"><div class="clearing-touch-label"></div><img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" /><p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a><a href="#" class="clearing-main-next"><span></span></a></div>'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(e,t,n){var i=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(t,n),i.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(i.S("li",this.scope)):i.S("["+this.attr_name()+"]",this.scope).each(function(){i.assemble(i.S("li",this))})},events:function(e){var s=this,a=s.S,t=p(".scroll-container");0<t.length&&(this.scope=t),a(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(e,t,n){var t=t||a(this),n=n||t,i=t.next("li"),o=t.closest("["+s.attr_name()+"]").data(s.attr_name(!0)+"-init"),r=a(e.target);e.preventDefault(),o||(s.init(),t.closest("["+s.attr_name()+"]").data(s.attr_name(!0)+"-init")),n.hasClass("visible")&&t[0]===n[0]&&0<i.length&&s.is_open(t)&&(r=a("img",n=i)),s.open(r,t,n),s.update_paddles(n)}).on("click.fndtn.clearing",".clearing-main-next",function(e){s.nav(e,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(e){s.nav(e,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(e){Foundation.libs.clearing.close(e,this)}),p(f).on("keydown.fndtn.clearing",function(e){s.keydown(e)}),a(n).off(".clearing").on("resize.fndtn.clearing",function(){s.resize()}),this.swipe_events(e)},swipe_events:function(e){var i=this,o=i.S;o(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(e){var t={start_page_x:(e=!e.touches?e.originalEvent:e).touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};o(this).data("swipe-transition",t),e.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(e){var t,n;1<(e=!e.touches?e.originalEvent:e).touches.length||e.scale&&1!==e.scale||((t=void 0===(t=o(this).data("swipe-transition"))?{}:t).delta_x=e.touches[0].pageX-t.start_page_x,Foundation.rtl&&(t.delta_x=-t.delta_x),void 0===t.is_scrolling&&(t.is_scrolling=!!(t.is_scrolling||Math.abs(t.delta_x)<Math.abs(e.touches[0].pageY-t.start_page_y))),t.is_scrolling||t.active||(e.preventDefault(),n=t.delta_x<0?"next":"prev",t.active=!0,i.nav(e,n)))}).on("touchend.fndtn.clearing",".visible-img",function(e){o(this).data("swipe-transition",{}),e.stopPropagation()})},assemble:function(e){var t,n=e.parent();n.parent().hasClass("carousel")||(n.after('<div id="foundationClearingHolder"></div>'),t="",null!=(e=n.detach())[0]&&(t=e[0].outerHTML,e=this.S("#foundationClearingHolder"),t='<div class="carousel">'+t+"</div>",n='<div class="clearing-assembled"><div>'+n.data(this.attr_name(!0)+"-init").templates.viewing+t+"</div></div>",t=this.settings.touch_label,Modernizr.touch&&(n=p(n).find(".clearing-touch-label").html(t).end()),e.after(n).remove()))},open:function(e,t,n){var i=this,o=p(f.body),r=n.closest(".clearing-assembled"),s=i.S("div",r).first(),a=i.S(".visible-img",s),l=i.S("img",a).not(e),c=i.S(".clearing-touch-label",s),d=!1;function u(){setTimeout(function(){this.image_loaded(l,function(){1!==l.outerWidth()||d?function(e){p(e).css("visibility","visible"),o.css("overflow","hidden"),r.addClass("clearing-blackout"),s.addClass("clearing-container"),a.show(),this.fix_height(n).caption(i.S(".clearing-caption",a),i.S("img",n)).center_and_label(e,c).shift(t,n,function(){n.closest("li").siblings().removeClass("visible"),n.closest("li").addClass("visible")}),a.trigger("opened.fndtn.clearing")}.call(this,l):u.call(this)}.bind(this))}.bind(this),100)}p("body").on("touchmove",function(e){e.preventDefault()}),l.error(function(){d=!0}),this.locked()||(a.trigger("open.fndtn.clearing"),l.attr("src",this.load(e)).css("visibility","hidden"),u.call(this))},close:function(e,t){e.preventDefault();var n,i=(n=p(t),/blackout/.test(n.selector)?n:n.closest(".clearing-blackout")),n=p(f.body);return t===e.target&&i&&(n.css("overflow",""),e=p("div",i).first(),(n=p(".visible-img",e)).trigger("close.fndtn.clearing"),this.settings.prev_index=0,p("ul["+this.attr_name()+"]",i).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),e.removeClass("clearing-container"),n.hide(),n.trigger("closed.fndtn.clearing")),p("body").off("touchmove"),!1},is_open:function(e){return 0<e.parent().prop("style").length},keydown:function(e){var t=p(".clearing-blackout ul["+this.attr_name()+"]"),n=this.rtl?37:39,i=this.rtl?39:37;e.which===n&&this.go(t,"next"),e.which===i&&this.go(t,"prev"),27===e.which&&this.S("a.clearing-close").trigger("click").trigger("click.fndtn.clearing")},nav:function(e,t){var n=p("ul["+this.attr_name()+"]",".clearing-blackout");e.preventDefault(),this.go(n,t)},resize:function(){var e=p("img",".clearing-blackout .visible-img"),t=p(".clearing-touch-label",".clearing-blackout");e.length&&(this.center_and_label(e,t),e.trigger("resized.fndtn.clearing"))},fix_height:function(e){var e=e.parent().children(),n=this;return e.each(function(){var e=n.S(this),t=e.find("img");e.height()>t.outerHeight()&&e.addClass("fix-height")}).closest("ul").width(100*e.length+"%"),this},update_paddles:function(e){var t=(e=e.closest("li")).closest(".carousel").siblings(".visible-img");0<e.next().length?this.S(".clearing-main-next",t).removeClass("disabled"):this.S(".clearing-main-next",t).addClass("disabled"),0<e.prev().length?this.S(".clearing-main-prev",t).removeClass("disabled"):this.S(".clearing-main-prev",t).addClass("disabled")},center_and_label:function(e,t){return!this.rtl&&0<t.length?t.css({marginLeft:-t.outerWidth()/2,marginTop:-e.outerHeight()/2-t.outerHeight()-10}):t.css({marginRight:-t.outerWidth()/2,marginTop:-e.outerHeight()/2-t.outerHeight()-10,left:"auto",right:"50%"}),this},load:function(e){var t=("A"===e[0].nodeName?e:e.closest("a")).attr("href");return this.preload(e),t||e.attr("src")},preload:function(e){this.img(e.closest("li").next()).img(e.closest("li").prev())},img:function(e){var t,n;return e.length&&(t=new Image,(n=this.S("a",e)).length?t.src=n.attr("href"):t.src=this.S("img",e).attr("src")),this},caption:function(e,t){t=t.attr("data-caption");return t?e.html(t).show():e.text("").hide(),this},go:function(e,t){var n=this.S(".visible",e),e=n[t]();(e=this.settings.skip_selector&&0!=e.find(this.settings.skip_selector).length?e[t]():e).length&&this.S("img",e).trigger("click",[n,e]).trigger("click.fndtn.clearing",[n,e]).trigger("change.fndtn.clearing")},shift:function(e,t,n){var i=t.parent(),o=this.settings.prev_index||t.index(),r=this.direction(i,e,t),s=this.rtl?"right":"left",a=parseInt(i.css("left"),10),l=t.outerWidth(),e={};t.index()===o||/skip/.test(r)?/skip/.test(r)&&(t=t.index()-this.settings.up_count,this.lock(),e[s]=0<t?-t*l:0,i.animate(e,300,this.unlock())):/left/.test(r)?(this.lock(),e[s]=a+l,i.animate(e,300,this.unlock())):/right/.test(r)&&(this.lock(),e[s]=a-l,i.animate(e,300,this.unlock())),n()},direction:function(e,t,n){var i=this.S("li",e),e=i.outerWidth()+i.outerWidth()/4,e=Math.floor(this.S(".clearing-container").outerWidth()/e)-1,n=i.index(n);return this.settings.up_count=e,e=this.adjacent(this.settings.prev_index,n)?e<n&&n>this.settings.prev_index?"right":e-1<n&&n<=this.settings.prev_index&&"left":"skip",this.settings.prev_index=n,e},adjacent:function(e,t){for(var n=t+1;t-1<=n;n--)if(n===e)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(n).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(c){"use strict";var i,s=window.Slick||{};i=0,(s=function(e,t){var n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(e),appendDots:c(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('<button type="button" data-role="none" role="button" tabindex="0" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=c(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,e=c(e).data("slick")||{},n.options=c.extend({},n.defaults,t,e),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=c.proxy(n.autoPlay,n),n.autoPlayClear=c.proxy(n.autoPlayClear,n),n.autoPlayIterator=c.proxy(n.autoPlayIterator,n),n.changeSlide=c.proxy(n.changeSlide,n),n.clickHandler=c.proxy(n.clickHandler,n),n.selectHandler=c.proxy(n.selectHandler,n),n.setPosition=c.proxy(n.setPosition,n),n.swipeHandler=c.proxy(n.swipeHandler,n),n.dragHandler=c.proxy(n.dragHandler,n),n.keyHandler=c.proxy(n.keyHandler,n),n.instanceUid=i++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},s.prototype.addSlide=s.prototype.slickAdd=function(e,t,n){var i=this;if("boolean"==typeof t)n=t,t=null;else if(t<0||t>=i.slideCount)return!1;i.unload(),"number"==typeof t?0===t&&0===i.$slides.length?c(e).appendTo(i.$slideTrack):n?c(e).insertBefore(i.$slides.eq(t)):c(e).insertAfter(i.$slides.eq(t)):!0===n?c(e).prependTo(i.$slideTrack):c(e).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each(function(e,t){c(t).attr("data-slick-index",e)}),i.$slidesCache=i.$slides,i.reinit()},s.prototype.animateHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.animate({height:e},t.options.speed))},s.prototype.animateSlide=function(e,t){var n={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(e=-e),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:e},i.options.speed,i.options.easing,t):i.$slideTrack.animate({top:e},i.options.speed,i.options.easing,t):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),c({animStart:i.currentLeft}).animate({animStart:e},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e),!1===i.options.vertical?n[i.animType]="translate("+e+"px, 0px)":n[i.animType]="translate(0px,"+e+"px)",i.$slideTrack.css(n)},complete:function(){t&&t.call()}})):(i.applyTransition(),e=Math.ceil(e),!1===i.options.vertical?n[i.animType]="translate3d("+e+"px, 0px, 0px)":n[i.animType]="translate3d(0px,"+e+"px, 0px)",i.$slideTrack.css(n),t&&setTimeout(function(){i.disableTransition(),t.call()},i.options.speed))},s.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e=e&&null!==e?c(e).not(this.$slider):e},s.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=c(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0)})},s.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(n)},s.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},s.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},s.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},s.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=c(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=c(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},s.prototype.buildDots=function(){var e,t,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),t=c("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)t.append(c("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=t.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},s.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){c(t).attr("data-slick-index",e).data("originalStyling",c(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?c('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),c("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},s.prototype.buildRows=function(){var e,t,n,i=this,o=document.createDocumentFragment(),r=i.$slider.children();if(1<i.options.rows){for(n=i.options.slidesPerRow*i.options.rows,t=Math.ceil(r.length/n),e=0;e<t;e++){for(var s=document.createElement("div"),a=0;a<i.options.rows;a++){for(var l=document.createElement("div"),c=0;c<i.options.slidesPerRow;c++){var d=e*n+(a*i.options.slidesPerRow+c);r.get(d)&&l.appendChild(r.get(d))}s.appendChild(l)}o.appendChild(s)}i.$slider.empty().append(o),i.$slider.children().children().children().css({width:100/i.options.slidesPerRow+"%",display:"inline-block"})}},s.prototype.checkResponsive=function(e,t){var n,i,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||c(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in i=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[n]&&(i=r.breakpoints[n]):o>r.breakpoints[n]&&(i=r.breakpoints[n]));null!==i?null!==r.activeBreakpoint&&i===r.activeBreakpoint&&!t||(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unslick(i):(r.options=c.extend({},r.originalSettings,r.breakpointSettings[i]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),s=i):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),s=i),e||!1===s||r.$slider.trigger("breakpoint",[r,s])}},s.prototype.changeSlide=function(e,t){var n,i=this,o=c(e.currentTarget);switch(o.is("a")&&e.preventDefault(),o.is("li")||(o=o.closest("li")),n=i.slideCount%i.options.slidesToScroll!=0?0:(i.slideCount-i.currentSlide)%i.options.slidesToScroll,e.data.message){case"previous":r=0==n?i.options.slidesToScroll:i.options.slidesToShow-n,i.slideCount>i.options.slidesToShow&&i.slideHandler(i.currentSlide-r,!1,t);break;case"next":r=0==n?i.options.slidesToScroll:n,i.slideCount>i.options.slidesToShow&&i.slideHandler(i.currentSlide+r,!1,t);break;case"index":var r=0===e.data.index?0:e.data.index||o.index()*i.options.slidesToScroll;i.slideHandler(i.checkNavigable(r),!1,t),o.children().trigger("focus");break;default:return}},s.prototype.checkNavigable=function(e){var t=this.getNavigableIndexes(),n=0;if(e>t[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},s.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&c("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",c.proxy(e.interrupt,e,!0)).off("mouseleave.slick",c.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),c(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().off("click.slick",e.selectHandler),c(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),c(window).off("resize.slick.slick-"+e.instanceUid,e.resize),c("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),c(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),c(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},s.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",c.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",c.proxy(e.interrupt,e,!1))},s.prototype.cleanUpRows=function(){var e;1<this.options.rows&&((e=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(e))},s.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},s.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),c(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},s.prototype.disableTransition=function(e){var t={};t[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(e)).css(t)},s.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},s.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},s.prototype.filterSlides=s.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},s.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(e){e.stopImmediatePropagation();var t=c(this);setTimeout(function(){n.options.pauseOnFocus&&(n.focussed=t.is(":focus"),n.autoPlay())},0)})},s.prototype.getCurrent=s.prototype.slickCurrentSlide=function(){return this.currentSlide},s.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},s.prototype.getLeft=function(e){var t,n=this,i=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=t*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!=0&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i=e>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(e-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,i=(e+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(i=n.slideOffset=0),!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),t=!1===n.options.vertical?e*n.slideWidth*-1+n.slideOffset:e*t*-1+i,!0===n.options.variableWidth&&(i=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow),t=!0===n.options.rtl?i[0]?-1*(n.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===n.options.centerMode&&(i=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow+1),t=!0===n.options.rtl?i[0]?-1*(n.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(n.$list.width()-i.outerWidth())/2)),t},s.prototype.getOption=s.prototype.slickGetOption=function(e){return this.options[e]},s.prototype.getNavigableIndexes=function(){for(var e=this,t=0,n=0,i=[],o=!1===e.options.infinite?e.slideCount:(t=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,2*e.slideCount);t<o;)i.push(t),t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return i},s.prototype.getSlick=function(){return this},s.prototype.getSlideCount=function(){var n,i=this,o=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0;return!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-o+c(t).outerWidth()/2>-1*i.swipeLeft)return n=t,!1}),Math.abs(c(n).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},s.prototype.goTo=s.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},s.prototype.init=function(e){var t=this;c(t.$slider).hasClass("slick-initialized")||(c(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},s.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$slideTrack.attr("role","listbox"),t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(e){c(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+e})}),null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each(function(e){c(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+e,id:"slick-slide"+t.instanceUid+e})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),t.activateADA()},s.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide))},s.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&c("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&c("li",e.$dots).on("mouseenter.slick",c.proxy(e.interrupt,e,!0)).on("mouseleave.slick",c.proxy(e.interrupt,e,!1))},s.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",c.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",c.proxy(e.interrupt,e,!1)))},s.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),c(document).on(e.visibilityChange,c.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),c(window).on("orientationchange.slick.slick-"+e.instanceUid,c.proxy(e.orientationChange,e)),c(window).on("resize.slick.slick-"+e.instanceUid,c.proxy(e.resize,e)),c("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),c(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),c(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},s.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},s.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},s.prototype.lazyLoad=function(){var e,t,i=this;function n(e){c("img[data-lazy]",e).each(function(){var e=c(this),t=c(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),i.$slider.trigger("lazyLoaded",[i,e,t])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,e,t])},n.src=t})}!0===i.options.centerMode?t=!0===i.options.infinite?(e=i.currentSlide+(i.options.slidesToShow/2+1))+i.options.slidesToShow+2:(e=Math.max(0,i.currentSlide-(i.options.slidesToShow/2+1)),i.options.slidesToShow/2+1+2+i.currentSlide):(e=i.options.infinite?i.options.slidesToShow+i.currentSlide:i.currentSlide,t=Math.ceil(e+i.options.slidesToShow),!0===i.options.fade&&(0<e&&e--,t<=i.slideCount&&t++)),n(i.$slider.find(".slick-slide").slice(e,t)),i.slideCount<=i.options.slidesToShow?n(i.$slider.find(".slick-slide")):i.currentSlide>=i.slideCount-i.options.slidesToShow?n(i.$slider.find(".slick-cloned").slice(0,i.options.slidesToShow)):0===i.currentSlide&&n(i.$slider.find(".slick-cloned").slice(-1*i.options.slidesToShow))},s.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},s.prototype.next=s.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},s.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},s.prototype.pause=s.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},s.prototype.play=s.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},s.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&t.initADA())},s.prototype.prev=s.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},s.prototype.preventDefault=function(e){e.preventDefault()},s.prototype.progressiveLazyLoad=function(e){e=e||1;var t,n,i=this,o=c("img[data-lazy]",i.$slider);o.length?(t=o.first(),n=t.attr("data-lazy"),(o=document.createElement("img")).onload=function(){t.attr("src",n).removeAttr("data-lazy").removeClass("slick-loading"),!0===i.options.adaptiveHeight&&i.setPosition(),i.$slider.trigger("lazyLoaded",[i,t,n]),i.progressiveLazyLoad()},o.onerror=function(){e<3?setTimeout(function(){i.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,t,n]),i.progressiveLazyLoad())},o.src=n):i.$slider.trigger("allImagesLoaded",[i])},s.prototype.refresh=function(e){var t=this,n=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>n&&(t.currentSlide=n),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),n=t.currentSlide,t.destroy(!0),c.extend(t,t.initials,{currentSlide:n}),t.init(),e||t.changeSlide({data:{message:"index",index:n}},!1)},s.prototype.registerBreakpoints=function(){var e,t,n,i=this,o=i.options.responsive||null;if("array"===c.type(o)&&o.length){for(e in i.respondTo=i.options.respondTo||"window",o)if(n=i.breakpoints.length-1,t=o[e].breakpoint,o.hasOwnProperty(e)){for(;0<=n;)i.breakpoints[n]&&i.breakpoints[n]===t&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(t),i.breakpointSettings[t]=o[e].settings}i.breakpoints.sort(function(e,t){return i.options.mobileFirst?e-t:t-e})}},s.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},s.prototype.resize=function(){var e=this;c(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=c(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},s.prototype.removeSlide=s.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),(!0===n?i.$slideTrack.children():i.$slideTrack.children(this.options.slide).eq(e)).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},s.prototype.setCSS=function(e){var t,n,i=this,o={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",o[i.positionProp]=e,!1===i.transformsEnabled||(!(o={})===i.cssTransitions?o[i.animType]="translate("+t+", "+n+")":o[i.animType]="translate3d("+t+", "+n+", 0px)"),i.$slideTrack.css(o)},s.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},s.prototype.setFade=function(){var n,i=this;i.$slides.each(function(e,t){n=i.slideWidth*e*-1,!0===i.options.rtl?c(t).css({position:"relative",right:n,top:0,zIndex:i.options.zIndex-2,opacity:0}):c(t).css({position:"relative",left:n,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},s.prototype.setHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.css("height",e))},s.prototype.setOption=s.prototype.slickSetOption=function(){var e,t,n,i,o,r=this,s=!1;if("object"===c.type(arguments[0])?(n=arguments[0],s=arguments[1],o="multiple"):"string"===c.type(arguments[0])&&(n=arguments[0],i=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[n]=i;else if("multiple"===o)c.each(n,function(e,t){r.options[e]=t});else if("responsive"===o)for(t in i)if("array"!==c.type(r.options.responsive))r.options.responsive=[i[t]];else{for(e=r.options.responsive.length-1;0<=e;)r.options.responsive[e].breakpoint===i[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(i[t])}s&&(r.unload(),r.reinit())},s.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},s.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},s.prototype.setSlideClasses=function(e){var t,n,i=this,o=i.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");i.$slides.eq(e).addClass("slick-current"),!0===i.options.centerMode?(n=Math.floor(i.options.slidesToShow/2),!0===i.options.infinite&&(n<=e&&e<=i.slideCount-1-n?i.$slides.slice(e-n,e+n+1).addClass("slick-active").attr("aria-hidden","false"):(t=i.options.slidesToShow+e,o.slice(t-n+1,t+n+2).addClass("slick-active").attr("aria-hidden","false")),0===e?o.eq(o.length-1-i.options.slidesToShow).addClass("slick-center"):e===i.slideCount-1&&o.eq(i.options.slidesToShow).addClass("slick-center")),i.$slides.eq(e).addClass("slick-center")):0<=e&&e<=i.slideCount-i.options.slidesToShow?i.$slides.slice(e,e+i.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):o.length<=i.options.slidesToShow?o.addClass("slick-active").attr("aria-hidden","false"):(n=i.slideCount%i.options.slidesToShow,t=!0===i.options.infinite?i.options.slidesToShow+e:e,(i.options.slidesToShow==i.options.slidesToScroll&&i.slideCount-e<i.options.slidesToShow?o.slice(t-(i.options.slidesToShow-n),t+n):o.slice(t,t+i.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===i.options.lazyLoad&&i.lazyLoad()},s.prototype.setupInfinite=function(){var e,t,n,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(t=null,i.slideCount>i.options.slidesToShow)){for(n=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,e=i.slideCount;e>i.slideCount-n;--e)c(i.$slides[t=e-1]).clone(!0).attr("id","").attr("data-slick-index",t-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(e=0;e<n;e+=1)t=e,c(i.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},s.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},s.prototype.selectHandler=function(e){var t=this,e=c(e.target).is(".slick-slide")?c(e.target):c(e.target).parents(".slick-slide"),e=(e=parseInt(e.attr("data-slick-index")))||0;if(t.slideCount<=t.options.slidesToShow)return t.setSlideClasses(e),void t.asNavFor(e);t.slideHandler(e)},s.prototype.slideHandler=function(e,t,n){var i,o,r,s,a=this;if(t=t||!1,(!0!==a.animating||!0!==a.options.waitForAnimate)&&!(!0===a.options.fade&&a.currentSlide===e||a.slideCount<=a.options.slidesToShow))if(!1===t&&a.asNavFor(e),i=e,r=a.getLeft(i),t=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?t:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(e<0||e>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(i=a.currentSlide,!0!==n?a.animateSlide(t,function(){a.postSlide(i)}):a.postSlide(i));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(e<0||e>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(i=a.currentSlide,!0!==n?a.animateSlide(t,function(){a.postSlide(i)}):a.postSlide(i));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),o=i<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+i:i>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:i-a.slideCount:i,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,o]),t=a.currentSlide,a.currentSlide=o,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(s=(s=a.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==n?(a.fadeSlideOut(t),a.fadeSlide(o,function(){a.postSlide(o)})):a.postSlide(o),void a.animateHeight();!0!==n?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o)}},s.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},s.prototype.swipeDirection=function(){var e=this,t=e.touchObject.startX-e.touchObject.curX,n=e.touchObject.startY-e.touchObject.curY,t=Math.atan2(n,t),t=Math.round(180*t/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===e.options.rtl?"left":"right":135<=t&&t<=225?!1===e.options.rtl?"right":"left":!0===e.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},s.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.interrupted=!1,i.shouldClick=!(10<i.touchObject.swipeLength),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},s.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},s.prototype.swipeMove=function(e){var t,n,i=this,o=void 0!==e.originalEvent?e.originalEvent.touches:null;return!(!i.dragging||o&&1!==o.length)&&(t=i.getLeft(i.currentSlide),i.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,i.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,i.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(i.touchObject.curX-i.touchObject.startX,2))),!0===i.options.verticalSwiping&&(i.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(i.touchObject.curY-i.touchObject.startY,2)))),"vertical"!==(n=i.swipeDirection())?(void 0!==e.originalEvent&&4<i.touchObject.swipeLength&&e.preventDefault(),o=(!1===i.options.rtl?1:-1)*(i.touchObject.curX>i.touchObject.startX?1:-1),!0===i.options.verticalSwiping&&(o=i.touchObject.curY>i.touchObject.startY?1:-1),e=i.touchObject.swipeLength,(i.touchObject.edgeHit=!1)===i.options.infinite&&(0===i.currentSlide&&"right"===n||i.currentSlide>=i.getDotCount()&&"left"===n)&&(e=i.touchObject.swipeLength*i.options.edgeFriction,i.touchObject.edgeHit=!0),!1===i.options.vertical?i.swipeLeft=t+e*o:i.swipeLeft=t+e*(i.$list.height()/i.listWidth)*o,!0===i.options.verticalSwiping&&(i.swipeLeft=t+e*o),!0!==i.options.fade&&!1!==i.options.touchMove&&(!0===i.animating?(i.swipeLeft=null,!1):void i.setCSS(i.swipeLeft))):void 0)},s.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return!(n.touchObject={});void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},s.prototype.unfilterSlides=s.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},s.prototype.unload=function(){var e=this;c(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},s.prototype.unslick=function(e){this.$slider.trigger("unslick",[this,e]),this.destroy()},s.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2);!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},s.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},s.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var e,t=this,n=arguments[0],i=Array.prototype.slice.call(arguments,1),o=t.length,r=0;r<o;r++)if("object"==typeof n||void 0===n?t[r].slick=new s(t[r],n):e=t[r].slick[n].apply(t[r].slick,i),void 0!==e)return e;return t}}),function(u){u.fn.toc=function(e){var n=u.extend({noBackToTopLinks:!1,title:"<h2>Table of contents</h2>",minimumHeaders:3,headers:"h1, h2, h3, h4, h5, h6",listType:"ol",showEffect:"show",showSpeed:"slow"},e);function o(e){return encodeURIComponent(e).replace(/[!"()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}var r,s,a,l,c,t=u(n.headers).filter(function(){var e=u(this).prev().attr("name");return!this.id&&e&&(this.id=u(this).attr("id",e.replace(/\./g,"-"))),this.id}),d=u(this);!t.length||t.length<n.minimumHeaders||!d.length||(0===n.showSpeed&&(n.showEffect="none"),e={show:function(){d.hide().html(c).show(n.showSpeed)},slideDown:function(){d.hide().html(c).slideDown(n.showSpeed)},fadeIn:function(){d.hide().html(c).fadeIn(n.showSpeed)},none:function(){d.html(c)}},r=function(e){return parseInt(e.nodeName.replace("H",""),10)},s=t.map(function(e,t){return r(t)}).get().sort()[0],a=r(t[0]),c="<"+n.listType+">",t.on("click",function(){n.noBackToTopLinks||(window.location.hash=this.id)}).addClass("clickable-header").each(function(e,t){if(l=r(t),n.noBackToTopLinks||l!==s||u(t).addClass("top-level-header").after('<i class="fa fa-caret-up back-to-top"> </i>'),l===a)c+='<li><a href="#'+o(t.id)+'">'+t.innerHTML+"</a>";else if(l<=a){for(i=l;i<a;i++)c+="</li></"+n.listType+">";c+='<li><a href="#'+o(t.id)+'">'+t.innerHTML+"</a>"}else if(a<l){for(i=l;i>a;i--)c+="<"+n.listType+"><li>";c+='<a href="#'+o(t.id)+'">'+t.innerHTML+"</a>"}a=l}),c+="</"+n.listType+">",n.noBackToTopLinks||u(document).on("click",".back-to-top",function(){return u(window).scrollTop(0),window.location.hash="",!1}),e[n.showEffect]())}}(jQuery),String.format=function(){for(var e=arguments[0],t=1;t<arguments.length;t++)var n=new RegExp("\\{"+(t-1)+"\\}","gm"),e=e.replace(n,arguments[t]);return e},Date.prototype.addHours=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate(),this.getHours()+e,this.getMinutes(),this.getSeconds(),this.getMilliseconds())},window.utils=window.utils||{},utils.getQueryParam=function(e){"use strict";e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");e=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))},utils.countOccurrences=function(e,t){if(e+="",(t+="").length<=0)return e.length+1;for(var n=0,i=0,o=t.length;;){if(!(0<=(i=e.indexOf(t,i))))break;n++,i+=o}return n},window.app=window.app||{},window.app.analytics={sendEvent:function(e,t,n,i){if(window.ga)try{ga("send","event",e,t,n,i)}catch(e){}}},window.app=window.app||{},window.app.storage={getItem:function(e){return(e=window.sessionStorage.getItem("ace3_"+e))?(e=JSON.parse(e),new Date(e.date).addHours(1)>new Date?e.item:null):null},setItem:function(e,t){t={date:new Date,item:t},t=JSON.stringify(t),window.sessionStorage.setItem("ace3_"+e,t)}},window.app=window.app||{},window.app.contentSearch=function(e){var t,n="/js/search.json",i="searchResult",o="searchTerm",r=3,s=10,a=25,l=140,u="",p="",c=e("#liveSearch"),d=c.find(".liveSearch-field"),f=c.find(".liveSearch-result-list"),h=c.find(".liveSearch-button"),g=c.find(".contentSearch-field"),m=e(".searchPage-result-list");function v(e,t){for(var n=[],i=0,o=0,r=e.length,s="",a=0;i<r;i++){var l=!1;if(n.length>=t)break;for(var c=e[i],d=c.value=0,o=0;o<4;o++){switch(o){case d=0:s=c.description.toLowerCase(),a=100;break;case 1:s=c.title.toLowerCase(),a=1e3;break;case 2:s=c.group.toLowerCase(),a=10;break;case 3:s=c.content.toLowerCase(),a=1}(0<=s.indexOf(u)||0<=s.indexOf(p))&&(l=!0,d=utils.countOccurrences(s,u),p!==u&&(d+=utils.countOccurrences(s,p)),0<d&&(c.value+=d*a))}l&&n.push(c)}return n=n.sort(function(e,t){return e.value>t.value?-1:t.value>e.value?1:0})}function y(){return e.getJSON(n)}function b(e){return!(""===e||e.length<r)}function w(e){return 38===e.keyCode||40===e.keyCode?(e.preventDefault(),!1):13===e.keyCode?(e.preventDefault(),T(e),!1):(clearTimeout(t),void(t=setTimeout(k,300)))}function x(){f.addClass("hidden")}function k(){var e=d.val();if(u=e.trim().toLowerCase(),p=u.replace(" ",""),!b(u))return f.empty(),!1;(e=app.storage.getItem(i))?S(e):y().done(function(e){app.storage.setItem(i,e),S(e)})}function S(e){e=v(e,s);app.analytics.sendEvent("LiveSearch","Search",u),function(e){if(e){for(var t=0,n=e.length,i="";t<n;t++){var o=e[t],r=o.description;80<r.length&&(r=r.substr(0,80)+"…"),i+=String.format('<li><a href="{1}">{0}<br><small>{2}</small></a></li>',o.title,o.url,r)}f.empty().append(i).removeClass("hidden")}else f.removeClass("hidden")}(e)}function T(e){e.preventDefault();e=d.val().trim();return app.analytics.sendEvent("LiveSearch","OpenSearchPage",e),document.location.href=String.format("search.html?{0}={1}",o,encodeURIComponent(e)),!1}function C(e){return 38===e.keyCode||40===e.keyCode?(e.preventDefault(),!1):13===e.keyCode?(e.preventDefault(),A(),!1):(clearTimeout(t),void(t=setTimeout(A,300)))}function A(){var e=g.val();if(u=e.trim().toLowerCase(),p=u.replace(" ",""),!b(u))return!1;$()}function $(){var e=app.storage.getItem(i);e?E(e):y().done(function(e){app.storage.setItem(i,e),E(e)})}function E(e){e=v(e,a);app.analytics.sendEvent("ContentSearch","Search",u),function(e){var t=0,n=e.length,i="";for(;t<n;t++){var o=e[t],r=o.description;r.length>l&&(r=r.substr(0,l)+"…"),i+=String.format('<li><a href="{1}">{0}</a><span class="additionalInfo"><br><small><span class="url">{3}</span><br><span class"description">{2}</small></small></span></li>',o.title,o.url,r,document.location.origin+o.url)}m.empty().append(i)}(e)}return{init:function(){u=utils.getQueryParam(o),p=u.replace(" ",""),g.val(u),b(u)&&$(),d.on("keyup",w),d.on("blur",function(){setTimeout(x,300)}),h.on("click",T),g.on("keyup",C)}}}(jQuery),jQuery(document).foundation(),jQuery(document).ready(function(){var e=jQuery(".slider");0<e.length&&e.slick({arrows:!0,dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:6e3,responsive:[{breakpoint:640,settings:{arrows:!1}}]});e=jQuery("#toc");0<e.length&&(e.toc({headers:"#content h2, #content h3, #content h4, #content h5, #content h6",showEffect:"none"}),""===e.html()&&(jQuery(".js-expandToc").remove(),jQuery(".toc-header").remove())),$("#content table").each(function(e,t){$(t).wrap('<div class="table-wrapper">')})}),window.app=window.app||{},window.app.contentSearch.init();
|
|
//# sourceMappingURL=footer.min.js.map
|