((e,t)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)})("undefined"!=typeof window?window:this,function(w,M){function P(e,t){return t.toUpperCase()}var d=[],h=w.document,u=d.slice,B=d.concat,F=d.push,q=d.indexOf,$={},z=$.toString,m=$.hasOwnProperty,g={},e="1.12.4",C=function(e,t){return new C.fn.init(e,t)},W=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,R=/^-ms-/,X=/-([\da-z])/gi;function Y(e){var t=!!e&&"length"in e&&e.length,n=C.type(e);return"function"!==n&&!C.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0{function d(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function P(){C()}var e,h,x,o,B,m,F,q,w,l,c,C,T,t,k,g,i,r,v,E="sizzle"+ +new Date,y=M.document,S=0,$=0,z=ce(),W=ce(),b=ce(),R=function(e,t){return e===t&&(c=!0),0},X={}.hasOwnProperty,n=[],Y=n.pop,U=n.push,N=n.push,V=n.slice,L=function(e,t){for(var n=0,i=e.length;n+~]|"+a+")"+a+"*"),te=new RegExp("="+a+"*([^\\]'\"]*?)"+a+"*\\]","g"),ne=new RegExp(Z),ie=new RegExp("^"+s+"$"),f={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},re=/^(?:input|select|textarea|button)$/i,oe=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,se=/[+~]/,le=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig");try{N.apply(n=V.call(y.childNodes),y.childNodes),n[y.childNodes.length].nodeType}catch(e){N={apply:n.length?function(e,t){U.apply(e,V.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function j(e,t,n,i){var r,o,a,s,l,c,u,d,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&((t?t.ownerDocument||t:y)!==T&&C(t),t=t||T,k)){if(11!==p&&(c=ae.exec(e)))if(r=c[1]){if(9===p){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(f&&(a=f.getElementById(r))&&v(t,a)&&a.id===r)return n.push(a),n}else{if(c[2])return N.apply(n,t.getElementsByTagName(e)),n;if((r=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(r)),n}if(h.qsa&&!b[e+" "]&&(!g||!g.test(e))){if(1!==p)f=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(le,"\\$&"):t.setAttribute("id",s=E),o=(u=m(e)).length,l=ie.test(s)?"#"+s:"[id='"+s+"']";o--;)u[o]=l+" "+H(u[o]);d=u.join(","),f=se.test(e)&&fe(t.parentNode)||t}if(d)try{return N.apply(n,f.querySelectorAll(d)),n}catch(e){}finally{s===E&&t.removeAttribute("id")}}}return q(e.replace(A,"$1"),t,n,i)}function ce(){var n=[];function i(e,t){return n.push(e+" ")>x.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function _(e){return e[E]=!0,e}function I(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function D(a){return _(function(o){return o=+o,_(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=j.support={},B=j.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},C=j.setDocument=function(e){var e=e?e.ownerDocument||e:y;return e!==T&&9===e.nodeType&&e.documentElement&&(t=(T=e).documentElement,k=!B(T),(e=T.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",P,!1):e.attachEvent&&e.attachEvent("onunload",P)),h.attributes=I(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=I(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=u.test(T.getElementsByClassName),h.getById=I(function(e){return t.appendChild(e).id=E,!T.getElementsByName||!T.getElementsByName(E).length}),h.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&k)return(t=t.getElementById(e))?[t]:[]},x.filter.ID=function(e){var t=e.replace(p,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(p,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),x.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&k?t.getElementsByClassName(e):void 0},i=[],g=[],(h.qsa=u.test(T.querySelectorAll))&&(I(function(e){t.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+a+"*(?:value|"+G+")"),e.querySelectorAll("[id~="+E+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||g.push(".#.+[+~]")}),I(function(e){var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=u.test(r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&I(function(e){h.disconnectedMatch=r.call(e,"div"),r.call(e,"[s!='']:x"),i.push("!=",Z)}),g=g.length&&new RegExp(g.join("|")),i=i.length&&new RegExp(i.join("|")),e=u.test(t.compareDocumentPosition),v=e||u.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},R=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument===y&&v(y,e)?-1:t===T||t.ownerDocument===y&&v(y,t)?1:l?L(l,e)-L(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e===T?-1:t===T?1:r?-1:o?1:l?L(l,e)-L(l,t):0;if(r===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?de(a[i],s[i]):a[i]===y?-1:s[i]===y?1:0}),T},j.matches=function(e,t){return j(e,null,null,t)},j.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&C(e),t=t.replace(te,"='$1']"),h.matchesSelector&&k&&!b[t+" "]&&(!i||!i.test(t))&&(!g||!g.test(t)))try{var n=r.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(p,d),e[3]=(e[3]||e[4]||e[5]||"").replace(p,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||j.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&j.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return f.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ne.test(n)&&(t=(t=m(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(p,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=j.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t})(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=(n=>function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n})(e);function pe(){}function H(e){for(var t=0,n=e.length,i="";t{for(var i=0,r=t.length;i(?:<\/\1>|)$/,Q=/^.[^:#\[\.,]*$/;function Z(e,n,i){if(C.isFunction(n))return C.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return C.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(Q.test(n))return C.filter(n,e,i);n=C.filter(n,e)}return C.grep(e,function(e){return-1)[^>]*|#([\w-]*))$/,ee=((C.fn.init=function(e,t,n){if(e){if(n=n||J,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):C.isFunction(e)?void 0!==n.ready?n.ready(e):e(C):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),C.makeArray(e,this));if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:K.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:h,!0)),G.test(i[1])&&C.isPlainObject(t))for(var i in t)C.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i])}else{if((n=h.getElementById(i[2]))&&n.parentNode){if(n.id!==i[2])return J.find(e);this.length=1,this[0]=n}this.context=h,this.selector=e}}return this}).prototype=C.fn,J=C(h),/^(?:parents|prev(?:Until|All))/),te={children:!0,contents:!0,next:!0,prev:!0};function ne(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t,n=C(e,this),i=n.length;return this.filter(function(){for(t=0;t
a",g.leadingWhitespace=3===N.firstChild.nodeType,g.tbody=!N.getElementsByTagName("tbody").length,g.htmlSerialize=!!N.getElementsByTagName("link").length,g.html5Clone="<:nav>"!==h.createElement("nav").cloneNode(!0).outerHTML,D.type="checkbox",D.checked=!0,S.appendChild(D),g.appendChecked=D.checked,N.innerHTML="",g.noCloneChecked=!!N.cloneNode(!0).lastChild.defaultValue,S.appendChild(N),(D=h.createElement("input")).setAttribute("type","radio"),D.setAttribute("checked","checked"),D.setAttribute("name","t"),N.appendChild(D),g.checkClone=N.cloneNode(!0).cloneNode(!0).lastChild.checked,g.noCloneEvent=!!N.addEventListener,N[C.expando]=1,g.attributes=!N.getAttribute(C.expando);var y={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:g.htmlSerialize?[0,"",""]:[1,"X
","
"]};function b(e,t){var n,i,r=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||C.nodeName(i,t)?o.push(i):C.merge(o,b(i,t));return void 0===t||t&&C.nodeName(e,t)?C.merge([e],o):o}function we(e,t){for(var n,i=0;null!=(n=e[i]);i++)C._data(n,"globalEval",!t||C._data(t[i],"globalEval"))}y.optgroup=y.option,y.tbody=y.tfoot=y.colgroup=y.caption=y.thead,y.th=y.td;var Ce=/<|&#?\w+;/,Te=/"!==d[1]||Te.test(a)?0:l:l.firstChild)&&a.childNodes.length;o--;)C.nodeName(u=a.childNodes[o],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(C.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else h.push(t.createTextNode(a));for(l&&p.removeChild(l),g.appendChecked||C.grep(b(h,"input"),ke),m=0;a=h[m++];)if(i&&-1]","i"),Fe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,qe=/\s*$/g,Re=xe(h).appendChild(h.createElement("div"));function Xe(e,t){return C.nodeName(e,"table")&&C.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ye(e){return e.type=(null!==C.find.attr(e,"type"))+"/"+e.type,e}function Ue(e){var t=ze.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ve(e,t){if(1===t.nodeType&&C.hasData(e)){var n,i,r,e=C._data(e),o=C._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(i=0,r=a[n].length;i")},clone:function(e,t,n){var i,r,o,a,s,l,c,u,d=C.contains(e.ownerDocument,e);if(g.html5Clone||C.isXMLDoc(e)||!Be.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Re.innerHTML=e.outerHTML,Re.removeChild(o=Re.firstChild)),!(g.noCloneEvent&&g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(i=b(o),s=b(e),a=0;null!=(r=s[a]);++a)if(i[a]){f=void 0;p=void 0;l=void 0;c=void 0;u=void 0;var f=r;var p=i[a];if(1===p.nodeType){if(l=p.nodeName.toLowerCase(),!g.noCloneEvent&&p[C.expando]){for(c in(u=C._data(p)).events)C.removeEvent(p,c,u.handle);p.removeAttribute(C.expando)}"script"===l&&p.text!==f.text?(Ye(p).text=f.text,Ue(p)):"object"===l?(p.parentNode&&(p.outerHTML=f.outerHTML),g.html5Clone&&f.innerHTML&&!C.trim(p.innerHTML)&&(p.innerHTML=f.innerHTML)):"input"===l&&me.test(f.type)?(p.defaultChecked=p.checked=f.checked,p.value!==f.value&&(p.value=f.value)):"option"===l?p.defaultSelected=p.selected=f.defaultSelected:"input"!==l&&"textarea"!==l||(p.defaultValue=f.defaultValue)}}if(t)if(n)for(s=s||b(e),i=i||b(o),a=0;null!=(r=s[a]);a++)Ve(r,i[a]);else Ve(e,o);return 0<(i=b(o,"script")).length&&we(i,!d&&b(e,"script")),i=s=r=null,o},cleanData:function(e,t){for(var n,i,r,o,a=0,s=C.expando,l=C.cache,c=g.attributes,u=C.event.special;null!=(n=e[a]);a++)if((t||v(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)u[i]?C.event.remove(n,i):C.removeEvent(n,i,o.handle);l[r]&&(delete l[r],c||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),d.push(r))}}}),C.fn.extend({domManip:x,detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return f(this,function(e){return void 0===e?C.text(this):this.empty().append((this[0]&&this[0].ownerDocument||h).createTextNode(e))},null,e,arguments.length)},append:function(){return x(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Xe(this,e).appendChild(e)})},prepend:function(){return x(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Xe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&C.cleanData(b(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&C.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return f(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Pe,""):void 0;if("string"==typeof e&&!qe.test(e)&&(g.htmlSerialize||!Be.test(e))&&(g.leadingWhitespace||!ye.test(e))&&!y[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n")).appendTo(t.documentElement))[0].contentWindow||Qe[0].contentDocument).document).write(),t.close(),n=Je(e,t),Qe.detach()),Ze[e]=n),n}function et(e,t,n,i){var r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in n=n.apply(e,i||[]),t)e.style[r]=o[r];return n}var n,tt,nt,it,rt,ot,at,o,st=/^margin/,lt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),ct=h.documentElement;function a(){var e,t=h.documentElement;t.appendChild(at),o.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=nt=ot=!1,tt=rt=!0,w.getComputedStyle&&(e=w.getComputedStyle(o),n="1%"!==(e||{}).top,ot="2px"===(e||{}).marginLeft,nt="4px"===(e||{width:"4px"}).width,o.style.marginRight="50%",tt="4px"===(e||{marginRight:"4px"}).marginRight,(e=o.appendChild(h.createElement("div"))).style.cssText=o.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",o.style.width="1px",rt=!parseFloat((w.getComputedStyle(e)||{}).marginRight),o.removeChild(e)),o.style.display="none",(it=0===o.getClientRects().length)&&(o.style.display="",o.innerHTML="
t
",o.childNodes[0].style.borderCollapse="separate",(e=o.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",it=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",it=0===e[0].offsetHeight),t.removeChild(at)}at=h.createElement("div"),(o=h.createElement("div")).style&&(o.style.cssText="float:left;opacity:.5",g.opacity="0.5"===o.style.opacity,g.cssFloat=!!o.style.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,(at=h.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.innerHTML="",at.appendChild(o),g.boxSizing=""===o.style.boxSizing||""===o.style.MozBoxSizing||""===o.style.WebkitBoxSizing,C.extend(g,{reliableHiddenOffsets:function(){return null==n&&a(),it},boxSizingReliable:function(){return null==n&&a(),nt},pixelMarginRight:function(){return null==n&&a(),tt},pixelPosition:function(){return null==n&&a(),n},reliableMarginRight:function(){return null==n&&a(),rt},reliableMarginLeft:function(){return null==n&&a(),ot}}));var c,p,ut=/^(top|right|bottom|left)$/;function dt(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}w.getComputedStyle?(c=function(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)},p=function(e,t,n){var i,r,o=e.style;return""!==(r=(n=n||c(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==r||C.contains(e.ownerDocument,e)||(r=C.style(e,t)),n&&!g.pixelMarginRight()&<.test(r)&&st.test(t)&&(e=o.width,t=o.minWidth,i=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=e,o.minWidth=t,o.maxWidth=i),void 0===r?r:r+""}):ct.currentStyle&&(c=function(e){return e.currentStyle},p=function(e,t,n){var i,r,o,a=e.style;return null==(n=(n=n||c(e))?n[t]:void 0)&&a&&a[t]&&(n=a[t]),lt.test(n)&&!ut.test(t)&&(i=a.left,(o=(r=e.runtimeStyle)&&r.left)&&(r.left=e.currentStyle.left),a.left="fontSize"===t?"1em":n,n=a.pixelLeft+"px",a.left=i,o)&&(r.left=o),void 0===n?n:n+""||"auto"});var ft=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/i,ht=/^(none|table(?!-c[ea]).+)/,mt=new RegExp("^("+e+")(.*)$","i"),gt={position:"absolute",visibility:"hidden",display:"block"},vt={letterSpacing:"0",fontWeight:"400"},yt=["Webkit","O","Moz","ms"],bt=h.createElement("div").style;function xt(e){if(e in bt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=yt.length;n--;)if((e=yt[n]+t)in bt)return e}function wt(e,t){for(var n,i,r,o=[],a=0,s=e.length;a
a",O=D.getElementsByTagName("a")[0],S.setAttribute("type","checkbox"),D.appendChild(S),(O=D.getElementsByTagName("a")[0]).style.cssText="top:1px",g.getSetAttribute="t"!==D.className,g.style=/top/.test(O.getAttribute("style")),g.hrefNormalized="/a"===O.getAttribute("href"),g.checkOn=!!S.value,g.optSelected=e.selected,g.enctype=!!h.createElement("form").enctype,N.disabled=!0,g.optDisabled=!e.disabled,(S=h.createElement("input")).setAttribute("value",""),g.input=""===S.getAttribute("value"),S.value="t",S.setAttribute("type","radio"),g.radioValue="t"===S.value;var _t=/\r/g,It=/[\x20\t\r\n\f]+/g;C.fn.extend({val:function(t){var n,e,i,r=this[0];return arguments.length?(i=C.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,C(this).val()):t)?e="":"number"==typeof e?e+="":C.isArray(e)&&(e=C.map(e,function(e){return null==e?"":e+""})),(n=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):r?(n=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(_t,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:C.trim(C.text(e)).replace(It," ")}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,r="select-one"===e.type||i<0,o=r?null:[],a=r?i+1:n.length,s=i<0?a:r?i:0;s{for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}i=i||a}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0})(p,x,n)),a=((e,t,n,i)=>{var r,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if(s=r.split(" "),s[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}})(p,a,x,i),i?(p.ifModified&&((n=x.getResponseHeader("Last-Modified"))&&(C.lastModified[l]=n),n=x.getResponseHeader("etag"))&&(C.etag[l]=n),204===e||"HEAD"===p.type?s="nocontent":304===e?s="notmodified":(s=a.state,r=a.data,i=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),x.status=e,x.statusText=(t||s)+"",i?g.resolveWith(h,[r,s,x]):g.rejectWith(h,[x,s,o]),x.statusCode(y),y=void 0,d&&m.trigger(i?"ajaxSuccess":"ajaxError",[x,p,i?r:o]),v.fireWith(h,[x,s]),d)&&(m.trigger("ajaxComplete",[x,p]),--C.active||C.event.trigger("ajaxStop"))}},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,r){C[r]=function(e,t,n,i){return C.isFunction(t)&&(i=i||n,n=t,t=void 0),C.ajax(C.extend({url:e,type:r,dataType:i,data:t,success:n},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(t){var e;return C.isFunction(t)?this.each(function(e){C(this).wrapAll(t.call(this,e))}):(this[0]&&(e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(n){return C.isFunction(n)?this.each(function(e){C(this).wrapInner(n.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=C.isFunction(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){C.nodeName(this,"body")||C(this).replaceWith(this.childNodes)}).end()}}),C.expr.filters.hidden=function(e){return g.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:tn(e)},C.expr.filters.visible=function(e){return!C.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,an=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;C.param=function(e,t){function n(e,t){t=C.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,r=[];if(void 0===t&&(t=C.ajaxSettings&&C.ajaxSettings.traditional),C.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,r,o){if(C.isArray(e))C.each(e,function(e,t){r||rn.test(i)?o(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,o)});else if(r||"object"!==C.type(e))o(i,e);else for(var t in e)n(i+"["+t+"]",e[t],r,o)}(i,e[i],t,n);return r.join("&").replace(nn,"+")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&sn.test(this.nodeName)&&!an.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:C.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),C.ajaxSettings.xhr=void 0!==w.ActiveXObject?function(){return this.isLocal?dn():8").append(C.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this)},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.filters.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var i,r,o,a,s=C.css(e,"position"),l=C(e),c={};"static"===s&&(e.style.position="relative"),o=l.offset(),i=C.css(e,"top"),a=C.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1{o.fn.fitVids=function(e){var t,n,r={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("div")).innerHTML='

x

',t.appendChild(n.childNodes[1])),e&&o.extend(r,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],i=(r.customSelector&&e.push(r.customSelector),".fitvidsignore"),e=(r.ignore&&(i=i+", "+r.ignore),o(this).find(e.join(",")));(e=(e=e.not("object object")).not(i)).each(function(e){var t,n=o(this);0').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),n.removeAttr("height").removeAttr("width"))})})}})(window.jQuery||window.Zepto);var defined=function(e){return null!=e},$nav=$("#site-nav"),$btn=$("#site-nav button"),$vlinks=$("#site-nav .visible-links"),$hlinks=$("#site-nav .hidden-links"),breaks=[];function updateNav(){var e,t=$btn.hasClass("hidden")?$nav.width():$nav.width()-$btn.outerWidth(!0)-10,n=0;$vlinks.children().each(function(){n+=$(this).outerWidth(!0)}),t{function e(){}function u(e,t){h.ev.on("mfp"+e+T,t)}function d(e,t,n,i){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),i?t&&t.appendChild(r):(r=c(r),t&&r.appendTo(t)),r}function f(e,t){h.ev.triggerHandler("mfp"+e,t),h.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),h.st.callbacks[e])&&h.st.callbacks[e].apply(h,c.isArray(t)?t:[t])}function p(e){return e===B&&h.currTemplate.closeBtn||(h.currTemplate.closeBtn=c(h.st.closeMarkup.replace("%title%",h.st.tClose)),B=e),h.currTemplate.closeBtn}function o(){c.magnificPopup.instance||((h=new e).init(),c.magnificPopup.instance=h)}function M(){y&&(l.after(y.addClass(s)).detach(),y=null)}function r(){t&&m.removeClass(t)}function P(){r(),h.req&&h.req.abort()}var h,i,m,g,a,v,B,s,l,y,t,b,x="Close",F="BeforeClose",w="MarkupParse",C="Open",T=".mfp",k="mfp-ready",q="mfp-removing",E="mfp-prevent-close",S=!!window.jQuery,N=c(window),n=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;h.isIE7=-1!==e.indexOf("MSIE 7."),h.isIE8=-1!==e.indexOf("MSIE 8."),h.isLowIE=h.isIE7||h.isIE8,h.isAndroid=/android/gi.test(e),h.isIOS=/iphone|ipad|ipod/gi.test(e),h.supportsTransition=(()=>{var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1})(),h.probablyMobile=h.isAndroid||h.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),h.popupsCache={}},open:function(e){if(m=m||c(document.body),!1===e.isObj){h.items=e.items.toArray(),h.index=0;for(var t,n=e.items,i=0;i(e||N.height())},_setFocus:function(){(h.st.focus?h.content.find(h.st.focus).eq(0):h.wrap).focus()},_onFocusIn:function(e){if(e.target!==h.wrap[0]&&!c.contains(h.wrap[0],e.target))return h._setFocus(),!1},_parseMarkup:function(r,e,t){var o;t.data&&(e=c.extend(t.data,e)),f(w,[r,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,i;1<(o=e.split("_")).length?0<(n=r.find(T+"-"+o[0])).length&&("replaceWith"===(i=o[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith(''):n.attr(o[1],t)):r.find(T+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===h.scrollbarSize&&((e=document.createElement("div")).id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),h.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),h.scrollbarSize}},modules:[],open:function(e,t){return o(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(e){o();var t,n,i,r=c(this);return"string"==typeof e?"open"===e?(t=S?r.data("magnificPopup"):r[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=t.items?t.items[n]:(i=r,(i=t.delegate?i.find(t.delegate):i).eq(n)),h._openClick({mfpEl:i},r,t)):h.isOpen&&h[e].apply(h,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),S?r.data("magnificPopup",e):r[0].magnificPopup=e,h.addGroup(r,e)),r},"inline"),L=(c.magnificPopup.registerModule(n,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){h.types.push(n),u(x+"."+n,function(){M()})},getInline:function(e,t){var n,i,r;return M(),e.src?(n=h.st.inline,(i=c(e.src)).length?((r=i[0].parentNode)&&r.tagName&&(l||(s=n.hiddenClass,l=d(s),s="mfp-"+s),y=i.after(l).detach().removeClass(s)),h.updateStatus("ready")):(h.updateStatus("error",n.tNotFound),i=c("
")),e.inlineElement=i):(h.updateStatus("ready"),h._parseMarkup(t,{},e),t)}}}),"ajax");function A(e){var t;h.currTemplate[H]&&(t=h.currTemplate[H].find("iframe")).length&&(e||(t[0].src="proxy.php?url=https%3A%2F%2Fabout%3Ablank"),h.isIE8)&&t.css("display",e?"block":"none")}function j(e){var t=h.items.length;return t-1The content could not be loaded.'},proto:{initAjax:function(){h.types.push(L),t=h.st.ajax.cursor,u(x+"."+L,P),u("BeforeChange."+L,P)},getAjax:function(i){t&&m.addClass(t),h.updateStatus("loading");var e=c.extend({url:i.src,success:function(e,t,n){e={data:e,xhr:n};f("ParseAjax",e),h.appendContent(c(e.data),L),i.finished=!0,r(),h._setFocus(),setTimeout(function(){h.wrap.addClass(k)},16),h.updateStatus("ready"),f("AjaxContentAdded")},error:function(){r(),i.finished=i.loadError=!0,h.updateStatus("error",h.st.ajax.tError.replace("%url%",i.src))}},h.st.ajax.settings);return h.req=c.ajax(e),""}}}),c.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=h.st.image,t=".image";h.types.push("image"),u(C+t,function(){"image"===h.currItem.type&&e.cursor&&m.addClass(e.cursor)}),u(x+t,function(){e.cursor&&m.removeClass(e.cursor),N.off("resize"+T)}),u("Resize"+t,h.resizeImage),h.isLowIE&&u("AfterChange",h.resizeImage)},resizeImage:function(){var e,t=h.currItem;t&&t.img&&h.st.image.verticalFit&&(e=0,h.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",h.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,b&&clearInterval(b),e.isCheckingImgSize=!1,f("ImageHasSize",e),e.imgHidden)&&(h.content&&h.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function n(e){b&&clearInterval(b),b=setInterval(function(){0{if(e.data&&void 0!==e.data.title)return e.data.title;var t=h.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(h,e);if(e.el)return e.el.attr(t)||""}return""})(e),img_replaceWith:e.img},e),h.resizeImage(),e.hasSize?(b&&clearInterval(b),e.loadError?(t.addClass("mfp-loading"),h.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),h.updateStatus("ready"))):(h.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),h.findImageSize(e))),t}}}),c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,i,r,o,a=h.st.zoom,s=".zoom";a.enabled&&h.supportsTransition&&(t=a.duration,n=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return n["-webkit-"+i]=n["-moz-"+i]=n["-o-"+i]=n[i]=t,e.css(n),e},i=function(){h.content.css("visibility","visible")},u("BuildControls"+s,function(){h._allowZoom()&&(clearTimeout(r),h.content.css("visibility","hidden"),(e=h._getItemToZoom())?((o=n(e)).css(h._getOffset()),h.wrap.append(o),r=setTimeout(function(){o.css(h._getOffset(!0)),r=setTimeout(function(){i(),setTimeout(function(){o.remove(),e=o=null,f("ZoomAnimationEnded")},16)},t)},16)):i())}),u(F+s,function(){if(h._allowZoom()){if(clearTimeout(r),h.st.removalDelay=t,!e){if(!(e=h._getItemToZoom()))return;o=n(e)}o.css(h._getOffset(!0)),h.wrap.append(o),h.content.css("visibility","hidden"),setTimeout(function(){o.css(h._getOffset())},16)}}),u(x+s,function(){h._allowZoom()&&(i(),o&&o.remove(),e=null)}))},_allowZoom:function(){return"image"===h.currItem.type},_getItemToZoom:function(){return!!h.currItem.hasSize&&h.currItem.img},_getOffset:function(e){var e=e?h.currItem.img:h.st.zoom.opener(h.currItem.el||h.currItem),t=e.offset(),n=parseInt(e.css("padding-top"),10),i=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-n,{width:e.width(),height:(S?e.innerHeight():e[0].offsetHeight)-i-n});return(_=void 0===_?void 0!==document.createElement("p").style.MozTransform:_)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var _,I,D,H="iframe",O=(c.magnificPopup.registerModule(H,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){h.types.push(H),u("BeforeChange",function(e,t,n){t!==n&&(t===H?A():n===H&&A(!0))}),u(x+"."+H,function(){A()})},getIframe:function(e,t){var n=e.src,i=h.st.iframe,r=(c.each(i.patterns,function(){if(-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=h.st.gallery,e=".mfp-gallery",i=Boolean(c.fn.mfpFastClick);if(h.direction=!0,!o||!o.enabled)return!1;v+=" mfp-gallery",u(C+e,function(){o.navigateByImgClick&&h.wrap.on("click"+e,".mfp-img",function(){if(1=h.index,h.index=e,h.updateItemHTML()},preloadNearbyImages:function(){for(var e=h.st.gallery.preload,t=Math.min(e[0],h.items.length),n=Math.min(e[1],h.items.length),i=1;i<=(h.direction?n:t);i++)h._preloadItem(h.index+i);for(i=1;i<=(h.direction?t:n);i++)h._preloadItem(h.index-i)},_preloadItem:function(e){var t;e=j(e),h.items[e].preloaded||((t=h.items[e]).parsed||(t=h.parseEl(e)),f("LazyLoad",t),"image"===t.type&&(t.img=c('').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,f("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");function z(){N.off("touchmove"+D+" touchend"+D)}c.magnificPopup.registerModule(O,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,i;1{"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof module&&module.exports?require("jquery"):jQuery)})(function(m){function t(e){var t=[],n=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=m(this);if(this!==document&&this!==window)return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(0{function n(){b=k=x=w=C=T=E}function c(e){return parseFloat(e)||0}function i(){S={top:t.pageYOffset,left:t.pageXOffset}}function r(){return t.pageXOffset!=S.left?(i(),void x()):void(t.pageYOffset!=S.top&&(i(),a()))}function o(e){setTimeout(function(){t.pageYOffset!=S.top&&(S.top=t.pageYOffset,a())},0)}function a(){for(var e=L.length-1;0<=e;e--)s(L[e])}function s(e){if(e.inited){var t=S.top<=e.limit.start?0:S.top>=e.limit.end?2:1;if(e.mode!=t){var n=e,e=t,i=n.node.style;switch(e){case 0:i.position="absolute",i.left=n.offset.left+"px",i.right=n.offset.right+"px",i.top=n.offset.top+"px",i.bottom="auto",i.width="auto",i.marginLeft=0,i.marginRight=0,i.marginTop=0;break;case 1:i.position="fixed",i.left=n.box.left+"px",i.right=n.box.right+"px",i.top=n.css.top,i.bottom="auto",i.width="auto",i.marginLeft=0,i.marginRight=0,i.marginTop=0;break;case 2:i.position="absolute",i.left=n.offset.left+"px",i.right=n.offset.right+"px",i.top="auto",i.bottom=0,i.width="auto",i.marginLeft=0,i.marginRight=0}n.mode=e}}}function l(e){var t,n,i;isNaN(parseFloat(e.computed.top))||e.isCell||"none"==e.computed.display||(e.inited=!0,e.clone||((t=e).clone=document.createElement("div"),n=t.node.nextSibling||t.node,(i=t.clone.style).height=t.height+"px",i.width=t.width+"px",i.marginTop=t.computed.marginTop,i.marginBottom=t.computed.marginBottom,i.marginLeft=t.computed.marginLeft,i.marginRight=t.computed.marginRight,i.padding=i.border=i.borderSpacing=0,i.fontSize="1em",i.position="static",i.cssFloat=t.computed.cssFloat,t.node.parentNode.insertBefore(t.clone,n)),"absolute"!=e.parent.computed.position&&"relative"!=e.parent.computed.position&&(e.parent.node.style.position="relative"),s(e),e.parent.height=e.parent.node.offsetHeight,e.docOffsetTop=h(e.clone))}function u(e){var t,n,i=!0,r=(e.clone&&((t=e).clone.parentNode.removeChild(t.clone),t.clone=void 0),e.node.style),o=e.css;for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);for(var a=L.length-1;0<=a;a--)if(L[a].node!==e.node&&L[a].parent.node===e.parent.node){i=!1;break}i&&(e.parent.node.style.position=e.parent.css.position),e.mode=-1}function d(){for(var e=L.length-1;0<=e;e--)l(L[e])}function f(){for(var e=L.length-1;0<=e;e--)u(L[e])}function p(e){var t=getComputedStyle(e),n=e.parentNode,i=getComputedStyle(n),r=e.style.position,o=(e.style.position="relative",{top:t.top,marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat,display:t.display}),a={top:c(t.top),marginBottom:c(t.marginBottom),paddingLeft:c(t.paddingLeft),paddingRight:c(t.paddingRight),borderLeftWidth:c(t.borderLeftWidth),borderRightWidth:c(t.borderRightWidth)},r=(e.style.position=r,{position:e.style.position,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight}),s=m(e),l=m(n),i={node:n,css:{position:n.style.position},computed:{position:i.position},numeric:{borderLeftWidth:c(i.borderLeftWidth),borderRightWidth:c(i.borderRightWidth),borderTopWidth:c(i.borderTopWidth),borderBottomWidth:c(i.borderBottomWidth)}};return{node:e,box:{left:s.win.left,right:j.clientWidth-s.win.right},offset:{top:s.win.top-l.win.top-i.numeric.borderTopWidth,left:s.win.left-l.win.left-i.numeric.borderLeftWidth,right:-s.win.right+l.win.right-i.numeric.borderRightWidth},css:r,isCell:"table-cell"==t.display,computed:o,numeric:a,width:s.win.right-s.win.left,height:s.win.bottom-s.win.top,mode:-1,inited:!1,parent:i,limit:{start:s.doc.top-a.top,end:l.doc.top+n.offsetHeight-i.numeric.borderBottomWidth-e.offsetHeight-a.top-a.marginBottom}}}function h(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function m(e){e=e.getBoundingClientRect();return{doc:{top:e.top+t.pageYOffset,left:e.left+t.pageXOffset},win:e}}function g(){N=setInterval(function(){(()=>{for(var e=L.length-1;0<=e;e--)if(L[e].inited){var t=Math.abs(h(L[e].clone)-L[e].docOffsetTop),n=Math.abs(L[e].parent.node.offsetHeight-L[e].parent.height);if(2<=t||2<=n)return}return 1})()||x()},500)}function v(){clearInterval(N)}function y(){A&&(document[_]?v:g)()}function b(){A||(i(),d(),t.addEventListener("scroll",r),t.addEventListener("wheel",o),t.addEventListener("resize",x),t.addEventListener("orientationchange",x),e.addEventListener(I,y),g(),A=!0)}function x(){if(A){f();for(var e=L.length-1;0<=e;e--)L[e]=p(L[e].node);d()}}function w(){t.removeEventListener("scroll",r),t.removeEventListener("wheel",o),t.removeEventListener("resize",x),t.removeEventListener("orientationchange",x),e.removeEventListener(I,y),v(),A=!1}function C(){w(),f()}function T(){for(C();L.length;)L.pop()}function k(e){for(var t=L.length-1;0<=t;t--)if(L[t].node===e)return;var n=p(e);L.push(n),A?l(n):b()}function E(){}var S,N,L=[],A=!1,j=e.documentElement,_="hidden",I="visibilitychange";void 0!==e.webkitHidden&&(_="webkitHidden",I="webkitvisibilitychange"),t.getComputedStyle||n();for(var D=["","-webkit-","-moz-","-ms-"],H=document.createElement("div"),O=D.length-1;0<=O;O--){try{H.style.position=D[O]+"sticky"}catch(e){}""!=H.style.position&&n()}i(),t.Stickyfill={stickies:L,add:k,remove:function(e){for(var t=L.length-1;0<=t;t--)L[t].node===e&&(u(L[t]),L.splice(t,1))},init:b,rebuild:x,pause:w,stop:C,kill:T}})(document,window),window.jQuery&&(window.jQuery.fn.Stickyfill=function(e){return this.each(function(){Stickyfill.add(this)}),this}),$(document).ready(function(){function e(){$("body").css("margin-bottom",$(".page__footer").outerHeight(!0))}function t(){(0===$(".author__urls-wrapper button").length?1024<$(window).width():!$(".author__urls-wrapper button").is(":visible"))?(Stickyfill.rebuild(),Stickyfill.init(),$(".author__urls").show()):(Stickyfill.stop(),$(".author__urls").hide())}var n=!1;e(),$(window).resize(function(){n=!0}),setInterval(function(){n&&(n=!1,e())},250),$("#main").fitVids(),$(".sticky").Stickyfill();t(),$(window).resize(function(){t()}),$(".author__urls-wrapper button").on("click",function(){$(".author__urls").fadeToggle("fast",function(){}),$(".author__urls-wrapper button").toggleClass("open")}),$("a").smoothScroll({offset:-20}),$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(".image-popup").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'Image #%curr% could not be loaded.'},removalDelay:500,mainClass:"mfp-zoom-in",callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}},closeOnContentClick:!0,midClick:!0})});