(function(Z){function l(a,b,c,d){var c=c||[],b=b||o,g,f,e,i,h=b.nodeType;if(!a||"string"!==typeof a)return c;if(1!==h&&9!==h)return[];e=D(b);if(!e&&!d&&(g=ja.exec(a)))if(i=g[1])if(9===h)if((f=b.getElementById(i))&&f.parentNode){if(f.id===i)return c.push(f),c}else return c;else{if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&v(b,f)&&f.id===i)return c.push(f),c}else{if(g[2])return z.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((i=g[3])&&$&&b.getElementsByClassName)return z.apply(c,x.call(b.getElementsByClassName(i),
0)),c}return M(a.replace(E,"$1"),b,c,d,e)}function A(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function aa(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function w(a){return p(function(b){b=+b;return p(function(c,d){for(var g,f=a([],c.length,b),e=f.length;e--;)if(c[g=f[e]])c[g]=!(d[g]=c[g])})})}function ba(a,b){if(a&&b)for(var c=a.nextSibling;c;){if(c===b)return-1;c=c.nextSibling}return a?1:-1}function F(a,b){var c,
d,g,f,e,i,h;if(e=ca[j][a+" "])return b?0:e.slice(0);e=a;i=[];for(h=k.preFilter;e;){if(!c||(d=ka.exec(e)))d&&(e=e.slice(d[0].length)||e),i.push(g=[]);c=!1;if(d=la.exec(e))g.push(c=new da(d.shift())),e=e.slice(c.length),c.type=d[0].replace(E," ");for(f in k.filter)if((d=G[f].exec(e))&&(!h[f]||(d=h[f](d))))g.push(c=new da(d.shift())),e=e.slice(c.length),c.type=f,c.matches=d;if(!c)break}return b?e.length:e?l.error(a):ca(a,i).slice(0)}function N(a,b,c){var d=b.dir,g=c&&"parentNode"===b.dir,f=ma++;return b.first?
function(b,c,f){for(;b=b[d];)if(g||1===b.nodeType)return a(b,c,f)}:function(b,c,h){if(h)for(;b=b[d];){if((g||1===b.nodeType)&&a(b,c,h))return b}else for(var q,t=B+" "+f+" ",l=t+O;b=b[d];)if(g||1===b.nodeType){if((q=b[j])===l)return b.sizset;if("string"===typeof q&&0===q.indexOf(t)){if(b.sizset)return b}else{b[j]=l;if(a(b,c,h))return b.sizset=!0,b;b.sizset=!1}}}}function P(a){return 1<a.length?function(b,c,d){for(var g=a.length;g--;)if(!a[g](b,c,d))return!1;return!0}:a[0]}function H(a,b,c,d,g){for(var f,
e=[],i=0,h=a.length,q=null!=b;i<h;i++)if(f=a[i])if(!c||c(f,d,g))e.push(f),q&&b.push(i);return e}function Q(a,b,c,d,g,f){d&&!d[j]&&(d=Q(d));g&&!g[j]&&(g=Q(g,f));return p(function(e,f,h,q){var t,k,o=[],j=[],n=f.length,s;if(!(s=e)){s=b||"*";for(var m=h.nodeType?[h]:h,r=[],R=0,p=m.length;R<p;R++)l(s,m[R],r);s=r}s=a&&(e||!b)?H(s,o,a,h,q):s;m=c?g||(e?a:n||d)?[]:f:s;c&&c(s,m,h,q);if(d){t=H(m,j);d(t,[],h,q);for(h=t.length;h--;)if(k=t[h])m[j[h]]=!(s[j[h]]=k)}if(e){if(g||a){if(g){t=[];for(h=m.length;h--;)if(k=
m[h])t.push(s[h]=k);g(null,m=[],t,q)}for(h=m.length;h--;)if((k=m[h])&&-1<(t=g?S.call(e,k):o[h]))e[t]=!(f[t]=k)}}else m=H(m===f?m.splice(n,m.length):m),g?g(null,f,m,q):z.apply(f,m)})}function T(a){var b,c,d,g=a.length,f=k.relative[a[0].type];c=f||k.relative[" "];for(var e=f?1:0,i=N(function(a){return a===b},c,!0),h=N(function(a){return-1<S.call(b,a)},c,!0),q=[function(a,c,d){return!f&&(d||c!==I)||((b=c).nodeType?i(a,c,d):h(a,c,d))}];e<g;e++)if(c=k.relative[a[e].type])q=[N(P(q),c)];else{c=k.filter[a[e].type].apply(null,
a[e].matches);if(c[j]){for(d=++e;d<g&&!k.relative[a[d].type];d++);return Q(1<e&&P(q),1<e&&a.slice(0,e-1).join("").replace(E,"$1"),c,e<d&&T(a.slice(e,d)),d<g&&T(a=a.slice(d)),d<g&&a.join(""))}q.push(c)}return P(q)}function M(a,b,c,d,g){var f,e,i,h,q=F(a);if(!d&&1===q.length){e=q[0]=q[0].slice(0);if(2<e.length&&"ID"===(i=e[0]).type&&9===b.nodeType&&!g&&k.relative[e[1].type]){b=k.find.ID(i.matches[0].replace(y,""),b,g)[0];if(!b)return c;a=a.slice(e.shift().length)}for(f=G.needsContext.test(a)?-1:e.length-
1;0<=f;f--){i=e[f];if(k.relative[h=i.type])break;if(h=k.find[h])if(d=h(i.matches[0].replace(y,""),U.test(e[0].type)&&b.parentNode||b,g)){e.splice(f,1);a=d.length&&e.join("");if(!a)return z.apply(c,x.call(d,0)),c;break}}}V(a,q)(d,b,g,c,U.test(a));return c}function ea(){}var O,W,k,J,D,v,V,X,C,I,fa=!0,j=("sizcache"+Math.random()).replace(".",""),da=String,o=Z.document,r=o.documentElement,B=0,ma=0,na=[].pop,z=[].push,x=[].slice,S=[].indexOf||function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]===
a)return b;return-1},p=function(a,b){a[j]=null==b||b;return a},n=function(){var a={},b=[];return p(function(c,d){b.push(c)>k.cacheLength&&delete a[b.shift()];return a[c+" "]=d},a)},ga=n(),ca=n(),ha=n(),n="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w#")+")|)|)[\\x20\\t\\r\\n\\f]*\\]",Y=":((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+
n+")|[^:]|\\\\.)*|.*))\\)|)",E=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,ka=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,la=/^[\x20\t\r\n\f]*([\x20\t\r\n\f>+~])[\x20\t\r\n\f]*/,oa=RegExp(Y),ja=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/[\x20\t\r\n\f]*[+~]/,pa=/h\d/i,qa=/input|select|textarea|button/i,y=/\\(?!\\)/g,G={ID:/^#((?:\\.|[-\w]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[-\w]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[-\w]|[^\x00-\xa0])+)['"]?\]/,TAG:RegExp("^("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w",
"w*")+")"),ATTR:RegExp("^"+n),PSEUDO:RegExp("^"+Y),CHILD:RegExp("^:(only|nth|first|last)-child(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},n=function(a){var b=o.createElement("div");try{return a(b)}catch(c){return!1}finally{}},ra=n(function(a){a.appendChild(o.createComment(""));
return!a.getElementsByTagName("*").length}),sa=n(function(a){a.innerHTML="<a href='#'></a>";return a.firstChild&&"undefined"!==typeof a.firstChild.getAttribute&&"#"===a.firstChild.getAttribute("href")}),ta=n(function(a){a.innerHTML="<select></select>";a=typeof a.lastChild.getAttribute("multiple");return"boolean"!==a&&"string"!==a}),$=n(function(a){a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!a.getElementsByClassName||!a.getElementsByClassName("e").length)return!1;a.lastChild.className=
"e";return 2===a.getElementsByClassName("e").length}),ua=n(function(a){a.id=j+0;a.innerHTML="<a name='"+j+"'></a><div name='"+j+"'></div>";r.insertBefore(a,r.firstChild);var b=o.getElementsByName&&o.getElementsByName(j).length===2+o.getElementsByName(j+0).length;W=!o.getElementById(j);r.removeChild(a);return b});try{x.call(r.childNodes,0)[0].nodeType}catch(ya){x=function(a){for(var b,c=[];b=this[a];a++)c.push(b);return c}}l.matches=function(a,b){return l(a,null,null,b)};l.matchesSelector=function(a,
b){return 0<l(b,null,null,[a]).length};J=l.getText=function(a){var b,c="",d=0;if(b=a.nodeType)if(1===b||9===b||11===b){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=J(a)}else{if(3===b||4===b)return a.nodeValue}else for(;b=a[d];d++)c+=J(b);return c};D=l.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};v=l.contains=r.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)))}:r.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){for(;b=b.parentNode;)if(b===a)return!0;return!1};l.attr=function(a,b){var c,d=D(a);d||(b=b.toLowerCase());return(c=k.attrHandle[b])?c(a):d||ta?a.getAttribute(b):(c=a.getAttributeNode(b))?"boolean"===typeof a[b]?a[b]?b:null:c.specified?c.value:null:null};k=l.selectors={cacheLength:50,createPseudo:p,match:G,attrHandle:sa?{}:{href:function(a){return a.getAttribute("href",
2)},type:function(a){return a.getAttribute("type")}},find:{ID:W?function(a,b,c){if("undefined"!==typeof b.getElementById&&!c)return(a=b.getElementById(a))&&a.parentNode?[a]:[]}:function(a,b,c){if("undefined"!==typeof b.getElementById&&!c)return(b=b.getElementById(a))?b.id===a||"undefined"!==typeof b.getAttributeNode&&b.getAttributeNode("id").value===a?[b]:void 0:[]},TAG:ra?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);
if("*"===a){for(var d,g=[],f=0;d=c[f];f++)1===d.nodeType&&g.push(d);return g}return c},NAME:ua&&function(a,b){if("undefined"!==typeof b.getElementsByName)return b.getElementsByName(name)},CLASS:$&&function(a,b,c){if("undefined"!==typeof b.getElementsByClassName&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){a[1]=a[1].replace(y,"");a[3]=(a[4]||a[5]||
"").replace(y,"");"~="===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1]?(a[2]||l.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*("even"===a[2]||"odd"===a[2])),a[4]=+(a[6]+a[7]||"odd"===a[2])):a[2]&&l.error(a[0]);return a},PSEUDO:function(a){var b,c;if(G.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4]){if(oa.test(b)&&(c=F(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length))b=b.slice(0,c),a[0]=a[0].slice(0,c);a[2]=b}return a.slice(0,3)}},filter:{ID:W?
function(a){a=a.replace(y,"");return function(b){return b.getAttribute("id")===a}}:function(a){a=a.replace(y,"");return function(b){return(b="undefined"!==typeof b.getAttributeNode&&b.getAttributeNode("id"))&&b.value===a}},TAG:function(a){if("*"===a)return function(){return!0};a=a.replace(y,"").toLowerCase();return function(b){return b.nodeName&&b.nodeName.toLowerCase()===a}},CLASS:function(a){var b=ga[j][a+" "];return b||(b=RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&ga(a,function(a){return b.test(a.className||
"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){d=l.attr(d,a);if(null==d)return"!="===b;if(!b)return!0;d+="";return"="===b?d===c:"!="===b?d!==c:"^="===b?c&&0===d.indexOf(c):"*="===b?c&&-1<d.indexOf(c):"$="===b?c&&d.substr(d.length-c.length)===c:"~="===b?-1<(" "+d+" ").indexOf(c):"|="===b?d===c||d.substr(0,c.length+1)===c+"-":!1}},CHILD:function(a,b,c,d){return"nth"===a?function(a){var b,e;b=a.parentNode;if(1===c&&0===d)return!0;if(b){e=
0;for(b=b.firstChild;b&&!(1===b.nodeType&&(e++,a===b));b=b.nextSibling);}e-=d;return e===c||0===e%c&&0<=e/c}:function(b){var c=b;switch(a){case "only":case "first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===a)return!0;c=b;case "last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0}}},PSEUDO:function(a,b){var c,d=k.pseudos[a]||k.setFilters[a.toLowerCase()]||l.error("unsupported pseudo: "+a);return d[j]?d(b):1<d.length?(c=[a,a,"",b],k.setFilters.hasOwnProperty(a.toLowerCase())?
p(function(a,c){for(var e,i=d(a,b),h=i.length;h--;)e=S.call(a,i[h]),a[e]=!(c[e]=i[h])}):function(a){return d(a,0,c)}):d}},pseudos:{not:p(function(a){var b=[],c=[],d=V(a.replace(E,"$1"));return d[j]?p(function(a,b,c,i){for(var i=d(a,null,i,[]),h=a.length;h--;)if(c=i[h])a[h]=!(b[h]=c)}):function(a,f,e){b[0]=a;d(b,null,e,c);return!c.pop()}}),has:p(function(a){return function(b){return 0<l(a,b).length}}),contains:p(function(a){return function(b){return-1<(b.textContent||b.innerText||J(b)).indexOf(a)}}),
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){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},parent:function(a){return!k.pseudos.empty(a)},empty:function(a){for(var b,a=a.firstChild;a;){if("@"<a.nodeName||3===(b=a.nodeType)||4===b)return!1;a=a.nextSibling}return!0},header:function(a){return pa.test(a.nodeName)},
text:function(a){var b,c;return"input"===a.nodeName.toLowerCase()&&"text"===(b=a.type)&&(null==(c=a.getAttribute("type"))||c.toLowerCase()===b)},radio:A("radio"),checkbox:A("checkbox"),file:A("file"),password:A("password"),image:A("image"),submit:aa("submit"),reset:aa("reset"),button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},input:function(a){return qa.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||
b.hasFocus())&&!(!a.type&&!a.href&&!~a.tabIndex)},active:function(a){return a===a.ownerDocument.activeElement},first:w(function(){return[0]}),last:w(function(a,b){return[b-1]}),eq:w(function(a,b,c){return[0>c?c+b:c]}),even:w(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:w(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:w(function(a,b,c){for(b=0>c?c+b:c;0<=--b;)a.push(b);return a}),gt:w(function(a,b,c){for(c=0>c?c+b:c;++c<b;)a.push(c);return a})}};X=r.compareDocumentPosition?
function(a,b){var c,d;return a===b?(C=!0,0):a.compareDocumentPosition&&b.compareDocumentPosition?(c=a.compareDocumentPosition(b))&1||(d=a.parentNode)&&11===d.nodeType?a===o||v(o,a)?-1:b===o||v(o,b)?1:0:c&4?-1:1:a.compareDocumentPosition?-1:1}:function(a,b){if(a===b)return C=!0,0;if(a.sourceIndex&&b.sourceIndex)return(~b.sourceIndex||-2147483648)-(v(o,a)&&~a.sourceIndex||-2147483648);var c=0,d=[a],g=[b],f=a.parentNode,e=b.parentNode,i=f;if(a===o)return-1;if(b===o)return 1;if(!f&&!e)return 0;if(e)if(f){if(f===
e)return ba(a,b)}else return 1;else return-1;for(;i;)d.unshift(i),i=i.parentNode;for(i=e;i;)g.unshift(i),i=i.parentNode;for(;d[c]===g[c];)c++;return 0===c?d[0]===o||v(o,d[0])?-1:g[0]===o||v(o,g[0])?1:0:ba(d[c],g[c])};[0,0].sort(X);fa=!C;l.uniqueSort=function(a){var b,c=[],d=1,g=0;C=fa;a.sort(X);if(C){for(;b=a[d];d++)b===a[d-1]&&(g=c.push(d));for(;g--;)a.splice(c[g],1)}return a};l.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};V=l.compile=function(a,b){var c,d=[],g=[],
f=ha[j][a+" "];if(!f){b||(b=F(a));for(c=b.length;c--;)f=T(b[c]),f[j]?d.push(f):g.push(f);var e=0,i=0<d.length,h=0<g.length;c=function(a,b,c,f,j){var n,s,m=[],r=0,p="0",u=a&&[],v=null!=j,w=I,y=a||h&&k.find.TAG("*",j&&b.parentNode||b),x=B+=null==w?1:Math.E;v&&(I=b!==o&&b,O=e);for(;null!=(j=y[p]);p++){if(h&&j){for(n=0;s=g[n];n++)if(s(j,b,c)){f.push(j);break}v&&(B=x,O=++e)}i&&((j=!s&&j)&&r--,a&&u.push(j))}r+=p;if(i&&p!==r){for(n=0;s=d[n];n++)s(u,m,b,c);if(a){if(0<r)for(;p--;)!u[p]&&!m[p]&&(m[p]=na.call(f));
m=H(m)}z.apply(f,m);v&&(!a&&0<m.length&&1<r+d.length)&&l.uniqueSort(f)}v&&(B=x,I=w);return u};c=i?p(c):c;f=ha(a,c)}return f};if(o.querySelectorAll){var ia,va=M,wa=/'|\\/g,xa=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,u=[":focus"],K=[":active"],L=r.matchesSelector||r.mozMatchesSelector||r.webkitMatchesSelector||r.oMatchesSelector||r.msMatchesSelector;n(function(a){a.innerHTML="<select><option selected=''></option></select>";a.querySelectorAll("[selected]").length||u.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)");
a.querySelectorAll(":checked").length||u.push(":checked")});n(function(a){a.innerHTML="<p test=''></p>";a.querySelectorAll("[test^='']").length&&u.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')");a.innerHTML="<input type='hidden'/>";a.querySelectorAll(":enabled").length||u.push(":enabled",":disabled")});u=RegExp(u.join("|"));M=function(a,b,c,d,g){if(!d&&!g&&!u.test(a)){var f,e,i=!0,h=j;e=b;f=9===b.nodeType&&a;if(1===b.nodeType&&"object"!==b.nodeName.toLowerCase()){f=F(a);(i=b.getAttribute("id"))?h=i.replace(wa,
"\\$&"):b.setAttribute("id",h);h="[id='"+h+"'] ";for(e=f.length;e--;)f[e]=h+f[e].join("");e=U.test(a)&&b.parentNode||b;f=f.join(",")}if(f)try{return z.apply(c,x.call(e.querySelectorAll(f),0)),c}catch(k){}finally{i||b.removeAttribute("id")}}return va(a,b,c,d,g)};L&&(n(function(a){ia=L.call(a,"div");try{L.call(a,"[test!='']:sizzle"),K.push("!=",Y)}catch(b){}}),K=RegExp(K.join("|")),l.matchesSelector=function(a,b){b=b.replace(xa,"='$1']");if(!D(a)&&!K.test(b)&&!u.test(b))try{var c=L.call(a,b);if(c||
ia||a.document&&11!==a.document.nodeType)return c}catch(d){}return 0<l(b,null,null,[a]).length})}k.pseudos.nth=k.pseudos.eq;k.filters=ea.prototype=k.pseudos;k.setFilters=new ea;"function"===typeof define&&define.amd?define(function(){return l}):Z.Sizzle=l})(window);