(function(window,undefined){var rootjquery,readylist,document=window.document,location=window.location,navigator=window.navigator,_jquery=window.jquery,_$=window.$,core_push=array.prototype.push,core_slice=array.prototype.slice,core_indexof=array.prototype.indexof,core_tostring=object.prototype.tostring,core_hasown=object.prototype.hasownproperty,core_trim=string.prototype.trim,jquery=function(selector,context){return new jquery.fn.init(selector,context,rootjquery)},core_pnum=/[\-+]?(?:\d*\.|)\d+(?:[ee][\-+]?\d+|)/.source,core_rnotwhite=/\s/,core_rspace=/\s+/,rtrim=/^[\s\ufeff\xa0]+|[\s\ufeff\xa0]+$/g,rquickexpr=/^(?:[^#<]*(<[\w\w]+>)[^>]*$|#([\w\-]*)$)/,rsingletag=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rvalidchars=/^[\],:{}\s]*$/,rvalidbraces=/(?:^|:|,)(?:\s*\[)+/g,rvalidescape=/\\(?:["\\\/bfnrt]|u[\da-fa-f]{4})/g,rvalidtokens=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[ee][\-+]?\d+|)/g,rmsprefix=/^-ms-/,rdashalpha=/-([\da-z])/gi,fcamelcase=function(all,letter){return(letter+"").touppercase()},domcontentloaded=function(){if(document.addeventlistener){document.removeeventlistener("domcontentloaded",domcontentloaded,false);jquery.ready()}else if(document.readystate==="complete"){document.detachevent("onreadystatechange",domcontentloaded);jquery.ready()}},class2type={};jquery.fn=jquery.prototype={constructor:jquery,init:function(selector,context,rootjquery){var match,elem,ret,doc;if(!selector){return this}if(selector.nodetype){this.context=this[0]=selector;this.length=1;return this}if(typeof selector==="string"){if(selector.charat(0)==="<"&&selector.charat(selector.length-1)===">"&&selector.length>=3){match=[null,selector,null]}else{match=rquickexpr.exec(selector)}if(match&&(match[1]||!context)){if(match[1]){context=context instanceof jquery?context[0]:context;doc=(context&&context.nodetype?context.ownerdocument||context:document);selector=jquery.parsehtml(match[1],doc,true);if(rsingletag.test(match[1])&&jquery.isplainobject(context)){this.attr.call(selector,context,true)}return jquery.merge(this,selector)}else{elem=document.getelementbyid(match[2]);if(elem&&elem.parentnode){if(elem.id!==match[2]){return rootjquery.find(selector)}this.length=1;this[0]=elem}this.context=document;this.selector=selector;return this}}else if(!context||context.jquery){return(context||rootjquery).find(selector)}else{return this.constructor(context).find(selector)}}else if(jquery.isfunction(selector)){return rootjquery.ready(selector)}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context}return jquery.makearray(selector,this)},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toarray:function(){return core_slice.call(this)},get:function(num){return num==null?this.toarray():(num<0?this[this.length+num]:this[num])},pushstack:function(elems,name,selector){var ret=jquery.merge(this.constructor(),elems);ret.prevobject=this;ret.context=this.context;if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector}else if(name){ret.selector=this.selector+"."+name+"("+selector+")"}return ret},each:function(callback,args){return jquery.each(this,callback,args)},ready:function(fn){jquery.ready.promise().done(fn);return this},eq:function(i){i=+i;return i===-1?this.slice(i):this.slice(i,i+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushstack(core_slice.apply(this,arguments),"slice",core_slice.call(arguments).join(","))},map:function(callback){return this.pushstack(jquery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},end:function(){return this.prevobject||this.constructor(null)},push:core_push,sort:[].sort,splice:[].splice};jquery.fn.init.prototype=jquery.fn;jquery.extend=jquery.fn.extend=function(){var options,name,src,copy,copyisarray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jquery.isfunction(target)){target={}}if(length===i){target=this;--i}for(;i0){return}readylist.resolvewith(document,[jquery]);if(jquery.fn.trigger){jquery(document).trigger("ready").off("ready")}},isfunction:function(obj){return jquery.type(obj)==="function"},isarray:array.isarray||function(obj){return jquery.type(obj)==="array"},iswindow:function(obj){return obj!=null&&obj==obj.window},isnumeric:function(obj){return!isnan(parsefloat(obj))&&isfinite(obj)},type:function(obj){return obj==null?string(obj):class2type[core_tostring.call(obj)]||"object"},isplainobject:function(obj){if(!obj||jquery.type(obj)!=="object"||obj.nodetype||jquery.iswindow(obj)){return false}try{if(obj.constructor&&!core_hasown.call(obj,"constructor")&&!core_hasown.call(obj.constructor.prototype,"isprototypeof")){return false}}catch(e){return false}var key;for(key in obj){}return key===undefined||core_hasown.call(obj,key)},isemptyobject:function(obj){var name;for(name in obj){return false}return true},error:function(msg){throw new error(msg);},parsehtml:function(data,context,scripts){var parsed;if(!data||typeof data!=="string"){return null}if(typeof context==="boolean"){scripts=context;context=0}context=context||document;if((parsed=rsingletag.exec(data))){return[context.createelement(parsed[1])]}parsed=jquery.buildfragment([data],context,scripts?null:[]);return jquery.merge([],(parsed.cacheable?jquery.clone(parsed.fragment):parsed.fragment).childnodes)},parsejson:function(data){if(!data||typeof data!=="string"){return null}data=jquery.trim(data);if(window.json&&window.json.parse){return window.json.parse(data)}if(rvalidchars.test(data.replace(rvalidescape,"@").replace(rvalidtokens,"]").replace(rvalidbraces,""))){return(new function("return "+data))()}jquery.error("invalid json: "+data)},parsexml:function(data){var xml,tmp;if(!data||typeof data!=="string"){return null}try{if(window.domparser){tmp=new domparser();xml=tmp.parsefromstring(data,"text/xml")}else{xml=new activexobject("microsoft.xmldom");xml.async="false";xml.loadxml(data)}}catch(e){xml=undefined}if(!xml||!xml.documentelement||xml.getelementsbytagname("parsererror").length){jquery.error("invalid xml: "+data)}return xml},noop:function(){},globaleval:function(data){if(data&&core_rnotwhite.test(data)){(window.execscript||function(data){window["eval"].call(window,data)})(data)}},camelcase:function(string){return string.replace(rmsprefix,"ms-").replace(rdashalpha,fcamelcase)},nodename:function(elem,name){return elem.nodename&&elem.nodename.tolowercase()===name.tolowercase()},each:function(obj,callback,args){var name,i=0,length=obj.length,isobj=length===undefined||jquery.isfunction(obj);if(args){if(isobj){for(name in obj){if(callback.apply(obj[name],args)===false){break}}}else{for(;i0&&elems[0]&&elems[length-1])||length===0||jquery.isarray(elems));if(isarray){for(;i-1){list.splice(index,1);if(firing){if(index<=firinglength){firinglength--}if(index<=firingindex){firingindex--}}}})}return this},has:function(fn){return jquery.inarray(fn,list)>-1},empty:function(){list=[];return this},disable:function(){list=stack=memory=undefined;return this},disabled:function(){return!list},lock:function(){stack=undefined;if(!memory){self.disable()}return this},locked:function(){return!stack},firewith:function(context,args){args=args||[];args=[context,args.slice?args.slice():args];if(list&&(!fired||stack)){if(firing){stack.push(args)}else{fire(args)}}return this},fire:function(){self.firewith(this,arguments);return this},fired:function(){return!!fired}};return self};jquery.extend({deferred:function(func){var tuples=[["resolve","done",jquery.callbacks("once memory"),"resolved"],["reject","fail",jquery.callbacks("once memory"),"rejected"],["notify","progress",jquery.callbacks("memory")]],state="pending",promise={state:function(){return state},always:function(){deferred.done(arguments).fail(arguments);return this},then:function(){var fns=arguments;return jquery.deferred(function(newdefer){jquery.each(tuples,function(i,tuple){var action=tuple[0],fn=fns[i];deferred[tuple[1]](jquery.isfunction(fn)?function(){var returned=fn.apply(this,arguments);if(returned&&jquery.isfunction(returned.promise)){returned.promise().done(newdefer.resolve).fail(newdefer.reject).progress(newdefer.notify)}else{newdefer[action+"with"](this===deferred?newdefer:this,[returned])}}:newdefer[action])});fns=null}).promise()},promise:function(obj){return obj!=null?jquery.extend(obj,promise):promise}},deferred={};promise.pipe=promise.then;jquery.each(tuples,function(i,tuple){var list=tuple[2],statestring=tuple[3];promise[tuple[1]]=list.add;if(statestring){list.add(function(){state=statestring},tuples[i^1][2].disable,tuples[2][2].lock)}deferred[tuple[0]]=list.fire;deferred[tuple[0]+"with"]=list.firewith});promise.promise(deferred);if(func){func.call(deferred,deferred)}return deferred},when:function(subordinate){var i=0,resolvevalues=core_slice.call(arguments),length=resolvevalues.length,remaining=length!==1||(subordinate&&jquery.isfunction(subordinate.promise))?length:0,deferred=remaining===1?subordinate:jquery.deferred(),updatefunc=function(i,contexts,values){return function(value){contexts[i]=this;values[i]=arguments.length>1?core_slice.call(arguments):value;if(values===progressvalues){deferred.notifywith(contexts,values)}else if(!(--remaining)){deferred.resolvewith(contexts,values)}}},progressvalues,progresscontexts,resolvecontexts;if(length>1){progressvalues=new array(length);progresscontexts=new array(length);resolvecontexts=new array(length);for(;i
a";all=div.getelementsbytagname("*");a=div.getelementsbytagname("a")[0];if(!all||!a||!all.length){return{}}select=document.createelement("select");opt=select.appendchild(document.createelement("option"));input=div.getelementsbytagname("input")[0];a.style.csstext="top:1px;float:left;opacity:.5";support={leadingwhitespace:(div.firstchild.nodetype===3),tbody:!div.getelementsbytagname("tbody").length,htmlserialize:!!div.getelementsbytagname("link").length,style:/top/.test(a.getattribute("style")),hrefnormalized:(a.getattribute("href")==="/a"),opacity:/^0.5/.test(a.style.opacity),cssfloat:!!a.style.cssfloat,checkon:(input.value==="on"),optselected:opt.selected,getsetattribute:div.classname!=="t",enctype:!!document.createelement("form").enctype,html5clone:document.createelement("nav").clonenode(true).outerhtml!=="<:nav>",boxmodel:(document.compatmode==="css1compat"),submitbubbles:true,changebubbles:true,focusinbubbles:false,deleteexpando:true,nocloneevent:true,inlineblockneedslayout:false,shrinkwrapblocks:false,reliablemarginright:true,boxsizingreliable:true,pixelposition:false};input.checked=true;support.noclonechecked=input.clonenode(true).checked;select.disabled=true;support.optdisabled=!opt.disabled;try{delete div.test}catch(e){support.deleteexpando=false}if(!div.addeventlistener&&div.attachevent&&div.fireevent){div.attachevent("onclick",clickfn=function(){support.nocloneevent=false});div.clonenode(true).fireevent("onclick");div.detachevent("onclick",clickfn)}input=document.createelement("input");input.value="t";input.setattribute("type","radio");support.radiovalue=input.value==="t";input.setattribute("checked","checked");input.setattribute("name","t");div.appendchild(input);fragment=document.createdocumentfragment();fragment.appendchild(div.lastchild);support.checkclone=fragment.clonenode(true).clonenode(true).lastchild.checked;support.appendchecked=input.checked;fragment.removechild(input);fragment.appendchild(div);if(div.attachevent){for(i in{submit:true,change:true,focusin:true}){eventname="on"+i;issupported=(eventname in div);if(!issupported){div.setattribute(eventname,"return;");issupported=(typeof div[eventname]==="function")}support[i+"bubbles"]=issupported}}jquery(function(){var container,div,tds,margindiv,divreset="padding:0;margin:0;border:0;display:block;overflow:hidden;",body=document.getelementsbytagname("body")[0];if(!body){return}container=document.createelement("div");container.style.csstext="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";body.insertbefore(container,body.firstchild);div=document.createelement("div");container.appendchild(div);div.innerhtml="
t
";tds=div.getelementsbytagname("td");tds[0].style.csstext="padding:0;margin:0;border:0;display:none";issupported=(tds[0].offsetheight===0);tds[0].style.display="";tds[1].style.display="none";support.reliablehiddenoffsets=issupported&&(tds[0].offsetheight===0);div.innerhtml="";div.style.csstext="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";support.boxsizing=(div.offsetwidth===4);support.doesnotincludemargininbodyoffset=(body.offsettop!==1);if(window.getcomputedstyle){support.pixelposition=(window.getcomputedstyle(div,null)||{}).top!=="1%";support.boxsizingreliable=(window.getcomputedstyle(div,null)||{width:"4px"}).width==="4px";margindiv=document.createelement("div");margindiv.style.csstext=div.style.csstext=divreset;margindiv.style.marginright=margindiv.style.width="0";div.style.width="1px";div.appendchild(margindiv);support.reliablemarginright=!parsefloat((window.getcomputedstyle(margindiv,null)||{}).marginright)}if(typeof div.style.zoom!=="undefined"){div.innerhtml="";div.style.csstext=divreset+"width:1px;padding:1px;display:inline;zoom:1";support.inlineblockneedslayout=(div.offsetwidth===3);div.style.display="block";div.style.overflow="visible";div.innerhtml="
";div.firstchild.style.width="5px";support.shrinkwrapblocks=(div.offsetwidth!==3);container.style.zoom=1}body.removechild(container);container=div=tds=margindiv=null});fragment.removechild(div);all=a=select=opt=input=fragment=div=null;return support})();var rbrace=/(?:\{[\s\s]*\}|\[[\s\s]*\])$/,rmultidash=/([a-z])/g;jquery.extend({cache:{},deletedids:[],uuid:0,expando:"jquery"+(jquery.fn.jquery+math.random()).replace(/\d/g,""),nodata:{"embed":true,"object":"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","applet":true},hasdata:function(elem){elem=elem.nodetype?jquery.cache[elem[jquery.expando]]:elem[jquery.expando];return!!elem&&!isemptydataobject(elem)},data:function(elem,name,data,pvt){if(!jquery.acceptdata(elem)){return}var thiscache,ret,internalkey=jquery.expando,getbyname=typeof name==="string",isnode=elem.nodetype,cache=isnode?jquery.cache:elem,id=isnode?elem[internalkey]:elem[internalkey]&&internalkey;if((!id||!cache[id]||(!pvt&&!cache[id].data))&&getbyname&&data===undefined){return}if(!id){if(isnode){elem[internalkey]=id=jquery.deletedids.pop()||jquery.guid++}else{id=internalkey}}if(!cache[id]){cache[id]={};if(!isnode){cache[id].tojson=jquery.noop}}if(typeof name==="object"||typeof name==="function"){if(pvt){cache[id]=jquery.extend(cache[id],name)}else{cache[id].data=jquery.extend(cache[id].data,name)}}thiscache=cache[id];if(!pvt){if(!thiscache.data){thiscache.data={}}thiscache=thiscache.data}if(data!==undefined){thiscache[jquery.camelcase(name)]=data}if(getbyname){ret=thiscache[name];if(ret==null){ret=thiscache[jquery.camelcase(name)]}}else{ret=thiscache}return ret},removedata:function(elem,name,pvt){if(!jquery.acceptdata(elem)){return}var thiscache,i,l,isnode=elem.nodetype,cache=isnode?jquery.cache:elem,id=isnode?elem[jquery.expando]:jquery.expando;if(!cache[id]){return}if(name){thiscache=pvt?cache[id]:cache[id].data;if(thiscache){if(!jquery.isarray(name)){if(name in thiscache){name=[name]}else{name=jquery.camelcase(name);if(name in thiscache){name=[name]}else{name=name.split(" ")}}}for(i=0,l=name.length;i1,null,false)},removedata:function(key){return this.each(function(){jquery.removedata(this,key)})}});function dataattr(elem,key,data){if(data===undefined&&elem.nodetype===1){var name="data-"+key.replace(rmultidash,"-$1").tolowercase();data=elem.getattribute(name);if(typeof data==="string"){try{data=data==="true"?true:data==="false"?false:data==="null"?null:+data+""===data?+data:rbrace.test(data)?jquery.parsejson(data):data}catch(e){}jquery.data(elem,key,data)}else{data=undefined}}return data}function isemptydataobject(obj){var name;for(name in obj){if(name==="data"&&jquery.isemptyobject(obj[name])){continue}if(name!=="tojson"){return false}}return true}jquery.extend({queue:function(elem,type,data){var queue;if(elem){type=(type||"fx")+"queue";queue=jquery._data(elem,type);if(data){if(!queue||jquery.isarray(data)){queue=jquery._data(elem,type,jquery.makearray(data))}else{queue.push(data)}}return queue||[]}},dequeue:function(elem,type){type=type||"fx";var queue=jquery.queue(elem,type),startlength=queue.length,fn=queue.shift(),hooks=jquery._queuehooks(elem,type),next=function(){jquery.dequeue(elem,type)};if(fn==="inprogress"){fn=queue.shift();startlength--}if(fn){if(type==="fx"){queue.unshift("inprogress")}delete hooks.stop;fn.call(elem,next,hooks)}if(!startlength&&hooks){hooks.empty.fire()}},_queuehooks:function(elem,type){var key=type+"queuehooks";return jquery._data(elem,key)||jquery._data(elem,key,{empty:jquery.callbacks("once memory").add(function(){jquery.removedata(elem,type+"queue",true);jquery.removedata(elem,key,true)})})}});jquery.fn.extend({queue:function(type,data){var setter=2;if(typeof type!=="string"){data=type;type="fx";setter--}if(arguments.length1)},removeattr:function(name){return this.each(function(){jquery.removeattr(this,name)})},prop:function(name,value){return jquery.access(this,jquery.prop,name,value,arguments.length>1)},removeprop:function(name){name=jquery.propfix[name]||name;return this.each(function(){try{this[name]=undefined;delete this[name]}catch(e){}})},addclass:function(value){var classnames,i,l,elem,setclass,c,cl;if(jquery.isfunction(value)){return this.each(function(j){jquery(this).addclass(value.call(this,j,this.classname))})}if(value&&typeof value==="string"){classnames=value.split(core_rspace);for(i=0,l=this.length;i=0){classname=classname.replace(" "+removes[c]+" "," ")}}elem.classname=value?jquery.trim(classname):""}}}return this},toggleclass:function(value,stateval){var type=typeof value,isbool=typeof stateval==="boolean";if(jquery.isfunction(value)){return this.each(function(i){jquery(this).toggleclass(value.call(this,i,this.classname,stateval),stateval)})}return this.each(function(){if(type==="string"){var classname,i=0,self=jquery(this),state=stateval,classnames=value.split(core_rspace);while((classname=classnames[i++])){state=isbool?state:!self.hasclass(classname);self[state?"addclass":"removeclass"](classname)}}else if(type==="undefined"||type==="boolean"){if(this.classname){jquery._data(this,"__classname__",this.classname)}this.classname=this.classname||value===false?"":jquery._data(this,"__classname__")||""}})},hasclass:function(selector){var classname=" "+selector+" ",i=0,l=this.length;for(;i=0){return true}}return false},val:function(value){var hooks,ret,isfunction,elem=this[0];if(!arguments.length){if(elem){hooks=jquery.valhooks[elem.type]||jquery.valhooks[elem.nodename.tolowercase()];if(hooks&&"get"in hooks&&(ret=hooks.get(elem,"value"))!==undefined){return ret}ret=elem.value;return typeof ret==="string"?ret.replace(rreturn,""):ret==null?"":ret}return}isfunction=jquery.isfunction(value);return this.each(function(i){var val,self=jquery(this);if(this.nodetype!==1){return}if(isfunction){val=value.call(this,i,self.val())}else{val=value}if(val==null){val=""}else if(typeof val==="number"){val+=""}else if(jquery.isarray(val)){val=jquery.map(val,function(value){return value==null?"":value+""})}hooks=jquery.valhooks[this.type]||jquery.valhooks[this.nodename.tolowercase()];if(!hooks||!("set"in hooks)||hooks.set(this,val,"value")===undefined){this.value=val}})}});jquery.extend({valhooks:{option:{get:function(elem){var val=elem.attributes.value;return!val||val.specified?elem.value:elem.text}},select:{get:function(elem){var value,option,options=elem.options,index=elem.selectedindex,one=elem.type==="select-one"||index<0,values=one?null:[],max=one?index+1:options.length,i=index<0?max:one?index:0;for(;i=0});if(!values.length){elem.selectedindex=-1}return values}}},attrfn:{},attr:function(elem,name,value,pass){var ret,hooks,notxml,ntype=elem.nodetype;if(!elem||ntype===3||ntype===8||ntype===2){return}if(pass&&jquery.isfunction(jquery.fn[name])){return jquery(elem)[name](value)}if(typeof elem.getattribute==="undefined"){return jquery.prop(elem,name,value)}notxml=ntype!==1||!jquery.isxmldoc(elem);if(notxml){name=name.tolowercase();hooks=jquery.attrhooks[name]||(rboolean.test(name)?boolhook:nodehook)}if(value!==undefined){if(value===null){jquery.removeattr(elem,name);return}else if(hooks&&"set"in hooks&¬xml&&(ret=hooks.set(elem,value,name))!==undefined){return ret}else{elem.setattribute(name,value+"");return value}}else if(hooks&&"get"in hooks&¬xml&&(ret=hooks.get(elem,name))!==null){return ret}else{ret=elem.getattribute(name);return ret===null?undefined:ret}},removeattr:function(elem,value){var propname,attrnames,name,isbool,i=0;if(value&&elem.nodetype===1){attrnames=value.split(core_rspace);for(;i=0)}}})});var rformelems=/^(?:textarea|input|select)$/i,rtypenamespace=/^([^\.]*|)(?:\.(.+)|)$/,rhoverhack=/(?:^|\s)hover(\.\s+|)\b/,rkeyevent=/^key/,rmouseevent=/^(?:mouse|contextmenu)|click/,rfocusmorph=/^(?:focusinfocus|focusoutblur)$/,hoverhack=function(events){return jquery.event.special.hover?events:events.replace(rhoverhack,"mouseenter$1 mouseleave$1")};jquery.event={add:function(elem,types,handler,data,selector){var elemdata,eventhandle,events,t,tns,type,namespaces,handleobj,handleobjin,handlers,special;if(elem.nodetype===3||elem.nodetype===8||!types||!handler||!(elemdata=jquery._data(elem))){return}if(handler.handler){handleobjin=handler;handler=handleobjin.handler;selector=handleobjin.selector}if(!handler.guid){handler.guid=jquery.guid++}events=elemdata.events;if(!events){elemdata.events=events={}}eventhandle=elemdata.handle;if(!eventhandle){elemdata.handle=eventhandle=function(e){return typeof jquery!=="undefined"&&(!e||jquery.event.triggered!==e.type)?jquery.event.dispatch.apply(eventhandle.elem,arguments):undefined};eventhandle.elem=elem}types=jquery.trim(hoverhack(types)).split(" ");for(t=0;t=0){type=type.slice(0,-1);exclusive=true}if(type.indexof(".")>=0){namespaces=type.split(".");type=namespaces.shift();namespaces.sort()}if((!elem||jquery.event.customevent[type])&&!jquery.event.global[type]){return}event=typeof event==="object"?event[jquery.expando]?event:new jquery.event(type,event):new jquery.event(type);event.type=type;event.istrigger=true;event.exclusive=exclusive;event.namespace=namespaces.join(".");event.namespace_re=event.namespace?new regexp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;ontype=type.indexof(":")<0?"on"+type:"";if(!elem){cache=jquery.cache;for(i in cache){if(cache[i].events&&cache[i].events[type]){jquery.event.trigger(event,data,cache[i].handle.elem,true)}}return}event.result=undefined;if(!event.target){event.target=elem}data=data!=null?jquery.makearray(data):[];data.unshift(event);special=jquery.event.special[type]||{};if(special.trigger&&special.trigger.apply(elem,data)===false){return}eventpath=[[elem,special.bindtype||type]];if(!onlyhandlers&&!special.nobubble&&!jquery.iswindow(elem)){bubbletype=special.delegatetype||type;cur=rfocusmorph.test(bubbletype+type)?elem:elem.parentnode;for(old=elem;cur;cur=cur.parentnode){eventpath.push([cur,bubbletype]);old=cur}if(old===(elem.ownerdocument||document)){eventpath.push([old.defaultview||old.parentwindow||window,bubbletype])}}for(i=0;i=0:jquery.find(sel,this,null,[cur]).length}if(selmatch[sel]){matches.push(handleobj)}}if(matches.length){handlerqueue.push({elem:cur,matches:matches})}}}}if(handlers.length>delegatecount){handlerqueue.push({elem:this,matches:handlers.slice(delegatecount)})}for(i=0;i0?this.on(name,null,data,fn):this.trigger(name)};if(rkeyevent.test(name)){jquery.event.fixhooks[name]=jquery.event.keyhooks}if(rmouseevent.test(name)){jquery.event.fixhooks[name]=jquery.event.mousehooks}});(function(window,undefined){var cachedruns,assertgetidnotname,expr,gettext,isxml,contains,compile,sortorder,hasduplicate,outermostcontext,basehasduplicate=true,strundefined="undefined",expando=("sizcache"+math.random()).replace(".",""),token=string,document=window.document,docelem=document.documentelement,dirruns=0,done=0,pop=[].pop,push=[].push,slice=[].slice,indexof=[].indexof||function(elem){var i=0,len=this.length;for(;iexpr.cachelength){delete cache[keys.shift()]}return(cache[key+" "]=value)},cache)},classcache=createcache(),tokencache=createcache(),compilercache=createcache(),whitespace="[\\x20\\t\\r\\n\\f]",characterencoding="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",identifier=characterencoding.replace("w","w#"),operators="([*^$|!~]?=)",attributes="\\["+whitespace+"*("+characterencoding+")"+whitespace+"*(?:"+operators+whitespace+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+identifier+")|)|)"+whitespace+"*\\]",pseudos=":("+characterencoding+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+attributes+")|[^:]|\\\\.)*|.*))\\)|)",pos=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+whitespace+"*((?:-\\d)?\\d*)"+whitespace+"*\\)|)(?=[^-]|$)",rtrim=new regexp("^"+whitespace+"+|((?:^|[^\\\\])(?:\\\\.)*)"+whitespace+"+$","g"),rcomma=new regexp("^"+whitespace+"*,"+whitespace+"*"),rcombinators=new regexp("^"+whitespace+"*([\\x20\\t\\r\\n\\f>+~])"+whitespace+"*"),rpseudo=new regexp(pseudos),rquickexpr=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,rnot=/^:not/,rsibling=/[\x20\t\r\n\f]*[+~]/,rendswithnot=/:not\($/,rheader=/h\d/i,rinputs=/input|select|textarea|button/i,rbackslash=/\\(?!\\)/g,matchexpr={"id":new regexp("^#("+characterencoding+")"),"class":new regexp("^\\.("+characterencoding+")"),"name":new regexp("^\\[name=['\"]?("+characterencoding+")['\"]?\\]"),"tag":new regexp("^("+characterencoding.replace("w","w*")+")"),"attr":new regexp("^"+attributes),"pseudo":new regexp("^"+pseudos),"pos":new regexp(pos,"i"),"child":new regexp("^:(only|nth|first|last)-child(?:\\("+whitespace+"*(even|odd|(([+-]|)(\\d*)n|)"+whitespace+"*(?:([+-]|)"+whitespace+"*(\\d+)|))"+whitespace+"*\\)|)","i"),"needscontext":new regexp("^"+whitespace+"*[>+~]|"+pos,"i")},assert=function(fn){var div=document.createelement("div");try{return fn(div)}catch(e){return false}finally{div=null}},asserttagnamenocomments=assert(function(div){div.appendchild(document.createcomment(""));return!div.getelementsbytagname("*").length}),asserthrefnotnormalized=assert(function(div){div.innerhtml="";return div.firstchild&&typeof div.firstchild.getattribute!==strundefined&&div.firstchild.getattribute("href")==="#"}),assertattributes=assert(function(div){div.innerhtml="";var type=typeof div.lastchild.getattribute("multiple");return type!=="boolean"&&type!=="string"}),assertusableclassname=assert(function(div){div.innerhtml="";if(!div.getelementsbyclassname||!div.getelementsbyclassname("e").length){return false}div.lastchild.classname="e";return div.getelementsbyclassname("e").length===2}),assertusablename=assert(function(div){div.id=expando+0;div.innerhtml="
";docelem.insertbefore(div,docelem.firstchild);var pass=document.getelementsbyname&&document.getelementsbyname(expando).length===2+document.getelementsbyname(expando+0).length;assertgetidnotname=!document.getelementbyid(expando);docelem.removechild(div);return pass});try{slice.call(docelem.childnodes,0)[0].nodetype}catch(e){slice=function(i){var elem,results=[];for(;(elem=this[i]);i++){results.push(elem)}return results}}function sizzle(selector,context,results,seed){results=results||[];context=context||document;var match,elem,xml,m,nodetype=context.nodetype;if(!selector||typeof selector!=="string"){return results}if(nodetype!==1&&nodetype!==9){return[]}xml=isxml(context);if(!xml&&!seed){if((match=rquickexpr.exec(selector))){if((m=match[1])){if(nodetype===9){elem=context.getelementbyid(m);if(elem&&elem.parentnode){if(elem.id===m){results.push(elem);return results}}else{return results}}else{if(context.ownerdocument&&(elem=context.ownerdocument.getelementbyid(m))&&contains(context,elem)&&elem.id===m){results.push(elem);return results}}}else if(match[2]){push.apply(results,slice.call(context.getelementsbytagname(selector),0));return results}else if((m=match[3])&&assertusableclassname&&context.getelementsbyclassname){push.apply(results,slice.call(context.getelementsbyclassname(m),0));return results}}}return select(selector.replace(rtrim,"$1"),context,results,seed,xml)}sizzle.matches=function(expr,elements){return sizzle(expr,null,null,elements)};sizzle.matchesselector=function(elem,expr){return sizzle(expr,null,null,[elem]).length>0};function createinputpseudo(type){return function(elem){var name=elem.nodename.tolowercase();return name==="input"&&elem.type===type}}function createbuttonpseudo(type){return function(elem){var name=elem.nodename.tolowercase();return(name==="input"||name==="button")&&elem.type===type}}function createpositionalpseudo(fn){return markfunction(function(argument){argument=+argument;return markfunction(function(seed,matches){var j,matchindexes=fn([],seed.length,argument),i=matchindexes.length;while(i--){if(seed[(j=matchindexes[i])]){seed[j]=!(matches[j]=seed[j])}}})})}gettext=sizzle.gettext=function(elem){var node,ret="",i=0,nodetype=elem.nodetype;if(nodetype){if(nodetype===1||nodetype===9||nodetype===11){if(typeof elem.textcontent==="string"){return elem.textcontent}else{for(elem=elem.firstchild;elem;elem=elem.nextsibling){ret+=gettext(elem)}}}else if(nodetype===3||nodetype===4){return elem.nodevalue}}else{for(;(node=elem[i]);i++){ret+=gettext(node)}}return ret};isxml=sizzle.isxml=function(elem){var documentelement=elem&&(elem.ownerdocument||elem).documentelement;return documentelement?documentelement.nodename!=="html":false};contains=sizzle.contains=docelem.contains?function(a,b){var adown=a.nodetype===9?a.documentelement:a,bup=b&&b.parentnode;return a===bup||!!(bup&&bup.nodetype===1&&adown.contains&&adown.contains(bup))}:docelem.comparedocumentposition?function(a,b){return b&&!!(a.comparedocumentposition(b)&16)}:function(a,b){while((b=b.parentnode)){if(b===a){return true}}return false};sizzle.attr=function(elem,name){var val,xml=isxml(elem);if(!xml){name=name.tolowercase()}if((val=expr.attrhandle[name])){return val(elem)}if(xml||assertattributes){return elem.getattribute(name)}val=elem.getattributenode(name);return val?typeof elem[name]==="boolean"?elem[name]?name:null:val.specified?val.value:null:null};expr=sizzle.selectors={cachelength:50,createpseudo:markfunction,match:matchexpr,attrhandle:asserthrefnotnormalized?{}:{"href":function(elem){return elem.getattribute("href",2)},"type":function(elem){return elem.getattribute("type")}},find:{"id":assertgetidnotname?function(id,context,xml){if(typeof context.getelementbyid!==strundefined&&!xml){var m=context.getelementbyid(id);return m&&m.parentnode?[m]:[]}}:function(id,context,xml){if(typeof context.getelementbyid!==strundefined&&!xml){var m=context.getelementbyid(id);return m?m.id===id||typeof m.getattributenode!==strundefined&&m.getattributenode("id").value===id?[m]:undefined:[]}},"tag":asserttagnamenocomments?function(tag,context){if(typeof context.getelementsbytagname!==strundefined){return context.getelementsbytagname(tag)}}:function(tag,context){var results=context.getelementsbytagname(tag);if(tag==="*"){var elem,tmp=[],i=0;for(;(elem=results[i]);i++){if(elem.nodetype===1){tmp.push(elem)}}return tmp}return results},"name":assertusablename&&function(tag,context){if(typeof context.getelementsbyname!==strundefined){return context.getelementsbyname(name)}},"class":assertusableclassname&&function(classname,context,xml){if(typeof context.getelementsbyclassname!==strundefined&&!xml){return context.getelementsbyclassname(classname)}}},relative:{">":{dir:"parentnode",first:true}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:true},"~":{dir:"previoussibling"}},prefilter:{"attr":function(match){match[1]=match[1].replace(rbackslash,"");match[3]=(match[4]||match[5]||"").replace(rbackslash,"");if(match[2]==="~="){match[3]=" "+match[3]+" "}return match.slice(0,4)},"child":function(match){match[1]=match[1].tolowercase();if(match[1]==="nth"){if(!match[2]){sizzle.error(match[0])}match[3]=+(match[3]?match[4]+(match[5]||1):2*(match[2]==="even"||match[2]==="odd"));match[4]=+((match[6]+match[7])||match[2]==="odd")}else if(match[2]){sizzle.error(match[0])}return match},"pseudo":function(match){var unquoted,excess;if(matchexpr["child"].test(match[0])){return null}if(match[3]){match[2]=match[3]}else if((unquoted=match[4])){if(rpseudo.test(unquoted)&&(excess=tokenize(unquoted,true))&&(excess=unquoted.indexof(")",unquoted.length-excess)-unquoted.length)){unquoted=unquoted.slice(0,excess);match[0]=match[0].slice(0,excess)}match[2]=unquoted}return match.slice(0,3)}},filter:{"id":assertgetidnotname?function(id){id=id.replace(rbackslash,"");return function(elem){return elem.getattribute("id")===id}}:function(id){id=id.replace(rbackslash,"");return function(elem){var node=typeof elem.getattributenode!==strundefined&&elem.getattributenode("id");return node&&node.value===id}},"tag":function(nodename){if(nodename==="*"){return function(){return true}}nodename=nodename.replace(rbackslash,"").tolowercase();return function(elem){return elem.nodename&&elem.nodename.tolowercase()===nodename}},"class":function(classname){var pattern=classcache[expando][classname+" "];return pattern||(pattern=new regexp("(^|"+whitespace+")"+classname+"("+whitespace+"|$)"))&&classcache(classname,function(elem){return pattern.test(elem.classname||(typeof elem.getattribute!==strundefined&&elem.getattribute("class"))||"")})},"attr":function(name,operator,check){return function(elem,context){var result=sizzle.attr(elem,name);if(result==null){return operator==="!="}if(!operator){return true}result+="";return operator==="="?result===check:operator==="!="?result!==check:operator==="^="?check&&result.indexof(check)===0:operator==="*="?check&&result.indexof(check)>-1:operator==="$="?check&&result.substr(result.length-check.length)===check:operator==="~="?(" "+result+" ").indexof(check)>-1:operator==="|="?result===check||result.substr(0,check.length+1)===check+"-":false}},"child":function(type,argument,first,last){if(type==="nth"){return function(elem){var node,diff,parent=elem.parentnode;if(first===1&&last===0){return true}if(parent){diff=0;for(node=parent.firstchild;node;node=node.nextsibling){if(node.nodetype===1){diff++;if(elem===node){break}}}}diff-=last;return diff===first||(diff%first===0&&diff/first>=0)}}return function(elem){var node=elem;switch(type){case"only":case"first":while((node=node.previoussibling)){if(node.nodetype===1){return false}}if(type==="first"){return true}node=elem;case"last":while((node=node.nextsibling)){if(node.nodetype===1){return false}}return true}}},"pseudo":function(pseudo,argument){var args,fn=expr.pseudos[pseudo]||expr.setfilters[pseudo.tolowercase()]||sizzle.error("unsupported pseudo: "+pseudo);if(fn[expando]){return fn(argument)}if(fn.length>1){args=[pseudo,pseudo,"",argument];return expr.setfilters.hasownproperty(pseudo.tolowercase())?markfunction(function(seed,matches){var idx,matched=fn(seed,argument),i=matched.length;while(i--){idx=indexof.call(seed,matched[i]);seed[idx]=!(matches[idx]=matched[i])}}):function(elem){return fn(elem,0,args)}}return fn}},pseudos:{"not":markfunction(function(selector){var input=[],results=[],matcher=compile(selector.replace(rtrim,"$1"));return matcher[expando]?markfunction(function(seed,matches,context,xml){var elem,unmatched=matcher(seed,null,xml,[]),i=seed.length;while(i--){if((elem=unmatched[i])){seed[i]=!(matches[i]=elem)}}}):function(elem,context,xml){input[0]=elem;matcher(input,null,xml,results);return!results.pop()}}),"has":markfunction(function(selector){return function(elem){return sizzle(selector,elem).length>0}}),"contains":markfunction(function(text){return function(elem){return(elem.textcontent||elem.innertext||gettext(elem)).indexof(text)>-1}}),"enabled":function(elem){return elem.disabled===false},"disabled":function(elem){return elem.disabled===true},"checked":function(elem){var nodename=elem.nodename.tolowercase();return(nodename==="input"&&!!elem.checked)||(nodename==="option"&&!!elem.selected)},"selected":function(elem){if(elem.parentnode){elem.parentnode.selectedindex}return elem.selected===true},"parent":function(elem){return!expr.pseudos["empty"](elem)},"empty":function(elem){var nodetype;elem=elem.firstchild;while(elem){if(elem.nodename>"@"||(nodetype=elem.nodetype)===3||nodetype===4){return false}elem=elem.nextsibling}return true},"header":function(elem){return rheader.test(elem.nodename)},"text":function(elem){var type,attr;return elem.nodename.tolowercase()==="input"&&(type=elem.type)==="text"&&((attr=elem.getattribute("type"))==null||attr.tolowercase()===type)},"radio":createinputpseudo("radio"),"checkbox":createinputpseudo("checkbox"),"file":createinputpseudo("file"),"password":createinputpseudo("password"),"image":createinputpseudo("image"),"submit":createbuttonpseudo("submit"),"reset":createbuttonpseudo("reset"),"button":function(elem){var name=elem.nodename.tolowercase();return name==="input"&&elem.type==="button"||name==="button"},"input":function(elem){return rinputs.test(elem.nodename)},"focus":function(elem){var doc=elem.ownerdocument;return elem===doc.activeelement&&(!doc.hasfocus||doc.hasfocus())&&!!(elem.type||elem.href||~elem.tabindex)},"active":function(elem){return elem===elem.ownerdocument.activeelement},"first":createpositionalpseudo(function(){return[0]}),"last":createpositionalpseudo(function(matchindexes,length){return[length-1]}),"eq":createpositionalpseudo(function(matchindexes,length,argument){return[argument<0?argument+length:argument]}),"even":createpositionalpseudo(function(matchindexes,length){for(var i=0;i=0;){matchindexes.push(i)}return matchindexes}),"gt":createpositionalpseudo(function(matchindexes,length,argument){for(var i=argument<0?argument+length:argument;++i1?function(elem,context,xml){var i=matchers.length;while(i--){if(!matchers[i](elem,context,xml)){return false}}return true}:matchers[0]}function condense(unmatched,map,filter,context,xml){var elem,newunmatched=[],i=0,len=unmatched.length,mapped=map!=null;for(;i-1){seed[temp]=!(results[temp]=elem)}}}}else{matcherout=condense(matcherout===results?matcherout.splice(preexisting,matcherout.length):matcherout);if(postfinder){postfinder(null,results,matcherout,xml)}else{push.apply(results,matcherout)}}})}function matcherfromtokens(tokens){var checkcontext,matcher,j,len=tokens.length,leadingrelative=expr.relative[tokens[0].type],implicitrelative=leadingrelative||expr.relative[" "],i=leadingrelative?1:0,matchcontext=addcombinator(function(elem){return elem===checkcontext},implicitrelative,true),matchanycontext=addcombinator(function(elem){return indexof.call(checkcontext,elem)>-1},implicitrelative,true),matchers=[function(elem,context,xml){return(!leadingrelative&&(xml||context!==outermostcontext))||((checkcontext=context).nodetype?matchcontext(elem,context,xml):matchanycontext(elem,context,xml))}];for(;i1&&elementmatcher(matchers),i>1&&tokens.slice(0,i-1).join("").replace(rtrim,"$1"),matcher,i0,byelement=elementmatchers.length>0,supermatcher=function(seed,context,xml,results,expandcontext){var elem,j,matcher,setmatched=[],matchedcount=0,i="0",unmatched=seed&&[],outermost=expandcontext!=null,contextbackup=outermostcontext,elems=seed||byelement&&expr.find["tag"]("*",expandcontext&&context.parentnode||context),dirrunsunique=(dirruns+=contextbackup==null?1:math.e);if(outermost){outermostcontext=context!==document&&context;cachedruns=supermatcher.el}for(;(elem=elems[i])!=null;i++){if(byelement&&elem){for(j=0;(matcher=elementmatchers[j]);j++){if(matcher(elem,context,xml)){results.push(elem);break}}if(outermost){dirruns=dirrunsunique;cachedruns=++supermatcher.el}}if(byset){if((elem=!matcher&&elem)){matchedcount--}if(seed){unmatched.push(elem)}}}matchedcount+=i;if(byset&&i!==matchedcount){for(j=0;(matcher=setmatchers[j]);j++){matcher(unmatched,setmatched,context,xml)}if(seed){if(matchedcount>0){while(i--){if(!(unmatched[i]||setmatched[i])){setmatched[i]=pop.call(results)}}}setmatched=condense(setmatched)}push.apply(results,setmatched);if(outermost&&!seed&&setmatched.length>0&&(matchedcount+setmatchers.length)>1){sizzle.uniquesort(results)}}if(outermost){dirruns=dirrunsunique;outermostcontext=contextbackup}return unmatched};supermatcher.el=0;return byset?markfunction(supermatcher):supermatcher}compile=sizzle.compile=function(selector,group){var i,setmatchers=[],elementmatchers=[],cached=compilercache[expando][selector+" "];if(!cached){if(!group){group=tokenize(selector)}i=group.length;while(i--){cached=matcherfromtokens(group[i]);if(cached[expando]){setmatchers.push(cached)}else{elementmatchers.push(cached)}}cached=compilercache(selector,matcherfromgroupmatchers(elementmatchers,setmatchers))}return cached};function multiplecontexts(selector,contexts,results){var i=0,len=contexts.length;for(;i2&&(token=tokens[0]).type==="id"&&context.nodetype===9&&!xml&&expr.relative[tokens[1].type]){context=expr.find["id"](token.matches[0].replace(rbackslash,""),context,xml)[0];if(!context){return results}selector=selector.slice(tokens.shift().length)}for(i=matchexpr["pos"].test(selector)?-1:tokens.length-1;i>=0;i--){token=tokens[i];if(expr.relative[(type=token.type)]){break}if((find=expr.find[type])){if((seed=find(token.matches[0].replace(rbackslash,""),rsibling.test(tokens[0].type)&&context.parentnode||context,xml))){tokens.splice(i,1);selector=seed.length&&tokens.join("");if(!selector){push.apply(results,slice.call(seed,0));return results}break}}}}}compile(selector,match)(seed,context,xml,results,rsibling.test(selector));return results}if(document.queryselectorall){(function(){var disconnectedmatch,oldselect=select,rescape=/'|\\/g,rattributequotes=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,rbuggyqsa=[":focus"],rbuggymatches=[":active"],matches=docelem.matchesselector||docelem.mozmatchesselector||docelem.webkitmatchesselector||docelem.omatchesselector||docelem.msmatchesselector;assert(function(div){div.innerhtml="";if(!div.queryselectorall("[selected]").length){rbuggyqsa.push("\\["+whitespace+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!div.queryselectorall(":checked").length){rbuggyqsa.push(":checked")}});assert(function(div){div.innerhtml="

";if(div.queryselectorall("[test^='']").length){rbuggyqsa.push("[*^$]="+whitespace+"*(?:\"\"|'')")}div.innerhtml="";if(!div.queryselectorall(":enabled").length){rbuggyqsa.push(":enabled",":disabled")}});rbuggyqsa=new regexp(rbuggyqsa.join("|"));select=function(selector,context,results,seed,xml){if(!seed&&!xml&&!rbuggyqsa.test(selector)){var groups,i,old=true,nid=expando,newcontext=context,newselector=context.nodetype===9&&selector;if(context.nodetype===1&&context.nodename.tolowercase()!=="object"){groups=tokenize(selector);if((old=context.getattribute("id"))){nid=old.replace(rescape,"\\$&")}else{context.setattribute("id",nid)}nid="[id='"+nid+"'] ";i=groups.length;while(i--){groups[i]=nid+groups[i].join("")}newcontext=rsibling.test(selector)&&context.parentnode||context;newselector=groups.join(",")}if(newselector){try{push.apply(results,slice.call(newcontext.queryselectorall(newselector),0));return results}catch(qsaerror){}finally{if(!old){context.removeattribute("id")}}}}return oldselect(selector,context,results,seed,xml)};if(matches){assert(function(div){disconnectedmatch=matches.call(div,"div");try{matches.call(div,"[test!='']:sizzle");rbuggymatches.push("!=",pseudos)}catch(e){}});rbuggymatches=new regexp(rbuggymatches.join("|"));sizzle.matchesselector=function(elem,expr){expr=expr.replace(rattributequotes,"='$1']");if(!isxml(elem)&&!rbuggymatches.test(expr)&&!rbuggyqsa.test(expr)){try{var ret=matches.call(elem,expr);if(ret||disconnectedmatch||elem.document&&elem.document.nodetype!==11){return ret}}catch(e){}}return sizzle(expr,null,null,[elem]).length>0}}})()}expr.pseudos["nth"]=expr.pseudos["eq"];function setfilters(){}expr.filters=setfilters.prototype=expr.pseudos;expr.setfilters=new setfilters();sizzle.attr=jquery.attr;jquery.find=sizzle;jquery.expr=sizzle.selectors;jquery.expr[":"]=jquery.expr.pseudos;jquery.unique=sizzle.uniquesort;jquery.text=sizzle.gettext;jquery.isxmldoc=sizzle.isxml;jquery.contains=sizzle.contains})(window);var runtil=/until$/,rparentsprev=/^(?:parents|prev(?:until|all))/,issimple=/^.[^:#\[\.,]*$/,rneedscontext=jquery.expr.match.needscontext,guaranteedunique={children:true,contents:true,next:true,prev:true};jquery.fn.extend({find:function(selector){var i,l,length,n,r,ret,self=this;if(typeof selector!=="string"){return jquery(selector).filter(function(){for(i=0,l=self.length;i0){for(n=length;n=0:jquery.filter(selector,this).length>0:this.filter(selector).length>0)},closest:function(selectors,context){var cur,i=0,l=this.length,ret=[],pos=rneedscontext.test(selectors)||typeof selectors!=="string"?jquery(selectors,context||this.context):0;for(;i-1:jquery.find.matchesselector(cur,selectors)){ret.push(cur);break}cur=cur.parentnode}}ret=ret.length>1?jquery.unique(ret):ret;return this.pushstack(ret,"closest",selectors)},index:function(elem){if(!elem){return(this[0]&&this[0].parentnode)?this.prevall().length:-1}if(typeof elem==="string"){return jquery.inarray(this[0],jquery(elem))}return jquery.inarray(elem.jquery?elem[0]:elem,this)},add:function(selector,context){var set=typeof selector==="string"?jquery(selector,context):jquery.makearray(selector&&selector.nodetype?[selector]:selector),all=jquery.merge(this.get(),set);return this.pushstack(isdisconnected(set[0])||isdisconnected(all[0])?all:jquery.unique(all))},addback:function(selector){return this.add(selector==null?this.prevobject:this.prevobject.filter(selector))}});jquery.fn.andself=jquery.fn.addback;function isdisconnected(node){return!node||!node.parentnode||node.parentnode.nodetype===11}function sibling(cur,dir){do{cur=cur[dir]}while(cur&&cur.nodetype!==1);return cur}jquery.each({parent:function(elem){var parent=elem.parentnode;return parent&&parent.nodetype!==11?parent:null},parents:function(elem){return jquery.dir(elem,"parentnode")},parentsuntil:function(elem,i,until){return jquery.dir(elem,"parentnode",until)},next:function(elem){return sibling(elem,"nextsibling")},prev:function(elem){return sibling(elem,"previoussibling")},nextall:function(elem){return jquery.dir(elem,"nextsibling")},prevall:function(elem){return jquery.dir(elem,"previoussibling")},nextuntil:function(elem,i,until){return jquery.dir(elem,"nextsibling",until)},prevuntil:function(elem,i,until){return jquery.dir(elem,"previoussibling",until)},siblings:function(elem){return jquery.sibling((elem.parentnode||{}).firstchild,elem)},children:function(elem){return jquery.sibling(elem.firstchild)},contents:function(elem){return jquery.nodename(elem,"iframe")?elem.contentdocument||elem.contentwindow.document:jquery.merge([],elem.childnodes)}},function(name,fn){jquery.fn[name]=function(until,selector){var ret=jquery.map(this,fn,until);if(!runtil.test(name)){selector=until}if(selector&&typeof selector==="string"){ret=jquery.filter(selector,ret)}ret=this.length>1&&!guaranteedunique[name]?jquery.unique(ret):ret;if(this.length>1&&rparentsprev.test(name)){ret=ret.reverse()}return this.pushstack(ret,name,core_slice.call(arguments).join(","))}});jquery.extend({filter:function(expr,elems,not){if(not){expr=":not("+expr+")"}return elems.length===1?jquery.find.matchesselector(elems[0],expr)?[elems[0]]:[]:jquery.find.matches(expr,elems)},dir:function(elem,dir,until){var matched=[],cur=elem[dir];while(cur&&cur.nodetype!==9&&(until===undefined||cur.nodetype!==1||!jquery(cur).is(until))){if(cur.nodetype===1){matched.push(cur)}cur=cur[dir]}return matched},sibling:function(n,elem){var r=[];for(;n;n=n.nextsibling){if(n.nodetype===1&&n!==elem){r.push(n)}}return r}});function winnow(elements,qualifier,keep){qualifier=qualifier||0;if(jquery.isfunction(qualifier)){return jquery.grep(elements,function(elem,i){var retval=!!qualifier.call(elem,i,elem);return retval===keep})}else if(qualifier.nodetype){return jquery.grep(elements,function(elem,i){return(elem===qualifier)===keep})}else if(typeof qualifier==="string"){var filtered=jquery.grep(elements,function(elem){return elem.nodetype===1});if(issimple.test(qualifier)){return jquery.filter(qualifier,filtered,!keep)}else{qualifier=jquery.filter(qualifier,filtered)}}return jquery.grep(elements,function(elem,i){return(jquery.inarray(elem,qualifier)>=0)===keep})}function createsafefragment(document){var list=nodenames.split("|"),safefrag=document.createdocumentfragment();if(safefrag.createelement){while(list.length){safefrag.createelement(list.pop())}}return safefrag}var nodenames="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|"+"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",rinlinejquery=/ jquery\d+="(?:null|\d+)"/g,rleadingwhitespace=/^\s+/,rxhtmltag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,rtagname=/<([\w:]+)/,rtbody=/]","i"),rcheckabletype=/^(?:checkbox|radio)$/,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rscripttype=/\/(java|ecma)script/i,rcleanscript=/^\s*\s*$/g,wrapmap={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},safefragment=createsafefragment(document),fragmentdiv=safefragment.appendchild(document.createelement("div"));wrapmap.optgroup=wrapmap.option;wrapmap.tbody=wrapmap.tfoot=wrapmap.colgroup=wrapmap.caption=wrapmap.thead;wrapmap.th=wrapmap.td;if(!jquery.support.htmlserialize){wrapmap._default=[1,"x
","
"]}jquery.fn.extend({text:function(value){return jquery.access(this,function(value){return value===undefined?jquery.text(this):this.empty().append((this[0]&&this[0].ownerdocument||document).createtextnode(value))},null,value,arguments.length)},wrapall:function(html){if(jquery.isfunction(html)){return this.each(function(i){jquery(this).wrapall(html.call(this,i))})}if(this[0]){var wrap=jquery(html,this[0].ownerdocument).eq(0).clone(true);if(this[0].parentnode){wrap.insertbefore(this[0])}wrap.map(function(){var elem=this;while(elem.firstchild&&elem.firstchild.nodetype===1){elem=elem.firstchild}return elem}).append(this)}return this},wrapinner:function(html){if(jquery.isfunction(html)){return this.each(function(i){jquery(this).wrapinner(html.call(this,i))})}return this.each(function(){var self=jquery(this),contents=self.contents();if(contents.length){contents.wrapall(html)}else{self.append(html)}})},wrap:function(html){var isfunction=jquery.isfunction(html);return this.each(function(i){jquery(this).wrapall(isfunction?html.call(this,i):html)})},unwrap:function(){return this.parent().each(function(){if(!jquery.nodename(this,"body")){jquery(this).replacewith(this.childnodes)}}).end()},append:function(){return this.dommanip(arguments,true,function(elem){if(this.nodetype===1||this.nodetype===11){this.appendchild(elem)}})},prepend:function(){return this.dommanip(arguments,true,function(elem){if(this.nodetype===1||this.nodetype===11){this.insertbefore(elem,this.firstchild)}})},before:function(){if(!isdisconnected(this[0])){return this.dommanip(arguments,false,function(elem){this.parentnode.insertbefore(elem,this)})}if(arguments.length){var set=jquery.clean(arguments);return this.pushstack(jquery.merge(set,this),"before",this.selector)}},after:function(){if(!isdisconnected(this[0])){return this.dommanip(arguments,false,function(elem){this.parentnode.insertbefore(elem,this.nextsibling)})}if(arguments.length){var set=jquery.clean(arguments);return this.pushstack(jquery.merge(this,set),"after",this.selector)}},remove:function(selector,keepdata){var elem,i=0;for(;(elem=this[i])!=null;i++){if(!selector||jquery.filter(selector,[elem]).length){if(!keepdata&&elem.nodetype===1){jquery.cleandata(elem.getelementsbytagname("*"));jquery.cleandata([elem])}if(elem.parentnode){elem.parentnode.removechild(elem)}}}return this},empty:function(){var elem,i=0;for(;(elem=this[i])!=null;i++){if(elem.nodetype===1){jquery.cleandata(elem.getelementsbytagname("*"))}while(elem.firstchild){elem.removechild(elem.firstchild)}}return this},clone:function(dataandevents,deepdataandevents){dataandevents=dataandevents==null?false:dataandevents;deepdataandevents=deepdataandevents==null?dataandevents:deepdataandevents;return this.map(function(){return jquery.clone(this,dataandevents,deepdataandevents)})},html:function(value){return jquery.access(this,function(value){var elem=this[0]||{},i=0,l=this.length;if(value===undefined){return elem.nodetype===1?elem.innerhtml.replace(rinlinejquery,""):undefined}if(typeof value==="string"&&!rnoinnerhtml.test(value)&&(jquery.support.htmlserialize||!rnoshimcache.test(value))&&(jquery.support.leadingwhitespace||!rleadingwhitespace.test(value))&&!wrapmap[(rtagname.exec(value)||["",""])[1].tolowercase()]){value=value.replace(rxhtmltag,"<$1>");try{for(;i1&&typeof value==="string"&&rchecked.test(value)){return this.each(function(){jquery(this).dommanip(args,table,callback)})}if(jquery.isfunction(value)){return this.each(function(i){var self=jquery(this);args[0]=value.call(this,i,table?self.html():undefined);self.dommanip(args,table,callback)})}if(this[0]){results=jquery.buildfragment(args,this,scripts);fragment=results.fragment;first=fragment.firstchild;if(fragment.childnodes.length===1){fragment=first}if(first){table=table&&jquery.nodename(first,"tr");for(inoclone=results.cacheable||l-1;i0?this.clone(true):this).get();jquery(insert[i])[original](elems);ret=ret.concat(elems)}return this.pushstack(ret,name,insert.selector)}}});function getall(elem){if(typeof elem.getelementsbytagname!=="undefined"){return elem.getelementsbytagname("*")}else if(typeof elem.queryselectorall!=="undefined"){return elem.queryselectorall("*")}else{return[]}}function fixdefaultchecked(elem){if(rcheckabletype.test(elem.type)){elem.defaultchecked=elem.checked}}jquery.extend({clone:function(elem,dataandevents,deepdataandevents){var srcelements,destelements,i,clone;if(jquery.support.html5clone||jquery.isxmldoc(elem)||!rnoshimcache.test("<"+elem.nodename+">")){clone=elem.clonenode(true)}else{fragmentdiv.innerhtml=elem.outerhtml;fragmentdiv.removechild(clone=fragmentdiv.firstchild)}if((!jquery.support.nocloneevent||!jquery.support.noclonechecked)&&(elem.nodetype===1||elem.nodetype===11)&&!jquery.isxmldoc(elem)){clonefixattributes(elem,clone);srcelements=getall(elem);destelements=getall(clone);for(i=0;srcelements[i];++i){if(destelements[i]){clonefixattributes(srcelements[i],destelements[i])}}}if(dataandevents){clonecopyevent(elem,clone);if(deepdataandevents){srcelements=getall(elem);destelements=getall(clone);for(i=0;srcelements[i];++i){clonecopyevent(srcelements[i],destelements[i])}}}srcelements=destelements=null;return clone},clean:function(elems,context,fragment,scripts){var i,j,elem,tag,wrap,depth,div,hasbody,tbody,len,handlescript,jstags,safe=context===document&&safefragment,ret=[];if(!context||typeof context.createdocumentfragment==="undefined"){context=document}for(i=0;(elem=elems[i])!=null;i++){if(typeof elem==="number"){elem+=""}if(!elem){continue}if(typeof elem==="string"){if(!rhtml.test(elem)){elem=context.createtextnode(elem)}else{safe=safe||createsafefragment(context);div=context.createelement("div");safe.appendchild(div);elem=elem.replace(rxhtmltag,"<$1>");tag=(rtagname.exec(elem)||["",""])[1].tolowercase();wrap=wrapmap[tag]||wrapmap._default;depth=wrap[0];div.innerhtml=wrap[1]+elem+wrap[2];while(depth--){div=div.lastchild}if(!jquery.support.tbody){hasbody=rtbody.test(elem);tbody=tag==="table"&&!hasbody?div.firstchild&&div.firstchild.childnodes:wrap[1]===""&&!hasbody?div.childnodes:[];for(j=tbody.length-1;j>=0;--j){if(jquery.nodename(tbody[j],"tbody")&&!tbody[j].childnodes.length){tbody[j].parentnode.removechild(tbody[j])}}}if(!jquery.support.leadingwhitespace&&rleadingwhitespace.test(elem)){div.insertbefore(context.createtextnode(rleadingwhitespace.exec(elem)[0]),div.firstchild)}elem=div.childnodes;div.parentnode.removechild(div)}}if(elem.nodetype){ret.push(elem)}else{jquery.merge(ret,elem)}}if(div){elem=div=safe=null}if(!jquery.support.appendchecked){for(i=0;(elem=ret[i])!=null;i++){if(jquery.nodename(elem,"input")){fixdefaultchecked(elem)}else if(typeof elem.getelementsbytagname!=="undefined"){jquery.grep(elem.getelementsbytagname("input"),fixdefaultchecked)}}}if(fragment){handlescript=function(elem){if(!elem.type||rscripttype.test(elem.type)){return scripts?scripts.push(elem.parentnode?elem.parentnode.removechild(elem):elem):fragment.appendchild(elem)}};for(i=0;(elem=ret[i])!=null;i++){if(!(jquery.nodename(elem,"script")&&handlescript(elem))){fragment.appendchild(elem);if(typeof elem.getelementsbytagname!=="undefined"){jstags=jquery.grep(jquery.merge([],elem.getelementsbytagname("script")),handlescript);ret.splice.apply(ret,[i+1,0].concat(jstags));i+=jstags.length}}}}return ret},cleandata:function(elems,acceptdata){var data,id,elem,type,i=0,internalkey=jquery.expando,cache=jquery.cache,deleteexpando=jquery.support.deleteexpando,special=jquery.event.special;for(;(elem=elems[i])!=null;i++){if(acceptdata||jquery.acceptdata(elem)){id=elem[internalkey];data=id&&cache[id];if(data){if(data.events){for(type in data.events){if(special[type]){jquery.event.remove(elem,type)}else{jquery.removeevent(elem,type,data.handle)}}}if(cache[id]){delete cache[id];if(deleteexpando){delete elem[internalkey]}else if(elem.removeattribute){elem.removeattribute(internalkey)}else{elem[internalkey]=null}jquery.deletedids.push(id)}}}}}});(function(){var matched,browser;jquery.uamatch=function(ua){ua=ua.tolowercase();var match=/(chrome)[ \/]([\w.]+)/.exec(ua)||/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||ua.indexof("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"}};matched=jquery.uamatch(navigator.useragent);browser={};if(matched.browser){browser[matched.browser]=true;browser.version=matched.version}if(browser.chrome){browser.webkit=true}else if(browser.webkit){browser.safari=true}jquery.browser=browser;jquery.sub=function(){function jquerysub(selector,context){return new jquerysub.fn.init(selector,context)}jquery.extend(true,jquerysub,this);jquerysub.superclass=this;jquerysub.fn=jquerysub.prototype=this();jquerysub.fn.constructor=jquerysub;jquerysub.sub=this.sub;jquerysub.fn.init=function init(selector,context){if(context&&context instanceof jquery&&!(context instanceof jquerysub)){context=jquerysub(context)}return jquery.fn.init.call(this,selector,context,rootjquerysub)};jquerysub.fn.init.prototype=jquerysub.fn;var rootjquerysub=jquerysub(document);return jquerysub}})();var curcss,iframe,iframedoc,ralpha=/alpha\([^)]*\)/i,ropacity=/opacity=([^)]*)/,rposition=/^(top|right|bottom|left)$/,rdisplayswap=/^(none|table(?!-c[ea]).+)/,rmargin=/^margin/,rnumsplit=new regexp("^("+core_pnum+")(.*)$","i"),rnumnonpx=new regexp("^("+core_pnum+")(?!px)[a-z%]+$","i"),rrelnum=new regexp("^([-+])=("+core_pnum+")","i"),elemdisplay={body:"block"},cssshow={position:"absolute",visibility:"hidden",display:"block"},cssnormaltransform={letterspacing:0,fontweight:400},cssexpand=["top","right","bottom","left"],cssprefixes=["webkit","o","moz","ms"],eventstoggle=jquery.fn.toggle;function vendorpropname(style,name){if(name in style){return name}var capname=name.charat(0).touppercase()+name.slice(1),origname=name,i=cssprefixes.length;while(i--){name=cssprefixes[i]+capname;if(name in style){return name}}return origname}function ishidden(elem,el){elem=el||elem;return jquery.css(elem,"display")==="none"||!jquery.contains(elem.ownerdocument,elem)}function showhide(elements,show){var elem,display,values=[],index=0,length=elements.length;for(;index1)},show:function(){return showhide(this,true)},hide:function(){return showhide(this)},toggle:function(state,fn2){var bool=typeof state==="boolean";if(jquery.isfunction(state)&&jquery.isfunction(fn2)){return eventstoggle.apply(this,arguments)}return this.each(function(){if(bool?state:ishidden(this)){jquery(this).show()}else{jquery(this).hide()}})}});jquery.extend({csshooks:{opacity:{get:function(elem,computed){if(computed){var ret=curcss(elem,"opacity");return ret===""?"1":ret}}}},cssnumber:{"fillopacity":true,"fontweight":true,"lineheight":true,"opacity":true,"orphans":true,"widows":true,"zindex":true,"zoom":true},cssprops:{"float":jquery.support.cssfloat?"cssfloat":"stylefloat"},style:function(elem,name,value,extra){if(!elem||elem.nodetype===3||elem.nodetype===8||!elem.style){return}var ret,type,hooks,origname=jquery.camelcase(name),style=elem.style;name=jquery.cssprops[origname]||(jquery.cssprops[origname]=vendorpropname(style,origname));hooks=jquery.csshooks[name]||jquery.csshooks[origname];if(value!==undefined){type=typeof value;if(type==="string"&&(ret=rrelnum.exec(value))){value=(ret[1]+1)*ret[2]+parsefloat(jquery.css(elem,name));type="number"}if(value==null||type==="number"&&isnan(value)){return}if(type==="number"&&!jquery.cssnumber[origname]){value+="px"}if(!hooks||!("set"in hooks)||(value=hooks.set(elem,value,extra))!==undefined){try{style[name]=value}catch(e){}}}else{if(hooks&&"get"in hooks&&(ret=hooks.get(elem,false,extra))!==undefined){return ret}return style[name]}},css:function(elem,name,numeric,extra){var val,num,hooks,origname=jquery.camelcase(name);name=jquery.cssprops[origname]||(jquery.cssprops[origname]=vendorpropname(elem.style,origname));hooks=jquery.csshooks[name]||jquery.csshooks[origname];if(hooks&&"get"in hooks){val=hooks.get(elem,true,extra)}if(val===undefined){val=curcss(elem,name)}if(val==="normal"&&name in cssnormaltransform){val=cssnormaltransform[name]}if(numeric||extra!==undefined){num=parsefloat(val);return numeric||jquery.isnumeric(num)?num||0:val}return val},swap:function(elem,options,callback){var ret,name,old={};for(name in options){old[name]=elem.style[name];elem.style[name]=options[name]}ret=callback.call(elem);for(name in options){elem.style[name]=old[name]}return ret}});if(window.getcomputedstyle){curcss=function(elem,name){var ret,width,minwidth,maxwidth,computed=window.getcomputedstyle(elem,null),style=elem.style;if(computed){ret=computed.getpropertyvalue(name)||computed[name];if(ret===""&&!jquery.contains(elem.ownerdocument,elem)){ret=jquery.style(elem,name)}if(rnumnonpx.test(ret)&&rmargin.test(name)){width=style.width;minwidth=style.minwidth;maxwidth=style.maxwidth;style.minwidth=style.maxwidth=style.width=ret;ret=computed.width;style.width=width;style.minwidth=minwidth;style.maxwidth=maxwidth}}return ret}}else if(document.documentelement.currentstyle){curcss=function(elem,name){var left,rsleft,ret=elem.currentstyle&&elem.currentstyle[name],style=elem.style;if(ret==null&&style&&style[name]){ret=style[name]}if(rnumnonpx.test(ret)&&!rposition.test(name)){left=style.left;rsleft=elem.runtimestyle&&elem.runtimestyle.left;if(rsleft){elem.runtimestyle.left=elem.currentstyle.left}style.left=name==="fontsize"?"1em":ret;ret=style.pixelleft+"px";style.left=left;if(rsleft){elem.runtimestyle.left=rsleft}}return ret===""?"auto":ret}}function setpositivenumber(elem,value,subtract){var matches=rnumsplit.exec(value);return matches?math.max(0,matches[1]-(subtract||0))+(matches[2]||"px"):value}function augmentwidthorheight(elem,name,extra,isborderbox){var i=extra===(isborderbox?"border":"content")?4:name==="width"?1:0,val=0;for(;i<4;i+=2){if(extra==="margin"){val+=jquery.css(elem,extra+cssexpand[i],true)}if(isborderbox){if(extra==="content"){val-=parsefloat(curcss(elem,"padding"+cssexpand[i]))||0}if(extra!=="margin"){val-=parsefloat(curcss(elem,"border"+cssexpand[i]+"width"))||0}}else{val+=parsefloat(curcss(elem,"padding"+cssexpand[i]))||0;if(extra!=="padding"){val+=parsefloat(curcss(elem,"border"+cssexpand[i]+"width"))||0}}}return val}function getwidthorheight(elem,name,extra){var val=name==="width"?elem.offsetwidth:elem.offsetheight,valueisborderbox=true,isborderbox=jquery.support.boxsizing&&jquery.css(elem,"boxsizing")==="border-box";if(val<=0||val==null){val=curcss(elem,name);if(val<0||val==null){val=elem.style[name]}if(rnumnonpx.test(val)){return val}valueisborderbox=isborderbox&&(jquery.support.boxsizingreliable||val===elem.style[name]);val=parsefloat(val)||0}return(val+augmentwidthorheight(elem,name,extra||(isborderbox?"border":"content"),valueisborderbox))+"px"}function css_defaultdisplay(nodename){if(elemdisplay[nodename]){return elemdisplay[nodename]}var elem=jquery("<"+nodename+">").appendto(document.body),display=elem.css("display");elem.remove();if(display==="none"||display===""){iframe=document.body.appendchild(iframe||jquery.extend(document.createelement("iframe"),{frameborder:0,width:0,height:0}));if(!iframedoc||!iframe.createelement){iframedoc=(iframe.contentwindow||iframe.contentdocument).document;iframedoc.write("");iframedoc.close()}elem=iframedoc.body.appendchild(iframedoc.createelement(nodename));display=curcss(elem,"display");document.body.removechild(iframe)}elemdisplay[nodename]=display;return display}jquery.each(["height","width"],function(i,name){jquery.csshooks[name]={get:function(elem,computed,extra){if(computed){if(elem.offsetwidth===0&&rdisplayswap.test(curcss(elem,"display"))){return jquery.swap(elem,cssshow,function(){return getwidthorheight(elem,name,extra)})}else{return getwidthorheight(elem,name,extra)}}},set:function(elem,value,extra){return setpositivenumber(elem,value,extra?augmentwidthorheight(elem,name,extra,jquery.support.boxsizing&&jquery.css(elem,"boxsizing")==="border-box"):0)}}});if(!jquery.support.opacity){jquery.csshooks.opacity={get:function(elem,computed){return ropacity.test((computed&&elem.currentstyle?elem.currentstyle.filter:elem.style.filter)||"")?(0.01*parsefloat(regexp.$1))+"":computed?"1":""},set:function(elem,value){var style=elem.style,currentstyle=elem.currentstyle,opacity=jquery.isnumeric(value)?"alpha(opacity="+value*100+")":"",filter=currentstyle&¤tstyle.filter||style.filter||"";style.zoom=1;if(value>=1&&jquery.trim(filter.replace(ralpha,""))===""&&style.removeattribute){style.removeattribute("filter");if(currentstyle&&!currentstyle.filter){return}}style.filter=ralpha.test(filter)?filter.replace(ralpha,opacity):filter+" "+opacity}}}jquery(function(){if(!jquery.support.reliablemarginright){jquery.csshooks.marginright={get:function(elem,computed){return jquery.swap(elem,{"display":"inline-block"},function(){if(computed){return curcss(elem,"marginright")}})}}}if(!jquery.support.pixelposition&&jquery.fn.position){jquery.each(["top","left"],function(i,prop){jquery.csshooks[prop]={get:function(elem,computed){if(computed){var ret=curcss(elem,prop);return rnumnonpx.test(ret)?jquery(elem).position()[prop]+"px":ret}}}})}});if(jquery.expr&&jquery.expr.filters){jquery.expr.filters.hidden=function(elem){return(elem.offsetwidth===0&&elem.offsetheight===0)||(!jquery.support.reliablehiddenoffsets&&((elem.style&&elem.style.display)||curcss(elem,"display"))==="none")};jquery.expr.filters.visible=function(elem){return!jquery.expr.filters.hidden(elem)}}jquery.each({margin:"",padding:"",border:"width"},function(prefix,suffix){jquery.csshooks[prefix+suffix]={expand:function(value){var i,parts=typeof value==="string"?value.split(" "):[value],expanded={};for(i=0;i<4;i++){expanded[prefix+cssexpand[i]+suffix]=parts[i]||parts[i-2]||parts[0]}return expanded}};if(!rmargin.test(prefix)){jquery.csshooks[prefix+suffix].set=setpositivenumber}});var r20=/%20/g,rbracket=/\[\]$/,rcrlf=/\r?\n/g,rinput=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,rselecttextarea=/^(?:select|textarea)/i;jquery.fn.extend({serialize:function(){return jquery.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?jquery.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||rselecttextarea.test(this.nodename)||rinput.test(this.type))}).map(function(i,elem){var val=jquery(this).val();return val==null?null:jquery.isarray(val)?jquery.map(val,function(val,i){return{name:elem.name,value:val.replace(rcrlf,"\r\n")}}):{name:elem.name,value:val.replace(rcrlf,"\r\n")}}).get()}});jquery.param=function(a,traditional){var prefix,s=[],add=function(key,value){value=jquery.isfunction(value)?value():(value==null?"":value);s[s.length]=encodeuricomponent(key)+"="+encodeuricomponent(value)};if(traditional===undefined){traditional=jquery.ajaxsettings&&jquery.ajaxsettings.traditional}if(jquery.isarray(a)||(a.jquery&&!jquery.isplainobject(a))){jquery.each(a,function(){add(this.name,this.value)})}else{for(prefix in a){buildparams(prefix,a[prefix],traditional,add)}}return s.join("&").replace(r20,"+")};function buildparams(prefix,obj,traditional,add){var name;if(jquery.isarray(obj)){jquery.each(obj,function(i,v){if(traditional||rbracket.test(prefix)){add(prefix,v)}else{buildparams(prefix+"["+(typeof v==="object"?i:"")+"]",v,traditional,add)}})}else if(!traditional&&jquery.type(obj)==="object"){for(name in obj){buildparams(prefix+"["+name+"]",obj[name],traditional,add)}}else{add(prefix,obj)}}var ajaxlocparts,ajaxlocation,rhash=/#.*$/,rheaders=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,rlocalprotocol=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,rnocontent=/^(?:get|head)$/,rprotocol=/^\/\//,rquery=/\?/,rscript=/)<[^<]*)*<\/script>/gi,rts=/([?&])_=[^&]*/,rurl=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,_load=jquery.fn.load,prefilters={},transports={},alltypes=["*/"]+["*"];try{ajaxlocation=location.href}catch(e){ajaxlocation=document.createelement("a");ajaxlocation.href="";ajaxlocation=ajaxlocation.href}ajaxlocparts=rurl.exec(ajaxlocation.tolowercase())||[];function addtoprefiltersortransports(structure){return function(datatypeexpression,func){if(typeof datatypeexpression!=="string"){func=datatypeexpression;datatypeexpression="*"}var datatype,list,placebefore,datatypes=datatypeexpression.tolowercase().split(core_rspace),i=0,length=datatypes.length;if(jquery.isfunction(func)){for(;i=0){selector=url.slice(off,url.length);url=url.slice(0,off)}if(jquery.isfunction(params)){callback=params;params=undefined}else if(params&&typeof params==="object"){type="post"}jquery.ajax({url:url,type:type,datatype:"html",data:params,complete:function(jqxhr,status){if(callback){self.each(callback,response||[jqxhr.responsetext,status,jqxhr])}}}).done(function(responsetext){response=arguments;self.html(selector?jquery("
").append(responsetext.replace(rscript,"")).find(selector):responsetext)});return this};jquery.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(i,o){jquery.fn[o]=function(f){return this.on(o,f)}});jquery.each(["get","post"],function(i,method){jquery[method]=function(url,data,callback,type){if(jquery.isfunction(data)){type=type||callback;callback=data;data=undefined}return jquery.ajax({type:method,url:url,data:data,success:callback,datatype:type})}});jquery.extend({getscript:function(url,callback){return jquery.get(url,undefined,callback,"script")},getjson:function(url,data,callback){return jquery.get(url,data,callback,"json")},ajaxsetup:function(target,settings){if(settings){ajaxextend(target,jquery.ajaxsettings)}else{settings=target;target=jquery.ajaxsettings}ajaxextend(target,settings);return target},ajaxsettings:{url:ajaxlocation,islocal:rlocalprotocol.test(ajaxlocparts[1]),global:true,type:"get",contenttype:"application/x-www-form-urlencoded; charset=utf-8",processdata:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":alltypes},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":window.string,"text html":true,"text json":jquery.parsejson,"text xml":jquery.parsexml},flatoptions:{context:true,url:true}},ajaxprefilter:addtoprefiltersortransports(prefilters),ajaxtransport:addtoprefiltersortransports(transports),ajax:function(url,options){if(typeof url==="object"){options=url;url=undefined}options=options||{};var ifmodifiedkey,responseheadersstring,responseheaders,transport,timeouttimer,parts,fireglobals,i,s=jquery.ajaxsetup({},options),callbackcontext=s.context||s,globaleventcontext=callbackcontext!==s&&(callbackcontext.nodetype||callbackcontext instanceof jquery)?jquery(callbackcontext):jquery.event,deferred=jquery.deferred(),completedeferred=jquery.callbacks("once memory"),statuscode=s.statuscode||{},requestheaders={},requestheadersnames={},state=0,strabort="canceled",jqxhr={readystate:0,setrequestheader:function(name,value){if(!state){var lname=name.tolowercase();name=requestheadersnames[lname]=requestheadersnames[lname]||name;requestheaders[name]=value}return this},getallresponseheaders:function(){return state===2?responseheadersstring:null},getresponseheader:function(key){var match;if(state===2){if(!responseheaders){responseheaders={};while((match=rheaders.exec(responseheadersstring))){responseheaders[match[1].tolowercase()]=match[2]}}match=responseheaders[key.tolowercase()]}return match===undefined?null:match},overridemimetype:function(type){if(!state){s.mimetype=type}return this},abort:function(statustext){statustext=statustext||strabort;if(transport){transport.abort(statustext)}done(0,statustext);return this}};function done(status,nativestatustext,responses,headers){var issuccess,success,error,response,modified,statustext=nativestatustext;if(state===2){return}state=2;if(timeouttimer){cleartimeout(timeouttimer)}transport=undefined;responseheadersstring=headers||"";jqxhr.readystate=status>0?4:0;if(responses){response=ajaxhandleresponses(s,jqxhr,responses)}if(status>=200&&status<300||status===304){if(s.ifmodified){modified=jqxhr.getresponseheader("last-modified");if(modified){jquery.lastmodified[ifmodifiedkey]=modified}modified=jqxhr.getresponseheader("etag");if(modified){jquery.etag[ifmodifiedkey]=modified}}if(status===304){statustext="notmodified";issuccess=true}else{issuccess=ajaxconvert(s,response);statustext=issuccess.state;success=issuccess.data;error=issuccess.error;issuccess=!error}}else{error=statustext;if(!statustext||status){statustext="error";if(status<0){status=0}}}jqxhr.status=status;jqxhr.statustext=(nativestatustext||statustext)+"";if(issuccess){deferred.resolvewith(callbackcontext,[success,statustext,jqxhr])}else{deferred.rejectwith(callbackcontext,[jqxhr,statustext,error])}jqxhr.statuscode(statuscode);statuscode=undefined;if(fireglobals){globaleventcontext.trigger("ajax"+(issuccess?"success":"error"),[jqxhr,s,issuccess?success:error])}completedeferred.firewith(callbackcontext,[jqxhr,statustext]);if(fireglobals){globaleventcontext.trigger("ajaxcomplete",[jqxhr,s]);if(!(--jquery.active)){jquery.event.trigger("ajaxstop")}}}deferred.promise(jqxhr);jqxhr.success=jqxhr.done;jqxhr.error=jqxhr.fail;jqxhr.complete=completedeferred.add;jqxhr.statuscode=function(map){if(map){var tmp;if(state<2){for(tmp in map){statuscode[tmp]=[statuscode[tmp],map[tmp]]}}else{tmp=map[jqxhr.status];jqxhr.always(tmp)}}return this};s.url=((url||s.url)+"").replace(rhash,"").replace(rprotocol,ajaxlocparts[1]+"//");s.datatypes=jquery.trim(s.datatype||"*").tolowercase().split(core_rspace);if(s.crossdomain==null){parts=rurl.exec(s.url.tolowercase());s.crossdomain=!!(parts&&(parts[1]!==ajaxlocparts[1]||parts[2]!==ajaxlocparts[2]||(parts[3]||(parts[1]==="http:"?80:443))!=(ajaxlocparts[3]||(ajaxlocparts[1]==="http:"?80:443))))}if(s.data&&s.processdata&&typeof s.data!=="string"){s.data=jquery.param(s.data,s.traditional)}inspectprefiltersortransports(prefilters,s,options,jqxhr);if(state===2){return jqxhr}fireglobals=s.global;s.type=s.type.touppercase();s.hascontent=!rnocontent.test(s.type);if(fireglobals&&jquery.active++===0){jquery.event.trigger("ajaxstart")}if(!s.hascontent){if(s.data){s.url+=(rquery.test(s.url)?"&":"?")+s.data;delete s.data}ifmodifiedkey=s.url;var _rule=/\.js$/i;if(_rule.test(s.url)===false&&s.cache===false){var ts=jquery.now(),ret=s.url.replace(rts,"$1_="+ts);s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"")}}if(s.data&&s.hascontent&&s.contenttype!==false||options.contenttype){jqxhr.setrequestheader("content-type",s.contenttype)}if(s.ifmodified){ifmodifiedkey=ifmodifiedkey||s.url;if(jquery.lastmodified[ifmodifiedkey]){jqxhr.setrequestheader("if-modified-since",jquery.lastmodified[ifmodifiedkey])}if(jquery.etag[ifmodifiedkey]){jqxhr.setrequestheader("if-none-match",jquery.etag[ifmodifiedkey])}}jqxhr.setrequestheader("accept",s.datatypes[0]&&s.accepts[s.datatypes[0]]?s.accepts[s.datatypes[0]]+(s.datatypes[0]!=="*"?", "+alltypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers){jqxhr.setrequestheader(i,s.headers[i])}if(s.beforesend&&(s.beforesend.call(callbackcontext,jqxhr,s)===false||state===2)){return jqxhr.abort()}strabort="abort";for(i in{success:1,error:1,complete:1}){jqxhr[i](s[i])}transport=inspectprefiltersortransports(transports,s,options,jqxhr);if(!transport){done(-1,"no transport")}else{jqxhr.readystate=1;if(fireglobals){globaleventcontext.trigger("ajaxsend",[jqxhr,s])}if(s.async&&s.timeout>0){timeouttimer=settimeout(function(){jqxhr.abort("timeout")},s.timeout)}try{state=1;transport.send(requestheaders,done)}catch(e){if(state<2){done(-1,e)}else{throw e;}}}return jqxhr},active:0,lastmodified:{},etag:{}});function ajaxhandleresponses(s,jqxhr,responses){var ct,type,finaldatatype,firstdatatype,contents=s.contents,datatypes=s.datatypes,responsefields=s.responsefields;for(type in responsefields){if(type in responses){jqxhr[responsefields[type]]=responses[type]}}while(datatypes[0]==="*"){datatypes.shift();if(ct===undefined){ct=s.mimetype||jqxhr.getresponseheader("content-type")}}if(ct){for(type in contents){if(contents[type]&&contents[type].test(ct)){datatypes.unshift(type);break}}}if(datatypes[0]in responses){finaldatatype=datatypes[0]}else{for(type in responses){if(!datatypes[0]||s.converters[type+" "+datatypes[0]]){finaldatatype=type;break}if(!firstdatatype){firstdatatype=type}}finaldatatype=finaldatatype||firstdatatype}if(finaldatatype){if(finaldatatype!==datatypes[0]){datatypes.unshift(finaldatatype)}return responses[finaldatatype]}}function ajaxconvert(s,response){var conv,conv2,current,tmp,datatypes=s.datatypes.slice(),prev=datatypes[0],converters={},i=0;if(s.datafilter){response=s.datafilter(response,s.datatype)}if(datatypes[1]){for(conv in s.converters){converters[conv.tolowercase()]=s.converters[conv]}}for(;(current=datatypes[++i]);){if(current!=="*"){if(prev!=="*"&&prev!==current){conv=converters[prev+" "+current]||converters["* "+current];if(!conv){for(conv2 in converters){tmp=conv2.split(" ");if(tmp[1]===current){conv=converters[prev+" "+tmp[0]]||converters["* "+tmp[0]];if(conv){if(conv===true){conv=converters[conv2]}else if(converters[conv2]!==true){current=tmp[0];datatypes.splice(i--,0,current)}break}}}}if(conv!==true){if(conv&&s["throws"]){response=conv(response)}else{try{response=conv(response)}catch(e){return{state:"parsererror",error:conv?e:"no conversion from "+prev+" to "+current}}}}}prev=current}}return{state:"success",data:response}}var oldcallbacks=[],rquestion=/\?/,rjsonp=/(=)\?(?=&|$)|\?\?/,nonce=jquery.now();jquery.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var callback=oldcallbacks.pop()||(jquery.expando+"_"+(nonce++));this[callback]=true;return callback}});jquery.ajaxprefilter("json jsonp",function(s,originalsettings,jqxhr){var callbackname,overwritten,responsecontainer,data=s.data,url=s.url,hascallback=s.jsonp!==false,replaceinurl=hascallback&&rjsonp.test(url),replaceindata=hascallback&&!replaceinurl&&typeof data==="string"&&!(s.contenttype||"").indexof("application/x-www-form-urlencoded")&&rjsonp.test(data);if(s.datatypes[0]==="jsonp"||replaceinurl||replaceindata){callbackname=s.jsonpcallback=jquery.isfunction(s.jsonpcallback)?s.jsonpcallback():s.jsonpcallback;overwritten=window[callbackname];if(replaceinurl){s.url=url.replace(rjsonp,"$1"+callbackname)}else if(replaceindata){s.data=data.replace(rjsonp,"$1"+callbackname)}else if(hascallback){s.url+=(rquestion.test(url)?"&":"?")+s.jsonp+"="+callbackname}s.converters["script json"]=function(){if(!responsecontainer){jquery.error(callbackname+" was not called")}return responsecontainer[0]};s.datatypes[0]="json";window[callbackname]=function(){responsecontainer=arguments};jqxhr.always(function(){window[callbackname]=overwritten;if(s[callbackname]){s.jsonpcallback=originalsettings.jsonpcallback;oldcallbacks.push(callbackname)}if(responsecontainer&&jquery.isfunction(overwritten)){overwritten(responsecontainer[0])}responsecontainer=overwritten=undefined});return"script"}});jquery.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(text){jquery.globaleval(text);return text}}});jquery.ajaxprefilter("script",function(s){if(s.cache===undefined){s.cache=false}if(s.crossdomain){s.type="get";s.global=false}});jquery.ajaxtransport("script",function(s){if(s.crossdomain){var script,head=document.head||document.getelementsbytagname("head")[0]||document.documentelement;return{send:function(_,callback){script=document.createelement("script");script.async="async";if(s.scriptcharset){script.charset=s.scriptcharset}script.src=s.url;script.onload=script.onreadystatechange=function(_,isabort){if(isabort||!script.readystate||/loaded|complete/.test(script.readystate)){script.onload=script.onreadystatechange=null;if(head&&script.parentnode){head.removechild(script)}script=undefined;if(!isabort){callback(200,"success")}}};head.insertbefore(script,head.firstchild)},abort:function(){if(script){script.onload(0,1)}}}}});var xhrcallbacks,xhronunloadabort=window.activexobject?function(){for(var key in xhrcallbacks){xhrcallbacks[key](0,1)}}:false,xhrid=0;function createstandardxhr(){try{return new window.xmlhttprequest()}catch(e){}}function createactivexhr(){try{return new window.activexobject("microsoft.xmlhttp")}catch(e){}}jquery.ajaxsettings.xhr=window.activexobject?function(){return!this.islocal&&createstandardxhr()||createactivexhr()}:createstandardxhr;(function(xhr){jquery.extend(jquery.support,{ajax:!!xhr,cors:!!xhr&&("withcredentials"in xhr)})})(jquery.ajaxsettings.xhr());if(jquery.support.ajax){jquery.ajaxtransport(function(s){if(!s.crossdomain||jquery.support.cors){var callback;return{send:function(headers,complete){var handle,i,xhr=s.xhr();if(s.username){xhr.open(s.type,s.url,s.async,s.username,s.password)}else{xhr.open(s.type,s.url,s.async)}if(s.xhrfields){for(i in s.xhrfields){xhr[i]=s.xhrfields[i]}}if(s.mimetype&&xhr.overridemimetype){xhr.overridemimetype(s.mimetype)}if(!s.crossdomain&&!headers["x-requested-with"]){headers["x-requested-with"]="xmlhttprequest"}try{for(i in headers){xhr.setrequestheader(i,headers[i])}}catch(_){}xhr.send((s.hascontent&&s.data)||null);callback=function(_,isabort){var status,statustext,responseheaders,responses,xml;try{if(callback&&(isabort||xhr.readystate===4)){callback=undefined;if(handle){xhr.onreadystatechange=jquery.noop;if(xhronunloadabort){delete xhrcallbacks[handle]}}if(isabort){if(xhr.readystate!==4){xhr.abort()}}else{status=xhr.status;responseheaders=xhr.getallresponseheaders();responses={};xml=xhr.responsexml;if(xml&&xml.documentelement){responses.xml=xml}try{responses.text=xhr.responsetext}catch(e){}try{statustext=xhr.statustext}catch(e){statustext=""}if(!status&&s.islocal&&!s.crossdomain){status=responses.text?200:404}else if(status===1223){status=204}}}}catch(firefoxaccessexception){if(!isabort){complete(-1,firefoxaccessexception)}}if(responses){complete(status,statustext,responses,responseheaders)}};if(!s.async){callback()}else if(xhr.readystate===4){settimeout(callback,0)}else{handle=++xhrid;if(xhronunloadabort){if(!xhrcallbacks){xhrcallbacks={};jquery(window).unload(xhronunloadabort)}xhrcallbacks[handle]=callback}xhr.onreadystatechange=callback}},abort:function(){if(callback){callback(0,1)}}}}})}var fxnow,timerid,rfxtypes=/^(?:toggle|show|hide)$/,rfxnum=new regexp("^(?:([-+])=|)("+core_pnum+")([a-z%]*)$","i"),rrun=/queuehooks$/,animationprefilters=[defaultprefilter],tweeners={"*":[function(prop,value){var end,unit,tween=this.createtween(prop,value),parts=rfxnum.exec(value),target=tween.cur(),start=+target||0,scale=1,maxiterations=20;if(parts){end=+parts[2];unit=parts[3]||(jquery.cssnumber[prop]?"":"px");if(unit!=="px"&&start){start=jquery.css(tween.elem,prop,true)||end||1;do{scale=scale||".5";start=start/scale;jquery.style(tween.elem,prop,start+unit)}while(scale!==(scale=tween.cur()/target)&&scale!==1&&--maxiterations)}tween.unit=unit;tween.start=start;tween.end=parts[1]?start+(parts[1]+1)*end:end}return tween}]};function createfxnow(){settimeout(function(){fxnow=undefined},0);return(fxnow=jquery.now())}function createtweens(animation,props){jquery.each(props,function(prop,value){var collection=(tweeners[prop]||[]).concat(tweeners["*"]),index=0,length=collection.length;for(;index-1,props={},curposition={},curtop,curleft;if(calculateposition){curposition=curelem.position();curtop=curposition.top;curleft=curposition.left}else{curtop=parsefloat(curcsstop)||0;curleft=parsefloat(curcssleft)||0}if(jquery.isfunction(options)){options=options.call(elem,i,curoffset)}if(options.top!=null){props.top=(options.top-curoffset.top)+curtop}if(options.left!=null){props.left=(options.left-curoffset.left)+curleft}if("using"in options){options.using.call(elem,props)}else{curelem.css(props)}}};jquery.fn.extend({position:function(){if(!this[0]){return}var elem=this[0],offsetparent=this.offsetparent(),offset=this.offset(),parentoffset=rroot.test(offsetparent[0].nodename)?{top:0,left:0}:offsetparent.offset();offset.top-=parsefloat(jquery.css(elem,"margintop"))||0;offset.left-=parsefloat(jquery.css(elem,"marginleft"))||0;parentoffset.top+=parsefloat(jquery.css(offsetparent[0],"bordertopwidth"))||0;parentoffset.left+=parsefloat(jquery.css(offsetparent[0],"borderleftwidth"))||0;return{top:offset.top-parentoffset.top,left:offset.left-parentoffset.left}},offsetparent:function(){return this.map(function(){var offsetparent=this.offsetparent||document.body;while(offsetparent&&(!rroot.test(offsetparent.nodename)&&jquery.css(offsetparent,"position")==="static")){offsetparent=offsetparent.offsetparent}return offsetparent||document.body})}});jquery.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(method,prop){var top=/y/.test(prop);jquery.fn[method]=function(val){return jquery.access(this,function(elem,method,val){var win=getwindow(elem);if(val===undefined){return win?(prop in win)?win[prop]:win.document.documentelement[method]:elem[method]}if(win){win.scrollto(!top?val:jquery(win).scrollleft(),top?val:jquery(win).scrolltop())}else{elem[method]=val}},method,val,arguments.length,null)}});function getwindow(elem){return jquery.iswindow(elem)?elem:elem.nodetype===9?elem.defaultview||elem.parentwindow:false}jquery.each({height:"height",width:"width"},function(name,type){jquery.each({padding:"inner"+name,content:type,"":"outer"+name},function(defaultextra,funcname){jquery.fn[funcname]=function(margin,value){var chainable=arguments.length&&(defaultextra||typeof margin!=="boolean"),extra=defaultextra||(margin===true||value===true?"margin":"border");return jquery.access(this,function(elem,type,value){var doc;if(jquery.iswindow(elem)){return elem.document.documentelement["client"+name]}if(elem.nodetype===9){doc=elem.documentelement;return math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name])}return value===undefined?jquery.css(elem,type,value,extra):jquery.style(elem,type,value,extra)},type,chainable?margin:undefined,chainable,null)}})});window.jquery=window.$=jquery;if(typeof define==="function"&&define.amd&&define.amd.jquery){define("jquery",[],function(){return jquery})}})(window);