diff --git a/core/js/core.json b/core/js/core.json index a81e08aa1a..a376d8915b 100644 --- a/core/js/core.json +++ b/core/js/core.json @@ -21,7 +21,6 @@ "sharedialogshareelistview.js", "octemplate.js", "contactsmenu_templates.js", - "eventsource.js", "public/appconfig.js", "public/comments.js", "public/publicpage.js", diff --git a/core/js/dist/main.js b/core/js/dist/main.js index 65ddd62497..5d21fe3147 100644 --- a/core/js/dist/main.js +++ b/core/js/dist/main.js @@ -36,7 +36,7 @@ s="undefined"!=typeof window?window:this,r=function(n,s){var r=[],o=r.slice,a=r. * * Date: 2014-12-16 */ -function(e){var t,n,i,s,r,o,a,l,u,c,d,h,p,f,m,g,_,v,y,b="sizzle"+1*new Date,w=e.document,k=0,M=0,x=oe(),A=oe(),L=oe(),D=function(e,t){return e===t&&(d=!0),0},Y=1<<31,T={}.hasOwnProperty,S=[],C=S.pop,H=S.push,E=S.push,P=S.slice,O=function(e,t){for(var n=0,i=e.length;n+~]|"+I+")"+I+"*"),J=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),G=new RegExp(W),Q=new RegExp("^"+N+"$"),V={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),ie=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},se=function(){h()};try{E.apply(S=P.call(w.childNodes),w.childNodes),S[w.childNodes.length].nodeType}catch(e){E={apply:S.length?function(e,t){H.apply(e,P.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function re(e,t,i,s){var r,a,u,c,d,f,_,v,k,M;if((t?t.ownerDocument||t:w)!==p&&h(t),i=i||[],c=(t=t||p).nodeType,"string"!=typeof e||!e||1!==c&&9!==c&&11!==c)return i;if(!s&&m){if(11!==c&&(r=$.exec(e)))if(u=r[1]){if(9===c){if(!(a=t.getElementById(u))||!a.parentNode)return i;if(a.id===u)return i.push(a),i}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(u))&&y(t,a)&&a.id===u)return i.push(a),i}else{if(r[2])return E.apply(i,t.getElementsByTagName(e)),i;if((u=r[3])&&n.getElementsByClassName)return E.apply(i,t.getElementsByClassName(u)),i}if(n.qsa&&(!g||!g.test(e))){if(v=_=b,k=t,M=1!==c&&e,1===c&&"object"!==t.nodeName.toLowerCase()){for(f=o(e),(_=t.getAttribute("id"))?v=_.replace(te,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",d=f.length;d--;)f[d]=v+ge(f[d]);k=ee.test(e)&&fe(t.parentNode)||t,M=f.join(",")}if(M)try{return E.apply(i,k.querySelectorAll(M)),i}catch(e){}finally{_||t.removeAttribute("id")}}}return l(e.replace(B,"$1"),t,i,s)}function oe(){var e=[];return function t(n,s){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=s}}function ae(e){return e[b]=!0,e}function le(e){var t=p.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),s=e.length;s--;)i.attrHandle[n[s]]=t}function ce(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return ae(function(t){return t=+t,ae(function(n,i){for(var s,r=e([],n.length,t),o=r.length;o--;)n[s=r[o]]&&(n[s]=!(i[s]=n[s]))})})}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=re.support={},r=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=re.setDocument=function(e){var t,s,o=e?e.ownerDocument||e:w;return o!==p&&9===o.nodeType&&o.documentElement?(p=o,f=o.documentElement,(s=o.defaultView)&&s!==s.top&&(s.addEventListener?s.addEventListener("unload",se,!1):s.attachEvent&&s.attachEvent("onunload",se)),m=!r(o),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(o.getElementsByClassName),n.getById=le(function(e){return f.appendChild(e).id=b,!o.getElementsByName||!o.getElementsByName(b).length}),n.getById?(i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(ne,ie);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(ne,ie);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],s=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[s++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},_=[],g=[],(n.qsa=Z.test(o.querySelectorAll))&&(le(function(e){f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+I+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),le(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+I+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&le(function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),_.push("!=",W)}),g=g.length&&new RegExp(g.join("|")),_=_.length&&new RegExp(_.join("|")),t=Z.test(f.compareDocumentPosition),y=t||Z.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===o||e.ownerDocument===w&&y(w,e)?-1:t===o||t.ownerDocument===w&&y(w,t)?1:c?O(c,e)-O(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,s=e.parentNode,r=t.parentNode,a=[e],l=[t];if(!s||!r)return e===o?-1:t===o?1:s?-1:r?1:c?O(c,e)-O(c,t):0;if(s===r)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?ce(a[i],l[i]):a[i]===w?-1:l[i]===w?1:0},o):p},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&h(e),t=t.replace(J,"='$1']"),n.matchesSelector&&m&&(!_||!_.test(t))&&(!g||!g.test(t)))try{var i=v.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return re(t,p,null,[e]).length>0},re.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),y(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var s=i.attrHandle[t.toLowerCase()],r=s&&T.call(i.attrHandle,t.toLowerCase())?s(e,t,!m):void 0;return void 0!==r?r:n.attributes||!m?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,i=[],s=0,r=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[r++];)t===e[r]&&(s=i.push(r));for(;s--;)e.splice(i[s],1)}return c=null,e},s=re.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=s(t);return n},(i=re.selectors={cacheLength:50,createPseudo:ae,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var s=re.attr(i,e);return null==s?"!="===t:!t||(s+="","="===t?s===n:"!="===t?s!==n:"^="===t?n&&0===s.indexOf(n):"*="===t?n&&s.indexOf(n)>-1:"$="===t?n&&s.slice(-n.length)===n:"~="===t?(" "+s.replace(R," ")+" ").indexOf(n)>-1:"|="===t&&(s===n||s.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,s){var r="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===s?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,p,f,m=r!==o?"nextSibling":"previousSibling",g=t.parentNode,_=a&&t.nodeName.toLowerCase(),v=!l&&!a;if(g){if(r){for(;m;){for(d=t;d=d[m];)if(a?d.nodeName.toLowerCase()===_:1===d.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&v){for(p=(u=(c=g[b]||(g[b]={}))[e]||[])[0]===k&&u[1],h=u[0]===k&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(h=p=0)||f.pop();)if(1===d.nodeType&&++h&&d===t){c[e]=[k,p,h];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===k)h=u[1];else for(;(d=++p&&d&&d[m]||(h=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==_:1!==d.nodeType)||!++h||(v&&((d[b]||(d[b]={}))[e]=[k,h]),d!==t)););return(h-=s)===i||h%i==0&&h/i>=0}}},PSEUDO:function(e,t){var n,s=i.pseudos[e]||i.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return s[b]?s(t):s.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var i,r=s(e,t),o=r.length;o--;)e[i=O(e,r[o])]=!(n[i]=r[o])}):function(e){return s(e,0,n)}):s}},pseudos:{not:ae(function(e){var t=[],n=[],i=a(e.replace(B,"$1"));return i[b]?ae(function(e,t,n,s){for(var r,o=i(e,null,s,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,s,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:ae(function(e){return function(t){return re(e,t).length>0}}),contains:ae(function(e){return e=e.replace(ne,ie),function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),lang:ae(function(e){return Q.test(e||"")||re.error("unsupported lang: "+e),e=e.replace(ne,ie).toLowerCase(),function(t){var n;do{if(n=m?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===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return K.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:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n=0;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var s=e.length;s--;)if(!e[s](t,n,i))return!1;return!0}:e[0]}function ye(e,t,n,i,s){for(var r,o=[],a=0,l=e.length,u=null!=t;a-1&&(r[u]=!(o[u]=d))}}else _=ye(_===o?_.splice(f,_.length):_),s?s(null,o,_,l):E.apply(o,_)})}function we(e){for(var t,n,s,r=e.length,o=i.relative[e[0].type],a=o||i.relative[" "],l=o?1:0,c=_e(function(e){return e===t},a,!0),d=_e(function(e){return O(t,e)>-1},a,!0),h=[function(e,n,i){var s=!o&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,s}];l1&&ve(h),l>1&&ge(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(B,"$1"),n,l0,s=e.length>0,r=function(r,o,a,l,c){var d,h,f,m=0,g="0",_=r&&[],v=[],y=u,b=r||s&&i.find.TAG("*",c),w=k+=null==y?1:Math.random()||.1,M=b.length;for(c&&(u=o!==p&&o);g!==M&&null!=(d=b[g]);g++){if(s&&d){for(h=0;f=e[h++];)if(f(d,o,a)){l.push(d);break}c&&(k=w)}n&&((d=!f&&d)&&m--,r&&_.push(d))}if(m+=g,n&&g!==m){for(h=0;f=t[h++];)f(_,v,o,a);if(r){if(m>0)for(;g--;)_[g]||v[g]||(v[g]=C.call(l));v=ye(v)}E.apply(l,v),c&&!r&&v.length>0&&m+t.length>1&&re.uniqueSort(l)}return c&&(k=w,u=y),_};return n?ae(r):r}(r,s))).selector=e}return a},l=re.select=function(e,t,s,r){var l,u,c,d,h,p="function"==typeof e&&e,f=!r&&o(e=p.selector||e);if(s=s||[],1===f.length){if((u=f[0]=f[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&n.getById&&9===t.nodeType&&m&&i.relative[u[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(ne,ie),t)||[])[0]))return s;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(l=V.needsContext.test(e)?0:u.length;l--&&(c=u[l],!i.relative[d=c.type]);)if((h=i.find[d])&&(r=h(c.matches[0].replace(ne,ie),ee.test(u[0].type)&&fe(t.parentNode)||t))){if(u.splice(l,1),!(e=r.length&&ge(u)))return E.apply(s,r),s;break}}return(p||a(e,f))(r,t,!m,s,ee.test(e)&&fe(t.parentNode)||t),s},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!d,h(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),le(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ue(j,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),re}(n);m.find=w,m.expr=w.selectors,m.expr[":"]=m.expr.pseudos,m.unique=w.uniqueSort,m.text=w.getText,m.isXMLDoc=w.isXML,m.contains=w.contains;var k=m.expr.match.needsContext,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function A(e,t,n){if(m.isFunction(t))return m.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return m.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(x.test(t))return m.filter(t,e,n);t=m.filter(t,e)}return m.grep(e,function(e){return u.call(t,e)>=0!==n})}m.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?m.find.matchesSelector(i,e)?[i]:[]:m.find.matches(e,m.grep(t,function(e){return 1===e.nodeType}))},m.fn.extend({find:function(e){var t,n=this.length,i=[],s=this;if("string"!=typeof e)return this.pushStack(m(e).filter(function(){for(t=0;t1?m.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&k.test(e)?m(e):e||[],!1).length}});var L,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(m.fn.init=function(e,t){var n,i;if(!e)return this;if("string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!n[1]&&t)return!t||t.jquery?(t||L).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),M.test(n[1])&&m.isPlainObject(t))for(n in t)m.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=f.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=f,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):m.isFunction(e)?void 0!==L.ready?L.ready(e):e(m):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),m.makeArray(e,this))}).prototype=m.fn,L=m(f);var Y=/^(?:parents|prev(?:Until|All))/,T={children:!0,contents:!0,next:!0,prev:!0};function S(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}m.extend({dir:function(e,t,n){for(var i=[],s=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&m(e).is(n))break;i.push(e)}return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),m.fn.extend({has:function(e){var t=m(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&m.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?m.unique(r):r)},index:function(e){return e?"string"==typeof e?u.call(m(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.unique(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return m.dir(e,"parentNode")},parentsUntil:function(e,t,n){return m.dir(e,"parentNode",n)},next:function(e){return S(e,"nextSibling")},prev:function(e){return S(e,"previousSibling")},nextAll:function(e){return m.dir(e,"nextSibling")},prevAll:function(e){return m.dir(e,"previousSibling")},nextUntil:function(e,t,n){return m.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return m.dir(e,"previousSibling",n)},siblings:function(e){return m.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return m.sibling(e.firstChild)},contents:function(e){return e.contentDocument||m.merge([],e.childNodes)}},function(e,t){m.fn[e]=function(n,i){var s=m.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(s=m.filter(i,s)),this.length>1&&(T[e]||m.unique(s),Y.test(e)&&s.reverse()),this.pushStack(s)}});var C,H=/\S+/g,E={};function P(){f.removeEventListener("DOMContentLoaded",P,!1),n.removeEventListener("load",P,!1),m.ready()}m.Callbacks=function(e){e="string"==typeof e?E[e]||function(e){var t=E[e]={};return m.each(e.match(H)||[],function(e,n){t[n]=!0}),t}(e):m.extend({},e);var t,n,i,s,r,o,a=[],l=!e.once&&[],u=function(d){for(t=e.memory&&d,n=!0,o=s||0,s=0,r=a.length,i=!0;a&&o-1;)a.splice(n,1),i&&(n<=r&&r--,n<=o&&o--)}),this},has:function(e){return e?m.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],r=0,this},disable:function(){return a=l=t=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,t||c.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!a||n&&!l||(t=[e,(t=t||[]).slice?t.slice():t],i?l.push(t):u(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},m.extend({Deferred:function(e){var t=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var e=arguments;return m.Deferred(function(n){m.each(t,function(t,r){var o=m.isFunction(e[t])&&e[t];s[r[1]](function(){var e=o&&o.apply(this,arguments);e&&m.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?m.extend(e,i):i}},s={};return i.pipe=i.then,m.each(t,function(e,r){var o=r[2],a=r[3];i[r[1]]=o.add,a&&o.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),s[r[0]]=function(){return s[r[0]+"With"](this===s?i:this,arguments),this},s[r[0]+"With"]=o.fireWith}),i.promise(s),e&&e.call(s,s),s},when:function(e){var t,n,i,s=0,r=o.call(arguments),a=r.length,l=1!==a||e&&m.isFunction(e.promise)?a:0,u=1===l?e:m.Deferred(),c=function(e,n,i){return function(s){n[e]=this,i[e]=arguments.length>1?o.call(arguments):s,i===t?u.notifyWith(n,i):--l||u.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);s0||(C.resolveWith(f,[m]),m.fn.triggerHandler&&(m(f).triggerHandler("ready"),m(f).off("ready"))))}}),m.ready.promise=function(e){return C||(C=m.Deferred(),"complete"===f.readyState?setTimeout(m.ready):(f.addEventListener("DOMContentLoaded",P,!1),n.addEventListener("load",P,!1))),C.promise(e)},m.ready.promise();var O=m.access=function(e,t,n,i,s,r,o){var a=0,l=e.length,u=null==n;if("object"===m.type(n))for(a in s=!0,n)m.access(e,t,a,n[a],!0,r,o);else if(void 0!==i&&(s=!0,m.isFunction(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(m(e),n)})),t))for(;a1,null,!0)},removeData:function(e){return this.each(function(){F.remove(this,e)})}}),m.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=I.get(e,t),n&&(!i||m.isArray(n)?i=I.access(e,t,m.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),i=n.length,s=n.shift(),r=m._queueHooks(e,t);"inprogress"===s&&(s=n.shift(),i--),s&&("fx"===t&&n.unshift("inprogress"),delete r.stop,s.call(e,function(){m.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return I.get(e,n)||I.access(e,n,{empty:m.Callbacks("once memory").add(function(){I.remove(e,[t+"queue",n])})})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.lengthx",p.noCloneChecked=!!R.cloneNode(!0).lastChild.defaultValue,p.focusinBubbles="onfocusin"in n;var Q=/^key/,V=/^(?:mouse|pointer|contextmenu)|click/,K=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function ee(){try{return f.activeElement}catch(e){}}m.event={global:{},add:function(e,t,n,i,s){var r,o,a,l,u,c,d,h,p,f,g,_=I.get(e);if(_)for(n.handler&&(n=(r=n).handler,s=r.selector),n.guid||(n.guid=m.guid++),(l=_.events)||(l=_.events={}),(o=_.handle)||(o=_.handle=function(t){return void 0!==m&&m.event.triggered!==t.type?m.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(H)||[""]).length;u--;)p=g=(a=X.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=m.event.special[p]||{},p=(s?d.delegateType:d.bindType)||p,d=m.event.special[p]||{},c=m.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:s,needsContext:s&&m.expr.match.needsContext.test(s),namespace:f.join(".")},r),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,o)||e.addEventListener&&e.addEventListener(p,o,!1)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),s?h.splice(h.delegateCount++,0,c):h.push(c),m.event.global[p]=!0)},remove:function(e,t,n,i,s){var r,o,a,l,u,c,d,h,p,f,g,_=I.hasData(e)&&I.get(e);if(_&&(l=_.events)){for(u=(t=(t||"").match(H)||[""]).length;u--;)if(p=g=(a=X.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=m.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=h.length;r--;)c=h[r],!s&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(r,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,_.handle)||m.removeEvent(e,p,_.handle),delete l[p])}else for(p in l)m.event.remove(e,p+t[u],n,i,!0);m.isEmptyObject(l)&&(delete _.handle,I.remove(e,"events"))}},trigger:function(e,t,i,s){var r,o,a,l,u,c,d,p=[i||f],g=h.call(e,"type")?e.type:e,_=h.call(e,"namespace")?e.namespace.split("."):[];if(o=a=i=i||f,3!==i.nodeType&&8!==i.nodeType&&!K.test(g+m.event.triggered)&&(g.indexOf(".")>=0&&(_=g.split("."),g=_.shift(),_.sort()),u=g.indexOf(":")<0&&"on"+g,(e=e[m.expando]?e:new m.Event(g,"object"==typeof e&&e)).isTrigger=s?2:3,e.namespace=_.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:m.makeArray(t,[e]),d=m.event.special[g]||{},s||!d.trigger||!1!==d.trigger.apply(i,t))){if(!s&&!d.noBubble&&!m.isWindow(i)){for(l=d.delegateType||g,K.test(l+g)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(i.ownerDocument||f)&&p.push(a.defaultView||a.parentWindow||n)}for(r=0;(o=p[r++])&&!e.isPropagationStopped();)e.type=r>1?l:d.bindType||g,(c=(I.get(o,"events")||{})[e.type]&&I.get(o,"handle"))&&c.apply(o,t),(c=u&&o[u])&&c.apply&&m.acceptData(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=g,s||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!m.acceptData(i)||u&&m.isFunction(i[g])&&!m.isWindow(i)&&((a=i[u])&&(i[u]=null),m.event.triggered=g,i[g](),m.event.triggered=void 0,a&&(i[u]=a)),e.result}},dispatch:function(e){e=m.event.fix(e);var t,n,i,s,r,a,l=o.call(arguments),u=(I.get(this,"events")||{})[e.type]||[],c=m.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(a=m.event.handlers.call(this,e,u),t=0;(s=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,n=0;(r=s.handlers[n++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,void 0!==(i=((m.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,s,r,o=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(i=[],n=0;n=0:m.find(s,this,null,[l]).length),i[s]&&i.push(r);i.length&&o.push({elem:l,handlers:i})}return a]*)\/>/gi,ne=/<([\w:]+)/,ie=/<|&#?\w+;/,se=/<(?:script|style|link)/i,re=/checked\s*(?:[^=]|=\s*.checked.)/i,oe=/^$|\/(?:java|ecma)script/i,ae=/^true\/(.*)/,le=/^\s*\s*$/g,ue={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ce(e,t){return m.nodeName(e,"table")&&m.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function de(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=ae.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function pe(e,t){for(var n=0,i=e.length;n0&&pe(o,!d&&me(e,"script")),c},buildFragment:function(e,t,n,i){for(var s,r,o,a,l,u,c=t.createDocumentFragment(),d=[],h=0,p=e.length;h")+a[2],u=a[0];u--;)r=r.lastChild;m.merge(d,r.childNodes),(r=c.firstChild).textContent=""}else d.push(t.createTextNode(s));for(c.textContent="",h=0;s=d[h++];)if((!i||-1===m.inArray(s,i))&&(l=m.contains(s.ownerDocument,s),r=me(c.appendChild(s),"script"),l&&pe(r),n))for(u=0;s=r[u++];)oe.test(s.type||"")&&n.push(s);return c},cleanData:function(e){for(var t,n,i,s,r=m.event.special,o=0;void 0!==(n=e[o]);o++){if(m.acceptData(n)&&(s=n[I.expando])&&(t=I.cache[s])){if(t.events)for(i in t.events)r[i]?m.event.remove(n,i):m.removeEvent(n,i,t.handle);I.cache[s]&&delete I.cache[s]}delete F.cache[n[F.expando]]}}}),m.fn.extend({text:function(e){return O(this,function(e){return void 0===e?m.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ce(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ce(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?m.filter(e,this):this,s=0;null!=(n=i[s]);s++)t||1!==n.nodeType||m.cleanData(me(n)),n.parentNode&&(t&&m.contains(n.ownerDocument,n)&&pe(me(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return m.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!se.test(e)&&!ue[(ne.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(te,"<$1>");try{for(;n1&&"string"==typeof f&&!p.checkClone&&re.test(f))return this.each(function(n){var i=d.eq(n);g&&(e[0]=f.call(this,n,i.html())),i.domManip(e,t)});if(c&&(i=(n=m.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=i),i)){for(r=(s=m.map(me(n,"script"),de)).length;u")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=ve(e,t),ge.detach()),_e[e]=n),n}var be=/^margin/,we=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),ke=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};function Me(e,t,n){var i,s,r,o,a=e.style;return(n=n||ke(e))&&(o=n.getPropertyValue(t)||n[t]),n&&(""!==o||m.contains(e.ownerDocument,e)||(o=m.style(e,t)),we.test(o)&&be.test(t)&&(i=a.width,s=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=s,a.maxWidth=r)),void 0!==o?o+"":o}function xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,i=f.documentElement,s=f.createElement("div"),r=f.createElement("div");function o(){r.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",r.innerHTML="",i.appendChild(s);var o=n.getComputedStyle(r,null);e="1%"!==o.top,t="4px"===o.width,i.removeChild(s)}r.style&&(r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===r.style.backgroundClip,s.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",s.appendChild(r),n.getComputedStyle&&m.extend(p,{pixelPosition:function(){return o(),e},boxSizingReliable:function(){return null==t&&o(),t},reliableMarginRight:function(){var e,t=r.appendChild(f.createElement("div"));return t.style.cssText=r.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",r.style.width="1px",i.appendChild(s),e=!parseFloat(n.getComputedStyle(t,null).marginRight),i.removeChild(s),r.removeChild(t),e}}))}(),m.swap=function(e,t,n,i){var s,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in s=n.apply(e,i||[]),t)e.style[r]=o[r];return s};var Ae=/^(none|table(?!-c[ea]).+)/,Le=new RegExp("^("+U+")(.*)$","i"),De=new RegExp("^([+-])=("+U+")","i"),Ye={position:"absolute",visibility:"hidden",display:"block"},Te={letterSpacing:"0",fontWeight:"400"},Se=["Webkit","O","Moz","ms"];function Ce(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),i=t,s=Se.length;s--;)if((t=Se[s]+n)in e)return t;return i}function He(e,t,n){var i=Le.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function Ee(e,t,n,i,s){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,o=0;r<4;r+=2)"margin"===n&&(o+=m.css(e,n+q[r],!0,s)),i?("content"===n&&(o-=m.css(e,"padding"+q[r],!0,s)),"margin"!==n&&(o-=m.css(e,"border"+q[r]+"Width",!0,s))):(o+=m.css(e,"padding"+q[r],!0,s),"padding"!==n&&(o+=m.css(e,"border"+q[r]+"Width",!0,s)));return o}function Pe(e,t,n){var i=!0,s="width"===t?e.offsetWidth:e.offsetHeight,r=ke(e),o="border-box"===m.css(e,"boxSizing",!1,r);if(s<=0||null==s){if(((s=Me(e,t,r))<0||null==s)&&(s=e.style[t]),we.test(s))return s;i=o&&(p.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+Ee(e,t,n||(o?"border":"content"),i,r)+"px"}function Oe(e,t){for(var n,i,s,r=[],o=0,a=e.length;o1)},show:function(){return Oe(this,!0)},hide:function(){return Oe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){J(this)?m(this).show():m(this).hide()})}}),m.Tween=je,je.prototype={constructor:je,init:function(e,t,n,i,s,r){this.elem=e,this.prop=n,this.easing=s||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(m.cssNumber[n]?"":"px")},cur:function(){var e=je.propHooks[this.prop];return e&&e.get?e.get(this):je.propHooks._default.get(this)},run:function(e){var t,n=je.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):je.propHooks._default.set(this),this}},je.prototype.init.prototype=je.prototype,je.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[m.cssProps[e.prop]]||m.cssHooks[e.prop])?m.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},je.propHooks.scrollTop=je.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},m.fx=je.prototype.init,m.fx.step={};var Ie,Fe,Ne=/^(?:toggle|show|hide)$/,ze=new RegExp("^(?:([+-])=|)("+U+")([a-z%]*)$","i"),We=/queueHooks$/,Re=[function(e,t,n){var i,s,r,o,a,l,u,c=this,d={},h=e.style,p=e.nodeType&&J(e),f=I.get(e,"fxshow");n.queue||(null==(a=m._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,m.queue(e,"fx").length||a.empty.fire()})}));1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=m.css(e,"display"),"inline"===("none"===u?I.get(e,"olddisplay")||ye(e.nodeName):u)&&"none"===m.css(e,"float")&&(h.display="inline-block"));n.overflow&&(h.overflow="hidden",c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in t)if(s=t[i],Ne.exec(s)){if(delete t[i],r=r||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||void 0===f[i])continue;p=!0}d[i]=f&&f[i]||m.style(e,i)}else u=void 0;if(m.isEmptyObject(d))"inline"===("none"===u?ye(e.nodeName):u)&&(h.display=u);else for(i in f?"hidden"in f&&(p=f.hidden):f=I.access(e,"fxshow",{}),r&&(f.hidden=!p),p?m(e).show():c.done(function(){m(e).hide()}),c.done(function(){var t;for(t in I.remove(e,"fxshow"),d)m.style(e,t,d[t])}),d)o=Je(p?f[i]:0,i,c),i in f||(f[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}],Be={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),s=ze.exec(t),r=s&&s[3]||(m.cssNumber[e]?"":"px"),o=(m.cssNumber[e]||"px"!==r&&+i)&&ze.exec(m.css(n.elem,e)),a=1,l=20;if(o&&o[3]!==r){r=r||o[3],s=s||[],o=+i||1;do{o/=a=a||".5",m.style(n.elem,e,o+r)}while(a!==(a=n.cur()/i)&&1!==a&&--l)}return s&&(o=n.start=+o||+i||0,n.unit=r,n.end=s[1]?o+(s[1]+1)*s[2]:+s[2]),n}]};function Ue(){return setTimeout(function(){Ie=void 0}),Ie=m.now()}function qe(e,t){var n,i=0,s={height:e};for(t=t?1:0;i<4;i+=2-t)s["margin"+(n=q[i])]=s["padding"+n]=e;return t&&(s.opacity=s.width=e),s}function Je(e,t,n){for(var i,s=(Be[t]||[]).concat(Be["*"]),r=0,o=s.length;r1)},removeAttr:function(e){return this.each(function(){m.removeAttr(this,e)})}}),m.extend({attr:function(e,t,n){var i,s,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?m.prop(e,t,n):(1===r&&m.isXMLDoc(e)||(t=t.toLowerCase(),i=m.attrHooks[t]||(m.expr.match.bool.test(t)?Qe:void 0)),void 0===n?i&&"get"in i&&null!==(s=i.get(e,t))?s:null==(s=m.find.attr(e,t))?void 0:s:null!==n?i&&"set"in i&&void 0!==(s=i.set(e,n,t))?s:(e.setAttribute(t,n+""),n):void m.removeAttr(e,t))},removeAttr:function(e,t){var n,i,s=0,r=t&&t.match(H);if(r&&1===e.nodeType)for(;n=r[s++];)i=m.propFix[n]||n,m.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&m.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Qe={set:function(e,t,n){return!1===t?m.removeAttr(e,n):e.setAttribute(n,n),n}},m.each(m.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ve[t]||m.find.attr;Ve[t]=function(e,t,i){var s,r;return i||(r=Ve[t],Ve[t]=s,s=null!=n(e,t,i)?t.toLowerCase():null,Ve[t]=r),s}});var Ke=/^(?:input|select|textarea|button)$/i;m.fn.extend({prop:function(e,t){return O(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[m.propFix[e]||e]})}}),m.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var i,s,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return(1!==r||!m.isXMLDoc(e))&&(t=m.propFix[t]||t,s=m.propHooks[t]),void 0!==n?s&&"set"in s&&void 0!==(i=s.set(e,n,t))?i:e[t]=n:s&&"get"in s&&null!==(i=s.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ke.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),p.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});var Xe=/[\t\r\n\f]/g;m.fn.extend({addClass:function(e){var t,n,i,s,r,o,a="string"==typeof e&&e,l=0,u=this.length;if(m.isFunction(e))return this.each(function(t){m(this).addClass(e.call(this,t,this.className))});if(a)for(t=(e||"").match(H)||[];l=0;)i=i.replace(" "+s+" "," ");o=e?m.trim(i):"",n.className!==o&&(n.className=o)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):m.isFunction(e)?this.each(function(n){m(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,s=m(this),r=e.match(H)||[];t=r[i++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else"undefined"!==n&&"boolean"!==n||(this.className&&I.set(this,"__className__",this.className),this.className=this.className||!1===e?"":I.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n=0)return!0;return!1}});var Ze=/\r/g;m.fn.extend({val:function(e){var t,n,i,s=this[0];return arguments.length?(i=m.isFunction(e),this.each(function(n){var s;1===this.nodeType&&(null==(s=i?e.call(this,n,m(this).val()):e)?s="":"number"==typeof s?s+="":m.isArray(s)&&(s=m.map(s,function(e){return null==e?"":e+""})),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))})):s?(t=m.valHooks[s.type]||m.valHooks[s.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(s,"value"))?n:"string"==typeof(n=s.value)?n.replace(Ze,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:m.trim(m.text(e))}},select:{get:function(e){for(var t,n,i=e.options,s=e.selectedIndex,r="select-one"===e.type||s<0,o=r?null:[],a=r?s+1:i.length,l=s<0?a:r?s:0;l=0)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(e,t){if(m.isArray(t))return e.checked=m.inArray(m(e).val(),t)>=0}},p.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.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(e,t){m.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),m.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var $e=m.now(),et=/\?/;m.parseJSON=function(e){return JSON.parse(e+"")},m.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+e),t};var tt=/#.*$/,nt=/([?&])_=[^&]*/,it=/^(.*?):[ \t]*([^\r\n]*)$/gm,st=/^(?:GET|HEAD)$/,rt=/^\/\//,ot=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,at={},lt={},ut="*/".concat("*"),ct=n.location.href,dt=ot.exec(ct.toLowerCase())||[];function ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,s=0,r=t.toLowerCase().match(H)||[];if(m.isFunction(n))for(;i=r[s++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function pt(e,t,n,i){var s={},r=e===lt;function o(a){var l;return s[a]=!0,m.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||r||s[u]?r?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}return o(t.dataTypes[0])||!s["*"]&&o("*")}function ft(e,t){var n,i,s=m.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((s[n]?e:i||(i={}))[n]=t[n]);return i&&m.extend(!0,e,i),e}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(dt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ut,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":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ft(ft(e,m.ajaxSettings),t):ft(m.ajaxSettings,e)},ajaxPrefilter:ht(at),ajaxTransport:ht(lt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,s,r,o,a,l,u,c=m.ajaxSetup({},t),d=c.context||c,h=c.context&&(d.nodeType||d.jquery)?m(d):m.event,p=m.Deferred(),f=m.Callbacks("once memory"),g=c.statusCode||{},_={},v={},y=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!r)for(r={};t=it.exec(s);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=v[n]=v[n]||e,_[e]=t),this},overrideMimeType:function(e){return y||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(y<2)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||b;return n&&n.abort(t),k(0,t),this}};if(p.promise(w).complete=f.add,w.success=w.done,w.error=w.fail,c.url=((e||c.url||ct)+"").replace(tt,"").replace(rt,dt[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=m.trim(c.dataType||"*").toLowerCase().match(H)||[""],null==c.crossDomain&&(a=ot.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===dt[1]&&a[2]===dt[2]&&(a[3]||("http:"===a[1]?"80":"443"))===(dt[3]||("http:"===dt[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=m.param(c.data,c.traditional)),pt(at,c,t,w),2===y)return w;for(u in(l=m.event&&c.global)&&0==m.active++&&m.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!st.test(c.type),i=c.url,c.hasContent||(c.data&&(i=c.url+=(et.test(i)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=nt.test(i)?i.replace(nt,"$1_="+$e++):i+(et.test(i)?"&":"?")+"_="+$e++)),c.ifModified&&(m.lastModified[i]&&w.setRequestHeader("If-Modified-Since",m.lastModified[i]),m.etag[i]&&w.setRequestHeader("If-None-Match",m.etag[i])),(c.data&&c.hasContent&&!1!==c.contentType||t.contentType)&&w.setRequestHeader("Content-Type",c.contentType),w.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+ut+"; q=0.01":""):c.accepts["*"]),c.headers)w.setRequestHeader(u,c.headers[u]);if(c.beforeSend&&(!1===c.beforeSend.call(d,w,c)||2===y))return w.abort();for(u in b="abort",{success:1,error:1,complete:1})w[u](c[u]);if(n=pt(lt,c,t,w)){w.readyState=1,l&&h.trigger("ajaxSend",[w,c]),c.async&&c.timeout>0&&(o=setTimeout(function(){w.abort("timeout")},c.timeout));try{y=1,n.send(_,k)}catch(e){if(!(y<2))throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,r,a){var u,_,v,b,k,M=t;2!==y&&(y=2,o&&clearTimeout(o),n=void 0,s=a||"",w.readyState=e>0?4:0,u=e>=200&&e<300||304===e,r&&(b=function(e,t,n){for(var i,s,r,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){l.unshift(s);break}if(l[0]in n)r=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),n[r]}(c,w,r)),b=function(e,t,n,i){var s,r,o,a,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=u[l+" "+r]||u["* "+r]))for(s in u)if((a=s.split(" "))[1]===r&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[s]:!0!==u[s]&&(r=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(c,b,w,u),u?(c.ifModified&&((k=w.getResponseHeader("Last-Modified"))&&(m.lastModified[i]=k),(k=w.getResponseHeader("etag"))&&(m.etag[i]=k)),204===e||"HEAD"===c.type?M="nocontent":304===e?M="notmodified":(M=b.state,_=b.data,u=!(v=b.error))):(v=M,!e&&M||(M="error",e<0&&(e=0))),w.status=e,w.statusText=(t||M)+"",u?p.resolveWith(d,[_,M,w]):p.rejectWith(d,[w,M,v]),w.statusCode(g),g=void 0,l&&h.trigger(u?"ajaxSuccess":"ajaxError",[w,c,u?_:v]),f.fireWith(d,[w,M]),l&&(h.trigger("ajaxComplete",[w,c]),--m.active||m.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],function(e,t){m[t]=function(e,n,i,s){return m.isFunction(n)&&(s=s||i,i=n,n=void 0),m.ajax({url:e,type:t,dataType:s,data:n,success:i})}}),m._evalUrl=function(e){return m.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(e){var t;return m.isFunction(e)?this.each(function(t){m(this).wrapAll(e.call(this,t))}):(this[0]&&(t=m(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return m.isFunction(e)?this.each(function(t){m(this).wrapInner(e.call(this,t))}):this.each(function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m.isFunction(e);return this.each(function(n){m(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},m.expr.filters.visible=function(e){return!m.expr.filters.hidden(e)};var mt=/%20/g,gt=/\[\]$/,_t=/\r?\n/g,vt=/^(?:submit|button|image|reset|file)$/i,yt=/^(?:input|select|textarea|keygen)/i;function bt(e,t,n,i){var s;if(m.isArray(t))m.each(t,function(t,s){n||gt.test(e)?i(e,s):bt(e+"["+("object"==typeof s?t:"")+"]",s,n,i)});else if(n||"object"!==m.type(t))i(e,t);else for(s in t)bt(e+"["+s+"]",t[s],n,i)}m.param=function(e,t){var n,i=[],s=function(e,t){t=m.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,function(){s(this.name,this.value)});else for(n in e)bt(n,e[n],t,s);return i.join("&").replace(mt,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&yt.test(this.nodeName)&&!vt.test(e)&&(this.checked||!G.test(e))}).map(function(e,t){var n=m(this).val();return null==n?null:m.isArray(n)?m.map(n,function(e){return{name:t.name,value:e.replace(_t,"\r\n")}}):{name:t.name,value:n.replace(_t,"\r\n")}}).get()}}),m.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var wt=0,kt={},Mt={0:200,1223:204},xt=m.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in kt)kt[e]()}),p.cors=!!xt&&"withCredentials"in xt,p.ajax=xt=!!xt,m.ajaxTransport(function(e){var t;if(p.cors||xt&&!e.crossDomain)return{send:function(n,i){var s,r=e.xhr(),o=++wt;if(r.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)r[s]=e.xhrFields[s];for(s in e.mimeType&&r.overrideMimeType&&r.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)r.setRequestHeader(s,n[s]);t=function(e){return function(){t&&(delete kt[o],t=r.onload=r.onerror=null,"abort"===e?r.abort():"error"===e?i(r.status,r.statusText):i(Mt[r.status]||r.status,r.statusText,"string"==typeof r.responseText?{text:r.responseText}:void 0,r.getAllResponseHeaders()))}},r.onload=t(),r.onerror=t("error"),t=kt[o]=t("abort");try{r.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),m.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(i,s){t=m("