(function(){"use strict";var a=typeof window!="undefined"?window:global;if(typeof a.require=="function")return;var b={},c={},d=function(a,b){return{}.hasOwnProperty.call(a,b)},e=function(a,b){var c=[],d,e;/^\.\.?(\/|$)/.test(b)?d=[a,b].join("/").split("/"):d=b.split("/");for(var f=0,g=d.length;f0&&b-1 in a)}function K(a){var b=J[a]={};return t.each(a.match(v)||[],function(a,c){b[c]=!0}),b}function N(a,c,d,e){if(!t.acceptData(a))return;var f,g,h=t.expando,i=typeof c=="string",j=a.nodeType,l=j?t.cache:a,m=j?a[h]:a[h]&&h;if((!m||!l[m]||!e&&!l[m].data)&&i&&d===b)return;m||(j?a[h]=m=k.pop()||t.guid++:m=h),l[m]||(l[m]={},j||(l[m].toJSON=t.noop));if(typeof c=="object"||typeof c=="function")e?l[m]=t.extend(l[m],c):l[m].data=t.extend(l[m].data,c);return f=l[m],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[t.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[t.camelCase(c)])):g=f,g}function O(a,b,c){if(!t.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?t.cache:a,i=g?a[t.expando]:t.expando;if(!h[i])return;if(b){f=c?h[i]:h[i].data;if(f){t.isArray(b)?b=b.concat(t.map(b,t.camelCase)):b in f?b=[b]:(b=t.camelCase(b),b in f?b=[b]:b=b.split(" "));for(d=0,e=b.length;d=0===c})}function bn(a){var b=bo.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bF(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bG(a){var b=a.getAttributeNode("type");return a.type=(b&&b.specified)+"/"+a.type,a}function bH(a){var b=bA.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function bI(a,b){var c,d=0;for(;(c=a[d])!=null;d++)t._data(c,"globalEval",!b||t._data(b[d],"globalEval"))}function bJ(a,b){if(b.nodeType!==1||!t.hasData(a))return;var c,d,e,f=t._data(a),g=t._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").css("cssText","display:block !important")).appendTo(b.documentElement),b=(bN[0].contentWindow||bN[0].contentDocument).document,b.write(""),b.close(),c=ci(a,b),bN.detach();bY[a]=c}return c}function ci(a,b){var c=t(b.createElement(a)).appendTo(b.body),d=t.css(c[0],"display");return c.remove(),d}function co(a,b,c,d){var e;if(t.isArray(b))t.each(b,function(b,e){c||ck.test(a)?d(a,e):co(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&t.type(b)==="object")for(e in b)co(a+"["+e+"]",b[e],c,d);else d(a,b)}function cF(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(v)||[];if(t.isFunction(c))while(d=f[e++])d[0]==="+"?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function cG(a,b,c,d){function g(h){var i;return e[h]=!0,t.each(a[h]||[],function(a,h){var j=h(b,c,d);if(typeof j=="string"&&!f&&!e[j])return b.dataTypes.unshift(j),g(j),!1;if(f)return!(i=j)}),i}var e={},f=a===cC;return g(b.dataTypes[0])||!e["*"]&&g("*")}function cH(a,c){var d,e,f=t.ajaxSettings.flatOptions||{};for(e in c)c[e]!==b&&((f[e]?a:d||(d={}))[e]=c[e]);return d&&t.extend(!0,a,d),a}function cI(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(h in k)h in d&&(c[k[h]]=d[h]);while(j[0]==="*")j.shift(),f===b&&(f=a.mimeType||c.getResponseHeader("Content-Type"));if(f)for(h in i)if(i[h]&&i[h].test(f)){j.unshift(h);break}if(j[0]in d)g=j[0];else{for(h in d){if(!j[0]||a.converters[h+" "+j[0]]){g=h;break}e||(e=h)}g=g||e}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cJ(a,b){var c,d,e,f,g={},h=0,i=a.dataTypes.slice(),j=i[0];a.dataFilter&&(b=a.dataFilter(b,a.dataType));if(i[1])for(e in a.converters)g[e.toLowerCase()]=a.converters[e];for(;d=i[++h];)if(d!=="*"){if(j!=="*"&&j!==d){e=g[j+" "+d]||g["* "+d];if(!e)for(c in g){f=c.split(" ");if(f[1]===d){e=g[j+" "+f[0]]||g["* "+f[0]];if(e){e===!0?e=g[c]:g[c]!==!0&&(d=f[0],i.splice(h--,0,d));break}}}if(e!==!0)if(e&&a["throws"])b=e(b);else try{b=e(b)}catch(k){return{state:"parsererror",error:e?k:"No conversion from "+j+" to "+d}}}j=d}return{state:"success",data:b}}function cQ(){try{return new a.XMLHttpRequest}catch(b){}}function cR(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cZ(){return setTimeout(function(){cS=b}),cS=t.now()}function c$(a,b){t.each(b,function(b,c){var d=(cY[b]||[]).concat(cY["*"]),e=0,f=d.length;for(;e)[^>]*|#([\w-]*))$/,y=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,z=/^[\],:{}\s]*$/,A=/(?:^|:|,)(?:\s*\[)+/g,B=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,C=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,E=/-([\da-z])/gi,F=function(a,b){return b.toUpperCase()},G=function(a){if(f.addEventListener||a.type==="load"||f.readyState==="complete")H(),t.ready()},H=function(){f.addEventListener?(f.removeEventListener("DOMContentLoaded",G,!1),a.removeEventListener("load",G,!1)):(f.detachEvent("onreadystatechange",G),a.detachEvent("onload",G))};t.fn=t.prototype={jquery:l,constructor:t,init:function(a,c,d){var e,g;if(!a)return this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?e=[null,a,null]:e=x.exec(a);if(e&&(e[1]||!c)){if(e[1]){c=c instanceof t?c[0]:c,t.merge(this,t.parseHTML(e[1],c&&c.nodeType?c.ownerDocument||c:f,!0));if(y.test(e[1])&&t.isPlainObject(c))for(e in c)t.isFunction(this[e])?this[e](c[e]):this.attr(e,c[e]);return this}g=f.getElementById(e[2]);if(g&&g.parentNode){if(g.id!==e[2])return d.find(a);this.length=1,this[0]=g}return this.context=f,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return a.nodeType?(this.context=this[0]=a,this.length=1,this):t.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),t.makeArray(a,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return o.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a){var b=t.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return t.each(this,a,b)},ready:function(a){return t.ready.promise().done(a),this},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0)return;c.resolveWith(f,[t]),t.fn.trigger&&t(f).trigger("ready").off("ready")},isFunction:function(a){return t.type(a)==="function"},isArray:Array.isArray||function(a){return t.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):typeof a=="object"||typeof a=="function"?j[q.call(a)]||"object":typeof a},isPlainObject:function(a){if(!a||t.type(a)!=="object"||a.nodeType||t.isWindow(a))return!1;try{if(a.constructor&&!r.call(a,"constructor")&&!r.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||r.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){if(!a||typeof a!="string")return null;typeof b=="boolean"&&(c=b,b=!1),b=b||f;var d=y.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=t.buildFragment([a],b,e),e&&t(e).remove(),t.merge([],d.childNodes))},parseJSON:function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(b===null)return b;if(typeof b=="string"){b=t.trim(b);if(b&&z.test(b.replace(B,"@").replace(C,"]").replace(A,"")))return(new Function("return "+b))()}t.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&t.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&t.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(D,"ms-").replace(E,F)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=I(a);if(c)if(g)for(;e-1)i.splice(d,1),c&&(d<=f&&f--,d<=g&&g--)}),this},has:function(a){return a?t.inArray(a,i)>-1:!!i&&!!i.length},empty:function(){return i=[],this},disable:function(){return i=j=d=b,this},disabled:function(){return!i},lock:function(){return j=b,d||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!e||j)&&(c?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!e}};return l},t.extend({Deferred:function(a){var b=[["resolve","done",t.Callbacks("once memory"),"resolved"],["reject","fail",t.Callbacks("once memory"),"rejected"],["notify","progress",t.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return t.Deferred(function(c){t.each(b,function(b,f){var g=f[0],h=t.isFunction(a[b])&&a[b];e[f[1]](function(){var a=h&&h.apply(this,arguments);a&&t.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[g+"With"](this===d?c.promise():this,h?[a]:arguments)})}),a=null}).promise()},promise:function(a){return a!=null?t.extend(a,d):d}},e={};return d.pipe=d.then,t.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=o.call(arguments),d=c.length,e=d!==1||a&&t.isFunction(a.promise)?d:0,f=e===1?a:t.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?o.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0];if(!c||!d||!c.length)return{};h=f.createElement("select"),j=h.appendChild(f.createElement("option")),g=n.getElementsByTagName("input")[0],d.style.cssText="top:1px;float:left;opacity:.5",b={getSetAttribute:n.className!=="t",leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:!!g.value,optSelected:j.selected,enctype:!!f.createElement("form").enctype,html5Clone:f.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:f.compatMode==="CSS1Compat",deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},g.checked=!0,b.noCloneChecked=g.cloneNode(!0).checked,h.disabled=!0,b.optDisabled=!j.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}g=f.createElement("input"),g.setAttribute("value",""),b.input=g.getAttribute("value")==="",g.value="t",g.setAttribute("type","radio"),b.radioValue=g.value==="t",g.setAttribute("checked","t"),g.setAttribute("name","t"),i=f.createDocumentFragment(),i.appendChild(g),b.appendChecked=g.checked,b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,n.attachEvent&&(n.attachEvent("onclick",function(){b.noCloneEvent=!1}),n.cloneNode(!0).click());for(m in{submit:!0,change:!0,focusin:!0})n.setAttribute(k="on"+m,"t"),b[m+"Bubbles"]=k in a||n.attributes[k].expando===!1;return n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle=n.style.backgroundClip==="content-box",t(function(){var c,d,g,h="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",i=f.getElementsByTagName("body")[0];if(!i)return;c=f.createElement("div"),c.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(c).appendChild(n),n.innerHTML="
t
",g=n.getElementsByTagName("td"),g[0].style.cssText="padding:0;margin:0;border:0;display:none",l=g[0].offsetHeight===0,g[0].style.display="",g[1].style.display="none",b.reliableHiddenOffsets=l&&g[0].offsetHeight===0,n.innerHTML="",n.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=n.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(n,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(n,null)||{width:"4px"}).width==="4px",d=n.appendChild(f.createElement("div")),d.style.cssText=n.style.cssText=h,d.style.marginRight=d.style.width="0",n.style.width="1px",b.reliableMarginRight=!parseFloat((a.getComputedStyle(d,null)||{}).marginRight)),typeof n.style.zoom!==e&&(n.innerHTML="",n.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=n.offsetWidth===3,n.style.display="block",n.innerHTML="
",n.firstChild.style.width="5px",b.shrinkWrapBlocks=n.offsetWidth!==3,b.inlineBlockNeedsLayout&&(i.style.zoom=1)),i.removeChild(c),c=n=g=d=null}),c=h=i=j=d=g=null,b}();var L=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,M=/([A-Z])/g;t.extend({cache:{},expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?t.cache[a[t.expando]]:a[t.expando],!!a&&!Q(a)},data:function(a,b,c){return N(a,b,c)},removeData:function(a,b){return O(a,b)},_data:function(a,b,c){return N(a,b,c,!0)},_removeData:function(a,b){return O(a,b,!0)},acceptData:function(a){if(a.nodeType&&a.nodeType!==1&&a.nodeType!==9)return!1;var b=a.nodeName&&t.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),t.fn.extend({data:function(a,c){var d,e,f=this[0],g=0,h=null;if(a===b){if(this.length){h=t.data(f);if(f.nodeType===1&&!t._data(f,"parsedAttrs")){d=f.attributes;for(;g1,null,!0)},removeData:function(a){return this.each(function(){t.removeData(this,a)})}}),t.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=t._data(a,b),c&&(!d||t.isArray(c)?d=t._data(a,b,t.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=t.queue(a,b),d=c.length,e=c.shift(),f=t._queueHooks(a,b),g=function(){t.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),f.cur=e,e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return t._data(a,c)||t._data(a,c,{empty:t.Callbacks("once memory").add(function(){t._removeData(a,b+"queue"),t._removeData(a,c)})})}}),t.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){t.removeAttr(this,a)})},prop:function(a,b){return t.access(this,t.prop,a,b,arguments.length>1)},removeProp:function(a){return a=t.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g=0,h=this.length,i=typeof a=="string"&&a;if(t.isFunction(a))return this.each(function(b){t(this).addClass(a.call(this,b,this.className))});if(i){b=(a||"").match(v)||[];for(;g=0)d=d.replace(" "+e+" "," ");c.className=a?t.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return t.isFunction(a)?this.each(function(c){t(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var f,g=0,h=t(this),i=b,j=a.match(v)||[];while(f=j[g++])i=d?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f)}else if(c===e||c==="boolean")this.className&&t._data(this,"__className__",this.className),this.className=this.className||a===!1?"":t._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return d=t.valHooks[f.type]||t.valHooks[f.nodeName.toLowerCase()],d&&"get"in d&&(c=d.get(f,"value"))!==b?c:(c=f.value,typeof c=="string"?c.replace(U,""):c==null?"":c);return}return e=t.isFunction(a),this.each(function(c){var f,g=t(this);if(this.nodeType!==1)return;e?f=a.call(this,c,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":t.isArray(f)&&(f=t.map(f,function(a){return a==null?"":a+""})),d=t.valHooks[this.type]||t.valHooks[this.nodeName.toLowerCase()];if(!d||!("set"in d)||d.set(this,f,"value")===b)this.value=f})}}),t.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d=a.options,e=a.selectedIndex,f=a.type==="select-one"||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;for(;i=0}),c.length||(a.selectedIndex=-1),c}}},attr:function(a,c,d){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(typeof a.getAttribute===e)return t.prop(a,c,d);g=i!==1||!t.isXMLDoc(a),g&&(c=c.toLowerCase(),f=t.attrHooks[c]||(X.test(c)?S:R));if(d===b)return f&&g&&"get"in f&&(h=f.get(a,c))!==null?h:(typeof a.getAttribute!==e&&(h=a.getAttribute(c)),h==null?b:h);if(d!==null)return f&&g&&"set"in f&&(h=f.set(a,d,c))!==b?h:(a.setAttribute(c,d+""),d);t.removeAttr(a,c)},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(v);if(f&&a.nodeType===1)while(c=f[e++])d=t.propFix[c]||c,X.test(c)?!Z&&Y.test(c)?a[t.camelCase("default-"+c)]=a[d]=!1:a[d]=!1:t.attr(a,c,""),a.removeAttribute(Z?c:d)},attrHooks:{type:{set:function(a,b){if(!t.support.radioValue&&b==="radio"&&t.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},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,c,d){var e,f,g,h=a.nodeType;if(!a||h===3||h===8||h===2)return;return g=h!==1||!t.isXMLDoc(a),g&&(c=t.propFix[c]||c,f=t.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):V.test(a.nodeName)||W.test(a.nodeName)&&a.href?0:b}}}}),S={get:function(a,c){var d=t.prop(a,c),e=typeof d=="boolean"&&a.getAttribute(c),f=typeof d=="boolean"?$&&Z?e!=null:Y.test(c)?a[t.camelCase("default-"+c)]:!!e:a.getAttributeNode(c);return f&&f.value!==!1?c.toLowerCase():b},set:function(a,b,c){return b===!1?t.removeAttr(a,c):$&&Z||!Y.test(c)?a.setAttribute(!Z&&t.propFix[c]||c,c):a[t.camelCase("default-"+c)]=a[c]=!0,c}};if(!$||!Z)t.attrHooks.value={get:function(a,c){var d=a.getAttributeNode(c);return t.nodeName(a,"input")?a.defaultValue:d&&d.specified?d.value:b},set:function(a,b,c){if(!t.nodeName(a,"input"))return R&&R.set(a,b,c);a.defaultValue=b}};Z||(R=t.valHooks.button={get:function(a,c){var d=a.getAttributeNode(c);return d&&(c==="id"||c==="name"||c==="coords"?d.value!=="":d.specified)?d.value:b},set:function(a,c,d){var e=a.getAttributeNode(d);return e||a.setAttributeNode(e=a.ownerDocument.createAttribute(d)),e.value=c+="",d==="value"||c===a.getAttribute(d)?c:b}},t.attrHooks.contenteditable={get:R.get,set:function(a,b,c){R.set(a,b===""?!1:b,c)}},t.each(["width","height"],function(a,b){t.attrHooks[b]=t.extend(t.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})})),t.support.hrefNormalized||(t.each(["href","src","width","height"],function(a,c){t.attrHooks[c]=t.extend(t.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d==null?b:d}})}),t.each(["href","src"],function(a,b){t.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}})),t.support.style||(t.attrHooks.style={get:function(a){return a.style.cssText||b},set:function(a,b){return a.style.cssText=b+""}}),t.support.optSelected||(t.propHooks.selected=t.extend(t.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),t.support.enctype||(t.propFix.enctype="encoding"),t.support.checkOn||t.each(["radio","checkbox"],function(){t.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),t.each(["radio","checkbox"],function(){t.valHooks[this]=t.extend(t.valHooks[this],{set:function(a,b){if(t.isArray(b))return a.checked=t.inArray(t(a).val(),b)>=0}})});var _=/^(?:input|select|textarea)$/i,ba=/^key/,bb=/^(?:mouse|contextmenu)|click/,bc=/^(?:focusinfocus|focusoutblur)$/,bd=/^([^.]*)(?:\.(.+)|)$/;t.event={global:{},add:function(a,c,d,f,g){var h,i,j,k,l,m,n,o,p,q,r,s=t._data(a);if(!s)return;d.handler&&(k=d,d=k.handler,g=k.selector),d.guid||(d.guid=t.guid++),(i=s.events)||(i=s.events={}),(m=s.handle)||(m=s.handle=function(a){return typeof t===e||!!a&&t.event.triggered===a.type?b:t.event.dispatch.apply(m.elem,arguments)},m.elem=a),c=(c||"").match(v)||[""],j=c.length;while(j--){h=bd.exec(c[j])||[],p=r=h[1],q=(h[2]||"").split(".").sort(),l=t.event.special[p]||{},p=(g?l.delegateType:l.bindType)||p,l=t.event.special[p]||{},n=t.extend({type:p,origType:r,data:f,handler:d,guid:d.guid,selector:g,needsContext:g&&t.expr.match.needsContext.test(g),namespace:q.join(".")},k);if(!(o=i[p])){o=i[p]=[],o.delegateCount=0;if(!l.setup||l.setup.call(a,f,q,m)===!1)a.addEventListener?a.addEventListener(p,m,!1):a.attachEvent&&a.attachEvent("on"+p,m)}l.add&&(l.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),g?o.splice(o.delegateCount++,0,n):o.push(n),t.event.global[p]=!0}a=null},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=t.hasData(a)&&t._data(a);if(!q||!(k=q.events))return;b=(b||"").match(v)||[""],j=b.length;while(j--){h=bd.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort();if(!n){for(n in k)t.event.remove(a,n+b[j],c,d,!0);continue}l=t.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=k[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],(e||p===g.origType)&&(!c||c.guid===g.guid)&&(!h||h.test(g.namespace))&&(!d||d===g.selector||d==="**"&&g.selector)&&(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&((!l.teardown||l.teardown.call(a,o,q.handle)===!1)&&t.removeEvent(a,n,q.handle),delete k[n])}t.isEmptyObject(k)&&(delete q.handle,t._removeData(a,"events"))},trigger:function(c,d,e,g){var h,i,j,k,l,m,n,o=[e||f],p=r.call(c,"type")?c.type:c,q=r.call(c,"namespace")?c.namespace.split("."):[];j=m=e=e||f;if(e.nodeType===3||e.nodeType===8)return;if(bc.test(p+t.event.triggered))return;p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),i=p.indexOf(":")<0&&"on"+p,c=c[t.expando]?c:new t.Event(p,typeof c=="object"&&c),c.isTrigger=!0,c.namespace=q.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=b,c.target||(c.target=e),d=d==null?[c]:t.makeArray(d,[c]),l=t.event.special[p]||{};if(!g&&l.trigger&&l.trigger.apply(e,d)===!1)return;if(!g&&!l.noBubble&&!t.isWindow(e)){k=l.delegateType||p,bc.test(k+p)||(j=j.parentNode);for(;j;j=j.parentNode)o.push(j),m=j;m===(e.ownerDocument||f)&&o.push(m.defaultView||m.parentWindow||a)}n=0;while((j=o[n++])&&!c.isPropagationStopped())c.type=n>1?k:l.bindType||p,h=(t._data(j,"events")||{})[c.type]&&t._data(j,"handle"),h&&h.apply(j,d),h=i&&j[i],h&&t.acceptData(j)&&h.apply&&h.apply(j,d)===!1&&c.preventDefault();c.type=p;if(!g&&!c.isDefaultPrevented()&&(!l._default||l._default.apply(e.ownerDocument,d)===!1)&&(p!=="click"||!t.nodeName(e,"a"))&&t.acceptData(e)&&i&&e[p]&&!t.isWindow(e)){m=e[i],m&&(e[i]=null),t.event.triggered=p;try{e[p]()}catch(s){}t.event.triggered=b,m&&(e[i]=m)}return c.result},dispatch:function(a){a=t.event.fix(a);var c,d,e,f,g,h=[],i=o.call(arguments),j=(t._data(this,"events")||{})[a.type]||[],k=t.event.special[a.type]||{};i[0]=a,a.delegateTarget=this;if(k.preDispatch&&k.preDispatch.call(this,a)===!1)return;h=t.event.handlers.call(this,a,j),c=0;while((f=h[c++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())if(!a.namespace_re||a.namespace_re.test(e.namespace))a.handleObj=e,a.data=e.data,d=((t.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),d!==b&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation())}return k.postDispatch&&k.postDispatch.call(this,a),a.result},handlers:function(a,c){var d,e,f,g,h=[],i=c.delegateCount,j=a.target;if(i&&j.nodeType&&(!a.button||a.type!=="click"))for(;j!=this;j=j.parentNode||this)if(j.nodeType===1&&(j.disabled!==!0||a.type!=="click")){f=[];for(g=0;g=0:t.find(d,this,null,[j]).length),f[d]&&f.push(e);f.length&&h.push({elem:j,handlers:f})}return ie.cacheLength&&delete a[b.shift()],a[c]=d}}function bf(a){return a[u]=!0,a}function bg(a){var b=l.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}}function bh(a,b,c,d){var e,f,g,h,i,j,m,p,q,s;(b?b.ownerDocument||b:v)!==l&&k(b),b=b||l,c=c||[];if(!a||typeof a!="string")return c;if((h=b.nodeType)!==1&&h!==9)return[];if(!n&&!d){if(e=X.exec(a))if(g=e[1]){if(h===9){f=b.getElementById(g);if(!f||!f.parentNode)return c;if(f.id===g)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(g))&&r(b,f)&&f.id===g)return c.push(f),c}else{if(e[2])return G.apply(c,H.call(b.getElementsByTagName(a),0)),c;if((g=e[3])&&w.getByClassName&&b.getElementsByClassName)return G.apply(c,H.call(b.getElementsByClassName(g),0)),c}if(w.qsa&&!o.test(a)){m=!0,p=u,q=b,s=h===9&&a;if(h===1&&b.nodeName.toLowerCase()!=="object"){j=bm(a),(m=b.getAttribute("id"))?p=m.replace($,"\\$&"):b.setAttribute("id",p),p="[id='"+p+"'] ",i=j.length;while(i--)j[i]=p+bn(j[i]);q=V.test(a)&&b.parentNode||b,s=j.join(",")}if(s)try{return G.apply(c,H.call(q.querySelectorAll(s),0)),c}catch(t){}finally{m||b.removeAttribute("id")}}}return bv(a.replace(P,"$1"),b,c,d)}function bi(a,b){var c=b&&a,d=c&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function bj(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function bk(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bl(a){return bf(function(b){return b=+b,bf(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function bm(a,b){var c,d,f,g,h,i,j,k=A[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=Q.exec(h)))d&&(h=h.slice(d[0].length)||h),i.push(f=[]);c=!1;if(d=R.exec(h))c=d.shift(),f.push({value:c,type:d[0].replace(P," ")}),h=h.slice(c.length);for(g in e.filter)(d=U[g].exec(h))&&(!j[g]||(d=j[g](d)))&&(c=d.shift(),f.push({value:c,type:g,matches:d}),h=h.slice(c.length));if(!c)break}return b?h.length:h?bh.error(a):A(a,i).slice(0)}function bn(a){var b=0,c=a.length,d="";for(;b1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function bq(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h-1&&(f[j]=!(g[j]=l))}}else r=bq(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function bs(a){var b,c,d,f=a.length,g=e.relative[a[0].type],h=g||e.relative[" "],i=g?1:0,k=bo(function(a){return a===b},h,!0),l=bo(function(a){return I.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];for(;i1&&bp(m),i>1&&bn(a.slice(0,i-1)).replace(P,"$1"),c,i0,g=a.length>0,h=function(h,i,k,m,n){var o,p,q,r=[],s=0,t="0",u=h&&[],v=n!=null,w=j,y=h||g&&e.find.TAG("*",n&&i.parentNode||i),z=x+=w==null?1:Math.random()||.1;v&&(j=i!==l&&i,d=c);for(;(o=y[t])!=null;t++){if(g&&o){p=0;while(q=a[p++])if(q(o,i,k)){m.push(o);break}v&&(x=z,d=++c)}f&&((o=!q&&o)&&s--,h&&u.push(o))}s+=t;if(f&&t!==s){p=0;while(q=b[p++])q(u,r,i,k);if(h){if(s>0)while(t--)!u[t]&&!r[t]&&(r[t]=F.call(m));r=bq(r)}G.apply(m,r),v&&!h&&r.length>0&&s+b.length>1&&bh.uniqueSort(m)}return v&&(x=z,j=w),u};return f?bf(h):h}function bu(a,b,c){var d=0,e=b.length;for(;d2&&(i=g[0]).type==="ID"&&b.nodeType===9&&!n&&e.relative[g[1].type]){b=e.find.ID(i.matches[0].replace(ba,bb),b)[0];if(!b)return c;a=a.slice(g.shift().value.length)}f=U.needsContext.test(a)?0:g.length;while(f--){i=g[f];if(e.relative[j=i.type])break;if(k=e.find[j])if(d=k(i.matches[0].replace(ba,bb),V.test(g[0].type)&&b.parentNode||b)){g.splice(f,1),a=d.length&&bn(g);if(!a)return G.apply(c,H.call(d,0)),c;break}}}return h(a,l)(d,b,n,c,V.test(a)),c}function bw(){}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,u="sizzle"+ -(new Date),v=a.document,w={},x=0,y=0,z=be(),A=be(),B=be(),C=typeof b,D=1<<31,E=[],F=E.pop,G=E.push,H=E.slice,I=E.indexOf||function(a){var b=0,c=this.length;for(;b+~])"+J+"*"),S=new RegExp(O),T=new RegExp("^"+L+"$"),U={ID:new RegExp("^#("+K+")"),CLASS:new RegExp("^\\.("+K+")"),NAME:new RegExp("^\\[name=['\"]?("+K+")['\"]?\\]"),TAG:new RegExp("^("+K.replace("w","w*")+")"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,W=/^[^{]+\{\s*\[native code/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/'|\\/g,_=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,ba=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,bb=function(a,b){var c="0x"+b-65536;return c!==c?b:c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,c&1023|56320)};try{H.call(v.documentElement.childNodes,0)[0].nodeType}catch(bc){H=function(a){var b,c=[];while(b=this[a++])c.push(b);return c}}g=bh.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},k=bh.setDocument=function(a){var c=a?a.ownerDocument||a:v;if(c===l||c.nodeType!==9||!c.documentElement)return l;l=c,m=c.documentElement,n=g(c),w.tagNameNoComments=bg(function(a){return a.appendChild(c.createComment("")),!a.getElementsByTagName("*").length}),w.attributes=bg(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),w.getByClassName=bg(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),w.getByName=bg(function(a){a.id=u+0,a.innerHTML="
",m.insertBefore(a,m.firstChild);var b=c.getElementsByName&&c.getElementsByName(u).length===2+c.getElementsByName(u+0).length;return w.getIdNotName=!c.getElementById(u),m.removeChild(a),b}),e.attrHandle=bg(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==C&&a.firstChild.getAttribute("href")==="#"})?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},w.getIdNotName?(e.find.ID=function(a,b){if(typeof b.getElementById!==C&&!n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},e.filter.ID=function(a){var b=a.replace(ba,bb);return function(a){return a.getAttribute("id")===b}}):(e.find.ID=function(a,c){if(typeof c.getElementById!==C&&!n){var d=c.getElementById(a);return d?d.id===a||typeof d.getAttributeNode!==C&&d.getAttributeNode("id").value===a?[d]:b:[]}},e.filter.ID=function(a){var b=a.replace(ba,bb);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),e.find.TAG=w.tagNameNoComments?function(a,b){if(typeof b.getElementsByTagName!==C)return b.getElementsByTagName(a)}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(a==="*"){while(c=f[e++])c.nodeType===1&&d.push(c);return d}return f},e.find.NAME=w.getByName&&function(a,b){if(typeof b.getElementsByName!==C)return b.getElementsByName(name)},e.find.CLASS=w.getByClassName&&function(a,b){if(typeof b.getElementsByClassName!==C&&!n)return b.getElementsByClassName(a)},p=[],o=[":focus"];if(w.qsa=bd(c.querySelectorAll))bg(function(a){a.innerHTML="",a.querySelectorAll("[selected]").length||o.push("\\["+J+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||o.push(":checked")}),bg(function(a){a.innerHTML="",a.querySelectorAll("[i^='']").length&&o.push("[*^$]="+J+"*(?:\"\"|'')"),a.querySelectorAll(":enabled").length||o.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),o.push(",.*:")});return(w.matchesSelector=bd(q=m.matchesSelector||m.mozMatchesSelector||m.webkitMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&bg(function(a){w.disconnectedMatch=q.call(a,"div"),q.call(a,"[s!='']:x"),p.push("!=",O)}),o=new RegExp(o.join("|")),p=new RegExp(p.join("|")),r=bd(m.contains)||m.compareDocumentPosition?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!d&&d.nodeType===1&&!!(c.contains?c.contains(d):a.compareDocumentPosition&&a.compareDocumentPosition(d)&16)}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},s=m.compareDocumentPosition?function(a,b){var d;if(a===b)return i=!0,0;if(d=b.compareDocumentPosition&&a.compareDocumentPosition&&a.compareDocumentPosition(b))return d&1||a.parentNode&&a.parentNode.nodeType===11?a===c||r(v,a)?-1:b===c||r(v,b)?1:0:d&4?-1:1;return a.compareDocumentPosition?-1:1}:function(a,b){var d,e=0,f=a.parentNode,g=b.parentNode,h=[a],j=[b];if(a===b)return i=!0,0;if(!f||!g)return a===c?-1:b===c?1:f?-1:g?1:0;if(f===g)return bi(a,b);d=a;while(d=d.parentNode)h.unshift(d);d=b;while(d=d.parentNode)j.unshift(d);while(h[e]===j[e])e++;return e?bi(h[e],j[e]):h[e]===v?-1:j[e]===v?1:0},i=!1,[0,0].sort(s),w.detectDuplicates=i,l},bh.matches=function(a,b){return bh(a,null,null,b)},bh.matchesSelector=function(a,b){(a.ownerDocument||a)!==l&&k(a),b=b.replace(_,"='$1']");if(w.matchesSelector&&!n&&(!p||!p.test(b))&&!o.test(b))try{var c=q.call(a,b);if(c||w.disconnectedMatch||a.document&&a.document.nodeType!==11)return c}catch(d){}return bh(b,l,null,[a]).length>0},bh.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},bh.attr=function(a,b){var c;return(a.ownerDocument||a)!==l&&k(a),n||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):n||w.attributes?a.getAttribute(b):((c=a.getAttributeNode(b))||a.getAttribute(b))&&a[b]===!0?b:c&&c.specified?c.value:null},bh.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},bh.uniqueSort=function(a){var b,c=[],d=1,e=0;i=!w.detectDuplicates,a.sort(s);if(i){for(;b=a[d];d++)b===a[d-1]&&(e=c.push(d));while(e--)a.splice(c[e],1)}return a},f=bh.getText=function(a){var b,c="",d=0,e=a.nodeType;if(!e)for(;b=a[d];d++)c+=f(b);else if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue;return c},e=bh.selectors={cacheLength:50,createPseudo:bf,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,bb),a[3]=(a[4]||a[5]||"").replace(ba,bb),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==="nth"?(a[3]||bh.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==="even"||a[3]==="odd")),a[5]=+(a[7]+a[8]||a[3]==="odd")):a[3]&&bh.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return U.CHILD.test(a[0])?null:(a[4]?a[2]=a[4]:c&&S.test(c)&&(b=bm(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(ba,bb).toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=z[a+" "];return b||(b=new RegExp("(^|"+J+")"+a+"("+J+"|$)"))&&z(a,function(a){return b.test(a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=bh.attr(d,a);return e==null?b==="!=":b?(e+="",b==="="?e===c:b==="!="?e!==c:b==="^="?c&&e.indexOf(c)===0:b==="*="?c&&e.indexOf(c)>-1:b==="$="?c&&e.slice(-c.length)===c:b==="~="?(" "+e+" ").indexOf(c)>-1:b==="|="?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f=a.slice(0,3)!=="nth",g=a.slice(-4)!=="last",h=b==="of-type";return d===1&&e===0?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:l.nodeType===1)return!1;o=p=a==="only"&&!o&&"nextSibling"}return!0}o=[g?q.firstChild:q.lastChild];if(g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===x&&j[1],m=j[0]===x&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(l.nodeType===1&&++m&&l===b){k[a]=[x,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===x)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:l.nodeType===1)&&++m){s&&((l[u]||(l[u]={}))[a]=[x,m]);if(l===b)break}return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bh.error("unsupported pseudo: "+a);return d[u]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?bf(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=I.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:bf(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?bf(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:bf(function(a){return function(b){return bh(a,b).length>0}}),contains:bf(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),lang:bf(function(a){return T.test(a||"")||bh.error("unsupported lang: "+a),a=a.replace(ba,bb).toLowerCase(),function(b){var c;do if(c=n?b.getAttribute("xml:lang")||b.getAttribute("lang"):b.lang)return c=c.toLowerCase(),c===a||c.indexOf(a+"-")===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeName>"@"||a.nodeType===3||a.nodeType===4)return!1;return!0},parent:function(a){return!e.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},text:function(a){var b;return a.nodeName.toLowerCase()==="input"&&a.type==="text"&&((b=a.getAttribute("type"))==null||b.toLowerCase()===a.type)},first:bl(function(){return[0]}),last:bl(function(a,b){return[b-1]}),eq:bl(function(a,b,c){return[c<0?c+b:c]}),even:bl(function(a,b){var c=0;for(;c=0;)a.push(d);return a}),gt:bl(function(a,b,c){var d=c<0?c+b:c;for(;++d1?t.unique(c):c),c.selector=(this.selector?this.selector+" ":"")+a,c},has:function(a){var b,c=t(a,this),d=c.length;return this.filter(function(){for(b=0;b=0:t.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bj.test(a)||typeof a!="string"?t(a,b||this.context):0;for(;d-1:t.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return this.pushStack(f.length>1?t.unique(f):f)},index:function(a){return a?typeof a=="string"?t.inArray(this[0],t(a)):t.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?t(a,b):t.makeArray(a&&a.nodeType?[a]:a),d=t.merge(this.get(),c);return this.pushStack(t.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),t.fn.andSelf=t.fn.addBack,t.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return t.dir(a,"parentNode")},parentsUntil:function(a,b,c){return t.dir(a,"parentNode",c)},next:function(a){return bl(a,"nextSibling")},prev:function(a){return bl(a,"previousSibling")},nextAll:function(a){return t.dir(a,"nextSibling")},prevAll:function(a){return t.dir(a,"previousSibling")},nextUntil:function(a,b,c){return t.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return t.dir(a,"previousSibling",c)},siblings:function(a){return t.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return t.sibling(a.firstChild)},contents:function(a){return t.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:t.merge([],a.childNodes)}},function(a,b){t.fn[a]=function(c,d){var e=t.map(this,b,c);return bg.test(a)||(d=c),d&&typeof d=="string"&&(e=t.filter(d,e)),e=this.length>1&&!bk[a]?t.unique(e):e,this.length>1&&bh.test(a)&&(e=e.reverse()),this.pushStack(e)}}),t.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?t.find.matchesSelector(b[0],a)?[b[0]]:[]:t.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!t(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bo="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bp=/ jQuery\d+="(?:null|\d+)"/g,bq=new RegExp("<(?:"+bo+")[\\s/>]","i"),br=/^\s+/,bs=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,bu=/\s*$/g,bC={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:t.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},bD=bn(f),bE=bD.appendChild(f.createElement("div"));bC.optgroup=bC.option,bC.tbody=bC.tfoot=bC.colgroup=bC.caption=bC.thead,bC.th=bC.td,t.fn.extend({text:function(a){return t.access(this,function(a){return a===b?t.text(this):this.empty().append((this[0]&&this[0].ownerDocument||f).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(t.isFunction(a))return this.each(function(b){t(this).wrapAll(a.call(this,b))});if(this[0]){var b=t(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return t.isFunction(a)?this.each(function(b){t(this).wrapInner(a.call(this,b))}):this.each(function(){var b=t(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=t.isFunction(a);return this.each(function(c){t(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){t.nodeName(this,"body")||t(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,!1,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||t.filter(a,[c]).length>0)!b&&c.nodeType===1&&t.cleanData(bL(c)),c.parentNode&&(b&&t.contains(c.ownerDocument,c)&&bI(bL(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&t.cleanData(bL(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&t.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return t.clone(this,a,b)})},html:function(a){return t.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bp,""):b;if(typeof a=="string"&&!bw.test(a)&&(t.support.htmlSerialize||!bq.test(a))&&(t.support.leadingWhitespace||!br.test(a))&&!bC[(bt.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bs,"<$1>");try{for(;d")?f=a.cloneNode(!0):(bE.innerHTML=a.outerHTML,bE.removeChild(f=bE.firstChild));if((!t.support.noCloneEvent||!t.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!t.isXMLDoc(a)){d=bL(f),h=bL(a);for(g=0;(e=h[g])!=null;++g)d[g]&&bK(e,d[g])}if(b)if(c){h=h||bL(a),d=d||bL(f);for(g=0;(e=h[g])!=null;g++)bJ(e,d[g])}else bJ(a,f);return d=bL(f,"script"),d.length>0&&bI(d,!i&&bL(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){var e,f,g,h,i,j,k,l=a.length,m=bn(b),n=[],o=0;for(;o")+k[2],e=k[0];while(e--)h=h.lastChild;!t.support.leadingWhitespace&&br.test(f)&&n.push(b.createTextNode(br.exec(f)[0]));if(!t.support.tbody){f=i==="table"&&!bu.test(f)?h.firstChild:k[1]===""&&!bu.test(f)?h:0,e=f&&f.childNodes.length;while(e--)t.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}t.merge(n,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=m.lastChild}}h&&m.removeChild(h),t.support.appendChecked||t.grep(bL(n,"input"),bM),o=0;while(f=n[o++]){if(d&&t.inArray(f,d)!==-1)continue;g=t.contains(f.ownerDocument,f),h=bL(m.appendChild(f),"script"),g&&bI(h);if(c){e=0;while(f=h[e++])bz.test(f.type||"")&&c.push(f)}}return h=null,m},cleanData:function(a,b){var c,d,f,g,h=0,i=t.expando,j=t.cache,l=t.support.deleteExpando,m=t.event.special;for(;(c=a[h])!=null;h++)if(b||t.acceptData(c)){f=c[i],g=f&&j[f];if(g){if(g.events)for(d in g.events)m[d]?t.event.remove(c,d):t.removeEvent(c,d,g.handle);j[f]&&(delete j[f],l?delete c[i]:typeof c.removeAttribute!==e?c.removeAttribute(i):c[i]=null,k.push(f))}}}});var bN,bO,bP,bQ=/alpha\([^)]*\)/i,bR=/opacity\s*=\s*([^)]*)/,bS=/^(top|right|bottom|left)$/,bT=/^(none|table(?!-c[ea]).+)/,bU=/^margin/,bV=new RegExp("^("+u+")(.*)$","i"),bW=new RegExp("^("+u+")(?!px)[a-z%]+$","i"),bX=new RegExp("^([+-])=("+u+")","i"),bY={BODY:"block"},bZ={position:"absolute",visibility:"hidden",display:"block"},b$={letterSpacing:0,fontWeight:400},b_=["Top","Right","Bottom","Left"],ca=["Webkit","O","Moz","ms"];t.fn.extend({css:function(a,c){return t.access(this,function(a,c,d){var e,f,g={},h=0;if(t.isArray(c)){f=bO(a),e=c.length;for(;h1)},show:function(){return cd(this,!0)},hide:function(){return cd(this)},toggle:function(a){var b=typeof a=="boolean";return this.each(function(){(b?a:cc(this))?t(this).show():t(this).hide()})}}),t.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bP(a,"opacity");return c===""?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":t.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=t.camelCase(c),j=a.style;c=t.cssProps[i]||(t.cssProps[i]=cb(j,i)),h=t.cssHooks[c]||t.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bX.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(t.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!t.cssNumber[i]&&(d+="px"),!t.support.clearCloneStyle&&d===""&&c.indexOf("background")===0&&(j[c]="inherit");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=t.camelCase(c);return c=t.cssProps[i]||(t.cssProps[i]=cb(a.style,i)),h=t.cssHooks[c]||t.cssHooks[i],h&&"get"in h&&(g=h.get(a,!0,d)),g===b&&(g=bP(a,c,e)),g==="normal"&&c in b$&&(g=b$[c]),d===""||d?(f=parseFloat(g),d===!0||t.isNumeric(f)?f||0:g):g},swap:function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e}}),a.getComputedStyle?(bO=function(b){return a.getComputedStyle(b,null)},bP=function(a,c,d){var e,f,g,h=d||bO(a),i=h?h.getPropertyValue(c)||h[c]:b,j=a.style;return h&&(i===""&&!t.contains(a.ownerDocument,a)&&(i=t.style(a,c)),bW.test(i)&&bU.test(c)&&(e=j.width,f=j.minWidth,g=j.maxWidth,j.minWidth=j.maxWidth=j.width=i,i=h.width,j.width=e,j.minWidth=f,j.maxWidth=g)),i}):f.documentElement.currentStyle&&(bO=function(a){return a.currentStyle},bP=function(a,c,d){var e,f,g,h=d||bO(a),i=h?h[c]:b,j=a.style;return i==null&&j&&j[c]&&(i=j[c]),bW.test(i)&&!bS.test(c)&&(e=j.left,f=a.runtimeStyle,g=f&&f.left,g&&(f.left=a.currentStyle.left),j.left=c==="fontSize"?"1em":i,i=j.pixelLeft+"px",j.left=e,g&&(f.left=g)),i===""?"auto":i}),t.each(["height","width"],function(a,b){t.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bT.test(t.css(a,"display"))?t.swap(a,bZ,function(){return cg(a,b,d)}):cg(a,b,d)},set:function(a,c,d){var e=d&&bO(a);return ce(a,c,d?cf(a,b,d,t.support.boxSizing&&t.css(a,"boxSizing",!1,e)==="border-box",e):0)}}}),t.support.opacity||(t.cssHooks.opacity={get:function(a,b){return bR.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=t.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if((b>=1||b==="")&&t.trim(f.replace(bQ,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(b===""||d&&!d.filter)return}c.filter=bQ.test(f)?f.replace(bQ,e):f+" "+e}}),t(function(){t.support.reliableMarginRight||(t.cssHooks.marginRight={get:function(a,b){if(b)return t.swap(a,{display:"inline-block"},bP,[a,"marginRight"])}}),!t.support.pixelPosition&&t.fn.position&&t.each(["top","left"],function(a,b){t.cssHooks[b]={get:function(a,c){if(c)return c=bP(a,b),bW.test(c)?t(a).position()[b]+"px":c}}})}),t.expr&&t.expr.filters&&(t.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!t.support.reliableHiddenOffsets&&(a.style&&a.style.display||t.css(a,"display"))==="none"},t.expr.filters.visible=function(a){return!t.expr.filters.hidden(a)}),t.each({margin:"",padding:"",border:"Width"},function(a,b){t.cssHooks[a+b]={expand:function(c){var d=0,e={},f=typeof c=="string"?c.split(" "):[c];for(;d<4;d++)e[a+b_[d]+b]=f[d]||f[d-2]||f[0];return e}},bU.test(a)||(t.cssHooks[a+b].set=ce)});var cj=/%20/g,ck=/\[\]$/,cl=/\r?\n/g,cm=/^(?:submit|button|image|reset|file)$/i,cn=/^(?:input|select|textarea|keygen)/i;t.fn.extend({serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=t.prop(this,"elements");return a?t.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!t(this).is(":disabled")&&cn.test(this.nodeName)&&!cm.test(a)&&(this.checked||!bx.test(a))}).map(function(a,b){var c=t(this).val();return c==null?null:t.isArray(c)?t.map(c,function(a){return{name:b.name,value:a.replace(cl,"\r\n")}}):{name:b.name,value:c.replace(cl,"\r\n")}}).get()}}),t.param=function(a,c){var d,e=[],f=function(a,b){b=t.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=t.ajaxSettings&&t.ajaxSettings.traditional);if(t.isArray(a)||a.jquery&&!t.isPlainObject(a))t.each(a,function(){f(this.name,this.value)});else for(d in a)co(d,a[d],c,f);return e.join("&").replace(cj,"+")},t.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){t.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),t.fn.hover=function(a,b){return this.mouseenter(a).mouseleave(b||a)};var cp,cq,cr=t.now(),cs=/\?/,ct=/#.*$/,cu=/([?&])_=[^&]*/,cv=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cw=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,cx=/^(?:GET|HEAD)$/,cy=/^\/\//,cz=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cA=t.fn.load,cB={},cC={},cD="*/".concat("*");try{cq=g.href}catch(cE){cq=f.createElement("a"),cq.href="/comics/",cq=cq.href}cp=cz.exec(cq.toLowerCase())||[],t.fn.load=function(a,c,d){if(typeof a!="string"&&cA)return cA.apply(this,arguments);var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),t.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(g="POST"),h.length>0&&t.ajax({url:a,type:g,dataType:"html",data:c}).done(function(a){f=arguments,h.html(e?t("
").append(t.parseHTML(a)).find(e):a)}).complete(d&&function(a,b){h.each(d,f||[a.responseText,b,a])}),this},t.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){t.fn[b]=function(a){return this.on(b,a)}}),t.each(["get","post"],function(a,c){t[c]=function(a,d,e,f){return t.isFunction(d)&&(f=f||e,e=d,d=b),t.ajax({url:a,type:c,dataType:f,data:d,success:e})}}),t.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:cq,type:"GET",isLocal:cw.test(cp[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":cD,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":t.parseJSON,"text xml":t.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?cH(cH(a,t.ajaxSettings),b):cH(t.ajaxSettings,a)},ajaxPrefilter:cF(cB),ajaxTransport:cF(cC),ajax:function(a,c){function z(a,c,d,e){var k,r,s,v,w,y=c;if(u===2)return;u=2,h&&clearTimeout(h),j=b,g=e||"",x.readyState=a>0?4:0,d&&(v=cI(l,x,d));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(t.lastModified[f]=w),w=x.getResponseHeader("etag"),w&&(t.etag[f]=w)),a===204?(k=!0,y="nocontent"):a===304?(k=!0,y="notmodified"):(k=cJ(l,v),y=k.state,r=k.data,s=k.error,k=!s);else{s=y;if(a||!y)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[r,y,x]):o.rejectWith(m,[x,y,s]),x.statusCode(q),q=b,i&&n.trigger(k?"ajaxSuccess":"ajaxError",[x,l,k?r:s]),p.fireWith(m,[x,y]),i&&(n.trigger("ajaxComplete",[x,l]),--t.active||t.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=t.ajaxSetup({},c),m=l.context||l,n=l.context&&(m.nodeType||m.jquery)?t(m):t.event,o=t.Deferred(),p=t.Callbacks("once memory"),q=l.statusCode||{},r={},s={},u=0,w="canceled",x={readyState:0,getResponseHeader:function(a){var b;if(u===2){if(!k){k={};while(b=cv.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return b==null?null:b},getAllResponseHeaders:function(){return u===2?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)q[b]=[q[b],a[b]];else x.always(a[x.status]);return this},abort:function(a){var b=a||w;return j&&j.abort(b),z(0,b),this}};o.promise(x).complete=p.add,x.success=x.done,x.error=x.fail,l.url=((a||l.url||cq)+"").replace(ct,"").replace(cy,cp[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=t.trim(l.dataType||"*").toLowerCase().match(v)||[""],l.crossDomain==null&&(d=cz.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===cp[1]&&d[2]===cp[2]&&(d[3]||(d[1]==="http:"?80:443))==(cp[3]||(cp[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=t.param(l.data,l.traditional)),cG(cB,l,c,x);if(u===2)return x;i=l.global,i&&t.active++===0&&t.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!cx.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(cs.test(f)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=cu.test(f)?f.replace(cu,"$1_="+cr++):f+(cs.test(f)?"&":"?")+"_="+cr++)),l.ifModified&&(t.lastModified[f]&&x.setRequestHeader("If-Modified-Since",t.lastModified[f]),t.etag[f]&&x.setRequestHeader("If-None-Match",t.etag[f])),(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cD+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)x.setRequestHeader(e,l.headers[e]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&u!==2){w="abort";for(e in{success:1,error:1,complete:1})x[e](l[e]);j=cG(cC,l,c,x);if(!j)z(-1,"No Transport");else{x.readyState=1,i&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{u=1,j.send(r,z)}catch(y){if(!(u<2))throw y;z(-1,y)}}return x}return x.abort()},getScript:function(a,c){return t.get(a,b,c,"script")},getJSON:function(a,b,c){return t.get(a,b,c,"json")}}),t.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return t.globalEval(a),a}}}),t.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),t.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=f.head||t("head")[0]||f.documentElement;return{send:function(b,e){c=f.createElement("script"),c.async=!0,a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,b){if(b||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,c.parentNode&&c.parentNode.removeChild(c),c=null,b||e(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(b,!0)}}}});var cK=[],cL=/(=)\?(?=&|$)|\?\?/;t.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cK.pop()||t.expando+"_"+cr++;return this[a]=!0,a}}),t.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.jsonp!==!1&&(cL.test(c.url)?"url":typeof c.data=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cL.test(c.data)&&"data");if(i||c.dataTypes[0]==="jsonp")return f=c.jsonpCallback=t.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,i?c[i]=c[i].replace(cL,"$1"+f):c.jsonp!==!1&&(c.url+=(cs.test(c.url)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||t.error(f+" was not called"),h[0]},c.dataTypes[0]="json",g=a[f],a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cK.push(f)),h&&t.isFunction(g)&&g(h[0]),h=g=b}),"script"});var cM,cN,cO=0,cP=a.ActiveXObject&&function(){var a;for(a in cM)cM[a](b,!0)};t.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cQ()||cR()}:cQ,cN=t.ajaxSettings.xhr(),t.support.cors=!!cN&&"withCredentials"in cN,cN=t.support.ajax=!!cN,cN&&t.ajaxTransport(function(c){if(!c.crossDomain||t.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=t.noop,cP&&delete cM[g]);if(e)i.readyState!==4&&i.abort();else{l={},h=i.status,j=i.getAllResponseHeaders(),typeof i.responseText=="string"&&(l.text=i.responseText);try{k=i.statusText}catch(m){k=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(n){e||f(-1,n)}l&&f(h,k,l,j)},c.async?i.readyState===4?setTimeout(d):(g=++cO,cP&&(cM||(cM={},t(a).unload(cP)),cM[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(b,!0)}}}});var cS,cT,cU=/^(?:toggle|show|hide)$/,cV=new RegExp("^(?:([+-])=|)("+u+")([a-z%]*)$","i"),cW=/queueHooks$/,cX=[db],cY={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cV.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(t.cssNumber[a]?"":"px");if(d!=="px"&&h){h=t.css(e.elem,a,!0)||c||1;do i=i||".5",h/=i,t.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};t.Animation=t.extend(c_,{tweener:function(a,b){t.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),t.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},t.fn.extend({position:function(){if(!this[0])return;var a,b,c={top:0,left:0},d=this[0];return t.css(d,"position")==="fixed"?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),t.nodeName(a[0],"html")||(c=a.offset()),c.top+=t.css(a[0],"borderTopWidth",!0),c.left+=t.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-t.css(d,"marginTop",!0),left:b.left-c.left-t.css(d,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||f.documentElement;while(a&&!t.nodeName(a,"html")&&t.css(a,"position")==="static")a=a.offsetParent;return a||f.documentElement})}}),t.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);t.fn[a]=function(e){return t.access(this,function(a,e,f){var g=de(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?t(g).scrollLeft():f,d?f:t(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),t.each({Height:"height",Width:"width"},function(a,c){t.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){t.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return t.access(this,function(c,d,e){var f;return t.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?t.css(c,d,h):t.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=t,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return t})}(window),function(){var a=this,b=a._,c={},d=Array.prototype,e=Object.prototype,f=Function.prototype,g=d.push,h=d.slice,i=d.concat,j=e.toString,k=e.hasOwnProperty,l=d.forEach,m=d.map,n=d.reduce,o=d.reduceRight,p=d.filter,q=d.every,r=d.some,s=d.indexOf,t=d.lastIndexOf,u=Array.isArray,v=Object.keys,w=f.bind,x=function(a){if(a instanceof x)return a;if(!(this instanceof x))return new x(a);this._wrapped=a};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):a._=x,x.VERSION="1.4.4";var y=x.each=x.forEach=function(a,b,d){if(a==null)return;if(l&&a.forEach===l)a.forEach(b,d);else if(a.length===+a.length){for(var e=0,f=a.length;e2;a==null&&(a=[]);if(n&&a.reduce===n)return d&&(b=x.bind(b,d)),e?a.reduce(b,c):a.reduce(b);y(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError(z);return c},x.reduceRight=x.foldr=function(a,b,c,d){var e=arguments.length>2;a==null&&(a=[]);if(o&&a.reduceRight===o)return d&&(b=x.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=a.length;if(f!==+f){var g=x.keys(a);f=g.length}y(a,function(h,i,j){i=g?g[--f]:--f,e?c=b.call(d,c,a[i],i,j):(c=a[i],e=!0)});if(!e)throw new TypeError(z);return c},x.find=x.detect=function(a,b,c){var d;return A(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0}),d},x.filter=x.select=function(a,b,c){var d=[];return a==null?d:p&&a.filter===p?a.filter(b,c):(y(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)}),d)},x.reject=function(a,b,c){return x.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)},x.every=x.all=function(a,b,d){b||(b=x.identity);var e=!0;return a==null?e:q&&a.every===q?a.every(b,d):(y(a,function(a,f,g){if(!(e=e&&b.call(d,a,f,g)))return c}),!!e)};var A=x.some=x.any=function(a,b,d){b||(b=x.identity);var e=!1;return a==null?e:r&&a.some===r?a.some(b,d):(y(a,function(a,f,g){if(e||(e=b.call(d,a,f,g)))return c}),!!e)};x.contains=x.include=function(a,b){return a==null?!1:s&&a.indexOf===s?a.indexOf(b)!=-1:A(a,function(a){return a===b})},x.invoke=function(a,b){var c=h.call(arguments,2),d=x.isFunction(b);return x.map(a,function(a){return(d?b:a[b]).apply(a,c)})},x.pluck=function(a,b){return x.map(a,function(a){return a[b]})},x.where=function(a,b,c){return x.isEmpty(b)?c?null:[]:x[c?"find":"filter"](a,function(a){for(var c in b)if(b[c]!==a[c])return!1;return!0})},x.findWhere=function(a,b){return x.where(a,b,!0)},x.max=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)return Math.max.apply(Math,a);if(!b&&x.isEmpty(a))return-Infinity;var d={computed:-Infinity,value:-Infinity};return y(a,function(a,e,f){var g=b?b.call(c,a,e,f):a;g>=d.computed&&(d={value:a,computed:g})}),d.value},x.min=function(a,b,c){if(!b&&x.isArray(a)&&a[0]===+a[0]&&a.length<65535)return Math.min.apply(Math,a);if(!b&&x.isEmpty(a))return Infinity;var d={computed:Infinity,value:Infinity};return y(a,function(a,e,f){var g=b?b.call(c,a,e,f):a;gd||c===void 0)return 1;if(c>>1;c.call(d,a[h])=0})})},x.difference=function(a){var b=i.apply(d,h.call(arguments,1));return x.filter(a,function(a){return!x.contains(b,a)})},x.zip=function(){var a=h.call(arguments),b=x.max(x.pluck(a,"length")),c=new Array(b);for(var d=0;d=0;c--)b=[a[c].apply(this,b)];return b[0]}},x.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}},x.keys=v||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[];for(var c in a)x.has(a,c)&&(b[b.length]=c);return b},x.values=function(a){var b=[];for(var c in a)x.has(a,c)&&b.push(a[c]);return b},x.pairs=function(a){var b=[];for(var c in a)x.has(a,c)&&b.push([c,a[c]]);return b},x.invert=function(a){var b={};for(var c in a)x.has(a,c)&&(b[a[c]]=c);return b},x.functions=x.methods=function(a){var b=[];for(var c in a)x.isFunction(a[c])&&b.push(c);return b.sort()},x.extend=function(a){return y(h.call(arguments,1),function(b){if(b)for(var c in b)a[c]=b[c]}),a},x.pick=function(a){var b={},c=i.apply(d,h.call(arguments,1));return y(c,function(c){c in a&&(b[c]=a[c])}),b},x.omit=function(a){var b={},c=i.apply(d,h.call(arguments,1));for(var e in a)x.contains(c,e)||(b[e]=a[e]);return b},x.defaults=function(a){return y(h.call(arguments,1),function(b){if(b)for(var c in b)a[c]==null&&(a[c]=b[c])}),a},x.clone=function(a){return x.isObject(a)?x.isArray(a)?a.slice():x.extend({},a):a},x.tap=function(a,b){return b(a),a};var E=function(a,b,c,d){if(a===b)return a!==0||1/a==1/b;if(a==null||b==null)return a===b;a instanceof x&&(a=a._wrapped),b instanceof x&&(b=b._wrapped);var e=j.call(a);if(e!=j.call(b))return!1;switch(e){case"[object String]":return a==String(b);case"[object Number]":return a!=+a?b!=+b:a==0?1/a==1/b:a==+b;case"[object Date]":case"[object Boolean]":return+a==+b;case"[object RegExp]":return a.source==b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}if(typeof a!="object"||typeof b!="object")return!1;var f=c.length;while(f--)if(c[f]==a)return d[f]==b;c.push(a),d.push(b);var g=0,h=!0;if(e=="[object Array]"){g=a.length,h=g==b.length;if(h)while(g--)if(!(h=E(a[g],b[g],c,d)))break}else{var i=a.constructor,k=b.constructor;if(i!==k&&!(x.isFunction(i)&&i instanceof i&&x.isFunction(k)&&k instanceof k))return!1;for(var l in a)if(x.has(a,l)){g++;if(!(h=x.has(b,l)&&E(a[l],b[l],c,d)))break}if(h){for(l in b)if(x.has(b,l)&&!(g--))break;h=!g}}return c.pop(),d.pop(),h};x.isEqual=function(a,b){return E(a,b,[],[])},x.isEmpty=function(a){if(a==null)return!0;if(x.isArray(a)||x.isString(a))return a.length===0;for(var b in a)if(x.has(a,b))return!1;return!0},x.isElement=function(a){return!!a&&a.nodeType===1},x.isArray=u||function(a){return j.call(a)=="[object Array]"},x.isObject=function(a){return a===Object(a)},y(["Arguments","Function","String","Number","Date","RegExp"],function(a){x["is"+a]=function(b){return j.call(b)=="[object "+a+"]"}}),x.isArguments(arguments)||(x.isArguments=function(a){return!!a&&!!x.has(a,"callee")}),typeof /./!="function"&&(x.isFunction=function(a){return typeof a=="function"}),x.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},x.isNaN=function(a){return x.isNumber(a)&&a!=+a},x.isBoolean=function(a){return a===!0||a===!1||j.call(a)=="[object Boolean]"},x.isNull=function(a){return a===null},x.isUndefined=function(a){return a===void 0},x.has=function(a,b){return k.call(a,b)},x.noConflict=function(){return a._=b,this},x.identity=function(a){return a},x.times=function(a,b,c){var d=Array(a);for(var e=0;e":">",'"':""","'":"'","/":"/"}};F.unescape=x.invert(F.escape);var G={escape:new RegExp("["+x.keys(F.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(F.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(a){x[a]=function(b){return b==null?"":(""+b).replace(G[a],function(b){return F[a][b]})}}),x.result=function(a,b){if(a==null)return null;var c=a[b];return x.isFunction(c)?c.call(a):c},x.mixin=function(a){y(x.functions(a),function(b){var c=x[b]=a[b];x.prototype[b]=function(){var a=[this._wrapped];return g.apply(a,arguments),L.call(this,c.apply(x,a))}})};var H=0;x.uniqueId=function(a){var b=++H+"";return a?a+b:b},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var I=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},K=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(a,b,c){var d;c=x.defaults({},c,x.templateSettings);var e=new RegExp([(c.escape||I).source,(c.interpolate||I).source,(c.evaluate||I).source].join("|")+"|$","g"),f=0,g="__p+='";a.replace(e,function(b,c,d,e,h){return g+=a.slice(f,h).replace(K,function(a){return"\\"+J[a]}),c&&(g+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'"),d&&(g+="'+\n((__t=("+d+"))==null?'':__t)+\n'"),e&&(g+="';\n"+e+"\n__p+='"),f=h+b.length,b}),g+="';\n",c.variable||(g="with(obj||{}){\n"+g+"}\n"),g="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+g+"return __p;\n";try{d=new Function(c.variable||"obj","_",g)}catch(h){throw h.source=g,h}if(b)return d(b,x);var i=function(a){return d.call(this,a,x)};return i.source="function("+(c.variable||"obj")+"){\n"+g+"}",i},x.chain=function(a){return x(a).chain()};var L=function(a){return this._chain?x(a).chain():a};x.mixin(x),y(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=d[a];x.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),(a=="shift"||a=="splice")&&c.length===0&&delete c[0],L.call(this,c)}}),y(["concat","join","slice"],function(a){var b=d[a];x.prototype[a]=function(){return L.call(this,b.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),function(){var a=this,b=a.Backbone,c=[],d=c.push,e=c.slice,f=c.splice,g;typeof exports!="undefined"?g=exports:g=a.Backbone={},g.VERSION="1.0.0";var h=a._;!h&&typeof require!="undefined"&&(h=require("underscore")),g.$=a.jQuery||a.Zepto||a.ender||a.$,g.noConflict=function(){return a.Backbone=b,this},g.emulateHTTP=!1,g.emulateJSON=!1;var i=g.Events={on:function(a,b,c){if(!k(this,"on",a,[b,c])||!b)return this;this._events||(this._events={});var d=this._events[a]||(this._events[a]=[]);return d.push({callback:b,context:c,ctx:c||this}),this},once:function(a,b,c){if(!k(this,"once",a,[b,c])||!b)return this;var d=this,e=h.once(function(){d.off(a,e),b.apply(this,arguments)});return e._callback=b,this.on(a,e,c)},off:function(a,b,c){var d,e,f,g,i,j,l,m;if(!this._events||!k(this,"off",a,[b,c]))return this;if(!a&&!b&&!c)return this._events={},this;g=a?[a]:h.keys(this._events);for(i=0,j=g.length;i").attr(a);this.setElement(b,!1)}else this.setElement(h.result(this,"el"),!1)}}),g.sync=function(a,b,c){var d=y[a];h.defaults(c||(c={}),{emulateHTTP:g.emulateHTTP,emulateJSON:g.emulateJSON});var e={type:d,dataType:"json"};c.url||(e.url=h.result(b,"url")||K()),c.data==null&&b&&(a==="create"||a==="update"||a==="patch")&&(e.contentType="application/json",e.data=JSON.stringify(c.attrs||b.toJSON(c))),c.emulateJSON&&(e.contentType="application/x-www-form-urlencoded",e.data=e.data?{model:e.data}:{});if(c.emulateHTTP&&(d==="PUT"||d==="DELETE"||d==="PATCH")){e.type="POST",c.emulateJSON&&(e.data._method=d);var f=c.beforeSend;c.beforeSend=function(a){a.setRequestHeader("X-HTTP-Method-Override",d);if(f)return f.apply(this,arguments)}}e.type!=="GET"&&!c.emulateJSON&&(e.processData=!1),e.type==="PATCH"&&window.ActiveXObject&&(!window.external||!window.external.msActiveXFilteringEnabled)&&(e.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var i=c.xhr=g.ajax(h.extend(e,c));return b.trigger("request",b,i,c),i};var y={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};g.ajax=function(){return g.$.ajax.apply(g.$,arguments)};var z=g.Router=function(a){a||(a={}),a.routes&&(this.routes=a.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},A=/\((.*?)\)/g,B=/(\(\?)?:\w+/g,C=/\*\w+/g,D=/[\-{}\[\]+?.,\\\^$|#\s]/g;h.extend(z.prototype,i,{initialize:function(){},route:function(a,b,c){h.isRegExp(a)||(a=this._routeToRegExp(a)),h.isFunction(b)&&(c=b,b=""),c||(c=this[b]);var d=this;return g.history.route(a,function(e){var f=d._extractParameters(a,e);c&&c.apply(d,f),d.trigger.apply(d,["route:"+b].concat(f)),d.trigger("route",b,f),g.history.trigger("route",d,b,f)}),this},navigate:function(a,b){return g.history.navigate(a,b),this},_bindRoutes:function(){if(!this.routes)return;this.routes=h.result(this,"routes");var a,b=h.keys(this.routes);while((a=b.pop())!=null)this.route(a,this.routes[a])},_routeToRegExp:function(a){return a=a.replace(D,"\\$&").replace(A,"(?:$1)?").replace(B,function(a,b){return b?a:"([^/]+)"}).replace(C,"(.*?)"),new RegExp("^"+a+"$")},_extractParameters:function(a,b){var c=a.exec(b).slice(1);return h.map(c,function(a){return a?decodeURIComponent(a):null})}});var E=g.History=function(){this.handlers=[],h.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},F=/^[#\/]|\s+$/g,G=/^\/+|\/+$/g,H=/msie [\w.]+/,I=/\/$/;E.started=!1,h.extend(E.prototype,i,{interval:50,getHash:function(a){var b=(a||this).location.href.match(/#(.*)$/);return b?b[1]:""},getFragment:function(a,b){if(a==null)if(this._hasPushState||!this._wantsHashChange||b){a=this.location.pathname;var c=this.root.replace(I,"");a.indexOf(c)||(a=a.substr(c.length))}else a=this.getHash();return a.replace(F,"")},start:function(a){if(E.started)throw new Error("Backbone.history has already been started");E.started=!0,this.options=h.extend({},{root:"/"},this.options,a),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var b=this.getFragment(),c=document.documentMode,d=H.exec(navigator.userAgent.toLowerCase())&&(!c||c<=7);this.root=("/"+this.root+"/").replace(G,"/"),d&&this._wantsHashChange&&(this.iframe=g.$('