(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement){cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close()}d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(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(;e=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)?+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:"x.x.x",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!=null&&a==a.window},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){if(typeof c!="string"||!c){return null}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=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e){return{}}g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.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:p.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,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent){for(n in {submit:1,change:1,focusin:1}){m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o}}j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
t
",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});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;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a)){return this.each(function(b){f(this).addClass(a.call(this,b,this.className))})}if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-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.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set" in c)||c.set(this,h,"value")===b){this.value=h}}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];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,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\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,g=p.selector),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&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?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))}o.match.globalPOS=p;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|bdi|canvas|data|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:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],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){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},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){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b){return c.nodeType===1?c.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(;d1&&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||f.isXMLDoc(a)||!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,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l){continue}if(typeof l=="string"){if(!_.test(l)){l=b.createTextNode(l)}else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--){p=p.lastChild}if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i){f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}}var u;if(!f.support.appendChecked){if(l[0]&&typeof(u=l.length)=="number"){for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get" in k&&(g=k.get(a,!1,e))!==b){return g}return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d)){return}h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set" in k)||(d=k.set(a,d))!==b){try{j[c]=d}catch(l){}}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get" in g&&(e=g.get(a,!0,d))!==b){return e}if(by){return by(a,c)}},swap:function(a,b,c){var d={},e,f;for(f in b){d[f]=a.style[f],a.style[f]=b[f]}e=c.call(a);for(f in b){a.style[f]=d[f]}return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$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))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=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)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c){return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})}},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.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(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter){return}}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),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)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++){f[a+bx[d]+b]=e[d]||e[d-2]||e[0]}return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR){return bR.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(bM,"")).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||bN.test(this.nodeName)||bH.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(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\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:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=utf-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},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:bY(bS),ajaxTransport:bY(bT),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?ca(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=cb(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=bG.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(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2){return !1}t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.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]!=="*"?", "+bW+"; 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=bZ(bT,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){b_(g,a[g],c,e)}}return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.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(cd,l),b.url===j&&(e&&(k=k.replace(cd,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 ce=a.ActiveXObject?function(){for(var a in cg){cg[a](0,1)}}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return !this.isLocal&&ch()||ci()}:ch,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,ce&&delete cg[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);try{m.text=h.responseText}catch(a){}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=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0){return this.animate(ct("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({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b){return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e]}h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e]){return i[d]}return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);(function(c){var a={};a.fileapi=c("").get(0).files!==undefined;a.formdata=window.FormData!==undefined;c.fn.ajaxSubmit=function(g){if(!this.length){b("ajaxSubmit: skipping submit process - no element selected");return this}var f,z,i,l=this;if(typeof g=="function"){g={success:g}}f=this.attr("method");z=this.attr("action");i=(typeof z==="string")?c.trim(z):"";i=i||window.location.href||"";if(i){i=(i.match(/^([^#]+)/)||[])[1]}g=c.extend(true,{url:i,success:c.ajaxSettings.success,type:f||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},g);var t={};this.trigger("form-pre-serialize",[this,g,t]);if(t.veto){b("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(g.beforeSerialize&&g.beforeSerialize(this,g)===false){b("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var j=g.traditional;if(j===undefined){j=c.ajaxSettings.traditional}var o=[];var C,p=this.formToArray(g.semantic,o);if(g.data){g.extraData=g.data;C=c.param(g.data,j)}if(g.beforeSubmit&&g.beforeSubmit(p,this,g)===false){b("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[p,this,g,t]);if(t.veto){b("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var x=c.param(p,j);if(C){x=(x?(x+"&"+C):C)}if(g.type.toUpperCase()=="GET"){g.url+=(g.url.indexOf("?")>=0?"&":"?")+x;g.data=null}else{g.data=x}var u=[];if(g.resetForm){u.push(function(){l.resetForm()})}if(g.clearForm){u.push(function(){l.clearForm(g.includeHidden)})}if(!g.dataType&&g.target){var h=g.success||function(){};u.push(function(k){var q=g.replaceTarget?"replaceWith":"html";c(g.target)[q](k).each(h,arguments)})}else{if(g.success){u.push(g.success)}}g.success=function(G,E,k){var F=g.context||g;for(var D=0,q=u.length;D0;var A="multipart/form-data";var w=(l.attr("enctype")==A||l.attr("encoding")==A);var v=a.fileapi&&a.formdata;b("fileAPI :"+v);var n=(m||w)&&!v;if(g.iframe!==false&&(g.iframe||n)){if(g.closeKeepAlive){c.get(g.closeKeepAlive,function(){s(p)})}else{s(p)}}else{if((m||w)&&v){r(p)}else{c.ajax(g)}}for(var y=0;y');ad.css({position:"absolute",top:"-1000px",left:"-1000px"})}k=ad[0];L={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(ae){var af=(ae==="timeout"?"timeout":"aborted");b("aborting upload... "+af);this.aborted=1;ad.attr("src",G.iframeSrc);L.error=af;if(G.error){G.error.call(G.context,L,af,ae)}if(V){c.event.trigger("ajaxError",[L,G,af])}if(G.complete){G.complete.call(G.context,L,af)}}};V=G.global;if(V&&0===c.active++){c.event.trigger("ajaxStart")}if(V){c.event.trigger("ajaxSend",[L,G])}if(G.beforeSend&&G.beforeSend.call(G.context,L,G)===false){if(G.global){c.active--}return}if(L.aborted){return}M=ab.clk;if(M){N=M.name;if(N&&!M.disabled){G.extraData=G.extraData||{};G.extraData[N]=M.value;if(M.type=="image"){G.extraData[N+".x"]=ab.clk_x;G.extraData[N+".y"]=ab.clk_y}}}var F=1;var q=2;function D(af){var ae=af.contentWindow?af.contentWindow.document:af.contentDocument?af.contentDocument:af.document;return ae}var Z=c("meta[name=csrf-token]").attr("content");var Y=c("meta[name=csrf-param]").attr("content");if(Y&&Z){G.extraData=G.extraData||{};G.extraData[Y]=Z}function P(){var ag=l.attr("target"),ae=l.attr("action");ab.setAttribute("target",K);if(!f){ab.setAttribute("method","POST")}if(ae!=G.url){ab.setAttribute("action",G.url)}if(!G.skipEncodingOverride&&(!f||/post/i.test(f))){l.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(G.timeout){E=setTimeout(function(){T=true;I(F)},G.timeout)}function ah(){try{var aj=D(k).readyState;b("state = "+aj);if(aj&&aj.toLowerCase()=="uninitialized"){setTimeout(ah,50)}}catch(ak){b("Server abort: ",ak," (",ak.name,")");I(q);if(E){clearTimeout(E)}E=undefined}}var af=[];try{if(G.extraData){for(var ai in G.extraData){if(G.extraData.hasOwnProperty(ai)){af.push(c('').attr("value",G.extraData[ai]).appendTo(ab)[0])}}}if(!G.iframeTarget){ad.appendTo("body");if(k.attachEvent){k.attachEvent("onload",I)}else{k.addEventListener("load",I,false)}}setTimeout(ah,15);ab.submit()}finally{ab.setAttribute("action",ae);if(ag){ab.setAttribute("target",ag)}else{l.removeAttr("target")}c(af).remove()}}if(G.forceSync){P()}else{setTimeout(P,10)}var S,U,O=50,ac;function I(ah){if(L.aborted||ac){return}try{U=D(k)}catch(ak){b("cannot access response document: ",ak);ah=q}if(ah===F&&L){L.abort("timeout");return}else{if(ah==q&&L){L.abort("server abort");return}}if(!U||U.location.href==G.iframeSrc){if(!T){return}}if(k.detachEvent){k.detachEvent("onload",I)}else{k.removeEventListener("load",I,false)}var af="success",aj;try{if(T){throw"timeout"}var ae=G.dataType=="xml"||U.XMLDocument||c.isXMLDoc(U);b("isXml="+ae);if(!ae&&window.opera&&(U.body===null||!U.body.innerHTML)){if(--O){b("requeing onLoad callback, DOM not available");setTimeout(I,250);return}}var al=U.body?U.body:U.documentElement;L.responseText=al?al.innerHTML:null;L.responseXML=U.XMLDocument?U.XMLDocument:U;if(ae){G.dataType="xml"}L.getResponseHeader=function(aq){var ap={"content-type":G.dataType};return ap[aq]};if(al){L.status=Number(al.getAttribute("status"))||L.status;L.statusText=al.getAttribute("statusText")||L.statusText}var an=(G.dataType||"").toLowerCase();var ai=/(json|script|text)/.test(an);if(ai||G.textarea){var ag=U.getElementsByTagName("textarea")[0];if(ag){L.responseText=ag.value;L.status=Number(ag.getAttribute("status"))||L.status;L.statusText=ag.getAttribute("statusText")||L.statusText}else{if(ai){var ao=U.getElementsByTagName("pre")[0];var am=U.getElementsByTagName("body")[0];if(ao){L.responseText=ao.textContent?ao.textContent:ao.innerText}else{if(am){L.responseText=am.textContent?am.textContent:am.innerText}}}}}else{if(an=="xml"&&!L.responseXML&&L.responseText){L.responseXML=H(L.responseText)}}try{S=W(L,an,G)}catch(ah){af="parsererror";L.error=aj=(ah||af)}}catch(ah){b("error caught: ",ah);af="error";L.error=aj=(ah||af)}if(L.aborted){b("upload aborted");af=null}if(L.status){af=(L.status>=200&&L.status<300||L.status===304)?"success":"error"}if(af==="success"){if(G.success){G.success.call(G.context,S,"success",L)}if(V){c.event.trigger("ajaxSuccess",[L,G])}}else{if(af){if(aj===undefined){aj=L.statusText}if(G.error){G.error.call(G.context,L,af,aj)}if(V){c.event.trigger("ajaxError",[L,G,aj])}}}if(V){c.event.trigger("ajaxComplete",[L,G])}if(V&&!--c.active){c.event.trigger("ajaxStop")}if(G.complete){G.complete.call(G.context,L,af)}ac=true;if(G.timeout){clearTimeout(E)}setTimeout(function(){if(!G.iframeTarget){ad.remove()}L.responseXML=null},100)}var H=c.parseXML||function(ae,af){if(window.ActiveXObject){af=new ActiveXObject("Microsoft.XMLDOM");af.async="false";af.loadXML(ae)}else{af=(new DOMParser()).parseFromString(ae,"text/xml")}return(af&&af.documentElement&&af.documentElement.nodeName!="parsererror")?af:null};var X=c.parseJSON||function(ae){return window["eval"]("("+ae+")")};var W=function(aj,ah,ag){var af=aj.getResponseHeader("content-type")||"",ae=ah==="xml"||!ah&&af.indexOf("xml")>=0,ai=ae?aj.responseXML:aj.responseText;if(ae&&ai.documentElement.nodeName==="parsererror"){if(c.error){c.error("parsererror")}}if(ag&&ag.dataFilter){ai=ag.dataFilter(ai,ah)}if(typeof ai==="string"){if(ah==="json"||!ah&&af.indexOf("json")>=0){ai=X(ai)}else{if(ah==="script"||!ah&&af.indexOf("javascript")>=0){c.globalEval(ai)}}}return ai}}};c.fn.ajaxForm=function(f){f=f||{};f.delegation=f.delegation&&c.isFunction(c.fn.on);if(!f.delegation&&this.length===0){var g={s:this.selector,c:this.context};if(!c.isReady&&g.s){b("DOM not ready, queuing ajaxForm");c(function(){c(g.s,g.c).ajaxForm(f)});return this}b("terminating; zero elements found by selector"+(c.isReady?"":" (DOM not ready)"));return this}if(f.delegation){c(document).off("submit.form-plugin",this.selector,e).off("click.form-plugin",this.selector,d).on("submit.form-plugin",this.selector,f,e).on("click.form-plugin",this.selector,f,d);return this}return this.ajaxFormUnbind().bind("submit.form-plugin",f,e).bind("click.form-plugin",f,d)};function e(g){var f=g.data;if(!g.isDefaultPrevented()){g.preventDefault();c(this).ajaxSubmit(f)}}function d(f){var k=f.target;var i=c(k);if(!(i.is(":submit,input:image"))){var h=i.closest(":submit");if(h.length===0){return}k=h[0]}var j=this;j.clk=k;if(k.type=="image"){if(f.offsetX!==undefined){j.clk_x=f.offsetX;j.clk_y=f.offsetY}else{if(typeof c.fn.offset=="function"){var g=i.offset();j.clk_x=f.pageX-g.left;j.clk_y=f.pageY-g.top}else{j.clk_x=f.pageX-k.offsetLeft;j.clk_y=f.pageY-k.offsetTop}}}setTimeout(function(){j.clk=j.clk_x=j.clk_y=null},100)}c.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};c.fn.formToArray=function(g,i){var f=[];if(this.length===0){return f}var s=this[0];var l=g?s.getElementsByTagName("*"):s.elements;if(!l){return f}var q,o,k,h,j,t,p;for(q=0,t=l.length;q35?String.fromCharCode(b+29):b.toString(36))};if("0".replace(0,j)==0){while(c--){k[j(c)]=l[c]}l=[function(b){return k[b]||b}];j=function(){return"([4689b-hj-yA-Z]|[12]\\w)"};c=1}while(c--){if(l[c]){e=e.replace(new RegExp("\\b"+j(c)+"\\b","g"),l[c])}}return e}('(c($){$.fn.KinSlideshow=c(4){4=21.extend({22:5,k:400,t:"p",23:"24",26:1l,O:{1C:40,1E:"#1m",1F:0.5,1n:\'1c\'},1G:1l,U:{1H:12,1I:"#27",1J:"1o",1K:"28"},29:1l,b:{Z:"#2a",10:"#2b",11:"#2c",13:"#1m",1L:"1o",14:"#2d",15:"#2e",P:1,1M:0.7}},4);j 1N={1C:40,1E:"#1m",1F:0.5,1n:\'1c\'};j 1O={1H:12,1I:"#27",1J:"1o",1K:"28"};j 1P={Z:"#2a",10:"#2b",11:"#2c",13:"#1m",1L:"1o",14:"#2d",15:"#2e",P:1,1M:0.7};1p(j u in 1N){d(4.O[u]==1R){4.O[u]=1N[u]}}1p(j u in 1O){d(4.U[u]==1R){4.U[u]=1O[u]}}1p(j u in 1P){d(4.b[u]==1R){4.b[u]=1P[u]}}j B=C;j 6=$(B).selector;j 1S=2f 2g();j r=0;j g=2f 2g();j e=0;j F=4.22;j V;j G=1l;j H;d(1T(F)||F<=1){F=5}d(4.k>2h){4.k=2h}n d(4.k<1d){4.k=1d}c 2i(){$(B).f({2j:"W"});$(6+" a 1q").f({border:0});2k();2l()};c 2k(){r=$(6+" a").length;g.1U($(6+" a 1q").y());g.1U($(6+" a 1q").A());$(6+" a 1q").16(c(i){1S.1U($(C).2m("alt"))});$(6+" a").X("");$(6).8("#v").clone().2m("I","J").appendTo(B);2n();2o();2p();2q();2r(4.23);$(B).f({2j:"visible"})};c 2n(){$(B).f({y:g[0],A:g[1],17:"W",Q:"1e"});$(B).1r("");H=4.O.1C;d(1T(H)){H=40}n d(H<25){H=25};d(4.O.1n=="19"){$(B).f(\'A\',g[1]+H)}$(6+" .1t").f({A:H,y:"1d%",Q:"1V",1c:0,p:0});d(4.26){$(6+" .1t").f({K:4.O.1E,2s:4.O.1F})}};c 2o(){d(4.1G){$(B).1r("

");$(6+" .1u").f({A:H,y:"1d%",Q:"1V",1c:0,p:0});$(6+" .1u h2").f({2w:4.U.1H,L:4.U.1I,2x:4.U.1J,fontWeight:4.U.1K});1a(0)}};c 2p(){d(4.b.P>2){4.b.P=2}d(4.b.P<0||1T(4.b.P)){4.b.P=0}d(4.29&&r>=2){$(B).1r("");j 1h="";1p(i=1;i<=r;i++){1h+=""+i+""}1h="
    "+1h+"
";$(6+" .1W").1r(1h);$(6+" .1W #w s").f({listStyle:"none",Y:"p",y:18,A:18,borderWidth:4.b.P,S:4.b.14,borderStyle:"solid",K:4.b.Z,textAlign:"center",cursor:"pointer",marginLeft:3,2w:12,2x:4.b.1L,lineHeight:"18px",2s:4.b.1M,L:4.b.11});$(6+" #w s:eq(0)").f({K:4.b.10,S:4.b.15,L:4.b.13})}};c 2q(){1i(4.t){m"p":1Y();l;m"1g":2z();l;m"up":2A();l;m"19":2B();l;2C:4.t="p";1Y()}};c 1Y(){$(6+" h:lt(2)").X("");$(6).8("#9").f({y:g[0],A:g[1],17:"W",Q:"1e"});$(6).8("#v").f({Y:"p"});$(6).8("#J").f({Y:"p"});$(6+" #9 h").X("");$(6).8("#1y").f({Y:"p",y:"2D%"});V=1j(c(){T(4.t)},F*1k+4.k)};c 2z(){$(6+" h:lt(2)").X("");$(6).8("#9").f({y:g[0],A:g[1],17:"W",Q:"1e"});$(6).8("#v").f({Y:"p"});$(6).8("#J").f({Y:"p"});$(6+" #9 h").X("");$(6).8("#1y").f({Y:"p",y:"2D%"});$(6).8("#J").M("");$(6+" #v a").2E("<1b>");$(6+" #v a").16(c(i){$(6).8("#J").2F($(6+" #v 1b:eq("+i+")").M())});$(6).8("#v").M($(6).8("#J").M());j D=(r-1)*g[0];$(6).8("#9").N(D);V=1j(c(){T(4.t)},F*1k+4.k)};c 2A(){$(6+" h:lt(2)").X("");$(6).8("#9").f({y:g[0],A:g[1],17:"W",Q:"1e"});$(6).8("#9").q({E:0},1);V=1j(c(){T(4.t)},F*1k+4.k)};c 2B(){$(6+" h:lt(2)").X("");$(6).8("#9").f({y:g[0],A:g[1],17:"W",Q:"1e"});$(6).8("#J").M("");$(6+" #v a").2E("<1b>");$(6+" #v a").16(c(i){$(6).8("#J").2F($(6+" #v 1b:eq("+i+")").M())});$(6).8("#v").M($(6).8("#J").M());j 2G=(r-1)*g[1];$(6).8("#9").q({E:2G},1);V=1j(c(){T(4.t)},F*1k+4.k)};c T(1f){1i(1f){m"p":d(e>=r){e=0;$(6).8("#9").N(0);$(6).8("#9").q({N:g[0]},4.k)}n{x=(e+1)*g[0];d($(6).8("#9").is(\':1A\')){$(6).8("#9").1B();$(6).8("#9").q({N:x},4.k)}n{$(6).8("#9").q({N:x},4.k)}}1a(e+1);l;m"1g":j D=(r-1)*g[0];d(e>=r){e=0;$(6).8("#9").N(D+g[0]);$(6).8("#9").q({N:D},4.k)}n{d(G){e++;G=2H}x=D-(e*g[0]);d($(6).8("#9").is(\':1A\')){$(6).8("#9").1B();$(6).8("#9").q({N:x},4.k)}n{$(6).8("#9").q({N:x},4.k)}}1a(e);l;m"up":d(e>=r){e=0;$(6).8("#9").E(0);$(6).8("#9").q({E:g[1]},4.k)}n{x=(e+1)*g[1];d($(6).8("#9").is(\':1A\')){$(6).8("#9").1B();$(6).8("#9").q({E:x},4.k)}n{$(6).8("#9").q({E:x},4.k)}}1a(e+1);l;m"19":j D=(r-1)*g[1];d(e>=r){e=0;$(6).8("#9").E(D+g[1]);$(6).8("#9").q({E:D},4.k)}n{d(G){e++;G=2H}x=D-(e*g[1]);d($(6).8("#9").is(\':1A\')){$(6).8("#9").1B();$(6).8("#9").q({E:x},4.k)}n{$(6).8("#9").q({E:x},4.k)}}1a(e);l}e++}c 1a(R){d(R==r){R=0};d(4.1G){$(6+" .1u h2.2t").M(1S[R])};$(6+" #w s").16(c(i){d(i==R){$(C).f({K:4.b.10,S:4.b.15,L:4.b.13})}n{$(C).f({K:4.b.Z,S:4.b.14,L:4.b.11})}})};c 2r(2I){1i(2I){m"1Z":2J();l;m"24":20();l;2C:20()}};c 2J(){$(6+" #w s").1Z(c(){j o=$(6+" #w s").R($(C));1i(4.t){m"p":e=o-1;l;m"1g":d(G){e=o-1;l}n{e=o;l}m"up":e=o-1;l;m"19":d(G){e=o-1;l}n{e=o;l}}T(4.t);$(6+" #w s").16(c(i){d(i==o){$(C).f({K:4.b.10,S:4.b.15,L:4.b.13})}n{$(C).f({K:4.b.Z,S:4.b.14,L:4.b.11})}})})};c 20(){$(6+" #w s").click(c(){j o=$(6+" #w s").R($(C));1i(4.t){m"p":e=o-1;l;m"1g":d(G){e=o-1;l}n{e=o;l}m"up":e=o-1;l;m"19":d(G){e=o-1;l}n{e=o;l}};T(4.t);$(6+" #w s").16(c(i){d(i==o){$(C).f({K:4.b.10,S:4.b.15,L:4.b.13})}n{$(C).f({K:4.b.Z,S:4.b.14,L:4.b.11})}})})};c 2l(){$(6+" #w s").1Z(c(){clearInterval(V)});$(6+" #w s").mouseout(c(){V=1j(c(){T(4.t)},F*1k+4.k)})};return 2i()}})(21);',[],170,"||||settings||ksbs||find|KSS_moveBox||btn|function|if|KSS_changeFlag|css|KSS_Size|div||var|moveSpeedTime|break|case|else|curLiIndex|left|animate|KSS_imgaeLength|li|moveStyle|key|KSS_content|btnlistID|sp|width||height|ksthis|this|KSS_offsetLeft|scrollTop|KSS_IntervalTime|KSS_firstMoveFlag|getTitleBar_Height|id|KSS_contentClone|background|color|html|scrollLeft|titleBar|btn_borderWidth|position|index|borderColor|KSS_move|titleFont|KSS_setInterval|hidden|wrapAll|float|btn_bgColor|btn_bgHoverColor|btn_fontColor||btn_fontHoverColor|btn_borderColor|btn_borderHoverColor|each|overflow||down|setTiltFontShow|span|bottom|100|relative|style|right|KSS_btnList|switch|setInterval|1000|true|000000|titleBar_position|Verdana|for|img|append|class|KSS_titleBar|KSS_titleBox||||KSS_XposBox||animated|stop|titleBar_height||titleBar_bgColor|titleBar_alpha|isHasTitleFont|TitleFont_size|TitleFont_color|TitleFont_family|TitleFont_weight|btn_fontFamily|btn_bgAlpha|titleBar_Bak|titleFont_Bak|btn_Bak||undefined|KSS_DateArray|isNaN|push|absolute|KSS_btnBox||KSS_moveLeft|mouseover|KSS_btnMouseclick|jQuery|intervalTime|mouseEvent|mouseclick||isHasTitleBar|FFFFFF|bold|isHasBtn|666666|CC0000|CCCCCC|999999|FF0000|new|Array|500|KSS_initialize|visibility|KSS_start|KSS_mousehover|attr|KSS_setTitleBar|KSS_setTitleFont|KSS_setBtn|KSS_action|KSS_btnEvent|opacity|title|margin|padding|fontSize|fontFamily||KSS_moveRight|KSS_moveUp|KSS_moveDown|default|2000|wrap|prepend|KSS_offsetTop|false|Event|KSS_btnMouseover".split("|"),0,{}));eval(function(e,a,c,l,j,k){j=function(b){return(b35?String.fromCharCode(b+29):b.toString(36))};if(!"".replace(/^/,String)){while(c--){k[j(c)]=l[c]||j(c)}l=[function(b){return k[b]}];j=function(){return"\\w+"};c=1}while(c--){if(l[c]){e=e.replace(new RegExp("\\b"+j(c)+"\\b","g"),l[c])}}return e}('(6(a,b,c){A d=b.3i&&!b.4A,e=6(){},f=0,g=/^2O:/,h,i,j=b.1P,k="4B"+ +(2P 3j),l=\'<2o H="4C"><2p><16><16><2o H="4J"><2p><16>\\55<16><16><16>\',m,n=6(a,b,c){A d=a.1F;1x(;b0?(q=a.1P,a):a.C}(b),s=q.3p,t=q.5m==="5n";D$1p=a(q),D$C=a(r),D$1q=a(q.1y("1q")[0]);1R{q.5o("5p",!1,!0)}1S(u){}(6(a){J(!a){A b=q.1y("5q")[0],c=q.1G("5r");c.1D=n+"2s/"+p+".1T",c.5s="5t",c.X="3q",b.3r(c,b.3s)}})(q.5u("3q")),d&&6(a){D$1q.1T(a)!=="Y"&&D$1q.1T({5v:1,3t:"2O(5w:5x)",3u:"Y"})}("3u");A v=6(a){a=a||{};A b,d=v.1h;1x(A e 1U d)a[e]===c&&(a[e]=d[e]);B a.X=a.X||k+f,b=v.1z[a.X],b?b.22().N():(a.1r=a.1r||[],a.1H&&a.1r.3v({X:"1H",2t:a.3w,1A:a.1H,N:a.N}),a.1c&&a.1r.3v({X:"1c",2t:a.2T,1A:a.1c}),v.1h.V=a.V,f++,v.1z[a.X]=h?h.2u(a):2P v.23.2u(a))};v.23=v.3x={5y:v,2u:6(a){A c=8,d,e=a.W,f=g.3y(e);B c.5z=b,c.U=a,c.F=d=c.F||c.3z(),c.3A=!1,c.2U=a.2U,a.13&&!f?(a.1i=!1,a.S=!1,d.13[0].7.G="",d.13[0].1j=\'<3B 1b="\'+a.2v+"2s/3C/"+a.13+\'" H="3D"/>\'):d.13[0].7.G="O",d.P.1s(a.2S),d.24[0].7.18=a.Z?"3E-Z":"11",d.R[0].7.18=a.1V?"25":"11",d.S[0].7.G=a.S?"26-1W":"O",d.1i[0].7.G=a.1i?"26-1W":"O",d.1d[0].7.G=a.1c===!1?"O":"26-1W",d.W[0].7.2w=a.2w,c.1r.2x(c,a.1r),c.R(a.R).W(e,!0,f).1I(a.E,a.I).12(a.L,a.C).1X(a.1X)[a.2y?"2y":"2V"](!0).22(),a.N&&c.N(),a.1t&&c.1t(),c.3F().3G(),h=T,!f&&a.1Y&&a.1Y.1e(c,b),c},1r:6(){A b=8,c=b.F,d=c.2z[0],e="5A",f=b.2A=b.2A||{},g=[].5B.1e(2B),h=0,i,j,l,m,n;1x(;h\',g=q.1G("Q"),g.X="1C",g.7.1w="12:"+i+";L:0;C:0;E:1v%;I:1v%;5E:2C;",h=g.7,d&&(g.1j=c),q.2i.29(g)),i==="1m"&&(h.E=D$C.E(),h.I=D$C.I(),h.C=D$C.1L(),h.L=D$C.1K(),b.34(g)),h.V=e,h.G="",b.22(),b.F.19.1s("3Q"),b.1M=!0,b},3R:6(){A b=8,c=b.U,d=a("#1C",q)[0];J(d&&b.1M){J(c.1N&&c.1N.1M){A e=c.1N.F.P[0].7.V;d.7.V=1J(e,10)-1}2j d.7.G="O";b.F.19.1k("3Q")}B b.1M=!1,b},1d:6(){A c=8,d=c.F,e=d.P,f=v.1z,g=c.U.1d;c.1X();J(c.14){J(1B g=="6"&&g.1e(c,c.14.3S,b)===!1)B c;a(c.14).1n("3T",c.3U).35("1b","1E:\'\'").2k(),d.W.1k("3V"),c.36&&30(c.36)}2j J(1B g=="6"&&g.1e(c,b)===!1)B c;c.3R(),c.1O&&(D$1q.1k("37"),d.2E[0].7.G="O"),v.N===c&&(v.N=T),c.3W(),2F f[c.U.X];J(h)e.2k();2j{h=c,c.2l&&(d.1u[0].7.G="",d.2z[0].7.G="",d.2G[0].7.E=""),d.P[0].7.1w="L:0;C:0;",d.P[0].3X="",d.19.1k("31"),d.R[0].1j="",d.W.1q(""),d.13[0].1j="",d.2z[0].1j="",c.2V(!0).2m();1x(A i 1U c)c.5F(i)&&i!=="F"&&2F c[i]}B c.3A=!0,c},S:6(){A a=8,b,c=a.F,e=c.P[0].7,f=c.1u[0].7,g=c.24[0].7,h=c.R[0].7,i=a.U,j=D$C.1L(),k=D$C.1K();B a.1O?(D$1q.1k("37"),e.C=a.1o.t,e.L=a.1o.l,a.1I(a.1o.w,a.1o.h).2b(),i.1V=a.1o.d,i.Z=a.1o.r,g.18=a.1o.3Y,h.18=a.1o.3Z,c.2E[0].7.G="O",c.S[0].7.G="26-1W",2F a.1o,a.1O=!1):(D$1q.1s("37"),a.2l&&a.1i(),a.1o={t:e.C,l:e.L,w:f.E,h:f.I,d:i.1V,r:i.Z,3Y:g.18,3Z:h.18},e.C=j+"M",e.L=k+"M",b=a.39(),a.1I(b.w,b.h).2m(),d&&t&&(e.E=D$C.E()+"M"),i.1V=!1,i.Z=!1,g.18="11",h.18="11",c.S[0].7.G="O",c.2E[0].7.G="26-1W",a.1O=!0),a},1i:6(){A a=8,b=a.F,c=b.1u[0].7,d=b.2z[0].7,e=b.2G[0].7,f=b.24[0].7.18,g=a.U.Z;B a.2l?(c.G="",d.G=a.2n.40,e.E="",g=a.2n,f.18=a.2n.41?"3E-Z":"11",2F a.2n,a.2l=!1):(a.1O&&a.S(),a.2n={41:g,40:d.G},c.G="O",d.G="O",e.E=c.E,f.18="11",g=!1,a.2l=!0),a.2a(),a},5G:6(a,b){B v.1z[a]?b===1?v.1z[a]:v.1z[a].W||T:T},5H:6(c,d,e){c=c||b;1R{c.42.1D=d?d:c.42.1D}1S(f){d=8.14.1b,a(8.14).35("1b",d)}B e&&e.1e(8),8},3J:6(b){A c=8,e,f,g,h,i,j,k,l=c.F.W,m=c.U,n=c.2g=a(".43",l[0])[0],o="12:1m;L:-44;19:O 0;3a:5I",p="E:1v%;I:1v%;19:O 0;";J(m.45===!1){A s=(2P 3j).5J(),t=b.5K(/([?&])D=[^&]*/,"$5L="+s);b=t+(t===b?(/\\?/.3y(b)?"&":"?")+"D="+s:"")}e=c.14=q.1G("14"),e.2t=m.X,e.7.1w=o,e.5M("5N",0,0),f=a(e),l[0].29(e),c.36=2d(6(){f.35("1b",b)},1);A u=c.3U=6(){l.1s("3V");A b=c.F,f,o=b.5O[0].1l,q=b.1u[0].7;n.7.1w="G:O;12:1m;3a:#46;1Z:0;2h:2D(1Z=0);z-33:1;E:"+q.E+";I:"+q.I+";";1R{g=c.W=e.3S,h=a(g.1P),i=a(g.1P.2i)}1S(s){e.7.1w=p;B}j=m.E==="11"?h.E()+(d?0:1J(i.1T("5P"))):m.E,k=m.I==="11"?h.I():m.I,2d(6(){e.7.1w=p},0),c.1O||c.1I(j,k).12(m.L,m.C),n.7.E=q.E,n.7.I=q.I,m.1Y&&m.1Y.1e(c,g,r)};c.14.5Q=c,f.15("3T",u)},3z:6(){A b=q.1G("Q"),c=q.2i;b.7.1w="12:1m;L:0;C:0;2f:2C;",b.1j=l;A d,e=0,f={P:a(b)},g=b.1y("*"),h=g.1F;1x(;e<4g>6b...\',R:"\\6c\\6d ",1r:T,1H:T,1c:T,1Y:T,1d:T,3w:"\\4h\\6e",2T:"\\6f\\6g",2S:"",2Q:!0,2y:!0,E:"11",I:"11",13:T,2v:n,1t:!1,N:!0,1N:T,2w:"6h",Y:!1,L:"50%",C:"38.2%",S:!0,1i:!0,V:6i,Z:!0,1V:!0,45:!0,2U:T,4i:!1};A w,x="4j"1U s,y="6j"1U s;v.21={3e:e,2I:6(a){A b=v.21;B D$1p.15("4k",b.25).15("4l",b.1g),b.4m=a.2J,b.4n=a.2K,b.3e(a.2J,a.2K),!1},3f:e,25:6(a){A b=v.21;B b.3f(a.2J-b.4m,a.2K-b.4n),!1},3g:e,1g:6(a){A b=v.21;B D$1p.1n("4k",b.25).1n("4l",b.1g),b.3g(a.2J,a.2K),!1}},w=6(b){A c,e,f,g,h,i,j=v.N,k=j.U,l=j.F,m=l.P[0],n=l.R,o=l.1u[0],p=v.21,s="4o"1U r?6(){r.4o().6k()}:6(){1R{q.6l.6m()}1S(a){}};p.3e=6(a,b){i?(e=o.1a,f=o.1l):(g=m.6n,h=m.6o),D$1p.15("3c",p.1g),!d&&y?n.15("4p",p.1g):D$C.15("4q",p.1g),x&&n[0].4j(),l.19.1s("4r"),j.N()},p.3f=6(b,d){J(i){A l=m.7,n=o.7,p=b+e,q=d+f;l.E="11",k.E=n.E=1f.S(0,p)+"M",l.E=m.1a+"M",k.I=n.I=1f.S(0,q)+"M",j.2g&&a(j.2g).1T({E:n.E,I:n.I})}2j{A n=m.7,r=b+g,t=d+h;k.L=1f.S(c.4s,1f.1i(c.2L,r)),k.C=1f.S(c.4t,1f.1i(c.2M,t)),n.L=k.L+"M",n.C=k.C+"M"}s()},p.3g=6(a,b){D$1p.1n("3c",p.1g),!d&&y?n.1n("4p",p.1g):D$C.1n("4q",p.1g),x&&n[0].6p(),d&&j.2b(),l.19.1k("4r")},i=b.2H===l.24[0]?!0:!1,c=6(a){A b=m.1a,c=n[0].1l||20,d=D$C.E(),e=D$C.I(),f=a?0:D$C.1K(),g=a?0:D$C.1L();B 2L=d-b+f,2M=e-c+g,{4s:f,4t:g,2L:2L,2M:2M}}(m.7.12==="Y"),p.2I(b)},a(6(){2d(6(){J(f)B;v({L:"-44",1X:9,Y:!1,1t:!1,N:!1})},6q),v.1h.4i&&6(a){A b=q.1G("Q"),c=b.7,e=d?"1m":"Y";b.X="3d",c.1w="G:O;12:"+e+";L:0;C:0;E:1v%;I:1v%;"+"18:25;2h:2D(1Z=0);1Z:0;3a:#46;6r-6s:O;",q.2i.29(b),a.4u=a.2I,a.4v=a.1g,a.2I=6(){A b=v.N,d=b.F.1u[0],f=b.14;a.4u.2x(8,2B),c.G="1W",c.V=v.1h.V+3,e==="1m"&&(c.E=D$C.E()+"M",c.I=D$C.I()+"M",c.L=D$1p.1K()+"M",c.C=D$1p.1L()+"M"),f&&d.1a*d.1l>6t&&(d.7.2f="2C")},a.1g=6(){A b=v.N;a.4v.2x(8,2B),c.G="O",b&&(b.F.1u[0].7.2f="3O")}}(v.21)}),a.23.2G=6(){A a=2B;B 8.15("4e",6(){B v.2x(8,a),!1}),8},b.2R=a.2G=v})(8.4w||8.4x,8),6(a,b,c){A d=6(){B b.1h.V};b.4y=6(a,c,e){B b({R:"\\6u\\6v",X:"6w",V:d(),13:"4y.2N",Y:!0,1t:!0,W:a,1H:!0,Z:!1,1d:c,1N:e||T})},b.3h=6(a,c,e,f){B b({R:"\\4h\\6x",X:"3h.2N",V:d(),13:"3h.2N",Y:!0,1t:!0,W:a,Z:!1,1N:f||T,1H:6(a){B c.1e(8,a)},1c:6(a){B e&&e.1e(8,a)}})},b.4z=6(a,c,e,f){e=e||"";A g;B b({R:"\\6y\\6z",X:"6A",V:d(),13:"4z.2N",Y:!0,1t:!0,1N:f||T,W:[\'\',a,"","",\'<2W 2X="\',e,\'" 7="E:6G;2w:6H 6I" />\',""].6J(""),1Y:6(){g=8.F.W[0].1y("2W")[0],g.6K(),g.N()},1H:6(a){B c&&c.1e(8,g.2X,a)},1c:!0})},b.6L=6(a,c,e,f){A g=e?6(){8.F.13[0].1j=\'<3B 1b="\'+8.U.2v+"2s/3C/"+e+\'" H="3D"/>\',8.F.13[0].7.G="",f&&(8.U.1d=f)}:6(){8.F.13[0].7.G="O",f&&(8.U.1d=f)};B b({X:"6M",V:d(),R:!1,1c:!1,Y:!0,1t:!1,Z:!1}).W(a).1X(c||1.5,g)}}(8.4w||8.4x,8.2R)',62,421,"||||||function|style|this||||||||||||||||||||||||||||var|return|top|_|width|DOM|display|class|height|if|td|left|px|focus|none|wrap|div|title|max|null|config|zIndex|content|id|fixed|resize||auto|position|icon|iframe|bind|tr||cursor|border|offsetWidth|src|cancel|close|call|Math|end|setting|min|innerHTML|removeClass|offsetHeight|absolute|unbind|_or|doc|html|button|addClass|lock|main|100|cssText|for|getElementsByTagName|list|callback|typeof|ldg_lockmask|href|javascript|length|createElement|ok|size|parseInt|scrollLeft|scrollTop|_lock|parent|_maxState|document|split|try|catch|css|in|drag|block|time|init|opacity||dragEvent|zindex|fn|rb|move|inline||_focus|appendChild|_ie6SelectFix|_autoPositionType|number|setTimeout|_click|visibility|_load|filter|body|else|remove|_minState|_setAbsolute|_minRz|table|tbody|void|indexOf|skins|name|_init|path|padding|apply|show|buttons|_listeners|arguments|hidden|alpha|res|delete|dialog|target|start|clientX|clientY|maxX|maxY|gif|url|new|esc|lhgdialog|skin|cancelVal|data|hide|input|value|disabled|_toNumber|clearTimeout|ui_state_focus|elemFocus|index|_setFixed|attr|_frmTimer|ui_lock_scroll||_maxSize|background|_winResize|dblclick|ldg_dragmask|onstart|onmove|onend|confirm|ActiveXObject|Date|colspan|u6700|u5316|substr|lastIndexOf|documentElement|lhgdialoglink|insertBefore|firstChild|backgroundImage|backgroundAttachment|push|okVal|prototype|test|_getDOM|closed|img|icons|ui_icon_bg|se|_ie6PngFix|_addEvent|elem|ui_state_tips|_iframe|_left|toString|_top|_timer|visible|ui_state_visible|ui_state_lock|unlock|contentWindow|load|_fmLoad|ui_state_full|_removeEvent|className|rc|tc|btn|rzs|location|ui_loading|9999em|cache|FFF|ownerDocument|setExpression|removeExpression|_reset|_winSize|_lockDocW|newWidth|click|keydown|span|u786e|extendDrag|setCapture|mousemove|mouseup|_sClientX|_sClientY|getSelection|losecapture|blur|ui_state_drag|minX|minY|_start|_end|jQuery|lhgcore|alert|prompt|XMLHttpRequest|JDG|ui_border|ui_lt|ui_t|ui_rt|ui_l|ui_c|ui_inner|ui_dialog|ui_title_bar|ui_title|unselectable|on|ui_title_buttons|ui_min|u5c0f|ui_min_b|ui_max|u5927|ui_max_b|ui_res|u8fd8|u539f|ui_res_b|ui_res_t||ui_close|u5173|u95ed|u952e|u00d7|ui_icon|ui_main|ui_content|ui_buttons|ui_r|ui_lb|ui_b|ui_rb|querySelector|getAttribute|break|script|default|self|true|frameset|compatMode|BackCompat|execCommand|BackgroundImageCache|head|link|rel|stylesheet|getElementById|zoom|about|blank|constructor|opener|ui_state_highlight|slice|type|1e3|overflow|hasOwnProperty|get|reload|transparent|getTime|replace|1_|setAttribute|frameborder|lt|marginLeft|api|ui_|currentStyle|png|runtimeStyle|progid|DXImageTransform|Microsoft|AlphaImageLoader|sizingMethod|scale|iframeMask|abs|140|max_b|res_b|res_t|min_b|mousedown|keyCode|unload|loading|u89c6|u7a97|u5b9a|u53d6|u6d88|10px|1976|onlosecapture|removeAllRanges|selection|empty|offsetLeft|offsetTop|releaseCapture|150|pointer|events|307200|u8b66|u544a|Alert|u8ba4|u63d0|u95ee|Prompt|margin|bottom|5px|font|12px|18em|6px|4px|join|select|tips|Tips".split("|"),0,{}));$.extend($.fn,{Tips:function(l){var m=$.extend({type:"load",text:"加载中...",time:3},l),j=".jquery_tips",n={okay:"#080",warn:"#808",error:"#800",load:"#008"};if($(j).length>0){$(j).remove()}var i=m.text.length*14+65,k=$(document).width()/2-i/2,c=$(document).scrollTop()+200;return $('

'+m.text+"

").css({width:i,left:k,top:c,color:n[m.type]}).appendTo("body").delay((m.time-1)*1000).fadeOut(1000,function(){$(j).remove()})}});var path="/eportal/uiFramework/huilan-jquery-ui/images/simple-tree/";$.fn.simpleTree=function(a){return this.each(function(){var i=this;var g=$(".root",this);var c=false;var h=false;var b=false;var d=false;var j=false;var f=false;var e=Array();i.option={drag:true,animate:false,autoclose:false,speed:"fast",afterAjax:false,afterMove:false,afterClick:false,afterDblClick:false,afterContextMenu:false,docToFolderConvert:false};i.option=$.extend(i.option,a);$.extend(this,{getSelected:function(){return $("span.active",this).parent()}});i.closeNearby=function(k){$(k).siblings().filter(".folder-open, .folder-open-last").each(function(){var l=$(">ul",this);var m=this.className;this.className=m.replace("open","close");if(i.option.animate){l.animate({height:"toggle"},i.option.speed)}else{l.hide()}})};i.nodeToggle=function(l){var k=$(">ul",l);if(k.is(":visible")){l.className=l.className.replace("open","close");if(i.option.animate){k.animate({height:"toggle"},i.option.speed)}else{k.hide()}}else{l.className=l.className.replace("close","open");if(i.option.animate){k.animate({height:"toggle"},i.option.speed,function(){if(i.option.autoclose){i.closeNearby(l)}if(k.is(".ajax")){i.setAjaxNodes(k,l.id)}})}else{k.show();if(i.option.autoclose){i.closeNearby(l)}if(k.is(".ajax")){i.setAjaxNodes(k,l.id)}}}};i.setAjaxNodes=function(m,k,n){if($.inArray(k,e)==-1){e[e.length]=k;var l=$.trim($(">li",m).text());if(l&&l.indexOf("url:")){l=$.trim(l.replace(/.*\{url:(.*)\}/i,"$1"));$.ajax({type:"GET",url:l,contentType:"html",cache:false,success:function(o){m.removeAttr("class");m.html(o);$.extend(m,{url:l});i.setTreeNodes(m,true);if(typeof i.option.afterAjax=="function"){i.option.afterAjax(m)}if(typeof n=="function"){n(m)}}})}}};i.setTreeNodes=function(l,k){l=k?l.parent():l;$("li>span",l).addClass("text").bind("selectstart",function(){return false}).click(function(){$(".active",i).attr("class","text");if(this.className=="text"){this.className="active"}if(typeof i.option.afterClick=="function"){i.option.afterClick($(this).parent())}return false}).dblclick(function(){c=false;i.nodeToggle($(this).parent().get(0));if(typeof i.option.afterDblClick=="function"){i.option.afterDblClick($(this).parent())}return false}).bind("contextmenu",function(){$(".active",i).attr("class","text");if(this.className=="text"){this.className="active"}if(typeof i.option.afterContextMenu=="function"){i.option.afterContextMenu($(this).parent())}return false}).mousedown(function(m){c=true;cloneNode=$(this).parent().clone();var n=$(this).parent();if(i.option.drag){$(">ul",cloneNode).hide();$("body").append('
    ');$("#drag_container").hide().css({opacity:"0.8"});$("#drag_container >ul").append(cloneNode);$("").attr({id:"tree_plus",src:path+"plus.gif"}).css({width:"7px",display:"block",position:"absolute",left:"5px",top:"5px",display:"none"}).appendTo("body");$(document).bind("mousemove",{LI:n},i.dragStart).bind("mouseup",i.dragEnd)}return false}).mouseup(function(){if(c&&h&&j){i.moveNodeToFolder($(this).parent())}i.eventDestroy()});$("li",l).each(function(p){var q=this.className;var m=false;var o=false;var s=this;var n=$(">ul",this);if(n.size()>0){var r="folder-";if(q&&q.indexOf("open")>=0){r=r+"open";m=true}else{r=r+"close"}this.className=r+($(this).is(":last-child")?"-last":"");if(!m||q.indexOf("ajax")>=0){n.hide()}i.setTrigger(this)}else{var r="doc";this.className=r+($(this).is(":last-child")?"-last":"")}}).before('
  •  
  • ').filter(":last-child").after('
  • ');i.setEventLine($(".line, .line-last",l))};i.setTrigger=function(l){$(">span",l).before("");var k=$(">.trigger",l);k.click(function(m){i.nodeToggle(l)});if(!$.browser.msie){k.css("float","left")}};i.dragStart=function(k){var l=$(k.data.LI);if(c){h=true;if(f){clearTimeout(f)}if($("#drag_container:not(:visible)")){$("#drag_container").show();l.prev(".line").hide();j=l}$("#drag_container").css({position:"absolute",left:(k.pageX+5),top:(k.pageY+15)});if(l.is(":visible")){l.hide()}var n=false;if(k.target.tagName.toLowerCase()=="span"&&$.inArray(k.target.className,Array("text","active","trigger"))!=-1){var r=k.target.parentNode;var q=$(r).offset({scroll:false});var s={x:(q.left-3),y:k.pageY-q.top};var p=$("#tree_plus").attr("src");var o=$(">ul.ajax",r).size();var m=$(">ul.ajax",r);s.x+=19;s.y=k.pageY-s.y+5;if(r.className.indexOf("folder-close")>=0&&o==0){if(p.indexOf("minus")!=-1){$("#tree_plus").attr("src",path+"plus.gif")}$("#tree_plus").css({left:s.x,top:s.y}).show();f=setTimeout(function(){r.className=r.className.replace("close","open");$(">ul",r).show()},700)}else{if(r.className.indexOf("folder")>=0&&o==0){if(p.indexOf("minus")!=-1){$("#tree_plus").attr("src",path+"plus.gif")}$("#tree_plus").css({left:s.x,top:s.y}).show()}else{if(r.className.indexOf("folder-close")>=0&&o>0){h=false;$("#tree_plus").attr("src",path+"minus.gif");$("#tree_plus").css({left:s.x,top:s.y}).show();$(">ul",r).show();i.setAjaxNodes(m,r.id,function(){r.className=r.className.replace("close","open");h=true;$("#tree_plus").attr("src",path+"plus.gif");$("#tree_plus").css({left:s.x,top:s.y}).show()})}else{if(i.option.docToFolderConvert){$("#tree_plus").css({left:s.x,top:s.y}).show()}else{$("#tree_plus").hide()}}}}}else{$("#tree_plus").hide()}return false}return true};i.dragEnd=function(){if(f){clearTimeout(f)}i.eventDestroy()};i.setEventLine=function(k){k.mouseover(function(){if(this.className.indexOf("over")<0&&c&&h){this.className=this.className.replace("line","line-over")}}).mouseout(function(){if(this.className.indexOf("over")>=0){this.className=this.className.replace("-over","")}}).mouseup(function(){if(c&&j&&h){d=$(this).parents("li:first");i.moveNodeToLine(this);i.eventDestroy()}})};i.checkNodeIsLast=function(l){if(l.className.indexOf("last")>=0){var k=j.prev().prev();if(k.size()>0){k[0].className+="-last"}l.className=l.className.replace("-last","")}};i.checkLineIsLast=function(k){if(k.className.indexOf("last")>=0){var l=$(k).prev();if(l.size()>0){l[0].className=l[0].className.replace("-last","")}j[0].className+="-last"}};i.eventDestroy=function(){$(document).unbind("mousemove",i.dragStart).unbind("mouseup").unbind("mousedown");$("#drag_container, #tree_plus").remove();if(j){$(j).show().prev(".line").show()}d=j=c=h=false};i.convertToFolder=function(k){k[0].className=k[0].className.replace("doc","folder-open");k.append('
    ');i.setTrigger(k[0]);i.setEventLine($(".line, .line-last",k))};i.convertToDoc=function(k){$(">ul",k).remove();$("img",k).remove();k[0].className=k[0].className.replace(/folder-(open|close)/gi,"doc")};i.moveNodeToFolder=function(l){if(!i.option.docToFolderConvert&&l[0].className.indexOf("doc")!=-1){return true}else{if(i.option.docToFolderConvert&&l[0].className.indexOf("doc")!=-1){i.convertToFolder(l)}}i.checkNodeIsLast(j[0]);var k=$(">ul >.line-last",l);if(k.size()>0){i.moveNodeToLine(k[0])}};i.moveNodeToLine=function(k){i.checkNodeIsLast(j[0]);i.checkLineIsLast(k);var o=$(j).parents("li:first");var n=$(j).prev(".line");$(k).before(j);$(j).before(n);k.className=k.className.replace("-over","");var m=$(">ul >li",o).not(".line, .line-last").filter(":visible").size();if(i.option.docToFolderConvert&&m==0){i.convertToDoc(o)}else{if(m==0){o[0].className=o[0].className.replace("open","close");$(">ul",o).hide()}}if($("span:first",j).attr("class")=="text"){$(".active",i).attr("class","text");$("span:first",j).attr("class","active")}if(typeof(i.option.afterMove)=="function"){var l=$(j).prevAll(":not(.line)").size();i.option.afterMove($(k).parents("li:first"),$(j),l)}};i.addNode=function(k,m,n){var l=$('
    • '+m+"
  • ");i.setTreeNodes(l);d=i.getSelected();j=$(".doc-last",l);i.moveNodeToFolder(d);l.remove();if(typeof(n)=="function"){n(d,j)}};i.delNode=function(k){j=i.getSelected();i.checkNodeIsLast(j[0]);j.prev().remove();j.remove();if(typeof(k)=="function"){k(d)}};i.init=function(k){i.setTreeNodes(k,false)};i.init(g)})};(function(c){var e=[],b=/^url\(["']?([^"'\)]*)["']?\);?$/i,a=/\.png$/i,f=!!window.createPopup&&document.documentElement.currentStyle.minWidth=="undefined";function d(){c.each(e,function(){this.refresh(true)})}c(window).resize(d);c.Poshytip=function(h,g){this.$elm=c(h);this.opts=c.extend({},c.fn.poshytip.defaults,g);this.$tip=c(['
    ','
    ','
    ',"
    "].join("")).appendTo(document.body);this.$arrow=this.$tip.find("div.tip-arrow");this.$inner=this.$tip.find("div.tip-inner");this.disabled=false;this.content=null;this.init()};c.Poshytip.prototype={init:function(){e.push(this);var g=this.$elm.attr("title");this.$elm.data("title.poshytip",g!==undefined?g:null).data("poshytip",this);if(this.opts.showOn!="none"){this.$elm.bind({"mouseenter.poshytip":c.proxy(this.mouseenter,this),"mouseleave.poshytip":c.proxy(this.mouseleave,this)});switch(this.opts.showOn){case"hover":if(this.opts.alignTo=="cursor"){this.$elm.bind("mousemove.poshytip",c.proxy(this.mousemove,this))}if(this.opts.allowTipHover){this.$tip.hover(c.proxy(this.clearTimeouts,this),c.proxy(this.mouseleave,this))}break;case"focus":this.$elm.bind({"focus.poshytip":c.proxy(this.showDelayed,this),"blur.poshytip":c.proxy(this.hideDelayed,this)});break}}},mouseenter:function(g){if(this.disabled){return true}this.$elm.attr("title","");if(this.opts.showOn=="focus"){return true}this.showDelayed()},mouseleave:function(g){if(this.disabled||this.asyncAnimating&&(this.$tip[0]===g.relatedTarget||jQuery.contains(this.$tip[0],g.relatedTarget))){return true}if(!this.$tip.data("active")){var h=this.$elm.data("title.poshytip");if(h!==null){this.$elm.attr("title",h)}}if(this.opts.showOn=="focus"){return true}this.hideDelayed()},mousemove:function(g){if(this.disabled){return true}this.eventX=g.pageX;this.eventY=g.pageY;if(this.opts.followCursor&&this.$tip.data("active")){this.calcPos();this.$tip.css({left:this.pos.l,top:this.pos.t});if(this.pos.arrow){this.$arrow[0].className="tip-arrow tip-arrow-"+this.pos.arrow}}},show:function(){if(this.disabled||this.$tip.data("active")){return}this.reset();this.update();if(!this.content){return}this.display();if(this.opts.timeOnScreen){this.hideDelayed(this.opts.timeOnScreen)}},showDelayed:function(g){this.clearTimeouts();this.showTimeout=setTimeout(c.proxy(this.show,this),typeof g=="number"?g:this.opts.showTimeout)},hide:function(){if(this.disabled||!this.$tip.data("active")){return}this.display(true)},hideDelayed:function(g){this.clearTimeouts();this.hideTimeout=setTimeout(c.proxy(this.hide,this),typeof g=="number"?g:this.opts.hideTimeout)},reset:function(){this.$tip.queue([]).detach().css("visibility","hidden").data("active",false);this.$inner.find("*").poshytip("hide");if(this.opts.fade){this.$tip.css("opacity",this.opacity)}this.$arrow[0].className="tip-arrow tip-arrow-top tip-arrow-right tip-arrow-bottom tip-arrow-left";this.asyncAnimating=false},update:function(g,h){if(this.disabled){return}var k=g!==undefined;if(k){if(!h){this.opts.content=g}if(!this.$tip.data("active")){return}}else{g=this.opts.content}var j=this,i=typeof g=="function"?g.call(this.$elm[0],function(l){j.update(l)}):g=="[title]"?this.$elm.data("title.poshytip"):g;if(this.content!==i){this.$inner.empty().append(i);this.content=i}this.refresh(k)},refresh:function(p){if(this.disabled){return}if(p){if(!this.$tip.data("active")){return}var i={left:this.$tip.css("left"),top:this.$tip.css("top")}}this.$tip.css({left:0,top:0}).appendTo(document.body);if(this.opacity===undefined){this.opacity=this.$tip.css("opacity")}var j=this.$tip.css("background-image").match(b),k=this.$arrow.css("background-image").match(b);if(j){var g=a.test(j[1]);if(f&&g){this.$tip.css("background-image","none");this.$inner.css({margin:0,border:0,padding:0});j=g=false}else{this.$tip.prepend('
    ').css({border:0,padding:0,"background-image":"none","background-color":"transparent"}).find(".tip-bg-image").css("background-image",'url("'+j[1]+'")').end().find("td").eq(3).append(this.$inner)}if(g&&!c.support.opacity){this.opts.fade=false}}if(k&&!c.support.opacity){if(f&&a.test(k[1])){k=false;this.$arrow.css("background-image","none")}this.opts.fade=false}var m=this.$tip.find("> table.tip-table");if(f){this.$tip[0].style.width="";m.width("auto").find("td").eq(3).width("auto");var l=this.$tip.width(),h=parseInt(this.$tip.css("min-width")),o=parseInt(this.$tip.css("max-width"));if(!isNaN(h)&&lo){l=o}}this.$tip.add(m).width(l).eq(0).find("td").eq(3).width("100%")}else{if(m[0]){m.width("auto").find("td").eq(3).width("auto").end().end().width(document.defaultView&&document.defaultView.getComputedStyle&&parseFloat(document.defaultView.getComputedStyle(this.$tip[0],null).width)||this.$tip.width()).find("td").eq(3).width("100%")}}this.tipOuterW=this.$tip.outerWidth();this.tipOuterH=this.$tip.outerHeight();this.calcPos();if(k&&this.pos.arrow){this.$arrow[0].className="tip-arrow tip-arrow-"+this.pos.arrow;this.$arrow.css("visibility","inherit")}if(p&&this.opts.refreshAniDuration){this.asyncAnimating=true;var n=this;this.$tip.css(i).animate({left:this.pos.l,top:this.pos.t},this.opts.refreshAniDuration,function(){n.asyncAnimating=false})}else{this.$tip.css({left:this.pos.l,top:this.pos.t})}},display:function(i){var k=this.$tip.data("active");if(k&&!i||!k&&i){return}this.$tip.stop();if((this.opts.slide&&this.pos.arrow||this.opts.fade)&&(i&&this.opts.hideAniDuration||!i&&this.opts.showAniDuration)){var j={},h={};if(this.opts.slide&&this.pos.arrow){var g,m;if(this.pos.arrow=="bottom"||this.pos.arrow=="top"){g="top";m="bottom"}else{g="left";m="right"}var n=parseInt(this.$tip.css(g));j[g]=n+(i?0:(this.pos.arrow==m?-this.opts.slideOffset:this.opts.slideOffset));h[g]=n+(i?(this.pos.arrow==m?this.opts.slideOffset:-this.opts.slideOffset):0)+"px"}if(this.opts.fade){j.opacity=i?this.$tip.css("opacity"):0;h.opacity=i?0:this.opacity}this.$tip.css(j).animate(h,this.opts[i?"hideAniDuration":"showAniDuration"])}i?this.$tip.queue(c.proxy(this.reset,this)):this.$tip.css("visibility","inherit");if(k){var l=this.$elm.data("title.poshytip");if(l!==null){this.$elm.attr("title",l)}}this.$tip.data("active",!k)},disable:function(){this.reset();this.disabled=true},enable:function(){this.disabled=false},destroy:function(){this.reset();this.$tip.remove();delete this.$tip;this.content=null;this.$elm.unbind(".poshytip").removeData("title.poshytip").removeData("poshytip");e.splice(c.inArray(this,e),1)},clearTimeouts:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}},calcPos:function(){var j={l:0,t:0,arrow:""},o=c(window),g={l:o.scrollLeft(),t:o.scrollTop(),w:o.width(),h:o.height()},l,q,i,p,m,n;if(this.opts.alignTo=="cursor"){l=q=i=this.eventX;p=m=n=this.eventY}else{var k=this.$elm.offset(),h={l:k.left,t:k.top,w:this.$elm.outerWidth(),h:this.$elm.outerHeight()};l=h.l+(this.opts.alignX!="inner-right"?0:h.w);q=l+Math.floor(h.w/2);i=l+(this.opts.alignX!="inner-left"?h.w:0);p=h.t+(this.opts.alignY!="inner-bottom"?0:h.h);m=p+Math.floor(h.h/2);n=p+(this.opts.alignY!="inner-top"?h.h:0)}switch(this.opts.alignX){case"right":case"inner-left":j.l=i+this.opts.offsetX;if(this.opts.keepInViewport&&j.l+this.tipOuterW>g.l+g.w){j.l=g.l+g.w-this.tipOuterW}if(this.opts.alignX=="right"||this.opts.alignY=="center"){j.arrow="left"}break;case"center":j.l=q-Math.floor(this.tipOuterW/2);if(this.opts.keepInViewport){if(j.l+this.tipOuterW>g.l+g.w){j.l=g.l+g.w-this.tipOuterW}else{if(j.lg.t+g.h){j.t=p-this.tipOuterH-this.opts.offsetY;if(j.arrow=="top"){j.arrow="bottom"}}break;case"center":j.t=m-Math.floor(this.tipOuterH/2);if(this.opts.keepInViewport){if(j.t+this.tipOuterH>g.t+g.h){j.t=g.t+g.h-this.tipOuterH}else{if(j.t',"div.",l.className,"{visibility:hidden;position:absolute;top:0;left:0;}","div.",l.className," table.tip-table, div.",l.className," table.tip-table td{margin:0;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;vertical-align:middle;}","div.",l.className," td.tip-bg-image span{display:block;font:1px/1px sans-serif;height:",l.bgImageFrameSize,"px;width:",l.bgImageFrameSize,"px;overflow:hidden;}","div.",l.className," td.tip-right{background-position:100% 0;}","div.",l.className," td.tip-bottom{background-position:100% 100%;}","div.",l.className," td.tip-left{background-position:0 100%;}","div.",l.className," div.tip-inner{background-position:-",l.bgImageFrameSize,"px -",l.bgImageFrameSize,"px;}","div.",l.className," div.tip-arrow{visibility:hidden;position:absolute;overflow:hidden;font:1px/1px sans-serif;}",""].join("")).appendTo("head")}if(l.liveEvents&&l.showOn!="none"){var k,g=c.extend({},l,{liveEvents:false});switch(l.showOn){case"hover":k=function(){var m=c(this);if(!m.data("poshytip")){m.poshytip(g).poshytip("mouseenter")}};this.live?this.live("mouseenter.poshytip",k):c(document).delegate(this.selector,"mouseenter.poshytip",k);break;case"focus":k=function(){var m=c(this);if(!m.data("poshytip")){m.poshytip(g).poshytip("showDelayed")}};this.live?this.live("focus.poshytip",k):c(document).delegate(this.selector,"focus.poshytip",k);break}return this}return this.each(function(){new c.Poshytip(this,l)})};c.fn.poshytip.defaults={content:"[title]",className:"tip-yellow",bgImageFrameSize:10,showTimeout:500,hideTimeout:100,timeOnScreen:0,showOn:"hover",liveEvents:false,alignTo:"cursor",alignX:"right",alignY:"top",offsetX:-22,offsetY:18,keepInViewport:true,allowTipHover:true,followCursor:false,fade:true,slide:true,slideOffset:8,showAniDuration:300,hideAniDuration:300,refreshAniDuration:200}})(jQuery);!function(j,i){var p,o,n={getPath:function(){var e=document.scripts,d=e[e.length-1],f=d.src;if(!d.getAttribute("merge")){return f.substring(0,f.lastIndexOf("/")+1)}}(),enter:function(b){13===b.keyCode&&b.preventDefault()},config:{},end:{},btn:["确定","取消"],type:["dialog","page","iframe","loading","tips"]},m={v:"2.0",ie6:!!j.ActiveXObject&&!j.XMLHttpRequest,index:0,path:n.getPath,config:function(e,c){var h=0;return e=e||{},m.cache=n.config=p.extend(n.config,e),m.path=n.config.path||m.path,"string"==typeof e.extend&&(e.extend=[e.extend]),m.use("skin/layer.css",e.extend&&e.extend.length>0?function f(){var a=e.extend;m.use(a[a[h]?h:h-1],h'+(q?s.title[0]:s.title)+"":"";return s.zIndex=r,v([s.shade?'
    ':"",'
    '+(w&&2!=s.type?"":e)+'
    '+(0==s.type&&-1!==s.icon?'':"")+(1==s.type&&w?"":s.content||"")+'
    '+function(){var b=h?'':"";return s.closeBtn&&(b+=''),b}()+""+(s.btn?function(){var f="";"string"==typeof s.btn&&(s.btn=[s.btn]);for(var d=0,g=s.btn.length;g>d;d++){f+=''+s.btn[d]+""}return'
    '+f+"
    "}():"")+"
    "],e),u},l.pt.creat=function(){var d=this,c=d.config,h=d.index,f=c.content,e="object"==typeof f;switch("string"==typeof c.area&&(c.area="auto"===c.area?["",""]:[c.area,""]),c.type){case 0:c.btn="btn" in c?c.btn:n.btn[0],m.closeAll("dialog");break;case 2:var f=c.content=e?c.content:[c.content||"http://sentsin.com?from=layer","auto"];c.content='';break;case 3:c.title=!1,c.closeBtn=!1,-1===c.icon&&0===c.icon,m.closeAll("loading");break;case 4:e||(c.content=[c.content,"body"]),c.follow=c.content[1],c.content=c.content[0]+'',c.title=!1,c.shade=!1,c.fix=!1,c.tips="object"==typeof c.tips?c.tips:[c.tips,!0],c.tipsMore||m.closeAll("tips")}d.vessel(e,function(b,a){p("body").append(b[0]),e?function(){2==c.type||4==c.type?function(){p("body").append(b[1])}():function(){f.parents("."+k[0])[0]||(f.show().addClass("layui-layer-wrap").wrap(b[1]),p("#"+k[0]+h).find("."+k[5]).before(a))}()}():p("body").append(b[1]),d.layero=p("#"+k[0]+h),c.scrollbar||k.html.css("overflow","hidden").attr("layer-full",h)}).auto(h),2==c.type&&m.ie6&&d.layero.find("iframe").attr("src",f[0]),p(document).off("keydown",n.enter).on("keydown",n.enter),4==c.type?d.tips():d.offset(),c.fix&&o.on("resize",function(){d.offset(),(/^\d+%$/.test(c.area[0])||/^\d+%$/.test(c.area[1]))&&d.auto(h),4==c.type&&d.tips()}),c.time<=0||setTimeout(function(){m.close(d.index)},c.time),d.move().callback()},l.pt.auto=function(d){function c(b){b=s.find(b),b.height(r[1]-q-h-2*(0|parseFloat(b.css("padding"))))}var u=this,t=u.config,s=p("#"+k[0]+d);""===t.area[0]&&t.maxWidth>0&&(/MSIE 7/.test(navigator.userAgent)&&t.btn&&s.width(s.innerWidth()),s.outerWidth()>t.maxWidth&&s.width(t.maxWidth));var r=[s.innerWidth(),s.innerHeight()],q=s.find(k[1]).outerHeight()||0,h=s.find("."+k[6]).outerHeight()||0;switch(t.type){case 2:c("iframe");break;default:""===t.area[1]?t.fix&&r[1]>=o.height()&&(r[1]=o.height(),c("."+k[5])):c("."+k[5])}return u},l.pt.offset=function(){var g=this,d=g.config,r=g.layero,q=[r.outerWidth(),r.outerHeight()],h="object"==typeof d.offset;g.offsetTop=(o.height()-q[1])/2,g.offsetLeft=(o.width()-q[0])/2,h?(g.offsetTop=d.offset[0],g.offsetLeft=d.offset[1]||g.offsetLeft):"auto"!==d.offset&&(g.offsetTop=d.offset,"rb"===d.offset&&(g.offsetTop=o.height()-q[1],g.offsetLeft=o.width()-q[0])),d.fix||(g.offsetTop=/%$/.test(g.offsetTop)?o.height()*parseFloat(g.offsetTop)/100:parseFloat(g.offsetTop),g.offsetLeft=/%$/.test(g.offsetLeft)?o.width()*parseFloat(g.offsetLeft)/100:parseFloat(g.offsetLeft),g.offsetTop+=o.scrollTop(),g.offsetLeft+=o.scrollLeft()),r.css({top:g.offsetTop,left:g.offsetLeft})},l.pt.tips=function(){var d=this,c=d.config,u=d.layero,t=[u.outerWidth(),u.outerHeight()],s=p(c.follow);s[0]||(s=p("body"));var r={width:s.outerWidth(),height:s.outerHeight(),top:s.offset().top,left:s.offset().left},q=u.find(".layui-layer-TipsG"),h=c.tips[0];c.tips[1]||q.remove(),r.autoLeft=function(){r.left+t[0]-o.width()>0?(r.tipLeft=r.left+r.width-t[0],q.css({right:12,left:"auto"})):r.tipLeft=r.left},r.where=[function(){r.autoLeft(),r.tipTop=r.top-t[1]-10,q.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",c.tips[1])},function(){r.tipLeft=r.left+r.width+10,r.tipTop=r.top,q.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",c.tips[1])},function(){r.autoLeft(),r.tipTop=r.top+r.height+10,q.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",c.tips[1])},function(){r.tipLeft=r.left-t[0]-10,r.tipTop=r.top,q.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",c.tips[1])}],r.where[h-1](),1===h?r.top-(o.scrollTop()+t[1]+16)<0&&r.where[2]():2===h?o.width()-(r.left+r.width+t[0]+16)>0||r.where[3]():3===h?r.top-o.scrollTop()+r.height+t[1]+16-o.height()>0&&r.where[0]():4===h&&t[0]+16-r.left>0&&r.where[1](),u.find("."+k[5]).css({"background-color":c.tips[1],"padding-right":c.closeBtn?"30px":""}),u.css({left:r.tipLeft,top:r.tipTop})},l.pt.move=function(){var d=this,c=d.config,h={setY:0,moveLayer:function(){var f=h.layero,e=parseInt(f.css("margin-left")),q=parseInt(h.move.css("left"));0===e||(q-=e),"fixed"!==f.css("position")&&(q-=f.parent().offset().left,h.setY=0),f.css({left:q,top:parseInt(h.move.css("top"))-h.setY})}},g=d.layero.find(c.move);return c.move&&g.attr("move","ok"),g.css({cursor:c.move?"move":"auto"}),p(c.move).on("mousedown",function(b){if(b.preventDefault(),"ok"===p(this).attr("move")){h.ismove=!0,h.layero=p(this).parents("."+k[0]);var s=h.layero.offset().left,r=h.layero.offset().top,q=h.layero.outerWidth()-6,e=h.layero.outerHeight()-6;p("#layui-layer-moves")[0]||p("body").append('
    '),h.move=p("#layui-layer-moves"),c.moveType&&h.move.css({visibility:"hidden"}),h.moveX=b.pageX-h.move.position().left,h.moveY=b.pageY-h.move.position().top,"fixed"!==h.layero.css("position")||(h.setY=o.scrollTop())}}),p(document).mousemove(function(b){if(h.ismove){var s=b.pageX-h.moveX,r=b.pageY-h.moveY;if(b.preventDefault(),!c.moveOut){h.setY=o.scrollTop();var q=o.width()-h.move.outerWidth(),e=h.setY;0>s&&(s=0),s>q&&(s=q),e>r&&(r=e),r>o.height()-h.move.outerHeight()+h.setY&&(r=o.height()-h.move.outerHeight()+h.setY)}h.move.css({left:s,top:r}),c.moveType&&h.moveLayer(),s=r=q=e=null}}).mouseup(function(){try{h.ismove&&(h.moveLayer(),h.move.remove(),c.moveEnd&&c.moveEnd()),h.ismove=!1}catch(b){h.ismove=!1}}),d},l.pt.callback=function(){function e(){var b=f.cancel&&f.cancel(c.index);b===!1||m.close(c.index)}var c=this,h=c.layero,f=c.config;c.openLayer(),f.success&&(2==f.type?h.find("iframe")[0].onload=function(){this.className="",f.success(h,c.index)}:f.success(h,c.index)),m.ie6&&c.IE6(h),h.find("."+k[6]).children("a").on("click",function(){var a=p(this).index();f["btn"+(a+1)]&&f["btn"+(a+1)](c.index,h),0===a?f.yes?f.yes(c.index,h):m.close(c.index):1===a?e():f["btn"+(a+1)]||m.close(c.index)}),h.find("."+k[7]).on("click",e),f.shadeClose&&p("#layui-layer-shade"+c.index).on("click",function(){m.close(c.index)}),h.find(".layui-layer-min").on("click",function(){m.min(c.index,f),f.min&&f.min(h)}),h.find(".layui-layer-max").on("click",function(){p(this).hasClass("layui-layer-maxmin")?(m.restore(c.index),f.restore&&f.restore(h)):(m.full(c.index,f),f.full&&f.full(h))}),f.end&&(n.end[c.index]=f.end)},n.reselect=function(){p.each(p("select"),function(e,c){var f=p(this);f.parents("."+k[0])[0]||1==f.attr("layer")&&p("."+k[0]).length<1&&f.removeAttr("layer").show(),f=null})},l.pt.IE6=function(d){function c(){d.css({top:g+(h.config.fix?o.scrollTop():0)})}var h=this,g=d.offset().top;c(),o.scroll(c),p("select").each(function(f,e){var q=p(this);q.parents("."+k[0])[0]||"none"===q.css("display")||q.attr({layer:"1"}).hide(),q=null})},l.pt.openLayer=function(){var b=this;m.zIndex=b.config.zIndex,m.setTop=function(d){var c=function(){m.zIndex++,d.css("z-index",m.zIndex+1)};return m.zIndex=parseInt(d[0].style.zIndex),d.on("mousedown",c),m.zIndex}},n.record=function(d){var c=[d.outerWidth(),d.outerHeight(),d.position().top,d.position().left+parseFloat(d.css("margin-left"))];d.find(".layui-layer-max").addClass("layui-layer-maxmin"),d.attr({area:c})},n.rescollbar=function(b){k.html.attr("layer-full")==b&&(k.html[0].style.removeProperty?k.html[0].style.removeProperty("overflow"):k.html[0].style.removeAttribute("overflow"),k.html.removeAttr("layer-full"))},m.getChildFrame=function(d,c){return c=c||p("."+k[4]).attr("times"),p("#"+k[0]+c).find("iframe").contents().find(d)},m.getFrameIndex=function(b){return p("#"+b).parents("."+k[4]).attr("times")},m.iframeAuto=function(f){if(f){var c=m.getChildFrame("body",f).outerHeight(),r=p("#"+k[0]+f),q=r.find(k[1]).outerHeight()||0,h=r.find("."+k[6]).outerHeight()||0;r.css({height:c+q+h}),r.find("iframe").css({height:c})}},m.iframeSrc=function(d,c){p("#"+k[0]+d).find("iframe").attr("src",c)},m.style=function(e,c){var s=p("#"+k[0]+e),r=s.attr("type"),q=s.find(k[1]).outerHeight()||0,h=s.find("."+k[6]).outerHeight()||0;(r===n.type[1]||r===n.type[2])&&(s.css(c),r===n.type[2]&&s.find("iframe").css({height:parseFloat(c.height)-q-h}))},m.min=function(e,c){var h=p("#"+k[0]+e),f=h.find(k[1]).outerHeight()||0;n.record(h),m.style(e,{width:180,height:f,overflow:"hidden"}),h.find(".layui-layer-min").hide(),"page"===h.attr("type")&&h.find(k[4]).hide(),n.rescollbar(e)},m.restore=function(e){var c=p("#"+k[0]+e),f=c.attr("area").split(",");c.attr("type");m.style(e,{width:parseFloat(f[0]),height:parseFloat(f[1]),top:parseFloat(f[2]),left:parseFloat(f[3]),overflow:"visible"}),c.find(".layui-layer-max").removeClass("layui-layer-maxmin"),c.find(".layui-layer-min").show(),"page"===c.attr("type")&&c.find(k[4]).show(),n.rescollbar(e)},m.full=function(d){var c,e=p("#"+k[0]+d);n.record(e),k.html.attr("layer-full")||k.html.css("overflow","hidden").attr("layer-full",d),clearTimeout(c),c=setTimeout(function(){var a="fixed"===e.css("position");m.style(d,{top:a?0:o.scrollTop(),left:a?0:o.scrollLeft(),width:o.width(),height:o.height()}),e.find(".layui-layer-min").hide()},100)},m.title=function(e,c){var f=p("#"+k[0]+(c||m.index)).find(k[1]);f.html(e)},m.close=function(e){var c=p("#"+k[0]+e),r=c.attr("type");if(c[0]){if(r===n.type[1]&&"object"===c.attr("conType")){c.children(":not(."+k[5]+")").remove();for(var q=0;2>q;q++){c.find(".layui-layer-wrap").unwrap().hide()}}else{if(r===n.type[2]){try{var h=p("#"+k[4]+e)[0];h.contentWindow.document.write(""),h.contentWindow.close(),c.find("."+k[5])[0].removeChild(h)}catch(f){}}c[0].innerHTML="",c.remove()}p("#layui-layer-moves, #layui-layer-shade"+e).remove(),m.ie6&&n.reselect(),n.rescollbar(e),p(document).off("keydown",n.enter),"function"==typeof n.end[e]&&n.end[e](),delete n.end[e]}},m.closeAll=function(b){p.each(p("."+k[0]),function(){var a=p(this),c=b?a.attr("type")===b:1;c&&m.close(a.attr("times")),c=null})},n.run=function(){p=jQuery,o=p(j),k.html=p("html"),m.open=function(d){var c=new l(d);return c.index}},"function"==typeof define?define(function(){return n.run(),m}):function(){j.layer=m,n.run(),m.use("skin/layer.css")}()}(window);(function(i,k){var j=0,l=/^ui-id-\d+$/;i.ui=i.ui||{};i.extend(i.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});i.fn.extend({focus:(function(a){return function(b,c){return typeof b==="number"?this.each(function(){var d=this;setTimeout(function(){i(d).focus();if(c){c.call(d)}},b)}):a.apply(this,arguments)}})(i.fn.focus),scrollParent:function(){var a;if((i.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(i.css(this,"position"))&&(/(auto|scroll)/).test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0)}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(i.css(this,"overflow")+i.css(this,"overflow-y")+i.css(this,"overflow-x"))}).eq(0)}return(/fixed/).test(this.css("position"))||!a.length?i(document):a},zIndex:function(c){if(c!==k){return this.css("zIndex",c)}if(this.length){var a=i(this[0]),b,d;while(a.length&&a[0]!==document){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){d=parseInt(a.css("zIndex"),10);if(!isNaN(d)&&d!==0){return d}}a=a.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++j)}})},removeUniqueId:function(){return this.each(function(){if(l.test(this.id)){i(this).removeAttr("id")}})}});function g(b,d){var f,a,c,e=b.nodeName.toLowerCase();if("area"===e){f=b.parentNode;a=f.name;if(!b.href||!a||f.nodeName.toLowerCase()!=="map"){return false}c=i("img[usemap=#"+a+"]")[0];return !!c&&h(c)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"===e?b.href||d:d)&&h(b)}function h(a){return i.expr.filters.visible(a)&&!i(a).parents().addBack().filter(function(){return i.css(this,"visibility")==="hidden"}).length}i.extend(i.expr[":"],{data:i.expr.createPseudo?i.expr.createPseudo(function(a){return function(b){return !!i.data(b,a)}}):function(b,c,a){return !!i.data(b,a[3])},focusable:function(a){return g(a,!isNaN(i.attr(a,"tabindex")))},tabbable:function(b){var a=i.attr(b,"tabindex"),c=isNaN(a);return(c||a>=0)&&g(b,!c)}});if(!i("").outerWidth(1).jquery){i.each(["Width","Height"],function(b,d){var c=d==="Width"?["Left","Right"]:["Top","Bottom"],a=d.toLowerCase(),e={innerWidth:i.fn.innerWidth,innerHeight:i.fn.innerHeight,outerWidth:i.fn.outerWidth,outerHeight:i.fn.outerHeight};function f(q,r,s,m){i.each(c,function(){r-=parseFloat(i.css(q,"padding"+this))||0;if(s){r-=parseFloat(i.css(q,"border"+this+"Width"))||0}if(m){r-=parseFloat(i.css(q,"margin"+this))||0}});return r}i.fn["inner"+d]=function(m){if(m===k){return e["inner"+d].call(this)}return this.each(function(){i(this).css(a,f(this,m)+"px")})};i.fn["outer"+d]=function(o,m){if(typeof o!=="number"){return e["outer"+d].call(this,o)}return this.each(function(){i(this).css(a,f(this,o,true,m)+"px")})}})}if(!i.fn.addBack){i.fn.addBack=function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}if(i("").data("a-b","a").removeData("a-b").data("a-b")){i.fn.removeData=(function(a){return function(b){if(arguments.length){return a.call(this,i.camelCase(b))}else{return a.call(this)}}})(i.fn.removeData)}i.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());i.support.selectstart="onselectstart" in document.createElement("div");i.fn.extend({disableSelection:function(){return this.bind((i.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});i.extend(i.ui,{plugin:{add:function(b,a,d){var c,e=i.ui[b].prototype;for(c in d){e.plugins[c]=e.plugins[c]||[];e.plugins[c].push([a,d[c]])}},call:function(c,a,b){var e,d=c.plugins[a];if(!d||!c.element[0].parentNode||c.element[0].parentNode.nodeType===11){return}for(e=0;e0){return true}c[b]=1;d=(c[b]>0);c[b]=0;return d}})})(jQuery);(function(h,j){var i=0,f=Array.prototype.slice,g=h.cleanData;h.cleanData=function(b){for(var a=0,d;(d=b[a])!=null;a++){try{h(d).triggerHandler("remove")}catch(c){}}g(b)};h.widget=function(r,q,a){var d,c,o,b,p={},e=r.split(".")[0];r=r.split(".")[1];d=e+"-"+r;if(!a){a=q;q=h.Widget}h.expr[":"][d.toLowerCase()]=function(k){return !!h.data(k,d)};h[e]=h[e]||{};c=h[e][r];o=h[e][r]=function(l,k){if(!this._createWidget){return new o(l,k)}if(arguments.length){this._createWidget(l,k)}};h.extend(o,c,{version:a.version,_proto:h.extend({},a),_childConstructors:[]});b=new q();b.options=h.widget.extend({},b.options);h.each(a,function(k,l){if(!h.isFunction(l)){p[k]=l;return}p[k]=(function(){var m=function(){return q.prototype[k].apply(this,arguments)},n=function(t){return q.prototype[k].apply(this,t)};return function(){var v=this._super,x=this._superApply,w;this._super=m;this._superApply=n;w=l.apply(this,arguments);this._super=v;this._superApply=x;return w}})()});o.prototype=h.widget.extend(b,{widgetEventPrefix:c?b.widgetEventPrefix:r},p,{constructor:o,namespace:e,widgetName:r,widgetFullName:d});if(c){h.each(c._childConstructors,function(l,k){var m=k.prototype;h.widget(m.namespace+"."+m.widgetName,o,k._proto)});delete c._childConstructors}else{q._childConstructors.push(o)}h.widget.bridge(r,o)};h.widget.extend=function(d){var c=f.call(arguments,1),l=0,e=c.length,b,a;for(;l",options:{disabled:false,create:null},_createWidget:function(b,a){a=h(a||this.defaultElement||this)[0];this.element=h(a);this.uuid=i++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=h.widget.extend({},this.options,this._getCreateOptions(),b);this.bindings=h();this.hoverable=h();this.focusable=h();if(a!==this){h.data(a,this.widgetFullName,this);this._on(true,this.element,{remove:function(c){if(c.target===a){this.destroy()}}});this.document=h(a.style?a.ownerDocument:a.document||a);this.window=h(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:h.noop,_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(h.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:h.noop,widget:function(){return this.element},option:function(a,e){var l=a,d,b,c;if(arguments.length===0){return h.widget.extend({},this.options)}if(typeof a==="string"){l={};d=a.split(".");a=d.shift();if(d.length){b=l[a]=h.widget.extend({},this.options[a]);for(c=0;c
    "),d=c.children()[0];w("body").append(c);a=d.offsetWidth;c.css("overflow","scroll");b=d.offsetWidth;if(a===b){b=c[0].clientWidth}c.remove();return(r=a-b)},getScrollInfo:function(d){var e=d.isWindow?"":d.element.css("overflow-x"),a=d.isWindow?"":d.element.css("overflow-y"),b=e==="scroll"||(e==="auto"&&d.width0?"right":"center",vertical:I<0?"top":F>0?"bottom":"middle"};if(kq(y(F),y(I))){J.important="horizontal"}else{J.important="vertical"}h.using.call(this,G,J)}}T.offset(w.extend(Q,{using:M}))})};w.ui.position={fit:{left:function(b,c){var d=c.within,i=d.isWindow?d.scrollLeft:d.offset.left,g=d.width,a=b.left-c.collisionPosition.marginLeft,h=i-a,e=a+c.collisionWidth-g-i,f;if(c.collisionWidth>g){if(h>0&&e<=0){f=b.left+h+c.collisionWidth-g-i;b.left+=h-f}else{if(e>0&&h<=0){b.left=i}else{if(h>e){b.left=i+g-c.collisionWidth}else{b.left=i}}}}else{if(h>0){b.left+=h}else{if(e>0){b.left-=e}else{b.left=q(b.left-a,b.left)}}}},top:function(c,d){var e=d.within,h=e.isWindow?e.scrollTop:e.offset.top,g=d.within.height,a=c.top-d.collisionPosition.marginTop,i=h-a,b=a+d.collisionHeight-g-h,f;if(d.collisionHeight>g){if(i>0&&b<=0){f=c.top+i+d.collisionHeight-g-h;c.top+=i-f}else{if(b>0&&i<=0){c.top=h}else{if(i>b){c.top=h+g-d.collisionHeight}else{c.top=h}}}}else{if(i>0){c.top+=i}else{if(b>0){c.top-=b}else{c.top=q(c.top-a,c.top)}}}}},flip:{left:function(n,a){var c=a.within,j=c.offset.left+c.scrollLeft,f=c.width,b=c.isWindow?c.scrollLeft:c.offset.left,m=n.left-a.collisionPosition.marginLeft,i=m-b,e=m+a.collisionWidth-f-b,k=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,h=a.at[0]==="left"?a.targetWidth:a.at[0]==="right"?-a.targetWidth:0,d=-2*a.offset[0],g,l;if(i<0){g=n.left+k+h+d+a.collisionWidth-f-j;if(g<0||g0){l=n.left-a.collisionPosition.marginLeft+k+h+d-b;if(l>0||y(l)l&&(e<0||e0){j=b.top-d.collisionPosition.marginTop+m+c+a-i;if((b.top+m+c+a)>o&&(j>0||y(j)10&&b<11;a.innerHTML="";f.removeChild(a)})()}(jQuery));(function(d,c){d.widget("ui.menu",{version:"1.10.3",defaultElement:"