!function e(t,n,r){function i(a,s){if(!n){if(!t){var l=“function”==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error(“Cannot find module '”a
“'”);throw u.code=“MODULE_NOT_FOUND”,u}var c=n={exports:{}};t[0].call(c.exports,function(e){var n=t[1];return i(n||e)},c,c.exports,e,t,n,r)}return n.exports}for(var o=“function”==typeof require&&require,a=0;at
“</span>”)}window.jQuery=window.$=e(“jquery”),e(“velocity-animate/velocity.js”),e(“lazysizes”),e(“lazysizes/plugins/unveilhooks/ls.unveilhooks.js”),$(document).ready(function(){r(),function(){var e=0,t=$(“.header”),n=t.outerHeight();$(window).scroll(function(){if($(window).width()>=1024){if(!t.hasClass(“fixed”)){var r=$(this).scrollTop(),i=Math.abs(r-e);r>n?(r>636&&(t.hasClass(“fix-nav”)||t.addClass(“fix-nav”)),i>=6&&(r>e?t.hasClass(“hide-nav”)||t.addClass(“hide-nav”):t.hasClass(“hide-nav”)&&$(t).removeClass(“hide-nav”))):r<=0&&(t.removeClass(“hide-nav show-nav”),t.addClass(“top”))}window.innerHeight+window.scrollY>=document.body.offsetHeight&&t.removeClass(“hide-nav”),e=r}else t.addClass(“fix-nav”)})}(),$(“.js-submit”).click(function(e){e.preventDefault();var t=$(“.form__input input”),n=$(“.form__input textarea”),r=!1;$(“.form__input”).removeClass(“error”),$(“.error-data”).remove();for(var i=0;i<t.length;i++){var o=t;$(o).attr(“required”,!0)&&!a($(o).val())&&(s($(o),“This field is required”),r=!0),$(o).attr(“required”,!0)&&“email”===$(o).attr(“type”)&&!function(e){return“”===e||/+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:*[a-z0-9])?.)+(?:[a-z0-9-]*)?/i.test(e)}($(o).val())&&(s($(o),“Email address is invalid”),r=!0),$(n).attr(“required”,!0)&&!a($(n).val())&&(s($(n),“This field is required”),r=!0)}!1===r&&$(“#contactForm”).submit()})}),$(document).keyup(function(e){27===e.keyCode&&o()}),$(window).resize(function(){$(“.header”).removeClass(“hide-nav”),$(“.header__links”).removeAttr(“style”),$(“.header__overlay”).remove()}),$(“.js-modal-close”).click(function(){o()}),$(“.modal__overlay”).click(function(){o()}),$(“#contactForm”).submit(function(e){e.preventDefault();var t=$(“.js-submit”),n=$(“.form__input input”),r=$(“.form__input textarea”),i=$(“input#name”).val();$.ajax({url:“formspree.io/your-email@domain.com”,method:“POST”,data:$(this).serialize(),dataType:“json”,beforeSend:function(){t.prop(“disabled”,!0),t.text(“Sending…”)},success:function(e){n.val(“”),r.val(“”),t.prop(“disabled”,!1),t.text(“Send”),$(“body”).css(“overflow”,“hidden”),$(“.modal, .modal__overlay”).show().css(“display”,“flex”),$(“.modal__inner”).velocity({translateY:0,opacity:1}),$(“.modal__overlay”).velocity({opacity:1},100),$(“.modal__body”).append(“<h1>Thanks ”i
“!</h1><p>Your message was successfully sent! Will get back to you soon.</p>”)},error:function(e){$(“.modal, .modal__overlay”).addClass(“–show”),$(“.modal__body”).append(“<h1>Aww snap!</h1><p>Something went wrong, please try again. Error message: </p>”+e)}})})},{jquery:2,lazysizes:3,“lazysizes/plugins/unveilhooks/ls.unveilhooks.js”:4,“velocity-animate/velocity.js”:5}],2:[function(e,t,n){!function(e,n){“use strict”;“object”==typeof t&&“object”==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error(“jQuery requires a window with a document”);return n(e)}:n(e)}(“undefined”!=typeof window?window:this,function(e,t){“use strict”;function n(e,t){var n=(t=t||G).createElement(“script”);n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&“length”in e&&e.length,n=se.type(e);return“function”!==n&&!se.isWindow(e)&&(“array”===n||0===t||“number”==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t,n){return se.isFunction(t)?se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?se.grep(e,function(e){return e===t!==n}):“string”!=typeof t?se.grep(e,function(e){return ee.call(t,e)>-1!==n}):ye.test(t)?se.filter(t,e,n):(t=se.filter(t,e),se.grep(e,function(e){return ee.call(t,e)>-1!==n&&1===e.nodeType}))}function a(e,t){for(;(e=e)&&1!==e.nodeType;);return e}function s(e){return e}function l(e){throw e}function u(e,t,n,r){var i;try{e&&se.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&se.isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,.slice®)}catch(e){n.apply(void 0,)}}function c(){G.removeEventListener(“DOMContentLoaded”,c),e.removeEventListener(“load”,c),se.ready()}function f(){this.expando=se.expando+f.uid++}function d(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r=“data-”+t.replace(je,“-$&”).toLowerCase(),“string”==typeof(n=e.getAttribute®)){try{n=function(e){return“true”===e||“false”!==e&&(“null”===e?null:e===e
“”?+e:Ne.test(e)?JSON.parse(e):e)}(n)}catch(e){}Pe.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return se.css(e,t,“”)},l=s(),u=n&&n||(se.cssNumber?“”:“px”),c=(se.cssNumber||“px”!==u&&+l)&&qe.exec(se.css(e,t));if(c&&c!==u){u=u||c,n=n||[],c=+l||1;do{c/=o=o||“.5”,se.style(e,t,c+u)}while(o!==(o=s()/l)&&1!==o&&–a)}return n&&(c=+c||+l||0,i=n?c+(n+1)*n:+n,r&&(r.unit=u,r.start=c,r.end=i)),i}function h(e){var t,n=e.ownerDocument,r=e.nodeName,i=ze;return i||(t=n.body.appendChild(n.createElement®),i=se.css(t,“display”),t.parentNode.removeChild(t),“none”===i&&(i=“block”),ze=i,i)}function g(e,t){for(var n,r,i=[],o=0,a=e.length;o).style&&(n=r.style.display,t?(“none”===n&&(i=Ae.get(r,“display”)||null,i||(r.style.display=“”)),“”===r.style.display&&De®&&(i=h®)):“none”!==n&&(i=“none”,Ae.set(r,“display”,n)));for(o=0;o&&(e.style.display=i);return e}function m(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||“*”):void 0!==e.querySelectorAll?e.querySelectorAll(t||“*”):[],void 0===t||t&&i(e,t)?se.merge(,n):n}function y(e,t){for(var n=0,r=e.length;nFe[o]
“Width”,!0,i))):(a+=se.css(e,“padding”+Fe,!0,i),“padding”!==n&&(a+=se.css(e,“border”Fe[o]
“Width”,!0,i)));return a}function H(e,t,n){var r,i=Ke(e),o=j(e,t,i),a=“border-box”===se.css(e,“boxSizing”,!1,i);return Ze.test(o)?o:(r=a&&(ae.boxSizingReliable()||o===e.style),“auto”===o&&(o=e[“offset”+t.toUpperCase()+t.slice(1)]),(o=parseFloat(o)||0)+D(e,t,n||(a?“border”:“content”),r,i)+“px”)}function z(e,t,n,r,i){return new z.prototype.init(e,t,n,r,i)}function V(){st&&(!1===G.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(V):e.setTimeout(V,se.fx.interval),se.fx.tick())}function $(){return e.setTimeout(function(){at=void 0}),at=se.now()}function O(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Fe)]=i=e;return t&&(i.opacity=i.width=e),i}function R(e,t,n){for(var r,i=(_.tweeners||[]).concat(_.tweeners),o=0,a=i.length;o.call(n,t,e))return r}function _(e,t,n){var r,i,o=0,a=_.prefilters.length,s=se.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=at||$(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o.run®;return s.notifyWith(e,),r<1&&a?n:(a||s.notifyWith(e,),s.resolveWith(e,),!1)},u=s.promise({elem:e,props:se.extend({},t),opts:se.extend(!0,{specialEasing:{},easing:se.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||$(),duration:n.duration,tweens:[],createTween:function(t,n){var r=se.Tween(e,u.opts,t,n,u.opts.specialEasing||u.opts.easing);return u.tweens.push®,r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;ni
“]”,t,n,r)}function B(e){return function(t,n){“string”!=typeof t&&(n=t,t=“*”);var r,i=0,o=t.toLowerCase().match(Ce)||[];if(se.isFunction(n))for(;r=o;)“+”===r?(r=r.slice(1)||“*”,(e=e||[]).unshift(n)):(e=e||[]).push(n)}}function X(e,t,n,r){function i(s){var l;return o=!0,se.each(e||[],function(e,s){var u=s(t,n,r);return“string”!=typeof u||a||o?a?!(l=u):void 0:(t.dataTypes.unshift(u),i(u),!1)}),l}var o={},a=e===jt;return i(t.dataTypes)||!o&&i(“*”)}function U(e,t){var n,r,i=se.ajaxSettings.flatOptions||{};for(n in t)void 0!==t&&((i?e:r||(r={}))[n]=t);return r&&se.extend(!0,e,r),e}var Y=[],G=e.document,Q=Object.getPrototypeOf,J=Y.slice,Z=Y.concat,K=Y.push,ee=Y.indexOf,te={},ne=te.toString,re=te.hasOwnProperty,ie=re.toString,oe=ie.call(Object),ae={},se=function(e,t){return new se.fn.init(e,t)},le=/^+|[suFEFFxA0]+$/g,ue=/^-ms-/,ce=/-()/g,fe=function(e,t){return t.toUpperCase()};se.fn=se.prototype={jquery:“3.2.1”,constructor:se,length:0,toArray:function(){return J.call(this)},get:function(e){return null==e?J.call(this):e<0?this:this},pushStack:function(e){var t=se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return se.each(this,e)},map:function(e){return this.pushStack(se.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(J.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=e
(e<0?t:0);return this.pushStack(n>=0&&nt
“]”]=t.toLowerCase()});var de=function(e){function t(e,t,n,r){var i,o,a,s,l,u,c,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],“string”!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:O)!==L&&j(t),t=t||L,F)){if(11!==h&&(l=ge.exec(e)))if(i=l){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&V(t,a)&&a.id===i)return n.push(a),n}else{if(l)return Q.apply(n,t.getElementsByTagName(e)),n;if((i=l)&&x.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(x.qsa&&!I[e+“ ”]&&(!D||!D.test(e))){if(1!==h)d=t,c=e;else if(“object”!==t.nodeName.toLowerCase()){for((s=t.getAttribute(“id”))?s=s.replace(be,xe):t.setAttribute(“id”,s=$),o=(u=S(e)).length;o–;)u=“#”s
“ ”+p(u);c=u.join(“,”),d=me.test(e)&&f(t.parentNode)||t}if©try{return Q.apply(n,d.querySelectorAll©),n}catch(e){}finally{s===$&&t.removeAttribute(“id”)}}}return E(e.replace(oe,“$1”),t,n,r)}function n(){function e(n,r){return t.push(n+“ ”)>w.cacheLength&&delete e,e[n+“ ”]=r}var t=[];return e}function r(e){return e=!0,e}function i(e){var t=L.createElement(“fieldset”);try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split(“|”),r=n.length;r–;)w.attrHandle[n]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if®return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return“input”===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return(“input”===n||“button”===n)&&t.type===e}}function u(e){return function(t){return“form”in t?t.parentNode&&!1===t.disabled?“label”in t?“label”in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:“label”in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a–;)n[i=o]&&(n=!(r=n))})})}function f(e){return e&&void 0!==e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,r=“”;tee
“*(”te
“)(?:”ee
“*(?=)”ee
“*(?:‘((?:\\.|)*)'|"((?:\\.|[^\\"])*)"|(”te
“))|)”ee
“*\]”,re=“:(”te
“)(?:\(((’((?:\\.|)*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|”ne
“)*)|.*)\)|)”,ie=new RegExp(ee+“+”,“g”),oe=new RegExp(“^”ee
“+|((?:^|)(?:\\.)*)”ee
“+$”,“g”),ae=new RegExp(“^”ee
“*,”ee
“*”),se=new RegExp(“^”ee
”*('"]*?)“ee
”*\]“,”g“),ue=new RegExp(re),ce=new RegExp(”^“te
”$“),fe={ID:new RegExp(”^#(“te
”)“),CLASS:new RegExp(”^\.(“te
”)“),TAG:new RegExp(”^(“te
”|)“),ATTR:new RegExp(”^“+ne),PSEUDO:new RegExp(”^“+re),CHILD:new RegExp(”^:(only|first|last|nth|nth-last)-(child|of-type)(?:\(“ee
”*(even|odd|((|)(\d*)n|)“ee
”*(?:(|)“ee
”*(\d+)|))“ee
”*\)|)“,”i“),bool:new RegExp(”^(?:“K
”)$“,”i“),needsContext:new RegExp(”^“ee
“*\)|)(?=|$)”,“i”)},de=/^(?:input|select|textarea|button)$/i,pe=/^hd$/i,he=/^+{s*[native w/,ge=/^(?:#([w-]+)|(w+)|.([w-]+))$/,me=//,ye=new RegExp(“\\({1,6}”ee
“?|(”ee
“)|.)”,“ig”),ve=function(e,t,n){var r=“0x”+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=/(|^-?d)|^-$|/g,xe=function(e,t){return t?“0”===e?“�”:e.slice(0,-1)+“\”+e.charCodeAt(e.length-1).toString(16)+“ ”:“\”+e},we=function(){j()},Ce=h(function(e){return!0===e.disabled&&(“form”in e||“label”in e)},{dir:“parentNode”,next:“legend”});try{Q.apply(U=J.call(O.childNodes),O.childNodes),U.nodeType}catch(e){Q={apply:U.length?function(e,t){G.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e=t;);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&“HTML”!==t.nodeName},j=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:O;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,q=L.documentElement,F=!T(L),O!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener(“unload”,we,!1):n.attachEvent&&n.attachEvent(“onunload”,we)),x.attributes=i(function(e){return e.className=“i”,!e.getAttribute(“className”)}),x.getElementsByTagName=i(function(e){return e.appendChild(L.createComment(“”)),!e.getElementsByTagName(“*”).length}),x.getElementsByClassName=he.test(L.getElementsByClassName),x.getById=i(function(e){return q.appendChild(e).id=$,!L.getElementsByName||!L.getElementsByName($).length}),x.getById?(w.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){return e.getAttribute(“id”)===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&F){var n=t.getElementById(e);return n?:[]}}):(w.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode(“id”);return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&F){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode(“id”))&&n.value===e)return;for(i=t.getElementsByName(e),r=0;o=i;)if((n=o.getAttributeNode(“id”))&&n.value===e)return}return[]}}),w.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(“*”===e){for(;n=o;)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&F)return t.getElementsByClassName(e)},H=[],D=,(x.qsa=he.test(L.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML=“<a id='”+$+“'></a><select id='”+$+“-r\' msallowcapture=''><option selected=”>”,e.querySelectorAll(“”).length&&D.push(“=”ee
“*(?:”|"")”),e.querySelectorAll(“”).length||D.push(“\[”ee
“*(?:value|”K
“)”),e.querySelectorAll(“”).length||D.push(“~=”),e.querySelectorAll(“:checked”).length||D.push(“:checked”),e.querySelectorAll(“a#”+$+“+*”).length||D.push(“.#.[
~]”)}),i(function(e){e.innerHTML=“<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>”;var t=L.createElement(“input”);t.setAttribute(“type”,“hidden”),e.appendChild(t).setAttribute(“name”,“D”),e.querySelectorAll(“”).length&&D.push(“name”ee
“[^$|!~]?=”),2!==e.querySelectorAll(“:enabled”).length&&D.push(“:enabled”,“:disabled”),q.appendChild(e).disabled=!0,2!==e.querySelectorAll(“:disabled”).length&&D.push(“:enabled”,“:disabled”),e.querySelectorAll(“*,:x”),D.push(“,.*:”)})),(x.matchesSelector=he.test(z=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){x.disconnectedMatch=z.call(e,“*”),z.call(e,“:x”),H.push(“!=”,re)}),D=D.length&&new RegExp(D.join(“|”)),H=H.length&&new RegExp(H.join(“|”)),t=he.test(q.compareDocumentPosition),V=t||he.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains®:e.compareDocumentPosition&&16&e.compareDocumentPosition®))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===L||e.ownerDocument===O&&V(O,e)?-1:t===L||t.ownerDocument===O&&V(O,t)?1:P?Z(P,e)-Z(P,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=,l=;if(!i||!o)return e===L?-1:t===L?1:i?-1:o?1:P?Z(P,e)-Z(P,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s===l;)r++;return r?a(s,l):s===O?-1:l===O?1:0},L):L},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==L&&j(e),n=n.replace(le,“='$1']”),x.matchesSelector&&F&&!I[n+“ ”]&&(!H||!H.test(n))&&(!D||!D.test(n)))try{var r=z.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,L,null,).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==L&&j(e),V(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==L&&j(e);var n=w.attrHandle,r=n&&X.call(w.attrHandle,t.toLowerCase())?n(e,t,!F):void 0;return void 0!==r?r:x.attributes||!F?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+“”).replace(be,xe)},t.error=function(e){throw new Error(“Syntax error, unrecognized expression: ”+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(N=!x.detectDuplicates,P=!x.sortStable&&e.slice(0),e.sort(B),N){for(;t=e;)t===e&&(r=n.push(i));for(;r–;)e.splice(n,1)}return P=null,e},C=t.getText=function(e){var t,n=“”,r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if(“string”==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e;)n+=C(t);return n},(w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{“>”:{dir:“parentNode”,first:!0},“ ”:{dir:“parentNode”},“+”:{dir:“previousSibling”,first:!0},“~”:{dir:“previousSibling”}},preFilter:{ATTR:function(e){return e=e.replace(ye,ve),e=(e||e||e||“”).replace(ye,ve),“~=”===e&&(e=“ ”e[3]
“ ”),e.slice(0,4)},CHILD:function(e){return e=e.toLowerCase(),“nth”===e.slice(0,3)?(e||t.error(e),e=+(e?e+(e||1):2*(“even”===e||“odd”===e)),e=+(e+e||“odd”===e)):e&&t.error(e),e},PSEUDO:function(e){var t,n=!e&&e;return fe.CHILD.test(e)?null:(e?e=e||e||“”:n&&ue.test(n)&&(t=S(n,!0))&&(t=n.indexOf(“)”,n.length-t)-n.length)&&(e=e.slice(0,t),e=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,ve).toLowerCase();return“*”===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+“ ”];return t||(t=new RegExp(“(^|”ee
“)”e
“(”ee
“|$)”))&&M(e,function(e){return t.test(“string”==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute(“class”)||“”)})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?“!=”===n:!n||(o+=“”,“=”===n?o===r:“!=”===n?o!==r:“^=”===n?r&&0===o.indexOf®:“*=”===n?r&&o.indexOf®>-1:“$=”===n?r&&o.slice(-r.length)===r:“~=”===n?(“ ”+o.replace(ie,“ ”)+“ ”).indexOf®>-1:“|=”===n&&(o===r||o.slice(0,r.length+1)===r+“-”))}},CHILD:function(e,t,n,r,i){var o=“nth”!==e.slice(0,3),a=“last”!==e.slice(-4),s=“of-type”===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,p,h,g=o!==a?“nextSibling”:“previousSibling”,m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(m){if(o){for(;g;){for(d=t;d=d;)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g=“only”===e&&!h&&“nextSibling”}return!0}if(h=,a&&v){for(b=(p=(u=(c=(f=(d=m)||(d={}))[d.uniqueID]||(f={}))[e]||[])===R&&u)&&u,d=p&&m.childNodes;d=++p&&d&&d||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c=[R,p,b];break}}else if(v&&(b=p=(u=(c=(f=(d=t)||(d={}))[d.uniqueID]||(f={}))[e]||[])===R&&u),!1===b)for(;(d=++p&&d&&d||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(v&&((c=(f=d||(d={}))[d.uniqueID]||(f={}))[e]=),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos||w.setFilters||t.error(“unsupported pseudo: ”+e);return o?o(n):o.length>1?(i=,w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a–;)e[r=Z(e,i)]=!(t=i)}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=,i=k(e.replace(oe,“$1”));return i?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s–;)(o=a)&&(e=!(t=o))}):function(e,r,o){return t=e,i(t,null,o,n),t=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,ve),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||“”)||t.error(“unsupported lang: ”+e),e=e.replace(ye,ve).toLowerCase(),function(t){var n;do{if(n=F?t.lang:t.getAttribute(“xml:lang”)||t.getAttribute(“lang”))return(n=n.toLowerCase())===e||0===n.indexOf(e+“-”)}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return“input”===t&&!!e.checked||“option”===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return“input”===t&&“button”===e.type||“button”===t},text:function(e){var t;return“input”===e.nodeName.toLowerCase()&&“text”===e.type&&(null==(t=e.getAttribute(“type”))||“text”===t.toLowerCase())},first:c(function(){return}),last:c(function(e,t){return}),eq:c(function(e,t,n){return}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;–r>=0;)e.push®;return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push®;return e})}}).pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos=s(b);for(b in{submit:!0,reset:!0})w.pseudos=l(b);return d.prototype=w.filters=w.pseudos,w.setFilters=new d,S=t.tokenize=function(e,n){var r,i,o,a,s,l,u,c=W[e+“ ”];if©return n?0:c.slice(0);for(s=e,l=[],u=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i.length)||s),l.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i.replace(oe,“ ”)}),s=s.slice(r.length));for(a in w.filter)!(i=fe.exec(s))||u&&!(i=u(i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):W(e,l).slice(0)},k=t.compile=function(e,n){var i,o=[],a=,s=I[e+“ ”];if(!s){for(n||(n=S(e)),i=n.length;i–;)(s=v(n))[$]?o.push(s):a.push(s);(s=I(e,function(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,l,u){var c,f,d,p=0,h=“0”,g=r&&[],y=,v=A,b=r||o&&w.find.TAG(“*”,u),x=R+=null==v?1:Math.random()||.1,C=b.length;for(u&&(A=a===L||a||u);h!==C&&null!=(c=b);h++){if(o&&c){for(f=0,a||c.ownerDocument===L||(j©,s=!F);d=e;)if(d(c,a||L,s)){l.push©;break}u&&(R=x)}i&&((c=!d&&c)&&p–,r&&g.push©)}if(p+=h,i&&h!==p){for(f=0;d=n;)d(g,y,a,s);if®{if(p>0)for(;h–;)g||y||(y=Y.call(l));y=m(y)}Q.apply(l,y),u&&!r&&y.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(R=x,A=v),g};return i?r(a):a}(a,o))).selector=e}return s},E=t.select=function(e,t,n,r){var i,o,a,s,l,u=“function”==typeof e&&e,c=!r&&S(e=u.selector||e);if(n=n||[],1===c.length){if((o=c=c.slice(0)).length>2&&“ID”===(a=o).type&&9===t.nodeType&&F&&w.relative[o.type]){if(!(t=(w.find.ID(a.matches.replace(ye,ve),t)||[])))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i–&&(a=o,!w.relative);)if((l=w.find)&&(r=l(a.matches.replace(ye,ve),me.test(o.type)&&f(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&p(o)))return Q.apply(n,r),n;break}}return(u||k(e,c))(r,t,!F,n,!t||me.test(e)&&f(t.parentNode)||t),n},x.sortStable=$.split(“”).sort(B).join(“”)===$,x.detectDuplicates=!!N,j(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(L.createElement(“fieldset”))}),i(function(e){return e.innerHTML=“<a href='#'></a>”,“#”===e.firstChild.getAttribute(“href”)})||o(“type|href|height|width”,function(e,t,n){if(!n)return e.getAttribute(t,“type”===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML=“<input/>”,e.firstChild.setAttribute(“value”,“”),“”===e.firstChild.getAttribute(“value”)})||o(“value”,function(e,t,n){if(!n&&“input”===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute(“disabled”)})||o(K,function(e,t,n){var r;if(!n)return!0===e?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);se.find=de,se.expr=de.selectors,se.expr=se.expr.pseudos,se.uniqueSort=se.unique=de.uniqueSort,se.text=de.getText,se.isXMLDoc=de.isXML,se.contains=de.contains,se.escapeSelector=de.escape;var pe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e)&&9!==e.nodeType;)if(1===e.nodeType){if(i&&se(e).is(n))break;r.push(e)}return r},he=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ge=se.expr.match.needsContext,me=/^<([^/0>:x20trnf]*)*/?>(?:</1>|)$/i,ye=/^.[^:#*$/;se.filter=function(e,t,n){var r=t;return n&&(e=“:not(”e
“)”),1===t.length&&1===r.nodeType?se.find.matchesSelector(r,e)?:[]:se.find.matches(e,se.grep(t,function(e){return 1===e.nodeType}))},se.fn.extend({find:function(e){var t,n,r=this.length,i=this;if(“string”!=typeof e)return this.pushStack(se(e).filter(function(){for(t=0;tLe
”)(*)$“,”i“),Fe=,De=function(e,t){return”none“===(e=t||e).style.display||”“===e.style.display&&se.contains(e.ownerDocument,e)&&”none“===se.css(e,”display“)},He=function(e,t,n,r){var i,o,a={};for(o in t)a=e.style,e.style=t;i=n.apply(e,r||[]);for(o in t)e.style=a;return i},ze={};se.fn.extend({show:function(){return g(this,!0)},hide:function(){return g(this)},toggle:function(e){return”boolean“==typeof e?e?this.show():this.hide():this.each(function(){De(this)?se(this).show():se(this).hide()})}});var Ve=/^(?:checkbox|radio)$/i,$e=/<([^/0>x20trnf]+)/i,Oe=/^$|/(?:java|ecma)script/i,Re={option:[1,”<select “,”“”>multiple=‘multiple’>“,”“],thead:,”,“ ”“>td:,_default:};Re.optgroup=Re.option,Re.tbody=Re.tfoot=Re.colgroup=Re.caption=Re.thead,Re.th=Re.td;var _e=/<|&#?w+;/;!function(){var e=G.createDocumentFragment().appendChild(G.createElement(”div“)),t=G.createElement(”input“);t.setAttribute(”type“,”radio“),t.setAttribute(”checked“,”checked“),t.setAttribute(”name“,”t“),e.appendChild(t),ae.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML=”<textarea>x</textarea>“,ae.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Me=G.documentElement,We=/^key/,Ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Be=/^(*)(?:.(.+)|)/;se.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,d,p,h,g,m=Ae.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&se.find.matchesSelector(Me,i),n.guid||(n.guid=se.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==se&&se.event.triggered!==t.type?se.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||”“).match(Ce)||).length;u–;)p=g=(s=Be.exec(t)||[])[1],h=(s||”“).split(”.“).sort(),p&&(f=se.event.special||{},p=(i?f.delegateType:f.bindType)||p,f=se.event.special||{},c=se.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&se.expr.match.needsContext.test(i),namespace:h.join(”.“)},o),(d=l)||((d=l=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push©,se.event.global=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,d,p,h,g,m=Ae.hasData(e)&&Ae.get(e);if(m&&(l=m.events)){for(u=(t=(t||”“).match(Ce)||).length;u–;)if(s=Be.exec(t)||[],p=g=s,h=(s||”“).split(”.“).sort(),p){for(f=se.event.special||{},d=l||[],s=s&&new RegExp(”(^|\.)“+h.join(”\.(?:.*\.|)“)+”(\.|$)“),a=o=d.length;o–;)c=d,!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&(”**“!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount–,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||se.removeEvent(e,p,m.handle),delete l)}else for(p in l)se.event.remove(e,p+t,n,r,!0);se.isEmptyObject(l)&&Ae.remove(e,”handle events“)}},dispatch:function(e){var t,n,r,i,o,a,s=se.event.fix(e),l=new Array(arguments.length),u=(Ae.get(this,”events“)||{})[s.type]||[],c=se.event.special||{};for(l=s,t=1;t