window.Modernizr=function(n,t,i){function ft(n){g.cssText=n}function e(n,t){return typeof n===t}function b(n,t){var u,r;for(u in n)if(r=n[u],!~(""+r).indexOf("-")&&g[r]!==i)return"pfx"!=t||r;return!1}function h(n,t,r){var u=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+it.join(u+" ")+u).split(" ");return e(t,"string")||e(t,"undefined")?b(f,t):function(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return!1===r?n[f]:e(u,"function")?u.bind(r||t):u;return!1}(f=(n+" "+rt.join(u+" ")+u).split(" "),t,r)}function c(n,i,r,u){var c,l,a,v,e=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))for(;r--;)(a=t.createElement("div")).id=u?u[r]:f+(r+1),e.appendChild(a);return c=["&#173;",'<style id="s',f,'">',n,"<\/style>"].join(""),e.id=f,(h?e:s).innerHTML+=c,s.appendChild(e),h||(s.style.background="",s.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(s)),l=i(e,n),h?e.parentNode.removeChild(e):(s.parentNode.removeChild(s),o.style.overflow=v),!!l}var s,l,k,r={},o=t.documentElement,f="modernizr",d=t.createElement(f),g=d.style,et={}.toString,nt=" -webkit- -moz- -o- -ms- ".split(" "),tt="Webkit Moz O ms",it=tt.split(" "),rt=tt.toLowerCase().split(" "),a="http://www.w3.org/2000/svg",u={},v=[],y=v.slice,ut=(k={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(n,r){r=r||t.createElement(k[n]||"div");var u=(n="on"+n)in r;return u||(r.setAttribute||(r=t.createElement("div")),r.setAttribute&&r.removeAttribute&&(r.setAttribute(n,""),u=e(r[n],"function"),e(r[n],"undefined")||(r[n]=i),r.removeAttribute(n))),r=null,u}),p={}.hasOwnProperty;for(var w in l=e(p,"undefined")||e(p.call,"undefined")?function(n,t){return t in n&&e(n.constructor.prototype[t],"undefined")}:function(n,t){return p.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if("function"!=typeof t)throw new TypeError;return i=y.call(arguments,1),r=function(){if(this instanceof r){function f(){}f.prototype=t.prototype;var e=new f,u=t.apply(e,i.concat(y.call(arguments)));return Object(u)===u?u:e}return t.apply(n,i.concat(y.call(arguments)))},r}),u.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:c(["@media (",nt.join("touch-enabled),("),f,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=9===n.offsetTop}),i},u.hashchange=function(){return ut("hashchange",n)&&(t.documentMode===i||7<t.documentMode)},u.history=function(){return!!n.history&&!!history.pushState},u.localstorage=function(){try{return localStorage.setItem(f,f),localStorage.removeItem(f),!0}catch(n){return!1}},u.svg=function(){return!!t.createElementNS&&!!t.createElementNS(a,"svg").createSVGRect},u.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==a},u.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(et.call(t.createElementNS(a,"clipPath")))},u)l(u,w)&&(s=w.toLowerCase(),r[s]=u[w](),v.push((r[s]?"":"no-")+s));return r.addTest=function(n,t){if("object"==typeof n)for(var u in n)l(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t="function"==typeof t?t():t;o.className+=" "+(t?"":"no-")+n;r[n]=t}return r},ft(""),d=null,r._version="2.8.3",r._prefixes=nt,r._domPrefixes=rt,r._cssomPrefixes=it,r.mq=function(t){var r,i=n.matchMedia||n.msMatchMedia;return i?i(t)&&i(t).matches||!1:(c("@media "+t+" { #"+f+" { position: absolute; } }",function(t){r="absolute"==(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r)},r.hasEvent=ut,r.testProp=function(n){return b([n])},r.testAllProps=h,r.testStyles=c,r.prefixed=function(n,t,i){return t?h(n,t,i):h(n,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+v.join(" "),r}(this,this.document),function(n,t){function s(n){return"[object Function]"==v.call(n)}function h(n){return"string"==typeof n}function c(){}function p(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function f(){var n=l.shift();a=1;n?n.t?o(function(){("c"==n.t?r.injectCss:r.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):a=0}function rt(n,u,s,c,v){return a=0,u=u||"j",h(n)?function(n,u,s,h,c,v,y){function k(t){if(!nt&&p(w.readyState)&&(tt.r=nt=1,a||f(),w.onload=w.onreadystatechange=null,t))for(var r in"img"!=n&&o(function(){g.removeChild(w)},50),i[u])i[u].hasOwnProperty(r)&&i[u][r].onload()}y=y||r.errorTimeout;var w=t.createElement(n),nt=0,b=0,tt={t:s,s:u,e:c,a:v,x:y};1===i[u]&&(b=1,i[u]=[]);"object"==n?w.data=u:(w.src=u,w.type=n);w.width=w.height="0";w.onerror=w.onload=w.onreadystatechange=function(){k.call(this,b)};l.splice(h,0,tt);"img"!=n&&(b||2===i[u]?(g.insertBefore(w,d?null:e),o(k,y)):i[u].push(w))}("c"==u?ut:nt,n,u,this.i++,s,c,v):(l.splice(this.i++,0,n),1==l.length&&f()),this}function w(){var n=r;return n.loader={load:rt,i:0},n}var b,r,u=t.documentElement,o=n.setTimeout,e=t.getElementsByTagName("script")[0],v={}.toString,l=[],a=0,k="MozAppearance"in u.style,d=k&&!!t.createRange().compareNode,g=d?u:e.parentNode,nt=(u=n.opera&&"[object Opera]"==v.call(n.opera),u=!!t.attachEvent&&!u,k?"object":u?"script":"img"),ut=u?"script":nt,tt=Array.isArray||function(n){return"[object Array]"==v.call(n)},y=[],i={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}};(r=function(n){function u(n,t,r,u,f){var e=function(n){n=n.split("!");for(var u,r,f=y.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},t=0;t<e;t++)r=n[t].split("="),(u=it[r.shift()])&&(i=u(i,r));for(t=0;t<f;t++)i=y[t](i);return i}(n),o=e.autoCallback;e.url.split(".").pop().split("?").shift();e.bypass||(t=t&&(s(t)?t:t[n]||t[u]||t[n.split("/").pop().split("?")[0]]),e.instead?e.instead(n,t,r,u,f):(i[e.url]?e.noexec=!0:i[e.url]=1,r.load(e.url,e.forceCSS||!e.forceJS&&"css"==e.url.split(".").pop().split("?").shift()?"c":void 0,e.noexec,e.attrs,e.timeout),(s(t)||s(o))&&r.load(function(){w();t&&t(e.origUrl,f,u);o&&o(e.origUrl,f,u);i[e.url]=2})))}function o(n,t){function a(n,o){if(n){if(h(n))o||(i=function(){var n=[].slice.call(arguments);l.apply(this,n);f()}),u(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t,i=0;for(t in n)n.hasOwnProperty(t)&&i++;return i}(),n)n.hasOwnProperty(r)&&(o||--v||(s(i)?i=function(){var n=[].slice.call(arguments);l.apply(this,n);f()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);f()}}(l[r])),u(n[r],i,t,r,e))}else o||f()}var v,r,e=!!n.test,o=n.load||n.both,i=n.callback||c,l=i,f=n.complete||c;a(e?n.yep:n.nope,!!o);o&&a(o)}var f,t,e=this.yepnope.loader;if(h(n))u(n,0,e,0);else if(tt(n))for(f=0;f<n.length;f++)h(t=n[f])?u(t,0,e,0):tt(t)?r(t):Object(t)===t&&o(t,e);else Object(n)===n&&o(n,e)}).addPrefix=function(n,t){it[n]=t};r.addFilter=function(n){y.push(n)};r.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",b=function(){t.removeEventListener("DOMContentLoaded",b,0);t.readyState="complete"},0));n.yepnope=w();n.yepnope.executeStack=f;n.yepnope.injectJs=function(n,i,u,s,h,l){var v,y,a=t.createElement("script");s=s||r.errorTimeout;for(y in a.src=n,u)a.setAttribute(y,u[y]);i=l?f:i||c;a.onreadystatechange=a.onload=function(){!v&&p(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};o(function(){v||i(v=1)},s);h?a.onload():e.parentNode.insertBefore(a,e)};n.yepnope.injectCss=function(n,i,r,u,s,h){var l;u=t.createElement("link");i=h?f:i||c;for(l in u.href=n,u.rel="stylesheet",u.type="text/css",r)u.setAttribute(l,r[l]);s||(e.parentNode.insertBefore(u,e),o(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function fr(n,t){var i=(t=t||u).createElement("script");i.text=n;t.head.appendChild(i).parentNode.removeChild(i)}function fe(n,t){return t.toUpperCase()}function ci(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"!==r&&!i.isWindow(n)&&("array"===r||0===t||"number"==typeof t&&0<t&&t-1 in n)}function d(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u}function er(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}function li(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(he.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return-1<yt.call(t,n)!==r&&1===n.nodeType})}function vr(n,t){for(;(n=n[t])&&1!==n.nodeType;);return n}function g(n){return n}function bt(n){throw n;}function yr(n,t,r){var u;try{n&&i.isFunction(u=n.promise)?u.call(n).done(t).fail(r):n&&i.isFunction(u=n.then)?u.call(n,t,r):t.call(void 0,n)}catch(n){r.call(void 0,n)}}function dt(){u.removeEventListener("DOMContentLoaded",dt);n.removeEventListener("load",dt);i.ready()}function gt(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType}function st(){this.expando=i.expando+st.uid++}function wr(n,t,i){var r;if(void 0===i&&1===n.nodeType)if(r="data-"+t.replace(le,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(r))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:ce.test(i)?JSON.parse(i):i)}catch(n){}e.set(n,t,i)}else i=void 0;return i}function br(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];for(u in f=i.apply(n,r||[]),t)n.style[u]=e[u];return f}function dr(n,t,r,u){var h,o=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||"px"!==e&&+s)&&ht.exec(i.css(n,t));if(f&&f[3]!==e)for(e=e||f[3],r=r||[],f=+s||1;f/=o=o||".5",i.style(n,t,f+e),o!==(o=c()/s)&&1!==o&&--l;);return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=h)),h}function nt(n,t){for(var v,s,c,l,o,h,f,e=[],u=0,a=n.length;u<a;u++)(f=n[u]).style&&(h=f.style.display,t?("none"===h&&(e[u]=r.get(f,"display")||null,e[u]||(f.style.display="")),""===f.style.display&&ni(f)&&(e[u]=(o=c=s=void 0,c=(v=f).ownerDocument,l=v.nodeName,(o=ai[l])||(s=c.body.appendChild(c.createElement(l)),o=i.css(s,"display"),s.parentNode.removeChild(s),"none"===o&&(o="block"),ai[l]=o)))):"none"!==h&&(e[u]="none",r.set(f,"display",h)));for(u=0;u<a;u++)null!=e[u]&&(n[u].style.display=e[u]);return n}function o(n,t){var r=void 0!==n.getElementsByTagName?n.getElementsByTagName(t||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function vi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function ru(n,t,r,u,f){for(var e,s,p,a,w,v,c=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===i.type(e))i.merge(y,e.nodeType?[e]:e);else if(iu.test(e)){for(s=s||c.appendChild(t.createElement("div")),p=(nu.exec(e)||["",""])[1].toLowerCase(),a=h[p]||h._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);(s=c.firstChild).textContent=""}else y.push(t.createTextNode(e));for(c.textContent="",l=0;e=y[l++];)if(u&&-1<i.inArray(e,u))f&&f.push(e);else if(w=i.contains(e.ownerDocument,e),s=o(c.appendChild(e),"script"),w&&vi(s),r)for(v=0;e=s[v++];)tu.test(e.type||"")&&r.push(e);return c}function ri(){return!0}function tt(){return!1}function fu(){try{return u.activeElement}catch(n){}}function yi(n,t,r,u,f,e){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(u=u||r,r=void 0),t)yi(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=tt;else if(!f)return n;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function eu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&n.getElementsByTagName("tbody")[0]||n}function de(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function ge(n){var t=be.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ou(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events))for(f in delete h.handle,h.events={},o)for(u=0,c=o[f].length;u<c;u++)i.event.add(t,f,o[f][u]);e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function it(n,t,u,e){t=ir.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,k=v-1,y=t[0],b=i.isFunction(y);if(b||1<v&&"string"==typeof y&&!f.checkClone&&we.test(y))return n.each(function(i){var r=n.eq(i);b&&(t[0]=y.call(this,i,r.html()));it(r,t,u,e)});if(v&&(p=(l=ru(t,n[0].ownerDocument,!1,n,e)).firstChild,1===l.childNodes.length&&(l=p),p||e)){for(a=(c=i.map(o(l,"script"),de)).length;h<v;h++)s=l,h!==k&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,ge),h=0;h<a;h++)s=c[h],tu.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):fr(s.textContent.replace(ke,""),w))}return n}function su(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&vi(o(u,"script")),u.parentNode.removeChild(u));return n}function fi(){if(c){c.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";c.innerHTML="";ii.appendChild(lt);var t=n.getComputedStyle(c);hu="1%"!==t.top;au="2px"===t.marginLeft;cu="4px"===t.width;c.style.marginRight="50%";lu="4px"===t.marginRight;ii.removeChild(lt);c=null}}function at(n,t,r){var o,s,h,e,u=n.style;return(r=r||ui(n))&&(""!==(e=r.getPropertyValue(t)||r[t])||i.contains(n.ownerDocument,n)||(e=i.style(n,t)),!f.pixelMarginRight()&&pi.test(e)&&vu.test(t)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=e,e=r.width,u.width=o,u.minWidth=s,u.maxWidth=h)),void 0!==e?e+"":e}function yu(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function ku(n){if(n in bu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=wu.length;t--;)if((n=wu[t]+i)in bu)return n}function du(n,t,i){var r=ht.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function gu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;e<4;e+=2)"margin"===r&&(o+=i.css(n,r+b[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+b[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+b[e]+"Width",!0,f))):(o+=i.css(n,"padding"+b[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+b[e]+"Width",!0,f)));return o}function nf(n,t,r){var u,o=!0,e=ui(n),s="border-box"===i.css(n,"boxSizing",!1,e);if(n.getClientRects().length&&(u=n.getBoundingClientRect()[t]),u<=0||null==u){if(((u=at(n,t,e))<0||null==u)&&(u=n.style[t]),pi.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+gu(n,t,r||(s?"border":"content"),o,e)+"px"}function l(n,t,i,r,u){return new l.prototype.init(n,t,i,r,u)}function ff(){ut&&(n.requestAnimationFrame(ff),i.fx.tick())}function ef(){return n.setTimeout(function(){rt=void 0}),rt=i.now()}function ei(n,t){var u,r=0,i={height:n};for(t=t?1:0;r<4;r+=2-t)i["margin"+(u=b[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function of(n,t,i){for(var u,f=(a.tweeners[t]||[]).concat(a.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function a(n,t,r){var e,o,s=0,l=a.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=rt||ef(),t=Math.max(0,u.startTime+u.duration-s),i=1-(t/u.duration||0),r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),i<1&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:rt||ef(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=i.camelCase(r)],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),(o=i.cssHooks[f])&&"expand"in o)for(r in u=o.expand(u),delete n[f],u)r in n||(n[r]=u[r],t[r]=e);else t[f]=e}(h,u.opts.specialEasing);s<l;s++)if(e=a.prefilters[s].call(u,n,h,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,of,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function k(n){return n.getAttribute&&n.getAttribute("class")||""}function ki(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||io.test(n)?u(n,i):ki(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)ki(n+"["+f+"]",t[f],r,u)}function bf(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(s)||[];if(i.isFunction(r))for(;u=e[f++];)"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function kf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===di;return e(t.dataTypes[0])||!f["*"]&&e("*")}function nr(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u=u||{})[r]=t[r]);return u&&i.extend(!0,n,u),n}function ne(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}var p=[],u=n.document,re=Object.getPrototypeOf,w=p.slice,ir=p.concat,hi=p.push,yt=p.indexOf,pt={},rr=pt.toString,wt=pt.hasOwnProperty,ur=wt.toString,ue=ur.call(Object),f={},i=function(n,t){return new i.fn.init(n,t)},ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,oe=/^-ms-/,se=/-([a-z])/g,y,hr,cr,lr,ar,s,pr,kt,v,ai,ct,ti,iu,rt,ut,ft,tf,rf,uf,sf,et,hf,cf,oi,lf,af,wi,df,ot,gf,tr,si,te,ie;i.fn=i.prototype={jquery:"3.0.0",constructor:i,length:0,toArray:function(){return w.call(this)},get:function(n){return null!=n?n<0?this[n+this.length]:this[n]:w.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(w.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(0<=t&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:hi,sort:p.sort,splice:p.splice};i.extend=i.fn.extend=function(){var e,f,t,r,o,h,n=arguments[0]||{},u=1,c=arguments.length,s=!1;for("boolean"==typeof n&&(s=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if(null!=(e=arguments[u]))for(f in e)t=n[f],n!==(r=e[f])&&(s&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(h=o?(o=!1,t&&i.isArray(t)?t:[]):t&&i.isPlainObject(t)?t:{},n[f]=i.extend(s,h,r)):void 0!==r&&(n[f]=r));return n};i.extend({expando:"jQuery"+("3.0.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==rr.call(n))&&(!(t=re(n))||"function"==typeof(i=wt.call(t,"constructor")&&t.constructor)&&ur.call(i)===ue)},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?pt[rr.call(n)]||"object":typeof n},globalEval:function(n){fr(n)},camelCase:function(n){return n.replace(oe,"ms-").replace(se,fe)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ci(n))for(r=n.length;i<r&&!1!==t.call(n[i],i,n[i]);i++);else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},trim:function(n){return null==n?"":(n+"").replace(ee,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ci(Object(n))?i.merge(r,"string"==typeof n?[n]:n):hi.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:yt.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!=e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(ci(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return ir.apply([],f)},guid:1,proxy:function(n,t){var r,u,f;return"string"==typeof t&&(r=n[t],t=n,n=r),i.isFunction(n)?(u=w.call(arguments,2),(f=function(){return n.apply(t||this,u.concat(w.call(arguments)))}).guid=n.guid=n.guid||i.guid++,f):void 0},now:Date.now,support:f});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){pt["[object "+t+"]"]=t.toLowerCase()});y=function(n){function v(n,t,i){var r="0x"+t-65536;return r!=r||i?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function oi(){b()}function u(n,t,r,u){var s,p,l,a,w,d,g,y=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:h)!==i&&b(t),t=t||i,c)){if(11!==v&&(w=cr.exec(n)))if(s=w[1]){if(9===v){if(!(l=t.getElementById(s)))return r;if(l.id===s)return r.push(l),r}else if(y&&(l=y.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(w[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=w[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(1!==v)y=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(yi,pi):t.setAttribute("id",a=e),p=(d=ft(n)).length;p--;)d[p]="#"+a+" "+yt(d[p]);g=d.join(",");y=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,y.querySelectorAll(g)),r}catch(n){}finally{a===e&&t.removeAttribute("id")}}}return hi(n.replace(at,"$1"),t,r,u)}function ti(){var n=[];return function i(r,u){return n.push(r+" ")>t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function bi(n){return function(t){return"label"in t&&t.disabled===n||"form"in t&&t.disabled===n||"form"in t&&!1===t.disabled&&(t.isDisabled===n||t.isDisabled!==!n&&("label"in t||!lr(t))!==n)}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&void 0!==n.getElementsByTagName&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&"parentNode"===f,s=di++;return t.first?function(t,i,u){for(;t=t[r];)if(1===t.nodeType||o)return n(t,i,u)}:function(t,i,h){var c,l,a,v=[y,s];if(h){for(;t=t[r];)if((1===t.nodeType||o)&&n(t,i,h))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(l=(a=t[e]||(t[e]={}))[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===y&&c[1]===s)return v[2]=c[2];if((l[f]=v)[2]=n(t,i,h))return!0}}}function ui(n){return 1<n.length?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,f,o){return r&&!r[e]&&(r=fi(r)),f&&!f[e]&&(f=fi(f,o)),l(function(e,o,s,h){var a,l,v,w=[],p=[],b=o.length,d=e||function(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}(t||"*",s.nodeType?[s]:s,[]),y=!n||!e&&t?d:wt(d,w,n,s,h),c=i?f||(e?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=wt(c,p),r(a,[],s,h),l=a.length;l--;)(v=a[l])&&(c[p[l]]=!(y[p[l]]=v));if(e){if(f||n){if(f){for(a=[],l=c.length;l--;)(v=c[l])&&a.push(y[l]=v);f(null,c=[],a,h)}for(l=c.length;l--;)(v=c[l])&&-1<(a=f?nt(e,v):w[l])&&(e[a]=!(o[a]=v))}}else c=wt(c===o?c.splice(b,c.length):c),f?f(null,o,c,h):k.apply(o,c)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=pt(function(n){return n===o},c,!0),a=pt(function(n){return-1<nt(o,n)},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])f=[pt(ui(f),u)];else{if((u=t.filter[n[i].type].apply(null,n[i].matches))[e]){for(r=++i;r<s&&!t.relative[n[r].type];r++);return fi(1<i&&ui(f),1<i&&yt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}f.push(u)}return ui(f)}function yr(n,r){function e(e,s,h,l,a){var v,nt,d,g=0,p="0",tt=e&&[],w=[],it=ht,rt=e||o&&t.find.TAG("*",a),ut=y+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&null!=(v=rt[p]);p++){if(o&&v){for(nt=0,s||v.ownerDocument===i||(b(v),h=!c);d=n[nt++];)if(d(v,s||i,h)){l.push(v);break}a&&(y=ut)}f&&((v=!d&&v)&&g--,e&&tt.push(v))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,h);if(e){if(0<g)for(;p--;)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(w)}k.apply(l,w);a&&!e&&0<w.length&&1<g+r.length&&u.uniqueSort(l)}return a&&(y=ut,ht=it),tt}var f=0<r.length,o=0<n.length;return f?l(e):e}var rt,f,t,st,si,ft,bt,hi,ht,w,ut,b,i,s,c,o,d,ct,et,e="sizzle"+1*new Date,h=n.document,y=0,di=0,ci=ti(),li=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+gt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,p=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),yi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,pi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},lr=pt(function(n){return!0===n.disabled},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){tr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(rt in f=u.support={},si=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return!!t&&"HTML"!==t.nodeName},b=u.setDocument=function(n){var y,u,l=n?n.ownerDocument||n:h;return l!==i&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,c=!si(i),h!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",oi,!1):u.attachEvent&&u.attachEvent("onunload",oi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if(void 0!==t.getElementById&&c){var i=t.getElementById(n);return i?[i]:[]}},t.filter.ID=function(n){var t=n.replace(p,v);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(p,v);return function(n){var i=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"!==n)return u;for(;i=u[f++];)1===i.nodeType&&r.push(i);return r},t.find.CLASS=f.getElementsByClassName&&function(n,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+dt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").length&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),y=ot.test(s.compareDocumentPosition),et=y||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)for(;t=t.parentNode;)if(t===n)return!0;return!1},kt=y?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===h&&et(h,n)?-1:t===i||t.ownerDocument===h&&et(h,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);for(;f[u]===e[u];)u++;return u?wi(f[u],e[u]):f[u]===h?-1:e[u]===h?1:0}),i},u.matches=function(n,t){return u(n,null,null,t)},u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(fr,"='$1']"),f.matchesSelector&&c&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){}return 0<u(t,i,null,[n]).length},u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)},u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&gi.call(t.attrHandle,r.toLowerCase())?e(n,r,!c):void 0;return void 0!==u?u:f.attributes||!c?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null},u.escape=function(n){return(n+"").replace(yi,pi)},u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(kt),ut){for(;r=n[i++];)r===n[i]&&(t=u.push(i));for(;t--;)n.splice(u[t],1)}return w=null,n},st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else for(;r=n[u++];)i+=st(r);return i},(t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(p,v),n[3]=(n[3]||n[4]||n[5]||"").replace(p,v),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&er.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(p,v).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=ci[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&ci(n,function(n){return t.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:!t||(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&-1<f.indexOf(i):"$="===t?i&&f.slice(-i.length)===i:"~="===t?-1<(" "+f.replace(ir," ")+" ").indexOf(i):"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,d,v,c,a,w,b=s!=o?"nextSibling":"previousSibling",k=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(k){if(s){for(;b;){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?k.firstChild:k.lastChild],o&&g){for(l=(a=(p=(d=(v=(c=k)[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]||[])[0]===y&&p[1])&&p[2],c=a&&k.childNodes[a];c=++a&&c&&c[b]||(l=a=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[y,a,l];break}}else if(g&&(l=a=(p=(d=(v=(c=t)[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]||[])[0]===y&&p[1]),!1===l)for(;(c=++a&&c&&c[b]||(l=a=0)||w.pop())&&((f?c.nodeName.toLowerCase()!==nt:1!==c.nodeType)||!++l||(g&&((d=(v=c[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]=[y,l]),c!==t)););return(l-=u)===r||l%r==0&&0<=l/r}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):1<r.length?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var e,u=r(n,i),f=u.length;f--;)n[e=nt(n,u[f])]=!(t[e]=u[f])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=bt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return 0<u(n,t).length}}),contains:l(function(n){return n=n.replace(p,v),function(t){return-1<(t.textContent||t.innerText||st(t)).indexOf(n)}}),lang:l(function(n){return or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(p,v).toLowerCase(),function(t){var i;do if(i=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;0<=--r;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=li[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){for(o in e&&!(f=rr.exec(r))||(f&&(r=r.slice(f[0].length)||r),h.push(s=[])),e=!1,(f=ur.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length)),t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):li(n,h).slice(0)},bt=u.compile=function(n,t){var r,u=[],f=[],i=lt[n+" "];if(!i){for(r=(t=t||ft(n)).length;r--;)(i=ei(t[r]))[e]?u.push(i):f.push(i);(i=lt(n,yr(f,u))).selector=n}return i},hi=u.select=function(n,i,r,u){var s,e,o,a,y,l="function"==typeof n&&n,h=!u&&ft(n=l.selector||n);if(r=r||[],1===h.length){if(2<(e=h[0]=h[0].slice(0)).length&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&c&&t.relative[e[1].type]){if(!(i=(t.find.ID(o.matches[0].replace(p,v),i)||[])[0]))return r;l&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=vt.needsContext.test(n)?0:e.length;s--&&(o=e[s],!t.relative[a=o.type]);)if((y=t.find[a])&&(u=y(o.matches[0].replace(p,v),ni.test(e[0].type)&&ri(i.parentNode)||i))){if(e.splice(s,1),!(n=u.length&&yt(e)))return k.apply(r,u),r;break}}return(l||bt(n,h))(u,i,!c,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(kt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ii("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ii(dt,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=y;i.expr=y.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=y.uniqueSort;i.text=y.getText;i.isXMLDoc=y.isXML;i.contains=y.contains;i.escapeSelector=y.escape;var or=i.expr.match.needsContext,sr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,he=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return 1<u?i.uniqueSort(r):r},filter:function(n){return this.pushStack(li(this,n||[],!1))},not:function(n){return this.pushStack(li(this,n||[],!0))},is:function(n){return!!li(this,"string"==typeof n&&or.test(n)?i(n):n||[],!1).length}});cr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||hr,"string"!=typeof n)return n.nodeType?(this[0]=n,this.length=1,this):i.isFunction(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this);if(!(f="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:cr.exec(n))||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),sr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return(e=u.getElementById(f[2]))&&(this[0]=e,this.length=1),this}).prototype=i.fn;hr=i(u);lr=/^(?:parents|prev(?:Until|All))/;ar={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e="string"!=typeof n&&i(n);if(!or.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?-1<e.index(r):1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(1<u.length?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?yt.call(i(n),this[0]):yt.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return d(n,"parentNode")},parentsUntil:function(n,t,i){return d(n,"parentNode",i)},next:function(n){return vr(n,"nextSibling")},prev:function(n){return vr(n,"previousSibling")},nextAll:function(n){return d(n,"nextSibling")},prevAll:function(n){return d(n,"previousSibling")},nextUntil:function(n,t,i){return d(n,"nextSibling",i)},prevUntil:function(n,t,i){return d(n,"previousSibling",i)},siblings:function(n){return er((n.parentNode||{}).firstChild,n)},children:function(n){return er(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),1<this.length&&(ar[n]||i.uniqueSort(f),lr.test(n)&&f.reverse()),this.pushStack(f)}});s=/\S+/g;i.Callbacks=function(n){function h(){for(e=n.once,l=f=!0;o.length;u=-1)for(r=o.shift();++u<t.length;)!1===t[u].apply(r[0],r[1])&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);f=!1;e&&(t=r?[]:"")}n="string"==typeof n?function(n){var t={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}(n):i.extend({},n);var f,r,l,e,t=[],o=[],u=-1,c={add:function(){return t&&(r&&!f&&(u=t.length-1,o.push(r)),function h(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&c.has(u)||t.push(u):u&&u.length&&"string"!==i.type(u)&&h(u)})}(arguments),r&&!f&&h()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;-1<(f=i.inArray(r,t,f));)t.splice(f,1),f<=u&&u--}),this},has:function(n){return n?-1<i.inArray(n,t):0<t.length},empty:function(){return t=t&&[],this},disable:function(){return e=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return e=o=[],r||f||(t=r=""),this},locked:function(){return!!e},fireWith:function(n,t){return e||(t=[n,(t=t||[]).slice?t.slice():t],o.push(t),f||h()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!l}};return c};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(u,f){var e=i.isFunction(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){function c(){var n,c;if(!(t<e)){if((n=u.apply(s,h))===r.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then;i.isFunction(c)?f?c.call(n,o(e,r,g,f),o(e,r,bt,f)):(e++,c.call(n,o(e,r,g,f),o(e,r,bt,f),o(e,r,g,r.notifyWith))):(u!==g&&(s=void 0,h=[n]),(f||r.resolveWith)(s,h))}}var s=this,h=arguments,l=f?c:function(){try{c()}catch(c){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(c,l.stackTrace);e<=t+1&&(u!==bt&&(s=void 0,h=[c]),r.rejectWith(s,h))}};t?l():(i.Deferred.getStackHook&&(l.stackTrace=i.Deferred.getStackHook()),n.setTimeout(l))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,i.isFunction(f)?f:g,n.notifyWith));u[1][3].add(o(0,n,i.isFunction(t)?t:g));u[2][3].add(o(0,n,i.isFunction(r)?r:bt))}).promise()},promise:function(n){return null!=n?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[0][2].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){function e(n){return function(t){o[n]=this;u[n]=1<arguments.length?w.call(arguments):t;--f||r.resolveWith(o,u)}}var f=arguments.length,t=f,o=Array(t),u=w.call(arguments),r=i.Deferred();if(f<=1&&(yr(n,r.done(e(t)).resolve,r.reject),"pending"===r.state()||i.isFunction(u[t]&&u[t].then)))return r.then();for(;t--;)yr(u[t],e(t),r.reject);return r.promise()}});pr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&pr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};kt=i.Deferred();i.fn.ready=function(n){return kt.then(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0)!==n&&0<--i.readyWait||kt.resolveWith(u,[i])}});i.ready.then=kt.then;"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",dt),n.addEventListener("load",dt));v=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r))for(s in f=!0,r)v(n,t,s,r[s],!0,e,o);else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(t=o?(t.call(n,u),null):(h=t,function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};st.uid=1;st.prototype={cache:function(n){var t=n[this.expando];return t||(t={},gt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,r){var u,f=this.cache(n);if("string"==typeof t)f[i.camelCase(t)]=r;else for(u in t)f[i.camelCase(u)]=t[u];return f},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][i.camelCase(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(u=(t=i.isArray(t)?t.map(i.camelCase):(t=i.camelCase(t))in r?[t]:t.match(s)||[]).length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new st,e=new st,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,le=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){e.set(this,n)}):v(this,function(t){var i;if(u&&void 0===t){if(void 0!==(i=e.get(u,n))||void 0!==(i=wr(u,n)))return i}else this.each(function(){e.set(this,n,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&0===(f=h[o].name).indexOf("data-")&&(f=i.camelCase(f.slice(5)),wr(u,f,s[f]));r.set(u,"hasDataAttrs",!0)}return s},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return(t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[])},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t);"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,function(){i.dequeue(n,t)},f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){function e(){--o||s.resolveWith(f,[f])}var u,o=1,s=i.Deferred(),f=this,h=this.length;for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";h--;)(u=r.get(f[h],n+"queueHooks"))&&u.empty&&(o++,u.empty.add(e));return e(),s.promise(t)}});var kr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ht=new RegExp("^(?:([+-])=|)("+kr+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],ni=function(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&i.contains(n.ownerDocument,n)&&"none"===i.css(n,"display")};ai={};i.fn.extend({show:function(){return nt(this,!0)},hide:function(){return nt(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){ni(this)?i(this).show():i(this).hide()})}});var gr=/^(?:checkbox|radio)$/i,nu=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,tu=/^$|\/(?:java|ecma)script/i,h={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,"",""]};h.optgroup=h.option;h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;iu=/<|&#?\w+;/;ct=u.createDocumentFragment().appendChild(u.createElement("div"));(ti=u.createElement("input")).setAttribute("type","radio");ti.setAttribute("checked","checked");ti.setAttribute("name","t");ct.appendChild(ti);f.checkClone=ct.cloneNode(!0).cloneNode(!0).lastChild.checked;ct.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!ct.cloneNode(!0).lastChild.defaultValue;var ii=u.documentElement,ae=/^key/,ve=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,uu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var p,v,k,y,w,c,h,l,o,b,d,a=r.get(n);if(a)for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(ii,e),u.guid||(u.guid=i.guid++),(y=a.events)||(y=a.events={}),(v=a.handle)||(v=a.handle=function(t){if(void 0!==i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(s)||[""]).length;w--;)o=d=(k=uu.exec(t[w])||[])[1],b=(k[2]||"").split(".").sort(),o&&(h=i.event.special[o]||{},o=(e?h.delegateType:h.bindType)||o,h=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},p),(l=y[o])||((l=y[o]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(n,f,b,v)||n.addEventListener&&n.addEventListener(o,v)),h.add&&(h.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,l,v,p,h,c,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(p=(t=(t||"").match(s)||[""]).length;p--;)if(o=d=(l=uu.exec(t[p])||[])[1],b=(l[2]||"").split(".").sort(),o){for(c=i.event.special[o]||{},a=v[o=(f?c.delegateType:c.bindType)||o]||[],l=l[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)h=a[y],!e&&d!==h.origType||u&&u.guid!==h.guid||l&&!l.test(h.namespace)||f&&f!==h.selector&&("**"!==f||!h.selector)||(a.splice(y,1),h.selector&&a.delegateCount--,c.remove&&c.remove.call(n,h));k&&!a.length&&(c.teardown&&!1!==c.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,h,c,e,f,l,t=i.event.fix(n),s=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(s[0]=t,u=1;u<arguments.length;u++)s[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||!1!==o.preDispatch.call(this,t)){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,h=0;(f=e.handlers[h++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(f.namespace)||(t.handleObj=f,t.data=f.data,void 0!==(c=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,s))&&!1===(t.result=c)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var e,u,f,s,h=[],o=t.delegateCount,r=n.target;if(o&&r.nodeType&&("click"!==n.type||isNaN(n.button)||n.button<1))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&(!0!==r.disabled||"click"!==n.type)){for(u=[],e=0;e<o;e++)void 0===u[f=(s=t[e]).selector+" "]&&(u[f]=s.needsContext?-1<i(f,this).index(r):i.find(f,this,null,[r]).length),u[f]&&u.push(s);u.length&&h.push({elem:r,handlers:u})}return o<t.length&&h.push({elem:this,handlers:t.slice(o)}),h},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:i.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==fu()&&this.focus)return(this.focus(),!1)},delegateType:"focusin"},blur:{trigger:function(){if(this===fu()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&!1===n.returnValue?ri:tt,this.target=n.target&&3===n.target.nodeType?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={constructor:i.Event,isDefaultPrevented:tt,isPropagationStopped:tt,isImmediatePropagationStopped:tt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ri;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ri;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ri;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return null==n.which&&ae.test(n.type)?null!=n.charCode?n.charCode:n.keyCode:!n.which&&void 0!==t&&ve.test(n.type)?1&t?1:2&t?3:4&t?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,r=n.relatedTarget,f=n.handleObj;return r&&(r===this||i.contains(this,r))||(n.type=f.origType,u=f.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return yi(this,n,t,i,r)},one:function(n,t,i,r){return yi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"!=typeof n)return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=tt),this.each(function(){i.event.remove(this,n,r,t)});for(f in n)this.off(f,t,n[f]);return this}});var ye=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,pe=/<script|<style|<link/i,we=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/^true\/(.*)/,ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(ye,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,l,a,v,h=n.cloneNode(!0),y=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),u=0,c=(s=o(n)).length;u<c;u++)l=s[u],a=e[u],void 0,"input"===(v=a.nodeName.toLowerCase())&&gr.test(l.type)?a.checked=l.checked:"input"!==v&&"textarea"!==v||(a.defaultValue=l.defaultValue);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)ou(s[u],e[u]);else ou(n,h);return 0<(e=o(h,"script")).length&&vi(e,!y&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;void 0!==(t=n[o]);o++)if(gt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[e.expando]&&(t[e.expando]=void 0)}}});i.fn.extend({detach:function(n){return su(this,n,!0)},remove:function(n){return su(this,n)},text:function(n){return v(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return it(this,arguments,function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||eu(this,n).appendChild(n)})},prepend:function(){return it(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=eu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return it(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return it(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return v(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!pe.test(n)&&!h[(nu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)1===(t=this[r]||{}).nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return it(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),hi.apply(f,u.get());return this.pushStack(f)}});var hu,cu,lu,au,lt,c,vu=/^margin/,pi=new RegExp("^("+kr+")(?!px)[a-z%]+$","i"),ui=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)};lt=u.createElement("div");(c=u.createElement("div")).style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===c.style.backgroundClip,lt.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",lt.appendChild(c),i.extend(f,{pixelPosition:function(){return fi(),hu},boxSizingReliable:function(){return fi(),cu},pixelMarginRight:function(){return fi(),lu},reliableMarginLeft:function(){return fi(),au}}));var no=/^(none|table(?!-c[ea]).+)/,to={position:"absolute",visibility:"hidden",display:"block"},pu={letterSpacing:"0",fontWeight:"400"},wu=["Webkit","Moz","ms"],bu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=at(n,"opacity");return""===i?"1":i}}}},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(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;return t=i.cssProps[s]||(i.cssProps[s]=ku(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===r?o&&"get"in o&&void 0!==(e=o.get(n,!1,u))?e:c[t]:("string"==(h=typeof r)&&(e=ht.exec(r))&&e[1]&&(r=dr(n,t,e),h="number"),void(null!=r&&r==r&&("number"===h&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(c[t]=r))))}},css:function(n,t,r,u){var f,o,s,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=ku(e)||e),(s=i.cssHooks[t]||i.cssHooks[e])&&"get"in s&&(f=s.get(n,!0,r)),void 0===f&&(f=at(n,t,u)),"normal"===f&&t in pu&&(f=pu[t]),""===r||r?(o=parseFloat(f),!0===r||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return!no.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?nf(n,t,u):br(n,to,function(){return nf(n,t,u)})},set:function(n,r,u){var f,e=u&&ui(n),o=u&&gu(n,t,u,"border-box"===i.css(n,"boxSizing",!1,e),e);return o&&(f=ht.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),du(0,r,o)}}});i.cssHooks.marginLeft=yu(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(at(n,"marginLeft"))||n.getBoundingClientRect().left-br(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};vu.test(n)||(i.cssHooks[n+t].set=du)});i.fn.extend({css:function(n,t){return v(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=ui(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,1<arguments.length)}});((i.Tween=l).prototype={constructor:l,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=l.propHooks[this.prop];return n&&n.get?n.get(this):l.propHooks._default.get(this)},run:function(n){var t,r=l.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):l.propHooks._default.set(this),this}}).init.prototype=l.prototype;(l.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""))&&"auto"!==t?t:0},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}}).scrollTop=l.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=l.prototype.init;i.fx.step={};rf=/^(?:toggle|show|hide)$/;uf=/queueHooks$/;i.Animation=i.extend(a,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return dr(i.elem,n,ht.exec(t),i),i}]},tweener:function(n,t){for(var r,u=0,f=(n=i.isFunction(n)?(t=n,["*"]):n.match(s)).length;u<f;u++)r=n[u],a.tweeners[r]=a.tweeners[r]||[],a.tweeners[r].unshift(t)},prefilters:[function(n,t,u){var f,y,w,c,b,h,o,l,k="width"in t||"height"in t,v=this,p={},s=n.style,a=n.nodeType&&ni(n),e=r.get(n,"fxshow");for(f in u.queue||(null==(c=i._queueHooks(n,"fx")).unqueued&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})})),t)if(y=t[f],rf.test(y)){if(delete t[f],w=w||"toggle"===y,y===(a?"hide":"show")){if("show"!==y||!e||void 0===e[f])continue;a=!0}p[f]=e&&e[f]||i.style(n,f)}if((h=!i.isEmptyObject(t))||!i.isEmptyObject(p))for(f in k&&1===n.nodeType&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],null==(o=e&&e.display)&&(o=r.get(n,"display")),"none"===(l=i.css(n,"display"))&&(o?l=o:(nt([n],!0),o=n.style.display||o,l=i.css(n,"display"),nt([n]))),("inline"===l||"inline-block"===l&&null!=o)&&"none"===i.css(n,"float")&&(h||(v.done(function(){s.display=o}),null==o&&(l=s.display,o="none"===l?"":l)),s.display="inline-block")),u.overflow&&(s.overflow="hidden",v.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]})),h=!1,p)h||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&nt([n],!0),v.done(function(){for(f in a||nt([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=of(a?e[f]:0,f,v),f in e||(e[f]=h.start,a&&(h.end=h.start,h.start=0))}],prefilter:function(n,t){t?a.prefilters.unshift(n):a.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return f.duration=i.fx.off||u.hidden?0:"number"==typeof f.duration?f.duration:f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default,null!=f.queue&&!0!==f.queue||(f.queue="fx"),f.old=f.complete,f.complete=function(){i.isFunction(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(ni).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){function e(){var t=a(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)}var s=i.isEmptyObject(n),o=i.speed(t,u,f);return e.finish=e,s||!1===o.queue?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){function f(n){var t=n.stop;delete n.stop;t(u)}return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&uf.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return!1!==n&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ei(t,!0),n,i,u)}});i.each({slideDown:ei("show"),slideUp:ei("hide"),slideToggle:ei("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(rt=i.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();rt=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){ut=ut||(n.requestAnimationFrame?n.requestAnimationFrame(ff):n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.cancelAnimationFrame?n.cancelAnimationFrame(ut):n.clearInterval(ut);ut=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx&&i.fx.speeds[t]||t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})};ft=u.createElement("input");tf=u.createElement("select").appendChild(u.createElement("option"));ft.type="checkbox";f.checkOn=""!==ft.value;f.optSelected=tf.selected;(ft=u.createElement("input")).value="t";ft.type="radio";f.radioValue="t"===ft.value;et=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return v(this,i.attr,n,t,1<arguments.length)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return void 0===n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(u=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?sf:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):u&&"get"in u&&null!==(f=u.get(n,t))?f:null==(f=i.find.attr(n,t))?void 0:f)},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(s);if(r&&1===n.nodeType)for(;i=r[u++];)n.removeAttribute(i)}});sf={set:function(n,t,r){return!1===t?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=et[t]||i.find.attr;et[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=et[u],et[u]=f,f=null!=r(n,t,i)?u:null,et[u]=e),f}});hf=/^(?:input|select|textarea|button)$/i;cf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return v(this,i.prop,n,t,1<arguments.length)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):hf.test(n.nodeName)||cf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});oi=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var e,t,r,u,f,o,h,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,k(this)))});if("string"==typeof n&&n)for(e=n.match(s)||[];t=this[c++];)if(u=k(t),r=1===t.nodeType&&(" "+u+" ").replace(oi," ")){for(o=0;f=e[o++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");u!==(h=i.trim(r))&&t.setAttribute("class",h)}return this},removeClass:function(n){var e,r,t,u,f,o,h,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,k(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(e=n.match(s)||[];r=this[c++];)if(u=k(r),t=1===r.nodeType&&(" "+u+" ").replace(oi," ")){for(o=0;f=e[o++];)for(;-1<t.indexOf(" "+f+" ");)t=t.replace(" "+f+" "," ");u!==(h=i.trim(t))&&r.setAttribute("class",h)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"==u?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,k(this),t),t)}):this.each(function(){var t,e,f,o;if("string"==u)for(e=0,f=i(this),o=n.match(s)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else void 0!==n&&"boolean"!=u||((t=k(this))&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&-1<(" "+k(t)+" ").replace(oi," ").indexOf(i))return!0;return!1}});lf=/\r/g;af=/[\x20\t\r\n\f]+/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(null==(u=f?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:"string"==typeof(r=u.value)?r.replace(lf,""):null==r?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n)).replace(af," ")}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u="select-one"===n.type,s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f<h;f++)if(((t=o[f]).selected||f===r)&&!t.disabled&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),u)return e;s.push(e)}return s},set:function(n,t){for(var r,u,f=n.options,e=i.makeArray(t),o=f.length;o--;)((u=f[o]).selected=-1<i.inArray(i.valHooks.option.get(u),e))&&(r=!0);return r||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=-1<i.inArray(i(n).val(),t)}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});wi=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,y=[e||u],h=wt.call(t,"type")?t.type:t,p=wt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!wi.test(h+i.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),a=h.indexOf(":")<0&&"on"+h,(t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||!1!==l.trigger.apply(e,f))){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,wi.test(b+h)||(s=s.parentNode);s;s=s.parentNode)y.push(s),c=s;c===(e.ownerDocument||u)&&y.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=y[w++])&&!t.isPropagationStopped();)t.type=1<w?b:l.bindType||h,(v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"))&&v.apply(s,f),(v=a&&s[a])&&v.apply&&gt(s)&&(t.result=v.apply(s,f),!1===t.result&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&!1!==l._default.apply(y.pop(),f)||!gt(e)||a&&i.isFunction(e[h])&&!i.isWindow(e)&&((c=e[a])&&(e[a]=null),e[i.event.triggered=h](),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return 0<arguments.length?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){function u(n){i.event.simulate(t,n.target,i.event.fix(n))}i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var vt=n.location,vf=i.now(),bi=/\?/;i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var io=/\[\]$/,yf=/\r?\n/g,ro=/^(?:submit|button|image|reset|file)$/i,uo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){function f(n,t){var r=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==r?"":r)}var r,u=[];if(i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)ki(r,n[r],t,f);return u.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&uo.test(this.nodeName)&&!ro.test(n)&&(this.checked||!gr.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yf,"\r\n")}}):{name:t.name,value:r.replace(yf,"\r\n")}}).get()}});var fo=/%20/g,eo=/#.*$/,oo=/([?&])_=[^&]*/,so=/^(.*?):[ \t]*([^\r\n]*)$/gm,ho=/^(?:GET|HEAD)$/,co=/^\/\//,pf={},di={},wf="*/".concat("*"),gi=u.createElement("a");return gi.href=vt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wf,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":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?nr(nr(n,i.ajaxSettings),t):nr(i.ajaxSettings,n)},ajaxPrefilter:bf(pf),ajaxTransport:bf(di),ajax:function(t,r){function b(t,r,u,s){var v,rt,b,p,g,l=r;h||(h=!0,d&&n.clearTimeout(d),a=void 0,k=s||"",e.readyState=0<t?4:0,v=200<=t&&t<300||304===t,u&&(p=function(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o=o||u}f=f||o}if(f)return(f!==r[0]&&r.unshift(f),i[f])}(f,e,u)),p=function(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if((s=h.split(" "))[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}(f,p,e,v),v?(f.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===f.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,v=!(b=p.error))):(b=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",v?tt.resolveWith(c,[rt,l,e]):tt.rejectWith(c,[e,l,b]),e.statusCode(w),w=void 0,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,f,v?rt:b]),it.fireWith(c,[e,l]),y&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var a,o,k,v,d,l,h,y,g,p,f=i.ajaxSetup({},r),c=f.context||f,nt=f.context&&(c.nodeType||c.jquery)?i(c):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(h){if(!v)for(v={};t=so.exec(k);)v[t[1].toLowerCase()]=t[2];t=v[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return h?k:null},setRequestHeader:function(n,t){return null==h&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==h&&(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(h)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return a&&a.abort(t),b(0,t),this}};if(tt.promise(e),f.url=((t||f.url||vt.href)+"").replace(co,vt.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(s)||[""],null==f.crossDomain){l=u.createElement("a");try{l.href=f.url;l.href=l.href;f.crossDomain=gi.protocol+"//"+gi.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),kf(pf,f,r,e),h)return e;for(g in(y=i.event&&f.global)&&0==i.active++&&i.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!ho.test(f.type),o=f.url.replace(eo,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(fo,"+")):(p=f.url.slice(o.length),f.data&&(o+=(bi.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(oo,""),p=(bi.test(o)?"&":"?")+"_="+vf+++p),f.url=o+p),f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType),e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+wf+"; q=0.01":""):f.accepts["*"]),f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(!1===f.beforeSend.call(c,e,f)||h))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),a=kf(di,f,r,e)){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,f]),h)return e;f.async&&0<f.timeout&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{h=!1;a.send(rt,b)}catch(t){if(h)throw t;b(-1,t)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(i.isFunction(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},df={0:200,1223:204},ot=i.ajaxSettings.xhr(),f.cors=!!ot&&"withCredentials"in ot,f.ajax=ot=!!ot,i.ajaxTransport(function(t){var i,r;if(f.cors||ot&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];for(o in t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType),t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest"),u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(df[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(u){if(i)throw u;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){var r,t;if(n.crossDomain)return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}),tr=[],si=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=tr.pop()||i.expando+"_"+vf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=!1!==t.jsonp&&(si.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&si.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(si,"$1"+f):!1!==t.jsonp&&(t.url+=(bi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,tr.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script")}),f.createHTMLDocument=((gf=u.implementation.createHTMLDocument("").body).innerHTML="<form><\/form><form><\/form>",2===gf.childNodes.length),i.parseHTML=function(n,t,r){return"string"!=typeof n?[]:("boolean"==typeof t&&(r=t,t=!1),t||(f.createHTMLDocument?((s=(t=u.implementation.createHTMLDocument("")).createElement("base")).href=u.location.href,t.head.appendChild(s)):t=u),e=!r&&[],(o=sr.exec(n))?[t.createElement(o[1])]:(o=ru([n],t,e),e&&e.length&&i(e).remove(),i.merge([],o.childNodes)));var s,o,e},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return-1<e&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<f.length&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var l,a,e,o,u,s,h=i.css(n,"position"),c=i(n),f={};"static"===h&&(n.style.position="relative");u=c.offset();e=i.css(n,"top");s=i.css(n,"left");a=("absolute"===h||"fixed"===h)&&-1<(e+s).indexOf("auto")?(o=(l=c.position()).top,l.left):(o=parseFloat(e)||0,parseFloat(s)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+o);null!=t.left&&(f.left=t.left-u.left+a);"using"in t?t.using.call(n,f):c.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,f,t,e,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect()).width||t.height?(f=ne(e=r.ownerDocument),u=e.documentElement,{top:t.top+f.pageYOffset-u.clientTop,left:t.left+f.pageXOffset-u.clientLeft}):t:{top:0,left:0}},position:function(){if(this[0]){var t,r,u=this[0],n={top:0,left:0};return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(t=this.offsetParent(),r=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n={top:n.top+i.css(t[0],"borderTopWidth",!0),left:n.left+i.css(t[0],"borderLeftWidth",!0)}),{top:r.top-n.top-i.css(u,"marginTop",!0),left:r.left-n.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||ii})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return v(this,function(n,i,u){var f=ne(n);return void 0===u?f?f[t]:n[i]:void(f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u)},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=yu(f.pixelPosition,function(n,r){if(r)return(r=at(n,t),pi.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||"boolean"!=typeof f),s=r||(!0===f||!0===e?"margin":"border");return v(this,function(t,r,f){var e;return i.isWindow(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}}),i.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),te=n.jQuery,ie=n.$,i.noConflict=function(t){return n.$===i&&(n.$=ie),t&&n.jQuery===i&&(n.jQuery=te),i},t||(n.jQuery=n.$=i),i}),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?n(require("jquery")):n(jQuery)}(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function r(i,r){var f=t.raw?i:function(n){0===n.indexOf('"')&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return n=decodeURIComponent(n.replace(u," ")),t.json?JSON.parse(n):n}catch(n){}}(i);return n.isFunction(r)?r(f):f}var u=/\+/g,t=n.cookie=function(u,f,e){var a,s;if(1<arguments.length&&!n.isFunction(f))return"number"==typeof(e=n.extend({},t.defaults,e)).expires&&(a=e.expires,s=e.expires=new Date,s.setTime(+s+864e5*a)),document.cookie=[i(u),"=",function(n){return i(t.json?JSON.stringify(n):String(n))}(f),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("");for(var h,c=u?void 0:{},v=document.cookie?document.cookie.split("; "):[],l=0,w=v.length;l<w;l++){var y=v[l].split("="),p=(h=y.shift(),t.raw?h:decodeURIComponent(h)),o=y.join("=");if(u&&u===p){c=r(o,f);break}u||void 0===(o=r(o))||(c[p]=o)}return c};t.defaults={};n.removeCookie=function(t,i){return void 0!==n.cookie(t)&&(n.cookie(t,"",n.extend({},i,{expires:-1})),!n.cookie(t))}}),function(n){function u(i){function c(){i?h.removeData(i):f&&delete t[f]}function v(){u.id=setTimeout(function(){u.fn()},s)}var h,l=this,u={},y=i?n.fn:n,e=arguments,a=4,f=e[1],s=e[2],o=e[3];if("string"!=typeof f&&(a--,f=i=0,s=e[1],o=e[2]),i?(h=l.eq(0)).data(i,u=h.data(i)||{}):f&&(u=t[f]||(t[f]={})),u.id&&clearTimeout(u.id),delete u.id,o)u.fn=function(n){"string"==typeof o&&(o=y[o]);!0!==o.apply(l,r.call(e,a))||n?c():v()},v();else{if(u.fn)return void 0===s?c():u.fn(!1===s),!0;c()}}var t={},i="doTimeout",r=Array.prototype.slice;n[i]=function(){return u.apply(window,[0].concat(r.call(arguments)))};n.fn[i]=function(){var n=r.call(arguments),t=u.apply(this,[i+n[0]].concat(n));return"number"==typeof n[0]||"number"==typeof n[1]?this:t}}(jQuery),function(n){function t(){var t=n(this);t.data("resizetimer")&&window.clearTimeout(t.data("resizetimer"));t.data("resizetimer",window.setTimeout(function(){t.trigger("afterresize")},300))}n.event.special.afterresize={add:function(i){n(this).bind("resize",t);var r=i.handler;i.handler=function(){return r.apply(this,arguments)}},remove:function(){n(this).unbind("resize",t)}};n.fn.extend({afterresize:function(t){return n.isFunction(t)?n(this).bind("afterresize",t):n(this).trigger("afterresize"),this}})}(jQuery),function(){"use strict";function n(t,r){function s(n,t){return function(){return n.apply(t,arguments)}}var e;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=t,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!n.notNeeded(t)){for(var f=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],u=0,o=f.length;u<o;u++)this[f[u]]=s(this[f[u]],this);i&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0));t.addEventListener("click",this.onClick,!0);t.addEventListener("touchstart",this.onTouchStart,!1);t.addEventListener("touchmove",this.onTouchMove,!1);t.addEventListener("touchend",this.onTouchEnd,!1);t.addEventListener("touchcancel",this.onTouchCancel,!1);Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(n,i,r){var u=Node.prototype.removeEventListener;"click"===n?u.call(t,n,i.hijacked||i,r):u.call(t,n,i,r)},t.addEventListener=function(n,i,r){var u=Node.prototype.addEventListener;"click"===n?u.call(t,n,i.hijacked||(i.hijacked=function(n){n.propagationStopped||i(n)}),r):u.call(t,n,i,r)});"function"==typeof t.onclick&&(e=t.onclick,t.addEventListener("click",function(n){e(n)},!1),t.onclick=null)}}var r=0<=navigator.userAgent.indexOf("Windows Phone"),i=0<navigator.userAgent.indexOf("Android")&&!r,t=/iP(ad|hone|od)/.test(navigator.userAgent)&&!r,u=t&&/OS 4_\d(_\d)?/.test(navigator.userAgent),f=t&&/OS [6-7]_\d/.test(navigator.userAgent),e=0<navigator.userAgent.indexOf("BB10");n.prototype.needsClick=function(n){switch(n.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(n.disabled)return!0;break;case"input":if(t&&"file"===n.type||n.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(n.className)};n.prototype.needsFocus=function(n){switch(n.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!i;case"input":switch(n.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!n.disabled&&!n.readOnly;default:return/\bneedsfocus\b/.test(n.className)}};n.prototype.sendClick=function(n,t){var r,i;document.activeElement&&document.activeElement!==n&&document.activeElement.blur();i=t.changedTouches[0];(r=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(n),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null);r.forwardedTouchEvent=!0;n.dispatchEvent(r)};n.prototype.determineEventType=function(n){return i&&"select"===n.tagName.toLowerCase()?"mousedown":"click"};n.prototype.focus=function(n){var i;t&&n.setSelectionRange&&0!==n.type.indexOf("date")&&"time"!==n.type&&"month"!==n.type?(i=n.value.length,n.setSelectionRange(i,i)):n.focus()};n.prototype.updateScrollParent=function(n){var i,t;if(!(i=n.fastClickScrollParent)||!i.contains(n)){t=n;do{if(t.scrollHeight>t.offsetHeight){i=t;n.fastClickScrollParent=t;break}t=t.parentElement}while(t)}i&&(i.fastClickLastScrollTop=i.scrollTop)};n.prototype.getTargetElementFromEventTarget=function(n){return n.nodeType===Node.TEXT_NODE?n.parentNode:n};n.prototype.onTouchStart=function(n){var r,i,f;if(1<n.targetTouches.length)return!0;if(r=this.getTargetElementFromEventTarget(n.target),i=n.targetTouches[0],t){if((f=window.getSelection()).rangeCount&&!f.isCollapsed)return!0;if(!u){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return n.preventDefault(),!1;this.lastTouchIdentifier=i.identifier;this.updateScrollParent(r)}}return this.trackingClick=!0,this.trackingClickStart=n.timeStamp,this.targetElement=r,this.touchStartX=i.pageX,this.touchStartY=i.pageY,n.timeStamp-this.lastClickTime<this.tapDelay&&n.preventDefault(),!0};n.prototype.touchHasMoved=function(n){var t=n.changedTouches[0],i=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>i||Math.abs(t.pageY-this.touchStartY)>i};n.prototype.onTouchMove=function(n){return this.trackingClick&&(this.targetElement===this.getTargetElementFromEventTarget(n.target)&&!this.touchHasMoved(n)||(this.trackingClick=!1,this.targetElement=null)),!0};n.prototype.findControl=function(n){return void 0!==n.control?n.control:n.htmlFor?document.getElementById(n.htmlFor):n.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};n.prototype.onTouchEnd=function(n){var h,c,e,o,s,r=this.targetElement;if(!this.trackingClick)return!0;if(n.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0;if(n.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=n.timeStamp,c=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,f&&(s=n.changedTouches[0],(r=document.elementFromPoint(s.pageX-window.pageXOffset,s.pageY-window.pageYOffset)||r).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(e=r.tagName.toLowerCase())){if(h=this.findControl(r)){if(this.focus(r),i)return!1;r=h}}else if(this.needsFocus(r))return 100<n.timeStamp-c||t&&window.top!==window&&"input"===e?this.targetElement=null:(this.focus(r),this.sendClick(r,n),t&&"select"===e||(this.targetElement=null,n.preventDefault())),!1;return!(!t||u||!(o=r.fastClickScrollParent)||o.fastClickLastScrollTop===o.scrollTop)||(this.needsClick(r)||(n.preventDefault(),this.sendClick(r,n)),!1)};n.prototype.onTouchCancel=function(){this.trackingClick=!1;this.targetElement=null};n.prototype.onMouse=function(n){return!this.targetElement||!!n.forwardedTouchEvent||!n.cancelable||!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(n.stopImmediatePropagation?n.stopImmediatePropagation():n.propagationStopped=!0,n.stopPropagation(),n.preventDefault(),!1)};n.prototype.onClick=function(n){var t;return this.trackingClick?(this.targetElement=null,!(this.trackingClick=!1)):"submit"===n.target.type&&0===n.detail||((t=this.onMouse(n))||(this.targetElement=null),t)};n.prototype.destroy=function(){var n=this.layer;i&&(n.removeEventListener("mouseover",this.onMouse,!0),n.removeEventListener("mousedown",this.onMouse,!0),n.removeEventListener("mouseup",this.onMouse,!0));n.removeEventListener("click",this.onClick,!0);n.removeEventListener("touchstart",this.onTouchStart,!1);n.removeEventListener("touchmove",this.onTouchMove,!1);n.removeEventListener("touchend",this.onTouchEnd,!1);n.removeEventListener("touchcancel",this.onTouchCancel,!1)};n.notNeeded=function(n){var t,r,u;return void 0===window.ontouchstart?!0:(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1])&&(!i||(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||31<r&&document.documentElement.scrollWidth<=window.outerWidth))?!0:e&&10<=(u=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]&&3<=u[2]&&(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth)?!0:"none"===n.style.msTouchAction||"manipulation"===n.style.touchAction||!!(27<=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]&&(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||"none"===n.style.touchAction||"manipulation"===n.style.touchAction};n.attach=function(t,i){return new n(t,i)};"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return n}):"undefined"!=typeof module&&module.exports?(module.exports=n.attach,module.exports.FastClick=n):window.FastClick=n}(),function(){"use strict";function u(n,i){var u,r=location.search,f;"-1"==r.indexOf("?")?(u="?"+n+"="+i,history.replaceState({state:1,rand:Math.random()},"",u)):("-1"==r.indexOf(n)?u=r+"&"+n+"="+i:(f=t(n),f=encodeURIComponent(f),u="-1"!=r.indexOf("?"+n+"=")?r.replace("?"+n+"="+f,"?"+n+"="+i):r.replace("&"+n+"="+f,"&"+n+"="+i)),history.replaceState({state:1,rand:Math.random()},"",u))}function t(n){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+n+"=([^&#]*)").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function i(n){var i=document.location.href,u=location.search,f,r;""!=n?(f=t(n),r=n+"="+(f=encodeURIComponent(f)),"-1"!=u.indexOf("?"+r+"&")?i=i.replace("?"+r+"&","?"):"-1"!=u.indexOf("&"+r+"&")?i=i.replace("&"+r+"&","&"):"-1"!=u.indexOf("?"+r)?i=i.replace("?"+r,""):"-1"!=u.indexOf("&"+r)&&(i=i.replace("&"+r,""))):(u=location.search,i=i.replace(u,""));history.replaceState({state:1,rand:Math.random()},"",i)}function c(n){var f=$("[data-horingssvar-list] li");r.on("change",function(){var n=r.val();f.hide().filter(""===n?"[data-instans]":'[data-instans="'+r.val()+'"]').show();u("instans",n);""===n&&i("instans");t("lastvisited")&&$("#"+t("lastvisited")+":visible").length<1&&i("lastvisited")});""!==n&&(r.val(n),r.trigger("change"))}function a(n,t){return $(t).data($("[data-sort].sort").data("sort"))<$(n).data($("[data-sort].sort").data("sort"))?1:-1}function f(n,t){var i,f,r,u;9===t.which&&(i=n.find("*").filter(l).filter(":visible"),f=jQuery(":focus"),r=i.length,u=i.index(f),t.shiftKey?0===u&&(i.get(r-1).focus(),t.preventDefault()):u===r-1&&(i.get(0).focus(),t.preventDefault()))}var n={queries:[{context:"small"},{context:"medium"},{context:"large"}],fontSizeBtn:"[data-fontsize-btn]",fontSizeNote:"[data-fontsize-note]",showFontSizeNote:function(){$(n.fontSizeBtn).addClass("active");$(n.fontSizeNote).attr("aria-expanded","true").addClass("open")},hideFontSizeNote:function(){$(n.fontSizeBtn).removeClass("active");$(n.fontSizeNote).attr("aria-expanded","false").removeClass("open")},getContext:function(){return window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},this}),window.getComputedStyle?window.getComputedStyle(document.documentElement).getPropertyValue("font-family").replace(/['",]/g,""):n.queries.context.large},languageSelector:function(){var n=$("#languageSelectorTrigger"),t=$("#languageSelector"),i=$(".language"),r=i.find("button, a");n.on("click",function(){t.hasClass("open")?(n.removeClass("active"),t.attr("aria-expanded","false").removeClass("open")):(n.addClass("active"),t.attr("aria-expanded","true").addClass("open"))});r.on("keydown",function(t){9===t.which&&n.hasClass("active")&&f(i,t)}).on("keyup",function(t){27===t.which&&n.trigger("click").focus()});$(document).mouseup(function(i){$(i.target).closest("#languageSelectorTrigger").length||!t.is(i.target)&&0===t.has(i.target).length&&n.hasClass("active")&&n.trigger("click")})},megaMenuInit:function(){function t(t){t.hasClass("active")?n.resetMegaMenu(!1):($(".primaryMenuItem.active").removeClass("active").attr("aria-expanded","false"),$('.primaryMenuItem + [aria-expanded="true"]').attr("aria-expanded","false"),$(t).attr("aria-expanded","true"),"medium desktop"!==n.getContext()&&"large"!==n.getContext()||$("[data-megamenu-overlay]").addClass("shown"),t.addClass("active"))}$(".primaryMenuItem").attr("aria-expanded","false");Modernizr.touch||"medium desktop"!==n.getContext()&&"large"!==n.getContext()||$(".primaryMenuItem.hasDropdown").on("keydown",function(i){13===i.which&&($(this).hasClass("active")?n.resetMegaMenu(!1):t($(this)),i.preventDefault())}).on("click touchend",function(n){t($(this));n.preventDefault()});$(".primaryMenuItem.hasDropdown").on("click",function(n){Modernizr.touch&&(t($(this)),n.preventDefault())});$("[data-megamenu-overlay]").on("click",function(){n.resetMegaMenu(!0)})},closeMegaMenu:function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||n.resetMegaMenu(!0)},resetMegaMenu:function(t){$(".primaryMenuItem + [aria-expanded]").attr("aria-expanded","false");$(".primaryMenuItem.active, .searchToggler.active").removeClass("active").attr("aria-expanded","false");(!1===t||"medium mobile"!==n.getContext()&&"small"!==n.getContext())&&"medium desktop"!==n.getContext()&&"large"!==n.getContext()||($(".menuToggler.active").removeClass("active"),$(".mobileMenuContainer.shown, .hygieneMenu.shown, .megaMenu.shown, .topNavigationSearch.shown, .breadcrumbs.shown, .sharePrint.shown, [data-megamenu-overlay]").removeClass("shown"))},moveHygieneMenu:function(){"medium desktop"===n.getContext()||"large"===n.getContext()?$("[data-hygiene-menu]").insertAfter("[data-hygiene-menu-large-sceen-anchor]"):$("[data-hygiene-menu]").insertAfter("[data-hygiene-menu-small-sceen-anchor]")},equalHeight:function(){$("[data-equal-height]").each(function(n,t){if(700<=$(window).width()){var i=0;$(t).find($(t).data("equal-height")).removeAttr("style").each(function(n,t){i=$(t).outerHeight()>i?$(t).outerHeight():i}).css("height",i)}else $(t).find($(t).data("equal-height")).removeAttr("style")})},semantisizePreTitles:function(){$(".content-header-subtitle").each(function(n,t){var i=$(t),r=i.next();i.clone().insertAfter(r);i.attr("aria-hidden","true");r.next().addClass("visuallyhidden")})},mediaLightbox23resizer:function(){$('[data-media-type="nett-tv"]').each(function(n,t){var r,i=$(window).width(),u=!!$(t).data("media-has-slides");1044<i&&(i=1044);r=720<i&&u?i/32*9+210:i/16*9+210;$(t).css("padding-bottom",Math.round(r)+"px")})},flexibleLightbox:function(){$("[data-lightbox-flexible-opener]").each(function(n,t){var r=$(t),e=r.data("lightbox-flexible-opener"),i=$('[data-lightbox-flexible-content="'+e+'"]'),o=i.find("[data-lightbox-flexible]"),u=i.find("[data-close-lightbox]");r.on("click",function(n){n.preventDefault();i.show().focus();setTimeout(function(){$(window).trigger("resize")},100)});u.on("click",function(){i.hide();r.focus()}).on("keydown",function(n){9===n.which&&f(i,event)});i.on("keydown",function(n){27===n.which&&(u.trigger("click"),n.preventDefault())});o.on("click",function(){i.hide();r.focus()})})},mediaLightbox:function(){$("[data-lightbox-opener]").each(function(t,i){$(i).on("click",function(t){t.preventDefault();var r="",f=$(i).attr("href"),e=$(i).attr("data-lightbox-closetxt"),o=$(i).attr("data-lightbox-labeltxt"),u=$(i).attr("data-lightbox-label-status"),s=$(i).attr("data-lightbox-label-status-css"),h="true"===$(i).attr("data-lightbox-slides")?' data-media-has-slides="true"':"";"nett-tv"===$(i).data("lightbox-opener")?(r+='<div class="lightbox" tabindex="-1" data-lightbox><div class="lightbox-blackbox"><div class="lightbox-inner">',r+='<span class="media-banner">',r+='<span class="media-banner-nett-tv">'+o+"<\/span>",void 0!==u&&0<u.length&&(r+='<span class="'+s+'">'+u+"<\/span>"),r+="<\/span>",r+='<div class="lightbox-media">',r+='<div style="width: 100%; height: 0; position: relative;" data-media-type="nett-tv"'+h+'"><iframe src="'+f+'" id="mediaIframe" style="width: 100%; height: 100%; position: absolute; top: 0; left: 0;" frameborder="0" border="0" scrolling="no" allowfullscreen="1" mozallowfullscreen="1" webkitallowfullscreen="1"><\/iframe><\/div>',r+="<\/div>",r+='<button type="button" class="closeButton" data-close-lightbox><span class="visuallyhidden">'+e+"<\/span><\/button>",r+="<\/div><\/div><\/div>"):"media-objekt"===$(i).data("lightbox-opener")&&(r+='<div class="lightbox" tabindex="-1" data-lightbox><div class="lightbox-blackbox"><div class="lightbox-inner">',r+='<span class="media-banner">',r+='<span class="media-banner-nett-tv">'+o+"<\/span>",void 0!==u&&0<u.length&&(r+='<span class="media-banner-live">'+u+"<\/span>"),r+="<\/span>",r+='<div class="lightbox-media">',r+='<div style="width: 100%; height: 0; position: relative; padding-bottom: 56.25%"><iframe src="'+f+'" style="width: 100%; height: 100%; position: absolute; top: 0; left: 0;" frameborder="0" border="0" scrolling="no" allowfullscreen="1" mozallowfullscreen="1" webkitallowfullscreen="1"><\/iframe><\/div>',r+="<\/div>",r+='<button type="button" class="closeButton" data-close-lightbox><span class="visuallyhidden">'+e+"<\/span><\/button>",r+="<\/div><\/div><\/div>");0<$("[data-lightbox]").length&&$("[data-lightbox]").remove();$("body").prepend(r);n.mediaLightbox23resizer();$("[data-lightbox]").focus();$("[data-close-lightbox]").on("click",function(){$("[data-lightbox]").remove();$(i).focus()});$("body").on("keyup",function(n){27===n.which&&($("[data-lightbox]").remove(),$(i).focus(),n.preventDefault())})})})},accessifySharing:function(){$("[data-sharing-panel] .at-share-btn").each(function(n,t){$(t).attr("tabindex","0").on("keydown",function(n){13===n.which&&$(t).find(">span").trigger("click")})});$('[data-toggle="[data-sharing-panel]"].closeButton').on("keydown",function(n){9===n.which&&f($("[data-sharing-panel]"),event)});$("[data-sharing-panel] .socialmedia_linklist li:first-child a").on("keydown",function(n){n.shiftKey&&9===n.which&&f($("[data-sharing-panel]"),event)})},dictionaryWords:function(){$("[data-dictionary-description-id]").each(function(n,t){var i=$(t).data("dictionary-description-id");$(t).replaceWith(function(){return $('<a href="#'+i+'" class="dictionary-word" data-dictionary-description-id="'+i+'" tabindex="0" aria-haspopup="true">'+$(t).html()+"<\/a>")})});$(".dictionary-word").on("click",function(n){var t=$(this),r=t,i=$(this).data("dictionary-description-id"),u='<div style="" id="insertID-'+i+'" class="inserted-dictionary-word" tabindex="-1" data-inserted-dictionary-word><p class="visuallyhidden">Ordforklaring: <\/p>'+$("#"+i).html()+' <button type="button" class="closeButton" role="dialog" data-close-dictionary-word><span class="visuallyhidden">Lukk ordforklaring<\/span><\/button><\/div>';n.preventDefault();$("[data-inserted-dictionary-word]").remove();$(".dictionaryWordShown").removeClass("dictionaryWordShown");t.hasClass("dictionaryWordShown")?(t.parent().find(".inserted-dictionary-word").remove(),t.removeClass("dictionaryWordShown")):(t.addClass("dictionaryWordShown"),t.parent().parent().css("position","relative"),t.after(u),$("[data-inserted-dictionary-word]").focus(),$("[data-close-dictionary-word]").on("click",function(){r.removeClass("dictionaryWordShown").focus();$("[data-inserted-dictionary-word]").remove()}),$(document).on("keydown","[data-inserted-dictionary-word]",function(n){27===n.which?$("[data-close-dictionary-word]").trigger("click"):f($(this),event)}))});$(".dictionary-word").length&&($("html").on("click",function(){$("[data-inserted-dictionary-word]").length&&($("[data-inserted-dictionary-word]").remove(),$(".dictionaryWordShown").removeClass("dictionaryWordShown"))}),$(".dictionary-word, .inserted-dictionary-word").on("click",function(n){n.stopPropagation()}))},breadcrumbsLastItem:function(){"undefined"==typeof lastCrumb&&(window.lastCrumb=$(".breadcrumbs > ul > li:last-child > a"),window.lastCrumbTitle=window.lastCrumb.html(),window.lastCrumbHref=window.lastCrumb.attr("href"));window.lastCrumb&&("medium desktop"===n.getContext()||"large"===n.getContext()?$(".breadcrumbs > ul > li:last-child > span[data-href]")&&$(".breadcrumbs > ul > li:last-child > span[data-href]").replaceWith('<a href="'+window.lastCrumbHref+'" role="button" class="last-crumb">'+window.lastCrumbTitle+"<\/a>"):$(".breadcrumbs > ul > li:last-child > a").replaceWith('<span data-href="'+window.lastCrumbHref+'">'+window.lastCrumbTitle+"<\/span>"))},toTopOfPage:function(){$("#top-of-page").length<1&&$("body").prepend('<a id="top-of-page" tabindex="-1"><\/a>');$("[data-to-top-of-page]").on("click",function(n){var t=$(this);$("html, body").animate({scrollTop:0},0,function(){$(t.attr("href")).focus()});n.preventDefault()})},skipToMain:function(){var n=$(".skipLink"),t=$(n.attr("href"));n.on("click",function(n){$("html, body").animate({scrollTop:t.position().top},300,function(){t.focus()});n.preventDefault()})},removeActiveSearchFilters:function(){$("#searchFilters .custom-selector-reset").length&&($("[data-remove-filters-link]").removeClass("hidden"),$("#searchFilters").hasClass("hidden")&&$('[data-toggle-hidden="#searchFilters"]').click(),$("[data-remove-filters-link] a").on("click",function(n){n.preventDefault();var r=[],i=document.location.href;$("#searchFilters .custom-selector-reset").each(function(n,t){var i=$(t);r.push(i.data("id"));"from"===i.data("id")&&(r.push("to"),r.push("sesjon"))});$.each(r,function(n,r){var f=t(r),u=r+"="+(f=encodeURIComponent(f));"-1"!=i.indexOf("?"+u+"&")?i=i.replace("?"+u+"&","?"):"-1"!=i.indexOf("&"+u+"&")?i=i.replace("&"+u+"&","&"):"-1"!=i.indexOf("?"+u)?i=i.replace("?"+u,""):"-1"!=i.indexOf("&"+u)&&(i=i.replace("&"+u,""))});window.location=i}))},mainEventImageLink:function(){if($("body").hasClass("page-frontpage")){var n=$(".current-event-main .col:nth-child(1) .current-event-title > a"),i=n.attr("href"),t=$(".current-event-main .col:nth-child(2) > img");t.addClass("pointer");t.on("mouseover",function(){n.addClass("hovered")}).on("mouseout",function(){n.removeClass("hovered")}).on("click",function(){window.location=i})}},filterActiveRolesOnly:function(){function t(){if(n.length){var i=$(".article-body .factbox"),t=!0===n.prop("checked"),r=t?'.factbox-content .data-listing > li:not("[data-inactive]")':".factbox-content .data-listing > li";i.each(function(n,i){var u=$(i),f=u.find(r).length,e=u.find(".factbox-title > .factbox-toggler .factbox-title-text [data-amount]");t?u.addClass("active-only"):u.removeClass("active-only");e.html(f)})}}var n=$("#filterActiveRoles");$(window).on("load",function(){t()});n.on("click",function(){t()})}},o,s,r,e,h,l;$(document).on("blur","[data-close-lightbox]",function(){$(this).parents("[data-lightbox]").focus()});$("[data-close-megamenu]").on("keydown",function(t){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||13!==t.which&&27!==t.which||(n.closeMegaMenu(!0),$(this).closest(".megamenuInner").parent().prev().focus(),t.preventDefault())}).on("click",function(t){n.closeMegaMenu(!1);t.preventDefault()});$(".megaMenuItem > div a, .primaryMenuItem").on("keydown",function(t){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||27===t.which&&(n.closeMegaMenu(!0),$(this).closest(".megamenuInner").parent().prev().focus(),t.preventDefault())});$(window).on("load afterresize",function(){$('[data-id="filters"]').is(":visible")?"small"===n.getContext()&&$('[data-toggle-hidden="#searchFilters"]').attr("data-hidden-by-small","true").trigger("click"):($('[data-toggle-hidden="#searchFilters"]').attr("aria-expanded","false"),"small"!==n.getContext()&&!0===$('[data-toggle-hidden="#searchFilters"]').data("hidden-by-small")&&$('[data-toggle-hidden="#searchFilters"]').trigger("click"))});$(document).on("click","[data-toggle-hidden]",function(){!function(n){var t=n,i=$(t.data("toggle-hidden"));i.hasClass("hidden")?(t.addClass("active"),i.removeClass("hidden"),t.attr("aria-expanded")&&t.attr("aria-expanded","true")):(t.removeClass("active"),i.addClass("hidden"),t.attr("aria-expanded")&&t.attr("aria-expanded","false"))}($(this))});s=$("[data-horingssvar-list]");r=$("[data-horingssvar-filter]");s.length&&horingssvar?(e=horingssvar.results,o="Name",e=e.sort(function(n,t){var i=n[o],r=t[o];return i<r?-1:r<i?1:0}),$.each(e,function(n,t){var i='<li data-instans="'+t.Horingsinstans+'"><a id="'+t.HoringsSvarId+'" href="'+t.Href+'">'+t.Name+"<\/a> "+t.Category+"<\/li>";s.append(i)})):(h=$("#horingssvar > .link-list > li > a"),h.length&&$.each(h,function(n,t){var i=function(n,t){var i=new RegExp("[\\?&]"+n+"=([^&#]*)").exec(t);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))}("uid",$(t).attr("href"));i=i.replace(".","");$(t).attr("id",i)}));$(window).on("load",function(){var f=t("lastvisited"),n=t("expand")||t("factbox"),s=t("focus")||t("factboxFocus"),i,e,u,o;""!==n&&(i=$('[data-toggle-factbox="#'+n+'"]'),i&&(i.triggerHandler("click"),""===f&&"true"===s)&&(i.attr("id","__"+n),e=$("#__"+n),setTimeout(function(){var n=e.offset().top-10;$("html, body").animate({scrollTop:n},300,function(){e.focus()})},10)));(r.length&&(t("instans")?c(t("instans")):c()),""!==f)&&(u=$("#"+f),u.length&&(o=u.offset().top-10,$("html, body").animate({scrollTop:o},300,function(){u.focus()})))});$(".factbox-content a").on("click",function(){var n=$(this),t=n.closest(".factbox"),i=t.find(".factbox-title [data-toggle-factbox]").data("toggle-factbox");u("expand",i=i.split("#")[1]);t.hasClass("factbox-horinger")&&u("lastvisited",n.attr("id"))});$("[data-toggle-factbox]").on("click",function(n){var r=$(this),f=r.data("toggle-factbox"),e=$(f),o=!1!==r.data("set-expand-param");f=f.split("#")[1];e.is(":visible")?(r.removeClass("active").attr("aria-expanded","false"),e.slideUp(300),o&&(i("expand"),i("focus"),i("lastvisited"))):(r.addClass("active").attr("aria-expanded","true"),e.slideDown(300),o&&(u("expand",f),i("factbox"),t("factboxFocus")&&(i("factboxFocus"),u("focus",!0))));n.preventDefault();n.stopPropagation()}).on("keyup",function(n){var t=$(this),u=n.keyCode?n.keyCode:n.which,i,r;40===u?(i=t.closest(".factbox").next(".factbox").find("[data-toggle-factbox]"),i.length&&(i.focus(),i.closest(".factbox").addClass("is-focused"))):38===u?(r=t.closest(".factbox").prev(".factbox").find("[data-toggle-factbox]"),r.length&&(r.focus(),r.closest(".factbox").addClass("is-focused"))):t.is(":focus")&&t.closest(".factbox").addClass("is-focused")}).on("blur",function(){$(this).closest(".factbox").removeClass("is-focused")});$("[data-save-filterstatus]").on("click",function(){var n=$(this),t=n.data("save-filterstatus"),i=n.attr("aria-expanded");$(t).attr("value",i)});$(document).on("click","[data-toggle]",function(n){var t=$(this),r=t.data("initial-text"),u=t.data("active-text"),i=$(t.data("toggle"));i.hasClass("shown")?(t.removeClass("active"),t.attr("aria-expanded")&&t.attr("aria-expanded","false"),r&&t.text(r),i.removeClass("shown")):(t.addClass("active"),u&&t.text(u),t.attr("aria-expanded")&&t.attr("aria-expanded","true"),i.addClass("shown"));n.preventDefault()});$(document).on("click","[data-tab-target]",function(t){var i=$(this),u=$("[data-target-id="+i.data("tab-target")+"]"),f=i.data("tabset"),r;!u.hasClass("shown")&&($('[data-tabset="'+f+'"].active:not([data-tab-id="'+i.data("tab-id")+'"])').removeClass("active").attr("aria-expanded","false"),i.addClass("active").attr("aria-expanded","true"),$('[data-tabset-target="'+f+'"][data-target-id]:not([data-target-id="'+i.data("tab-target")+'"])').removeClass("shown"),u.addClass("shown"),"small"===n.getContext()&&0<$("[data-scroll-base]").length&&void 0!==t.originalEvent)&&(r=$("[data-scroll-base]").position().top,$(document).scrollTop()<r&&$("html, body").animate({scrollTop:r},100));t.preventDefault()});$("[data-toggle-slide]").on("click",function(n){var t=$(this),i=$('[data-id="'+t.data("toggle-slide")+'"]');t.hasClass("active")?(t.removeClass("active"),i.stop(!0,!0).slideUp("fast")):(t.addClass("active"),i.stop(!0,!0).slideDown("fast"),i.focus());n.preventDefault()});$("[data-toggle-menu]").on("click",function(){var n=$(this),t=$(".megaMenuOverlay, .hygieneMenu, .mobileMenuContainer, .megaMenu, .breadcrumbs, .sharePrint"),i=$(".topNavigationSearch");n.hasClass("active")?(n.removeClass("active"),t.removeClass("shown")):(n.addClass("active"),$("[data-toggle-search]").removeClass("active"),t.addClass("shown"),i.removeClass("shown"))});$("[data-toggle-search]").on("click",function(){var n=$(this),t=$(".megaMenuOverlay, .mobileMenuContainer, .topNavigationSearch"),i=$(".hygieneMenu, .megaMenu, .breadcrumbs, .sharePrint");n.hasClass("active")?(n.removeClass("active"),t.removeClass("shown")):(n.addClass("active"),$("[data-toggle-menu]").removeClass("active"),t.addClass("shown"),i.removeClass("shown"),$("#quickSearch").focus())});1<=$("[data-toggle-remember-state]").length&&Modernizr.localstorage&&$("[data-toggle-remember-state]").each(function(){var t=$(this).attr("data-toggle-hidden"),n="toggle-remember-state-"+window.location.pathname.match(/(?![/]id)\d+/g)+t;"true"===localStorage.getItem(n)&&($(t).removeClass("hidden"),$(this).addClass("active"));$(this).on("click",function(){$(this).hasClass("active")?localStorage.setItem(n,!0):localStorage.setItem(n,!1)})});$("[data-hide-banner]").on("keydown",function(n){13===n.which&&$(this).closest(".feedback-banner").fadeOut("400")}).on("click",function(){$(this).closest(".feedback-banner").fadeOut("400")});$("[data-sort]").on("click",function(){var n=$(this),t=n.data("sort-target");n.addClass("active sort").siblings(".btn-sort").removeClass("active");$(t).children("li").sort(a).appendTo($(t));n.removeClass("sort")});$("[data-sort]").each(function(n,t){$(t).hasClass("active")&&$(t).triggerHandler("click")});$("[data-set-focus]").on("click",function(){$($(this).data("set-focus")).focus()});$("[data-print-page]").on("click",function(){window.print()});$("[data-sharing-toggler]").on("focus",function(){$("[data-sharing-label]").addClass("focus")}).on("blur",function(){$("[data-sharing-label]").removeClass("focus")}).on("keydown",function(t){13===t.which?(n.accessifySharing(),$(this).trigger("click")):t.shiftKey&&9===t.which&&$("[data-sharing-panel]").hasClass("shown")&&$(this).trigger("click")}).on("click",function(){n.accessifySharing()});$(".breadcrumbs > ul > li:not(:first-child) > a").each(function(t,i){function e(){f(r);r.children("a").addClass("active");r.children("ul:hidden").addClass("shown")}var u=$(i),r=u.parent(),f=function(){r.children("a").removeClass("active");r.children("ul").removeClass("shown")};r.on("mouseenter",function(t){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||u.doTimeout("crumbItem",300,e,t.target)}).on("mouseleave",function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||u.doTimeout("crumbItem",300,f)})});$(".sharePrint > .rss > .rss-icon").each(function(t,i){function f(){r.addClass("active");u.addClass("shown")}function e(){r.removeClass("active");u.removeClass("shown")}var r=$(i),u=r.next(".rss-note");r.on("mouseenter focus",function(t){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||r.doTimeout("crumbItem",300,f,t.target)}).on("mouseleave blur",function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||r.doTimeout("crumbItem",300,e)})});$("html").on("click",function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||n.resetMegaMenu(!0)});$(".hygieneMenu .language, .primaryMenuItem.hasDropdown, .megaMenuItem > div").on("click",function(n){n.stopPropagation()});$("[data-language-selector-trigger]").on("click",function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||n.resetMegaMenu(!0)}).on("focus",function(){n.hideFontSizeNote()});l="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";$(n.fontSizeBtn).on("click",function(){$(n.fontSizeNote).hasClass("open")?n.hideFontSizeNote():n.showFontSizeNote()}).on("mouseenter",function(){n.showFontSizeNote()}).on("mouseleave",function(){n.hideFontSizeNote()});$(document).on("blur",n.fontSizeNote,function(){n.hideFontSizeNote()});$(".logoWrapper a").on("focus",function(){n.hideFontSizeNote()});$("button").on("mouseup",function(){$(this).blur()});$(window).on("load",function(){n.languageSelector();n.megaMenuInit();n.resetMegaMenu(!0);n.semantisizePreTitles();n.mediaLightbox();n.flexibleLightbox();n.dictionaryWords();n.toTopOfPage();n.skipToMain();n.removeActiveSearchFilters();n.mainEventImageLink();n.filterActiveRolesOnly()});$(window).on("load afterresize",function(){n.equalHeight();(("medium mobile"===n.getContext()||"small"===n.getContext())&&!$(".menuToggler").hasClass("active")||("medium desktop"===n.getContext()||"large"===n.getContext())&&$(".primaryMenuItem.active").length<1)&&$("[data-megamenu-overlay]").removeClass("shown");n.moveHygieneMenu();n.breadcrumbsLastItem()});$(window).on("afterresize",function(){n.mediaLightbox23resizer()});FastClick.attach(document.body);$(window).on("load",function(){$("[data-twitter-feed] iframe").contents().find("head").each(function(n,t){$(t).append($("<link/>",{rel:"stylesheet",href:"/Static/css/twitter-iframe.css",type:"text/css"}))})});0<$("[data-twitter-feed]").length&&(window.twttr=function(n,t,i){var u,r,f=n.getElementsByTagName("script")[0];if(!n.getElementById(i))return(r=n.createElement("script")).id=i,r.src="https://platform.twitter.com/widgets.js",f.parentNode.insertBefore(r,f),window.twttr||(u={_e:[],ready:function(n){u._e.push(n)}})}(document,0,"twitter-wjs"));1<=$(".media-banner").length&&$("[data-broadcaststatus-uri]").each(function(){var t=$(this).data("broadcaststatus-uri"),n=$(this);$.getJSON(t).done(function(t){$(n).removeClass().addClass("media-banner-"+t.Class);$(n).text(t.Text);1<=$(n).parents(".webBroadcastBlock").length&&$(n).parents(".webBroadcastBlock").find("[data-lightbox-opener]").attr("data-lightbox-label-status",t.Text)})});document.addEventListener("keyup",function(n){var t=n.keyCode?n.keyCode:n.which;9!==t&&38!==t&&40!==t||document.body.classList.add("keyboard-navigation")});document.addEventListener("mousedown",function(){document.body.classList.remove("keyboard-navigation")});0<window.navigator.userAgent.indexOf("Trident")||$(".video23").each(function(){var n=$(this).data().videoUrl,t=$(this).data().videoPadding;$(this).find(">:first-child").replaceWith(function(n){return'<div style="width:100%; height:0; position: relative; padding-bottom:'+n+'"><\/div>'}(t));$(this).find(">:first-child").append(function(n){return"<iframe src="+n+' style="width:100%;height:100%; position: absolute;top: 0; left: 0;" frameborder="0" border="0"scrolling="no" allowfullscreen="1" mozallowfullscreen="1" webkitallowfullscreen="1"><\/iframe>'}(n))})}(),function(){"use strict";var n=$("[data-custom-selector-id]");$('[data-toggle-hidden="#searchFilters"]').attr("id","btnSearchFilterToggler");n.each(function(t,i){function s(n){$(r).hasClass("open")&&($(f).attr("aria-expanded","false"),$(f).removeClass("active"),$(r).find("li").removeClass("active"),$(r).removeClass("open"),y=$(r).find("li.selected"),!1!==n&&$(f).focus())}var e=$(i).data("custom-selector-id"),w=$('[data-custom-selector-id="'+e+'"]'),c=$("[data-custom-selector-label="+e+"]"),l=$.trim(c.text()),g=$('[data-custom-selector-id="'+e+'"] option'),nt=$('[data-custom-selector-id="'+e+'"] option:selected'),tt='<h2 id="label'+l+'" class="label'+(c.hasClass("visuallyhidden")?" visuallyhidden":"")+'">'+l+"<\/h2>",it='<button type="button" data-id="'+e+'" id="customSelectorTrigger'+e+'" data-custom-selector-trigger="'+e+'" aria-labelledby="'+$('[data-toggle-hidden="#searchFilters"]').attr("id")+" label"+l+'" aria-controls="customSelector'+e+'" aria-expanded="false" class="custom-selector-trigger">'+$.trim(nt.text())+"<\/button>",rt='<ul tabindex="-1" id="customSelector'+e+'" class="custom-selector-dropdown" data-custom-selector="'+e+'"/>',b="",r='[data-custom-selector="'+e+'"]',k='[data-custom-selector="'+e+'"] a',f='[data-custom-selector-trigger="'+e+'"]',d,a,p;(g.each(function(n,t){var i="selected"===$(t).attr("selected"),r=!!$(t).hasClass("group-header"),u=!!$(t).hasClass("first-in-group"),f=!!$(t).hasClass("last-in-group"),e=!!$(t).hasClass("border");b+="<li"+(' class="'+(i?"selected ":"")+(r?"group-header ":"")+(u?"first-in-group ":"")+(f?"last-in-group ":"")+(e?"border ":"")+'"')+'><a href="'+$(t).attr("value")+'">'+$(t).html()+"<\/a><\/li>"}),w.before(tt+'<div class="custom-selector-wrapper">'+it+rt+"<\/div>"),w.remove(),c.remove(),$(r).append(b),n.length)&&(d=window.location.search.substr(1,window.location.search.indexOf("=")-1),a=$("button[data-id='"+d+"']"),a.length&&a.focus());var u,o=$(r).find("li.selected"),h=!1,v=!1,y=$(r).find("li:first");o.length<1&&(p=$(r).find("li:first-child"),p.addClass("selected"),o=p);$("html").on("click",function(){$(r).hasClass("open")&&s(!1)});$(".hygieneMenu .language, [data-custom-selector-trigger]").on("click",function(n){n.stopPropagation()});$(".primaryMenuItem.hasDropdown").on("click",function(){s(!1)});$(f).on("mouseover focus",function(){768<$(window).width()?$(r).css("top",$(f).outerHeight()-1+"px"):$(r).css("top","")}).on("click",function(){$("[data-custom-selector-trigger]").each(function(n,t){$(t).data("custom-selector-trigger")!==e&&$(t).hasClass("active")&&$(t).click();$("[data-language-selector-trigger]").hasClass("active")&&$("[data-language-selector-trigger]").trigger("click")});$(f).hasClass("active")?($(f).attr("aria-expanded","false").removeClass("active"),$(r).removeClass("open"),$(r).find("li.active").removeClass("active")):($(f).attr("aria-expanded","true").addClass("active"),$(r).addClass("open"),(o=$(r).find("li.selected")).addClass("active"),o.find(">a").focus())}).on("keyup",function(n){32===n.which&&!0===v&&n.preventDefault();v=!1}).on("keydown",function(n){if(13===n.which)$(this).trigger("click"),n.preventDefault();else if(40===n.which||38===n.which)h=!0,$(f).attr("aria-expanded","true"),$(r).addClass("open"),$(f).hasClass("active")?(y.addClass("active"),y.find(">a").focus()):($(this).trigger("click"),$(f).attr("aria-expanded","true"),$(r).addClass("open"),(o=$(r).find("li.selected")).addClass("active"),o.find(">a").focus());else if(27===n.which)s(),$(f).attr("aria-expanded","false"),$(r).removeClass("open"),n.preventDefault();else if(9===n.which&&$(f).hasClass("active")&&o.find(">a:focus"))return!1});$(k).on("focus",function(){u=$(r).find("li.active")}).on("mouseover",function(){u=$(this);$(r).find("li").removeClass("active");u.parent().addClass("active");u.trigger("focus")}).on("click",function(){s();$(r).find("li").removeClass("selected");$(this).parent().addClass("selected");$(f).removeAttr("class").addClass("custom-selector-trigger "+$(this).attr("class"));$(f).text($(this).text())}).on("keyup",function(){h=!1}).on("keydown",function(n){if((u=$(r).find("li.active")).length<1){var t=$(r).find("li:first-child");t.addClass("active");u=t}if(40===n.which&&0<u.next().length)!0!==h&&(u=u.next(),$(r).find("li").removeClass("active"),u.addClass("active"),u.find(">a").focus());else if(38===n.which&&0<u.prev().length)!0!==h&&(u=u.prev(),$(r).find("li").removeClass("active"),u.addClass("active"),u.find(">a").focus());else if(33===n.which)!0!==h&&(u=$(r).find("li:first"),$(r).find("li").removeClass("active"),u.addClass("active"),u.find(">a").focus());else if(34===n.which)!0!==h&&(u=$(r).find("li:last"),$(r).find("li").removeClass("active"),u.addClass("active"),u.find(">a").focus());else if(32===n.which)window.location=window.location.pathname+$(this).attr("href"),v=!0,s(),$(r).find("li").removeClass("selected"),$(this).parent().addClass("selected"),$(f).removeAttr("class").addClass("custom-selector-trigger "+$(this).attr("class")),$(f).text($(this).text());else if(27===n.which)s();else if((8===n.which||9===n.which)&&$(f).hasClass("active")&&$(k).is(":focus"))return!1});$(window).on("keydown",function(n){if($(r).hasClass("open")){var t=n.which;-1<$.inArray(t,[33,34,35,36,37,38,39,40])&&n.preventDefault()}}).on("load resize",function(){768<$(window).width()?$(r).css("top",$(f).outerHeight()+"px"):$(r).css("top","")})});$(".custom-selector-reset").each(function(n,t){var i=window.location.search.substr(1,window.location.search.indexOf("=")-1);$(this).attr("data-id")===i&&$(this).focus();$(t).prepend('<span class="visuallyhidden">Fjern filtrering på <\/span>')})}(),function(n){n.cookieBar=function(t,i){var f,w,e,c,l,a,v,y,p;f="cookies"==t?"cookies":"set"==t?"set":!1;w={message:"We use cookies to track usage and preferences.",acceptButton:!0,acceptText:"I Understand",declineButton:!1,declineText:"Disable Cookies",policyButton:!1,policyText:"Privacy Policy",policyURL:"/privacy-policy/",autoEnable:!0,acceptOnContinue:!1,expireDays:365,forceShow:!1,effect:"slide",element:"body",append:!1,fixed:!1,bottom:!1,zindex:"",redirect:String(window.location.href),domain:String(window.location.hostname),referrer:String(document.referrer)};e=(t=n.extend(w,t),new Date);e.setTime(e.getTime()+864e5*t.expireDays);for(var o,h="cb-enabled={value}; expires="+(e=e.toGMTString())+"; path=/",r="",s=document.cookie.split("; "),u=0;u<s.length;u++)"cb-enabled"==(o=s[u].split("="))[0]&&(r=o[1]);if(""==r&&t.autoEnable&&(r="enabled",document.cookie=h.replace("{value}","enabled")),t.acceptOnContinue&&0<=t.referrer.indexOf(t.domain)&&-1==String(window.location.href).indexOf(t.policyURL)&&"cookies"!=f&&"set"!=f&&"accepted"!=r&&"declined"!=r&&(f="set",i="accepted"),"cookies"==f)return"enabled"==r||"accepted"==r;if("set"==f&&("accepted"==i||"declined"==i))return document.cookie=h.replace("{value}",i),"accepted"==i;c=t.message.replace("{policy_url}",t.policyURL);l=t.acceptButton?'<a href="" class="cb-enable">'+t.acceptText+"<\/a>":"";a=t.declineButton?'<a href="" class="cb-disable">'+t.declineText+"<\/a>":"";v=t.policyButton?'<a href="'+t.policyURL+'" class="cb-policy">'+t.policyText+"<\/a>":"";y=t.fixed?t.bottom?' class="fixed bottom"':' class="fixed"':"";p=""!=t.zindex?' style="z-index:'+t.zindex+';"':"";(t.forceShow||"enabled"==r||""==r)&&(t.append?n(t.element).append('<div id="cookie-bar"'+y+p+"><p>"+c+l+a+v+"<\/p><\/div>"):n(t.element).prepend('<div id="cookie-bar"'+y+p+"><p>"+c+l+a+v+"<\/p><\/div>"));n("#cookie-bar .cb-enable").click(function(){if(document.cookie=h.replace("{value}","accepted"),"enabled"==r||"accepted"==r)return"slide"==t.effect?n("#cookie-bar").slideUp(300,function(){n("#cookie-bar").remove()}):"fade"==t.effect?n("#cookie-bar").fadeOut(300,function(){n("#cookie-bar").remove()}):n("#cookie-bar").hide(0,function(){n("#cookie-bar").remove()}),!1;window.location=t.currentLocation});n("#cookie-bar .cb-disable").click(function(){var i=new Date;for(i.setTime(i.getTime()-864e6),i=i.toGMTString(),s=document.cookie.split("; "),u=0;u<s.length;u++)document.cookie=0<=(o=s[u].split("="))[0].indexOf("_")?o[0]+"=0; expires="+i+"; domain="+t.domain.replace("www","")+"; path=/":o[0]+"=0; expires="+i+"; path=/";if(document.cookie=h.replace("{value}","declined"),"enabled"!=r||"accepted"==r)return"slide"==t.effect?n("#cookie-bar").slideUp(300,function(){n("#cookie-bar").remove()}):"fade"==t.effect?n("#cookie-bar").fadeOut(300,function(){n("#cookie-bar").remove()}):n("#cookie-bar").hide(0,function(){n("#cookie-bar").remove()}),!1;window.location=t.currentLocation})}}(jQuery),function(){"use strict";function n(n){$("#newsletter-subscribe-message").text(n)}$("#newsletterSubscribeSubmitButton").on("click",function(){var t=$("#newsletterMailAddress").val(),i=$("#newsLetters").val();return $.ajax({dataType:"json",contentType:"application/json",url:"/api/NewsLetterApi/SubscribeToNewsletter/",data:JSON.stringify([i,t]),type:"POST"}).done(function(t){n("0"==t?"Påmelding fullført.":"Kunne ikke fullføre påmelding.")}).fail(function(){n("Kunne ikke fullføre påmelding.")}),!1})}(),function(n){function i(){var t=n("[data-zoom-lightbox] > .zoom-lightbox");t.length&&(n("[data-zoom-image],[data-zoom-table]").height()+180>n(window).height()?t.css("bottom","60px"):t.css("bottom","auto"))}n.fn.wrapWideContent=function(t){var i=n.extend({container:this.closest(".article-body, .longdoc-content"),threshold:1.787,langZoomImage:"Forstørr bilde",langShowFullTable:"Vis tabellen i full bredde"},t),u=i.container;n(window).on("load afterresize",function(){!function(){var t=0;u.find("table").each(function(r,u){var f,e;t++;f=n(u);f.parent().hasClass("tablewrapper")||f.parent().hasClass("tblwrp-scrollarea")||f.wrap('<div class="tablewrapper" data-table-id="'+t+'"><\/div>');e=n('[data-table-id="'+t+'"]');e.width()<f.width()&&!e.prev().hasClass("btn-zoom")?(f.after('<div class="tablewrapper-fader"><\/div>'),e.before('<button class="btn-zoom" aria-haspopup="true" data-btn-zoom-table>'+i.langShowFullTable+"<\/button>")):e.width()>=f.width()&&(e.find(".tablewrapper-fader").remove(),e.prev("[data-btn-zoom-table]").remove())})}();700<=n(window).width()?u.find('img:not("[data-no-zoom]")').each(function(t,f){var o,h=u.width(),e=n(f),s=!!e.data("large-image-src"),c;e.data("real-width")||(c=!0===s?2e3:r(e),e.attr("data-real-width",c));o=e.data("real-width");e.closest(".carousel-wrapper").length||e.closest(".webBroadcastBlock").length||(e.parent().is("a")?(s||o/h>=i.threshold)&&!e.parent().prev().hasClass("btn-zoom")&&e.parent().before('<button class="btn-zoom" aria-haspopup="true" data-btn-zoom-image="image-in-link">'+i.langZoomImage+"<\/button>"):(s||o/h>=i.threshold)&&!e.prev().hasClass("btn-zoom")?e.before('<button class="btn-zoom" aria-haspopup="true" data-btn-zoom-image>'+i.langZoomImage+"<\/button>"):o/h<i.threshold&&e.prev("[data-btn-zoom-image]").remove());s=!1}):n("[data-btn-zoom-image]").remove()})};var t,r=function(t){var i=new Image;return i.src=n(t).attr("src"),i.width};n(document).on("click","[data-btn-zoom-image]",function(){var r=n(this),u="image-in-link"===r.data("btn-zoom-image")?r.next().children("img"):r.next(),f='<div class="zoom-lightbox-wrapper" role="dialog" data-zoom-lightbox><div class="zoom-lightbox"><div class="zoom-lightbox-inner"><img src="'+(void 0!==u.attr("data-large-image-src")?u.data("large-image-src"):u.attr("src"))+'" tabindex="0" data-zoom-image><\/div><button class="closeButton" data-close-lightbox><\/button><\/div><\/div>';n("body").append(f).addClass("lightbox-open").attr("aria-hidden","true");n("[data-zoom-lightbox]").fadeIn("fast",function(){i();n("[data-zoom-image]").focus()});t=r});n(document).on("click","[data-btn-zoom-table]",function(){var r=n(this),u='<div class="zoom-lightbox-wrapper" role="dialog" data-zoom-lightbox><div class="zoom-lightbox zoom-lightbox-table"><div class="zoom-lightbox-inner mainContentArea article-body longdoc-content" tabindex="0" data-zoom-table>'+r.next().html()+'<\/div><button class="closeButton" data-close-lightbox><\/button><\/div><\/div>';n("body").append(u).addClass("lightbox-open").attr("aria-hidden","true");n("[data-zoom-lightbox]").fadeIn("fast",function(){i();n("[data-zoom-table]").focus()});t=r});n(document).on("click","[data-btn-zoom-graph]",function(){var r=n(this),u='<div class="zoom-lightbox-wrapper" role="dialog" data-zoom-lightbox><div class="zoom-lightbox zoom-lightbox-graph"><div class="zoom-lightbox-inner mainContentArea article-body longdoc-content" tabindex="0" data-zoom-graph>'+r.prev().html()+'<\/div><button class="closeButton" data-close-lightbox><\/button><\/div><\/div>';n("body").append(u).addClass("lightbox-open").attr("aria-hidden","true");n("[data-zoom-lightbox]").fadeIn("fast",function(){i();n("[data-zoom-graph]").focus()});t=r});n(window).on("resize",function(){i()});n(document).on("click","[data-close-lightbox]",function(){n("body").removeClass("lightbox-open").attr("aria-hidden","false");n("[data-zoom-lightbox]").fadeOut("fast",function(){n("[data-zoom-lightbox]").remove()});t.focus()}).on("keydown","[data-zoom-lightbox]",function(i){27===i.which?(n("body").removeClass("lightbox-open").attr("aria-hidden","false"),n("[data-zoom-lightbox]").fadeOut("fast",function(){n("[data-zoom-lightbox]").remove()}),t.focus()):function(n,t){var i,f,r,u;9===t.which&&(i=n.find("*").filter("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(":visible"),f=jQuery(":focus"),r=i.length,u=i.index(f),t.shiftKey?0===u&&(i.get(r-1).focus(),t.preventDefault()):u===r-1&&(i.get(0).focus(),t.preventDefault()))}(n(this),event)}).on("click","[data-zoom-lightbox]",function(){n("[data-zoom-lightbox]").fadeOut("fast",function(){n("[data-zoom-lightbox]").remove()});n("body").removeClass("lightbox-open").attr("aria-hidden","false")}).on("click",".zoom-lightbox",function(n){n.stopPropagation()})}(window.jQuery),function(n){var t=1;n.fn.wrapTableau=function(i){n(".tableauPlaceholder").each(function(r,u){function e(){var n=f.parent("[data-tableau-wrapper]");n.css({height:n.children(".tableauPlaceholder").height(),"min-height":n.width()})}var f=n(u),o=f.children("object"),s=n.extend({langZoomGraph:"Forstørr diagram"},i);f.wrap('<div class="tableau-wrapper" data-tableau-wrapper="'+t+'"><\/div>');n('[data-tableau-wrapper="'+t+'"]').after('<button class="btn-zoom" aria-haspopup="true" data-btn-zoom-graph>'+s.langZoomGraph+"<\/button>");t++;f.css({width:"100% !important",height:"100% !important"});o.attr({width:"100%",height:"100%"});n(window).on("load",function(){setTimeout(function(){e()},300)}).on("afterresize",function(){e()})})}}(window.jQuery);jQuery.extend({highlight:function(n,t,i,r){var e,o,u,s,f;if(3===n.nodeType){if(e=n.data.match(t),e)return o=document.createElement(i||"span"),o.className=r||"highlight",u=n.splitText(e.index),u.splitText(e[0].length),s=u.cloneNode(!0),o.appendChild(s),u.parentNode.replaceChild(o,u),1}else if(1===n.nodeType&&n.childNodes&&!/(script|style)/i.test(n.tagName)&&(n.tagName!==i.toUpperCase()||n.className!==r))for(f=0;f<n.childNodes.length;f++)f+=jQuery.highlight(n.childNodes[f],t,i,r);return 0}});jQuery.fn.unhighlight=function(n){var t={className:"highlight",element:"span"};return jQuery.extend(t,n),this.find(t.element+"."+t.className).each(function(){var n=this.parentNode;n.replaceChild(this.firstChild,this);n.normalize()}).end()};jQuery.fn.highlight=function(n,t){var i={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1},u,r,f;return(jQuery.extend(i,t),n.constructor===String&&(n=[n]),n=jQuery.grep(n,function(n){return""!=n}),0==(n=jQuery.map(n,function(n){return n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)?this:(u=i.caseSensitive?"":"i",r="("+n.join("|")+")",i.wordsOnly&&(r="\\b"+r+"\\b"),f=new RegExp(r,u),this.each(function(){jQuery.highlight(this,f,i.element,i.className)}))};jQuery.fn.fastLiveFilter=function(n,t){t=t||{};n=jQuery(n);var f,i=this,e="",s=t.timeout||0,o=t.callback||function(){},r=n.children(),u=r.length,h=0<u?r[0].style.display:"block";return o(u),i.change(function(){for(var n,s=i.val().toLowerCase(),e=0,f=0;f<u;f++)n=r[f],0<=(t.selector?$(n).find(t.selector).text():n.textContent||n.innerText||"").toLowerCase().indexOf(s)?("none"==n.style.display&&(n.style.display=h),e++):"none"!=n.style.display&&(n.style.display="none");return o(e),!1}).keydown(function(){clearTimeout(f);f=setTimeout(function(){i.val()!==e&&(e=i.val(),i.change())},s)}),this},function(){"use strict";$(window).on("load",function(){var n=0<$("[data-live-filter-target] .factbox:visible").length,t=$("[data-text-live-filter-count-pre]").length?$("[data-text-live-filter-count-pre]").data("text-live-filter-count-pre"):"Viser",i=$("[data-text-live-filter-count-post]").length?$("[data-text-live-filter-count-post]").data("text-live-filter-count-post"):"tema";n&&$('[data-toggle-factbox][aria-expanded="false"]').each(function(n,t){$(t).triggerHandler("click")});$("[data-live-filter-word]").each(function(r,u){var e=$(u),f=e.data("live-filter-word"),l='[data-live-filter-target="'+f+'"] ul, [data-live-filter-target="'+f+'"] [data-stack-item] .title',a=$('[data-stack-list="'+f+'"]'),o=$('[data-live-filter-reset="'+f+'"]'),h=$('[data-live-filter-none-found="'+f+'"]'),s=$('[data-live-filter-count="'+f+'"]'),c=$(l);e.on("keydown",function(n){13===n.which&&n.preventDefault()});e.fastLiveFilter(l,{timeout:200,callback:function(r){var l=e.val(),u;(0<l.length?(a.addClass("filtered"),o.show(),0<r?(h.removeClass("shown"),s.addClass("shown"),c.unhighlight().highlight(l)):(h.addClass("shown"),s.removeClass("shown"),c.unhighlight())):(a.removeClass("filtered"),h.removeClass("shown"),s.removeClass("shown"),c.unhighlight(),o.hide()),n)&&(u=$('[data-live-filter-target="'+f+'"] .factbox:visible'),u.removeAttr("style"),u.each(function(n,t){var i=$(t);i.removeClass("visuallyhidden");i.find(".list-pick li:visible").length<1&&i.addClass("visuallyhidden")}));s.html("("+t+" "+r+" "+i+")");o.on("click",function(){e.val("").trigger("keydown").focus();o.hide()})}})})})}(),function(){"use strict";function s(n){var u=$(n),f=u.attr("id"),i=$("[data-id="+f+"]"),e=u.closest(".custom-checkbox").next("ul").find("li [data-subscribe]");u.prop("checked",!1);i.hasClass("added")?i.fadeOut("400",function(){i.remove();t=0<$("[data-subscriptions-list] .added").length||0<$("[data-subscriptions-list] .hidden").length;r()}):i.fadeOut("400",function(){i.addClass("hidden").removeAttr("style");$('input[name="pageIds"][value="'+f+'"]').attr("disabled",!0);t=0<$("[data-subscriptions-list] .added").length||0<$("[data-subscriptions-list] .hidden").length;r()});e.length&&e.each(function(n,t){$(t).attr("disabled",!1).prop("checked",!1)})}var u=!1,t=!1,e=$("[data-strings]"),h=e.data("text-remove"),c=e.data("text-news-alert-for"),o=$("[data-newsletter-settings]"),n=$("[data-stick-to-top]"),i=$("[data-stick-to-top-anchor]"),f=$("[data-no-subscriptions]"),r;$("[data-listen-for-change]").on("click",function(){r()});$('[data-action="cancel"]').on("click",function(){$(".subscriptions-item.added").each(function(n,t){var i=$(t),f=i.data("id"),r=$("#"+f),u=r.closest(".custom-checkbox").next("ul").find("li [data-subscribe]");r.prop("checked",!1);i.remove();u.length&&u.each(function(n,t){$(t).attr("disabled",!1).prop("checked",!1)})});$(".subscriptions-item.hidden").each(function(n,t){var i=$(t),r=i.data("id");$("#"+r).prop("checked",!0);i.removeClass("hidden");$('input[name="pageIds"][value="'+r+'"]').removeAttr("disabled")});$("[data-default-checked]").prop("checked",!0);$('[data-action="update"]').prop("disabled",!0);$(".newsletter-subscribe-action").removeClass("changed");$('[data-action="cancel"]').addClass("hidden");u=!1});r=function(){u||t||!0!==$('input[type="radio"][data-default-checked]').prop("checked")?($('[data-action="update"]').prop("disabled",!1),$(".newsletter-subscribe-action").addClass("changed"),$('[data-action="cancel"]').removeClass("hidden")):($('[data-action="update"]').prop("disabled",!0),$(".newsletter-subscribe-action").removeClass("changed"),$('[data-action="cancel"]').addClass("hidden"),t=u=!1)};$(document).on("click","[data-subscribe]",function(){var n=$(this),i=n.attr("id"),e=n.closest(".custom-checkbox").next("ul").find("li [data-subscribe]"),u,o;(f.length&&f.remove(),!0===n.prop("checked"))?(0<$("[data-id="+i+"].hidden").length?($('[data-id="'+i+'"]').removeClass("hidden"),$('input[name="pageIds"][value="'+i+'"]').attr("disabled",!1),e.length&&e.each(function(n,t){var i=$(t);!0===i.prop("checked")&&i.trigger("click");i.attr("disabled",!0);!0!==i.prop("checked")&&i.trigger("click")}),n.focus(),t=0<$("[data-subscriptions-list] .added").length||0<$("[data-subscriptions-list] .hidden").length):$('[data-id="'+i+'"]:visible').length<1&&(u='<li class="subscriptions-item added" data-id="'+i+'" tabindex="-1">',u+='\t<span class="item-name">'+n.next("label").html()+"<\/span>",u+='\t<span class="item-remove"><button type="button" class="btn btn-remove" data-remove-item data-listen-for-change>'+h+'<span class="visuallyhidden"> '+c+" "+o+"<\/span><\/button><\/span>",u+='\t<input type="hidden" name="pageIds" value="'+i+'">',u+="<\/li>",e.length&&e.each(function(n,t){var i=$(t);!0===i.prop("checked")&&i.trigger("click");i.attr("disabled",!0);!0!==i.prop("checked")&&i.trigger("click")}),$("[data-subscriptions-list]").append(u),n.focus(),t=!0),r(),o=n.next("label"),setTimeout(function(){$('[data-action="update"]').addClass("notification");setTimeout(function(){$('[data-action="update"]').removeClass("notification")},200)},200)):s(n)});$(document).on("click","[data-remove-item]",function(){var n=$(this).closest(".subscriptions-item").data("id"),t=$("#"+n);s(t)});i.length&&$(window).on("scroll",function(){var t=i.offset().top;$(window).scrollTop()>=t&&"fixed"!==n.css("position")?(n.addClass("fixed").css({width:i.width()}),i.css("height",n.outerHeight())):$(this).scrollTop()<t&&"relative"!==n.css("position")&&(i.css("height","0px"),n.removeClass("fixed").removeAttr("style"))}).on("resize",function(){n.hasClass("fixed")&&n.css({width:i.width()})});$("[data-unstick]").on("click",function(){$("html, body").animate({scrollTop:o.position().top},100,function(){o.focus()})});$("[data-subscriptions-list] li").length&&f.remove()}(),function(){"use strict";$("[data-newsletter-subscribe]").each(function(n,t){var e=$(t),i=$('[data-newsletter-subscribe="'+e.data("newsletter-subscribe")+'"]'),o=i.find("[data-initial]"),c=i.find("[data-open]"),a=i.find("[data-cancel]"),v=i.find("[data-ok]"),l=i.find("[data-submit]"),u=i.find("[data-action]"),r=i.find("[data-email]"),s=i.find("[data-error]"),f=i.find("[data-feedback]"),h=f.find("[data-response]");c.on("click",function(){o.addClass("hidden");u.removeClass("hidden");r.focus()});a.on("click",function(){o.removeClass("hidden");u.addClass("hidden");r.val("");c.focus()});v.on("click",function(){f.addClass("hidden");o.removeClass("hidden");r.val("");h.html("")});r.on("keydown",function(n){s.hasClass("hidden")||s.addClass("hidden");13===n.which&&l.trigger("click")});l.on("click",function(){(function(n){return/^(?!.*(?:''|\.\.))[A-Z0-9._!#$%&'*+-/=?^_`{|}~]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(n)})(r.val())?$.ajax({url:e.data("newsletter-endpoint")+"/"+e.data("newsletter-subscribe-id")+"?email="+r.val(),type:"POST"}).done(function(n){u.addClass("hidden");h.html("<p>"+n+"<\/p>");f.removeClass("hidden")}).fail(function(){u.addClass("hidden");h.html("<p>"+data+"<\/p>");f.removeClass("hidden")}):s.removeClass("hidden")})})}(),function(){var n=$("[data-search-suggest]");n.each(function(t,i){function u(){f.empty();e.hide()}var r=$(i),e=r.next(),f=e.children("[data-search-suggest-list]"),o=r.val(),s=r.data("autocomplete-source");r.on("keydown",function(n){9===(n.keyCode?n.keyCode:n.which)&&n.shiftKey&&u()}).on("keyup",function(n){var c=n.keyCode?n.keyCode:n.which,t=this.value,i="",h;(f.attr("data-search-suggest-list",t),40===c)?(h=$("[data-search-suggest-list] li a"),e.is(":visible")&&0<h.length&&h.first().focus()):27===c?u():t.length<2?u():t!==o&&($.ajax({url:s+t,dataType:"json",success:function(n){$.map(n,function(n){i+='<li class="search-suggest-item"><a href="'+n.Url+'">';i+='<span class="title">'+n.Name+"<\/span>";i+='<span class="meta">'+n.FormattedMetadata+"<\/span>";i+="<\/a><\/li>"});$.isArray(n)&&n.length?(f.html(i),e.show(),f.highlight(t),r.focus()):u()}}),o=t)});f.on("keydown",function(n){var i=n.keyCode?n.keyCode:n.which,t=$("[data-search-suggest-list] li a:focus");38===i?(n.preventDefault(),0<t.parent().prev().length?t.parent().prev().children("a").focus():r.focus()):40===i?(n.preventDefault(),0<t.parent().next().length&&t.parent().next().children("a").focus()):27===i&&(u(),r.focus())});$(document).mouseup(function(t){$(t.target).closest(n.parent()).length||u()})})}()