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 ut(n){return null!=n&&n===n.window}function tu(n,t,i){var r,e,u=(i=i||f).createElement("script");if(u.text=n,t)for(r in we)(e=t[r]||t.getAttribute&&t.getAttribute(r))&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function ft(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ui[gr.call(n)]||"object":typeof n}function di(n){var t=!!n&&"length"in n&&n.length,i=ft(n);return!u(n)&&!ut(n)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in n)}function et(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 iu(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}function c(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function tr(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):"string"!=typeof t?i.grep(n,function(n){return-1<ri.call(t,n)!==r}):i.filter(t,n,r)}function ou(n,t){for(;(n=n[t])&&1!==n.nodeType;);return n}function ot(n){return n}function ei(n){throw n;}function su(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(void 0,[n].slice(r))}catch(n){i.apply(void 0,[n])}}function si(){f.removeEventListener("DOMContentLoaded",si);n.removeEventListener("load",si);i.ready()}function de(n,t){return t.toUpperCase()}function p(n){return n.replace(be,"ms-").replace(ke,de)}function bt(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType}function kt(){this.expando=i.expando+kt.uid++}function cu(n,t,i){var u,r;if(void 0===i&&1===n.nodeType)if(u="data-"+t.replace(no,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(u))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:ge.test(r)?JSON.parse(r):r)}catch(n){}o.set(n,t,i)}else i=void 0;return i}function hi(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&st(n)&&"none"===i.css(n,"display")}function au(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||"px"!==e&&+o)&&dt.exec(i.css(n,t));if(f&&f[3]!==e){for(o/=2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f/=h;f*=2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function ht(n,t){for(var h,f,a,s,c,l,e,o=[],u=0,v=n.length;u<v;u++)(f=n[u]).style&&(h=f.style.display,t?("none"===h&&(o[u]=r.get(f,"display")||null,o[u]||(f.style.display="")),""===f.style.display&&hi(f)&&(o[u]=(e=c=s=void 0,c=(a=f).ownerDocument,l=a.nodeName,(e=ir[l])||(s=c.body.appendChild(c.createElement(l)),e=i.css(s,"display"),s.parentNode.removeChild(s),"none"===e&&(e="block"),ir[l]=e)))):"none"!==h&&(o[u]="none",r.set(f,"display",h)));for(u=0;u<v;u++)null!=o[u]&&(n[u].style.display=o[u]);return n}function s(n,t){var r;return r=void 0!==n.getElementsByTagName?n.getElementsByTagName(t||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(t||"*"):[],void 0===t||t&&c(n,t)?i.merge([n],r):r}function rr(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function wu(n,t,r,u,f){for(var e,o,p,a,w,v,c=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===ft(e))i.merge(y,e.nodeType?[e]:e);else if(pu.test(e)){for(o=o||c.appendChild(t.createElement("div")),p=(vu.exec(e)||["",""])[1].toLowerCase(),a=h[p]||h._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);(o=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=st(e),o=s(c.appendChild(e),"script"),w&&rr(o),r)for(v=0;e=o[v++];)yu.test(e.type||"")&&r.push(e);return c}function ct(){return!0}function lt(){return!1}function uo(n,t){return n===function(){try{return f.activeElement}catch(n){}}()==("focus"===t)}function ur(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)ur(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=lt;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 li(n,t,u){u?(r.set(n,t,!1),i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(1&n.isTrigger&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=d.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),f!==(e=r.get(this,t))||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})):void 0===r.get(n,t)&&i.event.add(n,t,ct)}function ku(n,t){return c(n,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")&&i(n).children("tbody")[0]||n}function so(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function ho(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function du(n,t){var u,s,f,h,c,e;if(1===t.nodeType){if(r.hasData(n)&&(e=r.get(n).events))for(f in r.remove(t,"handle events"),e)for(u=0,s=e[f].length;u<s;u++)i.event.add(t,f,e[f][u]);o.hasData(n)&&(h=o.access(n),c=i.extend({},h),o.set(t,c))}}function at(n,t,f,o){t=dr(t);var a,b,l,v,h,y,c=0,p=n.length,d=p-1,w=t[0],k=u(w);if(k||1<p&&"string"==typeof w&&!e.checkClone&&eo.test(w))return n.each(function(i){var r=n.eq(i);k&&(t[0]=w.call(this,i,r.html()));at(r,t,f,o)});if(p&&(b=(a=wu(t,n[0].ownerDocument,!1,n,o)).firstChild,1===a.childNodes.length&&(a=b),b||o)){for(v=(l=i.map(s(a,"script"),so)).length;c<p;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(y=l[l.length-1].ownerDocument,i.map(l,ho),c=0;c<v;c++)h=l[c],yu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(y,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},y):tu(h.textContent.replace(oo,""),h,y))}return n}function gu(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(s(u)),u.parentNode&&(r&&st(u)&&rr(s(u,"script")),u.parentNode.removeChild(u));return n}function nf(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];for(r in u=i.call(n),t)n.style[r]=f[r];return u}function ni(n,t,r){var o,s,h,f,u=n.style;return(r=r||vi(n))&&(""!==(f=r.getPropertyValue(t)||r[t])||st(n)||(f=i.style(n,t)),!e.pixelBoxStyles()&&er.test(f)&&co.test(t)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=r.width,u.width=o,u.minWidth=s,u.maxWidth=h)),void 0!==f?f+"":f}function of(n,t){return{get:function(){if(!n())return(this.get=t).apply(this,arguments);delete this.get}}}function ti(){if(l){ai.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";nt.appendChild(ai).appendChild(l);var t=n.getComputedStyle(l);tf="1%"!==t.top;ef=12===yi(t.marginLeft);l.style.right="60%";ff=36===yi(t.right);rf=36===yi(t.width);l.style.position="absolute";uf=12===yi(l.offsetWidth/3);nt.removeChild(ai);l=null}}function yi(n){return Math.round(parseFloat(n))}function or(n){return i.cssProps[n]||cf[n]||(n in hf?n:cf[n]=function(n){for(var i=n[0].toUpperCase()+n.slice(1),t=sf.length;t--;)if((n=sf[t]+i)in hf)return n}(n)||n)}function vf(n,t,i){var r=dt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function sr(n,t,r,u,f,e){var o="width"===t?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(s+=i.css(n,r+k[o],!0,f)),u?("content"===r&&(s-=i.css(n,"padding"+k[o],!0,f)),"margin"!==r&&(s-=i.css(n,"border"+k[o]+"Width",!0,f))):(s+=i.css(n,"padding"+k[o],!0,f),"padding"!==r?s+=i.css(n,"border"+k[o]+"Width",!0,f):h+=i.css(n,"border"+k[o]+"Width",!0,f));return!u&&0<=e&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function yf(n,t,r){var f=vi(n),o=(!e.boxSizingReliable()||r)&&"border-box"===i.css(n,"boxSizing",!1,f),s=o,u=ni(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(er.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||!e.reliableTrDimensions()&&c(n,"tr")||"auto"===u||!parseFloat(u)&&"inline"===i.css(n,"display",!1,f))&&n.getClientRects().length&&(o="border-box"===i.css(n,"boxSizing",!1,f),(s=h in n)&&(u=n[h])),(u=parseFloat(u)||0)+sr(n,t,r||(o?"border":"content"),s,f,u)+"px"}function v(n,t,i,r,u){return new v.prototype.init(n,t,i,r,u)}function hr(){pi&&(!1===f.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(hr):n.setTimeout(hr,i.fx.interval),i.fx.tick())}function kf(){return n.setTimeout(function(){vt=void 0}),vt=Date.now()}function wi(n,t){var u,r=0,i={height:n};for(t=t?1:0;r<4;r+=2-t)i["margin"+(u=k[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function df(n,t,i){for(var u,f=(y.tweeners[t]||[]).concat(y.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function y(n,t,r){var o,s,h=0,a=y.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=vt||kf(),t=Math.max(0,f.startTime+f.duration-o),i=1-(t/f.duration||0),r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return e.notifyWith(n,[f,i,t]),i<1&&u?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:vt||kf(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=p(r)],u=n[r],Array.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}(c,f.opts.specialEasing);h<a;h++)if(o=y.prefilters[h].call(f,n,c,f.opts))return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,df,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function it(n){return(n.match(a)||[]).join(" ")}function rt(n){return n.getAttribute&&n.getAttribute("class")||""}function cr(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(a)||[]}function re(n){n.stopPropagation()}function vr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||vo.test(n)?u(n,i):vr(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==ft(t))u(n,t);else for(f in t)vr(n+"["+f+"]",t[f],r,u)}function se(n){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(a)||[];if(u(i))for(;r=e[f++];)"+"===r[0]?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function he(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===yr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function wr(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}var w=[],kr=Object.getPrototypeOf,d=w.slice,dr=w.flat?function(n){return w.flat.call(n)}:function(n){return w.concat.apply([],n)},ki=w.push,ri=w.indexOf,ui={},gr=ui.toString,fi=ui.hasOwnProperty,nu=fi.toString,pe=nu.call(Object),e={},u=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType},f=n.document,we={type:!0,src:!0,nonce:!0,noModule:!0},i=function(n,t){return new i.fn.init(n,t)},g,gi,nr,ru,uu,fu,eu,a,hu,oi,ir,h,pu,vt,pi,yt,pf,wf,bf,gf,pt,ne,te,ie,lr,ce,wt,le,br,bi,ae,ve,ye;i.fn=i.prototype={jquery:"3.5.1",constructor:i,length:0,toArray:function(){return d.call(this)},get:function(n){return null==n?d.call(this):n<0?this[n+this.length]:this[n]},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(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(n,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(n,t){return t%2}))},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:ki,sort:w.sort,splice:w.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[r]||{},r++),"object"==typeof n||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if(null!=(s=arguments[r]))for(f in s)t=s[f],"__proto__"!==f&&n!==t&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==gr.call(n)||(t=kr(n))&&("function"!=typeof(i=fi.call(t,"constructor")&&t.constructor)||nu.call(i)!==pe))},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t,i){tu(n,{nonce:t&&t.nonce},i)},each:function(n,t){var r,i=0;if(di(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},makeArray:function(n,t){var r=t||[];return null!=n&&(di(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ki.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ri.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(di(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 dr(f)},guid:1,support:e});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=w[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ui["[object "+t+"]"]=t.toLowerCase()});g=function(n){function v(n,t){var i="0x"+n.slice(1)-65536;return t||(i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320))}function oi(){b()}function u(n,t,r,u){var s,y,c,l,p,w,d,v=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==a&&9!==a&&11!==a)return r;if(!u&&(b(t),t=t||i,h)){if(11!==a&&(p=ar.exec(n)))if(s=p[1]){if(9===a){if(!(c=t.getElementById(s)))return r;if(c.id===s)return r.push(c),r}else if(v&&(c=v.getElementById(s))&&et(t,c)&&c.id===s)return r.push(c),r}else{if(p[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=p[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(1!==a||"object"!==t.nodeName.toLowerCase())){if(d=n,v=t,1===a&&(er.test(n)||pi.test(n))){for((v=ti.test(n)&&ri(t.parentNode)||t)===t&&f.scope||((l=t.getAttribute("id"))?l=l.replace(wi,bi):t.setAttribute("id",l=e)),y=(w=ft(n)).length;y--;)w[y]=(l?"#"+l:":scope")+" "+pt(w[y]);d=w.join(",")}try{return k.apply(r,v.querySelectorAll(d)),r}catch(t){lt(n,!0)}finally{l===e&&t.removeAttribute("id")}}}return hi(n.replace(at,"$1"),t,r,u)}function yt(){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 ki(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 yr(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function di(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t&&t.disabled===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 gi(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&"parentNode"===f,s=nr++;return t.first?function(t,i,u){for(;t=t[r];)if(1===t.nodeType||o)return n(t,i,u);return!1}: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}return!1}}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 bt(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:bt(d,w,n,s,h),c=i?f||(e?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=bt(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=bt(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=wt(function(n){return n===o},c,!0),a=wt(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=[wt(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&&pt(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&&pt(n))}f.push(u)}return ui(f)}var rt,f,t,st,si,ft,kt,hi,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,y=0,nr=0,ci=yt(),li=yt(),ai=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},tr={}.hasOwnProperty,g=[],ir=g.pop,rr=g.push,k=g.push,vi=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",yi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+yi+")*)|.*)\\)|)",ur=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),fr=new RegExp("^"+r+"*,"+r+"*"),pi=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+yi),PSEUDO:new RegExp("^"+ni),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("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,p=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),wi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,bi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},vr=wt(function(n){return!0===n.disabled&&"fieldset"===n.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{k.apply(g=vi.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){rr.apply(n,vi.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 i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")},b=u.setDocument=function(n){var y,u,l=n?n.ownerDocument||n:c;return l!=i&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,h=!si(i),c!=i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",oi,!1):u.attachEvent&&u.attachEvent("onunload",oi)),f.scope=a(function(n){return s.appendChild(n).appendChild(i.createElement("div")),void 0!==n.querySelectorAll&&!n.querySelectorAll(":scope fieldset div").length}),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.filter.ID=function(n){var t=n.replace(p,v);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(void 0!==t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}}):(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.ID=function(n,t){if(void 0!==t.getElementById&&h){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),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&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){var t;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|"+gt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");(t=i.createElement("input")).setAttribute("name","");n.appendChild(t);n.querySelectorAll("[name='']").length||o.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]");n.querySelectorAll("\\\f");o.push("[\\r\\n\\f]")}),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("!=",ni)}),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},dt=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==c&&et(c,n)?-1:t==i||t.ownerDocument==c&&et(c,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 ki(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?ki(f[u],e[u]):f[u]==c?-1:e[u]==c?1:0}),i},u.matches=function(n,t){return u(n,null,null,t)},u.matchesSelector=function(n,t){if(b(n),f.matchesSelector&&h&&!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){lt(t,!0)}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&&tr.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):void 0;return void 0!==u?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null},u.escape=function(n){return(n+"").replace(wi,bi)},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(dt),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&&or.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(ur," ")+" ").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=kt(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||st(t)).indexOf(n)}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(p,v).toLowerCase(),function(t){var i;do if(i=h?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:di(!1),disabled:di(!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 lr.test(n.nodeName)},input:function(n){return cr.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:t<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]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return gi.prototype=t.filters=t.pseudos,t.setFilters=new gi,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=fr.exec(r))||(f&&(r=r.slice(f[0].length)||r),h.push(s=[])),e=!1,(f=pi.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)},kt=u.compile=function(n,r){var s,c,a,o,v,p,w=[],d=[],f=ai[n+" "];if(!f){for(s=(r=r||ft(n)).length;s--;)(f=ei(r[s]))[e]?w.push(f):d.push(f);(f=ai(n,(c=d,o=0<(a=w).length,v=0<c.length,p=function(n,r,f,e,s){var l,nt,d,g=0,p="0",tt=n&&[],w=[],it=ht,rt=n||v&&t.find.TAG("*",s),ut=y+=null==it?1:Math.random()||.1,ft=rt.length;for(s&&(ht=r==i||r||s);p!==ft&&null!=(l=rt[p]);p++){if(v&&l){for(nt=0,r||l.ownerDocument==i||(b(l),f=!h);d=c[nt++];)if(d(l,r||i,f)){e.push(l);break}s&&(y=ut)}o&&((l=!d&&l)&&g--,n&&tt.push(l))}if(g+=p,o&&p!==g){for(nt=0;d=a[nt++];)d(tt,w,r,f);if(n){if(0<g)for(;p--;)tt[p]||w[p]||(w[p]=ir.call(e));w=bt(w)}k.apply(e,w);s&&!n&&0<w.length&&1<g+a.length&&u.uniqueSort(e)}return s&&(y=ut,ht=it),tt},o?l(p):p))).selector=n}return f},hi=u.select=function(n,i,r,u){var o,f,e,l,a,c="function"==typeof n&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],1===s.length){if(2<(f=s[0]=s[0].slice(0)).length&&"ID"===(e=f[0]).type&&9===i.nodeType&&h&&t.relative[f[1].type]){if(!(i=(t.find.ID(e.matches[0].replace(p,v),i)||[])[0]))return r;c&&(i=i.parentNode);n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--&&(e=f[o],!t.relative[l=e.type]);)if((a=t.find[l])&&(u=a(e.matches[0].replace(p,v),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),!(n=u.length&&pt(f)))return k.apply(r,u),r;break}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(dt).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(gt,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=g;i.expr=g.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=g.uniqueSort;i.text=g.getText;i.isXMLDoc=g.isXML;i.contains=g.contains;i.escapeSelector=g.escape;gi=i.expr.match.needsContext;nr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;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(tr(this,n||[],!1))},not:function(n){return this.pushStack(tr(this,n||[],!0))},is:function(n){return!!tr(this,"string"==typeof n&&gi.test(n)?i(n):n||[],!1).length}});uu=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||ru,"string"!=typeof n)return n.nodeType?(this[0]=n,this.length=1,this):u(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this);if(!(e="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:uu.exec(n))||!e[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),nr.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return(o=f.getElementById(e[2]))&&(this[0]=o,this.length=1),this}).prototype=i.fn;ru=i(f);fu=/^(?:parents|prev(?:Until|All))/;eu={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(!gi.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?ri.call(i(n),this[0]):ri.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 et(n,"parentNode")},parentsUntil:function(n,t,i){return et(n,"parentNode",i)},next:function(n){return ou(n,"nextSibling")},prev:function(n){return ou(n,"previousSibling")},nextAll:function(n){return et(n,"nextSibling")},prevAll:function(n){return et(n,"previousSibling")},nextUntil:function(n,t,i){return et(n,"nextSibling",i)},prevUntil:function(n,t,i){return et(n,"previousSibling",i)},siblings:function(n){return iu((n.parentNode||{}).firstChild,n)},children:function(n){return iu(n.firstChild)},contents:function(n){return null!=n.contentDocument&&kr(n.contentDocument)?n.contentDocument:(c(n,"template")&&(n=n.content||n),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&&(eu[n]||i.uniqueSort(f),fu.test(n)&&f.reverse()),this.pushStack(f)}});a=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){function v(){for(f=f||n.once,y=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)!1===t[e].apply(r[0],r[1])&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")}var l,h;n="string"==typeof n?(l=n,h={},i.each(l.match(a)||[],function(n,t){h[t]=!0}),h):i.extend({},n);var o,r,y,f,t=[],s=[],e=-1,c={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&c.has(r)||t.push(r):r&&r.length&&"string"!==ft(r)&&f(r)})}(arguments),r&&!o&&v()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;-1<(u=i.inArray(r,t,u));)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?-1<i.inArray(n,t):0<t.length},empty:function(){return t=t&&[],this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=[n,(t=t||[]).slice?t.slice():t],s.push(t),o||v()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!y}};return c};i.extend({Deferred:function(t){var f=[["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"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(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,e){function s(t,r,f,e){return function(){function l(){var n,i;if(!(t<o)){if((n=f.apply(h,c))===r.promise())throw new TypeError("Thenable self-resolution");i=n&&("object"==typeof n||"function"==typeof n)&&n.then;u(i)?e?i.call(n,s(o,r,ot,e),s(o,r,ei,e)):(o++,i.call(n,s(o,r,ot,e),s(o,r,ei,e),s(o,r,ot,r.notifyWith))):(f!==ot&&(h=void 0,c=[n]),(e||r.resolveWith)(h,c))}}var h=this,c=arguments,a=e?l:function(){try{l()}catch(l){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(l,a.stackTrace);o<=t+1&&(f!==ei&&(h=void 0,c=[l]),r.rejectWith(h,c))}};t?a():(i.Deferred.getStackHook&&(a.stackTrace=i.Deferred.getStackHook()),n.setTimeout(a))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ot,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ot));f[2][3].add(s(0,n,u(r)?r:ei))}).promise()},promise:function(n){return null!=n?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].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}),e.promise(r),t&&t.call(r,r),r},when:function(n){function o(n){return function(t){s[n]=this;f[n]=1<arguments.length?d.call(arguments):t;--e||r.resolveWith(s,f)}}var e=arguments.length,t=e,s=Array(t),f=d.call(arguments),r=i.Deferred();if(e<=1&&(su(n,r.done(o(t)).resolve,r.reject,!e),"pending"===r.state()||u(f[t]&&f[t].then)))return r.then();for(;t--;)su(f[t],o(t),r.reject);return r.promise()}});hu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&hu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};oi=i.Deferred();i.fn.ready=function(n){return oi.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0)!==n&&0<--i.readyWait||oi.resolveWith(f,[i])}});i.ready.then=oi.then;"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?n.setTimeout(i.ready):(f.addEventListener("DOMContentLoaded",si),n.addEventListener("load",si));var b=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=null==r;if("object"===ft(r))for(h in e=!0,r)b(n,t,h,r[h],!0,o,s);else if(void 0!==f&&(e=!0,u(f)||(s=!0),c&&(t=s?(t.call(n,f),null):(c=t,function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},be=/^-ms-/,ke=/-([a-z])/g;kt.uid=1;kt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},bt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[p(t)]=i;else for(r in t)u[p(r)]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][p(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=Array.isArray(t)?t.map(p):(t=p(t))in r?[t]:t.match(a)||[]).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 kt,o=new kt,ge=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,no=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.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 f,u,e,i=this[0],s=i&&i.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){o.set(this,n)}):b(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=o.get(i,n))?r:void 0!==(r=cu(i,n))?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(e=o.get(i),1===i.nodeType&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&0===(u=s[f].name).indexOf("data-")&&(u=p(u.slice(5)),cu(i,u,e[u]));r.set(i,"hasDataAttrs",!0)}return e},removeData:function(n){return this.each(function(){o.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||Array.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 lu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+lu+")([a-z%]*)$","i"),k=["Top","Right","Bottom","Left"],nt=f.documentElement,st=function(n){return i.contains(n.ownerDocument,n)},to={composed:!0};nt.getRootNode&&(st=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(to)===n.ownerDocument});ir={};i.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){hi(this)?i(this).show():i(this).hide()})}});var tt,ci,gt=/^(?:checkbox|radio)$/i,vu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yu=/^$|^module$|\/(?:java|ecma)script/i;tt=f.createDocumentFragment().appendChild(f.createElement("div"));(ci=f.createElement("input")).setAttribute("type","radio");ci.setAttribute("checked","checked");ci.setAttribute("name","t");tt.appendChild(ci);e.checkClone=tt.cloneNode(!0).cloneNode(!0).lastChild.checked;tt.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!tt.cloneNode(!0).lastChild.defaultValue;tt.innerHTML="<option><\/option>";e.option=!!tt.lastChild;h={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.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;e.option||(h.optgroup=h.option=[1,"<select multiple='multiple'>","<\/select>"]);pu=/<|&#?\w+;/;var io=/^key/,ro=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var p,l,k,v,w,h,s,c,o,b,d,y=r.get(n);if(bt(n))for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(nt,e),u.guid||(u.guid=i.guid++),(v=y.events)||(v=y.events=Object.create(null)),(l=y.handle)||(l=y.handle=function(t){if(void 0!==i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(a)||[""]).length;w--;)o=d=(k=bu.exec(t[w])||[])[1],b=(k[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=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),(c=v[o])||((c=v[o]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(n,f,b,l)||n.addEventListener&&n.addEventListener(o,l)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,h,l,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(p=(t=(t||"").match(a)||[""]).length;p--;)if(o=d=(c=bu.exec(t[p])||[])[1],b=(c[2]||"").split(".").sort(),o){for(h=i.event.special[o]||{},l=v[o=(f?h.delegateType:h.bindType)||o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=l.length;y--;)s=l[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(l.splice(y,1),s.selector&&l.delegateCount--,h.remove&&h.remove.call(n,s));k&&!l.length&&(h.teardown&&!1!==h.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,s=new Array(arguments.length),t=i.event.fix(n),a=(r.get(this,"events")||Object.create(null))[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&&!1!==f.namespace&&!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 f,h,u,e,o,c=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&!("click"===n.type&&1<=n.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==n.type||!0!==r.disabled)){for(e=[],o={},f=0;f<s;f++)void 0===o[u=(h=t[f]).selector+" "]&&(o[u]=h.needsContext?-1<i(u,this).index(r):i.find(u,this,null,[r]).length),o[u]&&e.push(h);e.length&&c.push({elem:r,handlers:e})}return r=this,s<t.length&&c.push({elem:r,handlers:t.slice(s)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(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},click:{setup:function(n){var t=this||n;return gt.test(t.type)&&t.click&&c(t,"input")&&li(t,"click",ct),!1},trigger:function(n){var t=this||n;return gt.test(t.type)&&t.click&&c(t,"input")&&li(t,"click"),!0},_default:function(n){var t=n.target;return gt.test(t.type)&&t.click&&c(t,"input")&&r.get(t,"click")||c(t,"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){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&!1===n.returnValue?ct:lt,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||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:lt,isPropagationStopped:lt,isImmediatePropagationStopped:lt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ct;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ct;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ct;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,code:!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&&io.test(n.type)?null!=n.charCode?n.charCode:n.keyCode:!n.which&&void 0!==t&&ro.test(n.type)?1&t?1:2&t?3:4&t?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return li(this,n,uo),!1},trigger:function(){return li(this,n),!0},delegateType:t}});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 ur(this,n,t,i,r)},one:function(n,t,i,r){return ur(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=lt),this.each(function(){i.event.remove(this,n,r,t)});for(f in n)this.off(f,t,n[f]);return this}});var fo=/<script|<style|<link/i,eo=/checked\s*(?:[^=]|=\s*.checked.)/i,oo=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n},clone:function(n,t,r){var u,c,o,f,l,a,v,h=n.cloneNode(!0),y=st(n);if(!(e.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=s(h),u=0,c=(o=s(n)).length;u<c;u++)l=o[u],"input"===(v=(a=f[u]).nodeName.toLowerCase())&&gt.test(l.type)?a.checked=l.checked:"input"!==v&&"textarea"!==v||(a.defaultValue=l.defaultValue);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)du(o[u],f[u]);else du(n,h);return 0<(f=s(h,"script")).length&&rr(f,!y&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;void 0!==(t=n[e]);e++)if(bt(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[o.expando]&&(t[o.expando]=void 0)}}});i.fn.extend({detach:function(n){return gu(this,n,!0)},remove:function(n){return gu(this,n)},text:function(n){return b(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 at(this,arguments,function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ku(this,n).appendChild(n)})},prepend:function(){return at(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ku(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return at(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return at(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(s(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 b(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&&!fo.test(n)&&!h[(vu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)1===(t=this[r]||{}).nodeType&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return at(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(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),ki.apply(f,u.get());return this.pushStack(f)}});var tf,rf,uf,ff,fr,ef,ai,l,er=new RegExp("^("+lu+")(?!px)[a-z%]+$","i"),vi=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},co=new RegExp(k.join("|"),"i");ai=f.createElement("div");(l=f.createElement("div")).style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===l.style.backgroundClip,i.extend(e,{boxSizingReliable:function(){return ti(),rf},pixelBoxStyles:function(){return ti(),ff},pixelPosition:function(){return ti(),tf},reliableMarginLeft:function(){return ti(),ef},scrollboxSize:function(){return ti(),uf},reliableTrDimensions:function(){var t,i,r,u;return null==fr&&(t=f.createElement("table"),i=f.createElement("tr"),r=f.createElement("div"),t.style.cssText="position:absolute;left:-11111px",i.style.height="1px",r.style.height="9px",nt.appendChild(t).appendChild(i).appendChild(r),u=n.getComputedStyle(i),fr=3<parseInt(u.height),nt.removeChild(t)),fr}}));var sf=["Webkit","Moz","ms"],hf=f.createElement("div").style,cf={};var lo=/^(none|table(?!-c[ea]).+)/,lf=/^--/,ao={position:"absolute",visibility:"hidden",display:"block"},af={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ni(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var f,h,o,c=p(t),l=lf.test(t),s=n.style;if(l||(t=or(c)),o=i.cssHooks[t]||i.cssHooks[c],void 0===r)return o&&"get"in o&&void 0!==(f=o.get(n,!1,u))?f:s[t];"string"==(h=typeof r)&&(f=dt.exec(r))&&f[1]&&(r=au(n,t,f),h="number");null!=r&&r==r&&("number"!==h||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px")),e.clearCloneStyle||""!==r||0!==t.indexOf("background")||(s[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(l?s.setProperty(t,r):s[t]=r))}},css:function(n,t,r,u){var f,e,o,s=p(t);return lf.test(t)||(t=or(s)),(o=i.cssHooks[t]||i.cssHooks[s])&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=ni(n,t,u)),"normal"===f&&t in af&&(f=af[t]),""===r||r?(e=parseFloat(f),!0===r||isFinite(e)?e||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return!lo.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?yf(n,t,u):nf(n,ao,function(){return yf(n,t,u)})},set:function(n,r,u){var s,f=vi(n),h=!e.scrollboxSize()&&"absolute"===f.position,c=(h||u)&&"border-box"===i.css(n,"boxSizing",!1,f),o=u?sr(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-sr(n,t,"border",!1,f)-.5)),o&&(s=dt.exec(r))&&"px"!==(s[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),vf(0,r,o)}}});i.cssHooks.marginLeft=of(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ni(n,"marginLeft"))||n.getBoundingClientRect().left-nf(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+k[r]+t]=u[r]||u[r-2]||u[0];return f}};"margin"!==n&&(i.cssHooks[n+t].set=vf)});i.fn.extend({css:function(n,t){return b(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=vi(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=v).prototype={constructor:v,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=v.propHooks[this.prop];return n&&n.get?n.get(this):v.propHooks._default.get(this)},run:function(n){var t,r=v.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):v.propHooks._default.set(this),this}}).init.prototype=v.prototype;(v.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||!i.cssHooks[n.prop]&&null==n.elem.style[or(n.prop)]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}}).scrollTop=v.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=v.prototype.init;i.fx.step={};wf=/^(?:toggle|show|hide)$/;bf=/queueHooks$/;i.Animation=i.extend(y,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return au(i.elem,n,dt.exec(t),i),i}]},tweener:function(n,t){for(var i,r=0,f=(n=u(n)?(t=n,["*"]):n.match(a)).length;r<f;r++)i=n[r],y.tweeners[i]=y.tweeners[i]||[],y.tweeners[i].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&&hi(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],wf.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:(ht([n],!0),o=n.style.display||o,l=i.css(n,"display"),ht([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&&ht([n],!0),v.done(function(){for(f in a||ht([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=df(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?y.prefilters.unshift(n):y.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=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(){u(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(hi).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){function e(){var t=y(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&&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&&bf.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(wi(t,!0),n,i,u)}});i.each({slideDown:wi("show"),slideUp:wi("hide"),slideToggle:wi("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(vt=Date.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();vt=void 0};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){pi||(pi=!0,hr())};i.fx.stop=function(){pi=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)}})};yt=f.createElement("input");pf=f.createElement("select").appendChild(f.createElement("option"));yt.type="checkbox";e.checkOn=""!==yt.value;e.optSelected=pf.selected;(yt=f.createElement("input")).value="t";yt.type="radio";e.radioValue="t"===yt.value;pt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return b(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)?gf: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(!e.radioValue&&"radio"===t&&c(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(a);if(r&&1===n.nodeType)for(;i=r[u++];)n.removeAttribute(i)}});gf={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=pt[t]||i.find.attr;pt[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=pt[u],pt[u]=f,f=null!=r(n,t,i)?u:null,pt[u]=e),f}});ne=/^(?:input|select|textarea|button)$/i;te=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return b(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):ne.test(n.nodeName)||te.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.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});i.fn.extend({addClass:function(n){var o,t,r,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,rt(this)))});if((o=cr(n)).length)for(;t=this[c++];)if(f=rt(t),r=1===t.nodeType&&" "+it(f)+" "){for(s=0;e=o[s++];)r.indexOf(" "+e+" ")<0&&(r+=e+" ");f!==(h=it(r))&&t.setAttribute("class",h)}return this},removeClass:function(n){var o,r,t,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,rt(this)))});if(!arguments.length)return this.attr("class","");if((o=cr(n)).length)for(;r=this[c++];)if(f=rt(r),t=1===r.nodeType&&" "+it(f)+" "){for(s=0;e=o[s++];)for(;-1<t.indexOf(" "+e+" ");)t=t.replace(" "+e+" "," ");f!==(h=it(t))&&r.setAttribute("class",h)}return this},toggleClass:function(n,t){var f=typeof n,e="string"==f||Array.isArray(n);return"boolean"==typeof t&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,rt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=cr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!=f||((t=rt(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<(" "+it(rt(t))+" ").indexOf(i))return!0;return!1}});ie=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;1===this.nodeType&&(null==(u=e?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":Array.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))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(f,"value"))?r:"string"==typeof(r=f.value)?r.replace(ie,""):null==r?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:it(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f="select-one"===n.type,s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(((t=o[r]).selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!c(t.parentNode,"optgroup"))){if(e=i(t).val(),f)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(Array.isArray(t))return n.checked=-1<i.inArray(i(n).val(),t)}};e.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});e.focusin="onfocusin"in n;lr=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,p,w=[o||f],h=fi.call(t,"type")?t.type:t,b=fi.call(t,"namespace")?t.namespace.split("."):[];if(c=p=l=o=o||f,3!==o.nodeType&&8!==o.nodeType&&!lr.test(h+i.event.triggered)&&(-1<h.indexOf(".")&&(h=(b=h.split(".")).shift(),b.sort()),v=h.indexOf(":")<0&&"on"+h,(t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||!1!==a.trigger.apply(o,e))){if(!s&&!a.noBubble&&!ut(o)){for(d=a.delegateType||h,lr.test(d+h)||(c=c.parentNode);c;c=c.parentNode)w.push(c),l=c;l===(o.ownerDocument||f)&&w.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=w[k++])&&!t.isPropagationStopped();)p=c,t.type=1<k?d:a.bindType||h,(y=(r.get(c,"events")||Object.create(null))[t.type]&&r.get(c,"handle"))&&y.apply(c,e),(y=v&&c[v])&&y.apply&&bt(c)&&(t.result=y.apply(c,e),!1===t.result&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||a._default&&!1!==a._default.apply(w.pop(),e)||!bt(o)||v&&u(o[h])&&!ut(o)&&((l=o[v])&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,re),o[h](),t.isPropagationStopped()&&p.removeEventListener(h,re),i.event.triggered=void 0,l&&(o[v]=l)),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)}});e.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.document||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.document||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ii=n.location,ue={guid:Date.now()},ar=/\?/;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 vo=/\[\]$/,fe=/\r?\n/g,yo=/^(?:submit|button|image|reset|file)$/i,po=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){function e(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==i?"":i)}var r,f=[];if(null==n)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)vr(r,n[r],t,e);return f.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")&&po.test(this.nodeName)&&!yo.test(n)&&(this.checked||!gt.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(fe,"\r\n")}}):{name:t.name,value:r.replace(fe,"\r\n")}}).get()}});var wo=/%20/g,bo=/#.*$/,ko=/([?&])_=[^&]*/,go=/^(.*?):[ \t]*([^\r\n]*)$/gm,ns=/^(?:GET|HEAD)$/,ts=/^\/\//,ee={},yr={},oe="*/".concat("*"),pr=f.createElement("a");return pr.href=ii.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ii.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ii.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":oe,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?wr(wr(n,i.ajaxSettings),t):wr(i.ajaxSettings,n)},ajaxPrefilter:se(ee),ajaxTransport:se(yr),ajax:function(t,r){function b(t,r,f,c){var v,rt,b,p,g,a=r;s||(s=!0,d&&n.clearTimeout(d),l=void 0,k=c||"",e.readyState=0<t?4:0,v=200<=t&&t<300||304===t,f&&(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]}(u,e,f)),!v&&-1<i.inArray("script",u.dataTypes)&&(u.converters["text script"]=function(){}),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}}(u,p,e,v),v?(u.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===u.type?a="nocontent":304===t?a="notmodified":(a=p.state,rt=p.data,v=!(b=p.error))):(b=a,!t&&a||(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",v?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,b]),e.statusCode(w),w=void 0,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:b]),it.fireWith(h,[e,a]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var l,o,k,v,d,c,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=go.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==s&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)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 l&&l.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||ii.href)+"").replace(ts,ii.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(a)||[""],null==u.crossDomain){c=f.createElement("a");try{c.href=u.url;c.href=c.href;u.crossDomain=pr.protocol+"//"+pr.host!=c.protocol+"//"+c.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),he(ee,u,r,e),s)return e;for(g in(y=i.event&&u.global)&&0==i.active++&&i.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ns.test(u.type),o=u.url.replace(bo,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(wo,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(ar.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(ko,"$1"),p=(ar.test(o)?"&":"?")+"_="+ue.guid+++p),u.url=o+p),u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType),e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+oe+"; q=0.01":""):u.accepts["*"]),u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(!1===u.beforeSend.call(h,e,u)||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),l=he(yr,u,r,e)){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&0<u.timeout&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;l.send(rt,b)}catch(t){if(s)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,f,e){return u(r)&&(e=e||f,f=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(n){for(var t in n.headers)"content-type"===t.toLowerCase()&&(n.contentType=n.headers[t]||"")}),i._evalUrl=function(n,t,r){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t,r)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(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 u(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=u(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){}},ce={0:200,1223:204},wt=i.ajaxSettings.xhr(),e.cors=!!wt&&"withCredentials"in wt,e.ajax=wt=!!wt,i.ajaxTransport(function(t){var i,r;if(e.cors||wt&&!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.ontimeout=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(ce[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=e.ontimeout=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||n.scriptAttrs)return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).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)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}),br=[],bi=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=br.pop()||i.expando+"_"+ue.guid++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=!1!==t.jsonp&&(bi.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&bi.test(t.data)&&"data");if(h||"jsonp"===t.dataTypes[0])return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(bi,"$1"+e):!1!==t.jsonp&&(t.url+=(ar.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){void 0===o?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,br.push(e));s&&u(o)&&o(s[0]);s=o=void 0}),"script"}),e.createHTMLDocument=((le=f.implementation.createHTMLDocument("").body).innerHTML="<form><\/form><form><\/form>",2===le.childNodes.length),i.parseHTML=function(n,t,r){return"string"!=typeof n?[]:("boolean"==typeof t&&(r=t,t=!1),t||(e.createHTMLDocument?((s=(t=f.implementation.createHTMLDocument("")).createElement("base")).href=f.location.href,t.head.appendChild(s)):t=f),u=!r&&[],(o=nr.exec(n))?[t.createElement(o[1])]:(o=wu([n],t,u),u&&u.length&&i(u).remove(),i.merge([],o.childNodes)));var s,o,u},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return-1<o&&(f=it(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<e.length&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},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 a,v,o,s,e,h,c=i.css(n,"position"),l=i(n),f={};"static"===c&&(n.style.position="relative");e=l.offset();o=i.css(n,"top");h=i.css(n,"left");v=("absolute"===c||"fixed"===c)&&-1<(o+h).indexOf("auto")?(s=(a=l.position()).top,a.left):(s=parseFloat(o)||0,parseFloat(h)||0);u(t)&&(t=t.call(n,r,i.extend({},e)));null!=t.top&&(f.top=t.top-e.top+s);null!=t.left&&(f.left=t.left-e.left+v);"using"in t?t.using.call(n,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),l.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 r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,r,u,t=this[0],f={top:0,left:0};if("fixed"===i.css(t,"position"))r=t.getBoundingClientRect();else{for(r=this.offset(),u=t.ownerDocument,n=t.offsetParent||u.documentElement;n&&(n===u.body||n===u.documentElement)&&"static"===i.css(n,"position");)n=n.parentNode;n&&n!==t&&1===n.nodeType&&((f=i(n).offset()).top+=i.css(n,"borderTopWidth",!0),f.left+=i.css(n,"borderLeftWidth",!0))}return{top:r.top-f.top-i.css(t,"marginTop",!0),left:r.left-f.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||nt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return b(this,function(n,i,u){var f;if(ut(n)?f=n:9===n.nodeType&&(f=n.defaultView),void 0===u)return f?f[t]:n[i];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]=of(e.pixelPosition,function(n,r){if(r)return r=ni(n,t),er.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 b(this,function(t,r,f){var e;return ut(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.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),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)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),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)}}),ae=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.proxy=function(n,t){var r,f,e;if("string"==typeof t&&(r=n[t],t=n,n=r),u(n))return f=d.call(arguments,2),(e=function(){return n.apply(t||this,f.concat(d.call(arguments)))}).guid=n.guid=n.guid||i.guid++,e},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=c,i.isFunction=u,i.isWindow=ut,i.camelCase=p,i.type=ft,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},i.trim=function(n){return null==n?"":(n+"").replace(ae,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),ve=n.jQuery,ye=n.$,i.noConflict=function(t){return n.$===i&&(n.$=ye),t&&n.jQuery===i&&(n.jQuery=ve),i},void 0===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 r(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");u.on("change",function(){var n=u.val();f.hide().filter(""===n?"[data-instans]":'[data-instans="'+u.val()+'"]').show();r("instans",n);""===n&&i("instans");t("lastvisited")&&$("#"+t("lastvisited")+":visible").length<1&&i("lastvisited")});""!==n&&(u.val(n),u.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).attr("aria-expanded","true").addClass("active");$(n.fontSizeNote).attr("aria-expanded","true").addClass("open")},hideFontSizeNote:function(){$(n.fontSizeBtn).attr("aria-expanded","false").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.attr("aria-expanded","false").removeClass("active"),t.attr("aria-expanded","false").removeClass("open")):(n.attr("aria-expanded","true").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()}))},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,u,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]");u=$("[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"),e,i,s,r,l;if("all"===n)e=$("[data-toggle-factbox-all]"),e&&e.click();else if(0<=n.indexOf("all-in-group")){var a=n.replace("all-in-group-",""),o=$('[data-factbox-group="'+a+'"]'),h=$(o).find("[data-toggle-factbox-all-in-group]");h&&(h.click(),setTimeout(function(){$("html, body").animate({scrollTop:o.offset().top-10},300,function(){o.focus()})},10))}else""!==n&&(i=$('[data-toggle-factbox="#'+n+'"]'),i&&(i.triggerHandler("click"),""===f)&&(i.attr("id","__"+n),s=$("#__"+n),setTimeout(function(){var n=s.offset().top-10;$("html, body").animate({scrollTop:n},300,function(){s.focus()})},10)));(u.length&&(t("instans")?c(t("instans")):c()),""!==f)&&(r=$("#"+f),r.length&&(l=r.offset().top-10,$("html, body").animate({scrollTop:l},300,function(){r.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");r("expand",i=i.split("#")[1]);t.hasClass("factbox-horinger")&&r("lastvisited",n.attr("id"))});$("[data-toggle-factbox-all-in-group]").on("click",function(){for(var t,n=$(this),f=n.parent().parent(),o=f.data("factbox-group"),e=$(f).find("[data-toggle-factbox]"),s=n.data("text-open-all"),h=n.data("text-close-all"),u=0;u<e.length;u++)t=e[u],"false"!=$(t).attr("aria-expanded")||n.hasClass("active")?"true"==$(t).attr("aria-expanded")&&n.hasClass("active")&&t.click():t.click();n.hasClass("active")?(n.removeClass("active"),n.text(s),i("expand")):(n.addClass("active"),n.text(h),r("expand","all-in-group-"+o))});$("[data-toggle-factbox-all]").on("click",function(){for(var t,e,o,f=$("[data-toggle-factbox]"),n=$("[data-toggle-factbox-all]"),u=0;u<f.length;u++)t=f[u],"false"!=$(t).attr("aria-expanded")||n.hasClass("active")?"true"==$(t).attr("aria-expanded")&&n.hasClass("active")&&t.click():t.click();n.hasClass("active")?(n.removeClass("active"),e=$("[data-text-open-all]").data("text-open-all"),$(n).text(e),i("expand")):(n.addClass("active"),o=$("[data-text-close-all]").data("text-close-all"),$(n).text(o),r("expand","all"))});$("[data-toggle-factbox]").on("click",function(n){var u=$(this),f=u.data("toggle-factbox"),e=$(f),o=!1!==u.data("set-expand-param");f=f.split("#")[1];e.is(":visible")?(u.removeClass("active").attr("aria-expanded","false"),e.slideUp(300),o&&(i("expand"),i("focus"),i("lastvisited"))):(u.addClass("active").attr("aria-expanded","true"),e.slideDown(300),o&&(r("expand",f),i("factbox"),t("factboxFocus")&&(i("factboxFocus"),r("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").attr("aria-expanded","false"),t.removeClass("shown")):(n.addClass("active").attr("aria-expanded","true"),$("[data-toggle-search]").removeClass("active").attr("aria-expanded","false"),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").attr("aria-expanded","false"),t.removeClass("shown")):(n.addClass("active").attr("aria-expanded","true"),$("[data-toggle-menu]").removeClass("active").attr("aria-expanded","false"),t.addClass("shown"),i.removeClass("shown"))});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("click",function(){n.accessifySharing()});$(".breadcrumbs > ul > li:not(:first-child) > .breadcrumb-item__text").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("breadcrumb-item",300,e,t.target)}).on("mouseleave",function(){"medium desktop"!==n.getContext()&&"large"!==n.getContext()||u.doTimeout("breadcrumb-item",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()});$(window).on("afterresize",function(){n.mediaLightbox23resizer()});$(window).on("load",function(){$("[data-twitter-feed] iframe").contents().find("head").each(function(n,t){$(t).append($("<link/>",{rel:"stylesheet",href:"/Frontend/dist-web/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))});$(document).ready(function(){$(".calculator-help").mouseover(function(){$("#calculator-tooltip").show();var n=document.getElementById("calculator-tooltip");n.innerHTML=$(this).attr("data-help");n.style.display="block"});$(".calculator-help").mousemove(function(n){var t=!!document.all,r=t?event.clientY+document.documentElement.scrollTop:n.pageY,u=t?event.clientX+document.documentElement.scrollLeft:n.pageX,i=document.getElementById("calculator-tooltip");i.style.top=r+10+"px";i.style.left=u+"px"});$(".calculator-help").mouseout(function(){$("#calculator-tooltip").hide()})})}(),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='<div id="label'+l+'" class="label'+(c.hasClass("visuallyhidden")?" visuallyhidden":"")+'">'+l+"<\/div>",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){var t,i,r;n(document).on("click","[data-datawrapper-block-button]",function(){var u=n(this),f=u.parent().find("[data-datawrapper-block-content]"),e=f.find("iframe"),o='<div class="datawrapper-block__lightbox zoom-lightbox-wrapper" role="dialog" data-datawrapper-lightbox><div class="zoom-lightbox zoom-lightbox-datawrapper"><div class="zoom-lightbox-inner" tabindex="0" data-zoom-graph><iframe scrolling="no" frameborder="0" src="'+e[0].src+'" height="100%" width="100%">Loading<\/iframe><\/div><button class="closeButton" data-close-datawrapper-lightbox><\/button><\/div><\/div>';i=e.detach();r=f;n("body").append(o).addClass("lightbox-open").attr("aria-hidden","true");n("[data-datawrapper-lightbox]").fadeIn("fast",function(){n("[data-zoom-graph]").focus()});t=u});n(document).on("click","[data-close-datawrapper-lightbox]",function(){n("body").removeClass("lightbox-open").attr("aria-hidden","false");n("[data-datawrapper-lightbox]").fadeOut("fast",function(){n("[data-datawrapper-lightbox]").remove()});t.focus();r.append(i)}).on("keydown","[data-datawrapper-lightbox]",function(u){27===u.which?(n("body").removeClass("lightbox-open").attr("aria-hidden","false"),n("[data-datawrapper-lightbox]").fadeOut("fast",function(){n("[data-datawrapper-lightbox]").remove()}),t.focus(),r.append(i)):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-datawrapper-lightbox]",function(){n("[data-datawrapper-lightbox]").fadeOut("fast",function(){n("[data-datawrapper-lightbox]").remove()});n("body").removeClass("lightbox-open").attr("aria-hidden","false")}).on("click",".zoom-lightbox",function(n){n.stopPropagation()})}(window.jQuery),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};jQuery.fn.keywordFilter=function(n,t){t=t||{};n=jQuery(n);var r,i=this,u="",o=t.timeout||0,f=t.callback||function(){},e=n.length;return f(e),i.change(function(){for(var r,s=i.val().toLowerCase(),o=0,u=0;u<e;u++)item=n[u],r=jQuery(item).parent(),0<=(t.selector?$(item).find(t.selector).text():item.textContent||item.innerText||"").toLowerCase().indexOf(s)?(r.is(":hidden")&&r.show(),o++):r.is(":visible")&&r.hide();return f(o),!1}).keydown(function(){clearTimeout(r);r=setTimeout(function(){i.val()!==u&&(u=i.val(),i.change())},o)}),this},function(){"use strict";$(window).on("load",function(){var t=0<$("[data-live-filter-target] .factbox:visible").length,u=!!$("[data-accordion-item]").length,n=$("[data-alphabet-nav]"),i=$("[data-text-live-filter-count-pre]").length?$("[data-text-live-filter-count-pre]").data("text-live-filter-count-pre"):"Viser",r=$("[data-text-live-filter-count-post]").length?$("[data-text-live-filter-count-post]").data("text-live-filter-count-post"):"tema";u?$("[data-live-filter-word]").each(function(u,f){var o=$(f),e=o.data("live-filter-word"),a='[data-live-filter-target="'+e+'"] .keyword-accordion__header',v=$('[data-stack-list="'+e+'"]'),s=$('[data-live-filter-reset="'+e+'"]'),c=$('[data-live-filter-none-found="'+e+'"]'),h=$('[data-live-filter-count="'+e+'"]'),l=$(a);o.on("keydown",function(n){13===n.which&&n.preventDefault()});o.keywordFilter(a,{timeout:200,callback:function(u){var a=o.val(),f;(0<a.length?(v.addClass("filtered"),s.show(),n.hide(),0<u?(c.removeClass("shown"),h.addClass("shown"),l.unhighlight().highlight(a)):(c.addClass("shown"),h.removeClass("shown"),l.unhighlight())):(v.removeClass("filtered"),c.removeClass("shown"),h.removeClass("shown"),l.unhighlight(),s.hide(),n.show()),t)&&(f=$('[data-live-filter-target="'+e+'"] .factbox:visible'),f.removeAttr("style"),f.each(function(n,t){var i=$(t);i.removeClass("visuallyhidden");i.find(".list-pick li:visible").length<1&&i.addClass("visuallyhidden")}));h.html("("+i+" "+u+" "+r+")");s.on("click",function(){o.val("").trigger("keydown").focus();s.hide()})}})}):(t&&$('[data-toggle-factbox][aria-expanded="false"]').each(function(n,t){$(t).triggerHandler("click")}),$("[data-live-filter-word]").each(function(u,f){var o=$(f),e=o.data("live-filter-word"),a='[data-live-filter-target="'+e+'"] .result-list, [data-live-filter-target="'+e+'"] [data-stack-item] .title',v=$('[data-stack-list="'+e+'"]'),s=$('[data-live-filter-reset="'+e+'"]'),c=$('[data-live-filter-none-found="'+e+'"]'),h=$('[data-live-filter-count="'+e+'"]'),l=$(a);o.on("keydown",function(n){13===n.which&&n.preventDefault()});o.fastLiveFilter(a,{timeout:200,callback:function(u){var a=o.val(),f;(0<a.length?(v.addClass("filtered"),s.show(),n.hide(),0<u?(c.removeClass("shown"),h.addClass("shown"),l.unhighlight().highlight(a)):(c.addClass("shown"),h.removeClass("shown"),l.unhighlight())):(v.removeClass("filtered"),c.removeClass("shown"),h.removeClass("shown"),l.unhighlight(),s.hide(),n.show()),t)&&(f=$('[data-live-filter-target="'+e+'"] .factbox:visible'),f.removeAttr("style"),f.each(function(n,t){var i=$(t);i.removeClass("visuallyhidden");i.find(".list-pick li:visible").length<1&&i.addClass("visuallyhidden")}));h.html("("+i+" "+u+" "+r+")");s.on("click",function(){o.val("").trigger("keydown").focus();s.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();r.attr("aria-expanded","false")}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().attr("aria-expanded","true")):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()})})}()