You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
177 KiB

!function(h,T){function c(e){return re.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}function f(e){var t,n,i;return Rt[e]||(t=te.body,i=(n=re("<"+e+">").appendTo(t)).css("display"),n.remove(),"none"!==i&&""!==i||(Ot||((Ot=te.createElement("iframe")).frameBorder=Ot.width=Ot.height=0),t.appendChild(Ot),Mt&&Ot.createElement||((Mt=(Ot.contentWindow||Ot.contentDocument).document).write(("CSS1Compat"===te.compatMode?"<!doctype html>":"")+"<html><body>"),Mt.close()),n=Mt.createElement(e),Mt.body.appendChild(n),i=re.css(n,"display"),t.removeChild(Ot)),Rt[e]=i),Rt[e]}function s(e,t){var n={};return re.each(Ut.concat.apply([],Ut.slice(0,t)),function(){n[this]=e}),n}function e(){Ft=T}function l(){return setTimeout(e,0),Ft=re.now()}function t(){try{return new h.XMLHttpRequest}catch(e){}}function x(e,t,n,i,r,o){(o=o||{})[r=r||t.dataTypes[0]]=!0;for(var a,s=e[r],l=0,c=s?s.length:0,u=e===St;l<c&&(u||!a);l++)"string"==typeof(a=s[l](t,n,i))&&(a=!u||o[a]?T:(t.dataTypes.unshift(a),x(e,t,n,i,a,o)));return!u&&a||o["*"]||(a=x(e,t,n,i,"*",o)),a}function n(s){return function(e,t){if("string"!=typeof e&&(t=e,e="*"),re.isFunction(t))for(var n,i,r=e.toLowerCase().split(Ct),o=0,a=r.length;o<a;o++)n=r[o],(i=/^\+/.test(n))&&(n=n.substr(1)||"*"),(s[n]=s[n]||[])[i?"unshift":"push"](t)}}function o(e,t,n){var i="width"===t?e.offsetWidth:e.offsetHeight,r="width"===t?st:lt;return 0<i?"border"!==n&&re.each(r,function(){n||(i-=parseFloat(re.css(e,"padding"+this))||0),"margin"===n?i+=parseFloat(re.css(e,n+this))||0:i-=parseFloat(re.css(e,"border"+this+"Width"))||0}):(((i=Qe(e,t,t))<0||null==i)&&(i=e.style[t]||0),i=parseFloat(i)||0,n&&re.each(r,function(){i+=parseFloat(re.css(e,"padding"+this))||0,"padding"!==n&&(i+=parseFloat(re.css(e,"border"+this+"Width"))||0),"margin"===n&&(i+=parseFloat(re.css(e,n+this))||0)})),i+"px"}function p(e,t){t.src?re.ajax({url:t.src,async:!1,dataType:"script"}):re.globalEval((t.text||t.textContent||t.innerHTML||"").replace($e,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}function v(e){re.nodeName(e,"input")?i(e):"getElementsByTagName"in e&&re.grep(e.getElementsByTagName("input"),i)}function i(e){"checkbox"!==e.type&&"radio"!==e.type||(e.defaultChecked=e.checked)}function u(e){return"getElementsByTagName"in e?e.getElementsByTagName("*"):"querySelectorAll"in e?e.querySelectorAll("*"):[]}function d(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(n=t.nodeName.toLowerCase())?t.outerHTML=e.outerHTML:"input"!==n||"checkbox"!==e.type&&"radio"!==e.type?"option"===n?t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(re.expando))}function m(e,t){if(1===t.nodeType&&re.hasData(e)){var n=re.expando,i=re.data(e),e=re.data(t,i);if(i=i[n]){var r=i.events,e=e[n]=re.extend({},i);if(r)for(var o in delete e.handle,e.events={},r)for(var a=0,s=r[o].length;a<s;a++)re.event.add(t,o+(r[o][a].namespace?".":"")+r[o][a].namespace,r[o][a],r[o][a].data)}}}function r(e,n,i){if(n=n||0,re.isFunction(n))return re.grep(e,function(e,t){return!!n.call(e,t,e)===i});if(n.nodeType)return re.grep(e,function(e,t){return e===n===i});if("string"==typeof n){var t=re.grep(e,function(e){return 1===e.nodeType});if(Pe.test(n))return re.filter(n,t,!i);n=re.filter(n,t)}return re.grep(e,function(e,t){return 0<=re.inArray(e,n)===i})}function a(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function g(e,t){return(e&&"*"!==e?e+".":"")+t.replace(Ee,"`").replace(Ie,"&")}function y(e){var t,n,i,r,o,a,s,l,c,u,d,h=[],f=[],p=re._data(this,"events");if(e.liveFired!==this&&p&&p.live&&!e.target.disabled&&(!e.button||"click"!==e.type)){e.namespace&&(u=new RegExp("(^|\\.)"+e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),e.liveFired=this;for(var m=p.live.slice(0),g=0;g<m.length;g++)(o=m[g]).origType.replace(we,"")===e.type?f.push(o.selector):m.splice(g--,1);for(s=0,l=(r=re(e.target).closest(f,e.currentTarget)).length;s<l;s++)for(c=r[s],g=0;g<m.length;g++)o=m[g],c.selector!==o.selector||u&&!u.test(o.namespace)||c.elem.disabled||(a=c.elem,i=null,"mouseenter"!==o.preType&&"mouseleave"!==o.preType||(e.type=o.preType,(i=re(e.relatedTarget).closest(o.selector)[0])&&re.contains(a,i)&&(i=a)),i&&i===a||h.push({elem:a,handleObj:o,level:c.level}));for(s=0,l=h.length;s<l&&(r=h[s],!(n&&r.level>n))&&(e.currentTarget=r.elem,e.data=r.handleObj.data,e.handleObj=r.handleObj,!1!==(d=r.handleObj.origHandler.apply(r.elem,arguments))&&!e.isPropagationStopped()||(n=r.level,!1===d&&(t=!1),!e.isImmediatePropagationStopped()));s++);return t}}function b(e,t,n){var i=re.extend({},n[0]);i.type=e,i.originalEvent={},i.liveFired=T,re.event.handle.call(t,i),i.isDefaultPrevented()&&n[0].preventDefault()}function k(){return!0}function C(){return!1}function N(e,t,n){var i=t+"defer",r=t+"queue",o=t+"mark",a=re.data(e,i,T,!0);!a||"queue"!==n&&re.data(e,r,T,!0)||"mark"!==n&&re.data(e,o,T,!0)||setTimeout(function(){re.data(e,r,T,!0)||re.data(e,o,T,!0)||(re.removeData(e,i,!0),a.resolve())},0)}function w(e){for(var t in e)if("toJSON"!==t)return;return 1}function S(e,t,n){if(n===T&&1===e.nodeType){var i="data-"+t.replace(ue,"$1-$2").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:re.isNaN(n)?ce.test(n)?re.parseJSON(n):n:parseFloat(n))}catch(e){}re.data(e,t,n)}else n=T}return n}var E,I,A,_,D,L,j,O,M,P,F,R,B,H,U,z,W,q,X,K,V,Y,$,G,Q,J,Z,ee,te=h.document,ne=h.navigator,ie=h.location,re=(_=function(e,t){return new _.fn.init(e,t,E)},D=h.jQuery,L=h.$,j=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,O=/\S/,M=/^\s+/,P=/\s+$/,F=/\d/,R=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,B=/^[\],:{}\s]*$/,H=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,U=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,z=/(?:^|:|,)(?:\s*\[)+/g,W=/(webkit)[ \/]([\w.]+)/,q=/(opera)(?:.*version)?[ \/]([\w.]+)/,X=/(msie) ([\w.]+)/,K=/(mozilla)(?:.*? rv:([\w.]+))?/,V=/-([a-z])/gi,ne=ne.userAgent,Y=Object.prototype.toString,$=Object.prototype.hasOwnProperty,G=Array.prototype.push,Q=Array.prototype.slice,J=String.prototype.trim,Z=Array.prototype.indexOf,ee={},_.fn=_.prototype={constructor:_,init:function(e,t,n){var i,r,o;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!t&&te.body)return this.context=te,this[0]=te.body,this.selector=e,this.length=1,this;if("string"!=typeof e)return _.isFunction(e)?n.ready(e):(e.selector!==T&&(this.selector=e.selector,this.context=e.context),_.makeArray(e,this));if(!(i="<"!==e.charAt(0)||">"!==e.charAt(e.length-1)||e.length<3?j.exec(e):[null,e,null])||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1])return o=(t=t instanceof _?t[0]:t)?t.ownerDocument||t:te,(r=R.exec(e))?_.isPlainObject(t)?(e=[te.createElement(r[1])],_.fn.attr.call(e,t,!0)):e=[o.createElement(r[1])]:e=((r=_.buildFragment([i[1]],[o])).cacheable?_.clone(r.fragment):r.fragment).childNodes,_.merge(this,e);if((r=te.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(e);this.length=1,this[0]=r}return this.context=te,this.selector=e,this},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=this.constructor();return _.isArray(e)?G.apply(i,e):_.merge(i,e),i.prevObject=this,i.context=this.context,"find"===t?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")"),i},each:function(e,t){return _.each(this,e,t)},ready:function(e){return _.bindReady(),I.done(e),this},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(n){return this.pushStack(_.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:[].sort,splice:[].splice},_.fn.init.prototype=_.fn,_.extend=_.fn.extend=function(){var e,t,n,i,r,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),"object"==typeof o||_.isFunction(o)||(o={}),s===a&&(o=this,--a);a<s;a++)if(null!=(e=arguments[a]))for(t in e)r=o[t],o!==(n=e[t])&&(l&&n&&(_.isPlainObject(n)||(i=_.isArray(n)))?(r=i?(i=!1,r&&_.isArray(r)?r:[]):r&&_.isPlainObject(r)?r:{},o[t]=_.extend(l,r,n)):n!==T&&(o[t]=n));return o},_.extend({noConflict:function(e){return h.$===_&&(h.$=L),e&&h.jQuery===_&&(h.jQuery=D),_},isReady:!1,readyWait:1,holdReady:function(e){e?_.readyWait++:_.ready(!0)},ready:function(e){if(!0===e&&!--_.readyWait||!0!==e&&!_.isReady){if(!te.body)return setTimeout(_.ready,1);(_.isReady=!0)!==e&&0<--_.readyWait||(I.resolveWith(te,[_]),_.fn.trigger&&_(te).trigger("ready").unbind("ready"))}},bindReady:function(){if(!I){if(I=_._Deferred(),"complete"===te.readyState)return setTimeout(_.ready,1);if(te.addEventListener)te.addEventListener("DOMContentLoaded",A,!1),h.addEventListener("load",_.ready,!1);else if(te.attachEvent){te.attachEvent("onreadystatechange",A),h.attachEvent("onload",_.ready);var e=!1;try{e=null==h.frameElement}catch(e){}te.documentElement.doScroll&&e&&se()}}},isFunction:function(e){return"function"===_.type(e)},isArray:Array.isArray||function(e){return"array"===_.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!F.test(e)||isNaN(e)},type:function(e){return null==e?String(e):ee[Y.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==_.type(e)||e.nodeType||_.isWindow(e))return!1;if(e.constructor&&!$.call(e,"constructor")&&!$.call(e.constructor.prototype,"isPrototypeOf"))return!1;for(var t in e);return t===T||$.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(e){return"string"==typeof e&&e?(e=_.trim(e),h.JSON&&h.JSON.parse?h.JSON.parse(e):B.test(e.replace(H,"@").replace(U,"]").replace(z,""))?new Function("return "+e)():void _.error("Invalid JSON: "+e)):null},parseXML:function(e,t,n){return h.DOMParser?t=(n=new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)),(n=t.documentElement)&&n.nodeName&&"parsererror"!==n.nodeName||_.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&O.test(e)&&(h.execScript||function(e){h.eval.call(h,e)})(e)},camelCase:function(e){return e.replace(V,le)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,n){var i,r=0,o=e.length,a=o===T||_.isFunction(e);if(n)if(a){for(i in e)if(!1===t.apply(e[i],n))break}else for(;r<o&&!1!==t.apply(e[r++],n););else if(a){for(i in e)if(!1===t.call(e[i],i,e[i]))break}else for(;r<o&&!1!==t.call(e[r],r,e[r++]););return e},trim:J?function(e){return null==e?"":J.call(e)}:function(e){return null==e?"":(e+"").replace(M,"").replace(P,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(t=_.type(e),null==e.length||"string"===t||"function"===t||"regexp"===t||_.isWindow(e)?G.call(n,e):_.merge(n,e)),n},inArray:function(e,t){if(Z)return Z.call(t,e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},merge:function(e,t){var n=e.length,i=0;if("number"==typeof t.length)for(var r=t.length;i<r;i++)e[n++]=t[i];else for(;t[i]!==T;)e[n++]=t[i++];return e.length=n,e},grep:function(e,t,n){var i=[];n=!!n;for(var r=0,o=e.length;r<o;r++)n!==!!t(e[r],r)&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=[],a=0,s=e.length;if(e instanceof _||s!==T&&"number"==typeof s&&(0<s&&e[0]&&e[s-1]||0===s||_.isArray(e)))for(;a<s;a++)null!=(i=t(e[a],a,n))&&(o[o.length]=i);else for(r in e)i=t(e[r],r,n),null!=i&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,t){if("string"==typeof t&&(i=e[t],t=e,e=i),!_.isFunction(e))return T;var n=Q.call(arguments,2),i=function(){return e.apply(t,n.concat(Q.call(arguments)))};return i.guid=e.guid=e.guid||i.guid||_.guid++,i},access:function(e,t,n,i,r,o){var a=e.length;if("object"==typeof t){for(var s in t)_.access(e,s,t[s],i,r,n);return e}if(n===T)return a?r(e[0],t):T;i=!o&&i&&_.isFunction(n);for(var l=0;l<a;l++)r(e[l],t,i?n.call(e[l],l,r(e[l],t)):n,o);return e},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();e=W.exec(e)||q.exec(e)||X.exec(e)||e.indexOf("compatible")<0&&K.exec(e)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function n(e,t){return new n.fn.init(e,t)}_.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),(n.fn.constructor=n).sub=this.sub,n.fn.init=function(e,t){return t&&t instanceof _&&!(t instanceof n)&&(t=n(t)),_.fn.init.call(this,e,t,i)},n.fn.init.prototype=n.fn;var i=n(te);return n},browser:{}}),_.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),(ne=_.uaMatch(ne)).browser&&(_.browser[ne.browser]=!0,_.browser.version=ne.version),_.browser.webkit&&(_.browser.safari=!0),O.test("?")&&(M=/^[\s\xA0]+/,P=/[\s\xA0]+$/),E=_(te),te.addEventListener?A=function(){te.removeEventListener("DOMContentLoaded",A,!1),_.ready()}:te.attachEvent&&(A=function(){"complete"===te.readyState&&(te.detachEvent("onreadystatechange",A),_.ready())}),_),oe="done fail isResolved isRejected promise then always pipe".split(" "),ae=[].slice;function se(){if(!_.isReady){try{te.documentElement.doScroll("left")}catch(e){return void setTimeout(se,1)}_.ready()}}function le(e,t){return t.toUpperCase()}re.extend({_Deferred:function(){var a,n,s,l=[],c={done:function(){if(!s){var e,t,n,i,r,o=arguments;for(a&&(r=a,a=0),e=0,t=o.length;e<t;e++)n=o[e],"array"===(i=re.type(n))?c.done.apply(c,n):"function"===i&&l.push(n);r&&c.resolveWith(r[0],r[1])}return this},resolveWith:function(e,t){if(!s&&!a&&!n){t=t||[],n=1;try{for(;l[0];)l.shift().apply(e,t)}finally{a=[e,t],n=0}}return this},resolve:function(){return c.resolveWith(this,arguments),this},isResolved:function(){return!!n||!!a},cancel:function(){return s=1,l=[],this}};return c},Deferred:function(e){var n,a=re._Deferred(),t=re._Deferred();return re.extend(a,{then:function(e,t){return a.done(e).fail(t),this},always:function(){return a.done.apply(a,arguments).fail.apply(this,arguments)},fail:t.done,rejectWith:t.resolveWith,reject:t.resolve,isRejected:t.isResolved,pipe:function(e,t){return re.Deferred(function(o){re.each({done:[e,"resolve"],fail:[t,"reject"]},function(e,t){var n,i=t[0],r=t[1];re.isFunction(i)?a[e](function(){(n=i.apply(this,arguments))&&re.isFunction(n.promise)?n.promise().then(o.resolve,o.reject):o[r](n)}):a[e](o[r])})}).promise()},promise:function(e){if(null==e){if(n)return n;n=e={}}for(var t=oe.length;t--;)e[oe[t]]=a[oe[t]];return e}}),a.done(t.cancel).fail(a.cancel),delete a.cancel,e&&e.call(a,a),a},when:function(e){var n=arguments,t=0,i=n.length,r=i,o=i<=1&&e&&re.isFunction(e.promise)?e:re.Deferred();if(1<i){for(;t<i;t++)n[t]&&re.isFunction(n[t].promise)?n[t].promise().then(function(t){return function(e){n[t]=1<arguments.length?ae.call(arguments,0):e,--r||o.resolveWith(o,ae.call(n,0))}}(t),o.reject):--r;r||o.resolveWith(o,n)}else o!==e&&o.resolveWith(o,i?[e]:[]);return o.promise()}}),re.support=function(){var e,t,n,i,r,o,a,s,l,c,u,d,h,f=te.createElement("div"),p=te.documentElement;if(f.setAttribute("className","t"),f.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",a=f.getElementsByTagName("*"),s=f.getElementsByTagName("a")[0],!a||!a.length||!s)return{};t=(e=te.createElement("select")).appendChild(te.createElement("option")),n=f.getElementsByTagName("input")[0],r={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(s.getAttribute("style")),hrefNormalized:"/a"===s.getAttribute("href"),opacity:/^0.55$/.test(s.style.opacity),cssFloat:!!s.style.cssFloat,checkOn:"on"===n.value,optSelected:t.selected,getSetAttribute:"t"!==f.className,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},n.checked=!0,r.noCloneChecked=n.cloneNode(!0).checked,e.disabled=!0,r.optDisabled=!t.disabled;try{delete f.test}catch(e){r.deleteExpando=!1}for(d in!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",function(){r.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick")),(n=te.createElement("input")).value="t",n.setAttribute("type","radio"),r.radioValue="t"===n.value,n.setAttribute("checked","checked"),f.appendChild(n),(o=te.createDocumentFragment()).appendChild(f.firstChild),r.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="",f.style.width=f.style.paddingLeft="1px",a=te.getElementsByTagName("body")[0],l=te.createElement(a?"div":"body"),c={visibility:"hidden",width:0,height:0,border:0,margin:0},a&&re.extend(c,{position:"absolute",left:-1e3,top:-1e3}),c)l.style[d]=c[d];if(l.appendChild(f),(s=a||p).insertBefore(l,s.firstChild),r.appendChecked=n.checked,r.boxModel=2===f.offsetWidth,"zoom"in f.style&&(f.style.display="inline",f.style.zoom=1,r.inlineBlockNeedsLayout=2===f.offsetWidth,f.style.display="",f.innerHTML="<div style='width:4px;'></div>",r.shrinkWrapBlocks=2!==f.offsetWidth),f.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",h=0===(p=f.getElementsByTagName("td"))[0].offsetHeight,p[0].style.display="",p[1].style.display="none",r.reliableHiddenOffsets=h&&0===p[0].offsetHeight,f.innerHTML="",te.defaultView&&te.defaultView.getComputedStyle&&((i=te.createElement("div")).style.width="0",i.style.marginRight="0",f.appendChild(i),r.reliableMarginRight=0===(parseInt((te.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)),l.innerHTML="",s.removeChild(l),f.attachEvent)for(d in{submit:1,change:1,focusin:1})u="on"+d,h=u in f,h||(f.setAttribute(u,"return;"),h="function"==typeof f[u]),r[d+"Bubbles"]=h;return l=o=e=i=f=n=null,r}(),re.boxModel=re.support.boxModel;var ce=/^(?:\{.*\}|\[.*\])$/,ue=/([a-z])([A-Z])/g;re.extend({cache:{},uuid:0,expando:"jQuery"+(re.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?re.cache[e[re.expando]]:e[re.expando])&&!w(e)},data:function(e,t,n,i){if(re.acceptData(e)){var r=re.expando,o="string"==typeof t,a=e.nodeType,s=a?re.cache:e,l=a?e[re.expando]:e[re.expando]&&re.expando;if(l&&(!i||!l||s[l][r])||!o||n!==T)return l||(a?e[re.expando]=l=++re.uuid:l=re.expando),s[l]||(s[l]={},a||(s[l].toJSON=re.noop)),"object"!=typeof t&&"function"!=typeof t||(i?s[l][r]=re.extend(s[l][r],t):s[l]=re.extend(s[l],t)),l=s[l],i&&(l[r]||(l[r]={}),l=l[r]),n!==T&&(l[re.camelCase(t)]=n),"events"!==t||l[t]?o?l[re.camelCase(t)]||l[t]:l:l[r]&&l[r].events}},removeData:function(e,t,n){if(re.acceptData(e)){var i=re.expando,r=e.nodeType,o=r?re.cache:e,a=r?e[re.expando]:re.expando;if(o[a]){if(t){var s=n?o[a][i]:o[a];if(s&&(delete s[t],!w(s)))return}n&&(delete o[a][i],!w(o[a]))||(n=o[a][i],re.support.deleteExpando||o!=h?delete o[a]:o[a]=null,n?(o[a]={},r||(o[a].toJSON=re.noop),o[a][i]=n):r&&(re.support.deleteExpando?delete e[re.expando]:e.removeAttribute?e.removeAttribute(re.expando):e[re.expando]=null))}}},_data:function(e,t,n){return re.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=re.noData[e.nodeName.toLowerCase()];if(t)return!0!==t&&e.getAttribute("classid")===t}return!0}}),re.fn.extend({data:function(n,i){var e=null;if(void 0===n){if(this.length&&(e=re.data(this[0]),1===this[0].nodeType))for(var t,r=this[0].attributes,o=0,a=r.length;o<a;o++)0===(t=r[o].name).indexOf("data-")&&(t=re.camelCase(t.substring(5)),S(this[0],t,e[t]));return e}if("object"==typeof n)return this.each(function(){re.data(this,n)});var s=n.split(".");return s[1]=s[1]?"."+s[1]:"",i===T?((e=this.triggerHandler("getData"+s[1]+"!",[s[0]]))===T&&this.length&&(e=re.data(this[0],n),e=S(this[0],n,e)),e===T&&s[1]?this.data(s[0]):e):this.each(function(){var e=re(this),t=[s[0],i];e.triggerHandler("setData"+s[1]+"!",t),re.data(this,n,i),e.triggerHandler("changeData"+s[1]+"!",t)})},removeData:function(e){return this.each(function(){re.removeData(this,e)})}}),re.extend({_mark:function(e,t){e&&(t=(t||"fx")+"mark",re.data(e,t,(re.data(e,t,T,!0)||0)+1,!0))},_unmark:function(e,t,n){var i;!0!==e&&(n=t,t=e,e=!1),t&&(i=(n=n||"fx")+"mark",(e=e?0:(re.data(t,i,T,!0)||1)-1)?re.data(t,i,e,!0):(re.removeData(t,i,!0),N(t,n,"mark")))},queue:function(e,t,n){if(e){t=(t||"fx")+"queue";var i=re.data(e,t,T,!0);return n&&(!i||re.isArray(n)?i=re.data(e,t,re.makeArray(n),!0):i.push(n)),i||[]}},dequeue:function(e,t){t=t||"fx";var n=re.queue(e,t),i=n.shift();"inprogress"===i&&(i=n.shift()),i&&("fx"===t&&n.unshift("inprogress"),i.call(e,function(){re.dequeue(e,t)})),n.length||(re.removeData(e,t+"queue",!0),N(e,t,"queue"))}}),re.fn.extend({queue:function(t,n){return"string"!=typeof t&&(n=t,t="fx"),n===T?re.queue(this[0],t):this.each(function(){var e=re.queue(this,t,n);"fx"===t&&"inprogress"!==e[0]&&re.dequeue(this,t)})},dequeue:function(e){return this.each(function(){re.dequeue(this,e)})},delay:function(t,n){return t=re.fx&&re.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(){var e=this;setTimeout(function(){re.dequeue(e,n)},t)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--s||r.resolveWith(o,[o])}"string"!=typeof e&&(e=T),e=e||"fx";for(var i,r=re.Deferred(),o=this,a=o.length,s=1,l=e+"defer",c=e+"queue",u=e+"mark";a--;)(i=re.data(o[a],l,T,!0)||(re.data(o[a],c,T,!0)||re.data(o[a],u,T,!0))&&re.data(o[a],l,re._Deferred(),!0))&&(s++,i.done(n));return n(),r.promise()}});var de,he,fe=/[\n\t\r]/g,pe=/\s+/,me=/\r/g,ge=/^(?:button|input)$/i,ve=/^(?:button|input|object|select|textarea)$/i,ye=/^a(?:rea)?$/i,be=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ke=/\:|^on/;function xe(e){return e.replace(Ae,"\\$&")}re.fn.extend({attr:function(e,t){return re.access(this,e,t,!0,re.attr)},removeAttr:function(e){return this.each(function(){re.removeAttr(this,e)})},prop:function(e,t){return re.access(this,e,t,!0,re.prop)},removeProp:function(e){return e=re.propFix[e]||e,this.each(function(){try{this[e]=T,delete this[e]}catch(e){}})},addClass:function(t){var e,n,i,r,o,a,s;if(re.isFunction(t))return this.each(function(e){re(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(pe),n=0,i=this.length;n<i;n++)if(1===(r=this[n]).nodeType)if(r.className||1!==e.length){for(o=" "+r.className+" ",a=0,s=e.length;a<s;a++)~o.indexOf(" "+e[a]+" ")||(o+=e[a]+" ");r.className=re.trim(o)}else r.className=t;return this},removeClass:function(t){var e,n,i,r,o,a,s;if(re.isFunction(t))return this.each(function(e){re(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===T)for(e=(t||"").split(pe),n=0,i=this.length;n<i;n++)if(1===(r=this[n]).nodeType&&r.className)if(t){for(o=(" "+r.className+" ").replace(fe," "),a=0,s=e.length;a<s;a++)o=o.replace(" "+e[a]+" "," ");r.className=re.trim(o)}else r.className="";return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return re.isFunction(o)?this.each(function(e){re(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"==s)for(var e,t=0,n=re(this),i=a,r=o.split(pe);e=r[t++];)i=l?i:!n.hasClass(e),n[i?"addClass":"removeClass"](e);else"undefined"!=s&&"boolean"!=s||(this.className&&re._data(this,"__className__",this.className),this.className=!this.className&&!1!==o&&re._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n<i;n++)if(-1<(" "+this[n].className+" ").replace(fe," ").indexOf(t))return!0;return!1},val:function(n){var i,e,t=this[0];if(!arguments.length)return t?(i=re.valHooks[t.nodeName.toLowerCase()]||re.valHooks[t.type])&&"get"in i&&(e=i.get(t,"value"))!==T?e:"string"==typeof(e=t.value)?e.replace(me,""):null==e?"":e:T;var r=re.isFunction(n);return this.each(function(e){var t=re(this);1===this.nodeType&&(null==(t=r?n.call(this,e,t.val()):n)?t="":"number"==typeof t?t+="":re.isArray(t)&&(t=re.map(t,function(e){return null==e?"":e+""})),(i=re.valHooks[this.nodeName.toLowerCase()]||re.valHooks[this.type])&&"set"in i&&i.set(this,t,"value")!==T||(this.value=t))})}}),re.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t=e.selectedIndex,n=[],i=e.options,r="select-one"===e.type;if(t<0)return null;for(var o=r?t:0,a=r?t+1:i.length;o<a;o++){var s=i[o];if(s.selected&&(re.support.optDisabled?!s.disabled:null===s.getAttribute("disabled"))&&(!s.parentNode.disabled||!re.nodeName(s.parentNode,"optgroup"))){if(s=re(s).val(),r)return s;n.push(s)}}return r&&!n.length&&i.length?re(i[t]).val():n},set:function(e,t){var n=re.makeArray(t);return re(e).find("option").each(function(){this.selected=0<=re.inArray(re(this).val(),n)}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(e,t,n,i){var r=e.nodeType;if(!e||3===r||8===r||2===r)return T;if(i&&t in re.attrFn)return re(e)[t](n);if(!("getAttribute"in e))return re.prop(e,t,n);var o,a,r=1!==r||!re.isXMLDoc(e);return r&&(t=re.attrFix[t]||t,(a=re.attrHooks[t])||(be.test(t)?a=he:de&&"className"!==t&&(re.nodeName(e,"form")||ke.test(t))&&(a=de))),n!==T?null===n?(re.removeAttr(e,t),T):a&&"set"in a&&r&&(o=a.set(e,n,t))!==T?o:(e.setAttribute(t,""+n),n):!(a&&"get"in a&&r&&null!==(o=a.get(e,t)))&&null===(o=e.getAttribute(t))?T:o},removeAttr:function(e,t){var n;1===e.nodeType&&(t=re.attrFix[t]||t,re.support.getSetAttribute?e.removeAttribute(t):(re.attr(e,t,""),e.removeAttributeNode(e.getAttributeNode(t))),be.test(t)&&(n=re.propFix[t]||t)in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(ge.test(e.nodeName)&&e.parentNode)re.error("type property can't be changed");else if(!re.support.radioValue&&"radio"===t&&re.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},tabIndex:{get:function(e){var t=e.getAttributeNode("tabIndex");return t&&t.specified?parseInt(t.value,10):ve.test(e.nodeName)||ye.test(e.nodeName)&&e.href?0:T}},value:{get:function(e,t){return de&&re.nodeName(e,"button")?de.get(e,t):t in e?e.value:null},set:function(e,t,n){if(de&&re.nodeName(e,"button"))return de.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,t,n){var i,r,o=e.nodeType;return e&&3!==o&&8!==o&&2!==o?((1!==o||!re.isXMLDoc(e))&&(t=re.propFix[t]||t,r=re.propHooks[t]),n!==T?r&&"set"in r&&(i=r.set(e,n,t))!==T?i:e[t]=n:r&&"get"in r&&(i=r.get(e,t))!==T?i:e[t]):T},propHooks:{}}),he={get:function(e,t){return re.prop(e,t)?t.toLowerCase():T},set:function(e,t,n){return!1===t?re.removeAttr(e,n):((t=re.propFix[n]||n)in e&&(e[t]=!0),e.setAttribute(n,n.toLowerCase())),n}},re.support.getSetAttribute||(re.attrFix=re.propFix,de=re.attrHooks.name=re.attrHooks.title=re.valHooks.button={get:function(e,t){t=e.getAttributeNode(t);return t&&""!==t.nodeValue?t.nodeValue:T},set:function(e,t,n){n=e.getAttributeNode(n);if(n)return n.nodeValue=t}},re.each(["width","height"],function(e,n){re.attrHooks[n]=re.extend(re.attrHooks[n],{set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}})})),re.support.hrefNormalized||re.each(["href","src","width","height"],function(e,t){re.attrHooks[t]=re.extend(re.attrHooks[t],{get:function(e){e=e.getAttribute(t,2);return null===e?T:e}})}),re.support.style||(re.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||T},set:function(e,t){return e.style.cssText=""+t}}),re.support.optSelected||(re.propHooks.selected=re.extend(re.propHooks.selected,{get:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}})),re.support.checkOn||re.each(["radio","checkbox"],function(){re.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),re.each(["radio","checkbox"],function(){re.valHooks[this]=re.extend(re.valHooks[this],{set:function(e,t){if(re.isArray(t))return e.checked=0<=re.inArray(re(e).val(),t)}})});var Ce,Ne,Te,we=/\.(.*)$/,Se=/^(?:textarea|input|select)$/i,Ee=/\./g,Ie=/ /g,Ae=/[^\w\s.|`]/g;function _e(e){var t=e.relatedTarget,n=!1,i=e.type;e.type=e.data,t!==this&&(t&&(n=re.contains(this,t)),n||(re.event.handle.apply(this,arguments),e.type=i))}function De(e){e.type=e.data,re.event.handle.apply(this,arguments)}re.event={add:function(e,t,n,i){if(3!==e.nodeType&&8!==e.nodeType){if(!1===n)n=C;else if(!n)return;var r,o;n.handler&&(n=(r=n).handler),n.guid||(n.guid=re.guid++);var a=re._data(e);if(a){var s=a.events,l=a.handle;s||(a.events=s={}),l||(a.handle=l=function(e){return void 0===re||e&&re.event.triggered===e.type?T:re.event.handle.apply(l.elem,arguments)}),l.elem=e,t=t.split(" ");for(var c,u,d=0;c=t[d++];){o=r?re.extend({},r):{handler:n,data:i},-1<c.indexOf(".")?(c=(u=c.split(".")).shift(),o.namespace=u.slice(0).sort().join(".")):(u=[],o.namespace=""),o.type=c,o.guid||(o.guid=n.guid);var h=s[c],f=re.event.special[c]||{};h||(h=s[c]=[],f.setup&&!1!==f.setup.call(e,i,u,l)||(e.addEventListener?e.addEventListener(c,l,!1):e.attachEvent&&e.attachEvent("on"+c,l))),f.add&&(f.add.call(e,o),o.handler.guid||(o.handler.guid=n.guid)),h.push(o),re.event.global[c]=!0}e=null}}},global:{},remove:function(e,t,n,i){if(3!==e.nodeType&&8!==e.nodeType){!1===n&&(n=C);var r,o,a,s,l,c,u,d,h,f,p=0,m=re.hasData(e)&&re._data(e),g=m&&m.events;if(m&&g)if(t&&t.type&&(n=t.handler,t=t.type),!t||"string"==typeof t&&"."===t.charAt(0))for(r in t=t||"",g)re.event.remove(e,r+t);else{for(t=t.split(" ");r=t[p++];)if(d=null,s=[],(a=(h=r).indexOf(".")<0)||(r=(s=r.split(".")).shift(),l=new RegExp("(^|\\.)"+re.map(s.slice(0).sort(),xe).join("\\.(?:.*\\.)?")+"(\\.|$)")),u=g[r])if(n){for(c=re.event.special[r]||{},o=i||0;o<u.length&&(d=u[o],n.guid!==d.guid||((a||l.test(d.namespace))&&(null==i&&u.splice(o--,1),c.remove&&c.remove.call(e,d)),null==i));o++);(0===u.length||null!=i&&1===u.length)&&(c.teardown&&!1!==c.teardown.call(e,s)||re.removeEvent(e,r,m.handle),delete g[r])}else for(o=0;o<u.length;o++)d=u[o],(a||l.test(d.namespace))&&(re.event.remove(e,h,d.handler,o),u.splice(o--,1));re.isEmptyObject(g)&&((f=m.handle)&&(f.elem=null),delete m.events,delete m.handle,re.isEmptyObject(m)&&re.removeData(e,T,!0))}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(t,n,e,i){var r,o=t.type||t,a=[];if(0<=o.indexOf("!")&&(o=o.slice(0,-1),r=!0),0<=o.indexOf(".")&&(o=(a=o.split(".")).shift(),a.sort()),e&&!re.event.customEvent[o]||re.event.global[o])if((t="object"==typeof t?t[re.expando]?t:new re.Event(o,t):new re.Event(o)).type=o,t.exclusive=r,t.namespace=a.join("."),t.namespace_re=new RegExp("(^|\\.)"+a.join("\\.(?:.*\\.)?")+"(\\.|$)"),!i&&e||(t.preventDefault(),t.stopPropagation()),e){if(3!==e.nodeType&&8!==e.nodeType){t.result=T,t.target=e,(n=null!=n?re.makeArray(n):[]).unshift(t);var s=e,l=o.indexOf(":")<0?"on"+o:"";do{var c=re._data(s,"handle")}while(t.currentTarget=s,c&&c.apply(s,n),l&&re.acceptData(s)&&s[l]&&!1===s[l].apply(s,n)&&(t.result=!1,t.preventDefault()),(s=s.parentNode||s.ownerDocument||s===t.target.ownerDocument&&h)&&!t.isPropagationStopped());if(!t.isDefaultPrevented()){var u,i=re.event.special[o]||{};if((!i._default||!1===i._default.call(e.ownerDocument,t))&&("click"!==o||!re.nodeName(e,"a"))&&re.acceptData(e)){try{l&&e[o]&&((u=e[l])&&(e[l]=null),e[re.event.triggered=o]())}catch(e){}u&&(e[l]=u),re.event.triggered=T}}return t.result}}else re.each(re.cache,function(){var e=this[re.expando];e&&e.events&&e.events[o]&&re.event.trigger(t,n,e.handle.elem)})},handle:function(e){e=re.event.fix(e||h.event);var t=((re._data(this,"events")||{})[e.type]||[]).slice(0),n=!e.exclusive&&!e.namespace,i=Array.prototype.slice.call(arguments,0);(i[0]=e).currentTarget=this;for(var r=0,o=t.length;r<o;r++){var a=t[r];if(n||e.namespace_re.test(a.namespace)){e.handler=a.handler,e.data=a.data;a=(e.handleObj=a).handler.apply(this,i);if(a!==T&&(!1===(e.result=a)&&(e.preventDefault(),e.stopPropagation())),e.isImmediatePropagationStopped())break}}return e.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(e){if(e[re.expando])return e;var t=e;e=re.Event(t);for(var n,i,r,o=this.props.length;o;)e[n=this.props[--o]]=t[n];return e.target||(e.target=e.srcElement||te),3===e.target.nodeType&&(e.target=e.target.parentNode),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),null==e.pageX&&null!=e.clientX&&(i=(r=e.target.ownerDocument||te).documentElement,r=r.body,e.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),null!=e.which||null==e.charCode&&null==e.keyCode||(e.which=null!=e.charCode?e.charCode:e.keyCode),!e.metaKey&&e.ctrlKey&&(e.metaKey=e.ctrlKey),e.which||e.button===T||(e.which=1&e.button?1:2&e.button?3:4&e.button?2:0),e},guid:1e8,proxy:re.proxy,special:{ready:{setup:re.bindReady,teardown:re.noop},live:{add:function(e){re.event.add(this,g(e.origType,e.selector),re.extend({},e,{handler:y,guid:e.handler.guid}))},remove:function(e){re.event.remove(this,g(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){re.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},re.removeEvent=te.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},re.Event=function(e,t){if(!this.preventDefault)return new re.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?k:C):this.type=e,t&&re.extend(this,t),this.timeStamp=re.now(),this[re.expando]=!0},re.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=k;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k,this.stopPropagation()},isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C},re.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,n){re.event.special[t]={setup:function(e){re.event.add(this,n,e&&e.selector?De:_e,t)},teardown:function(e){re.event.remove(this,n,e&&e.selector?De:_e)}}}),re.support.submitBubbles||(re.event.special.submit={setup:function(e,t){if(re.nodeName(this,"form"))return!1;re.event.add(this,"click.specialSubmit",function(e){var t=e.target,n=t.type;"submit"!==n&&"image"!==n||!re(t).closest("form").length||b("submit",this,arguments)}),re.event.add(this,"keypress.specialSubmit",function(e){var t=e.target,n=t.type;"text"!==n&&"password"!==n||!re(t).closest("form").length||13!==e.keyCode||b("submit",this,arguments)})},teardown:function(e){re.event.remove(this,".specialSubmit")}}),re.support.changeBubbles||(Ne=function(e){var t=e.type,n=e.value;return"radio"===t||"checkbox"===t?n=e.checked:"select-multiple"===t?n=-1<e.selectedIndex?re.map(e.options,function(e){return e.selected}).join("-"):"":re.nodeName(e,"select")&&(n=e.selectedIndex),n},Te=function(e){var t,n,i=e.target;Se.test(i.nodeName)&&!i.readOnly&&(t=re._data(i,"_change_data"),n=Ne(i),"focusout"===e.type&&"radio"===i.type||re._data(i,"_change_data",n),t!==T&&n!==t&&(null==t&&!n||(e.type="change",e.liveFired=T,re.event.trigger(e,arguments[1],i))))},re.event.special.change={filters:{focusout:Te,beforedeactivate:Te,click:function(e){var t=e.target,n=re.nodeName(t,"input")?t.type:"";"radio"!==n&&"checkbox"!==n&&!re.nodeName(t,"select")||Te.call(this,e)},keydown:function(e){var t=e.target,n=re.nodeName(t,"input")?t.type:"";(13!==e.keyCode||re.nodeName(t,"textarea"))&&(32!==e.keyCode||"checkbox"!==n&&"radio"!==n)&&"select-multiple"!==n||Te.call(this,e)},beforeactivate:function(e){e=e.target;re._data(e,"_change_data",Ne(e))}},setup:function(e,t){if("file"===this.type)return!1;for(var n in Ce)re.event.add(this,n+".specialChange",Ce[n]);return Se.test(this.nodeName)},teardown:function(e){return re.event.remove(this,".specialChange"),Se.test(this.nodeName)}},(Ce=re.event.special.change.filters).focus=Ce.beforeactivate),re.support.focusinBubbles||re.each({focus:"focusin",blur:"focusout"},function(e,n){function t(e){var t=re.event.fix(e);t.type=n,t.originalEvent={},re.event.trigger(t,null,t.target),t.isDefaultPrevented()&&e.preventDefault()}var i=0;re.event.special[n]={setup:function(){0==i++&&te.addEventListener(e,t,!0)},teardown:function(){0==--i&&te.removeEventListener(e,t,!0)}}}),re.each(["bind","one"],function(e,s){re.fn[s]=function(e,t,n){var i;if("object"==typeof e){for(var r in e)this[s](r,t,e[r],n);return this}if(2!==arguments.length&&!1!==t||(n=t,t=T),"one"===s?(i=function(e){return re(this).unbind(e,i),n.apply(this,arguments)}).guid=n.guid||re.guid++:i=n,"unload"===e&&"one"!==s)this.one(e,t,n);else for(var o=0,a=this.length;o<a;o++)re.event.add(this[o],e,i,t);return this}}),re.fn.extend({unbind:function(e,t){if("object"!=typeof e||e.preventDefault)for(var n=0,i=this.length;n<i;n++)re.event.remove(this[n],e,t);else for(var r in e)this.unbind(r,e[r]);return this},delegate:function(e,t,n,i){return this.live(t,n,i,e)},undelegate:function(e,t,n){return 0===arguments.length?this.unbind("live"):this.die(t,null,n,e)},trigger:function(e,t){return this.each(function(){re.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return re.event.trigger(e,t,this[0],!0)},toggle:function(n){function e(e){var t=(re.data(this,"lastToggle"+n.guid)||0)%r;return re.data(this,"lastToggle"+n.guid,1+t),e.preventDefault(),i[t].apply(this,arguments)||!1}var i=arguments,t=n.guid||re.guid++,r=0;for(e.guid=t;r<i.length;)i[r++].guid=t;return this.click(e)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Le={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};re.each(["live","die"],function(e,p){re.fn[p]=function(e,t,n,i){var r,o,a,s,l=0,c=i||this.selector,u=i?this:re(this.context);if("object"==typeof e&&!e.preventDefault){for(var d in e)u[p](d,t,e[d],c);return this}if("die"===p&&!e&&i&&"."===i.charAt(0))return u.unbind(i),this;for(!1!==t&&!re.isFunction(t)||(n=t||C,t=T),e=(e||"").split(" ");null!=(r=e[l++]);)if(a="",(o=we.exec(r))&&(a=o[0],r=r.replace(we,"")),"hover"!==r)if(Le[s=r]?(e.push(Le[r]+a),r+=a):r=(Le[r]||r)+a,"live"===p)for(var h=0,f=u.length;h<f;h++)re.event.add(u[h],"live."+g(r,c),{data:t,selector:c,handler:n,origType:r,origHandler:n,preType:s});else u.unbind("live."+g(r,c),n);else e.push("mouseenter"+a,"mouseleave"+a);return this}}),re.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".split(" "),function(e,n){re.fn[n]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.bind(n,e,t):this.trigger(n)},re.attrFn&&(re.attrFn[n]=!0)}),function(){function a(e,t,n,i,r,o){for(var a=0,s=i.length;a<s;a++)if(c=i[a]){for(var l=!1,c=c[e];c;){if(c.sizcache===n){l=i[c.sizset];break}if(1===c.nodeType)if(o||(c.sizcache=n,c.sizset=a),"string"!=typeof t){if(c===t){l=!0;break}}else if(0<b.filter(t,[c]).length){l=c;break}c=c[e]}i[a]=l}}function s(e,t,n,i,r,o){for(var a=0,s=i.length;a<s;a++)if(c=i[a]){for(var l=!1,c=c[e];c;){if(c.sizcache===n){l=i[c.sizset];break}if(1!==c.nodeType||o||(c.sizcache=n,c.sizset=a),c.nodeName.toLowerCase()===t){l=c;break}c=c[e]}i[a]=l}}var v=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,l=0,y=Object.prototype.toString,u=!1,n=!0,c=/\\/g,d=/\W/;[0,0].sort(function(){return n=!1,0});var b=function(e,t,n,i){n=n||[];var r=t=t||te;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var o,a,s,l,c,u,d,h,f=!0,p=b.isXML(t),m=[],g=e;do{if(v.exec(""),o=v.exec(g),o&&(g=o[3],m.push(o[1]),o[2])){l=o[3];break}}while(o);if(1<m.length&&x.exec(e))if(2===m.length&&k.relative[m[0]])a=N(m[0]+m[1],t);else for(a=k.relative[m[0]]?[t]:b(m.shift(),t);m.length;)e=m.shift(),k.relative[e]&&(e+=m.shift()),a=N(e,a);else if(!i&&1<m.length&&9===t.nodeType&&!p&&k.match.ID.test(m[0])&&!k.match.ID.test(m[m.length-1])&&(t=((c=b.find(m.shift(),t,p)).expr?b.filter(c.expr,c.set):c.set)[0]),t)for(a=(c=i?{expr:m.pop(),set:C(i)}:b.find(m.pop(),1!==m.length||"~"!==m[0]&&"+"!==m[0]||!t.parentNode?t:t.parentNode,p)).expr?b.filter(c.expr,c.set):c.set,0<m.length?s=C(a):f=!1;m.length;)d=u=m.pop(),k.relative[u]?d=m.pop():u="",null==d&&(d=t),k.relative[u](s,d,p);else s=m=[];if((s=s||a)||b.error(u||e),"[object Array]"===y.call(s))if(f)if(t&&1===t.nodeType)for(h=0;null!=s[h];h++)s[h]&&(!0===s[h]||1===s[h].nodeType&&b.contains(t,s[h]))&&n.push(a[h]);else for(h=0;null!=s[h];h++)s[h]&&1===s[h].nodeType&&n.push(a[h]);else n.push.apply(n,s);else C(s,n);return l&&(b(l,r,n,i),b.uniqueSort(n)),n};function e(e,t){return"\\"+(+t+1)}b.uniqueSort=function(e){if(i&&(u=n,e.sort(i),u))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},b.matches=function(e,t){return b(e,null,null,t)},b.matchesSelector=function(e,t){return 0<b(t,null,null,[e]).length},b.find=function(e,t,n){var i;if(!e)return[];for(var r=0,o=k.order.length;r<o;r++){var a,s=k.order[r];if(a=k.leftMatch[s].exec(e)){var l=a[1];if(a.splice(1,1),"\\"!==l.substr(l.length-1)&&(a[1]=(a[1]||"").replace(c,""),null!=(i=k.find[s](a,t,n)))){e=e.replace(k.match[s],"");break}}}return{set:i=i||(void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),expr:e}},b.filter=function(e,t,n,i){for(var r,o=e,a=[],s=t,l=t&&t[0]&&b.isXML(t[0]);e&&t.length;){for(var c in k.filter)if(null!=(r=k.leftMatch[c].exec(e))&&r[2]){var u,d,h,f=k.filter[c],p=r[1],m=!1;if(r.splice(1,1),"\\"===p.substr(p.length-1))continue;if(s===a&&(a=[]),k.preFilter[c])if(r=k.preFilter[c](r,s,n,a,i,l)){if(!0===r)continue}else m=u=!0;if(r)for(var g=0;null!=(d=s[g]);g++)d&&(h=i^!!(u=f(d,r,g,s)),n&&null!=u?h?m=!0:s[g]=!1:h&&(a.push(d),m=!0));if(u!==T){if(n||(s=a),e=e.replace(k.match[c],""),!m)return[];break}}if(e===o){if(null!=m)break;b.error(e)}o=e}return s},b.error=function(e){throw"Syntax error, unrecognized expression: "+e};var t,k=b.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var n="string"==typeof t,i=n&&!d.test(t),r=n&&!i;i&&(t=t.toLowerCase());for(var o,a=0,s=e.length;a<s;a++)if(o=e[a]){for(;(o=o.previousSibling)&&1!==o.nodeType;);e[a]=r||o&&o.nodeName.toLowerCase()===t?o||!1:o===t}r&&b.filter(t,e,!0)},">":function(e,t){var n,i,r="string"==typeof t,o=0,a=e.length;if(r&&!d.test(t))for(t=t.toLowerCase();o<a;o++)(i=e[o])&&(n=i.parentNode,e[o]=n.nodeName.toLowerCase()===t&&n);else{for(;o<a;o++)(i=e[o])&&(e[o]=r?i.parentNode:i.parentNode===t);r&&b.filter(t,e,!0)}},"":function(e,t,n){var i,r=l++,o=a;"string"!=typeof t||d.test(t)||(i=t=t.toLowerCase(),o=s),o("parentNode",t,r,e,i,n)},"~":function(e,t,n){var i,r=l++,o=a;"string"!=typeof t||d.test(t)||(i=t=t.toLowerCase(),o=s),o("previousSibling",t,r,e,i,n)}},find:{ID:function(e,t,n){if(void 0!==t.getElementById&&!n){e=t.getElementById(e[1]);return e&&e.parentNode?[e]:[]}},NAME:function(e,t){if(void 0!==t.getElementsByName){for(var n=[],i=t.getElementsByName(e[1]),r=0,o=i.length;r<o;r++)i[r].getAttribute("name")===e[1]&&n.push(i[r]);return 0===n.length?null:n}},TAG:function(e,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,i,r,o){if(e=" "+e[1].replace(c,"")+" ",o)return e;for(var a,s=0;null!=(a=t[s]);s++)a&&(r^(a.className&&0<=(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(e))?n||i.push(a):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(c,"")},TAG:function(e,t){return e[1].replace(c,"").toLowerCase()},CHILD:function(e){var t;return"nth"===e[1]?(e[2]||b.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,""),t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]),e[2]=+(t[1]+(t[2]||1)),e[3]=+t[3]):e[2]&&b.error(e[0]),e[0]=l++,e},ATTR:function(e,t,n,i,r,o){var a=e[1]=e[1].replace(c,"");return!o&&k.attrMap[a]&&(e[1]=k.attrMap[a]),e[4]=(e[4]||e[5]||"").replace(c,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,r){if("not"===e[1]){if(!(1<(v.exec(e[3])||"").length||/^\w/.test(e[3]))){r=b.filter(e[3],t,n,!0^r);return n||i.push.apply(i,r),!1}e[3]=b(e[3],null,null,t)}else if(k.match.POS.test(e[0])||k.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!b(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,i){return t===i.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<+n[3]},gt:function(e,t,n){return t>+n[3]},nth:function(e,t,n){return+n[3]===t},eq:function(e,t,n){return+n[3]===t}},filter:{PSEUDO:function(e,t,n,i){var r=t[1],o=k.filters[r];if(o)return o(e,n,t,i);if("contains"===r)return 0<=(e.textContent||e.innerText||b.getText([e])||"").indexOf(t[3]);if("not"===r){for(var a=t[3],s=0,l=a.length;s<l;s++)if(a[s]===e)return!1;return!0}b.error(r)},CHILD:function(e,t){var n=t[1],i=e;switch(n){case"only":case"first":for(;i=i.previousSibling;)if(1===i.nodeType)return!1;if("first"===n)return!0;i=e;case"last":for(;i=i.nextSibling;)if(1===i.nodeType)return!1;return!0;case"nth":var r=t[2],o=t[3];if(1===r&&0===o)return!0;var a=t[0],s=e.parentNode;if(s&&(s.sizcache!==a||!e.nodeIndex)){for(var l=0,i=s.firstChild;i;i=i.nextSibling)1===i.nodeType&&(i.nodeIndex=++l);s.sizcache=a}o=e.nodeIndex-o;return 0===r?0==o:o%r==0&&0<=o/r}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return-1<(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)},ATTR:function(e,t){var n=t[1],i=k.attrHandle[n]?k.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),e=i+"",n=t[2],t=t[4];return null==i?"!="===n:"="===n?e===t:"*="===n?0<=e.indexOf(t):"~="===n?0<=(" "+e+" ").indexOf(t):t?"!="===n?e!==t:"^="===n?0===e.indexOf(t):"$="===n?e.substr(e.length-t.length)===t:"|="===n&&(e===t||e.substr(0,t.length+1)===t+"-"):e&&!1!==i},POS:function(e,t,n,i){var r=t[2],r=k.setFilters[r];if(r)return r(e,n,t,i)}}},x=k.match.POS;for(t in k.match)k.match[t]=new RegExp(k.match[t].source+/(?![^\[]*\])(?![^\(]*\))/.source),k.leftMatch[t]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[t].source.replace(/\\(\d+)/g,e));var i,h,r,o,f,C=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(te.documentElement.childNodes,0)[0].nodeType}catch(e){C=function(e,t){var n=0,i=t||[];if("[object Array]"===y.call(e))Array.prototype.push.apply(i,e);else if("number"==typeof e.length)for(var r=e.length;n<r;n++)i.push(e[n]);else for(;e[n];n++)i.push(e[n]);return i}}te.documentElement.compareDocumentPosition?i=function(e,t){return e===t?(u=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(i=function(e,t){if(e===t)return u=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,i,r=[],o=[],a=e.parentNode,s=t.parentNode,l=a;if(a===s)return h(e,t);if(!a)return-1;if(!s)return 1;for(;l;)r.unshift(l),l=l.parentNode;for(l=s;l;)o.unshift(l),l=l.parentNode;n=r.length,i=o.length;for(var c=0;c<n&&c<i;c++)if(r[c]!==o[c])return h(r[c],o[c]);return c===n?h(e,o[c],-1):h(r[c],t,1)},h=function(e,t,n){if(e===t)return n;for(var i=e.nextSibling;i;){if(i===t)return-1;i=i.nextSibling}return 1}),b.getText=function(e){for(var t,n="",i=0;e[i];i++)3===(t=e[i]).nodeType||4===t.nodeType?n+=t.nodeValue:8!==t.nodeType&&(n+=b.getText(t.childNodes));return n},r=te.createElement("div"),o="script"+(new Date).getTime(),f=te.documentElement,r.innerHTML="<a name='"+o+"'/>",f.insertBefore(r,f.firstChild),te.getElementById(o)&&(k.find.ID=function(e,t,n){if(void 0!==t.getElementById&&!n){t=t.getElementById(e[1]);return t?t.id===e[1]||void 0!==t.getAttributeNode&&t.getAttributeNode("id").nodeValue===e[1]?[t]:T:[]}},k.filter.ID=function(e,t){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),f.removeChild(r),f=r=null,(f=te.createElement("div")).appendChild(te.createComment("")),0<f.getElementsByTagName("*").length&&(k.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var i=[],r=0;n[r];r++)1===n[r].nodeType&&i.push(n[r]);n=i}return n}),f.innerHTML="<a href='#'></a>",f.firstChild&&void 0!==f.firstChild.getAttribute&&"#"!==f.firstChild.getAttribute("href")&&(k.attrHandle.href=function(e){return e.getAttribute("href",2)}),f=null,te.querySelectorAll&&function(){var c=b,e=te.createElement("div");if(e.innerHTML="<p class='TEST'></p>",!e.querySelectorAll||0!==e.querySelectorAll(".TEST").length){for(var t in b=function(e,t,n,i){if(t=t||te,!i&&!b.isXML(t)){var r=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e);if(r&&(1===t.nodeType||9===t.nodeType)){if(r[1])return C(t.getElementsByTagName(e),n);if(r[2]&&k.find.CLASS&&t.getElementsByClassName)return C(t.getElementsByClassName(r[2]),n)}if(9===t.nodeType){if("body"===e&&t.body)return C([t.body],n);if(r&&r[3]){var o=t.getElementById(r[3]);if(!o||!o.parentNode)return C([],n);if(o.id===r[3])return C([o],n)}try{return C(t.querySelectorAll(e),n)}catch(e){}}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var r=t,o=t.getAttribute("id"),a=o||"__sizzle__",s=t.parentNode,l=/^\s*[+~]/.test(e);o?a=a.replace(/'/g,"\\$&"):t.setAttribute("id",a),l&&s&&(t=t.parentNode);try{if(!l||s)return C(t.querySelectorAll("[id='"+a+"'] "+e),n)}catch(e){}finally{o||r.removeAttribute("id")}}}return c(e,t,n,i)},c)b[t]=c[t];e=null}}(),function(){var e=te.documentElement,i=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(i){var r=!i.call(te.createElement("div"),"div"),o=!1;try{i.call(te.documentElement,"[test!='']:sizzle")}catch(e){o=!0}b.matchesSelector=function(e,t){if(t=t.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!b.isXML(e))try{if(o||!k.match.PSEUDO.test(t)&&!/!=/.test(t)){var n=i.call(e,t);if(n||!r||e.document&&11!==e.document.nodeType)return n}}catch(e){}return 0<b(t,null,null,[e]).length}}}(),(f=te.createElement("div")).innerHTML="<div class='test e'></div><div class='test'></div>",f.getElementsByClassName&&0!==f.getElementsByClassName("e").length&&(f.lastChild.className="e",1!==f.getElementsByClassName("e").length&&(k.order.splice(1,0,"CLASS"),k.find.CLASS=function(e,t,n){if(void 0!==t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},f=null)),te.documentElement.contains?b.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:te.documentElement.compareDocumentPosition?b.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:b.contains=function(){return!1},b.isXML=function(e){e=(e?e.ownerDocument||e:0).documentElement;return!!e&&"HTML"!==e.nodeName};var N=function(e,t){for(var n,i=[],r="",o=t.nodeType?[t]:t;n=k.match.PSEUDO.exec(e);)r+=n[0],e=e.replace(k.match.PSEUDO,"");e=k.relative[e]?e+"*":e;for(var a=0,s=o.length;a<s;a++)b(e,o[a],i);return b.filter(r,i)};re.find=b,re.expr=b.selectors,re.expr[":"]=re.expr.filters,re.unique=b.uniqueSort,re.text=b.getText,re.isXMLDoc=b.isXML,re.contains=b.contains}();var je=/Until$/,Oe=/^(?:parents|prevUntil|prevAll)/,Me=/,/,Pe=/^.[^:#\[\.,]*$/,Fe=Array.prototype.slice,Re=re.expr.match.POS,Be={children:!0,contents:!0,next:!0,prev:!0};re.fn.extend({find:function(e){var t=this;if("string"!=typeof e)return re(e).filter(function(){for(a=0,s=t.length;a<s;a++)if(re.contains(t[a],this))return!0});for(var n,i,r,o=this.pushStack("","find",e),a=0,s=this.length;a<s;a++)if(n=o.length,re.find(e,this[a],o),0<a)for(i=n;i<o.length;i++)for(r=0;r<n;r++)if(o[r]===o[i]){o.splice(i--,1);break}return o},has:function(e){var n=re(e);return this.filter(function(){for(var e=0,t=n.length;e<t;e++)if(re.contains(this,n[e]))return!0})},not:function(e){return this.pushStack(r(this,e,!1),"not",e)},filter:function(e){return this.pushStack(r(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?0<re.filter(e,this).length:0<this.filter(e).length)},closest:function(e,t){var n=[],i=this[0];if(re.isArray(e)){var r,o,a={},s=1;if(i&&e.length){for(c=0,u=e.length;c<u;c++)a[o=e[c]]||(a[o]=Re.test(o)?re(o,t||this.context):o);for(;i&&i.ownerDocument&&i!==t;){for(o in a)r=a[o],(r.jquery?-1<r.index(i):re(i).is(r))&&n.push({selector:o,elem:i,level:s});i=i.parentNode,s++}}return n}for(var l=Re.test(e)||"string"!=typeof e?re(e,t||this.context):0,c=0,u=this.length;c<u;c++)for(i=this[c];i;){if(l?-1<l.index(i):re.find.matchesSelector(i,e)){n.push(i);break}if(!(i=i.parentNode)||!i.ownerDocument||i===t||11===i.nodeType)break}return n=1<n.length?re.unique(n):n,this.pushStack(n,"closest",e)},index:function(e){return e&&"string"!=typeof e?re.inArray(e.jquery?e[0]:e,this):re.inArray(this[0],e?re(e):this.parent().children())},add:function(e,t){t="string"==typeof e?re(e,t):re.makeArray(e&&e.nodeType?[e]:e),e=re.merge(this.get(),t);return this.pushStack(a(t[0])||a(e[0])?e:re.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),re.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return re.dir(e,"parentNode")},parentsUntil:function(e,t,n){return re.dir(e,"parentNode",n)},next:function(e){return re.nth(e,2,"nextSibling")},prev:function(e){return re.nth(e,2,"previousSibling")},nextAll:function(e){return re.dir(e,"nextSibling")},prevAll:function(e){return re.dir(e,"previousSibling")},nextUntil:function(e,t,n){return re.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return re.dir(e,"previousSibling",n)},siblings:function(e){return re.sibling(e.parentNode.firstChild,e)},children:function(e){return re.sibling(e.firstChild)},contents:function(e){return re.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:re.makeArray(e.childNodes)}},function(r,o){re.fn[r]=function(e,t){var n=re.map(this,o,e),i=Fe.call(arguments);return je.test(r)||(t=e),t&&"string"==typeof t&&(n=re.filter(t,n)),n=1<this.length&&!Be[r]?re.unique(n):n,(1<this.length||Me.test(t))&&Oe.test(r)&&(n=n.reverse()),this.pushStack(n,r,i.join(","))}}),re.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?re.find.matchesSelector(t[0],e)?[t[0]]:[]:re.find.matches(e,t)},dir:function(e,t,n){for(var i=[],r=e[t];r&&9!==r.nodeType&&(n===T||1!==r.nodeType||!re(r).is(n));)1===r.nodeType&&i.push(r),r=r[t];return i},nth:function(e,t,n,i){t=t||1;for(var r=0;e&&(1!==e.nodeType||++r!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var He=/ jQuery\d+="(?:\d+|null)"/g,Ue=/^\s+/,ze=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,We=/<([\w:]+)/,qe=/<tbody/i,Xe=/<|&#?\w+;/,Ke=/<(?:script|object|embed|option|style)/i,Ve=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/\/(java|ecma)script/i,$e=/^\s*<!(?:\[CDATA\[|\-\-)/,Ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td,re.support.htmlSerialize||(Ge._default=[1,"div<div>","</div>"]),re.fn.extend({text:function(n){return re.isFunction(n)?this.each(function(e){var t=re(this);t.text(n.call(this,e,t.text()))}):"object"!=typeof n&&n!==T?this.empty().append((this[0]&&this[0].ownerDocument||te).createTextNode(n)):re.text(this)},wrapAll:function(t){return re.isFunction(t)?this.each(function(e){re(this).wrapAll(t.call(this,e))}):(this[0]&&(e=re(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this);var e},wrapInner:function(n){return re.isFunction(n)?this.each(function(e){re(this).wrapInner(n.call(this,e))}):this.each(function(){var e=re(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(e){return this.each(function(){re(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){re.nodeName(this,"body")||re(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=re(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,re(arguments[0]).toArray()),e}},remove:function(e,t){for(var n,i=0;null!=(n=this[i]);i++)e&&!re.filter(e,[n]).length||(t||1!==n.nodeType||(re.cleanData(n.getElementsByTagName("*")),re.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&re.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return re.clone(this,e,t)})},html:function(n){if(n===T)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(He,""):null;if("string"!=typeof n||Ke.test(n)||!re.support.leadingWhitespace&&Ue.test(n)||Ge[(We.exec(n)||["",""])[1].toLowerCase()])re.isFunction(n)?this.each(function(e){var t=re(this);t.html(n.call(this,e,t.html()))}):this.empty().append(n);else{n=n.replace(ze,"<$1></$2>");try{for(var e=0,t=this.length;e<t;e++)1===this[e].nodeType&&(re.cleanData(this[e].getElementsByTagName("*")),this[e].innerHTML=n)}catch(e){this.empty().append(n)}}return this},replaceWith:function(i){return this[0]&&this[0].parentNode?re.isFunction(i)?this.each(function(e){var t=re(this),n=t.html();t.replaceWith(i.call(this,e,n))}):("string"!=typeof i&&(i=re(i).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;re(this).remove(),e?re(e).before(i):re(t).append(i)})):this.length?this.pushStack(re(re.isFunction(i)?i():i),"replaceWith",i):this},detach:function(e){return this.remove(e,!0)},domManip:function(n,i,r){var e,t,o,a,s=n[0],l=[];if(!re.support.checkClone&&3===arguments.length&&"string"==typeof s&&Ve.test(s))return this.each(function(){re(this).domManip(n,i,r,!0)});if(re.isFunction(s))return this.each(function(e){var t=re(this);n[0]=s.call(this,e,i?t.html():T),t.domManip(n,i,r)});if(this[0]){if(o=s&&s.parentNode,o=1===(t=(e=re.support.parentNode&&o&&11===o.nodeType&&o.childNodes.length===this.length?{fragment:o}:re.buildFragment(n,this,l)).fragment).childNodes.length?t=t.firstChild:t.firstChild){i=i&&re.nodeName(o,"tr");for(var c=0,u=this.length,d=u-1;c<u;c++)r.call(i?(a=this[c],re.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a):this[c],e.cacheable||1<u&&c<d?re.clone(t,!0,!0):t)}l.length&&re.each(l,p)}return this}}),re.buildFragment=function(e,t,n){var i,r,o,a;return t&&t[0]&&(a=t[0].ownerDocument||t[0]),a.createDocumentFragment||(a=te),1===e.length&&"string"==typeof e[0]&&e[0].length<512&&a===te&&"<"===e[0].charAt(0)&&!Ke.test(e[0])&&(re.support.checkClone||!Ve.test(e[0]))&&(r=!0,(o=re.fragments[e[0]])&&1!==o&&(i=o)),i||(i=a.createDocumentFragment(),re.clean(e,a,i,n)),r&&(re.fragments[e[0]]=o?i:1),{fragment:i,cacheable:r}},re.fragments={},re.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,s){re.fn[a]=function(e){var t=[],n=re(e),e=1===this.length&&this[0].parentNode;if(e&&11===e.nodeType&&1===e.childNodes.length&&1===n.length)return n[s](this[0]),this;for(var i=0,r=n.length;i<r;i++){var o=(0<i?this.clone(!0):this).get();re(n[i])[s](o),t=t.concat(o)}return this.pushStack(t,a,n.selector)}}),re.extend({clone:function(e,t,n){var i,r,o,a=e.cloneNode(!0);if(!(re.support.noCloneEvent&&re.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||re.isXMLDoc(e)))for(d(e,a),i=u(e),r=u(a),o=0;i[o];++o)d(i[o],r[o]);if(t&&(m(e,a),n))for(i=u(e),r=u(a),o=0;i[o];++o)m(i[o],r[o]);return i=r=null,a},clean:function(e,t,n,i){var r;void 0===(t=t||te).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||te);for(var o,a,s,l=[],c=0;null!=(o=e[c]);c++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(Xe.test(o)){o=o.replace(ze,"<$1></$2>");var u=(We.exec(o)||["",""])[1].toLowerCase(),d=Ge[u]||Ge._default,h=d[0],f=t.createElement("div");for(f.innerHTML=d[1]+o+d[2];h--;)f=f.lastChild;if(!re.support.tbody)for(var p=qe.test(o),m="table"!==u||p?"<table>"!==d[1]||p?[]:f.childNodes:f.firstChild&&f.firstChild.childNodes,g=m.length-1;0<=g;--g)re.nodeName(m[g],"tbody")&&!m[g].childNodes.length&&m[g].parentNode.removeChild(m[g]);!re.support.leadingWhitespace&&Ue.test(o)&&f.insertBefore(t.createTextNode(Ue.exec(o)[0]),f.firstChild),o=f.childNodes}else o=t.createTextNode(o);if(!re.support.appendChecked)if(o[0]&&"number"==typeof(a=o.length))for(g=0;g<a;g++)v(o[g]);else v(o);o.nodeType?l.push(o):l=re.merge(l,o)}if(n)for(r=function(e){return!e.type||Ye.test(e.type)},c=0;l[c];c++)!i||!re.nodeName(l[c],"script")||l[c].type&&"text/javascript"!==l[c].type.toLowerCase()?(1===l[c].nodeType&&(s=re.grep(l[c].getElementsByTagName("script"),r),l.splice.apply(l,[c+1,0].concat(s))),n.appendChild(l[c])):i.push(l[c].parentNode?l[c].parentNode.removeChild(l[c]):l[c]);return l},cleanData:function(e){for(var t,n,i,r=re.cache,o=re.expando,a=re.event.special,s=re.support.deleteExpando,l=0;null!=(i=e[l]);l++)if((!i.nodeName||!re.noData[i.nodeName.toLowerCase()])&&(n=i[re.expando])){if((t=r[n]&&r[n][o])&&t.events){for(var c in t.events)a[c]?re.event.remove(i,c):re.removeEvent(i,c,t.handle);t.handle&&(t.handle.elem=null)}s?delete i[re.expando]:i.removeAttribute&&i.removeAttribute(re.expando),delete r[n]}}});var Qe,Je,Ze=/alpha\([^)]*\)/i,et=/opacity=([^)]*)/,tt=/([A-Z]|^ms)/g,nt=/^-?\d+(?:px)?$/i,it=/^-?\d/,rt=/^[+\-]=/,ot=/[^+\-\.\de]+/g,at={position:"absolute",visibility:"hidden",display:"block"},st=["Left","Right"],lt=["Top","Bottom"];re.fn.css=function(e,t){return 2===arguments.length&&t===T?this:re.access(this,e,t,!0,function(e,t,n){return n!==T?re.style(e,t,n):re.css(e,t)})},re.extend({cssHooks:{opacity:{get:function(e,t){if(t){t=Qe(e,"opacity","opacity");return""===t?"1":t}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:re.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o=re.camelCase(t),a=e.style,s=re.cssHooks[o];if(t=re.cssProps[o]||o,n===T)return s&&"get"in s&&(r=s.get(e,!1,i))!==T?r:a[t];if(r=typeof n,!("number"===r&&isNaN(n)||null==n)&&("string"===r&&rt.test(n)&&(n=+n.replace(ot,"")+parseFloat(re.css(e,t)),r="number"),"number"!==r||re.cssNumber[o]||(n+="px"),!(s&&"set"in s&&(n=s.set(e,n))===T)))try{a[t]=n}catch(e){}}},css:function(e,t,n){var i,r;return t=re.camelCase(t),r=re.cssHooks[t],"cssFloat"===(t=re.cssProps[t]||t)&&(t="float"),r&&"get"in r&&(i=r.get(e,!0,n))!==T?i:Qe?Qe(e,t):void 0},swap:function(e,t,n){var i,r={};for(i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n.call(e),t)e.style[i]=r[i]}}),re.curCSS=re.css,re.each(["height","width"],function(e,r){re.cssHooks[r]={get:function(e,t,n){var i;if(t)return 0!==e.offsetWidth?o(e,r,n):(re.swap(e,at,function(){i=o(e,r,n)}),i)},set:function(e,t){return nt.test(t)?0<=(t=parseFloat(t))?t+"px":void 0:t}}}),re.support.opacity||(re.cssHooks.opacity={get:function(e,t){return et.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,e=e.currentStyle;n.zoom=1;t=re.isNaN(t)?"":"alpha(opacity="+100*t+")",e=e&&e.filter||n.filter||"";n.filter=Ze.test(e)?e.replace(Ze,t):e+" "+t}}),re(function(){re.support.reliableMarginRight||(re.cssHooks.marginRight={get:function(e,t){var n;return re.swap(e,{display:"inline-block"},function(){n=t?Qe(e,"margin-right","marginRight"):e.style.marginRight}),n}})}),te.defaultView&&te.defaultView.getComputedStyle&&(Je=function(e,t){var n,i;return t=t.replace(tt,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((i=i.getComputedStyle(e,null))&&(""!==(n=i.getPropertyValue(t))||re.contains(e.ownerDocument.documentElement,e)||(n=re.style(e,t))),n):T}),te.documentElement.currentStyle&&(Dt=function(e,t){var n,i=e.currentStyle&&e.currentStyle[t],r=e.runtimeStyle&&e.runtimeStyle[t],o=e.style;return!nt.test(i)&&it.test(i)&&(n=o.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i||0,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Qe=Je||Dt,re.expr&&re.expr.filters&&(re.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!re.support.reliableHiddenOffsets&&"none"===(e.style.display||re.css(e,"display"))},re.expr.filters.visible=function(e){return!re.expr.filters.hidden(e)});var ct,ut,dt=/%20/g,ht=/\[\]$/,ft=/\r?\n/g,pt=/#.*$/,mt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,gt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vt=/^(?:GET|HEAD)$/,yt=/^\/\//,bt=/\?/,kt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,xt=/^(?:select|textarea)/i,Ct=/\s+/,Nt=/([?&])_=[^&]*/,Tt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,wt=re.fn.load,St={},Et={};try{ct=ie.href}catch(e){(ct=te.createElement("a")).href="",ct=ct.href}ut=Tt.exec(ct.toLowerCase())||[],re.fn.extend({load:function(e,t,i){if("string"!=typeof e&&wt)return wt.apply(this,arguments);if(!this.length)return this;var r,n=e.indexOf(" ");0<=n&&(r=e.slice(n,e.length),e=e.slice(0,n));n="GET";t&&(re.isFunction(t)?(i=t,t=T):"object"==typeof t&&(t=re.param(t,re.ajaxSettings.traditional),n="POST"));var o=this;return re.ajax({url:e,type:n,dataType:"html",data:t,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done(function(e){n=e}),o.html(r?re("<div>").append(n.replace(kt,"")).find(r):n)),i&&o.each(i,[n,t,e])}}),this},serialize:function(){return re.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?re.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xt.test(this.nodeName)||gt.test(this.type))}).map(function(e,n){var t=re(this).val();return null==t?null:re.isArray(t)?re.map(t,function(e,t){return{name:n.name,value:e.replace(ft,"\r\n")}}):{name:n.name,value:t.replace(ft,"\r\n")}}).get()}}),re.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){re.fn[t]=function(e){return this.bind(t,e)}}),re.each(["get","post"],function(e,r){re[r]=function(e,t,n,i){return re.isFunction(t)&&(i=i||n,n=t,t=T),re.ajax({type:r,url:e,data:t,success:n,dataType:i})}}),re.extend({getScript:function(e,t){return re.get(e,T,t,"script")},getJSON:function(e,t,n){return re.get(e,t,n,"json")},ajaxSetup:function(e,t){for(var n in t?re.extend(!0,e,re.ajaxSettings,t):(t=e,e=re.extend(!0,re.ajaxSettings,t)),{context:1,url:1})n in t?e[n]=t[n]:n in re.ajaxSettings&&(e[n]=re.ajaxSettings[n]);return e},ajaxSettings:{url:ct,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(ut[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":h.String,"text html":!0,"text json":re.parseJSON,"text xml":re.parseXML}},ajaxPrefilter:n(St),ajaxTransport:n(Et),ajax:function(e,t){function n(e,t,n,i){if(2!==b){b=2,d&&clearTimeout(d),u=T,c=i||"",k.readyState=e?4:0;var r,o,a,s=n?function(e,t,n){var i,r,o,a,s=e.contents,l=e.dataTypes,c=e.responseFields;for(r in c)r in n&&(t[c[r]]=n[r]);for(;"*"===l[0];)l.shift(),i===T&&(i=e.mimeType||t.getResponseHeader("content-type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a=a||r}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,k,n):T;if(200<=e&&e<300||304===e)if(f.ifModified&&((n=k.getResponseHeader("Last-Modified"))&&(re.lastModified[l]=n),(n=k.getResponseHeader("Etag"))&&(re.etag[l]=n)),304===e)t="notmodified",r=!0;else try{o=function(e,t){e.dataFilter&&(t=e.dataFilter(t,e.dataType));for(var n,i,r,o,a,s,l,c=e.dataTypes,u={},d=c.length,h=c[0],f=1;f<d;f++){if(1===f)for(n in e.converters)"string"==typeof n&&(u[n.toLowerCase()]=e.converters[n]);if(r=h,"*"===(h=c[f]))h=r;else if("*"!==r&&r!==h){if(!(a=u[o=r+" "+h]||u["* "+h]))for(s in l=T,u)if(i=s.split(" "),(i[0]===r||"*"===i[0])&&(l=u[i[1]+" "+h])){!0===(s=u[s])?a=l:!0===l&&(a=s);break}a||l||re.error("No conversion from "+o.replace(" "," to ")),!0!==a&&(t=a?a(t):l(s(t)))}}return t}(f,s),t="success",r=!0}catch(e){t="parsererror",a=e}else(a=t)&&!e||(t="error",e<0&&(e=0));k.status=e,k.statusText=t,r?g.resolveWith(p,[o,t,k]):g.rejectWith(p,[k,t,a]),k.statusCode(y),y=T,h&&m.trigger("ajax"+(r?"Success":"Error"),[k,f,r?o:a]),v.resolveWith(p,[k,t]),h&&(m.trigger("ajaxComplete",[k,f]),--re.active||re.event.trigger("ajaxStop"))}}"object"==typeof e&&(t=e,e=T),t=t||{};var l,c,i,u,d,h,r,o,f=re.ajaxSetup({},t),p=f.context||f,m=p!==f&&(p.nodeType||p instanceof re)?re(p):re.event,g=re.Deferred(),v=re._Deferred(),y=f.statusCode||{},a={},s={},b=0,k={readyState:0,setRequestHeader:function(e,t){var n;return b||(n=e.toLowerCase(),e=s[n]=s[n]||e,a[e]=t),this},getAllResponseHeaders:function(){return 2===b?c:null},getResponseHeader:function(e){var t;if(2===b){if(!i)for(i={};t=mt.exec(c);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return t===T?null:t},overrideMimeType:function(e){return b||(f.mimeType=e),this},abort:function(e){return e=e||"abort",u&&u.abort(e),n(0,e),this}};if(g.promise(k),k.success=k.done,k.error=k.fail,k.complete=v.done,k.statusCode=function(e){if(e)if(b<2)for(var t in e)y[t]=[y[t],e[t]];else t=e[k.status],k.then(t,t);return this},f.url=((e||f.url)+"").replace(pt,"").replace(yt,ut[1]+"//"),f.dataTypes=re.trim(f.dataType||"*").toLowerCase().split(Ct),null==f.crossDomain&&(o=Tt.exec(f.url.toLowerCase()),f.crossDomain=!(!o||o[1]==ut[1]&&o[2]==ut[2]&&(o[3]||("http:"===o[1]?80:443))==(ut[3]||("http:"===ut[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=re.param(f.data,f.traditional)),x(St,f,t,k),2===b)return!1;for(r in h=f.global,f.type=f.type.toUpperCase(),f.hasContent=!vt.test(f.type),h&&0==re.active++&&re.event.trigger("ajaxStart"),f.hasContent||(f.data&&(f.url+=(bt.test(f.url)?"&":"?")+f.data),l=f.url,!1===f.cache&&(e=re.now(),o=f.url.replace(Nt,"$1_="+e),f.url=o+(o===f.url?(bt.test(f.url)?"&":"?")+"_="+e:""))),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&k.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(l=l||f.url,re.lastModified[l]&&k.setRequestHeader("If-Modified-Since",re.lastModified[l]),re.etag[l]&&k.setRequestHeader("If-None-Match",re.etag[l])),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", */*; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(r,f.headers[r]);if(f.beforeSend&&(!1===f.beforeSend.call(p,k,f)||2===b))return k.abort(),!1;for(r in{success:1,error:1,complete:1})k[r](f[r]);if(u=x(Et,f,t,k)){k.readyState=1,h&&m.trigger("ajaxSend",[k,f]),f.async&&0<f.timeout&&(d=setTimeout(function(){k.abort("timeout")},f.timeout));try{b=1,u.send(a,n)}catch(e){status<2?n(-1,e):re.error(e)}}else n(-1,"No Transport");return k},param:function(e,t){function n(e,t){t=re.isFunction(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i=[];if(t===T&&(t=re.ajaxSettings.traditional),re.isArray(e)||e.jquery&&!re.isPlainObject(e))re.each(e,function(){n(this.name,this.value)});else for(var r in e)!function n(i,e,r,o){if(re.isArray(e))re.each(e,function(e,t){r||ht.test(i)?o(i,t):n(i+"["+("object"==typeof t||re.isArray(t)?e:"")+"]",t,r,o)});else if(r||null==e||"object"!=typeof e)o(i,e);else for(var t in e)n(i+"["+t+"]",e[t],r,o)}(r,e[r],t,n);return i.join("&").replace(dt,"+")}}),re.extend({active:0,lastModified:{},etag:{}});var It=re.now(),At=/(\=)\?(&|$)|\?\?/i;re.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return re.expando+"_"+It++}}),re.ajaxPrefilter("json jsonp",function(e,t,n){var i="application/x-www-form-urlencoded"===e.contentType&&"string"==typeof e.data;if("jsonp"===e.dataTypes[0]||!1!==e.jsonp&&(At.test(e.url)||i&&At.test(e.data))){var r,o=e.jsonpCallback=re.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a=h[o],s=e.url,l=e.data,c="$1"+o+"$2";return!1!==e.jsonp&&(s=s.replace(At,c),e.url===s&&(i&&(l=l.replace(At,c)),e.data===l&&(s+=(/\?/.test(s)?"&":"?")+e.jsonp+"="+o))),e.url=s,e.data=l,h[o]=function(e){r=[e]},n.always(function(){h[o]=a,r&&re.isFunction(a)&&h[o](r[0])}),e.converters["script json"]=function(){return r||re.error(o+" was not called"),r[0]},e.dataTypes[0]="json","script"}}),re.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return re.globalEval(e),e}}}),re.ajaxPrefilter("script",function(e){e.cache===T&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),re.ajaxTransport("script",function(t){if(t.crossDomain){var i,r=te.head||te.getElementsByTagName("head")[0]||te.documentElement;return{send:function(e,n){(i=te.createElement("script")).async="async",t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(e,t){!t&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,r&&i.parentNode&&r.removeChild(i),i=T,t||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(0,1)}}}});var _t,Dt,Lt=!!h.ActiveXObject&&function(){for(var e in _t)_t[e](0,1)},jt=0;re.ajaxSettings.xhr=h.ActiveXObject?function(){return!this.isLocal&&t()||function(){try{return new h.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:t,Dt=re.ajaxSettings.xhr(),re.extend(re.support,{ajax:!!Dt,cors:!!Dt&&"withCredentials"in Dt}),re.support.ajax&&re.ajaxTransport(function(u){var d;if(!u.crossDomain||re.support.cors)return{send:function(e,s){var l,t,c=u.xhr();if(u.username?c.open(u.type,u.url,u.async,u.username,u.password):c.open(u.type,u.url,u.async),u.xhrFields)for(t in u.xhrFields)c[t]=u.xhrFields[t];u.mimeType&&c.overrideMimeType&&c.overrideMimeType(u.mimeType),u.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)c.setRequestHeader(t,e[t])}catch(e){}c.send(u.hasContent&&u.data||null),d=function(e,t){var n,i,r,o,a;try{if(d&&(t||4===c.readyState))if(d=T,l&&(c.onreadystatechange=re.noop,Lt&&delete _t[l]),t)4!==c.readyState&&c.abort();else{n=c.status,r=c.getAllResponseHeaders(),o={},(a=c.responseXML)&&a.documentElement&&(o.xml=a),o.text=c.responseText;try{i=c.statusText}catch(e){i=""}n||!u.isLocal||u.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(e){t||s(-1,e)}o&&s(n,i,o,r)},u.async&&4!==c.readyState?(l=++jt,Lt&&(_t||(_t={},re(h).unload(Lt)),_t[l]=d),c.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}});var Ot,Mt,Pt,Ft,Rt={},Bt=/^(?:toggle|show|hide)$/,Ht=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ut=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],zt=h.webkitRequestAnimationFrame||h.mozRequestAnimationFrame||h.oRequestAnimationFrame;re.fn.extend({show:function(e,t,n){var i,r;if(e||0===e)return this.animate(s("show",3),e,t,n);for(var o=0,a=this.length;o<a;o++)(i=this[o]).style&&(r=i.style.display,re._data(i,"olddisplay")||"none"!==r||(r=i.style.display=""),""===r&&"none"===re.css(i,"display")&&re._data(i,"olddisplay",f(i.nodeName)));for(o=0;o<a;o++)(i=this[o]).style&&(""!==(r=i.style.display)&&"none"!==r||(i.style.display=re._data(i,"olddisplay")||""));return this},hide:function(e,t,n){if(e||0===e)return this.animate(s("hide",3),e,t,n);for(var i,r=0,o=this.length;r<o;r++)this[r].style&&("none"===(i=re.css(this[r],"display"))||re._data(this[r],"olddisplay")||re._data(this[r],"olddisplay",i));for(r=0;r<o;r++)this[r].style&&(this[r].style.display="none");return this},_toggle:re.fn.toggle,toggle:function(t,e,n){var i="boolean"==typeof t;return re.isFunction(t)&&re.isFunction(e)?this._toggle.apply(this,arguments):null==t||i?this.each(function(){var e=i?t:re(this).is(":hidden");re(this)[e?"show":"hide"]()}):this.animate(s("toggle",3),t,e,n),this},fadeTo:function(e,t,n,i){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(d,e,t,n){var h=re.speed(e,t,n);return re.isEmptyObject(d)?this.each(h.complete,[!1]):(d=re.extend({},d),this[!1===h.queue?"each":"queue"](function(){!1===h.queue&&re._mark(this);var e,t,n,i,r,o,a,s,l=re.extend({},h),c=1===this.nodeType,u=c&&re(this).is(":hidden");for(n in l.animatedProperties={},d){if(n!==(e=re.camelCase(n))&&(d[e]=d[n],delete d[n]),t=d[e],re.isArray(t)?(l.animatedProperties[e]=t[1],t=d[e]=t[0]):l.animatedProperties[e]=l.specialEasing&&l.specialEasing[e]||l.easing||"swing","hide"===t&&u||"show"===t&&!u)return l.complete.call(this);!c||"height"!==e&&"width"!==e||(l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===re.css(this,"display")&&"none"===re.css(this,"float")&&(re.support.inlineBlockNeedsLayout?"inline"===f(this.nodeName)?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block"))}for(n in null!=l.overflow&&(this.style.overflow="hidden"),d)i=new re.fx(this,l,n),t=d[n],Bt.test(t)?i["toggle"===t?u?"show":"hide":t]():(r=Ht.exec(t),o=i.cur(),r?(a=parseFloat(r[2]),s=r[3]||(re.cssNumber[n]?"":"px"),"px"!==s&&(re.style(this,n,(a||1)+s),o=(a||1)/i.cur()*o,re.style(this,n,o+s)),r[1]&&(a=("-="===r[1]?-1:1)*a+o),i.custom(o,a,s)):i.custom(o,t,""));return!0}))},stop:function(e,n){return e&&this.queue([]),this.each(function(){var e=re.timers,t=e.length;for(n||re._unmark(!0,this);t--;)e[t].elem===this&&(n&&e[t](!0),e.splice(t,1))}),n||this.dequeue(),this}}),re.each({slideDown:s("show",1),slideUp:s("hide",1),slideToggle:s("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){re.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),re.extend({speed:function(e,t,n){var i=e&&"object"==typeof e?re.extend({},e):{complete:n||!n&&t||re.isFunction(e)&&e,duration:e,easing:n&&t||t&&!re.isFunction(t)&&t};return i.duration=re.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in re.fx.speeds?re.fx.speeds[i.duration]:re.fx.speeds._default,i.old=i.complete,i.complete=function(e){re.isFunction(i.old)&&i.old.call(this),!1!==i.queue?re.dequeue(this):!1!==e&&re._unmark(this)},i},easing:{linear:function(e,t,n,i){return n+i*e},swing:function(e,t,n,i){return(-Math.cos(e*Math.PI)/2+.5)*i+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig=t.orig||{}}}),re.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(re.fx.step[this.prop]||re.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e,t=re.css(this.elem,this.prop);return isNaN(e=parseFloat(t))?t&&"auto"!==t?t:0:e},custom:function(e,t,n){function i(e){return o.step(e)}var r,o=this,a=re.fx;this.startTime=Ft||l(),this.start=e,this.end=t,this.unit=n||this.unit||(re.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,i.elem=this.elem,i()&&re.timers.push(i)&&!Pt&&(zt?(Pt=!0,r=function(){Pt&&(zt(r),a.tick())},zt(r)):Pt=setInterval(a.tick,a.interval))},show:function(){this.options.orig[this.prop]=re.style(this.elem,this.prop),this.options.show=!0,this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),re(this.elem).show()},hide:function(){this.options.orig[this.prop]=re.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t,n=Ft||l(),i=!0,r=this.elem,o=this.options;if(e||n>=o.duration+this.startTime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),o.animatedProperties[this.prop]=!0,o.animatedProperties)!0!==o.animatedProperties[t]&&(i=!1);if(i){if(null==o.overflow||re.support.shrinkWrapBlocks||re.each(["","X","Y"],function(e,t){r.style["overflow"+t]=o.overflow[e]}),o.hide&&re(r).hide(),o.hide||o.show)for(var a in o.animatedProperties)re.style(r,a,o.orig[a]);o.complete.call(r)}return!1}return o.duration==1/0?this.now=n:(n=n-this.startTime,this.state=n/o.duration,this.pos=re.easing[o.animatedProperties[this.prop]](this.state,n,0,1,o.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},re.extend(re.fx,{tick:function(){for(var e=re.timers,t=0;t<e.length;++t)e[t]()||e.splice(t--,1);e.length||re.fx.stop()},interval:13,stop:function(){clearInterval(Pt),Pt=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){re.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=("width"===e.prop||"height"===e.prop?Math.max(0,e.now):e.now)+e.unit:e.elem[e.prop]=e.now}}}),re.expr&&re.expr.filters&&(re.expr.filters.animated=function(t){return re.grep(re.timers,function(e){return t===e.elem}).length});var Wt=/^t(?:able|d|h)$/i,qt=/^(?:body|html)$/i;"getBoundingClientRect"in te.documentElement?re.fn.offset=function(t){var e,n=this[0];if(t)return this.each(function(e){re.offset.setOffset(this,t,e)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return re.offset.bodyOffset(n);try{e=n.getBoundingClientRect()}catch(e){}var i=n.ownerDocument,r=i.documentElement;if(!e||!re.contains(r,n))return e?{top:e.top,left:e.left}:{top:0,left:0};var o=i.body,a=c(i),s=r.clientTop||o.clientTop||0,l=r.clientLeft||o.clientLeft||0,i=a.pageYOffset||re.support.boxModel&&r.scrollTop||o.scrollTop,o=a.pageXOffset||re.support.boxModel&&r.scrollLeft||o.scrollLeft;return{top:e.top+i-s,left:e.left+o-l}}:re.fn.offset=function(t){var e=this[0];if(t)return this.each(function(e){re.offset.setOffset(this,t,e)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return re.offset.bodyOffset(e);re.offset.initialize();for(var n,i=e.offsetParent,r=e.ownerDocument,o=r.documentElement,a=r.body,s=r.defaultView,l=s?s.getComputedStyle(e,null):e.currentStyle,c=e.offsetTop,u=e.offsetLeft;(e=e.parentNode)&&e!==a&&e!==o&&(!re.offset.supportsFixedPosition||"fixed"!==l.position);)n=s?s.getComputedStyle(e,null):e.currentStyle,c-=e.scrollTop,u-=e.scrollLeft,e===i&&(c+=e.offsetTop,u+=e.offsetLeft,!re.offset.doesNotAddBorder||re.offset.doesAddBorderForTableAndCells&&Wt.test(e.nodeName)||(c+=parseFloat(n.borderTopWidth)||0,u+=parseFloat(n.borderLeftWidth)||0),i=e.offsetParent),re.offset.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(c+=parseFloat(n.borderTopWidth)||0,u+=parseFloat(n.borderLeftWidth)||0),l=n;return"relative"!==l.position&&"static"!==l.position||(c+=a.offsetTop,u+=a.offsetLeft),re.offset.supportsFixedPosition&&"fixed"===l.position&&(c+=Math.max(o.scrollTop,a.scrollTop),u+=Math.max(o.scrollLeft,a.scrollLeft)),{top:c,left:u}},re.offset={initialize:function(){var e,t,n,i=te.body,r=te.createElement("div"),o=parseFloat(re.css(i,"marginTop"))||0;re.extend(r.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),r.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",i.insertBefore(r,i.firstChild),t=(e=r.firstChild).firstChild,n=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===n.offsetTop,t.style.position="fixed",t.style.top="20px",this.supportsFixedPosition=20===t.offsetTop||15===t.offsetTop,t.style.position=t.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=-5===t.offsetTop,this.doesNotIncludeMarginInBodyOffset=i.offsetTop!==o,i.removeChild(r),re.offset.initialize=re.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return re.offset.initialize(),re.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(re.css(e,"marginTop"))||0,n+=parseFloat(re.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var i=re.css(e,"position");"static"===i&&(e.style.position="relative");var r,o,a=re(e),s=a.offset(),l=re.css(e,"top"),c=re.css(e,"left"),u={},c=("absolute"===i||"fixed"===i)&&-1<re.inArray("auto",[l,c])?(o=(r=a.position()).top,r.left):(o=parseFloat(l)||0,parseFloat(c)||0);re.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(u.top=t.top-s.top+o),null!=t.left&&(u.left=t.left-s.left+c),"using"in t?t.using.call(e,u):a.css(u)}},re.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),i=qt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(re.css(e,"marginTop"))||0,n.left-=parseFloat(re.css(e,"marginLeft"))||0,i.top+=parseFloat(re.css(t[0],"borderTopWidth"))||0,i.left+=parseFloat(re.css(t[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||te.body;e&&!qt.test(e.nodeName)&&"static"===re.css(e,"position");)e=e.offsetParent;return e})}}),re.each(["Left","Top"],function(i,e){var r="scroll"+e;re.fn[r]=function(e){var t,n;return e===T?(t=this[0])?(n=c(t))?"pageXOffset"in n?n[i?"pageYOffset":"pageXOffset"]:re.support.boxModel&&n.document.documentElement[r]||n.document.body[r]:t[r]:null:this.each(function(){(n=c(this))?n.scrollTo(i?re(n).scrollLeft():e,i?e:re(n).scrollTop()):this[r]=e})}}),re.each(["Height","Width"],function(e,i){var r=i.toLowerCase();re.fn["inner"+i]=function(){var e=this[0];return e&&e.style?parseFloat(re.css(e,r,"padding")):null},re.fn["outer"+i]=function(e){var t=this[0];return t&&t.style?parseFloat(re.css(t,r,e?"margin":"border")):null},re.fn[r]=function(n){var e=this[0];if(!e)return null==n?null:this;if(re.isFunction(n))return this.each(function(e){var t=re(this);t[r](n.call(this,e,t[r]()))});if(re.isWindow(e)){var t=e.document.documentElement["client"+i];return"CSS1Compat"===e.document.compatMode&&t||e.document.body["client"+i]||t}if(9===e.nodeType)return Math.max(e.documentElement["client"+i],e.body["scroll"+i],e.documentElement["scroll"+i],e.body["offset"+i],e.documentElement["offset"+i]);if(n!==T)return this.css(r,"string"==typeof n?n:n+"px");t=re.css(e,r),e=parseFloat(t);return re.isNaN(e)?t:e}}),h.jQuery=h.$=re}(window),function(s){function i(e,t){var n=e.nodeName.toLowerCase();return"area"===n?(n=(t=e.parentNode).name,!(!e.href||!n||"map"!==t.nodeName.toLowerCase())&&(!!(e=s("img[usemap=#"+n+"]")[0])&&r(e))):(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"==n&&e.href||t)&&r(e)}function r(e){return!s(e).parents().andSelf().filter(function(){return"hidden"===s.curCSS(this,"visibility")||s.expr.filters.hidden(this)}).length}s.ui=s.ui||{},s.ui.version||(s.extend(s.ui,{version:"1.8.16",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),s.fn.extend({propAttr:s.fn.prop||s.fn.attr,_focus:s.fn.focus,focus:function(t,n){return"number"==typeof t?this.each(function(){var e=this;setTimeout(function(){s(e).focus(),n&&n.call(e)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var e=(s.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(s.curCSS(this,"position",1))&&/(auto|scroll)/.test(s.curCSS(this,"overflow",1)+s.curCSS(this,"overflow-y",1)+s.curCSS(this,"overflow-x",1))}):this.parents().filter(function(){return/(auto|scroll)/.test(s.curCSS(this,"overflow",1)+s.curCSS(this,"overflow-y",1)+s.curCSS(this,"overflow-x",1))})).eq(0);return/fixed/.test(this.css("position"))||!e.length?s(document):e},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length){e=s(this[0]);for(var t;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"relative"===t||"fixed"===t)&&(t=parseInt(e.css("zIndex"),10),!isNaN(t)&&0!==t))return t;e=e.parent()}}return 0},disableSelection:function(){return this.bind((s.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),s.each(["Width","Height"],function(e,n){function i(e,t,n,i){return s.each(r,function(){t-=parseFloat(s.curCSS(e,"padding"+this,!0))||0,n&&(t-=parseFloat(s.curCSS(e,"border"+this+"Width",!0))||0),i&&(t-=parseFloat(s.curCSS(e,"margin"+this,!0))||0)}),t}var r="Width"===n?["Left","Right"]:["Top","Bottom"],o=n.toLowerCase(),a={innerWidth:s.fn.innerWidth,innerHeight:s.fn.innerHeight,outerWidth:s.fn.outerWidth,outerHeight:s.fn.outerHeight};s.fn["inner"+n]=function(e){return void 0===e?a["inner"+n].call(this):this.each(function(){s(this).css(o,i(this,e)+"px")})},s.fn["outer"+n]=function(e,t){return"number"!=typeof e?a["outer"+n].call(this,e):this.each(function(){s(this).css(o,i(this,e,!0,t)+"px")})}}),s.extend(s.expr[":"],{data:function(e,t,n){return!!s.data(e,n[3])},focusable:function(e){return i(e,!isNaN(s.attr(e,"tabindex")))},tabbable:function(e){var t=s.attr(e,"tabindex"),n=isNaN(t);return(n||0<=t)&&i(e,!n)}}),s(function(){var e=document.body,t=e.appendChild(document.createElement("div"));s.extend(t.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),s.support.minHeight=100===t.offsetHeight,s.support.selectstart="onselectstart"in t,e.removeChild(t).style.display="none"}),s.extend(s.ui,{plugin:{add:function(e,t,n){for(var i in e=s.ui[e].prototype,n)e.plugins[i]=e.plugins[i]||[],e.plugins[i].push([t,n[i]])},call:function(e,t,n){if((t=e.plugins[t])&&e.element[0].parentNode)for(var i=0;i<t.length;i++)e.options[t[i][0]]&&t[i][1].apply(e.element,n)}},contains:function(e,t){return document.compareDocumentPosition?16&e.compareDocumentPosition(t):e!==t&&e.contains(t)},hasScroll:function(e,t){if("hidden"===s(e).css("overflow"))return!1;var n;return 0<e[t=t&&"left"===t?"scrollLeft":"scrollTop"]||(e[t]=1,n=0<e[t],e[t]=0,n)},isOverAxis:function(e,t,n){return t<e&&e<t+n},isOver:function(e,t,n,i,r,o){return s.ui.isOverAxis(e,n,r)&&s.ui.isOverAxis(t,i,o)}}))}(jQuery),function(a){var i,n;a.cleanData?(i=a.cleanData,a.cleanData=function(e){for(var t,n=0;null!=(t=e[n]);n++)try{a(t).triggerHandler("remove")}catch(e){}i(e)}):(n=a.fn.remove,a.fn.remove=function(e,t){return this.each(function(){return t||e&&!a.filter(e,[this]).length||a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(e){}}),n.call(a(this),e,t)})}),a.widget=function(t,e,n){var i=t.split(".")[0],r=i+"-"+(t=t.split(".")[1]);n||(n=e,e=a.Widget),a.expr[":"][r]=function(e){return!!a.data(e,t)},a[i]=a[i]||{},a[i][t]=function(e,t){arguments.length&&this._createWidget(e,t)},(e=new e).options=a.extend(!0,{},e.options),a[i][t].prototype=a.extend(!0,e,{namespace:i,widgetName:t,widgetEventPrefix:a[i][t].prototype.widgetEventPrefix||t,widgetBaseClass:r},n),a.widget.bridge(t,a[i][t])},a.widget.bridge=function(o,t){a.fn[o]=function(n){var e="string"==typeof n,i=Array.prototype.slice.call(arguments,1),r=this;return n=!e&&i.length?a.extend.apply(null,[!0,n].concat(i)):n,e&&"_"===n.charAt(0)||(e?this.each(function(){var e=a.data(this,o),t=e&&a.isFunction(e[n])?e[n].apply(e,i):e;if(t!==e&&void 0!==t)return r=t,!1}):this.each(function(){var e=a.data(this,o);e?e.option(n||{})._init():a.data(this,o,new t(n,this))})),r}},a.Widget=function(e,t){arguments.length&&this._createWidget(e,t)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(e,t){a.data(t,this.widgetName,this),this.element=a(t),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),e);var n=this;this.element.bind("remove."+this.widgetName,function(){n.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(e,t){var n=e;if(0===arguments.length)return a.extend({},this.options);if("string"==typeof e){if(void 0===t)return this.options[e];(n={})[e]=t}return this._setOptions(n),this},_setOptions:function(e){var n=this;return a.each(e,function(e,t){n._setOption(e,t)}),this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&this.widget()[t?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",t),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(e,t,n){var i,r=this.options[e];if((t=a.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n=n||{},t.originalEvent){e=a.event.props.length;for(;e;)t[i=a.event.props[--e]]=t.originalEvent[i]}return this.element.trigger(t,n),!(a.isFunction(r)&&!1===r.call(this.element[0],t,n)||t.isDefaultPrevented())}}}(jQuery),function(o){function r(){var e=o(this).find(":ui-button");setTimeout(function(){e.button("refresh")},1)}function a(e){var t=e.name,n=e.form,i=o([]);return t&&(i=n?o(n).find("[name='"+t+"']"):o("[name='"+t+"']",e.ownerDocument).filter(function(){return!this.form})),i}var s,l,c,u;o.widget("ui.button",{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",r),"boolean"!=typeof this.options.disabled&&(this.options.disabled=this.element.propAttr("disabled")),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var t=this,n=this.options,e="checkbox"===this.type||"radio"===this.type,i="ui-state-hover"+(e?"":" ui-state-active");null===n.label&&(n.label=this.buttonElement.html()),this.element.is(":disabled")&&(n.disabled=!0),this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){n.disabled||(o(this).addClass("ui-state-hover"),this===s&&o(this).addClass("ui-state-active"))}).bind("mouseleave.button",function(){n.disabled||o(this).removeClass(i)}).bind("click.button",function(e){n.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this.element.bind("focus.button",function(){t.buttonElement.addClass("ui-state-focus")}).bind("blur.button",function(){t.buttonElement.removeClass("ui-state-focus")}),e&&(this.element.bind("change.button",function(){u||t.refresh()}),this.buttonElement.bind("mousedown.button",function(e){n.disabled||(u=!1,l=e.pageX,c=e.pageY)}).bind("mouseup.button",function(e){n.disabled||l===e.pageX&&c===e.pageY||(u=!0)})),"checkbox"===this.type?this.buttonElement.bind("click.button",function(){return!n.disabled&&!u&&(o(this).toggleClass("ui-state-active"),void t.buttonElement.attr("aria-pressed",t.element[0].checked))}):"radio"===this.type?this.buttonElement.bind("click.button",function(){if(n.disabled||u)return!1;o(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var e=t.element[0];a(e).not(e).map(function(){return o(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown.button",function(){return!n.disabled&&(o(this).addClass("ui-state-active"),s=this,void o(document).one("mouseup",function(){s=null}))}).bind("mouseup.button",function(){return!n.disabled&&void o(this).removeClass("ui-state-active")}).bind("keydown.button",function(e){return!n.disabled&&void(e.keyCode!=o.ui.keyCode.SPACE&&e.keyCode!=o.ui.keyCode.ENTER||o(this).addClass("ui-state-active"))}).bind("keyup.button",function(){o(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===o.ui.keyCode.SPACE&&o(this).click()})),this._setOption("disabled",n.disabled),this._resetButton()},_determineButtonType:function(){var e,t;this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().filter(":last"),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=(e.length?e:this.element).siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),(e=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.attr("aria-pressed",e)):this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title"),o.Widget.prototype.destroy.call(this)},_setOption:function(e,t){o.Widget.prototype._setOption.apply(this,arguments),"disabled"===e?t?this.element.propAttr("disabled",!0):this.element.propAttr("disabled",!1):this._resetButton()},refresh:function(){var e=this.element.is(":disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?a(this.element[0]).each(function(){o(this).is(":checked")?o(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):o(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){var e,t,n,i,r;"input"===this.type?this.options.label&&this.element.val(this.options.label):(e=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),t=o("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),i=(n=this.options.icons).primary&&n.secondary,r=[],n.primary||n.secondary?(this.options.text&&r.push("ui-button-text-icon"+(i?"s":n.primary?"-primary":"-secondary")),n.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+n.primary+"'></span>"),n.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+n.secondary+"'></span>"),this.options.text||(r.push(i?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",t))):r.push("ui-button-text-only"),e.addClass(r.join(" ")))}}),o.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disabled"===e&&this.buttons.button("option",e,t),o.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var e="ltr"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-left":"ui-corner-right").end().filter(":last").addClass(e?"ui-corner-right":"ui-corner-left").end().end()},destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"),o.Widget.prototype.destroy.call(this)}})}(jQuery),function(r){var o=!1;r(document).mouseup(function(){o=!1}),r.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(!0===r.data(e.target,t.widgetName+".preventClickEvent"))return r.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(e){if(!o){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,n=1==e.which,i=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&r(e.target).closest(this.options.cancel).length;return n&&!i&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===r.data(e.target,this.widgetName+".preventClickEvent")&&r.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},r(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),o=!0)):!0}},_mouseMove:function(e){return!r.browser.msie||9<=document.documentMode||e.button?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&((this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e))?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return r(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target==this._mouseDownEvent.target&&r.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(u){u.widget("ui.slider",u.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var a=this,e=this.options,t=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),n=e.values&&e.values.length||1,i=[];this._mouseSliding=this._keySliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(e.disabled?" ui-slider-disabled ui-disabled":"")),this.range=u([]),e.range&&(!0===e.range&&(e.values||(e.values=[this._valueMin(),this._valueMin()]),e.values.length&&2!==e.values.length&&(e.values=[e.values[0],e.values[0]])),this.range=u("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:"")));for(var r=t.length;r<n;r+=1)i.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");this.handles=t.add(u(i.join("")).appendTo(a.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).hover(function(){e.disabled||u(this).addClass("ui-state-hover")},function(){u(this).removeClass("ui-state-hover")}).focus(function(){e.disabled?u(this).blur():(u(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),u(this).addClass("ui-state-focus"))}).blur(function(){u(this).removeClass("ui-state-focus")}),this.handles.each(function(e){u(this).data("index.ui-slider-handle",e)}),this.handles.keydown(function(e){var t,n,i,r=!0,o=u(this).data("index.ui-slider-handle");if(!a.options.disabled){switch(e.keyCode){case u.ui.keyCode.HOME:case u.ui.keyCode.END:case u.ui.keyCode.PAGE_UP:case u.ui.keyCode.PAGE_DOWN:case u.ui.keyCode.UP:case u.ui.keyCode.RIGHT:case u.ui.keyCode.DOWN:case u.ui.keyCode.LEFT:if(r=!1,!a._keySliding&&(a._keySliding=!0,u(this).addClass("ui-state-active"),!1===(t=a._start(e,o))))return}switch(i=a.options.step,t=n=a.options.values&&a.options.values.length?a.values(o):a.value(),e.keyCode){case u.ui.keyCode.HOME:n=a._valueMin();break;case u.ui.keyCode.END:n=a._valueMax();break;case u.ui.keyCode.PAGE_UP:n=a._trimAlignValue(t+(a._valueMax()-a._valueMin())/5);break;case u.ui.keyCode.PAGE_DOWN:n=a._trimAlignValue(t-(a._valueMax()-a._valueMin())/5);break;case u.ui.keyCode.UP:case u.ui.keyCode.RIGHT:if(t===a._valueMax())return;n=a._trimAlignValue(t+i);break;case u.ui.keyCode.DOWN:case u.ui.keyCode.LEFT:if(t===a._valueMin())return;n=a._trimAlignValue(t-i)}return a._slide(e,o,n),r}}).keyup(function(e){var t=u(this).data("index.ui-slider-handle");a._keySliding&&(a._keySliding=!1,a._stop(e,t),a._change(e,t),u(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy(),this},_mouseCapture:function(e){var n,i,r,o,a,t=this.options;return!t.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n=this._normValueFromMouse({x:e.pageX,y:e.pageY}),i=this._valueMax()-this._valueMin()+1,(o=this).handles.each(function(e){var t=Math.abs(n-o.values(e));t<i&&(i=t,r=u(this),a=e)}),!0===t.range&&this.values(1)===t.min&&(a+=1,r=u(this.handles[a])),!1!==this._start(e,a)&&(this._mouseSliding=!0,o._handleIndex=a,r.addClass("ui-state-active").focus(),t=r.offset(),this._clickOffset=u(e.target).parents().andSelf().is(".ui-slider-handle")?{left:e.pageX-t.left-r.width()/2,top:e.pageY-t.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)}:{left:0,top:0},this.handles.hasClass("ui-state-hover")||this._slide(e,a,n),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t=this._normValueFromMouse({x:e.pageX,y:e.pageY});return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._clickOffset=this._handleIndex=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t;return 1<(t=(e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)&&(t=1),t<0&&(t=0),"vertical"===this.orientation&&(t=1-t),e=this._valueMax()-this._valueMin(),this._trimAlignValue(this._valueMin()+t*e)},_start:function(e,t){var n={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("start",e,n)},_slide:function(e,t,n){var i;this.options.values&&this.options.values.length?(i=this.values(t?0:1),2===this.options.values.length&&!0===this.options.range&&(0===t&&i<n||1===t&&n<i)&&(n=i),n!==this.values(t)&&((i=this.values())[t]=n,e=this._trigger("slide",e,{handle:this.handles[t],value:n,values:i}),this.values(t?0:1),!1!==e&&this.values(t,n,!0))):n!==this.value()&&!1!==(e=this._trigger("slide",e,{handle:this.handles[t],value:n}))&&this.value(n)},_stop:function(e,t){var n={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("stop",e,n)},_change:function(e,t){var n;this._keySliding||this._mouseSliding||(n={handle:this.handles[t],value:this.value()},this.options.values&&this.options.values.length&&(n.value=this.values(t),n.values=this.values()),this._trigger("change",e,n))},value:function(e){if(!arguments.length)return this._value();this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0)},values:function(e,t){var n,i,r;if(1<arguments.length)this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),this._change(null,e);else{if(!arguments.length)return this._values();if(!u.isArray(e))return this.options.values&&this.options.values.length?this._values(e):this.value();for(n=this.options.values,i=e,r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(i[r]),this._change(null,r);this._refreshValue()}},_setOption:function(e,t){var n,i=0;switch(u.isArray(this.options.values)&&(i=this.options.values.length),u.Widget.prototype._setOption.apply(this,arguments),e){case"disabled":t?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.propAttr("disabled",!0),this.element.addClass("ui-disabled")):(this.handles.propAttr("disabled",!1),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=0;n<i;n+=1)this._change(null,n);this._animateOff=!1}},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);for(t=this.options.values.slice(),n=0;n<t.length;n+=1)t[n]=this._trimAlignValue(t[n]);return t},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,n=(e-this._valueMin())%t;return e-=n,2*Math.abs(n)>=t&&(e+=0<n?t:-t),parseFloat(e.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,n,e,i,r,o=this.options.range,a=this.options,s=this,l=!this._animateOff&&a.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(e){t=(s.values(e)-s._valueMin())/(s._valueMax()-s._valueMin())*100,c["horizontal"===s.orientation?"left":"bottom"]=t+"%",u(this).stop(1,1)[l?"animate":"css"](c,a.animate),!0===s.options.range&&("horizontal"===s.orientation?(0===e&&s.range.stop(1,1)[l?"animate":"css"]({left:t+"%"},a.animate),1===e&&s.range[l?"animate":"css"]({width:t-n+"%"},{queue:!1,duration:a.animate})):(0===e&&s.range.stop(1,1)[l?"animate":"css"]({bottom:t+"%"},a.animate),1===e&&s.range[l?"animate":"css"]({height:t-n+"%"},{queue:!1,duration:a.animate}))),n=t}):(e=this.value(),i=this._valueMin(),r=this._valueMax(),t=r!==i?(e-i)/(r-i)*100:0,c["horizontal"===s.orientation?"left":"bottom"]=t+"%",this.handle.stop(1,1)[l?"animate":"css"](c,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:t+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-t+"%"},{queue:!1,duration:a.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:t+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-t+"%"},{queue:!1,duration:a.animate}))}}),u.extend(u.ui.slider,{version:"1.8.16"})}(jQuery),function(_){"use strict";var m={};function n(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),_(this).ajaxSubmit(t))}function i(e){var t=e.target,n=_(t);if(!n.is(":submit,input:image")){var i=n.closest(":submit");if(0===i.length)return;t=i[0]}var r=this;"image"==(r.clk=t).type&&(void 0!==e.offsetX?(r.clk_x=e.offsetX,r.clk_y=e.offsetY):"function"==typeof _.fn.offset?(n=n.offset(),r.clk_x=e.pageX-n.left,r.clk_y=e.pageY-n.top):(r.clk_x=e.pageX-t.offsetLeft,r.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function D(){var e;_.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}m.fileapi=void 0!==_("<input type='file'/>").get(0).files,m.formdata=void 0!==window.FormData,_.fn.ajaxSubmit=function(S){if(!this.length)return D("ajaxSubmit: skipping submit process - no element selected"),this;var E,I=this;"function"==typeof S&&(S={success:S}),E=this.attr("method"),i=(i=(i="string"==typeof(t=this.attr("action"))?_.trim(t):"")||window.location.href||"")&&(i.match(/^([^#]+)/)||[])[1],S=_.extend(!0,{url:i,success:_.ajaxSettings.success,type:E||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},S);var e={};if(this.trigger("form-pre-serialize",[this,S,e]),e.veto)return D("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(S.beforeSerialize&&!1===S.beforeSerialize(this,S))return D("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var t=S.traditional;void 0===t&&(t=_.ajaxSettings.traditional);var A=[],n=this.formToArray(S.semantic,A);if(S.data&&(S.extraData=S.data,o=_.param(S.data,t)),S.beforeSubmit&&!1===S.beforeSubmit(n,this,S))return D("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[n,this,S,e]),e.veto)return D("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var i=_.param(n,t);o&&(i=i?i+"&"+o:o),"GET"==S.type.toUpperCase()?(S.url+=(0<=S.url.indexOf("?")?"&":"?")+i,S.data=null):S.data=i;var r,a=[];S.resetForm&&a.push(function(){I.resetForm()}),S.clearForm&&a.push(function(){I.clearForm(S.includeHidden)}),!S.dataType&&S.target?(r=S.success||function(){},a.push(function(e){var t=S.replaceTarget?"replaceWith":"html";_(S.target)[t](e).each(r,arguments)})):S.success&&a.push(S.success),S.success=function(e,t,n){for(var i=S.context||S,r=0,o=a.length;r<o;r++)a[r].apply(i,[e,t,n||I,I])};var e=0<_("input:file:enabled[value]",this).length,t="multipart/form-data",o=I.attr("enctype")==t||I.attr("encoding")==t,i=m.fileapi&&m.formdata;D("fileAPI :"+i);t=(e||o)&&!i;!1!==S.iframe&&(S.iframe||t)?S.closeKeepAlive?_.get(S.closeKeepAlive,function(){l(n)}):l(n):(e||o)&&i?function(e){for(var n=new FormData,t=0;t<e.length;t++)n.append(e[t].name,e[t].value);if(S.extraData)for(var i in S.extraData)S.extraData.hasOwnProperty(i)&&n.append(i,S.extraData[i]);S.data=null;var r=_.extend(!0,{},_.ajaxSettings,S,{contentType:!1,processData:!1,cache:!1,type:"POST"});S.uploadProgress&&(r.xhr=function(){var e=jQuery.ajaxSettings.xhr();return e.upload&&(e.upload.onprogress=function(e){var t=0,n=e.loaded||e.position,i=e.total;e.lengthComputable&&(t=Math.ceil(n/i*100)),S.uploadProgress(e,n,i,t)}),e}),r.data=null;var o=r.beforeSend;r.beforeSend=function(e,t){t.data=n,o&&o.call(t,e,S)},_.ajax(r)}(n):_.ajax(S);for(var s=0;s<A.length;s++)A[s]=null;return this.trigger("form-submit-notify",[this,S]),this;function l(e){var t,n,a,r,s,l,c,u,d,h,f,i,p,m,g,v,y,o,b,k,x=I[0],C=!!_.fn.prop;if(_(":input[name=submit],:input[id=submit]",x).length)alert('Error: Form elements must not have name or id of "submit".');else{if(e)for(n=0;n<A.length;n++)t=_(A[n]),C?t.prop("disabled",!1):t.removeAttr("disabled");(k=_.extend(!0,{},_.ajaxSettings,S)).context=k.context||k,r="jqFormIO"+(new Date).getTime(),k.iframeTarget?(i=(s=_(k.iframeTarget)).attr("name"))?r=i:s.attr("name",r):(s=_('<iframe name="'+r+'" src="'+k.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),l=s[0],c={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";D("aborting upload... "+t),this.aborted=1,s.attr("src",k.iframeSrc),c.error=t,k.error&&k.error.call(k.context,c,t,e),a&&_.event.trigger("ajaxError",[c,k,t]),k.complete&&k.complete.call(k.context,c,t)}},(a=k.global)&&0==_.active++&&_.event.trigger("ajaxStart"),a&&_.event.trigger("ajaxSend",[c,k]),k.beforeSend&&!1===k.beforeSend.call(k.context,c,k)?k.global&&_.active--:c.aborted||((e=x.clk)&&(i=e.name)&&!e.disabled&&(k.extraData=k.extraData||{},k.extraData[i]=e.value,"image"==e.type&&(k.extraData[i+".x"]=x.clk_x,k.extraData[i+".y"]=x.clk_y)),h=1,f=2,e=_("meta[name=csrf-token]").attr("content"),(i=_("meta[name=csrf-param]").attr("content"))&&e&&(k.extraData=k.extraData||{},k.extraData[i]=e),k.forceSync?T():setTimeout(T,10),g=50,y=_.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},o=_.parseJSON||function(e){return window.eval("("+e+")")},b=function(e,t,n){var i=e.getResponseHeader("content-type")||"",r="xml"===t||!t&&0<=i.indexOf("xml"),e=r?e.responseXML:e.responseText;return r&&"parsererror"===e.documentElement.nodeName&&_.error&&_.error("parsererror"),n&&n.dataFilter&&(e=n.dataFilter(e,t)),"string"==typeof e&&("json"===t||!t&&0<=i.indexOf("json")?e=o(e):("script"===t||!t&&0<=i.indexOf("javascript"))&&_.globalEval(e)),e})}function N(e){return e.contentWindow?e.contentWindow.document:e.contentDocument||e.document}function T(){var e=I.attr("target"),t=I.attr("action");x.setAttribute("target",r),E||x.setAttribute("method","POST"),t!=k.url&&x.setAttribute("action",k.url),k.skipEncodingOverride||E&&!/post/i.test(E)||I.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),k.timeout&&(d=setTimeout(function(){u=!0,w(h)},k.timeout));var n=[];try{if(k.extraData)for(var i in k.extraData)k.extraData.hasOwnProperty(i)&&n.push(_('<input type="hidden" name="'+i+'">').attr("value",k.extraData[i]).appendTo(x)[0]);k.iframeTarget||(s.appendTo("body"),l.attachEvent?l.attachEvent("onload",w):l.addEventListener("load",w,!1)),setTimeout(function e(){try{var t=N(l).readyState;D("state = "+t),t&&"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(e){D("Server abort: ",e," (",e.name,")"),w(f),d&&clearTimeout(d),d=void 0}},15),x.submit()}finally{x.setAttribute("action",t),e?x.setAttribute("target",e):I.removeAttr("target"),_(n).remove()}}function w(t){if(!c.aborted&&!v){try{m=N(l)}catch(e){D("cannot access response document: ",e),t=f}if(t===h&&c)c.abort("timeout");else if(t==f&&c)c.abort("server abort");else if(m&&m.location.href!=k.iframeSrc||u){l.detachEvent?l.detachEvent("onload",w):l.removeEventListener("load",w,!1);var e,n="success";try{if(u)throw"timeout";var i="xml"==k.dataType||m.XMLDocument||_.isXMLDoc(m);if(D("isXml="+i),!i&&window.opera&&(null===m.body||!m.body.innerHTML)&&--g)return D("requeing onLoad callback, DOM not available"),void setTimeout(w,250);var r=m.body||m.documentElement;c.responseText=r?r.innerHTML:null,c.responseXML=m.XMLDocument||m,i&&(k.dataType="xml"),c.getResponseHeader=function(e){return{"content-type":k.dataType}[e]},r&&(c.status=Number(r.getAttribute("status"))||c.status,c.statusText=r.getAttribute("statusText")||c.statusText);var o=(k.dataType||"").toLowerCase(),i=/(json|script|text)/.test(o);i||k.textarea?(r=m.getElementsByTagName("textarea")[0])?(c.responseText=r.value,c.status=Number(r.getAttribute("status"))||c.status,c.statusText=r.getAttribute("statusText")||c.statusText):i&&(r=m.getElementsByTagName("pre")[0],i=m.getElementsByTagName("body")[0],r?c.responseText=r.textContent||r.innerText:i&&(c.responseText=i.textContent||i.innerText)):"xml"==o&&!c.responseXML&&c.responseText&&(c.responseXML=y(c.responseText));try{p=b(c,o,k)}catch(t){n="parsererror",c.error=e=t||n}}catch(t){D("error caught: ",t),n="error",c.error=e=t||n}c.aborted&&(D("upload aborted"),n=null),c.status&&(n=200<=c.status&&c.status<300||304===c.status?"success":"error"),"success"===n?(k.success&&k.success.call(k.context,p,"success",c),a&&_.event.trigger("ajaxSuccess",[c,k])):n&&(void 0===e&&(e=c.statusText),k.error&&k.error.call(k.context,c,n,e),a&&_.event.trigger("ajaxError",[c,k,e])),a&&_.event.trigger("ajaxComplete",[c,k]),a&&!--_.active&&_.event.trigger("ajaxStop"),k.complete&&k.complete.call(k.context,c,n),v=!0,k.timeout&&clearTimeout(d),setTimeout(function(){k.iframeTarget||s.remove(),c.responseXML=null},100)}}}}},_.fn.ajaxForm=function(e){if((e=e||{}).delegation=e.delegation&&_.isFunction(_.fn.on),e.delegation||0!==this.length)return e.delegation?(_(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,n).on("click.form-plugin",this.selector,e,i),this):this.ajaxFormUnbind().bind("submit.form-plugin",e,n).bind("click.form-plugin",e,i);var t={s:this.selector,c:this.context};return!_.isReady&&t.s?(D("DOM not ready, queuing ajaxForm"),_(function(){_(t.s,t.c).ajaxForm(e)})):D("terminating; zero elements found by selector"+(_.isReady?"":" (DOM not ready)")),this},_.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},_.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var i,r,o,a,s,l,c,u,d,h=this[0],f=e?h.getElementsByTagName("*"):h.elements;if(!f)return n;for(i=0,s=f.length;i<s;i++)if(d=(a=f[i]).name)if(e&&h.clk&&"image"==a.type)a.disabled||h.clk!=a||(n.push({name:d,value:_(a).val(),type:a.type}),n.push({name:d+".x",value:h.clk_x},{name:d+".y",value:h.clk_y}));else if((o=_.fieldValue(a,!0))&&o.constructor==Array)for(t&&t.push(a),r=0,l=o.length;r<l;r++)n.push({name:d,value:o[r]});else if(m.fileapi&&"file"==a.type&&!a.disabled){t&&t.push(a);var p=a.files;if(p.length)for(r=0;r<p.length;r++)n.push({name:d,value:p[r],type:a.type});else n.push({name:d,value:"",type:a.type})}else null!=o&&(t&&t.push(a),n.push({name:d,value:o,type:a.type,required:a.required}));return e||!h.clk||(d=(u=(c=_(h.clk))[0]).name)&&!u.disabled&&"image"==u.type&&(n.push({name:d,value:c.val()}),n.push({name:d+".x",value:h.clk_x},{name:d+".y",value:h.clk_y})),n},_.fn.formSerialize=function(e){return _.param(this.formToArray(e))},_.fn.fieldSerialize=function(r){var o=[];return this.each(function(){var e=this.name;if(e){var t=_.fieldValue(this,r);if(t&&t.constructor==Array)for(var n=0,i=t.length;n<i;n++)o.push({name:e,value:t[n]});else null!=t&&o.push({name:this.name,value:t})}}),_.param(o)},_.fn.fieldValue=function(e){for(var t=[],n=0,i=this.length;n<i;n++){var r=this[n],r=_.fieldValue(r,e);null==r||r.constructor==Array&&!r.length||(r.constructor==Array?_.merge(t,r):t.push(r))}return t},_.fieldValue=function(e,t){var n=e.name,i=e.type,r=e.tagName.toLowerCase();if(void 0===t&&(t=!0),t&&(!n||e.disabled||"reset"==i||"button"==i||("checkbox"==i||"radio"==i)&&!e.checked||("submit"==i||"image"==i)&&e.form&&e.form.clk!=e||"select"==r&&-1==e.selectedIndex))return null;if("select"!=r)return _(e).val();r=e.selectedIndex;if(r<0)return null;for(var o=[],a=e.options,s="select-one"==i,l=s?r+1:a.length,c=s?r:0;c<l;c++){var u=a[c];if(u.selected){var d=(d=u.value)||(u.attributes&&u.attributes.value&&!u.attributes.value.specified?u.text:u.value);if(s)return d;o.push(d)}}return o},_.fn.clearForm=function(e){return this.each(function(){_("input,select,textarea",this).clearFields(e)})},_.fn.clearFields=_.fn.clearInputs=function(n){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();i.test(e)||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t?this.selectedIndex=-1:n&&(!0===n&&/hidden/.test(e)||"string"==typeof n&&_(this).is(n))&&(this.value="")})},_.fn.resetForm=function(){return this.each(function(){"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset()})},_.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},_.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var e=this.type;"checkbox"==e||"radio"==e?this.checked=t:"option"==this.tagName.toLowerCase()&&(e=_(this).parent("select"),t&&e[0]&&"select-one"==e[0].type&&e.find("option").selected(!1),this.selected=t)})},_.fn.ajaxSubmit.debug=!1}(jQuery),function(){"use strict";function e(g){var v,y,b,k,x,C;function n(e,n){var t,i,r,o,a,s,l,c,u,d,h,f,p=e==window,m=n&&void 0!==n.message?n.message:void 0;(n=g.extend({},g.blockUI.defaults,n||{})).ignoreIfBlocked&&g(e).data("blockUI.isBlocked")||(n.overlayCSS=g.extend({},g.blockUI.defaults.overlayCSS,n.overlayCSS||{}),o=g.extend({},g.blockUI.defaults.css,n.css||{}),n.onOverlayClick&&(n.overlayCSS.cursor="pointer"),a=g.extend({},g.blockUI.defaults.themedCSS,n.themedCSS||{}),m=void 0===m?n.message:m,p&&x&&N(window,{fadeOut:0}),m&&"string"!=typeof m&&(m.parentNode||m.jquery)&&(d=m.jquery?m[0]:m,t={},g(e).data("blockUI.history",t),t.el=d,t.parent=d.parentNode,t.display=d.style.display,t.position=d.style.position,t.parent&&t.parent.removeChild(d)),g(e).data("blockUI.onUnblock",n.onUnblock),h=n.baseZ,t=y||n.forceIframe?g('<iframe class="blockUI" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+n.iframeSrc+'"></iframe>'):g('<div class="blockUI" style="display:none"></div>'),d=n.theme?g('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+h+++';display:none"></div>'):g('<div class="blockUI blockOverlay" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),n.theme&&p?(i='<div class="blockUI '+n.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:fixed">',n.title&&(i+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),i+='<div class="ui-widget-content ui-dialog-content"></div>',i+="</div>"):n.theme?(i='<div class="blockUI '+n.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:absolute">',n.title&&(i+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),i+='<div class="ui-widget-content ui-dialog-content"></div>',i+="</div>"):i=p?'<div class="blockUI '+n.blockMsgClass+' blockPage" style="z-index:'+(h+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+n.blockMsgClass+' blockElement" style="z-index:'+(h+10)+';display:none;position:absolute"></div>',h=g(i),m&&(n.theme?(h.css(a),h.addClass("ui-widget-content")):h.css(o)),n.theme||d.css(n.overlayCSS),d.css("position",p?"fixed":"absolute"),(y||n.forceIframe)&&t.css("opacity",0),i=[t,d,h],r=g(p?"body":e),g.each(i,function(){this.appendTo(r)}),n.theme&&n.draggable&&g.fn.draggable&&h.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),a=k&&(!g.support.boxModel||0<g("object,embed",p?null:e).length),(b||a)&&(p&&n.allowBodyStretch&&g.support.boxModel&&g("html,body").css("height","100%"),!b&&g.support.boxModel||p||(o=S(e,"borderTopWidth"),a=S(e,"borderLeftWidth"),s=o?"(0 - "+o+")":0,l=a?"(0 - "+a+")":0),g.each(i,function(e,t){t=t[0].style;t.position="absolute",e<2?(p?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+n.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),p?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),l&&t.setExpression("left",l),s&&t.setExpression("top",s)):n.centerY?(p&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0):!n.centerY&&p&&(e="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(n.css&&n.css.top?parseInt(n.css.top,10):0)+') + "px"',t.setExpression("top",e))})),m&&((n.theme?h.find(".ui-widget-content"):h).append(m),(m.jquery||m.nodeType)&&g(m).show()),(y||n.forceIframe)&&n.showOverlay&&t.show(),n.fadeIn?(u=n.onBlock||v,c=n.showOverlay&&!m?u:v,u=m?u:v,n.showOverlay&&d._fadeIn(n.fadeIn,c),m&&h._fadeIn(n.fadeIn,u)):(n.showOverlay&&d.show(),m&&h.show(),n.onBlock&&n.onBlock()),T(1,e,n),p?(x=h[0],C=g(":input:enabled:visible",x),n.focusInput&&setTimeout(w,20)):(c=h[0],u=n.centerX,d=n.centerY,f=c.parentNode,m=c.style,h=(f.offsetWidth-c.offsetWidth)/2-S(f,"borderLeftWidth"),f=(f.offsetHeight-c.offsetHeight)/2-S(f,"borderTopWidth"),u&&(m.left=0<h?h+"px":"0"),d&&(m.top=0<f?f+"px":"0")),n.timeout&&(f=setTimeout(function(){p?g.unblockUI(n):g(e).unblock(n)},n.timeout),g(e).data("blockUI.timeout",f)))}function N(e,t){var n,i=e==window,r=g(e),o=r.data("blockUI.history"),a=r.data("blockUI.timeout");a&&(clearTimeout(a),r.removeData("blockUI.timeout")),t=g.extend({},g.blockUI.defaults,t||{}),T(0,e,t),null===t.onUnblock&&(t.onUnblock=r.data("blockUI.onUnblock"),r.removeData("blockUI.onUnblock")),n=i?g("body").children().filter(".blockUI").add("body > .blockUI"):r.find(">.blockUI"),t.cursorReset&&(1<n.length&&(n[1].style.cursor=t.cursorReset),2<n.length&&(n[2].style.cursor=t.cursorReset)),i&&(x=C=null),t.fadeOut?(n.fadeOut(t.fadeOut),setTimeout(function(){s(n,o,t,e)},t.fadeOut)):s(n,o,t,e)}function s(e,t,n,i){e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.parent&&t.parent.appendChild(t.el),g(i).removeData("blockUI.history")),"function"==typeof n.onUnblock&&n.onUnblock(i,n);t=g(document.body),i=t.width(),n=t[0].style.width;t.width(i-1).width(i),t[0].style.width=n}function T(e,t,n){var i=t==window,t=g(t);!e&&(i&&!x||!i&&!t.data("blockUI.isBlocked"))||(t.data("blockUI.isBlocked",e),!n.bindEvents||e&&!n.showOverlay||(t="mousedown mouseup keydown keypress touchstart touchend touchmove",e?g(document).bind(t,n,r):g(document).unbind(t,r)))}function r(e){if(e.keyCode&&9==e.keyCode&&x&&e.data.constrainTabKey){var t=!e.shiftKey&&e.target===C[C.length-1],n=e.shiftKey&&e.target===C[0];if(t||n)return setTimeout(function(){w(n)},10),!1}t=e.data,e=g(e.target);return e.hasClass("blockOverlay")&&t.onOverlayClick&&t.onOverlayClick(),0<e.parents("div."+t.blockMsgClass).length||0===e.parents().children().filter("div.blockUI").length}function w(e){!C||(e=C[!0===e?C.length-1:0])&&e.focus()}function S(e,t){return parseInt(g.css(e,t),10)||0}/^1\.(0|1|2)/.test(g.fn.jquery)?alert("blockUI requires jQuery v1.3 or later! You are using v"+g.fn.jquery):(g.fn._fadeIn=g.fn.fadeIn,v=g.noop||function(){},y=/MSIE/.test(navigator.userAgent),b=/MSIE 6.0/.test(navigator.userAgent),document.documentMode,k=g.isFunction(document.createElement("div").style.setExpression),g.blockUI=function(e){n(window,e)},g.unblockUI=function(e){N(window,e)},g.growlUI=function(e,t,n,i){var r=g('<div class="growlUI"></div>');e&&r.append("<h1>"+e+"</h1>"),t&&r.append("<h2>"+t+"</h2>"),void 0===n&&(n=3e3),g.blockUI({message:r,fadeIn:700,fadeOut:1e3,centerY:!1,timeout:n,showOverlay:!1,onUnblock:i,css:g.blockUI.defaults.growlCSS})},g.fn.block=function(e){var t=g.extend({},g.blockUI.defaults,e||{});return this.each(function(){var e=g(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==g.css(this,"position")&&(this.style.position="relative"),this.style.zoom=1,n(this,e)})},g.fn.unblock=function(e){return this.each(function(){N(this,e)})},g.blockUI.version=2.53,g.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1},x=null,C=[])}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(k){var B,C,D,E,F,G,p={},H={},q={},L=0,I={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[],otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},r=[function(a){var t=a.treeObj,n=e.event;t.unbind(n.NODECREATED),t.bind(n.NODECREATED,function(e,t,n){j.apply(a.callback.onNodeCreated,[e,t,n])}),t.unbind(n.CLICK),t.bind(n.CLICK,function(e,t,n,i,r){j.apply(a.callback.onClick,[t,n,i,r])}),t.unbind(n.EXPAND),t.bind(n.EXPAND,function(e,t,n){j.apply(a.callback.onExpand,[e,t,n])}),t.unbind(n.COLLAPSE),t.bind(n.COLLAPSE,function(e,t,n){j.apply(a.callback.onCollapse,[e,t,n])}),t.unbind(n.ASYNC_SUCCESS),t.bind(n.ASYNC_SUCCESS,function(e,t,n,i){j.apply(a.callback.onAsyncSuccess,[e,t,n,i])}),t.unbind(n.ASYNC_ERROR),t.bind(n.ASYNC_ERROR,function(e,t,n,i,r,o){j.apply(a.callback.onAsyncError,[e,t,n,i,r,o])})}],s=[function(e){var t=i.getCache(e);t||(t={},i.setCache(e,t)),t.nodes=[],t.doms=[]}],t=[function(e,t,n,r,o,a){var s;n&&(s=e.data.key.children,n.level=t,n.tId=e.treeId+"_"+ ++L,n.parentTId=r?r.tId:null,n[s]&&0<n[s].length?("string"==typeof n.open&&(n.open=j.eqs(n.open,"true")),n.open=!!n.open,n.isParent=!0,n.zAsync=!0):(n.open=!1,"string"==typeof n.isParent&&(n.isParent=j.eqs(n.isParent,"true")),n.isParent=!!n.isParent,n.zAsync=!n.isParent),n.isFirstNode=o,n.isLastNode=a,n.getParentNode=function(){return i.getNodeCache(e,n.parentTId)},n.getPreNode=function(){return i.getPreNode(e,n)},n.getNextNode=function(){return i.getNextNode(e,n)},n.isAjaxing=!1,i.fixPIdKeyValue(e,n))}],u=[function(t){var n=t.target,r=p[t.data.treeId],o="",a=null,s="",l="",c=null,u=null,d=null;if(j.eqs(t.type,"mousedown")?l="mousedown":j.eqs(t.type,"mouseup")?l="mouseup":j.eqs(t.type,"contextmenu")?l="contextmenu":j.eqs(t.type,"click")?j.eqs(n.tagName,"span")&&null!==n.getAttribute("treeNode"+e.id.SWITCH)?(o=n.parentNode.id,s="switchNode"):(d=j.getMDom(r,n,[{tagName:"a",attrName:"treeNode"+e.id.A}]))&&(o=d.parentNode.id,s="clickNode"):j.eqs(t.type,"dblclick")&&(l="dblclick",d=j.getMDom(r,n,[{tagName:"a",attrName:"treeNode"+e.id.A}]))&&(o=d.parentNode.id,s="switchNode"),0<l.length&&0==o.length&&(d=j.getMDom(r,n,[{tagName:"a",attrName:"treeNode"+e.id.A}]))&&(o=d.parentNode.id),0<o.length)switch(a=i.getNodeCache(r,o),s){case"switchNode":a.isParent&&(j.eqs(t.type,"click")||j.eqs(t.type,"dblclick")&&j.apply(r.view.dblClickExpand,[r.treeId,a],r.view.dblClickExpand))?c=B:s="";break;case"clickNode":c=C}switch(l){case"mousedown":u=D;break;case"mouseup":u=E;break;case"dblclick":u=F;break;case"contextmenu":u=G}return{stop:!1,node:a,nodeEventType:s,nodeEventCallback:c,treeEventType:l,treeEventCallback:u}}],v=[function(e){var t=i.getRoot(e);t||(t={},i.setRoot(e,t)),t[e.data.key.children]=[],t.expandTriggerFlag=!1,t.curSelectedList=[],t.noSelection=!0,t.createdNodes=[]}],w=[],x=[],y=[],z=[],A=[],i={addNodeCache:function(e,t){i.getCache(e).nodes[t.tId]=t},addAfterA:function(e){x.push(e)},addBeforeA:function(e){w.push(e)},addInnerAfterA:function(e){z.push(e)},addInnerBeforeA:function(e){y.push(e)},addInitBind:function(e){r.push(e)},addInitCache:function(e){s.push(e)},addInitNode:function(e){t.push(e)},addInitProxy:function(e){u.push(e)},addInitRoot:function(e){v.push(e)},addNodesData:function(e,t,n){var i=e.data.key.children;t[i]||(t[i]=[]),0<t[i].length&&(t[i][t[i].length-1].isLastNode=!1,h.setNodeLineIcos(e,t[i][t[i].length-1])),t.isParent=!0,t[i]=t[i].concat(n)},addSelectedNode:function(e,t){var n=i.getRoot(e);i.isSelectedNode(e,t)||n.curSelectedList.push(t)},addCreatedNode:function(e,t){(e.callback.onNodeCreated||e.view.addDiyDom)&&i.getRoot(e).createdNodes.push(t)},addZTreeTools:function(e){A.push(e)},exSetting:function(e){k.extend(!0,I,e)},fixPIdKeyValue:function(e,t){e.data.simpleData.enable&&(t[e.data.simpleData.pIdKey]=t.parentTId?t.getParentNode()[e.data.simpleData.idKey]:e.data.simpleData.rootPId)},getAfterA:function(e,t,n){for(var i=0,r=x.length;i<r;i++)x[i].apply(this,arguments)},getBeforeA:function(e,t,n){for(var i=0,r=w.length;i<r;i++)w[i].apply(this,arguments)},getInnerAfterA:function(e,t,n){for(var i=0,r=z.length;i<r;i++)z[i].apply(this,arguments)},getInnerBeforeA:function(e,t,n){for(var i=0,r=y.length;i<r;i++)y[i].apply(this,arguments)},getCache:function(e){return q[e.treeId]},getNextNode:function(e,t){if(!t)return null;for(var n=e.data.key.children,r=t.parentTId?t.getParentNode():i.getRoot(e),o=0,a=r[n].length-1;o<=a;o++)if(r[n][o]===t)return o==a?null:r[n][o+1];return null},getNodeByParam:function(e,t,n,r){if(!t||!n)return null;for(var o=e.data.key.children,a=0,s=t.length;a<s;a++){if(t[a][n]==r)return t[a];var l=i.getNodeByParam(e,t[a][o],n,r);if(l)return l}return null},getNodeCache:function(e,t){if(!t)return null;t=q[e.treeId].nodes[t];return t||null},getNodes:function(e){return i.getRoot(e)[e.data.key.children]},getNodesByParam:function(e,t,n,r){if(!t||!n)return[];for(var o=e.data.key.children,a=[],s=0,l=t.length;s<l;s++)t[s][n]==r&&a.push(t[s]),a=a.concat(i.getNodesByParam(e,t[s][o],n,r));return a},getNodesByParamFuzzy:function(e,t,n,r){if(!t||!n)return[];for(var o=e.data.key.children,a=[],s=0,l=t.length;s<l;s++)"string"==typeof t[s][n]&&-1<t[s][n].indexOf(r)&&a.push(t[s]),a=a.concat(i.getNodesByParamFuzzy(e,t[s][o],n,r));return a},getNodesByFilter:function(e,t,n,r,o){if(!t)return r?null:[];for(var a=e.data.key.children,s=r?null:[],l=0,c=t.length;l<c;l++){if(j.apply(n,[t[l],o],!1)){if(r)return t[l];s.push(t[l])}var u=i.getNodesByFilter(e,t[l][a],n,r,o);if(r&&u)return u;s=r?u:s.concat(u)}return s},getPreNode:function(e,t){if(!t)return null;for(var n=e.data.key.children,r=t.parentTId?t.getParentNode():i.getRoot(e),o=0,a=r[n].length;o<a;o++)if(r[n][o]===t)return 0==o?null:r[n][o-1];return null},getRoot:function(e){return e?H[e.treeId]:null},getSetting:function(e){return p[e]},getSettings:function(){return p},getTitleKey:function(e){return""===e.data.key.title?e.data.key.name:e.data.key.title},getZTreeTools:function(e){return(e=this.getRoot(this.getSetting(e)))?e.treeTools:null},initCache:function(e){for(var t=0,n=s.length;t<n;t++)s[t].apply(this,arguments)},initNode:function(e,n,i,r,o,a){for(var s=0,l=t.length;s<l;s++)t[s].apply(this,arguments)},initRoot:function(e){for(var t=0,n=v.length;t<n;t++)v[t].apply(this,arguments)},isSelectedNode:function(e,t){for(var n=i.getRoot(e),r=0,o=n.curSelectedList.length;r<o;r++)if(t===n.curSelectedList[r])return!0;return!1},removeNodeCache:function(e,t){var n=e.data.key.children;if(t[n])for(var r=0,o=t[n].length;r<o;r++)arguments.callee(e,t[n][r]);delete i.getCache(e).nodes[t.tId]},removeSelectedNode:function(e,t){for(var n=i.getRoot(e),r=0,o=n.curSelectedList.length;r<o;r++)t!==n.curSelectedList[r]&&i.getNodeCache(e,n.curSelectedList[r].tId)||(n.curSelectedList.splice(r,1),r--,o--)},setCache:function(e,t){q[e.treeId]=t},setRoot:function(e,t){H[e.treeId]=t},setZTreeTools:function(e,t){for(var n=0,i=A.length;n<i;n++)A[n].apply(this,arguments)},transformToArrayFormat:function(e,t){if(!t)return[];var n=e.data.key.children,r=[];if(j.isArray(t))for(var o=0,a=t.length;o<a;o++)r.push(t[o]),t[o][n]&&(r=r.concat(i.transformToArrayFormat(e,t[o][n])));else r.push(t),t[n]&&(r=r.concat(i.transformToArrayFormat(e,t[n])));return r},transformTozTreeFormat:function(e,t){var n=e.data.simpleData.idKey,i=e.data.simpleData.pIdKey,r=e.data.key.children;if(!n||""==n||!t)return[];if(j.isArray(t)){for(var o=[],a=[],s=0,l=t.length;s<l;s++)a[t[s][n]]=t[s];for(s=0,l=t.length;s<l;s++)a[t[s][i]]&&t[s][n]!=t[s][i]?(a[t[s][i]][r]||(a[t[s][i]][r]=[]),a[t[s][i]][r].push(t[s])):o.push(t[s]);return o}return[t]}},n={bindEvent:function(e){for(var t=0,n=r.length;t<n;t++)r[t].apply(this,arguments)},bindTree:function(e){var t={treeId:e.treeId};(e=e.treeObj).unbind("click",n.proxy),e.bind("click",t,n.proxy),e.unbind("dblclick",n.proxy),e.bind("dblclick",t,n.proxy),e.unbind("mouseover",n.proxy),e.bind("mouseover",t,n.proxy),e.unbind("mouseout",n.proxy),e.bind("mouseout",t,n.proxy),e.unbind("mousedown",n.proxy),e.bind("mousedown",t,n.proxy),e.unbind("mouseup",n.proxy),e.bind("mouseup",t,n.proxy),e.unbind("contextmenu",n.proxy),e.bind("contextmenu",t,n.proxy)},doProxy:function(e){for(var t=[],n=0,i=u.length;n<i;n++){var r=u[n].apply(this,arguments);if(t.push(r),r.stop)break}return t},proxy:function(e){var t=i.getSetting(e.data.treeId);if(!j.uCanDo(t,e))return!0;for(var r=n.doProxy(e),o=!0,a=!1,s=0,l=r.length;s<l;s++){var c=r[s];c.nodeEventCallback&&(a=!0,o=c.nodeEventCallback.apply(c,[e,c.node])&&o),c.treeEventCallback&&(a=!0,o=c.treeEventCallback.apply(c,[e,c.node])&&o)}try{a&&0==k("input:focus").length&&j.noSel(t)}catch(e){}return o}},B=function(e,t){e=p[e.data.treeId];if(t.open){if(0==j.apply(e.callback.beforeCollapse,[e.treeId,t],!0))return!0}else if(0==j.apply(e.callback.beforeExpand,[e.treeId,t],!0))return!0;return i.getRoot(e).expandTriggerFlag=!0,h.switchNode(e,t),!0},C=function(t,n){var r=p[t.data.treeId],o=r.view.autoCancelSelected&&t.ctrlKey&&i.isSelectedNode(r,n)?0:r.view.autoCancelSelected&&t.ctrlKey&&r.view.selectedMulti?2:1;return 0==j.apply(r.callback.beforeClick,[r.treeId,n,o],!0)||(0==o?h.cancelPreSelectedNode(r,n):h.selectNode(r,n,2==o),r.treeObj.trigger(e.event.CLICK,[t,r.treeId,n,o])),!0},D=function(e,t){var n=p[e.data.treeId];return j.apply(n.callback.beforeMouseDown,[n.treeId,t],!0)&&j.apply(n.callback.onMouseDown,[e,n.treeId,t]),!0},E=function(e,t){var n=p[e.data.treeId];return j.apply(n.callback.beforeMouseUp,[n.treeId,t],!0)&&j.apply(n.callback.onMouseUp,[e,n.treeId,t]),!0},F=function(e,t){var n=p[e.data.treeId];return j.apply(n.callback.beforeDblClick,[n.treeId,t],!0)&&j.apply(n.callback.onDblClick,[e,n.treeId,t]),!0},G=function(e,t){var n=p[e.data.treeId];return j.apply(n.callback.beforeRightClick,[n.treeId,t],!0)&&j.apply(n.callback.onRightClick,[e,n.treeId,t]),"function"!=typeof n.callback.onRightClick},j={apply:function(e,t,n){return"function"==typeof e?e.apply(K,t||[]):n},canAsync:function(e,t){var n=e.data.key.children;return e.async.enable&&t&&t.isParent&&!(t.zAsync||t[n]&&0<t[n].length)},clone:function(e){var t;if(e instanceof Array){t=[];for(var n=e.length;n--;)t[n]=arguments.callee(e[n]);return t}if("function"==typeof e)return e;if(e instanceof Object){for(n in t={},e)t[n]=arguments.callee(e[n]);return t}return e},eqs:function(e,t){return e.toLowerCase()===t.toLowerCase()},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},getMDom:function(e,t,n){if(!t)return null;for(;t&&t.id!==e.treeId;){for(var i=0,r=n.length;t.tagName&&i<r;i++)if(j.eqs(t.tagName,n[i].tagName)&&null!==t.getAttribute(n[i].attrName))return t;t=t.parentNode}return null},noSel:function(e){if(i.getRoot(e).noSelection)try{window.getSelection?window.getSelection().removeAllRanges():document.selection.empty()}catch(e){}},uCanDo:function(){return!0}},h={addNodes:function(t,n,r,o){var a,s,l;t.data.keep.leaf&&n&&!n.isParent||(j.isArray(r)||(r=[r]),t.data.simpleData.enable&&(r=i.transformTozTreeFormat(t,r)),n?(a=k("#"+n.tId+e.id.SWITCH),s=k("#"+n.tId+e.id.ICON),l=k("#"+n.tId+e.id.UL),n.open||(h.replaceSwitchClass(n,a,e.folder.CLOSE),h.replaceIcoClass(n,s,e.folder.CLOSE),n.open=!1,l.css({display:"none"})),i.addNodesData(t,n,r),h.createNodes(t,n.level+1,r,n),o||h.expandCollapseParentNode(t,n,!0)):(i.addNodesData(t,i.getRoot(t),r),h.createNodes(t,0,r,null)))},appendNodes:function(e,t,n,r,o,a){if(!n)return[];for(var s=[],l=e.data.key.children,c=0,u=n.length;c<u;c++){var d,f=n[c];o&&(d=(r||i.getRoot(e))[l].length==n.length&&0==c,i.initNode(e,t,f,r,d,c==n.length-1,a),i.addNodeCache(e,f)),d=[],f[l]&&0<f[l].length&&(d=h.appendNodes(e,t+1,f[l],f,o,a&&f.open)),a&&(h.makeDOMNodeMainBefore(s,e,f),h.makeDOMNodeLine(s,e,f),i.getBeforeA(e,f,s),h.makeDOMNodeNameBefore(s,e,f),i.getInnerBeforeA(e,f,s),h.makeDOMNodeIcon(s,e,f),i.getInnerAfterA(e,f,s),h.makeDOMNodeNameAfter(s,e,f),i.getAfterA(e,f,s),f.isParent&&f.open&&h.makeUlHtml(e,f,s,d.join("")),h.makeDOMNodeMainAfter(s,e,f),i.addCreatedNode(e,f))}return s},appendParentULDom:function(t,n){var i=[],r=k("#"+n.tId),o=k("#"+n.tId+e.id.UL),a=h.appendNodes(t,n.level+1,n[t.data.key.children],n,!1,!0);h.makeUlHtml(t,n,i,a.join("")),!r.get(0)&&n.parentTId&&(h.appendParentULDom(t,n.getParentNode()),r=k("#"+n.tId)),o.get(0)&&o.remove(),r.append(i.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;if(a&&a.isAjaxing)return!1;if(0==j.apply(b.callback.beforeAsync,[b.treeId,a],!0))return j.apply(d),!1;a&&(a.isAjaxing=!0,k("#"+a.tId+e.id.ICON).attr({style:"",class:"button ico_loading"}));for(var l="application/json"==b.async.contentType,i=l?"{":"",m="",f=0,g=b.async.autoParam.length;a&&f<g;f++){var n=b.async.autoParam[f].split("="),o=n;1<n.length&&(o=n[1],n=n[0]),l?(m="string"==typeof a[n]?'"':"",i+='"'+o+('":'+m+a[n]).replace(/'/g,"\\'")+m+","):i+=o+("="+a[n]).replace(/&/g,"%26")+"&"}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f<g;f+=2)l?(m="string"==typeof b.async.otherParam[f+1]?'"':"",i+='"'+b.async.otherParam[f]+('":'+m+b.async.otherParam[f+1]).replace(/'/g,"\\'")+m+","):i+=b.async.otherParam[f]+("="+b.async.otherParam[f+1]).replace(/&/g,"%26")+"&";else for(var p in b.async.otherParam)l?(m="string"==typeof b.async.otherParam[p]?'"':"",i+='"'+p+('":'+m+b.async.otherParam[p]).replace(/'/g,"\\'")+m+","):i+=p+("="+b.async.otherParam[p]).replace(/&/g,"%26")+"&";return 1<i.length&&(i=i.substring(0,i.length-1)),l&&(i+="}"),k.ajax({contentType:b.async.contentType,type:b.async.type,url:j.apply(b.async.url,[b.treeId,a],b.async.url),data:i,dataType:b.async.dataType,success:function(f){var g=[];try{g=f&&0!=f.length?"string"==typeof f?eval("("+f+")"):f:[]}catch(l){}a&&(a.isAjaxing=null,a.zAsync=!0),h.setNodeLineIcos(b,a),g&&""!==g?(g=j.apply(b.async.dataFilter,[b.treeId,a,g],g),h.addNodes(b,a,g?j.clone(g):[],!!c)):h.addNodes(b,a,[],!!c),b.treeObj.trigger(e.event.ASYNC_SUCCESS,[b.treeId,a,f]),j.apply(d)},error:function(t,n,i){a&&(a.isAjaxing=null),h.setNodeLineIcos(b,a),b.treeObj.trigger(e.event.ASYNC_ERROR,[b.treeId,a,t,n,i])}}),!0},cancelPreSelectedNode:function(t,n){for(var r=i.getRoot(t).curSelectedList,o=r.length-1;0<=o;o--)if((!n||n===r[o])&&(k("#"+r[o].tId+e.id.A).removeClass(e.node.CURSELECTED),h.setNodeName(t,r[o]),n)){i.removeSelectedNode(t,n);break}n||(i.getRoot(t).curSelectedList=[])},createNodeCallback:function(t){if(t.callback.onNodeCreated||t.view.addDiyDom)for(var n=i.getRoot(t);0<n.createdNodes.length;){var r=n.createdNodes.shift();j.apply(t.view.addDiyDom,[t.treeId,r]),t.callback.onNodeCreated&&t.treeObj.trigger(e.event.NODECREATED,[t.treeId,r])}},createNodes:function(t,n,r,o){var a,s;r&&0!=r.length&&(a=i.getRoot(t),s=t.data.key.children,s=!o||o.open||!!k("#"+o[s][0].tId).get(0),a.createdNodes=[],n=h.appendNodes(t,n,r,o,!0,s),o?(o=k("#"+o.tId+e.id.UL)).get(0)&&o.append(n.join("")):t.treeObj.append(n.join("")),h.createNodeCallback(t))},expandCollapseNode:function(t,n,r,o,a){var s,l,c=i.getRoot(t),u=t.data.key.children;n?(c.expandTriggerFlag&&(s=a,a=function(){s&&s(),n.open?t.treeObj.trigger(e.event.EXPAND,[t.treeId,n]):t.treeObj.trigger(e.event.COLLAPSE,[t.treeId,n])},c.expandTriggerFlag=!1),n.open==r?j.apply(a,[]):(!n.open&&n.isParent&&(!k("#"+n.tId+e.id.UL).get(0)||n[u]&&0<n[u].length&&!k("#"+n[u][0].tId).get(0))&&(h.appendParentULDom(t,n),h.createNodeCallback(t)),r=k("#"+n.tId+e.id.UL),c=k("#"+n.tId+e.id.SWITCH),l=k("#"+n.tId+e.id.ICON),n.isParent?(n.open=!n.open,n.iconOpen&&n.iconClose&&l.attr("style",h.makeNodeIcoStyle(t,n)),n.open?(h.replaceSwitchClass(n,c,e.folder.OPEN),h.replaceIcoClass(n,l,e.folder.OPEN),0!=o&&""!=t.view.expandSpeed&&n[u]&&0<n[u].length?r.slideDown(t.view.expandSpeed,a):(r.show(),j.apply(a,[]))):(h.replaceSwitchClass(n,c,e.folder.CLOSE),h.replaceIcoClass(n,l,e.folder.CLOSE),0!=o&&""!=t.view.expandSpeed&&n[u]&&0<n[u].length?r.slideUp(t.view.expandSpeed,a):(r.hide(),j.apply(a,[])))):j.apply(a,[]))):j.apply(a,[])},expandCollapseParentNode:function(e,t,n,i,r){t&&(t.parentTId?(h.expandCollapseNode(e,t,n,i),t.parentTId&&h.expandCollapseParentNode(e,t.getParentNode(),n,i,r)):h.expandCollapseNode(e,t,n,i,r))},expandCollapseSonNode:function(e,t,n,r,o){var a=i.getRoot(e),a=(t||a)[s=e.data.key.children],s=!t&&r,l=i.getRoot(e).expandTriggerFlag;if(i.getRoot(e).expandTriggerFlag=!1,a)for(var c=0,u=a.length;c<u;c++)a[c]&&h.expandCollapseSonNode(e,a[c],n,s);i.getRoot(e).expandTriggerFlag=l,h.expandCollapseNode(e,t,n,r,o)},makeDOMNodeIcon:function(t,n,i){var r=n.data.key.name,r=n.view.nameIsHTML?i[r]:i[r].replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");t.push("<span id='",i.tId,e.id.ICON,"' title='' treeNode",e.id.ICON," class='",h.makeNodeIcoClass(n,i),"' style='",h.makeNodeIcoStyle(n,i),"'></span><span id='",i.tId,e.id.SPAN,"'>",r,"</span>")},makeDOMNodeLine:function(t,n,i){t.push("<span id='",i.tId,e.id.SWITCH,"' title='' class='",h.makeNodeLineClass(n,i),"' treeNode",e.id.SWITCH,"></span>")},makeDOMNodeMainAfter:function(e){e.push("</li>")},makeDOMNodeMainBefore:function(e,t,n){e.push("<li id='",n.tId,"' class='level",n.level,"' tabindex='0' hidefocus='true' treenode>")},makeDOMNodeNameAfter:function(e){e.push("</a>")},makeDOMNodeNameBefore:function(t,n,r){var o,a=i.getTitleKey(n),s=h.makeNodeUrl(n,r),l=h.makeNodeFontCss(n,r),c=[];for(o in l)c.push(o,":",l[o],";");t.push("<a id='",r.tId,e.id.A,"' class='level",r.level,"' treeNode",e.id.A,' onclick="',r.click||"",'" ',null!=s&&0<s.length?"href='"+s+"'":""," target='",h.makeNodeTarget(r),"' style='",c.join(""),"'"),j.apply(n.view.showTitle,[n.treeId,r],n.view.showTitle)&&r[a]&&t.push("title='",r[a].replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"'"),t.push(">")},makeNodeFontCss:function(e,t){e=j.apply(e.view.fontCss,[e.treeId,t],e.view.fontCss);return e&&"function"!=typeof e?e:{}},makeNodeIcoClass:function(t,n){var i=["ico"];return n.isAjaxing||(i[0]=(n.iconSkin?n.iconSkin+"_":"")+i[0],n.isParent?i.push(n.open?e.folder.OPEN:e.folder.CLOSE):i.push(e.folder.DOCU)),"button "+i.join("_")},makeNodeIcoStyle:function(e,t){var n,i=[];return t.isAjaxing||((n=t.isParent&&t.iconOpen&&t.iconClose?t.open?t.iconOpen:t.iconClose:t.icon)&&i.push("background:url(",n,") 0 0 no-repeat;"),0!=e.view.showIcon&&j.apply(e.view.showIcon,[e.treeId,t],!0)||i.push("width:0px;height:0px;")),i.join("")},makeNodeLineClass:function(t,n){var i=[];return t.view.showLine?0==n.level&&n.isFirstNode&&n.isLastNode?i.push(e.line.ROOT):0==n.level&&n.isFirstNode?i.push(e.line.ROOTS):n.isLastNode?i.push(e.line.BOTTOM):i.push(e.line.CENTER):i.push(e.line.NOLINE),n.isParent?i.push(n.open?e.folder.OPEN:e.folder.CLOSE):i.push(e.folder.DOCU),h.makeNodeLineClassEx(n)+i.join("_")},makeNodeLineClassEx:function(e){return"button level"+e.level+" switch "},makeNodeTarget:function(e){return e.target||"_blank"},makeNodeUrl:function(e,t){e=e.data.key.url;return t[e]||null},makeUlHtml:function(t,n,i,r){i.push("<ul id='",n.tId,e.id.UL,"' class='level",n.level," ",h.makeUlLineClass(t,n),"' style='display:",n.open?"block":"none","'>"),i.push(r),i.push("</ul>")},makeUlLineClass:function(t,n){return t.view.showLine&&!n.isLastNode?e.line.LINE:""},removeChildNodes:function(t,n){if(n){var r=t.data.key.children,o=n[r];if(o){for(var a=0,s=o.length;a<s;a++)i.removeNodeCache(t,o[a]);i.removeSelectedNode(t),delete n[r],t.data.keep.parent?k("#"+n.tId+e.id.UL).empty():(n.isParent=!1,n.open=!1,r=k("#"+n.tId+e.id.SWITCH),o=k("#"+n.tId+e.id.ICON),h.replaceSwitchClass(n,r,e.folder.DOCU),h.replaceIcoClass(n,o,e.folder.DOCU),k("#"+n.tId+e.id.UL).remove())}}},setFirstNode:function(e,t){e=e.data.key.children;0<t[e].length&&(t[e][0].isFirstNode=!0)},setLastNode:function(e,t){var n=e.data.key.children,e=t[n].length;0<e&&(t[n][e-1].isLastNode=!0)},removeNode:function(t,n){var r=i.getRoot(t),o=t.data.key.children,a=n.parentTId?n.getParentNode():r;n.isFirstNode=!1,n.isLastNode=!1,n.getPreNode=function(){return null},n.getNextNode=function(){return null},k("#"+n.tId).remove(),i.removeNodeCache(t,n),i.removeSelectedNode(t,n);for(var s=0,l=a[o].length;s<l;s++)if(a[o][s].tId==n.tId){a[o].splice(s,1);break}h.setFirstNode(t,a),h.setLastNode(t,a);var c,s=a[o].length;t.data.keep.parent||0!=s?t.view.showLine&&0<s&&(t=a[o][s-1],s=k("#"+t.tId+e.id.UL),l=k("#"+t.tId+e.id.SWITCH),c=k("#"+t.tId+e.id.ICON),a==r?1==a[o].length?h.replaceSwitchClass(t,l,e.line.ROOT):(r=k("#"+a[o][0].tId+e.id.SWITCH),h.replaceSwitchClass(a[o][0],r,e.line.ROOTS),h.replaceSwitchClass(t,l,e.line.BOTTOM)):h.replaceSwitchClass(t,l,e.line.BOTTOM),s.removeClass(e.line.LINE)):(a.isParent=!1,a.open=!1,s=k("#"+a.tId+e.id.UL),l=k("#"+a.tId+e.id.SWITCH),c=k("#"+a.tId+e.id.ICON),h.replaceSwitchClass(a,l,e.folder.DOCU),h.replaceIcoClass(a,c,e.folder.DOCU),s.css("display","none"))},replaceIcoClass:function(t,n,i){if(n&&!t.isAjaxing&&null!=(t=n.attr("class"))){switch(t=t.split("_"),i){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:t[t.length-1]=i}n.attr("class",t.join("_"))}},replaceSwitchClass:function(t,n,i){if(n){var r=n.attr("class");if(null!=r){switch(r=r.split("_"),i){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:r[0]=h.makeNodeLineClassEx(t)+i;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:r[1]=i}n.attr("class",r.join("_")),i!==e.folder.DOCU?n.removeAttr("disabled"):n.attr("disabled","disabled")}}},selectNode:function(t,n,r){r||h.cancelPreSelectedNode(t),k("#"+n.tId+e.id.A).addClass(e.node.CURSELECTED),i.addSelectedNode(t,n)},setNodeFontCss:function(t,n){var i=k("#"+n.tId+e.id.A),n=h.makeNodeFontCss(t,n);n&&i.css(n)},setNodeLineIcos:function(t,n){var i,r,o,a;n&&(i=k("#"+n.tId+e.id.SWITCH),r=k("#"+n.tId+e.id.UL),o=k("#"+n.tId+e.id.ICON),0==(a=h.makeUlLineClass(t,n)).length?r.removeClass(e.line.LINE):r.addClass(a),i.attr("class",h.makeNodeLineClass(t,n)),n.isParent?i.removeAttr("disabled"):i.attr("disabled","disabled"),o.removeAttr("style"),o.attr("style",h.makeNodeIcoStyle(t,n)),o.attr("class",h.makeNodeIcoClass(t,n)))},setNodeName:function(t,n){var r=t.data.key.name,o=i.getTitleKey(t),a=k("#"+n.tId+e.id.SPAN);a.empty(),t.view.nameIsHTML?a.html(n[r]):a.text(n[r]),j.apply(t.view.showTitle,[t.treeId,n],t.view.showTitle)&&k("#"+n.tId+e.id.A).attr("title",n[o]||"")},setNodeTarget:function(t){k("#"+t.tId+e.id.A).attr("target",h.makeNodeTarget(t))},setNodeUrl:function(t,n){var i=k("#"+n.tId+e.id.A),n=h.makeNodeUrl(t,n);null==n||0==n.length?i.removeAttr("href"):i.attr("href",n)},switchNode:function(e,t){t.open||!j.canAsync(e,t)?h.expandCollapseNode(e,t,!t.open):e.async.enable?h.asyncNode(e,t)||h.expandCollapseNode(e,t,!t.open):t&&h.expandCollapseNode(e,t,!t.open)}};k.fn.zTree={consts:{event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:h,event:n,data:i},getZTreeObj:function(e){return(e=i.getZTreeTools(e))?e:null},init:function(t,r,o){var a=j.clone(I);return k.extend(!0,a,r),a.treeId=t.attr("id"),a.treeObj=t,a.treeObj.empty(),p[a.treeId]=a,k.browser.msie&&parseInt(k.browser.version)<7&&(a.view.expandSpeed=""),i.initRoot(a),t=i.getRoot(a),r=a.data.key.children,o=o?j.clone(j.isArray(o)?o:[o]):[],t[r]=a.data.simpleData.enable?i.transformTozTreeFormat(a,o):o,i.initCache(a),n.bindTree(a),n.bindEvent(a),o={setting:a,addNodes:function(e,t,n){function i(){h.addNodes(a,e,r,1==n)}if(!t)return null;if((e=e||null)&&!e.isParent&&a.data.keep.leaf)return null;var r=j.clone(j.isArray(t)?t:[t]);return j.canAsync(a,e)?h.asyncNode(a,e,n,i):i(),r},cancelSelectedNode:function(e){h.cancelPreSelectedNode(this.setting,e)},expandAll:function(e){return e=!!e,h.expandCollapseSonNode(this.setting,null,e,!0),e},expandNode:function(e,t,n,r,o){return e&&e.isParent?(!0!==t&&!1!==t&&(t=!e.open),(o=!!o)&&t&&0==j.apply(a.callback.beforeExpand,[a.treeId,e],!0)||o&&!t&&0==j.apply(a.callback.beforeCollapse,[a.treeId,e],!0)?null:(t&&e.parentTId&&h.expandCollapseParentNode(this.setting,e.getParentNode(),t,!1),t!==e.open||n?(i.getRoot(a).expandTriggerFlag=o,n?h.expandCollapseSonNode(this.setting,e,t,!0,function(){!1!==r&&k("#"+e.tId).focus().blur()}):(e.open=!t,h.switchNode(this.setting,e),!1!==r&&k("#"+e.tId).focus().blur()),t):null)):null},getNodes:function(){return i.getNodes(this.setting)},getNodeByParam:function(e,t,n){return e?i.getNodeByParam(this.setting,n?n[this.setting.data.key.children]:i.getNodes(this.setting),e,t):null},getNodeByTId:function(e){return i.getNodeCache(this.setting,e)},getNodesByParam:function(e,t,n){return e?i.getNodesByParam(this.setting,n?n[this.setting.data.key.children]:i.getNodes(this.setting),e,t):null},getNodesByParamFuzzy:function(e,t,n){return e?i.getNodesByParamFuzzy(this.setting,n?n[this.setting.data.key.children]:i.getNodes(this.setting),e,t):null},getNodesByFilter:function(e,t,n,r){return t=!!t,e&&"function"==typeof e?i.getNodesByFilter(this.setting,n?n[this.setting.data.key.children]:i.getNodes(this.setting),e,t,r):t?null:[]},getNodeIndex:function(e){if(!e)return null;for(var t=a.data.key.children,n=e.parentTId?e.getParentNode():i.getRoot(this.setting),r=0,o=n[t].length;r<o;r++)if(n[t][r]==e)return r;return-1},getSelectedNodes:function(){for(var e=[],t=i.getRoot(this.setting).curSelectedList,n=0,r=t.length;n<r;n++)e.push(t[n]);return e},isSelectedNode:function(e){return i.isSelectedNode(this.setting,e)},reAsyncChildNodes:function(t,n,r){var o;this.setting.async.enable&&((o=!t)&&(t=i.getRoot(this.setting)),"refresh"==n&&(t[this.setting.data.key.children]=[],(o?this.setting.treeObj:k("#"+t.tId+e.id.UL)).empty()),h.asyncNode(this.setting,o?null:t,!!r))},refresh:function(){this.setting.treeObj.empty();var e=i.getRoot(this.setting),t=e[this.setting.data.key.children];i.initRoot(this.setting),e[this.setting.data.key.children]=t,i.initCache(this.setting),h.createNodes(this.setting,0,e[this.setting.data.key.children])},removeChildNodes:function(e){if(!e)return null;var t=e[a.data.key.children];return h.removeChildNodes(a,e),t||null},removeNode:function(t,n){t&&((n=!!n)&&0==j.apply(a.callback.beforeRemove,[a.treeId,t],!0)||(h.removeNode(a,t),n&&this.setting.treeObj.trigger(e.event.REMOVE,[a.treeId,t])))},selectNode:function(e,t){e&&j.uCanDo(this.setting)&&(t=a.view.selectedMulti&&t,e.parentTId?h.expandCollapseParentNode(this.setting,e.getParentNode(),!0,!1,function(){k("#"+e.tId).focus().blur()}):k("#"+e.tId).focus().blur(),h.selectNode(this.setting,e,t))},transformTozTreeNodes:function(e){return i.transformTozTreeFormat(this.setting,e)},transformToArray:function(e){return i.transformToArrayFormat(this.setting,e)},updateNode:function(e){e&&k("#"+e.tId).get(0)&&j.uCanDo(this.setting)&&(h.setNodeName(this.setting,e),h.setNodeTarget(e),h.setNodeUrl(this.setting,e),h.setNodeLineIcos(this.setting,e),h.setNodeFontCss(this.setting,e))}},t.treeTools=o,i.setZTreeTools(a,o),t[r]&&0<t[r].length?h.createNodes(a,0,t[r]):a.async.enable&&a.async.url&&""!==a.async.url&&h.asyncNode(a),o}};var K=k.fn.zTree,e=K.consts}(jQuery),function(d){var e={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},t={check:{enable:!1,autoCheckTrigger:!1,chkStyle:e.checkbox.STYLE,nocheckInherit:!1,radioType:e.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}},s=function(e,t){if(!0===t.chkDisabled)return!1;var n=p.getSetting(e.data.treeId),e=n.data.key.checked;return 0==u.apply(n.callback.beforeCheck,[n.treeId,t],!0)||(t[e]=!t[e],f.checkNodeRelation(n,t),e=d("#"+t.tId+h.id.CHECK),f.setChkClass(n,e,t),f.repairParentChkClassWithSelf(n,t),n.treeObj.trigger(h.event.CHECK,[n.treeId,t])),!0},l=function(e,t){if(!0===t.chkDisabled)return!1;var n=p.getSetting(e.data.treeId),e=d("#"+t.tId+h.id.CHECK);return t.check_Focus=!0,f.setChkClass(n,e,t),!0},c=function(e,t){if(!0===t.chkDisabled)return!1;var n=p.getSetting(e.data.treeId),e=d("#"+t.tId+h.id.CHECK);return t.check_Focus=!1,f.setChkClass(n,e,t),!0};d.extend(!0,d.fn.zTree.consts,e),d.extend(!0,d.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(e,t){var n,i,r=e.data.key.children,o=e.data.key.checked,a=h.radio;if(e.check.chkStyle==a.STYLE){var s=p.getRadioCheckedList(e);if(t[o])if(e.check.radioType==a.TYPE_ALL){for(n=s.length-1;0<=n;n--)(a=s[n])[o]=!1,s.splice(n,1),f.setChkClass(e,d("#"+a.tId+h.id.CHECK),a),a.parentTId!=t.parentTId&&f.repairParentChkClassWithSelf(e,a);s.push(t)}else for(n=0,i=(s=t.parentTId?t.getParentNode():p.getRoot(e))[r].length;n<i;n++)(a=s[r][n])[o]&&a!=t&&(a[o]=!1,f.setChkClass(e,d("#"+a.tId+h.id.CHECK),a));else if(e.check.radioType==a.TYPE_ALL)for(n=0,i=s.length;n<i;n++)if(t==s[n]){s.splice(n,1);break}}else t[o]&&(!t[r]||0==t[r].length||-1<e.check.chkboxType.Y.indexOf("s"))&&f.setSonNodeCheckBox(e,t,!0),t[o]||t[r]&&0!=t[r].length&&!(-1<e.check.chkboxType.N.indexOf("s"))||f.setSonNodeCheckBox(e,t,!1),t[o]&&-1<e.check.chkboxType.Y.indexOf("p")&&f.setParentNodeCheckBox(e,t,!0),!t[o]&&-1<e.check.chkboxType.N.indexOf("p")&&f.setParentNodeCheckBox(e,t,!1)},makeChkClass:function(e,t){var n=e.data.key.checked,i=h.checkbox,r=h.radio,o=!0===t.chkDisabled?i.DISABLED:t.halfCheck?i.PART:e.check.chkStyle!=r.STYLE&&t[n]?2===t.check_Child_State||-1===t.check_Child_State?i.FULL:i.PART:t.check_Child_State<1?i.FULL:i.PART,n=e.check.chkStyle+"_"+(t[n]?i.TRUE:i.FALSE)+"_"+o,n=t.check_Focus&&!0!==t.chkDisabled?n+"_"+i.FOCUS:n;return"button "+i.DEFAULT+" "+n},repairAllChk:function(e,t){if(e.check.enable&&e.check.chkStyle===h.checkbox.STYLE)for(var n=e.data.key.checked,i=e.data.key.children,r=p.getRoot(e),o=0,a=r[i].length;o<a;o++){var s=r[i][o];!0!==s.nocheck&&(s[n]=t),f.setSonNodeCheckBox(e,s,t)}},repairChkClass:function(e,t){var n;t&&(p.makeChkFlag(e,t),n=d("#"+t.tId+h.id.CHECK),f.setChkClass(e,n,t))},repairParentChkClass:function(e,t){t&&t.parentTId&&(t=t.getParentNode(),f.repairChkClass(e,t),f.repairParentChkClass(e,t))},repairParentChkClassWithSelf:function(e,t){var n;t&&(t[n=e.data.key.children]&&0<t[n].length?f.repairParentChkClass(e,t[n][0]):f.repairParentChkClass(e,t))},repairSonChkDisabled:function(e,t,n){if(t){var i=e.data.key.children;if(t.chkDisabled!=n&&(t.chkDisabled=n,!0!==t.nocheck&&f.repairChkClass(e,t)),t[i])for(var r=0,o=t[i].length;r<o;r++)f.repairSonChkDisabled(e,t[i][r],n)}},repairParentChkDisabled:function(e,t,n){t&&(t.chkDisabled!=n&&(t.chkDisabled=n,!0!==t.nocheck&&f.repairChkClass(e,t)),f.repairParentChkDisabled(e,t.getParentNode(),n))},setChkClass:function(e,t,n){t&&(!0===n.nocheck?t.hide():t.show(),t.removeClass(),t.addClass(f.makeChkClass(e,n)))},setParentNodeCheckBox:function(e,t,n,i){var r=e.data.key.children,o=e.data.key.checked,a=d("#"+t.tId+h.id.CHECK);if(i=i||t,p.makeChkFlag(e,t),!0!==t.nocheck&&!0!==t.chkDisabled&&(t[o]=n,f.setChkClass(e,a,t),e.check.autoCheckTrigger&&t!=i&&!0!==t.nocheck&&e.treeObj.trigger(h.event.CHECK,[e.treeId,t])),t.parentTId){if(a=!0,!n)for(var s=0,l=(r=t.getParentNode()[r]).length;s<l;s++)if(!0!==r[s].nocheck&&r[s][o]||!0===r[s].nocheck&&0<r[s].check_Child_State){a=!1;break}a&&f.setParentNodeCheckBox(e,t.getParentNode(),n,i)}},setSonNodeCheckBox:function(e,t,n,i){if(t){var r=e.data.key.children,o=e.data.key.checked,a=d("#"+t.tId+h.id.CHECK);i=i||t;var s=!1;if(t[r])for(var l=0,c=t[r].length;l<c&&!0!==t.chkDisabled;l++){var u=t[r][l];f.setSonNodeCheckBox(e,u,n,i),!0===u.chkDisabled&&(s=!0)}t!=p.getRoot(e)&&!0!==t.chkDisabled&&(s&&!0!==t.nocheck&&p.makeChkFlag(e,t),!0!==t.nocheck?(t[o]=n,s||(t.check_Child_State=t[r]&&0<t[r].length?n?2:0:-1)):t.check_Child_State=-1,f.setChkClass(e,a,t),e.check.autoCheckTrigger&&t!=i&&!0!==t.nocheck&&e.treeObj.trigger(h.event.CHECK,[e.treeId,t]))}}},event:{},data:{getRadioCheckedList:function(e){for(var t=p.getRoot(e).radioCheckedList,n=0,i=t.length;n<i;n++)p.getNodeCache(e,t[n].tId)||(t.splice(n,1),n--,i--);return t},getCheckStatus:function(e,t){if(!e.check.enable||t.nocheck)return null;var n=e.data.key.checked;return{checked:t[n],half:t.halfCheck||(e.check.chkStyle==h.radio.STYLE?2===t.check_Child_State:t[n]?-1<t.check_Child_State&&t.check_Child_State<2:0<t.check_Child_State)}},getTreeCheckedNodes:function(e,t,n,i){if(!t)return[];for(var r=e.data.key.children,o=e.data.key.checked,a=n&&e.check.chkStyle==h.radio.STYLE&&e.check.radioType==h.radio.TYPE_ALL,i=i||[],s=0,l=t.length;s<l&&(!0===t[s].nocheck||t[s][o]!=n||(i.push(t[s]),!a))&&(p.getTreeCheckedNodes(e,t[s][r],n,i),!(a&&0<i.length));s++);return i},getTreeChangeCheckedNodes:function(e,t,n){if(!t)return[];for(var i=e.data.key.children,r=e.data.key.checked,n=n||[],o=0,a=t.length;o<a;o++)!0!==t[o].nocheck&&t[o][r]!=t[o].checkedOld&&n.push(t[o]),p.getTreeChangeCheckedNodes(e,t[o][i],n);return n},makeChkFlag:function(e,t){if(t){var n=e.data.key.children,i=e.data.key.checked,r=-1;if(t[n])for(var o=!1,a=0,s=t[n].length;a<s;a++){var l=t[n][a],c=-1;if(e.check.chkStyle==h.radio.STYLE){if(2==(c=!0===l.nocheck?l.check_Child_State:!0===l.halfCheck||!0!==l.nocheck&&l[i]||0<l.check_Child_State?2:0)){r=2;break}0==c&&(r=0)}else if(e.check.chkStyle==h.checkbox.STYLE){if(1===(c=!0===l.nocheck?l.check_Child_State:!0===l.halfCheck?1:!0!==l.nocheck&&l[i]?-1===l.check_Child_State||2===l.check_Child_State?2:1:0<l.check_Child_State?1:0)){r=1;break}if(2===c&&o&&c!==r){r=1;break}if(2===r&&-1<c&&c<2){r=1;break}-1<c&&(r=c),o=o||!0!==l.nocheck}}t.check_Child_State=r}}}});var u=(e=d.fn.zTree)._z.tools,h=e.consts,f=e._z.view,p=e._z.data;p.exSetting(t),p.addInitBind(function(i){var e=i.treeObj,t=h.event;e.unbind(t.CHECK),e.bind(t.CHECK,function(e,t,n){u.apply(i.callback.onCheck,[e,t,n])})}),p.addInitCache(function(){}),p.addInitNode(function(e,t,n,i,r,o){n&&(t=e.data.key.checked,"string"==typeof n[t]&&(n[t]=u.eqs(n[t],"true")),n[t]=!!n[t],n.checkedOld=n[t],n.nocheck=!!n.nocheck||e.check.nocheckInherit&&i&&!!i.nocheck,n.chkDisabled=!!n.chkDisabled||i&&!!i.chkDisabled,"string"==typeof n.halfCheck&&(n.halfCheck=u.eqs(n.halfCheck,"true")),n.halfCheck=!!n.halfCheck,n.check_Child_State=-1,n.check_Focus=!1,n.getCheckStatus=function(){return p.getCheckStatus(e,n)},o&&p.makeChkFlag(e,i))}),p.addInitProxy(function(e){var t=e.target,n=p.getSetting(e.data.treeId),i="",r=null,o="",a=null;if(u.eqs(e.type,"mouseover")?n.check.enable&&u.eqs(t.tagName,"span")&&null!==t.getAttribute("treeNode"+h.id.CHECK)&&(i=t.parentNode.id,o="mouseoverCheck"):u.eqs(e.type,"mouseout")?n.check.enable&&u.eqs(t.tagName,"span")&&null!==t.getAttribute("treeNode"+h.id.CHECK)&&(i=t.parentNode.id,o="mouseoutCheck"):u.eqs(e.type,"click")&&n.check.enable&&u.eqs(t.tagName,"span")&&null!==t.getAttribute("treeNode"+h.id.CHECK)&&(i=t.parentNode.id,o="checkNode"),0<i.length)switch(r=p.getNodeCache(n,i),o){case"checkNode":a=s;break;case"mouseoverCheck":a=l;break;case"mouseoutCheck":a=c}return{stop:!1,node:r,nodeEventType:o,nodeEventCallback:a,treeEventType:"",treeEventCallback:null}}),p.addInitRoot(function(e){p.getRoot(e).radioCheckedList=[]}),p.addBeforeA(function(e,t,n){var i=e.data.key.checked;e.check.enable&&(p.makeChkFlag(e,t),e.check.chkStyle==h.radio.STYLE&&e.check.radioType==h.radio.TYPE_ALL&&t[i]&&p.getRoot(e).radioCheckedList.push(t),n.push("<span ID='",t.tId,h.id.CHECK,"' class='",f.makeChkClass(e,t),"' treeNode",h.id.CHECK,!0===t.nocheck?" style='display:none;'":"","></span>"))}),p.addZTreeTools(function(o,i){i.checkNode=function(e,t,n,i){var r=this.setting.data.key.checked;!0===e.chkDisabled||(!0!==t&&!1!==t&&(t=!e[r]),i=!!i,e[r]===t&&!n||i&&0==u.apply(this.setting.callback.beforeCheck,[this.setting.treeId,e],!0)||!u.uCanDo(this.setting)||!this.setting.check.enable||!0===e.nocheck)||(e[r]=t,t=d("#"+e.tId+h.id.CHECK),!n&&this.setting.check.chkStyle!==h.radio.STYLE||f.checkNodeRelation(this.setting,e),f.setChkClass(this.setting,t,e),f.repairParentChkClassWithSelf(this.setting,e),i&&o.treeObj.trigger(h.event.CHECK,[o.treeId,e]))},i.checkAllNodes=function(e){f.repairAllChk(this.setting,!!e)},i.getCheckedNodes=function(e){var t=this.setting.data.key.children;return p.getTreeCheckedNodes(this.setting,p.getRoot(o)[t],!1!==e)},i.getChangeCheckedNodes=function(){var e=this.setting.data.key.children;return p.getTreeChangeCheckedNodes(this.setting,p.getRoot(o)[e])},i.setChkDisabled=function(e,t){t=!!t,f.repairSonChkDisabled(this.setting,e,t),t||f.repairParentChkDisabled(this.setting,e,t)};var r=i.updateNode;i.updateNode=function(e,t){var n;r&&r.apply(i,arguments),e&&this.setting.check.enable&&d("#"+e.tId).get(0)&&u.uCanDo(this.setting)&&(n=d("#"+e.tId+h.id.CHECK),1!=t&&this.setting.check.chkStyle!==h.radio.STYLE||f.checkNodeRelation(this.setting,e),f.setChkClass(this.setting,n,e),f.repairParentChkClassWithSelf(this.setting,e))}});var r=f.createNodes;f.createNodes=function(e,t,n,i){r&&r.apply(f,arguments),n&&f.repairParentChkClassWithSelf(e,i)};var i=f.removeNode;f.removeNode=function(e,t){var n=t.getParentNode();i&&i.apply(f,arguments),t&&n&&(f.repairChkClass(e,n),f.repairParentChkClass(e,n))}}(jQuery),function(E){var I=/MSIE/.test(navigator.userAgent),A=void 0!==(e=document.createElement("div").style).MozBorderRadius,_=void 0!==e.WebkitBorderRadius,D=void 0!==e.borderRadius||void 0!==e.BorderRadius,e=document.documentMode||0,L=I&&(!e||e<8),j=I&&function(){var e=document.createElement("div");try{e.style.setExpression("width","0+0"),e.style.removeExpression("width")}catch(e){return!1}return!0}();function O(e,t){return parseInt(E.css(e,t),10)||0}function M(e){return(e=parseInt(e,10).toString(16)).length<2?"0"+e:e}E.support=E.support||{},E.support.borderRadius=A||_||D,E.fn.corner=function(S){return 0!==this.length?this.each(function(e){var t,n,i,r,o,a,s,l,c,u,d,h,f,p,m=E(this),g=[m.attr(E.fn.corner.defaults.metaAttr)||"",S||""].join(" ").toLowerCase(),v=/keep/.test(g),y=(g.match(/cc:(#[0-9a-f]+)/)||[])[1],b=(g.match(/sc:(#[0-9a-f]+)/)||[])[1],k=parseInt((g.match(/(\d+)px/)||[])[1],10)||10,x=(g.match(/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog|invsteep|steep/)||["round"])[0],C=/dogfold|bevelfold/.test(g),N={T:0,B:1},T={TL:/top|tl|left/.test(g),TR:/top|tr|right/.test(g),BL:/bottom|bl|left/.test(g),BR:/bottom|br|right/.test(g)};if(T.TL||T.TR||T.BL||T.BR||(T={TL:1,TR:1,BL:1,BR:1}),E.fn.corner.defaults.useNative&&"round"==x&&(D||A||_)&&!y&&!b)return T.TL&&m.css(D?"border-top-left-radius":A?"-moz-border-radius-topleft":"-webkit-border-top-left-radius",k+"px"),T.TR&&m.css(D?"border-top-right-radius":A?"-moz-border-radius-topright":"-webkit-border-top-right-radius",k+"px"),T.BL&&m.css(D?"border-bottom-left-radius":A?"-moz-border-radius-bottomleft":"-webkit-border-bottom-left-radius",k+"px"),void(T.BR&&m.css(D?"border-bottom-right-radius":A?"-moz-border-radius-bottomright":"-webkit-border-bottom-right-radius",k+"px"));for(r in t=document.createElement("div"),E(t).css({overflow:"hidden",height:"1px",minHeight:"1px",fontSize:"1px",backgroundColor:b||"transparent",borderStyle:"solid"}),n={T:parseInt(E.css(this,"paddingTop"),10)||0,R:parseInt(E.css(this,"paddingRight"),10)||0,B:parseInt(E.css(this,"paddingBottom"),10)||0,L:parseInt(E.css(this,"paddingLeft"),10)||0},this.style.zoom,this.style.zoom=1,v||(this.style.border="none"),t.style.borderColor=y||function(e){for(;e;){var t,n=E.css(e,"backgroundColor");if(n&&"transparent"!=n&&"rgba(0, 0, 0, 0)"!=n)return 0<=n.indexOf("rgb")?"#"+M((t=n.match(/\d+/g))[0])+M(t[1])+M(t[2]):n;if("html"==e.nodeName.toLowerCase())break;e=e.parentNode}return"#ffffff"}(this.parentNode),i=E(this).outerHeight(),N)if((o=N[r])&&(T.BL||T.BR)||!o&&(T.TL||T.TR)){for(t.style.borderStyle="none "+(T[r+"R"]?"solid":"none")+" none "+(T[r+"L"]?"solid":"none"),a=document.createElement("div"),E(a).addClass("jquery-corner"),s=a.style,o?this.appendChild(a):this.insertBefore(a,this.firstChild),o&&"auto"!=i?("static"==E.css(this,"position")&&(this.style.position="relative"),s.position="absolute",s.bottom=s.left=s.padding=s.margin="0",j?s.setExpression("width","this.parentNode.offsetWidth"):s.width="100%"):!o&&I?("static"==E.css(this,"position")&&(this.style.position="relative"),s.position="absolute",s.top=s.left=s.right=s.padding=s.margin="0",j?(l=O(this,"borderLeftWidth")+O(this,"borderRightWidth"),s.setExpression("width","this.parentNode.offsetWidth - "+l+'+ "px"')):s.width="100%"):(s.position="relative",s.margin=o?n.B-k+"px -"+n.R+"px -"+n.B+"px -"+n.L+"px":"-"+n.T+"px -"+n.R+"px "+(n.T-k)+"px -"+n.L+"px"),c=0;c<k;c++)u=Math.max(0,function(e,t,n){switch(e){case"round":return Math.round(n*(1-Math.cos(Math.asin(t/n))));case"cool":return Math.round(n*(1+Math.cos(Math.asin(t/n))));case"sharp":return n-t;case"bite":return Math.round(n*Math.cos(Math.asin((n-t-1)/n)));case"slide":return Math.round(n*Math.atan2(t,n/t));case"jut":return Math.round(n*Math.atan2(n,n-t-1));case"curl":return Math.round(n*Math.atan(t));case"tear":return Math.round(n*Math.cos(t));case"wicked":return Math.round(n*Math.tan(t));case"long":return Math.round(n*Math.sqrt(t));case"sculpt":return Math.round(n*Math.log(n-t-1,n));case"dogfold":case"dog":return 1&t?t+1:n;case"dog2":return 2&t?t+1:n;case"dog3":return 3&t?t+1:n;case"fray":return t%2*n;case"notch":return n;case"bevelfold":case"bevel":return t+1;case"steep":return t/2+1;case"invsteep":return(n-t)/2+1}}(x,c,k)),(d=t.cloneNode(!1)).style.borderWidth="0 "+(T[r+"R"]?u:0)+"px 0 "+(T[r+"L"]?u:0)+"px",o?a.appendChild(d):a.insertBefore(d,a.firstChild);if(C&&E.support.boxModel&&(!o||!L))for(h in T)if(T[h]&&(!o||"TL"!=h&&"TR"!=h)&&(o||"BL"!=h&&"BR"!=h)){switch(f={position:"absolute",border:"none",margin:0,padding:0,overflow:"hidden",backgroundColor:t.style.borderColor},p=E("<div/>").css(f).css({width:k+"px",height:"1px"}),h){case"TL":p.css({bottom:0,left:0});break;case"TR":p.css({bottom:0,right:0});break;case"BL":p.css({top:0,left:0});break;case"BR":p.css({top:0,right:0})}a.appendChild(p[0]);var w=E("<div/>").css(f).css({top:0,bottom:0,width:"1px",height:k+"px"});switch(h){case"TL":w.css({left:k});break;case"TR":w.css({right:k});break;case"BL":w.css({left:k});break;case"BR":w.css({right:k})}a.appendChild(w[0])}}}):(!E.isReady&&this.selector&&(e=this.selector,t=this.context,E(function(){E(e,t).corner(S)})),this);var e,t},E.fn.uncorner=function(){return(D||A||_)&&this.css(D?"border-radius":A?"-moz-border-radius":"-webkit-border-radius",0),E("div.jquery-corner",this).remove(),this},E.fn.corner.defaults={useNative:!0,metaAttr:"data-corner"}}(jQuery);