/*!
 * modernizr v3.5.0
 * Build https://modernizr.com/download?-csspositionsticky-csstransforms-dataset-history-touchevents-addtest-mq-teststyles-dontmin
 *
 * Copyright (c)
 *  Faruk Ates
 *  Paul Irish
 *  Alex Sexton
 *  Ryan Seddon
 *  Patrick Kettner
 *  Stu Cox
 *  Richard Herrera
 * MIT License
 */
function mainArticleMidPoint(n){var t=document.getElementsByClassName("main-article")[0],i;return t?(i=t.offsetHeight/2,n==0?!1:n>=i?!0:!1):!1}function isInViewport(n){if(n==undefined)return!1;var t=n.getBoundingClientRect();return t.top==0?!0:t.top>=window.innerHeight?!0:!1}function toggleAdBlock(){var n=$("#header");n.css("top")==="0px"?($("body").css("overflow-y","hidden"),n.animate({top:"-91px"})):n.css("top")==="-91px"&&($("body").css("overflow-y",""),n.animate({top:"0px"}))}var DL;(function(n,t,i){function e(n,t){return typeof n===t}function ft(){var i,n,u,f,o,s,t;for(var c in h)if(h.hasOwnProperty(c)){if(i=[],n=h[c],n.name&&(i.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)i.push(n.options.aliases[u].toLowerCase());for(f=e(n.fn,"function")?n.fn():n.fn,o=0;o<i.length;o++)s=i[o],t=s.split("."),t.length===1?r[t[0]]=f:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=f),d.push((f?"":"no-")+t.join("-"))}}function et(n){var t=o.className,i=r._config.classPrefix||"",u;c&&(t=t.baseVal);r._config.enableJSClass&&(u=new RegExp("(^|\\s)"+i+"no-js(\\s|$)"),t=t.replace(u,"$1"+i+"js$2"));r._config.enableClasses&&(t+=" "+i+n.join(" "+i),c?o.className.baseVal=t:o.className=t)}function g(n,t){var u,i,f;if(typeof n=="object")for(u in n)v(n,u)&&g(u,n[u]);else{if(n=n.toLowerCase(),i=n.split("."),f=r[i[0]],i.length==2&&(f=f[i[1]]),typeof f!="undefined")return r;t=typeof t=="function"?t():t;i.length==1?r[i[0]]=t:(!r[i[0]]||r[i[0]]instanceof Boolean||(r[i[0]]=new Boolean(r[i[0]])),r[i[0]][i[1]]=t);et([(!!t&&t!=!1?"":"no-")+i.join("-")]);r._trigger(n,t)}return r}function s(){return typeof t.createElement!="function"?t.createElement(arguments[0]):c?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function ot(){var n=t.body;return n||(n=s(c?"svg":"body"),n.fake=!0),n}function y(n,i,r,u){var c="modernizr",e,a,l,v,h=s("div"),f=ot();if(parseInt(r,10))while(r--)l=s("div"),l.id=u?u[r]:c+(r+1),h.appendChild(l);return e=s("style"),e.type="text/css",e.id="s"+c,(f.fake?f:h).appendChild(e),f.appendChild(h),e.styleSheet?e.styleSheet.cssText=n:e.appendChild(t.createTextNode(n)),h.id=c,f.fake&&(f.style.background="",f.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(f)),a=i(h,n),f.fake?(f.parentNode.removeChild(f),o.style.overflow=v,o.offsetHeight):h.parentNode.removeChild(h),!!a}function st(n,t){return!!~(""+n).indexOf(t)}function ht(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function ct(n,t){return function(){return n.apply(t,arguments)}}function lt(n,t,i){var r;for(var u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],e(r,"function"))?ct(r,i||t):r;return!1}function it(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function at(t,i,r){var u,f,e;return"getComputedStyle"in n?(u=getComputedStyle.call(n,t,i),f=n.console,u!==null?r&&(u=u.getPropertyValue(r)):f&&(e=f.error?"error":"log",f[e].call(f,"getComputedStyle returning null, its possible modernizr test results are inaccurate"))):u=!i&&t.currentStyle&&t.currentStyle[r],u}function vt(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){while(f--)if(n.CSS.supports(it(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+it(t[f])+":"+r+")");return u=u.join(" or "),y("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return at(n,null,"position")=="absolute"})}return i}function yt(n,t,r,u){function a(){v&&(delete f.style,delete f.modElem)}var c,v,h,y,o,p,l;if(u=e(u,"undefined")?!1:u,!e(r,"undefined")&&(c=vt(n,r),!e(c,"undefined")))return c;for(l=["modernizr","tspan","samp"];!f.style&&l.length;)v=!0,f.modElem=s(l.shift()),f.style=f.modElem.style;for(y=n.length,h=0;h<y;h++)if(o=n[h],p=f.style[o],st(o,"-")&&(o=ht(o)),f.style[o]!==i){if(u||e(r,"undefined"))return a(),t=="pfx"?o:!0;try{f.style[o]=r}catch(w){}if(f.style[o]!=p)return a(),t=="pfx"?o:!0}return a(),!1}function rt(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),o=(n+" "+w.join(f+" ")+f).split(" ");return e(t,"string")||e(t,"undefined")?yt(o,t,r,u):(o=(n+" "+b.join(f+" ")+f).split(" "),lt(o,t,i))}function ut(n,t,r){return rt(n,i,i,t,r)}var h=[],u={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){h.push({name:n,fn:t,options:i})},addAsyncTest:function(n){h.push({name:null,fn:n})}},r=function(){},d,v,l,o,c,nt,tt,p,w,b,k,f,a;r.prototype=u;r=new r;
/*!
{
  "name": "History API",
  "property": "history",
  "caniuse": "history",
  "tags": ["history"],
  "authors": ["Hay Kranen", "Alexander Farkas"],
  "notes": [{
    "name": "W3C Spec",
    "href": "https://www.w3.org/TR/html51/browsers.html#the-history-interface"
  }, {
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en-US/docs/Web/API/window.history"
  }],
  "polyfills": ["historyjs", "html5historyapi"]
}
!*/
r.addTest("history",function(){var t=navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1&&location.protocol!=="file:"?!1:n.history&&"pushState"in n.history});d=[],function(){var n={}.hasOwnProperty;v=e(n,"undefined")||e(n.call,"undefined")?function(n,t){return t in n&&e(n.constructor.prototype[t],"undefined")}:function(t,i){return n.call(t,i)}}();l=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];u._prefixes=l;o=t.documentElement;c=o.nodeName.toLowerCase()==="svg";u._l={};u.on=function(n,t){this._l[n]||(this._l[n]=[]);this._l[n].push(t);r.hasOwnProperty(n)&&setTimeout(function(){r._trigger(n,r[n])},0)};u._trigger=function(n,t){if(this._l[n]){var i=this._l[n];setTimeout(function(){for(var r,n=0;n<i.length;n++)r=i[n],r(t)},0);delete this._l[n]}};r._q.push(function(){u.addTest=g});
/*!
{
  "name": "CSS position: sticky",
  "property": "csspositionsticky",
  "tags": ["css"],
  "builderAliases": ["css_positionsticky"],
  "notes": [{
    "name": "Chrome bug report",
    "href":"https://code.google.com/p/chromium/issues/detail?id=322972"
  }],
  "warnings": [ "using position:sticky on anything but top aligned elements is buggy in Chrome < 37 and iOS <=7+" ]
}
!*/
r.addTest("csspositionsticky",function(){var n="position:",t="sticky",r=s("a"),i=r.style;return i.cssText=n+l.join(t+";"+n).slice(0,-n.length),i.position.indexOf(t)!==-1});
/*!
{
  "name": "dataset API",
  "caniuse": "dataset",
  "property": "dataset",
  "tags": ["dom"],
  "builderAliases": ["dom_dataset"],
  "authors": ["@phiggins42"]
}
!*/
r.addTest("dataset",function(){var n=s("div");return n.setAttribute("data-a-b","c"),!!(n.dataset&&n.dataset.aB==="c")});nt=function(){var t=n.matchMedia||n.msMatchMedia;return t?function(n){var i=t(n);return i&&i.matches||!1}:function(t){var i=!1;return y("@media "+t+" { #modernizr { position: absolute; } }",function(t){i=(n.getComputedStyle?n.getComputedStyle(t,null):t.currentStyle).position=="absolute"}),i}}();u.mq=nt;tt=u.testStyles=y;
/*!
{
  "name": "Touch Events",
  "property": "touchevents",
  "caniuse" : "touch",
  "tags": ["media", "attribute"],
  "notes": [{
    "name": "Touch Events spec",
    "href": "https://www.w3.org/TR/2013/WD-touch-events-20130124/"
  }],
  "warnings": [
    "Indicates if the browser supports the Touch Events spec, and does not necessarily reflect a touchscreen device"
  ],
  "knownBugs": [
    "False-positive on some configurations of Nokia N900",
    "False-positive on some BlackBerry 6.0 builds – https://github.com/Modernizr/Modernizr/issues/372#issuecomment-3112695"
  ]
}
!*/
r.addTest("touchevents",function(){var i,r;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:(r=["@media (",l.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join(""),tt(r,function(n){i=n.offsetTop===9})),i});p="Moz O ms Webkit";w=u._config.usePrefixes?p.split(" "):[];u._cssomPrefixes=w;b=u._config.usePrefixes?p.toLowerCase().split(" "):[];u._domPrefixes=b;k={elem:s("modernizr")};r._q.push(function(){delete k.elem});f={style:k.elem.style};r._q.unshift(function(){delete f.style});u.testAllProps=rt;u.testAllProps=ut;
/*!
{
  "name": "CSS Transforms",
  "property": "csstransforms",
  "caniuse": "transforms2d",
  "tags": ["css"]
}
!*/
for(r.addTest("csstransforms",function(){return navigator.userAgent.indexOf("Android 2.")===-1&&ut("transform","scale(1)",!0)}),ft(),delete u.addTest,delete u.addAsyncTest,a=0;a<r._q.length;a++)r._q[a]();n.Modernizr=r})(window,document);
/*!
 * jQuery JavaScript Library v3.2.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2017-03-20T18:59Z
 */
(function(n,t){"use strict";typeof module=="object"&&typeof module.exports=="object"?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)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function ir(n,t){t=t||u;var i=t.createElement("script");i.text=n;t.head.appendChild(i).parentNode.removeChild(i)}function fi(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return r==="function"||i.isWindow(n)?!1:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function l(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function oi(n,t,r){return i.isFunction(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}):typeof t!="string"?i.grep(n,function(n){return ot.call(t,n)>-1!==r}):er.test(t)?i.filter(t,n,r):(t=i.filter(t,n),i.grep(n,function(n){return ot.call(t,n)>-1!==r&&n.nodeType===1}))}function ar(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ne(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function nt(n){return n}function pt(n){throw n;}function vr(n,t,r,u){var f;try{n&&i.isFunction(f=n.promise)?f.call(n).done(t).fail(r):n&&i.isFunction(f=n.then)?f.call(n,t,r):t.apply(undefined,[n].slice(u))}catch(n){r.apply(undefined,[n])}}function bt(){u.removeEventListener("DOMContentLoaded",bt);n.removeEventListener("load",bt);i.ready()}function ht(){this.expando=i.expando+ht.uid++}function re(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:te.test(n)?JSON.parse(n):n}function pr(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(ie,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=re(i)}catch(u){}e.set(n,t,i)}else i=undefined;return i}function kr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||o!=="px"&&+s)&&ct.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f=f/e,i.style(n,t,f+o);while(e!==(e=c()/s)&&e!==1&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function ue(n){var r,f=n.ownerDocument,u=n.nodeName,t=si[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),si[u]=t,t)}function tt(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&kt(u)&&(f[i]=ue(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function o(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&l(n,t))?i.merge([n],r):r}function hi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function iu(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(i.type(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(tu.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(gr.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&hi(s),r)for(v=0;e=s[v++];)nu.test(e.type||"")&&r.push(e)}return h}function gt(){return!0}function it(){return!1}function uu(){try{return u.activeElement}catch(n){}}function ci(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)ci(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=it;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function fu(n,t){return l(n,"table")&&l(t.nodeType!==11?t:t.firstChild,"tr")?i(">tbody",n)[0]||n:n}function ae(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function ve(n){var t=ce.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function eu(n,t){var f,c,o,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(o in u)for(f=0,c=u[o].length;f<c;f++)i.event.add(t,o,u[o][f])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function ye(n,t){var i=t.nodeName.toLowerCase();i==="input"&&dr.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function rt(n,t,u,e){t=gi.apply([],t);var l,p,c,a,s,w,h=0,v=n.length,k=v-1,y=t[0],b=i.isFunction(y);if(b||v>1&&typeof y=="string"&&!f.checkClone&&he.test(y))return n.each(function(i){var r=n.eq(i);b&&(t[0]=y.call(this,i,r.html()));rt(r,t,u,e)});if(v&&(l=iu(t,n[0].ownerDocument,!1,n,e),p=l.firstChild,l.childNodes.length===1&&(l=p),p||e)){for(c=i.map(o(l,"script"),ae),a=c.length;h<v;h++)s=l,h!==k&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(w=c[c.length-1].ownerDocument,i.map(c,ve),h=0;h<a;h++)s=c[h],nu.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(w,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):ir(s.textContent.replace(le,""),w))}return n}function ou(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&hi(o(u,"script")),u.parentNode.removeChild(u));return n}function lt(n,t,r){var o,s,h,u,e=n.style;return r=r||ni(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!f.pixelMarginRight()&&li.test(u)&&su.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h)),u!==undefined?u+"":u}function hu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function be(n){if(n in vu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=au.length;t--;)if(n=au[t]+i,n in vu)return n}function yu(n){var t=i.cssProps[n];return t||(t=i.cssProps[n]=be(n)||n),t}function pu(n,t,i){var r=ct.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function wu(n,t,r,u,f){for(var o=0,e=r===(u?"border":"content")?4:t==="width"?1:0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+b[e],!0,f)),u?(r==="content"&&(o-=i.css(n,"padding"+b[e],!0,f)),r!=="margin"&&(o-=i.css(n,"border"+b[e]+"Width",!0,f))):(o+=i.css(n,"padding"+b[e],!0,f),r!=="padding"&&(o+=i.css(n,"border"+b[e]+"Width",!0,f)));return o}function bu(n,t,r){var o,e=ni(n),u=lt(n,t,e),s=i.css(n,"boxSizing",!1,e)==="border-box";return li.test(u)?u:(o=s&&(f.boxSizingReliable()||u===n.style[t]),u==="auto"&&(u=n["offset"+t[0].toUpperCase()+t.slice(1)]),u=parseFloat(u)||0,u+wu(n,t,r||(s?"border":"content"),o,e)+"px")}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function ai(){ti&&(u.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(ai):n.setTimeout(ai,i.fx.interval),i.fx.tick())}function gu(){return n.setTimeout(function(){ut=undefined}),ut=i.now()}function ii(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function nf(n,t,i){for(var u,f=(a.tweeners[t]||[]).concat(a.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function ke(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&kt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(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()})}));for(f in t)if(y=t[f],ku.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(tt([n],!0),o=n.style.display||o,l=i.css(n,"display"),tt([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&tt([n],!0),v.done(function(){a||tt([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=nf(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function de(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],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],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function a(n,t,r){var e,o,s=0,l=a.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=ut||gu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return(f.notifyWith(n,[u,i,t]),i<1&&e)?t:(e||f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ut||gu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?(f.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(de(h,u.opts.specialEasing);s<l;s++)if(e=a.prefilters[s].call(u,n,h,u.opts),e)return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,nf,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u}function k(n){var t=n.match(h)||[];return t.join(" ")}function d(n){return n.getAttribute&&n.getAttribute("class")||""}function pi(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||ge.test(n)?u(n,i):pi(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)pi(n+"["+f+"]",t[f],r,u)}function cf(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])u[0]==="+"?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function lf(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);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===wi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ki(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function so(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(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]}function ho(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(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var p=[],u=n.document,pf=Object.getPrototypeOf,w=p.slice,gi=p.concat,ui=p.push,ot=p.indexOf,vt={},nr=vt.toString,yt=vt.hasOwnProperty,tr=yt.toString,wf=tr.call(Object),f={},rr="3.2.1",i=function(n,t){return new i.fn.init(n,t)},bf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,kf=/^-ms-/,df=/-([a-z])/g,gf=function(n,t){return t.toUpperCase()},y,ei,er,or,sr,hr,cr,lr,h,yr,wt,v,st,si,tu,ut,ti,ku,du,tf,ft,rf,uf,ff,vi,af,et,di,ri,vf,yf;i.fn=i.prototype={jquery:rr,constructor:i,length:0,toArray:function(){return w.call(this)},get:function(n){return n==null?w.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(w.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:ui,sort:p.sort,splice:p.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[u]||{},u++),typeof n=="object"||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if((e=arguments[u])!=null)for(f in e)(r=n[f],t=e[f],n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(o?(o=!1,s=r&&Array.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(rr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return i.type(n)==="function"},isWindow:function(n){return n!=null&&n===n.window},isNumeric:function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},isPlainObject:function(n){var t,i;return!n||nr.call(n)!=="[object Object]"?!1:(t=pf(n),!t)?!0:(i=yt.call(t,"constructor")&&t.constructor,typeof i=="function"&&tr.call(i)===wf)},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?vt[nr.call(n)]||"object":typeof n},globalEval:function(n){ir(n)},camelCase:function(n){return n.replace(kf,"ms-").replace(df,gf)},each:function(n,t){var r,i=0;if(fi(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(bf,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(fi(Object(n))?i.merge(r,typeof n=="string"?[n]:n):ui.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ot.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,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(fi(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return gi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return(typeof t=="string"&&(u=n[t],t=n,n=u),!i.isFunction(n))?undefined:(f=w.call(arguments,2),r=function(){return n.apply(t||this,f.concat(w.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},now:Date.now,support:f});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){vt["[object "+t+"]"]=t.toLowerCase()});y=function(n){function u(n,t,r,u){var s,w,l,a,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||v!==1&&v!==9&&v!==11)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(v!==11&&(d=cr.exec(n)))if(s=d[1]){if(v===9)if(l=t.getElementById(s)){if(l.id===s)return r.push(l),r}else return r;else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))){if(v!==1)p=t,g=n;else if(t.nodeName.toLowerCase()!=="object"){for((a=t.getAttribute("id"))?a=a.replace(vi,yi):t.setAttribute("id",a=f),y=ft(n),w=y.length;w--;)y[w]="#"+a+" "+yt(y[w]);g=y.join(",");p=ni.test(n)&&ri(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){}finally{a===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function ti(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function wi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function vr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function bi(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&lr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}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&&typeof n.getElementsByTagName!="undefined"&&n}function ki(){}function yt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function pt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&e==="parentNode",s=di++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[f]||(t[f]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[e]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function wt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;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,u,e){return r&&!r[f]&&(r=fi(r)),u&&!u[f]&&(u=fi(u,e)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||yr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?wt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=wt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=wt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=pt(function(n){return n===o},c,!0),a=pt(function(n){return nt(o,n)>-1},c,!0),e=[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])e=[pt(ui(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(e),i>1&&yt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&yt(n))}e.push(u)}return ui(e)}function pr(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=nr.call(l));w=wt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,e,t,st,oi,ft,bt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,di=0,hi=ti(),ci=ti(),lt=ti(),kt=function(n,t){return n===t&&(ut=!0),0},gi={}.hasOwnProperty,g=[],nr=g.pop,tr=g.push,k=g.push,li=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},dt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ai="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",gt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ai+")*)|.*)\\)|)",ir=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),rr=new RegExp("^"+r+"*,"+r+"*"),ur=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),fr=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),er=new RegExp(gt),or=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+ai),PSEUDO:new RegExp("^"+gt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+dt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ni=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},vi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,yi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},pi=function(){b()},lr=pt(function(n){return n.disabled===!0&&("form"in n||"label"in n)},{dir:"parentNode",next:"legend"});try{k.apply(g=li.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(wr){k={apply:g.length?function(n,t){tr.apply(n,li.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}e=u.support={};oi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l===i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",pi,!1):u.attachEvent&&u.attachEvent("onunload",pi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+dt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",gt)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},kt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!e.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:r&4?-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){if(o===s)return wi(n,t)}else return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?wi(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((n.ownerDocument||n)!==i&&b(n),t=t.replace(fr,"='$1']"),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(f){}return u(t,i,null,[n]).length>0};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 f=t.attrHandle[r.toLowerCase()],u=f&&gi.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):undefined;return u!==undefined?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(vi,yi)};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=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(kt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(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(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(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(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&er.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ir," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(e?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((e?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):r.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=bt(n.replace(at,"$1"));return i[f]?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 u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:l(function(n){return or.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:bi(!1),disabled:bi(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)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})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=ar(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=vr(rt);return ki.prototype=t.filters=t.pseudos,t.setFilters=new ki,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=rr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=ur.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in 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):ci(n,h).slice(0)},bt=u.compile=function(n,t){var r,u=[],e=[],i=lt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[f]?u.push(i):e.push(i);i=lt(n,pr(e,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ni.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&yt(f),!n)return k.apply(r,u),r;break}}}return(c||bt(n,s))(u,i,!h,r,!i||ni.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(kt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),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,t.toLowerCase()==="type"?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(dt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=y;i.expr=y.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=y.uniqueSort;i.text=y.getText;i.isXMLDoc=y.isXML;i.contains=y.contains;i.escapeSelector=y.escape;var g=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},ur=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},fr=i.expr.match.needsContext;ei=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;er=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if(typeof n!="string")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 u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(oi(this,n||[],!1))},not:function(n){return this.pushStack(oi(this,n||[],!0))},is:function(n){return!!oi(this,typeof n=="string"&&fr.test(n)?i(n):n||[],!1).length}});sr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;hr=i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||or,typeof n=="string"){if(f=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:sr.exec(n),f&&(f[1]||!t)){if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),ei.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&(this[0]=e,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):i.isFunction(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};hr.prototype=i.fn;or=i(u);cr=/^(?:parents|prev(?:Until|All))/;lr={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=typeof n!="string"&&i(n);if(!fr.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?ot.call(i(n),this[0]):ot.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(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return g(n,"parentNode")},parentsUntil:function(n,t,i){return g(n,"parentNode",i)},next:function(n){return ar(n,"nextSibling")},prev:function(n){return ar(n,"previousSibling")},nextAll:function(n){return g(n,"nextSibling")},prevAll:function(n){return g(n,"previousSibling")},nextUntil:function(n,t,i){return g(n,"nextSibling",i)},prevUntil:function(n,t,i){return g(n,"previousSibling",i)},siblings:function(n){return ur((n.parentNode||{}).firstChild,n)},children:function(n){return ur(n.firstChild)},contents:function(n){return l(n,"iframe")?n.contentDocument:(l(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 n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(lr[n]||i.uniqueSort(f),cr.test(n)&&f.reverse()),this.pushStack(f)}});h=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ne(n):i.extend({},n);var e,r,h,u,t=[],o=[],f=-1,c=function(){for(u=u||n.once,h=e=!0;o.length;f=-1)for(r=o.shift();++f<t.length;)t[f].apply(r[0],r[1])===!1&&n.stopOnFalse&&(f=t.length,r=!1);n.memory||(r=!1);e=!1;u&&(t=r?[]:"")},s={add:function(){return t&&(r&&!e&&(f=t.length-1,o.push(r)),function u(r){i.each(r,function(r,f){i.isFunction(f)?n.unique&&s.has(f)||t.push(f):f&&f.length&&i.type(f)!=="string"&&u(f)})}(arguments),r&&!e&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=f&&f--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return u=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return u=o=[],r||e||(t=r=""),this},locked:function(){return!!u},fireWith:function(n,t){return u||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),e||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(t){var u=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],e="pending",f={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return f.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(u,function(u,f){var e=i.isFunction(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,f){function o(t,r,u,f){return function(){var s=this,h=arguments,l=function(){var n,c;if(!(t<e)){if(n=u.apply(s,h),n===r.promise())throw new TypeError("Thenable self-resolution");c=n&&(typeof n=="object"||typeof n=="function")&&n.then;i.isFunction(c)?f?c.call(n,o(e,r,nt,f),o(e,r,pt,f)):(e++,c.call(n,o(e,r,nt,f),o(e,r,pt,f),o(e,r,nt,r.notifyWith))):(u!==nt&&(s=undefined,h=[n]),(f||r.resolveWith)(s,h))}},c=f?l:function(){try{l()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,c.stackTrace);t+1>=e&&(u!==pt&&(s=undefined,h=[n]),r.rejectWith(s,h))}};t?c():(i.Deferred.getStackHook&&(c.stackTrace=i.Deferred.getStackHook()),n.setTimeout(c))}}var e=0;return i.Deferred(function(n){u[0][3].add(o(0,n,i.isFunction(f)?f:nt,n.notifyWith));u[1][3].add(o(0,n,i.isFunction(t)?t:nt));u[2][3].add(o(0,n,i.isFunction(r)?r:pt))}).promise()},promise:function(n){return n!=null?i.extend(n,f):f}},r={};return i.each(u,function(n,t){var i=t[2],o=t[5];f[t[1]]=i.add;o&&i.add(function(){e=o},u[3-n][2].disable,u[0][2].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),f.promise(r),t&&t.call(r,r),r},when:function(n){var f=arguments.length,t=f,e=Array(t),u=w.call(arguments),r=i.Deferred(),o=function(n){return function(t){e[n]=this;u[n]=arguments.length>1?w.call(arguments):t;--f||r.resolveWith(e,u)}};if(f<=1&&(vr(n,r.done(o(t)).resolve,r.reject,!f),r.state()==="pending"||i.isFunction(u[t]&&u[t].then)))return r.then();while(t--)vr(u[t],o(t),r.reject);return r.promise()}});yr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&yr.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};wt=i.Deferred();i.fn.ready=function(n){return wt.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||wt.resolveWith(u,[i])}});i.ready.then=wt.then;u.readyState!=="complete"&&(u.readyState==="loading"||u.documentElement.doScroll)?(u.addEventListener("DOMContentLoaded",bt),n.addEventListener("load",bt)):n.setTimeout(i.ready);v=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=r==null;if(i.type(r)==="object"){f=!0;for(s in r)v(n,t,s,r[s],!0,e,o)}else if(u!==undefined&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};st=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};ht.uid=1;ht.prototype={cache:function(n){var t=n[this.expando];return t||(t={},st(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,r){var u,f=this.cache(n);if(typeof t=="string")f[i.camelCase(t)]=r;else for(u in t)f[i.camelCase(u)]=t[u];return f},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][i.camelCase(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(i.camelCase):(t=i.camelCase(t),t=t in r?[t]:t.match(h)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new ht,e=new ht,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/[A-Z]/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(n===undefined){if(this.length&&(s=e.get(u),u.nodeType===1&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,f.indexOf("data-")===0&&(f=i.camelCase(f.slice(5)),pr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return typeof n=="object"?this.each(function(){e.set(this,n)}):v(this,function(t){var i;if(u&&t===undefined)return(i=e.get(u,n),i!==undefined)?i:(i=pr(u,n),i!==undefined)?i:void 0;this.each(function(){e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||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),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,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(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&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){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var wr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ct=new RegExp("^(?:([+-])=|)("+wr+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],kt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&i.contains(n.ownerDocument,n)&&i.css(n,"display")==="none"},br=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};si={};i.fn.extend({show:function(){return tt(this,!0)},hide:function(){return tt(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){kt(this)?i(this).show():i(this).hide()})}});var dr=/^(?:checkbox|radio)$/i,gr=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,nu=/^$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;tu=/<|&#?\w+;/,function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var dt=u.documentElement,fe=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ru=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(dt,e),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(h)||[""],b=t.length;b--;)(w=ru.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;){if(c=ru.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!c||c.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:i.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==uu()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===uu()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&l(this,"input"))return this.click(),!1},_default:function(n){return l(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&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||n.defaultPrevented===undefined&&n.returnValue===!1?gt:it,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=gt;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=gt;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=gt;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&fe.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&ee.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return ci(this,n,t,i,r)},one:function(n,t,i,r){return ci(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(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=it),this.each(function(){i.event.remove(this,n,r,t)})}});var oe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,se=/<script|<style|<link/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,ce=/^true\/(.*)/,le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(oe,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!f.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)ye(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)eu(s[u],e[u]);else eu(n,h);return e=o(h,"script"),e.length>0&&hi(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;(t=n[o])!==undefined;o++)if(st(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]=undefined}t[e.expando]&&(t[e.expando]=undefined)}}});i.fn.extend({detach:function(n){return ou(this,n,!0)},remove:function(n){return ou(this,n)},text:function(n){return v(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return rt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=fu(this,n);t.appendChild(n)}})},prepend:function(){return rt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=fu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return rt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return rt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return v(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!se.test(n)&&!c[(gr.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return rt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ui.apply(f,u.get());return this.pushStack(f)}});var su=/^margin/,li=new RegExp("^("+wr+")(?!px)[a-z%]+$","i"),ni=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)};(function(){function r(){if(t){t.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";dt.appendChild(e);var i=n.getComputedStyle(t);o=i.top!=="1%";c=i.marginLeft==="2px";s=i.width==="4px";t.style.marginRight="50%";h=i.marginRight==="4px";dt.removeChild(e);t=null}}var o,s,h,c,e=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle=t.style.backgroundClip==="content-box",e.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",e.appendChild(t),i.extend(f,{pixelPosition:function(){return r(),o},boxSizingReliable:function(){return r(),s},pixelMarginRight:function(){return r(),h},reliableMarginLeft:function(){return r(),c}}))})();var pe=/^(none|table(?!-c[ea]).+)/,cu=/^--/,we={position:"absolute",visibility:"hidden",display:"block"},lu={letterSpacing:"0",fontWeight:"400"},au=["Webkit","Moz","ms"],vu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=lt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var e,s,o,c=i.camelCase(t),l=cu.test(t),h=n.style;if(l||(t=yu(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(e=ct.exec(r))&&e[1]&&(r=kr(n,t,e),s="number"),r==null||r!==r)return;s==="number"&&(r+=e&&e[3]||(i.cssNumber[c]?"":"px"));f.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(e=o.get(n,!1,u))!==undefined?e:h[t]}},css:function(n,t,r,u){var f,o,e,s=i.camelCase(t),h=cu.test(t);return(h||(t=yu(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=lt(n,t,u)),f==="normal"&&t in lu&&(f=lu[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return pe.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?br(n,we,function(){return bu(n,t,u)}):bu(n,t,u)},set:function(n,r,u){var f,e=u&&ni(n),o=u&&wu(n,t,u,i.css(n,"boxSizing",!1,e)==="border-box",e);return o&&(f=ct.exec(r))&&(f[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),pu(n,r,o)}}});i.cssHooks.marginLeft=hu(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(lt(n,"marginLeft"))||n.getBoundingClientRect().left-br(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};su.test(n)||(i.cssHooks[n+t].set=pu)});i.fn.extend({css:function(n,t){return v(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ni(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=s;s.prototype={constructor:s,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=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.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):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};s.propHooks.scrollTop=s.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=s.prototype.init;i.fx.step={};ku=/^(?:toggle|show|hide)$/;du=/queueHooks$/;i.Animation=i.extend(a,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return kr(i.elem,n,ct.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;u<f;u++)r=n[u],a.tweeners[r]=a.tweeners[r]||[],a.tweeners[r].unshift(t)},prefilters:[ke],prefilter:function(n,t){t?a.prefilters.unshift(n):a.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return i.fx.off?u.duration=0:typeof u.duration!="number"&&(u.duration=u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default),(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(kt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=a(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&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&&du.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||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 n!==!1&&(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 n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(ii(t,!0),n,i,u)}});i.each({slideDown:ii("show"),slideUp:ii("hide"),slideToggle:ii("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(ut=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();ut=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){ti||(ti=!0,ai())};i.fx.stop=function(){ti=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:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=n.value!=="";f.optSelected=i.selected;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue=n.value==="t"}();ft=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return v(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?tf:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&t==="radio"&&l(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(h);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});tf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=ft[t]||i.find.attr;ft[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=ft[u],ft[u]=f,f=r(n,t,i)!=null?u:null,ft[u]=e),f}});rf=/^(?:input|select|textarea|button)$/i;uf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return v(this,i.prop,n,t,arguments.length>1)},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(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):rf.test(n.nodeName)||uf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,d(this)))});if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=d(r),t=r.nodeType===1&&" "+k(u)+" ",t){for(s=0;f=o[s++];)t.indexOf(" "+f+" ")<0&&(t+=f+" ");e=k(t);u!==e&&r.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,d(this)))});if(!arguments.length)return this.attr("class","");if(typeof n=="string"&&n)for(o=n.match(h)||[];r=this[c++];)if(u=d(r),t=r.nodeType===1&&" "+k(u)+" ",t){for(s=0;f=o[s++];)while(t.indexOf(" "+f+" ")>-1)t=t.replace(" "+f+" "," ");e=k(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return typeof t=="boolean"&&u==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,d(this),t),t)}):this.each(function(){var t,e,f,o;if(u==="string")for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else(n===undefined||u==="boolean")&&(t=d(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+k(d(t))+" ").indexOf(i)>-1)return!0;return!1}});ff=/\r/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;this.nodeType===1&&(u=f?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(u,"value"))!==undefined)?r:(r=u.value,typeof r=="string")?r.replace(ff,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:k(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});vi=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=yt.call(t,"type")?t.type:t,y=yt.call(t,"namespace")?t.namespace.split("."):[];if((s=c=e=e||u,e.nodeType!==3&&e.nodeType!==8)&&!vi.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=e),f=f==null?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,vi.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&st(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||(!l._default||l._default.apply(p.pop(),f)===!1)&&st(e)&&a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=undefined,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var at=n.location,ef=i.now(),yi=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var ge=/\[\]$/,of=/\r?\n/g,no=/^(?:submit|button|image|reset|file)$/i,to=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){var r=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(r==null?"":r)};if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)pi(r,n[r],t,f);return u.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&to.test(this.nodeName)&&!no.test(n)&&(this.checked||!dr.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(of,"\r\n")}}):{name:t.name,value:r.replace(of,"\r\n")}}).get()}});var io=/%20/g,ro=/#.*$/,uo=/([?&])_=[^&]*/,fo=/^(.*?):[ \t]*([^\r\n]*)$/mg,eo=/^(?:GET|HEAD)$/,oo=/^\/\//,sf={},wi={},hf="*/".concat("*"),bi=u.createElement("a");return bi.href=at.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:at.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(at.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":hf,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?ki(ki(n,i.ajaxSettings),t):ki(i.ajaxSettings,n)},ajaxPrefilter:cf(sf),ajaxTransport:cf(wi),ajax:function(t,r){function b(t,r,u,h){var y,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),l=undefined,k=h||"",e.readyState=t>0?4:0,y=t>=200&&t<300||t===304,u&&(p=so(f,e,u)),p=ho(f,p,e,y),y?(f.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||f.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,y=!g)):(g=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",y?tt.resolveWith(c,[rt,a,e]):tt.rejectWith(c,[e,a,g]),e.statusCode(w),w=undefined,v&&nt.trigger(y?"ajaxSuccess":"ajaxError",[e,f,y?rt:g]),it.fireWith(c,[e,a]),v&&(nt.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var l,o,k,y,d,a,s,v,g,p,f=i.ajaxSetup({},r),c=f.context||f,nt=f.context&&(c.nodeType||c.jquery)?i(c):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=f.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!y)for(y={};t=fo.exec(k);)y[t[1].toLowerCase()]=t[2];t=y[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(f.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),f.url=((t||f.url||at.href)+"").replace(oo,at.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(h)||[""],f.crossDomain==null){a=u.createElement("a");try{a.href=f.url;a.href=a.href;f.crossDomain=bi.protocol+"//"+bi.host!=a.protocol+"//"+a.host}catch(et){f.crossDomain=!0}}if(f.data&&f.processData&&typeof f.data!="string"&&(f.data=i.param(f.data,f.traditional)),lf(sf,f,r,e),s)return e;v=i.event&&f.global;v&&i.active++==0&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!eo.test(f.type);o=f.url.replace(ro,"");f.hasContent?f.data&&f.processData&&(f.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(f.data=f.data.replace(io,"+")):(p=f.url.slice(o.length),f.data&&(o+=(yi.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(o=o.replace(uo,"$1"),p=(yi.test(o)?"&":"?")+"_="+ef+++p),f.url=o+p);f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&f.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", "+hf+"; q=0.01":""):f.accepts["*"]);for(g in f.headers)e.setRequestHeader(g,f.headers[g]);if(f.beforeSend&&(f.beforeSend.call(c,e,f)===!1||s))return e.abort();if(ft="abort",it.add(f.complete),e.done(f.success),e.fail(f.error),l=lf(wi,f,r,e),l){if(e.readyState=1,v&&nt.trigger("ajaxSend",[e,f]),s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=!1;l.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}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,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(i.isFunction(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},af={0:200,1223:204},et=i.ajaxSettings.xhr(),f.cors=!!et&&"withCredentials"in et,f.ajax=et=!!et,i.ajaxTransport(function(t){var i,r;if(f.cors||et&&!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];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(af[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},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){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),di=[],ri=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=di.pop()||i.expando+"_"+ef++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=t.jsonp!==!1&&(ri.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ri.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp")return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ri,"$1"+f):t.jsonp!==!1&&(t.url+=(yi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){e===undefined?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,di.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=undefined}),"script"}),f.createHTMLDocument=function(){var n=u.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,e,o;return(t||(f.createHTMLDocument?(t=u.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=u.location.href,t.head.appendChild(s)):t=u),e=ei.exec(n),o=!r&&[],e)?[t.createElement(e[1])]:(e=iu([n],t,o),o&&o.length&&i(o).remove(),i.merge([],e.childNodes))},i.fn.load=function(n,t,r){var u,o,s,f=this,e=n.indexOf(" ");return e>-1&&(u=k(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=undefined):t&&typeof t=="object"&&(o="POST"),f.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).always(r&&function(n,t){f.each(function(){r.apply(this,s||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};l==="static"&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,i.extend({},u)));t.top!=null&&(f.top=t.top-u.top+h);t.left!=null&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,f,e,t=this[0];if(t)return t.getClientRects().length?(f=t.getBoundingClientRect(),r=t.ownerDocument,u=r.documentElement,e=r.defaultView,{top:f.top+e.pageYOffset-u.clientTop,left:f.left+e.pageXOffset-u.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var t,r,u=this[0],n={top:0,left:0};return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(t=this.offsetParent(),r=this.offset(),l(t[0],"html")||(n=t.offset()),n={top:n.top+i.css(t[0],"borderTopWidth",!0),left:n.left+i.css(t[0],"borderLeftWidth",!0)}),{top:r.top-n.top-i.css(u,"marginTop",!0),left:r.left-n.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||dt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(u){return v(this,function(n,u,f){var e;if(i.isWindow(n)?e=n:n.nodeType===9&&(e=n.defaultView),f===undefined)return e?e[t]:n[u];e?e.scrollTo(r?e.pageXOffset:f,r?f:e.pageYOffset):n[u]=f},n,u,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=hu(f.pixelPosition,function(n,r){if(r)return r=lt(n,t),li.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||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return v(this,function(t,r,f){var e;return i.isWindow(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}}),i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=l,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),vf=n.jQuery,yf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=yf),t&&n.jQuery===i&&(n.jQuery=vf),i},t||(n.jQuery=n.$=i),i}),function(){function ut(t){function r(n,i,r,u,f,e){for(;f>=0&&f<e;f+=t){var o=u?u[f]:f;r=i(r,n[o],o,n)}return r}return function(u,f,o,s){f=e(f,s,4);var h=!i(u)&&n.keys(u),l=(h||u).length,c=t>0?0:l-1;return arguments.length<3&&(o=u[h?h[c]:c],c+=t),r(u,f,o,h,c,l)}}function ft(n){return function(i,r,f){r=t(r,f);for(var o=u(i),e=n>0?0:o-1;e>=0&&e<o;e+=n)if(r(i[e],e,i))return e;return-1}}function et(t,i,f){return function(e,o,s){var c=0,h=u(e);if(typeof s=="number")t>0?c=s>=0?s:Math.max(s+h,c):h=s>=0?Math.min(s+1,h):s+h+1;else if(f&&s&&h)return s=f(e,o),e[s]===o?s:-1;if(o!==o)return s=i(r.call(e,c,h),n.isNaN),s>=0?s+c:-1;for(s=t>0?c:h-1;s>=0&&s<h;s+=t)if(e[s]===o)return s;return-1}}function ot(t,i){var u=d.length,f=t.constructor,e=n.isFunction(f)&&f.prototype||v,r="constructor";for(n.has(t,r)&&!n.contains(i,r)&&i.push(r);u--;)r=d[u],r in t&&t[r]!==e[r]&&!n.contains(i,r)&&i.push(r)}var a=this,lt=a._,s=Array.prototype,v=Object.prototype,at=Function.prototype,vt=s.push,r=s.slice,o=v.toString,yt=v.hasOwnProperty,pt=Array.isArray,nt=Object.keys,y=at.bind,tt=Object.create,p=function(){},n=function(t){if(t instanceof n)return t;if(!(this instanceof n))return new n(t);this._wrapped=t},e,t,h,f,b,k,d,c,ct,l;typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=n),exports._=n):a._=n;n.VERSION="1.8.3";e=function(n,t,i){if(t===void 0)return n;switch(i==null?3:i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)};case 4:return function(i,r,u,f){return n.call(t,i,r,u,f)}}return function(){return n.apply(t,arguments)}};t=function(t,i,r){return t==null?n.identity:n.isFunction(t)?e(t,i,r):n.isObject(t)?n.matcher(t):n.property(t)};n.iteratee=function(n,i){return t(n,i,Infinity)};var w=function(n,t){return function(i){var e=arguments.length,r,u,f;if(e<2||i==null)return i;for(r=1;r<e;r++){var o=arguments[r],s=n(o),h=s.length;for(u=0;u<h;u++)f=s[u],t&&i[f]!==void 0||(i[f]=o[f])}return i}},it=function(t){if(!n.isObject(t))return{};if(tt)return tt(t);p.prototype=t;var i=new p;return p.prototype=null,i},rt=function(n){return function(t){if(t!=null)return t[n]}},wt=Math.pow(2,53)-1,u=rt("length"),i=function(n){var t=u(n);return typeof t=="number"&&t>=0&&t<=wt};n.each=n.forEach=function(t,r,u){var f,o,s;if(r=e(r,u),i(t))for(f=0,o=t.length;f<o;f++)r(t[f],f,t);else for(s=n.keys(t),f=0,o=s.length;f<o;f++)r(t[s[f]],s[f],t);return t};n.map=n.collect=function(r,u,f){var e,s;u=t(u,f);var o=!i(r)&&n.keys(r),h=(o||r).length,c=Array(h);for(e=0;e<h;e++)s=o?o[e]:e,c[e]=u(r[s],s,r);return c};n.reduce=n.foldl=n.inject=ut(1);n.reduceRight=n.foldr=ut(-1);n.find=n.detect=function(t,r,u){var f;return f=i(t)?n.findIndex(t,r,u):n.findKey(t,r,u),f!==void 0&&f!==-1?t[f]:void 0};n.filter=n.select=function(i,r,u){var f=[];return r=t(r,u),n.each(i,function(n,t,i){r(n,t,i)&&f.push(n)}),f};n.reject=function(i,r,u){return n.filter(i,n.negate(t(r)),u)};n.every=n.all=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,!u(r[s],s,r))return!1;return!0};n.some=n.any=function(r,u,f){var o,h,e,s;for(u=t(u,f),o=!i(r)&&n.keys(r),h=(o||r).length,e=0;e<h;e++)if(s=o?o[e]:e,u(r[s],s,r))return!0;return!1};n.contains=n.includes=n.include=function(t,r,u,f){return i(t)||(t=n.values(t)),(typeof u!="number"||f)&&(u=0),n.indexOf(t,r,u)>=0};n.invoke=function(t,i){var u=r.call(arguments,2),f=n.isFunction(i);return n.map(t,function(n){var t=f?i:n[i];return t==null?t:t.apply(n,u)})};n.pluck=function(t,i){return n.map(t,n.property(i))};n.where=function(t,i){return n.filter(t,n.matcher(i))};n.findWhere=function(t,i){return n.find(t,n.matcher(i))};n.max=function(r,u,f){var e=-Infinity,c=-Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h>e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o>c||o===-Infinity&&e===-Infinity)&&(e=n,c=o)});return e};n.min=function(r,u,f){var e=Infinity,c=Infinity,h,o,s,l;if(u==null&&r!=null)for(r=i(r)?r:n.values(r),s=0,l=r.length;s<l;s++)h=r[s],h<e&&(e=h);else u=t(u,f),n.each(r,function(n,t,i){o=u(n,t,i);(o<c||o===Infinity&&e===Infinity)&&(e=n,c=o)});return e};n.shuffle=function(t){for(var e=i(t)?t:n.values(t),o=e.length,u=Array(o),r=0,f;r<o;r++)f=n.random(0,r),f!==r&&(u[r]=u[f]),u[f]=e[r];return u};n.sample=function(t,r,u){return r==null||u?(i(t)||(t=n.values(t)),t[n.random(t.length-1)]):n.shuffle(t).slice(0,Math.max(0,r))};n.sortBy=function(i,r,u){return r=t(r,u),n.pluck(n.map(i,function(n,t,i){return{value:n,index:t,criteria:r(n,t,i)}}).sort(function(n,t){var i=n.criteria,r=t.criteria;if(i!==r){if(i>r||i===void 0)return 1;if(i<r||r===void 0)return-1}return n.index-t.index}),"value")};h=function(i){return function(r,u,f){var e={};return u=t(u,f),n.each(r,function(n,t){var f=u(n,t,r);i(e,n,f)}),e}};n.groupBy=h(function(t,i,r){n.has(t,r)?t[r].push(i):t[r]=[i]});n.indexBy=h(function(n,t,i){n[i]=t});n.countBy=h(function(t,i,r){n.has(t,r)?t[r]++:t[r]=1});n.toArray=function(t){return t?n.isArray(t)?r.call(t):i(t)?n.map(t,n.identity):n.values(t):[]};n.size=function(t){return t==null?0:i(t)?t.length:n.keys(t).length};n.partition=function(i,r,u){r=t(r,u);var f=[],e=[];return n.each(i,function(n,t,i){(r(n,t,i)?f:e).push(n)}),[f,e]};n.first=n.head=n.take=function(t,i,r){if(t!=null)return i==null||r?t[0]:n.initial(t,t.length-i)};n.initial=function(n,t,i){return r.call(n,0,Math.max(0,n.length-(t==null||i?1:t)))};n.last=function(t,i,r){if(t!=null)return i==null||r?t[t.length-1]:n.rest(t,Math.max(0,t.length-i))};n.rest=n.tail=n.drop=function(n,t,i){return r.call(n,t==null||i?1:t)};n.compact=function(t){return n.filter(t,n.identity)};f=function(t,r,e,o){for(var s,l,a,h=[],v=0,c=o||0,y=u(t);c<y;c++)if(s=t[c],i(s)&&(n.isArray(s)||n.isArguments(s)))for(r||(s=f(s,r,e)),l=0,a=s.length,h.length+=a;l<a;)h[v++]=s[l++];else e||(h[v++]=s);return h};n.flatten=function(n,t){return f(n,t,!1)};n.without=function(t){return n.difference(t,r.call(arguments,1))};n.uniq=n.unique=function(i,r,f,e){var s,c,h,a,o,l;for(n.isBoolean(r)||(e=f,f=r,r=!1),f!=null&&(f=t(f,e)),s=[],c=[],h=0,a=u(i);h<a;h++)o=i[h],l=f?f(o,h,i):o,r?(h&&c===l||s.push(o),c=l):f?n.contains(c,l)||(c.push(l),s.push(o)):n.contains(s,o)||s.push(o);return s};n.union=function(){return n.uniq(f(arguments,!0,!0))};n.intersection=function(t){for(var r,i,f=[],o=arguments.length,e=0,s=u(t);e<s;e++)if(r=t[e],!n.contains(f,r)){for(i=1;i<o;i++)if(!n.contains(arguments[i],r))break;i===o&&f.push(r)}return f};n.difference=function(t){var i=f(arguments,!0,!0,1);return n.filter(t,function(t){return!n.contains(i,t)})};n.zip=function(){return n.unzip(arguments)};n.unzip=function(t){for(var r=t&&n.max(t,u).length||0,f=Array(r),i=0;i<r;i++)f[i]=n.pluck(t,i);return f};n.object=function(n,t){for(var r={},i=0,f=u(n);i<f;i++)t?r[n[i]]=t[i]:r[n[i][0]]=n[i][1];return r};n.findIndex=ft(1);n.findLastIndex=ft(-1);n.sortedIndex=function(n,i,r,f){var o;r=t(r,f,1);for(var h=r(i),e=0,s=u(n);e<s;)o=Math.floor((e+s)/2),r(n[o])<h?e=o+1:s=o;return e};n.indexOf=et(1,n.findIndex,n.sortedIndex);n.lastIndexOf=et(-1,n.findLastIndex);n.range=function(n,t,i){var u,f,r;for(t==null&&(t=n||0,n=0),i=i||1,u=Math.max(Math.ceil((t-n)/i),0),f=Array(u),r=0;r<u;r++,n+=i)f[r]=n;return f};b=function(t,i,r,u,f){if(!(u instanceof i))return t.apply(r,f);var e=it(t.prototype),o=t.apply(e,f);return n.isObject(o)?o:e};n.bind=function(t,i){if(y&&t.bind===y)return y.apply(t,r.call(arguments,1));if(!n.isFunction(t))throw new TypeError("Bind must be called on a function");var f=r.call(arguments,2),u=function(){return b(t,u,i,this,f.concat(r.call(arguments)))};return u};n.partial=function(t){var i=r.call(arguments,1),u=function(){for(var f=0,o=i.length,e=Array(o),r=0;r<o;r++)e[r]=i[r]===n?arguments[f++]:i[r];while(f<arguments.length)e.push(arguments[f++]);return b(t,u,this,this,e)};return u};n.bindAll=function(t){var i,u=arguments.length,r;if(u<=1)throw new Error("bindAll must be passed function names");for(i=1;i<u;i++)r=arguments[i],t[r]=n.bind(t[r],t);return t};n.memoize=function(t,i){var r=function(u){var f=r.cache,e=""+(i?i.apply(this,arguments):u);return n.has(f,e)||(f[e]=t.apply(this,arguments)),f[e]};return r.cache={},r};n.delay=function(n,t){var i=r.call(arguments,2);return setTimeout(function(){return n.apply(null,i)},t)};n.defer=n.partial(n.delay,n,1);n.throttle=function(t,i,r){var f,e,s,u=null,o=0,h;return r||(r={}),h=function(){o=r.leading===!1?0:n.now();u=null;s=t.apply(f,e);u||(f=e=null)},function(){var l=n.now(),c;return o||r.leading!==!1||(o=l),c=i-(l-o),f=this,e=arguments,c<=0||c>i?(u&&(clearTimeout(u),u=null),o=l,s=t.apply(f,e),u||(f=e=null)):u||r.trailing===!1||(u=setTimeout(h,c)),s}};n.debounce=function(t,i,r){var u,f,e,s,o,h=function(){var c=n.now()-s;c<i&&c>=0?u=setTimeout(h,i-c):(u=null,r||(o=t.apply(e,f),u||(e=f=null)))};return function(){e=this;f=arguments;s=n.now();var c=r&&!u;return u||(u=setTimeout(h,i)),c&&(o=t.apply(e,f),e=f=null),o}};n.wrap=function(t,i){return n.partial(i,t)};n.negate=function(n){return function(){return!n.apply(this,arguments)}};n.compose=function(){var n=arguments,t=n.length-1;return function(){for(var r=t,i=n[t].apply(this,arguments);r--;)i=n[r].call(this,i);return i}};n.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}};n.before=function(n,t){var i;return function(){return--n>0&&(i=t.apply(this,arguments)),n<=1&&(t=null),i}};n.once=n.partial(n.before,2);k=!{toString:null}.propertyIsEnumerable("toString");d=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];n.keys=function(t){var i,r;if(!n.isObject(t))return[];if(nt)return nt(t);i=[];for(r in t)n.has(t,r)&&i.push(r);return k&&ot(t,i),i};n.allKeys=function(t){var i,r;if(!n.isObject(t))return[];i=[];for(r in t)i.push(r);return k&&ot(t,i),i};n.values=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=t[r[i]];return f};n.mapObject=function(i,r,u){var e;r=t(r,u);var o=n.keys(i),h=o.length,s={},f;for(e=0;e<h;e++)f=o[e],s[f]=r(i[f],f,i);return s};n.pairs=function(t){for(var r=n.keys(t),u=r.length,f=Array(u),i=0;i<u;i++)f[i]=[r[i],t[r[i]]];return f};n.invert=function(t){for(var u={},r=n.keys(t),i=0,f=r.length;i<f;i++)u[t[r[i]]]=r[i];return u};n.functions=n.methods=function(t){var i=[];for(var r in t)n.isFunction(t[r])&&i.push(r);return i.sort()};n.extend=w(n.allKeys);n.extendOwn=n.assign=w(n.keys);n.findKey=function(i,r,u){var o,f,e,s;for(r=t(r,u),o=n.keys(i),e=0,s=o.length;e<s;e++)if(f=o[e],r(i[f],f,i))return f};n.pick=function(t,i,r){var c={},u=t,l,o,s,v,h,a;if(u==null)return c;for(n.isFunction(i)?(o=n.allKeys(u),l=e(i,r)):(o=f(arguments,!1,!1,1),l=function(n,t,i){return t in i},u=Object(u)),s=0,v=o.length;s<v;s++)h=o[s],a=u[h],l(a,h,u)&&(c[h]=a);return c};n.omit=function(t,i,r){if(n.isFunction(i))i=n.negate(i);else{var u=n.map(f(arguments,!1,!1,1),String);i=function(t,i){return!n.contains(u,i)}}return n.pick(t,i,r)};n.defaults=w(n.allKeys,!0);n.create=function(t,i){var r=it(t);return i&&n.extendOwn(r,i),r};n.clone=function(t){return n.isObject(t)?n.isArray(t)?t.slice():n.extend({},t):t};n.tap=function(n,t){return t(n),n};n.isMatch=function(t,i){var e=n.keys(i),o=e.length,f,r,u;if(t==null)return!o;for(f=Object(t),r=0;r<o;r++)if(u=e[r],i[u]!==f[u]||!(u in f))return!1;return!0};c=function(t,i,r,u){var h,a,e,s,f,v,l;if(t===i)return t!==0||1/t==1/i;if(t==null||i==null)return t===i;if(t instanceof n&&(t=t._wrapped),i instanceof n&&(i=i._wrapped),h=o.call(t),h!==o.call(i))return!1;switch(h){case"[object RegExp]":case"[object String]":return""+t==""+i;case"[object Number]":return+t!=+t?+i!=+i:+t==0?1/+t==1/i:+t==+i;case"[object Date]":case"[object Boolean]":return+t==+i}if(a=h==="[object Array]",!a&&(typeof t!="object"||typeof i!="object"||(e=t.constructor,s=i.constructor,e!==s&&!(n.isFunction(e)&&e instanceof e&&n.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in i)))return!1;for(r=r||[],u=u||[],f=r.length;f--;)if(r[f]===t)return u[f]===i;if(r.push(t),u.push(i),a){if(f=t.length,f!==i.length)return!1;while(f--)if(!c(t[f],i[f],r,u))return!1}else{if(v=n.keys(t),f=v.length,n.keys(i).length!==f)return!1;while(f--)if(l=v[f],!(n.has(i,l)&&c(t[l],i[l],r,u)))return!1}return r.pop(),u.pop(),!0};n.isEqual=function(n,t){return c(n,t)};n.isEmpty=function(t){return t==null?!0:i(t)&&(n.isArray(t)||n.isString(t)||n.isArguments(t))?t.length===0:n.keys(t).length===0};n.isElement=function(n){return!!(n&&n.nodeType===1)};n.isArray=pt||function(n){return o.call(n)==="[object Array]"};n.isObject=function(n){var t=typeof n;return t==="function"||t==="object"&&!!n};n.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){n["is"+t]=function(n){return o.call(n)==="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return n.has(t,"callee")});typeof/./!="function"&&typeof Int8Array!="object"&&(n.isFunction=function(n){return typeof n=="function"||!1});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!==+t};n.isBoolean=function(n){return n===!0||n===!1||o.call(n)==="[object Boolean]"};n.isNull=function(n){return n===null};n.isUndefined=function(n){return n===void 0};n.has=function(n,t){return n!=null&&yt.call(n,t)};n.noConflict=function(){return a._=lt,this};n.identity=function(n){return n};n.constant=function(n){return function(){return n}};n.noop=function(){};n.property=rt;n.propertyOf=function(n){return n==null?function(){}:function(t){return n[t]}};n.matcher=n.matches=function(t){return t=n.extendOwn({},t),function(i){return n.isMatch(i,t)}};n.times=function(n,t,i){var u=Array(Math.max(0,n)),r;for(t=e(t,i,1),r=0;r<n;r++)u[r]=t(r);return u};n.random=function(n,t){return t==null&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};n.now=Date.now||function(){return(new Date).getTime()};var st={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},bt=n.invert(st),ht=function(t){var r=function(n){return t[n]},i="(?:"+n.keys(t).join("|")+")",u=RegExp(i),f=RegExp(i,"g");return function(n){return n=n==null?"":""+n,u.test(n)?n.replace(f,r):n}};n.escape=ht(st);n.unescape=ht(bt);n.result=function(t,i,r){var u=t==null?void 0:t[i];return u===void 0&&(u=r),n.isFunction(u)?u.call(t):u};ct=0;n.uniqueId=function(n){var t=++ct+"";return n?n+t:t};n.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var g=/(.)^/,kt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},dt=/\\|'|\r|\n|\u2028|\u2029/g,gt=function(n){return"\\"+kt[n]};n.template=function(t,i,r){var o,f,h;!i&&r&&(i=r);i=n.defaults({},i,n.templateSettings);var c=RegExp([(i.escape||g).source,(i.interpolate||g).source,(i.evaluate||g).source].join("|")+"|$","g"),e=0,u="__p+='";t.replace(c,function(n,i,r,f,o){return u+=t.slice(e,o).replace(dt,gt),e=o+n.length,i?u+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":f&&(u+="';\n"+f+"\n__p+='"),n});u+="';\n";i.variable||(u="with(obj||{}){\n"+u+"}\n");u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{o=new Function(i.variable||"obj","_",u)}catch(s){s.source=u;throw s;}return f=function(t){return o.call(this,t,n)},h=i.variable||"obj",f.source="function("+h+"){\n"+u+"}",f};n.chain=function(t){var i=n(t);return i._chain=!0,i};l=function(t,i){return t._chain?n(i).chain():i};n.mixin=function(t){n.each(n.functions(t),function(i){var r=n[i]=t[i];n.prototype[i]=function(){var t=[this._wrapped];return vt.apply(t,arguments),l(this,r.apply(n,t))}})};n.mixin(n);n.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=s[t];n.prototype[t]=function(){var n=this._wrapped;return i.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0],l(this,n)}});n.each(["concat","join","slice"],function(t){var i=s[t];n.prototype[t]=function(){return l(this,i.apply(this._wrapped,arguments))}});n.prototype.value=function(){return this._wrapped};n.prototype.valueOf=n.prototype.toJSON=n.prototype.value;n.prototype.toString=function(){return""+this._wrapped};typeof define=="function"&&define.amd&&define("underscore",[],function(){return n})}.call(this),function(n){var t;(function(n){function t(n,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),u=n.indexOf("?")!==-1?"&":"?";return n.match(r)?n.replace(r,"$1"+t+"="+i+"$2"):n+u+t+"="+i}function i(n){var t,u,i,r;if(window.location.search==null||window.location.search.length<1)return null;if(t=window.location.search.substr(1).split("&"),t==null||t.length===0)return"";for(u={},i=0;i<t.length;++i)r=t[i].split("=",2),u[r[0]]=r.length===1?"":decodeURIComponent(r[1].replace(/\+/g," "));return u[n]}n.updateParameter=t;n.getParameter=i})(t=n.querystring||(n.querystring={}))}(DL||(DL={}));window.console||(window.console=new Console);window.console.log||(window.console.log=function(){return!1});window.console.info||(window.console.info=window.console.log);window.console.warn||(window.console.warn=window.console.info);window.console.error||(window.console.error=window.console.warn),function(n){"use strict";var t;n&&(t={},n.time=function(n){n&&(t[n]=Date.now())},n.timeEnd=function(i){t[i]&&(n.log(i+": "+(Date.now()-t[i])+"ms"),delete t[i])})}(window.console);document.createEvent||(document.createEvent=function(n){return new Event(n)});Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){t=t||0;for(var i=this.length;t<i;){if(this[t]===n)return t;++t}return-1});Array.prototype.remove=function(n){var t=this.indexOf(n);return t!==-1&&this.splice(t,1),this};Array.prototype.pushUnique=function(n){return this.indexOf(n)===-1&&this.push(n),this};String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t===void 0&&(t=0),this.substr(t,n.length)===n});String.prototype.replaceAll||(String.prototype.replaceAll=function(n,t){var i=this;return i.replace(new RegExp(n,"g"),t)});Modernizr.addTest("csssticky",function(){var n;return Modernizr.testStyles("#modernizr { position: -webkit-sticky;position: -moz-sticky;position: -o-sticky; position: -ms-sticky; position: sticky;}",function(t){n=(window.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position.indexOf("sticky")!==-1}),n}),function(n){function t(){return n.localVars.BuildIsProduction!=null?n.localVars.BuildIsProduction:n.localVars.BuildIsProduction=$("html").attr("data-isproduction")==="true"}function i(){var t=n.localVars.SiteBaseUrl!=null?n.localVars.SiteBaseUrl:n.localVars.SiteBaseUrl=$("html").attr("data-sitebaseurl");return(t==null||t.length==0)&&n.Utilities.AlertError("DL.SiteBaseUrl() is missing"),t}n.localVars=[];n.TestMode=n.querystring.getParameter("testmode")==="true";n.PreviewMode=!n.querystring.getParameter("pvw");n.BuildIsProduction=t;n.SiteBaseUrl=i}(DL||(DL={}));window.onerror=function(n,t,i,r){DL.BuildIsProduction()===!1&&t!=null&&t.length>0&&alert("Error: "+n+"\r\nFile: "+t+"\r\nLine: "+i+"\r\nChar: "+r)},function(n){var t;(function(t){function a(){o().setAspectRatio()}function r(n,i){return t.$localJqueryVars[n]!=null?t.$localJqueryVars[n]:t.$localJqueryVars[n]=i()}function u(n,i){return t.sizeDependantVars[n]!=null?t.sizeDependantVars[n]:t.sizeDependantVars[n]=i()}function i(){return r("window",function(){return $(window)})}function v(){return r("document",function(){return $(document)})}function y(){return r("body",function(){return $(document.body)})}function p(){return r("html,body",function(){return $("html,body")})}function o(){return r("getMaintainAspectRatioElements",function(){return $("[data-maintain-aspect-ratio]")})}function w(){return t.$localJqueryVars.browserSupportSrcSet!=null?t.$localJqueryVars.browserSupportSrcSet:t.$localJqueryVars.browserSupportSrcSet="srcset"in document.createElement("img")}function b(){t.sizeDependantVars=[]}function k(){return window.innerHeight!=null?Math.max(i().height(),window.innerHeight):i().height()}function d(){return window.innerWidth!=null?Math.max(i().width(),window.innerWidth):i().width()}function g(){return u("getWindowActualHeight",function(){return k()})}function nt(){return u("getWindowActualWidth",function(){return d()})}function tt(){return u("getWindowWidth",function(){return i().width()})}function it(){return u("getWindowHeight",function(){return i().height()})}function rt(){return n.Utilities.setUserTestId(),n.Utilities.UserTestId}function ut(){var t="DazedUserTestId";n.Utilities.UserTestId==null&&(n.Utilities.UserTestId=$.jStorage.get(t)||Math.floor(Math.random()*2520),$.jStorage.set(t,n.Utilities.UserTestId))}function ft(n){return n.which===1&&!n.metaKey&&!n.shiftKey}function et(){return Modernizr.mq("only screen and (max-width: 767px)")}function ot(){return Modernizr.mq("only screen and (min-width: 768px) and (max-width: 1024px)")}function st(){return Modernizr.mq("only screen and (min-width: 1025px)")}function ht(n,t){var f,i,r,o,u;for(t===void 0&&(t=window),f=[],i=2;i<arguments.length;i++)f[i-2]=arguments[i];if(n==null||n.length===0)return!1;for(r=n.split("."),o=r.pop(),u=0;u<r.length;u++)t=t[r[u]];return t?t[o].apply(t,f):(e("executeFunctionByName: "+o+" does not exist"),!1)}function ct(n,t){var i=n.match(/\/\d+(\/([0-9]+[-]){3}[0-9]+)?\/azure\//);return i!=null&&i.length>0?n.replace(i[0],"/"+t+(i[1]||"")+"/azure/"):n}function f(n){return n!=null&&typeof n=="function"}function lt(n){if(f(n)){var t=Array.prototype.slice.call(arguments).splice(1,256);return n.apply(this,t)}return null}function at(n){try{n()}catch(t){e(t)}}function e(t){console.warn(t);n.BuildIsProduction()===!1&&alert(t)}function vt(t){var i=t.requestFullScreen||t.webkitRequestFullScreen||t.mozRequestFullScreen||t.msRequestFullScreen;i!=null&&n.Utilities.executeIfFunction(i.call(t))}function yt(){for(var i=[],t=0;t<arguments.length;t++)i[+t]=arguments[t];n.BuildIsProduction()===!1&&console.info(i)}function s(n,t){return n.charAt(n.length-1)===t?n.substr(0,n.length-1):n}function pt(n,t){var i,r;return t===void 0&&(t=0),i=(""+n).length-1,(i%3>0||i>6)&&(t=0),i=Math.min(i,6),i-=i%3,r=Math.pow(10,t),s(Math.round(n*r/Math.pow(10,i))/r+" kM"[i/3]," ")}function wt(){t.isUserActiveOnPage||(t.isUserActiveOnPage=!0,i().trigger("userActiveOnPage"))}function bt(n){if(t.isUserActiveOnPage)n();else i().on("userActiveOnPage",function(){return n})}function kt(n){return Array.isArray(n)?n:[n]}function dt(n){n===void 0&&(n=document.body);var i="noscroll",t=$(n);if(t.toggleClass(i),t.off("touchmove.preventScroll"),t.hasClass(i))t.on("touchmove.preventScroll",function(n){n.preventDefault()})}function gt(){return window.pageYOffset!==undefined?window.pageYOffset:(document.documentElement||document.body).scrollTop}function ni(n){var t=this,i=!1;return n.find(":input:not(:button):not([type=hidden])").each(function(){if((t.type==="text"||t.type==="textarea"||t.type==="hidden")&&t.defaultValue!==t.value||(t.type==="radio"||t.type==="checkbox")&&t.defaultChecked!==t.checked)return i=!0,!1;if(t.type==="select-one"||t.type==="select-multiple")for(var n=0;n<t.length;n++)if(t.options[n].selected!==t.options[n].defaultSelected)return i=!0,!1}),i}function h(){return window.googletag!=null&&f(window.googletag.openConsole)}function c(){var n,t;return h()?(n=document.createElement("ins"),n.className="AdSense",n.style.display="block",n.style.position="absolute",n.style.top="-1px",n.style.height="1px",document.body.appendChild(n),t=!n.clientHeight,document.body.removeChild(n),t):!0}function ti(){if(!l){l=!0;var t=!c(),i=t?"Loaded":"Not loaded";n.analytics.trackNonInteractionEvent("GPT",i,window.location.pathname);t||console.warn("GPT "+i)}}function ii(n,t){window.googletag.cmd.push(function(){window.googletag.pubads().setTargeting(n,t)})}function ri(n,t){var i;return typeof t=="string"&&(i=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(t),i)?new Date(Date.UTC(+i[1],+i[2]-1,+i[3],+i[4],+i[5],+i[6])):t}t.$localJqueryVars=[];t.sizeDependantVars=[];t.setAllAspectRatio=a;t.getCachedJqueryElements=r;t.getCachedSizeDependantValues=u;t.getWindowElement=i;t.getDocumentElement=v;t.getBodyElement=y;t.getHtmlBodyElement=p;t.getMaintainAspectRatioElements=o;t.browserSupportSrcSet=w;t.resetSizeDependentVariables=b;t.getWindowActualHeight=g;t.getWindowActualWidth=nt;t.getWindowWidth=tt;t.getWindowHeight=it;t.getUserTestId=rt;t.setUserTestId=ut;t.handleState=ft;t.isMobile=et;t.isTablet=ot;t.isDesktop=st;t.executeFunctionByName=ht;t.getImgUrlForWidth=ct;t.isFunction=f;t.executeIfFunction=lt;t.SilenceExceptionsOnLive=at;t.AlertError=e;t.requestFullScreen=vt;t.consoleLog=yt;t.trimEnd=s;t.numberAbbreviate=pt;t.isUserActiveOnPage=null;t.UserActiveOnPage=wt;t.OnUserActiveOnPage=bt;t.AsArray=kt;t.NoScrollToggle=dt;t.WindowScrollTop=gt;t.hasFormChanged=ni;t.gptLoaded=h;t.hasAdBlocker=c;var l=!1;t.trackGptLoading=ti;t.setGptTargeting=ii;t.jsonDateReviver=ri})(t=n.Utilities||(n.Utilities={}))}(DL||(DL={}));DL.Utilities.getWindowElement().one("maintainAspectRatio",function(){DL.Utilities.getWindowElement().on("load.maintainAspectRatio",DL.Utilities.setAllAspectRatio).on("resize.maintainAspectRatio",_.debounce(DL.Utilities.setAllAspectRatio,100))});DL.Utilities.getWindowElement().on("resize",DL.Utilities.resetSizeDependentVariables);DL.Utilities.getWindowElement().one("mousemove keydown touchstart focus scroll",DL.Utilities.UserActiveOnPage);$.fn.filterFind=function(n){return this.filter(n).add(this.find(n))};$.fn.scrollTo=function(n){n===void 0&&(n=0);var t=0;$("#header").css("position")==="fixed"&&(t=$("#header").outerHeight(!0));$(document.body).animate({scrollTop:this.offset().top-t-20},n)};$.fn.iframeBubbleTouchEvents=function(n){var t=$.extend({},{trackHorizontal:!0,trackVertical:!0},n),i=$(this);$.each($("iframe",this),function(n,r){var e;if(r.src!=null&&r.src.length>0&&r.src.indexOf(window.location.origin)<0){DL.Utilities.consoleLog("iframeBubbleTouchEvents wont run on "+r.src);return}if(e=r.contentDocument||r.contentWindow.document,e!=null){var u=null,f=null,o="touchstart.bubbleToParent touchmove.bubbleToParent touchend.bubbleToParent touchcancel.bubbleToParent";$(e).off(o).on(o,function(n){var h,o,s,r,e;n.type!=="touchmove"&&(u=null,f=null);h=n.originalEvent;o=h.targetTouches[0];u=u||o;o==null?(DL.Utilities.consoleLog("No originalTouch",n.type),s=document.createEvent("TouchEvent"),s.initEvent(n.type,!0,!0),s.type=n.type,s.cancelable=!0,s.bubbles=!0,i[0].dispatchEvent(s)):(r={X:u.screenX-o.screenX,Y:u.screenY-o.screenY},f==null&&(r.X!==0||r.Y!==0)&&(f=Math.abs(r.Y)>Math.abs(r.X)),f===!0?r.X=0:f===!1&&(r.Y=0),t.trackHorizontal||(r.X=0,f===!0&&n.preventDefault()),t.trackVertical||(r.Y=0,f===!1&&n.preventDefault()),e=document.createEvent("Event"),e.initEvent(n.type,!0,!0),e.pageX=u.pageX-r.X,e.pageY=u.pageY-r.Y,e.clientX=u.clientX-r.X,e.clientY=u.clientY-r.Y,e.screenX=o.screenX,e.screenY=o.screenY,i[0].dispatchEvent(e))})}})};$.fn.getUniqueSelector=function(n){var i,t,r;return(n=$.extend({includeParents:!1,includeAttributes:!1},n),i=$(this).attr("id"),i)?"#"+i:(t=this.prop("tagName"),n.includeParents===!0&&(t=$(this).parents().map(function(){return this.tagName}).get().reverse().concat([this.nodeName]).join(">")),r=$(this).attr("class"),r&&(t+="."+$.trim(r).replace(/\s/gi,".")),n.includeAttributes,t)};$.fn.getAvailHeight=function(){var n=this.get(0),t=n.offsetHeight||n.getBoundingClientRect().height,i,r;return t<=n.scrollHeight-1?t-n.scrollHeight:(i=$("<div/>"),i.height(t),this.append(i),r=2*t-n.scrollHeight,i.remove(),r)};$.fn.setAspectRatio=function(){$(this).each(function(){var n=$(this),t=parseFloat(n.attr("data-maintain-aspect-ratio"));isNaN(t)||n.css("height",Math.ceil(n.width()/t))})};$.fn.maintainAspectRatio=function(n){function t(n,t){var r=n.style[t],i;return r!=null&&r.length>0&&r.indexOf("%")<0?parseInt(r,10):(i=n.getAttribute(t),i!=null&&i.length>0&&i.indexOf("%")<0)?parseInt(i,10):null}n=$.extend({width:null,height:null},n);$(this).each(function(){var i=$(this),r,u;i.attr("data-maintain-aspect-ratio")==null&&(r=n.width||t(this,"width"),u=n.height||t(this,"height"),r==null||isNaN(r)||u==null||isNaN(u)||i.attr("data-maintain-aspect-ratio",Math.round(r*100/u)/100));i.attr("data-maintain-aspect-ratio")!=null&&(i.setAspectRatio(),DL.Utilities.$localJqueryVars.getMaintainAspectRatioElements=null,DL.Utilities.getWindowElement().trigger("maintainAspectRatio"))})};$.fn.isElementVisibleOnScreen=function(){var n=$(this).offset().top,t=$(this).offset().top+$(this).outerHeight(),i=$(window).scrollTop(),r=$(window).scrollTop()+window.innerHeight;return r>n&&i<t?!0:!1},function(n){function i(n){var i=$(n.currentTarget),r=i.attr("data-title"),u=i.attr("data-value")||r,f=i.attr("href");i.attr("target")==="_blank"?t.trackEvent(r,u,f):t.trackEventsOnNextPageLoad(r,u,f)}n.tracking=i;var t;(function(t){function i(){for(var i=[],t=0;t<arguments.length;t++)i[+t]=arguments[t];n.TestMode}function u(n,t,r){n!=null&&n.length>0&&i("_trackEvent",n,t,r)}function r(t,i,r){t!=null&&t.length>0&&n.analytics.track("_trackEvent",t,i,r,null,!0)}function f(t,i,r){if(window.sessionStorage){var u=window.sessionStorage.getItem("trackEventsOnNextPageLoad");u=u!=null&&u.length>0?JSON.parse(u):[];u.push({event:t,action:i,label:r});window.sessionStorage.setItem("trackEventsOnNextPageLoad",JSON.stringify(u))}else{n.analytics.trackEvent(t,i,r);return}}function e(){if(window.sessionStorage){var n=window.sessionStorage.getItem("trackEventsOnNextPageLoad");n!=null&&n.length>0&&(JSON.parse(n).forEach(function(n){r(n.event,n.action,n.label)}),window.sessionStorage.setItem("trackEventsOnNextPageLoad",""))}}function o(n,t){i("_trackPageview",n);_.isUndefined(window.pSUPERFLY)||(_.isUndefined(window._sf_async_config)||(window._sf_async_config.sponsorName=""),window.pSUPERFLY.virtualPage(n,t))}t.track=i;t.trackEvent=u;t.trackNonInteractionEvent=r;t.trackEventsOnNextPageLoad=f;t.fireTrackEventsOnNextPageLoad=e;t.trackPageview=o})(t=n.analytics||(n.analytics={}))}(DL||(DL={}));$(function(){setTimeout(DL.analytics.fireTrackEventsOnNextPageLoad,1500)});
/*!
 * jQuery imagesLoaded plugin v2.1.1
 * http://github.com/desandro/imagesloaded
 *
 * MIT License. by Paul Irish et al.
 */
(function(n,t){var i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";n.fn.imagesLoaded=function(r){function l(){var t=n(c),i=n(o);u&&(o.length?u.reject(f,t,i):u.resolve(f));n.isFunction(r)&&r.call(e,f,t,i)}function a(n){s(n.target,"error"===n.type)}function s(t,r){t.src===i||-1!==n.inArray(t,h)||(h.push(t),r?o.push(t):c.push(t),n.data(t,"imagesLoaded",{isBroken:r,src:t.src}),v&&u.notifyWith(n(t),[r,f,n(c),n(o)]),f.length===h.length&&(setTimeout(l),f.unbind(".imagesLoaded",a)))}var e=this,u=n.isFunction(n.Deferred)?n.Deferred():0,v=n.isFunction(u.notify),f=e.find("img").add(e.filter("img")),h=[],c=[],o=[];return n.isPlainObject(r)&&n.each(r,function(n,t){"callback"===n?r=t:u&&u[n](t)}),f.length?f.bind("load.imagesLoaded error.imagesLoaded",a).each(function(r,u){var e=u.src,f=n.data(u,"imagesLoaded");f&&f.src===e?s(u,f.isBroken):u.complete&&u.naturalWidth!==t?s(u,0===u.naturalWidth||0===u.naturalHeight):(u.readyState||u.complete)&&(u.src=i,u.src=e)}):l(),u?u.promise(e):e}})(jQuery),function(){"use strict";function it(){var u=!1,n;if("localStorage"in window)try{window.localStorage.setItem("_tmptest","tmpval");u=!0;window.localStorage.removeItem("_tmptest")}catch(f){}if(u)try{window.localStorage&&(i=window.localStorage,r="localStorage",o=i.jStorage_update)}catch(e){}else if("globalStorage"in window)try{window.globalStorage&&(i=window.location.hostname=="localhost"?window.globalStorage["localhost.localdomain"]:window.globalStorage[window.location.hostname],r="globalStorage",o=i.jStorage_update)}catch(s){}else if(t=document.createElement("link"),t.addBehavior){t.style.behavior="url(#default#userData)";document.getElementsByTagName("head")[0].appendChild(t);try{t.load("jStorage")}catch(h){t.setAttribute("jStorage","{}");t.save("jStorage");t.load("jStorage")}n="{}";try{n=t.getAttribute("jStorage")}catch(l){}try{o=t.getAttribute("jStorage_update")}catch(a){}i.jStorage=n;r="userDataBehavior"}else{t=null;return}nt();y();rt();tt();"addEventListener"in window&&window.addEventListener("pageshow",function(n){n.persisted&&c()},!1)}function g(){var n="{}";if(r=="userDataBehavior"){t.load("jStorage");try{n=t.getAttribute("jStorage")}catch(u){}try{o=t.getAttribute("jStorage_update")}catch(f){}i.jStorage=n}nt();y();tt()}function rt(){r=="localStorage"||r=="globalStorage"?"addEventListener"in window?window.addEventListener("storage",c,!1):document.attachEvent("onstorage",c):r=="userDataBehavior"&&setInterval(c,1e3)}function c(){var n;clearTimeout(k);k=setTimeout(function(){if(r=="localStorage"||r=="globalStorage")n=i.jStorage_update;else if(r=="userDataBehavior"){t.load("jStorage");try{n=t.getAttribute("jStorage_update")}catch(u){}}n&&n!=o&&(o=n,ut())},25)}function ut(){var i=f.parse(f.stringify(n.__jstorage_meta.CRC32)),r,t,u,e;g();r=f.parse(f.stringify(n.__jstorage_meta.CRC32));u=[];e=[];for(t in i)if(i.hasOwnProperty(t)){if(!r[t]){e.push(t);continue}i[t]!=r[t]&&String(i[t]).substr(0,2)=="2."&&u.push(t)}for(t in r)r.hasOwnProperty(t)&&(i[t]||u.push(t));h(u,"updated");h(e,"deleted")}function h(n,t){var i,r,o,f,e;if(n=[].concat(n||[]),t=="flushed"){n=[];for(e in u)u.hasOwnProperty(e)&&n.push(e);t="deleted"}for(i=0,o=n.length;i<o;i++){if(u[n[i]])for(r=0,f=u[n[i]].length;r<f;r++)u[n[i]][r](n[i],t);if(u["*"])for(r=0,f=u["*"].length;r<f;r++)u["*"][r](n[i],t)}}function l(){var n=(+new Date).toString();if(r=="localStorage"||r=="globalStorage")try{i.jStorage_update=n}catch(u){r=!1}else r=="userDataBehavior"&&(t.setAttribute("jStorage_update",n),t.save("jStorage"));c()}function nt(){if(i.jStorage)try{n=f.parse(String(i.jStorage))}catch(t){i.jStorage="{}"}else i.jStorage="{}";p=i.jStorage?String(i.jStorage).length:0;n.__jstorage_meta||(n.__jstorage_meta={});n.__jstorage_meta.CRC32||(n.__jstorage_meta.CRC32={})}function a(){et();try{i.jStorage=f.stringify(n);t&&(t.setAttribute("jStorage",i.jStorage),t.save("jStorage"));p=i.jStorage?String(i.jStorage).length:0}catch(r){}}function e(n){if(typeof n!="string"&&typeof n!="number")throw new TypeError("Key name must be string or numeric");if(n=="__jstorage_meta")throw new TypeError("Reserved key name");return!0}function y(){var u,t,i,f,r=Infinity,e=!1,o=[];if(clearTimeout(d),n.__jstorage_meta&&typeof n.__jstorage_meta.TTL=="object"){u=+new Date;i=n.__jstorage_meta.TTL;f=n.__jstorage_meta.CRC32;for(t in i)i.hasOwnProperty(t)&&(i[t]<=u?(delete i[t],delete f[t],delete n[t],e=!0,o.push(t)):i[t]<r&&(r=i[t]));r!=Infinity&&(d=setTimeout(y,Math.min(r-u,2147483647)));e&&(a(),l(),h(o,"deleted"))}}function tt(){var t,f,r,u,i;if(n.__jstorage_meta.PubSub){for(u=w,i=[],t=f=n.__jstorage_meta.PubSub.length-1;t>=0;t--)r=n.__jstorage_meta.PubSub[t],r[0]>w&&(u=r[0],i.unshift(r));for(t=i.length-1;t>=0;t--)ft(i[t][1],i[t][2]);w=u}}function ft(n,t){if(s[n])for(var i=0,r=s[n].length;i<r;i++)try{s[n][i](n,f.parse(f.stringify(t)))}catch(u){}}function et(){var i,t,r;if(n.__jstorage_meta.PubSub){for(i=+new Date-2e3,t=0,r=n.__jstorage_meta.PubSub.length;t<r;t++)if(n.__jstorage_meta.PubSub[t][0]<=i){n.__jstorage_meta.PubSub.splice(t,n.__jstorage_meta.PubSub.length-t);break}n.__jstorage_meta.PubSub.length||delete n.__jstorage_meta.PubSub}}function ot(t,i){n.__jstorage_meta||(n.__jstorage_meta={});n.__jstorage_meta.PubSub||(n.__jstorage_meta.PubSub=[]);n.__jstorage_meta.PubSub.unshift([+new Date,t,i]);a();l()}function st(n,t){for(var f=n.length,i=t^f,u=0,r;f>=4;)r=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,r=(r&65535)*1540483477+(((r>>>16)*1540483477&65535)<<16),r^=r>>>24,r=(r&65535)*1540483477+(((r>>>16)*1540483477&65535)<<16),i=(i&65535)*1540483477+(((i>>>16)*1540483477&65535)<<16)^r,f-=4,++u;switch(f){case 3:i^=(n.charCodeAt(u+2)&255)<<16;case 2:i^=(n.charCodeAt(u+1)&255)<<8;case 1:i^=n.charCodeAt(u)&255;i=(i&65535)*1540483477+(((i>>>16)*1540483477&65535)<<16)}return i^=i>>>13,i=(i&65535)*1540483477+(((i>>>16)*1540483477&65535)<<16),i^=i>>>15,i>>>0}var v=window.jQuery||window.$||(window.$={}),f={parse:window.JSON&&(window.JSON.parse||window.JSON.decode)||String.prototype.evalJSON&&function(n){return String(n).evalJSON()}||v.parseJSON||v.evalJSON,stringify:Object.toJSON||window.JSON&&(window.JSON.stringify||window.JSON.encode)||v.toJSON};if(typeof f.parse!="function"||typeof f.stringify!="function")throw new Error("No JSON support found, include //cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js to page");var n={__jstorage_meta:{CRC32:{}}},i={jStorage:"{}"},t=null,p=0,r=!1,u={},k=!1,o=0,s={},w=+new Date,d,b={isXML:function(n){var t=(n?n.ownerDocument||n:0).documentElement;return t?t.nodeName!=="HTML":!1},encode:function(n){if(!this.isXML(n))return!1;try{return(new XMLSerializer).serializeToString(n)}catch(t){try{return n.xml}catch(i){}}return!1},decode:function(n){var i="DOMParser"in window&&(new DOMParser).parseFromString||window.ActiveXObject&&function(n){var t=new ActiveXObject("Microsoft.XMLDOM");return t.async="false",t.loadXML(n),t},t;return i?(t=i.call("DOMParser"in window&&new DOMParser||window,n,"text/xml"),this.isXML(t)?t:!1):!1}};v.jStorage={version:"0.4.12",set:function(t,i,r){if(e(t),r=r||{},typeof i=="undefined")return this.deleteKey(t),i;if(b.isXML(i))i={_is_xml:!0,xml:b.encode(i)};else{if(typeof i=="function")return undefined;i&&typeof i=="object"&&(i=f.parse(f.stringify(i)))}return n[t]=i,n.__jstorage_meta.CRC32[t]="2."+st(f.stringify(i),2538058380),this.setTTL(t,r.TTL||0),h(t,"updated"),i},get:function(t,i){return(e(t),t in n)?n[t]&&typeof n[t]=="object"&&n[t]._is_xml?b.decode(n[t].xml):n[t]:typeof i=="undefined"?null:i},deleteKey:function(t){return(e(t),t in n)?(delete n[t],typeof n.__jstorage_meta.TTL=="object"&&t in n.__jstorage_meta.TTL&&delete n.__jstorage_meta.TTL[t],delete n.__jstorage_meta.CRC32[t],a(),l(),h(t,"deleted"),!0):!1},setTTL:function(t,i){var r=+new Date;return(e(t),i=Number(i)||0,t in n)?(n.__jstorage_meta.TTL||(n.__jstorage_meta.TTL={}),i>0?n.__jstorage_meta.TTL[t]=r+i:delete n.__jstorage_meta.TTL[t],a(),y(),l(),!0):!1},getTTL:function(t){var r=+new Date,i;return(e(t),t in n&&n.__jstorage_meta.TTL&&n.__jstorage_meta.TTL[t])?(i=n.__jstorage_meta.TTL[t]-r,i||0):0},flush:function(){return n={__jstorage_meta:{CRC32:{}}},a(),l(),h(null,"flushed"),!0},storageObj:function(){function t(){}return t.prototype=n,new t},index:function(){var i=[];for(var t in n)n.hasOwnProperty(t)&&t!="__jstorage_meta"&&i.push(t);return i},storageSize:function(){return p},currentBackend:function(){return r},storageAvailable:function(){return!!r},listenKeyChange:function(n,t){e(n);u[n]||(u[n]=[]);u[n].push(t)},stopListening:function(n,t){if(e(n),u[n]){if(!t){delete u[n];return}for(var i=u[n].length-1;i>=0;i--)u[n][i]==t&&u[n].splice(i,1)}},subscribe:function(n,t){if(n=(n||"").toString(),!n)throw new TypeError("Channel not defined");s[n]||(s[n]=[]);s[n].push(t)},publish:function(n,t){if(n=(n||"").toString(),!n)throw new TypeError("Channel not defined");ot(n,t)},reInit:function(){g()},noConflict:function(n){return delete window.$.jStorage,n&&(window.jStorage=this),this}};it()}();
/*!
 * jQuery Cookie Plugin v1.3.1
 * https://github.com/carhartl/jquery-cookie
 *
 * Copyright 2013 Klaus Hartl
 * Released under the MIT license
 */
(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)})(function(n){function i(n){if(t.raw)return n;try{return decodeURIComponent(n.replace(u," "))}catch(i){}}function r(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));n=i(n);try{return t.json?JSON.parse(n):n}catch(r){}}var u=/\+/g,t=n.cookie=function(u,f,e){var a,c,o,l,s,v;if(f!==undefined)return e=n.extend({},t.defaults,e),typeof e.expires=="number"&&(a=e.expires,c=e.expires=new Date,c.setDate(c.getDate()+a)),f=t.json?JSON.stringify(f):String(f),document.cookie=[t.raw?u:encodeURIComponent(u),"=",t.raw?f:encodeURIComponent(f),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("");for(o=u?undefined:{},l=document.cookie?document.cookie.split("; "):[],s=0,v=l.length;s<v;s++){var y=l[s].split("="),p=i(y.shift()),h=y.join("=");if(u&&u===p){o=r(h);break}u||(h=r(h))===undefined||(o[p]=h)}return o};t.defaults={};n.removeCookie=function(t,i){return n.cookie(t)!==undefined?(n.cookie(t,"",n.extend({},i,{expires:-1})),!0):!1}}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(require("jquery"),require("window")):typeof define=="function"&&define.amd?define("isInViewport",["jquery","window"],t):t(n.$,n.window)}(this,function(n,t){"use strict";function u(t){var i=this;if(arguments.length===1&&typeof t=="function"&&(t=[t]),!(t instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");return t.forEach(function(t){typeof t!="function"?(console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on")):[].slice.call(i).forEach(function(i){return t.call(n(i))})}),this}function f(t){var i=n("<div><\/div>").css({width:"100%"}),r;return t.append(i),r=t.width()-i.width(),i.remove(),r}function i(r,u){var h=r.getBoundingClientRect(),c=h.top,l=h.bottom,a=h.left,v=h.right,e=n.extend({tolerance:0,viewport:t},u),o=e.viewport.jquery?e.viewport:n(e.viewport),s;o.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),o=n(t));var y=o.height(),p=o.width(),w=o[0].toString();return(o[0]!==t&&w!=="[object Window]"&&w!=="[object DOMWindow]"&&(s=o[0].getBoundingClientRect(),c=c-s.top,l=l-s.top,a=a-s.left,v=v-s.left,i.scrollBarWidth=i.scrollBarWidth||f(o),p-=i.scrollBarWidth),e.tolerance=~~Math.round(parseFloat(e.tolerance)),e.tolerance<0&&(e.tolerance=y+e.tolerance),v<=0||a>=p)?!1:e.tolerance?c<=e.tolerance&&l>=e.tolerance:l>0&&c<=y}function r(t){if(t){var i=t.split(",");return i.length===1&&isNaN(i[0])&&(i[1]=i[0],i[0]=void 0),{tolerance:i[0]?i[0].trim():void 0,viewport:i[1]?n(i[1].trim()):void 0}}return{}}n="default"in n?n["default"]:n;t="default"in t?t["default"]:t;
/**
     * @author  Mudit Ameta
     * @license https://github.com/zeusdeux/isInViewport/blob/master/license.md MIT
     */
n.extend(n.expr[":"],{"in-viewport":n.expr.createPseudo?n.expr.createPseudo(function(n){return function(t){return i(t,r(n))}}):function(n,t,u){return i(n,r(u[3]))}});n.fn.isInViewport=function(n){return this.filter(function(t,r){return i(r,n)})};n.fn.run=u}),function(n){var t;(function(t){function r(){i._init()}var u,f,i;t._init=r,function(t){function i(){var n=this;if(_.isUndefined(window.FB))return _(function(){$.proxy(t._init,n)()}).chain().bind(n).delay(100);window.FB.Event.subscribe("edge.create",function(n,i){t.action("like",n,i)});window.FB.Event.subscribe("edge.remove",function(n,i){t.action("unlike",n,i)});window.FB.getLoginStatus(function(n){n.status==="connected"&&$(".fb-login-item").removeClass("hidden")});window.FB.Event.subscribe("xfbml.render",function(){$(".fb-social-container").removeClass("invisible")})}function r(n){var i=this;if(_.isUndefined(window.FB))return _(function(){$.proxy(t.refresh,i)()}).chain().bind(i).delay(100);n=n||$(document.body);n.each(function(n,t){window.FB.XFBML.parse(t.parentNode||t)})}function u(t,i,r){t=t||"like";var u=$(r).closest("[data-track-category]"),f="Facebook";u.length>0&&(f=u.attr("data-track-category"));n.analytics.track("_trackSocial",f,t,i);n.Utilities.getWindowElement().trigger("facebook."+t,$(r))}t._init=i;t.refresh=r;t.action=u}(u=t.facebook||(t.facebook={})),function(t){function r(){var i=this;if(_.isUndefined(window.twttr))return _(function(){$.proxy(t._init,i)()}).chain().bind(i).delay(100);window.twttr.events.bind("tweet",function(t){if(t){var i;t.target&&t.target.nodeName==="IFRAME"&&(i=window.location.href);n.analytics.track("_trackSocial","twitter","tweet",i)}});window.twttr.events.bind("rendered",function(n){var t=$(n.target),i=t.closest(".twttr-social-container");i.removeClass("invisible")})}function i(n){var t=this;if(_.isUndefined(window.twttr))return _(function(){$.proxy(i,t,n)()}).chain().bind(t).delay(100);window.twttr.hasOwnProperty("widgets")&&(n=n||$(document.body),n.each(function(n,t){window.twttr.widgets.load(t)}))}t._init=r;t.refresh=i}(f=t.twitter||(t.twitter={})),function(t){function i(){n.Utilities.getDocumentElement().on("click",".pin-btn a",function(t){var i=$(t.currentTarget).attr("href");n.analytics.track("_trackSocial","pinterest","pin",i)})}function r(n,t,i){return"https://www.pinterest.com/pin/create/button/?url="+encodeURIComponent(window.DL.SiteBaseUrl()+n)+"&media="+encodeURIComponent(t)+(i?"&desciption="+encodeURIComponent(i):"")}t._init=i;t._pinButtonUrl=r}(i=t.pinterest||(t.pinterest={}))})(t=n.social||(n.social={}))}(DL||(DL={})),function(n){var t;(function(t){function et(n,t){if(n.attr("data-ajax-load")!=null&&n.attr("data-ajax-load").length>0&&n.attr("data-delay-load-status")!=="loaded")n.one("loaded",function(){t()});else t()}function y(t){n.Utilities.SilenceExceptionsOnLive(function(){var i=t.attr("data-ajax-load"),r;i!==null&&i.length!==0&&t.attr("data-delay-load-status")==null&&(t.attr("data-delay-load-status","loading"),r=t.attr("data-ajax-load-success"),$.ajax({url:i}).done(function(i){t.attr("data-delay-load-status","loaded");var u=i;i.jquery||(u=$(i));t.append(u);n.Utilities.executeFunctionByName(r,window,t,u);t.trigger("loaded");f(u)}).always(function(){t.children().length===0&&t.remove()}))})}function p(t){n.Utilities.SilenceExceptionsOnLive(function(){function u(i){t.attr("data-delay-load-status","loaded");var e=t.html(),o=_.template(e)(i),u=$(o);t.replaceWith(u);n.Utilities.executeFunctionByName(r,window,i,u);u.trigger("loaded",i);f(u)}var i=t.attr("data-ajax-json"),r,e;i!==null&&i.length!==0&&t.attr("data-delay-load-status")==null&&(t.attr("data-delay-load-status","loading"),r=t.attr("data-ajax-json-success"),i.startsWith("#")&&u(JSON.parse($(i).html())),e=$.getJSON(i,u))})}function w(t){var i=n.Utilities.getBodyElement().find('article[data-primary-article="true"]').attr("data-article-id");i!=null&&i.length>0&&t.filterFind('[data-article-id="'+i+'"]').remove()}function ot(n){var t=n.filterFind("[data-article-id]"),i=t.length;w(n);t=n.filterFind("[data-article-id]");i===t.length&&t.last().remove()}function b(){n.Utilities.getDocumentElement().on("click",".article-list-load-more",function(n){n.preventDefault();var r=$(this),t=$(this).closest(".article-list-container").find(".article-list"),i;$.ajax({url:r.attr("href")}).done(function(n){var e=$(n).filterFind(".article-list"),o=$(n).filterFind(".article-list-load-more"),u;i&&e.find("[data-article-id]").each(function(){var n=$(this);n.attr("data-article-id")===i&&n.remove()});u=e.children();t.append(u);f(u);t.attr("data-delay-load-status","loaded");t.trigger("items-loaded",[u]);r.replaceWith(o);ut(o.attr("href"));setTimeout(a,500)});i=$(document.body).find('[data-primary-article="true"]').attr("data-article-id");t.attr("data-delay-load-status","loading")})}function st(n){n=n||$(document.body);var t=n.filterFind("img");t.each(function(n,t){var i=t;setTimeout(function(){o(i)},(n+1)*4)})}function o(i,r){i!=null&&n.Utilities.SilenceExceptionsOnLive(function(){var u,c,y,f,o,b,p,l,e,a,w,h,v,s;if(r=r||{},u=$(i),!i.hasAttribute("data-responsive-widths")){c=u.attr("src");y=u.attr("data-src");y!=null&&y.length>0&&(c==null||c.length===0||c.startsWith("data:image/"))&&(u.attr("src",u.attr("data-src")),u.removeAttr("data-src"));return}if(f=parseFloat(u.attr("data-maxdevicepixelratio")),f=Math.min(t.devicePixelRatio,isNaN(f)?1:f),o=(r.parentWidth||Math.max(i.parentElement.clientWidth>0?i.parentElement.clientWidth:u.parent().innerWidth(),i.clientWidth))*f,r.parentHeight!=null&&(b=parseFloat(u.attr("data-aspect-ratio")),p=r.parentHeight*b*f,o>p&&(o=p)),i.naturalWidth==null||o>i.naturalWidth||o===0){if(l=u.attr("data-responsive-widths"),l==null||l.length===0)return;if(e=l.split(",").map(Number),e==null||e.length===0)return;if(a=u.attr("data-src"),u.attr("data-src",""),w=a!=null&&a.length>4?a:i.src,h=w,o>0){for(v=e[0]||200,s=1;s<e.length;s++){if(f<2&&(v=e[s]),e[s]>o)break;f>=2&&(v=e[s])}h=n.Utilities.getImgUrlForWidth(w,v)}h!==i.src&&h!==i.currentSrc&&(i.src=h)}})}function k(){e();l()}function s(t){t=t||$(document.body);n.Utilities.isMobile()?t.filterFind(".hidden-phone").remove():n.Utilities.isDesktop()?t.filterFind(".hidden-desktop").remove():n.Utilities.isTablet()&&t.filterFind(".hidden-tablet").remove();t.filterFind("[data-removeonscreenwidth]").each(function(t,i){var u,f,r,e;try{for(u=$(i),f=u.attr("data-removeonscreenwidth").split(","),r=0;r<f.length;r++)if(e=f[r].split("-"),n.Utilities.getWindowActualWidth()>=parseInt(e[0],10)&&n.Utilities.getWindowActualWidth()<=parseInt(e[1],10)){u.remove();return}}catch(o){n.Utilities.AlertError(o)}})}function u(t){t.filterFind("[data-delay-load]").each(function(t,i){var r=i,u=$(r);setTimeout(function(){n.Utilities.SilenceExceptionsOnLive(function(){if(r instanceof HTMLImageElement)o(r);else if(r instanceof HTMLIFrameElement){var n=u.attr("src");(n==null||n.length===0)&&u.attr("src",u.attr("data-src"))}else r.hasAttribute("data-ajax-load")?y(u):r.hasAttribute("data-ajax-json")&&p(u);u.removeAttr("data-delay-load").removeAttr("data-delay-load-mobile")})},(t+1)*4)})}function h(){if(i!=null&&i.shift){var n=i.shift();n!=null&&u(n.item)}}function c(){var t,r;if(i==null||i.length===0){n.Utilities.getWindowElement().off("scroll.delayLoad");return}for(t=n.Utilities.getWindowElement().scrollTop()+n.Utilities.getWindowActualHeight()*1.6;i.length>0;){if(r=i[0],r.offset.top>t)return;h()}}function d(){if(i===null||i.length===0){n.Utilities.getWindowElement().off("scroll.delayLoad");return}i.forEach(function(n){var t=n.item.attr("data-ajax-load");t&&r.pushUnique(t)})}function l(t){var r,f;t=t||$(document.body);n.Utilities.getWindowActualWidth()<768&&t.filterFind("[data-delay-load-mobile]").each(function(n,t){t.setAttribute("data-delay-load",t.getAttribute("data-delay-load-mobile"))});r=t.filterFind("[data-delay-load]");u(r.filter('[data-delay-load="immediate"]'));u(r.filter('[data-delay-load="docready"]'));f=r.filterFind('[data-delay-load="scroll"]');f.each(function(n,t){i.push({item:$(t)})});e();d();n.Utilities.getWindowElement().off("scroll.delayLoad").on("scroll.delayLoad",_.throttle(c,32))}function e(){i.forEach(function(n){n.offset=n.item.offset()});i.sort(function(n,t){return n.offset.top-t.offset.top});c()}function ht(t){(function(i,r,u){var f,e=i.getElementsByTagName(r)[0],o=i.location.toString(),s=/^http:/.test(o)?"http":"https";i.getElementById(u)?(t=t||$(document.body),n.social.twitter.refresh(t)):(f=i.createElement(r),f.id=u,f.async=!0,f.src=s+"://platform.twitter.com/widgets.js",e.parentNode.insertBefore(f,e),n.social.twitter._init())})(document,"script","twitter-wjs")}function g(t){(function(i,r,u){var f,e=i.getElementsByTagName(r)[0];i.getElementById(u)?(t=t||$(document.body),n.social.facebook.refresh(t)):(f=i.createElement(r),f.id=u,f.defer="defer",f.src="https://connect.facebook.net/en_UK/sdk.js#xfbml=1&version=v2.6",e.parentNode.insertBefore(f,e),n.social.facebook._init())})(document,"script","facebook-jssdk")}function nt(){(function(t,i,r){var u,f=t.getElementsByTagName(i)[0];t.getElementById(r)?setTimeout(function(){window.instgrm!=null&&window.instgrm.Embeds!=null?window.instgrm.Embeds.process():n.Utilities.AlertError("Instagram Embed cant execute process()")},2e3):(u=t.createElement(i),u.id=r,u.async=!0,u.src="//platform.instagram.com/en_US/embeds.js",f.parentNode.insertBefore(u,f))})(document,"script","instagram-embeds")}function tt(){(function(n,t,i){var r,u=n.getElementsByTagName(t)[0];n.getElementById(i)||(r=n.createElement(t),r.id=i,r.defer="defer",r.src="//s.skimresources.com/js/54423X1306182.skimlinks.js",u.parentNode.insertBefore(r,u))})(document,"script","skimresources")}function it(n){n=n||$(document.body);var i=[],r=n.filterFind("[data-script-depends]");r.each(function(n,t){$(t).attr("data-script-depends").split(",").forEach(function(n){i.push(n)})});i.indexOf("twitter-widgets")>=0&&t.runTwitterWidgetScript(n.filterFind('[data-script-depends="twitter-widgets"]'));i.indexOf("facebook-sdk")>=0&&g(n.filterFind('[data-script-depends="facebook-sdk"]'));i.indexOf("instagram-embeds")>=0&&nt();i.indexOf("skimresources")>=0&&tt()}function f(t,i){function r(){t.find(".nowrap").each(function(n,t){var i=$(t);i.width()>=i.parent().width()&&i.removeClass("nowrap")})}i=i||{};t=t||$(document.body);s(t);r();setTimeout(r,1500);t.filterFind("[data-sponsored]:visible").each(function(t,i){var f=$(i),r="unknown",u;window.adTag!=null&&window.adTag.pageType!=null&&(r=window.adTag.pageType);u=f.find("a[data-sponsor-link]");n.analytics.trackNonInteractionEvent("Sponsored article view",r,u.first().attr("href"));u.on("click.trackEvent",function(){n.analytics.trackEventsOnNextPageLoad("Sponsored article click",r,$(this).attr("href"))})});i.loadNow?u(t):l(t);it(t)}function rt(t,i){var f,r,u;if(i=i||"prefetch",t!=null){for(f=n.Utilities.AsArray(t),r="",u=0;u<f.length;u++)r+='<link rel="'+i+'" href="'+f[u]+'" />';r.length>0&&$(document.head).append(r)}}function ut(t){$.merge(r,n.Utilities.AsArray(t))}function a(){rt(r,"prefetch");r=[]}function ft(){e();n.Utilities.OnUserActiveOnPage(function(){a();v=setInterval(function(){h();(i==null||i.length===0)&&clearInterval(v)},350)})}var i,r,v;t.devicePixelRatio=window.devicePixelRatio||1;i=[];r=[];t.runWhenLoaded=et;t.ajaxLoadHtml=y;t.ajaxLoadJson=p;t.removeDuplicatePrimaryArticle=w;t.removeDuplicatePrimaryArticleOrAnother=ot;t.initInfiniteLoadArticles=b;t.loadBestImageSizes=st;t.loadBestImageSize=o;t.sizeDependent=k;t.removeOnScreenWidth=s;t.loadNow=u;t.loadNextLoadOnScrollItem=h;t.loadItemsNearViewport=c;t.prefetchItemsForLoadOnScroll=d;t.delayLoadElements=l;t.calculateLoadOnScrollItems=e;s();t.runTwitterWidgetScript=ht;t.runFacebookSdkScript=g;t.runInstagramEmbedsScript=nt;t.runSkimResourcesScript=tt;t.runScriptDependencies=it;t.contentReady=f;t.loadAssets=rt;t.queuePrefetchAssets=ut;t.loadPrefetchAssets=a;v=null;t.windowOnLoad=ft;t.resizeDebounce=_.debounce(k,60);window.performance&&window.performance.timing&&window.performance.timing.responseEnd-window.performance.timing.responseStart>1e3&&(t.devicePixelRatio=1);$(function(){f();b()});n.Utilities.getWindowElement().on("load.deviceLoadOptimisation",ft).on("resize.deviceLoadOptimisation",t.resizeDebounce)})(t=n.deviceLoadOptimisation||(n.deviceLoadOptimisation={}))}(DL||(DL={})),function(n){function t(n){return n.each(function(n,t){return new i($(t))}),n}n.expandableImages=t;var i=function(){function t(n){this.$image=n;this.init()}return t.prototype.init=function(){var t=this,i=$("#expandable-img-tmpl").html(),u;if(i!=null&&i.length!==0){var c=this.$image.find(".img"),f=this.$image.data("img"),e=this.$image.data("src"),o=this.$image.find(".img-caption").clone(),s={img_src:e,img_id:f},h=_.template(i)(s),r=$(h);n.Utilities.getBodyElement().append(r);u=r.find(".image");u.append(o);this.$image.find(".img").on("click",function(){return t.click()});this.$image.find(".img").on("mouseenter",function(){return t.loadExpandedImg()});n.Utilities.getDocumentElement().on("click",".expanded-img",function(){return t.close()})}},t.prototype.loadExpandedImg=function(){var i=this.$image.closest(".inline-img").data("img"),r=$('.expanded-img[data-img="'+i+'"]'),t=r.find(".image > img"),n=t.attr("data-src");n!=null&&n.length>0&&t.attr("src",n)},t.prototype.click=function(){var r=this,t,i;this.loadExpandedImg();t=this.$image.closest(".inline-img").data("img");i=$('.expanded-img[data-img="'+t+'"]');i.addClass("open");n.Utilities.getWindowElement().one("scroll.collapseExpandedImage",function(){return r.close()})},t.prototype.close=function(){var t=this,i=$(".expanded-img.open");i.removeClass("open");n.Utilities.getWindowElement().off("scroll.collapseExpandedImage",function(){return t.close()})},t}()}(DL||(DL={})),function(n){function t(t){var i=t.charCode?t.charCode:t.keyCode?t.keyCode:0;return n.keyFn.hasOwnProperty(i)&&n.keyFn[i](),i}n.keyFn=n.keyFn||{};n.keydown=t}(DL||(DL={}));$(document).on("keydown.keyboard",function(n){return DL.keydown(n)});(function(){"use strict";function s(n){t.push(n);1==t.length&&e()}function h(){for(;t.length;)t[0](),t.shift()}function n(n){this.a=i;this.b=void 0;this.f=[];var t=this;try{n(function(n){o(t,n)},function(n){r(t,n)})}catch(u){r(t,u)}}function c(t){return new n(function(n,i){i(t)})}function u(t){return new n(function(n){n(t)})}function o(n,t){var u,e;if(n.a==i){if(t==n)throw new TypeError;u=!1;try{if(e=t&&t.then,null!=t&&"object"==typeof t&&"function"==typeof e){e.call(t,function(t){u||o(n,t);u=!0},function(t){u||r(n,t);u=!0});return}}catch(s){u||r(n,s);return}n.a=0;n.b=t;f(n)}}function r(n,t){if(n.a==i){if(t==n)throw new TypeError;n.a=1;n.b=t;f(n)}}function f(n){s(function(){if(n.a!=i)for(;n.f.length;){var t=n.f.shift(),u=t[0],f=t[1],r=t[2],t=t[3];try{0==n.a?"function"==typeof u?r(u.call(void 0,n.b)):r(n.b):1==n.a&&("function"==typeof f?r(f.call(void 0,n.b)):t(n.b))}catch(e){t(e)}}})}function l(t){return new n(function(n,i){function o(i){return function(r){f[i]=r;e+=1;e==t.length&&n(f)}}var e=0,f=[],r;for(0==t.length&&n(f),r=0;r<t.length;r+=1)u(t[r]).c(o(r),i)})}function a(t){return new n(function(n,i){for(var r=0;r<t.length;r+=1)u(t[r]).c(n,i)})}var e,t=[],i;e=function(){setTimeout(h)};i=2;n.prototype.g=function(n){return this.c(void 0,n)};n.prototype.c=function(t,i){var r=this;return new n(function(n,u){r.f.push([t,i,n,u]);f(r)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=c,window.Promise.race=a,window.Promise.all=l,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g)})(),function(){function s(n,t){document.addEventListener?n.addEventListener("scroll",t,!1):n.attachEvent("scroll",t)}function c(n){document.body?n():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t);n()}):document.attachEvent("onreadystatechange",function i(){("interactive"==document.readyState||"complete"==document.readyState)&&(document.detachEvent("onreadystatechange",i),n())})}function r(n){this.a=document.createElement("div");this.a.setAttribute("aria-hidden","true");this.a.appendChild(document.createTextNode(n));this.b=document.createElement("span");this.c=document.createElement("span");this.h=document.createElement("span");this.f=document.createElement("span");this.g=-1;this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;";this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;";this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;";this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;";this.b.appendChild(this.h);this.c.appendChild(this.f);this.a.appendChild(this.b);this.a.appendChild(this.c)}function t(n,t){n.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;left:-999px;white-space:nowrap;font:"+t+";"}function h(n){var t=n.a.offsetWidth,i=t+100;return n.f.style.width=i+"px",n.c.scrollLeft=i,n.b.scrollLeft=n.b.scrollWidth+100,n.g!==t?(n.g=t,!0):!1}function u(n,t){function i(){var n=r;h(n)&&null!==n.a.parentNode&&t(n.g)}var r=n;s(n.b,i);s(n.c,i);h(n)}function i(n,t){var i=t||{};this.family=n;this.style=i.style||"normal";this.weight=i.weight||"normal";this.stretch=i.stretch||"normal"}function l(){if(null===e){var n=document.createElement("div");try{n.style.font="condensed 100px sans-serif"}catch(t){}e=""!==n.style.font}return e}function n(n,t){return[n.style,n.weight,l()?n.stretch:"","100px",t].join(" ")}var f=null,e=null,o=null;i.prototype.load=function(i,e){var s=this,h=i||"BESbswy",l=e||3e3,a=(new Date).getTime();return new Promise(function(i,e){if(null===o&&(o=!!window.FontFace),o){var v=new Promise(function(t,i){function r(){(new Date).getTime()-a>=l?i():document.fonts.load(n(s,s.family),h).then(function(n){1<=n.length?t():setTimeout(r,25)},function(){i()})}r()}),y=new Promise(function(n,t){setTimeout(t,l)});Promise.race([y,v]).then(function(){i(s)},function(){e(s)})}else c(function(){function k(){var n;(n=-1!=c&&-1!=v||-1!=c&&-1!=y||-1!=v&&-1!=y)&&((n=c!=v&&c!=y&&v!=y)||(null===f&&(n=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),f=!!n&&(536>parseInt(n[1],10)||536===parseInt(n[1],10)&&11>=parseInt(n[2],10))),n=f&&(c==d&&v==d&&y==d||c==g&&v==g&&y==g||c==nt&&v==nt&&y==nt)),n=!n);n&&(null!==o.parentNode&&o.parentNode.removeChild(o),clearTimeout(it),i(s))}function tt(){if((new Date).getTime()-a>=l)null!==o.parentNode&&o.parentNode.removeChild(o),e(s);else{var n=document.hidden;(!0===n||void 0===n)&&(c=p.a.offsetWidth,v=w.a.offsetWidth,y=b.a.offsetWidth,k());it=setTimeout(tt,50)}}var p=new r(h),w=new r(h),b=new r(h),c=-1,v=-1,y=-1,d=-1,g=-1,nt=-1,o=document.createElement("div"),it=0;o.dir="ltr";t(p,n(s,"sans-serif"));t(w,n(s,"serif"));t(b,n(s,"monospace"));o.appendChild(p.a);o.appendChild(w.a);o.appendChild(b.a);document.body.appendChild(o);d=p.a.offsetWidth;g=w.a.offsetWidth;nt=b.a.offsetWidth;tt();u(p,function(n){c=n;k()});t(p,n(s,'"'+s.family+'",sans-serif'));u(w,function(n){v=n;k()});t(w,n(s,'"'+s.family+'",serif'));u(b,function(n){y=n;k()});t(b,n(s,'"'+s.family+'",monospace'))})})};"undefined"!=typeof module?module.exports=i:(window.FontFaceObserver=i,window.FontFaceObserver.prototype.load=i.prototype.load)}(),function(n){function t(n,t){var i,r,u;return n==null||n.length===0?null:(i=document.createElement("span"),i.style.whiteSpace="nowrap",i.style.font=t.font,i.style.letterSpacing=t.letterSpacing,i.style.boxSizing=t.boxSizing,i.style.padding=t.padding,i.style.margin=t.margin,i.style.border=t.border,i.innerHTML=n,document.body.appendChild(i),r=i.offsetWidth,u=i.offsetHeight,document.body.removeChild(i),{width:r+.5,height:u+.5})}function i(t){for(var i=0;i<t.length;i++)(function(t){var i=window.getComputedStyle(t,null);i.display==="block"&&i.textAlign==="center"&&new FontFaceObserver(i.fontFamily).load().then(function(){n.balanceTextRun(t)})})(t[i])}function r(t){var r,i;t.style.width="";var u=window.getComputedStyle(t,null),f=n.getStringSize(t.textContent,u),s=t.offsetHeight;if(t.offsetWidth+.5>=f.width)t.style.width=f.width+"px";else if(t.offsetWidth*2+.5>=f.width){var e=0,h=0,o=t.textContent.split(/\s+/);for(r=1;r<o.length;r++)if(e=n.getStringSize(o.slice(0,r).join(" "),u).width,h=n.getStringSize(o.slice(r).join(" "),u).width,e>=h){t.style.width=e+"px";break}}else for(i=1;i<=30&&s===t.offsetHeight;i++)t.style.width=t.offsetWidth-i*20+"px";for(i=1;i<=12&&s<t.offsetHeight;i++)t.style.width=t.offsetWidth+i*10+"px"}n.getStringSize=t;n.balanceText=i;n.balanceTextRun=r}(DL||(DL={}));window.DL=window.DL||{};+function(){"use strict";DL.twitter={tcoLength:20,shareUrl:function(n,t,i){var r=140-i.length-DL.twitter.tcoLength-9;return t.length>r&&(t=t.substr(0,r-1)+"…"),"https://twitter.com/share?url="+encodeURI(n)+"&via="+encodeURIComponent(i)+"&text="+encodeURIComponent(t)}}}(window.jQuery),function(n){var t=function(){function n(){$(document).on("keydown",window.DL.keydown).on("click",'[data-track="event"]',_.debounce(window.DL.tracking,250,!0)).on("ready",window.DL.social._init)}return n}();n.BaseSitePage=t}(DL||(DL={}));window.AM=window.AM||{};AM.menu=function(){var t,i,n;DL.Utilities.isMobile()||DL.Utilities.isTablet()?(t=$("body"),t.toggleClass("menu-visible"),toggleAdBlock(),n=t.hasClass("menu-visible")?"Menu Button Show":"Menu Button Hide",DL.analytics.trackEvent("Header-Mobile",n,window.location.pathname)):(i=$("#header"),i.toggleClass("click-menu-show"),n=i.hasClass("click-menu-show")?"Menu Button Show":"Menu Button Hide",DL.analytics.trackEvent("Header",n,window.location.pathname));toggleAdBlock()};AM.detectScrollbarWidth=function(){var n=$("body").prop("clientWidth"),t=$(window)[0].innerWidth;return t-n};AM.menu.search=function(n){n.preventDefault();$(document.body).hasClass("search-open")||$("#search-input").focus();$(document.body).toggleClass("search-open")};AM.newsletter=function(){$(".newsletter-opt-input").each(function(){var n=$(this),t=n.find("label");t.click(function(){n.toggleClass("not-selected");n.hasClass("not-selected")?n.find("input").removeClass("checked"):n.find("input").addClass("checked")})})};AM.menuhide=function(){var n,t,i;DL.Utilities.isMobile()||DL.Utilities.isTablet()||(n=$(window).scrollTop(),t=null,AM.Article&&AM.Article.Template&&(t=AM.Article.Template=="Longread"),i=function(){var t=$(window).scrollTop();t>n?($("#header").addClass("menu-hidden-desktop").removeClass("click-menu-show"),$(".menu-show-hide-checkbox").prop("checked",!1)):($("#header").removeClass("menu-hidden-desktop click-menu-show"),$(".menu-show-hide-checkbox").prop("checked",!1));n=t},$(window).scroll(_.throttle(i,16)))};$(window).scroll(function(){});AM.SwiperCarousel=AM.SwiperCarousel||{};AM.SwiperCarousel.defaults={pagination:".swiper-pagination",centeredSlides:!1,slidesPerView:"auto",preventClicks:!0,roundLengths:!0,keyboardControl:!1,loop:!1,autoplayDisableOnInteraction:!0,iOSEdgeSwipeDetection:!0,iOSEdgeSwipeThreshold:40};AM.SwiperCarousel.prepForSwiper=function(n){n.addClass("swiper-container");n.find(".item-list").addClass("swiper-wrapper");n.find(".list-item").addClass("swiper-slide");n.on("items-loaded",function(n,t){$(this).data("swiper").appendSlide(t.addClass("swiper-slide"))})};$(".menu-icon").on("click",AM.menu);$("#search-btn").on("click",AM.menu.search);DL.Utilities.getDocumentElement().ready(function(){if(AM.newsletter(),AM.menuhide(),$(".parallax-advert").length){var n=$(".parallax-advert"),t=AM.detectScrollbarWidth()+"px";document.documentElement.style.setProperty("--scrollbarWidth",t);n.addClass("parallax-show")}});setTimeout(DL.Utilities.trackGptLoading,2e3);DL.Utilities.getWindowElement().one("load.checkGpt",DL.Utilities.trackGptLoading);var vpPoint=0,lastScrollTop=0,delta=5,checkHeaderFunc=function(){var i,n,t;if(!$("body").hasClass("no-sticky")){if(i=$(this).scrollTop(),Math.abs(lastScrollTop-i)>=delta,n=$("#header"),t=$("div.advert")[1],document.getElementsByClassName("main-article")[0]){if(t!=undefined&&mainArticleMidPoint(i)&&!n.hasClass("ad-hidden")){vpPoint=$(t).position().top;n.addClass("ad-hidden");$($("#header").find("div.advert")[0]).height()>80&&$($("#header").find("div.advert")[0]).height()<90?n.animate({top:"-150px"}):$($("#header").find("div.advert")[0]).height()>=90?n.animate({top:"-130px"}):n.animate({top:"-90px"});return}if(t!=undefined&&!mainArticleMidPoint(i)&&n.hasClass("ad-hidden")){vpPoint=0;n.removeClass("ad-hidden");n.animate({top:"0px"});return}}else if(t==undefined||isInViewport(t)||n.hasClass("ad-hidden")){if(t!=undefined&&isInViewport(t)&&n.hasClass("ad-hidden")){vpPoint=0;n.removeClass("ad-hidden");n.animate({top:"0px"});return}}else{vpPoint=$(t).position().top;n.addClass("ad-hidden");$($("#header").find("div.advert")[0]).height()>80&&$($("#header").find("div.advert")[0]).height()<90?n.animate({top:"-150px"}):$($("#header").find("div.advert")[0]).height()>=90?n.animate({top:"-130px"}):n.animate({top:"-90px"});return}lastScrollTop=i}};window.addEventListener("scroll",checkHeaderFunc);$(body).on("submit","form.subscribe-form",function(n){n.preventDefault();var i=this,t=$(this).find(".email-input")[0].value,r=$(this).parent().children(".confirmation.newsletter__form-wrapper")[0];const u=$("#subscribe-form-title"),f=$("#subscribe__subheading");t!=""?$.ajax({url:"/klaviyonewsletter/savenewslettersubscription",type:"POST",data:{emailAddress:t},success:function(){$(i).value="";$(n.currentTarget).fadeOut(200);u.stop(!0,!0).fadeOut(200);f.stop(!0,!0).fadeOut(200);$(r).fadeIn(300)},error:function(n){console.log("Error: "+n)}}):console.log("Error: NO email address provided")})