!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new error("jquery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=oe.type(t);return"function"===n||oe.iswindow(t)?!1:1===t.nodetype&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(oe.isfunction(e))return oe.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodetype)return oe.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(pe.test(e))return oe.filter(e,t,n);e=oe.filter(e,t)}return oe.grep(t,function(t){return oe.inarray(t,e)>=0!==n})}function o(t,e){do t=t[e];while(t&&1!==t.nodetype);return t}function r(t){var e=xe[t]={};return oe.each(t.match(be)||[],function(t,n){e[n]=!0}),e}function a(){fe.addeventlistener?(fe.removeeventlistener("domcontentloaded",s,!1),t.removeeventlistener("load",s,!1)):(fe.detachevent("onreadystatechange",s),t.detachevent("onload",s))}function s(){(fe.addeventlistener||"load"===event.type||"complete"===fe.readystate)&&(a(),oe.ready())}function l(t,e,n){if(void 0===n&&1===t.nodetype){var i="data-"+e.replace(ke,"-$1").tolowercase();if(n=t.getattribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ee.test(n)?oe.parsejson(n):n}catch(o){}oe.data(t,e,n)}else n=void 0}return n}function c(t){var e;for(e in t)if(("data"!==e||!oe.isemptyobject(t[e]))&&"tojson"!==e)return!1;return!0}function u(t,e,n,i){if(oe.acceptdata(t)){var o,r,a=oe.expando,s=t.nodetype,l=s?oe.cache:t,c=s?t[a]:t[a]&&a;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof e)return c||(c=s?t[a]=q.pop()||oe.guid++:a),l[c]||(l[c]=s?{}:{tojson:oe.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[c]=oe.extend(l[c],e):l[c].data=oe.extend(l[c].data,e)),r=l[c],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[oe.camelcase(e)]=n),"string"==typeof e?(o=r[e],null==o&&(o=r[oe.camelcase(e)])):o=r,o}}function d(t,e,n){if(oe.acceptdata(t)){var i,o,r=t.nodetype,a=r?oe.cache:t,s=r?t[oe.expando]:oe.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){oe.isarray(e)?e=e.concat(oe.map(e,oe.camelcase)):e in i?e=[e]:(e=oe.camelcase(e),e=e in i?[e]:e.split(" ")),o=e.length;for(;o--;)delete i[e[o]];if(n?!c(i):!oe.isemptyobject(i))return}(n||(delete a[s].data,c(a[s])))&&(r?oe.cleandata([t],!0):ne.deleteexpando||a!=a.window?delete a[s]:a[s]=null)}}}function p(){return!0}function h(){return!1}function f(){try{return fe.activeelement}catch(t){}}function m(t){var e=re.split("|"),n=t.createdocumentfragment();if(n.createelement)for(;e.length;)n.createelement(e.pop());return n}function g(t,e){var n,i,o=0,r=typeof t.getelementsbytagname!==ce?t.getelementsbytagname(e||"*"):typeof t.queryselectorall!==ce?t.queryselectorall(e||"*"):void 0;if(!r)for(r=[],n=t.childnodes||t;null!=(i=n[o]);o++)!e||oe.nodename(i,e)?r.push(i):oe.merge(r,g(i,e));return void 0===e||e&&oe.nodename(t,e)?oe.merge([t],r):r}function v(t){$e.test(t.type)&&(t.defaultchecked=t.checked)}function y(t,e){return oe.nodename(t,"table")&&oe.nodename(11!==e.nodetype?e:e.firstchild,"tr")?t.getelementsbytagname("tbody")[0]||t.appendchild(t.ownerdocument.createelement("tbody")):t}function b(t){return t.type=(null!==oe.find.attr(t,"type"))+"/"+t.type,t}function x(t){var e=ve.exec(t.type);return e?t.type=e[1]:t.removeattribute("type"),t}function w(t,e){for(var n,i=0;null!=(n=t[i]);i++)oe._data(n,"globaleval",!e||oe._data(e[i],"globaleval"))}function t(t,e){if(1===e.nodetype&&oe.hasdata(t)){var n,i,o,r=oe._data(t),a=oe._data(e,r),s=r.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)oe.event.add(e,n,s[n][i])}a.data&&(a.data=oe.extend({},a.data))}}function c(t,e){var n,i,o;if(1===e.nodetype){if(n=e.nodename.tolowercase(),!ne.nocloneevent&&e[oe.expando]){o=oe._data(e);for(i in o.events)oe.removeevent(e,i,o.handle);e.removeattribute(oe.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,x(e)):"object"===n?(e.parentnode&&(e.outerhtml=t.outerhtml),ne.html5clone&&t.innerhtml&&!oe.trim(e.innerhtml)&&(e.innerhtml=t.innerhtml)):"input"===n&&$e.test(t.type)?(e.defaultchecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultselected=e.selected=t.defaultselected:("input"===n||"textarea"===n)&&(e.defaultvalue=t.defaultvalue)}}function e(e,n){var i,o=oe(n.createelement(e)).appendto(n.body),r=t.getdefaultcomputedstyle&&(i=t.getdefaultcomputedstyle(o[0]))?i.display:oe.css(o[0],"display");return o.detach(),r}function k(t){var e=fe,n=je[t];return n||(n=e(t,e),"none"!==n&&n||(ze=(ze||oe("")).appendto(e.documentelement),e=(ze[0].contentwindow||ze[0].contentdocument).document,e.write(),e.close(),n=e(t,e),ze.detach()),je[t]=n),n}function s(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function n(t,e){if(e in t)return e;for(var n=e.charat(0).touppercase()+e.slice(1),i=e,o=hn.length;o--;)if(e=hn[o]+n,e in t)return e;return i}function a(t,e){for(var n,i,o,r=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(r[a]=oe._data(i,"olddisplay"),n=i.style.display,e?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&ae(i)&&(r[a]=oe._data(i,"olddisplay",k(i.nodename)))):(o=ae(i),(n&&"none"!==n||!o)&&oe._data(i,"olddisplay",o?n:oe.css(i,"display"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[a]||"":"none"));return t}function d(t,e,n){var i=cn.exec(e);return i?math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function $(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>r;r+=2)"margin"===n&&(a+=oe.css(t,n+ne[r],!0,o)),i?("content"===n&&(a-=oe.css(t,"padding"+ne[r],!0,o)),"margin"!==n&&(a-=oe.css(t,"border"+ne[r]+"width",!0,o))):(a+=oe.css(t,"padding"+ne[r],!0,o),"padding"!==n&&(a+=oe.css(t,"border"+ne[r]+"width",!0,o)));return a}function j(t,e,n){var i=!0,o="width"===e?t.offsetwidth:t.offsetheight,r=tn(t),a=ne.boxsizing&&"border-box"===oe.css(t,"boxsizing",!1,r);if(0>=o||null==o){if(o=en(t,e,r),(0>o||null==o)&&(o=t.style[e]),on.test(o))return o;i=a&&(ne.boxsizingreliable()||o===t.style[e]),o=parsefloat(o)||0}return o+$(t,e,n||(a?"border":"content"),i,r)+"px"}function o(t,e,n,i,o){return new o.prototype.init(t,e,n,i,o)}function l(){return settimeout(function(){fn=void 0}),fn=oe.now()}function _(t,e){var n,i={height:t},o=0;for(e=e?1:0;4>o;o+=2-e)n=ne[o],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function h(t,e,n){for(var i,o=(xn[e]||[]).concat(xn["*"]),r=0,a=o.length;a>r;r++)if(i=o[r].call(n,e,t))return i}function r(t,e,n){var i,o,r,a,s,l,c,u,d=this,p={},h=t.style,f=t.nodetype&&ae(t),m=oe._data(t,"fxshow");n.queue||(s=oe._queuehooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,oe.queue(t,"fx").length||s.empty.fire()})})),1===t.nodetype&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowx,h.overflowy],c=oe.css(t,"display"),u="none"===c?oe._data(t,"olddisplay")||k(t.nodename):c,"inline"===u&&"none"===oe.css(t,"float")&&(ne.inlineblockneedslayout&&"inline"!==k(t.nodename)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",ne.shrinkwrapblocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowx=n.overflow[1],h.overflowy=n.overflow[2]}));for(i in e)if(o=e[i],gn.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;f=!0}p[i]=m&&m[i]||oe.style(t,i)}else c=void 0;if(oe.isemptyobject(p))"inline"===("none"===c?k(t.nodename):c)&&(h.display=c);else{m?"hidden"in m&&(f=m.hidden):m=oe._data(t,"fxshow",{}),r&&(m.hidden=!f),f?oe(t).show():d.done(function(){oe(t).hide()}),d.done(function(){var e;oe._removedata(t,"fxshow");for(e in p)oe.style(t,e,p[e])});for(i in p)a=h(f?m[i]:0,i,d),i in m||(m[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function i(t,e){var n,i,o,r,a;for(n in t)if(i=oe.camelcase(n),o=e[i],r=t[n],oe.isarray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),a=oe.csshooks[i],a&&"expand"in a){r=a.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function p(t,e,n){var i,o,r=0,a=bn.length,s=oe.deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=fn||l(),n=math.max(0,c.starttime+c.duration-e),i=n/c.duration||0,r=1-i,a=0,l=c.tweens.length;l>a;a++)c.tweens[a].run(r);return s.notifywith(t,[c,r,n]),1>r&&l?n:(s.resolvewith(t,[c]),!1)},c=s.promise({elem:t,props:oe.extend({},e),opts:oe.extend(!0,{specialeasing:{}},n),originalproperties:e,originaloptions:n,starttime:fn||l(),duration:n.duration,tweens:[],createtween:function(e,n){var i=oe.tween(t,c.opts,e,n,c.opts.specialeasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;i>n;n++)c.tweens[n].run(1);return e?s.resolvewith(t,[c,e]):s.rejectwith(t,[c,e]),this}}),u=c.props;for(i(u,c.opts.specialeasing);a>r;r++)if(i=bn[r].call(c,t,u,c.opts))return i;return oe.map(u,h,c),oe.isfunction(c.opts.start)&&c.opts.start.call(t,c),oe.fx.timer(oe.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function f(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.tolowercase().match(be)||[];if(oe.isfunction(n))for(;i=r[o++];)"+"===i.charat(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function m(t,e,n,i){function o(s){var l;return r[s]=!0,oe.each(t[s]||[],function(t,s){var c=s(e,n,i);return"string"!=typeof c||a||r[c]?a?!(l=c):void 0:(e.datatypes.unshift(c),o(c),!1)}),l}var r={},a=t===zn;return o(e.datatypes[0])||!r["*"]&&o("*")}function q(t,e){var n,i,o=oe.ajaxsettings.flatoptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&oe.extend(!0,t,n),t}function w(t,e,n){for(var i,o,r,a,s=t.contents,l=t.datatypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimetype||e.getresponseheader("content-type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){r=a;break}i||(i=a)}r=r||i}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}function b(t,e,n,i){var o,r,a,s,l,c={},u=t.datatypes.slice();if(u[1])for(a in t.converters)c[a.tolowercase()]=t.converters[a];for(r=u.shift();r;)if(t.responsefields[r]&&(n[t.responsefields[r]]=e),!l&&i&&t.datafilter&&(e=t.datafilter(e,t.datatype)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(a=c[l+" "+r]||c["* "+r],!a)for(o in c)if(s=o.split(" "),s[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(r=s[0],u.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(d){return{state:"parsererror",error:a?d:"no conversion from "+l+" to "+r}}}return{state:"success",data:e}}function z(t,e,n,i){var o;if(oe.isarray(e))oe.each(e,function(e,o){n||qn.test(t)?i(t,o):z(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==oe.type(e))i(t,e);else for(o in e)z(t+"["+o+"]",e[o],n,i)}function u(){try{return new t.xmlhttprequest}catch(e){}}function x(){try{return new t.activexobject("microsoft.xmlhttp")}catch(e){}}function v(t){return oe.iswindow(t)?t:9===t.nodetype?t.defaultview||t.parentwindow:!1}var q=[],k=q.slice,g=q.concat,y=q.push,z=q.indexof,j={},te=j.tostring,ee=j.hasownproperty,ne={},ie="1.11.1",oe=function(t,e){return new oe.fn.init(t,e)},re=/^[\s\ufeff\xa0]+|[\s\ufeff\xa0]+$/g,ae=/^-ms-/,se=/-([\da-z])/gi,le=function(t,e){return e.touppercase()};oe.fn=oe.prototype={jquery:ie,constructor:oe,selector:"",length:0,toarray:function(){return k.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:k.call(this)},pushstack:function(t){var e=oe.merge(this.constructor(),t);return e.prevobject=this,e.context=this.context,e},each:function(t,e){return oe.each(this,t,e)},map:function(t){return this.pushstack(oe.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushstack(k.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushstack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevobject||this.constructor(null)},push:y,sort:q.sort,splice:q.splice},oe.extend=oe.fn.extend=function(){var t,e,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||oe.isfunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(o=arguments[s]))for(i in o)t=a[i],n=o[i],a!==n&&(c&&n&&(oe.isplainobject(n)||(e=oe.isarray(n)))?(e?(e=!1,r=t&&oe.isarray(t)?t:[]):r=t&&oe.isplainobject(t)?t:{},a[i]=oe.extend(c,r,n)):void 0!==n&&(a[i]=n));return a},oe.extend({expando:"jquery"+(ie+math.random()).replace(/\d/g,""),isready:!0,error:function(t){throw new error(t)},noop:function(){},isfunction:function(t){return"function"===oe.type(t)},isarray:array.isarray||function(t){return"array"===oe.type(t)},iswindow:function(t){return null!=t&&t==t.window},isnumeric:function(t){return!oe.isarray(t)&&t-parsefloat(t)>=0},isemptyobject:function(t){var e;for(e in t)return!1;return!0},isplainobject:function(t){var e;if(!t||"object"!==oe.type(t)||t.nodetype||oe.iswindow(t))return!1;try{if(t.constructor&&!ee.call(t,"constructor")&&!ee.call(t.constructor.prototype,"isprototypeof"))return!1}catch(n){return!1}if(ne.ownlast)for(e in t)return ee.call(t,e);for(e in t);return void 0===e||ee.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?j[te.call(t)]||"object":typeof t},globaleval:function(e){e&&oe.trim(e)&&(t.execscript||function(e){t.eval.call(t,e)})(e)},camelcase:function(t){return t.replace(ae,"ms-").replace(se,le)},nodename:function(t,e){return t.nodename&&t.nodename.tolowercase()===e.tolowercase()},each:function(t,e,i){var o,r=0,a=t.length,s=n(t);if(i){if(s)for(;a>r&&(o=e.apply(t[r],i),o!==!1);r++);else for(r in t)if(o=e.apply(t[r],i),o===!1)break}else if(s)for(;a>r&&(o=e.call(t[r],r,t[r]),o!==!1);r++);else for(r in t)if(o=e.call(t[r],r,t[r]),o===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(re,"")},makearray:function(t,e){var i=e||[];return null!=t&&(n(object(t))?oe.merge(i,"string"==typeof t?[t]:t):y.call(i,t)),i},inarray:function(t,e,n){var i;if(e){if(z)return z.call(e,t,n);for(i=e.length,n=n?0>n?math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;)t[o++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i,o=[],r=0,a=t.length,s=!n;a>r;r++)i=!e(t[r],r),i!==s&&o.push(t[r]);return o},map:function(t,e,i){var o,r=0,a=t.length,s=n(t),l=[];if(s)for(;a>r;r++)o=e(t[r],r,i),null!=o&&l.push(o);else for(r in t)o=e(t[r],r,i),null!=o&&l.push(o);return g.apply([],l)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(o=t[e],e=t,t=o),oe.isfunction(t)?(n=k.call(arguments,2),i=function(){return t.apply(e||this,n.concat(k.call(arguments)))},i.guid=t.guid=t.guid||oe.guid++,i):void 0},now:function(){return+new date},support:ne}),oe.each("boolean number string function array date regexp object error".split(" "),function(t,e){j["[object "+e+"]"]=e.tolowercase()});var ce=function(t){function e(t,e,n,i){var o,r,a,s,l,c,d,h,f,m;if((e?e.ownerdocument||e:m)!==o&&j(e),e=e||o,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodetype)&&9!==s)return[];if(_&&!i){if(o=ye.exec(t))if(a=o[1]){if(9===s){if(r=e.getelementbyid(a),!r||!r.parentnode)return n;if(r.id===a)return n.push(r),n}else if(e.ownerdocument&&(r=e.ownerdocument.getelementbyid(a))&&p(e,r)&&r.id===a)return n.push(r),n}else{if(o[2])return j.apply(n,e.getelementsbytagname(t)),n;if((a=o[3])&&w.getelementsbyclassname&&e.getelementsbyclassname)return j.apply(n,e.getelementsbyclassname(a)),n}if(w.qsa&&(!h||!h.test(t))){if(h=d=f,f=e,m=9===s&&t,1===s&&"object"!==e.nodename.tolowercase()){for(c=k(t),(d=e.getattribute("id"))?h=d.replace(xe,"\\$&"):e.setattribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+p(c[l]);f=be.test(t)&&u(e.parentnode)||e,m=c.join(",")}if(m)try{return j.apply(n,f.queryselectorall(m)),n}catch(g){}finally{d||e.removeattribute("id")}}}return n(t.replace(le,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>t.cachelength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[f]=!0,t}function o(t){var e=o.createelement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentnode&&e.parentnode.removechild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=t.length;i--;)t.attrhandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodetype&&1===e.nodetype&&(~e.sourceindex||q)-(~t.sourceindex||q);if(i)return i;if(n)for(;n=n.nextsibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodename.tolowercase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodename.tolowercase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function u(t){return t&&typeof t.getelementsbytagname!==v&&t}function d(){}function p(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,o=n&&"parentnode"===i,r=w++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodetype||o)return t(e,n,r)}:function(e,n,a){var s,l,c=[q,r];if(a){for(;e=e[i];)if((1===e.nodetype||o)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodetype||o){if(l=e[f]||(e[f]={}),(s=l[i])&&s[0]===q&&s[1]===r)return c[2]=s[2];if(l[i]=c,c[2]=t(e,n,a))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,r=n.length;r>o;o++)e(t,n[o],i);return i}function g(t,e,n,i,o){for(var r,a=[],s=0,l=t.length,c=null!=e;l>s;s++)(r=t[s])&&(!n||n(r,i,o))&&(a.push(r),c&&e.push(s));return a}function v(t,e,n,o,r,a){return o&&!o[f]&&(o=v(o)),r&&!r[f]&&(r=v(r,a)),i(function(i,a,s,l){var c,u,d,p=[],h=[],f=a.length,v=i||m(e||"*",s.nodetype?[s]:s,[]),y=!t||!i&&e?v:g(v,p,t,s,l),b=n?r||(i?t:f||o)?[]:a:y;if(n&&n(y,b,s,l),o)for(c=g(b,h),o(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[h[u]]=!(y[h[u]]=d));if(i){if(r||t){if(r){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);r(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=r?ee.call(i,d):p[u])>-1&&(i[c]=!(a[c]=d))}}else b=g(b===a?b.splice(f,b.length):b),r?r(null,a,b,l):j.apply(a,b)})}function y(t){for(var e,n,i,o=t.length,r=t.relative[t[0].type],a=r||t.relative[" "],s=r?1:0,l=h(function(t){return t===e},a,!0),c=h(function(t){return ee.call(e,t)>-1},a,!0),u=[function(t,n,i){return!r&&(i||n!==a)||((e=n).nodetype?l(t,n,i):c(t,n,i))}];o>s;s++)if(n=t.relative[t[s].type])u=[h(f(u),n)];else{if(n=t.filter[t[s].type].apply(null,t[s].matches),n[f]){for(i=++s;o>i&&!t.relative[t[i].type];i++);return v(s>1&&f(u),s>1&&p(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(le,"$1"),n,i>s&&y(t.slice(s,i)),o>i&&y(t=t.slice(i)),o>i&&p(t))}u.push(n)}return f(u)}function b(t,n){var o=n.length>0,r=t.length>0,a=function(i,a,s,l,c){var u,d,p,h=0,f="0",m=i&&[],v=[],y=a,b=i||r&&t.find.tag("*",c),x=q+=null==y?1:math.random()||.1,w=b.length;for(c&&(a=a!==o&&a);f!==w&&null!=(u=b[f]);f++){if(r&&u){for(d=0;p=t[d++];)if(p(u,a,s)){l.push(u);break}c&&(q=x)}o&&((u=!p&&u)&&h--,i&&m.push(u))}if(h+=f,o&&f!==h){for(d=0;p=n[d++];)p(m,v,a,s);if(i){if(h>0)for(;f--;)m[f]||v[f]||(v[f]=y.call(l));v=g(v)}j.apply(l,v),c&&!i&&v.length>0&&h+n.length>1&&e.uniquesort(l)}return c&&(q=x,a=y),m};return o?i(a):a}var x,w,t,c,e,k,s,n,a,d,$,j,o,l,_,h,r,i,p,f="sizzle"+-new date,m=t.document,q=0,w=0,b=n(),z=n(),u=n(),x=function(t,e){return t===e&&($=!0),0},v="undefined",q=1<<31,k={}.hasownproperty,g=[],y=g.pop,z=g.push,j=g.push,te=g.slice,ee=g.indexof||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re=oe.replace("w","w#"),ae="\\["+ie+"*("+oe+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ie+"*\\]",se=":("+oe+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ae+")*)|.*)\\)|)",le=new regexp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ce=new regexp("^"+ie+"*,"+ie+"*"),ue=new regexp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=new regexp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),pe=new regexp(se),he=new regexp("^"+re+"$"),fe={id:new regexp("^#("+oe+")"),class:new regexp("^\\.("+oe+")"),tag:new regexp("^("+oe.replace("w","w*")+")"),attr:new regexp("^"+ae),pseudo:new regexp("^"+se),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new regexp("^(?:"+ne+")$","i"),needscontext:new regexp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,xe=/'|\\/g,we=new regexp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),te=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?string.fromcharcode(i+65536):string.fromcharcode(i>>10|55296,1023&i|56320)};try{j.apply(g=te.call(m.childnodes),m.childnodes),g[m.childnodes.length].nodetype}catch(ce){j={apply:g.length?function(t,e){z.apply(t,te.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}w=e.support={},e=e.isxml=function(t){var e=t&&(t.ownerdocument||t).documentelement;return e?"html"!==e.nodename:!1},j=e.setdocument=function(t){var e,n=t?t.ownerdocument||t:m,i=n.defaultview;return n!==o&&9===n.nodetype&&n.documentelement?(o=n,l=n.documentelement,_=!e(n),i&&i!==i.top&&(i.addeventlistener?i.addeventlistener("unload",function(){j()},!1):i.attachevent&&i.attachevent("onunload",function(){j()})),w.attributes=o(function(t){return t.classname="i",!t.getattribute("classname")}),w.getelementsbytagname=o(function(t){return t.appendchild(n.createcomment("")),!t.getelementsbytagname("*").length}),w.getelementsbyclassname=ve.test(n.getelementsbyclassname)&&o(function(t){return t.innerhtml="
",t.firstchild.classname="i",2===t.getelementsbyclassname("i").length}),w.getbyid=o(function(t){return l.appendchild(t).id=f,!n.getelementsbyname||!n.getelementsbyname(f).length}),w.getbyid?(t.find.id=function(t,e){if(typeof e.getelementbyid!==v&&_){var n=e.getelementbyid(t);return n&&n.parentnode?[n]:[]}},t.filter.id=function(t){var e=t.replace(we,te);return function(t){return t.getattribute("id")===e}}):(delete t.find.id,t.filter.id=function(t){var e=t.replace(we,te);return function(t){var n=typeof t.getattributenode!==v&&t.getattributenode("id");return n&&n.value===e}}),t.find.tag=w.getelementsbytagname?function(t,e){return typeof e.getelementsbytagname!==v?e.getelementsbytagname(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getelementsbytagname(t);if("*"===t){for(;n=r[o++];)1===n.nodetype&&i.push(n);return i}return r},t.find.class=w.getelementsbyclassname&&function(t,e){return typeof e.getelementsbyclassname!==v&&_?e.getelementsbyclassname(t):void 0},r=[],h=[],(w.qsa=ve.test(n.queryselectorall))&&(o(function(t){t.innerhtml="",t.queryselectorall("[msallowclip^='']").length&&h.push("[*^$]="+ie+"*(?:''|\"\")"),t.queryselectorall("[selected]").length||h.push("\\["+ie+"*(?:value|"+ne+")"),t.queryselectorall(":checked").length||h.push(":checked")}),o(function(t){var e=n.createelement("input");e.setattribute("type","hidden"),t.appendchild(e).setattribute("name","d"),t.queryselectorall("[name=d]").length&&h.push("name"+ie+"*[*^$|!~]?="),t.queryselectorall(":enabled").length||h.push(":enabled",":disabled"),t.queryselectorall("*,:x"),h.push(",.*:")})),(w.matchesselector=ve.test(i=l.matches||l.webkitmatchesselector||l.mozmatchesselector||l.omatchesselector||l.msmatchesselector))&&o(function(t){w.disconnectedmatch=i.call(t,"div"),i.call(t,"[s!='']:x"),r.push("!=",se)}),h=h.length&&new regexp(h.join("|")),r=r.length&&new regexp(r.join("|")),e=ve.test(l.comparedocumentposition),p=e||ve.test(l.contains)?function(t,e){var n=9===t.nodetype?t.documentelement:t,i=e&&e.parentnode;return t===i||!(!i||1!==i.nodetype||!(n.contains?n.contains(i):t.comparedocumentposition&&16&t.comparedocumentposition(i)))}:function(t,e){if(e)for(;e=e.parentnode;)if(e===t)return!0;return!1},x=e?function(t,e){if(t===e)return $=!0,0;var i=!t.comparedocumentposition-!e.comparedocumentposition;return i?i:(i=(t.ownerdocument||t)===(e.ownerdocument||e)?t.comparedocumentposition(e):1,1&i||!w.sortdetached&&e.comparedocumentposition(t)===i?t===n||t.ownerdocument===m&&p(m,t)?-1:e===n||e.ownerdocument===m&&p(m,e)?1:d?ee.call(d,t)-ee.call(d,e):0:4&i?-1:1)}:function(t,e){if(t===e)return $=!0,0;var i,o=0,r=t.parentnode,s=e.parentnode,l=[t],c=[e];if(!r||!s)return t===n?-1:e===n?1:r?-1:s?1:d?ee.call(d,t)-ee.call(d,e):0;if(r===s)return a(t,e);for(i=t;i=i.parentnode;)l.unshift(i);for(i=e;i=i.parentnode;)c.unshift(i);for(;l[o]===c[o];)o++;return o?a(l[o],c[o]):l[o]===m?-1:c[o]===m?1:0},n):o},e.matches=function(t,n){return e(t,null,null,n)},e.matchesselector=function(t,n){if((t.ownerdocument||t)!==o&&j(t),n=n.replace(de,"='$1']"),!(!w.matchesselector||!_||r&&r.test(n)||h&&h.test(n)))try{var i=i.call(t,n);if(i||w.disconnectedmatch||t.document&&11!==t.document.nodetype)return i}catch(o){}return e(n,o,null,[t]).length>0},e.contains=function(t,e){return(t.ownerdocument||t)!==o&&j(t),p(t,e)},e.attr=function(t,e){(t.ownerdocument||t)!==o&&j(t);var n=t.attrhandle[e.tolowercase()],i=n&&k.call(t.attrhandle,e.tolowercase())?n(t,e,!_):void 0;return void 0!==i?i:w.attributes||!_?t.getattribute(e):(i=t.getattributenode(e))&&i.specified?i.value:null},e.error=function(t){throw new error("syntax error, unrecognized expression: "+t)},e.uniquesort=function(t){var e,n=[],i=0,o=0;if($=!w.detectduplicates,d=!w.sortstable&&t.slice(0),t.sort(x),$){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return d=null,t},c=e.gettext=function(t){var e,n="",i=0,o=t.nodetype;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textcontent)return t.textcontent;for(t=t.firstchild;t;t=t.nextsibling)n+=c(t)}else if(3===o||4===o)return t.nodevalue}else for(;e=t[i++];)n+=c(e);return n},t=e.selectors={cachelength:50,createpseudo:i,match:fe,attrhandle:{},find:{},relative:{">":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(t){return t[1]=t[1].replace(we,te),t[3]=(t[3]||t[4]||t[5]||"").replace(we,te),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},child:function(t){return t[1]=t[1].tolowercase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},pseudo:function(t){var e,n=!t[6]&&t[2];return fe.child.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&pe.test(n)&&(e=k(n,!0))&&(e=n.indexof(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{tag:function(t){var e=t.replace(we,te).tolowercase();return"*"===t?function(){return!0}:function(t){return t.nodename&&t.nodename.tolowercase()===e}},class:function(t){var e=b[t+" "];return e||(e=new regexp("(^|"+ie+")"+t+"("+ie+"|$)"))&&b(t,function(t){return e.test("string"==typeof t.classname&&t.classname||typeof t.getattribute!==v&&t.getattribute("class")||"")})},attr:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexof(i):"*="===n?i&&r.indexof(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r+" ").indexof(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},child:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentnode}:function(e,n,l){var c,u,d,p,h,f,m=r!==a?"nextsibling":"previoussibling",g=e.parentnode,v=s&&e.nodename.tolowercase(),y=!l&&!s;if(g){if(r){for(;m;){for(d=e;d=d[m];)if(s?d.nodename.tolowercase()===v:1===d.nodetype)return!1;f=m="only"===t&&!f&&"nextsibling"}return!0}if(f=[a?g.firstchild:g.lastchild],a&&y){for(u=g[f]||(g[f]={}),c=u[t]||[],h=c[0]===q&&c[1],p=c[0]===q&&c[2],d=h&&g.childnodes[h];d=++h&&d&&d[m]||(p=h=0)||f.pop();)if(1===d.nodetype&&++p&&d===e){u[t]=[q,h,p];break}}else if(y&&(c=(e[f]||(e[f]={}))[t])&&c[0]===q)p=c[1];else for(;(d=++h&&d&&d[m]||(p=h=0)||f.pop())&&((s?d.nodename.tolowercase()!==v:1!==d.nodetype)||!++p||(y&&((d[f]||(d[f]={}))[t]=[q,p]),d!==e)););return p-=o,p===i||p%i===0&&p/i>=0}}},pseudo:function(t,n){var o,r=t.pseudos[t]||t.setfilters[t.tolowercase()]||e.error("unsupported pseudo: "+t);return r[f]?r(n):r.length>1?(o=[t,t,"",n],t.setfilters.hasownproperty(t.tolowercase())?i(function(t,e){for(var i,o=r(t,n),a=o.length;a--;)i=ee.call(t,o[a]),t[i]=!(e[i]=o[a])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=s(t.replace(le,"$1"));return o[f]?i(function(t,e,n,i){for(var r,a=o(t,null,i,[]),s=t.length;s--;)(r=a[s])&&(t[s]=!(e[s]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textcontent||e.innertext||c(e)).indexof(t)>-1}}),lang:i(function(t){return he.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(we,te).tolowercase(),function(e){var n;do if(n=_?e.lang:e.getattribute("xml:lang")||e.getattribute("lang"))return n=n.tolowercase(),n===t||0===n.indexof(t+"-");while((e=e.parentnode)&&1===e.nodetype);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===l},focus:function(t){return t===o.activeelement&&(!o.hasfocus||o.hasfocus())&&!!(t.type||t.href||~t.tabindex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodename.tolowercase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentnode&&t.parentnode.selectedindex,t.selected===!0},empty:function(t){for(t=t.firstchild;t;t=t.nextsibling)if(t.nodetype<6)return!1;return!0},parent:function(t){return!t.pseudos.empty(t)},header:function(t){return ge.test(t.nodename)},input:function(t){return me.test(t.nodename)},button:function(t){var e=t.nodename.tolowercase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodename.tolowercase()&&"text"===t.type&&(null==(e=t.getattribute("type"))||"text"===e.tolowercase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;++i2&&"id"===(a=r[0]).type&&w.getbyid&&9===e.nodetype&&_&&t.relative[r[1].type]){if(e=(t.find.id(a.matches[0].replace(we,te),e)||[])[0],!e)return n;c&&(e=e.parentnode),t=t.slice(r.shift().value.length)}for(o=fe.needscontext.test(t)?0:r.length;o--&&(a=r[o],!t.relative[s=a.type]);)if((l=t.find[s])&&(i=l(a.matches[0].replace(we,te),be.test(r[0].type)&&u(e.parentnode)||e))){if(r.splice(o,1),t=i.length&&p(r),!t)return j.apply(n,i),n;
break}}return(c||s(t,d))(i,e,!_,n,be.test(t)&&u(e.parentnode)||e),n},w.sortstable=f.split("").sort(x).join("")===f,w.detectduplicates=!!$,j(),w.sortdetached=o(function(t){return 1&t.comparedocumentposition(o.createelement("div"))}),o(function(t){return t.innerhtml="","#"===t.firstchild.getattribute("href")})||r("type|href|height|width",function(t,e,n){return n?void 0:t.getattribute(e,"type"===e.tolowercase()?1:2)}),w.attributes&&o(function(t){return t.innerhtml="",t.firstchild.setattribute("value",""),""===t.firstchild.getattribute("value")})||r("value",function(t,e,n){return n||"input"!==t.nodename.tolowercase()?void 0:t.defaultvalue}),o(function(t){return null==t.getattribute("disabled")})||r(ne,function(t,e,n){var i;return n?void 0:t[e]===!0?e.tolowercase():(i=t.getattributenode(e))&&i.specified?i.value:null}),e}(t);oe.find=ce,oe.expr=ce.selectors,oe.expr[":"]=oe.expr.pseudos,oe.unique=ce.uniquesort,oe.text=ce.gettext,oe.isxmldoc=ce.isxml,oe.contains=ce.contains;var ue=oe.expr.match.needscontext,de=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pe=/^.[^:#\[\.,]*$/;oe.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodetype?oe.find.matchesselector(i,t)?[i]:[]:oe.find.matches(t,oe.grep(e,function(t){return 1===t.nodetype}))},oe.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushstack(oe(t).filter(function(){for(e=0;o>e;e++)if(oe.contains(i[e],this))return!0}));for(e=0;o>e;e++)oe.find(t,i[e],n);return n=this.pushstack(o>1?oe.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushstack(i(this,t||[],!1))},not:function(t){return this.pushstack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ue.test(t)?oe(t):t||[],!1).length}});var he,fe=t.document,me=/^(?:\s*(<[\w\w]+>)[^>]*|#([\w-]*))$/,ge=oe.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charat(0)&&">"===t.charat(t.length-1)&&t.length>=3?[null,t,null]:me.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||he).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof oe?e[0]:e,oe.merge(this,oe.parsehtml(n[1],e&&e.nodetype?e.ownerdocument||e:fe,!0)),de.test(n[1])&&oe.isplainobject(e))for(n in e)oe.isfunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=fe.getelementbyid(n[2]),i&&i.parentnode){if(i.id!==n[2])return he.find(t);this.length=1,this[0]=i}return this.context=fe,this.selector=t,this}return t.nodetype?(this.context=this[0]=t,this.length=1,this):oe.isfunction(t)?"undefined"!=typeof he.ready?he.ready(t):t(oe):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),oe.makearray(t,this))};ge.prototype=oe.fn,he=oe(fe);var ve=/^(?:parents|prev(?:until|all))/,ye={children:!0,contents:!0,next:!0,prev:!0};oe.extend({dir:function(t,e,n){for(var i=[],o=t[e];o&&9!==o.nodetype&&(void 0===n||1!==o.nodetype||!oe(o).is(n));)1===o.nodetype&&i.push(o),o=o[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextsibling)1===t.nodetype&&t!==e&&n.push(t);return n}}),oe.fn.extend({has:function(t){var e,n=oe(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(oe.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],a=ue.test(t)||"string"!=typeof t?oe(t,e||this.context):0;o>i;i++)for(n=this[i];n&&n!==e;n=n.parentnode)if(n.nodetype<11&&(a?a.index(n)>-1:1===n.nodetype&&oe.find.matchesselector(n,t))){r.push(n);break}return this.pushstack(r.length>1?oe.unique(r):r)},index:function(t){return t?"string"==typeof t?oe.inarray(this[0],oe(t)):oe.inarray(t.jquery?t[0]:t,this):this[0]&&this[0].parentnode?this.first().prevall().length:-1},add:function(t,e){return this.pushstack(oe.unique(oe.merge(this.get(),oe(t,e))))},addback:function(t){return this.add(null==t?this.prevobject:this.prevobject.filter(t))}}),oe.each({parent:function(t){var e=t.parentnode;return e&&11!==e.nodetype?e:null},parents:function(t){return oe.dir(t,"parentnode")},parentsuntil:function(t,e,n){return oe.dir(t,"parentnode",n)},next:function(t){return o(t,"nextsibling")},prev:function(t){return o(t,"previoussibling")},nextall:function(t){return oe.dir(t,"nextsibling")},prevall:function(t){return oe.dir(t,"previoussibling")},nextuntil:function(t,e,n){return oe.dir(t,"nextsibling",n)},prevuntil:function(t,e,n){return oe.dir(t,"previoussibling",n)},siblings:function(t){return oe.sibling((t.parentnode||{}).firstchild,t)},children:function(t){return oe.sibling(t.firstchild)},contents:function(t){return oe.nodename(t,"iframe")?t.contentdocument||t.contentwindow.document:oe.merge([],t.childnodes)}},function(t,e){oe.fn[t]=function(n,i){var o=oe.map(this,e,n);return"until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=oe.filter(i,o)),this.length>1&&(ye[t]||(o=oe.unique(o)),ve.test(t)&&(o=o.reverse())),this.pushstack(o)}});var be=/\s+/g,xe={};oe.callbacks=function(t){t="string"==typeof t?xe[t]||r(t):oe.extend({},t);var e,n,i,o,a,s,l=[],c=!t.once&&[],u=function(r){for(n=t.memory&&r,i=!0,a=s||0,s=0,o=l.length,e=!0;l&&o>a;a++)if(l[a].apply(r[0],r[1])===!1&&t.stoponfalse){n=!1;break}e=!1,l&&(c?c.length&&u(c.shift()):n?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function r(e){oe.each(e,function(e,n){var i=oe.type(n);"function"===i?t.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),e?o=l.length:n&&(s=i,u(n))}return this},remove:function(){return l&&oe.each(arguments,function(t,n){for(var i;(i=oe.inarray(n,l,i))>-1;)l.splice(i,1),e&&(o>=i&&o--,a>=i&&a--)}),this},has:function(t){return t?oe.inarray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=c=n=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,n||d.disable(),this},locked:function(){return!c},firewith:function(t,n){return!l||i&&!c||(n=n||[],n=[t,n.slice?n.slice():n],e?c.push(n):u(n)),this},fire:function(){return d.firewith(this,arguments),this},fired:function(){return!!i}};return d},oe.extend({deferred:function(t){var e=[["resolve","done",oe.callbacks("once memory"),"resolved"],["reject","fail",oe.callbacks("once memory"),"rejected"],["notify","progress",oe.callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return oe.deferred(function(n){oe.each(e,function(e,r){var a=oe.isfunction(t[e])&&t[e];o[r[1]](function(){var t=a&&a.apply(this,arguments);t&&oe.isfunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"with"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?oe.extend(t,i):i}},o={};return i.pipe=i.then,oe.each(e,function(t,r){var a=r[2],s=r[3];i[r[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"with"](this===o?i:this,arguments),this},o[r[0]+"with"]=a.firewith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=k.call(arguments),a=r.length,s=1!==a||t&&oe.isfunction(t.promise)?a:0,l=1===s?t:oe.deferred(),c=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?k.call(arguments):o,i===e?l.notifywith(n,i):--s||l.resolvewith(n,i)}};if(a>1)for(e=new array(a),n=new array(a),i=new array(a);a>o;o++)r[o]&&oe.isfunction(r[o].promise)?r[o].promise().done(c(o,i,r)).fail(l.reject).progress(c(o,n,e)):--s;return s||l.resolvewith(i,r),l.promise()}});var we;oe.fn.ready=function(t){return oe.ready.promise().done(t),this},oe.extend({isready:!1,readywait:1,holdready:function(t){t?oe.readywait++:oe.ready(!0)},ready:function(t){if(t===!0?!--oe.readywait:!oe.isready){if(!fe.body)return settimeout(oe.ready);oe.isready=!0,t!==!0&&--oe.readywait>0||(we.resolvewith(fe,[oe]),oe.fn.triggerhandler&&(oe(fe).triggerhandler("ready"),oe(fe).off("ready")))}}}),oe.ready.promise=function(e){if(!we)if(we=oe.deferred(),"complete"===fe.readystate)settimeout(oe.ready);else if(fe.addeventlistener)fe.addeventlistener("domcontentloaded",s,!1),t.addeventlistener("load",s,!1);else{fe.attachevent("onreadystatechange",s),t.attachevent("onload",s);var n=!1;try{n=null==t.frameelement&&fe.documentelement}catch(i){}n&&n.doscroll&&!function o(){if(!oe.isready){try{n.doscroll("left")}catch(t){return settimeout(o,50)}a(),oe.ready()}}()}return we.promise(e)};var te,ce="undefined";for(te in oe(ne))break;ne.ownlast="0"!==te,ne.inlineblockneedslayout=!1,oe(function(){var t,e,n,i;n=fe.getelementsbytagname("body")[0],n&&n.style&&(e=fe.createelement("div"),i=fe.createelement("div"),i.style.csstext="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendchild(i).appendchild(e),typeof e.style.zoom!==ce&&(e.style.csstext="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ne.inlineblockneedslayout=t=3===e.offsetwidth,t&&(n.style.zoom=1)),n.removechild(i))}),function(){var t=fe.createelement("div");if(null==ne.deleteexpando){ne.deleteexpando=!0;try{delete t.test}catch(e){ne.deleteexpando=!1}}t=null}(),oe.acceptdata=function(t){var e=oe.nodata[(t.nodename+" ").tolowercase()],n=+t.nodetype||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getattribute("classid")===e};var ee=/^(?:\{[\w\w]*\}|\[[\w\w]*\])$/,ke=/([a-z])/g;oe.extend({cache:{},nodata:{"applet ":!0,"embed ":!0,"object ":"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},hasdata:function(t){return t=t.nodetype?oe.cache[t[oe.expando]]:t[oe.expando],!!t&&!c(t)},data:function(t,e,n){return u(t,e,n)},removedata:function(t,e){return d(t,e)},_data:function(t,e,n){return u(t,e,n,!0)},_removedata:function(t,e){return d(t,e,!0)}}),oe.fn.extend({data:function(t,e){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===t){if(this.length&&(o=oe.data(r),1===r.nodetype&&!oe._data(r,"parsedattrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexof("data-")&&(i=oe.camelcase(i.slice(5)),l(r,i,o[i])));oe._data(r,"parsedattrs",!0)}return o}return"object"==typeof t?this.each(function(){oe.data(this,t)}):arguments.length>1?this.each(function(){oe.data(this,t,e)}):r?l(r,t,oe.data(r,t)):void 0},removedata:function(t){return this.each(function(){oe.removedata(this,t)})}}),oe.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=oe._data(t,e),n&&(!i||oe.isarray(n)?i=oe._data(t,e,oe.makearray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=oe.queue(t,e),i=n.length,o=n.shift(),r=oe._queuehooks(t,e),a=function(){oe.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,a,r)),!i&&r&&r.empty.fire()},_queuehooks:function(t,e){var n=e+"queuehooks";return oe._data(t,n)||oe._data(t,n,{empty:oe.callbacks("once memory").add(function(){oe._removedata(t,e+"queue"),oe._removedata(t,n)})})}}),oe.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.lengths;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return o?t:c?e.call(t):l?e(t[0],n):r},$e=/^(?:checkbox|radio)$/i;!function(){var t=fe.createelement("input"),e=fe.createelement("div"),n=fe.createdocumentfragment();if(e.innerhtml=" a",ne.leadingwhitespace=3===e.firstchild.nodetype,ne.tbody=!e.getelementsbytagname("tbody").length,ne.htmlserialize=!!e.getelementsbytagname("link").length,ne.html5clone="<:nav>"!==fe.createelement("nav").clonenode(!0).outerhtml,t.type="checkbox",t.checked=!0,n.appendchild(t),ne.appendchecked=t.checked,e.innerhtml="",ne.noclonechecked=!!e.clonenode(!0).lastchild.defaultvalue,n.appendchild(e),e.innerhtml="",ne.checkclone=e.clonenode(!0).clonenode(!0).lastchild.checked,ne.nocloneevent=!0,e.attachevent&&(e.attachevent("onclick",function(){ne.nocloneevent=!1}),e.clonenode(!0).click()),null==ne.deleteexpando){ne.deleteexpando=!0;try{delete e.test}catch(i){ne.deleteexpando=!1}}}(),function(){var e,n,i=fe.createelement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(ne[e+"bubbles"]=n in t)||(i.setattribute(n,"t"),ne[e+"bubbles"]=i.attributes[n].expando===!1);i=null}();var je=/^(?:input|select|textarea)$/i,oe=/^key/,le=/^(?:mouse|pointer|contextmenu)|click/,_e=/^(?:focusinfocus|focusoutblur)$/,he=/^([^.]*)(?:\.(.+)|)$/;oe.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,c,u,d,p,h,f,m,g=oe._data(t);if(g){for(n.handler&&(l=n,n=l.handler,o=l.selector),n.guid||(n.guid=oe.guid++),(a=g.events)||(a=g.events={}),(u=g.handle)||(u=g.handle=function(t){return typeof oe===ce||t&&oe.event.triggered===t.type?void 0:oe.event.dispatch.apply(u.elem,arguments)},u.elem=t),e=(e||"").match(be)||[""],s=e.length;s--;)r=he.exec(e[s])||[],h=m=r[1],f=(r[2]||"").split(".").sort(),h&&(c=oe.event.special[h]||{},h=(o?c.delegatetype:c.bindtype)||h,c=oe.event.special[h]||{},d=oe.extend({type:h,origtype:m,data:i,handler:n,guid:n.guid,selector:o,needscontext:o&&oe.expr.match.needscontext.test(o),namespace:f.join(".")},l),(p=a[h])||(p=a[h]=[],p.delegatecount=0,c.setup&&c.setup.call(t,i,f,u)!==!1||(t.addeventlistener?t.addeventlistener(h,u,!1):t.attachevent&&t.attachevent("on"+h,u))),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),o?p.splice(p.delegatecount++,0,d):p.push(d),oe.event.global[h]=!0);t=null}},remove:function(t,e,n,i,o){var r,a,s,l,c,u,d,p,h,f,m,g=oe.hasdata(t)&&oe._data(t);if(g&&(u=g.events)){for(e=(e||"").match(be)||[""],c=e.length;c--;)if(s=he.exec(e[c])||[],h=m=s[1],f=(s[2]||"").split(".").sort(),h){for(d=oe.event.special[h]||{},h=(i?d.delegatetype:d.bindtype)||h,p=u[h]||[],s=s[2]&&new regexp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=p.length;r--;)a=p[r],!o&&m!==a.origtype||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(p.splice(r,1),a.selector&&p.delegatecount--,d.remove&&d.remove.call(t,a));l&&!p.length&&(d.teardown&&d.teardown.call(t,f,g.handle)!==!1||oe.removeevent(t,h,g.handle),delete u[h])}else for(h in u)oe.event.remove(t,h+e[c],n,i,!0);oe.isemptyobject(u)&&(delete g.handle,oe._removedata(t,"events"))}},trigger:function(e,n,i,o){var r,a,s,l,c,u,d,p=[i||fe],h=ee.call(e,"type")?e.type:e,f=ee.call(e,"namespace")?e.namespace.split("."):[];if(s=u=i=i||fe,3!==i.nodetype&&8!==i.nodetype&&!_e.test(h+oe.event.triggered)&&(h.indexof(".")>=0&&(f=h.split("."),h=f.shift(),f.sort()),a=h.indexof(":")<0&&"on"+h,e=e[oe.expando]?e:new oe.event(h,"object"==typeof e&&e),e.istrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new regexp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:oe.makearray(n,[e]),c=oe.event.special[h]||{},o||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!o&&!c.nobubble&&!oe.iswindow(i)){for(l=c.delegatetype||h,_e.test(l+h)||(s=s.parentnode);s;s=s.parentnode)p.push(s),u=s;u===(i.ownerdocument||fe)&&p.push(u.defaultview||u.parentwindow||t)}for(d=0;(s=p[d++])&&!e.ispropagationstopped();)e.type=d>1?l:c.bindtype||h,r=(oe._data(s,"events")||{})[e.type]&&oe._data(s,"handle"),r&&r.apply(s,n),r=a&&s[a],r&&r.apply&&oe.acceptdata(s)&&(e.result=r.apply(s,n),e.result===!1&&e.preventdefault());if(e.type=h,!o&&!e.isdefaultprevented()&&(!c._default||c._default.apply(p.pop(),n)===!1)&&oe.acceptdata(i)&&a&&i[h]&&!oe.iswindow(i)){u=i[a],u&&(i[a]=null),oe.event.triggered=h;try{i[h]()}catch(m){}oe.event.triggered=void 0,u&&(i[a]=u)}return e.result}},dispatch:function(t){t=oe.event.fix(t);var e,n,i,o,r,a=[],s=k.call(arguments),l=(oe._data(this,"events")||{})[t.type]||[],c=oe.event.special[t.type]||{};if(s[0]=t,t.delegatetarget=this,!c.predispatch||c.predispatch.call(this,t)!==!1){for(a=oe.event.handlers.call(this,t,l),e=0;(o=a[e++])&&!t.ispropagationstopped();)for(t.currenttarget=o.elem,r=0;(i=o.handlers[r++])&&!t.isimmediatepropagationstopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleobj=i,t.data=i.data,n=((oe.event.special[i.origtype]||{}).handle||i.handler).apply(o.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventdefault(),t.stoppropagation()));return c.postdispatch&&c.postdispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,a=[],s=e.delegatecount,l=t.target;if(s&&l.nodetype&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentnode||this)if(1===l.nodetype&&(l.disabled!==!0||"click"!==t.type)){for(o=[],r=0;s>r;r++)i=e[r],n=i.selector+" ",void 0===o[n]&&(o[n]=i.needscontext?oe(n,this).index(l)>=0:oe.find(n,this,null,[l]).length),o[n]&&o.push(i);o.length&&a.push({elem:l,handlers:o})}return s]","i"),fe=/^\s+/,me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qe=/<([\w:]+)/,we=/\s*$/g,ke={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:ne.htmlserialize?[0,"",""]:[1,"x","
"]},ge=m(fe),ye=ge.appendchild(fe.createelement("div"));ke.optgroup=ke.option,ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,oe.extend({clone:function(t,e,n){var i,o,r,a,s,l=oe.contains(t.ownerdocument,t);if(ne.html5clone||oe.isxmldoc(t)||!pe.test("<"+t.nodename+">")?r=t.clonenode(!0):(ye.innerhtml=t.outerhtml,ye.removechild(r=ye.firstchild)),!(ne.nocloneevent&&ne.noclonechecked||1!==t.nodetype&&11!==t.nodetype||oe.isxmldoc(t)))for(i=g(r),s=g(t),a=0;null!=(o=s[a]);++a)i[a]&&c(o,i[a]);if(e)if(n)for(s=s||g(t),i=i||g(r),a=0;null!=(o=s[a]);a++)t(o,i[a]);else t(t,r);return i=g(r,"script"),i.length>0&&w(i,!l&&g(t,"script")),i=s=o=null,r},buildfragment:function(t,e,n,i){for(var o,r,a,s,l,c,u,d=t.length,p=m(e),h=[],f=0;d>f;f++)if(r=t[f],r||0===r)if("object"===oe.type(r))oe.merge(h,r.nodetype?[r]:r);else if(be.test(r)){for(s=s||p.appendchild(e.createelement("div")),l=(qe.exec(r)||["",""])[1].tolowercase(),u=ke[l]||ke._default,s.innerhtml=u[1]+r.replace(me,"<$1>$2>")+u[2],o=u[0];o--;)s=s.lastchild;if(!ne.leadingwhitespace&&fe.test(r)&&h.push(e.createtextnode(fe.exec(r)[0])),!ne.tbody)for(r="table"!==l||we.test(r)?""!==u[1]||we.test(r)?0:s:s.firstchild,o=r&&r.childnodes.length;o--;)oe.nodename(c=r.childnodes[o],"tbody")&&!c.childnodes.length&&r.removechild(c);for(oe.merge(h,s.childnodes),s.textcontent="";s.firstchild;)s.removechild(s.firstchild);s=p.lastchild}else h.push(e.createtextnode(r));for(s&&p.removechild(s),ne.appendchecked||oe.grep(g(h,"input"),v),f=0;r=h[f++];)if((!i||-1===oe.inarray(r,i))&&(a=oe.contains(r.ownerdocument,r),s=g(p.appendchild(r),"script"),a&&w(s),n))for(o=0;r=s[o++];)xe.test(r.type||"")&&n.push(r);return s=null,p},cleandata:function(t,e){for(var n,i,o,r,a=0,s=oe.expando,l=oe.cache,c=ne.deleteexpando,u=oe.event.special;null!=(n=t[a]);a++)if((e||oe.acceptdata(n))&&(o=n[s],r=o&&l[o])){if(r.events)for(i in r.events)u[i]?oe.event.remove(n,i):oe.removeevent(n,i,r.handle);l[o]&&(delete l[o],c?delete n[s]:typeof n.removeattribute!==ce?n.removeattribute(s):n[s]=null,q.push(o))}}}),oe.fn.extend({text:function(t){return de(this,function(t){return void 0===t?oe.text(this):this.empty().append((this[0]&&this[0].ownerdocument||fe).createtextnode(t))},null,t,arguments.length)},append:function(){return this.dommanip(arguments,function(t){if(1===this.nodetype||11===this.nodetype||9===this.nodetype){var e=y(this,t);e.appendchild(t)}})},prepend:function(){return this.dommanip(arguments,function(t){if(1===this.nodetype||11===this.nodetype||9===this.nodetype){var e=y(this,t);e.insertbefore(t,e.firstchild)}})},before:function(){return this.dommanip(arguments,function(t){this.parentnode&&this.parentnode.insertbefore(t,this)})},after:function(){return this.dommanip(arguments,function(t){this.parentnode&&this.parentnode.insertbefore(t,this.nextsibling)})},remove:function(t,e){for(var n,i=t?oe.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodetype||oe.cleandata(g(n)),n.parentnode&&(e&&oe.contains(n.ownerdocument,n)&&w(g(n,"script")),n.parentnode.removechild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodetype&&oe.cleandata(g(t,!1));t.firstchild;)t.removechild(t.firstchild);t.options&&oe.nodename(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return oe.clone(this,t,e)})},html:function(t){return de(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodetype?e.innerhtml.replace(ie,""):void 0;if(!("string"!=typeof t||ze.test(t)||!ne.htmlserialize&&pe.test(t)||!ne.leadingwhitespace&&fe.test(t)||ke[(qe.exec(t)||["",""])[1].tolowercase()])){t=t.replace(me,"<$1>$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodetype&&(oe.cleandata(g(e,!1)),e.innerhtml=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replacewith:function(){var t=arguments[0];return this.dommanip(arguments,function(e){t=this.parentnode,oe.cleandata(g(this)),t&&t.replacechild(e,this)}),t&&(t.length||t.nodetype)?this:this.remove()},detach:function(t){return this.remove(t,!0)},dommanip:function(t,e){t=g.apply([],t);var n,i,o,r,a,s,l=0,c=this.length,u=this,d=c-1,p=t[0],h=oe.isfunction(p);if(h||c>1&&"string"==typeof p&&!ne.checkclone&&ue.test(p))return this.each(function(n){var i=u.eq(n);h&&(t[0]=p.call(this,n,i.html())),i.dommanip(t,e)});if(c&&(s=oe.buildfragment(t,this[0].ownerdocument,!1,this),n=s.firstchild,1===s.childnodes.length&&(s=n),n)){for(r=oe.map(g(s,"script"),b),o=r.length;c>l;l++)i=s,l!==d&&(i=oe.clone(i,!0,!0),o&&oe.merge(r,g(i,"script"))),e.call(this[l],i,l);if(o)for(a=r[r.length-1].ownerdocument,oe.map(r,x),l=0;o>l;l++)i=r[l],xe.test(i.type||"")&&!oe._data(i,"globaleval")&&oe.contains(a,i)&&(i.src?oe._evalurl&&oe._evalurl(i.src):oe.globaleval((i.text||i.textcontent||i.innerhtml||"").replace(qe,"")));s=n=null}return this}}),oe.each({appendto:"append",prependto:"prepend",insertbefore:"before",insertafter:"after",replaceall:"replacewith"},function(t,e){oe.fn[t]=function(t){for(var n,i=0,o=[],r=oe(t),a=r.length-1;a>=i;i++)n=i===a?this:this.clone(!0),oe(r[i])[e](n),y.apply(o,n.get());return this.pushstack(o)}});var ze,je={};!function(){var t;ne.shrinkwrapblocks=function(){if(null!=t)return t;t=!1;var e,n,i;return n=fe.getelementsbytagname("body")[0],n&&n.style?(e=fe.createelement("div"),i=fe.createelement("div"),i.style.csstext="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendchild(i).appendchild(e),typeof e.style.zoom!==ce&&(e.style.csstext="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendchild(fe.createelement("div")).style.width="5px",t=3!==e.offsetwidth),n.removechild(i),t):void 0}}();var tn,en,nn=/^margin/,on=new regexp("^("+se+")(?!px)[a-z%]+$","i"),rn=/^(top|right|bottom|left)$/;t.getcomputedstyle?(tn=function(t){return t.ownerdocument.defaultview.getcomputedstyle(t,null)},en=function(t,e,n){var i,o,r,a,s=t.style;return n=n||tn(t),a=n?n.getpropertyvalue(e)||n[e]:void 0,n&&(""!==a||oe.contains(t.ownerdocument,t)||(a=oe.style(t,e)),on.test(a)&&nn.test(e)&&(i=s.width,o=s.minwidth,r=s.maxwidth,s.minwidth=s.maxwidth=s.width=a,a=n.width,s.width=i,s.minwidth=o,s.maxwidth=r)),void 0===a?a:a+""}):fe.documentelement.currentstyle&&(tn=function(t){return t.currentstyle},en=function(t,e,n){var i,o,r,a,s=t.style;return n=n||tn(t),a=n?n[e]:void 0,null==a&&s&&s[e]&&(a=s[e]),on.test(a)&&!rn.test(e)&&(i=s.left,o=t.runtimestyle,r=o&&o.left,r&&(o.left=t.currentstyle.left),s.left="fontsize"===e?"1em":a,a=s.pixelleft+"px",s.left=i,r&&(o.left=r)),void 0===a?a:a+""||"auto"}),function(){function e(){var e,n,i,o;n=fe.getelementsbytagname("body")[0],n&&n.style&&(e=fe.createelement("div"),i=fe.createelement("div"),i.style.csstext="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendchild(i).appendchild(e),e.style.csstext="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=a=!1,l=!0,t.getcomputedstyle&&(r="1%"!==(t.getcomputedstyle(e,null)||{}).top,a="4px"===(t.getcomputedstyle(e,null)||{width:"4px"}).width,o=e.appendchild(fe.createelement("div")),o.style.csstext=e.style.csstext="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",o.style.marginright=o.style.width="0",e.style.width="1px",l=!parsefloat((t.getcomputedstyle(o,null)||{}).marginright)),e.innerhtml="",o=e.getelementsbytagname("td"),o[0].style.csstext="margin:0;border:0;padding:0;display:none",s=0===o[0].offsetheight,s&&(o[0].style.display="",o[1].style.display="none",s=0===o[0].offsetheight),n.removechild(i))}var n,i,o,r,a,s,l;n=fe.createelement("div"),n.innerhtml=" a",o=n.getelementsbytagname("a")[0],i=o&&o.style,i&&(i.csstext="float:left;opacity:.5",ne.opacity="0.5"===i.opacity,ne.cssfloat=!!i.cssfloat,n.style.backgroundclip="content-box",n.clonenode(!0).style.backgroundclip="",ne.clearclonestyle="content-box"===n.style.backgroundclip,ne.boxsizing=""===i.boxsizing||""===i.mozboxsizing||""===i.webkitboxsizing,oe.extend(ne,{reliablehiddenoffsets:function(){return null==s&&e(),s
},boxsizingreliable:function(){return null==a&&e(),a},pixelposition:function(){return null==r&&e(),r},reliablemarginright:function(){return null==l&&e(),l}}))}(),oe.swap=function(t,e,n,i){var o,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=a[r];return o};var an=/alpha\([^)]*\)/i,sn=/opacity\s*=\s*([^)]*)/,ln=/^(none|table(?!-c[ea]).+)/,cn=new regexp("^("+se+")(.*)$","i"),un=new regexp("^([+-])=("+se+")","i"),dn={position:"absolute",visibility:"hidden",display:"block"},pn={letterspacing:"0",fontweight:"400"},hn=["webkit","o","moz","ms"];oe.extend({csshooks:{opacity:{get:function(t,e){if(e){var n=en(t,"opacity");return""===n?"1":n}}}},cssnumber:{columncount:!0,fillopacity:!0,flexgrow:!0,flexshrink:!0,fontweight:!0,lineheight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zindex:!0,zoom:!0},cssprops:{"float":ne.cssfloat?"cssfloat":"stylefloat"},style:function(t,e,n,i){if(t&&3!==t.nodetype&&8!==t.nodetype&&t.style){var o,r,a,s=oe.camelcase(e),l=t.style;if(e=oe.cssprops[s]||(oe.cssprops[s]=n(l,s)),a=oe.csshooks[e]||oe.csshooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,i))?o:l[e];if(r=typeof n,"string"===r&&(o=un.exec(n))&&(n=(o[1]+1)*o[2]+parsefloat(oe.css(t,e)),r="number"),null!=n&&n===n&&("number"!==r||oe.cssnumber[s]||(n+="px"),ne.clearclonestyle||""!==n||0!==e.indexof("background")||(l[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,i)))))try{l[e]=n}catch(c){}}},css:function(t,e,n,i){var o,r,a,s=oe.camelcase(e);return e=oe.cssprops[s]||(oe.cssprops[s]=n(t.style,s)),a=oe.csshooks[e]||oe.csshooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=en(t,e,i)),"normal"===r&&e in pn&&(r=pn[e]),""===n||n?(o=parsefloat(r),n===!0||oe.isnumeric(o)?o||0:r):r}}),oe.each(["height","width"],function(t,e){oe.csshooks[e]={get:function(t,n,i){return n?ln.test(oe.css(t,"display"))&&0===t.offsetwidth?oe.swap(t,dn,function(){return j(t,e,i)}):j(t,e,i):void 0},set:function(t,n,i){var o=i&&tn(t);return d(t,n,i?$(t,e,i,ne.boxsizing&&"border-box"===oe.css(t,"boxsizing",!1,o),o):0)}}}),ne.opacity||(oe.csshooks.opacity={get:function(t,e){return sn.test((e&&t.currentstyle?t.currentstyle.filter:t.style.filter)||"")?.01*parsefloat(regexp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentstyle,o=oe.isnumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===oe.trim(r.replace(an,""))&&n.removeattribute&&(n.removeattribute("filter"),""===e||i&&!i.filter)||(n.filter=an.test(r)?r.replace(an,o):r+" "+o)}}),oe.csshooks.marginright=s(ne.reliablemarginright,function(t,e){return e?oe.swap(t,{display:"inline-block"},en,[t,"marginright"]):void 0}),oe.each({margin:"",padding:"",border:"width"},function(t,e){oe.csshooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];4>i;i++)o[t+ne[i]+e]=r[i]||r[i-2]||r[0];return o}},nn.test(t)||(oe.csshooks[t+e].set=d)}),oe.fn.extend({css:function(t,e){return de(this,function(t,e,n){var i,o,r={},a=0;if(oe.isarray(e)){for(i=tn(t),o=e.length;o>a;a++)r[e[a]]=oe.css(t,e[a],!1,i);return r}return void 0!==n?oe.style(t,e,n):oe.css(t,e)},t,e,arguments.length>1)},show:function(){return a(this,!0)},hide:function(){return a(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ae(this)?oe(this).show():oe(this).hide()})}}),oe.tween=o,o.prototype={constructor:o,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(oe.cssnumber[n]?"":"px")},cur:function(){var t=o.prophooks[this.prop];return t&&t.get?t.get(this):o.prophooks._default.get(this)},run:function(t){var e,n=o.prophooks[this.prop];return this.pos=e=this.options.duration?oe.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):o.prophooks._default.set(this),this}},o.prototype.init.prototype=o.prototype,o.prophooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=oe.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){oe.fx.step[t.prop]?oe.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[oe.cssprops[t.prop]]||oe.csshooks[t.prop])?oe.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},o.prophooks.scrolltop=o.prophooks.scrollleft={set:function(t){t.elem.nodetype&&t.elem.parentnode&&(t.elem[t.prop]=t.now)}},oe.easing={linear:function(t){return t},swing:function(t){return.5-math.cos(t*math.pi)/2}},oe.fx=o.prototype.init,oe.fx.step={};var fn,mn,gn=/^(?:toggle|show|hide)$/,vn=new regexp("^(?:([+-])=|)("+se+")([a-z%]*)$","i"),yn=/queuehooks$/,bn=[r],xn={"*":[function(t,e){var n=this.createtween(t,e),i=n.cur(),o=vn.exec(e),r=o&&o[3]||(oe.cssnumber[t]?"":"px"),a=(oe.cssnumber[t]||"px"!==r&&+i)&&vn.exec(oe.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==r){r=r||a[3],o=o||[],a=+i||1;do s=s||".5",a/=s,oe.style(n.elem,t,a+r);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return o&&(a=n.start=+a||+i||0,n.unit=r,n.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),n}]};oe.animation=oe.extend(p,{tweener:function(t,e){oe.isfunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;o>i;i++)n=t[i],xn[n]=xn[n]||[],xn[n].unshift(e)},prefilter:function(t,e){e?bn.unshift(t):bn.push(t)}}),oe.speed=function(t,e,n){var i=t&&"object"==typeof t?oe.extend({},t):{complete:n||!n&&e||oe.isfunction(t)&&t,duration:t,easing:n&&e||e&&!oe.isfunction(e)&&e};return i.duration=oe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in oe.fx.speeds?oe.fx.speeds[i.duration]:oe.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){oe.isfunction(i.old)&&i.old.call(this),i.queue&&oe.dequeue(this,i.queue)},i},oe.fn.extend({fadeto:function(t,e,n,i){return this.filter(ae).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=oe.isemptyobject(t),r=oe.speed(e,n,i),a=function(){var e=p(this,oe.extend({},t),r);(o||oe._data(this,"finish"))&&e.stop(!0)};return a.finish=a,o||r.queue===!1?this.each(a):this.queue(r.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queuehooks",r=oe.timers,a=oe._data(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&yn.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));(e||!n)&&oe.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=oe._data(this),i=n[t+"queue"],o=n[t+"queuehooks"],r=oe.timers,a=i?i.length:0;for(n.finish=!0,oe.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),oe.each(["toggle","show","hide"],function(t,e){var n=oe.fn[e];oe.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(_(e,!0),t,i,o)}}),oe.each({slidedown:_("show"),slideup:_("hide"),slidetoggle:_("toggle"),fadein:{opacity:"show"},fadeout:{opacity:"hide"},fadetoggle:{opacity:"toggle"}},function(t,e){oe.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),oe.timers=[],oe.fx.tick=function(){var t,e=oe.timers,n=0;for(fn=oe.now();na",i=e.getelementsbytagname("a")[0],n=fe.createelement("select"),o=n.appendchild(fe.createelement("option")),t=e.getelementsbytagname("input")[0],i.style.csstext="top:1px",ne.getsetattribute="t"!==e.classname,ne.style=/top/.test(i.getattribute("style")),ne.hrefnormalized="/a"===i.getattribute("href"),ne.checkon=!!t.value,ne.optselected=o.selected,ne.enctype=!!fe.createelement("form").enctype,n.disabled=!0,ne.optdisabled=!o.disabled,t=fe.createelement("input"),t.setattribute("value",""),ne.input=""===t.getattribute("value"),t.value="t",t.setattribute("type","radio"),ne.radiovalue="t"===t.value}();var wn=/\r/g;oe.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=oe.isfunction(t),this.each(function(n){var o;1===this.nodetype&&(o=i?t.call(this,n,oe(this).val()):t,null==o?o="":"number"==typeof o?o+="":oe.isarray(o)&&(o=oe.map(o,function(t){return null==t?"":t+""})),e=oe.valhooks[this.type]||oe.valhooks[this.nodename.tolowercase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=oe.valhooks[o.type]||oe.valhooks[o.nodename.tolowercase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(wn,""):null==n?"":n)}}}),oe.extend({valhooks:{option:{get:function(t){var e=oe.find.attr(t,"value");return null!=e?e:oe.trim(oe.text(t))}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedindex,r="select-one"===t.type||0>o,a=r?null:[],s=r?o+1:i.length,l=0>o?s:r?o:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==o||(ne.optdisabled?n.disabled:null!==n.getattribute("disabled"))||n.parentnode.disabled&&oe.nodename(n.parentnode,"optgroup"))){if(e=oe(n).val(),r)return e;a.push(e)}return a},set:function(t,e){for(var n,i,o=t.options,r=oe.makearray(e),a=o.length;a--;)if(i=o[a],oe.inarray(oe.valhooks.option.get(i),r)>=0)try{i.selected=n=!0}catch(s){i.scrollheight}else i.selected=!1;return n||(t.selectedindex=-1),o}}}}),oe.each(["radio","checkbox"],function(){oe.valhooks[this]={set:function(t,e){return oe.isarray(e)?t.checked=oe.inarray(oe(t).val(),e)>=0:void 0}},ne.checkon||(oe.valhooks[this].get=function(t){return null===t.getattribute("value")?"on":t.value})});var tn,cn,en=oe.expr.attrhandle,kn=/^(?:checked|selected)$/i,sn=ne.getsetattribute,nn=ne.input;oe.fn.extend({attr:function(t,e){return de(this,oe.attr,t,e,arguments.length>1)},removeattr:function(t){return this.each(function(){oe.removeattr(this,t)})}}),oe.extend({attr:function(t,e,n){var i,o,r=t.nodetype;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getattribute===ce?oe.prop(t,e,n):(1===r&&oe.isxmldoc(t)||(e=e.tolowercase(),i=oe.attrhooks[e]||(oe.expr.match.bool.test(e)?cn:tn)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:(o=oe.find.attr(t,e),null==o?void 0:o):null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setattribute(e,n+""),n):void oe.removeattr(t,e))},removeattr:function(t,e){var n,i,o=0,r=e&&e.match(be);if(r&&1===t.nodetype)for(;n=r[o++];)i=oe.propfix[n]||n,oe.expr.match.bool.test(n)?nn&&sn||!kn.test(n)?t[i]=!1:t[oe.camelcase("default-"+n)]=t[i]=!1:oe.attr(t,n,""),t.removeattribute(sn?n:i)},attrhooks:{type:{set:function(t,e){if(!ne.radiovalue&&"radio"===e&&oe.nodename(t,"input")){var n=t.value;return t.setattribute("type",e),n&&(t.value=n),e}}}}}),cn={set:function(t,e,n){return e===!1?oe.removeattr(t,n):nn&&sn||!kn.test(n)?t.setattribute(!sn&&oe.propfix[n]||n,n):t[oe.camelcase("default-"+n)]=t[n]=!0,n}},oe.each(oe.expr.match.bool.source.match(/\w+/g),function(t,e){var n=en[e]||oe.find.attr;en[e]=nn&&sn||!kn.test(e)?function(t,e,i){var o,r;return i||(r=en[e],en[e]=o,o=null!=n(t,e,i)?e.tolowercase():null,en[e]=r),o}:function(t,e,n){return n?void 0:t[oe.camelcase("default-"+e)]?e.tolowercase():null}}),nn&&sn||(oe.attrhooks.value={set:function(t,e,n){return oe.nodename(t,"input")?void(t.defaultvalue=e):tn&&tn.set(t,e,n)}}),sn||(tn={set:function(t,e,n){var i=t.getattributenode(n);return i||t.setattributenode(i=t.ownerdocument.createattribute(n)),i.value=e+="","value"===n||e===t.getattribute(n)?e:void 0}},en.id=en.name=en.coords=function(t,e,n){var i;return n?void 0:(i=t.getattributenode(e))&&""!==i.value?i.value:null},oe.valhooks.button={get:function(t,e){var n=t.getattributenode(e);return n&&n.specified?n.value:void 0},set:tn.set},oe.attrhooks.contenteditable={set:function(t,e,n){tn.set(t,""===e?!1:e,n)}},oe.each(["width","height"],function(t,e){oe.attrhooks[e]={set:function(t,n){return""===n?(t.setattribute(e,"auto"),n):void 0}}})),ne.style||(oe.attrhooks.style={get:function(t){return t.style.csstext||void 0},set:function(t,e){return t.style.csstext=e+""}});var an=/^(?:input|select|textarea|button|object)$/i,dn=/^(?:a|area)$/i;oe.fn.extend({prop:function(t,e){return de(this,oe.prop,t,e,arguments.length>1)},removeprop:function(t){return t=oe.propfix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),oe.extend({propfix:{"for":"htmlfor","class":"classname"},prop:function(t,e,n){var i,o,r,a=t.nodetype;if(t&&3!==a&&8!==a&&2!==a)return r=1!==a||!oe.isxmldoc(t),r&&(e=oe.propfix[e]||e,o=oe.prophooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},prophooks:{tabindex:{get:function(t){var e=oe.find.attr(t,"tabindex");return e?parseint(e,10):an.test(t.nodename)||dn.test(t.nodename)&&t.href?0:-1}}}}),ne.hrefnormalized||oe.each(["href","src"],function(t,e){oe.prophooks[e]={get:function(t){return t.getattribute(e,4)}}}),ne.optselected||(oe.prophooks.selected={get:function(t){var e=t.parentnode;return e&&(e.selectedindex,e.parentnode&&e.parentnode.selectedindex),null}}),oe.each(["tabindex","readonly","maxlength","cellspacing","cellpadding","rowspan","colspan","usemap","frameborder","contenteditable"],function(){oe.propfix[this.tolowercase()]=this}),ne.enctype||(oe.propfix.enctype="encoding");var $n=/[\t\r\n\f]/g;oe.fn.extend({addclass:function(t){var e,n,i,o,r,a,s=0,l=this.length,c="string"==typeof t&&t;if(oe.isfunction(t))return this.each(function(e){oe(this).addclass(t.call(this,e,this.classname))});if(c)for(e=(t||"").match(be)||[];l>s;s++)if(n=this[s],i=1===n.nodetype&&(n.classname?(" "+n.classname+" ").replace($n," "):" ")){for(r=0;o=e[r++];)i.indexof(" "+o+" ")<0&&(i+=o+" ");a=oe.trim(i),n.classname!==a&&(n.classname=a)}return this},removeclass:function(t){var e,n,i,o,r,a,s=0,l=this.length,c=0===arguments.length||"string"==typeof t&&t;if(oe.isfunction(t))return this.each(function(e){oe(this).removeclass(t.call(this,e,this.classname))});if(c)for(e=(t||"").match(be)||[];l>s;s++)if(n=this[s],i=1===n.nodetype&&(n.classname?(" "+n.classname+" ").replace($n," "):"")){for(r=0;o=e[r++];)for(;i.indexof(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");a=t?oe.trim(i):"",n.classname!==a&&(n.classname=a)}return this},toggleclass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addclass(t):this.removeclass(t):this.each(oe.isfunction(t)?function(n){oe(this).toggleclass(t.call(this,n,this.classname,e),e)}:function(){if("string"===n)for(var e,i=0,o=oe(this),r=t.match(be)||[];e=r[i++];)o.hasclass(e)?o.removeclass(e):o.addclass(e);else(n===ce||"boolean"===n)&&(this.classname&&oe._data(this,"__classname__",this.classname),this.classname=this.classname||t===!1?"":oe._data(this,"__classname__")||"")})},hasclass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodetype&&(" "+this[n].classname+" ").replace($n," ").indexof(e)>=0)return!0;return!1}}),oe.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(t,e){oe.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),oe.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var jn=oe.now(),on=/\?/,ln=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fa-f]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[ee][+-]?\d+|)/g;oe.parsejson=function(e){if(t.json&&t.json.parse)return t.json.parse(e+"");var n,i=null,o=oe.trim(e+"");return o&&!oe.trim(o.replace(ln,function(t,e,o,r){return n&&e&&(i=0),0===i?t:(n=o||e,i+=!r-!o,"")}))?function("return "+o)():oe.error("invalid json: "+e)},oe.parsexml=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.domparser?(i=new domparser,n=i.parsefromstring(e,"text/xml")):(n=new activexobject("microsoft.xmldom"),n.async="false",n.loadxml(e))}catch(o){n=void 0}return n&&n.documentelement&&!n.getelementsbytagname("parsererror").length||oe.error("invalid xml: "+e),n};var _n,hn,rn=/#.*$/,in=/([?&])_=[^&]*/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,fn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,mn=/^(?:get|head)$/,qn=/^\/\//,wn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,bn={},zn={},un="*/".concat("*");try{hn=location.href}catch(xn){hn=fe.createelement("a"),hn.href="",hn=hn.href}_n=wn.exec(hn.tolowercase())||[],oe.extend({active:0,lastmodified:{},etag:{},ajaxsettings:{url:hn,type:"get",islocal:fn.test(_n[1]),global:!0,processdata:!0,async:!0,contenttype:"application/x-www-form-urlencoded; charset=utf-8",accepts:{"*":un,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext",json:"responsejson"},converters:{"* text":string,"text html":!0,"text json":oe.parsejson,"text xml":oe.parsexml},flatoptions:{url:!0,context:!0}},ajaxsetup:function(t,e){return e?q(q(t,oe.ajaxsettings),e):q(oe.ajaxsettings,t)},ajaxprefilter:f(bn),ajaxtransport:f(zn),ajax:function(t,e){function n(t,e,n,i){var o,u,v,y,x,t=e;2!==b&&(b=2,s&&cleartimeout(s),c=void 0,a=i||"",w.readystate=t>0?4:0,o=t>=200&&300>t||304===t,n&&(y=w(d,w,n)),y=b(d,y,w,o),o?(d.ifmodified&&(x=w.getresponseheader("last-modified"),x&&(oe.lastmodified[r]=x),x=w.getresponseheader("etag"),x&&(oe.etag[r]=x)),204===t||"head"===d.type?t="nocontent":304===t?t="notmodified":(t=y.state,u=y.data,v=y.error,o=!v)):(v=t,(t||!t)&&(t="error",0>t&&(t=0))),w.status=t,w.statustext=(e||t)+"",o?f.resolvewith(p,[u,t,w]):f.rejectwith(p,[w,t,v]),w.statuscode(g),g=void 0,l&&h.trigger(o?"ajaxsuccess":"ajaxerror",[w,d,o?u:v]),m.firewith(p,[w,t]),l&&(h.trigger("ajaxcomplete",[w,d]),--oe.active||oe.event.trigger("ajaxstop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,r,a,s,l,c,u,d=oe.ajaxsetup({},e),p=d.context||d,h=d.context&&(p.nodetype||p.jquery)?oe(p):oe.event,f=oe.deferred(),m=oe.callbacks("once memory"),g=d.statuscode||{},v={},y={},b=0,x="canceled",w={readystate:0,getresponseheader:function(t){var e;if(2===b){if(!u)for(u={};e=pn.exec(a);)u[e[1].tolowercase()]=e[2];e=u[t.tolowercase()]}return null==e?null:e},getallresponseheaders:function(){return 2===b?a:null},setrequestheader:function(t,e){var n=t.tolowercase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overridemimetype:function(t){return b||(d.mimetype=t),this},statuscode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||x;return c&&c.abort(e),n(0,e),this}};if(f.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,d.url=((t||d.url||hn)+"").replace(rn,"").replace(qn,_n[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.datatypes=oe.trim(d.datatype||"*").tolowercase().match(be)||[""],null==d.crossdomain&&(i=wn.exec(d.url.tolowercase()),d.crossdomain=!(!i||i[1]===_n[1]&&i[2]===_n[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(_n[3]||("http:"===_n[1]?"80":"443")))),d.data&&d.processdata&&"string"!=typeof d.data&&(d.data=oe.param(d.data,d.traditional)),m(bn,d,e,w),2===b)return w;l=d.global,l&&0===oe.active++&&oe.event.trigger("ajaxstart"),d.type=d.type.touppercase(),d.hascontent=!mn.test(d.type),r=d.url,d.hascontent||(d.data&&(r=d.url+=(on.test(r)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=in.test(r)?r.replace(in,"$1_="+jn++):r+(on.test(r)?"&":"?")+"_="+jn++)),d.ifmodified&&(oe.lastmodified[r]&&w.setrequestheader("if-modified-since",oe.lastmodified[r]),oe.etag[r]&&w.setrequestheader("if-none-match",oe.etag[r])),(d.data&&d.hascontent&&d.contenttype!==!1||e.contenttype)&&w.setrequestheader("content-type",d.contenttype),w.setrequestheader("accept",d.datatypes[0]&&d.accepts[d.datatypes[0]]?d.accepts[d.datatypes[0]]+("*"!==d.datatypes[0]?", "+un+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)w.setrequestheader(o,d.headers[o]);if(d.beforesend&&(d.beforesend.call(p,w,d)===!1||2===b))return w.abort();x="abort";for(o in{success:1,error:1,complete:1})w[o](d[o]);if(c=m(zn,d,e,w)){w.readystate=1,l&&h.trigger("ajaxsend",[w,d]),d.async&&d.timeout>0&&(s=settimeout(function(){w.abort("timeout")},d.timeout));try{b=1,c.send(v,n)}catch(t){if(!(2>b))throw t;n(-1,t)}}else n(-1,"no transport");return w},getjson:function(t,e,n){return oe.get(t,e,n,"json")},getscript:function(t,e){return oe.get(t,void 0,e,"script")}}),oe.each(["get","post"],function(t,e){oe[e]=function(t,n,i,o){return oe.isfunction(n)&&(o=o||i,i=n,n=void 0),oe.ajax({url:t,type:e,datatype:o,data:n,success:i})}}),oe.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],function(t,e){oe.fn[e]=function(t){return this.on(e,t)}}),oe._evalurl=function(t){return oe.ajax({url:t,type:"get",datatype:"script",async:!1,global:!1,"throws":!0})},oe.fn.extend({wrapall:function(t){if(oe.isfunction(t))return this.each(function(e){oe(this).wrapall(t.call(this,e))});if(this[0]){var e=oe(t,this[0].ownerdocument).eq(0).clone(!0);this[0].parentnode&&e.insertbefore(this[0]),e.map(function(){for(var t=this;t.firstchild&&1===t.firstchild.nodetype;)t=t.firstchild;return t}).append(this)}return this},wrapinner:function(t){return this.each(oe.isfunction(t)?function(e){oe(this).wrapinner(t.call(this,e))}:function(){var e=oe(this),n=e.contents();n.length?n.wrapall(t):e.append(t)})},wrap:function(t){var e=oe.isfunction(t);return this.each(function(n){oe(this).wrapall(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){oe.nodename(this,"body")||oe(this).replacewith(this.childnodes)}).end()}}),oe.expr.filters.hidden=function(t){return t.offsetwidth<=0&&t.offsetheight<=0||!ne.reliablehiddenoffsets()&&"none"===(t.style&&t.style.display||oe.css(t,"display"))},oe.expr.filters.visible=function(t){return!oe.expr.filters.hidden(t)};var vn=/%20/g,qn=/\[\]$/,kn=/\r?\n/g,gn=/^(?:submit|button|image|reset|file)$/i,yn=/^(?:input|select|textarea|keygen)/i;oe.param=function(t,e){var n,i=[],o=function(t,e){e=oe.isfunction(e)?e():null==e?"":e,i[i.length]=encodeuricomponent(t)+"="+encodeuricomponent(e)};if(void 0===e&&(e=oe.ajaxsettings&&oe.ajaxsettings.traditional),oe.isarray(t)||t.jquery&&!oe.isplainobject(t))oe.each(t,function(){o(this.name,this.value)});else for(n in t)z(n,t[n],e,o);return i.join("&").replace(vn,"+")},oe.fn.extend({serialize:function(){return oe.param(this.serializearray())},serializearray:function(){return this.map(function(){var t=oe.prop(this,"elements");return t?oe.makearray(t):this}).filter(function(){var t=this.type;return this.name&&!oe(this).is(":disabled")&&yn.test(this.nodename)&&!gn.test(t)&&(this.checked||!$e.test(t))}).map(function(t,e){var n=oe(this).val();return null==n?null:oe.isarray(n)?oe.map(n,function(t){return{name:e.name,value:t.replace(kn,"\r\n")}}):{name:e.name,value:n.replace(kn,"\r\n")}}).get()}}),oe.ajaxsettings.xhr=void 0!==t.activexobject?function(){return!this.islocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&u()||x()}:u;var zn=0,jn={},ti=oe.ajaxsettings.xhr();t.activexobject&&oe(t).on("unload",function(){for(var t in jn)jn[t](void 0,!0)}),ne.cors=!!ti&&"withcredentials"in ti,ti=ne.ajax=!!ti,ti&&oe.ajaxtransport(function(t){if(!t.crossdomain||ne.cors){var e;return{send:function(n,i){var o,r=t.xhr(),a=++zn;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrfields)for(o in t.xhrfields)r[o]=t.xhrfields[o];t.mimetype&&r.overridemimetype&&r.overridemimetype(t.mimetype),t.crossdomain||n["x-requested-with"]||(n["x-requested-with"]="xmlhttprequest");for(o in n)void 0!==n[o]&&r.setrequestheader(o,n[o]+"");r.send(t.hascontent&&t.data||null),e=function(n,o){var s,l,c;if(e&&(o||4===r.readystate))if(delete jn[a],e=void 0,r.onreadystatechange=oe.noop,o)4!==r.readystate&&r.abort();else{c={},s=r.status,"string"==typeof r.responsetext&&(c.text=r.responsetext);try{l=r.statustext}catch(u){l=""}s||!t.islocal||t.crossdomain?1223===s&&(s=204):s=c.text?200:404}c&&i(s,l,c,r.getallresponseheaders())},t.async?4===r.readystate?settimeout(e):r.onreadystatechange=jn[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),oe.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return oe.globaleval(t),t}}}),oe.ajaxprefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossdomain&&(t.type="get",t.global=!1)}),oe.ajaxtransport("script",function(t){if(t.crossdomain){var e,n=fe.head||oe("head")[0]||fe.documentelement;return{send:function(i,o){e=fe.createelement("script"),e.async=!0,t.scriptcharset&&(e.charset=t.scriptcharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readystate||/loaded|complete/.test(e.readystate))&&(e.onload=e.onreadystatechange=null,e.parentnode&&e.parentnode.removechild(e),e=null,n||o(200,"success"))},n.insertbefore(e,n.firstchild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ei=[],ni=/(=)\?(?=&|$)|\?\?/;oe.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var t=ei.pop()||oe.expando+"_"+jn++;return this[t]=!0,t}}),oe.ajaxprefilter("json jsonp",function(e,n,i){var o,r,a,s=e.jsonp!==!1&&(ni.test(e.url)?"url":"string"==typeof e.data&&!(e.contenttype||"").indexof("application/x-www-form-urlencoded")&&ni.test(e.data)&&"data");return s||"jsonp"===e.datatypes[0]?(o=e.jsonpcallback=oe.isfunction(e.jsonpcallback)?e.jsonpcallback():e.jsonpcallback,s?e[s]=e[s].replace(ni,"$1"+o):e.jsonp!==!1&&(e.url+=(on.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||oe.error(o+" was not called"),a[0]},e.datatypes[0]="json",r=t[o],t[o]=function(){a=arguments},i.always(function(){t[o]=r,e[o]&&(e.jsonpcallback=n.jsonpcallback,ei.push(o)),a&&oe.isfunction(r)&&r(a[0]),a=r=void 0}),"script"):void 0}),oe.parsehtml=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||fe;var i=de.exec(t),o=!n&&[];return i?[e.createelement(i[1])]:(i=oe.buildfragment([t],e,o),o&&o.length&&oe(o).remove(),oe.merge([],i.childnodes))};var ii=oe.fn.load;oe.fn.load=function(t,e,n){if("string"!=typeof t&&ii)return ii.apply(this,arguments);var i,o,r,a=this,s=t.indexof(" ");return s>=0&&(i=oe.trim(t.slice(s,t.length)),t=t.slice(0,s)),oe.isfunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="post"),a.length>0&&oe.ajax({url:t,type:r,datatype:"html",data:e}).done(function(t){o=arguments,a.html(i?oe("").append(oe.parsehtml(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,o||[t.responsetext,e,t])}),this},oe.expr.filters.animated=function(t){return oe.grep(oe.timers,function(e){return t===e.elem}).length};var oi=t.document.documentelement;oe.offset={setoffset:function(t,e,n){var i,o,r,a,s,l,c,u=oe.css(t,"position"),d=oe(t),p={};"static"===u&&(t.style.position="relative"),s=d.offset(),r=oe.css(t,"top"),l=oe.css(t,"left"),c=("absolute"===u||"fixed"===u)&&oe.inarray("auto",[r,l])>-1,c?(i=d.position(),a=i.top,o=i.left):(a=parsefloat(r)||0,o=parsefloat(l)||0),oe.isfunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(p.top=e.top-s.top+a),null!=e.left&&(p.left=e.left-s.left+o),"using"in e?e.using.call(t,p):d.css(p)}},oe.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){oe.offset.setoffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],r=o&&o.ownerdocument;if(r)return e=r.documentelement,oe.contains(e,o)?(typeof o.getboundingclientrect!==ce&&(i=o.getboundingclientrect()),n=v(r),{top:i.top+(n.pageyoffset||e.scrolltop)-(e.clienttop||0),left:i.left+(n.pagexoffset||e.scrollleft)-(e.clientleft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===oe.css(i,"position")?e=i.getboundingclientrect():(t=this.offsetparent(),e=this.offset(),oe.nodename(t[0],"html")||(n=t.offset()),n.top+=oe.css(t[0],"bordertopwidth",!0),n.left+=oe.css(t[0],"borderleftwidth",!0)),{top:e.top-n.top-oe.css(i,"margintop",!0),left:e.left-n.left-oe.css(i,"marginleft",!0)}}},offsetparent:function(){return this.map(function(){for(var t=this.offsetparent||oi;t&&!oe.nodename(t,"html")&&"static"===oe.css(t,"position");)t=t.offsetparent;return t||oi})}}),oe.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(t,e){var n=/y/.test(e);oe.fn[t]=function(i){return de(this,function(t,i,o){var r=v(t);return void 0===o?r?e in r?r[e]:r.document.documentelement[i]:t[i]:void(r?r.scrollto(n?oe(r).scrollleft():o,n?o:oe(r).scrolltop()):t[i]=o)},t,i,arguments.length,null)}}),oe.each(["top","left"],function(t,e){oe.csshooks[e]=s(ne.pixelposition,function(t,n){return n?(n=en(t,e),on.test(n)?oe(t).position()[e]+"px":n):void 0})}),oe.each({height:"height",width:"width"},function(t,e){oe.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){oe.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return de(this,function(e,n,i){var o;return oe.iswindow(e)?e.document.documentelement["client"+t]:9===e.nodetype?(o=e.documentelement,math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?oe.css(e,n,a):oe.style(e,n,i,a)},e,r?i:void 0,r,null)}})}),oe.fn.size=function(){return this.length},oe.fn.andself=oe.fn.addback,"function"==typeof define&&define.amd&&define("jquery",[],function(){return oe});var ri=t.jquery,ai=t.$;return oe.noconflict=function(e){return t.$===oe&&(t.$=ai),e&&t.jquery===oe&&(t.jquery=ri),oe},typeof e===ce&&(t.jquery=t.$=oe),oe}),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.rails=n={linkclickselector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with], a[data-disable]",buttonclickselector:"button[data-remote]:not(form button), button[data-confirm]:not(form button)",inputchangeselector:"select[data-remote], input[data-remote], textarea[data-remote]",formsubmitselector:"form",forminputclickselector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableselector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableselector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredinputselector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileinputselector:"input[type=file]",linkdisableselector:"a[data-disable-with], a[data-disable]",buttondisableselector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfprotection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setrequestheader("x-csrf-token",n)},refreshcsrftokens:function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)},fire:function(e,n,i){var o=t.event(n);return e.trigger(o,i),o.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleremote:function(i){var o,r,a,s,l,c,u,d;if(n.fire(i,"ajax:before")){if(s=i.data("cross-domain"),l=s===e?null:s,c=i.data("with-credentials")||null,u=i.data("type")||t.ajaxsettings&&t.ajaxsettings.datatype,i.is("form")){o=i.attr("method"),r=i.attr("action"),a=i.serializearray();var p=i.data("ujs:submit-button");p&&(a.push(p),i.data("ujs:submit-button",null))}else i.is(n.inputchangeselector)?(o=i.data("method"),r=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):i.is(n.buttonclickselector)?(o=i.data("method")||"get",r=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):(o=i.data("method"),r=n.href(i),a=i.data("params")||null);
return d={type:o||"get",data:a,datatype:u,beforesend:function(t,o){return o.datatype===e&&t.setrequestheader("accept","*/*;q=0.5, "+o.accepts.script),n.fire(i,"ajax:beforesend",[t,o])?void i.trigger("ajax:send",t):!1},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossdomain:l},c&&(d.xhrfields={withcredentials:c}),r&&(d.url=r),n.ajax(d)}return!1},handlemethod:function(i){var o=n.href(i),r=i.data("method"),a=i.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),c=t('
'),u='
';l!==e&&s!==e&&(u+='
'),a&&c.attr("target",a),c.hide().append(u).appendto("body"),c.submit()},formelements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableformelements:function(e){n.formelements(e,n.disableselector).each(function(){n.disableformelement(t(this))})},disableformelement:function(t){var n,i;n=t.is("button")?"html":"val",i=t.data("disable-with"),t.data("ujs:enable-with",t[n]()),i!==e&&t[n](i),t.prop("disabled",!0)},enableformelements:function(e){n.formelements(e,n.enableselector).each(function(){n.enableformelement(t(this))})},enableformelement:function(t){var e=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)},allowaction:function(t){var e,i=t.data("confirm"),o=!1;return i?(n.fire(t,"confirm")&&(o=n.confirm(i),e=n.fire(t,"confirm:complete",[o])),o&&e):!0},blankinputs:function(e,n,i){var o,r,a=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(o=t(this),r=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):o.val(),!r==!i){if(o.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+o.attr("name")+'"]').length)return!0;a=a.add(o)}}),a.length?a:!1},nonblankinputs:function(t,e){return n.blankinputs(t,e,!0)},stopeverything:function(e){return t(e.target).trigger("ujs:everythingstopped"),e.stopimmediatepropagation(),!1},disableelement:function(t){var i=t.data("disable-with");t.data("ujs:enable-with",t.html()),i!==e&&t.html(i),t.bind("click.railsdisable",function(t){return n.stopeverything(t)})},enableelement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removedata("ujs:enable-with")),t.unbind("click.railsdisable")}},n.fire(i,"rails:attachbindings")&&(t.ajaxprefilter(function(t,e,i){t.crossdomain||n.csrfprotection(i)}),i.delegate(n.linkdisableselector,"ajax:complete",function(){n.enableelement(t(this))}),i.delegate(n.buttondisableselector,"ajax:complete",function(){n.enableformelement(t(this))}),i.delegate(n.linkclickselector,"click.rails",function(i){var o=t(this),r=o.data("method"),a=o.data("params"),s=i.metakey||i.ctrlkey;if(!n.allowaction(o))return n.stopeverything(i);if(!s&&o.is(n.linkdisableselector)&&n.disableelement(o),o.data("remote")!==e){if(s&&(!r||"get"===r)&&!a)return!0;var l=n.handleremote(o);return l===!1?n.enableelement(o):l.error(function(){n.enableelement(o)}),!1}return o.data("method")?(n.handlemethod(o),!1):void 0}),i.delegate(n.buttonclickselector,"click.rails",function(e){var i=t(this);if(!n.allowaction(i))return n.stopeverything(e);i.is(n.buttondisableselector)&&n.disableformelement(i);var o=n.handleremote(i);return o===!1?n.enableformelement(i):o.error(function(){n.enableformelement(i)}),!1}),i.delegate(n.inputchangeselector,"change.rails",function(e){var i=t(this);return n.allowaction(i)?(n.handleremote(i),!1):n.stopeverything(e)}),i.delegate(n.formsubmitselector,"submit.rails",function(i){var o,r,a=t(this),s=a.data("remote")!==e;if(!n.allowaction(a))return n.stopeverything(i);if(a.attr("novalidate")==e&&(o=n.blankinputs(a,n.requiredinputselector),o&&n.fire(a,"ajax:aborted:required",[o])))return n.stopeverything(i);if(s){if(r=n.nonblankinputs(a,n.fileinputselector)){settimeout(function(){n.disableformelements(a)},13);var l=n.fire(a,"ajax:aborted:file",[r]);return l||settimeout(function(){n.enableformelements(a)},13),l}return n.handleremote(a),!1}settimeout(function(){n.disableformelements(a)},13)}),i.delegate(n.forminputclickselector,"click.rails",function(e){var i=t(this);if(!n.allowaction(i))return n.stopeverything(e);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null;i.closest("form").data("ujs:submit-button",r)}),i.delegate(n.formsubmitselector,"ajax:send.rails",function(e){this==e.target&&n.disableformelements(t(this))}),i.delegate(n.formsubmitselector,"ajax:complete.rails",function(e){this==e.target&&n.enableformelements(t(this))}),t(function(){n.refreshcsrftokens()}))}(jquery),function(){var t,e,n,i,o,r,a,s,l,c,u,d,p,h,f,m,g,v,y,b,x,w,t,c,e,k,s,n,a,d,$,j,o,l,_,h,r,i,p,f,m,q,w,b,z,u,x,v,q,k,g,y,z,j,te,ee,ne=[].indexof||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},ie={}.hasownproperty,oe=function(t,e){function n(){this.constructor=t}for(var i in e)ie.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},re=[].slice,ae=function(t,e){return function(){return t.apply(e,arguments)}};l={},p=10,g=!1,p=null,y=null,j=null,m=null,te=null,i={before_change:"page:before-change",fetch:"page:fetch",receive:"page:receive",change:"page:change",update:"page:update",load:"page:load",restore:"page:restore",before_unload:"page:before-unload",expire:"page:expire"},c=function(t){var e;return t=new n(t),u(),d(),null!=p&&p.start(),g&&(e=y(t.absolute))?(e(e),k(t,null,!1)):k(t,q)},y=function(t){var e;return e=l[t],e&&!e.transitioncachedisabled?e:void 0},x=function(t){return null==t&&(t=!0),g=t},b=function(t){return null==t&&(t=!0),c?t?null!=p?p:p=new r("html"):(null!=p&&p.uninstall(),p=null):void 0},k=function(t,e,n){return null==n&&(n=!0),z(i.fetch,{url:t.absolute}),null!=te&&te.abort(),te=new xmlhttprequest,te.open("get",t.withouthashforie10compatibility(),!0),te.setrequestheader("accept","text/html, application/xhtml+xml, application/xml"),te.setrequestheader("x-xhr-referer",m),te.onload=function(){var n;return z(i.receive,{url:t.absolute}),(n=i())?(q(t),w(),h.apply(null,t(n)),o(),"function"==typeof e&&e(),z(i.load)):document.location.href=v()||t.absolute},p&&n&&(te.onprogress=function(){return function(t){var e;return e=t.lengthcomputable?t.loaded/t.total*100:p.value+(100-p.value)/10,p.advanceto(e)}}(this)),te.onloadend=function(){return te=null},te.onerror=function(){return document.location.href=t.absolute},te.send()},e=function(t){return null!=te&&te.abort(),h(t.title,t.body),f(t),z(i.restore)},d=function(){var t;return t=new n(y.url),l[t.absolute]={url:t.relative,body:document.body,title:document.title,positiony:window.pageyoffset,positionx:window.pagexoffset,cachedat:(new date).gettime(),transitioncachedisabled:null!=document.queryselector("[data-no-transition-cache]")},m(p)},h=function(t){return null==t&&(t=p),/^[\d]+$/.test(t)?p=parseint(t):void 0},m=function(t){var e,n,o,r,a,s;for(o=object.keys(l),e=o.map(function(t){return l[t].cachedat}).sort(function(t,e){return e-t}),s=[],r=0,a=o.length;a>r;r++)n=o[r],l[n].cachedat<=e[t]&&(z(i.expire,l[n]),s.push(delete l[n]));return s},h=function(e,n,o,r){return z(i.before_unload),document.title=e,document.documentelement.replacechild(n,document.body),null!=o&&t.update(o),k(),r&&w(),y=window.history.state,null!=p&&p.done(),z(i.change),z(i.update)},w=function(){var t,e,n,i,o,r,a,s,l,c,u,d;for(r=array.prototype.slice.call(document.body.queryselectorall('script:not([data-turbolinks-eval="false"])')),a=0,l=r.length;l>a;a++)if(o=r[a],""===(u=o.type)||"text/javascript"===u){for(e=document.createelement("script"),d=o.attributes,s=0,c=d.length;c>s;s++)t=d[s],e.setattribute(t.name,t.value);o.hasattribute("async")||(e.async=!1),e.appendchild(document.createtextnode(o.innerhtml)),i=o.parentnode,n=o.nextsibling,i.removechild(o),i.insertbefore(e,n)}},x=function(t){return t.innerhtml=t.innerhtml.replace(/