/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(n,t){function ku(n){var t=dt[n]={};return i.each(n.split(c),function(n,i){t[i]=!0}),t}function dr(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(su,"-$1").toLowerCase();u=n.getAttribute(f);if(typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:+u+""===u?+u:fu.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function ii(n){var t;for(t in n){if(t==="data"&&i.isEmptyObject(n[t]))continue;if(t!=="toJSON")return!1}return!0}function v(){return!1}function ct(){return!0}function k(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function kr(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function yr(n,t,r){t=t||0;if(i.isFunction(t))return i.grep(n,function(n,i){var u=!!t.call(n,i,n);return u===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if(typeof t=="string"){var u=i.grep(n,function(n){return n.nodeType===1});if(yo.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function br(n){var i=si.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function uf(n,t){return n.getElementsByTagName(t)[0]||n.appendChild(n.ownerDocument.createElement(t))}function wr(n,t){if(t.nodeType!==1||!i.hasData(n))return;var e,f,o,s=i._data(n),r=i._data(t,s),u=s.events;if(u){delete r.handle,r.events={};for(e in u)for(f=0,o=u[e].length;f").appendTo(r.body),t=f.css("display");return f.remove(),(t==="none"||t==="")&&(p=r.body.appendChild(p||i.extend(r.createElement("iframe"),{frameBorder:0,width:0,height:0})),w&&p.createElement||(w=(p.contentWindow||p.contentDocument).document,w.write(""),w.close()),f=w.body.appendChild(w.createElement(n)),t=u(f,"display"),r.body.removeChild(p)),gt[n]=t,t}function ri(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||hf.test(n)?u(n,i):ri(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)ri(n+"["+f+"]",t[f],r,u)}function di(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,s,f,o=t.toLowerCase().split(c),e=0,h=o.length;if(i.isFunction(r))for(;e)[^>]*$|#([\w\-]*)$)/,ar=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,le=/^[\],:{}\s]*$/,ue=/(?:^|:|,)(?:\s*\[)+/g,kf=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,df=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bf=/^-ms-/,pf=/-([\da-z])/gi,wf=function(n,t){return(t+"").toUpperCase()},it=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",it,!1),i.ready()):r.readyState==="complete"&&(r.detachEvent("onreadystatechange",it),i.ready())},hu={},dt,fu,su,y,ht,vr,wt;i.fn=i.prototype={constructor:i,init:function(n,u,f){var e,o,h,s;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(typeof n=="string"){e=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:ce.exec(n);if(e&&(e[1]||!u)){if(e[1])return u=u instanceof i?u[0]:u,s=u&&u.nodeType?u.ownerDocument||u:r,n=i.parseHTML(e[1],s,!0),ar.test(e[1])&&i.isPlainObject(u)&&this.attr.call(n,u,!0),i.merge(this,n);o=r.getElementById(e[2]);if(o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1,this[0]=o}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return o.call(this)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=i.merge(this.constructor(),n);return u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},eq:function(n){return n=+n,n===-1?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:gr,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var s,e,u,r,h,c,n=arguments[0]||{},f=1,l=arguments.length,o=!1;for(typeof n=="boolean"&&(o=n,n=arguments[1]||{},f=2),typeof n!="object"&&!i.isFunction(n)&&(n={}),l===f&&(n=this,--f);f0)return;rt.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready")},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n!=null&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):hu[oe.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!pt.call(n,"constructor")&&!pt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}var r;for(r in n);return r===t||pt.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw new Error(n);},parseHTML:function(n,t,u){var f;return!n||typeof n!="string"?null:(typeof t=="boolean"&&(u=t,t=0),t=t||r,(f=ar.exec(n))?[t.createElement(f[1])]:(f=i.buildFragment([n],t,u?null:[]),i.merge([],(f.cacheable?i.clone(f.fragment):f.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=i.trim(t);if(n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(le.test(t.replace(kf,"@").replace(df,"]").replace(ue,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;if(!r||typeof r!="string")return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return(!u||!u.documentElement||u.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&ve.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(bf,"ms-").replace(pf,wf)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,r,u){var e,f=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(e in n)if(r.apply(n[e],u)===!1)break}else for(;f0&&n[0]&&n[e-1]||e===0||i.isArray(n));if(c)for(;s-1)r.splice(u,1),s&&(u<=h&&h--,u<=e&&e--)}),this},has:function(n){return i.inArray(n,r)>-1},empty:function(){return r=[],this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||o.disable(),this},locked:function(){return!u},fireWith:function(n,t){return t=t||[],t=[n,t.slice?t.slice():t],r&&(!c||u)&&(s?u.push(t):l(t)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!c}};return o},i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(r){i.each(u,function(u,f){var o=f[0],e=n[u];t[f[1]](i.isFunction(e)?function(){var n=e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[o+"With"](this===t?r:this,[n])}:r[o])}),n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add,o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock),t[i[0]]=e.fire,t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var r=0,u=o.call(arguments),t=u.length,e=t!==1||n&&i.isFunction(n.promise)?t:0,f=e===1?n:i.Deferred(),c=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?o.call(arguments):r,i===h?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},h,l,s;if(t>1)for(h=new Array(t),l=new Array(t),s=new Array(t);r
a",h=t.getElementsByTagName("*"),o=t.getElementsByTagName("a")[0],o.style.cssText="top:1px;float:left;opacity:.5";if(!h||!h.length)return{};l=r.createElement("select"),c=l.appendChild(r.createElement("option")),f=t.getElementsByTagName("input")[0],u={leadingWhitespace:t.firstChild.nodeType===3,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:/^0.5/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:f.value==="on",optSelected:c.selected,getSetAttribute:t.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:r.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},f.checked=!0,u.noCloneChecked=f.cloneNode(!0).checked,l.disabled=!0,u.optDisabled=!c.disabled;try{delete t.test}catch(p){u.deleteExpando=!1}!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",y=function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick"),t.detachEvent("onclick",y)),f=r.createElement("input"),f.value="t",f.setAttribute("type","radio"),u.radioValue=f.value==="t",f.setAttribute("checked","checked"),f.setAttribute("name","t"),t.appendChild(f),e=r.createDocumentFragment(),e.appendChild(t.lastChild),u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,e.removeChild(f),e.appendChild(t);if(t.attachEvent)for(v in{submit:!0,change:!0,focusin:!0})a="on"+v,s=a in t,s||(t.setAttribute(a,"return;"),s=typeof t[a]=="function"),u[v+"Bubbles"]=s;return i(function(){var e,t,f,i,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",o=r.getElementsByTagName("body")[0];if(!o)return;e=r.createElement("div"),e.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(e,o.firstChild),t=r.createElement("div"),e.appendChild(t),t.innerHTML="
t
",f=t.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",s=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",u.reliableHiddenOffsets=s&&f[0].offsetHeight===0,t.innerHTML="",t.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",u.boxSizing=t.offsetWidth===4,u.doesNotIncludeMarginInBodyOffset=o.offsetTop!==1,n.getComputedStyle&&(u.pixelPosition=(n.getComputedStyle(t,null)||{}).top!=="1%",u.boxSizingReliable=(n.getComputedStyle(t,null)||{width:"4px"}).width==="4px",i=r.createElement("div"),i.style.cssText=t.style.cssText=h,i.style.marginRight=i.style.width="0",t.style.width="1px",t.appendChild(i),u.reliableMarginRight=!parseFloat((n.getComputedStyle(i,null)||{}).marginRight)),typeof t.style.zoom!="undefined"&&(t.innerHTML="",t.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",u.inlineBlockNeedsLayout=t.offsetWidth===3,t.style.display="block",t.style.overflow="visible",t.innerHTML="
",t.firstChild.style.width="5px",u.shrinkWrapBlocks=t.offsetWidth!==3,e.style.zoom=1),o.removeChild(e),e=t=f=i=null}),e.removeChild(t),h=o=l=c=f=e=t=null,u}(),fu=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,su=/([A-Z])/g,i.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ii(n)},data:function(n,r,u,f){if(!i.acceptData(n))return;var s,h,c=i.expando,a=typeof r=="string",l=n.nodeType,o=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&o[e]&&(f||o[e].data)||!a||u!==t)return e||(l?n[c]=e=i.deletedIds.pop()||i.guid++:e=c),o[e]||(o[e]={},l||(o[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?o[e]=i.extend(o[e],r):o[e].data=i.extend(o[e].data,r)),s=o[e],f||(s.data||(s.data={}),s=s.data),u!==t&&(s[i.camelCase(r)]=u),a?(h=s[r],h==null&&(h=s[i.camelCase(r)])):h=s,h},removeData:function(n,t,r){if(!i.acceptData(n))return;var e,o,h,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(!u[f])return;if(t){e=r?u[f]:u[f].data;if(e){for(i.isArray(t)||(t in e?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" "))),o=0,h=t.length;o1,null,!1))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var f=i.queue(n,t),e=f.length,r=f.shift(),u=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};r==="inprogress"&&(r=f.shift(),e--),r&&(t==="fx"&&f.unshift("inprogress"),delete u.stop,r.call(n,o,u)),!e&&u&&u.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i.removeData(n,t+"queue",!0),i.removeData(n,r,!0)})})}}),i.fn.extend({queue:function(n,r){var u=2;return typeof n!="string"&&(r=n,n="fx",u--),arguments.length1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t,delete this[n]}catch(i){}})},addClass:function(n){var u,e,s,t,f,r,o;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&typeof n=="string")for(u=n.split(c),e=0,s=this.length;e=0)f=f.replace(" "+o[u]+" "," ");r.className=n?i.trim(f):""}}return this},toggleClass:function(n,t){var r=typeof n,u=typeof t=="boolean";return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string"){var e,h=0,o=i(this),f=t,s=n.split(c);while(e=s[h++])f=u?f:!o.hasClass(e),o[f?"addClass":"removeClass"](e)}else(r==="undefined"||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var r=" "+n+" ",t=0,i=this.length;t=0)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f,o=i(this);if(this.nodeType!==1)return;f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f)})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t?u:(u=f.value,typeof u=="string"?u.replace(re,""):u==null?"":u)):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,e,h,t,r=n.selectedIndex,s=[],u=n.options,f=n.type==="select-one";if(r<0)return null;for(e=f?r:0,h=f?r+1:u.length;e=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{},attr:function(n,r,u,f){var o,e,c,h=n.nodeType;if(!n||h===3||h===8||h===2)return;if(f&&i.isFunction(i.fn[r]))return i(n)[r](u);if(typeof n.getAttribute=="undefined")return i.prop(n,r,u);c=h!==1||!i.isXMLDoc(n),c&&(r=r.toLowerCase(),e=i.attrHooks[r]||(yi.test(r)?cu:s));if(u!==t){if(u===null){i.removeAttr(n,r);return}return e&&"set"in e&&c&&(o=e.set(n,u,r))!==t?o:(n.setAttribute(r,u+""),u)}return e&&"get"in e&&c&&(o=e.get(n,r))!==null?o:(o=n.getAttribute(r),o===null?t:o)},removeAttr:function(n,t){var u,o,r,e,f=0;if(t&&n.nodeType===1)for(o=t.split(c);f=0}})});var kt=/^(?:textarea|input|select)$/i,pi=/^([^\.]*|)(?:\.(.+)|)$/,ho=/(?:^|\s)hover(\.\S+|)\b/,co=/^key/,so=/^(?:mouse|contextmenu)|click/,ui=/^(?:focusinfocus|focusoutblur)$/,fi=function(n){return i.event.special.hover?n:n.replace(ho,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var v,h,a,y,w,o,b,l,p,c,s;if(n.nodeType===3||n.nodeType===8||!r||!u||!(v=i._data(n)))return;for(u.handler&&(p=u,u=p.handler,e=p.selector),u.guid||(u.guid=i.guid++),a=v.events,a||(v.events=a={}),h=v.handle,h||(v.handle=h=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(h.elem,arguments):t},h.elem=n),r=i.trim(fi(r)).split(" "),y=0;y=0&&(s=s.slice(0,-1),d=!0),s.indexOf(".")>=0&&(b=s.split("."),s=b.shift(),b.sort());if((!e||i.event.customEvent[s])&&!i.event.global[s])return;u=typeof u=="object"?u[i.expando]?u:new i.Event(s,u):new i.Event(s),u.type=s,u.isTrigger=!0,u.exclusive=d,u.namespace=b.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,y=s.indexOf(":")<0?"on"+s:"";if(!e){w=i.cache;for(l in w)w[l].events&&w[l].events[s]&&i.event.trigger(u,f,w[l].handle.elem,!0);return}u.result=t,u.target||(u.target=e),f=f!=null?i.makeArray(f):[],f.unshift(u),a=i.event.special[s]||{};if(a.trigger&&a.trigger.apply(e,f)===!1)return;p=[[e,a.bindType||s]];if(!o&&!a.noBubble&&!i.isWindow(e)){for(k=a.delegateType||s,h=ui.test(k+s)?e:e.parentNode,c=e;h;h=h.parentNode)p.push([h,k]),c=h;c===(e.ownerDocument||r)&&p.push([c.defaultView||c.parentWindow||n,k])}for(l=0;l=0:i.find(s,this,null,[e]).length),p[s]&&y.push(u);y.length&&a.push({elem:e,matches:y})}for(c.length>l&&a.push({elem:this,matches:c.slice(l)}),f=0;f0?this.on(t,null,n,i):this.trigger(t)},co.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),so.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)}),function(n,t){function r(n,t,i,r){i=i||[],t=t||h;var e,u,s,f,o=t.nodeType;if(!n||typeof n!="string")return i;if(o!==1&&o!==9)return[];s=et(t);if(!s&&!r)if(e=tr.exec(n))if(f=e[1]){if(o===9){u=t.getElementById(f);if(!u||!u.parentNode)return i;if(u.id===f)return i.push(u),i}else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ni(t,u)&&u.id===f)return i.push(u),i}else{if(e[2])return w.apply(i,p.call(t.getElementsByTagName(n),0)),i;if((f=e[3])&&dt&&t.getElementsByClassName)return w.apply(i,p.call(t.getElementsByClassName(f),0)),i}return st(n.replace(tt,"$1"),t,i,r,s)}function k(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function ui(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function y(n){return s(function(t){return t=+t,s(function(i,r){var u,e=n([],i.length,t),f=e.length;while(f--)i[u=e[f]]&&(i[u]=!(r[u]=i[u]))})})}function rt(n,t,i){if(n===t)return i;var r=n.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function d(n,t){var o,f,a,s,i,l,c,v=hi[e][n];if(v)return t?0:v.slice(0);i=n,l=[],c=u.preFilter;while(i){(!o||(f=nr.exec(i)))&&(f&&(i=i.slice(f[0].length)),l.push(a=[])),o=!1,(f=rr.exec(i))&&(a.push(o=new ri(f.shift())),i=i.slice(o.length),o.type=f[0].replace(tt," "));for(s in u.filter)(f=g[s].exec(i))&&(!c[s]||(f=c[s](f,h,!0)))&&(a.push(o=new ri(f.shift())),i=i.slice(o.length),o.type=s,o.matches=f);if(!o)break}return t?i.length:i?r.error(n):hi(n,l).slice(0)}function pt(n,t,i){var u=t.dir,r=i&&t.dir==="parentNode",f=gi++;return t.first?function(t,i,f){while(t=t[u])if(r||t.nodeType===1)return n(t,i,f)}:function(t,i,o){if(o){while(t=t[u])if(r||t.nodeType===1)if(n(t,i,o))return t}else{var s,c=it+" "+f+" ",h=c+ot;while(t=t[u])if(r||t.nodeType===1){if((s=t[e])===h)return t.sizset;if(typeof s=="string"&&s.indexOf(c)===0){if(t.sizset)return t}else{t[e]=h;if(n(t,i,o))return t.sizset=!0,t;t.sizset=!1}}}}}function yt(n){return n.length>1?function(t,i,r){var u=n.length;while(u--)if(!n[u](t,i,r))return!1;return!0}:n[0]}function ft(n,t,i,r,u){for(var e,o=[],f=0,h=n.length,s=t!=null;f-1},c,!0),f=[function(n,t,i){return!s&&(i||t!==nt)||((h=t).nodeType?l(n,t,i):a(n,t,i))}];t1&&yt(f),t>1&&n.slice(0,t-1).join("").replace(tt,"$1"),r,t0,e=n.length>0,i=function(o,s,c,l,a){var p,b,d,y=[],k=0,v="0",tt=o&&[],g=a!=null,ut=nt,et=o||e&&u.find.TAG("*",a&&s.parentNode||s),rt=it+=ut==null?1:Math.E;for(g&&(nt=s!==h&&s,ot=i.el);(p=et[v])!=null;v++){if(e&&p){for(b=0;d=n[b];b++)if(d(p,s,c)){l.push(p);break}g&&(it=rt,ot=++i.el)}f&&((p=!d&&p)&&k--,o&&tt.push(p))}k+=v;if(f&&v!==k){for(b=0;d=t[b];b++)d(tt,y,s,c);if(o){if(k>0)while(v--)!tt[v]&&!y[v]&&(y[v]=ki.call(l));y=ft(y)}w.apply(l,y),g&&!o&&y.length>0&&k+t.length>1&&r.uniqueSort(l)}return g&&(it=rt,nt=ut),tt};return i.el=0,f?s(i):i}function di(n,t,i,u){for(var f=0,e=t.length;f2&&(s=e[0]).type==="ID"&&t.nodeType===9&&!f&&u.relative[e[1].type]){t=u.find.ID(s.matches[0].replace(v,""),t,f)[0];if(!t)return i;n=n.slice(e.shift().length)}for(h=g.POS.test(n)?-1:e.length-1;h>=0;h--){s=e[h];if(u.relative[l=s.type])break;if(c=u.find[l])if(r=c(s.matches[0].replace(v,""),lt.test(e[0].type)&&t.parentNode||t,f)){e.splice(h,1),n=r.length&&e.join("");if(!n)return w.apply(i,p.call(r,0)),i;break}}}return kt(n,o)(r,t,f,i,lt.test(n)),i}function ei(){}var ot,wt,u,ut,et,ni,kt,bt,b,nt,ti=!0,c="undefined",e=("sizcache"+Math.random()).replace(".",""),ri=String,h=n.document,o=h.documentElement,it=0,gi=0,ki=[].pop,w=[].push,p=[].slice,oi=[].indexOf||function(n){for(var t=0,i=this.length;tu.cacheLength&&delete n[t.shift()],n[i]=r},n)},fi=ht(),hi=ht(),si=ht(),f="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",wi=a.replace("w","w#"),ir="([*^$|!~]?=)",gt="\\["+f+"*("+a+")"+f+"*(?:"+ir+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+wi+")|)|)"+f+"*\\]",at=":("+a+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+gt+")|[^:]|\\\\.)*|.*))\\)|)",ii=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)",tt=new RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),nr=new RegExp("^"+f+"*,"+f+"*"),rr=new RegExp("^"+f+"*([\\x20\\t\\r\\n\\f>+~])"+f+"*"),ur=new RegExp(at),tr=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,or=/^:not/,lt=/[\x20\t\r\n\f]*[+~]/,er=/:not\($/,ai=/h\d/i,ci=/input|select|textarea|button/i,v=/\\(?!\\)/g,g={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),NAME:new RegExp("^\\[name=['\"]?("+a+")['\"]?\\]"),TAG:new RegExp("^("+a.replace("w","w*")+")"),ATTR:new RegExp("^"+gt),PSEUDO:new RegExp("^"+at),POS:new RegExp(ii,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),needsContext:new RegExp("^"+f+"*[>+~]|"+ii,"i")},l=function(n){var t=h.createElement("div");try{return n(t)}catch(i){return!1}finally{t=null}},yi=l(function(n){return n.appendChild(h.createComment("")),!n.getElementsByTagName("*").length}),pi=l(function(n){return n.innerHTML="",n.firstChild&&typeof n.firstChild.getAttribute!==c&&n.firstChild.getAttribute("href")==="#"}),li=l(function(n){n.innerHTML="";var t=typeof n.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),dt=l(function(n){return n.innerHTML="",!n.getElementsByClassName||!n.getElementsByClassName("e").length?!1:(n.lastChild.className="e",n.getElementsByClassName("e").length===2)}),vi=l(function(n){n.id=e+0,n.innerHTML="
",o.insertBefore(n,o.firstChild);var t=h.getElementsByName&&h.getElementsByName(e).length===2+h.getElementsByName(e+0).length;return wt=!h.getElementById(e),o.removeChild(n),t});try{p.call(o.childNodes,0)[0].nodeType}catch(fr){p=function(n){for(var i,t=[];i=this[n];n++)t.push(i);return t}}r.matches=function(n,t){return r(n,null,null,t)},r.matchesSelector=function(n,t){return r(t,null,null,[n]).length>0},ut=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=ut(n)}else if(t===3||t===4)return n.nodeValue}else for(;r=n[u];u++)i+=ut(r);return i},et=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1},ni=r.contains=o.contains?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&r.contains&&r.contains(i))}:o.compareDocumentPosition?function(n,t){return t&&!!(n.compareDocumentPosition(t)&16)}:function(n,t){while(t=t.parentNode)if(t===n)return!0;return!1},r.attr=function(n,t){var i,r=et(n);return r||(t=t.toLowerCase()),(i=u.attrHandle[t])?i(n):r||li?n.getAttribute(t):(i=n.getAttributeNode(t),i?typeof n[t]=="boolean"?n[t]?t:null:i.specified?i.value:null:null)},u=r.selectors={cacheLength:50,createPseudo:s,match:g,attrHandle:pi?{}:{href:function(n){return n.getAttribute("href",2)},type:function(n){return n.getAttribute("type")}},find:{ID:wt?function(n,t,i){if(typeof t.getElementById!==c&&!i){var r=t.getElementById(n);return r&&r.parentNode?[r]:[]}}:function(n,i,r){if(typeof i.getElementById!==c&&!r){var u=i.getElementById(n);return u?u.id===n||typeof u.getAttributeNode!==c&&u.getAttributeNode("id").value===n?[u]:t:[]}},TAG:yi?function(n,t){if(typeof t.getElementsByTagName!==c)return t.getElementsByTagName(n)}:function(n,t){var f=t.getElementsByTagName(n),r,i,u;if(n==="*"){for(i=[],u=0;r=f[u];u++)r.nodeType===1&&i.push(r);return i}return f},NAME:vi&&function(n,t){if(typeof t.getElementsByName!==c)return t.getElementsByName(name)},CLASS:dt&&function(n,t,i){if(typeof t.getElementsByClassName!==c&&!i)return t.getElementsByClassName(n)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(v,""),n[3]=(n[4]||n[5]||"").replace(v,""),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1]==="nth"?(n[2]||r.error(n[0]),n[3]=+(n[3]?n[4]+(n[5]||1):2*(n[2]==="even"||n[2]==="odd")),n[4]=+(n[6]+n[7]||n[2]==="odd")):n[2]&&r.error(n[0]),n},PSEUDO:function(n){var t,i;return g.CHILD.test(n[0])?null:(n[3]?n[2]=n[3]:(t=n[4])&&(ur.test(t)&&(i=d(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(t=t.slice(0,i),n[0]=n[0].slice(0,i)),n[2]=t),n.slice(0,3))}},filter:{ID:wt?function(n){return n=n.replace(v,""),function(t){return t.getAttribute("id")===n}}:function(n){return n=n.replace(v,""),function(t){var i=typeof t.getAttributeNode!==c&&t.getAttributeNode("id");return i&&i.value===n}},TAG:function(n){return n==="*"?function(){return!0}:(n=n.replace(v,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===n})},CLASS:function(n){var t=fi[e][n];return t||(t=fi(n,new RegExp("(^|"+f+")"+n+"("+f+"|$)"))),function(n){return t.test(n.className||typeof n.getAttribute!==c&&n.getAttribute("class")||"")}},ATTR:function(n,t,i){return function(u){var e=r.attr(u,n);return e==null?t==="!=":t?(e+="",t==="="?e===i:t==="!="?e!==i:t==="^="?i&&e.indexOf(i)===0:t==="*="?i&&e.indexOf(i)>-1:t==="$="?i&&e.substr(e.length-i.length)===i:t==="~="?(" "+e+" ").indexOf(i)>-1:t==="|="?e===i||e.substr(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r){return n==="nth"?function(n){var u,t,f=n.parentNode;if(i===1&&r===0)return!0;if(f)for(t=0,u=f.firstChild;u;u=u.nextSibling)if(u.nodeType===1){t++;if(n===u)break}return t-=r,t===i||t%i==0&&t/i>=0}:function(t){var i=t;switch(n){case"only":case"first":while(i=i.previousSibling)if(i.nodeType===1)return!1;if(n==="first")return!0;i=t;case"last":while(i=i.nextSibling)if(i.nodeType===1)return!1;return!0}}},PSEUDO:function(n,t){var f,i=u.pseudos[n]||u.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return i[e]?i(t):i.length>1?(f=[n,n,"",t],u.setFilters.hasOwnProperty(n.toLowerCase())?s(function(n,r){var e,f=i(n,t),u=f.length;while(u--)e=oi.call(n,f[u]),n[e]=!(r[e]=f[u])}):function(n){return i(n,0,f)}):i}},pseudos:{not:s(function(n){var i=[],r=[],t=kt(n.replace(tt,"$1"));return t[e]?s(function(n,i,r,u){var e,o=t(n,null,u,[]),f=n.length;while(f--)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:s(function(n){return function(t){return r(n,t).length>0}}),contains:s(function(n){return function(t){return(t.textContent||t.innerText||ut(t)).indexOf(n)>-1}}),enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!u.pseudos.empty(n)},empty:function(n){var t;n=n.firstChild;while(n){if(n.nodeName>"@"||(t=n.nodeType)===3||t===4)return!1;n=n.nextSibling}return!0},header:function(n){return ai.test(n.nodeName)},text:function(n){var i,t;return n.nodeName.toLowerCase()==="input"&&(i=n.type)==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()===i)},radio:k("radio"),checkbox:k("checkbox"),file:k("file"),password:k("password"),image:k("image"),submit:ui("submit"),reset:ui("reset"),button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},input:function(n){return ci.test(n.nodeName)},focus:function(n){var t=n.ownerDocument;return n===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!n.type||!!n.href)},active:function(n){return n===n.ownerDocument.activeElement},first:y(function(){return[0]}),last:y(function(n,t){return[t-1]}),eq:y(function(n,t,i){return[i<0?i+t:i]}),even:y(function(n,t){for(var r=0;r=0;)n.push(r);return n}),gt:y(function(n,t,i){for(var r=i<0?i+t:i;++r",t.querySelectorAll("[selected]").length||n.push("\\["+f+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||n.push(":checked")}),l(function(t){t.innerHTML="

",t.querySelectorAll("[test^='']").length&&n.push("[*^$]="+f+"*(?:\"\"|'')"),t.innerHTML="",t.querySelectorAll(":enabled").length||n.push(":enabled",":disabled")}),n=new RegExp(n.join("|")),st=function(t,i,r,u,f){if(!u&&!f&&(!n||!n.test(t))){var s,l,v=!0,o=e,y=i,a=i.nodeType===9&&t;if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){s=d(t),(v=i.getAttribute("id"))?o=v.replace(c,"\\$&"):i.setAttribute("id",o),o="[id='"+o+"'] ",l=s.length;while(l--)s[l]=o+s[l].join("");y=lt.test(t)&&i.parentNode||i,a=s.join(",")}if(a)try{return w.apply(r,p.call(y.querySelectorAll(a),0)),r}catch(b){}finally{v||i.removeAttribute("id")}}return h(t,i,r,u,f)},t&&(l(function(n){u=t.call(n,"div");try{t.call(n,"[test!='']:sizzle"),i.push("!=",at)}catch(r){}}),i=new RegExp(i.join("|")),r.matchesSelector=function(f,e){e=e.replace(s,"='$1']");if(!et(f)&&!i.test(e)&&(!n||!n.test(e)))try{var o=t.call(f,e);if(o||u||f.document&&f.document.nodeType!==11)return o}catch(h){}return r(e,null,null,[f]).length>0})}(),u.pseudos.nth=u.pseudos.eq,u.filters=ei.prototype=u.pseudos,u.setFilters=new ei,r.attr=i.attr,i.find=r,i.expr=r.selectors,i.expr[":"]=i.expr.pseudos,i.unique=r.uniqueSort,i.text=r.getText,i.isXMLDoc=r.isXML,i.contains=r.contains}(n);var eo=/Until$/,oo=/^(?:parents|prev(?:Until|All))/,yo=/^.[^:#\[\.,]*$/,ci=i.expr.match.needsContext,po={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,e,o,u,f,r,s=this;if(typeof n!="string")return i(n).filter(function(){for(t=0,e=s.length;t0)for(u=o;u=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=ci.test(n)||typeof n!="string"?i(n,t||this.context):0;f-1:i.find.matchesSelector(r,n)){u.push(r);break}r=r.parentNode}}return u=u.length>1?i.unique(u):u,this.pushStack(u,"closest",n)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(k(u[0])||k(r[0])?r:i.unique(r))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}}),i.fn.andSelf=i.fn.addBack,i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return kr(n,"nextSibling")},prev:function(n){return kr(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return eo.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!po[n]?i.unique(f):f,this.length>1&&oo.test(n)&&(f=f.reverse()),this.pushStack(f,n,o.call(arguments).join(","))}}),i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){var e=[],f=n[r];while(f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u)))f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var si="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vo=/ jQuery\d+="(?:null|\d+)"/g,bt=/^\s+/,or=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,er=/<([\w:]+)/,lo=/]","i"),nu=/^(?:checkbox|radio)$/,sr=/checked\s*(?:[^=]|=\s*.checked.)/i,we=/\/(java|ecma)script/i,be=/^\s*\s*$/g,e={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},nr=br(r),at=nr.appendChild(r.createElement("div"));e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,i.support.htmlSerialize||(e._default=[1,"X
","
"]),i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var n=this;while(n.firstChild&&n.firstChild.nodeType===1)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var r=i(this),t=r.contents();t.length?t.wrapAll(n):r.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(n,this.firstChild)})},before:function(){if(!k(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(n,this),"before",this.selector)}},after:function(){if(!k(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(this,n),"after",this.selector)}},remove:function(n,t){for(var r,u=0;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(!t&&r.nodeType===1&&(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++){n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));while(n.firstChild)n.removeChild(n.firstChild)}return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},u=0,f=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(vo,""):t;if(typeof n=="string"&&!fo.test(n)&&(i.support.htmlSerialize||!ni.test(n))&&(i.support.leadingWhitespace||!bt.test(n))&&!e[(er.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(or,"<$1>");try{for(;u1&&typeof s=="string"&&sr.test(s))return this.each(function(){i(this).domManip(n,r,u)});if(i.isFunction(s))return this.each(function(f){var e=i(this);n[0]=s.call(this,f,r?e.html():t),e.domManip(n,r,u)});if(this[0]){l=i.buildFragment(n,this,h),f=l.fragment,o=f.firstChild,f.childNodes.length===1&&(f=o);if(o)for(r=r&&i.nodeName(o,"tr"),a=l.cacheable||c-1;e0?this.clone(!0):this).get(),i(f[e])[t](s),o=o.concat(s);return this.pushStack(o,n,f.selector)}}),i.extend({clone:function(n,t,r){var e,o,u,f;i.support.html5Clone||i.isXMLDoc(n)||!ni.test("<"+n.nodeName+">")?f=n.cloneNode(!0):(at.innerHTML=n.outerHTML,at.removeChild(f=at.firstChild));if((!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(vi(n,f),e=ft(n),o=ft(f),u=0;e[u];++u)o[u]&&vi(e[u],o[u]);if(t){wr(n,f);if(r)for(e=ft(n),o=ft(f),u=0;e[u];++u)wr(e[u],o[u])}return e=o=null,f},clean:function(n,t,u,f){var h,l,o,w,v,d,s,k,a,g,b,p,y=t===r&&nr,c=[];for(t&&typeof t.createDocumentFragment!="undefined"||(t=r),h=0;(o=n[h])!=null;h++){typeof o=="number"&&(o+="");if(!o)continue;if(typeof o=="string")if(ao.test(o)){y=y||br(t),s=t.createElement("div"),y.appendChild(s),o=o.replace(or,"<$1>"),w=(er.exec(o)||["",""])[1].toLowerCase(),v=e[w]||e._default,d=v[0],s.innerHTML=v[1]+o+v[2];while(d--)s=s.lastChild;if(!i.support.tbody)for(k=lo.test(o),a=w==="table"&&!k?s.firstChild&&s.firstChild.childNodes:v[1]===""&&!k?s.childNodes:[],l=a.length-1;l>=0;--l)i.nodeName(a[l],"tbody")&&!a[l].childNodes.length&&a[l].parentNode.removeChild(a[l]);!i.support.leadingWhitespace&&bt.test(o)&&s.insertBefore(t.createTextNode(bt.exec(o)[0]),s.firstChild),o=s.childNodes,s.parentNode.removeChild(s)}else o=t.createTextNode(o);o.nodeType?c.push(o):i.merge(c,o)}s&&(o=s=y=null);if(!i.support.appendChecked)for(h=0;(o=c[h])!=null;h++)i.nodeName(o,"input")?oi(o):typeof o.getElementsByTagName!="undefined"&&i.grep(o.getElementsByTagName("input"),oi);if(u)for(b=function(n){if(!n.type||we.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},h=0;(o=c[h])!=null;h++)i.nodeName(o,"script")&&b(o)||(u.appendChild(o),typeof o.getElementsByTagName!="undefined"&&(p=i.grep(i.merge([],o.getElementsByTagName("script")),b),c.splice.apply(c,[h+1,0].concat(p)),h+=p.length));return c},cleanData:function(n,t){for(var f,u,r,o,h=0,e=i.expando,s=i.cache,l=i.support.deleteExpando,c=i.event.special;(r=n[h])!=null;h++)if(t||i.acceptData(r)){u=r[e],f=u&&s[u];if(f){if(f.events)for(o in f.events)c[o]?i.event.remove(r,o):i.removeEvent(r,o,f.handle);s[u]&&(delete s[u],l?delete r[e]:r.removeAttribute?r.removeAttribute(e):r[e]=null,i.deletedIds.push(u))}}}}),function(){var t,n;i.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},t=i.uaMatch(he.userAgent),n={},t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),i.browser=n,i.sub=function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function u(c,r){return r&&r instanceof i&&!(r instanceof n)&&(r=n(r)),i.fn.init.call(this,u,r,t)},n.fn.init.prototype=n.fn;var t=n(r);return n}}();var u,p,w,yt=/alpha\([^)]*\)/i,uo=/opacity=([^)]*)/,io=/^(top|right|bottom|left)$/,no=/^(none|table(?!-c[ea]).+)/,ir=/^margin/,to=new RegExp("^("+tt+")(.*)$","i"),lt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),gu=new RegExp("^([-+])=("+tt+")","i"),gt={},nf={position:"absolute",visibility:"hidden",display:"block"},hr={letterSpacing:0,fontWeight:400},l=["Top","Right","Bottom","Left"],lr=["Webkit","O","Moz","ms"],lf=i.fn.toggle;i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return cr(this,!0)},hide:function(){return cr(this)},toggle:function(n,t){var r=typeof n=="boolean";return i.isFunction(n)&&i.isFunction(t)?lf.apply(this,arguments):this.each(function(){r?n:et(this)?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=u(n,"opacity");return i===""?"1":i}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(!n||n.nodeType===3||n.nodeType===8||!n.style)return;var s,h,e,o=i.camelCase(r),c=n.style;r=i.cssProps[o]||(i.cssProps[o]=hi(c,o)),e=i.cssHooks[r]||i.cssHooks[o];if(u===t)return e&&"get"in e&&(s=e.get(n,!1,f))!==t?s:c[r];h=typeof u,h==="string"&&(s=gu.exec(u))&&(u=(s[1]+1)*s[2]+parseFloat(i.css(n,r)),h="number");if(u==null||h==="number"&&isNaN(u))return;h==="number"&&!i.cssNumber[o]&&(u+="px");if(!e||!("set"in e)||(u=e.set(n,u,f))!==t)try{c[r]=u}catch(l){}},css:function(n,r,f,e){var o,c,s,h=i.camelCase(r);return r=i.cssProps[h]||(i.cssProps[h]=hi(n.style,h)),s=i.cssHooks[r]||i.cssHooks[h],s&&"get"in s&&(o=s.get(n,!0,e)),o===t&&(o=u(n,r)),o==="normal"&&r in hr&&(o=hr[r]),f||e!==t?(c=parseFloat(o),f||i.isNumeric(c)?c||0:o):o},swap:function(n,t,i){var f,r,u={};for(r in t)u[r]=n.style[r],n.style[r]=t[r];f=i.call(n);for(r in t)n.style[r]=u[r];return f}}),n.getComputedStyle?u=function(t,r){var f,o,s,h,e=n.getComputedStyle(t,null),u=t.style;return e&&(f=e[r],f===""&&!i.contains(t.ownerDocument,t)&&(f=i.style(t,r)),lt.test(f)&&ir.test(r)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=e.width,u.width=o,u.minWidth=s,u.maxWidth=h)),f}:r.documentElement.currentStyle&&(u=function(n,t){var f,u,i=n.currentStyle&&n.currentStyle[t],r=n.style;return i==null&&r&&r[t]&&(i=r[t]),lt.test(i)&&!io.test(t)&&(f=r.left,u=n.runtimeStyle&&n.runtimeStyle.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),i===""?"auto":i}),i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,f){if(r)return n.offsetWidth===0&&no.test(u(n,"display"))?i.swap(n,nf,function(){return ur(n,t,f)}):ur(n,t,f)},set:function(n,r,u){return rr(n,r,u?wi(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing")==="border-box"):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return uo.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,f=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",u=f&&f.filter||r.filter||"";r.zoom=1;if(t>=1&&i.trim(u.replace(yt,""))===""&&r.removeAttribute){r.removeAttribute("filter");if(f&&!f.filter)return}r.filter=yt.test(u)?u.replace(yt,e):u+" "+e}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){return i.swap(n,{display:"inline-block"},function(){if(t)return u(n,"marginRight")})}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r){var f=u(n,t);return lt.test(f)?i(n).position()[t]+"px":f}}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth===0&&n.offsetHeight===0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||u(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)}),i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var u=typeof i=="string"?i.split(" "):[i],f={},r=0;r<4;r++)f[n+l[r]+t]=u[r]||u[r-2]||u[0];return f}},ir.test(n)||(i.cssHooks[n+t].set=rr)});var cf=/%20/g,hf=/\[\]$/,fr=/\r?\n/g,yf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vf=/^(?:select|textarea)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vf.test(this.nodeName)||yf.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(fr,"\r\n")}}):{name:t.name,value:r.replace(fr,"\r\n")}}).get()}}),i.param=function(n,r){var f,u=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t,u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional);if(i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)ri(f,n[f],r,e);return u.join("&").replace(cf,"+")};var a,h,of=/#.*$/,ef=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ff=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,sf=/^(?:GET|HEAD)$/,af=/^\/\//,ei=/\?/,yu=/)<[^<]*)*<\/script>/gi,bu=/([?&])_=[^&]*/,li=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ai=i.fn.load,ti={},ou={},vu=["*/"]+["*"];try{h=fe.href}catch(wo){h=r.createElement("a"),h.href="",h=h.href}a=li.exec(h.toLowerCase())||[],i.fn.load=function(n,r,u){if(typeof n!="string"&&ai)return ai.apply(this,arguments);if(!this.length)return this;var e,o,h,s=this,f=n.indexOf(" ");return f>=0&&(e=n.slice(f,n.length),n=n.slice(0,f)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(o="POST"),i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t){u&&s.each(u,h||[n.responseText,t,n])}}).done(function(n){h=arguments,s.html(e?i("
").append(n.replace(yu,"")).find(e):n)}),this},i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}}),i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?gi(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),gi(n,t),n},ajaxSettings:{url:h,isLocal:ff.test(a[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","*":vu},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:di(ti),ajaxTransport:di(ou),ajax:function(n,r){function p(n,r,h,c){var y,d,w,g,p,a=r;if(e===2)return;e=2,tt&&clearTimeout(tt),l=t,k=c||"",f.readyState=n>0?4:0,h&&(g=ro(u,f,h)),n>=200&&n<300||n===304?(u.ifModified&&(p=f.getResponseHeader("Last-Modified"),p&&(i.lastModified[o]=p),p=f.getResponseHeader("Etag"),p&&(i.etag[o]=p)),n===304?(a="notmodified",y=!0):(y=ge(u,g),a=y.state,d=y.data,w=y.error,y=!w)):(w=a,(!a||n)&&(a="error",n<0&&(n=0))),f.status=n,f.statusText=(r||a)+"",y?rt.resolveWith(s,[d,a,f]):rt.rejectWith(s,[f,a,w]),f.statusCode(b),b=t,v&&nt.trigger("ajax"+(y?"Success":"Error"),[f,u,y?d:w]),ft.fireWith(s,[f,a]),v&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop"))}var g,it;typeof n=="object"&&(r=n,n=t),r=r||{};var o,k,w,l,tt,y,v,h,u=i.ajaxSetup({},r),s=u.context||u,nt=s!==u&&(s.nodeType||s instanceof i)?i(s):i.event,rt=i.Deferred(),ft=i.Callbacks("once memory"),b=u.statusCode||{},et={},ot={},e=0,ut="canceled",f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ot[i]=ot[i]||n,et[n]=t}return this},getAllResponseHeaders:function(){return e===2?k:null},getResponseHeader:function(n){var i;if(e===2){if(!w){w={};while(i=ef.exec(k))w[i[1].toLowerCase()]=i[2]}i=w[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||ut,l&&l.abort(n),p(0,n),this}};rt.promise(f),f.success=f.done,f.error=f.fail,f.complete=ft.add,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)b[t]=[b[t],n[t]];else t=n[f.status],f.always(t)}return this},u.url=((n||u.url)+"").replace(of,"").replace(af,a[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(c),u.crossDomain==null&&(y=li.exec(u.url.toLowerCase())||!1,u.crossDomain=y&&y.join(":")+(y[3]?"":y[1]==="http:"?80:443)!==a.join(":")+(a[3]?"":a[1]==="http:"?80:443)),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),d(ti,u,r,f);if(e===2)return f;v=u.global,u.type=u.type.toUpperCase(),u.hasContent=!sf.test(u.type),v&&i.active++==0&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(ei.test(u.url)?"&":"?")+u.data,delete u.data),o=u.url,u.cache===!1&&(g=i.now(),it=u.url.replace(bu,"$1_="+g),u.url=it+(it===u.url?(ei.test(u.url)?"&":"?")+"_="+g:""))),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+vu+"; q=0.01":""):u.accepts["*"]);for(h in u.headers)f.setRequestHeader(h,u.headers[h]);if(!u.beforeSend||u.beforeSend.call(s,f,u)!==!1&&e!==2){ut="abort";for(h in{success:1,error:1,complete:1})f[h](u[h]);l=d(ou,u,r,f);if(l){f.readyState=1,v&&nt.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(tt=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1,l.send(et,p)}catch(st){if(e<2)p(-1,st);else throw st;}}else p(-1,"No Transport");return f}return f.abort()},active:0,lastModified:{},etag:{}});var pr=[],tf=/\?/,ut=/(=)\?(?=&|$)|\?\?/,rf=i.now();i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=pr.pop()||i.expando+"_"+rf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,l=r.data,a=r.url,h=r.jsonp!==!1,c=h&&ut.test(a),v=h&&!c&&typeof l=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&ut.test(l);if(r.dataTypes[0]==="jsonp"||c||v)return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,s=n[e],c?r.url=a.replace(ut,"$1"+e):v?r.data=l.replace(ut,"$1"+e):h&&(r.url+=(tf.test(a)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",n[e]=function(){o=arguments},f.always(function(){n[e]=s,r[e]&&(r.jsonpCallback=u.jsonpCallback,pr.push(e)),o&&i.isFunction(s)&&s(o[0]),o=s=t}),"script"}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script"),i.async="async",n.scriptCharset&&(i.charset=n.scriptCharset),i.src=n.url,i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))},u.insertBefore(i,u.firstChild)},abort:function(){i&&i.onload(0,1)}}}}),ht=n.ActiveXObject?function(){for(var n in y)y[n](0,1)}:!1,vr=0,i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&ki()||pe()}:ki,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr()),i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async);if(r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType),!r.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null),u=function(n,f){var c,a,v,s,l;try{if(u&&(f||o.readyState===4)){u=t,h&&(o.onreadystatechange=i.noop,ht&&delete y[h]);if(f)o.readyState!==4&&o.abort();else{c=o.status,v=o.getAllResponseHeaders(),s={},l=o.responseXML,l&&l.documentElement&&(s.xml=l);try{s.text=o.responseText}catch(n){}try{a=o.statusText}catch(w){a=""}!c&&r.isLocal&&!r.crossDomain?c=s.text?200:404:c===1223&&(c=204)}}}catch(p){f||e(-1,p)}s&&e(c,a,s,v)},r.async?o.readyState===4?setTimeout(u,0):(h=++vr,ht&&(y||(y={},i(n).unload(ht)),y[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}}});var st,ot,wu=/^(?:toggle|show|hide)$/,pu=new RegExp("^(?:([-+])=|)("+tt+")([a-z%]*)$","i"),du=/queueHooks$/,g=[ee],b={"*":[function(n,t){var s,o,r=this.createTween(n,t),e=pu.exec(t),h=r.cur(),u=+h||0,f=1,c=20;if(e){s=+e[2],o=e[3]||(i.cssNumber[n]?"":"px");if(o!=="px"&&u){u=i.css(r.elem,n,!0)||s||1;do f=f||".5",u=u/f,i.style(r.elem,n,u+o);while(f!==(f=r.cur()/h)&&f!==1&&--c)}r.unit=o,r.start=u,r.end=e[1]?u+(e[1]+1)*s:s}return r}]};i.Animation=i.extend(au,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u-1,u={},e={},f,o;v?(e=h.position(),f=e.top,o=e.left):(f=parseFloat(l)||0,o=parseFloat(a)||0),i.isFunction(t)&&(t=t.call(n,r,c)),t.top!=null&&(u.top=t.top-c.top+f),t.left!=null&&(u.left=t.left-c.left+o),"using"in t?t.using.call(n,u):h.css(u)}},i.fn.extend({position:function(){if(!this[0])return;var u=this[0],r=this.offsetParent(),n=this.offset(),t=wt.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(i.css(u,"marginTop"))||0,n.left-=parseFloat(i.css(u,"marginLeft"))||0,t.top+=parseFloat(i.css(r[0],"borderTopWidth"))||0,t.left+=parseFloat(i.css(r[0],"borderLeftWidth"))||0,{top:n.top-t.top,left:n.left-t.left}},offsetParent:function(){return this.map(function(){var n=this.offsetParent||r.body;while(n&&!wt.test(n.nodeName)&&i.css(n,"position")==="static")n=n.offsetParent;return n||r.body})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=tu(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}}),i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var s=arguments.length&&(u||typeof f!="boolean"),o=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,f,o):i.style(r,u,f,o)},r,s?f:t,s,null)}})}),n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})})(window),BlogEngine={$:function(n){return document.getElementById(n)},setFlag:function(n){BlogEngine.comments.flagImage.src=n.length>0?BlogEngineRes.webRoot+"pics/flags/"+n+".png":BlogEngineRes.webRoot+"pics/pixel.gif"},showCommentPreview:function(){var t=this.$("preview"),n=this.$("compose"),i;t&&(t.className="selected"),n&&(n.className=""),this.$("commentCompose").style.display="none",this.$("commentPreview").style.display="block",this.$("commentPreview").innerHTML='Loading',i=this.$("commentPreview").innerHTML,this.addComment(!0)},composeComment:function(){var t=this.$("preview"),n=this.$("compose");t&&(t.className=""),n&&(n.className="selected"),this.$("commentPreview").style.display="none",this.$("commentCompose").style.display="block"},endShowPreview:function(n){BlogEngine.$("commentPreview").innerHTML=n},toggleCommentSavingIndicators:function(n){BlogEngine.$("btnSaveAjax").disabled=n,BlogEngine.$("ajaxLoader").style.display=n?"inline":"none",BlogEngine.$("status").className="",BlogEngine.$("status").innerHTML="",n||(BlogEngine.$("commentPreview").innerHTML="",BlogEngine.composeComment())},onCommentError:function(n){BlogEngine.toggleCommentSavingIndicators(!1),n=n||"Unknown error occurred.";var i=n.indexOf("|");if(i>0){n=n.substr(0,i);while(n.length>0&&n.substr(n.length-1,1).match(/\d/))n=n.substr(0,n.length-1)}document.getElementById("recaptcha_response_field")&&Recaptcha.reload(),document.getElementById("spnSimpleCaptchaIncorrect")&&(document.getElementById("spnSimpleCaptchaIncorrect").style.display="none"),alert("Sorry, the following error occurred while processing your comment:\n\n"+n)},addComment:function(n){var t=n==!0;t||(BlogEngine.toggleCommentSavingIndicators(!0),this.$("status").innerHTML=BlogEngineRes.i18n.savingTheComment);var o=BlogEngine.comments.nameBox.value,h=BlogEngine.comments.emailBox.value,s=BlogEngine.comments.contentBox.value,w=BlogEngine.comments.captchaField.value,c=BlogEngine.comments.websiteBox?BlogEngine.comments.websiteBox.value:"",r=BlogEngine.comments.countryDropDown?BlogEngine.comments.countryDropDown.value:"",p=BlogEngine.$("cbNotify")?BlogEngine.$("cbNotify").checked:!1,b=BlogEngine.comments.replyToId?BlogEngine.comments.replyToId.value:"",u=document.getElementById("recaptcha_response_field"),d=u?u.value:"",e=document.getElementById("recaptcha_challenge_field"),k=e?e.value:"",f=document.getElementById("simpleCaptchaValue"),l=f?f.value:"",i=BlogEngine.$("avatarImgSrc"),y=i&&i.value?i.value:"",v=t?BlogEngine.endShowPreview:BlogEngine.appendComment,a=o+"-|-"+h+"-|-"+c+"-|-"+r+"-|-"+s+"-|-"+p+"-|-"+t+"-|-"+w+"-|-"+b+"-|-"+y+"-|-"+d+"-|-"+k+"-|-"+l;WebForm_DoCallback(BlogEngine.comments.controlId,a,v,"comment",BlogEngine.onCommentError,!1),t||typeof OnComment=="undefined"||OnComment(o,h,c,r,s)},cancelReply:function(){this.replyToComment("")},replyToComment:function(n){var i,r,u,t;BlogEngine.comments.replyToId.value=n,i=BlogEngine.$("comment-form"),n&&n!=""&&n!=null&&n!="00000000-0000-0000-0000-000000000000"?(BlogEngine.$("cancelReply").style.display="",u=BlogEngine.$("id_"+n),t=BlogEngine.$("replies_"+n),t==null&&(t=document.createElement("div"),t.className="comment-replies",t.id="replies_"+n,u.appendChild(t)),t.style.display="",t.appendChild(i)):(r=BlogEngine.$("commentlist"),r.appendChild(i),BlogEngine.$("cancelReply").style.display="none"),BlogEngine.comments.nameBox.focus()},appendComment:function(n,t){var i,r,f,u;t=="comment"&&(document.getElementById("recaptcha_response_field")&&Recaptcha.reload(),document.getElementById("spnSimpleCaptchaIncorrect")&&(document.getElementById("spnSimpleCaptchaIncorrect").style.display="none"),n=="RecaptchaIncorrect"||n=="SimpleCaptchaIncorrect"?(document.getElementById("spnCaptchaIncorrect")&&(document.getElementById("spnCaptchaIncorrect").style.display=""),document.getElementById("spnSimpleCaptchaIncorrect")&&(document.getElementById("spnSimpleCaptchaIncorrect").style.display=""),BlogEngine.toggleCommentSavingIndicators(!1)):(document.getElementById("spnCaptchaIncorrect")&&(document.getElementById("spnCaptchaIncorrect").style.display="none"),document.getElementById("spnSimpleCaptchaIncorrect")&&(document.getElementById("spnSimpleCaptchaIncorrect").style.display="none"),i=BlogEngine.$("commentlist"),i.innerHTML.length<10&&(i.innerHTML="

"+BlogEngineRes.i18n.comments+"

"),r=BlogEngine.comments.replyToId?BlogEngine.comments.replyToId.value:"",r!=""?(f=BlogEngine.$("replies_"+r),f.innerHTML+=n):(i.innerHTML+=n,i.style.display="block"),BlogEngine.comments.contentBox.value="",BlogEngine.comments.contentBox=BlogEngine.$(BlogEngine.comments.contentBox.id),BlogEngine.toggleCommentSavingIndicators(!1),BlogEngine.$("status").className="success",BlogEngine.$("status").innerHTML=BlogEngine.comments.moderation?BlogEngineRes.i18n.commentWaitingModeration:BlogEngineRes.i18n.commentWasSaved,u=BlogEngine.$("comment-form"),i.appendChild(u),BlogEngine.comments.replyToId&&(BlogEngine.comments.replyToId.value=""),BlogEngine.$("cancelReply")&&(BlogEngine.$("cancelReply").style.display="none"))),BlogEngine.$("btnSaveAjax").disabled=!1},validateAndSubmitCommentForm:function(){var u=Page_ClientValidate("AddComment"),r=BlogEngine.comments.nameBox.value.length>0,n,t,i;return document.getElementById("spnNameRequired").style.display=r?"none":"",n=!0,BlogEngine.comments.checkName&&(t=BlogEngine.comments.postAuthor,i=BlogEngine.comments.nameBox.value,n=!this.equal(t,i)),document.getElementById("spnChooseOtherName").style.display=n?"none":"",u&&r&&n?(BlogEngine.addComment(),!0):!1},addBbCode:function(n){var t,r,i;try{t=BlogEngine.comments.contentBox;if(t.selectionStart){var u=t.value.substring(0,t.selectionStart),f=t.value.substr(t.selectionEnd),i=t.value.substring(t.selectionStart,t.selectionEnd);t.value=u+"["+n+"]"+i+"[/"+n+"]"+f,t.focus()}else document.selection&&document.selection.createRange&&(r=document.selection.createRange().text,t.focus(),i=document.selection.createRange(),i.text="["+n+"]"+r+"[/"+n+"]")}catch(e){}return},search:function(n){var r=this.$("searchfield"),i=this.$("searchcomments"),u=typeof BlogEngineRes.fileExtension=="undefined"?".aspx":BlogEngineRes.fileExtension,t="search"+u+"?q="+encodeURIComponent(r.value);return i!=null&&i.checked&&(t+="&comment=true"),top.location.href=n+t,!1},searchClear:function(n){var t=this.$("searchfield");t.value==n?t.value="":t.value==""&&(t.value=n)},rate:function(n,t,i){this.createCallback("rating.axd?id="+t+"&rating="+i,BlogEngine.ratingCallback,n)},ratingCallback:function(n){var i=n.substring(0,1),t=n.substring(1);t=="OK"?(typeof OnRating!="undefined"&&OnRating(i),alert(BlogEngineRes.i18n.ratingHasBeenRegistered)):t=="HASRATED"?alert(BlogEngineRes.i18n.hasRated):alert("An error occured while registering your rating. Please try again")},createCallback:function(n,t,i){var r=BlogEngine.getHttpObject();r.open("GET",n,!0),i&&r.setRequestHeader&&r.setRequestHeader("x-blog-instance",i.toString()),r.onreadystatechange=function(){r.readyState==4&&r.responseText.length>0&&t!=null&&t(r.responseText)},r.send(null)},getHttpObject:function(){if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(n){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(n){}}return!1},updateCalendar:function(n,t){var i=BlogEngine.$("calendarContainer");i.innerHTML=n,BlogEngine.Calendar.months[t]=n},toggleMonth:function(n){var u=BlogEngine.$("monthList"),t=u.getElementsByTagName("ul"),r;for(i=0;i-1){t.title="XFN relationship: "+n;break}}},showRating:function(n,t,i,r,u){var h=document.createElement("div"),c,s,o,f,l,e;for(h.className="rating",c=document.createElement("p"),h.appendChild(c),c.innerHTML=i==0?BlogEngineRes.i18n.beTheFirstToRate:BlogEngineRes.i18n.currentlyRated.replace("{0}",new Number(r).toFixed(1)).replace("{1}",i),s=document.createElement("ul"),s.className="star-rating small-star",h.appendChild(s),o=document.createElement("li"),o.className="current-rating",o.style.width=Math.round(r*20)+"%",o.innerHTML="Currently "+r+"/5 Stars.",s.appendChild(o),f=1;f<=5;f++)l=document.createElement("li"),e=document.createElement("a"),e.innerHTML=f,e.href="rate/"+f,e.className=this.englishNumber(f),e.title=BlogEngineRes.i18n.rateThisXStars.replace("{0}",f.toString()).replace("{1}",f==1?"":"s"),e.rel="nofollow",e.onclick=function(){return BlogEngine.rate(u,t,this.innerHTML),!1},l.appendChild(e),s.appendChild(l);n.innerHTML="",n.appendChild(h),n.style.visibility="visible"},applyRatings:function(){for(var i=document.getElementsByTagName("div"),t,n=0;n-1?"absolute":"fixed",n.style.top="200px",n.style.left=s/2-200+"px",n.style.height="50px",n.style.width="400px",n.style.backgroundColor="white",n.style.border="2px solid silver",n.style.padding="20px",document.body.appendChild(n),e=document.createElement("p"),e.innerHTML=BlogEngineRes.i18n.apmlDescription,e.style.margin="0px",n.appendChild(e),r=document.createElement("form"),r.method="get",r.style.display="inline",r.action=BlogEngineRes.webRoot,n.appendChild(r),i=document.createElement("input"),i.type="text",i.value=BlogEngine.getCookieValue("url")||"http://",i.style.width="320px",i.id="txtapml",i.name="apml",i.style.background="url("+BlogEngineRes.webRoot+"pics/apml.png) no-repeat 2px center",i.style.paddingLeft="16px",r.appendChild(i),i.focus(),f=document.createElement("input"),f.type="submit",f.value=BlogEngineRes.i18n.filter,f.onclick=function(){location.href=BlogEngineRes.webRoot+"?apml="+encodeURIComponent(BlogEngine.$("txtapml").value)},r.appendChild(f),o=document.createElement("br"),n.appendChild(o),u=document.createElement("a"),u.innerHTML=BlogEngineRes.i18n.cancel,u.href="javascript:void(0)",u.onclick=function(){document.body.removeChild(BlogEngine.$("layer")),document.body.removeChild(BlogEngine.$("apmlfilter")),document.body.style.position=""},n.appendChild(u)},getCookieValue:function(n){var i=new String(document.cookie),t,r;if(i!=null&&i.indexOf("comment=")>-1){t=i.indexOf(n+"=")+n.length+1,r=i.indexOf("&",t);if(r>t&&t>-1)return i.substring(t,r)}return null},test:function(){alert("test")},comments:{flagImage:null,contentBox:null,moderation:null,checkName:null,postAuthor:null,nameBox:null,emailBox:null,websiteBox:null,countryDropDown:null,captchaField:null,controlId:null,replyToId:null}},BlogEngine.addLoadEvent(BlogEngine.hightLightXfn),typeof $=="undefined"&&(window.$=BlogEngine.$),typeof setupBlogEngineCalendar!="undefined"&&BlogEngine.addLoadEvent(setupBlogEngineCalendar),BlogEngine.addLoadEvent(BlogEngine.applyRatings)