"!==c[1]||fe.test(o)?0:s:s.firstchild)&&o.childnodes.length;i--;)k.nodename(u=o.childnodes[i],"tbody")&&!u.childnodes.length&&o.removechild(u);for(k.merge(p,s.childnodes),s.textcontent="";s.firstchild;)s.removechild(s.firstchild);s=f.lastchild}else p.push(t.createtextnode(o));for(s&&f.removechild(s),g.appendchecked||k.grep(m(p,"input"),g),v=0;o=p[v++];)if((!r||-1===k.inarray(o,r))&&(a=k.contains(o.ownerdocument,o),s=m(f.appendchild(o),"script"),a&&x(s),n))for(i=0;o=s[i++];)re.test(o.type||"")&&n.push(o);return s=null,f},cleandata:function(e,t){for(var n,r,i,o,a=0,s=k.expando,l=k.cache,u=g.deleteexpando,c=k.event.special;null!=(n=e[a]);a++)if((t||k.acceptdata(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?k.event.remove(n,r):k.removeevent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeattribute!==ve?n.removeattribute(s):n[s]=null,$.push(i))}}}),k.fn.extend({text:function(e){return ce(this,(function(e){return void 0===e?k.text(this):this.empty().append((this[0]&&this[0].ownerdocument||le).createtextnode(e))}),null,e,arguments.length)},append:function(){return this.dommanip(arguments,(function(e){1!==this.nodetype&&11!==this.nodetype&&9!==this.nodetype||v(this,e).appendchild(e)}))},prepend:function(){return this.dommanip(arguments,(function(e){if(1===this.nodetype||11===this.nodetype||9===this.nodetype){var t=v(this,e);t.insertbefore(e,t.firstchild)}}))},before:function(){return this.dommanip(arguments,(function(e){this.parentnode&&this.parentnode.insertbefore(e,this)}))},after:function(){return this.dommanip(arguments,(function(e){this.parentnode&&this.parentnode.insertbefore(e,this.nextsibling)}))},remove:function(e,t){for(var n,r=e?k.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodetype||k.cleandata(m(n)),n.parentnode&&(t&&k.contains(n.ownerdocument,n)&&x(m(n,"script")),n.parentnode.removechild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodetype&&k.cleandata(m(e,!1));e.firstchild;)e.removechild(e.firstchild);e.options&&k.nodename(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return ce(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodetype?t.innerhtml.replace(le,""):void 0;if(!("string"!=typeof e||be.test(e)||!g.htmlserialize&&he.test(e)||!g.leadingwhitespace&&qe.test(e)||ze[(me.exec(e)||["",""])[1].tolowercase()])){e=e.replace(_e,"<$1>$2>");try{for(;r>n;n++)1===(t=this[n]||{}).nodetype&&(k.cleandata(m(t,!1)),t.innerhtml=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replacewith:function(){var e=arguments[0];return this.dommanip(arguments,(function(t){e=this.parentnode,k.cleandata(m(this)),e&&e.replacechild(t,this)})),e&&(e.length||e.nodetype)?this:this.remove()},detach:function(e){return this.remove(e,!0)},dommanip:function(e,t){e=i.apply([],e);var n,r,i,o,a,s,l=0,u=this.length,c=this,d=u-1,f=e[0],p=k.isfunction(f);if(p||u>1&&"string"==typeof f&&!g.checkclone&&pe.test(f))return this.each((function(n){var r=c.eq(n);p&&(e[0]=f.call(this,n,r.html())),r.dommanip(e,t)}));if(u&&(n=(s=k.buildfragment(e,this[0].ownerdocument,!1,this)).firstchild,1===s.childnodes.length&&(s=n),n)){for(i=(o=k.map(m(s,"script"),y)).length;u>l;l++)r=s,l!==d&&(r=k.clone(r,!0,!0),i&&k.merge(o,m(r,"script"))),t.call(this[l],r,l);if(i)for(a=o[o.length-1].ownerdocument,k.map(o,b),l=0;i>l;l++)r=o[l],re.test(r.type||"")&&!k._data(r,"globaleval")&&k.contains(a,r)&&(r.src?k._evalurl&&k._evalurl(r.src):k.globaleval((r.text||r.textcontent||r.innerhtml||"").replace($e,"")));s=n=null}return this}}),k.each({appendto:"append",prependto:"prepend",insertbefore:"before",insertafter:"after",replaceall:"replacewith"},(function(e,t){k.fn[e]=function(e){for(var n,r=0,i=[],o=k(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),k(o[r])[t](n),x.apply(i,n.get());return this.pushstack(i)}}));var xe,ue={};!function(){var e;g.shrinkwrapblocks=function(){return null!=e?e:(e=!1,(n=le.getelementsbytagname("body")[0])&&n.style?(t=le.createelement("div"),(r=le.createelement("div")).style.csstext="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendchild(r).appendchild(t),typeof t.style.zoom!==ve&&(t.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",t.appendchild(le.createelement("div")).style.width="5px",e=3!==t.offsetwidth),n.removechild(r),e):void 0);var t,n,r}}();var ve,je,ye=/^margin/,ge=new regexp("^("+xe+")(?!px)[a-z%]+$","i"),qe=/^(top|right|bottom|left)$/;e.getcomputedstyle?(ve=function(t){return t.ownerdocument.defaultview.opener?t.ownerdocument.defaultview.getcomputedstyle(t,null):e.getcomputedstyle(t,null)},je=function(e,t,n){var r,i,o,a,s=e.style;return a=(n=n||ve(e))?n.getpropertyvalue(t)||n[t]:void 0,n&&(""!==a||k.contains(e.ownerdocument,e)||(a=k.style(e,t)),ge.test(a)&&ye.test(t)&&(r=s.width,i=s.minwidth,o=s.maxwidth,s.minwidth=s.maxwidth=s.width=a,a=n.width,s.width=r,s.minwidth=i,s.maxwidth=o)),void 0===a?a:a+""}):le.documentelement.currentstyle&&(ve=function(e){return e.currentstyle},je=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||ve(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),ge.test(a)&&!qe.test(t)&&(r=s.left,(o=(i=e.runtimestyle)&&i.left)&&(i.left=e.currentstyle.left),s.left="fontsize"===t?"1em":a,a=s.pixelleft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){function t(){var t,n,r,i;(n=le.getelementsbytagname("body")[0])&&n.style&&(t=le.createelement("div"),(r=le.createelement("div")).style.csstext="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendchild(r).appendchild(t),t.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",o=a=!1,l=!0,e.getcomputedstyle&&(o="1%"!==(e.getcomputedstyle(t,null)||{}).top,a="4px"===(e.getcomputedstyle(t,null)||{width:"4px"}).width,(i=t.appendchild(le.createelement("div"))).style.csstext=t.style.csstext="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginright=i.style.width="0",t.style.width="1px",l=!parsefloat((e.getcomputedstyle(i,null)||{}).marginright),t.removechild(i)),t.innerhtml="",(i=t.getelementsbytagname("td"))[0].style.csstext="margin:0;border:0;padding:0;display:none",(s=0===i[0].offsetheight)&&(i[0].style.display="",i[1].style.display="none",s=0===i[0].offsetheight),n.removechild(r))}var n,r,i,o,a,s,l;(n=le.createelement("div")).innerhtml=" a",(r=(i=n.getelementsbytagname("a")[0])&&i.style)&&(r.csstext="float:left;opacity:.5",g.opacity="0.5"===r.opacity,g.cssfloat=!!r.cssfloat,n.style.backgroundclip="content-box",n.clonenode(!0).style.backgroundclip="",g.clearclonestyle="content-box"===n.style.backgroundclip,g.boxsizing=""===r.boxsizing||""===r.mozboxsizing||""===r.webkitboxsizing,k.extend(g,{reliablehiddenoffsets:function(){return null==s&&t(),s},boxsizingreliable:function(){return null==a&&t(),a},pixelposition:function(){return null==o&&t(),o},reliablemarginright:function(){return null==l&&t(),l}}))}(),k.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};var ke=/alpha\([^)]*\)/i,ze=/opacity\s*=\s*([^)]*)/,et=/^(none|table(?!-c[ea]).+)/,tt=new regexp("^("+xe+")(.*)$","i"),nt=new regexp("^([+-])=("+xe+")","i"),rt={position:"absolute",visibility:"hidden",display:"block"},it={letterspacing:"0",fontweight:"400"},ot=["webkit","o","moz","ms"];k.extend({csshooks:{opacity:{get:function(e,t){if(t){var n=je(e,"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:g.cssfloat?"cssfloat":"stylefloat"},style:function(e,t,n,r){if(e&&3!==e.nodetype&&8!==e.nodetype&&e.style){var i,o,a,s=k.camelcase(t),l=e.style;if(t=k.cssprops[s]||(k.cssprops[s]=k(l,s)),a=k.csshooks[t]||k.csshooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if("string"===(o=typeof n)&&(i=nt.exec(n))&&(n=(i[1]+1)*i[2]+parsefloat(k.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||k.cssnumber[s]||(n+="px"),g.clearclonestyle||""!==n||0!==t.indexof("background")||(l[t]="inherit"),!a||!("set"in a)||void 0!==(n=a.set(e,n,r))))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=k.camelcase(t);return t=k.cssprops[s]||(k.cssprops[s]=k(e.style,s)),(a=k.csshooks[t]||k.csshooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=je(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parsefloat(o),!0===n||k.isnumeric(i)?i||0:o):o}}),k.each(["height","width"],(function(e,t){k.csshooks[t]={get:function(e,n,r){return n?et.test(k.css(e,"display"))&&0===e.offsetwidth?k.swap(e,rt,(function(){return j(e,t,r)})):j(e,t,r):void 0},set:function(e,n,r){var i=r&&ve(e);return a(0,n,r?d(e,t,r,g.boxsizing&&"border-box"===k.css(e,"boxsizing",!1,i),i):0)}}})),g.opacity||(k.csshooks.opacity={get:function(e,t){return ze.test((t&&e.currentstyle?e.currentstyle.filter:e.style.filter)||"")?.01*parsefloat(regexp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentstyle,i=k.isnumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===k.trim(o.replace(ke,""))&&n.removeattribute&&(n.removeattribute("filter"),""===t||r&&!r.filter)||(n.filter=ke.test(o)?o.replace(ke,i):o+" "+i)}}),k.csshooks.marginright=e(g.reliablemarginright,(function(e,t){return t?k.swap(e,{display:"inline-block"},je,[e,"marginright"]):void 0})),k.each({margin:"",padding:"",border:"width"},(function(e,t){k.csshooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+we[r]+t]=o[r]||o[r-2]||o[0];return i}},ye.test(e)||(k.csshooks[e+t].set=a)})),k.fn.extend({css:function(e,t){return ce(this,(function(e,t,n){var r,i,o={},a=0;if(k.isarray(t)){for(r=ve(e),i=t.length;i>a;a++)o[t[a]]=k.css(e,t[a],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)},show:function(){return s(this,!0)},hide:function(){return s(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){te(this)?k(this).show():k(this).hide()}))}}),k.tween=l,l.prototype={constructor:l,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssnumber[n]?"":"px")},cur:function(){var e=l.prophooks[this.prop];return e&&e.get?e.get(this):l.prophooks._default.get(this)},run:function(e){var t,n=l.prophooks[this.prop];return this.pos=t=this.options.duration?k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):l.prophooks._default.set(this),this}},l.prototype.init.prototype=l.prototype,l.prophooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[k.cssprops[e.prop]]||k.csshooks[e.prop])?k.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},l.prophooks.scrolltop=l.prophooks.scrollleft={set:function(e){e.elem.nodetype&&e.elem.parentnode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-math.cos(e*math.pi)/2}},k.fx=l.prototype.init,k.fx.step={};var at,st,lt=/^(?:toggle|show|hide)$/,ut=new regexp("^(?:([+-])=|)("+xe+")([a-z%]*)$","i"),ct=/queuehooks$/,dt=[function(e,t,n){var r,i,o,a,s,l,u,c=this,d={},f=e.style,p=e.nodetype&&te(e),h=k._data(e,"fxshow");for(r in n.queue||(null==(s=k._queuehooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always((function(){c.always((function(){s.unqueued--,k.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodetype&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowx,f.overflowy],"inline"===("none"===(u=k.css(e,"display"))?k._data(e,"olddisplay")||n(e.nodename):u)&&"none"===k.css(e,"float")&&(g.inlineblockneedslayout&&"inline"!==n(e.nodename)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",g.shrinkwrapblocks()||c.always((function(){f.overflow=n.overflow[0],f.overflowx=n.overflow[1],f.overflowy=n.overflow[2]}))),t)if(i=t[r],lt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;p=!0}d[r]=h&&h[r]||k.style(e,r)}else u=void 0;if(k.isemptyobject(d))"inline"===("none"===u?n(e.nodename):u)&&(f.display=u);else for(r in h?"hidden"in h&&(p=h.hidden):h=k._data(e,"fxshow",{}),o&&(h.hidden=!p),p?k(e).show():c.done((function(){k(e).hide()})),c.done((function(){var t;for(t in k._removedata(e,"fxshow"),d)k.style(e,t,d[t])})),d)a=_(p?h[r]:0,r,c),r in h||(h[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],ft={"*":[function(e,t){var n=this.createtween(e,t),r=n.cur(),i=ut.exec(t),o=i&&i[3]||(k.cssnumber[e]?"":"px"),a=(k.cssnumber[e]||"px"!==o&&+r)&&ut.exec(k.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{a/=s=s||".5",k.style(n.elem,e,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};k.animation=k.extend(m,{tweener:function(e,t){k.isfunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],ft[n]=ft[n]||[],ft[n].unshift(t)},prefilter:function(e,t){t?dt.unshift(e):dt.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||k.isfunction(e)&&e,duration:e,easing:n&&t||t&&!k.isfunction(t)&&t};return r.duration=k.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in k.fx.speeds?k.fx.speeds[r.duration]:k.fx.speeds._default,(null==r.queue||!0===r.queue)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){k.isfunction(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeto:function(e,t,n,r){return this.filter(te).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=k.isemptyobject(e),o=k.speed(t,n,r),a=function(){var t=m(this,k.extend({},e),o);(i||k._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queuehooks",o=k.timers,a=k._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ct.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=k._data(this),r=n[e+"queue"],i=n[e+"queuehooks"],o=k.timers,a=r?r.length:0;for(n.finish=!0,k.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(q(t,!0),e,r,i)}})),k.each({slidedown:q("show"),slideup:q("hide"),slidetoggle:q("toggle"),fadein:{opacity:"show"},fadeout:{opacity:"hide"},fadetoggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),k.timers=[],k.fx.tick=function(){var e,t=k.timers,n=0;for(at=k.now();na",r=t.getelementsbytagname("a")[0],i=(n=le.createelement("select")).appendchild(le.createelement("option")),e=t.getelementsbytagname("input")[0],r.style.csstext="top:1px",g.getsetattribute="t"!==t.classname,g.style=/top/.test(r.getattribute("style")),g.hrefnormalized="/a"===r.getattribute("href"),g.checkon=!!e.value,g.optselected=i.selected,g.enctype=!!le.createelement("form").enctype,n.disabled=!0,g.optdisabled=!i.disabled,(e=le.createelement("input")).setattribute("value",""),g.input=""===e.getattribute("value"),e.value="t",e.setattribute("type","radio"),g.radiovalue="t"===e.value}();var pt=/\r/g;k.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=k.isfunction(e),this.each((function(n){var i;1===this.nodetype&&(null==(i=r?e.call(this,n,k(this).val()):e)?i="":"number"==typeof i?i+="":k.isarray(i)&&(i=k.map(i,(function(e){return null==e?"":e+""}))),(t=k.valhooks[this.type]||k.valhooks[this.nodename.tolowercase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=k.valhooks[i.type]||k.valhooks[i.nodename.tolowercase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(pt,""):null==n?"":n:void 0}}),k.extend({valhooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:k.trim(k.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedindex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(!(!(n=r[l]).selected&&l!==i||(g.optdisabled?n.disabled:null!==n.getattribute("disabled"))||n.parentnode.disabled&&k.nodename(n.parentnode,"optgroup"))){if(t=k(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=k.makearray(t),a=i.length;a--;)if(r=i[a],k.inarray(k.valhooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(e){r.scrollheight}else r.selected=!1;return n||(e.selectedindex=-1),i}}}}),k.each(["radio","checkbox"],(function(){k.valhooks[this]={set:function(e,t){return k.isarray(t)?e.checked=k.inarray(k(e).val(),t)>=0:void 0}},g.checkon||(k.valhooks[this].get=function(e){return null===e.getattribute("value")?"on":e.value})}));var ht,mt,gt=k.expr.attrhandle,vt=/^(?:checked|selected)$/i,yt=g.getsetattribute,bt=g.input;k.fn.extend({attr:function(e,t){return ce(this,k.attr,e,t,arguments.length>1)},removeattr:function(e){return this.each((function(){k.removeattr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodetype;return e&&3!==o&&8!==o&&2!==o?typeof e.getattribute===ve?k.prop(e,t,n):(1===o&&k.isxmldoc(e)||(t=t.tolowercase(),r=k.attrhooks[t]||(k.expr.match.bool.test(t)?mt:ht)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=k.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setattribute(t,n+""),n):void k.removeattr(e,t)):void 0},removeattr:function(e,t){var n,r,i=0,o=t&&t.match(he);if(o&&1===e.nodetype)for(;n=o[i++];)r=k.propfix[n]||n,k.expr.match.bool.test(n)?bt&&yt||!vt.test(n)?e[r]=!1:e[k.camelcase("default-"+n)]=e[r]=!1:k.attr(e,n,""),e.removeattribute(yt?n:r)},attrhooks:{type:{set:function(e,t){if(!g.radiovalue&&"radio"===t&&k.nodename(e,"input")){var n=e.value;return e.setattribute("type",t),n&&(e.value=n),t}}}}}),mt={set:function(e,t,n){return!1===t?k.removeattr(e,n):bt&&yt||!vt.test(n)?e.setattribute(!yt&&k.propfix[n]||n,n):e[k.camelcase("default-"+n)]=e[n]=!0,n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=gt[t]||k.find.attr;gt[t]=bt&&yt||!vt.test(t)?function(e,t,r){var i,o;return r||(o=gt[t],gt[t]=i,i=null!=n(e,t,r)?t.tolowercase():null,gt[t]=o),i}:function(e,t,n){return n?void 0:e[k.camelcase("default-"+t)]?t.tolowercase():null}})),bt&&yt||(k.attrhooks.value={set:function(e,t,n){return k.nodename(e,"input")?void(e.defaultvalue=t):ht&&ht.set(e,t,n)}}),yt||(ht={set:function(e,t,n){var r=e.getattributenode(n);return r||e.setattributenode(r=e.ownerdocument.createattribute(n)),r.value=t+="","value"===n||t===e.getattribute(n)?t:void 0}},gt.id=gt.name=gt.coords=function(e,t,n){var r;return n?void 0:(r=e.getattributenode(t))&&""!==r.value?r.value:null},k.valhooks.button={get:function(e,t){var n=e.getattributenode(t);return n&&n.specified?n.value:void 0},set:ht.set},k.attrhooks.contenteditable={set:function(e,t,n){ht.set(e,""!==t&&t,n)}},k.each(["width","height"],(function(e,t){k.attrhooks[t]={set:function(e,n){return""===n?(e.setattribute(t,"auto"),n):void 0}}}))),g.style||(k.attrhooks.style={get:function(e){return e.style.csstext||void 0},set:function(e,t){return e.style.csstext=t+""}});var xt=/^(?:input|select|textarea|button|object)$/i,wt=/^(?:a|area)$/i;k.fn.extend({prop:function(e,t){return ce(this,k.prop,e,t,arguments.length>1)},removeprop:function(e){return e=k.propfix[e]||e,this.each((function(){try{this[e]=void 0,delete this[e]}catch(e){}}))}}),k.extend({propfix:{for:"htmlfor",class:"classname"},prop:function(e,t,n){var r,i,o=e.nodetype;return e&&3!==o&&8!==o&&2!==o?((1!==o||!k.isxmldoc(e))&&(t=k.propfix[t]||t,i=k.prophooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]):void 0},prophooks:{tabindex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseint(t,10):xt.test(e.nodename)||wt.test(e.nodename)&&e.href?0:-1}}}}),g.hrefnormalized||k.each(["href","src"],(function(e,t){k.prophooks[t]={get:function(e){return e.getattribute(t,4)}}})),g.optselected||(k.prophooks.selected={get:function(e){var t=e.parentnode;return t&&(t.selectedindex,t.parentnode&&t.parentnode.selectedindex),null}}),k.each(["tabindex","readonly","maxlength","cellspacing","cellpadding","rowspan","colspan","usemap","frameborder","contenteditable"],(function(){k.propfix[this.tolowercase()]=this})),g.enctype||(k.propfix.enctype="encoding");var tt=/[\t\r\n\f]/g;k.fn.extend({addclass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u="string"==typeof e&&e;if(k.isfunction(e))return this.each((function(t){k(this).addclass(e.call(this,t,this.classname))}));if(u)for(t=(e||"").match(he)||[];l>s;s++)if(r=1===(n=this[s]).nodetype&&(n.classname?(" "+n.classname+" ").replace(tt," "):" ")){for(o=0;i=t[o++];)r.indexof(" "+i+" ")<0&&(r+=i+" ");a=k.trim(r),n.classname!==a&&(n.classname=a)}return this},removeclass:function(e){var t,n,r,i,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(k.isfunction(e))return this.each((function(t){k(this).removeclass(e.call(this,t,this.classname))}));if(u)for(t=(e||"").match(he)||[];l>s;s++)if(r=1===(n=this[s]).nodetype&&(n.classname?(" "+n.classname+" ").replace(tt," "):"")){for(o=0;i=t[o++];)for(;r.indexof(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?k.trim(r):"",n.classname!==a&&(n.classname=a)}return this},toggleclass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addclass(e):this.removeclass(e):this.each(k.isfunction(e)?function(n){k(this).toggleclass(e.call(this,n,this.classname,t),t)}:function(){if("string"===n)for(var t,r=0,i=k(this),o=e.match(he)||[];t=o[r++];)i.hasclass(t)?i.removeclass(t):i.addclass(t);else(n===ve||"boolean"===n)&&(this.classname&&k._data(this,"__classname__",this.classname),this.classname=this.classname||!1===e?"":k._data(this,"__classname__")||"")})},hasclass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodetype&&(" "+this[n].classname+" ").replace(tt," ").indexof(t)>=0)return!0;return!1}}),k.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(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var ct=k.now(),nt=/\?/,et=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fa-f]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[ee][+-]?\d+|)/g;k.parsejson=function(t){if(e.json&&e.json.parse)return e.json.parse(t+"");var n,r=null,i=k.trim(t+"");return i&&!k.trim(i.replace(et,(function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")})))?function("return "+i)():k.error("invalid json: "+t)},k.parsexml=function(t){var n;if(!t||"string"!=typeof t)return null;try{e.domparser?n=(new domparser).parsefromstring(t,"text/xml"):((n=new activexobject("microsoft.xmldom")).async="false",n.loadxml(t))}catch(e){n=void 0}return n&&n.documentelement&&!n.getelementsbytagname("parsererror").length||k.error("invalid xml: "+t),n};var kt,st,at=/#.*$/,dt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,lt=/^(?:get|head)$/,ht=/^\/\//,qt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,_t={},mt={},ft="*/".concat("*");try{st=location.href}catch(e){(st=le.createelement("a")).href="",st=st.href}kt=qt.exec(st.tolowercase())||[],k.extend({active:0,lastmodified:{},etag:{},ajaxsettings:{url:st,type:"get",islocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt[1]),global:!0,processdata:!0,async:!0,contenttype:"application/x-www-form-urlencoded; charset=utf-8",accepts:{"*":ft,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":k.parsejson,"text xml":k.parsexml},flatoptions:{url:!0,context:!0}},ajaxsetup:function(e,t){return t?b(b(e,k.ajaxsettings),t):b(k.ajaxsettings,e)},ajaxprefilter:f(_t),ajaxtransport:f(mt),ajax:function(e,t){function n(e,t,n,r){var i,c,v,y,x,t=t;2!==b&&(b=2,s&&cleartimeout(s),u=void 0,a=r||"",w.readystate=e>0?4:0,i=e>=200&&300>e||304===e,n&&(y=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.datatypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimetype||t.getresponseheader("content-type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}(d,w,n)),y=function(e,t,n,r){var i,o,a,s,l,u={},c=e.datatypes.slice();if(c[1])for(a in e.converters)u[a.tolowercase()]=e.converters[a];for(o=c.shift();o;)if(e.responsefields[o]&&(n[e.responsefields[o]]=t),!l&&r&&e.datafilter&&(t=e.datafilter(t,e.datatype)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"no conversion from "+l+" to "+o}}}return{state:"success",data:t}}(d,y,w,i),i?(d.ifmodified&&((x=w.getresponseheader("last-modified"))&&(k.lastmodified[o]=x),(x=w.getresponseheader("etag"))&&(k.etag[o]=x)),204===e||"head"===d.type?t="nocontent":304===e?t="notmodified":(t=y.state,c=y.data,i=!(v=y.error))):(v=t,(e||!t)&&(t="error",0>e&&(e=0))),w.status=e,w.statustext=(t||t)+"",i?h.resolvewith(f,[c,t,w]):h.rejectwith(f,[w,t,v]),w.statuscode(g),g=void 0,l&&p.trigger(i?"ajaxsuccess":"ajaxerror",[w,d,i?c:v]),m.firewith(f,[w,t]),l&&(p.trigger("ajaxcomplete",[w,d]),--k.active||k.event.trigger("ajaxstop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,l,u,c,d=k.ajaxsetup({},t),f=d.context||d,p=d.context&&(f.nodetype||f.jquery)?k(f):k.event,h=k.deferred(),m=k.callbacks("once memory"),g=d.statuscode||{},v={},y={},b=0,x="canceled",w={readystate:0,getresponseheader:function(e){var t;if(2===b){if(!c)for(c={};t=jt.exec(a);)c[t[1].tolowercase()]=t[2];t=c[e.tolowercase()]}return null==t?null:t},getallresponseheaders:function(){return 2===b?a:null},setrequestheader:function(e,t){var n=e.tolowercase();return b||(e=y[n]=y[n]||e,v[e]=t),this},overridemimetype:function(e){return b||(d.mimetype=e),this},statuscode:function(e){var t;if(e)if(2>b)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return u&&u.abort(t),n(0,t),this}};if(h.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,d.url=((e||d.url||st)+"").replace(at,"").replace(ht,kt[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.datatypes=k.trim(d.datatype||"*").tolowercase().match(he)||[""],null==d.crossdomain&&(r=qt.exec(d.url.tolowercase()),d.crossdomain=!(!r||r[1]===kt[1]&&r[2]===kt[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(kt[3]||("http:"===kt[1]?"80":"443")))),d.data&&d.processdata&&"string"!=typeof d.data&&(d.data=k.param(d.data,d.traditional)),o(_t,d,t,w),2===b)return w;for(i in(l=k.event&&d.global)&&0==k.active++&&k.event.trigger("ajaxstart"),d.type=d.type.touppercase(),d.hascontent=!lt.test(d.type),o=d.url,d.hascontent||(d.data&&(o=d.url+=(nt.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=dt.test(o)?o.replace(dt,"$1_="+ct++):o+(nt.test(o)?"&":"?")+"_="+ct++)),d.ifmodified&&(k.lastmodified[o]&&w.setrequestheader("if-modified-since",k.lastmodified[o]),k.etag[o]&&w.setrequestheader("if-none-match",k.etag[o])),(d.data&&d.hascontent&&!1!==d.contenttype||t.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]?", "+ft+"; q=0.01":""):d.accepts["*"]),d.headers)w.setrequestheader(i,d.headers[i]);if(d.beforesend&&(!1===d.beforesend.call(f,w,d)||2===b))return w.abort();for(i in x="abort",{success:1,error:1,complete:1})w[i](d[i]);if(u=o(mt,d,t,w)){w.readystate=1,l&&p.trigger("ajaxsend",[w,d]),d.async&&d.timeout>0&&(s=settimeout((function(){w.abort("timeout")}),d.timeout));try{b=1,u.send(v,n)}catch(e){if(!(2>b))throw e;n(-1,e)}}else n(-1,"no transport");return w},getjson:function(e,t,n){return k.get(e,t,n,"json")},getscript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,i){return k.isfunction(n)&&(i=i||r,r=n,n=void 0),k.ajax({url:e,type:t,datatype:i,data:n,success:r})}})),k._evalurl=function(e){return k.ajax({url:e,type:"get",datatype:"script",async:!1,global:!1,throws:!0})},k.fn.extend({wrapall:function(e){if(k.isfunction(e))return this.each((function(t){k(this).wrapall(e.call(this,t))}));if(this[0]){var t=k(e,this[0].ownerdocument).eq(0).clone(!0);this[0].parentnode&&t.insertbefore(this[0]),t.map((function(){for(var e=this;e.firstchild&&1===e.firstchild.nodetype;)e=e.firstchild;return e})).append(this)}return this},wrapinner:function(e){return this.each(k.isfunction(e)?function(t){k(this).wrapinner(e.call(this,t))}:function(){var t=k(this),n=t.contents();n.length?n.wrapall(e):t.append(e)})},wrap:function(e){var t=k.isfunction(e);return this.each((function(n){k(this).wrapall(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){k.nodename(this,"body")||k(this).replacewith(this.childnodes)})).end()}}),k.expr.filters.hidden=function(e){return e.offsetwidth<=0&&e.offsetheight<=0||!g.reliablehiddenoffsets()&&"none"===(e.style&&e.style.display||k.css(e,"display"))},k.expr.filters.visible=function(e){return!k.expr.filters.hidden(e)};var ot=/%20/g,bt=/\[\]$/,pt=/\r?\n/g,rt=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;k.param=function(e,t){var n,r=[],i=function(e,t){t=k.isfunction(t)?t():null==t?"":t,r[r.length]=encodeuricomponent(e)+"="+encodeuricomponent(t)};if(void 0===t&&(t=k.ajaxsettings&&k.ajaxsettings.traditional),k.isarray(e)||e.jquery&&!k.isplainobject(e))k.each(e,(function(){i(this.name,this.value)}));else for(n in e)p(n,e[n],t,i);return r.join("&").replace(ot,"+")},k.fn.extend({serialize:function(){return k.param(this.serializearray())},serializearray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makearray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&wt.test(this.nodename)&&!rt.test(e)&&(this.checked||!ne.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:k.isarray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(pt,"\r\n")}})):{name:t.name,value:n.replace(pt,"\r\n")}})).get()}}),k.ajaxsettings.xhr=void 0!==e.activexobject?function(){return!this.islocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&r()||function(){try{return new e.activexobject("microsoft.xmlhttp")}catch(e){}}()}:r;var $t=0,zt={},it=k.ajaxsettings.xhr();e.attachevent&&e.attachevent("onunload",(function(){for(var e in zt)zt[e](void 0,!0)})),g.cors=!!it&&"withcredentials"in it,(it=g.ajax=!!it)&&k.ajaxtransport((function(e){var t;if(!e.crossdomain||g.cors)return{send:function(n,r){var i,o=e.xhr(),a=++$t;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrfields)for(i in e.xhrfields)o[i]=e.xhrfields[i];for(i in e.mimetype&&o.overridemimetype&&o.overridemimetype(e.mimetype),e.crossdomain||n["x-requested-with"]||(n["x-requested-with"]="xmlhttprequest"),n)void 0!==n[i]&&o.setrequestheader(i,n[i]+"");o.send(e.hascontent&&e.data||null),t=function(n,i){var s,l,u;if(t&&(i||4===o.readystate))if(delete zt[a],t=void 0,o.onreadystatechange=k.noop,i)4!==o.readystate&&o.abort();else{u={},s=o.status,"string"==typeof o.responsetext&&(u.text=o.responsetext);try{l=o.statustext}catch(e){l=""}s||!e.islocal||e.crossdomain?1223===s&&(s=204):s=u.text?200:404}u&&r(s,l,u,o.getallresponseheaders())},e.async?4===o.readystate?settimeout(t):o.onreadystatechange=zt[a]=t:t()},abort:function(){t&&t(void 0,!0)}}})),k.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return k.globaleval(e),e}}}),k.ajaxprefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossdomain&&(e.type="get",e.global=!1)})),k.ajaxtransport("script",(function(e){if(e.crossdomain){var t,n=le.head||k("head")[0]||le.documentelement;return{send:function(r,i){(t=le.createelement("script")).async=!0,e.scriptcharset&&(t.charset=e.scriptcharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readystate||/loaded|complete/.test(t.readystate))&&(t.onload=t.onreadystatechange=null,t.parentnode&&t.parentnode.removechild(t),t=null,n||i(200,"success"))},n.insertbefore(t,n.firstchild)},abort:function(){t&&t.onload(void 0,!0)}}}}));var xt=[],ut=/(=)\?(?=&|$)|\?\?/;k.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var e=xt.pop()||k.expando+"_"+ct++;return this[e]=!0,e}}),k.ajaxprefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(ut.test(t.url)?"url":"string"==typeof t.data&&!(t.contenttype||"").indexof("application/x-www-form-urlencoded")&&ut.test(t.data)&&"data");return s||"jsonp"===t.datatypes[0]?(i=t.jsonpcallback=k.isfunction(t.jsonpcallback)?t.jsonpcallback():t.jsonpcallback,s?t[s]=t[s].replace(ut,"$1"+i):!1!==t.jsonp&&(t.url+=(nt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||k.error(i+" was not called"),a[0]},t.datatypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){e[i]=o,t[i]&&(t.jsonpcallback=n.jsonpcallback,xt.push(i)),a&&k.isfunction(o)&&o(a[0]),a=o=void 0})),"script"):void 0})),k.parsehtml=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||le;var r=oe.exec(e),i=!n&&[];return r?[t.createelement(r[1])]:(r=k.buildfragment([e],t,i),i&&i.length&&k(i).remove(),k.merge([],r.childnodes))};var vt=k.fn.load;k.fn.load=function(e,t,n){if("string"!=typeof e&&vt)return vt.apply(this,arguments);var r,i,o,a=this,s=e.indexof(" ");return s>=0&&(r=k.trim(e.slice(s,e.length)),e=e.slice(0,s)),k.isfunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="post"),a.length>0&&k.ajax({url:e,type:o,datatype:"html",data:t}).done((function(e){i=arguments,a.html(r?k("").append(k.parsehtml(e)).find(r):e)})).complete(n&&function(e,t){a.each(n,i||[e.responsetext,t,e])}),this},k.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.expr.filters.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length};var jt=e.document.documentelement;k.offset={setoffset:function(e,t,n){var r,i,o,a,s,l,u=k.css(e,"position"),c=k(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),l=k.css(e,"left"),("absolute"===u||"fixed"===u)&&k.inarray("auto",[o,l])>-1?(a=(r=c.position()).top,i=r.left):(a=parsefloat(o)||0,i=parsefloat(l)||0),k.isfunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setoffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerdocument;return o?(t=o.documentelement,k.contains(t,i)?(typeof i.getboundingclientrect!==ve&&(r=i.getboundingclientrect()),n=w(o),{top:r.top+(n.pageyoffset||t.scrolltop)-(t.clienttop||0),left:r.left+(n.pagexoffset||t.scrollleft)-(t.clientleft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===k.css(r,"position")?t=r.getboundingclientrect():(e=this.offsetparent(),t=this.offset(),k.nodename(e[0],"html")||(n=e.offset()),n.top+=k.css(e[0],"bordertopwidth",!0),n.left+=k.css(e[0],"borderleftwidth",!0)),{top:t.top-n.top-k.css(r,"margintop",!0),left:t.left-n.left-k.css(r,"marginleft",!0)}}},offsetparent:function(){return this.map((function(){for(var e=this.offsetparent||jt;e&&!k.nodename(e,"html")&&"static"===k.css(e,"position");)e=e.offsetparent;return e||jt}))}}),k.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},(function(e,t){var n=/y/.test(t);k.fn[e]=function(r){return ce(this,(function(e,r,i){var o=w(e);return void 0===i?o?t in o?o[t]:o.document.documentelement[r]:e[r]:void(o?o.scrollto(n?k(o).scrollleft():i,n?i:k(o).scrolltop()):e[r]=i)}),e,r,arguments.length,null)}})),k.each(["top","left"],(function(e,t){k.csshooks[t]=e(g.pixelposition,(function(e,n){return n?(n=je(e,t),ge.test(n)?k(e).position()[t]+"px":n):void 0}))})),k.each({height:"height",width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){k.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return ce(this,(function(t,n,r){var i;return k.iswindow(t)?t.document.documentelement["client"+e]:9===t.nodetype?(i=t.documentelement,math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?k.css(t,n,a):k.style(t,n,r,a)}),t,o?r:void 0,o,null)}}))})),k.fn.size=function(){return this.length},k.fn.andself=k.fn.addback,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return k}));var yt=e.jquery,gt=e.$;return k.noconflict=function(t){return e.$===k&&(e.$=gt),t&&e.jquery===k&&(e.jquery=yt),k},typeof t===ve&&(e.jquery=e.$=k),k}));