/*! * jquery tools v1.2.7 - the missing ui library for the web * * dateinput/dateinput.js * overlay/overlay.js * overlay/overlay.apple.js * rangeinput/rangeinput.js * scrollable/scrollable.js * scrollable/scrollable.autoscroll.js * scrollable/scrollable.navigator.js * tabs/tabs.js * tabs/tabs.slideshow.js * toolbox/toolbox.expose.js * toolbox/toolbox.flashembed.js * toolbox/toolbox.history.js * toolbox/toolbox.mousewheel.js * tooltip/tooltip.js * tooltip/tooltip.dynamic.js * tooltip/tooltip.slide.js * validator/validator.js * * no copyrights or licenses. do what you like. * * http://flowplayer.org/tools/ * * jquery.event.wheel.js - rev 1 * copyright (c) 2008, three dub media (http://threedubmedia.com) * liscensed under the mit license (mit-license.txt) * http://www.opensource.org/licenses/mit-license.php * created: 2008-07-01 | updated: 2008-07-14 * * ----- * */ /*! jquery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.iswindow(a)?a:a.nodetype===9?a.defaultview||a.parentwindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendto(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createelement("iframe"),cl.frameborder=cl.width=cl.height=0),b.appendchild(cl);if(!cm||!cl.createelement)cm=(cl.contentwindow||cl.contentdocument).document,cm.write((c.compatmode==="css1compat"?"":"")+""),cm.close();d=cm.createelement(a),cm.body.appendchild(d),e=f.css(d,"display"),b.removechild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){settimeout(ct,0);return cr=f.now()}function cj(){try{return new a.activexobject("microsoft.xmlhttp")}catch(b){}}function ci(){try{return new a.xmlhttprequest}catch(b){}}function cc(a,c){a.datafilter&&(c=a.datafilter(c,a.datatype));var d=a.datatypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function s(a){return!a||!a.parentnode||a.parentnode.nodetype===11}function k(){return!0}function j(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&settimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removedata(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isemptyobject(a[b]))continue;if(b!=="tojson")return!1}return!0}function l(a,c,d){if(d===b&&a.nodetype===1){var e="data-"+c.replace(k,"-$1").tolowercase();d=a.getattribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isnumeric(d)?parsefloat(d):j.test(d)?f.parsejson(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\s/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").touppercase()},y=d.useragent,z,a,b,c=object.prototype.tostring,d=object.prototype.hasownproperty,e=array.prototype.push,f=array.prototype.slice,g=string.prototype.trim,h=array.prototype.indexof,i={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodetype){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charat(0)!=="<"||a.charat(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerdocument||d:c,j=m.exec(a),j?e.isplainobject(d)?(a=[c.createelement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createelement(j[1])]:(j=e.buildfragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childnodes);return e.merge(this,a)}h=c.getelementbyid(g[2]);if(h&&h.parentnode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isfunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makearray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toarray:function(){return f.call(this,0)},get:function(a){return a==null?this.toarray():a<0?this[this.length+a]:this[a]},pushstack:function(a,b,c){var d=this.constructor();e.isarray(a)?e.apply(d,a):e.merge(d,a),d.prevobject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindready(),a.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushstack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(a){return this.pushstack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevobject||this.constructor(null)},push:e,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isfunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;a.firewith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindready:function(){if(!a){a=e.callbacks("once memory");if(c.readystate==="complete")return settimeout(e.ready,1);if(c.addeventlistener)c.addeventlistener("domcontentloaded",b,!1),a.addeventlistener("load",e.ready,!1);else if(c.attachevent){c.attachevent("onreadystatechange",b),a.attachevent("onload",e.ready);var b=!1;try{b=a.frameelement==null}catch(d){}c.documentelement.doscroll&&b&&j()}}},isfunction:function(a){return e.type(a)==="function"},isarray:array.isarray||function(a){return e.type(a)==="array"},iswindow:function(a){return a&&typeof a=="object"&&"setinterval"in a},isnumeric:function(a){return!isnan(parsefloat(a))&&isfinite(a)},type:function(a){return a==null?string(a):i[c.call(a)]||"object"},isplainobject:function(a){if(!a||e.type(a)!=="object"||a.nodetype||e.iswindow(a))return!1;try{if(a.constructor&&!d.call(a,"constructor")&&!d.call(a.constructor.prototype,"isprototypeof"))return!1}catch(c){return!1}var d;for(d in a);return d===b||d.call(a,d)},isemptyobject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new error(a)},parsejson:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.json&&a.json.parse)return a.json.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new function("return "+b))();e.error("invalid json: "+b)},parsexml:function(c){var d,f;try{a.domparser?(f=new domparser,d=f.parsefromstring(c,"text/xml")):(d=new activexobject("microsoft.xmldom"),d.async="false",d.loadxml(c))}catch(g){d=b}(!d||!d.documentelement||d.getelementsbytagname("parsererror").length)&&e.error("invalid xml: "+c);return d},noop:function(){},globaleval:function(b){b&&j.test(b)&&(a.execscript||function(b){a.eval.call(a,b)})(b)},camelcase:function(a){return a.replace(w,"ms-").replace(v,x)},nodename:function(a,b){return a.nodename&&a.nodename.touppercase()===b.touppercase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isfunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isarray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifywith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolvewith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=array(d),g=d,h=d,j=d<=1&&a&&f.isfunction(a.promise)?a:f.deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getelementsbytagname("*"),e=q.getelementsbytagname("a")[0];if(!d||!d.length||!e)return{};g=c.createelement("select"),h=g.appendchild(c.createelement("option")),i=q.getelementsbytagname("input")[0],b={leadingwhitespace:q.firstchild.nodetype===3,tbody:!q.getelementsbytagname("tbody").length,htmlserialize:!!q.getelementsbytagname("link").length,style:/top/.test(e.getattribute("style")),hrefnormalized:e.getattribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssfloat:!!e.style.cssfloat,checkon:i.value==="on",optselected:h.selected,getsetattribute:q.classname!=="t",enctype:!!c.createelement("form").enctype,html5clone:c.createelement("nav").clonenode(!0).outerhtml!=="<:nav>",submitbubbles:!0,changebubbles:!0,focusinbubbles:!1,deleteexpando:!0,nocloneevent:!0,inlineblockneedslayout:!1,shrinkwrapblocks:!1,reliablemarginright:!0},i.checked=!0,b.noclonechecked=i.clonenode(!0).checked,g.disabled=!0,b.optdisabled=!h.disabled;try{delete q.test}catch(s){b.deleteexpando=!1}!q.addeventlistener&&q.attachevent&&q.fireevent&&(q.attachevent("onclick",function(){b.nocloneevent=!1}),q.clonenode(!0).fireevent("onclick")),i=c.createelement("input"),i.value="t",i.setattribute("type","radio"),b.radiovalue=i.value==="t",i.setattribute("checked","checked"),q.appendchild(i),k=c.createdocumentfragment(),k.appendchild(q.lastchild),b.checkclone=k.clonenode(!0).clonenode(!0).lastchild.checked,b.appendchecked=i.checked,k.removechild(i),k.appendchild(q),q.innerhtml="",a.getcomputedstyle&&(j=c.createelement("div"),j.style.width="0",j.style.marginright="0",q.style.width="2px",q.appendchild(j),b.reliablemarginright=(parseint((a.getcomputedstyle(j,null)||{marginright:0}).marginright,10)||0)===0);if(q.attachevent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setattribute(n,"return;"),p=typeof q[n]=="function"),b[o+"bubbles"]=p;k.removechild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getelementsbytagname("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createelement("div"),a.style.csstext=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertbefore(a,r.firstchild),q=c.createelement("div"),a.appendchild(q),q.innerhtml="
t
",l=q.getelementsbytagname("td"),p=l[0].offsetheight===0,l[0].style.display="",l[1].style.display="none",b.reliablehiddenoffsets=p&&l[0].offsetheight===0,q.innerhtml="",q.style.width=q.style.paddingleft="1px",f.boxmodel=b.boxmodel=q.offsetwidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineblockneedslayout=q.offsetwidth===2,q.style.display="",q.innerhtml="
",b.shrinkwrapblocks=q.offsetwidth!==2),q.style.csstext=k+m,q.innerhtml=o,d=q.firstchild,e=d.firstchild,h=d.nextsibling.firstchild.firstchild,i={doesnotaddborder:e.offsettop!==5,doesaddborderfortableandcells:h.offsettop===5},e.style.position="fixed",e.style.top="20px",i.fixedposition=e.offsettop===20||e.offsettop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsborderforoverflownotvisible=e.offsettop===-5,i.doesnotincludemargininbodyoffset=r.offsettop!==j,r.removechild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([a-z])/g;f.extend({cache:{},uuid:0,expando:"jquery"+(f.fn.jquery+math.random()).replace(/\d/g,""),nodata:{embed:!0,object:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",applet:!0},hasdata:function(a){a=a.nodetype?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptdata(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodetype,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].tojson=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelcase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelcase(c)])):i=h;return i}},removedata:function(a,b,c){if(!!f.acceptdata(a)){var d,e,g,h=f.expando,i=a.nodetype,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isarray(b)||(b in d?b=[b]:(b=f.camelcase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isfunction(a);return this.each(function(d){var g=f(this),h;if(this.nodetype===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isarray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valhooks[this.nodename.tolowercase()]||f.valhooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valhooks[g.nodename.tolowercase()]||f.valhooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valhooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedindex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedindex=-1);return c}}},attrfn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodetype;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrfn)return f(a)[c](d);if(typeof a.getattribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isxmldoc(a),i&&(c=c.tolowercase(),h=f.attrhooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeattr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setattribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getattribute(c);return g===null?b:g}},removeattr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodetype===1){d=b.tolowercase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,a=/^([^\.]*)?(?:\.(.+))?$/,b=/\bhover(\.\s+)?\b/,c=/^key/,d=/^(?:mouse|contextmenu)|click/,e=/^(?:focusinfocus|focusoutblur)$/,f=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,g=function(a){var b=f.exec(a);b&&(b[1]=(b[1]||"").tolowercase(),b[3]=b[3]&&new regexp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},h=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodename.tolowercase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},i=function(a){return f.event.special.hover?a:a.replace(b,"mouseenter$1 mouseleave$1")}; f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodetype===3||a.nodetype===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(i(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexof(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customevent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.event(h,c):new f.event(h),c.type=h,c.istrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new regexp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexof(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makearray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindtype||h]];if(!g&&!p.nobubble&&!f.iswindow(e)){s=p.delegatetype||h,m=e.test(s+h)?e:e.parentnode,n=null;for(;m;m=m.parentnode)r.push([m,s]),n=m;n&&n===e.ownerdocument&&r.push([n.defaultview||n.parentwindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrfn&&(f.attrfn[b]=!0),c.test(b)&&(f.event.fixhooks[b]=f.event.keyhooks),d.test(b)&&(f.event.fixhooks[b]=f.event.mousehooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(math.random()+"").replace(".",""),e=0,g=object.prototype.tostring,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\w/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodetype!==1&&d.nodetype!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isxml(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodetype===9&&!v&&o.match.id.test(w[0])&&!o.match.id.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentnode?d.parentnode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object array]")if(!u)e.push.apply(e,k);else if(d&&d.nodetype===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodetype===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodetype===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniquesort(e));return e};m.uniquesort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.tolowercase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},id:function(a){return a[1].replace(j,"")},tag:function(a,b){return a[1].replace(j,"").tolowercase()},child:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\d/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},attr:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrmap[g]&&(a[1]=o.attrmap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},pseudo:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.pos.test(b[0])||o.match.child.test(b[0]))return!0;return b},pos:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentnode&&a.parentnode.selectedindex;return a.selected===!0},parent:function(a){return!!a.firstchild},empty:function(a){return!a.firstchild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodename)},text:function(a){var b=a.getattribute("type"),c=a.type;return a.nodename.tolowercase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodename.tolowercase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodename.tolowercase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodename.tolowercase()==="input"&&"file"===a.type},password:function(a){return a.nodename.tolowercase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodename.tolowercase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodename.tolowercase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodename.tolowercase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodename.tolowercase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodename)},focus:function(a){return a===a.ownerdocument.activeelement}},setfilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{pseudo:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textcontent||a.innertext||n([a])||"").indexof(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},id:function(a,b){return a.nodetype===1&&a.getattribute("id")===b},tag:function(a,b){return b==="*"&&a.nodetype===1||!!a.nodename&&a.nodename.tolowercase()===b},class:function(a,b){return(" "+(a.classname||a.getattribute("class"))+" ").indexof(b)>-1},attr:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrhandle[c]?o.attrhandle[c](a):a[c]!=null?a[c]:a.getattribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexof(g)>=0:f==="~="?(" "+e+" ").indexof(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexof(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},pos:function(a,b,c,d){var e=b[2],f=o.setfilters[e];if(f)return f(a,c,b,d)}}},p=o.match.pos,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new regexp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftmatch[r]=new regexp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{array.prototype.slice.call(c.documentelement.childnodes,0)[0].nodetype}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object array]")array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertbefore(a,e.firstchild),c.getelementbyid(d)&&(o.find.id=function(a,c,d){if(typeof c.getelementbyid!="undefined"&&!d){var e=c.getelementbyid(a[1]);return e?e.id===a[1]||typeof e.getattributenode!="undefined"&&e.getattributenode("id").nodevalue===a[1]?[e]:b:[]}},o.filter.id=function(a,b){var c=typeof a.getattributenode!="undefined"&&a.getattributenode("id");return a.nodetype===1&&c&&c.nodevalue===b}),e.removechild(a),e=a=null}(),function(){var a=c.createelement("div");a.appendchild(c.createcomment("")),a.getelementsbytagname("*").length>0&&(o.find.tag=function(a,b){var c=b.getelementsbytagname(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodetype===1&&d.push(c[e]);c=d}return c}),a.innerhtml="",a.firstchild&&typeof a.firstchild.getattribute!="undefined"&&a.firstchild.getattribute("href")!=="#"&&(o.attrhandle.href=function(a){return a.getattribute("href",2)}),a=null}(),c.queryselectorall&&function(){var a=m,b=c.createelement("div"),d="__sizzle__";b.innerhtml="

";if(!b.queryselectorall||b.queryselectorall(".test").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isxml(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodetype===1||e.nodetype===9)){if(h[1])return s(e.getelementsbytagname(b),f);if(h[2]&&o.find.class&&e.getelementsbyclassname)return s(e.getelementsbyclassname(h[2]),f)}if(e.nodetype===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getelementbyid(h[3]);if(!i||!i.parentnode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.queryselectorall(b),f)}catch(j){}}else if(e.nodetype===1&&e.nodename.tolowercase()!=="object"){var k=e,l=e.getattribute("id"),n=l||d,p=e.parentnode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setattribute("id",n),q&&p&&(e=e.parentnode);try{if(!q||p)return s(e.queryselectorall("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeattribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentelement,b=a.matchesselector||a.mozmatchesselector||a.webkitmatchesselector||a.msmatchesselector;if(b){var d=!b.call(c.createelement("div"),"div"),e=!1;try{b.call(c.documentelement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesselector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isxml(a))try{if(e||!o.match.pseudo.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodetype!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createelement("div");a.innerhtml="
";if(!!a.getelementsbyclassname&&a.getelementsbyclassname("e").length!==0){a.lastchild.classname="e";if(a.getelementsbyclassname("e").length===1)return;o.order.splice(1,0,"class"),o.find.class=function(a,b,c){if(typeof b.getelementsbyclassname!="undefined"&&!c)return b.getelementsbyclassname(a[1])},a=null}}(),c.documentelement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentelement.comparedocumentposition?m.contains=function(a,b){return!!(a.comparedocumentposition(b)&16)}:m.contains=function(){return!1},m.isxml=function(a){var b=(a?a.ownerdocument||a:0).documentelement;return b?b.nodename!=="html":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodetype?[b]:b;while(d=o.match.pseudo.exec(a))f+=d[0],a=a.replace(o.match.pseudo,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isarray(a)){var h=1;while(g&&g.ownerdocument&&g!==b){for(d=0;d-1:f.find.matchesselector(g,a)){c.push(g);break}g=g.parentnode;if(!g||!g.ownerdocument||g===b||g.nodetype===11)break}}c=c.length>1?f.unique(c):c;return this.pushstack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentnode?this.prevall().length:-1;if(typeof a=="string")return f.inarray(this[0],f(a));return f.inarray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makearray(a&&a.nodetype?[a]:a),d=f.merge(this.get(),c);return this.pushstack(s(c[0])||s(d[0])?d:f.unique(d))},andself:function(){return this.add(this.prevobject)}}),f.each({parent:function(a){var b=a.parentnode;return b&&b.nodetype!==11?b:null},parents:function(a){return f.dir(a,"parentnode")},parentsuntil:function(a,b,c){return f.dir(a,"parentnode",c)},next:function(a){return f.nth(a,2,"nextsibling")},prev:function(a){return f.nth(a,2,"previoussibling")},nextall:function(a){return f.dir(a,"nextsibling")},prevall:function(a){return f.dir(a,"previoussibling")},nextuntil:function(a,b,c){return f.dir(a,"nextsibling",c)},prevuntil:function(a,b,c){return f.dir(a,"previoussibling",c)},siblings:function(a){return f.sibling(a.parentnode.firstchild,a)},children:function(a){return f.sibling(a.firstchild)},contents:function(a){return f.nodename(a,"iframe")?a.contentdocument||a.contentwindow.document:f.makearray(a.childnodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);l.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!r[a]?f.unique(e):e,(this.length>1||n.test(d))&&m.test(a)&&(e=e.reverse());return this.pushstack(e,a,p.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesselector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodetype!==9&&(d===b||g.nodetype!==1||!f(g).is(d)))g.nodetype===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodetype===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextsibling)a.nodetype===1&&a!==b&&c.push(a);return c}});var v="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",w=/ jquery\d+="(?:\d+|null)"/g,x=/^\s+/,y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=u(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlserialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isfunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerdocument||c).createtextnode(a));return f.text(this)},wrapall:function(a){if(f.isfunction(a))return this.each(function(b){f(this).wrapall(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerdocument).eq(0).clone(!0);this[0].parentnode&&b.insertbefore(this[0]),b.map(function(){var a=this;while(a.firstchild&&a.firstchild.nodetype===1)a=a.firstchild;return a}).append(this)}return this},wrapinner:function(a){if(f.isfunction(a))return this.each(function(b){f(this).wrapinner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapall(a):b.append(a)})},wrap:function(a){var b=f.isfunction(a);return this.each(function(c){f(this).wrapall(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodename(this,"body")||f(this).replacewith(this.childnodes)}).end()},append:function(){return this.dommanip(arguments,!0,function(a){this.nodetype===1&&this.appendchild(a)})},prepend:function(){return this.dommanip(arguments,!0,function(a){this.nodetype===1&&this.insertbefore(a,this.firstchild)})},before:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,!1,function(a){this.parentnode.insertbefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toarray());return this.pushstack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentnode)return this.dommanip(arguments,!1,function(a){this.parentnode.insertbefore(a,this.nextsibling)});if(arguments.length){var a=this.pushstack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodetype===1&&(f.cleandata(d.getelementsbytagname("*")),f.cleandata([d])),d.parentnode&&d.parentnode.removechild(d);return this},empty:function() {for(var a=0,b;(b=this[a])!=null;a++){b.nodetype===1&&f.cleandata(b.getelementsbytagname("*"));while(b.firstchild)b.removechild(b.firstchild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodetype===1?this[0].innerhtml.replace(w,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingwhitespace||!x.test(a))&&!bg[(z.exec(a)||["",""])[1].tolowercase()]){a=a.replace(y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushstack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5clone||!bc.test("<"+a.nodename)?a.clonenode(!0):bo(a);if((!f.support.nocloneevent||!f.support.noclonechecked)&&(a.nodetype===1||a.nodetype===11)&&!f.isxmldoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createelement=="undefined"&&(b=b.ownerdocument||b[0]&&b[0].ownerdocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createtextnode(k);else{k=k.replace(y,"<$1>");var l=(z.exec(k)||["",""])[1].tolowercase(),m=bg[l]||bg._default,n=m[0],o=b.createelement("div");b===c?bh.appendchild(o):u(b).appendchild(o),o.innerhtml=m[1]+k+m[2];while(n--)o=o.lastchild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstchild&&o.firstchild.childnodes:m[1]===""&&!p?o.childnodes:[];for(i=q.length-1;i>=0;--i)f.nodename(q[i],"tbody")&&!q[i].childnodes.length&&q[i].parentnode.removechild(q[i])}!f.support.leadingwhitespace&&x.test(k)&&o.insertbefore(b.createtextnode(x.exec(k)[0]),o.firstchild),k=o.childnodes}var r;if(!f.support.appendchecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.csshooks.opacity={get:function(a,b){return br.test((b&&a.currentstyle?a.currentstyle.filter:a.style.filter)||"")?parsefloat(regexp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentstyle,e=f.isnumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeattribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliablemarginright||(f.csshooks.marginright={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginright"):c=a.style.marginright});return c}})}),c.defaultview&&c.defaultview.getcomputedstyle&&(ba=function(a,b){var c,d,e;b=b.replace(bs,"-$1").tolowercase(),(d=a.ownerdocument.defaultview)&&(e=d.getcomputedstyle(a,null))&&(c=e.getpropertyvalue(b),c===""&&!f.contains(a.ownerdocument.documentelement,a)&&(c=f.style(a,b)));return c}),c.documentelement.currentstyle&&(bb=function(a,b){var c,d,e,f=a.currentstyle&&a.currentstyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimestyle&&a.runtimestyle.left,d&&(a.runtimestyle.left=a.currentstyle.left),g.left=b==="fontsize"?"1em":f||0,f=g.pixelleft+"px",g.left=c,d&&(a.runtimestyle.left=d));return f===""?"auto":f}),bz=ba||bb,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetwidth,c=a.offsetheight;return b===0&&c===0||!f.support.reliablehiddenoffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bd=/%20/g,be=/\[\]$/,bf=/\r?\n/g,bg=/#.*$/,bh=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bi=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bj=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bk=/^(?:get|head)$/,bl=/^\/\//,bm=/\?/,bn=/)<[^<]*)*<\/script>/gi,bo=/^(?:select|textarea)/i,bp=/\s+/,bq=/([?&])_=[^&]*/,br=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bs=f.fn.load,bt={},bu={},bv,bw,bx=["*/"]+["*"];try{bv=e.href}catch(by){bv=c.createelement("a"),bv.href="",bv=bv.href}bw=br.exec(bv.tolowercase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bs)return bs.apply(this,arguments);if(!this.length)return this;var e=a.indexof(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="get";c&&(f.isfunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxsettings.traditional),h="post"));var i=this;f.ajax({url:a,type:h,datatype:"html",data:c,complete:function(a,b,c){c=a.responsetext,a.isresolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bn,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bo.test(this.nodename)||bi.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isarray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bf,"\r\n")}}):{name:b.name,value:c.replace(bf,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isfunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,datatype:g})}}),f.extend({getscript:function(a,c){return f.get(a,b,c,"script")},getjson:function(a,b,c){return f.get(a,b,c,"json")},ajaxsetup:function(a,b){b?b_(a,f.ajaxsettings):(b=a,a=f.ajaxsettings),b_(a,b);return a},ajaxsettings:{url:bv,islocal:bj.test(bw[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bx},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":a.string,"text html":!0,"text json":f.parsejson,"text xml":f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:bz(bt),ajaxtransport:bz(bu),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&cleartimeout(q),p=b,n=m||"",v.readystate=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifmodified){if(y=v.getresponseheader("last-modified"))f.lastmodified[k]=y;if(z=v.getresponseheader("etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(a){w="parsererror",u=a}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statustext=""+(c||w),o?h.resolvewith(e,[r,w,v]):h.rejectwith(e,[v,w,u]),v.statuscode(j),j=b,t&&g.trigger("ajax"+(o?"success":"error"),[v,d,o?r:u]),i.firewith(e,[v,w]),t&&(g.trigger("ajaxcomplete",[v,d]),--f.active||f.event.trigger("ajaxstop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxsetup({},c),e=d.context||d,g=e!==d&&(e.nodetype||e instanceof f)?f(e):f.event,h=f.deferred(),i=f.callbacks("once memory"),j=d.statuscode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readystate:0,setrequestheader:function(a,b){if(!s){var c=a.tolowercase();a=m[c]=m[c]||a,l[a]=b}return this},getallresponseheaders:function(){return s===2?n:null},getresponseheader:function(a){var c;if(s===2){if(!o){o={};while(c=bh.exec(n))o[c[1].tolowercase()]=c[2]}c=o[a.tolowercase()]}return c===b?null:c},overridemimetype:function(a){s||(d.mimetype=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statuscode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bg,"").replace(bl,bw[1]+"//"),d.datatypes=f.trim(d.datatype||"*").tolowercase().split(bp),d.crossdomain==null&&(r=br.exec(d.url.tolowercase()),d.crossdomain=!(!r||r[1]==bw[1]&&r[2]==bw[2]&&(r[3]||(r[1]==="http:"?80:443))==(bw[3]||(bw[1]==="http:"?80:443)))),d.data&&d.processdata&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bt,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.touppercase(),d.hascontent=!bk.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxstart");if(!d.hascontent){d.data&&(d.url+=(bm.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bq,"$1_="+x);d.url=y+(y===d.url?(bm.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hascontent&&d.contenttype!==!1||c.contenttype)&&v.setrequestheader("content-type",d.contenttype),d.ifmodified&&(k=k||d.url,f.lastmodified[k]&&v.setrequestheader("if-modified-since",f.lastmodified[k]),f.etag[k]&&v.setrequestheader("if-none-match",f.etag[k])),v.setrequestheader("accept",d.datatypes[0]&&d.accepts[d.datatypes[0]]?d.accepts[d.datatypes[0]]+(d.datatypes[0]!=="*"?", "+bx+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setrequestheader(u,d.headers[u]);if(d.beforesend&&(d.beforesend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bu,d,c,v);if(!p)w(-1,"no transport");else{v.readystate=1,t&&g.trigger("ajaxsend",[v,d]),d.async&&d.timeout>0&&(q=settimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isfunction(b)?b():b,d[d.length]=encodeuricomponent(a)+"="+encodeuricomponent(b)};c===b&&(c=f.ajaxsettings.traditional);if(f.isarray(a)||a.jquery&&!f.isplainobject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bd,"+")}}),f.extend({active:0,lastmodified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxsetup({jsonp:"callback",jsonpcallback:function(){return f.expando+"_"+cd++}}),f.ajaxprefilter("json jsonp",function(b,c,d){var e=b.contenttype==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.datatypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpcallback=f.isfunction(b.jsonpcallback)?b.jsonpcallback():b.jsonpcallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isfunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.datatypes[0]="json";return"script"}}),f.ajaxsetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globaleval(a);return a}}}),f.ajaxprefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossdomain&&(a.type="get",a.global=!1)}),f.ajaxtransport("script",function(a){if(a.crossdomain){var d,e=c.head||c.getelementsbytagname("head")[0]||c.documentelement;return{send:function(f,g){d=c.createelement("script"),d.async="async",a.scriptcharset&&(d.charset=a.scriptcharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readystate||/loaded|complete/.test(d.readystate))d.onload=d.onreadystatechange=null,e&&d.parentnode&&e.removechild(d),d=b,c||g(200,"success")},e.insertbefore(d,e.firstchild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.activexobject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxsettings.xhr=a.activexobject?function(){return!this.islocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withcredentials"in a})}(f.ajaxsettings.xhr()),f.support.ajax&&f.ajaxtransport(function(c){if(!c.crossdomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrfields)for(j in c.xhrfields)h[j]=c.xhrfields[j];c.mimetype&&h.overridemimetype&&h.overridemimetype(c.mimetype),!c.crossdomain&&!e["x-requested-with"]&&(e["x-requested-with"]="xmlhttprequest");try{for(j in e)h.setrequestheader(j,e[j])}catch(k){}h.send(c.hascontent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readystate===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readystate!==4&&h.abort();else{j=h.status,l=h.getallresponseheaders(),m={},n=h.responsexml,n&&n.documentelement&&(m.xml=n),m.text=h.responsetext;try{k=h.statustext}catch(o){k=""}!j&&c.islocal&&!c.crossdomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readystate===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedproperties[this.prop]=!0;for(b in i.animatedproperties)i.animatedproperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedproperties)f.style(h,b,i.orig[b]),f.removedata(h,"fxshow"+b,!0),f.removedata(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==infinity?this.now=e:(c=e-this.starttime,this.state=c/i.duration,this.pos=f.easing[i.animatedproperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parsefloat(h)||0,n=parsefloat(i)||0),f.isfunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetparent(),c=this.offset(),d=cx.test(b[0].nodename)?{top:0,left:0}:b.offset();c.top-=parsefloat(f.css(a,"margintop"))||0,c.left-=parsefloat(f.css(a,"marginleft"))||0,d.top+=parsefloat(f.css(b[0],"bordertopwidth"))||0,d.left+=parsefloat(f.css(b[0],"borderleftwidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetparent:function(){return this.map(function(){var a=this.offsetparent||c.body;while(a&&!cx.test(a.nodename)&&f.css(a,"position")==="static")a=a.offsetparent;return a})}}),f.each(["left","top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pagexoffset"in g?g[a?"pageyoffset":"pagexoffset"]:f.support.boxmodel&&g.document.documentelement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollto(a?f(g).scrollleft():c,a?c:f(g).scrolltop()):this[d]=c})}}),f.each(["height","width"],function(a,c){var d=c.tolowercase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parsefloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parsefloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isfunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.iswindow(e)){var g=e.document.documentelement["client"+c],h=e.document.body;return e.document.compatmode==="css1compat"&&g||h&&h["client"+c]||g}if(e.nodetype===9)return math.max(e.documentelement["client"+c],e.body["scroll"+c],e.documentelement["scroll"+c],e.body["offset"+c],e.documentelement["offset"+c]);if(a===b){var i=f.css(e,d),j=parsefloat(i);return f.isnumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jquery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jquery&&define("jquery",[],function(){return f})})(window); (function(d,d){function m(b,a){b=""+b;for(a=a||2;b.lengthg?(f.addmonth(-1),j=d("#"+c.weeks+" a:eq("+(g+42)+")")):j=h.eq(g);j.addclass(c.focus);return a.preventdefault()}if(34==e)return f.addmonth();if(33==e)return f.addmonth(-1);if(36==e)return f.today();13==e&&(d(a.target).is("select")||d("."+c.focus).click());return 0<=d([16,17,18,9]).index(e)});d(document).on("click.d",function(a){var e=a.target;!d(e).parents("#"+c.root).length&&e!=b[0]&&(!e||e!=e[0])&&f.hide(a)})}var f=this,q=new date,k=q.getfullyear(),c=a.css,f=r[a.lang],i=d("#"+c.root), k=i.find("#"+c.title),e,g,h,z,b,a,o=b.attr("data-value")||a.value||b.val(),n=b.attr("min")||a.min,p=b.attr("max")||a.max,u,i;0===n&&(n="0");o=w(o)||q;n=w(n||new date(k+a.yearrange[0],1,1));p=w(p||new date(k+a.yearrange[1]+1,1,-1));if(!f)throw"dateinput: invalid language: "+a.lang;"date"==b.attr("type")&&(i=b.clone(),k=i.wrap("
").parent().html(),k=d(k.replace(/type/i,"type=text data-orig-type")),a.value&&k.val(a.value),b.replacewith(k),b=k);b.addclass(c.input);var c=b.add(f);if(!i.length){i= d("
").hide().css({position:"absolute"}).attr("id",c.root);i.children().eq(0).attr("id",c.head).end().eq(1).attr("id",c.body).children().eq(0).attr("id",c.days).end().eq(1).attr("id",c.weeks).end().end().end().find("a").eq(0).attr("id",c.prev).end().eq(1).attr("id",c.next);k=i.find("#"+c.head).find("div").attr("id",c.title);if(a.selectors){var x=d("").attr("id",c.year);k.html(x.add(y))}for(var k= i.find("#"+c.days),l=0;7>l;l++)k.append(d("").text(f.shortdays[(l+a.firstday)%7]));d("body").append(i)}a.trigger&&(e=d("").attr("href","#").addclass(c.trigger).click(function(e){a.toggle?f.toggle():f.show();return e.preventdefault()}).insertafter(b));var j=i.find("#"+c.weeks),y=i.find("#"+c.year),x=i.find("#"+c.month);d.extend(f,{show:function(e){if(!b.attr("readonly")&&!b.attr("disabled")&&!u){e=e||d.event();e.type="onbeforeshow";c.trigger(e);if(!e.isdefaultprevented()){d.each(r,function(){this.hide()}); u=true;x.off("change").change(function(){f.setvalue(l(y.val()),l(d(this).val()))});y.off("change").change(function(){f.setvalue(l(d(this).val()),l(x.val()))});g=i.find("#"+c.prev).off("click").click(function(){g.hasclass(c.disabled)||f.addmonth(-1);return false});h=i.find("#"+c.next).off("click").click(function(){h.hasclass(c.disabled)||f.addmonth();return false});f.setvalue(o);var t=b.offset();if(/ipad/i.test(navigator.useragent))t.top=t.top-d(window).scrolltop();i.css({top:t.top+b.outerheight({margins:true})+ a.offset[0],left:t.left+a.offset[1]});if(a.speed)i.show(a.speed,function(){g(e)});else{i.show();g(e)}return f}}},setvalue:function(e,b,g){var h=l(b)>=-1?new date(l(e),l(b),l(g==d||isnan(g)?1:g)):e||o;hp&&(h=p);typeof e=="string"&&(h=w(e));e=h.getfullyear();b=h.getmonth();g=h.getdate();if(b==-1){b=11;e--}else if(b==12){b=0;e++}if(!u){j(h,a);return f}b=b;z=e;a=g;var g=(new date(e,b,1-a.firstday)).getday(),i=(new date(e,b+1,0)).getdate(),k=(new date(e,b-1+1,0)).getdate(),r;if(a.selectors){x.empty(); d.each(f.months,function(a,b){nnew date(e,a,0)&&x.append(d("");if(m%7===0){r=d("
").addclass(c.week);j.append(r)}if(m=g+i){s.addclass(c.off);v=m-i-g+1;h=new date(e,b+1,v)}else{v=m-g+1;h=new date(e,b,v);p(o,h)?s.attr("id",c.current).addclass(c.focus):p(q,h)&&s.attr("id",c.today)}n&&hp&&s.add(h).addclass(c.disabled);s.attr("href","#"+v).text(v).data("date",h);r.append(s)}j.find("a").click(function(b){var e=d(this);if(!e.hasclass(c.disabled)){d("#"+c.current).removeattr("id");e.attr("id",c.current);j(e.data("date"),a,b)}return false});c.sunday&& j.find("."+c.week).each(function(){var b=a.firstday?7-a.firstday:0;d(this).children().slice(b,b+1).addclass(c.sunday)});return f},setmin:function(a,b){n=w(a);b&&op&&f.setvalue(p);return f},today:function(){return f.setvalue(q)},addday:function(a){return this.setvalue(z,b,a+(a||1))},addmonth:function(a){var a=b+(a||1),b=(new date(z,a+1,0)).getdate();return this.setvalue(z,a,a<=b?a:b)},addyear:function(a){return this.setvalue(z+(a||1),b,a)}, destroy:function(){b.add(document).off("click.d keydown.d");i.add(e).remove();b.removedata("dateinput").removeclass(c.input);i&&b.replacewith(i)},hide:function(a){if(u){a=d.event();a.type="onhide";c.trigger(a);if(a.isdefaultprevented())return;d(document).off("click.d keydown.d");i.hide();u=false}return f},toggle:function(){return f.isopen()?f.hide():f.show()},getconf:function(){return a},getinput:function(){return b},getcalendar:function(){return i},getvalue:function(b){return b?n(a.formatter,o,b, a.lang):o},isopen:function(){return u}});d.each(["onbeforeshow","onshow","change","onhide"],function(b,c){if(d.isfunction(a[c]))d(f).on(c,a[c]);f[c]=function(a){if(a)d(f).on(c,a);return f}});a.editable||b.on("focus.d click.d",f.show).keydown(function(a){var c=a.keycode;if(!u&&d(q).index(c)>=0){f.show(a);return a.preventdefault()}(c==8||c==46)&&b.val("");return a.shiftkey||a.ctrlkey||a.altkey||c==9?true:a.preventdefault()});w(b.val())&&j(o,a)}d.tools=d.tools||{version:"@version"};var r=[],o={},q,q= [75,76,38,39,74,72,40,37],r={};q=d.tools.dateinput={conf:{format:"mm/dd/yy",formatter:"default",selectors:!1,yearrange:[-5,5],lang:"en",offset:[0,0],speed:0,firstday:0,min:d,max:d,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},addformatter:function(b,a){o[b]=a},localize:function(b,a){d.each(a,function(b,d){a[b]=d.split(",")});r[b]=a}};q.localize("en", {months:"january,february,march,april,may,june,july,august,september,october,november,december",shortmonths:"jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec",days:"sunday,monday,tuesday,wednesday,thursday,friday,saturday",shortdays:"sun,mon,tue,wed,thu,fri,sat"});var s=d("");q.addformatter("default",function(b,a,d){return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,function(a){return a in d?d[a]:a})});q.addformatter("prefixed",function(b,a,d){return b.replace(/%(d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*')/g, function(a,b){return b in d?d[b]:a})});d.expr[":"].date=function(b){var a=b.getattribute("type");return a&&"date"==a||!!d(b).data("dateinput")};d.fn.dateinput=function(b){if(this.data("dateinput"))return this;b=d.extend(!0,{},q.conf,b);d.each(b.css,function(a,d){!d&&"prefix"!=a&&(b.css[a]=(b.css.prefix||"")+(d||a))});var a;this.each(function(){var j=new t(d(this),b);r.push(j);j=j.getinput().data("dateinput",j);a=a?a.add(j):j});return a?a:this}})(jquery);(function(b){function m(a,c){var d=this,h=a.add(d),n=b(window),e,f,k,g=b.tools.expose&&(c.mask||c.expose),l=math.random().tostring().slice(10);g&&("string"==typeof g&&(g={color:g}),g.closeonclick=g.closeonesc=!1);var i=c.target||a.attr("rel");f=i?b(i):a;if(!f.length)throw"could not find overlay: "+i;a&&-1==a.index(f)&&a.click(function(b){d.load(b);return b.preventdefault()});b.extend(d,{load:function(a){if(d.isopened())return d;var p=o[c.effect];if(!p)throw'overlay: cannot find effect : "'+c.effect+ '"';c.oneinstance&&b.each(q,function(){this.close(a)});a=a||b.event();a.type="onbeforeload";h.trigger(a);if(a.isdefaultprevented())return d;k=true;g&&b(f).expose(g);var j=c.top,e=c.left,i=f.outerwidth({margin:true}),m=f.outerheight({margin:true});typeof j=="string"&&(j=j=="center"?math.max((n.height()-m)/2,0):parseint(j,10)/100*n.height());e=="center"&&(e=math.max((n.width()-i)/2,0));p[0].call(d,{top:j,left:e},function(){if(k){a.type="onload";h.trigger(a)}});if(g&&c.closeonclick)b.mask.getmask().one("click", d.close);if(c.closeonclick)b(document).on("click."+l,function(a){b(a.target).parents(f).length||d.close(a)});if(c.closeonesc)b(document).on("keydown."+l,function(a){a.keycode==27&&d.close(a)});return d},close:function(a){if(!d.isopened())return d;a=a||b.event();a.type="onbeforeclose";h.trigger(a);if(!a.isdefaultprevented()){k=false;o[c.effect][1].call(d,function(){a.type="onclose";h.trigger(a)});b(document).off("click."+l+" keydown."+l);g&&b.mask.close();return d}},getoverlay:function(){return f}, gettrigger:function(){return a},getclosers:function(){return e},isopened:function(){return k},getconf:function(){return c}});b.each(["onbeforeload","onstart","onload","onbeforeclose","onclose"],function(a,e){if(b.isfunction(c[e]))b(d).on(e,c[e]);d[e]=function(a){if(a)b(d).on(e,a);return d}});e=f.find(c.close||".close");!e.length&&!c.close&&(e=b(''),f.prepend(e));e.click(function(a){d.close(a)});c.load&&d.load()}b.tools=b.tools||{version:"@version"};b.tools.overlay={addeffect:function(a, b,d){o[a]=[b,d]},conf:{close:null,closeonclick:!0,closeonesc:!0,closespeed:"fast",effect:"default",fixed:!b.browser.msie||6');c.css({border:0,display:"none"}).width(m);h("body").append(c);b.data("img",c)}var j=d.start.top||math.round(f.height()/2),k=d.start.left||math.round(f.width()/2);g&&(g=l(g),j=g.top,k=g.left);d.fixed?(j-=f.scrolltop(),k-=f.scrollleft()):(a.top+=f.scrolltop(),a.left+=f.scrollleft());c.css({position:"absolute",top:j,left:k,width:0,zindex:d.zindex}).show();a.position=n;b.css(a);c.animate({top:a.top,left:a.left, width:m},d.speed,function(){b.css("zindex",d.zindex+1).fadein(d.fadeinspeed,function(){i.isopened()&&!h(this).index(b)?e.call():b.hide()})}).css("position",n)},function(a){var e=this.getoverlay().hide(),b=this.getconf(),d=this.gettrigger(),e=e.data("img"),g={top:b.start.top,left:b.start.left,width:0};d&&h.extend(g,l(d));b.fixed&&e.css({position:"absolute"}).animate({top:"+="+f.scrolltop(),left:"+="+f.scrollleft()},0);e.animate(g,b.closespeed,a)})})(jquery);(function(a){function z(c,b){var a=math.pow(10,b);return math.round(c*a)/a}function m(c,b){var a=parseint(c.css(b),10);return a?a:(a=c[0].currentstyle)&&a.width&&parseint(a.width,10)}function y(a){return(a=a.data("events"))&&a.onslide}function a(c,b){function e(a,d,f,e){void 0===f?f=d/i*v:e&&(f-=b.min);s&&(f=math.round(f/s)*s);if(void 0===d||s)d=f*i/v;if(isnan(f))return g;d=math.max(0,math.min(d,i));f=d/i*v;if(e||!n)f+=b.min;n&&(e?d=i-d:f=b.max-f);var f=z(f,r),h="click"==a.type;if(u&&void 0!==k&& !h&&(a.type="onslide",w.trigger(a,[f,d]),a.isdefaultprevented()))return g;e=h?b.speed:0;h=h?function(){a.type="change";w.trigger(a,[f])}:null;n?(j.animate({top:d},e,h),b.progress&&x.animate({height:i-d+j.height()/2},e)):(j.animate({left:d},e,h),b.progress&&x.animate({width:d+j.width()/2},e));k=f;c.val(f);return g}function o(){(n=b.vertical||m(h,"height")>m(h,"width"))?(i=m(h,"height")-m(j,"height"),l=h.offset().top+i):(i=m(h,"width")-m(j,"width"),l=h.offset().left)}function q(){o();g.setvalue(void 0!== b.value?b.value:b.min)}var g=this,p=b.css,h=a("
").data("rangeinput",g),n,k,l,i;c.before(h);var j=h.addclass(p.slider).find("a").addclass(p.handle),x=h.find("div").addclass(p.progress);a.each(["min","max","step","value"],function(a,d){var f=c.attr(d);parsefloat(f)&&(b[d]=parsefloat(f,10))});var v=b.max-b.min,s="any"==b.step?0:b.step,r=b.precision;void 0===r&&(r=s.tostring().split("."),r=2===r.length?r[1].length:0);if("range"==c.attr("type")){var t=c.clone().wrap("
").parent().html(), t=a(t.replace(/type/i,"type=text data-orig-type"));t.val(b.value);c.replacewith(t);c=t}c.addclass(p.input);var w=a(g).add(c),u=!0;a.extend(g,{getvalue:function(){return k},setvalue:function(b,d){o();return e(d||a.event("api"),void 0,b,true)},getconf:function(){return b},getprogress:function(){return x},gethandle:function(){return j},getinput:function(){return c},step:function(c,d){d=d||a.event();g.setvalue(k+(b.step=="any"?1:b.step)*(c||1),d)},stepup:function(a){return g.step(a||1)},stepdown:function(a){return g.step(-a|| -1)}});a.each(["onslide","change"],function(c,d){if(a.isfunction(b[d]))a(g).on(d,b[d]);g[d]=function(b){if(b)a(g).on(d,b);return g}});j.drag({drag:!1}).on("dragstart",function(){o();u=y(a(g))||y(c)}).on("drag",function(a,b,f){if(c.is(":disabled"))return false;e(a,n?b:f)}).on("dragend",function(a){if(!a.isdefaultprevented()){a.type="change";w.trigger(a,[k])}}).click(function(a){return a.preventdefault()});h.click(function(a){if(c.is(":disabled")||a.target==j[0])return a.preventdefault();o();var b= n?j.height()/2:j.width()/2;e(a,n?i-l-b+a.pagey:a.pagex-l-b)});b.keyboard&&c.keydown(function(b){if(!c.attr("readonly")){var d=b.keycode,f=a([75,76,38,33,39]).index(d)!=-1,e=a([74,72,40,34,37]).index(d)!=-1;if((f||e)&&!b.shiftkey&&!b.altkey&&!b.ctrlkey){f?g.step(d==33?10:1,b):e&&g.step(d==34?-10:-1,b);return b.preventdefault()}}});c.blur(function(b){var c=a(this).val();c!==k&&g.setvalue(c,b)});a.extend(c[0],{stepup:g.stepup,stepdown:g.stepdown});q();i||a(window).load(q)}a.tools=a.tools||{version:"@version"}; var u;u=a.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:void 0,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var q,l;a.fn.drag=function(c){document.ondragstart=function(){return!1};c=a.extend({x:!0,y:!0,drag:!0},c);q=q||a(document).on("mousedown mouseup",function(b){var e=a(b.target);if("mousedown"==b.type&&e.data("drag")){var o=e.position(),m=b.pagex-o.left,g=b.pagey-o.top,p=!0;q.on("mousemove.drag", function(a){var b=a.pagex-m,a=a.pagey-g,k={};c.x&&(k.left=b);c.y&&(k.top=a);p&&(e.trigger("dragstart"),p=!1);c.drag&&e.css(k);e.trigger("drag",[a,b]);l=e});b.preventdefault()}else try{l&&l.trigger("dragend")}finally{q.off("mousemove.drag"),l=null}});return this.data("drag",!0)};a.expr[":"].range=function(c){var b=c.getattribute("type");return b&&"range"==b||!!a(c).filter("input").data("rangeinput")};a.fn.rangeinput=function(c){if(this.data("rangeinput"))return this;var c=a.extend(!0,{},u.conf,c), b;this.each(function(){var e=new a(a(this),a.extend(!0,{},c)),e=e.getinput().data("rangeinput",e);b=b?b.add(e):e});return b?b:this}})(jquery);(function(d){function p(f,b){var c=d(b);return 2>c.length?c:f.parent().find(b)}function u(f,b){var c=this,n=f.add(c),g=f.children(),l=0,j=b.vertical;k||(k=c);1c.getsize()||a<-1)return c;var i=a;a.jquery?a=c.getitems().index(a):i=c.getitems().eq(a);var h=d.event("onbeforeseek");if(!f){n.trigger(h,[a,e]);if(h.isdefaultprevented()||!i.length)return c}i=j?{top:-i.position().top}:{left:-i.position().left};l=a;k=c;if(e===void 0)e=b.speed;g.animate(i,e,b.easing,f||function(){n.trigger("onseek",[a])});return c}});d.each(["onbeforeseek","onseek","onadditem"],function(a,e){if(d.isfunction(b[e]))d(c).on(e, b[e]);c[e]=function(a){if(a)d(c).on(e,a);return c}});if(b.circular){var q=c.getitems().slice(-1).clone().prependto(g),r=c.getitems().eq(1).clone().appendto(g);q.add(r).addclass(b.clonedclass);c.onbeforeseek(function(a,b,d){if(!a.isdefaultprevented()){if(b==-1){c.seekto(q,d,function(){c.end(0)});return a.preventdefault()}b==c.getsize()&&c.seekto(r,d,function(){c.begin(0)})}});var o=f.parents().add(f).filter(function(){if(d(this).css("display")==="none")return true});o.length?(o.show(),c.seekto(0,0, function(){}),o.hide()):c.seekto(0,0,function(){})}var h=p(f,b.prev).click(function(a){a.stoppropagation();c.prev()}),m=p(f,b.next).click(function(a){a.stoppropagation();c.next()});b.circular||(c.onbeforeseek(function(a,e){settimeout(function(){if(!a.isdefaultprevented()){h.toggleclass(b.disabledclass,e<=0);m.toggleclass(b.disabledclass,e>=c.getsize()-1)}},1)}),b.initialindex||h.addclass(b.disabledclass));2>c.getsize()&&h.add(m).addclass(b.disabledclass);b.mousewheel&&d.fn.mousewheel&&f.mousewheel(function(a, e){if(b.mousewheel){c.move(e<0?1:-1,b.wheelspeed||50);return false}});if(b.touch){var s,t;g[0].ontouchstart=function(a){a=a.touches[0];s=a.clientx;t=a.clienty};g[0].ontouchmove=function(a){if(a.touches.length==1&&!g.is(":animated")){var b=a.touches[0],d=s-b.clientx,b=t-b.clienty;c[j&&b>0||!j&&d>0?"next":"prev"]();a.preventdefault()}}}if(b.keyboard)d(document).on("keydown.scrollable",function(a){if(b.keyboard&&!a.altkey&&!a.ctrlkey&&!a.metakey&&!d(a.target).is(":input")&&!(b.keyboard!="static"&&k!= c)){var e=a.keycode;if(j&&(e==38||e==40)){c.move(e==38?-1:1);return a.preventdefault()}if(!j&&(e==37||e==39)){c.move(e==37?-1:1);return a.preventdefault()}}});b.initialindex&&c.seekto(b.initialindex,0,function(){})}d.tools=d.tools||{version:"@version"};d.tools.scrollable={conf:{activeclass:"active",circular:!1,clonedclass:"cloned",disabledclass:"disabled",easing:"swing",initialindex:0,item:"> *",items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",size:1,speed:400,vertical:!1,touch:!0, wheelspeed:0}};var k;d.fn.scrollable=function(f){var b=this.data("scrollable");if(b)return b;f=d.extend({},d.tools.scrollable.conf,f);this.each(function(){b=new u(d(this),f);d(this).data("scrollable",b)});return f.api?b:this}})(jquery);(function(d){var h=d.tools.scrollable;h.autoscroll={conf:{autoplay:!0,interval:3e3,autopause:!0}};d.fn.autoscroll=function(b){"number"==typeof b&&(b={interval:b});var e=d.extend({},h.autoscroll.conf,b),i;this.each(function(){function b(){c&&cleartimeout(c);c=settimeout(function(){a.next()},e.interval)}var a=d(this).data("scrollable"),f=a.getroot(),c,g=!1;a&&(i=a);a.play=function(){c||(g=!1,f.on("onseek",b),b())};a.pause=function(){c=cleartimeout(c);f.off("onseek",b)};a.resume=function(){g||a.play()}; a.stop=function(){g=!0;a.pause()};e.autopause&&f.add(a.getnavibuttons()).hover(a.pause,a.resume);e.autoplay&&a.play()});return e.api?i:this}})(jquery);(function(b){function m(a,f){var d=b(f);return 2>d.length?d:a.parent().find(f)}var g=b.tools.scrollable;g.navigator={conf:{navi:".navi",naviitem:null,activeclass:"active",indexed:!1,idprefix:null,history:!1}};b.fn.navigator=function(a){"string"==typeof a&&(a={navi:a});var a=b.extend({},g.navigator.conf,a),f;this.each(function(){function d(){return i.find(a.naviitem||"> *")}function g(h){var e=b("<"+(a.naviitem||"a")+"/>").click(function(a){b(this);c.seekto(h);a.preventdefault();j&&history.pushstate({i:h}, "")});0===h&&e.addclass(k);a.indexed&&e.text(h+1);a.idprefix&&e.attr("id",a.idprefix+h);return e.appendto(i)}var c=b(this).data("scrollable"),i=a.navi.jquery?a.navi:m(c.getroot(),a.navi),n=c.getnavibuttons(),k=a.activeclass,j=a.history&&!!history.pushstate,l=c.getconf().size;c&&(f=c);c.getnavibuttons=function(){return n.add(i)};j&&(history.pushstate({i:0},""),b(window).on("popstate",function(a){(a=a.originalevent.state)&&c.seekto(a.i)}));d().length?d().each(function(a){b(this).click(function(e){b(this); c.seekto(a);e.preventdefault();j&&history.pushstate({i:a},"")})}):b.each(c.getitems(),function(a){a%l==0&&g(a)});c.onbeforeseek(function(a,c){settimeout(function(){if(!a.isdefaultprevented()){var b=c/l;d().eq(b).length&&d().removeclass(k).eq(b).addclass(k)}},1)});c.onadditem(function(a,b){var d=c.getitems().index(b);d%l==0&&g(d)})});return a.api?f:this}})(jquery);(function(d){function n(c,a,b){var e=this,l=c.add(this),g=c.find(b.tabs),f=a.jquery?a:c.children(a),i;g.length||(g=c.children());f.length||(f=c.parent().find(a));f.length||(f=d(a));d.extend(this,{click:function(a,h){var f=g.eq(a),j=!c.data("tabs");"string"==typeof a&&a.replace("#","")&&(f=g.filter('[href*="'+a.replace("#","")+'"]'),a=math.max(g.index(f),0));if(b.rotate){var k=g.length-1;if(0>a)return e.click(k,h);if(a>k)return e.click(0,h)}if(!f.length){if(0<=i)return e;a=b.initialindex;f=g.eq(a)}if(a=== i)return e;h=h||d.event();h.type="onbeforeclick";l.trigger(h,[a]);if(!h.isdefaultprevented())return m[j?b.initialeffect&&b.effect||"default":b.effect].call(e,a,function(){i=a;h.type="onclick";l.trigger(h,[a])}),g.removeclass(b.current),f.addclass(b.current),e},getconf:function(){return b},gettabs:function(){return g},getpanes:function(){return f},getcurrentpane:function(){return f.eq(i)},getcurrenttab:function(){return g.eq(i)},getindex:function(){return i},next:function(){return e.click(i+1)},prev:function(){return e.click(i- 1)},destroy:function(){g.off(b.event).removeclass(b.current);f.find('a[href^="#"]').off("click.t");return e}});d.each(["onbeforeclick","onclick"],function(a,c){if(d.isfunction(b[c]))d(e).on(c,b[c]);e[c]=function(a){if(a)d(e).on(c,a);return e}});b.history&&d.fn.history&&(d.tools.history.init(g),b.event="history");g.each(function(a){d(this).on(b.event,function(b){e.click(a,b);return b.preventdefault()})});f.find('a[href^="#"]').on("click.t",function(a){e.click(d(this).attr("href"),a)});location.hash&& "a"==b.tabs&&c.find('[href="'+location.hash+'"]').length?e.click(location.hash):(0===b.initialindex||0b.length?b:c.parent().find(a)}function i(){g=settimeout(function(){e.next()},a.interval)}var b=this,f=c.add(this),e=c.data("tabs"),g,j=!0,m=h(a.next).click(function(){e.next()}),k=h(a.prev).click(function(){e.prev()});d.extend(b,{gettabs:function(){return e},getconf:function(){return a},play:function(){if(g)return b;var a=d.event("onbeforeplay");f.trigger(a);if(a.isdefaultprevented())return b;j=!1;f.trigger("onplay");f.on("onclick",i); i();return b},pause:function(){if(!g)return b;var a=d.event("onbeforepause");f.trigger(a);if(a.isdefaultprevented())return b;g=cleartimeout(g);f.trigger("onpause");f.off("onclick",i);return b},resume:function(){j||b.play()},stop:function(){b.pause();j=!0}});d.each(["onbeforeplay","onplay","onbeforepause","onpause"],function(e,c){if(d.isfunction(a[c]))d(b).on(c,a[c]);b[c]=function(a){return d(b).on(c,a)}});a.autopause&&e.gettabs().add(m).add(k).add(e.getpanes()).hover(b.pause,b.resume);a.autoplay&& b.play();a.clickable&&e.getpanes().click(function(){e.next()});if(!e.getconf().rotate){var l=a.disabledclass;e.getindex()||k.addclass(l);e.onbeforeclick(function(a,b){k.toggleclass(l,!b);m.toggleclass(l,b==e.gettabs().length-1)})}}var h;h=d.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledclass:"disabled",autoplay:!1,autopause:!0,interval:3e3,clickable:!0,api:!1}};d.fn.slideshow=function(c){var a=this.data("slideshow");if(a)return a;c=d.extend({},h.conf,c);this.each(function(){a= new n(d(this),c);d(this).data("slideshow",a)});return c.api?a:this}})(jquery);(function(b){function j(){if(b.browser.msie){var a=b(document).height(),c=b(window).height();return[window.innerwidth||document.documentelement.clientwidth||document.body.clientwidth,20>a-c?c:a]}return[b(document).width(),b(document).height()]}function g(a){if(a)return a.call(b.mask)}b.tools=b.tools||{version:"@version"};var k;k=b.tools.expose={conf:{maskid:"exposemask",loadspeed:"slow",closespeed:"fast",closeonclick:!0,closeonesc:!0,zindex:9998,opacity:0.8,startopacity:0,color:"#fff",onload:null, onclose:null}};var c,h,d,e,i;b.mask={load:function(a,f){if(d)return this;"string"==typeof a&&(a={color:a});a=a||e;e=a=b.extend(b.extend({},k.conf),a);c=b("#"+a.maskid);c.length||(c=b("
").attr("id",a.maskid),b("body").append(c));var l=j();c.css({position:"absolute",top:0,left:0,width:l[0],height:l[1],display:"none",opacity:a.startopacity,zindex:a.zindex});a.color&&c.css("backgroundcolor",a.color);if(!1===g(a.onbeforeload))return this;if(a.closeonesc)b(document).on("keydown.mask",function(a){a.keycode== 27&&b.mask.close(a)});if(a.closeonclick)c.on("click.mask",function(a){b.mask.close(a)});b(window).on("resize.mask",function(){b.mask.fit()});f&&f.length&&(i=f.eq(0).css("zindex"),b.each(f,function(){var a=b(this);/relative|absolute|fixed/i.test(a.css("position"))||a.css("position","relative")}),h=f.css({zindex:math.max(a.zindex+1,"auto"==i?0:i)}));c.css({display:"block"}).fadeto(a.loadspeed,a.opacity,function(){b.mask.fit();g(a.onload);d="full"});d=!0;return this},close:function(){if(d){if(!1===g(e.onbeforeclose))return this; c.fadeout(e.closespeed,function(){g(e.onclose);h&&h.css({zindex:i});d=!1});b(document).off("keydown.mask");c.off("click.mask");b(window).off("resize.mask")}return this},fit:function(){if(d){var a=j();c.css({width:a[0],height:a[1]})}},getmask:function(){return c},isloaded:function(a){return a?"full"==d:d},getconf:function(){return e},getexposed:function(){return h}};b.fn.mask=function(a){b.mask.load(a);return this};b.fn.expose=function(a){b.mask.load(a,this);return this}})(jquery);(function(){function h(a,b){if(b)for(var c in b)b.hasownproperty(c)&&(a[c]=b[c]);return a}function k(a,b){var c=[],d;for(d in a)a.hasownproperty(d)&&(c[d]=b(a[d]));return c}function l(a,b,c){if(e.issupported(b.version))a.innerhtml=e.gethtml(b,c);else if(b.expressinstall&&e.issupported([6,65]))a.innerhtml=e.gethtml(h(b,{src:b.expressinstall}),{mmredirecturl:location.href,mmplayertype:"plugin",mmdoctitle:document.title});else if(a.innerhtml.replace(/\s/g,"")||(a.innerhtml="

flash version "+b.version+ " or greater is required

"+(0"+("a"==a.tagname?"

click here to download latest version

":"

download latest version from here

"),"a"==a.tagname&&(a.onclick=function(){location.href=j})),b.onfail){var d=b.onfail.call(this);"string"==typeof d&&(a.innerhtml=d)}i&&(window[b.id]=document.getelementbyid(b.id));h(this,{getroot:function(){return a},getoptions:function(){return b},getconf:function(){return c}, getapi:function(){return a.firstchild}})}var i=document.all,j="http://www.adobe.com/go/getflashplayer",m="function"==typeof jquery,n=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,g={width:"100%",height:"100%",id:"_"+(""+math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onfail:null,expressinstall:null,w3c:!1,cachebusting:!1};window.attachevent&&window.attachevent("onbeforeunload",function(){__flash_unloadhandler=function(){};__flash_savedunloadhandler=function(){}}); window.flashembed=function(a,b,c){"string"==typeof a&&(a=document.getelementbyid(a.replace("#","")));if(a)return"string"==typeof b&&(b={src:b}),new l(a,h(h({},g),b),c)};var e=h(window.flashembed,{conf:g,getversion:function(){var a,b;try{b=navigator.plugins["shockwave flash"].description.slice(16)}catch(c){try{b=(a=new activexobject("shockwaveflash.shockwaveflash.7"))&&a.getvariable("$version")}catch(d){try{b=(a=new activexobject("shockwaveflash.shockwaveflash.6"))&&a.getvariable("$version")}catch(e){}}}return(b= n.exec(b))?[b[1],b[3]]:[0,0]},asstring:function(a){if(null===a||void 0===a)return null;var b=typeof a;"object"==b&&a.push&&(b="array");switch(b){case "string":return a=a.replace(regexp('(["\\\\])',"g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d*)%/,"$1pct"),'"'+a+'"';case "array":return"["+k(a,function(a){return e.asstring(a)}).join(",")+"]";case "function":return'"function()"';case "object":var b=[],c;for(c in a)a.hasownproperty(c)&&b.push('"'+c+'":'+e.asstring(a[c]));return"{"+b.join(",")+"}"}return(""+ a).replace(/\s/g," ").replace(/\'/g,'"')},gethtml:function(a,b){var a=h({},a),c='';a.width=a.height=a.id=a.w3c=a.src=null;a.onfail=a.version=a.expressinstall= null;for(var d in a)a[d]&&(c+='');d="";if(b){for(var f in b)if(b[f]){var g=b[f];d+=f+"="+encodeuricomponent(/function|object/.test(typeof g)?e.asstring(g):g)+"&"}d=d.slice(0,-1);c+='"}return c+""},issupported:function(a){return f[0]>a[0]||f[0]==a[0]&&f[1]>=a[1]}}),f=e.getversion();m&&(jquery.tools=jquery.tools||{version:"@version"},jquery.tools.flashembed={conf:g},jquery.fn.flashembed=function(a,b){return this.each(function(){jquery(this).data("flashembed", flashembed(this,a,b))})})})();(function(a){function g(a){if(a){var b=d.contentwindow.document;b.open().close();b.location.hash=a}}var f,d,e,h;a.tools=a.tools||{version:"@version"};a.tools.history={init:function(c){h||(a.browser.msie&&"8">a.browser.version?d||(d=a("