function loadProject(a,b){$.get("work/"+a+".html",(function(c){setModalNav(a),$("#showcase").scrollTop(0).modal("show").find(".modal-content").html(c),b&&b.stop()}))}function setModalNav(a){var b,c=$('.project a[href="#'+a+'"]').parents(".project"),d={prev:c.prev(".project"),next:c.next(".project")};$.each(d,(function(a,b){$(".modal-nav ."+a).hide().attr("href","#"),b.length&&(newHash=b.find("a").attr("href"),$(".modal-nav ."+a).show().attr("href",newHash))}))}if(function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,(function(a,b){function c(a){var b="length"in a&&a.length,c=$.type(a);return"function"!==c&&!$.isWindow(a)&&(!(1!==a.nodeType||!b)||"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a,b,c){if($.isFunction(b))return $.grep(a,(function(a,d){return!!b.call(a,d,a)!==c}));if(b.nodeType)return $.grep(a,(function(a){return a===b!==c}));if("string"==typeof b){if(da.test(b))return $.filter(b,a,c);b=$.filter(b,a)}return $.grep(a,(function(a){return U.call(b,a)>=0!==c}))}function e(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function f(a){var b=ja[a]={};return $.each(a.match(ia)||[],(function(a,c){b[c]=!0})),b}function g(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),$.ready()}function h(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=$.expando+h.uid++}function i(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(pa,"-$1").toLowerCase(),"string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:oa.test(c)?$.parseJSON(c):c)}catch(a){}na.set(a,b,c)}else c=void 0;return c}function j(){return!0}function k(){return!1}function l(){try{return Z.activeElement}catch(a){}}function m(a,b){return $.nodeName(a,"table")&&$.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function n(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function o(a){var b=Ea.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function p(a,b){for(var c=0,d=a.length;c")).appendTo(b.documentElement))[0].contentDocument).write(),b.close(),c=t(a,b),Ga.detach()),Ha[a]=c),c}function v(a,b,c){var d,e,f,g,h=a.style;return(c=c||Ka(a))&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||$.contains(a.ownerDocument,a)||(g=$.style(a,b)),Ja.test(g)&&Ia.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function w(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function x(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,e=Qa.length;e--;)if((b=Qa[e]+c)in a)return b;return d}function y(a,b,c){var d=Ma.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function z(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=$.css(a,c+ra[f],!0,e)),d?("content"===c&&(g-=$.css(a,"padding"+ra[f],!0,e)),"margin"!==c&&(g-=$.css(a,"border"+ra[f]+"Width",!0,e))):(g+=$.css(a,"padding"+ra[f],!0,e),"padding"!==c&&(g+=$.css(a,"border"+ra[f]+"Width",!0,e)));return g}function A(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ka(a),g="border-box"===$.css(a,"boxSizing",!1,f);if(e<=0||null==e){if(((e=v(a,b,f))<0||null==e)&&(e=a.style[b]),Ja.test(e))return e;d=g&&(Y.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+z(a,b,c||(g?"border":"content"),d,f)+"px"}function B(a,b){for(var c,d,e,f=[],g=0,h=a.length;g=0&&c=0},isPlainObject:function(a){return!("object"!==$.type(a)||a.nodeType||$.isWindow(a)||a.constructor&&!X.call(a.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?V[W.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;(a=$.trim(a))&&(1===a.indexOf("use strict")?((b=Z.createElement("script")).text=a,Z.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,_)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,d){var e=0,f=a.length,g=c(a);if(d){if(g)for(;eu.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[L]=!0,a}function e(a){var b=E.createElement("div");try{return!!a(b)}catch(a){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function f(a,b){for(var c=a.split("|"),d=a.length;d--;)u.attrHandle[c[d]]=b}function g(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||T)-(~a.sourceIndex||T);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function h(a){return d((function(b){return b=+b,d((function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))}))}))}function i(a){return a&&void 0!==a.getElementsByTagName&&a}function j(){}function k(a){for(var b=0,c=a.length,d="";b1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function n(a,c,d){for(var e=0,f=c.length;e-1&&(d[j]=!(g[j]=l))}}else t=o(t===g?t.splice(q,t.length):t),f?f(null,g,t,i):Y.apply(g,t)}))}function q(a){for(var b,c,d,e=a.length,f=u.relative[a[0].type],g=f||u.relative[" "],h=f?1:0,i=l((function(a){return a===b}),g,!0),j=l((function(a){return $(b,a)>-1}),g,!0),n=[function(a,c,d){var e=!f&&(d||c!==A)||((b=c).nodeType?i(a,c,d):j(a,c,d));return b=null,e}];h1&&m(n),h>1&&k(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(ga,"$1"),c,h0,f=a.length>0,g=function(d,g,h,i,j){var k,l,m,n=0,p="0",q=d&&[],r=[],s=A,t=d||f&&u.find.TAG("*",j),v=N+=null==s?1:Math.random()||.1,w=t.length;for(j&&(A=g!==E&&g);p!==w&&null!=(k=t[p]);p++){if(f&&k){for(l=0;m=a[l++];)if(m(k,g,h)){i.push(k);break}j&&(N=v)}e&&((k=!m&&k)&&n--,d&&q.push(k))}if(n+=p,e&&p!==n){for(l=0;m=c[l++];)m(q,r,g,h);if(d){if(n>0)for(;p--;)q[p]||r[p]||(r[p]=W.call(i));r=o(r)}Y.apply(i,r),j&&!d&&r.length>0&&n+c.length>1&&b.uniqueSort(i)}return j&&(N=v,A=s),q};return e?d(g):g}var s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L="sizzle"+1*new Date,M=a.document,N=0,O=0,P=c(),Q=c(),R=c(),S=function(a,b){return a===b&&(C=!0),0},T=1<<31,U={}.hasOwnProperty,V=[],W=V.pop,X=V.push,Y=V.push,Z=V.slice,$=function(a,b){for(var c=0,d=a.length;c+~]|"+aa+")"+aa+"*"),ja=new RegExp("="+aa+"*([^\\]'\"]*?)"+aa+"*\\]","g"),ka=new RegExp(ea),la=new RegExp("^"+ca+"$"),ma={ID:new RegExp("^#("+ba+")"),CLASS:new RegExp("^\\.("+ba+")"),TAG:new RegExp("^("+ba.replace("w","w*")+")"),ATTR:new RegExp("^"+da),PSEUDO:new RegExp("^"+ea),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+aa+"*(even|odd|(([+-]|)(\\d*)n|)"+aa+"*(?:([+-]|)"+aa+"*(\\d+)|))"+aa+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+aa+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+aa+"*((?:-\\d)?\\d*)"+aa+"*\\)|)(?=[^-]|$)","i")},na=/^(?:input|select|textarea|button)$/i,oa=/^h\d$/i,pa=/^[^{]+\{\s*\[native \w/,qa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ra=/[+~]/,sa=/'|\\/g,ta=new RegExp("\\\\([\\da-f]{1,6}"+aa+"?|("+aa+")|.)","ig"),ua=function(a,b,c){var d="0x"+b-65536;return d!=d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},va=function(){D()};try{Y.apply(V=Z.call(M.childNodes),M.childNodes),V[M.childNodes.length].nodeType}catch(a){Y={apply:V.length?function(a,b){X.apply(a,Z.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}for(s in t=b.support={},w=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},D=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:M;return d!==E&&9===d.nodeType&&d.documentElement?(E=d,F=d.documentElement,(c=d.defaultView)&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",va,!1):c.attachEvent&&c.attachEvent("onunload",va)),G=!w(d),t.attributes=e((function(a){return a.className="i",!a.getAttribute("className")})),t.getElementsByTagName=e((function(a){return a.appendChild(d.createComment("")),!a.getElementsByTagName("*").length})),t.getElementsByClassName=pa.test(d.getElementsByClassName),t.getById=e((function(a){return F.appendChild(a).id=L,!d.getElementsByName||!d.getElementsByName(L).length})),t.getById?(u.find.ID=function(a,b){if(void 0!==b.getElementById&&G){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},u.filter.ID=function(a){var b=a.replace(ta,ua);return function(a){return a.getAttribute("id")===b}}):(delete u.find.ID,u.filter.ID=function(a){var b=a.replace(ta,ua);return function(a){var c=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),u.find.TAG=t.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):t.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},u.find.CLASS=t.getElementsByClassName&&function(a,b){if(G)return b.getElementsByClassName(a)},I=[],H=[],(t.qsa=pa.test(d.querySelectorAll))&&(e((function(a){F.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+aa+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||H.push("\\["+aa+"*(?:value|"+_+")"),a.querySelectorAll("[id~="+L+"-]").length||H.push("~="),a.querySelectorAll(":checked").length||H.push(":checked"),a.querySelectorAll("a#"+L+"+*").length||H.push(".#.+[+~]")})),e((function(a){var b=d.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&H.push("name"+aa+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),H.push(",.*:")}))),(t.matchesSelector=pa.test(J=F.matches||F.webkitMatchesSelector||F.mozMatchesSelector||F.oMatchesSelector||F.msMatchesSelector))&&e((function(a){t.disconnectedMatch=J.call(a,"div"),J.call(a,"[s!='']:x"),I.push("!=",ea)})),H=H.length&&new RegExp(H.join("|")),I=I.length&&new RegExp(I.join("|")),b=pa.test(F.compareDocumentPosition),K=b||pa.test(F.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},S=b?function(a,b){if(a===b)return C=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c||(1&(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1)||!t.sortDetached&&b.compareDocumentPosition(a)===c?a===d||a.ownerDocument===M&&K(M,a)?-1:b===d||b.ownerDocument===M&&K(M,b)?1:B?$(B,a)-$(B,b):0:4&c?-1:1)}:function(a,b){if(a===b)return C=!0,0;var c,e=0,f=a.parentNode,h=b.parentNode,i=[a],j=[b];if(!f||!h)return a===d?-1:b===d?1:f?-1:h?1:B?$(B,a)-$(B,b):0;if(f===h)return g(a,b);for(c=a;c=c.parentNode;)i.unshift(c);for(c=b;c=c.parentNode;)j.unshift(c);for(;i[e]===j[e];)e++;return e?g(i[e],j[e]):i[e]===M?-1:j[e]===M?1:0},d):E},b.matches=function(a,c){return b(a,null,null,c)},b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==E&&D(a),c=c.replace(ja,"='$1']"),t.matchesSelector&&G&&(!I||!I.test(c))&&(!H||!H.test(c)))try{var d=J.call(a,c);if(d||t.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(a){}return b(c,E,null,[a]).length>0},b.contains=function(a,b){return(a.ownerDocument||a)!==E&&D(a),K(a,b)},b.attr=function(a,b){(a.ownerDocument||a)!==E&&D(a);var c=u.attrHandle[b.toLowerCase()],d=c&&U.call(u.attrHandle,b.toLowerCase())?c(a,b,!G):void 0;return void 0!==d?d:t.attributes||!G?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},b.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},b.uniqueSort=function(a){var b,c=[],d=0,e=0;if(C=!t.detectDuplicates,B=!t.sortStable&&a.slice(0),a.sort(S),C){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}return B=null,a},v=b.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=v(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=v(b);return c},(u=b.selectors={cacheLength:50,createPseudo:d,match:ma,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ta,ua),a[3]=(a[3]||a[4]||a[5]||"").replace(ta,ua),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return ma.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&ka.test(c)&&(b=x(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ta,ua).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=P[a+" "];return b||(b=new RegExp("(^|"+aa+")"+a+"("+aa+"|$)"))&&P(a,(function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,c,d){return function(e){var f=b.attr(e,a);return null==f?"!="===c:!c||(f+="","="===c?f===d:"!="===c?f!==d:"^="===c?d&&0===f.indexOf(d):"*="===c?d&&f.indexOf(d)>-1:"$="===c?d&&f.slice(-d.length)===d:"~="===c?(" "+f.replace(fa," ")+" ").indexOf(d)>-1:"|="===c&&(f===d||f.slice(0,d.length+1)===d+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){for(;p;){for(l=b;l=l[p];)if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){for(n=(j=(k=q[L]||(q[L]={}))[a]||[])[0]===N&&j[1],m=j[0]===N&&j[2],l=n&&q.childNodes[n];l=++n&&l&&l[p]||(m=n=0)||o.pop();)if(1===l.nodeType&&++m&&l===b){k[a]=[N,n,m];break}}else if(s&&(j=(b[L]||(b[L]={}))[a])&&j[0]===N)m=j[1];else for(;(l=++n&&l&&l[p]||(m=n=0)||o.pop())&&((h?l.nodeName.toLowerCase()!==r:1!==l.nodeType)||!++m||(s&&((l[L]||(l[L]={}))[a]=[N,m]),l!==b)););return(m-=e)===d||m%d==0&&m/d>=0}}},PSEUDO:function(a,c){var e,f=u.pseudos[a]||u.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[L]?f(c):f.length>1?(e=[a,a,"",c],u.setFilters.hasOwnProperty(a.toLowerCase())?d((function(a,b){for(var d,e=f(a,c),g=e.length;g--;)a[d=$(a,e[g])]=!(b[d]=e[g])})):function(a){return f(a,0,e)}):f}},pseudos:{not:d((function(a){var b=[],c=[],e=y(a.replace(ga,"$1"));return e[L]?d((function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))})):function(a,d,f){return b[0]=a,e(b,null,f,c),b[0]=null,!c.pop()}})),has:d((function(a){return function(c){return b(a,c).length>0}})),contains:d((function(a){return a=a.replace(ta,ua),function(b){return(b.textContent||b.innerText||v(b)).indexOf(a)>-1}})),lang:d((function(a){return la.test(a||"")||b.error("unsupported lang: "+a),a=a.replace(ta,ua).toLowerCase(),function(b){var c;do{if(c=G?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===a||0===c.indexOf(a+"-")}while((b=b.parentNode)&&1===b.nodeType);return!1}})),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===F},focus:function(a){return a===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!u.pseudos.empty(a)},header:function(a){return oa.test(a.nodeName)},input:function(a){return na.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:h((function(){return[0]})),last:h((function(a,b){return[b-1]})),eq:h((function(a,b,c){return[c<0?c+b:c]})),even:h((function(a,b){for(var c=0;c=0;)a.push(d);return a})),gt:h((function(a,b,c){for(var d=c<0?c+b:c;++d2&&"ID"===(g=f[0]).type&&t.getById&&9===b.nodeType&&G&&u.relative[f[1].type]){if(!(b=(u.find.ID(g.matches[0].replace(ta,ua),b)||[])[0]))return c;l&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=ma.needsContext.test(a)?0:f.length;e--&&(g=f[e],!u.relative[h=g.type]);)if((j=u.find[h])&&(d=j(g.matches[0].replace(ta,ua),ra.test(f[0].type)&&i(b.parentNode)||b))){if(f.splice(e,1),!(a=d.length&&k(f)))return Y.apply(c,d),c;break}}return(l||y(a,m))(d,b,!G,c,ra.test(a)&&i(b.parentNode)||b),c},t.sortStable=L.split("").sort(S).join("")===L,t.detectDuplicates=!!C,D(),t.sortDetached=e((function(a){return 1&a.compareDocumentPosition(E.createElement("div"))})),e((function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")}))||f("type|href|height|width",(function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)})),t.attributes&&e((function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")}))||f("value",(function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue})),e((function(a){return null==a.getAttribute("disabled")}))||f(_,(function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null})),b}(a);$.find=aa,$.expr=aa.selectors,$.expr[":"]=$.expr.pseudos,$.unique=aa.uniqueSort,$.text=aa.getText,$.isXMLDoc=aa.isXML,$.contains=aa.contains;var ba=$.expr.match.needsContext,ca=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,da=/^.[^:#\[\.,]*$/;$.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?$.find.matchesSelector(d,a)?[d]:[]:$.find.matches(a,$.grep(b,(function(a){return 1===a.nodeType})))},$.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack($(a).filter((function(){for(b=0;b1?$.unique(d):d)).selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"==typeof a&&ba.test(a)?$(a):a||[],!1).length}});var ea,fa=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;($.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(!(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:fa.exec(a))||!c[1]&&b)return!b||b.jquery?(b||ea).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof $?b[0]:b,$.merge(this,$.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:Z,!0)),ca.test(c[1])&&$.isPlainObject(b))for(c in b)$.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return(d=Z.getElementById(c[2]))&&d.parentNode&&(this.length=1,this[0]=d),this.context=Z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):$.isFunction(a)?void 0!==ea.ready?ea.ready(a):a($):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),$.makeArray(a,this))}).prototype=$.fn,ea=$(Z);var ga=/^(?:parents|prev(?:Until|All))/,ha={children:!0,contents:!0,next:!0,prev:!0};$.extend({dir:function(a,b,c){for(var d=[],e=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(e&&$(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),$.fn.extend({has:function(a){var b=$(a,this),c=b.length;return this.filter((function(){for(var a=0;a-1:1===c.nodeType&&$.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?$.unique(f):f)},index:function(a){return a?"string"==typeof a?U.call($(a),this[0]):U.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack($.unique($.merge(this.get(),$(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),$.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return $.dir(a,"parentNode")},parentsUntil:function(a,b,c){return $.dir(a,"parentNode",c)},next:function(a){return e(a,"nextSibling")},prev:function(a){return e(a,"previousSibling")},nextAll:function(a){return $.dir(a,"nextSibling")},prevAll:function(a){return $.dir(a,"previousSibling")},nextUntil:function(a,b,c){return $.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return $.dir(a,"previousSibling",c)},siblings:function(a){return $.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return $.sibling(a.firstChild)},contents:function(a){return a.contentDocument||$.merge([],a.childNodes)}},(function(a,b){$.fn[a]=function(c,d){var e=$.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=$.filter(d,e)),this.length>1&&(ha[a]||$.unique(e),ga.test(a)&&e.reverse()),this.pushStack(e)}}));var ia=/\S+/g,ja={},ka;$.Callbacks=function(a){a="string"==typeof a?ja[a]||f(a):$.extend({},a);var b,c,d,e,g,h,i=[],j=!a.once&&[],k=function(f){for(b=a.memory&&f,c=!0,h=e||0,e=0,g=i.length,d=!0;i&&h-1;)i.splice(c,1),d&&(c<=g&&g--,c<=h&&h--)})),this},has:function(a){return a?$.inArray(a,i)>-1:!(!i||!i.length)},empty:function(){return i=[],g=0,this},disable:function(){return i=j=b=void 0,this},disabled:function(){return!i},lock:function(){return j=void 0,b||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return!i||c&&!j||(b=[a,(b=b||[]).slice?b.slice():b],d?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!c}};return l},$.extend({Deferred:function(a){var b=[["resolve","done",$.Callbacks("once memory"),"resolved"],["reject","fail",$.Callbacks("once memory"),"rejected"],["notify","progress",$.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return $.Deferred((function(c){$.each(b,(function(b,f){var g=$.isFunction(a[b])&&a[b];e[f[1]]((function(){var a=g&&g.apply(this,arguments);a&&$.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)}))})),a=null})).promise()},promise:function(a){return null!=a?$.extend(a,d):d}},e={};return d.pipe=d.then,$.each(b,(function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add((function(){c=h}),b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith})),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=R.call(arguments),g=f.length,h=1!==g||a&&$.isFunction(a.promise)?g:0,i=1===h?a:$.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?R.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=new Array(g),c=new Array(g),d=new Array(g);e0||(ka.resolveWith(Z,[$]),$.fn.triggerHandler&&($(Z).triggerHandler("ready"),$(Z).off("ready"))))}}),$.ready.promise=function(b){return ka||(ka=$.Deferred(),"complete"===Z.readyState?setTimeout($.ready):(Z.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1))),ka.promise(b)},$.ready.promise();var la=$.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===$.type(c))for(h in e=!0,c)$.access(a,b,h,c[h],!0,f,g);else if(void 0!==d&&(e=!0,$.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call($(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each((function(){na.remove(this,a)}))}}),$.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=ma.get(a,b),c&&(!d||$.isArray(c)?d=ma.access(a,b,$.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=$.queue(a,b),d=c.length,e=c.shift(),f=$._queueHooks(a,b),g=function(){$.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return ma.get(a,c)||ma.access(a,c,{empty:$.Callbacks("once memory").add((function(){ma.remove(a,[b+"queue",c])}))})}}),$.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",Y.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}(),Y.focusinBubbles="onfocusin"in a;var ua=/^key/,va=/^(?:mouse|pointer|contextmenu)|click/,wa=/^(?:focusinfocus|focusoutblur)$/,xa=/^([^.]*)(?:\.(.+)|)$/;$.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=ma.get(a);if(q)for(c.handler&&(c=(f=c).handler,e=f.selector),c.guid||(c.guid=$.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return void 0!==$&&$.event.triggered!==b.type?$.event.dispatch.apply(a,arguments):void 0}),j=(b=(b||"").match(ia)||[""]).length;j--;)n=p=(h=xa.exec(b[j])||[])[1],o=(h[2]||"").split(".").sort(),n&&(l=$.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=$.event.special[n]||{},k=$.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&$.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||((m=i[n]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(a,d,o,g)||a.addEventListener&&a.addEventListener(n,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),$.event.global[n]=!0)},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=ma.hasData(a)&&ma.get(a);if(q&&(i=q.events)){for(j=(b=(b||"").match(ia)||[""]).length;j--;)if(n=p=(h=xa.exec(b[j])||[])[1],o=(h[2]||"").split(".").sort(),n){for(l=$.event.special[n]||{},m=i[n=(d?l.delegateType:l.bindType)||n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;f--;)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&!1!==l.teardown.call(a,o,q.handle)||$.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)$.event.remove(a,n+b[j],c,d,!0);$.isEmptyObject(i)&&(delete q.handle,ma.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,j,k,l,m=[d||Z],n=X.call(b,"type")?b.type:b,o=X.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||Z,3!==d.nodeType&&8!==d.nodeType&&!wa.test(n+$.event.triggered)&&(n.indexOf(".")>=0&&(o=n.split("."),n=o.shift(),o.sort()),j=n.indexOf(":")<0&&"on"+n,(b=b[$.expando]?b:new $.Event(n,"object"==typeof b&&b)).isTrigger=e?2:3,b.namespace=o.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:$.makeArray(c,[b]),l=$.event.special[n]||{},e||!l.trigger||!1!==l.trigger.apply(d,c))){if(!e&&!l.noBubble&&!$.isWindow(d)){for(i=l.delegateType||n,wa.test(i+n)||(g=g.parentNode);g;g=g.parentNode)m.push(g),h=g;h===(d.ownerDocument||Z)&&m.push(h.defaultView||h.parentWindow||a)}for(f=0;(g=m[f++])&&!b.isPropagationStopped();)b.type=f>1?i:l.bindType||n,(k=(ma.get(g,"events")||{})[b.type]&&ma.get(g,"handle"))&&k.apply(g,c),(k=j&&g[j])&&k.apply&&$.acceptData(g)&&(b.result=k.apply(g,c),!1===b.result&&b.preventDefault());return b.type=n,e||b.isDefaultPrevented()||l._default&&!1!==l._default.apply(m.pop(),c)||!$.acceptData(d)||j&&$.isFunction(d[n])&&!$.isWindow(d)&&((h=d[j])&&(d[j]=null),$.event.triggered=n,d[n](),$.event.triggered=void 0,h&&(d[j]=h)),b.result}},dispatch:function(a){a=$.event.fix(a);var b,c,d,e,f,g=[],h=R.call(arguments),i=(ma.get(this,"events")||{})[a.type]||[],j=$.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!j.preDispatch||!1!==j.preDispatch.call(this,a)){for(g=$.event.handlers.call(this,a,i),b=0;(e=g[b++])&&!a.isPropagationStopped();)for(a.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!a.isImmediatePropagationStopped();)a.namespace_re&&!a.namespace_re.test(f.namespace)||(a.handleObj=f,a.data=f.data,void 0!==(d=(($.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h))&&!1===(a.result=d)&&(a.preventDefault(),a.stopPropagation()));return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(!0!==i.disabled||"click"!==a.type){for(d=[],c=0;c=0:$.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,za=/<([\w:]+)/,Aa=/<|?\w+;/,Ba=/<(?:script|style|link)/i,Ca=/checked\s*(?:[^=]|=\s*.checked.)/i,Da=/^$|\/(?:java|ecma)script/i,Ea=/^true\/(.*)/,Fa={option:[1,""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};Fa.optgroup=Fa.option,Fa.tbody=Fa.tfoot=Fa.colgroup=Fa.caption=Fa.thead,Fa.th=Fa.td,$.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=$.contains(a.ownerDocument,a);if(!(Y.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||$.isXMLDoc(a)))for(g=r(h),d=0,e=(f=r(a)).length;d0&&p(g,!i&&r(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,n=a.length;m$2>")+h[2],j=h[0];j--;)f=f.lastChild;$.merge(l,f.childNodes),(f=k.firstChild).textContent=""}else l.push(b.createTextNode(e));for(k.textContent="",m=0;e=l[m++];)if((!d||-1===$.inArray(e,d))&&(i=$.contains(e.ownerDocument,e),f=r(k.appendChild(e),"script"),i&&p(f),c))for(j=0;e=f[j++];)Da.test(e.type||"")&&c.push(e);return k},cleanData:function(a){for(var b,c,d,e,f=$.event.special,g=0;void 0!==(c=a[g]);g++){if($.acceptData(c)&&(e=c[ma.expando])&&(b=ma.cache[e])){if(b.events)for(d in b.events)f[d]?$.event.remove(c,d):$.removeEvent(c,d,b.handle);ma.cache[e]&&delete ma.cache[e]}delete na.cache[c[na.expando]]}}}),$.fn.extend({text:function(a){return la(this,(function(a){return void 0===a?$.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)}))}),null,a,arguments.length)},append:function(){return this.domManip(arguments,(function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||m(this,a).appendChild(a)}))},prepend:function(){return this.domManip(arguments,(function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=m(this,a);b.insertBefore(a,b.firstChild)}}))},before:function(){return this.domManip(arguments,(function(a){this.parentNode&&this.parentNode.insertBefore(a,this)}))},after:function(){return this.domManip(arguments,(function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)}))},remove:function(a,b){for(var c,d=a?$.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||$.cleanData(r(c)),c.parentNode&&(b&&$.contains(c.ownerDocument,c)&&p(r(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&($.cleanData(r(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map((function(){return $.clone(this,a,b)}))},html:function(a){return la(this,(function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Ba.test(a)&&!Fa[(za.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ya,"<$1>$2>");try{for(;c1&&"string"==typeof m&&!Y.checkClone&&Ca.test(m))return this.each((function(c){var d=k.eq(c);p&&(a[0]=m.call(this,c,d.html())),d.domManip(a,b)}));if(j&&(d=(c=$.buildFragment(a,this[0].ownerDocument,!1,this)).firstChild,1===c.childNodes.length&&(c=d),d)){for(f=(e=$.map(r(c,"script"),n)).length;i\s*$/g,"")))}return this}}),$.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(a,b){$.fn[a]=function(a){for(var c,d=[],e=$(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),$(e[g])[b](c),T.apply(d,c.get());return this.pushStack(d)}}));var Ga,Ha={},Ia=/^margin/,Ja=new RegExp("^("+qa+")(?!px)[a-z%]+$","i"),Ka=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};!function(){function b(){g.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",g.innerHTML="",e.appendChild(f);var b=a.getComputedStyle(g,null);c="1%"!==b.top,d="4px"===b.width,e.removeChild(f)}var c,d,e=Z.documentElement,f=Z.createElement("div"),g=Z.createElement("div");g.style&&(g.style.backgroundClip="content-box",g.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle="content-box"===g.style.backgroundClip,f.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",f.appendChild(g),a.getComputedStyle&&$.extend(Y,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return null==d&&b(),d},reliableMarginRight:function(){var b,c=g.appendChild(Z.createElement("div"));return c.style.cssText=g.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",g.style.width="1px",e.appendChild(f),b=!parseFloat(a.getComputedStyle(c,null).marginRight),e.removeChild(f),g.removeChild(c),b}}))}(),$.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];for(f in e=c.apply(a,d||[]),b)a.style[f]=g[f];return e};var La=/^(none|table(?!-c[ea]).+)/,Ma=new RegExp("^("+qa+")(.*)$","i"),Na=new RegExp("^([+-])=("+qa+")","i"),Oa={position:"absolute",visibility:"hidden",display:"block"},Pa={letterSpacing:"0",fontWeight:"400"},Qa=["Webkit","O","Moz","ms"];$.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=v(a,"opacity");return""===c?"1":c}}}},cssNumber:{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(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=$.camelCase(b),i=a.style;if(b=$.cssProps[h]||($.cssProps[h]=x(i,h)),g=$.cssHooks[b]||$.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];"string"===(f=typeof c)&&(e=Na.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat($.css(a,b)),f="number"),null!=c&&c==c&&("number"!==f||$.cssNumber[h]||(c+="px"),Y.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c))}},css:function(a,b,c,d){var e,f,g,h=$.camelCase(b);return b=$.cssProps[h]||($.cssProps[h]=x(a.style,h)),(g=$.cssHooks[b]||$.cssHooks[h])&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=v(a,b,d)),"normal"===e&&b in Pa&&(e=Pa[b]),""===c||c?(f=parseFloat(e),!0===c||$.isNumeric(f)?f||0:e):e}}),$.each(["height","width"],(function(a,b){$.cssHooks[b]={get:function(a,c,d){if(c)return La.test($.css(a,"display"))&&0===a.offsetWidth?$.swap(a,Oa,(function(){return A(a,b,d)})):A(a,b,d)},set:function(a,c,d){var e=d&&Ka(a);return y(a,c,d?z(a,b,d,"border-box"===$.css(a,"boxSizing",!1,e),e):0)}}})),$.cssHooks.marginRight=w(Y.reliableMarginRight,(function(a,b){if(b)return $.swap(a,{display:"inline-block"},v,[a,"marginRight"])})),$.each({margin:"",padding:"",border:"Width"},(function(a,b){$.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+ra[d]+b]=f[d]||f[d-2]||f[0];return e}},Ia.test(a)||($.cssHooks[a+b].set=y)})),$.fn.extend({css:function(a,b){return la(this,(function(a,b,c){var d,e,f={},g=0;if($.isArray(b)){for(d=Ka(a),e=b.length;g1)},show:function(){return B(this,!0)},hide:function(){return B(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each((function(){sa(this)?$(this).show():$(this).hide()}))}}),$.Tween=C,C.prototype={constructor:C,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||($.cssNumber[c]?"":"px")},cur:function(){var a=C.propHooks[this.prop];return a&&a.get?a.get(this):C.propHooks._default.get(this)},run:function(a){var b,c=C.propHooks[this.prop];return this.options.duration?this.pos=b=$.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):C.propHooks._default.set(this),this}},C.prototype.init.prototype=C.prototype,C.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=$.css(a.elem,a.prop,""))&&"auto"!==b?b:0:a.elem[a.prop]},set:function(a){$.fx.step[a.prop]?$.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[$.cssProps[a.prop]]||$.cssHooks[a.prop])?$.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},C.propHooks.scrollTop=C.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},$.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},$.fx=C.prototype.init,$.fx.step={};var Ra,Sa,Ta=/^(?:toggle|show|hide)$/,Ua=new RegExp("^(?:([+-])=|)("+qa+")([a-z%]*)$","i"),Va=/queueHooks$/,Wa=[G],Xa={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=Ua.exec(b),f=e&&e[3]||($.cssNumber[a]?"":"px"),g=($.cssNumber[a]||"px"!==f&&+d)&&Ua.exec($.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do{g/=h=h||".5",$.style(c.elem,a,g+f)}while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};$.Animation=$.extend(I,{tweener:function(a,b){$.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;d1)},removeAttr:function(a){return this.each((function(){$.removeAttr(this,a)}))}}),$.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?$.prop(a,b,c):(1===f&&$.isXMLDoc(a)||(b=b.toLowerCase(),d=$.attrHooks[b]||($.expr.match.bool.test(b)?Ya:void 0)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:null==(e=$.find.attr(a,b))?void 0:e:null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void $.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(ia);if(f&&1===a.nodeType)for(;c=f[e++];)d=$.propFix[c]||c,$.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!Y.radioValue&&"radio"===b&&$.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Ya={set:function(a,b,c){return!1===b?$.removeAttr(a,c):a.setAttribute(c,c),c}},$.each($.expr.match.bool.source.match(/\w+/g),(function(a,b){var c=Za[b]||$.find.attr;Za[b]=function(a,b,d){var e,f;return d||(f=Za[b],Za[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,Za[b]=f),e}}));var $a=/^(?:input|select|textarea|button)$/i;$.fn.extend({prop:function(a,b){return la(this,$.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each((function(){delete this[$.propFix[a]||a]}))}}),$.extend({propFix:{for:"htmlFor",class:"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return(f=1!==g||!$.isXMLDoc(a))&&(b=$.propFix[b]||b,e=$.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||$a.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),Y.optSelected||($.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),$.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){$.propFix[this.toLowerCase()]=this})),$.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if($.isFunction(a))return this.each((function(b){$(this).addClass(a.call(this,b,this.className))}));if(h)for(b=(a||"").match(ia)||[];i=0;)d=d.replace(" "+e+" "," ");g=a?$.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):$.isFunction(a)?this.each((function(c){$(this).toggleClass(a.call(this,c,this.className,b),b)})):this.each((function(){if("string"===c)for(var b,d=0,e=$(this),f=a.match(ia)||[];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else"undefined"!==c&&"boolean"!==c||(this.className&&ma.set(this,"__className__",this.className),this.className=this.className||!1===a?"":ma.get(this,"__className__")||"")}))},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;c=0)return!0;return!1}}),$.fn.extend({val:function(a){var b,c,d,e=this[0];return arguments.length?(d=$.isFunction(a),this.each((function(c){var e;1===this.nodeType&&(null==(e=d?a.call(this,c,$(this).val()):a)?e="":"number"==typeof e?e+="":$.isArray(e)&&(e=$.map(e,(function(a){return null==a?"":a+""}))),(b=$.valHooks[this.type]||$.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))}))):e?(b=$.valHooks[e.type]||$.valHooks[e.nodeName.toLowerCase()])&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:"string"==typeof(c=e.value)?c.replace(/\r/g,""):null==c?"":c:void 0}}),$.extend({valHooks:{option:{get:function(a){var b=$.find.attr(a,"value");return null!=b?b:$.trim($.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),$.each(["radio","checkbox"],(function(){$.valHooks[this]={set:function(a,b){if($.isArray(b))return a.checked=$.inArray($(a).val(),b)>=0}},Y.checkOn||($.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})})),$.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(a,b){$.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}})),$.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var _a=$.now(),ab=/\?/;$.parseJSON=function(a){return JSON.parse(a+"")},$.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{b=(c=new DOMParser).parseFromString(a,"text/xml")}catch(a){b=void 0}return b&&!b.getElementsByTagName("parsererror").length||$.error("Invalid XML: "+a),b};var bb=/([?&])_=[^&]*/,cb=/^(.*?):[ \t]*([^\r\n]*)$/gm,db=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,eb=/^(?:GET|HEAD)$/,fb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,gb={},hb={},ib="*/".concat("*"),jb=a.location.href,kb=fb.exec(jb.toLowerCase())||[];$.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jb,type:"GET",isLocal:db.test(kb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ib,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":$.parseJSON,"text xml":$.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?L(L(a,$.ajaxSettings),b):L($.ajaxSettings,a)},ajaxPrefilter:J(gb),ajaxTransport:J(hb),ajax:function(a,b){function c(a,b,c,g){var i,k,r,s,u,w=b;2!==t&&(t=2,h&&clearTimeout(h),d=void 0,f=g||"",v.readyState=a>0?4:0,i=a>=200&&a<300||304===a,c&&(s=M(l,v,c)),s=N(l,s,v,i),i?(l.ifModified&&((u=v.getResponseHeader("Last-Modified"))&&($.lastModified[e]=u),(u=v.getResponseHeader("etag"))&&($.etag[e]=u)),204===a||"HEAD"===l.type?w="nocontent":304===a?w="notmodified":(w=s.state,k=s.data,i=!(r=s.error))):(r=w,!a&&w||(w="error",a<0&&(a=0))),v.status=a,v.statusText=(b||w)+"",i?o.resolveWith(m,[k,w,v]):o.rejectWith(m,[v,w,r]),v.statusCode(q),q=void 0,j&&n.trigger(i?"ajaxSuccess":"ajaxError",[v,l,i?k:r]),p.fireWith(m,[v,w]),j&&(n.trigger("ajaxComplete",[v,l]),--$.active||$.event.trigger("ajaxStop")))}"object"==typeof a&&(b=a,a=void 0),b=b||{};var d,e,f,g,h,i,j,k,l=$.ajaxSetup({},b),m=l.context||l,n=l.context&&(m.nodeType||m.jquery)?$(m):$.event,o=$.Deferred(),p=$.Callbacks("once memory"),q=l.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!g)for(g={};b=cb.exec(f);)g[b[1].toLowerCase()]=b[2];b=g[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(t<2)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return d&&d.abort(b),c(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,l.url=((a||l.url||jb)+"").replace(/#.*$/,"").replace(/^\/\//,kb[1]+"//"),l.type=b.method||b.type||l.method||l.type,l.dataTypes=$.trim(l.dataType||"*").toLowerCase().match(ia)||[""],null==l.crossDomain&&(i=fb.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]===kb[1]&&i[2]===kb[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(kb[3]||("http:"===kb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=$.param(l.data,l.traditional)),K(gb,l,b,v),2===t)return v;for(k in(j=$.event&&l.global)&&0==$.active++&&$.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!eb.test(l.type),e=l.url,l.hasContent||(l.data&&(e=l.url+=(ab.test(e)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=bb.test(e)?e.replace(bb,"$1_="+_a++):e+(ab.test(e)?"&":"?")+"_="+_a++)),l.ifModified&&($.lastModified[e]&&v.setRequestHeader("If-Modified-Since",$.lastModified[e]),$.etag[e]&&v.setRequestHeader("If-None-Match",$.etag[e])),(l.data&&l.hasContent&&!1!==l.contentType||b.contentType)&&v.setRequestHeader("Content-Type",l.contentType),v.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+ib+"; q=0.01":""):l.accepts["*"]),l.headers)v.setRequestHeader(k,l.headers[k]);if(l.beforeSend&&(!1===l.beforeSend.call(m,v,l)||2===t))return v.abort();for(k in u="abort",{success:1,error:1,complete:1})v[k](l[k]);if(d=K(hb,l,b,v)){v.readyState=1,j&&n.trigger("ajaxSend",[v,l]),l.async&&l.timeout>0&&(h=setTimeout((function(){v.abort("timeout")}),l.timeout));try{t=1,d.send(r,c)}catch(a){if(!(t<2))throw a;c(-1,a)}}else c(-1,"No Transport");return v},getJSON:function(a,b,c){return $.get(a,b,c,"json")},getScript:function(a,b){return $.get(a,void 0,b,"script")}}),$.each(["get","post"],(function(a,b){$[b]=function(a,c,d,e){return $.isFunction(c)&&(e=e||d,d=c,c=void 0),$.ajax({url:a,type:b,dataType:e,data:c,success:d})}})),$._evalUrl=function(a){return $.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},$.fn.extend({wrapAll:function(a){var b;return $.isFunction(a)?this.each((function(b){$(this).wrapAll(a.call(this,b))})):(this[0]&&(b=$(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map((function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a})).append(this)),this)},wrapInner:function(a){return $.isFunction(a)?this.each((function(b){$(this).wrapInner(a.call(this,b))})):this.each((function(){var b=$(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)}))},wrap:function(a){var b=$.isFunction(a);return this.each((function(c){$(this).wrapAll(b?a.call(this,c):a)}))},unwrap:function(){return this.parent().each((function(){$.nodeName(this,"body")||$(this).replaceWith(this.childNodes)})).end()}}),$.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},$.expr.filters.visible=function(a){return!$.expr.filters.hidden(a)};var lb=/\[\]$/,mb=/^(?:submit|button|image|reset|file)$/i,nb=/^(?:input|select|textarea|keygen)/i;$.param=function(a,b){var c,d=[],e=function(a,b){b=$.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=$.ajaxSettings&&$.ajaxSettings.traditional),$.isArray(a)||a.jquery&&!$.isPlainObject(a))$.each(a,(function(){e(this.name,this.value)}));else for(c in a)O(c,a[c],b,e);return d.join("&").replace(/%20/g,"+")},$.fn.extend({serialize:function(){return $.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var a=$.prop(this,"elements");return a?$.makeArray(a):this})).filter((function(){var a=this.type;return this.name&&!$(this).is(":disabled")&&nb.test(this.nodeName)&&!mb.test(a)&&(this.checked||!ta.test(a))})).map((function(a,b){var c=$(this).val();return null==c?null:$.isArray(c)?$.map(c,(function(a){return{name:b.name,value:a.replace(/\r?\n/g,"\r\n")}})):{name:b.name,value:c.replace(/\r?\n/g,"\r\n")}})).get()}}),$.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var ob=0,pb={},qb={0:200,1223:204},rb=$.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",(function(){for(var a in pb)pb[a]()})),Y.cors=!!rb&&"withCredentials"in rb,Y.ajax=rb=!!rb,$.ajaxTransport((function(a){var b;if(Y.cors||rb&&!a.crossDomain)return{send:function(c,d){var e,f=a.xhr(),g=++ob;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];for(e in a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest"),c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete pb[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(qb[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=pb[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(a){if(b)throw a}},abort:function(){b&&b()}}})),$.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return $.globalEval(a),a}}}),$.ajaxPrefilter("script",(function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")})),$.ajaxTransport("script",(function(a){var b,c;if(a.crossDomain)return{send:function(d,e){b=$("