(function(d,l){function i(a,b,g){if(g===l&&a.nodeType===1)if(g=a.getAttribute("data-"+b),typeof g==="string"){try{g=g==="true"?!0:g==="false"?!1:g==="null"?null:!c.isNaN(g)?parseFloat(g):B.test(g)?c.parseJSON(g):g}catch(j){}c.data(a,b,g)}else g=l;return g}function e(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(){return!1}function h(){return!0}function k(a,b,g){var j=c.extend({},g[0]);j.type=a;j.originalEvent={};j.liveFired=l;c.event.handle.call(b,j);j.isDefaultPrevented()&&g[0].preventDefault()}
function n(a){var b,g,j,p,d,f,e,h,l,k,m,i=[];p=[];d=c._data(this,"events");if(!(a.liveFired===this||!d||!d.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(m=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=d.live.slice(0);for(e=0;e<n.length;e++)d=n[e],d.origType.replace(Q,"")===a.type?p.push(d.selector):n.splice(e--,1);p=c(a.target).closest(p,a.currentTarget);h=0;for(l=p.length;h<l;h++){k=p[h];for(e=0;e<n.length;e++)if(d=n[e],k.selector===
d.selector&&(!m||m.test(d.namespace))&&!k.elem.disabled){f=k.elem;j=null;if(d.preType==="mouseenter"||d.preType==="mouseleave")a.type=d.preType,j=c(a.relatedTarget).closest(d.selector)[0];(!j||j!==f)&&i.push({elem:f,handleObj:d,level:k.level})}}h=0;for(l=i.length;h<l;h++){p=i[h];if(g&&p.level>g)break;a.currentTarget=p.elem;a.data=p.handleObj.data;a.handleObj=p.handleObj;m=p.handleObj.origHandler.apply(p.elem,arguments);if(m===!1||a.isPropagationStopped())if(g=p.level,m===!1&&(b=!1),a.isImmediatePropagationStopped())break}return b}}
function o(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Ia,"`").replace(Ja,"&")}function q(a,b,g){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===g});else if(b.nodeType)return c.grep(a,function(a){return a===b===g});else if(typeof b==="string"){var j=c.grep(a,function(a){return a.nodeType===1});if(Ka.test(b))return c.filter(b,j,!g);else b=c.filter(b,j)}return c.grep(a,function(a){return c.inArray(a,b)>=0===g})}function t(a,b){if(b.nodeType===1&&c.hasData(a)){var g=c.expando,
j=c.data(a),p=c.data(b,j);if(j=j[g]){var d=j.events,p=p[g]=c.extend({},j);if(d)for(var f in delete p.handle,p.events={},d){g=0;for(j=d[f].length;g<j;g++)c.event.add(b,f+(d[f][g].namespace?".":"")+d[f][g].namespace,d[f][g],d[f][g].data)}}}}function A(a,b){if(b.nodeType===1){var g=b.nodeName.toLowerCase();b.clearAttributes();b.mergeAttributes(a);if(g==="object")b.outerHTML=a.outerHTML;else if(g==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==
a.value)b.value=a.value}else if(g==="option")b.selected=a.defaultSelected;else if(g==="input"||g==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function w(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function x(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function H(a,b,g){var j=b==="width"?a.offsetWidth:
a.offsetHeight;if(g==="border")return j;c.each(b==="width"?La:Ma,function(){g||(j-=parseFloat(c.css(a,"padding"+this))||0);g==="margin"?j+=parseFloat(c.css(a,"margin"+this))||0:j-=parseFloat(c.css(a,"border"+this+"Width"))||0});return j}function K(a){return function(b,g){var s;typeof b!=="string"&&(g=b,b="*");if(c.isFunction(g))for(var j=b.toLowerCase().split(oa),p=0,d=j.length,f,e;p<d;p++)f=j[p],(e=/^\+/.test(f))&&(f=f.substr(1)||"*"),s=a[f]=a[f]||[],f=s,f[e?"unshift":"push"](g)}}function v(a,b,
c,j,p,d){p=p||b.dataTypes[0];d=d||{};d[p]=!0;for(var p=a[p],f=0,e=p?p.length:0,h=a===ha,k;f<e&&(h||!k);f++)k=p[f](b,c,j),typeof k==="string"&&(!h||d[k]?k=l:(b.dataTypes.unshift(k),k=v(a,b,c,j,k,d)));if((h||!k)&&!d["*"])k=v(a,b,c,j,"*",d);return k}function I(a,b,g,j){if(c.isArray(b)&&b.length)c.each(b,function(b,d){g||Na.test(a)?j(a,d):I(a+"["+(typeof d==="object"||c.isArray(d)?b:"")+"]",d,g,j)});else if(!g&&b!=null&&typeof b==="object")if(c.isArray(b)||c.isEmptyObject(b))j(a,"");else for(var d in b)I(a+
"["+d+"]",b[d],g,j);else j(a,b)}function L(){c(d).unload(function(){for(var a in W)W[a](0,1)})}function R(){try{return new d.XMLHttpRequest}catch(a){}}function u(a,b){var g={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){g[this]=a});return g}function y(a){if(!ia[a]){var b=c("<"+a+">").appendTo("body"),g=b.css("display");b.remove();if(g==="none"||g==="")g="block";ia[a]=g}return ia[a]}function E(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var m=d.document,c=function(){function a(){if(!b.isReady){try{m.documentElement.doScroll("left")}catch(c){setTimeout(a,
1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c,p)},c=d.jQuery,j=d.$,p,f=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,e=/\S/,h=/^\s+/,k=/\s+$/,D=/\d/,i=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,r=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,t=/(webkit)[ \/]([\w.]+)/,z=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,B=/(mozilla)(?:.*? rv:([\w.]+))?/,s=navigator.userAgent,ca,X,Oa=Object.prototype.toString,
ja=Object.prototype.hasOwnProperty,ka=Array.prototype.push,la=Array.prototype.slice,qa=String.prototype.trim,ra=Array.prototype.indexOf,w={};b.fn=b.prototype={constructor:b,init:function(a,c,g){var j;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!c&&m.body)return this.context=m,this[0]=m.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((j=f.exec(a))&&(j[1]||!c))if(j[1])return g=(c=c instanceof b?c[0]:c)?c.ownerDocument||c:m,(a=
i.exec(a))?b.isPlainObject(c)?(a=[m.createElement(a[1])],b.fn.attr.call(a,c,!0)):a=[g.createElement(a[1])]:(a=b.buildFragment([j[1]],[g]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),b.merge(this,a);else{if((c=m.getElementById(j[2]))&&c.parentNode){if(c.id!==j[2])return g.find(a);this.length=1;this[0]=c}this.context=m;this.selector=a;return this}else return!c||c.jquery?(c||g).find(a):this.constructor(c).find(a);else if(b.isFunction(a))return g.ready(a);if(a.selector!==l)this.selector=
a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return la.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,c,g){var j=this.constructor();b.isArray(a)?ka.apply(j,a):b.merge(j,a);j.prevObject=this;j.context=this.context;if(c==="find")j.selector=this.selector+(this.selector?" ":"")+g;else if(c)j.selector=this.selector+"."+c+"("+g+")";
return j},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();ca.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(la.apply(this,arguments),"slice",la.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ka,
sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,g,j,d,p=arguments[0]||{},s=1,f=arguments.length,e=!1;typeof p==="boolean"&&(e=p,p=arguments[1]||{},s=2);typeof p!=="object"&&!b.isFunction(p)&&(p={});f===s&&(p=this,--s);for(;s<f;s++)if((a=arguments[s])!=null)for(c in a)g=p[c],j=a[c],p!==j&&(e&&j&&(b.isPlainObject(j)||(d=b.isArray(j)))?(d?(d=!1,g=g&&b.isArray(g)?g:[]):g=g&&b.isPlainObject(g)?g:{},p[c]=b.extend(e,g,j)):j!==l&&(p[c]=j));return p};b.extend({noConflict:function(a){d.$=
j;if(a)d.jQuery=c;return b},isReady:!1,readyWait:1,ready:function(a){a===!0&&b.readyWait--;if(!b.readyWait||a!==!0&&!b.isReady){if(!m.body)return setTimeout(b.ready,1);b.isReady=!0;a!==!0&&--b.readyWait>0||(ca.resolveWith(m,[b]),b.fn.trigger&&b(m).trigger("ready").unbind("ready"))}},bindReady:function(){if(!ca){ca=b._Deferred();if(m.readyState==="complete")return setTimeout(b.ready,1);if(m.addEventListener)m.addEventListener("DOMContentLoaded",X,!1),d.addEventListener("load",b.ready,!1);else if(m.attachEvent){m.attachEvent("onreadystatechange",
X);d.attachEvent("onload",b.ready);var c=!1;try{c=d.frameElement==null}catch(g){}m.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!D.test(a)||isNaN(a)},type:function(a){return a==null?String(a):w[Oa.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;
if(a.constructor&&!ja.call(a,"constructor")&&!ja.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var c in a);return c===l||ja.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(n.test(a.replace(o,"@").replace(r,"]").replace(q,"")))return d.JSON&&d.JSON.parse?d.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},parseXML:function(a,c,g){d.DOMParser?
(g=new DOMParser,c=g.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a));g=c.documentElement;(!g||!g.nodeName||g.nodeName==="parsererror")&&b.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){if(a&&e.test(a)){var c=m.head||m.getElementsByTagName("head")[0]||m.documentElement,g=m.createElement("script");b.support.scriptEval()?g.appendChild(m.createTextNode(a)):g.text=a;c.insertBefore(g,c.firstChild);c.removeChild(g)}},nodeName:function(a,
b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,g){var j,d=0,p=a.length,s=p===l||b.isFunction(a);if(g)if(s)for(j in a){if(c.apply(a[j],g)===!1)break}else for(;d<p;){if(c.apply(a[d++],g)===!1)break}else if(s)for(j in a){if(c.call(a[j],j,a[j])===!1)break}else for(g=a[0];d<p&&c.call(g,d,g)!==!1;g=a[++d]);return a},trim:qa?function(a){return a==null?"":qa.call(a)}:function(a){return a==null?"":a.toString().replace(h,"").replace(k,"")},makeArray:function(a,c){var g=
c||[];if(a!=null){var j=b.type(a);a.length==null||j==="string"||j==="function"||j==="regexp"||b.isWindow(a)?ka.call(g,a):b.merge(g,a)}return g},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,g=b.length;c<g;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,g=0;if(typeof b.length==="number")for(var j=b.length;g<j;g++)a[c++]=b[g];else for(;b[g]!==l;)a[c++]=b[g++];a.length=c;return a},grep:function(a,b,c){for(var g=[],j,c=!!c,d=0,p=a.length;d<p;d++)j=!!b(a[d],d),
c!==j&&g.push(a[d]);return g},map:function(a,b,c){for(var g=[],j,d=0,p=a.length;d<p;d++)j=b(a[d],d,c),j!=null&&(g[g.length]=j);return g.concat.apply([],g)},guid:1,proxy:function(a,c,g){arguments.length===2&&(typeof c==="string"?(g=a,a=g[c],c=l):c&&!b.isFunction(c)&&(g=c,c=l));!c&&a&&(c=function(){return a.apply(g||this,arguments)});if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},access:function(a,c,g,j,d,p){var s=a.length;if(typeof c==="object"){for(var f in c)b.access(a,f,c[f],j,d,g);return a}if(g!==
l){j=!p&&j&&b.isFunction(g);for(f=0;f<s;f++)d(a[f],c,j?g.call(a[f],f,d(a[f],c)):g,p);return a}return s?d(a[0],c):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=t.exec(a)||z.exec(a)||x.exec(a)||a.indexOf("compatible")<0&&B.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.subclass=this.subclass;a.fn.init=function(g,
j){j&&j instanceof b&&!(j instanceof a)&&(j=a(j));return b.fn.init.call(this,g,j,c)};a.fn.init.prototype=a.fn;var c=a(m);return a},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){w["[object "+b+"]"]=b.toLowerCase()});s=b.uaMatch(s);if(s.browser)b.browser[s.browser]=!0,b.browser.version=s.version;if(b.browser.webkit)b.browser.safari=!0;if(ra)b.inArray=function(a,b){return ra.call(b,a)};e.test("\u00a0")&&(h=/^[\s\xA0]+/,k=/[\s\xA0]+$/);p=b(m);m.addEventListener?
X=function(){m.removeEventListener("DOMContentLoaded",X,!1);b.ready()}:m.attachEvent&&(X=function(){m.readyState==="complete"&&(m.detachEvent("onreadystatechange",X),b.ready())});return b}(),z="then done fail isResolved isRejected promise".split(" "),r=[].slice;c.extend({_Deferred:function(){var a=[],b,g,j,d={done:function(){if(!j){var g=arguments,f,e,h,k,l;b&&(l=b,b=0);f=0;for(e=g.length;f<e;f++)h=g[f],k=c.type(h),k==="array"?d.done.apply(d,h):k==="function"&&a.push(h);l&&d.resolveWith(l[0],l[1])}return this},
resolveWith:function(c,d){if(!j&&!b&&!g){d=d||[];g=1;try{for(;a[0];)a.shift().apply(c,d)}finally{b=[c,d],g=0}}return this},resolve:function(){d.resolveWith(this,arguments);return this},isResolved:function(){return!(!g&&!b)},cancel:function(){j=1;a=[];return this}};return d},Deferred:function(a){var b=c._Deferred(),g=c._Deferred(),j;c.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:g.done,rejectWith:g.resolveWith,reject:g.resolve,isRejected:g.isResolved,promise:function(a){if(a==null){if(j)return j;
j=a={}}for(var c=z.length;c--;)a[z[c]]=b[z[c]];return a}});b.done(g.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){g[a]=arguments.length>1?r.call(arguments,0):b;--f||e.resolveWith(e,r.call(g,0))}}var g=arguments,j=0,d=g.length,f=d,e=d<=1&&a&&c.isFunction(a.promise)?a:c.Deferred();if(d>1){for(;j<d;j++)g[j]&&c.isFunction(g[j].promise)?g[j].promise().then(b(j),e.reject):--f;f||e.resolveWith(e,g)}else e!==a&&e.resolveWith(e,d?[a]:[]);
return e.promise()}});(function(){c.support={};var a=m.createElement("div");a.style.display="none";a.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var b=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0],j=m.createElement("select"),p=j.appendChild(m.createElement("option")),f=a.getElementsByTagName("input")[0];if(b&&b.length&&g){c.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,
htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:/^0.55$/.test(g.style.opacity),cssFloat:!!g.style.cssFloat,checkOn:f.value==="on",optSelected:p.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0};f.checked=!0;c.support.noCloneChecked=f.cloneNode(!0).checked;
j.disabled=!0;c.support.optDisabled=!p.disabled;var e=null;c.support.scriptEval=function(){if(e===null){var a=m.documentElement,b=m.createElement("script"),g="script"+c.now();try{b.appendChild(m.createTextNode("window."+g+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);d[g]?(e=!0,delete d[g]):e=!1;a.removeChild(b)}return e};try{delete a.test}catch(h){c.support.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function D(){c.support.noCloneEvent=!1;a.detachEvent("onclick",
D)}),a.cloneNode(!0).fireEvent("onclick"));a=m.createElement("div");a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=m.createDocumentFragment();b.appendChild(a.firstChild);c.support.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;c(function(){var a=m.createElement("div"),b=m.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px";b.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=
1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var g=a.getElementsByTagName("td");c.support.reliableHiddenOffsets=g[0].offsetHeight===0;g[0].style.display="";g[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&g[0].offsetHeight===0;a.innerHTML="";if(m.defaultView&&
m.defaultView.getComputedStyle)a.style.width="1px",a.style.marginRight="0",c.support.reliableMarginRight=(parseInt(m.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0;b.removeChild(a).style.display="none"}});b=function(a){var b=m.createElement("div"),a="on"+a;if(!b.attachEvent)return!0;var c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};c.support.submitBubbles=b("submit");c.support.changeBubbles=b("change");a=b=g=null}})();var B=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},
uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!e(a)},data:function(a,b,g,j){if(c.acceptData(a)){var d=c.expando,f=typeof b==="string",e=a.nodeType,h=e?c.cache:a,k=e?a[c.expando]:a[c.expando]&&c.expando;if(k&&(!j||!k||h[k][d])||!(f&&g===l)){if(!k)e?a[c.expando]=k=++c.uuid:k=c.expando;if(!h[k]&&(h[k]={},!e))h[k].toJSON=
c.noop;if(typeof b==="object"||typeof b==="function")j?h[k][d]=c.extend(h[k][d],b):h[k]=c.extend(h[k],b);a=h[k];j&&(a[d]||(a[d]={}),a=a[d]);g!==l&&(a[b]=g);if(b==="events"&&!a[b])return a[d]&&a[d].events;return f?a[b]:a}}},removeData:function(a,b,g){if(c.acceptData(a)){var j=c.expando,p=a.nodeType,f=p?c.cache:a,h=p?a[c.expando]:c.expando;if(f[h]){if(b){var k=g?f[h][j]:f[h];if(k&&(delete k[b],!e(k)))return}if(g&&(delete f[h][j],!e(f[h])))return;b=f[h][j];c.support.deleteExpando||f!=d?delete f[h]:f[h]=
null;if(b){f[h]={};if(!p)f[h].toJSON=c.noop;f[h][j]=b}else p&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?a.removeAttribute(c.expando):a[c.expando]=null)}}},_data:function(a,b,g){return c.data(a,b,g,!0)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===!0||a.getAttribute("classid")!==b)}return!0}});c.fn.extend({data:function(a,b){var g=null;if(typeof a==="undefined"){if(this.length&&(g=c.data(this[0]),this[0].nodeType===1))for(var j=
this[0].attributes,d,f=0,e=j.length;f<e;f++)d=j[f].name,d.indexOf("data-")===0&&(d=d.substr(5),i(this[0],d,g[d]));return g}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var h=a.split(".");h[1]=h[1]?"."+h[1]:"";return b===l?(g=this.triggerHandler("getData"+h[1]+"!",[h[0]]),g===l&&this.length&&(g=c.data(this[0],a),g=i(this[0],a,g)),g===l&&h[1]?this.data(h[0]):g):this.each(function(){var g=c(this),j=[h[0],b];g.triggerHandler("setData"+h[1]+"!",j);c.data(this,a,b);g.triggerHandler("changeData"+
h[1]+"!",j)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,g){if(a){var b=(b||"fx")+"queue",j=c._data(a,b);if(!g)return j||[];!j||c.isArray(g)?j=c._data(a,b,c.makeArray(g)):j.push(g);return j}},dequeue:function(a,b){var b=b||"fx",g=c.queue(a,b),j=g.shift();j==="inprogress"&&(j=g.shift());j&&(b==="fx"&&g.unshift("inprogress"),j.call(a,function(){c.dequeue(a,b)}));g.length||c.removeData(a,b+"queue",!0)}});c.fn.extend({queue:function(a,b){typeof a!==
"string"&&(b=a,a="fx");if(b===l)return c.queue(this[0],a);return this.each(function(){var g=c.queue(this,a,b);a==="fx"&&g[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var g=this;setTimeout(function(){c.dequeue(g,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var P=/[\n\t\r]/g,G=/\s+/,M=/\r/g,Pa=/^(?:href|src|style)$/,N=/^(?:button|input)$/i,
Qa=/^(?:button|input|object|select|textarea)$/i,$=/^a(?:rea)?$/i,Y=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var g=
c(this);g.addClass(a.call(this,b,g.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(G),g=0,j=this.length;g<j;g++){var d=this[g];if(d.nodeType===1)if(d.className){for(var f=" "+d.className+" ",e=d.className,h=0,k=b.length;h<k;h++)f.indexOf(" "+b[h]+" ")<0&&(e+=" "+b[h]);d.className=c.trim(e)}else d.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var g=c(this);g.removeClass(a.call(this,b,g.attr("class")))});if(a&&typeof a==="string"||
a===l)for(var b=(a||"").split(G),g=0,j=this.length;g<j;g++){var d=this[g];if(d.nodeType===1&&d.className)if(a){for(var f=(" "+d.className+" ").replace(P," "),e=0,h=b.length;e<h;e++)f=f.replace(" "+b[e]+" "," ");d.className=c.trim(f)}else d.className=""}return this},toggleClass:function(a,b){var g=typeof a,j=typeof b==="boolean";if(c.isFunction(a))return this.each(function(g){var j=c(this);j.toggleClass(a.call(this,g,j.attr("class"),b),b)});return this.each(function(){if(g==="string")for(var d,f=0,
e=c(this),h=b,k=a.split(G);d=k[f++];)h=j?h:!e.hasClass(d),e[h?"addClass":"removeClass"](d);else if(g==="undefined"||g==="boolean")this.className&&c._data(this,"__className__",this.className),this.className=this.className||a===!1?"":c._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(P," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var g=
b.attributes.value;return!g||g.specified?b.value:b.text}if(c.nodeName(b,"select")){var g=b.selectedIndex,j=[],d=b.options,b=b.type==="select-one";if(g<0)return null;for(var f=b?g:0,e=b?g+1:d.length;f<e;f++){var h=d[f];if(h.selected&&(c.support.optDisabled?!h.disabled:h.getAttribute("disabled")===null)&&(!h.parentNode.disabled||!c.nodeName(h.parentNode,"optgroup"))){a=c(h).val();if(b)return a;j.push(a)}}if(b&&!j.length&&d.length)return c(d[g]).val();return j}if(Y.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===
null?"on":b.value;return(b.value||"").replace(M,"")}return l}var k=c.isFunction(a);return this.each(function(b){var g=c(this),j=a;if(this.nodeType===1)if(k&&(j=a.call(this,b,g.val())),j==null?j="":typeof j==="number"?j+="":c.isArray(j)&&(j=c.map(j,function(a){return a==null?"":a+""})),c.isArray(j)&&Y.test(this.type))this.checked=c.inArray(g.val(),j)>=0;else if(c.nodeName(this,"select")){var d=c.makeArray(j);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length)this.selectedIndex=
-1}else this.value=j})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,g,j){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return l;if(j&&b in c.attrFn)return c(a)[b](g);var j=a.nodeType!==1||!c.isXMLDoc(a),d=g!==l,b=j&&c.props[b]||b;if(a.nodeType===1){var f=Pa.test(b);if((b in a||a[b]!==l)&&j&&!f){d&&(b==="type"&&N.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),g===null?a.nodeType===1&&a.removeAttribute(b):
a[b]=g);if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Qa.test(a.nodeName)||$.test(a.nodeName)&&a.href?0:l;return a[b]}if(!c.support.style&&j&&b==="style"){if(d)a.style.cssText=""+g;return a.style.cssText}d&&a.setAttribute(b,""+g);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return l;a=!c.support.hrefNormalized&&j&&f?a.getAttribute(b,2):a.getAttribute(b);return a===null?
l:a}d&&(a[b]=g);return a[b]}});var Q=/\.(.*)$/,J=/^(?:textarea|input|select)$/i,Ia=/\./g,Ja=/ /g,Ra=/[^\w\s.|`]/g,Sa=function(a){return a.replace(Ra,"\\$&")};c.event={add:function(a,b,g,j){if(!(a.nodeType===3||a.nodeType===8)){try{c.isWindow(a)&&a!==d&&!a.frameElement&&(a=d)}catch(e){}if(g===!1)g=f;else if(!g)return;var h,k;if(g.handler)h=g,g=h.handler;if(!g.guid)g.guid=c.guid++;if(k=c._data(a)){var m=k.events,i=k.handle;if(!m)k.events=m={};if(!i)k.handle=i=function(a){return typeof c!=="undefined"&&
c.event.triggered!==a.type?c.event.handle.apply(i.elem,arguments):l};i.elem=a;for(var b=b.split(" "),D,n=0,o;D=b[n++];){k=h?c.extend({},h):{handler:g,data:j};D.indexOf(".")>-1?(o=D.split("."),D=o.shift(),k.namespace=o.slice(0).sort().join(".")):(o=[],k.namespace="");k.type=D;if(!k.guid)k.guid=g.guid;var r=m[D],q=c.event.special[D]||{};if(!r&&(r=m[D]=[],!q.setup||q.setup.call(a,j,o,i)===!1))a.addEventListener?a.addEventListener(D,i,!1):a.attachEvent&&a.attachEvent("on"+D,i);if(q.add&&(q.add.call(a,
k),!k.handler.guid))k.handler.guid=g.guid;r.push(k);c.event.global[D]=!0}a=null}}},global:{},remove:function(a,b,g,j){if(!(a.nodeType===3||a.nodeType===8)){g===!1&&(g=f);var d,e,h=0,k,m,i,n,o,r,q=c.hasData(a)&&c._data(a),t=q&&q.events;if(q&&t){if(b&&b.type)g=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(d in b=b||"",t)c.event.remove(a,d+b);else{for(b=b.split(" ");d=b[h++];)if(n=d,k=d.indexOf(".")<0,m=[],k||(m=d.split("."),d=m.shift(),i=RegExp("(^|\\.)"+c.map(m.slice(0).sort(),
Sa).join("\\.(?:.*\\.)?")+"(\\.|$)")),o=t[d])if(g){n=c.event.special[d]||{};for(e=j||0;e<o.length;e++)if(r=o[e],g.guid===r.guid){if(k||i.test(r.namespace))j==null&&o.splice(e--,1),n.remove&&n.remove.call(a,r);if(j!=null)break}if(o.length===0||j!=null&&o.length===1)(!n.teardown||n.teardown.call(a,m)===!1)&&c.removeEvent(a,d,q.handle),delete t[d]}else for(e=0;e<o.length;e++)if(r=o[e],k||i.test(r.namespace))c.event.remove(a,n,r.handler,e),o.splice(e--,1);if(c.isEmptyObject(t)){if(b=q.handle)b.elem=null;
delete q.events;delete q.handle;c.isEmptyObject(q)&&c.removeData(a,l,!0)}}}}},trigger:function(a,b,g,j){var d=a.type||a;if(!j){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(d),a):c.Event(d);if(d.indexOf("!")>=0)a.type=d=d.slice(0,-1),a.exclusive=!0;g||(a.stopPropagation(),c.event.global[d]&&c.each(c.cache,function(){var g=this[c.expando];g&&g.events&&g.events[d]&&c.event.trigger(a,b,g.handle.elem)}));if(!g||g.nodeType===3||g.nodeType===8)return l;a.result=l;a.target=g;b=c.makeArray(b);b.unshift(a)}a.currentTarget=
g;(j=c._data(g,"handle"))&&j.apply(g,b);j=g.parentNode||g.ownerDocument;try{if((!g||!g.nodeName||!c.noData[g.nodeName.toLowerCase()])&&g["on"+d]&&g["on"+d].apply(g,b)===!1)a.result=!1,a.preventDefault()}catch(f){}if(!a.isPropagationStopped()&&j)c.event.trigger(a,b,j,!0);else if(!a.isDefaultPrevented()){var e,j=a.target,h=d.replace(Q,""),k=c.nodeName(j,"a")&&h==="click",m=c.event.special[h]||{};if((!m._default||m._default.call(g,a)===!1)&&!k&&(!j||!j.nodeName||!c.noData[j.nodeName.toLowerCase()])){try{if(j[h])(e=
j["on"+h])&&(j["on"+h]=null),c.event.triggered=a.type,j[h]()}catch(i){}e&&(j["on"+h]=e);c.event.triggered=l}}},handle:function(a){var b,g,j,f;g=[];var e=c.makeArray(arguments),a=e[0]=c.event.fix(a||d.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)j=a.type.split("."),a.type=j.shift(),g=j.slice(0).sort(),j=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||g.join(".");f=c._data(this,"events");g=(f||{})[a.type];if(f&&g){g=g.slice(0);f=0;for(var h=g.length;f<
h;f++){var k=g[f];if(b||j.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,e);if(k!==l)a.result=k,k===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.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(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),g=this.props.length,j;g;)j=this.props[--g],a[j]=b[j];if(!a.target)a.target=a.srcElement||m;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)b=m.documentElement,g=m.body,a.pageX=a.clientX+(b&&b.scrollLeft||g&&g.scrollLeft||0)-(b&&b.clientLeft||g&&g.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||
g&&g.scrollTop||0)-(b&&b.clientTop||g&&g.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==l)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,o(a.origType,a.selector),c.extend({},a,{handler:n,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
o(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,g){if(c.isWindow(this))this.onbeforeunload=g},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=m.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?h:f):this.type=a;this.timeStamp=c.now();this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=h;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=h;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=h;this.stopPropagation()},
isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f};var sa=function(a){var b=a.relatedTarget;try{if(!b||b===m||b.parentNode){for(;b&&b!==this;)b=b.parentNode;if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}}catch(g){}},ta=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(g){c.event.add(this,b,g&&g.selector?ta:sa,a)},teardown:function(a){c.event.remove(this,
b,a&&a.selector?ta:sa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")c.event.add(this,"click.specialSubmit",function(a){var b=a.target,g=b.type;(g==="submit"||g==="image")&&c(b).closest("form").length&&k("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,g=b.type;(g==="text"||g==="password")&&c(b).closest("form").length&&a.keyCode===13&&k("submit",this,arguments)});else return!1},
teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var aa,ua=function(a){var b=a.type,g=a.value;if(b==="radio"||b==="checkbox")g=a.checked;else if(b==="select-multiple")g=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")g=a.selectedIndex;return g},da=function(a,b){var g=a.target,j,d;if(J.test(g.nodeName)&&!g.readOnly&&(j=c._data(g,"_change_data"),d=ua(g),(a.type!=="focusout"||g.type!==
"radio")&&c._data(g,"_change_data",d),!(j===l||d===j)))if(j!=null||d)a.type="change",a.liveFired=l,c.event.trigger(a,b,g)};c.event.special.change={filters:{focusout:da,beforedeactivate:da,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&da.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&da.call(this,a)},
beforeactivate:function(a){a=a.target;c._data(a,"_change_data",ua(a))}},setup:function(){if(this.type==="file")return!1;for(var a in aa)c.event.add(this,a+".specialChange",aa[a]);return J.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return J.test(this.nodeName)}};aa=c.event.special.change.filters;aa.focus=aa.beforeactivate}m.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function g(a){var g=c.event.fix(a);g.type=b;g.originalEvent={};c.event.trigger(g,
null,g.target);g.isDefaultPrevented()&&a.preventDefault()}var j=0;c.event.special[b]={setup:function(){j++===0&&m.addEventListener(a,g,!0)},teardown:function(){--j===0&&m.removeEventListener(a,g,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,j,d){if(typeof a==="object"){for(var f in a)this[b](f,j,a[f],d);return this}if(c.isFunction(j)||j===!1)d=j,j=l;var e=b==="one"?c.proxy(d,function(a){c(this).unbind(a,e);return d.apply(this,arguments)}):d;if(a==="unload"&&b!=="one")this.one(a,j,
d);else{f=0;for(var h=this.length;f<h;f++)c.event.add(this[f],a,e,j)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var g in a)this.unbind(g,a[g]);else{g=0;for(var j=this.length;g<j;g++)c.event.remove(this[g],a,b)}return this},delegate:function(a,b,c,j){return this.live(b,c,j,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},
triggerHandler:function(a,b){if(this[0]){var g=c.Event(a);g.preventDefault();g.stopPropagation();c.event.trigger(g,b,this[0]);return g.result}},toggle:function(a){for(var b=arguments,g=1;g<b.length;)c.proxy(a,b[g++]);return this.click(c.proxy(a,function(j){var d=(c._data(this,"lastToggle"+a.guid)||0)%g;c._data(this,"lastToggle"+a.guid,d+1);j.preventDefault();return b[d].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var va={focus:"focusin",blur:"focusout",
mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,j,d,f){var e,h=0,k,m,i=f||this.selector,f=f?this:c(this.context);if(typeof a==="object"&&!a.preventDefault){for(e in a)f[b](e,j,a[e],i);return this}c.isFunction(j)&&(d=j,j=l);for(a=(a||"").split(" ");(e=a[h++])!=null;)if(k=Q.exec(e),m="",k&&(m=k[0],e=e.replace(Q,"")),e==="hover")a.push("mouseenter"+m,"mouseleave"+m);else if(k=e,e==="focus"||e==="blur"?(a.push(va[e]+m),e+=m):e=(va[e]||e)+m,b==="live"){m=
0;for(var n=f.length;m<n;m++)c.event.add(f[m],"live."+o(e,i),{data:j,selector:i,handler:d,origType:e,origHandler:d,preType:k})}else f.unbind("live."+o(e,i),d);return this}});c.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(a,b){c.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&
(c.attrFn[b]=!0)});(function(){function a(a,c,b,g,j,d){for(var j=0,f=g.length;j<f;j++){var e=g[j];if(e){for(var h=!1,e=e[a];e;){if(e.sizcache===b){h=g[e.sizset];break}if(e.nodeType===1&&!d)e.sizcache=b,e.sizset=j;if(e.nodeName.toLowerCase()===c){h=e;break}e=e[a]}g[j]=h}}}function b(a,b,c,g,j,d){for(var j=0,f=g.length;j<f;j++){var e=g[j];if(e){for(var h=!1,e=e[a];e;){if(e.sizcache===c){h=g[e.sizset];break}if(e.nodeType===1){if(!d)e.sizcache=c,e.sizset=j;if(typeof b!=="string"){if(e===b){h=!0;break}}else if(i.filter(b,
[e]).length>0){h=e;break}}e=e[a]}g[j]=h}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,j=0,d=Object.prototype.toString,f=!1,e=!0,h=/\\/g,k=/\W/;[0,0].sort(function(){e=!1;return 0});var i=function(a,b,c,j){var c=c||[],f=b=b||m;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var e,h,k,l,F,ba=!0,q=i.isXML(b),r=[],na=a;do if(g.exec(""),e=g.exec(na))if(na=e[3],r.push(e[1]),e[2]){l=
e[3];break}while(e);if(r.length>1&&o.exec(a))if(r.length===2&&n.relative[r[0]])h=B(r[0]+r[1],b);else for(h=n.relative[r[0]]?[b]:i(r.shift(),b);r.length;)a=r.shift(),n.relative[a]&&(a+=r.shift()),h=B(a,h);else if(!j&&r.length>1&&b.nodeType===9&&!q&&n.match.ID.test(r[0])&&!n.match.ID.test(r[r.length-1])&&(e=i.find(r.shift(),b,q),b=e.expr?i.filter(e.expr,e.set)[0]:e.set[0]),b){e=j?{expr:r.pop(),set:t(j)}:i.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&b.parentNode?b.parentNode:b,q);h=e.expr?i.filter(e.expr,
e.set):e.set;for(r.length>0?k=t(h):ba=!1;r.length;)e=F=r.pop(),n.relative[F]?e=r.pop():F="",e==null&&(e=b),n.relative[F](k,e,q)}else k=[];k||(k=h);k||i.error(F||a);if(d.call(k)==="[object Array]")if(ba)if(b&&b.nodeType===1)for(a=0;k[a]!=null;a++)k[a]&&(k[a]===!0||k[a].nodeType===1&&i.contains(b,k[a]))&&c.push(h[a]);else for(a=0;k[a]!=null;a++)k[a]&&k[a].nodeType===1&&c.push(h[a]);else c.push.apply(c,k);else t(k,c);l&&(i(l,f,c,j),i.uniqueSort(c));return c};i.uniqueSort=function(a){if(x&&(f=e,a.sort(x),
f))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};i.matches=function(a,b){return i(a,null,null,b)};i.matchesSelector=function(a,b){return i(b,null,null,[a]).length>0};i.find=function(a,b,c){var g;if(!a)return[];for(var j=0,d=n.order.length;j<d;j++){var e,f=n.order[j];if(e=n.leftMatch[f].exec(a)){var k=e[1];e.splice(1,1);if(k.substr(k.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(h,""),g=n.find[f](e,b,c),g!=null)){a=a.replace(n.match[f],"");break}}}g||(g=typeof b.getElementsByTagName!==
"undefined"?b.getElementsByTagName("*"):[]);return{set:g,expr:a}};i.filter=function(a,b,c,g){for(var j,d,e=a,f=[],h=b,k=b&&b[0]&&i.isXML(b[0]);a&&b.length;){for(var p in n.filter)if((j=n.leftMatch[p].exec(a))!=null&&j[2]){var m,F,ba=n.filter[p];F=j[1];d=!1;j.splice(1,1);if(F.substr(F.length-1)!=="\\"){h===f&&(f=[]);if(n.preFilter[p])if(j=n.preFilter[p](j,h,c,f,g,k)){if(j===!0)continue}else d=m=!0;if(j)for(var r=0;(F=h[r])!=null;r++)if(F){m=ba(F,j,r,h);var o=g^!!m;c&&m!=null?o?d=!0:h[r]=!1:o&&(f.push(F),
d=!0)}if(m!==l){c||(h=f);a=a.replace(n.match[p],"");if(!d)return[];break}}}if(a===e)if(d==null)i.error(a);else break;e=a}return h};i.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var n=i.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(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=
typeof b==="string",g=c&&!k.test(b),c=c&&!g;g&&(b=b.toLowerCase());for(var g=0,j=a.length,d;g<j;g++)if(d=a[g]){for(;(d=d.previousSibling)&&d.nodeType!==1;);a[g]=c||d&&d.nodeName.toLowerCase()===b?d||!1:d===b}c&&i.filter(b,a,!0)},">":function(a,b){var c,g=typeof b==="string",j=0,d=a.length;if(g&&!k.test(b))for(b=b.toLowerCase();j<d;j++){if(c=a[j])c=c.parentNode,a[j]=c.nodeName.toLowerCase()===b?c:!1}else{for(;j<d;j++)(c=a[j])&&(a[j]=g?c.parentNode:c.parentNode===b);g&&i.filter(b,a,!0)}},"":function(c,
g,d){var e,f=j++,h=b;typeof g==="string"&&!k.test(g)&&(e=g=g.toLowerCase(),h=a);h("parentNode",g,f,c,e,d)},"~":function(c,g,d){var e,f=j++,h=b;typeof g==="string"&&!k.test(g)&&(e=g=g.toLowerCase(),h=a);h("previousSibling",g,f,c,e,d)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],g=b.getElementsByName(a[1]),j=0,d=g.length;j<d;j++)g[j].getAttribute("name")===
a[1]&&c.push(g[j]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,g,j,d){a=" "+a[1].replace(h,"")+" ";if(d)return a;for(var d=0,e;(e=b[d])!=null;d++)e&&(j^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||g.push(e):c&&(b[d]=!1));return!1},ID:function(a){return a[1].replace(h,"")},TAG:function(a){return a[1].replace(h,"").toLowerCase()},CHILD:function(a){if(a[1]===
"nth"){a[2]||i.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&i.error(a[0]);a[0]=j++;return a},ATTR:function(a,b,c,g,j,d){b=a[1]=a[1].replace(h,"");!d&&n.attrMap[b]&&(a[1]=n.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(h,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,j,d){if(a[1]==="not")if((g.exec(a[3])||"").length>1||
/^\w/.test(a[3]))a[3]=i(a[3],null,null,b);else return a=i.filter(a[3],b,c,1^d),c||j.push.apply(j,a),!1;else if(n.match.POS.test(a[0])||n.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},
has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),a=a.type;return"text"===a&&(b===a||b===null)},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===
a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,g){return b===g.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,g){var j=b[1],d=n.filters[j];if(d)return d(a,
c,b,g);else if(j==="contains")return(a.textContent||a.innerText||i.getText([a])||"").indexOf(b[3])>=0;else if(j==="not"){b=b[3];c=0;for(g=b.length;c<g;c++)if(b[c]===a)return!1;return!0}else i.error(j)},CHILD:function(a,b){var c=b[1],g=a;switch(c){case "only":case "first":for(;g=g.previousSibling;)if(g.nodeType===1)return!1;if(c==="first")return!0;g=a;case "last":for(;g=g.nextSibling;)if(g.nodeType===1)return!1;return!0;case "nth":var c=b[2],j=b[3];if(c===1&&j===0)return!0;var d=b[0],e=a.parentNode;
if(e&&(e.sizcache!==d||!a.nodeIndex)){for(var f=0,g=e.firstChild;g;g=g.nextSibling)if(g.nodeType===1)g.nodeIndex=++f;e.sizcache=d}g=a.nodeIndex-j;return c===0?g===0:g%c===0&&g/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=n.attrHandle[c]?n.attrHandle[c](a):a[c]!=null?a[c]:
a.getAttribute(c),g=c+"",j=b[2],d=b[4];return c==null?j==="!=":j==="="?g===d:j==="*="?g.indexOf(d)>=0:j==="~="?(" "+g+" ").indexOf(d)>=0:!d?g&&c!==!1:j==="!="?g!==d:j==="^="?g.indexOf(d)===0:j==="$="?g.substr(g.length-d.length)===d:j==="|="?g===d||g.substr(0,d.length+1)===d+"-":!1},POS:function(a,b,c,g){var j=n.setFilters[b[2]];if(j)return j(a,c,b,g)}}},o=n.match.POS,r=function(a,b){return"\\"+(b-0+1)},q;for(q in n.match)n.match[q]=RegExp(n.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source),n.leftMatch[q]=
RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[q].source.replace(/\\(\d+)/g,r));var t=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(m.documentElement.childNodes,0)}catch(z){t=function(a,b){var c=0,g=b||[];if(d.call(a)==="[object Array]")Array.prototype.push.apply(g,a);else if(typeof a.length==="number")for(var j=a.length;c<j;c++)g.push(a[c]);else for(;a[c];c++)g.push(a[c]);return g}}var x,w;m.documentElement.compareDocumentPosition?
x=function(a,b){if(a===b)return f=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(x=function(a,b){var c,g,j=[],d=[];c=a.parentNode;g=b.parentNode;var e=c;if(a===b)return f=!0,0;else if(c===g)return w(a,b);else if(c){if(!g)return 1}else return-1;for(;e;)j.unshift(e),e=e.parentNode;for(e=g;e;)d.unshift(e),e=e.parentNode;c=j.length;g=d.length;for(e=0;e<c&&e<g;e++)if(j[e]!==d[e])return w(j[e],d[e]);return e===
c?w(a,d[e],-1):w(j[e],b,1)},w=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});i.getText=function(a){for(var b="",c,g=0;a[g];g++)c=a[g],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=i.getText(c.childNodes));return b};(function(){var a=m.createElement("div"),b="script"+(new Date).getTime(),c=m.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(m.getElementById(b))n.find.ID=function(a,b,c){if(typeof b.getElementById!==
"undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:l:[]},n.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=m.createElement("div");a.appendChild(m.createComment(""));if(a.getElementsByTagName("*").length>0)n.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);
if(a[1]==="*"){for(var g=[],j=0;c[j];j++)c[j].nodeType===1&&g.push(c[j]);c=g}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();m.querySelectorAll&&function(){var a=i,b=m.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){i=function(b,c,g,j){c=c||m;if(!j&&!i.isXML(c)){var d=
/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(d&&(c.nodeType===1||c.nodeType===9))if(d[1])return t(c.getElementsByTagName(b),g);else if(d[2]&&n.find.CLASS&&c.getElementsByClassName)return t(c.getElementsByClassName(d[2]),g);if(c.nodeType===9){if(b==="body"&&c.body)return t([c.body],g);else if(d&&d[3]){var e=c.getElementById(d[3]);if(e&&e.parentNode){if(e.id===d[3])return t([e],g)}else return t([],g)}try{return t(c.querySelectorAll(b),g)}catch(f){}}else if(c.nodeType===1&&c.nodeName.toLowerCase()!==
"object"){var d=c,h=(e=c.getAttribute("id"))||"__sizzle__",k=c.parentNode,p=/^\s*[+~]/.test(b);e?h=h.replace(/'/g,"\\$&"):c.setAttribute("id",h);if(p&&k)c=c.parentNode;try{if(!p||k)return t(c.querySelectorAll("[id='"+h+"'] "+b),g)}catch(l){}finally{e||d.removeAttribute("id")}}}return a(b,c,g,j)};for(var c in a)i[c]=a[c];b=null}}();(function(){var a=m.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var c=!b.call(m.createElement("div"),"div"),
g=!1;try{b.call(m.documentElement,"[test!='']:sizzle")}catch(j){g=!0}i.matchesSelector=function(a,j){j=j.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isXML(a))try{if(g||!n.match.PSEUDO.test(j)&&!/!=/.test(j)){var d=b.call(a,j);if(d||!c||a.document&&a.document.nodeType!==11)return d}}catch(e){}return i(j,null,null,[a]).length>0}}})();(function(){var a=m.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==
0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))n.order.splice(1,0,"CLASS"),n.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();i.contains=m.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:m.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};i.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?
a.nodeName!=="HTML":!1};var B=function(a,b){for(var c,g=[],j="",d=b.nodeType?[b]:b;c=n.match.PSEUDO.exec(a);)j+=c[0],a=a.replace(n.match.PSEUDO,"");a=n.relative[a]?a+"*":a;c=0;for(var e=d.length;c<e;c++)i(a,d[c],g);return i.filter(j,g)};c.find=i;c.expr=i.selectors;c.expr[":"]=c.expr.filters;c.unique=i.uniqueSort;c.text=i.getText;c.isXMLDoc=i.isXML;c.contains=i.contains})();var Ta=/Until$/,Ua=/^(?:parents|prevUntil|prevAll)/,Va=/,/,Ka=/^.[^:#\[\.,]*$/,Wa=Array.prototype.slice,Xa=c.expr.match.POS,Ya=
{children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),g=0,j=0,d=this.length;j<d;j++)if(g=b.length,c.find(a,this[j],b),j>0)for(var e=g;e<b.length;e++)for(var f=0;f<g;f++)if(b[f]===b[e]){b.splice(e--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,j=b.length;a<j;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(q(this,a,!1),"not",a)},filter:function(a){return this.pushStack(q(this,
a,!0),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var g=[],j,d,e=this[0];if(c.isArray(a)){var f,h={},k=1;if(e&&a.length){j=0;for(d=a.length;j<d;j++)f=a[j],h[f]||(h[f]=c.expr.match.POS.test(f)?c(f,b||this.context):f);for(;e&&e.ownerDocument&&e!==b;){for(f in h)j=h[f],(j.jquery?j.index(e)>-1:c(e).is(j))&&g.push({selector:f,elem:e,level:k});e=e.parentNode;k++}}return g}f=Xa.test(a)?c(a,b||this.context):null;j=0;for(d=this.length;j<d;j++)for(e=this[j];e;)if(f?
f.index(e)>-1:c.find.matchesSelector(e,a)){g.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===b)break;g=g.length>1?c.unique(g):g;return this.pushStack(g,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var g=typeof a==="string"?c(a,b):c.makeArray(a),j=c.merge(this.get(),g);return this.pushStack(!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11||!j[0]||!j[0].parentNode||
j[0].parentNode.nodeType===11?j:c.unique(j))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,g){return c.dir(a,"parentNode",g)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,
b,g){return c.dir(a,"nextSibling",g)},prevUntil:function(a,b,g){return c.dir(a,"previousSibling",g)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(g,j){var d=c.map(this,b,g),e=Wa.call(arguments);Ta.test(a)||(j=g);j&&typeof j==="string"&&(d=c.filter(j,d));d=this.length>1&&!Ya[a]?
c.unique(d):d;if((this.length>1||Va.test(j))&&Ua.test(a))d=d.reverse();return this.pushStack(d,a,e.join(","))}});c.extend({filter:function(a,b,g){g&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,g){for(var j=[],a=a[b];a&&a.nodeType!==9&&(g===l||a.nodeType!==1||!c(a).is(g));)a.nodeType===1&&j.push(a),a=a[b];return j},nth:function(a,b,c){for(var b=b||1,j=0;a;a=a[c])if(a.nodeType===1&&++j===b)break;return a},sibling:function(a,b){for(var c=
[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Za=/ jQuery\d+="(?:\d+|null)"/g,ma=/^\s+/,wa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,xa=/<([\w:]+)/,$a=/<tbody/i,ab=/<|&#?\w+;/,ya=/<(?:script|object|embed|option|style)/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,C={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,"",""]};C.optgroup=C.option;C.tbody=C.tfoot=C.colgroup=C.caption=C.thead;C.th=C.td;if(!c.support.htmlSerialize)C._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var g=c(this);g.text(a.call(this,b,g.text()))});if(typeof a!=="object"&&a!==l)return this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(a));
return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),
g=b.contents();g.length?g.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&
this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,
b){for(var g=0,j;(j=this[g])!=null;g++)if(!a||c.filter(a,[j]).length)!b&&j.nodeType===1&&(c.cleanData(j.getElementsByTagName("*")),c.cleanData([j])),j.parentNode&&j.parentNode.removeChild(j);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?!1:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===
l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Za,""):null;else if(typeof a==="string"&&!ya.test(a)&&(c.support.leadingWhitespace||!ma.test(a))&&!C[(xa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(wa,"<$1></$2>");try{for(var b=0,g=this.length;b<g;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(j){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var g=c(this);g.html(a.call(this,b,g.html()))}):this.empty().append(a);
return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var g=c(this),j=g.html();g.replaceWith(a.call(this,b,j))});typeof a!=="string"&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,g=this.parentNode;c(this).remove();b?c(b).before(a):c(g).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,g){var j,d,e,
f=a[0],h=[];if(!c.support.checkClone&&arguments.length===3&&typeof f==="string"&&za.test(f))return this.each(function(){c(this).domManip(a,b,g,!0)});if(c.isFunction(f))return this.each(function(j){var d=c(this);a[0]=f.call(this,j,b?d.html():l);d.domManip(a,b,g)});if(this[0]){j=f&&f.parentNode;j=c.support.parentNode&&j&&j.nodeType===11&&j.childNodes.length===this.length?{fragment:j}:c.buildFragment(a,this,h);e=j.fragment;if(d=e.childNodes.length===1?e=e.firstChild:e.firstChild){b=b&&c.nodeName(d,"tr");
d=0;for(var k=this.length,i=k-1;d<k;d++)g.call(b?c.nodeName(this[d],"table")?this[d].getElementsByTagName("tbody")[0]||this[d].appendChild(this[d].ownerDocument.createElement("tbody")):this[d]:this[d],j.cacheable||k>1&&d<i?c.clone(e,!0,!0):e)}h.length&&c.each(h,x)}return this}});c.buildFragment=function(a,b,g){var j,d,e,b=b&&b[0]?b[0].ownerDocument||b[0]:m;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===m&&a[0].charAt(0)==="<"&&!ya.test(a[0])&&(c.support.checkClone||!za.test(a[0])))d=
!0,(e=c.fragments[a[0]])&&e!==1&&(j=e);j||(j=b.createDocumentFragment(),c.clean(a,b,j,g));d&&(c.fragments[a[0]]=e?j:1);return{fragment:j,cacheable:d}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(g){var j=[],g=c(g),d=this.length===1&&this[0].parentNode;if(d&&d.nodeType===11&&d.childNodes.length===1&&g.length===1)return g[b](this[0]),this;else{for(var d=0,e=g.length;d<e;d++){var f=(d>
0?this.clone(!0):this).get();c(g[d])[b](f);j=j.concat(f)}return this.pushStack(j,a,g.selector)}}});c.extend({clone:function(a,b,g){var d=a.cloneNode(!0),e,f,h;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){A(a,d);e=w(a);f=w(d);for(h=0;e[h];++h)A(e[h],f[h])}if(b&&(t(a,d),g)){e=w(a);f=w(d);for(h=0;e[h];++h)t(e[h],f[h])}return d},clean:function(a,b,g,d){b=b||m;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||
m);for(var e=[],f=0,h;(h=a[f])!=null;f++)if(typeof h==="number"&&(h+=""),h){if(typeof h==="string"&&!ab.test(h))h=b.createTextNode(h);else if(typeof h==="string"){h=h.replace(wa,"<$1></$2>");var k=(xa.exec(h)||["",""])[1].toLowerCase(),i=C[k]||C._default,l=i[0],n=b.createElement("div");for(n.innerHTML=i[1]+h+i[2];l--;)n=n.lastChild;if(!c.support.tbody){l=$a.test(h);k=k==="table"&&!l?n.firstChild&&n.firstChild.childNodes:i[1]==="<table>"&&!l?n.childNodes:[];for(i=k.length-1;i>=0;--i)c.nodeName(k[i],
"tbody")&&!k[i].childNodes.length&&k[i].parentNode.removeChild(k[i])}!c.support.leadingWhitespace&&ma.test(h)&&n.insertBefore(b.createTextNode(ma.exec(h)[0]),n.firstChild);h=n.childNodes}h.nodeType?e.push(h):e=c.merge(e,h)}if(g)for(f=0;e[f];f++)d&&c.nodeName(e[f],"script")&&(!e[f].type||e[f].type.toLowerCase()==="text/javascript")?d.push(e[f].parentNode?e[f].parentNode.removeChild(e[f]):e[f]):(e[f].nodeType===1&&e.splice.apply(e,[f+1,0].concat(c.makeArray(e[f].getElementsByTagName("script")))),g.appendChild(e[f]));
return e},cleanData:function(a){for(var b,g,d=c.cache,e=c.expando,f=c.event.special,h=c.support.deleteExpando,k=0,i;(i=a[k])!=null;k++)if(!i.nodeName||!c.noData[i.nodeName.toLowerCase()])if(g=i[c.expando]){if((b=d[g]&&d[g][e])&&b.events){for(var l in b.events)f[l]?c.event.remove(i,l):c.removeEvent(i,l,b.handle);if(b.handle)b.handle.elem=null}h?delete i[c.expando]:i.removeAttribute&&i.removeAttribute(c.expando);delete d[g]}}});var Aa=/alpha\([^)]*\)/i,bb=/opacity=([^)]*)/,cb=/-([a-z])/ig,db=/([A-Z]|^ms)/g,
Ba=/^-?\d+(?:px)?$/i,eb=/^-?\d/,fb={position:"absolute",visibility:"hidden",display:"block"},La=["Left","Right"],Ma=["Top","Bottom"],Z,S,ea,gb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===l)return this;return c.access(this,a,b,!0,function(a,b,d){return d!==l?c.style(a,b,d):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Z(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,
opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,g,d){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,f=c.camelCase(b),h=a.style,k=c.cssHooks[f],b=c.cssProps[f]||f;if(g!==l){if(!(typeof g==="number"&&isNaN(g)||g==null))if(typeof g==="number"&&!c.cssNumber[f]&&(g+="px"),!k||!("set"in k)||(g=k.set(a,g))!==l)try{h[b]=g}catch(i){}}else{if(k&&"get"in k&&(e=k.get(a,!1,d))!==l)return e;return h[b]}}},css:function(a,b,g){var d,e=c.camelCase(b),
f=c.cssHooks[e],b=c.cssProps[e]||e;if(f&&"get"in f&&(d=f.get(a,!0,g))!==l)return d;else if(Z)return Z(a,b,e)},swap:function(a,b,c){var d={},e;for(e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(cb,gb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,d,e){var f;if(d){a.offsetWidth!==0?f=H(a,b,e):c.swap(a,fb,function(){f=H(a,b,e)});if(f<=0&&(f=Z(a,b,b),f==="0px"&&ea&&(f=ea(a,b,b)),f!=null))return f===
""||f==="auto"?"0px":f;if(f<0||f==null)return f=a.style[b],f===""||f==="auto"?"0px":f;return typeof f==="string"?f:f+"px"}},set:function(a,b){if(Ba.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return bb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var g=a.style;g.zoom=1;var d=c.isNaN(b)?"":"alpha(opacity="+b*100+")",e=g.filter||"";g.filter=
Aa.test(e)?e.replace(Aa,d):g.filter+" "+d}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var g;c.swap(a,{display:"inline-block"},function(){g=b?Z(a,"margin-right","marginRight"):a.style.marginRight});return g}}});m.defaultView&&m.defaultView.getComputedStyle&&(S=function(a,b,g){var d,g=g.replace(db,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return l;if(b=b.getComputedStyle(a,null))d=b.getPropertyValue(g),d===""&&!c.contains(a.ownerDocument.documentElement,
a)&&(d=c.style(a,g));return d});m.documentElement.currentStyle&&(ea=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;if(!Ba.test(d)&&eb.test(d)){c=f.left;if(e)a.runtimeStyle.left=a.currentStyle.left;f.left=b==="fontSize"?"1em":d||0;d=f.pixelLeft+"px";f.left=c;if(e)a.runtimeStyle.left=e}return d===""?"auto":d});Z=S||ea;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&
(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var hb=/%20/g,Na=/\[\]$/,Ca=/\r?\n/g,ib=/#.*$/,jb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,kb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,lb=/^(?:GET|HEAD)$/,mb=/^\/\//,Da=/\?/,nb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ob=/^(?:select|textarea)/i,oa=/\s+/,pb=/([?&])_=[^&]*/,qb=/(^|\-)([a-z])/g,rb=function(a,b,c){return b+c.toUpperCase()},
Ea=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Fa=c.fn.load,ha={},Ga={},T,U;try{T=m.location.href}catch(xb){T=m.createElement("a"),T.href="",T=T.href}U=Ea.exec(T.toLowerCase())||[];c.fn.extend({load:function(a,b,g){if(typeof a!=="string"&&Fa)return Fa.apply(this,arguments);else if(!this.length)return this;var d=a.indexOf(" ");if(d>=0)var e=a.slice(d,a.length),a=a.slice(0,d);d="GET";b&&(c.isFunction(b)?(g=b,b=l):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),d="POST"));var f=this;
c.ajax({url:a,type:d,dataType:"html",data:b,complete:function(a,b,d){d=a.responseText;a.isResolved()&&(a.done(function(a){d=a}),f.html(e?c("<div>").append(d.replace(nb,"")).find(e):d));g&&f.each(g,[d,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ob.test(this.nodeName)||kb.test(this.type))}).map(function(a,
b){var g=c(this).val();return g==null?null:c.isArray(g)?c.map(g,function(a){return{name:b.name,value:a.replace(Ca,"\r\n")}}):{name:b.name,value:g.replace(Ca,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.each(["get","post"],function(a,b){c[b]=function(a,d,e,f){c.isFunction(d)&&(f=f||e,e=d,d=l);return c.ajax({type:b,url:a,data:d,success:e,dataType:f})}});c.extend({getScript:function(a,
b){return c.get(a,l,b,"script")},getJSON:function(a,b,g){return c.get(a,b,g,"json")},ajaxSetup:function(a,b){b?c.extend(!0,a,c.ajaxSettings,b):(b=a,a=c.extend(!0,c.ajaxSettings,b));for(var g in{context:1,url:1})g in b?a[g]=b[g]:g in c.ajaxSettings&&(a[g]=c.ajaxSettings[g]);return a},ajaxSettings:{url:T,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(U[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":d.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML}},ajaxPrefilter:K(ha),ajaxTransport:K(Ga),ajax:function(a,b){function g(a,b,g,n){if(x!==2){x=2;t&&clearTimeout(t);q=l;r=n||"";s.readyState=a?4:0;var o,z,B;if(g){var n=d,P=s,A=n.contents,G=n.dataTypes,Q=n.responseFields,u,v,
M,Y;for(v in Q)v in g&&(P[Q[v]]=g[v]);for(;G[0]==="*";)G.shift(),u===l&&(u=n.mimeType||P.getResponseHeader("content-type"));if(u)for(v in A)if(A[v]&&A[v].test(u)){G.unshift(v);break}if(G[0]in g)M=G[0];else{for(v in g){if(!G[0]||n.converters[v+" "+G[0]]){M=v;break}Y||(Y=v)}M=M||Y}M?(M!==G[0]&&G.unshift(M),g=g[M]):g=void 0}else g=l;if(a>=200&&a<300||a===304){if(d.ifModified){if(u=s.getResponseHeader("Last-Modified"))c.lastModified[m]=u;if(u=s.getResponseHeader("Etag"))c.etag[m]=u}if(a===304)b="notmodified",
o=!0;else try{u=d;u.dataFilter&&(g=u.dataFilter(g,u.dataType));var H=u.dataTypes;v={};var y,K,I=H.length,C,O=H[0],E,$,N,J,V;for(y=1;y<I;y++){if(y===1)for(K in u.converters)typeof K==="string"&&(v[K.toLowerCase()]=u.converters[K]);E=O;O=H[y];if(O==="*")O=E;else if(E!=="*"&&E!==O){$=E+" "+O;N=v[$]||v["* "+O];if(!N)for(J in V=l,v)if(C=J.split(" "),C[0]===E||C[0]==="*")if(V=v[C[1]+" "+O]){J=v[J];J===!0?N=V:V===!0&&(N=J);break}!N&&!V&&c.error("No conversion from "+$.replace(" "," to "));N!==!0&&(g=N?N(g):
V(J(g)))}}z=g;b="success";o=!0}catch(L){b="parsererror",B=L}}else if(B=b,!b||a)b="error",a<0&&(a=0);s.status=a;s.statusText=b;o?h.resolveWith(e,[z,b,s]):h.rejectWith(e,[s,b,B]);s.statusCode(i);i=l;w&&f.trigger("ajax"+(o?"Success":"Error"),[s,d,o?z:B]);k.resolveWith(e,[s,b]);w&&(f.trigger("ajaxComplete",[s,d]),--c.active||c.event.trigger("ajaxStop"))}}typeof a==="object"&&(b=a,a=l);var b=b||{},d=c.ajaxSetup({},b),e=d.context||d,f=e!==d&&(e.nodeType||e instanceof c)?c(e):c.event,h=c.Deferred(),k=c._Deferred(),
i=d.statusCode||{},m,n={},r,o,q,t,z,x=0,w,B,s={readyState:0,setRequestHeader:function(a,b){x||(n[a.toLowerCase().replace(qb,rb)]=b);return this},getAllResponseHeaders:function(){return x===2?r:null},getResponseHeader:function(a){var b;if(x===2){if(!o)for(o={};b=jb.exec(r);)o[b[1].toLowerCase()]=b[2];b=o[a.toLowerCase()]}return b===l?null:b},overrideMimeType:function(a){if(!x)d.mimeType=a;return this},abort:function(a){a=a||"abort";q&&q.abort(a);g(0,a);return this}};h.promise(s);s.success=s.done;s.error=
s.fail;s.complete=k.done;s.statusCode=function(a){if(a){var b;if(x<2)for(b in a)i[b]=[i[b],a[b]];else b=a[s.status],s.then(b,b)}return this};d.url=((a||d.url)+"").replace(ib,"").replace(mb,U[1]+"//");d.dataTypes=c.trim(d.dataType||"*").toLowerCase().split(oa);if(d.crossDomain==null)z=Ea.exec(d.url.toLowerCase()),d.crossDomain=!(!z||!(z[1]!=U[1]||z[2]!=U[2]||(z[3]||(z[1]==="http:"?80:443))!=(U[3]||(U[1]==="http:"?80:443))));if(d.data&&d.processData&&typeof d.data!=="string")d.data=c.param(d.data,d.traditional);
v(ha,d,b,s);if(x===2)return!1;w=d.global;d.type=d.type.toUpperCase();d.hasContent=!lb.test(d.type);w&&c.active++===0&&c.event.trigger("ajaxStart");if(!d.hasContent&&(d.data&&(d.url+=(Da.test(d.url)?"&":"?")+d.data),m=d.url,d.cache===!1)){z=c.now();var P=d.url.replace(pb,"$1_="+z);d.url=P+(P===d.url?(Da.test(d.url)?"&":"?")+"_="+z:"")}if(d.data&&d.hasContent&&d.contentType!==!1||b.contentType)n["Content-Type"]=d.contentType;d.ifModified&&(m=m||d.url,c.lastModified[m]&&(n["If-Modified-Since"]=c.lastModified[m]),
c.etag[m]&&(n["If-None-Match"]=c.etag[m]));n.Accept=d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"];for(B in d.headers)s.setRequestHeader(B,d.headers[B]);if(d.beforeSend&&(d.beforeSend.call(e,s,d)===!1||x===2))return s.abort(),!1;for(B in{success:1,error:1,complete:1})s[B](d[B]);if(q=v(Ga,d,b,s)){s.readyState=1;w&&f.trigger("ajaxSend",[s,d]);d.async&&d.timeout>0&&(t=setTimeout(function(){s.abort("timeout")},d.timeout));try{x=
1,q.send(n,g)}catch(A){status<2?g(-1,A):c.error(A)}}else g(-1,"No Transport");return s},param:function(a,b){var d=[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===l)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in a)I(f,a[f],b,e);return d.join("&").replace(hb,"+")}});c.extend({active:0,lastModified:{},etag:{}});var sb=c.now(),fa=/(\=)\?(&|$)|\?\?/i;
c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+sb++}});c.ajaxPrefilter("json jsonp",function(a,b,g){var e=typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||b.jsonpCallback||b.jsonp!=null||a.jsonp!==!1&&(fa.test(a.url)||e&&fa.test(a.data))){var f,h=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,k=d[h],b=a.url,i=a.data,m="$1"+h+"$2",l=function(){d[h]=k;if(f&&c.isFunction(k))d[h](f[0])};a.jsonp!==!1&&(b=b.replace(fa,m),a.url===b&&(e&&
(i=i.replace(fa,m)),a.data===i&&(b+=(/\?/.test(b)?"&":"?")+a.jsonp+"="+h)));a.url=b;a.data=i;d[h]=function(a){f=[a]};g.then(l,l);a.converters["script json"]=function(){f||c.error(h+" was not called");return f[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",
function(a){if(a.cache===l)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=m.head||m.getElementsByTagName("head")[0]||m.documentElement;return{send:function(d,e){b=m.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,d){if(!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),
b=l,d||e(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var tb=c.now(),W;c.ajaxSettings.xhr=d.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&R()))a:{try{a=new d.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:R;S=c.ajaxSettings.xhr();c.support.ajax=!!S;c.support.cors=S&&"withCredentials"in S;S=l;c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),h,k;a.username?
f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(k in a.xhrFields)f[k]=a.xhrFields[k];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(k in d)f.setRequestHeader(k,d[k])}catch(i){}f.send(a.hasContent&&a.data||null);b=function(d,g){var k,i,m,n,r;try{if(b&&(g||f.readyState===4)){b=l;if(h)f.onreadystatechange=c.noop,delete W[h];if(g)f.readyState!==4&&
f.abort();else{k=f.status;m=f.getAllResponseHeaders();n={};if((r=f.responseXML)&&r.documentElement)n.xml=r;n.text=f.responseText;try{i=f.statusText}catch(o){i=""}!k&&a.isLocal&&!a.crossDomain?k=n.text?200:404:k===1223&&(k=204)}}}catch(q){g||e(-1,q)}n&&e(k,i,n,m)};!a.async||f.readyState===4?b():(W||(W={},L()),h=tb++,f.onreadystatechange=W[h]=b)},abort:function(){b&&b(0,1)}}}});var ia={},ub=/^(?:toggle|show|hide)$/,vb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ga,pa=[["height","marginTop","marginBottom","paddingTop",
"paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(u("show",3),a,b,d);else{for(var d=0,e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",y(a.nodeName))}for(d=0;d<e;d++)if(a=this[d],b=a.style.display,b===""||b==="none")a.style.display=c._data(a,"olddisplay")||"";return this}},
hide:function(a,b,d){if(a||a===0)return this.animate(u("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++)d=c.css(this[a],"display"),d!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",d);for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(u("toggle",
3),a,b,d);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=c.extend({},f),d,g=this.nodeType===1,e=g&&c(this).is(":hidden"),j=this;for(d in a){var h=c.camelCase(d);d!==h&&(a[h]=a[d],delete a[d],d=h);if(a[d]==="hide"&&e||a[d]==="show"&&!e)return b.complete.call(this);if(g&&
(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?y(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(c.isArray(a[d]))(b.specialEasing=b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow="hidden";b.curAnim=c.extend({},a);
c.each(a,function(d,g){var f=new c.fx(j,b,d);if(ub.test(g))f[g==="toggle"?e?"show":"hide":g](a);else{var h=vb.exec(g),k=f.cur();if(h){var i=parseFloat(h[2]),m=h[3]||(c.cssNumber[d]?"":"px");m!=="px"&&(c.style(j,d,(i||1)+m),k*=(i||1)/f.cur(),c.style(j,d,k+m));h[1]&&(i=(h[1]==="-="?-1:1)*i+k);f.custom(k,i,m)}else f.custom(k,g,"")}});return!0})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);d.splice(a,1)}});b||
this.dequeue();return this}});c.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?
c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+0.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},
cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(a){return f.step(a)}var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!ga&&(ga=setInterval(h.tick,h.interval))},
show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==
!0&&(d=!1);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(a,b){f.style["overflow"+b]=h.overflow[a]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var k in this.options.curAnim)c.style(this.elem,k,this.options.orig[k]);this.options.complete.call(this.elem)}return!1}else a=b-this.startTime,this.state=a/this.options.duration,b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=
c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ga);ga=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=
null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var wb=/^t(?:able|d|h)$/i,Ha=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in m.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);
try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=E(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;
if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,k=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var i=b.offsetTop,m=b.offsetLeft;(b=b.parentNode)&&b!==k&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;i-=b.scrollTop;m-=b.scrollLeft;if(b===e){i+=b.offsetTop;m+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||
!wb.test(b.nodeName)))i+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0;e=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(i+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static")i+=k.offsetTop,m+=k.offsetLeft;c.offset.supportsFixedPosition&&d.position==="fixed"&&(i+=Math.max(h.scrollTop,k.scrollTop),m+=Math.max(h.scrollLeft,k.scrollLeft));return{top:i,left:m}};c.offset={initialize:function(){var a=
m.body,b=m.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.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>";a.insertBefore(b,
a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=
c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),i=c.css(a,"left"),m=(e==="absolute"||e==="fixed")&&c.inArray("auto",[k,i])>-1,e={},l={};m&&(l=f.position());k=m?l.top:parseInt(k,10)||
0;i=m?l.left:parseInt(i,10)||0;c.isFunction(b)&&(b=b.call(a,d,h));if(b.top!=null)e.top=b.top-h.top+k;if(b.left!=null)e.left=b.left-h.left+i;"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ha.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||m.body;a&&!Ha.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){var e=this[0],f;if(!e)return null;return b!==l?this.each(function(){(f=E(this))?f.scrollTo(!a?b:c(f).scrollLeft(),a?b:c(f).scrollTop()):this[d]=b}):(f=E(e))?"pageXOffset"in f?f[a?"pageYOffset":
"pageXOffset"]:c.support.boxModel&&f.document.documentElement[d]||f.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var e=c(this);e[d](a.call(this,b,e[d]()))});if(c.isWindow(e)){var f=
e.document.documentElement["client"+b];return e.document.compatMode==="CSS1Compat"&&f||e.document.body["client"+b]||f}else return e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):a===l?(e=c.css(e,d),f=parseFloat(e),c.isNaN(f)?e:f):this.css(d,typeof a==="string"?a:a+"px")}});d.jQuery=d.$=c})(window);var sQuery=window.sQuery=jQuery.noConflict(),ej=sQuery;(function(d,l){function i(e){return!d(e).parents().andSelf().filter(function(){return d.curCSS(this,"visibility")==="hidden"||d.expr.filters.hidden(this)}).length}d.ui=d.ui||{};d.ui.version||(d.extend(d.ui,{version:"1.8.12",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}}),d.fn.extend({_focus:d.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var h=this;setTimeout(function(){d(h).focus();f&&f.call(h)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;e=d.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(d.curCSS(this,
"position",1))&&/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!e.length?d(document):e},zIndex:function(e){if(e!==l)return this.css("zIndex",e);if(this.length)for(var e=d(this[0]),f;e.length&&e[0]!==document;){f=e.css("position");if(f===
"absolute"||f==="relative"||f==="fixed")if(f=parseInt(e.css("zIndex"),10),!isNaN(f)&&f!==0)return f;e=e.parent()}return 0},disableSelection:function(){return this.bind((d.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(d){d.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),d.each(["Width","Height"],function(e,f){function h(e,f,h,i){d.each(k,function(){f-=parseFloat(d.curCSS(e,"padding"+this,!0))||0;h&&(f-=parseFloat(d.curCSS(e,
"border"+this+"Width",!0))||0);i&&(f-=parseFloat(d.curCSS(e,"margin"+this,!0))||0)});return f}var k=f==="Width"?["Left","Right"]:["Top","Bottom"],i=f.toLowerCase(),o={innerWidth:d.fn.innerWidth,innerHeight:d.fn.innerHeight,outerWidth:d.fn.outerWidth,outerHeight:d.fn.outerHeight};d.fn["inner"+f]=function(e){if(e===l)return o["inner"+f].call(this);return this.each(function(){d(this).css(i,h(this,e)+"px")})};d.fn["outer"+f]=function(e,k){if(typeof e!=="number")return o["outer"+f].call(this,e);return this.each(function(){d(this).css(i,
h(this,e,!0,k)+"px")})}}),d.extend(d.expr[":"],{data:function(e,f,h){return!!d.data(e,h[3])},focusable:function(e){var f=e.nodeName.toLowerCase(),h=d.attr(e,"tabindex");if("area"===f){f=e.parentNode;h=f.name;if(!e.href||!h||f.nodeName.toLowerCase()!=="map")return!1;e=d("img[usemap=#"+h+"]")[0];return!!e&&i(e)}return(/input|select|textarea|button|object/.test(f)?!e.disabled:"a"==f?e.href||!isNaN(h):!isNaN(h))&&i(e)},tabbable:function(e){var f=d.attr(e,"tabindex");return(isNaN(f)||f>=0)&&d(e).is(":focusable")}}),
d(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));d.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});d.support.minHeight=f.offsetHeight===100;d.support.selectstart="onselectstart"in f;e.removeChild(f).style.display="none"}),d.extend(d.ui,{plugin:{add:function(e,f,h){var e=d.ui[e].prototype,k;for(k in h)e.plugins[k]=e.plugins[k]||[],e.plugins[k].push([f,h[k]])},call:function(d,f,h){if((f=d.plugins[f])&&d.element[0].parentNode)for(var k=0;k<f.length;k++)d.options[f[k][0]]&&
f[k][1].apply(d.element,h)}},contains:function(d,f){return document.compareDocumentPosition?d.compareDocumentPosition(f)&16:d!==f&&d.contains(f)},hasScroll:function(e,f){if(d(e).css("overflow")==="hidden")return!1;var h=f&&f==="left"?"scrollLeft":"scrollTop",k=!1;if(e[h]>0)return!0;e[h]=1;k=e[h]>0;e[h]=0;return k},isOverAxis:function(d,f,h){return d>f&&d<f+h},isOver:function(e,f,h,k,i,l){return d.ui.isOverAxis(e,h,i)&&d.ui.isOverAxis(f,k,l)}}))})(sQuery);(function(d,l){if(d.cleanData){var i=d.cleanData;d.cleanData=function(e){for(var h=0,k;(k=e[h])!=null;h++)d(k).triggerHandler("remove");i(e)}}else{var e=d.fn.remove;d.fn.remove=function(f,h){return this.each(function(){h||(!f||d.filter(f,[this]).length)&&d("*",this).add([this]).each(function(){d(this).triggerHandler("remove")});return e.call(d(this),f,h)})}}d.widget=function(e,h,k){var i=e.split(".")[0],l,e=e.split(".")[1];l=i+"-"+e;if(!k)k=h,h=d.Widget;d.expr[":"][l]=function(h){return!!d.data(h,
e)};d[i]=d[i]||{};d[i][e]=function(d,e){arguments.length&&this._createWidget(d,e)};h=new h;h.options=d.extend(!0,{},h.options);d[i][e].prototype=d.extend(!0,h,{namespace:i,widgetName:e,widgetEventPrefix:d[i][e].prototype.widgetEventPrefix||e,widgetBaseClass:l},k);d.widget.bridge(e,d[i][e])};d.widget.bridge=function(e,h){d.fn[e]=function(k){var i=typeof k==="string",o=Array.prototype.slice.call(arguments,1),q=this,k=!i&&o.length?d.extend.apply(null,[!0,k].concat(o)):k;if(i&&k.charAt(0)==="_")return q;
i?this.each(function(){var h=d.data(this,e),i=h&&d.isFunction(h[k])?h[k].apply(h,o):h;if(i!==h&&i!==l)return q=i,!1}):this.each(function(){var i=d.data(this,e);i?i.option(k||{})._init():d.data(this,e,new h(k,this))});return q}};d.Widget=function(d,e){arguments.length&&this._createWidget(d,e)};d.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(e,h){d.data(h,this.widgetName,this);this.element=d(h);this.options=d.extend(!0,{},this.options,this._getCreateOptions(),
e);var k=this;this.element.bind("remove."+this.widgetName,function(){k.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return d.metadata&&d.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,h){var k=e;if(arguments.length===0)return d.extend({},this.options);if(typeof e==="string"){if(h===l)return this.options[e];k={};k[e]=h}this._setOptions(k);return this},_setOptions:function(e){var h=this;d.each(e,function(d,e){h._setOption(d,e)});return this},_setOption:function(d,e){this.options[d]=e;d==="disabled"&&this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e);return this},enable:function(){return this._setOption("disabled",
!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(e,h,k){var i=this.options[e],h=d.Event(h);h.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();k=k||{};if(h.originalEvent)for(var e=d.event.props.length,l;e;)l=d.event.props[--e],h[l]=h.originalEvent[l];this.element.trigger(h,k);return!(d.isFunction(i)&&i.call(this.element[0],h,k)===!1||h.isDefaultPrevented())}}})(sQuery);(function(d){d.ui=d.ui||{};var l=/left|center|right/,i=/top|center|bottom/,e=d.fn.position,f=d.fn.offset;d.fn.position=function(f){if(!f||!f.of)return e.apply(this,arguments);var f=d.extend({},f),k=d(f.of),n=k[0],o=(f.collision||"flip").split(" "),q=f.offset?f.offset.split(" "):[0,0],t,A,w;n.nodeType===9?(t=k.width(),A=k.height(),w={top:0,left:0}):n.setTimeout?(t=k.width(),A=k.height(),w={top:k.scrollTop(),left:k.scrollLeft()}):n.preventDefault?(f.at="left top",t=A=0,w={top:f.of.pageY,left:f.of.pageX}):
(t=k.outerWidth(),A=k.outerHeight(),w=k.offset());d.each(["my","at"],function(){var d=(f[this]||"").split(" ");d.length===1&&(d=l.test(d[0])?d.concat(["center"]):i.test(d[0])?["center"].concat(d):["center","center"]);d[0]=l.test(d[0])?d[0]:"center";d[1]=i.test(d[1])?d[1]:"center";f[this]=d});o.length===1&&(o[1]=o[0]);q[0]=parseInt(q[0],10)||0;q.length===1&&(q[1]=q[0]);q[1]=parseInt(q[1],10)||0;f.at[0]==="right"?w.left+=t:f.at[0]==="center"&&(w.left+=t/2);f.at[1]==="bottom"?w.top+=A:f.at[1]==="center"&&
(w.top+=A/2);w.left+=q[0];w.top+=q[1];return this.each(function(){var e=d(this),k=e.outerWidth(),i=e.outerHeight(),l=parseInt(d.curCSS(this,"marginLeft",!0))||0,n=parseInt(d.curCSS(this,"marginTop",!0))||0,L=k+l+(parseInt(d.curCSS(this,"marginRight",!0))||0),R=i+n+(parseInt(d.curCSS(this,"marginBottom",!0))||0),u=d.extend({},w),y;f.my[0]==="right"?u.left-=k:f.my[0]==="center"&&(u.left-=k/2);f.my[1]==="bottom"?u.top-=i:f.my[1]==="center"&&(u.top-=i/2);u.left=Math.round(u.left);u.top=Math.round(u.top);
y={left:u.left-l,top:u.top-n};d.each(["left","top"],function(e,m){if(d.ui.position[o[e]])d.ui.position[o[e]][m](u,{targetWidth:t,targetHeight:A,elemWidth:k,elemHeight:i,collisionPosition:y,collisionWidth:L,collisionHeight:R,offset:q,my:f.my,at:f.at})});d.fn.bgiframe&&e.bgiframe();e.offset(d.extend(u,{using:f.using}))})};d.ui.position={fit:{left:function(e,f){var i=d(window),i=f.collisionPosition.left+f.collisionWidth-i.width()-i.scrollLeft();e.left=i>0?e.left-i:Math.max(e.left-f.collisionPosition.left,
e.left)},top:function(e,f){var i=d(window),i=f.collisionPosition.top+f.collisionHeight-i.height()-i.scrollTop();e.top=i>0?e.top-i:Math.max(e.top-f.collisionPosition.top,e.top)}},flip:{left:function(e,f){if(f.at[0]!=="center"){var i=d(window),i=f.collisionPosition.left+f.collisionWidth-i.width()-i.scrollLeft(),l=f.my[0]==="left"?-f.elemWidth:f.my[0]==="right"?f.elemWidth:0,q=f.at[0]==="left"?f.targetWidth:-f.targetWidth,t=-2*f.offset[0];e.left+=f.collisionPosition.left<0?l+q+t:i>0?l+q+t:0}},top:function(e,
f){if(f.at[1]!=="center"){var i=d(window),i=f.collisionPosition.top+f.collisionHeight-i.height()-i.scrollTop(),l=f.my[1]==="top"?-f.elemHeight:f.my[1]==="bottom"?f.elemHeight:0,q=f.at[1]==="top"?f.targetHeight:-f.targetHeight,t=-2*f.offset[1];e.top+=f.collisionPosition.top<0?l+q+t:i>0?l+q+t:0}}}};if(!d.offset.setOffset)d.offset.setOffset=function(e,f){if(/static/.test(d.curCSS(e,"position")))e.style.position="relative";var i=d(e),l=i.offset(),q=parseInt(d.curCSS(e,"top",!0),10)||0,t=parseInt(d.curCSS(e,
"left",!0),10)||0,l={top:f.top-l.top+q,left:f.left-l.left+t};"using"in f?f.using.call(e,l):i.css(l)},d.fn.offset=function(e){var i=this[0];if(!i||!i.ownerDocument)return null;if(e)return this.each(function(){d.offset.setOffset(this,e)});return f.call(this)}})(sQuery);(function(d){d.widget("ui.stars",{options:{inputType:"radio",split:0,disabled:!1,cancelTitle:"Cancel Rating",cancelValue:0,cancelShow:!0,disableValue:!0,oneVoteOnly:!1,showTitles:!1,captionEl:null,callback:null,starWidth:16,cancelClass:"ui-stars-cancel",starClass:"ui-stars-star",starOnClass:"ui-stars-star-on",starHoverClass:"ui-stars-star-hover",starDisabledClass:"ui-stars-star-disabled",cancelHoverClass:"ui-stars-cancel-hover",cancelDisabledClass:"ui-stars-cancel-disabled"},_create:function(){function l(d,
h){if(d!=-1){var l=h?f.starHoverClass:f.starOnClass,q=h?f.starOnClass:f.starHoverClass;e.$stars.eq(d).prevAll("."+f.starClass).andSelf().removeClass(q).addClass(l);e.$stars.eq(d).nextAll("."+f.starClass).removeClass(f.starHoverClass+" "+f.starOnClass);e._showCap(f.id2title[d])}else i()}function i(){e.$stars.removeClass(f.starOnClass+" "+f.starHoverClass);e._showCap("")}var e=this,f=this.options,h=0;this.element.data("former.stars",this.element.html());f.isSelect=f.inputType=="select";this.$form=d(this.element).closest("form");
this.$selec=f.isSelect?d("select",this.element):null;this.$rboxs=f.isSelect?d("option",this.$selec):d(":radio",this.element);this.$stars=this.$rboxs.map(function(i){var l={value:this.value,title:(f.isSelect?this.text:this.title)||this.value,isDefault:f.isSelect&&this.defaultSelected||this.defaultChecked};if(i==0)f.split=typeof f.split!="number"?0:f.split,f.val2id=[],f.id2val=[],f.id2title=[],f.name=f.isSelect?e.$selec.get(0).name:this.name,f.disabled=f.disabled||(f.isSelect?d(e.$selec).attr("disabled"):
d(this).attr("disabled"));if(l.value==f.cancelValue)return f.cancelTitle=l.title,null;f.val2id[l.value]=h;f.id2val[h]=l.value;f.id2title[h]=l.title;if(l.isDefault)f.checked=h,f.value=f.defaultValue=l.value,f.title=l.title;i=d("<div/>").addClass(f.starClass);l=d("<a/>").attr("title",f.showTitles?l.title:"").text(l.value);if(f.split){var o=h%f.split,q=Math.floor(f.starWidth/f.split);i.width(q);l.css("margin-left","-"+o*q+"px")}h++;return i.append(l).get(0)});f.items=h;f.isSelect?this.$selec.remove():
this.$rboxs.remove();this.$cancel=d("<div/>").addClass(f.cancelClass).append(d("<a/>").attr("title",f.showTitles?f.cancelTitle:"").text(f.cancelValue));f.cancelShow&=!f.disabled&&!f.oneVoteOnly;f.cancelShow&&this.element.append(this.$cancel);this.element.append(this.$stars);if(f.checked===void 0)f.checked=-1,f.value=f.defaultValue=f.cancelValue,f.title="";this.$value=d("<input type='hidden' name='"+f.name+"' value='"+f.value+"' />");this.element.append(this.$value);this.$stars.bind("click.stars",
function(d){if(!f.forceSelect&&f.disabled)return!1;var h=e.$stars.index(this);f.checked=h;f.value=f.id2val[h];f.title=f.id2title[h];e.$value.attr({disabled:f.disabled?"disabled":"",value:f.value});l(h,!1);e._disableCancel();!f.forceSelect&&e.callback(d,"star")}).bind("mouseover.stars",function(){if(f.disabled)return!1;var d=e.$stars.index(this);l(d,!0)}).bind("mouseout.stars",function(){if(f.disabled)return!1;l(e.options.checked,!1)});this.$cancel.bind("click.stars",function(d){if(!f.forceSelect&&
(f.disabled||f.value==f.cancelValue))return!1;f.checked=-1;f.value=f.cancelValue;f.title="";e.$value.val(f.value);f.disableValue&&e.$value.attr({disabled:"disabled"});i();e._disableCancel();!f.forceSelect&&e.callback(d,"cancel")}).bind("mouseover.stars",function(){if(e._disableCancel())return!1;e.$cancel.addClass(f.cancelHoverClass);i();e._showCap(f.cancelTitle)}).bind("mouseout.stars",function(){if(e._disableCancel())return!1;e.$cancel.removeClass(f.cancelHoverClass);e.$stars.triggerHandler("mouseout.stars")});
this.$form.bind("reset.stars",function(){!f.disabled&&e.select(f.defaultValue)});d(window).unload(function(){e.$cancel.unbind(".stars");e.$stars.unbind(".stars");e.$form.unbind(".stars");e.$selec=e.$rboxs=e.$stars=e.$value=e.$cancel=e.$form=null});this.select(f.value);f.disabled&&this.disable()},_disableCancel:function(){var d=this.options,i=d.disabled||d.oneVoteOnly||d.value==d.cancelValue;i?this.$cancel.removeClass(d.cancelHoverClass).addClass(d.cancelDisabledClass):this.$cancel.removeClass(d.cancelDisabledClass);
this.$cancel.css("opacity",i?0.5:1);return i},_disableAll:function(){var d=this.options;this._disableCancel();d.disabled?this.$stars.filter("div").addClass(d.starDisabledClass):this.$stars.filter("div").removeClass(d.starDisabledClass)},_showCap:function(d){var i=this.options;i.captionEl&&i.captionEl.text(d)},value:function(){return this.options.value},select:function(d){var i=this.options,d=d==i.cancelValue?this.$cancel:this.$stars.eq(i.val2id[d]);i.forceSelect=!0;d.triggerHandler("click.stars");
i.forceSelect=!1},selectID:function(d){var i=this.options,d=d==-1?this.$cancel:this.$stars.eq(d);i.forceSelect=!0;d.triggerHandler("click.stars");i.forceSelect=!1},enable:function(){this.options.disabled=!1;this._disableAll()},disable:function(){this.options.disabled=!0;this._disableAll()},destroy:function(){this.$form.unbind(".stars");this.$cancel.unbind(".stars").remove();this.$stars.unbind(".stars").remove();this.$value.remove();this.element.unbind(".stars").html(this.element.data("former.stars")).removeData("stars");
return this},callback:function(d,i){var e=this.options;e.callback&&e.callback(this,i,e.value,d);e.oneVoteOnly&&!e.disabled&&this.disable()}});d.extend(d.ui.stars,{version:"3.0.1"})})(sQuery);(function(d){function l(e,c,f,h){h={data:h||h===0||h===!1?h:c?c.data:{},_wrap:c?c._wrap:null,tmpl:null,parent:c||null,nodes:[],calls:o,nest:q,wrap:t,html:A,update:w};e&&d.extend(h,e,{nodes:[],parent:c});if(f)h.tmpl=f,h._ctnt=h._ctnt||h.tmpl(d,h),h.key=++u,(E.length?I:v)[u]=h;return h}function i(f,c,h){var k,h=h?d.map(h,function(c){return typeof c==="string"?f.key?c.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+H+'="'+f.key+'" $2'):c:i(c,f,c._ctnt)}):f;if(c)return h;h=h.join("");h.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,
function(c,f,h,i){k=d(h).get();n(k);f&&(k=e(f).concat(k));i&&(k=k.concat(e(i)))});return k?k:e(h)}function e(e){var c=document.createElement("div");c.innerHTML=e;return d.makeArray(c.childNodes)}function f(e){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+d.trim(e).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,
function(c,e,f,h,i,l,m){c=d.tmpl.tag[f];if(!c)throw"Unknown template tag: "+f;f=c._default||[];l&&!/\w$/.test(i)&&(i+=l,l="");i?(i=k(i),m=m?","+k(m)+")":l?")":"",m=l?i.indexOf(".")>-1?i+k(l):"("+i+").call($item"+m:i,l=l?m:"(typeof("+i+")==='function'?("+i+").call($item):("+i+"))"):l=m=f.$1||"null";h=k(h);return"');"+c[e?"close":"open"].split("$notnull_1").join(i?"typeof("+i+")!=='undefined' && ("+i+")!=null":"true").split("$1a").join(l).split("$1").join(m).split("$2").join(h||f.$2||"")+"__.push('"})+
"');}return __;")}function h(e,c){e._wrap=i(e,!0,d.isArray(c)?c:[K.test(c)?c:d(c).html()]).join("")}function k(d){return d?d.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function n(e){function c(c){function e(c){var a;c+=f;a=k[c]=k[c]||l(m,v[m.parent.key+f]||m.parent),m=a}var h,i=c,m,n;if(n=c.getAttribute(H)){for(;i.parentNode&&(i=i.parentNode).nodeType===1&&!(h=i.getAttribute(H)););if(h!==n){i=i.parentNode?i.nodeType===11?0:i.getAttribute(H)||0:0;if(!(m=v[n]))m=I[n],m=l(m,v[i]||I[i]),m.key=++u,
v[u]=m;y&&e(n)}c.removeAttribute(H)}else if(y&&(m=d.data(c,"tmplItem")))e(m.key),v[m.key]=m,i=(i=d.data(c.parentNode,"tmplItem"))?i.key:0;if(m){for(h=m;h&&h.key!=i;)h.nodes.push(c),h=h.parent;delete m._ctnt;delete m._wrap;d.data(c,"tmplItem",m)}}var f="_"+y,h,i,k={},n,q,o;n=0;for(q=e.length;n<q;n++)if((h=e[n]).nodeType===1){i=h.getElementsByTagName("*");for(o=i.length-1;o>=0;o--)c(i[o]);c(h)}}function o(d,c,e,f){if(!d)return E.pop();E.push({_:d,tmpl:c,item:this,data:e,options:f})}function q(e,c,f){return d.tmpl(d.template(e),
c,f,this)}function t(e,c){var f=e.options||{};f.wrapped=c;return d.tmpl(d.template(e.tmpl),e.data,f,e.item)}function A(e,c){var f=this._wrap;return d.map(d(d.isArray(f)?f.join(""):f).filter(e||"*"),function(d){if(c)d=d.innerText||d.textContent;else{var e;if(!(e=d.outerHTML))e=document.createElement("div"),e.appendChild(d.cloneNode(!0)),e=e.innerHTML;d=e}return d})}function w(){var e=this.nodes;d.tmpl(null,null,null,this).insertBefore(e[0]);d(e).remove()}var x=d.fn.domManip,H="_tmplitem",K=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,
v={},I={},L,R={key:0,data:{}},u=0,y=0,E=[];d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,c){d.fn[e]=function(f){var h=[],f=d(f),i,k,l;i=this.length===1&&this[0].parentNode;L=v||{};if(i&&i.nodeType===11&&i.childNodes.length===1&&f.length===1)f[c](this[0]),h=this;else{k=0;for(l=f.length;k<l;k++)y=k,i=(k>0?this.clone(!0):this).get(),d(f[k])[c](i),h=h.concat(i);y=0;h=this.pushStack(h,e,f.selector)}f=L;L=null;d.tmpl.complete(f);
return h}});d.fn.extend({tmpl:function(e,c,f){return d.tmpl(this[0],e,c,f)},tmplItem:function(){return d.tmplItem(this[0])},template:function(e){return d.template(e,this[0])},domManip:function(e,c,f){if(e[0]&&d.isArray(e[0])){for(var h=d.makeArray(arguments),i=e[0],k=i.length,l=0,n;l<k&&!(n=d.data(i[l++],"tmplItem")););n&&y&&(h[2]=function(c){d.tmpl.afterManip(this,c,f)});x.apply(this,h)}else x.apply(this,arguments);y=0;L||d.tmpl.complete(v);return this}});d.extend({tmpl:function(e,c,f,k){var n=!k;
if(n)k=R,e=d.template[e]||d.template(null,e),I={};else if(!e)return e=k.tmpl,v[k.key]=k,k.nodes=[],k.wrapped&&h(k,k.wrapped),d(i(k,null,k.tmpl(d,k)));if(!e)return[];typeof c==="function"&&(c=c.call(k||{}));f&&f.wrapped&&h(f,f.wrapped);c=d.isArray(c)?d.map(c,function(c){return c?l(f,k,e,c):null}):[l(f,k,e,c)];return n?d(i(k,null,c)):c},tmplItem:function(e){var c;for(e instanceof d&&(e=e[0]);e&&e.nodeType===1&&!(c=d.data(e,"tmplItem"))&&(e=e.parentNode););return c||R},template:function(e,c){if(c)return typeof c===
"string"?c=f(c):c instanceof d&&(c=c[0]||{}),c.nodeType&&(c=d.data(c,"tmpl")||d.data(c,"tmpl",f(c.innerHTML))),typeof e==="string"?d.template[e]=c:c;return e?typeof e!=="string"?d.template(null,e):d.template[e]||d.template(null,K.test(e)?e:d(e)):null},encode:function(d){return(""+d).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});d.extend(d.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},
open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(){v={}},afterManip:function(e,
c,f){var h=c.nodeType===11?d.makeArray(c.childNodes):c.nodeType===1?[c]:[];f.call(e,c);n(h);y++}})})(sQuery);(function(d){var l=d.tmpl.complete,i=d.fn.domManip;d.tmpl.complete=function(e){var f;l(e);for(f in e)f=e[f],f.addedTmplItems&&d.inArray(f,f.addedTmplItems)===-1&&f.addedTmplItems.push(f);for(f in e)f=e[f],f.rendered&&f.rendered(f)};d.extend({tmplCmd:function(e,f,h){function i(d,e){for(var f=[],h,k,l=e.length,n,o=0,I=d.length;o<I;){n=d[o++];for(k=0;k<l;)h=e[k++],h.data===n&&f.push(h)}return f}var l=[],o,f=d.isArray(f)?f:[f];switch(e){case "find":return i(f,h);case "replace":f.reverse()}d.each(h?i(f,
h):f,function(f,i){coll=i.nodes;switch(e){case "update":i.update();break;case "remove":d(coll).remove();h&&h.splice(d.inArray(i,h),1);break;case "replace":o=o?d(coll).insertBefore(o)[0]:d(coll).appendTo(coll[0].parentNode)[0],l.unshift(i)}});return l}});d.fn.extend({domManip:function(e,f,h){var k=e[1],l=e[0],o;if(e.length>=2&&typeof k==="object"&&!k.nodeType&&!(k instanceof d))return o=d.makeArray(arguments),o[0]=[d.tmpl(d.template(l),k,e[2],e[3])],o[2]=function(e){d.tmpl.afterManip(this,e,h)},i.apply(this,
o);return i.apply(this,arguments)}})})(sQuery);(function(d){d.fn.hoverIntent=function(l,i){var e={sensitivity:7,interval:100,timeout:0},e=d.extend(e,i?{over:l,out:i}:l),f,h,k,n,o=function(d){f=d.pageX;h=d.pageY},q=function(i,l){l.hoverIntent_t=clearTimeout(l.hoverIntent_t);if(Math.abs(k-f)+Math.abs(n-h)<e.sensitivity)return d(l).unbind("mousemove",o),l.hoverIntent_s=1,e.over.apply(l,[i]);else k=f,n=h,l.hoverIntent_t=setTimeout(function(){q(i,l)},e.interval)},t=function(f){var h=jQuery.extend({},f),i=this;if(i.hoverIntent_t)i.hoverIntent_t=clearTimeout(i.hoverIntent_t);
if(f.type=="mouseenter"){if(k=h.pageX,n=h.pageY,d(i).bind("mousemove",o),i.hoverIntent_s!=1)i.hoverIntent_t=setTimeout(function(){q(h,i)},e.interval)}else if(d(i).unbind("mousemove",o),i.hoverIntent_s==1)i.hoverIntent_t=setTimeout(function(){i.hoverIntent_t=clearTimeout(i.hoverIntent_t);i.hoverIntent_s=0;e.out.apply(i,[h])},e.timeout)};return this.bind("mouseenter",t).bind("mouseleave",t)}})(sQuery);(function(d){d.cookie=function(l,i,e){if(arguments.length>1&&String(i)!=="[object Object]"){e=d.extend({},e);if(i===null||i===void 0)e.expires=-1;if(typeof e.expires==="number"){var f=e.expires,h=e.expires=new Date;h.setDate(h.getDate()+f)}i=String(i);return document.cookie=[encodeURIComponent(l),"=",e.raw?i:encodeURIComponent(i),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("")}e=i||{};h=e.raw?function(d){return d}:
decodeURIComponent;return(f=RegExp("(?:^|; )"+encodeURIComponent(l)+"=([^;]*)").exec(document.cookie))?h(f[1]):null}})(sQuery);(function(d){d.fn.numeric=function(l,i){return this.data("numeric.decimal",l===!1?"":l||".").data("numeric.callback",typeof i=="function"?i:function(){}).keypress(d.fn.numeric.keypress).blur(d.fn.numeric.blur)};d.fn.numeric.keypress=function(l){var i=d.data(this,"numeric.decimal"),e=l.charCode?l.charCode:l.keyCode?l.keyCode:0;if(e==13&&this.nodeName.toLowerCase()=="input")return!0;else if(e==13)return!1;var f=!1;if(l.ctrlKey&&e==97||l.ctrlKey&&e==65)return!0;if(l.ctrlKey&&e==120||l.ctrlKey&&e==88)return!0;
if(l.ctrlKey&&e==99||l.ctrlKey&&e==67)return!0;if(l.ctrlKey&&e==122||l.ctrlKey&&e==90)return!0;if(l.ctrlKey&&e==118||l.ctrlKey&&e==86||l.shiftKey&&e==45)return!0;if(e<48||e>57){if(e==45&&this.value.length==0)return!0;i&&e==i.charCodeAt(0)&&this.value.indexOf(i)!=-1&&(f=!1);e!=8&&e!=9&&e!=13&&e!=35&&e!=36&&e!=37&&e!=39&&e!=46?f=!1:typeof l.charCode!="undefined"&&(l.keyCode==l.which&&l.which!=0?(f=!0,l.which==46&&(f=!1)):l.keyCode!=0&&l.charCode==0&&l.which==0&&(f=!0));i&&e==i.charCodeAt(0)&&(f=this.value.indexOf(i)==
-1?!0:!1)}else f=!0;return f};d.fn.numeric.blur=function(){var l=d.data(this,"numeric.decimal"),i=d.data(this,"numeric.callback"),e=d(this).val();e!=""&&(RegExp("^\\d+$|\\d*"+l+"\\d+").exec(e)||i.apply(this))};d.fn.removeNumeric=function(){return this.data("numeric.decimal",null).data("numeric.callback",null).unbind("keypress",d.fn.numeric.keypress).unbind("blur",d.fn.numeric.blur)}})(sQuery);(function(d){d.uid=function(d,i){return(d?d:"")+Math.random().toString().replace(".","")+(i?i:"")}})(sQuery);(function(d){d.fn.checked=function(l,i){if(arguments.length<1)return this.is(":checked");this.each(function(){var e=d(this);typeof l=="boolean"?e.attr("checked",l).trigger("change"):(e.is("input[type=checkbox]")||e.is("input[type=radio]"))&&e.unbind("change.checked").bind("change.checked",function(){try{return e.is(":checked")?l.apply(e):i.apply(e)}catch(d){}})});return this}})(sQuery);(function(d){var l={select:".stackSelect",selectAll:".stackSelectAll",selectGroup:".stackSelectGroup",selected:function(){},deselected:function(){},complete:function(){}};d.fn.stackSelect=function(i){var i=d.extend({},l,i),e=this,f=e.closest(i.selectGroup),h=f.find(i.selectAll),k=f.find(i.select),n=!0,o=function(){n&&i.complete.apply(e,[k.filter(":checked"),k.not(":checked")])};k.checked(function(){i.selected.apply(this);o()},function(){i.deselected.apply(this);o()});h.checked(function(){n=!1;k.checked(!0);
n=!0;o()},function(){n=!1;k.checked(!1);n=!0;o()});return this}})(sQuery);(function(d){var l={my:"center bottom",at:"center top",show:{when:"mouseenter",delay:0},hide:{when:"mouseleave",delay:0},offset:0,collision:"flip flip",queue:""},i={initialize:function(){d(".stackTip").stackTip()},attach:function(e){var e=d.extend({},l,e),f=!1;e.tooltip.bind("mouseover",function(){f=!0}).bind("mouseout",function(){f=!1;e.queue=setTimeout(function(){e.of.trigger(e.hide.when)},100)});e.of.bind(e.show.when,function(){clearTimeout(e.queue);e.queue=setTimeout(function(){e.tooltip.show(0,
function(){e.tooltip.position(e)})},e.show.delay)}).bind(e.hide.when,function(){setTimeout(function(){if(!f)clearTimeout(e.queue),e.queue=setTimeout(function(){e.tooltip.hide()},e.hide.delay)},100)})}};d.fn.stackTip=function(e){this.each(function(){var f=d(this),h=e;if(!h&&(h=f.data("options"),!h)){var k=f.find('> script[type="text/x-json"]');try{h=eval(k.html())}catch(l){}if(!h)return;k.remove()}if(h.of&&(k=h.of,k.jquery||(k=k.traverseUsing?f[k.traverseUsing].call(f,k.withFilter):d(k)),!(k.length<
0)))h.of=k.first(),f.appendTo("body"),h.tooltip=f,i.attach(h)})};d(".hasTooltip").live("mouseover",function(){i.initialize();d(".hasTooltip").removeClass("hasTooltip")});d(document).ready(function(){i.initialize()})})(sQuery);(function(d){var l={initialize:function(i){return this.each(function(){var e=d(this);if(!e.data("stackSuggest")){var f={dataset:[],exclude:[],delimiter:",",container:d(),position:{my:"left top",at:"left bottom",of:e}};i=d.extend(!0,{},f,i);if(i.template==void 0)i.template=e.next("script.stackSuggest");i.template.length<1||(i.dataset.each(function(e,f){i.dataset[f].$dataId=d.uid("$dataId-")}),l.save.call(e,i),l.bind.call(e))}})},destroy:function(){return this.each(function(){d(this).unbind(".stackSuggest").removeData("stackSuggest")})},
save:function(i){return d(this).data("stackSuggest",i)},bind:function(){return this.each(function(){var i=d(this),e=i.data("stackSuggest");i.bind("blur.stackSuggest",function(){e.container.data("isFocused")||l.hide.call(i)}).bind("keydown.stackSuggest",function(e){switch(e.keyCode){case d.ui.keyCode.UP:l.highlight.call(i,-1);break;case d.ui.keyCode.DOWN:l.highlight.call(i,1)}}).keyup("keyup.stackSuggest",function(f){switch(f.keyCode){case d.ui.keyCode.DOWN:case d.ui.keyCode.UP:d.trim(i.val())==""&&
(e.container.hasClass("hidden")||e.container.length<1)&&l.populate.call(i,"",!0);break;case d.ui.keyCode.ESCAPE:l.hide.call(i);break;case d.ui.keyCode.ENTER:l.use.call(i);break;default:l.populate.call(i)}})})},show:function(){return this.each(function(){var i=d(this),e=i.data("stackSuggest");e.container.removeClass("hidden").show(0,function(){e.container.css({width:i.outerWidth()}).position(e.position)})})},hide:function(){return this.each(function(){d(this).data("stackSuggest").container.addClass("hidden").hide()})},
highlight:function(i){var e=d(this).data("stackSuggest");$s=e.container.find(".stackSuggestItem");if(!($s.length<1)){var f=$s.length-1,h=0;$s.each(function(e,k){k=d(k);k.hasClass("active")&&(h=e+i,h>f&&(h=0),h<0&&(h=f));k.removeClass("active")});$r=$s.eq(h);$sg=e.container.find(".stackSuggestItemGroup");var e=$sg.scrollTop(),k=$sg.height()+$sg.scrollTop(),l=$r.position().top+$sg.scrollTop(),o=l+$r.outerHeight(!0);l-10<=e?$sg.scrollTop(o-$sg.height()):o+10>=k&&$sg.scrollTop(l);$r.addClass("active")}},
sanitize:function(i){var e=d(this).data("stackSuggest").delimiter,i=i.replace(RegExp("^["+e+"\\s]+|["+e+",\\s]+$","g"),"").replace(RegExp(e+"["+e+"\\s]*"+e,"g"),e).replace(RegExp("[\\s]+"+e,"g"),e).replace(RegExp(e+"[\\s]+","g"),e);if(i=="")return[];var f=i.split(e);return f=d.grep(f,function(e,i){return d.inArray(e,f)===i})},suggest:function(i){function e(d,e){if(typeof d=="string"||typeof d=="number")return d.toUpperCase().indexOf(e.toUpperCase())>=0;return!1}var f=d(this).data("stackSuggest"),
h=[];d.each(i,function(i,l){if(i>5)return!1;h=h.concat(d.grep(f.dataset,function(i){var k=!1;d.each(h,function(){k=this.$dataId==i.$dataId;return!k});if(k)return!1;d.each(f.exclude,function(){k=this==i.$dataId;return!k});if(k)return!1;if(f.filterkey!==void 0)d.each(f.filterkey,function(d,f){k=e(i[f],l);return!k});else for(key in i)if(k=e(i[key],l))break;return k}))});return h},custom:function(i){var e=d(this),f=e.data("stackSuggest"),h=[];d.each(i,function(d,i){h.push(f.custom.call(e,i))});return h},
use:function(){var i=d(this),e=i.data("stackSuggest");d.trim(i.val());var f=e.container.find(".stackSuggestItem.active"),h=f.attr("dataid"),k=f.tmplItem().data;f.hasClass("custom")?d.each(k.custom,function(d,f){e.add.call(i,f)}):d.each(k.dataset,function(d,f){f.$dataId==h&&e.add.call(i,f)});l.hide.call(i);i.val("").focus()},exclude:function(i){var e=d(this),f=e.data("stackSuggest");f.exclude.push(i);return l.save.call(e,f)},include:function(i){var e=d(this),f=e.data("stackSuggest");f.exclude=d.grep(f.exclude,
function(d){return d!=i});return l.save.call(e,f)},populate:function(i,e){var f=d(this),h=f.data("stackSuggest");if(i==void 0||i=="")if(i=e?"":d.trim(f.val()),i==""&&(!e||h.dataset.length<1)){l.hide.call(f);return}if(h.container.length>0){var k=h.container.find(".stackSuggestItem.active:not(.custom)").tmplItem().data.$dataId;h.container.remove()}var n=e?"":l.sanitize.call(f,i),n={dataset:e?h.dataset:l.suggest.call(f,n),custom:l.custom.call(f,n)};h.container=h.template.tmpl(n).appendTo("body");h.container.find(".stackSuggestItem").mouseover(function(){h.container.data("isFocused",
!0)}).mouseout(function(){h.container.data("isFocused",!1)}).click(function(){h.container.find(".stackSuggestItem").removeClass("active");d(this).addClass("active");l.use.call(f)});h.container.find(".stackSuggestItem").filter(function(){return d(this).attr("dataId")==k}).addClass("active").length<1&&h.container.find(".stackSuggestItem.custom").addClass("active");l.save.call(f,h);l.show.call(f)}};d.fn.stackSuggest=function(i){if(l[i])return l[i].apply(this,Array.prototype.slice.call(arguments,1));
else if(typeof i==="object"||!i)return l.initialize.apply(this,arguments);else d.error("Method "+i+" does not exist on $.stackSuggest")}})(sQuery);(function(d){d.fn.stretchToFit=function(){return d.each(this,function(){var l=d(this);l.css("width","100%").css("width",l.width()*2-l.outerWidth(!0)-parseInt(l.css("borderLeftWidth"))-parseInt(l.css("borderRightWidth")))})}})(sQuery);

