(function(h,n){function g(a,e,f){if(f===n&&a.nodeType===1)if(f="data-"+e.replace(aa,"$1-$2").toLowerCase(),f=a.getAttribute(f),typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:!b.isNaN(f)?parseFloat(f):J.test(f)?b.parseJSON(f):f}catch(i){}b.data(a,e,f)}else f=n;return f}function l(a){for(var e in a)if(e!=="toJSON")return!1;return!0}function p(a,e,f){var i=e+"defer",m=e+"queue",t=e+"mark",c=b.data(a,i,n,!0);c&&(f==="queue"||!b.data(a,m,n,!0))&&(f==="mark"||!b.data(a,t,n,!0))&&
setTimeout(function(){!b.data(a,m,n,!0)&&!b.data(a,t,n,!0)&&(b.removeData(a,i,!0),c.resolve())},0)}function j(){return!1}function o(){return!0}function D(a,e,f){var i=b.extend({},f[0]);i.type=a;i.originalEvent={};i.liveFired=n;b.event.handle.call(e,i);i.isDefaultPrevented()&&f[0].preventDefault()}function x(a){var e,f,i,m,t,c,d,k,h,j,g,q=[];m=[];t=b._data(this,"events");if(!(a.liveFired===this||!t||!t.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(g=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+
"(\\.|$)"));a.liveFired=this;var p=t.live.slice(0);for(d=0;d<p.length;d++)t=p[d],t.origType.replace(ja,"")===a.type?m.push(t.selector):p.splice(d--,1);m=b(a.target).closest(m,a.currentTarget);k=0;for(h=m.length;k<h;k++){j=m[k];for(d=0;d<p.length;d++)if(t=p[d],j.selector===t.selector&&(!g||g.test(t.namespace))&&!j.elem.disabled){c=j.elem;i=null;if(t.preType==="mouseenter"||t.preType==="mouseleave")a.type=t.preType,(i=b(a.relatedTarget).closest(t.selector)[0])&&b.contains(c,i)&&(i=c);(!i||i!==c)&&q.push({elem:c,
handleObj:t,level:j.level})}}k=0;for(h=q.length;k<h;k++){m=q[k];if(f&&m.level>f)break;a.currentTarget=m.elem;a.data=m.handleObj.data;a.handleObj=m.handleObj;g=m.handleObj.origHandler.apply(m.elem,arguments);if(g===!1||a.isPropagationStopped())if(f=m.level,g===!1&&(e=!1),a.isImmediatePropagationStopped())break}return e}}function s(a,e){return(a&&a!=="*"?a+".":"")+e.replace(Ra,"`").replace(Sa,"&")}function v(a,e,f){e=e||0;if(b.isFunction(e))return b.grep(a,function(a,b){return!!e.call(a,b,a)===f});
else if(e.nodeType)return b.grep(a,function(a){return a===e===f});else if(typeof e==="string"){var i=b.grep(a,function(a){return a.nodeType===1});if(Ta.test(e))return b.filter(e,i,!f);else e=b.filter(e,i)}return b.grep(a,function(a){return b.inArray(a,e)>=0===f})}function w(a,e){if(e.nodeType===1&&b.hasData(a)){var f=b.expando,i=b.data(a),m=b.data(e,i);if(i=i[f]){var t=i.events;m=m[f]=b.extend({},i);if(t)for(var c in delete m.handle,m.events={},t){f=0;for(i=t[c].length;f<i;f++)b.event.add(e,c+(t[c][f].namespace?
".":"")+t[c][f].namespace,t[c][f],t[c][f].data)}}}}function z(a,e){var f;if(e.nodeType===1){e.clearAttributes&&e.clearAttributes();e.mergeAttributes&&e.mergeAttributes(a);f=e.nodeName.toLowerCase();if(f==="object")e.outerHTML=a.outerHTML;else if(f==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)e.defaultChecked=e.checked=a.checked;if(e.value!==a.value)e.value=a.value}else if(f==="option")e.selected=a.defaultSelected;else if(f==="input"||f==="textarea")e.defaultValue=a.defaultValue;
e.removeAttribute(b.expando)}}function I(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Q(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function K(a){b.nodeName(a,"input")?Q(a):a.getElementsByTagName&&b.grep(a.getElementsByTagName("input"),Q)}function M(a,e){e.src?b.ajax({url:e.src,async:!1,dataType:"script"}):b.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Ua,"/*$0*/"));e.parentNode&&
e.parentNode.removeChild(e)}function F(a,e,f){var i=e==="width"?a.offsetWidth:a.offsetHeight;if(f==="border")return i;b.each(e==="width"?Va:Wa,function(){f||(i-=parseFloat(b.css(a,"padding"+this))||0);f==="margin"?i+=parseFloat(b.css(a,"margin"+this))||0:i-=parseFloat(b.css(a,"border"+this+"Width"))||0});return i}function G(a){return function(e,f){typeof e!=="string"&&(f=e,e="*");if(b.isFunction(f))for(var i=e.toLowerCase().split(ua),m=0,t=i.length,c,d;m<t;m++)c=i[m],(d=/^\+/.test(c))&&(c=c.substr(1)||
"*"),c=a[c]=a[c]||[],c[d?"unshift":"push"](f)}}function d(a,e,b,i,m,t){m=m||e.dataTypes[0];t=t||{};t[m]=!0;m=a[m];for(var c=0,k=m?m.length:0,h=a===ka,j;c<k&&(h||!j);c++)j=m[c](e,b,i),typeof j==="string"&&(!h||t[j]?j=n:(e.dataTypes.unshift(j),j=d(a,e,b,i,j,t)));if((h||!j)&&!t["*"])j=d(a,e,b,i,"*",t);return j}function c(a,e,f,i){if(b.isArray(e))b.each(e,function(e,m){f||Xa.test(a)?i(a,m):c(a+"["+(typeof m==="object"||b.isArray(m)?e:"")+"]",m,f,i)});else if(!f&&e!=null&&typeof e==="object")for(var m in e)c(a+
"["+m+"]",e[m],f,i);else i(a,e)}function u(){try{return new h.XMLHttpRequest}catch(a){}}function H(){setTimeout(N,0);return ea=b.now()}function N(){ea=n}function B(a,e){var f={};b.each(va.concat.apply([],va.slice(0,e)),function(){f[this]=a});return f}function L(a){if(!la[a]){var e=b("<"+a+">").appendTo("body"),f=e.css("display");e.remove();if(f==="none"||f===""){if(!O)O=r.createElement("iframe"),O.frameBorder=O.width=O.height=0;r.body.appendChild(O);if(!ba||!O.createElement)ba=(O.contentWindow||O.contentDocument).document,
ba.write("<!doctype><html><body></body></html>");e=ba.createElement(a);ba.body.appendChild(e);f=b.css(e,"display");r.body.removeChild(O)}la[a]=f}return la[a]}function P(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var r=h.document,k=h.navigator,q=h.location,b=function(){function a(){if(!e.isReady){try{r.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,m)},b=h.jQuery,i=h.$,m,c=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
d=/\S/,j=/^\s+/,g=/\s+$/,q=/\d/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,u=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,l=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,A=/(?:^|:|,)(?:\s*\[)+/g,D=/(webkit)[ \/]([\w.]+)/,H=/(opera)(?:.*version)?[ \/]([\w.]+)/,E=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,R=k.userAgent,fa,X,Ya=Object.prototype.toString,ma=Object.prototype.hasOwnProperty,na=Array.prototype.push,ca=Array.prototype.slice,wa=String.prototype.trim,v=Array.prototype.indexOf,
s={};e.fn=e.prototype={constructor:e,init:function(a,b,f){var i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!b&&r.body)return this.context=r,this[0]=r.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((i=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:c.exec(a))&&(i[1]||!b))if(i[1])return f=(b=b instanceof e?b[0]:b)?b.ownerDocument||b:r,(a=p.exec(a))?e.isPlainObject(b)?(a=[r.createElement(a[1])],e.fn.attr.call(a,
b,!0)):a=[f.createElement(a[1])]:(a=e.buildFragment([i[1]],[f]),a=(a.cacheable?e.clone(a.fragment):a.fragment).childNodes),e.merge(this,a);else{if((b=r.getElementById(i[2]))&&b.parentNode){if(b.id!==i[2])return f.find(a);this.length=1;this[0]=b}this.context=r;this.selector=a;return this}else return!b||b.jquery?(b||f).find(a):this.constructor(b).find(a);else if(e.isFunction(a))return f.ready(a);if(a.selector!==n)this.selector=a.selector,this.context=a.context;return e.makeArray(a,this)},selector:"",
jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return ca.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,f){var i=this.constructor();e.isArray(a)?na.apply(i,a):e.merge(i,a);i.prevObject=this;i.context=this.context;if(b==="find")i.selector=this.selector+(this.selector?" ":"")+f;else if(b)i.selector=this.selector+"."+b+"("+f+")";return i},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady();
fa.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(ca.apply(this,arguments),"slice",ca.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(e,b){return a.call(e,b,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:na,sort:[].sort,splice:[].splice};e.fn.init.prototype=e.fn;e.extend=e.fn.extend=function(){var a,
b,f,i,m,c=arguments[0]||{},t=1,d=arguments.length,R=!1;typeof c==="boolean"&&(R=c,c=arguments[1]||{},t=2);typeof c!=="object"&&!e.isFunction(c)&&(c={});d===t&&(c=this,--t);for(;t<d;t++)if((a=arguments[t])!=null)for(b in a)f=c[b],i=a[b],c!==i&&(R&&i&&(e.isPlainObject(i)||(m=e.isArray(i)))?(m?(m=!1,f=f&&e.isArray(f)?f:[]):f=f&&e.isPlainObject(f)?f:{},c[b]=e.extend(R,f,i)):i!==n&&(c[b]=i));return c};e.extend({noConflict:function(a){if(h.$===e)h.$=i;if(a&&h.jQuery===e)h.jQuery=b;return e},isReady:!1,
readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!r.body)return setTimeout(e.ready,1);e.isReady=!0;a!==!0&&--e.readyWait>0||(fa.resolveWith(r,[e]),e.fn.trigger&&e(r).trigger("ready").unbind("ready"))}},bindReady:function(){if(!fa){fa=e._Deferred();if(r.readyState==="complete")return setTimeout(e.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",X,!1),h.addEventListener("load",e.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",
X);h.attachEvent("onload",e.ready);var b=!1;try{b=h.frameElement==null}catch(f){}r.documentElement.doScroll&&b&&a()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!q.test(a)||isNaN(a)},type:function(a){return a==null?String(a):s[Ya.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;
if(a.constructor&&!ma.call(a,"constructor")&&!ma.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var b in a);return b===n||ma.call(a,b)},isEmptyObject:function(a){for(var e in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=e.trim(a);if(h.JSON&&h.JSON.parse)return h.JSON.parse(a);if(o.test(a.replace(u,"@").replace(l,"]").replace(A,"")))return(new Function("return "+a))();e.error("Invalid JSON: "+a)},parseXML:function(a,b,f){h.DOMParser?
(f=new DOMParser,b=f.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a));f=b.documentElement;(!f||!f.nodeName||f.nodeName==="parsererror")&&e.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&d.test(a)&&(h.execScript||function(a){h.eval.call(h,a)})(a)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,f){var i,m=0,c=a.length,t=c===n||e.isFunction(a);if(f)if(t)for(i in a){if(b.apply(a[i],
f)===!1)break}else for(;m<c;){if(b.apply(a[m++],f)===!1)break}else if(t)for(i in a){if(b.call(a[i],i,a[i])===!1)break}else for(;m<c;)if(b.call(a[m],m,a[m++])===!1)break;return a},trim:wa?function(a){return a==null?"":wa.call(a)}:function(a){return a==null?"":a.toString().replace(j,"").replace(g,"")},makeArray:function(a,b){var f=b||[];if(a!=null){var i=e.type(a);a.length==null||i==="string"||i==="function"||i==="regexp"||e.isWindow(a)?na.call(f,a):e.merge(f,a)}return f},inArray:function(a,b){if(v)return v.call(b,
a);for(var e=0,f=b.length;e<f;e++)if(b[e]===a)return e;return-1},merge:function(a,b){var e=a.length,f=0;if(typeof b.length==="number")for(var i=b.length;f<i;f++)a[e++]=b[f];else for(;b[f]!==n;)a[e++]=b[f++];a.length=e;return a},grep:function(a,b,e){var f=[],i;e=!!e;for(var m=0,c=a.length;m<c;m++)i=!!b(a[m],m),e!==i&&f.push(a[m]);return f},map:function(a,b,f){var i,m,c=[],t=0,d=a.length;if(a instanceof e||d!==n&&typeof d==="number"&&(d>0&&a[0]&&a[d-1]||d===0||e.isArray(a)))for(;t<d;t++)i=b(a[t],t,
f),i!=null&&(c[c.length]=i);else for(m in a)i=b(a[m],m,f),i!=null&&(c[c.length]=i);return c.concat.apply([],c)},guid:1,proxy:function(a,b){if(typeof b==="string"){var f=a[b];b=a;a=f}if(!e.isFunction(a))return n;var i=ca.call(arguments,2);f=function(){return a.apply(b,i.concat(ca.call(arguments)))};f.guid=a.guid=a.guid||f.guid||e.guid++;return f},access:function(a,b,f,i,m,c){var t=a.length;if(typeof b==="object"){for(var d in b)e.access(a,d,b[d],i,m,f);return a}if(f!==n){i=!c&&i&&e.isFunction(f);for(d=
0;d<t;d++)m(a[d],b,i?f.call(a[d],d,m(a[d],b)):f,c);return a}return t?m(a[0],b):n},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=D.exec(a)||H.exec(a)||E.exec(a)||a.indexOf("compatible")<0&&x.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,e){return new a.fn.init(b,e)}e.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(f,i){i&&i instanceof e&&!(i instanceof a)&&(i=
a(i));return e.fn.init.call(this,f,i,b)};a.fn.init.prototype=a.fn;var b=a(r);return a},browser:{}});e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){s["[object "+b+"]"]=b.toLowerCase()});R=e.uaMatch(R);if(R.browser)e.browser[R.browser]=!0,e.browser.version=R.version;if(e.browser.webkit)e.browser.safari=!0;d.test("\u00a0")&&(j=/^[\s\xA0]+/,g=/[\s\xA0]+$/);m=e(r);r.addEventListener?X=function(){r.removeEventListener("DOMContentLoaded",X,!1);e.ready()}:r.attachEvent&&
(X=function(){r.readyState==="complete"&&(r.detachEvent("onreadystatechange",X),e.ready())});return e}(),A="done fail isResolved isRejected promise then always pipe".split(" "),E=[].slice;b.extend({_Deferred:function(){var a=[],e,f,i,m={done:function(){if(!i){var f=arguments,c,d,k,j,h;e&&(h=e,e=0);c=0;for(d=f.length;c<d;c++)k=f[c],j=b.type(k),j==="array"?m.done.apply(m,k):j==="function"&&a.push(k);h&&m.resolveWith(h[0],h[1])}return this},resolveWith:function(b,m){if(!i&&!e&&!f){m=m||[];f=1;try{for(;a[0];)a.shift().apply(b,
m)}finally{e=[b,m],f=0}}return this},resolve:function(){m.resolveWith(this,arguments);return this},isResolved:function(){return!(!f&&!e)},cancel:function(){i=1;a=[];return this}};return m},Deferred:function(a){var e=b._Deferred(),f=b._Deferred(),i;b.extend(e,{then:function(a,b){e.done(a).fail(b);return this},always:function(){return e.done.apply(e,arguments).fail.apply(this,arguments)},fail:f.done,rejectWith:f.resolveWith,reject:f.resolve,isRejected:f.isResolved,pipe:function(a,f){return b.Deferred(function(i){b.each({done:[a,
"resolve"],fail:[f,"reject"]},function(a,f){var m=f[0],c=f[1],t;if(b.isFunction(m))e[a](function(){if((t=m.apply(this,arguments))&&b.isFunction(t.promise))t.promise().then(i.resolve,i.reject);else i[c](t)});else e[a](i[c])})}).promise()},promise:function(a){if(a==null){if(i)return i;i=a={}}for(var b=A.length;b--;)a[A[b]]=e[A[b]];return a}});e.done(f.cancel).fail(e.cancel);delete e.cancel;a&&a.call(e,e);return e},when:function(a){function e(a){return function(b){f[a]=arguments.length>1?E.call(arguments,
0):b;--c||d.resolveWith(d,E.call(f,0))}}var f=arguments,i=0,m=f.length,c=m,d=m<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(m>1){for(;i<m;i++)f[i]&&b.isFunction(f[i].promise)?f[i].promise().then(e(i),d.reject):--c;c||d.resolveWith(d,f)}else d!==a&&d.resolveWith(d,m?[a]:[]);return d.promise()}});b.support=function(){var a=r.createElement("div"),b=r.documentElement,f,i,m,c,d,k;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
f=a.getElementsByTagName("*");i=a.getElementsByTagName("a")[0];if(!f||!f.length||!i)return{};m=r.createElement("select");c=m.appendChild(r.createElement("option"));f=a.getElementsByTagName("input")[0];d={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,
checkOn:f.value==="on",optSelected:c.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};f.checked=!0;d.noCloneChecked=f.cloneNode(!0).checked;m.disabled=!0;d.optDisabled=!c.disabled;try{delete a.test}catch(j){d.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function V(){d.noCloneEvent=!1;a.detachEvent("onclick",
V)}),a.cloneNode(!0).fireEvent("onclick"));f=r.createElement("input");f.value="t";f.setAttribute("type","radio");d.radioValue=f.value==="t";f.setAttribute("checked","checked");a.appendChild(f);i=r.createDocumentFragment();i.appendChild(a.firstChild);d.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";i=r.createElement("body");m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(k in m)i.style[k]=m[k];i.appendChild(a);
b.insertBefore(i,b.firstChild);d.appendChecked=f.checked;d.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,d.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";m=a.getElementsByTagName("td");f=m[0].offsetHeight===0;m[0].style.display="";m[1].style.display="none";d.reliableHiddenOffsets=
f&&m[0].offsetHeight===0;a.innerHTML="";if(r.defaultView&&r.defaultView.getComputedStyle)f=r.createElement("div"),f.style.width="0",f.style.marginRight="0",a.appendChild(f),d.reliableMarginRight=(parseInt((r.defaultView.getComputedStyle(f,null)||{marginRight:0}).marginRight,10)||0)===0;i.innerHTML="";b.removeChild(i);if(a.attachEvent)for(k in{submit:1,change:1,focusin:1})b="on"+k,f=b in a,f||(a.setAttribute(b,"return;"),f=typeof a[b]==="function"),d[k+"Bubbles"]=f;return d}();b.boxModel=b.support.boxModel;
var J=/^(?:\{.*\}|\[.*\])$/,aa=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.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?b.cache[a[b.expando]]:a[b.expando];return!!a&&!l(a)},data:function(a,e,f,i){if(b.acceptData(a)){var m=b.expando,c=typeof e==="string",d=a.nodeType,k=d?b.cache:a,j=d?a[b.expando]:a[b.expando]&&b.expando;if(j&&(!i||!j||k[j][m])||!(c&&f===n)){if(!j)d?a[b.expando]=
j=++b.uuid:j=b.expando;if(!k[j]&&(k[j]={},!d))k[j].toJSON=b.noop;if(typeof e==="object"||typeof e==="function")i?k[j][m]=b.extend(k[j][m],e):k[j]=b.extend(k[j],e);a=k[j];i&&(a[m]||(a[m]={}),a=a[m]);f!==n&&(a[b.camelCase(e)]=f);if(e==="events"&&!a[e])return a[m]&&a[m].events;return c?a[b.camelCase(e)]:a}}},removeData:function(a,e,f){if(b.acceptData(a)){var i=b.expando,m=a.nodeType,c=m?b.cache:a,d=m?a[b.expando]:b.expando;if(c[d]){if(e){var k=f?c[d][i]:c[d];if(k&&(delete k[e],!l(k)))return}if(f&&(delete c[d][i],
!l(c[d])))return;e=c[d][i];b.support.deleteExpando||c!=h?delete c[d]:c[d]=null;if(e){c[d]={};if(!m)c[d].toJSON=b.noop;c[d][i]=e}else m&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,e,f){return b.data(a,e,f,!0)},acceptData:function(a){if(a.nodeName){var e=b.noData[a.nodeName.toLowerCase()];if(e)return!(e===!0||a.getAttribute("classid")!==e)}return!0}});b.fn.extend({data:function(a,e){var f=null;if(typeof a==="undefined"){if(this.length&&
(f=b.data(this[0]),this[0].nodeType===1))for(var i=this[0].attributes,m,c=0,d=i.length;c<d;c++)m=i[c].name,m.indexOf("data-")===0&&(m=b.camelCase(m.substring(5)),g(this[0],m,f[m]));return f}else if(typeof a==="object")return this.each(function(){b.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";return e===n?(f=this.triggerHandler("getData"+k[1]+"!",[k[0]]),f===n&&this.length&&(f=b.data(this[0],a),f=g(this[0],a,f)),f===n&&k[1]?this.data(k[0]):f):this.each(function(){var f=b(this),i=[k[0],e];
f.triggerHandler("setData"+k[1]+"!",i);b.data(this,a,e);f.triggerHandler("changeData"+k[1]+"!",i)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({_mark:function(a,e){a&&(e=(e||"fx")+"mark",b.data(a,e,(b.data(a,e,n,!0)||0)+1,!0))},_unmark:function(a,e,f){a!==!0&&(f=e,e=a,a=!1);if(e){f=f||"fx";var i=f+"mark";(a=a?0:(b.data(e,i,n,!0)||1)-1)?b.data(e,i,a,!0):(b.removeData(e,i,!0),p(e,f,"mark"))}},queue:function(a,e,f){if(a){e=(e||"fx")+"queue";var i=b.data(a,
e,n,!0);f&&(!i||b.isArray(f)?i=b.data(a,e,b.makeArray(f),!0):i.push(f));return i||[]}},dequeue:function(a,e){e=e||"fx";var f=b.queue(a,e),i=f.shift();i==="inprogress"&&(i=f.shift());i&&(e==="fx"&&f.unshift("inprogress"),i.call(a,function(){b.dequeue(a,e)}));f.length||(b.removeData(a,e+"queue",!0),p(a,e,"queue"))}});b.fn.extend({queue:function(a,e){typeof a!=="string"&&(e=a,a="fx");if(e===n)return b.queue(this[0],a);return this.each(function(){var f=b.queue(this,a,e);a==="fx"&&f[0]!=="inprogress"&&
b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,e){a=b.fx?b.fx.speeds[a]||a:a;e=e||"fx";return this.queue(e,function(){var f=this;setTimeout(function(){b.dequeue(f,e)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function e(){--c||f.resolveWith(i,[i])}typeof a!=="string"&&(a=n);a=a||"fx";var f=b.Deferred(),i=this,m=i.length,c=1,d=a+"defer",k=a+"queue";a+="mark";for(var j;m--;)if(j=b.data(i[m],d,n,!0)||(b.data(i[m],
k,n,!0)||b.data(i[m],a,n,!0))&&b.data(i[m],d,b._Deferred(),!0))c++,j.done(e);e();return f.promise()}});var xa=/[\n\t\r]/g,oa=/\s+/,Za=/\r/g,$a=/^(?:button|input)$/i,ab=/^(?:button|input|object|select|textarea)$/i,bb=/^a(?:rea)?$/i,ya=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,cb=/\:/,S,za;b.fn.extend({attr:function(a,e){return b.access(this,a,e,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.removeAttr(this,
a)})},prop:function(a,e){return b.access(this,a,e,!0,b.prop)},removeProp:function(a){a=b.propFix[a]||a;return this.each(function(){try{this[a]=n,delete this[a]}catch(b){}})},addClass:function(a){if(b.isFunction(a))return this.each(function(e){var f=b(this);f.addClass(a.call(this,e,f.attr("class")||""))});if(a&&typeof a==="string")for(var e=(a||"").split(oa),f=0,i=this.length;f<i;f++){var m=this[f];if(m.nodeType===1)if(m.className){for(var c=" "+m.className+" ",d=m.className,k=0,j=e.length;k<j;k++)c.indexOf(" "+
e[k]+" ")<0&&(d+=" "+e[k]);m.className=b.trim(d)}else m.className=a}return this},removeClass:function(a){if(b.isFunction(a))return this.each(function(e){var f=b(this);f.removeClass(a.call(this,e,f.attr("class")))});if(a&&typeof a==="string"||a===n)for(var e=(a||"").split(oa),f=0,i=this.length;f<i;f++){var m=this[f];if(m.nodeType===1&&m.className)if(a){for(var c=(" "+m.className+" ").replace(xa," "),d=0,k=e.length;d<k;d++)c=c.replace(" "+e[d]+" "," ");m.className=b.trim(c)}else m.className=""}return this},
toggleClass:function(a,e){var f=typeof a,i=typeof e==="boolean";if(b.isFunction(a))return this.each(function(f){var i=b(this);i.toggleClass(a.call(this,f,i.attr("class"),e),e)});return this.each(function(){if(f==="string")for(var m,c=0,d=b(this),k=e,j=a.split(oa);m=j[c++];)k=i?k:!d.hasClass(m),d[k?"addClass":"removeClass"](m);else if(f==="undefined"||f==="boolean")this.className&&b._data(this,"__className__",this.className),this.className=this.className||a===!1?"":b._data(this,"__className__")||""})},
hasClass:function(a){a=" "+a+" ";for(var b=0,f=this.length;b<f;b++)if((" "+this[b].className+" ").replace(xa," ").indexOf(a)>-1)return!0;return!1},val:function(a){var e,f,i=this[0];if(!arguments.length){if(i){if((e=b.valHooks[i.nodeName.toLowerCase()]||b.valHooks[i.type])&&"get"in e&&(f=e.get(i,"value"))!==n)return f;return(i.value||"").replace(Za,"")}return n}var m=b.isFunction(a);return this.each(function(f){var i=b(this);if(this.nodeType===1&&(f=m?a.call(this,f,i.val()):a,f==null?f="":typeof f===
"number"?f+="":b.isArray(f)&&(f=b.map(f,function(a){return a==null?"":a+""})),e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type],!e||!("set"in e)||e.set(this,f,"value")===n))this.value=f})}});b.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var e,f=a.selectedIndex,i=[],m=a.options;a=a.type==="select-one";if(f<0)return null;for(var c=a?f:0,d=a?f+1:m.length;c<d;c++)if(e=m[c],e.selected&&(b.support.optDisabled?
!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!b.nodeName(e.parentNode,"optgroup"))){e=b(e).val();if(a)return e;i.push(e)}if(a&&!i.length&&m.length)return b(m[f]).val();return i},set:function(a,e){var f=b.makeArray(e);b(a).find("option").each(function(){this.selected=b.inArray(b(this).val(),f)>=0});if(!f.length)a.selectedIndex=-1;return f}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,e,f,i){var m=
a.nodeType;if(!a||m===3||m===8||m===2)return n;if(i&&e in b.attrFn)return b(a)[e](f);if(!("getAttribute"in a))return b.prop(a,e,f);var c;e=(m=m!==1||!b.isXMLDoc(a))&&b.attrFix[e]||e;i=b.attrHooks[e];if(!i)if(ya.test(e)&&(typeof f==="boolean"||f===n||f.toLowerCase()===e.toLowerCase()))i=za;else if(S&&(b.nodeName(a,"form")||cb.test(e)))i=S;return f!==n?f===null?(b.removeAttr(a,e),n):i&&"set"in i&&m&&(c=i.set(a,f,e))!==n?c:(a.setAttribute(e,""+f),f):i&&"get"in i&&m?i.get(a,e):(c=a.getAttribute(e),c===
null?n:c)},removeAttr:function(a,e){var f;if(a.nodeType===1&&(e=b.attrFix[e]||e,b.support.getSetAttribute?a.removeAttribute(e):(b.attr(a,e,""),a.removeAttributeNode(a.getAttributeNode(e))),ya.test(e)&&(f=b.propFix[e]||e)in a))a[f]=!1},attrHooks:{type:{set:function(a,e){if($a.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&&e==="radio"&&b.nodeName(a,"input")){var f=a.value;a.setAttribute("type",e);if(f)a.value=f;return e}}},tabIndex:{get:function(a){var b=
a.getAttributeNode("tabIndex");return b&&b.specified?parseInt(b.value,10):ab.test(a.nodeName)||bb.test(a.nodeName)&&a.href?0:n}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,e,f){var i=a.nodeType;if(!a||i===3||i===8||i===2)return n;var c;e=(i!==1||!b.isXMLDoc(a))&&
b.propFix[e]||e;i=b.propHooks[e];return f!==n?i&&"set"in i&&(c=i.set(a,f,e))!==n?c:a[e]=f:i&&"get"in i&&(c=i.get(a,e))!==n?c:a[e]},propHooks:{}});za={get:function(a,e){return a[b.propFix[e]||e]?e.toLowerCase():n},set:function(a,e,f){var i;e===!1?b.removeAttr(a,f):(i=b.propFix[f]||f,i in a&&(a[i]=e),a.setAttribute(f,f.toLowerCase()));return f}};b.attrHooks.value={get:function(a,e){if(S&&b.nodeName(a,"button"))return S.get(a,e);return a.value},set:function(a,e,f){if(S&&b.nodeName(a,"button"))return S.set(a,
e,f);a.value=e}};if(!b.support.getSetAttribute)b.attrFix=b.propFix,S=b.attrHooks.name=b.valHooks.button={get:function(a,b){var f;return(f=a.getAttributeNode(b))&&f.nodeValue!==""?f.nodeValue:n},set:function(a,b,f){if(a=a.getAttributeNode(f))return a.nodeValue=b}},b.each(["width","height"],function(a,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(a,b){if(b==="")return a.setAttribute(e,"auto"),b}})});b.support.hrefNormalized||b.each(["href","src","width","height"],function(a,e){b.attrHooks[e]=
b.extend(b.attrHooks[e],{get:function(a){a=a.getAttribute(e,2);return a===null?n:a}})});if(!b.support.style)b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||n},set:function(a,b){return a.style.cssText=""+b}};if(!b.support.optSelected)b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}});b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});b.each(["radio","checkbox"],
function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,e){if(b.isArray(e))return a.checked=b.inArray(b(a).val(),e)>=0}})});var ja=/\.(.*)$/,pa=/^(?:textarea|input|select)$/i,Ra=/\./g,Sa=/ /g,db=/[^\w\s.|`]/g,eb=function(a){return a.replace(db,"\\$&")};b.event={add:function(a,e,f,i){if(!(a.nodeType===3||a.nodeType===8)){if(f===!1)f=j;else if(!f)return;var c,d;if(f.handler)c=f,f=c.handler;if(!f.guid)f.guid=b.guid++;if(d=b._data(a)){var k=d.events,h=d.handle;if(!k)d.events=k={};if(!h)d.handle=
h=function(a){return typeof b!=="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(h.elem,arguments):n};h.elem=a;e=e.split(" ");for(var g,q=0,p;g=e[q++];){d=c?b.extend({},c):{handler:f,data:i};g.indexOf(".")>-1?(p=g.split("."),g=p.shift(),d.namespace=p.slice(0).sort().join(".")):(p=[],d.namespace="");d.type=g;if(!d.guid)d.guid=f.guid;var o=k[g],u=b.event.special[g]||{};if(!o&&(o=k[g]=[],!u.setup||u.setup.call(a,i,p,h)===!1))a.addEventListener?a.addEventListener(g,h,!1):a.attachEvent&&
a.attachEvent("on"+g,h);if(u.add&&(u.add.call(a,d),!d.handler.guid))d.handler.guid=f.guid;o.push(d);b.event.global[g]=!0}a=null}}},global:{},remove:function(a,e,f,i){if(!(a.nodeType===3||a.nodeType===8)){f===!1&&(f=j);var c,d,k=0,h,g,q,p,o,u,l=b.hasData(a)&&b._data(a),A=l&&l.events;if(l&&A){if(e&&e.type)f=e.handler,e=e.type;if(!e||typeof e==="string"&&e.charAt(0)===".")for(c in e=e||"",A)b.event.remove(a,c+e);else{for(e=e.split(" ");c=e[k++];)if(p=c,h=c.indexOf(".")<0,g=[],h||(g=c.split("."),c=g.shift(),
q=RegExp("(^|\\.)"+b.map(g.slice(0).sort(),eb).join("\\.(?:.*\\.)?")+"(\\.|$)")),o=A[c])if(f){p=b.event.special[c]||{};for(d=i||0;d<o.length;d++)if(u=o[d],f.guid===u.guid){if(h||q.test(u.namespace))i==null&&o.splice(d--,1),p.remove&&p.remove.call(a,u);if(i!=null)break}if(o.length===0||i!=null&&o.length===1)(!p.teardown||p.teardown.call(a,g)===!1)&&b.removeEvent(a,c,l.handle),delete A[c]}else for(d=0;d<o.length;d++)if(u=o[d],h||q.test(u.namespace))b.event.remove(a,p,u.handler,d),o.splice(d--,1);if(b.isEmptyObject(A)){if(e=
l.handle)e.elem=null;delete l.events;delete l.handle;b.isEmptyObject(l)&&b.removeData(a,n,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,e,f,i){var c=a.type||a,d=[],k;c.indexOf("!")>=0&&(c=c.slice(0,-1),k=!0);c.indexOf(".")>=0&&(d=c.split("."),c=d.shift(),d.sort());if(f&&!b.event.customEvent[c]||b.event.global[c]){a=typeof a==="object"?a[b.expando]?a:new b.Event(c,a):new b.Event(c);a.type=c;a.exclusive=k;a.namespace=d.join(".");a.namespace_re=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+
"(\\.|$)");if(i||!f)a.preventDefault(),a.stopPropagation();if(f){if(!(f.nodeType===3||f.nodeType===8)){a.result=n;a.target=f;e=e?b.makeArray(e):[];e.unshift(a);d=f;i=c.indexOf(":")<0?"on"+c:"";do{k=b._data(d,"handle");a.currentTarget=d;k&&k.apply(d,e);if(i&&b.acceptData(d)&&d[i]&&d[i].apply(d,e)===!1)a.result=!1,a.preventDefault();d=d.parentNode||d.ownerDocument||d===a.target.ownerDocument&&h}while(d&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var j;d=b.event.special[c]||{};if((!d._default||
d._default.call(f.ownerDocument,a)===!1)&&!(c==="click"&&b.nodeName(f,"a"))&&b.acceptData(f)){try{if(i&&f[c])(j=f[i])&&(f[i]=null),b.event.triggered=c,f[c]()}catch(g){}j&&(f[i]=j);b.event.triggered=n}}return a.result}}else b.each(b.cache,function(){var f=this[b.expando];f&&f.events&&f.events[c]&&b.event.trigger(a,e,f.handle.elem)})}},handle:function(a){a=b.event.fix(a||h.event);var e=((b._data(this,"events")||{})[a.type]||[]).slice(0),f=!a.exclusive&&!a.namespace,i=Array.prototype.slice.call(arguments,
0);i[0]=a;a.currentTarget=this;for(var c=0,d=e.length;c<d;c++){var k=e[c];if(f||a.namespace_re.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,i);if(k!==n)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[b.expando])return a;var e=a;a=b.Event(e);for(var f=this.props.length,i;f;)i=this.props[--f],a[i]=e[i];if(!a.target)a.target=a.srcElement||r;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)f=a.target.ownerDocument||r,e=f.documentElement,f=f.body,a.pageX=a.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),
a.pageY=a.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.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!==n)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,s(a.origType,a.selector),b.extend({},a,{handler:x,guid:a.handler.guid}))},
remove:function(a){b.event.remove(this,s(a.origType,a.selector),a)}},beforeunload:{setup:function(a,e,f){if(b.isWindow(this))this.onbeforeunload=f},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};b.removeEvent=r.removeEventListener?function(a,b,f){a.removeEventListener&&a.removeEventListener(b,f,!1)}:function(a,b,f){a.detachEvent&&a.detachEvent("on"+b,f)};b.Event=function(a,e){if(!this.preventDefault)return new b.Event(a,e);a&&a.type?(this.originalEvent=a,this.type=
a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?o:j):this.type=a;e&&b.extend(this,e);this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=o;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=o;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
o;this.stopPropagation()},isDefaultPrevented:j,isPropagationStopped:j,isImmediatePropagationStopped:j};var Aa=function(a){var e=a.relatedTarget;a.type=a.data;try{if(!e||e===r||e.parentNode){for(;e&&e!==this;)e=e.parentNode;e!==this&&b.event.handle.apply(this,arguments)}}catch(f){}},Ba=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,e){b.event.special[a]={setup:function(f){b.event.add(this,e,f&&f.selector?Ba:Aa,a)},teardown:function(a){b.event.remove(this,
e,a&&a.selector?Ba:Aa)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(b.nodeName(this,"form"))return!1;else b.event.add(this,"click.specialSubmit",function(a){var e=a.target,f=e.type;(f==="submit"||f==="image")&&b(e).closest("form").length&&D("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var e=a.target,f=e.type;(f==="text"||f==="password")&&b(e).closest("form").length&&a.keyCode===13&&D("submit",this,arguments)})},teardown:function(){b.event.remove(this,
".specialSubmit")}};if(!b.support.changeBubbles){var da,Ca=function(a){var e=a.type,f=a.value;if(e==="radio"||e==="checkbox")f=a.checked;else if(e==="select-multiple")f=a.selectedIndex>-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName(a,"select"))f=a.selectedIndex;return f},ga=function(a,e){var f=a.target,i,c;if(pa.test(f.nodeName)&&!f.readOnly&&(i=b._data(f,"_change_data"),c=Ca(f),(a.type!=="focusout"||f.type!=="radio")&&b._data(f,"_change_data",c),!(i===n||c===i)))if(i!=
null||c)a.type="change",a.liveFired=n,b.event.trigger(a,e,f)};b.event.special.change={filters:{focusout:ga,beforedeactivate:ga,click:function(a){var e=a.target,f=b.nodeName(e,"input")?e.type:"";(f==="radio"||f==="checkbox"||b.nodeName(e,"select"))&&ga.call(this,a)},keydown:function(a){var e=a.target,f=b.nodeName(e,"input")?e.type:"";(a.keyCode===13&&!b.nodeName(e,"textarea")||a.keyCode===32&&(f==="checkbox"||f==="radio")||f==="select-multiple")&&ga.call(this,a)},beforeactivate:function(a){a=a.target;
b._data(a,"_change_data",Ca(a))}},setup:function(){if(this.type==="file")return!1;for(var a in da)b.event.add(this,a+".specialChange",da[a]);return pa.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return pa.test(this.nodeName)}};da=b.event.special.change.filters;da.focus=da.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,e){function f(a){var f=b.event.fix(a);f.type=e;f.originalEvent={};b.event.trigger(f,null,f.target);f.isDefaultPrevented()&&
a.preventDefault()}var i=0;b.event.special[e]={setup:function(){i++===0&&r.addEventListener(a,f,!0)},teardown:function(){--i===0&&r.removeEventListener(a,f,!0)}}});b.each(["bind","one"],function(a,e){b.fn[e]=function(a,i,c){var d;if(typeof a==="object"){for(var k in a)this[e](k,i,a[k],c);return this}if(arguments.length===2||i===!1)c=i,i=n;e==="one"?(d=function(a){b(this).unbind(a,d);return c.apply(this,arguments)},d.guid=c.guid||b.guid++):d=c;if(a==="unload"&&e!=="one")this.one(a,i,c);else{k=0;for(var j=
this.length;k<j;k++)b.event.add(this[k],a,d,i)}return this}});b.fn.extend({unbind:function(a,e){if(typeof a==="object"&&!a.preventDefault)for(var f in a)this.unbind(f,a[f]);else{f=0;for(var i=this.length;f<i;f++)b.event.remove(this[f],a,e)}return this},delegate:function(a,b,f,i){return this.live(b,f,i,a)},undelegate:function(a,b,f){return arguments.length===0?this.unbind("live"):this.die(b,null,f,a)},trigger:function(a,e){return this.each(function(){b.event.trigger(a,e,this)})},triggerHandler:function(a,
e){if(this[0])return b.event.trigger(a,e,this[0],!0)},toggle:function(a){var e=arguments,f=a.guid||b.guid++,i=0,c=function(f){var c=(b.data(this,"lastToggle"+a.guid)||0)%i;b.data(this,"lastToggle"+a.guid,c+1);f.preventDefault();return e[c].apply(this,arguments)||!1};for(c.guid=f;i<e.length;)e[i++].guid=f;return this.click(c)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var qa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],
function(a,e){b.fn[e]=function(a,i,c,d){var k=0,h,g,q=d||this.selector,p=d?this:b(this.context);if(typeof a==="object"&&!a.preventDefault){for(h in a)p[e](h,i,a[h],q);return this}if(e==="die"&&!a&&d&&d.charAt(0)===".")return p.unbind(d),this;if(i===!1||b.isFunction(i))c=i||j,i=n;for(a=(a||"").split(" ");(d=a[k++])!=null;)if(h=ja.exec(d),g="",h&&(g=h[0],d=d.replace(ja,"")),d==="hover")a.push("mouseenter"+g,"mouseleave"+g);else if(h=d,qa[d]?(a.push(qa[d]+g),d+=g):d=(qa[d]||d)+g,e==="live"){g=0;for(var o=
p.length;g<o;g++)b.event.add(p[g],"live."+s(d,q),{data:i,selector:q,handler:c,origType:d,origHandler:c,preType:h})}else p.unbind("live."+s(d,q),c);return this}});b.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,e){b.fn[e]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(e,a,b):this.trigger(e)};b.attrFn&&(b.attrFn[e]=
!0)});(function(){function a(a,b,e,f,i,c){i=0;for(var d=f.length;i<d;i++){var m=f[i];if(m){var k=!1;for(m=m[a];m;){if(m.sizcache===e){k=f[m.sizset];break}if(m.nodeType===1&&!c)m.sizcache=e,m.sizset=i;if(m.nodeName.toLowerCase()===b){k=m;break}m=m[a]}f[i]=k}}}function e(a,b,e,f,i,c){i=0;for(var d=f.length;i<d;i++){var m=f[i];if(m){var k=!1;for(m=m[a];m;){if(m.sizcache===e){k=f[m.sizset];break}if(m.nodeType===1){if(!c)m.sizcache=e,m.sizset=i;if(typeof b!=="string"){if(m===b){k=!0;break}}else if(g.filter(b,
[m]).length>0){k=m;break}}m=m[a]}f[i]=k}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,c=Object.prototype.toString,d=!1,k=!0,j=/\\/g,h=/\W/;[0,0].sort(function(){k=!1;return 0});var g=function(a,b,e,i){e=e||[];var d=b=b||r;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return e;var k,j,h,t,o,u=!0,n=g.isXML(b),y=[],A=a;do if(f.exec(""),k=f.exec(A))if(A=k[3],y.push(k[1]),k[2]){t=
k[3];break}while(k);if(y.length>1&&p.exec(a))if(y.length===2&&q.relative[y[0]])j=E(y[0]+y[1],b);else for(j=q.relative[y[0]]?[b]:g(y.shift(),b);y.length;)a=y.shift(),q.relative[a]&&(a+=y.shift()),j=E(a,j);else if(!i&&y.length>1&&b.nodeType===9&&!n&&q.match.ID.test(y[0])&&!q.match.ID.test(y[y.length-1])&&(k=g.find(y.shift(),b,n),b=k.expr?g.filter(k.expr,k.set)[0]:k.set[0]),b){k=i?{expr:y.pop(),set:l(i)}:g.find(y.pop(),y.length===1&&(y[0]==="~"||y[0]==="+")&&b.parentNode?b.parentNode:b,n);j=k.expr?g.filter(k.expr,
k.set):k.set;for(y.length>0?h=l(j):u=!1;y.length;)k=o=y.pop(),q.relative[o]?k=y.pop():o="",k==null&&(k=b),q.relative[o](h,k,n)}else h=[];h||(h=j);h||g.error(o||a);if(c.call(h)==="[object Array]")if(u)if(b&&b.nodeType===1)for(a=0;h[a]!=null;a++)h[a]&&(h[a]===!0||h[a].nodeType===1&&g.contains(b,h[a]))&&e.push(j[a]);else for(a=0;h[a]!=null;a++)h[a]&&h[a].nodeType===1&&e.push(j[a]);else e.push.apply(e,h);else l(h,e);t&&(g(t,d,e,i),g.uniqueSort(e));return e};g.uniqueSort=function(a){if(D&&(d=k,a.sort(D),
d))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};g.matches=function(a,b){return g(a,null,null,b)};g.matchesSelector=function(a,b){return g(b,null,null,[a]).length>0};g.find=function(a,b,e){var f;if(!a)return[];for(var i=0,c=q.order.length;i<c;i++){var d,m=q.order[i];if(d=q.leftMatch[m].exec(a)){var k=d[1];d.splice(1,1);if(k.substr(k.length-1)!=="\\"&&(d[1]=(d[1]||"").replace(j,""),f=q.find[m](d,b,e),f!=null)){a=a.replace(q.match[m],"");break}}}f||(f=typeof b.getElementsByTagName!==
"undefined"?b.getElementsByTagName("*"):[]);return{set:f,expr:a}};g.filter=function(a,b,e,f){for(var i,c,d=a,m=[],k=b,j=b&&b[0]&&g.isXML(b[0]);a&&b.length;){for(var h in q.filter)if((i=q.leftMatch[h].exec(a))!=null&&i[2]){var t,p,o=q.filter[h];p=i[1];c=!1;i.splice(1,1);if(p.substr(p.length-1)!=="\\"){k===m&&(m=[]);if(q.preFilter[h])if(i=q.preFilter[h](i,k,e,m,f,j)){if(i===!0)continue}else c=t=!0;if(i)for(var u=0;(p=k[u])!=null;u++)if(p){t=o(p,i,u,k);var y=f^!!t;e&&t!=null?y?c=!0:k[u]=!1:y&&(m.push(p),
c=!0)}if(t!==n){e||(k=m);a=a.replace(q.match[h],"");if(!c)return[];break}}}if(a===d)if(c==null)g.error(a);else break;d=a}return k};g.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var q=g.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 e=
typeof b==="string",f=e&&!h.test(b);e=e&&!f;f&&(b=b.toLowerCase());f=0;for(var i=a.length,c;f<i;f++)if(c=a[f]){for(;(c=c.previousSibling)&&c.nodeType!==1;);a[f]=e||c&&c.nodeName.toLowerCase()===b?c||!1:c===b}e&&g.filter(b,a,!0)},">":function(a,b){var e,f=typeof b==="string",i=0,c=a.length;if(f&&!h.test(b))for(b=b.toLowerCase();i<c;i++){if(e=a[i])e=e.parentNode,a[i]=e.nodeName.toLowerCase()===b?e:!1}else{for(;i<c;i++)(e=a[i])&&(a[i]=f?e.parentNode:e.parentNode===b);f&&g.filter(b,a,!0)}},"":function(b,
f,c){var d,m=i++,k=e;typeof f==="string"&&!h.test(f)&&(d=f=f.toLowerCase(),k=a);k("parentNode",f,m,b,d,c)},"~":function(b,f,c){var d,m=i++,k=e;typeof f==="string"&&!h.test(f)&&(d=f=f.toLowerCase(),k=a);k("previousSibling",f,m,b,d,c)}},find:{ID:function(a,b,e){if(typeof b.getElementById!=="undefined"&&!e)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var e=[],f=b.getElementsByName(a[1]),i=0,c=f.length;i<c;i++)f[i].getAttribute("name")===
a[1]&&e.push(f[i]);return e.length===0?null:e}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,e,f,i,c){a=" "+a[1].replace(j,"")+" ";if(c)return a;c=0;for(var d;(d=b[c])!=null;c++)d&&(i^(d.className&&(" "+d.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?e||f.push(d):e&&(b[c]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]===
"nth"){a[2]||g.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]&&g.error(a[0]);a[0]=i++;return a},ATTR:function(a,b,e,f,i,c){b=a[1]=a[1].replace(j,"");!c&&q.attrMap[b]&&(a[1]=q.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(j,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,e,i,c){if(a[1]==="not")if((f.exec(a[3])||"").length>1||
/^\w/.test(a[3]))a[3]=g(a[3],null,null,b);else return a=g.filter(a[3],b,e,1^c),e||i.push.apply(i,a),!1;else if(q.match.POS.test(a[0])||q.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,e){return!!g(e[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),e=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===e&&(b===e||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()===
"input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===
a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,e,f){return b===f.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,e){return b<e[3]-0},gt:function(a,b,e){return b>e[3]-0},nth:function(a,b,e){return e[3]-0===b},eq:function(a,b,e){return e[3]-0===b}},filter:{PSEUDO:function(a,b,e,f){var i=b[1],c=q.filters[i];if(c)return c(a,e,b,f);else if(i==="contains")return(a.textContent||a.innerText||g.getText([a])||"").indexOf(b[3])>=
0;else if(i==="not"){b=b[3];e=0;for(f=b.length;e<f;e++)if(b[e]===a)return!1;return!0}else g.error(i)},CHILD:function(a,b){var e=b[1],f=a;switch(e){case "only":case "first":for(;f=f.previousSibling;)if(f.nodeType===1)return!1;if(e==="first")return!0;f=a;case "last":for(;f=f.nextSibling;)if(f.nodeType===1)return!1;return!0;case "nth":e=b[2];var i=b[3];if(e===1&&i===0)return!0;var c=b[0],d=a.parentNode;if(d&&(d.sizcache!==c||!a.nodeIndex)){var m=0;for(f=d.firstChild;f;f=f.nextSibling)if(f.nodeType===
1)f.nodeIndex=++m;d.sizcache=c}f=a.nodeIndex-i;return e===0?f===0:f%e===0&&f/e>=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 e=b[1];e=q.attrHandle[e]?q.attrHandle[e](a):a[e]!=null?a[e]:a.getAttribute(e);var f=e+"",i=b[2],c=b[4];return e==null?i==="!=":i==="="?f===c:i==="*="?f.indexOf(c)>=
0:i==="~="?(" "+f+" ").indexOf(c)>=0:!c?f&&e!==!1:i==="!="?f!==c:i==="^="?f.indexOf(c)===0:i==="$="?f.substr(f.length-c.length)===c:i==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1},POS:function(a,b,e,f){var i=q.setFilters[b[2]];if(i)return i(a,e,b,f)}}},p=q.match.POS,o=function(a,b){return"\\"+(b-0+1)},u;for(u in q.match)q.match[u]=RegExp(q.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source),q.leftMatch[u]=RegExp(/(^(?:.|\r|\n)*?)/.source+q.match[u].source.replace(/\\(\d+)/g,o));var l=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(r.documentElement.childNodes,0)}catch(A){l=function(a,b){var e=0,f=b||[];if(c.call(a)==="[object Array]")Array.prototype.push.apply(f,a);else if(typeof a.length==="number")for(var i=a.length;e<i;e++)f.push(a[e]);else for(;a[e];e++)f.push(a[e]);return f}}var D,H;r.documentElement.compareDocumentPosition?D=function(a,b){if(a===b)return d=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?
-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(D=function(a,b){if(a===b)return d=!0,0;else if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var e,f,i=[],c=[];e=a.parentNode;f=b.parentNode;var m=e;if(e===f)return H(a,b);else if(e){if(!f)return 1}else return-1;for(;m;)i.unshift(m),m=m.parentNode;for(m=f;m;)c.unshift(m),m=m.parentNode;e=i.length;f=c.length;for(m=0;m<e&&m<f;m++)if(i[m]!==c[m])return H(i[m],c[m]);return m===e?H(a,c[m],-1):H(i[m],b,1)},H=function(a,b,e){if(a===b)return e;
for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});g.getText=function(a){for(var b="",e,f=0;a[f];f++)e=a[f],e.nodeType===3||e.nodeType===4?b+=e.nodeValue:e.nodeType!==8&&(b+=g.getText(e.childNodes));return b};(function(){var a=r.createElement("div"),b="script"+(new Date).getTime(),e=r.documentElement;a.innerHTML="<a name='"+b+"'/>";e.insertBefore(a,e.firstChild);if(r.getElementById(b))q.find.ID=function(a,b,e){if(typeof b.getElementById!=="undefined"&&!e)return(b=b.getElementById(a[1]))?
b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:n:[]},q.filter.ID=function(a,b){var e=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&e&&e.nodeValue===b};e.removeChild(a);e=a=null})();(function(){var a=r.createElement("div");a.appendChild(r.createComment(""));if(a.getElementsByTagName("*").length>0)q.find.TAG=function(a,b){var e=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var f=[],i=0;e[i];i++)e[i].nodeType===
1&&f.push(e[i]);e=f}return e};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")q.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();r.querySelectorAll&&function(){var a=g,b=r.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){g=function(b,e,f,i){e=e||r;if(!i&&!g.isXML(e)){var c=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);
if(c&&(e.nodeType===1||e.nodeType===9))if(c[1])return l(e.getElementsByTagName(b),f);else if(c[2]&&q.find.CLASS&&e.getElementsByClassName)return l(e.getElementsByClassName(c[2]),f);if(e.nodeType===9){if(b==="body"&&e.body)return l([e.body],f);else if(c&&c[3]){var d=e.getElementById(c[3]);if(d&&d.parentNode){if(d.id===c[3])return l([d],f)}else return l([],f)}try{return l(e.querySelectorAll(b),f)}catch(m){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){c=e;var k=(d=e.getAttribute("id"))||
"__sizzle__",j=e.parentNode,h=/^\s*[+~]/.test(b);d?k=k.replace(/'/g,"\\$&"):e.setAttribute("id",k);if(h&&j)e=e.parentNode;try{if(!h||j)return l(e.querySelectorAll("[id='"+k+"'] "+b),f)}catch(t){}finally{d||c.removeAttribute("id")}}}return a(b,e,f,i)};for(var e in a)g[e]=a[e];b=null}}();(function(){var a=r.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var e=!b.call(r.createElement("div"),"div"),f=!1;try{b.call(r.documentElement,"[test!='']:sizzle")}catch(i){f=
!0}g.matchesSelector=function(a,i){i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!g.isXML(a))try{if(f||!q.match.PSEUDO.test(i)&&!/!=/.test(i)){var c=b.call(a,i);if(c||!e||a.document&&a.document.nodeType!==11)return c}}catch(d){}return g(i,null,null,[a]).length>0}}})();(function(){var a=r.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))q.order.splice(1,0,"CLASS"),q.find.CLASS=function(a,b,e){if(typeof b.getElementsByClassName!=="undefined"&&!e)return b.getElementsByClassName(a[1])},a=null})();g.contains=r.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:r.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};g.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var E=function(a,b){for(var e,
f=[],i="",c=b.nodeType?[b]:b;e=q.match.PSEUDO.exec(a);)i+=e[0],a=a.replace(q.match.PSEUDO,"");a=q.relative[a]?a+"*":a;e=0;for(var d=c.length;e<d;e++)g(a,c[e],f);return g.filter(i,f)};b.find=g;b.expr=g.selectors;b.expr[":"]=b.expr.filters;b.unique=g.uniqueSort;b.text=g.getText;b.isXMLDoc=g.isXML;b.contains=g.contains})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/,Ta=/^.[^:#\[\.,]*$/,ib=Array.prototype.slice,Da=b.expr.match.POS,jb={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){var e=
this,f,i;if(typeof a!=="string")return b(a).filter(function(){f=0;for(i=e.length;f<i;f++)if(b.contains(e[f],this))return!0});var c=this.pushStack("","find",a),d,k,j;f=0;for(i=this.length;f<i;f++)if(d=c.length,b.find(a,this[f],c),f>0)for(k=d;k<c.length;k++)for(j=0;j<d;j++)if(c[j]===c[k]){c.splice(k--,1);break}return c},has:function(a){var e=b(a);return this.filter(function(){for(var a=0,i=e.length;a<i;a++)if(b.contains(this,e[a]))return!0})},not:function(a){return this.pushStack(v(this,a,!1),"not",
a)},filter:function(a){return this.pushStack(v(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?b.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,e){var f=[],i,c,d=this[0];if(b.isArray(a)){var k,j={},h=1;if(d&&a.length){i=0;for(c=a.length;i<c;i++)k=a[i],j[k]||(j[k]=Da.test(k)?b(k,e||this.context):k);for(;d&&d.ownerDocument&&d!==e;){for(k in j)i=j[k],(i.jquery?i.index(d)>-1:b(d).is(i))&&f.push({selector:k,elem:d,level:h});d=d.parentNode;h++}}return f}k=Da.test(a)||
typeof a!=="string"?b(a,e||this.context):0;i=0;for(c=this.length;i<c;i++)for(d=this[i];d;)if(k?k.index(d)>-1:b.find.matchesSelector(d,a)){f.push(d);break}else if(d=d.parentNode,!d||!d.ownerDocument||d===e||d.nodeType===11)break;f=f.length>1?b.unique(f):f;return this.pushStack(f,"closest",a)},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,e){var f=typeof a==="string"?b(a,e):b.makeArray(a&&
a.nodeType?[a]:a),i=b.merge(this.get(),f);return this.pushStack(!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11||!i[0]||!i[0].parentNode||i[0].parentNode.nodeType===11?i:b.unique(i))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,e,f){return b.dir(a,"parentNode",f)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,
2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,e,f){return b.dir(a,"nextSibling",f)},prevUntil:function(a,e,f){return b.dir(a,"previousSibling",f)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,
e){b.fn[a]=function(f,i){var c=b.map(this,e,f),d=ib.call(arguments);fb.test(a)||(i=f);i&&typeof i==="string"&&(c=b.filter(i,c));c=this.length>1&&!jb[a]?b.unique(c):c;if((this.length>1||hb.test(i))&&gb.test(a))c=c.reverse();return this.pushStack(c,a,d.join(","))}});b.extend({filter:function(a,e,f){f&&(a=":not("+a+")");return e.length===1?b.find.matchesSelector(e[0],a)?[e[0]]:[]:b.find.matches(a,e)},dir:function(a,e,f){var i=[];for(a=a[e];a&&a.nodeType!==9&&(f===n||a.nodeType!==1||!b(a).is(f));)a.nodeType===
1&&i.push(a),a=a[e];return i},nth:function(a,b,f){b=b||1;for(var i=0;a;a=a[f])if(a.nodeType===1&&++i===b)break;return a},sibling:function(a,b){for(var f=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&f.push(a);return f}});var kb=/ jQuery\d+="(?:\d+|null)"/g,ra=/^\s+/,Ea=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Fa=/<([\w:]+)/,lb=/<tbody/i,mb=/<|&#?\w+;/,Ga=/<(?:script|object|embed|option|style)/i,Ha=/checked\s*(?:[^=]|=\s*.checked.)/i,nb=/\/(java|ecma)script/i,Ua=/^\s*<!(?:\[CDATA\[|\-\-)/,
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(!b.support.htmlSerialize)C._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(e){var f=
b(this);f.text(a.call(this,e,f.text()))});if(typeof a!=="object"&&a!==n)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(e){b(this).wrapAll(a.call(this,e))});if(this[0]){var e=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]);e.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(b.isFunction(a))return this.each(function(e){b(this).wrapInner(a.call(this,e))});return this.each(function(){var e=b(this),f=e.contents();f.length?f.wrapAll(a):e.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(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=b(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,b(arguments[0]).toArray());return a}},remove:function(a,e){for(var f=0,i;(i=this[f])!=null;f++)if(!a||b.filter(a,[i]).length)!e&&i.nodeType===1&&(b.cleanData(i.getElementsByTagName("*")),b.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i);return this},empty:function(){for(var a=0,e;(e=this[a])!=null;a++)for(e.nodeType===1&&b.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(a,e){a=
a==null?!1:a;e=e==null?a:e;return this.map(function(){return b.clone(this,a,e)})},html:function(a){if(a===n)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(kb,""):null;else if(typeof a==="string"&&!Ga.test(a)&&(b.support.leadingWhitespace||!ra.test(a))&&!C[(Fa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ea,"<$1></$2>");try{for(var e=0,f=this.length;e<f;e++)if(this[e].nodeType===1)b.cleanData(this[e].getElementsByTagName("*")),this[e].innerHTML=a}catch(i){this.empty().append(a)}}else b.isFunction(a)?
this.each(function(e){var f=b(this);f.html(a.call(this,e,f.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(e){var f=b(this),i=f.html();f.replaceWith(a.call(this,e,i))});typeof a!=="string"&&(a=b(a).detach());return this.each(function(){var e=this.nextSibling,f=this.parentNode;b(this).remove();e?b(e).before(a):b(f).append(a)})}else return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",
a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,e,f){var i,c,d,k=a[0],j=[];if(!b.support.checkClone&&arguments.length===3&&typeof k==="string"&&Ha.test(k))return this.each(function(){b(this).domManip(a,e,f,!0)});if(b.isFunction(k))return this.each(function(i){var c=b(this);a[0]=k.call(this,i,e?c.html():n);c.domManip(a,e,f)});if(this[0]){i=k&&k.parentNode;i=b.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?{fragment:i}:b.buildFragment(a,this,j);d=
i.fragment;if(c=d.childNodes.length===1?d=d.firstChild:d.firstChild){e=e&&b.nodeName(c,"tr");c=0;for(var h=this.length,g=h-1;c<h;c++)f.call(e?b.nodeName(this[c],"table")?this[c].getElementsByTagName("tbody")[0]||this[c].appendChild(this[c].ownerDocument.createElement("tbody")):this[c]:this[c],i.cacheable||h>1&&c<g?b.clone(d,!0,!0):d)}j.length&&b.each(j,M)}return this}});b.buildFragment=function(a,e,f){var i,c,d;e=e&&e[0]?e[0].ownerDocument||e[0]:r;if(a.length===1&&typeof a[0]==="string"&&a[0].length<
512&&e===r&&a[0].charAt(0)==="<"&&!Ga.test(a[0])&&(b.support.checkClone||!Ha.test(a[0])))c=!0,(d=b.fragments[a[0]])&&d!==1&&(i=d);i||(i=e.createDocumentFragment(),b.clean(a,e,i,f));c&&(b.fragments[a[0]]=d?i:1);return{fragment:i,cacheable:c}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,e){b.fn[a]=function(f){var i=[];f=b(f);var c=this.length===1&&this[0].parentNode;if(c&&c.nodeType===11&&c.childNodes.length===
1&&f.length===1)return f[e](this[0]),this;else{c=0;for(var d=f.length;c<d;c++){var k=(c>0?this.clone(!0):this).get();b(f[c])[e](k);i=i.concat(k)}return this.pushStack(i,a,f.selector)}}});b.extend({clone:function(a,e,f){var i=a.cloneNode(!0),c,d,k;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){z(a,i);c=I(a);d=I(i);for(k=0;c[k];++k)z(c[k],d[k])}if(e&&(w(a,i),f)){c=I(a);d=I(i);for(k=0;c[k];++k)w(c[k],d[k])}return i},clean:function(a,e,f,i){e=
e||r;typeof e.createElement==="undefined"&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||r);for(var c=[],d,k=0,j;(j=a[k])!=null;k++)if(typeof j==="number"&&(j+=""),j){if(typeof j==="string")if(mb.test(j)){j=j.replace(Ea,"<$1></$2>");d=(Fa.exec(j)||["",""])[1].toLowerCase();var h=C[d]||C._default,g=h[0],q=e.createElement("div");for(q.innerHTML=h[1]+j+h[2];g--;)q=q.lastChild;if(!b.support.tbody){g=lb.test(j);h=d==="table"&&!g?q.firstChild&&q.firstChild.childNodes:h[1]==="<table>"&&!g?q.childNodes:[];
for(d=h.length-1;d>=0;--d)b.nodeName(h[d],"tbody")&&!h[d].childNodes.length&&h[d].parentNode.removeChild(h[d])}!b.support.leadingWhitespace&&ra.test(j)&&q.insertBefore(e.createTextNode(ra.exec(j)[0]),q.firstChild);j=q.childNodes}else j=e.createTextNode(j);var p;if(!b.support.appendChecked)if(j[0]&&typeof(p=j.length)==="number")for(d=0;d<p;d++)K(j[d]);else K(j);j.nodeType?c.push(j):c=b.merge(c,j)}if(f){a=function(a){return!a.type||nb.test(a.type)};for(k=0;c[k];k++)i&&b.nodeName(c[k],"script")&&(!c[k].type||
c[k].type.toLowerCase()==="text/javascript")?i.push(c[k].parentNode?c[k].parentNode.removeChild(c[k]):c[k]):(c[k].nodeType===1&&(e=b.grep(c[k].getElementsByTagName("script"),a),c.splice.apply(c,[k+1,0].concat(e))),f.appendChild(c[k]))}return c},cleanData:function(a){for(var e,f,c=b.cache,d=b.expando,k=b.event.special,j=b.support.deleteExpando,h=0,g;(g=a[h])!=null;h++)if(!g.nodeName||!b.noData[g.nodeName.toLowerCase()])if(f=g[b.expando]){if((e=c[f]&&c[f][d])&&e.events){for(var q in e.events)k[q]?b.event.remove(g,
q):b.removeEvent(g,q,e.handle);if(e.handle)e.handle.elem=null}j?delete g[b.expando]:g.removeAttribute&&g.removeAttribute(b.expando);delete c[f]}}});var Ia=/alpha\([^)]*\)/i,ob=/opacity=([^)]*)/,pb=/-([a-z])/ig,qb=/([A-Z]|^ms)/g,Ja=/^-?\d+(?:px)?$/i,rb=/^-?\d/,sb=/^[+\-]=/,tb=/[^+\-\.\de]+/g,ub={position:"absolute",visibility:"hidden",display:"block"},Va=["Left","Right"],Wa=["Top","Bottom"],Y,Ka,ha,vb=function(a,b){return b.toUpperCase()};b.fn.css=function(a,e){if(arguments.length===2&&e===n)return this;
return b.access(this,a,e,!0,function(a,e,c){return c!==n?b.style(a,e,c):b.css(a,e)})};b.extend({cssHooks:{opacity:{get:function(a,b){if(b){var f=Y(a,"opacity","opacity");return f===""?"1":f}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,e,f,c){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var d,k=b.camelCase(e),j=a.style,h=b.cssHooks[k];e=b.cssProps[k]||
k;if(f!==n){if(c=typeof f,!(c==="number"&&isNaN(f)||f==null))if(c==="string"&&sb.test(f)&&(f=+f.replace(tb,"")+parseFloat(b.css(a,e))),c==="number"&&!b.cssNumber[k]&&(f+="px"),!h||!("set"in h)||(f=h.set(a,f))!==n)try{j[e]=f}catch(g){}}else{if(h&&"get"in h&&(d=h.get(a,!1,c))!==n)return d;return j[e]}}},css:function(a,e,f){var c,d;e=b.camelCase(e);d=b.cssHooks[e];e=b.cssProps[e]||e;e==="cssFloat"&&(e="float");if(d&&"get"in d&&(c=d.get(a,!0,f))!==n)return c;else if(Y)return Y(a,e)},swap:function(a,b,
f){var c={},d;for(d in b)c[d]=a.style[d],a.style[d]=b[d];f.call(a);for(d in b)a.style[d]=c[d]},camelCase:function(a){return a.replace(pb,vb)}});b.curCSS=b.css;b.each(["height","width"],function(a,e){b.cssHooks[e]={get:function(a,c,d){var k;if(c){a.offsetWidth!==0?k=F(a,e,d):b.swap(a,ub,function(){k=F(a,e,d)});if(k<=0&&(k=Y(a,e,e),k==="0px"&&ha&&(k=ha(a,e,e)),k!=null))return k===""||k==="auto"?"0px":k;if(k<0||k==null)return k=a.style[e],k===""||k==="auto"?"0px":k;return typeof k==="string"?k:k+"px"}},
set:function(a,b){if(Ja.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,b){return ob.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,e){var f=a.style,c=a.currentStyle;f.zoom=1;var d=b.isNaN(e)?"":"alpha(opacity="+e*100+")";c=c&&c.filter||f.filter||"";f.filter=Ia.test(c)?c.replace(Ia,d):c+" "+d}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight=
{get:function(a,e){var f;b.swap(a,{display:"inline-block"},function(){f=e?Y(a,"margin-right","marginRight"):a.style.marginRight});return f}}});r.defaultView&&r.defaultView.getComputedStyle&&(Ka=function(a,e){var f,c;e=e.replace(qb,"-$1").toLowerCase();if(!(c=a.ownerDocument.defaultView))return n;if(c=c.getComputedStyle(a,null))f=c.getPropertyValue(e),f===""&&!b.contains(a.ownerDocument.documentElement,a)&&(f=b.style(a,e));return f});r.documentElement.currentStyle&&(ha=function(a,b){var f,c=a.currentStyle&&
a.currentStyle[b],d=a.runtimeStyle&&a.runtimeStyle[b],k=a.style;if(!Ja.test(c)&&rb.test(c)){f=k.left;if(d)a.runtimeStyle.left=a.currentStyle.left;k.left=b==="fontSize"?"1em":c||0;c=k.pixelLeft+"px";k.left=f;if(d)a.runtimeStyle.left=d}return c===""?"auto":c});Y=Ka||ha;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var e=a.offsetHeight;return a.offsetWidth===0&&e===0||!b.support.reliableHiddenOffsets&&(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)};
var wb=/%20/g,Xa=/\[\]$/,La=/\r?\n/g,xb=/#.*$/,yb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,zb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ab=/^(?:GET|HEAD)$/,Bb=/^\/\//,Ma=/\?/,Cb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Db=/^(?:select|textarea)/i,ua=/\s+/,Eb=/([?&])_=[^&]*/,Na=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Oa=b.fn.load,ka={},Pa={},T,U;try{T=q.href}catch(Kb){T=r.createElement("a"),T.href="",T=T.href}U=Na.exec(T.toLowerCase())||
[];b.fn.extend({load:function(a,e,f){if(typeof a!=="string"&&Oa)return Oa.apply(this,arguments);else if(!this.length)return this;var c=a.indexOf(" ");if(c>=0){var d=a.slice(c,a.length);a=a.slice(0,c)}c="GET";e&&(b.isFunction(e)?(f=e,e=n):typeof e==="object"&&(e=b.param(e,b.ajaxSettings.traditional),c="POST"));var k=this;b.ajax({url:a,type:c,dataType:"html",data:e,complete:function(a,e,c){c=a.responseText;a.isResolved()&&(a.done(function(a){c=a}),k.html(d?b("<div>").append(c.replace(Cb,"")).find(d):
c));f&&k.each(f,[c,e,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Db.test(this.nodeName)||zb.test(this.type))}).map(function(a,e){var f=b(this).val();return f==null?null:b.isArray(f)?b.map(f,function(a){return{name:e.name,value:a.replace(La,"\r\n")}}):{name:e.name,value:f.replace(La,"\r\n")}}).get()}});
b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,e){b.fn[e]=function(a){return this.bind(e,a)}});b.each(["get","post"],function(a,e){b[e]=function(a,c,d,k){b.isFunction(c)&&(k=k||d,d=c,c=n);return b.ajax({type:e,url:a,data:c,success:d,dataType:k})}});b.extend({getScript:function(a,e){return b.get(a,n,e,"script")},getJSON:function(a,e,f){return b.get(a,e,f,"json")},ajaxSetup:function(a,e){e?b.extend(!0,a,b.ajaxSettings,e):(e=a,a=b.extend(!0,b.ajaxSettings,
e));for(var f in{context:1,url:1})f in e?a[f]=e[f]:f in b.ajaxSettings&&(a[f]=b.ajaxSettings[f]);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":h.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:G(ka),ajaxTransport:G(Pa),ajax:function(a,e){function f(a,e,f,d){if(E!==2){E=2;H&&clearTimeout(H);D=n;l=d||"";s.readyState=a?4:0;var o,u,A;if(f){d=c;var r=s,v=d.contents,J=d.dataTypes,I=d.responseFields,B,w,N,aa;for(w in I)w in f&&(r[I[w]]=f[w]);for(;J[0]==="*";)J.shift(),B===n&&(B=d.mimeType||r.getResponseHeader("content-type"));if(B)for(w in v)if(v[w]&&v[w].test(B)){J.unshift(w);
break}if(J[0]in f)N=J[0];else{for(w in f){if(!J[0]||d.converters[w+" "+J[0]]){N=w;break}aa||(aa=w)}N=N||aa}N?(N!==J[0]&&J.unshift(N),f=f[N]):f=void 0}else f=n;if(a>=200&&a<300||a===304){if(c.ifModified){if(B=s.getResponseHeader("Last-Modified"))b.lastModified[p]=B;if(B=s.getResponseHeader("Etag"))b.etag[p]=B}if(a===304)e="notmodified",o=!0;else try{B=c;B.dataFilter&&(f=B.dataFilter(f,B.dataType));var L=B.dataTypes;w={};var z,V,Q=L.length,P,C=L[0],K,M,F,G,W;for(z=1;z<Q;z++){if(z===1)for(V in B.converters)typeof V===
"string"&&(w[V.toLowerCase()]=B.converters[V]);K=C;C=L[z];if(C==="*")C=K;else if(K!=="*"&&K!==C){M=K+" "+C;F=w[M]||w["* "+C];if(!F)for(G in W=n,w)if(P=G.split(" "),P[0]===K||P[0]==="*")if(W=w[P[1]+" "+C]){G=w[G];G===!0?F=W:W===!0&&(F=G);break}!F&&!W&&b.error("No conversion from "+M.replace(" "," to "));F!==!0&&(f=F?F(f):W(G(f)))}}u=f;e="success";o=!0}catch(O){e="parsererror",A=O}}else if(A=e,!e||a)e="error",a<0&&(a=0);s.status=a;s.statusText=e;o?h.resolveWith(k,[u,e,s]):h.rejectWith(k,[s,e,A]);s.statusCode(q);
q=n;x&&j.trigger("ajax"+(o?"Success":"Error"),[s,c,o?u:A]);g.resolveWith(k,[s,e]);x&&(j.trigger("ajaxComplete",[s,c]),--b.active||b.event.trigger("ajaxStop"))}}typeof a==="object"&&(e=a,a=n);e=e||{};var c=b.ajaxSetup({},e),k=c.context||c,j=k!==c&&(k.nodeType||k instanceof b)?b(k):b.event,h=b.Deferred(),g=b._Deferred(),q=c.statusCode||{},p,o={},u={},l,A,D,H,r,E=0,x,v,s={readyState:0,setRequestHeader:function(a,b){if(!E){var e=a.toLowerCase();a=u[e]=u[e]||a;o[a]=b}return this},getAllResponseHeaders:function(){return E===
2?l:null},getResponseHeader:function(a){var b;if(E===2){if(!A)for(A={};b=yb.exec(l);)A[b[1].toLowerCase()]=b[2];b=A[a.toLowerCase()]}return b===n?null:b},overrideMimeType:function(a){if(!E)c.mimeType=a;return this},abort:function(a){a=a||"abort";D&&D.abort(a);f(0,a);return this}};h.promise(s);s.success=s.done;s.error=s.fail;s.complete=g.done;s.statusCode=function(a){if(a){var b;if(E<2)for(b in a)q[b]=[q[b],a[b]];else b=a[s.status],s.then(b,b)}return this};c.url=((a||c.url)+"").replace(xb,"").replace(Bb,
U[1]+"//");c.dataTypes=b.trim(c.dataType||"*").toLowerCase().split(ua);if(c.crossDomain==null)r=Na.exec(c.url.toLowerCase()),c.crossDomain=!(!r||!(r[1]!=U[1]||r[2]!=U[2]||(r[3]||(r[1]==="http:"?80:443))!=(U[3]||(U[1]==="http:"?80:443))));if(c.data&&c.processData&&typeof c.data!=="string")c.data=b.param(c.data,c.traditional);d(ka,c,e,s);if(E===2)return!1;x=c.global;c.type=c.type.toUpperCase();c.hasContent=!Ab.test(c.type);x&&b.active++===0&&b.event.trigger("ajaxStart");if(!c.hasContent&&(c.data&&(c.url+=
(Ma.test(c.url)?"&":"?")+c.data),p=c.url,c.cache===!1)){r=b.now();var J=c.url.replace(Eb,"$1_="+r);c.url=J+(J===c.url?(Ma.test(c.url)?"&":"?")+"_="+r:"")}(c.data&&c.hasContent&&c.contentType!==!1||e.contentType)&&s.setRequestHeader("Content-Type",c.contentType);c.ifModified&&(p=p||c.url,b.lastModified[p]&&s.setRequestHeader("If-Modified-Since",b.lastModified[p]),b.etag[p]&&s.setRequestHeader("If-None-Match",b.etag[p]));s.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+
(c.dataTypes[0]!=="*"?", */*; q=0.01":""):c.accepts["*"]);for(v in c.headers)s.setRequestHeader(v,c.headers[v]);if(c.beforeSend&&(c.beforeSend.call(k,s,c)===!1||E===2))return s.abort(),!1;for(v in{success:1,error:1,complete:1})s[v](c[v]);if(D=d(Pa,c,e,s)){s.readyState=1;x&&j.trigger("ajaxSend",[s,c]);c.async&&c.timeout>0&&(H=setTimeout(function(){s.abort("timeout")},c.timeout));try{E=1,D.send(o,f)}catch(I){status<2?f(-1,I):b.error(I)}}else f(-1,"No Transport");return s},param:function(a,e){var f=
[],d=function(a,e){e=b.isFunction(e)?e():e;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(e)};if(e===n)e=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){d(this.name,this.value)});else for(var k in a)c(k,a[k],e,d);return f.join("&").replace(wb,"+")}});b.extend({active:0,lastModified:{},etag:{}});var Fb=b.now(),ia=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+Fb++}});b.ajaxPrefilter("json jsonp",
function(a,e,f){e=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==!1&&(ia.test(a.url)||e&&ia.test(a.data))){var c,d=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,k=h[d],j=a.url,g=a.data,q="$1"+d+"$2";a.jsonp!==!1&&(j=j.replace(ia,q),a.url===j&&(e&&(g=g.replace(ia,q)),a.data===g&&(j+=(/\?/.test(j)?"&":"?")+a.jsonp+"="+d)));a.url=j;a.data=g;h[d]=function(a){c=[a]};f.always(function(){h[d]=k;if(c&&
b.isFunction(k))h[d](c[0])});a.converters["script json"]=function(){c||b.error(d+" was not called");return c[0]};a.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});b.ajaxPrefilter("script",function(a){if(a.cache===n)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",
function(a){if(a.crossDomain){var b,c=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(d,k){b=r.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,d){if(d||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),b=n,d||k(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var sa=
h.ActiveXObject?function(){for(var a in Z)Z[a](0,1)}:!1,Gb=0,Z;b.ajaxSettings.xhr=h.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&u()))a:{try{a=new h.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:u;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var e;return{send:function(c,d){var k=a.xhr(),j,g;a.username?k.open(a.type,a.url,a.async,a.username,
a.password):k.open(a.type,a.url,a.async);if(a.xhrFields)for(g in a.xhrFields)k[g]=a.xhrFields[g];a.mimeType&&k.overrideMimeType&&k.overrideMimeType(a.mimeType);!a.crossDomain&&!c["X-Requested-With"]&&(c["X-Requested-With"]="XMLHttpRequest");try{for(g in c)k.setRequestHeader(g,c[g])}catch(q){}k.send(a.hasContent&&a.data||null);e=function(c,f){var h,g,q,p,o;try{if(e&&(f||k.readyState===4)){e=n;if(j)k.onreadystatechange=b.noop,sa&&delete Z[j];if(f)k.readyState!==4&&k.abort();else{h=k.status;q=k.getAllResponseHeaders();
p={};if((o=k.responseXML)&&o.documentElement)p.xml=o;p.text=k.responseText;try{g=k.statusText}catch(u){g=""}!h&&a.isLocal&&!a.crossDomain?h=p.text?200:404:h===1223&&(h=204)}}}catch(l){f||d(-1,l)}p&&d(h,g,p,q)};!a.async||k.readyState===4?e():(j=++Gb,sa&&(Z||(Z={},b(h).unload(sa)),Z[j]=e),k.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var la={},O,ba,Hb=/^(?:toggle|show|hide)$/,Ib=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,$,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width",
"marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],ea,ta=h.webkitRequestAnimationFrame||h.mozRequestAnimationFrame||h.oRequestAnimationFrame;b.fn.extend({show:function(a,e,c){if(a||a===0)return this.animate(B("show",3),a,e,c);else{c=0;for(var d=this.length;c<d;c++)if(a=this[c],a.style){e=a.style.display;if(!b._data(a,"olddisplay")&&e==="none")e=a.style.display="";e===""&&b.css(a,"display")==="none"&&b._data(a,"olddisplay",L(a.nodeName))}for(c=0;c<d;c++)if(a=this[c],a.style&&(e=
a.style.display,e===""||e==="none"))a.style.display=b._data(a,"olddisplay")||"";return this}},hide:function(a,e,c){if(a||a===0)return this.animate(B("hide",3),a,e,c);else{a=0;for(e=this.length;a<e;a++)this[a].style&&(c=b.css(this[a],"display"),c!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",c));for(a=0;a<e;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,e,c){var d=typeof a==="boolean";b.isFunction(a)&&b.isFunction(e)?this._toggle.apply(this,
arguments):a==null||d?this.each(function(){var e=d?a:b(this).is(":hidden");b(this)[e?"show":"hide"]()}):this.animate(B("toggle",3),a,e,c);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,e,c,d){var k=b.speed(e,c,d);if(b.isEmptyObject(a))return this.each(k.complete,[!1]);a=b.extend({},a);return this[k.queue===!1?"each":"queue"](function(){k.queue===!1&&b._mark(this);var e=b.extend({},k),c=this.nodeType===
1,f=c&&b(this).is(":hidden"),d,i,j,h,g;e.animatedProperties={};for(j in a){d=b.camelCase(j);j!==d&&(a[d]=a[j],delete a[j]);i=a[d];b.isArray(i)?(e.animatedProperties[d]=i[1],i=a[d]=i[0]):e.animatedProperties[d]=e.specialEasing&&e.specialEasing[d]||e.easing||"swing";if(i==="hide"&&f||i==="show"&&!f)return e.complete.call(this);if(c&&(d==="height"||d==="width"))if(e.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none")b.support.inlineBlockNeedsLayout?
(i=L(this.nodeName),i==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(e.overflow!=null)this.style.overflow="hidden";for(j in a)if(c=new b.fx(this,e,j),i=a[j],Hb.test(i))c[i==="toggle"?f?"show":"hide":i]();else d=Ib.exec(i),h=c.cur(),d?(i=parseFloat(d[2]),g=d[3]||(b.cssNumber[j]?"":"px"),g!=="px"&&(b.style(this,j,(i||1)+g),h*=(i||1)/c.cur(),b.style(this,j,h+g)),d[1]&&(i=(d[1]==="-="?-1:1)*i+h),c.custom(h,i,g)):c.custom(h,
i,"");return!0})},stop:function(a,e){a&&this.queue([]);this.each(function(){var a=b.timers,c=a.length;for(e||b._unmark(!0,this);c--;)if(a[c].elem===this){if(e)a[c](!0);a.splice(c,1)}});e||this.dequeue();return this}});b.each({slideDown:B("show",1),slideUp:B("hide",1),slideToggle:B("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,e){b.fn[a]=function(a,b,c){return this.animate(e,a,b,c)}});b.extend({speed:function(a,e,c){var d=a&&typeof a==="object"?
b.extend({},a):{complete:c||!c&&e||b.isFunction(a)&&a,duration:a,easing:c&&e||e&&!b.isFunction(e)&&e};d.duration=b.fx.off?0:typeof d.duration==="number"?d.duration:d.duration in b.fx.speeds?b.fx.speeds[d.duration]:b.fx.speeds._default;d.old=d.complete;d.complete=function(a){d.queue!==!1?b.dequeue(this):a!==!1&&b._unmark(this);b.isFunction(d.old)&&d.old.call(this)};return d},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;b.orig=b.orig||{}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.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,e=b.css(this.elem,this.prop);return isNaN(a=parseFloat(e))?!e||e==="auto"?0:e:a},custom:function(a,e,c){function d(a){return k.step(a)}var k=this,j=b.fx,
h;this.startTime=ea||H();this.start=a;this.end=e;this.unit=c||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;d.elem=this.elem;d()&&b.timers.push(d)&&!$&&(ta?($=1,h=function(){$&&(ta(h),j.tick())},ta(h)):$=setInterval(j.tick,j.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=
b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var e=ea||H(),c=!0,d=this.elem,k=this.options,j;if(a||e>=k.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();k.animatedProperties[this.prop]=!0;for(j in k.animatedProperties)k.animatedProperties[j]!==!0&&(c=!1);if(c){k.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["","X","Y"],function(a,b){d.style["overflow"+b]=k.overflow[a]});k.hide&&b(d).hide();if(k.hide||k.show)for(var h in k.animatedProperties)b.style(d,
h,k.orig[h]);k.complete.call(d)}return!1}else k.duration==Infinity?this.now=e:(a=e-this.startTime,this.state=a/k.duration,this.pos=b.easing[k.animatedProperties[this.prop]](this.state,a,0,1,k.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,e=0;e<a.length;++e)a[e]()||a.splice(e--,1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval($);$=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.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(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(b){return a===b.elem}).length};var Jb=/^t(?:able|d|h)$/i,Qa=/^(?:body|html)$/i;b.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var e=this[0],c;if(a)return this.each(function(e){b.offset.setOffset(this,
a,e)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return b.offset.bodyOffset(e);try{c=e.getBoundingClientRect()}catch(d){}var k=e.ownerDocument,j=k.documentElement;if(!c||!b.contains(j,e))return c?{top:c.top,left:c.left}:{top:0,left:0};e=k.body;k=P(k);return{top:c.top+(k.pageYOffset||b.support.boxModel&&j.scrollTop||e.scrollTop)-(j.clientTop||e.clientTop||0),left:c.left+(k.pageXOffset||b.support.boxModel&&j.scrollLeft||e.scrollLeft)-(j.clientLeft||e.clientLeft||0)}}:function(a){var e=
this[0];if(a)return this.each(function(e){b.offset.setOffset(this,a,e)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return b.offset.bodyOffset(e);b.offset.initialize();var c,d=e.offsetParent,k=e.ownerDocument,j=k.documentElement,h=k.body;c=(k=k.defaultView)?k.getComputedStyle(e,null):e.currentStyle;for(var g=e.offsetTop,q=e.offsetLeft;(e=e.parentNode)&&e!==h&&e!==j;){if(b.offset.supportsFixedPosition&&c.position==="fixed")break;c=k?k.getComputedStyle(e,null):e.currentStyle;g-=
e.scrollTop;q-=e.scrollLeft;if(e===d){g+=e.offsetTop;q+=e.offsetLeft;if(b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!Jb.test(e.nodeName)))g+=parseFloat(c.borderTopWidth)||0,q+=parseFloat(c.borderLeftWidth)||0;d=e.offsetParent}b.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(g+=parseFloat(c.borderTopWidth)||0,q+=parseFloat(c.borderLeftWidth)||0)}if(c.position==="relative"||c.position==="static")g+=h.offsetTop,q+=h.offsetLeft;b.offset.supportsFixedPosition&&
c.position==="fixed"&&(g+=Math.max(j.scrollTop,h.scrollTop),q+=Math.max(j.scrollLeft,h.scrollLeft));return{top:g,left:q}};b.offset={initialize:function(){var a=r.body,e=r.createElement("div"),c,d,k,j=parseFloat(b.css(a,"marginTop"))||0;b.extend(e.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});e.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(e,a.firstChild);c=e.firstChild;d=c.firstChild;k=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=d.offsetTop!==5;this.doesAddBorderForTableAndCells=k.offsetTop===5;d.style.position="fixed";d.style.top="20px";this.supportsFixedPosition=d.offsetTop===20||d.offsetTop===15;d.style.position=d.style.top="";c.style.overflow="hidden";c.style.position="relative";this.subtractsBorderForOverflowNotVisible=d.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(e);
b.offset.initialize=b.noop},bodyOffset:function(a){var e=a.offsetTop,c=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(b.css(a,"marginTop"))||0,c+=parseFloat(b.css(a,"marginLeft"))||0);return{top:e,left:c}},setOffset:function(a,e,c){var d=b.css(a,"position");if(d==="static")a.style.position="relative";var k=b(a),j=k.offset(),h=b.css(a,"top"),g=b.css(a,"left"),q={},p={};(d==="absolute"||d==="fixed")&&b.inArray("auto",[h,g])>-1?(p=k.position(),d=p.top,g=
p.left):(d=parseFloat(h)||0,g=parseFloat(g)||0);b.isFunction(e)&&(e=e.call(a,c,j));if(e.top!=null)q.top=e.top-j.top+d;if(e.left!=null)q.left=e.left-j.left+g;"using"in e?e.using.call(a,q):k.css(q)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],e=this.offsetParent(),c=this.offset(),d=Qa.test(e[0].nodeName)?{top:0,left:0}:e.offset();c.top-=parseFloat(b.css(a,"marginTop"))||0;c.left-=parseFloat(b.css(a,"marginLeft"))||0;d.top+=parseFloat(b.css(e[0],"borderTopWidth"))||0;d.left+=
parseFloat(b.css(e[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!Qa.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,e){var c="scroll"+e;b.fn[c]=function(e){var d,k;if(e===n){d=this[0];if(!d)return null;return(k=P(d))?"pageXOffset"in k?k[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&k.document.documentElement[c]||k.document.body[c]:
d[c]}return this.each(function(){(k=P(this))?k.scrollTo(!a?e:b(k).scrollLeft(),a?e:b(k).scrollTop()):this[c]=e})}});b.each(["Height","Width"],function(a,e){var c=e.toLowerCase();b.fn["inner"+e]=function(){return this[0]?parseFloat(b.css(this[0],c,"padding")):null};b.fn["outer"+e]=function(a){return this[0]?parseFloat(b.css(this[0],c,a?"margin":"border")):null};b.fn[c]=function(a){var d=this[0];if(!d)return a==null?null:this;if(b.isFunction(a))return this.each(function(e){var d=b(this);d[c](a.call(this,
e,d[c]()))});if(b.isWindow(d)){var k=d.document.documentElement["client"+e];return d.document.compatMode==="CSS1Compat"&&k||d.document.body["client"+e]||k}else return d.nodeType===9?Math.max(d.documentElement["client"+e],d.body["scroll"+e],d.documentElement["scroll"+e],d.body["offset"+e],d.documentElement["offset"+e]):a===n?(d=b.css(d,c),k=parseFloat(d),b.isNaN(k)?d:k):this.css(c,typeof a==="string"?a:a+"px")}});h.jQuery=h.$=b})(window);
(function(h,n){function g(g,j){var o=g.nodeName.toLowerCase();if("area"===o){o=g.parentNode;var n=o.name;if(!g.href||!n||o.nodeName.toLowerCase()!=="map")return!1;o=h("img[usemap=#"+n+"]")[0];return!!o&&l(o)}return(/input|select|textarea|button|object/.test(o)?!g.disabled:"a"==o?g.href||j:j)&&l(g)}function l(g){return!h(g).parents().andSelf().filter(function(){return h.curCSS(this,"visibility")==="hidden"||h.expr.filters.hidden(this)}).length}h.ui=h.ui||{};h.ui.version||(h.extend(h.ui,{version:"1.8.13",
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}}),h.fn.extend({_focus:h.fn.focus,focus:function(g,j){return typeof g==="number"?this.each(function(){var o=this;setTimeout(function(){h(o).focus();
j&&j.call(o)},g)}):this._focus.apply(this,arguments)},scrollParent:function(){var g;g=h.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(h.curCSS(this,"position",1))&&/(auto|scroll)/.test(h.curCSS(this,"overflow",1)+h.curCSS(this,"overflow-y",1)+h.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(h.curCSS(this,"overflow",1)+h.curCSS(this,
"overflow-y",1)+h.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!g.length?h(document):g},zIndex:function(g){if(g!==n)return this.css("zIndex",g);if(this.length){g=h(this[0]);for(var j;g.length&&g[0]!==document;){j=g.css("position");if(j==="absolute"||j==="relative"||j==="fixed")if(j=parseInt(g.css("zIndex"),10),!isNaN(j)&&j!==0)return j;g=g.parent()}}return 0},disableSelection:function(){return this.bind((h.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
function(g){g.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),h.each(["Width","Height"],function(g,j){function o(j,g,p,o){h.each(l,function(){g-=parseFloat(h.curCSS(j,"padding"+this,!0))||0;p&&(g-=parseFloat(h.curCSS(j,"border"+this+"Width",!0))||0);o&&(g-=parseFloat(h.curCSS(j,"margin"+this,!0))||0)});return g}var l=j==="Width"?["Left","Right"]:["Top","Bottom"],x=j.toLowerCase(),s={innerWidth:h.fn.innerWidth,innerHeight:h.fn.innerHeight,outerWidth:h.fn.outerWidth,
outerHeight:h.fn.outerHeight};h.fn["inner"+j]=function(g){if(g===n)return s["inner"+j].call(this);return this.each(function(){h(this).css(x,o(this,g)+"px")})};h.fn["outer"+j]=function(g,p){if(typeof g!=="number")return s["outer"+j].call(this,g);return this.each(function(){h(this).css(x,o(this,g,!0,p)+"px")})}}),h.extend(h.expr[":"],{data:function(g,j,o){return!!h.data(g,o[3])},focusable:function(p){return g(p,!isNaN(h.attr(p,"tabindex")))},tabbable:function(p){var j=h.attr(p,"tabindex"),o=isNaN(j);
return(o||j>=0)&&g(p,!o)}}),h(function(){var g=document.body,j=g.appendChild(j=document.createElement("div"));h.extend(j.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});h.support.minHeight=j.offsetHeight===100;h.support.selectstart="onselectstart"in j;g.removeChild(j).style.display="none"}),h.extend(h.ui,{plugin:{add:function(g,j,o){g=h.ui[g].prototype;for(var l in o)g.plugins[l]=g.plugins[l]||[],g.plugins[l].push([j,o[l]])},call:function(g,j,h){if((j=g.plugins[j])&&g.element[0].parentNode)for(var l=
0;l<j.length;l++)g.options[j[l][0]]&&j[l][1].apply(g.element,h)}},contains:function(g,j){return document.compareDocumentPosition?g.compareDocumentPosition(j)&16:g!==j&&g.contains(j)},hasScroll:function(g,j){if(h(g).css("overflow")==="hidden")return!1;var o=j&&j==="left"?"scrollLeft":"scrollTop",l=!1;if(g[o]>0)return!0;g[o]=1;l=g[o]>0;g[o]=0;return l},isOverAxis:function(g,j,h){return g>j&&g<j+h},isOver:function(g,j,o,l,n,s){return h.ui.isOverAxis(g,o,n)&&h.ui.isOverAxis(j,l,s)}}))})(jQuery);
(function(h,n){if(h.cleanData){var g=h.cleanData;h.cleanData=function(p){for(var j=0,o;(o=p[j])!=null;j++)h(o).triggerHandler("remove");g(p)}}else{var l=h.fn.remove;h.fn.remove=function(g,j){return this.each(function(){j||(!g||h.filter(g,[this]).length)&&h("*",this).add([this]).each(function(){h(this).triggerHandler("remove")});return l.call(h(this),g,j)})}}h.widget=function(g,j,o){var l=g.split(".")[0],n;g=g.split(".")[1];n=l+"-"+g;if(!o)o=j,j=h.Widget;h.expr[":"][n]=function(j){return!!h.data(j,
g)};h[l]=h[l]||{};h[l][g]=function(g,j){arguments.length&&this._createWidget(g,j)};j=new j;j.options=h.extend(!0,{},j.options);h[l][g].prototype=h.extend(!0,j,{namespace:l,widgetName:g,widgetEventPrefix:h[l][g].prototype.widgetEventPrefix||g,widgetBaseClass:n},o);h.widget.bridge(g,h[l][g])};h.widget.bridge=function(g,j){h.fn[g]=function(o){var l=typeof o==="string",x=Array.prototype.slice.call(arguments,1),s=this;o=!l&&x.length?h.extend.apply(null,[!0,o].concat(x)):o;if(l&&o.charAt(0)==="_")return s;
l?this.each(function(){var j=h.data(this,g),l=j&&h.isFunction(j[o])?j[o].apply(j,x):j;if(l!==j&&l!==n)return s=l,!1}):this.each(function(){var l=h.data(this,g);l?l.option(o||{})._init():h.data(this,g,new j(o,this))});return s}};h.Widget=function(g,j){arguments.length&&this._createWidget(g,j)};h.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(g,j){h.data(j,this.widgetName,this);this.element=h(j);this.options=h.extend(!0,{},this.options,this._getCreateOptions(),
g);var o=this;this.element.bind("remove."+this.widgetName,function(){o.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return h.metadata&&h.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(g,j){var o=g;if(arguments.length===0)return h.extend({},this.options);if(typeof g==="string"){if(j===n)return this.options[g];o={};o[g]=j}this._setOptions(o);return this},_setOptions:function(g){var j=this;h.each(g,function(g,h){j._setOption(g,h)});return this},_setOption:function(g,j){this.options[g]=j;g==="disabled"&&this.widget()[j?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",j);return this},enable:function(){return this._setOption("disabled",
!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(g,j,o){var l=this.options[g];j=h.Event(j);j.type=(g===this.widgetEventPrefix?g:this.widgetEventPrefix+g).toLowerCase();o=o||{};if(j.originalEvent){g=h.event.props.length;for(var n;g;)n=h.event.props[--g],j[n]=j.originalEvent[n]}this.element.trigger(j,o);return!(h.isFunction(l)&&l.call(this.element[0],j,o)===!1||j.isDefaultPrevented())}}})(jQuery);
(function(h){h.ui=h.ui||{};var n=/left|center|right/,g=/top|center|bottom/,l=h.fn.position,p=h.fn.offset;h.fn.position=function(j){if(!j||!j.of)return l.apply(this,arguments);j=h.extend({},j);var o=h(j.of),p=o[0],x=(j.collision||"flip").split(" "),s=j.offset?j.offset.split(" "):[0,0],v,w,z;p.nodeType===9?(v=o.width(),w=o.height(),z={top:0,left:0}):p.setTimeout?(v=o.width(),w=o.height(),z={top:o.scrollTop(),left:o.scrollLeft()}):p.preventDefault?(j.at="left top",v=w=0,z={top:j.of.pageY,left:j.of.pageX}):
(v=o.outerWidth(),w=o.outerHeight(),z=o.offset());h.each(["my","at"],function(){var h=(j[this]||"").split(" ");h.length===1&&(h=n.test(h[0])?h.concat(["center"]):g.test(h[0])?["center"].concat(h):["center","center"]);h[0]=n.test(h[0])?h[0]:"center";h[1]=g.test(h[1])?h[1]:"center";j[this]=h});x.length===1&&(x[1]=x[0]);s[0]=parseInt(s[0],10)||0;s.length===1&&(s[1]=s[0]);s[1]=parseInt(s[1],10)||0;j.at[0]==="right"?z.left+=v:j.at[0]==="center"&&(z.left+=v/2);j.at[1]==="bottom"?z.top+=w:j.at[1]==="center"&&
(z.top+=w/2);z.left+=s[0];z.top+=s[1];return this.each(function(){var g=h(this),o=g.outerWidth(),l=g.outerHeight(),n=parseInt(h.curCSS(this,"marginLeft",!0))||0,p=parseInt(h.curCSS(this,"marginTop",!0))||0,D=o+n+(parseInt(h.curCSS(this,"marginRight",!0))||0),d=l+p+(parseInt(h.curCSS(this,"marginBottom",!0))||0),c=h.extend({},z),u;j.my[0]==="right"?c.left-=o:j.my[0]==="center"&&(c.left-=o/2);j.my[1]==="bottom"?c.top-=l:j.my[1]==="center"&&(c.top-=l/2);c.left=Math.round(c.left);c.top=Math.round(c.top);
u={left:c.left-n,top:c.top-p};h.each(["left","top"],function(g,n){if(h.ui.position[x[g]])h.ui.position[x[g]][n](c,{targetWidth:v,targetHeight:w,elemWidth:o,elemHeight:l,collisionPosition:u,collisionWidth:D,collisionHeight:d,offset:s,my:j.my,at:j.at})});h.fn.bgiframe&&g.bgiframe();g.offset(h.extend(c,{using:j.using}))})};h.ui.position={fit:{left:function(g,o){var l=h(window);l=o.collisionPosition.left+o.collisionWidth-l.width()-l.scrollLeft();g.left=l>0?g.left-l:Math.max(g.left-o.collisionPosition.left,
g.left)},top:function(g,l){var n=h(window);n=l.collisionPosition.top+l.collisionHeight-n.height()-n.scrollTop();g.top=n>0?g.top-n:Math.max(g.top-l.collisionPosition.top,g.top)}},flip:{left:function(g,l){if(l.at[0]!=="center"){var n=h(window);n=l.collisionPosition.left+l.collisionWidth-n.width()-n.scrollLeft();var p=l.my[0]==="left"?-l.elemWidth:l.my[0]==="right"?l.elemWidth:0,s=l.at[0]==="left"?l.targetWidth:-l.targetWidth,v=-2*l.offset[0];g.left+=l.collisionPosition.left<0?p+s+v:n>0?p+s+v:0}},top:function(g,
l){if(l.at[1]!=="center"){var n=h(window);n=l.collisionPosition.top+l.collisionHeight-n.height()-n.scrollTop();var p=l.my[1]==="top"?-l.elemHeight:l.my[1]==="bottom"?l.elemHeight:0,s=l.at[1]==="top"?l.targetHeight:-l.targetHeight,v=-2*l.offset[1];g.top+=l.collisionPosition.top<0?p+s+v:n>0?p+s+v:0}}}};if(!h.offset.setOffset)h.offset.setOffset=function(g,l){if(/static/.test(h.curCSS(g,"position")))g.style.position="relative";var n=h(g),p=n.offset(),s=parseInt(h.curCSS(g,"top",!0),10)||0,v=parseInt(h.curCSS(g,
"left",!0),10)||0;p={top:l.top-p.top+s,left:l.left-p.left+v};"using"in l?l.using.call(g,p):n.css(p)},h.fn.offset=function(g){var l=this[0];if(!l||!l.ownerDocument)return null;if(g)return this.each(function(){h.offset.setOffset(this,g)});return p.call(this)}})(jQuery);
(function(h){var n=0;h.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var g=this,l=this.element[0].ownerDocument,n;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(j){if(!g.options.disabled&&!g.element.attr("readonly")){n=!1;var l=
h.ui.keyCode;switch(j.keyCode){case l.PAGE_UP:g._move("previousPage",j);break;case l.PAGE_DOWN:g._move("nextPage",j);break;case l.UP:g._move("previous",j);j.preventDefault();break;case l.DOWN:g._move("next",j);j.preventDefault();break;case l.ENTER:case l.NUMPAD_ENTER:g.menu.active&&(n=!0,j.preventDefault());case l.TAB:if(!g.menu.active)break;g.menu.select(j);break;case l.ESCAPE:g.element.val(g.term);g.close(j);break;default:clearTimeout(g.searching),g.searching=setTimeout(function(){if(g.term!=g.element.val())g.selectedItem=
null,g.search(null,j)},g.options.delay)}}}).bind("keypress.autocomplete",function(g){n&&(n=!1,g.preventDefault())}).bind("focus.autocomplete",function(){if(!g.options.disabled)g.selectedItem=null,g.previous=g.element.val()}).bind("blur.autocomplete",function(j){if(!g.options.disabled)clearTimeout(g.searching),g.closing=setTimeout(function(){g.close(j);g._change(j)},150)});this._initSource();this.response=function(){return g._response.apply(g,arguments)};this.menu=h("<ul></ul>").addClass("ui-autocomplete").appendTo(h(this.options.appendTo||
"body",l)[0]).mousedown(function(j){var l=g.menu.element[0];h(j.target).closest(".ui-menu-item").length||setTimeout(function(){h(document).one("mousedown",function(j){j.target!==g.element[0]&&j.target!==l&&!h.ui.contains(l,j.target)&&g.close()})},1);setTimeout(function(){clearTimeout(g.closing)},13)}).menu({focus:function(j,h){var l=h.item.data("item.autocomplete");!1!==g._trigger("focus",j,{item:l})&&/^key/.test(j.originalEvent.type)&&g.element.val(l.value)},selected:function(j,h){var n=h.item.data("item.autocomplete"),
p=g.previous;if(g.element[0]!==l.activeElement)g.element.focus(),g.previous=p,setTimeout(function(){g.previous=p;g.selectedItem=n},1);!1!==g._trigger("select",j,{item:n})&&g.element.val(n.value);g.term=g.element.val();g.close(j);g.selectedItem=n},blur:function(){g.menu.element.is(":visible")&&g.element.val()!==g.term&&g.element.val(g.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");h.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
this.menu.element.remove();h.Widget.prototype.destroy.call(this)},_setOption:function(g,l){h.Widget.prototype._setOption.apply(this,arguments);g==="source"&&this._initSource();g==="appendTo"&&this.menu.element.appendTo(h(l||"body",this.element[0].ownerDocument)[0]);g==="disabled"&&l&&this.xhr&&this.xhr.abort()},_initSource:function(){var g=this,l,p;h.isArray(this.options.source)?(l=this.options.source,this.source=function(g,n){n(h.ui.autocomplete.filter(l,g.term))}):typeof this.options.source==="string"?
(p=this.options.source,this.source=function(j,l){g.xhr&&g.xhr.abort();g.xhr=h.ajax({url:p,data:j,dataType:"json",autocompleteRequest:++n,success:function(g){this.autocompleteRequest===n&&l(g)},error:function(){this.autocompleteRequest===n&&l([])}})}):this.source=this.options.source},search:function(g,h){g=g!=null?g:this.element.val();this.term=this.element.val();if(g.length<this.options.minLength)return this.close(h);clearTimeout(this.closing);if(this._trigger("search",h)!==!1)return this._search(g)},
_search:function(g){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:g},this.response)},_response:function(g){!this.options.disabled&&g&&g.length?(g=this._normalize(g),this._suggest(g),this._trigger("open")):this.close();this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(g){clearTimeout(this.closing);this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",g))},_change:function(g){this.previous!==
this.element.val()&&this._trigger("change",g,{item:this.selectedItem})},_normalize:function(g){if(g.length&&g[0].label&&g[0].value)return g;return h.map(g,function(g){if(typeof g==="string")return{label:g,value:g};return h.extend({label:g.label||g.value,value:g.value||g.label},g)})},_suggest:function(g){var l=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(l,g);this.menu.deactivate();this.menu.refresh();l.show();this._resizeMenu();l.position(h.extend({of:this.element},this.options.position));
this.options.autoFocus&&this.menu.next(new h.Event("mouseover"))},_resizeMenu:function(){var g=this.menu.element;g.outerWidth(Math.max(g.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(g,l){var n=this;h.each(l,function(j,h){n._renderItem(g,h)})},_renderItem:function(g,l){return h("<li></li>").data("item.autocomplete",l).append(h("<a></a>").text(l.label)).appendTo(g)},_move:function(g,h){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(g)||this.menu.last()&&
/^next/.test(g))this.element.val(this.term),this.menu.deactivate();else this.menu[g](h);else this.search(null,h)},widget:function(){return this.menu.element}});h.extend(h.ui.autocomplete,{escapeRegex:function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(g,l){var n=RegExp(h.ui.autocomplete.escapeRegex(l),"i");return h.grep(g,function(g){return n.test(g.label||g.value||g)})}})})(jQuery);
(function(h){h.widget("ui.menu",{_create:function(){var n=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(g){h(g.target).closest(".ui-menu-item a").length&&(g.preventDefault(),n.select(g))});this.refresh()},refresh:function(){var n=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
-1).mouseenter(function(g){n.activate(g,h(this).parent())}).mouseleave(function(){n.deactivate()})},activate:function(h,g){this.deactivate();if(this.hasScroll()){var l=g.offset().top-this.element.offset().top,p=this.element.scrollTop(),j=this.element.height();l<0?this.element.scrollTop(p+l):l>=j&&this.element.scrollTop(p+l-j+g.height())}this.active=g.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",h,{item:g})},deactivate:function(){if(this.active)this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),
this._trigger("blur"),this.active=null},next:function(h){this.move("next",".ui-menu-item:first",h)},previous:function(h){this.move("prev",".ui-menu-item:last",h)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(h,g,l){this.active?(h=this.active[h+"All"](".ui-menu-item").eq(0),h.length?this.activate(l,h):this.activate(l,this.element.children(g))):this.activate(l,this.element.children(g))},
nextPage:function(n){if(this.hasScroll())if(!this.active||this.last())this.activate(n,this.element.children(".ui-menu-item:first"));else{var g=this.active.offset().top,l=this.element.height(),p=this.element.children(".ui-menu-item").filter(function(){var j=h(this).offset().top-g-l+h(this).height();return j<10&&j>-10});p.length||(p=this.element.children(".ui-menu-item:last"));this.activate(n,p)}else this.activate(n,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},
previousPage:function(n){if(this.hasScroll())if(!this.active||this.first())this.activate(n,this.element.children(".ui-menu-item:last"));else{var g=this.active.offset().top,l=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var n=h(this).offset().top-g+l-h(this).height();return n<10&&n>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(n,result)}else this.activate(n,this.element.children(".ui-menu-item").filter(!this.active||
this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[h.fn.prop?"prop":"attr"]("scrollHeight")},select:function(h){this._trigger("selected",h,{item:this.active})}})})(jQuery);
(function(){var h=this,n=h._,g={},l=Array.prototype,p=Object.prototype,j=l.slice,o=l.unshift,D=p.toString,x=p.hasOwnProperty,s=l.forEach,v=l.map,w=l.reduce,z=l.reduceRight,I=l.filter,Q=l.every,K=l.some,M=l.indexOf,F=l.lastIndexOf;p=Array.isArray;var G=Object.keys,d=Function.prototype.bind,c=function(c){return new L(c)};typeof module!=="undefined"&&module.exports?(module.exports=c,c._=c):h._=c;c.VERSION="1.1.5";var u=c.each=c.forEach=function(d,h,b){if(d!=null)if(s&&d.forEach===s)d.forEach(h,b);else if(c.isNumber(d.length))for(var j=
0,l=d.length;j<l;j++){if(h.call(b,d[j],j,d)===g)break}else for(j in d)if(x.call(d,j)&&h.call(b,d[j],j,d)===g)break};c.map=function(c,d,b){var g=[];if(c==null)return g;if(v&&c.map===v)return c.map(d,b);u(c,function(c,k,h){g[g.length]=d.call(b,c,k,h)});return g};c.reduce=c.foldl=c.inject=function(d,g,b,h){var j=b!==void 0;d==null&&(d=[]);if(w&&d.reduce===w)return h&&(g=c.bind(g,h)),j?d.reduce(g,b):d.reduce(g);u(d,function(c,d,k){!j&&d===0?(b=c,j=!0):b=g.call(h,b,c,d,k)});if(!j)throw new TypeError("Reduce of empty array with no initial value");
return b};c.reduceRight=c.foldr=function(d,g,b,h){d==null&&(d=[]);if(z&&d.reduceRight===z)return h&&(g=c.bind(g,h)),b!==void 0?d.reduceRight(g,b):d.reduceRight(g);d=(c.isArray(d)?d.slice():c.toArray(d)).reverse();return c.reduce(d,g,b,h)};c.find=c.detect=function(c,d,b){var g;H(c,function(c,k,h){if(d.call(b,c,k,h))return g=c,!0});return g};c.filter=c.select=function(c,d,b){var g=[];if(c==null)return g;if(I&&c.filter===I)return c.filter(d,b);u(c,function(c,k,h){d.call(b,c,k,h)&&(g[g.length]=c)});return g};
c.reject=function(c,d,b){var g=[];if(c==null)return g;u(c,function(c,k,h){d.call(b,c,k,h)||(g[g.length]=c)});return g};c.every=c.all=function(d,h,b){h=h||c.identity;var j=!0;if(d==null)return j;if(Q&&d.every===Q)return d.every(h,b);u(d,function(c,d,k){if(!(j=j&&h.call(b,c,d,k)))return g});return j};var H=c.some=c.any=function(d,h,b){h=h||c.identity;var j=!1;if(d==null)return j;if(K&&d.some===K)return d.some(h,b);u(d,function(c,d,k){if(j=h.call(b,c,d,k))return g});return j};c.include=c.contains=function(c,
d){var b=!1;if(c==null)return b;if(M&&c.indexOf===M)return c.indexOf(d)!=-1;H(c,function(c){if(b=c===d)return!0});return b};c.invoke=function(d,g){var b=j.call(arguments,2);return c.map(d,function(c){return(g?c[g]:c).apply(c,b)})};c.pluck=function(d,g){return c.map(d,function(b){return b[g]})};c.max=function(d,g,b){if(!g&&c.isArray(d))return Math.max.apply(Math,d);var h={computed:-Infinity};u(d,function(c,d,k){d=g?g.call(b,c,d,k):c;d>=h.computed&&(h={value:c,computed:d})});return h.value};c.min=function(d,
g,b){if(!g&&c.isArray(d))return Math.min.apply(Math,d);var h={computed:Infinity};u(d,function(c,d,k){d=g?g.call(b,c,d,k):c;d<h.computed&&(h={value:c,computed:d})});return h.value};c.sortBy=function(d,g,b){return c.pluck(c.map(d,function(c,d,k){return{value:c,criteria:g.call(b,c,d,k)}}).sort(function(b,c){var d=b.criteria,k=c.criteria;return d<k?-1:d>k?1:0}),"value")};c.sortedIndex=function(d,g,b){b=b||c.identity;for(var h=0,j=d.length;h<j;){var l=h+j>>1;b(d[l])<b(g)?h=l+1:j=l}return h};c.toArray=
function(d){if(!d)return[];if(d.toArray)return d.toArray();if(c.isArray(d))return d;if(c.isArguments(d))return j.call(d);return c.values(d)};c.size=function(d){return c.toArray(d).length};c.first=c.head=function(c,d,b){return d!=null&&!b?j.call(c,0,d):c[0]};c.rest=c.tail=function(c,d,b){return j.call(c,d==null||b?1:d)};c.last=function(c){return c[c.length-1]};c.compact=function(d){return c.filter(d,function(c){return!!c})};c.flatten=function(d){return c.reduce(d,function(d,b){if(c.isArray(b))return d.concat(c.flatten(b));
d[d.length]=b;return d},[])};c.without=function(d){var g=j.call(arguments,1);return c.filter(d,function(b){return!c.include(g,b)})};c.uniq=c.unique=function(d,g){return c.reduce(d,function(b,d,k){if(0==k||(g===!0?c.last(b)!=d:!c.include(b,d)))b[b.length]=d;return b},[])};c.intersect=function(d){var g=j.call(arguments,1);return c.filter(c.uniq(d),function(b){return c.every(g,function(d){return c.indexOf(d,b)>=0})})};c.zip=function(){for(var d=j.call(arguments),g=c.max(c.pluck(d,"length")),b=Array(g),
h=0;h<g;h++)b[h]=c.pluck(d,""+h);return b};c.indexOf=function(d,g,b){if(d==null)return-1;var h;if(b)return b=c.sortedIndex(d,g),d[b]===g?b:-1;if(M&&d.indexOf===M)return d.indexOf(g);b=0;for(h=d.length;b<h;b++)if(d[b]===g)return b;return-1};c.lastIndexOf=function(c,d){if(c==null)return-1;if(F&&c.lastIndexOf===F)return c.lastIndexOf(d);for(var b=c.length;b--;)if(c[b]===d)return b;return-1};c.range=function(c,d,b){arguments.length<=1&&(d=c||0,c=0);b=arguments[2]||1;for(var g=Math.max(Math.ceil((d-c)/
b),0),h=0,j=Array(g);h<g;)j[h++]=c,c+=b;return j};c.bind=function(c,g){if(c.bind===d&&d)return c.bind.apply(c,j.call(arguments,1));var b=j.call(arguments,2);return function(){return c.apply(g,b.concat(j.call(arguments)))}};c.bindAll=function(d){var g=j.call(arguments,1);g.length==0&&(g=c.functions(d));u(g,function(b){d[b]=c.bind(d[b],d)});return d};c.memoize=function(d,g){var b={};g=g||c.identity;return function(){var c=g.apply(this,arguments);return x.call(b,c)?b[c]:b[c]=d.apply(this,arguments)}};
c.delay=function(c,d){var b=j.call(arguments,2);return setTimeout(function(){return c.apply(c,b)},d)};c.defer=function(d){return c.delay.apply(c,[d,1].concat(j.call(arguments,1)))};var N=function(c,d,b){var g;return function(){var h=this,j=arguments,l=function(){g=null;c.apply(h,j)};b&&clearTimeout(g);if(b||!g)g=setTimeout(l,d)}};c.throttle=function(c,d){return N(c,d,!1)};c.debounce=function(c,d){return N(c,d,!0)};c.once=function(c){var d=!1,b;return function(){if(d)return b;d=!0;return b=c.apply(this,
arguments)}};c.wrap=function(c,d){return function(){var b=[c].concat(j.call(arguments));return d.apply(this,b)}};c.compose=function(){var c=j.call(arguments);return function(){for(var d=j.call(arguments),b=c.length-1;b>=0;b--)d=[c[b].apply(this,d)];return d[0]}};c.keys=G||function(c){if(c!==Object(c))throw new TypeError("Invalid object");var d=[],b;for(b in c)x.call(c,b)&&(d[d.length]=b);return d};c.values=function(d){return c.map(d,c.identity)};c.functions=c.methods=function(d){return c.filter(c.keys(d),
function(g){return c.isFunction(d[g])}).sort()};c.extend=function(c){u(j.call(arguments,1),function(d){for(var b in d)c[b]=d[b]});return c};c.defaults=function(c){u(j.call(arguments,1),function(d){for(var b in d)c[b]==null&&(c[b]=d[b])});return c};c.clone=function(d){return c.isArray(d)?d.slice():c.extend({},d)};c.tap=function(c,d){d(c);return c};c.isEqual=function(d,g){if(d===g)return!0;var b=typeof d;if(b!=typeof g)return!1;if(d==g)return!0;if(!d&&g||d&&!g)return!1;if(d._chain)d=d._wrapped;if(g._chain)g=
g._wrapped;if(d.isEqual)return d.isEqual(g);if(c.isDate(d)&&c.isDate(g))return d.getTime()===g.getTime();if(c.isNaN(d)&&c.isNaN(g))return!1;if(c.isRegExp(d)&&c.isRegExp(g))return d.source===g.source&&d.global===g.global&&d.ignoreCase===g.ignoreCase&&d.multiline===g.multiline;if(b!=="object")return!1;if(d.length&&d.length!==g.length)return!1;b=c.keys(d);var h=c.keys(g);if(b.length!=h.length)return!1;for(var j in d)if(!(j in g)||!c.isEqual(d[j],g[j]))return!1;return!0};c.isEmpty=function(d){if(c.isArray(d)||
c.isString(d))return d.length===0;for(var g in d)if(x.call(d,g))return!1;return!0};c.isElement=function(c){return!!(c&&c.nodeType==1)};c.isArray=p||function(c){return D.call(c)==="[object Array]"};c.isArguments=function(c){return!(!c||!x.call(c,"callee"))};c.isFunction=function(c){return!(!c||!c.constructor||!c.call||!c.apply)};c.isString=function(c){return!!(c===""||c&&c.charCodeAt&&c.substr)};c.isNumber=function(c){return!!(c===0||c&&c.toExponential&&c.toFixed)};c.isNaN=function(c){return c!==c};
c.isBoolean=function(c){return c===!0||c===!1};c.isDate=function(c){return!(!c||!c.getTimezoneOffset||!c.setUTCFullYear)};c.isRegExp=function(c){return!(!c||!c.test||!c.exec||!(c.ignoreCase||c.ignoreCase===!1))};c.isNull=function(c){return c===null};c.isUndefined=function(c){return c===void 0};c.noConflict=function(){h._=n;return this};c.identity=function(c){return c};c.times=function(c,d,b){for(var g=0;g<c;g++)d.call(b,g)};c.mixin=function(d){u(c.functions(d),function(g){r(g,c[g]=d[g])})};var B=
0;c.uniqueId=function(c){var d=B++;return c?c+d:d};c.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g};c.template=function(d,g){var b=c.templateSettings;b="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+d.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(b.interpolate,function(b,c){return"',"+c.replace(/\\'/g,"'")+",'"}).replace(b.evaluate||null,function(b,c){return"');"+c.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+"__p.push('"}).replace(/\r/g,
"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');";b=new Function("obj",b);return g?b(g):b};var L=function(c){this._wrapped=c};c.prototype=L.prototype;var P=function(d,g){return g?c(d).chain():d},r=function(d,g){L.prototype[d]=function(){var b=j.call(arguments);o.call(b,this._wrapped);return P(g.apply(c,b),this._chain)}};c.mixin(c);u(["pop","push","reverse","shift","sort","splice","unshift"],function(c){var d=l[c];L.prototype[c]=function(){d.apply(this._wrapped,arguments);
return P(this._wrapped,this._chain)}});u(["concat","join","slice"],function(c){var d=l[c];L.prototype[c]=function(){return P(d.apply(this._wrapped,arguments),this._chain)}});L.prototype.chain=function(){this._chain=!0;return this};L.prototype.value=function(){return this._wrapped}})();
(function(){var h=this,n=h.Backbone,g;g=typeof exports!=="undefined"?exports:h.Backbone={};g.VERSION="0.5.0-pre";var l=h._;if(!l&&typeof require!=="undefined")l=require("underscore")._;var p=h.jQuery||h.Zepto;g.noConflict=function(){h.Backbone=n;return this};g.emulateHTTP=!1;g.emulateJSON=!1;g.Events={bind:function(d,c){var g=this._callbacks||(this._callbacks={});(g[d]||(g[d]=[])).push(c);return this},unbind:function(d,c){var g;if(d){if(g=this._callbacks)if(c){g=g[d];if(!g)return this;for(var h=0,
j=g.length;h<j;h++)if(c===g[h]){g[h]=null;break}}else g[d]=[]}else this._callbacks={};return this},trigger:function(d){var c,g,h,j,l=2;if(!(g=this._callbacks))return this;for(;l--;)if(c=l?d:"all",c=g[c])for(var n=0,o=c.length;n<o;n++)(h=c[n])?(j=l?Array.prototype.slice.call(arguments,1):arguments,h.apply(this,j)):(c.splice(n,1),n--,o--);return this}};g.Model=function(d,c){var g;d||(d={});if(g=this.defaults)l.isFunction(g)&&(g=g()),d=l.extend({},g,d);this.attributes={};this._escapedAttributes={};this.cid=
l.uniqueId("c");this.set(d,{silent:!0});this._changed=!1;this._previousAttributes=l.clone(this.attributes);if(c&&c.collection)this.collection=c.collection;this.initialize.apply(this,arguments)};l.extend(g.Model.prototype,g.Events,{_previousAttributes:null,_changed:!1,idAttribute:"id",initialize:function(){},toJSON:function(){return l.clone(this.attributes)},get:function(d){return this.attributes[d]},escape:function(d){var c;if(c=this._escapedAttributes[d])return c;c=this.attributes[d];return this._escapedAttributes[d]=
(c==null?"":""+c).replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27").replace(/\//g,"&#x2F;")},has:function(d){return this.attributes[d]!=null},set:function(d,c){c||(c={});if(!d)return this;if(d.attributes)d=d.attributes;var g=this.attributes,h=this._escapedAttributes;if(!c.silent&&this.validate&&!this._performValidation(d,c))return!1;if(this.idAttribute in d)this.id=d[this.idAttribute];var j=this._changing;this._changing=
!0;for(var n in d){var o=d[n];if(!l.isEqual(g[n],o))g[n]=o,delete h[n],this._changed=!0,c.silent||this.trigger("change:"+n,this,o,c)}!j&&!c.silent&&this._changed&&this.change(c);this._changing=!1;return this},unset:function(d,c){if(!(d in this.attributes))return this;c||(c={});var g={};g[d]=void 0;if(!c.silent&&this.validate&&!this._performValidation(g,c))return!1;delete this.attributes[d];delete this._escapedAttributes[d];d==this.idAttribute&&delete this.id;this._changed=!0;c.silent||(this.trigger("change:"+
d,this,void 0,c),this.change(c));return this},clear:function(d){d||(d={});var c=this.attributes,g={},h;for(h in c)g[h]=void 0;if(!d.silent&&this.validate&&!this._performValidation(g,d))return!1;this.attributes={};this._escapedAttributes={};this._changed=!0;if(!d.silent){for(h in c)this.trigger("change:"+h,this,void 0,d);this.change(d)}return this},fetch:function(d){d||(d={});var c=this,h=d.success;d.success=function(g,j,l){if(!c.set(c.parse(g,l),d))return!1;h&&h(c,g)};d.error=G(d.error,c,d);return(this.sync||
g.sync).call(this,"read",this,d)},save:function(d,c){c||(c={});if(d&&!this.set(d,c))return!1;var h=this,j=c.success;c.success=function(d,g,l){if(!h.set(h.parse(d,l),c))return!1;j&&j(h,d,l)};c.error=G(c.error,h,c);var l=this.isNew()?"create":"update";return(this.sync||g.sync).call(this,l,this,c)},destroy:function(d){d||(d={});if(this.isNew())return this.trigger("destroy",this,this.collection,d);var c=this,h=d.success;d.success=function(g){c.trigger("destroy",c,c.collection,d);h&&h(c,g)};d.error=G(d.error,
c,d);return(this.sync||g.sync).call(this,"delete",this,d)},url:function(){var d=M(this.collection)||this.urlRoot||F();if(this.isNew())return d;return d+(d.charAt(d.length-1)=="/"?"":"/")+encodeURIComponent(this.id)},parse:function(d){return d},clone:function(){return new this.constructor(this)},isNew:function(){return this.id==null},change:function(d){this.trigger("change",this,d);this._previousAttributes=l.clone(this.attributes);this._changed=!1},hasChanged:function(d){if(d)return this._previousAttributes[d]!=
this.attributes[d];return this._changed},changedAttributes:function(d){d||(d=this.attributes);var c=this._previousAttributes,g=!1,h;for(h in d)l.isEqual(c[h],d[h])||(g=g||{},g[h]=d[h]);return g},previous:function(d){if(!d||!this._previousAttributes)return null;return this._previousAttributes[d]},previousAttributes:function(){return l.clone(this._previousAttributes)},_performValidation:function(d,c){var g=this.validate(d);if(g)return c.error?c.error(this,g,c):this.trigger("error",this,g,c),!1;return!0}});
g.Collection=function(d,c){c||(c={});if(c.comparator)this.comparator=c.comparator;l.bindAll(this,"_onModelEvent","_removeReference");this._reset();d&&this.reset(d,{silent:!0});this.initialize.apply(this,arguments)};l.extend(g.Collection.prototype,g.Events,{model:g.Model,initialize:function(){},toJSON:function(){return this.map(function(d){return d.toJSON()})},add:function(d,c){if(l.isArray(d))for(var g=0,h=d.length;g<h;g++)this._add(d[g],c);else this._add(d,c);return this},remove:function(d,c){if(l.isArray(d))for(var g=
0,h=d.length;g<h;g++)this._remove(d[g],c);else this._remove(d,c);return this},get:function(d){if(d==null)return null;return this._byId[d.id!=null?d.id:d]},getByCid:function(d){return d&&this._byCid[d.cid||d]},at:function(d){return this.models[d]},sort:function(d){d||(d={});if(!this.comparator)throw Error("Cannot sort a set without a comparator");this.models=this.sortBy(this.comparator);d.silent||this.trigger("reset",this,d);return this},pluck:function(d){return l.map(this.models,function(c){return c.get(d)})},
reset:function(d,c){d||(d=[]);c||(c={});this.each(this._removeReference);this._reset();this.add(d,{silent:!0});c.silent||this.trigger("reset",this,c);return this},fetch:function(d){d||(d={});var c=this,h=d.success;d.success=function(g,j,l){c[d.add?"add":"reset"](c.parse(g,l),d);h&&h(c,g)};d.error=G(d.error,c,d);return(this.sync||g.sync).call(this,"read",this,d)},create:function(d,c){var g=this;c||(c={});d=this._prepareModel(d,c);if(!d)return!1;var h=c.success;c.success=function(d,j,l){g.add(d,c);
h&&h(d,j,l)};d.save(null,c);return d},parse:function(d){return d},chain:function(){return l(this.models).chain()},_reset:function(){this.length=0;this.models=[];this._byId={};this._byCid={}},_prepareModel:function(d,c){if(d instanceof g.Model){if(!d.collection)d.collection=this}else{var h=d;d=new this.model(h,{collection:this});d.validate&&!d._performValidation(h,c)&&(d=!1)}return d},_add:function(d,c){c||(c={});d=this._prepareModel(d,c);if(!d)return!1;var g=this.getByCid(d)||this.get(d);if(g)throw Error(["Can't add the same model to a set twice",
g.id]);this._byId[d.id]=d;this._byCid[d.cid]=d;this.models.splice(c.at!=null?c.at:this.comparator?this.sortedIndex(d,this.comparator):this.length,0,d);d.bind("all",this._onModelEvent);this.length++;c.silent||d.trigger("add",d,this,c);return d},_remove:function(d,c){c||(c={});d=this.getByCid(d)||this.get(d);if(!d)return null;delete this._byId[d.id];delete this._byCid[d.cid];this.models.splice(this.indexOf(d),1);this.length--;c.silent||d.trigger("remove",d,this,c);this._removeReference(d);return d},
_removeReference:function(d){this==d.collection&&delete d.collection;d.unbind("all",this._onModelEvent)},_onModelEvent:function(d,c,g,h){(d=="add"||d=="remove")&&g!=this||(d=="destroy"&&this._remove(c,h),c&&d==="change:"+c.idAttribute&&(delete this._byId[c.previous(c.idAttribute)],this._byId[c.id]=c),this.trigger.apply(this,arguments))}});l.each(["forEach","each","map","reduce","reduceRight","find","detect","filter","select","reject","every","all","some","any","include","invoke","max","min","sortBy",
"sortedIndex","toArray","size","first","rest","last","without","indexOf","lastIndexOf","isEmpty"],function(d){g.Collection.prototype[d]=function(){return l[d].apply(l,[this.models].concat(l.toArray(arguments)))}});g.Router=function(d){d||(d={});if(d.routes)this.routes=d.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var j=/:([\w\d]+)/g,o=/\*([\w\d]+)/g,D=/[-[\]{}()+?.,\\^$|#\s]/g;l.extend(g.Router.prototype,g.Events,{initialize:function(){},route:function(d,c,h){g.history||(g.history=
new g.History);l.isRegExp(d)||(d=this._routeToRegExp(d));g.history.route(d,l.bind(function(g){g=this._extractParameters(d,g);h.apply(this,g);this.trigger.apply(this,["route:"+c].concat(g))},this))},saveLocation:function(d){g.history.saveLocation(d)},setLocation:function(d){g.history.saveLocation(d);g.history.loadUrl(d)},_bindRoutes:function(){if(this.routes){var d=[],c;for(c in this.routes)d.unshift([c,this.routes[c]]);c=0;for(var g=d.length;c<g;c++)this.route(d[c][0],d[c][1],this[d[c][1]])}},_routeToRegExp:function(d){d=
d.replace(D,"\\$&").replace(j,"([^/]*)").replace(o,"(.*?)");return RegExp("^"+d+"$")},_extractParameters:function(d,c){return d.exec(c).slice(1)}});g.History=function(){this.handlers=[];l.bindAll(this,"checkUrl")};var x=/^#*!?/,s=/msie [\w.]+/,v=!1;l.extend(g.History.prototype,{interval:50,getFragment:function(d,c){if(d==null)if(this._hasPushState||c){d=window.location.pathname;var g=window.location.search;g&&(d+=g);d.indexOf(this.options.root)==0&&(d=d.substr(this.options.root.length))}else d=window.location.hash;
return d.replace(x,"")},start:function(d){if(v)throw Error("Backbone.history has already been started");this.options=l.extend({},{root:"/"},this.options,d);this._wantsPushState=!!this.options.pushState;this._hasPushState=!(!this.options.pushState||!window.history||!window.history.pushState);d=this.getFragment();var c=document.documentMode;if(c=s.exec(navigator.userAgent.toLowerCase())&&(!c||c<=7))this.iframe=p('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,
this.saveLocation(d);this._hasPushState?p(window).bind("popstate",this.checkUrl):"onhashchange"in window&&!c?p(window).bind("hashchange",this.checkUrl):setInterval(this.checkUrl,this.interval);this.fragment=d;v=!0;d=this.loadUrl()||this.loadUrl(window.location.hash);if(this._wantsPushState&&!this._hasPushState&&window.location.pathname!=this.options.root)this.fragment=this.getFragment(null,!0),window.location=this.options.root+"#"+this.fragment;else return d},route:function(d,c){this.handlers.unshift({route:d,
callback:c})},checkUrl:function(){var d=this.getFragment();d==this.fragment&&this.iframe&&(d=this.getFragment(this.iframe.location.hash));if(d==this.fragment||d==decodeURIComponent(this.fragment))return!1;this.iframe&&this.saveLocation(d);this.loadUrl()||this.loadUrl(window.location.hash)},loadUrl:function(d){var c=this.fragment=this.getFragment(d);return l.any(this.handlers,function(d){if(d.route.test(c))return d.callback(c),!0})},saveLocation:function(d){d=(d||"").replace(x,"");if(!(this.fragment==
d||this.fragment==decodeURIComponent(d)))if(this._hasPushState){var c=window.location;d.indexOf(this.options.root)!=0&&(d=this.options.root+d);this.fragment=d;window.history.pushState({},document.title,c.protocol+"//"+c.host+d)}else if(window.location.hash=this.fragment=d,this.iframe&&d!=this.getFragment(this.iframe.location.hash))this.iframe.document.open().close(),this.iframe.location.hash=d}});g.View=function(d){this.cid=l.uniqueId("view");this._configure(d||{});this._ensureElement();this.delegateEvents();
this.initialize.apply(this,arguments)};var w=/^(\S+)\s*(.*)$/,z=["model","collection","el","id","attributes","className","tagName"];l.extend(g.View.prototype,g.Events,{tagName:"div",$:function(d){return p(d,this.el)},initialize:function(){},render:function(){return this},remove:function(){p(this.el).remove();return this},make:function(d,c,g){d=document.createElement(d);c&&p(d).attr(c);g&&p(d).html(g);return d},delegateEvents:function(d){if(d||(d=this.events))for(var c in p(this.el).unbind(".delegateEvents"+
this.cid),d){var g=this[d[c]];if(!g)throw Error('Event "'+d[c]+'" does not exist');var h=c.match(w),j=h[1];h=h[2];g=l.bind(g,this);j+=".delegateEvents"+this.cid;h===""?p(this.el).bind(j,g):p(this.el).delegate(h,j,g)}},_configure:function(d){this.options&&(d=l.extend({},this.options,d));for(var c=0,g=z.length;c<g;c++){var h=z[c];d[h]&&(this[h]=d[h])}this.options=d},_ensureElement:function(){if(this.el){if(l.isString(this.el))this.el=p(this.el).get(0)}else{var d=this.attributes||{};if(this.id)d.id=
this.id;if(this.className)d["class"]=this.className;this.el=this.make(this.tagName,d)}}});g.Model.extend=g.Collection.extend=g.Router.extend=g.View.extend=function(d,c){var g=K(this,d,c);g.extend=this.extend;return g};var I={create:"POST",update:"PUT","delete":"DELETE",read:"GET"};g.sync=function(d,c,h){var j=I[d];h=l.extend({type:j,dataType:"json",processData:!1},h);if(!h.url)h.url=M(c)||F();if(!h.data&&c&&(d=="create"||d=="update"))h.contentType="application/json",h.data=JSON.stringify(c.toJSON());
if(g.emulateJSON)h.contentType="application/x-www-form-urlencoded",h.processData=!0,h.data=h.data?{model:h.data}:{};if(g.emulateHTTP&&(j==="PUT"||j==="DELETE")){if(g.emulateJSON)h.data._method=j;h.type="POST";h.beforeSend=function(c){c.setRequestHeader("X-HTTP-Method-Override",j)}}return p.ajax(h)};var Q=function(){},K=function(d,c,g){var h;h=c&&c.hasOwnProperty("constructor")?c.constructor:function(){return d.apply(this,arguments)};l.extend(h,d);Q.prototype=d.prototype;h.prototype=new Q;c&&l.extend(h.prototype,
c);g&&l.extend(h,g);h.prototype.constructor=h;h.__super__=d.prototype;return h},M=function(d){if(!d||!d.url)return null;return l.isFunction(d.url)?d.url():d.url},F=function(){throw Error('A "url" property or function must be specified');},G=function(d,c,g){return function(h){d?d(c,h,g):c.trigger("error",c,h,g)}}}).call(this);
