text: ﻿/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
  //@ sourceMappingURL=jquery-1.10.2.min.map
  */
  (function(n,t){function pi(n){var t=n.length,r=i.type(n);return i.isWindow(n)?!1:1===n.nodeType&&t?!0:"array"===r||"function"!==r&&(0===t||"number"==typeof t&&t>0&&t-1 in n)}function ne(n){var t=ai[n]={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function vu(n,r,u,f){if(i.acceptData(n)){var h,s,c=i.expando,l=n.nodeType,o=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&o[e]&&(f||o[e].data)||u!==t||"string"!=typeof r)return e||(e=l?n[c]=tt.pop()||i.guid++:c),o[e]||(o[e]=l?{}:{toJSON:i.noop}),("object"==typeof r||"function"==typeof r)&&(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),"string"==typeof r?(h=s[r],null==h&&(h=s[i.camelCase(r)])):h=s,h}}function au(n,t,r){if(i.acceptData(n)){var e,o,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in e)?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" ")),o=t.length;o--;)delete e[t[o]];if(r?!ci(e):!i.isEmptyObject(e))return}(r||(delete u[f].data,ci(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}}function lu(n,r,u){if(u===t&&1===n.nodeType){var f="data-"+r.replace(cu,"-$1").toLowerCase();if(u=n.getAttribute(f),"string"==typeof u){try{u="true"===u?!0:"false"===u?!1:"null"===u?null:+u+""===u?+u:ou.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function ci(n){var t;for(t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function ot(){return!0}function nt(){return!1}function yu(){try{return r.activeElement}catch(n){}}function uf(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function fi(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(ee.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function ur(n){var i=of.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function ir(n,t){return i.nodeName(n,"table")&&i.nodeName(1===t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function rr(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function fr(n){var t=ko.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function dt(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function nr(n,t){if(1===t.nodeType&&i.hasData(n)){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;o>f;f++)i.event.add(t,e,u[e][f])}r.data&&(r.data=i.extend({},r.data))}}function po(n,t){var r,f,u;if(1===t.nodeType){if(r=t.nodeName.toLowerCase(),!i.support.noCloneEvent&&t[i.expando]){u=i._data(t);for(f in u.events)i.removeEvent(t,f,u.handle);t.removeAttribute(i.expando)}"script"===r&&t.text!==n.text?(rr(t).text=n.text,fr(t)):"object"===r?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===r&&ni.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===r?t.defaultSelected=t.selected=n.defaultSelected:("input"===r||"textarea"===r)&&(t.defaultValue=n.defaultValue)}}function u(n,r){var s,e,h=0,f=typeof n.getElementsByTagName!==o?n.getElementsByTagName(r||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(r||"*"):t;if(!f)for(f=[],s=n.childNodes||n;null!=(e=s[h]);h++)!r||i.nodeName(e,r)?f.push(e):i.merge(f,u(e,r));return r===t||r&&i.nodeName(n,r)?i.merge([n],f):f}function wo(n){ni.test(n.type)&&(n.defaultChecked=n.checked)}function er(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=hr.length;i--;)if(t=hr[i]+r,t in n)return t;return u}function rt(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)}function or(n,t){for(var e,r,o,f=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(f[u]=i._data(r,"olddisplay"),e=r.style.display,t?(f[u]||"none"!==e||(r.style.display=""),""===r.style.display&&rt(r)&&(f[u]=i._data(r,"olddisplay",gi(r.nodeName)))):f[u]||(o=rt(r),(e&&"none"!==e||!o)&&i._data(r,"olddisplay",o?e:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?f[u]||"":"none"));return n}function wr(n,t,i){var r=no.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function kr(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+p[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+p[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+p[e]+"Width",!0,f))):(o+=i.css(n,"padding"+p[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+p[e]+"Width",!0,f)));return o}function yr(n,t,r){var o=!0,u="width"===t?n.offsetWidth:n.offsetHeight,f=l(n),e=i.support.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,f);if(0>=u||null==u){if(u=w(n,t,f),(0>u||null==u)&&(u=n.style[t]),et.test(u))return u;o=e&&(i.support.boxSizingReliable||u===n.style[t]),u=parseFloat(u)||0}return u+kr(n,t,r||(e?"border":"content"),o,f)+"px"}function gi(n){var u=r,t=cr[n];return t||(t=di(n,u),"none"!==t&&t||(ft=(ft||i("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(u.documentElement),u=(ft[0].contentWindow||ft[0].contentDocument).document,u.write("<!doctype html><html><body>"),u.close(),t=di(n,u),ft.detach()),cr[n]=t),t}function di(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.remove(),u}function hi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||oo.test(n)?u(n,i):hi(n+"["+("object"==typeof i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)hi(n+"["+f+"]",t[f],r,u)}function gu(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,e=0,f=t.toLowerCase().match(s)||[];if(i.isFunction(r))while(u=f[e++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function du(n,r,u,f){function e(h){var c;return o[h]=!0,i.each(n[h]||[],function(n,i){var h=i(r,u,f);return"string"!=typeof h||s||o[h]?s?!(c=h):t:(r.dataTypes.unshift(h),e(h),!1)}),c}var o={},s=n===gt;return e(r.dataTypes[0])||!o["*"]&&e("*")}function ii(n,r){var f,u,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);return f&&i.extend(!0,n,f),n}function pf(n,i,r){for(var s,o,f,e,h=n.contents,u=n.dataTypes;"*"===u[0];)u.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("Content-Type"));if(o)for(e in h)if(h[e]&&h[e].test(o)){u.unshift(e);break}if(u[0]in r)f=u[0];else{for(e in r){if(!u[0]||n.converters[e+" "+u[0]]){f=e;break}s||(s=e)}f=f||s}return f?(f!==u[0]&&u.unshift(f),r[f]):t}function wf(n,t,i,r){var c,u,f,s,o,e={},h=n.dataTypes.slice();if(h[1])for(f in n.converters)e[f.toLowerCase()]=n.converters[f];for(u=h.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!o&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),o=u,u=h.shift())if("*"===u)u=o;else if("*"!==o&&o!==u){if(f=e[o+" "+u]||e["* "+u],!f)for(c in e)if(s=c.split(" "),s[1]===u&&(f=e[o+" "+s[0]]||e["* "+s[0]])){f===!0?f=e[c]:e[c]!==!0&&(u=s[0],h.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+o+" to "+u}}}return{state:"success",data:t}}function nu(){try{return new n.XMLHttpRequest}catch(t){}}function kf(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function fu(){return setTimeout(function(){k=t}),k=i.now()}function ru(n,t,i){for(var f,u=(ut[t]||[]).concat(ut["*"]),r=0,e=u.length;e>r;r++)if(f=u[r].call(i,t,n))return f}function nf(n,t,r){var h,s,o=0,l=yt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(s)return!1;for(var o=k||fu(),i=Math.max(0,u.startTime+u.duration-o),h=i/u.duration||0,t=1-h,r=0,e=u.tweens.length;e>r;r++)u.tweens[r].run(t);return f.notifyWith(n,[u,t,i]),1>t&&e?i:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:k||fu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(s)return this;for(s=!0;r>i;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),e=u.props;for(lf(e,u.opts.specialEasing);l>o;o++)if(h=yt[o].call(u,n,e,u.opts))return h;return i.map(e,ru,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function lf(n,t){var r,f,o,u,e;for(r in n)if(f=i.camelCase(r),o=t[f],u=n[r],i.isArray(u)&&(o=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),e=i.cssHooks[f],e&&"expand"in e){u=e.expand(u),delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=o)}else t[f]=o}function vf(n,t,r){var u,a,v,l,o,y,s=this,c={},e=n.style,h=n.nodeType&&rt(n),f=i._data(n,"fxshow");r.queue||(o=i._queueHooks(n,"fx"),null==o.unqueued&&(o.unqueued=0,y=o.empty.fire,o.empty.fire=function(){o.unqueued||y()}),o.unqueued++,s.always(function(){s.always(function(){o.unqueued--,i.queue(n,"fx").length||o.empty.fire()})})),1===n.nodeType&&("height"in t||"width"in t)&&(r.overflow=[e.overflow,e.overflowX,e.overflowY],"inline"===i.css(n,"display")&&"none"===i.css(n,"float")&&(i.support.inlineBlockNeedsLayout&&"inline"!==gi(n.nodeName)?e.zoom=1:e.display="inline-block")),r.overflow&&(e.overflow="hidden",i.support.shrinkWrapBlocks||s.always(function(){e.overflow=r.overflow[0],e.overflowX=r.overflow[1],e.overflowY=r.overflow[2]}));for(u in t)if(a=t[u],af.exec(a)){if(delete t[u],v=v||"toggle"===a,a===(h?"hide":"show"))continue;c[u]=f&&f[u]||i.style(n,u)}if(!i.isEmptyObject(c)){f?"hidden"in f&&(h=f.hidden):f=i._data(n,"fxshow",{}),v&&(f.hidden=!h),h?i(n).show():s.done(function(){i(n).hide()}),s.done(function(){var t;i._removeData(n,"fxshow");for(t in c)i.style(n,t,c[t])});for(u in c)l=ru(h?f[u]:0,u,s),u in f||(f[u]=l.start,h&&(l.end=l.start,l.start="width"===u||"height"===u?1:0))}}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function st(n,t){var u,i={height:n},r=0;for(t=t?1:0;4>r;r+=2-t)u=p[r],i["margin"+u]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function ef(n){return i.isWindow(n)?n:9===n.nodeType?n.defaultView||n.parentWindow:!1}var lt,dr,o=typeof t,ve=n.location,r=n.document,hu=r.documentElement,ye=n.jQuery,ae=n.$,at={},tt=[],wi="1.10.2",br=tt.concat,ri=tt.push,a=tt.slice,sf=tt.indexOf,ce=at.toString,it=at.hasOwnProperty,bt=wi.trim,i=function(n,t){return new i.fn.init(n,t,dr)},pt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=/\S+/g,le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ke=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ff=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,de=/^[\],:{}\s]*$/,be=/(?:^|:|,)(?:\s*\[)+/g,pe=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,we=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,re=/^-ms-/,ue=/-([\da-z])/gi,ie=function(n,t){return t.toUpperCase()},c=function(n){(r.addEventListener||"load"===n.type||"complete"===r.readyState)&&(su(),i.ready())},su=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",c,!1),n.removeEventListener("load",c,!1)):(r.detachEvent("onreadystatechange",c),n.detachEvent("onload",c))},ai,ou,cu,oi,ht,d,g,gr,wt;i.fn=i.prototype={jquery:wi,constructor:i,init:function(n,u,f){var e,o;if(!n)return this;if("string"==typeof n){if(e="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:ke.exec(n),!e||!e[1]&&u)return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n);if(e[1]){if(u=u instanceof i?u[0]:u,i.merge(this,i.parseHTML(e[1],u&&u.nodeType?u.ownerDocument||u:r,!0)),ff.test(e[1])&&i.isPlainObject(u))for(e in u)i.isFunction(this[e])?this[e](u[e]):this.attr(e,u[e]);return this}if(o=r.getElementById(e[2]),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 n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",length:0,toArray:function(){return a.call(this)},get:function(n){return null==n?this.toArray():0>n?this[this.length+n]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},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:ri,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var u,s,r,e,h,c,n=arguments[0]||{},f=1,l=arguments.length,o=!1;for("boolean"==typeof n&&(o=n,n=arguments[1]||{},f=2),"object"==typeof n||i.isFunction(n)||(n={}),l===f&&(n=this,--f);l>f;f++)if(null!=(h=arguments[f]))for(e in h)u=n[e],r=h[e],n!==r&&(o&&r&&(i.isPlainObject(r)||(s=i.isArray(r)))?(s?(s=!1,c=u&&i.isArray(u)?u:[]):c=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(o,c,r)):r!==t&&(n[e]=r));return n},i.extend({expando:"jQuery"+(wi+Math.random()).replace(/\D/g,""),noConflict:function(t){return n.$===i&&(n.$=ae),t&&n.jQuery===i&&(n.jQuery=ye),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready);i.isReady=!0,n!==!0&&--i.readyWait>0||(lt.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray||function(n){return"array"===i.type(n)},isWindow:function(n){return null!=n&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?at[ce.call(n)]||"object":typeof n},isPlainObject:function(n){var r;if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!it.call(n,"constructor")&&!it.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(i.support.ownLast)for(r in n)return it.call(n,r);for(r in n);return r===t||it.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw Error(n);},parseHTML:function(n,t,u){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(u=t,t=!1),t=t||r;var f=ff.exec(n),e=!u&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&i(e).remove(),i.merge([],f.childNodes))},parseJSON:function(r){return n.JSON&&n.JSON.parse?n.JSON.parse(r):null===r?r:"string"==typeof r&&(r=i.trim(r),r&&de.test(r.replace(pe,"@").replace(we,"]").replace(be,"")))?Function("return "+r)():(i.error("Invalid JSON: "+r),t)},parseXML:function(r){var u,f;if(!r||"string"!=typeof r)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&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(re,"ms-").replace(ue,ie)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,e=n.length,f=pi(n);if(i){if(f){for(;e>r;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(f){for(;e>r;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:bt&&!bt.call("﻿ ")?function(n){return null==n?"":bt.call(n)}:function(n){return null==n?"":(n+"").replace(le,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(pi(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ri.call(r,n)),r},inArray:function(n,t,i){var r;if(t){if(sf)return sf.call(t,n,i);for(r=t.length,i=i?0>i?Math.max(0,r+i):i:0;r>i;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if("number"==typeof f)for(;f>r;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var f,u=[],r=0,e=n.length;for(i=!!i;e>r;r++)f=!!t(n[r],r),i!==f&&u.push(n[r]);return u},map:function(n,t,i){var u,r=0,e=n.length,o=pi(n),f=[];if(o)for(;e>r;r++)u=t(n[r],r,i),null!=u&&(f[f.length]=u);else for(r in n)u=t(n[r],r,i),null!=u&&(f[f.length]=u);return br.apply([],f)},guid:1,proxy:function(n,r){var e,u,f;return"string"==typeof r&&(f=n[r],r=n,n=f),i.isFunction(n)?(e=a.call(arguments,2),u=function(){return n.apply(r||this,e.concat(a.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u):t},access:function(n,r,u,f,e,o,s){var h=0,l=n.length,c=null==u;if("object"===i.type(u)){e=!0;for(h in u)i.access(n,r,h,u[h],!0,o,s)}else if(f!==t&&(e=!0,i.isFunction(f)||(s=!0),c&&(s?(r.call(n,f),r=null):(c=r,r=function(n,t,r){return c.call(i(n),r)})),r))for(;l>h;h++)r(n[h],u,s?f:f.call(n[h],h,r(n[h],u)));return e?n:c?r.call(n):l?r(n[0],u):o},now:function(){return+new Date},swap:function(n,t,i,r){var e,u,f={};for(u in t)f[u]=n.style[u],n.style[u]=t[u];e=i.apply(n,r||[]);for(u in t)n.style[u]=f[u];return e}}),i.ready.promise=function(t){if(!lt)if(lt=i.Deferred(),"complete"===r.readyState)setTimeout(i.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",c,!1),n.addEventListener("load",c,!1);else{r.attachEvent("onreadystatechange",c),n.attachEvent("onload",c);var u=!1;try{u=null==n.frameElement&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}su(),i.ready()}}()}return lt.promise(t)},i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){at["[object "+t+"]"]=t.toLowerCase()}),dr=i(r),function(n,t){function u(n,t,i,r){var y,u,f,a,b,l,d,c,g,w;if((t?t.ownerDocument||t:p)!==s&&nt(t),t=t||s,i=i||[],!n||"string"!=typeof n)return i;if(1!==(a=t.nodeType)&&9!==a)return[];if(v&&!r){if(y=pr.exec(n))if(f=y[1]){if(9===a){if(u=t.getElementById(f),!u||!u.parentNode)return i;if(u.id===f)return i.push(u),i}else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ot(t,u)&&u.id===f)return i.push(u),i}else{if(y[2])return k.apply(i,t.getElementsByTagName(n)),i;if((f=y[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(i,t.getElementsByClassName(f)),i}if(e.qsa&&(!h||!h.test(n))){if(c=d=o,g=t,w=9===a&&n,1===a&&"object"!==t.nodeName.toLowerCase()){for(l=lt(n),(d=t.getAttribute("id"))?c=d.replace(ar,"\\$&"):t.setAttribute("id",c),c="[id='"+c+"'] ",b=l.length;b--;)l[b]=c+at(l[b]);g=kt.test(n)&&t.parentNode||t,w=l.join(",")}if(w)try{return k.apply(i,g.querySelectorAll(w)),i}catch(tt){}finally{d||t.removeAttribute("id")}}}return di(n.replace(yt,"$1"),t,i,r)}function oi(){function n(i,u){return t.push(i+=" ")>r.cacheLength&&delete n[t.shift()],n[i]=u}var t=[];return n}function c(n){return n[o]=!0,n}function l(n){var t=s.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function si(n,t){for(var u=n.split("|"),i=n.length;i--;)r.attrHandle[u[i]]=t}function li(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||yi)-(~n.sourceIndex||yi);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function ir(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function nr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function rt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,e=n([],i.length,t),f=e.length;f--;)i[u=e[f]]&&(i[u]=!(r[u]=i[u]))})})}function hi(){}function lt(n,t){var e,f,c,o,i,h,s,l=pi[n+" "];if(l)return t?0:l.slice(0);for(i=n,h=[],s=r.preFilter;i;){(!e||(f=ur.exec(i)))&&(f&&(i=i.slice(f[0].length)||i),h.push(c=[])),e=!1,(f=fr.exec(i))&&(e=f.shift(),c.push({value:e,type:f[0].replace(yt," ")}),i=i.slice(e.length));for(o in r.filter)!(f=ht[o].exec(i))||s[o]&&!(f=s[o](f))||(e=f.shift(),c.push({value:e,type:o,matches:f}),i=i.slice(e.length));if(!e)break}return t?i.length:i?u.error(n):pi(n,h).slice(0)}function at(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ti(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=rr++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,e){var c,s,h,l=y+" "+f;if(e){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,e))return!0}else while(t=t[r])if(1===t.nodeType||u)if(h=t[o]||(t[o]={}),(s=h[r])&&s[0]===l){if((c=s[1])===!0||c===wt)return c===!0}else if(s=h[r]=[l],s[1]=n(t,i,e)||wt,s[1]===!0)return!0}}function dt(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function vt(n,t,i,r,u){for(var e,o=[],f=0,h=n.length,s=null!=t;h>f;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),s&&t.push(f));return o}function ni(n,t,i,r,u,f){return r&&!r[o]&&(r=ni(r)),u&&!u[o]&&(u=ni(u,f)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||gi(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:vt(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=vt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?g.call(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=vt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function fi(n){for(var h,u,i,e=n.length,s=r.relative[n[0].type],c=s||r.relative[" "],t=s?1:0,l=ti(function(n){return n===h},c,!0),a=ti(function(n){return g.call(h,n)>-1},c,!0),f=[function(n,t,i){return!s&&(i||t!==ct)||((h=t).nodeType?l(n,t,i):a(n,t,i))}];e>t;t++)if(u=r.relative[n[t].type])f=[ti(dt(f),u)];else{if(u=r.filter[n[t].type].apply(null,n[t].matches),u[o]){for(i=++t;e>i;i++)if(r.relative[n[i].type])break;return ni(t>1&&dt(f),t>1&&at(n.slice(0,t-1).concat({value:" "===n[t-2].type?"*":""})).replace(yt,"$1"),u,i>t&&fi(n.slice(t,i)),e>i&&fi(n=n.slice(i)),e>i&&at(n))}f.push(u)}return dt(f)}function tr(n,t){var o=0,i=t.length>0,e=n.length>0,f=function(f,h,c,l,a){var w,tt,d,p=[],b=0,v="0",nt=f&&[],g=null!=a,rt=ct,ut=f||e&&r.find.TAG("*",a&&h.parentNode||h),it=y+=null==rt?1:Math.random()||.1;for(g&&(ct=h!==s&&h,wt=o);null!=(w=ut[v]);v++){if(e&&w){for(tt=0;d=n[tt++];)if(d(w,h,c)){l.push(w);break}g&&(y=it,wt=++o)}i&&((w=!d&&w)&&b--,f&&nt.push(w))}if(b+=v,i&&v!==b){for(tt=0;d=t[tt++];)d(nt,p,h,c);if(f){if(b>0)while(v--)nt[v]||p[v]||(p[v]=or.call(l));p=vt(p)}k.apply(l,p),g&&!f&&p.length>0&&b+t.length>1&&u.uniqueSort(l)}return g&&(y=it,ct=rt),nt};return i?c(f):f}function gi(n,t,i){for(var r=0,f=t.length;f>r;r++)u(n,t[r],i);return i}function di(n,t,i,u){var h,f,o,c,l,s=lt(n);if(!u&&1===s.length){if(f=s[0]=s[0].slice(0),f.length>2&&"ID"===(o=f[0]).type&&e.getById&&9===t.nodeType&&v&&r.relative[f[1].type]){if(t=(r.find.ID(o.matches[0].replace(b,d),t)||[])[0],!t)return i;n=n.slice(f.shift().value.length)}for(h=ht.needsContext.test(n)?0:f.length;h--;){if(o=f[h],r.relative[c=o.type])break;if((l=r.find[c])&&(u=l(o.matches[0].replace(b,d),kt.test(f[0].type)&&t.parentNode||t))){if(f.splice(h,1),n=u.length&&at(f),!n)return k.apply(i,u),i;break}}}return ri(n,s)(u,t,!v,i,kt.test(n)),i}var et,e,wt,r,pt,ci,ri,ct,tt,nt,s,a,v,h,it,bt,ot,o="sizzle"+-new Date,p=n.document,y=0,rr=0,ai=oi(),pi=oi(),wi=oi(),ut=!1,ii=function(n,t){return n===t?(ut=!0,0):0},st=typeof t,yi=-2147483648,er={}.hasOwnProperty,w=[],or=w.pop,sr=w.push,k=w.push,vi=w.slice,g=w.indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(this[t]===n)return t;return-1},ui="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",f="[\\x20\\t\\r\\n\\f]",ft="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ki=ft.replace("w","w#"),bi="\\["+f+"*("+ft+")"+f+"*(?:([*^$|!~]?=)"+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ki+")|)|)"+f+"*\\]",ei=":("+ft+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+bi.replace(3,8)+")*)|.*)\\)|)",yt=RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),ur=RegExp("^"+f+"*,"+f+"*"),fr=RegExp("^"+f+"*([>+~]|"+f+")"+f+"*"),kt=RegExp(f+"*[+~]"),hr=RegExp("="+f+"*([^\\]'\"]*)"+f+"*\\]","g"),vr=RegExp(ei),yr=RegExp("^"+ki+"$"),ht={ID:RegExp("^#("+ft+")"),CLASS:RegExp("^\\.("+ft+")"),TAG:RegExp("^("+ft.replace("w","w*")+")"),ATTR:RegExp("^"+bi),PSEUDO:RegExp("^"+ei),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),bool:RegExp("^(?:"+ui+")$","i"),needsContext:RegExp("^"+f+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)","i")},gt=/^[^{]+\{\s*\[native \w/,pr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ar=/'|\\/g,b=RegExp("\\\\([\\da-f]{1,6}"+f+"?|("+f+")|.)","ig"),d=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{k.apply(w=vi.call(p.childNodes),p.childNodes),w[p.childNodes.length].nodeType}catch(wr){k={apply:w.length?function(n,t){sr.apply(n,vi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}ci=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1},e=u.support={},nt=u.setDocument=function(n){var i=n?n.ownerDocument||n:p,u=i.defaultView;return i!==s&&9===i.nodeType&&i.documentElement?(s=i,a=i.documentElement,v=!ci(i),u&&u.attachEvent&&u!==u.top&&u.attachEvent("onbeforeunload",function(){nt()}),e.attributes=l(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=l(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=l(function(n){return n.innerHTML="<div class='a'></div><div class='a i'></div>",n.firstChild.className="i",2===n.getElementsByClassName("i").length}),e.getById=l(function(n){return a.appendChild(n).id=o,!i.getElementsByName||!i.getElementsByName(o).length}),e.getById?(r.find.ID=function(n,t){if(typeof t.getElementById!==st&&v){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(n){var t=n.replace(b,d);return function(n){return n.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(n){var t=n.replace(b,d);return function(n){var i=typeof n.getAttributeNode!==st&&n.getAttributeNode("id");return i&&i.value===t}}),r.find.TAG=e.getElementsByTagName?function(n,i){return typeof i.getElementsByTagName!==st?i.getElementsByTagName(n):t}:function(n,t){var i,u=[],f=0,r=t.getElementsByTagName(n);if("*"===n){while(i=r[f++])1===i.nodeType&&u.push(i);return u}return r},r.find.CLASS=e.getElementsByClassName&&function(n,i){return typeof i.getElementsByClassName!==st&&v?i.getElementsByClassName(n):t},it=[],h=[],(e.qsa=gt.test(i.querySelectorAll))&&(l(function(n){n.innerHTML="<select><option selected=''></option></select>",n.querySelectorAll("[selected]").length||h.push("\\["+f+"*(?:value|"+ui+")"),n.querySelectorAll(":checked").length||h.push(":checked")}),l(function(n){var t=i.createElement("input");t.setAttribute("type","hidden"),n.appendChild(t).setAttribute("t",""),n.querySelectorAll("[t^='']").length&&h.push("[*^$]="+f+"*(?:''|\"\")"),n.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),n.querySelectorAll("*,:x"),h.push(",.*:")})),(e.matchesSelector=gt.test(bt=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&l(function(n){e.disconnectedMatch=bt.call(n,"div"),bt.call(n,"[s!='']:x"),it.push("!=",ei)}),h=h.length&&RegExp(h.join("|")),it=it.length&&RegExp(it.join("|")),ot=gt.test(a.contains)||a.compareDocumentPosition?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},ii=a.compareDocumentPosition?function(n,t){if(n===t)return ut=!0,0;var r=t.compareDocumentPosition&&n.compareDocumentPosition&&n.compareDocumentPosition(t);return r?1&r||!e.sortDetached&&t.compareDocumentPosition(n)===r?n===i||ot(p,n)?-1:t===i||ot(p,t)?1:tt?g.call(tt,n)-g.call(tt,t):0:4&r?-1:1:n.compareDocumentPosition?-1:1}:function(n,t){var u,r=0,s=n.parentNode,o=t.parentNode,f=[n],e=[t];if(n===t)return ut=!0,0;if(!s||!o)return n===i?-1:t===i?1:s?-1:o?1:tt?g.call(tt,n)-g.call(tt,t):0;if(s===o)return li(n,t);for(u=n;u=u.parentNode;)f.unshift(u);for(u=t;u=u.parentNode;)e.unshift(u);while(f[r]===e[r])r++;return r?li(f[r],e[r]):f[r]===p?-1:e[r]===p?1:0},i):s},u.matches=function(n,t){return u(n,null,null,t)},u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==s&&nt(n),t=t.replace(hr,"='$1']"),!(!e.matchesSelector||!v||it&&it.test(t)||h&&h.test(t)))try{var i=bt.call(n,t);if(i||e.disconnectedMatch||n.document&&11!==n.document.nodeType)return i}catch(r){}return u(t,s,null,[n]).length>0},u.contains=function(n,t){return(n.ownerDocument||n)!==s&&nt(n),ot(n,t)},u.attr=function(n,i){(n.ownerDocument||n)!==s&&nt(n);var f=r.attrHandle[i.toLowerCase()],u=f&&er.call(r.attrHandle,i.toLowerCase())?f(n,i,!v):t;return u===t?e.attributes||!v?n.getAttribute(i):(u=n.getAttributeNode(i))&&u.specified?u.value:null:u},u.error=function(n){throw Error("Syntax error, unrecognized expression: "+n);},u.uniqueSort=function(n){var u,r=[],t=0,i=0;if(ut=!e.detectDuplicates,tt=!e.sortStable&&n.slice(0),n.sort(ii),ut){while(u=n[i++])u===n[i]&&(t=r.push(i));while(t--)n.splice(r[t],1)}return n},pt=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=pt(n)}else if(3===t||4===t)return n.nodeValue}else for(;r=n[u];u++)i+=pt(r);return i},r=u.selectors={cacheLength:50,createPseudo:c,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(b,d),n[3]=(n[4]||n[5]||"").replace(b,d),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var r,i=!n[5]&&n[2];return ht.CHILD.test(n[0])?null:(n[3]&&n[4]!==t?n[2]=n[4]:i&&vr.test(i)&&(r=lt(i,!0))&&(r=i.indexOf(")",i.length-r)-i.length)&&(n[0]=n[0].slice(0,r),n[2]=i.slice(0,r)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(b,d).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=ai[n+" "];return t||(t=RegExp("(^|"+f+")"+n+"("+f+"|$)"))&&ai(n,function(n){return t.test("string"==typeof n.className&&n.className||typeof n.getAttribute!==st&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),e="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var a,d,c,l,v,w,b=s!==e?"nextSibling":"previousSibling",p=t.parentNode,g=f&&t.nodeName.toLowerCase(),k=!h&&!f;if(p){if(s){while(b){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[e?p.firstChild:p.lastChild],e&&k){for(d=p[o]||(p[o]={}),a=d[n]||[],v=a[0]===y&&a[1],l=a[0]===y&&a[2],c=v&&p.childNodes[v];c=++v&&c&&c[b]||(l=v=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[y,v,l];break}}else if(k&&(a=(t[o]||(t[o]={}))[n])&&a[0]===y)l=a[1];else while(c=++v&&c&&c[b]||(l=v=0)||w.pop())if((f?c.nodeName.toLowerCase()===g:1===c.nodeType)&&++l&&(k&&((c[o]||(c[o]={}))[n]=[y,l]),c===t))break;return l-=u,l===r||0==l%r&&l/r>=0}}},PSEUDO:function(n,t){var f,i=r.pseudos[n]||r.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return i[o]?i(t):i.length>1?(f=[n,n,"",t],r.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,r){for(var e,f=i(n,t),u=f.length;u--;)e=g.call(n,f[u]),n[e]=!(r[e]=f[u])}):function(n){return i(n,0,f)}):i}},pseudos:{not:c(function(n){var i=[],r=[],t=ri(n.replace(yt,"$1"));return t[o]?c(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;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:c(function(n){return function(t){return u(n,t).length>0}}),contains:c(function(n){return function(t){return(t.textContent||t.innerText||pt(t)).indexOf(n)>-1}}),lang:c(function(n){return yr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(b,d).toLowerCase(),function(t){var i;do if(i=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===a},focus:function(n){return n===s.activeElement&&(!s.hasFocus||s.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeName>"@"||3===n.nodeType||4===n.nodeType)return!1;return!0},parent:function(n){return!r.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||t.toLowerCase()===n.type)},first:rt(function(){return[0]}),last:rt(function(n,t){return[t-1]}),eq:rt(function(n,t,i){return[0>i?i+t:i]}),even:rt(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:rt(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:rt(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:rt(function(n,t,i){for(var r=0>i?i+t:i;t>++r;)n.push(r);return n})}},r.pseudos.nth=r.pseudos.eq;for(et in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[et]=ir(et);for(et in{submit:!0,reset:!0})r.pseudos[et]=nr(et);hi.prototype=r.filters=r.pseudos,r.setFilters=new hi,ri=u.compile=function(n,t){var r,u=[],f=[],i=wi[n+" "];if(!i){for(t||(t=lt(n)),r=t.length;r--;)i=fi(t[r]),i[o]?u.push(i):f.push(i);i=wi(n,tr(f,u))}return i},e.sortStable=o.split("").sort(ii).join("")===o,e.detectDuplicates=ut,nt(),e.sortDetached=l(function(n){return 1&n.compareDocumentPosition(s.createElement("div"))}),l(function(n){return n.innerHTML="<a href='#'></a>","#"===n.firstChild.getAttribute("href")})||si("type|href|height|width",function(n,i,r){return r?t:n.getAttribute(i,"type"===i.toLowerCase()?1:2)}),e.attributes&&l(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||si("value",function(n,i,r){return r||"input"!==n.nodeName.toLowerCase()?t:n.defaultValue}),l(function(n){return null==n.getAttribute("disabled")})||si(ui,function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&u.specified?u.value:n[i]===!0?i.toLowerCase():null}),i.find=u,i.expr=u.selectors,i.expr[":"]=i.expr.pseudos,i.unique=u.uniqueSort,i.text=u.getText,i.isXMLDoc=u.isXML,i.contains=u.contains}(n),ai={},i.Callbacks=function(n){n="string"==typeof n?ai[n]||ne(n):i.extend({},n);var s,f,c,o,e,a,r=[],u=!n.once&&[],l=function(t){for(f=n.memory&&t,c=!0,e=a||0,a=0,o=r.length,s=!0;r&&o>e;e++)if(r[e].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}s=!1,r&&(u?u.length&&l(u.shift()):f?r=[]:h.disable())},h={add:function(){if(r){var u=r.length;(function t(u){i.each(u,function(u,f){var e=i.type(f);"function"===e?n.unique&&h.has(f)||r.push(f):f&&f.length&&"string"!==e&&t(f)})})(arguments),s?o=r.length:f&&(a=u,l(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),s&&(o>=u&&o--,e>=u&&e--)}),this},has:function(n){return n?i.inArray(n,r)>-1:!(!r||!r.length)},empty:function(){return r=[],o=0,this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||h.disable(),this},locked:function(){return!u},fireWith:function(n,t){return!r||c&&!u||(t=t||[],t=[n,t.slice?t.slice():t],s?u.push(t):l(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h},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(f){i.each(u,function(u,e){var s=e[0],o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[s+"With"](this===r?f.promise():this,o?[n]:arguments)})}),n=null}).promise()},promise:function(n){return null!=n?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[1^n][2].disable,u[2][2].lock),t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this},t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var r=0,u=a.call(arguments),t=u.length,e=1!==t||n&&i.isFunction(n.promise)?t:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?a.call(arguments):r,i===s?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},s,c,o;if(t>1)for(s=Array(t),c=Array(t),o=Array(t);t>r;r++)u[r]&&i.isFunction(u[r].promise)?u[r].promise().done(h(r,o,u)).fail(f.reject).progress(h(r,c,s)):--e;return e||f.resolveWith(o,u),f.promise()}}),i.support=function(t){var v,e,f,c,l,h,a,y,s,u=r.createElement("div");if(u.setAttribute("className","t"),u.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v=u.getElementsByTagName("*")||[],e=u.getElementsByTagName("a")[0],!e||!e.style||!v.length)return t;c=r.createElement("select"),h=c.appendChild(r.createElement("option")),f=u.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==u.className,t.leadingWhitespace=3===u.firstChild.nodeType,t.tbody=!u.getElementsByTagName("tbody").length,t.htmlSerialize=!!u.getElementsByTagName("link").length,t.style=/top/.test(e.getAttribute("style")),t.hrefNormalized="/a"===e.getAttribute("href"),t.opacity=/^0.5/.test(e.style.opacity),t.cssFloat=!!e.style.cssFloat,t.checkOn=!!f.value,t.optSelected=h.selected,t.enctype=!!r.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,f.checked=!0,t.noCloneChecked=f.cloneNode(!0).checked,c.disabled=!0,t.optDisabled=!h.disabled;try{delete u.test}catch(p){t.deleteExpando=!1}f=r.createElement("input"),f.setAttribute("value",""),t.input=""===f.getAttribute("value"),f.value="t",f.setAttribute("type","radio"),t.radioValue="t"===f.value,f.setAttribute("checked","t"),f.setAttribute("name","t"),l=r.createDocumentFragment(),l.appendChild(f),t.appendChecked=f.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,u.attachEvent&&(u.attachEvent("onclick",function(){t.noCloneEvent=!1}),u.cloneNode(!0).click());for(s in{submit:!0,change:!0,focusin:!0})u.setAttribute(a="on"+s,"t"),t[s+"Bubbles"]=a in n||u.attributes[a].expando===!1;u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===u.style.backgroundClip;for(s in i(t))break;return t.ownLast="0"!==s,i(function(){var h,s,f,c="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",e=r.getElementsByTagName("body")[0];e&&(h=r.createElement("div"),h.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",e.appendChild(h).appendChild(u),u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=u.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",y=0===f[0].offsetHeight,f[0].style.display="",f[1].style.display="none",t.reliableHiddenOffsets=y&&0===f[0].offsetHeight,u.innerHTML="",u.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%;",i.swap(e,null!=e.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===u.offsetWidth}),n.getComputedStyle&&(t.pixelPosition="1%"!==(n.getComputedStyle(u,null)||{}).top,t.boxSizingReliable="4px"===(n.getComputedStyle(u,null)||{width:"4px"}).width,s=u.appendChild(r.createElement("div")),s.style.cssText=u.style.cssText=c,s.style.marginRight=s.style.width="0",u.style.width="1px",t.reliableMarginRight=!parseFloat((n.getComputedStyle(s,null)||{}).marginRight)),typeof u.style.zoom!==o&&(u.innerHTML="",u.style.cssText=c+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===u.offsetWidth,u.style.display="block",u.innerHTML="<div></div>",u.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==u.offsetWidth,t.inlineBlockNeedsLayout&&(e.style.zoom=1)),e.removeChild(h),h=u=f=s=null)}),v=c=l=h=e=f=null,t}({}),ou=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,cu=/([A-Z])/g,i.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ci(n)},data:function(n,t,i){return vu(n,t,i)},removeData:function(n,t){return au(n,t)},_data:function(n,t,i){return vu(n,t,i,!0)},_removeData:function(n,t){return au(n,t,!0)},acceptData:function(n){if(n.nodeType&&1!==n.nodeType&&9!==n.nodeType)return!1;var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}}),i.fn.extend({data:function(n,r){var e,f,s=null,o=0,u=this[0];if(n===t){if(this.length&&(s=i.data(u),1===u.nodeType&&!i._data(u,"parsedAttrs"))){for(e=u.attributes;e.length>o;o++)f=e[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),lu(u,f,s[f]));i._data(u,"parsedAttrs",!0)}return s}return"object"==typeof n?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,r)}):u?lu(u,n,i.data(u,n)):null},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,r,u){var f;return n?(r=(r||"fx")+"queue",f=i._data(n,r),u&&(!f||i.isArray(u)?f=i._data(n,r,i.makeArray(u)):f.push(u)),f||[]):t},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)};"inprogress"===r&&(r=f.shift(),e--),r&&("fx"===t&&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"),i._removeData(n,r)})})}}),i.fn.extend({queue:function(n,r){var u=2;return"string"!=typeof n&&(r=n,n="fx",u--),u>arguments.length?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n),"fx"===n&&"inprogress"!==t[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,s=1,h=i.Deferred(),f=this,o=this.length,e=function(){--s||h.resolveWith(f,[f])};for("string"!=typeof n&&(r=n,n=t),n=n||"fx";o--;)u=i._data(f[o],n+"queueHooks"),u&&u.empty&&(s++,u.empty.add(e));return e(),h.promise(r)}});var b,eu,yi=/[\t\r\n\f]/g,te=/\r/g,se=/^(?:input|select|textarea|button|object)$/i,he=/^(?:a|area)$/i,si=/^(?:checked|selected)$/i,v=i.support.getSetAttribute,vt=i.support.input;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},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 e,t,r,f,o,u=0,c=this.length,h="string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(h)for(e=(n||"").match(s)||[];c>u;u++)if(t=this[u],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(yi," "):" ")){for(o=0;f=e[o++];)0>r.indexOf(" "+f+" ")&&(r+=f+" ");t.className=i.trim(r)}return this},removeClass:function(n){var e,t,r,f,o,u=0,c=this.length,h=0===arguments.length||"string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(h)for(e=(n||"").match(s)||[];c>u;u++)if(t=this[u],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(yi," "):"")){for(o=0;f=e[o++];)while(r.indexOf(" "+f+" ")>=0)r=r.replace(" "+f+" "," ");t.className=n?i.trim(r):""}return this},toggleClass:function(n,t){var r=typeof n;return"boolean"==typeof t&&"string"===r?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if("string"===r)for(var t,e=0,u=i(this),f=n.match(s)||[];t=f[e++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||"boolean"===r)&&(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;i>t;t++)if(1===this[t].nodeType&&(" "+this[t].className+" ").replace(yi," ").indexOf(r)>=0)return!0;return!1},val:function(n){var u,r,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f;1===this.nodeType&&(f=e?n.call(this,u,i(this).val()):n,null==f?f="":"number"==typeof f?f+="":i.isArray(f)&&(f=i.map(f,function(n){return null==n?"":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,"string"==typeof u?u.replace(te,""):null==u?"":u)):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,f="select-one"===n.type||0>r,h=f?null:[],s=f?r+1:o.length,u=0>r?s:f?r:0;s>u;u++)if(t=o[u],!(!t.selected&&u!==r||(i.support.optDisabled?t.disabled:null!==t.getAttribute("disabled"))||t.parentNode.disabled&&i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;h.push(e)}return h},set:function(n,t){for(var e,r,o=n.options,u=i.makeArray(t),f=o.length;f--;)r=o[f],(r.selected=i.inArray(i(r).val(),u)>=0)&&(e=!0);return e||(n.selectedIndex=-1),u}}},attr:function(n,r,u){var e,f,s=n.nodeType;if(n&&3!==s&&8!==s&&2!==s)return typeof n.getAttribute===o?i.prop(n,r,u):(1===s&&i.isXMLDoc(n)||(r=r.toLowerCase(),e=i.attrHooks[r]||(i.expr.match.bool.test(r)?eu:b)),u===t?e&&"get"in e&&null!==(f=e.get(n,r))?f:(f=i.find.attr(n,r),null==f?t:f):null!==u?e&&"set"in e&&(f=e.set(n,u,r))!==t?f:(n.setAttribute(r,u+""),u):(i.removeAttr(n,r),t))},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?vt&&v||!si.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(v?r:u)},attrHooks:{type:{set:function(n,t){if(!i.support.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(n,r,u){var o,f,s,e=n.nodeType;if(n&&3!==e&&8!==e&&2!==e)return s=1!==e||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(o=f.set(n,u,r))!==t?o:n[r]=u:f&&"get"in f&&null!==(o=f.get(n,r))?o:n[r]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):se.test(n.nodeName)||he.test(n.nodeName)&&n.href?0:-1}}}}),eu={set:function(n,t,r){return t===!1?i.removeAttr(n,r):vt&&v||!si.test(r)?n.setAttribute(!v&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}},i.each(i.expr.match.bool.source.match(/\w+/g),function(n,r){var u=i.expr.attrHandle[r]||i.find.attr;i.expr.attrHandle[r]=vt&&v||!si.test(r)?function(n,r,f){var o=i.expr.attrHandle[r],e=f?t:(i.expr.attrHandle[r]=t)!=u(n,r,f)?r.toLowerCase():null;return i.expr.attrHandle[r]=o,e}:function(n,r,u){return u?t:n[i.camelCase("default-"+r)]?r.toLowerCase():null}}),vt&&v||(i.attrHooks.value={set:function(n,r,u){return i.nodeName(n,"input")?(n.defaultValue=r,t):b&&b.set(n,r,u)}}),v||(b={set:function(n,i,r){var u=n.getAttributeNode(r);return u||n.setAttributeNode(u=n.ownerDocument.createAttribute(r)),u.value=i+="","value"===r||i===n.getAttribute(r)?i:t}},i.expr.attrHandle.id=i.expr.attrHandle.name=i.expr.attrHandle.coords=function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&""!==u.value?u.value:null},i.valHooks.button={get:function(n,i){var r=n.getAttributeNode(i);return r&&r.specified?r.value:t},set:b.set},i.attrHooks.contenteditable={set:function(n,t,i){b.set(n,""===t?!1:t,i)}},i.each(["width","height"],function(n,r){i.attrHooks[r]={set:function(n,i){return""===i?(n.setAttribute(r,"auto"),i):t}}})),i.support.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}}),i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText||t},set:function(n,t){return n.style.cssText=t+""}}),i.support.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this}),i.support.enctype||(i.propFix.enctype="encoding"),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,r){return i.isArray(r)?n.checked=i.inArray(i(n).val(),r)>=0:t}},i.support.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});var kt=/^(?:input|select|textarea)$/i,oe=/^key/,fe=/^(?:mouse|contextmenu)|click/,iu=/^(?:focusinfocus|focusoutblur)$/,uu=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,r,u,f,e){var b,w,d,p,c,l,a,v,h,k,g,y=i._data(n);if(y){for(u.handler&&(p=u,u=p.handler,e=p.selector),u.guid||(u.guid=i.guid++),(w=y.events)||(w=y.events={}),(l=y.handle)||(l=y.handle=function(n){return typeof i===o||n&&i.event.triggered===n.type?t:i.event.dispatch.apply(l.elem,arguments)},l.elem=n),r=(r||"").match(s)||[""],d=r.length;d--;)b=uu.exec(r[d])||[],h=g=b[1],k=(b[2]||"").split(".").sort(),h&&(c=i.event.special[h]||{},h=(e?c.delegateType:c.bindType)||h,c=i.event.special[h]||{},a=i.extend({type:h,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},p),(v=w[h])||(v=w[h]=[],v.delegateCount=0,c.setup&&c.setup.call(n,f,k,l)!==!1||(n.addEventListener?n.addEventListener(h,l,!1):n.attachEvent&&n.attachEvent("on"+h,l))),c.add&&(c.add.call(n,a),a.handler.guid||(a.handler.guid=u.guid)),e?v.splice(v.delegateCount++,0,a):v.push(a),i.event.global[h]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,c,b,p,a,h,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;)if(c=uu.exec(t[p])||[],e=k=c[1],w=(c[2]||"").split(".").sort(),e){for(h=i.event.special[e]||{},e=(u?h.delegateType:h.bindType)||e,l=a[e]||[],c=c[2]&&RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],!f&&k!==o.origType||r&&r.guid!==o.guid||c&&!c.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(l.splice(y,1),o.selector&&l.delegateCount--,h.remove&&h.remove.call(n,o));b&&!l.length&&(h.teardown&&h.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}else for(e in a)i.event.remove(n,e+t[p],r,u,!0);i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(u,f,e,o){var a,v,s,w,l,c,b,p=[e||r],h=it.call(u,"type")?u.type:u,y=it.call(u,"namespace")?u.namespace.split("."):[];if(s=c=e=e||r,3!==e.nodeType&&8!==e.nodeType&&!iu.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),v=0>h.indexOf(":")&&"on"+h,u=u[i.expando]?u:new i.Event(h,"object"==typeof u&&u),u.isTrigger=o?2:3,u.namespace=y.join("."),u.namespace_re=u.namespace?RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=t,u.target||(u.target=e),f=null==f?[u]:i.makeArray(f,[u]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(w=l.delegateType||h,iu.test(w+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||r)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(s=p[b++])&&!u.isPropagationStopped();)u.type=b>1?w:l.bindType||h,a=(i._data(s,"events")||{})[u.type]&&i._data(s,"handle"),a&&a.apply(s,f),a=v&&s[v],a&&i.acceptData(s)&&a.apply&&a.apply(s,f)===!1&&u.preventDefault();if(u.type=h,!o&&!u.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&v&&e[h]&&!i.isWindow(e)){c=e[v],c&&(e[v]=null),i.event.triggered=h;try{e[h]()}catch(k){}i.event.triggered=t,c&&(e[v]=c)}return u.result}},dispatch:function(n){n=i.event.fix(n);var s,e,r,f,h,c=[],o=a.call(arguments),l=(i._data(this,"events")||{})[n.type]||[],u=i.event.special[n.type]||{};if(o[0]=n,n.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,n)!==!1){for(c=i.event.handlers.call(this,n,l),s=0;(f=c[s++])&&!n.isPropagationStopped();)for(n.currentTarget=f.elem,h=0;(r=f.handlers[h++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(r.namespace))&&(n.handleObj=r,n.data=r.data,e=((i.event.special[r.origType]||{}).handle||r.handler).apply(f.elem,o),e!==t&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,n),n.result}},handlers:function(n,r){var e,s,f,h,c=[],o=r.delegateCount,u=n.target;if(o&&u.nodeType&&(!n.button||"click"!==n.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==n.type)){for(f=[],h=0;o>h;h++)s=r[h],e=s.selector+" ",f[e]===t&&(f[e]=s.needsContext?i(e,this).index(u)>=0:i.find(e,this,null,[u]).length),f[e]&&f.push(s);f.length&&c.push({elem:u,handlers:f})}return r.length>o&&c.push({elem:this,handlers:r.slice(o)}),c},fix:function(n){if(n[i.expando])return n;var o,s,e,f=n.type,u=n,t=this.fixHooks[f];for(t||(this.fixHooks[f]=t=fe.test(f)?this.mouseHooks:oe.test(f)?this.keyHooks:{}),e=t.props?this.props.concat(t.props):this.props,n=new i.Event(u),o=e.length;o--;)s=e[o],n[s]=u[s];return n.target||(n.target=u.srcElement||r),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,u):n},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var f,s,u,e=i.button,o=i.fromElement;return null==n.pageX&&null!=i.clientX&&(s=n.target.ownerDocument||r,u=s.documentElement,f=s.body,n.pageX=i.clientX+(u&&u.scrollLeft||f&&f.scrollLeft||0)-(u&&u.clientLeft||f&&f.clientLeft||0),n.pageY=i.clientY+(u&&u.scrollTop||f&&f.scrollTop||0)-(u&&u.clientTop||f&&f.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?i.toElement:o),n.which||e===t||(n.which=1&e?1:2&e?3:4&e?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==yu()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){return this===yu()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return i.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==t&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f),f.isDefaultPrevented()&&r.preventDefault()}},i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]===o&&(n[r]=null),n.detachEvent(r,i))},i.Event=function(n,r){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?ot:nt):this.type=n,r&&i.extend(this,r),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0,t):new i.Event(n,r)},i.Event.prototype={isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ot,n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ot,n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ot,this.stopPropagation()}},i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var f,e=this,r=n.relatedTarget,u=n.handleObj;return(!r||r!==e&&!i.contains(e,r))&&(n.type=u.origType,f=u.handler.apply(this,arguments),n.type=t),f}}}),i.support.submitBubbles||(i.event.special.submit={setup:function(){return i.nodeName(this,"form")?!1:(i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"submitBubbles")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"submitBubbles",!0))}),t)},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){return i.nodeName(this,"form")?!1:(i.event.remove(this,"._submit"),t)}}),i.support.changeBubbles||(i.event.special.change={setup:function(){return kt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1),i.event.simulate("change",this,n,!0)})),!1):(i.event.add(this,"beforeactivate._change",function(n){var t=n.target;kt.test(t.nodeName)&&!i._data(t,"changeBubbles")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"changeBubbles",!0))}),t)},handle:function(n){var i=n.target;return this!==i||n.isSimulated||n.isTrigger||"radio"!==i.type&&"checkbox"!==i.type?n.handleObj.handler.apply(this,arguments):t},teardown:function(){return i.event.remove(this,"._change"),!kt.test(this.nodeName)}}),i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var f=0,u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){0==f++&&r.addEventListener(n,u,!0)},teardown:function(){0==--f&&r.removeEventListener(n,u,!0)}}}),i.fn.extend({on:function(n,r,u,f,e){var s,o;if("object"==typeof n){"string"!=typeof r&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(null==u&&null==f?(f=r,u=r=t):null==f&&("string"==typeof r?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=nt;else if(!f)return this;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if("object"==typeof n){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||"function"==typeof r)&&(u=r,r=t),u===!1&&(u=nt),this.each(function(){i.event.remove(this,n,u,r)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,r){var u=this[0];return u?i.event.trigger(n,r,u,!0):t}});var ee=/^.[^:#\[\.,]*$/,ge=/^(?:parents|prev(?:Until|All))/,rf=i.expr.match.needsContext,vo={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,r=[],f=this,u=f.length;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;u>t;t++)if(i.contains(f[t],this))return!0}));for(t=0;u>t;t++)i.find(n,f[t],r);return r=this.pushStack(u>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;u>t;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(fi(this,n||[],!0))},filter:function(n){return this.pushStack(fi(this,n||[],!1))},is:function(n){return!!fi(this,"string"==typeof n&&rf.test(n)?i(n):n||[],!1).length},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=rf.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(11>r.nodeType&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){r=u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?"string"==typeof n?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){var u="string"==typeof n?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(i.unique(r))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}}),i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?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 uf(n,"nextSibling")},prev:function(n){return uf(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"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(vo[n]||(f=i.unique(f)),ge.test(n)&&(f=f.reverse())),this.pushStack(f)}}),i.extend({filter:function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))},dir:function(n,r,u){for(var e=[],f=n[r];f&&9!==f.nodeType&&(u===t||1!==f.nodeType||!i(f).is(u));)1===f.nodeType&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}});var of="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",yo=/ jQuery\d+="(?:null|\d+)"/g,bu=RegExp("<(?:"+of+")[\\s/>]","i"),ei=/^\s+/,ku=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,pu=/<([\w:]+)/,wu=/<tbody/i,ao=/<|&#?\w+;/,co=/<(?:script|style|link)/i,ni=/^(?:checkbox|radio)$/i,lo=/checked\s*(?:[^=]|=\s*.checked.)/i,tf=/^$|\/(?:java|ecma)script/i,ko=/^true\/(.*)/,go=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:i.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},bo=ur(r),ti=bo.appendChild(r.createElement("div"));e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,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)},append:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ir(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ir(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,f=0;null!=(r=e[f]);f++)t||1!==r.nodeType||i.cleanData(u(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&dt(u(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;null!=(n=this[t]);t++){for(1===n.nodeType&&i.cleanData(u(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},f=0,o=this.length;if(n===t)return 1===r.nodeType?r.innerHTML.replace(yo,""):t;if(!("string"!=typeof n||co.test(n)||!i.support.htmlSerialize&&bu.test(n)||!i.support.leadingWhitespace&&ei.test(n)||e[(pu.exec(n)||["",""])[1].toLowerCase()])){n=n.replace(ku,"<$1></$2>");try{for(;o>f;f++)r=this[f]||{},1===r.nodeType&&(i.cleanData(u(r,!1)),r.innerHTML=n);r=0}catch(s){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var t=i.map(this,function(n){return[n.nextSibling,n.parentNode]}),n=0;return this.domManip(arguments,function(r){var u=t[n++],f=t[n++];f&&(u&&u.parentNode!==f&&(u=this.nextSibling),i(this).remove(),f.insertBefore(r,u))},!0),n?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t,r){n=br.apply([],n);var l,f,a,s,y,o,e=0,c=this.length,w=this,p=c-1,h=n[0],v=i.isFunction(h);if(v||!(1>=c||"string"!=typeof h||i.support.checkClone)&&lo.test(h))return this.each(function(i){var u=w.eq(i);v&&(n[0]=h.call(this,i,u.html())),u.domManip(n,t,r)});if(c&&(o=i.buildFragment(n,this[0].ownerDocument,!1,!r&&this),l=o.firstChild,1===o.childNodes.length&&(o=l),l)){for(s=i.map(u(o,"script"),rr),a=s.length;c>e;e++)f=o,e!==p&&(f=i.clone(f,!0,!0),a&&i.merge(s,u(f,"script"))),t.call(this[e],f,e);if(a)for(y=s[s.length-1].ownerDocument,i.map(s,fr),e=0;a>e;e++)f=s[e],tf.test(f.type||"")&&!i._data(f,"globalEval")&&i.contains(y,f)&&(f.src?i._evalUrl(f.src):i.globalEval((f.text||f.textContent||f.innerHTML||"").replace(go,"")));o=l=null}return this}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,r=0,o=[],e=i(n),f=e.length-1;f>=r;r++)u=r===f?this:this.clone(!0),i(e[r])[t](u),ri.apply(o,u.get());return this.pushStack(o)}}),i.extend({clone:function(n,t,r){var f,h,o,e,s,c=i.contains(n.ownerDocument,n);if(i.support.html5Clone||i.isXMLDoc(n)||!bu.test("<"+n.nodeName+">")?o=n.cloneNode(!0):(ti.innerHTML=n.outerHTML,ti.removeChild(o=ti.firstChild)),!(i.support.noCloneEvent&&i.support.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=u(o),s=u(n),e=0;null!=(h=s[e]);++e)f[e]&&po(h,f[e]);if(t)if(r)for(s=s||u(n),f=f||u(o),e=0;null!=(h=s[e]);e++)nr(h,f[e]);else nr(n,o);return f=u(o,"script"),f.length>0&&dt(f,!c&&u(n,"script")),f=s=h=null,o},buildFragment:function(n,t,r,f){for(var h,o,w,s,y,p,v,b=n.length,a=ur(t),c=[],l=0;b>l;l++)if(o=n[l],o||0===o)if("object"===i.type(o))i.merge(c,o.nodeType?[o]:o);else if(ao.test(o)){for(s=s||a.appendChild(t.createElement("div")),y=(pu.exec(o)||["",""])[1].toLowerCase(),v=e[y]||e._default,s.innerHTML=v[1]+o.replace(ku,"<$1></$2>")+v[2],h=v[0];h--;)s=s.lastChild;if(!i.support.leadingWhitespace&&ei.test(o)&&c.push(t.createTextNode(ei.exec(o)[0])),!i.support.tbody)for(o="table"!==y||wu.test(o)?"<table>"!==v[1]||wu.test(o)?0:s:s.firstChild,h=o&&o.childNodes.length;h--;)i.nodeName(p=o.childNodes[h],"tbody")&&!p.childNodes.length&&o.removeChild(p);for(i.merge(c,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=a.lastChild}else c.push(t.createTextNode(o));for(s&&a.removeChild(s),i.support.appendChecked||i.grep(u(c,"input"),wo),l=0;o=c[l++];)if((!f||-1===i.inArray(o,f))&&(w=i.contains(o.ownerDocument,o),s=u(a.appendChild(o),"script"),w&&dt(s),r))for(h=0;o=s[h++];)tf.test(o.type||"")&&r.push(o);return s=null,a},cleanData:function(n,t){for(var r,s,u,e,c=0,f=i.expando,h=i.cache,a=i.support.deleteExpando,l=i.event.special;null!=(r=n[c]);c++)if((t||i.acceptData(r))&&(u=r[f],e=u&&h[u])){if(e.events)for(s in e.events)l[s]?i.event.remove(r,s):i.removeEvent(r,s,e.handle);h[u]&&(delete h[u],a?delete r[f]:typeof r.removeAttribute!==o?r.removeAttribute(f):r[f]=null,tt.push(u))}},_evalUrl:function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),i.fn.extend({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(){for(var n=this;n.firstChild&&1===n.firstChild.nodeType;)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()}});var ft,l,w,ui=/alpha\([^)]*\)/i,ro=/opacity\s*=\s*([^)]*)/,uo=/^(top|right|bottom|left)$/,io=/^(none|table(?!-c[ea]).+)/,lr=/^margin/,no=RegExp("^("+pt+")(.*)$","i"),et=RegExp("^("+pt+")(?!px)[a-z%]+$","i"),to=RegExp("^([+-])=("+pt+")","i"),cr={BODY:"block"},so={position:"absolute",visibility:"hidden",display:"block"},vr={letterSpacing:0,fontWeight:400},p=["Top","Right","Bottom","Left"],hr=["Webkit","O","Moz","ms"];i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){var e,s,o={},f=0;if(i.isArray(r)){for(s=l(n),e=r.length;e>f;f++)o[r[f]]=i.css(n,r[f],!1,s);return o}return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return or(this,!0)},hide:function(){return or(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){rt(this)?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=w(n,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var s,h,e,o=i.camelCase(r),c=n.style;if(r=i.cssProps[o]||(i.cssProps[o]=er(c,o)),e=i.cssHooks[r]||i.cssHooks[o],u===t)return e&&"get"in e&&(s=e.get(n,!1,f))!==t?s:c[r];if(h=typeof u,"string"===h&&(s=to.exec(u))&&(u=(s[1]+1)*s[2]+parseFloat(i.css(n,r)),h="number"),!(null==u||"number"===h&&isNaN(u)||("number"!==h||i.cssNumber[o]||(u+="px"),i.support.clearCloneStyle||""!==u||0!==r.indexOf("background")||(c[r]="inherit"),e&&"set"in e&&(u=e.set(n,u,f))===t)))try{c[r]=u}catch(l){}}},css:function(n,r,u,f){var h,e,o,s=i.camelCase(r);return r=i.cssProps[s]||(i.cssProps[s]=er(n.style,s)),o=i.cssHooks[r]||i.cssHooks[s],o&&"get"in o&&(e=o.get(n,!0,u)),e===t&&(e=w(n,r,f)),"normal"===e&&r in vr&&(e=vr[r]),""===u||u?(h=parseFloat(e),u===!0||i.isNumeric(h)?h||0:e):e}}),n.getComputedStyle?(l=function(t){return n.getComputedStyle(t,null)},w=function(n,r,u){var c,s,h,o=u||l(n),e=o?o.getPropertyValue(r)||o[r]:t,f=n.style;return o&&(""!==e||i.contains(n.ownerDocument,n)||(e=i.style(n,r)),et.test(e)&&lr.test(r)&&(c=f.width,s=f.minWidth,h=f.maxWidth,f.minWidth=f.maxWidth=f.width=e,e=o.width,f.width=c,f.minWidth=s,f.maxWidth=h)),e}):r.documentElement.currentStyle&&(l=function(n){return n.currentStyle},w=function(n,i,r){var h,e,o,s=r||l(n),u=s?s[i]:t,f=n.style;return null==u&&f&&f[i]&&(u=f[i]),et.test(u)&&!uo.test(i)&&(h=f.left,e=n.runtimeStyle,o=e&&e.left,o&&(e.left=n.currentStyle.left),f.left="fontSize"===i?"1em":u,u=f.pixelLeft+"px",f.left=h,o&&(e.left=o)),""===u?"auto":u}),i.each(["height","width"],function(n,r){i.cssHooks[r]={get:function(n,u,f){return u?0===n.offsetWidth&&io.test(i.css(n,"display"))?i.swap(n,so,function(){return yr(n,r,f)}):yr(n,r,f):t},set:function(n,t,u){var f=u&&l(n);return wr(n,t,u?kr(n,r,u,i.support.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,f),f):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return ro.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="+100*t+")":"",u=f&&f.filter||r.filter||"";r.zoom=1,(t>=1||""===t)&&""===i.trim(u.replace(ui,""))&&r.removeAttribute&&(r.removeAttribute("filter"),""===t||f&&!f.filter)||(r.filter=ui.test(u)?u.replace(ui,e):u+" "+e)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,r){return r?i.swap(n,{display:"inline-block"},w,[n,"marginRight"]):t}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,r){i.cssHooks[r]={get:function(n,u){return u?(u=w(n,r),et.test(u)?i(n).position()[r]+"px":u):t}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return 0>=n.offsetWidth&&0>=n.offsetHeight||!i.support.reliableHiddenOffsets&&"none"===(n.style&&n.style.display||i.css(n,"display"))},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 r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}},lr.test(n)||(i.cssHooks[n+t].set=wr)});var ho=/%20/g,oo=/\[\]$/,bi=/\r?\n/g,fo=/^(?:submit|button|image|reset|file)$/i,eo=/^(?:input|select|textarea|keygen)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&eo.test(this.nodeName)&&!fo.test(n)&&(this.checked||!ni.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(bi,"\r\n")}}):{name:t.name,value:r.replace(bi,"\r\n")}}).get()}}),i.param=function(n,r){var f,u=[],e=function(n,t){t=i.isFunction(t)?t():null==t?"":t,u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)hi(f,n[f],r,e);return u.join("&").replace(ho,"+")},i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}});var y,h,li=i.now(),vi=/\?/,cf=/#.*$/,ki=/([?&])_=[^&]*/,bf=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,gf=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,df=/^(?:GET|HEAD)$/,yf=/^\/\//,sr=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ar=i.fn.load,pr={},gt={},tr="*/".concat("*");try{h=ve.href}catch(ns){h=r.createElement("a"),h.href="",h=h.href}y=sr.exec(h.toLowerCase())||[],i.fn.load=function(n,r,u){if("string"!=typeof n&&ar)return ar.apply(this,arguments);var o,h,s,f=this,e=n.indexOf(" ");return e>=0&&(o=n.slice(e,n.length),n=n.slice(0,e)),i.isFunction(r)?(u=r,r=t):r&&"object"==typeof r&&(s="POST"),f.length>0&&i.ajax({url:n,type:s,dataType:"html",data:r}).done(function(n){h=arguments,f.html(o?i("<div>").append(i.parseHTML(n)).find(o):n)}).complete(u&&function(n,t){f.each(u,h||[n.responseText,t,n])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:h,type:"GET",isLocal:gf.test(y[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tr,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ii(ii(n,i.ajaxSettings),t):ii(i.ajaxSettings,n)},ajaxPrefilter:gu(pr),ajaxTransport:gu(gt),ajax:function(n,r){function k(n,r,s,h){var a,it,k,b,y,l=r;2!==o&&(o=2,tt&&clearTimeout(tt),p=t,g=h||"",f.readyState=n>0?4:0,a=n>=200&&300>n||304===n,s&&(b=pf(u,f,s)),b=wf(u,b,f,a),a?(u.ifModified&&(y=f.getResponseHeader("Last-Modified"),y&&(i.lastModified[e]=y),y=f.getResponseHeader("etag"),y&&(i.etag[e]=y)),204===n||"HEAD"===u.type?l="nocontent":304===n?l="notmodified":(l=b.state,it=b.data,k=b.error,a=!k)):(k=l,(n||!l)&&(l="error",0>n&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?nt.resolveWith(c,[it,l,f]):nt.rejectWith(c,[f,l,k]),f.statusCode(w),w=t,v&&d.trigger(a?"ajaxSuccess":"ajaxError",[f,u,a?it:k]),rt.fireWith(c,[f,l]),v&&(d.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof n&&(r=n,n=t),r=r||{};var l,a,e,g,tt,v,p,b,u=i.ajaxSetup({},r),c=u.context||u,d=u.context&&(c.nodeType||c.jquery)?i(c):i.event,nt=i.Deferred(),rt=i.Callbacks("once memory"),w=u.statusCode||{},ut={},ft={},o=0,it="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(2===o){if(!b)for(b={};t=bf.exec(g);)b[t[1].toLowerCase()]=t[2];t=b[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===o?g:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=ft[i]=ft[i]||n,ut[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>o)for(t in n)w[t]=[w[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||it;return p&&p.abort(t),k(0,t),this}};if(nt.promise(f).complete=rt.add,f.success=f.done,f.error=f.fail,u.url=((n||u.url||h)+"").replace(cf,"").replace(yf,y[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],null==u.crossDomain&&(l=sr.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===y[1]&&l[2]===y[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(y[3]||("http:"===y[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),du(pr,u,r,f),2===o)return f;v=u.global,v&&0==i.active++&&i.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!df.test(u.type),e=u.url,u.hasContent||(u.data&&(e=u.url+=(vi.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=ki.test(e)?e.replace(ki,"$1_="+li++):e+(vi.test(e)?"&":"?")+"_="+li++)),u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e])),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+tr+"; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(c,f,u)===!1||2===o))return f.abort();it="abort";for(a in{success:1,error:1,complete:1})f[a](u[a]);if(p=du(gt,u,r,f)){f.readyState=1,v&&d.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(tt=setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1,p.send(ut,k)}catch(et){if(!(2>o))throw et;k(-1,et)}}else k(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,r){return i.get(n,t,r,"script")}}),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({url:n,type:r,dataType:e,data:u,success:f})}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},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 u,f=r.head||i("head")[0]||r.documentElement;return{send:function(t,i){u=r.createElement("script"),u.async=!0,n.scriptCharset&&(u.charset=n.scriptCharset),u.src=n.url,u.onload=u.onreadystatechange=function(n,t){(t||!u.readyState||/loaded|complete/.test(u.readyState))&&(u.onload=u.onreadystatechange=null,u.parentNode&&u.parentNode.removeChild(u),u=null,t||i(200,"success"))},f.insertBefore(u,f.firstChild)},abort:function(){u&&u.onload(t,!0)}}}}),oi=[],ht=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=oi.pop()||i.expando+"_"+li++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.jsonp!==!1&&(ht.test(r.url)?"url":"string"==typeof r.data&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&ht.test(r.data)&&"data");return h||"jsonp"===r.dataTypes[0]?(e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,h?r[h]=r[h].replace(ht,"$1"+e):r.jsonp!==!1&&(r.url+=(vi.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",s=n[e],n[e]=function(){o=arguments},f.always(function(){n[e]=s,r[e]&&(r.jsonpCallback=u.jsonpCallback,oi.push(e)),o&&i.isFunction(s)&&s(o[0]),o=s=t}),"script"):t}),gr=0,wt=n.ActiveXObject&&function(){var n;for(n in d)d[n](t,!0)},i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&nu()||kf()}:nu,g=i.ajaxSettings.xhr(),i.support.cors=!!g&&"withCredentials"in g,g=i.support.ajax=!!g,g&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),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 s,a,l,c;try{if(u&&(f||4===o.readyState))if(u=t,h&&(o.onreadystatechange=i.noop,wt&&delete d[h]),f)4!==o.readyState&&o.abort();else{c={},s=o.status,a=o.getAllResponseHeaders(),"string"==typeof o.responseText&&(c.text=o.responseText);try{l=o.statusText}catch(y){l=""}s||!r.isLocal||r.crossDomain?1223===s&&(s=204):s=c.text?200:404}}catch(v){f||e(-1,v)}c&&e(s,l,c,a)},r.async?4===o.readyState?setTimeout(u):(h=++gr,wt&&(d||(d={},i(n).unload(wt)),d[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(t,!0)}}}});var k,ct,af=/^(?:toggle|show|hide)$/,tu=RegExp("^(?:([+-])=|)("+pt+")([a-z%]*)$","i"),hf=/queueHooks$/,yt=[vf],ut={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),r=tu.exec(t),o=r&&r[3]||(i.cssNumber[n]?"":"px"),u=(i.cssNumber[n]||"px"!==o&&+s)&&tu.exec(i.css(f.elem,n)),e=1,h=20;if(u&&u[3]!==o){o=o||u[3],r=r||[],u=+s||1;do e=e||".5",u/=e,i.style(f.elem,n,u+o);while(e!==(e=f.cur()/s)&&1!==e&&--h)}return r&&(u=f.start=+u||+s||0,f.unit=o,f.end=r[1]?u+(r[1]+1)*r[2]:+r[2]),f}]};i.Animation=i.extend(nf,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;f>u;u++)r=n[u],ut[r]=ut[r]||[],ut[r].unshift(t)},prefilter:function(n,t){t?yt.unshift(n):yt.push(n)}}),i.Tween=f,f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n,this.prop=r,this.easing=f||"swing",this.options=t,this.start=this.now=this.cur(),this.end=u,this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var r,t=f.propHooks[this.prop];return this.pos=r=this.options.duration?i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):f.propHooks._default.set(this),this}},f.prototype.init.prototype=f.prototype,f.propHooks={_default:{get:function(n){var t;return null==n.elem[n.prop]||n.elem.style&&null!=n.elem.style[n.prop]?(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(null!=n.elem.style[i.cssProps[n.prop]]||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(st(t,!0),n,i,u)}}),i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(rt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=nf(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop,t(u)};return"string"!=typeof n&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=null!=n&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&hf.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem!==this||null!=n&&e[t].queue!==n||(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),u=f[n+"queue"],e=f[n+"queueHooks"],r=i.timers,o=u?u.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===n&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;o>t;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete f.finish})}}),i.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}}),i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(null==u.queue||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this),u.queue&&i.dequeue(this,u.queue)},u},i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}},i.timers=[],i.fx=f.prototype.init,i.fx.tick=function(){var u,r=i.timers,n=0;for(k=i.now();r.length>n;n++)u=r[n],u()||r[n]!==u||r.splice(n--,1);r.length||i.fx.stop(),k=t},i.fx.timer=function(n){n()&&i.timers.push(n)&&i.fx.start()},i.fx.interval=13,i.fx.start=function(){ct||(ct=setInterval(i.fx.tick,i.fx.interval))},i.fx.stop=function(){clearInterval(ct),ct=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fx.step={},i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length}),i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,s,f={top:0,left:0},u=this[0],e=u&&u.ownerDocument;if(e)return r=e.documentElement,i.contains(r,u)?(typeof u.getBoundingClientRect!==o&&(f=u.getBoundingClientRect()),s=ef(e),{top:f.top+(s.pageYOffset||r.scrollTop)-(r.clientTop||0),left:f.left+(s.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}):f},i.offset={setOffset:function(n,t,r){var s=i.css(n,"position");"static"===s&&(n.style.position="relative");var h=i(n),c=h.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=("absolute"===s||"fixed"===s)&&i.inArray("auto",[l,a])>-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)),null!=t.top&&(u.top=t.top-c.top+f),null!=t.left&&(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]){var t,u,n={top:0,left:0},r=this[0];return"fixed"===i.css(r,"position")?u=r.getBoundingClientRect():(t=this.offsetParent(),u=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n.top+=i.css(t[0],"borderTopWidth",!0),n.left+=i.css(t[0],"borderLeftWidth",!0)),{top:u.top-n.top-i.css(r,"marginTop",!0),left:u.left-n.left-i.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||hu;n&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||hu})}}),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=ef(n);return e===t?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,t)},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||"boolean"!=typeof f),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]:9===r.nodeType?(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,o):i.style(r,u,f,o)},r,s?f:t,s,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=i:(n.jQuery=n.$=i,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}))})(window);var MayoApp=function(){"use strict";var n=["0","0","0"],t={checkMobile:function(){return t.isMobile=$("#isMobile").is(":visible")},isMobile:!1,isModern:$.fn.jquery>="2.0.0",resizeTimer:!1,moveAuto:function(){var i=$(".auto"),n=$(".auto-mobile");t.isMobile?i.each(function(t,i){$(i).contents().appendTo(n.eq(t)),i.innerHTML=""}):n.each(function(n,t){$(t).contents().appendTo(i.eq(n)),t.innerHTML=""})},resizeMenus:function(){t.updateGlobalNav(),typeof $menu=="undefined"&&($menu=$(".topnav-v2")),t.isMobile?($menu.addClass("topnav-v2-mobile").removeClass("topnav-v2"),$holder.hide()):($menu.is(":hidden")&&$menu.removeAttr("style"),$holder.is(":hidden")&&$holder.removeAttr("style"),$menu.addClass("topnav-v2").removeClass("topnav-v2-mobile"))},uniqid:function(){for(var t=n.length,i;t;){if(t--,i=n[t].charCodeAt(0),i===57)return n[t]="A",n.join("");if(i===90)n[t]="0";else return n[t]=String.fromCharCode(i+1),n.join("")}return n.unshift("0"),n.join("")},updateGlobalNav:function(){var n=$("#mayo-header2,#headerMobile2");t.checkMobile()?("mayo-header"===n.attr("id")&&n.attr("id","headerMobile"),n.find(".nav-both").hide()):("headerMobile"===n.attr("id")&&n.attr("id","mayo-header"),n.find("*").removeAttr("style"))}};return t}();(function(){"use strict";for(var n,u=function(){},r=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],t=r.length,i=window.console=window.console||{};t--;)n=r[t],i[n]||(i[n]=u)})(),function(n){"use strict";var t=n.show_more=function(i,r){t.options=n.extend({},t.defaults,r),i.each(t.init)};n.extend(t,{defaults:{n:7,more:".more",less:".less",on:"on",off:"off",evtNs:"click.seealso"},init:function(i,r){var u=t.options,f=n(r),o=f.find(u.more).unbind("click").addClass(u.on),e=f.find(u.less).unbind("click");e.on(u.evtNs,function(n){f.find(u.more).addClass(u.on),f.find(u.less).removeClass(u.on),n.preventDefault(),n.stopPropagation(),t.showLess(f,u)});o.on(u.evtNs,function(n){f.find(u.more).removeClass(u.on),f.find(u.less).addClass(u.on),n.preventDefault(),n.stopPropagation(),t.showMore(f,u)});t.showLess(f,u)},showLess:function(i,r){var u=n.extend({},t.options,r),e=n(i).data("show_n")||u.n,f=n(i).find("li");f.length<=e?(f.removeClass(u.off),i.find([u.more,u.less].join(",")).removeClass(u.on)):(f.each(function(t){t>=e?n(this).addClass(u.off):n(this).removeClass(u.off)}),i.find(u.more).addClass(u.on))},showMore:function(i){var r=t.options;n(i).find("li").removeClass(r.off)},open:function(n){t.init(n)}}),n.fn.show_more=function(i){var r=n(this);t.options=n.extend({},t.defaults,i),r.each(t.init)}}(jQuery),function(n){"use strict";var t=n.toggle_open=function(i,r){t.options=n.extend({},t.defaults,r),i.each(t.init)};n.extend(t,{defaults:{open:"open",control:"a.toggle-open",evtNs:"click.toggle_open",fx:function(n,t){n.toggleClass(t)}},init:function(i,r){var u=t.options,f=n(r),e=f.find(u.control).unbind("click").on(u.evtNs,function(n){return u.fx(f,u.open),n.stopPropagation(),n.preventDefault(),!1})}}),n.fn.toggle_open=function(i){var r=n(this);t.options=n.extend({},t.defaults,i),r.each(t.init)}}(jQuery),function(n){"use strict";var t=n.slide_show=function(i,r){t.options=n.extend({},t.defaults,r),i.each(t.init)};n.extend(t,{defaults:{img:"img",thmb:"",all:"a",fIn:"fadeIn",fOut:"fadeOut",finDur:500,foutDur:500,fEase:"swing",sDur:333,thumbWidth:140,gutterWidth:24,prev:"a.slide-prev",next:"a.slide-next",cntr:"span.slide-counter",current:"li.on",slide:".slide",scroll:".scroll",scrollPrev:"a.scroll-prev",scrollNext:"a.scroll-next",evtNs:"click.slide_show",st:".slide-title",sc:".slide-caption",hidden:"hidden",on:"on",off:"off"},timers:[],disableClick:function(n){n.data("disableClick",!0)},enableClick:function(n){n.data("disableClick",!1)},timedEnableClick:function(n){var i='$.slide_show.enableClick($("#'+t.uniqueId(n)+'"))';t.timers[t.timers.length]=setTimeout(i,t.options.finDur+t.options.foutDur+100)},init:function(i,r){var f=t.options,u=n(r),l=u.find(f.slide),p=u.find(f.scroll),a=u.find(f.next),c=u.find(f.prev),y=u.find(f.scrollNext),h=u.find(f.scrollPrev),e=p.find("li"),v=e.find("a"),o=e.index(e.find(f.current)),s;o===-1&&(o=0,e.eq(0).addClass(f.on),c.addClass(f.off),h.addClass(f.off)),u.data("current",o),u.find(f.all).unbind("click");a.on(f.evtNs,function(n){return t.next(u,n)});c.on(f.evtNs,function(n){return t.prev(u,n)});y.on(f.evtNs,function(n){return t.snext(u,n)});h.on(f.evtNs,function(n){return t.sprev(u,n)});v.on(f.evtNs,function(i){return t.allowed(u,i)&&t.replace(u,n(this))});t.initScrolling(u,e.size()),s=l.find("img"),n("<img />",{src:s.attr("src")}).load(function(n){var i=n.currentTarget,r,t;i.height&&(r=i.height/i.width,t=u.width()*r,s.height(t).closest("div").height(t))})},initScrolling:function(n,i){var f=t.options,u=0,r=3,e=n.attr("class").match(/\d+/)||0;n.data("curpage",0),n.data("count",i),e==6?r=3:e==8?r=4:e<6&&(r=3),u=i/r,u<1?(n.find(f.scrollNext).hide(),n.find(f.scrollPrev).hide()):u=Math.ceil(u),n.data("pages",u).data("pagesize",r).data("pagewidth",f.thumbWidth*r+f.gutterWidth*r),t.updateNav(n)},go:function(n,i,r){i.stopPropagation(),i.preventDefault();var o=t.options,e=n.find(o.current),s=e.parent(),u=s.find("li"),f=u.index(e)+r;return f>=u.size()&&(f=0),u.eq(f).find("a").click()},replace:function(i,r){t.disableClick(i),i.data("lastclick","nav");var u=t.options,o=i.find(".slide"),s=r.closest("li"),v=s.parent(),f=o.find(u.img),p=v.find("li"),l=r.data("title"),y=r.data("caption"),h=1,e=f.closest("div").addClass("loading"),a=e.find(".overlay").show(),c=i.width();return s.addClass("on").siblings().removeClass("on"),f.get(0).height&&(h=f.get(0).height/f.get(0).width||1,e.css("height",c*h)),o.find(u.st).html(l),o.find(u.sc).html(y),n.when(n("<img />",{src:r.attr("href"),alt:l}).load().promise(),f.addClass("faded").delay(u.foutDur).promise()).done(function(n,t){var s=t.get(0).width||1,r=t.get(0).height||1,o=n.get(0).width||1,h=n.get(0).height||1,l=r/s||1,f=h/o||1,i=Math.floor(c*f);n.height(r).appendTo(e),t.animate({height:i},{duration:u.finDur}),n.animate({height:i},{duration:u.finDur}),e.removeClass("loading").animate({height:i},{duration:u.finDur,complete:function(){a.hide(),t.remove()}})}),i.data("current",p.index(s)),t.updateNav(i)},scroll:function(n,i){return n.data("lastclick","scroll"),n.data("curpage",n.data("curpage")+i),t.updateNav(n)},updateNav:function(n){var i=t.options,e=n.find("li"),v=e.filter("."+i.on),f=e.size(),c=e.index(v),r=n.find(i.prev),u=n.find(i.next),y=n.find(i.prev).add(i.next),w=n.find(i.scrollPrev),p=n.find(i.scrollNext),a=n.find(".scroll").find("ul"),h,s,l,o;return s=parseInt(1+n.data("current"),10)+" of "+n.data("count"),n.find(i.cntr).html(s),f===0?y.addClass(i.hidden):c===0||0==n.data("current")?(r.addClass(i.off),u.removeClass(i.off)):c+1===f?(r.removeClass(i.off),u.addClass(i.off)):(r.removeClass(i.off),u.removeClass(i.off)),"nav"===n.data("lastclick")&&(l=n.data("current")||0,o=Math.floor(parseInt(n.data("current"),10)/n.data("pagesize")),n.data("curpage",o)),h=n.data("pagewidth")*n.data("curpage"),a.animate({left:-h},i.sDur),f===0?n.find(i.scrollPrev).add(i.scrollNext).addClass(i.hidden):n.data("curpage")===0?(n.find(i.scrollPrev).addClass(i.off),n.find(i.scrollNext).removeClass(i.off)):n.data("curpage")+1===n.data("pages")?(n.find(i.scrollPrev).removeClass(i.off),n.find(i.scrollNext).addClass(i.off)):n.find(i.scrollPrev).add(i.scrollNext).removeClass(i.off),t.timedEnableClick(n),!1},allowed:function(i,r){return!n(i).data("disableClick")&&!n(r.currentTarget).hasClass(t.options.off)},prev:function(n,i){return t.allowed(n,i)&&t.go(n,i,-1)},next:function(n,i){return t.allowed(n,i)&&t.go(n,i,1)},sprev:function(n,i){return t.allowed(n,i)&&t.scroll(n,-1)},snext:function(n,i){return t.allowed(n,i)&&t.scroll(n,1)},uniqueId:function(n){return n.attr("id")||n.attr("id","Mayo_id_"+MayoApp.uniqid()),n.attr("id")}}),n.fn.slide_show=function(i){t.options=n.extend({},t.defaults,i),n(this).each(t.init)}}(jQuery),function(n){"use strict";var t=n.slide_show,i=n.slide_show_enlarge=function(r,u){t.options=n.extend({},t.defaults,i.defaults,u),r.each(i.init)};n.extend(i,{defaults:{el:".enlarge-link",cl:".close-link"},init_e:function(i,r){var f=t.options,u=n(r),e=u.find(f.et);t.init(i,u);u.find(f.el).on("click.expand",function(t){t.stopPropagation(),t.preventDefault();var i=[];n.each("right,left,cols3,cols2,cols4".split(","),function(n,t){u.hasClass(t)&&(u.removeClass(t),i.push(t))}),u.data("oldClasses",i),u.removeClass("enlarge-image").addClass("enlarged"),u.find(f.scroll).find("a").eq(0).trigger(f.evtNs)});u.find(f.cl).on("click.close",function(t){t.stopPropagation(),t.preventDefault(),n.each(u.data("oldClasses"),function(n,t){u.addClass(t)}),u.addClass("enlarge-image").removeClass("enlarged")})}}),n.fn.slide_show_enlarge=function(r){t.options=n.extend({},t.defaults,i.defaults,r),n(this).each(i.init_e)}}(jQuery),function(n){"use strict";var t=n.newsticker=function(){t.open.apply(this,arguments)},i={defaults:{duration:1e4},cache:[],init:function(i,r){var u=n(r),f;u.addClass("initialized"),u.addClass("newstickeridx"+i),u.unbind("mouseenter");u.on("mouseenter.mayoApp",t.pause);u.on("mouseleave.mayoApp",t.resume);f=MayoApp.uniqid(),u.data("timerId",f),t.cache[t.cache.length]={rdo:f,el:u,timer:null,duration:n.newsticker.options.duration},t.setTimer(u)},pause:function(i){t.clearTimer(n(i.currentTarget))},resume:function(i){t.setTimer(n(i.currentTarget))},next:function(n){var u=n.find("ul.news-ticker-display"),r=u.find(".show").index(),i=u.find("li");MayoApp.isMobile?i.removeClass("show"):MayoApp.isModern?(i.eq(r++).removeClass("show"),i.eq(r%i.length).addClass("show")):(i.eq(r++).removeClass("show").animate({opacity:0},1500),i.eq(r%i.length).addClass("show").animate({opacity:1},1500)),t.setTimer(n)},rotate:function(i){var r=!1;n.each(t.cache,function(){i===this.rdo&&(r=this.el)}),r&&t.next(r)},fetchTimer:function(i){var u=i.data("timerId"),r=null;return n.each(t.cache,function(n){if(u===this.rdo)return this.modified=!0,r=n,!1}),t.cache[r]},clearTimer:function(n){var t=this.fetchTimer(n);clearTimeout(t.timer)},setTimer:function(n){var t=this.fetchTimer(n);clearTimeout(t.timer),t.timer=setTimeout('$.newsticker.rotate("'+t.rdo+'")',t.duration)},open:function(n){t.init(n)}};n.extend(t,i),n.fn.newsticker=function(i){var r=n(this);t.options=n.extend({},t.defaults,i),r.each(t.init)}}(jQuery);$(window).resize(MayoApp.resizeMenus),$(window).resize(MayoApp.moveAuto),$(function(){var i,n,t;MayoApp.moveAuto(),$(".slide-show").slide_show(),$(".enlarge-image").length>0&&$(".enlarge-image").slide_show_enlarge(),$(".show-more").length>0&&$(".show-more").show_more(),$(".expandable").length>0&&$(".expandable").toggle_open(),$holder=$("#filter").find(".holder"),$pull=$(".mobilePull"),$menu=$(".topnav-v2"),i=function(n){"use strict";return n.preventDefault(),n.stopPropagation(),$(this).next().toggle(),this};$pull.on("click.pull",i);$("#filter").find(".holder").each(function(){"use strict";var t=$(this),r=t.find("h2").text(),n=$("<a>").attr("href","#").html(r).addClass("mobilePull");n.on("click.pull",i);t.before(n)}),n=$(".form"),n.each(function(n,t){"use strict";var i=$(t);i.find(".error").length&&i.find(".popup").addClass("show").find("h2").eq(0).focus()});n.find(".showpopup").on("click.popup",function(n){"use strict";n.preventDefault(),$(this).closest(".form").find(".popup").toggleClass("show")});t=function(){"use strict";n.each(function(n,t){var i=$(t);i.find(".popup").removeClass("show")})};$(document).on("keyup.popup",function(n){"use strict";n.keyCode===27&&t()});$(".closeform").on("click.popup",t);$newsticker=$(".news-ticker"),$newsticker_content=$newsticker.find("li"),$newsticker_content.length&&$newsticker.newsticker(),$("nav.resizable ul.topnav-v2 > li > a").focus(function(){$(this).parent("li").siblings().find("div").removeClass("on"),$(this).next("div").addClass("on")}),$("nav.resizable ul.topnav-v2 a:last").blur(function(){$("nav.resizable ul.topnav-v2 div").removeClass("on")}),$("table.standard").each(function(){"use strict";var t=[],n=$(this),i=n.find("tr");n.find("th").each(function(){t.push(this.innerHTML)}),i.each(function(){$(this).find("td").each(function(n,i){$(i).attr("data-title",t[n])})})}),MayoApp.isModern||($slideshow=$(".slide-show"),$slideshow.each(function(n,t){var u=$(t),i=u.find(".slide").find("img"),f,r;i.height()&&(f=i.height()/i.width(),r=u.width()*f,i.height(r).closest("div").height(r))}))});/*!
  * jQuery Cycle2; version: 2.1.6 build: 20141007
  * http://jquery.malsup.com/cycle2/
  * Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL
  */
  !function(n){"use strict";function t(n){return(n||"").toLowerCase()}var i="2.1.6";n.fn.cycle=function(i){var r;return 0!==this.length||n.isReady?this.each(function(){var f,r,h,o,u=n(this),s=n.fn.cycle.log,e;if(!u.data("cycle.opts")){(u.data("cycle-log")===!1||i&&i.log===!1||r&&r.log===!1)&&(s=n.noop),s("--c2 init--"),f=u.data();for(e in f)f.hasOwnProperty(e)&&/^cycle[A-Z]+/.test(e)&&(o=f[e],h=e.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),s(h+":",o,"("+typeof o+")"),f[h]=o);r=n.extend({},n.fn.cycle.defaults,f,i||{}),r.timeoutId=0,r.paused=r.paused||!1,r.container=u,r._maxZ=r.maxZ,r.API=n.extend({_container:u},n.fn.cycle.API),r.API.log=s,r.API.trigger=function(n,t){return r.container.trigger(n,t),r.API},u.data("cycle.opts",r),u.data("cycle.API",r.API),r.API.trigger("cycle-bootstrap",[r,r.API]),r.API.addInitialSlides(),r.API.preInitSlideshow(),r.slides.length&&r.API.initSlideshow()}}):(r={s:this.selector,c:this.context},n.fn.cycle.log("requeuing slideshow (dom not ready)"),n(function(){n(r.s,r.c).cycle(i)}),this)},n.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var i=this.opts(),t=i.slides;i.slideCount=0,i.slides=n(),t=t.jquery?t:i.container.find(t),i.random&&t.sort(function(){return Math.random()-.5}),i.API.add(t)},preInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-pre-initialize",[t]),i=n.fn.cycle.transitions[t.fx],i&&n.isFunction(i.preInit)&&i.preInit(t),t._preInitialized=!0},postInitSlideshow:function(){var i=this.opts(),t;i.API.trigger("cycle-post-initialize",[i]),t=n.fn.cycle.transitions[i.fx],t&&n.isFunction(t.postInit)&&t.postInit(i)},initSlideshow:function(){var i,t=this.opts(),r=t.container;t.API.calcFirstSlide(),"static"==t.container.css("position")&&t.container.css("position","relative"),n(t.slides[t.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),t.API.stackSlides(t.slides[t.currSlide],t.slides[t.nextSlide],!t.reverse),t.pauseOnHover&&(t.pauseOnHover!==!0&&(r=n(t.pauseOnHover)),r.hover(function(){t.API.pause(!0)},function(){t.API.resume(!0)})),t.timeout&&(i=t.API.getSlideOpts(t.currSlide),t.API.queueTransition(i,i.timeout+t.delay)),t._initialized=!0,t.API.updateView(!0),t.API.trigger("cycle-initialized",[t]),t.API.postInitSlideshow()},pause:function(t){var i=this.opts(),u=i.API.getSlideOpts(),r=i.hoverPaused||i.paused;t?i.hoverPaused=!0:i.paused=!0,r||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),u.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=n.now()-i._lastQueue,(i._remainingTimeout<0||isNaN(i._remainingTimeout))&&(i._remainingTimeout=void 0)))},resume:function(n){var t=this.opts(),i=!t.hoverPaused&&!t.paused;n?t.hoverPaused=!1:t.paused=!1,i||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,i){var f,r=this.opts(),e=r.slideCount,u=!1;"string"==n.type(t)&&(t=n.trim(t)),n(t).each(function(){var u,t=n(this);i?r.container.prepend(t):r.container.append(t),r.slideCount++,u=r.API.buildSlideOpts(t),r.slides=i?n(t).add(r.slides):r.slides.add(t),r.API.initSlide(u,t,--r._maxZ),t.data("cycle.opts",u),r.API.trigger("cycle-slide-added",[r,u,t])}),r.API.updateView(!0),u=r._preInitialized&&2>e&&r.slideCount>=1,u&&(r._initialized?r.timeout&&(f=r.slides.length,r.nextSlide=r.reverse?f-1:1,r.timeoutId||r.API.queueTransition(r)):r.API.initSlideshow())},calcFirstSlide:function(){var t,n=this.opts();t=parseInt(n.startingSlide||0,10),(t>=n.slides.length||0>t)&&(t=0),n.currSlide=t,n.reverse?(n.nextSlide=t-1,n.nextSlide<0&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=t+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var t,n=this.opts();n.reverse?(t=n.nextSlide-1<0,n.nextSlide=t?n.slideCount-1:n.nextSlide-1,n.currSlide=t?0:n.nextSlide+1):(t=n.nextSlide+1==n.slides.length,n.nextSlide=t?0:n.nextSlide+1,n.currSlide=t?n.slides.length-1:n.nextSlide-1)},calcTx:function(t,i){var u,r=t;return r._tempFx?u=n.fn.cycle.transitions[r._tempFx]:i&&r.manualFx&&(u=n.fn.cycle.transitions[r.manualFx]),u||(u=n.fn.cycle.transitions[r.fx]),r._tempFx=null,this.opts()._tempFx=null,u||(u=n.fn.cycle.transitions.fade,r.API.log('Transition "'+r.fx+'" not found.  Using fade.')),u},prepareTx:function(n,t){var o,f,e,r,u,i=this.opts();return i.slideCount<2?void(i.timeoutId=0):(!n||i.busy&&!i.manualTrump||(i.API.stopTransition(),i.busy=!1,clearTimeout(i.timeoutId),i.timeoutId=0),void(i.busy||(0!==i.timeoutId||n)&&(f=i.slides[i.currSlide],e=i.slides[i.nextSlide],r=i.API.getSlideOpts(i.nextSlide),u=i.API.calcTx(r,n),i._tx=u,n&&void 0!==r.manualSpeed&&(r.speed=r.manualSpeed),i.nextSlide!=i.currSlide&&(n||!i.paused&&!i.hoverPaused&&i.timeout)?(i.API.trigger("cycle-before",[r,f,e,t]),u.before&&u.before(r,f,e,t),o=function(){i.busy=!1,i.container.data("cycle.opts")&&(u.after&&u.after(r,f,e,t),i.API.trigger("cycle-after",[r,f,e,t]),i.API.queueTransition(r),i.API.updateView(!0))},i.busy=!0,u.transition?u.transition(r,f,e,t,o):i.API.doTransition(r,f,e,t,o),i.API.calcNextSlide(),i.API.updateView()):i.API.queueTransition(r))))},doTransition:function(t,i,r,u,f){var e=t,h=n(i),s=n(r),o=function(){s.animate(e.animIn||{opacity:1},e.speed,e.easeIn||e.easing,f)};s.css(e.cssBefore||{}),h.animate(e.animOut||{},e.speed,e.easeOut||e.easing,function(){h.css(e.cssAfter||{}),e.sync||o()}),e.sync&&o()},queueTransition:function(t,i){var r=this.opts(),u=void 0!==i?i:t.timeout;return 0===r.nextSlide&&0==--r.loop?(r.API.log("terminating; loop=0"),r.timeout=0,u?setTimeout(function(){r.API.trigger("cycle-finished",[r])},u):r.API.trigger("cycle-finished",[r]),void(r.nextSlide=r.currSlide)):void 0!==r.continueAuto&&(r.continueAuto===!1||n.isFunction(r.continueAuto)&&r.continueAuto()===!1)?(r.API.log("terminating automatic transitions"),r.timeout=0,void(r.timeoutId&&clearTimeout(r.timeoutId))):void(u&&(r._lastQueue=n.now(),void 0===i&&(r._remainingTimeout=t.timeout),r.paused||r.hoverPaused||(r.timeoutId=setTimeout(function(){r.API.prepareTx(!1,!r.reverse)},u))))},stopTransition:function(){var n=this.opts();n.slides.filter(":animated").length&&(n.slides.stop(!1,!0),n.API.trigger("cycle-transition-stopped",[n])),n._tx&&n._tx.stopTransition&&n._tx.stopTransition(n)},advanceSlide:function(n){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+n,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,n>=0),!1},buildSlideOpts:function(i){var e,o,f=this.opts(),r=i.data()||{},u;for(u in r)r.hasOwnProperty(u)&&/^cycle[A-Z]+/.test(u)&&(e=r[u],o=u.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),f.API.log("["+(f.slideCount-1)+"]",o+":",e,"("+typeof e+")"),r[o]=e);r=n.extend({},n.fn.cycle.defaults,f,r),r.slideNum=f.slideCount;try{delete r.API,delete r.slideCount,delete r.currSlide,delete r.nextSlide,delete r.slides}catch(s){}return r},getSlideOpts:function(t){var i=this.opts(),u,r;return void 0===t&&(t=i.currSlide),u=i.slides[t],r=n(u).data("cycle.opts"),n.extend({},i,r)},initSlide:function(t,i,r){var u=this.opts();i.css(t.slideCss||{}),r>0&&i.css("zIndex",r),isNaN(t.speed)&&(t.speed=n.fx.speeds[t.speed]||n.fx.speeds._default),t.sync||(t.speed=t.speed/2),i.addClass(u.slideClass)},updateView:function(n,t){var i=this.opts(),r,u;i._initialized&&(r=i.API.getSlideOpts(),u=i.slides[i.currSlide],!n&&t!==!0&&(i.API.trigger("cycle-update-view-before",[i,r,u]),i.updateView<0)||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),n&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").css("visibility","hidden"),0===i.updateView&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,r,u,n])},r.speed/(i.sync?2:1)),0!==i.updateView&&i.API.trigger("cycle-update-view",[i,r,u,n]),n&&i.API.trigger("cycle-update-view-after",[i,r,u])))},getComponent:function(t){var r=this.opts(),i=r[t];return"string"==typeof i?/^\s*[\>|\+|~]/.test(i)?r.container.find(i):n(i):i.jquery?i:n(i)},stackSlides:function(t,i,r){var u=this.opts(),f,e,o;if(t||(t=u.slides[u.currSlide],i=u.slides[u.nextSlide],r=!u.reverse),n(t).css("zIndex",u.maxZ),e=u.maxZ-2,o=u.slideCount,r){for(f=u.currSlide+1;o>f;f++)n(u.slides[f]).css("zIndex",e--);for(f=0;f<u.currSlide;f++)n(u.slides[f]).css("zIndex",e--)}else{for(f=u.currSlide-1;f>=0;f--)n(u.slides[f]).css("zIndex",e--);for(f=o-1;f>u.currSlide;f--)n(u.slides[f]).css("zIndex",e--)}n(i).css("zIndex",u.maxZ-1)},getSlideIndex:function(n){return this.opts().slides.index(n)}},n.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},n.fn.cycle.version=function(){return"Cycle2: "+i},n.fn.cycle.transitions={custom:{},none:{before:function(n,t,i,r){n.API.stackSlides(i,t,r),n.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u),t.cssBefore=n.extend(f,{opacity:0,visibility:"visible",display:"block"}),t.animIn={opacity:1},t.animOut={opacity:0}}},fadeout:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u),t.cssBefore=n.extend(f,{opacity:1,visibility:"visible",display:"block"}),t.animOut={opacity:0}}},scrollHorz:{before:function(n,t,i,r){n.API.stackSlides(t,i,r);var u=n.container.css("overflow","hidden").width();n.cssBefore={left:r?u:-u,top:0,opacity:1,visibility:"visible",display:"block"},n.cssAfter={zIndex:n._maxZ-2,left:0},n.animIn={left:0},n.animOut={left:r?-u:u}}}},n.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},n(document).ready(function(){n(n.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(n){"use strict";function t(t,i){var f,o,e,r=i.autoHeight;if("container"==r)o=n(i.slides[i.currSlide]).outerHeight(),i.container.height(o);else if(i._autoHeightRatio)i.container.height(i.container.width()/i._autoHeightRatio);else if("calc"===r||"number"==n.type(r)&&r>=0){if(e="calc"===r?u(t,i):r>=i.slides.length?0:r,e==i._sentinelIndex)return;i._sentinelIndex=e,i._sentinel&&i._sentinel.remove(),f=n(i.slides[e].cloneNode(!0)),f.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),f.css({position:"static",visibility:"hidden",display:"block"}).prependTo(i.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),f.find("*").css("visibility","hidden"),i._sentinel=f}}function u(t,i){var u=0,r=-1;return i.slides.each(function(t){var i=n(this).height();i>r&&(r=i,u=t)}),u}function i(t,i,r,u){var f=n(u).outerHeight();i.container.animate({height:f},i.autoHeightSpeed,i.autoHeightEasing)}function r(u,f){f._autoHeightOnResize&&(n(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",t),f.container.off("cycle-destroyed",r),f.container.off("cycle-before",i),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}n.extend(n.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),n(document).on("cycle-initialized",function(u,f){function c(){t(u,f)}var e,s=f.autoHeight,o=n.type(s),h=null;("string"===o||"number"===o)&&(f.container.on("cycle-slide-added cycle-slide-removed",t),f.container.on("cycle-destroyed",r),"container"==s?f.container.on("cycle-before",i):"string"===o&&/\d+\:\d+/.test(s)&&(e=s.match(/(\d+)\:(\d+)/),e=e[1]/e[2],f._autoHeightRatio=e),"number"!==o&&(f._autoHeightOnResize=function(){clearTimeout(h),h=setTimeout(c,50)},n(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(c,30))})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),n(document).on("cycle-update-view",function(t,i,r,u){"caption"===i.captionModule&&n.each(["caption","overlay"],function(){var t=this,f=r[t+"Template"],n=i.API.getComponent(t);n.length&&f?(n.html(i.API.tmpl(f,r,i,u)),n.show()):n.hide()})}),n(document).on("cycle-destroyed",function(t,i){var r;n.each(["caption","overlay"],function(){var n=this,t=i[n+"Template"];i[n]&&t&&(r=i.API.getComponent("caption"),r.empty())})})}(jQuery),function(n){"use strict";var t=n.fn.cycle;n.fn.cycle=function(i){var r,f,u,e=n.makeArray(arguments);return"number"==n.type(i)?this.cycle("goto",i):"string"==n.type(i)?this.each(function(){var o;return r=i,u=n(this).data("cycle.opts"),void 0===u?void t.log('slideshow must be initialized before sending commands; "'+r+'" ignored'):(r="goto"==r?"jump":r,f=u.API[r],n.isFunction(f)?(o=n.makeArray(e),o.shift(),f.apply(u.API,o)):void t.log("unknown command: ",r))}):t.apply(this,arguments)},n.extend(n.fn.cycle,t),n.extend(t.API,{next:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?-1:1,n.allowWrap===!1&&n.currSlide+t>=n.slideCount||(n.API.advanceSlide(t),n.API.trigger("cycle-next",[n]).log("cycle-next")))},prev:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?1:-1,n.allowWrap===!1&&n.currSlide+t<0||(n.API.advanceSlide(t),n.API.trigger("cycle-prev",[n]).log("cycle-prev")))},destroy:function(){this.stop();var t=this.opts(),i=n.isFunction(n._data)?n._data:n.noop;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stop(),t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed"),t.container.removeData(),i(t.container[0],"parsedAttrs",!1),t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass)),t.slides.each(function(){var r=n(this);r.removeData(),r.removeClass(t.slideClass),i(this,"parsedAttrs",!1)})},jump:function(n,t){var u,i=this.opts(),r;if(!i.busy||i.manualTrump){if(r=parseInt(n,10),isNaN(r)||0>r||r>=i.slides.length)return void i.API.log("goto: invalid slide index: "+r);if(r==i.currSlide)return void i.API.log("goto: skipping, already on slide",r);i.nextSlide=r,clearTimeout(i.timeoutId),i.timeoutId=0,i.API.log("goto: ",r," (zero-index)"),u=i.currSlide<i.nextSlide,i._tempFx=t,i.API.prepareTx(!0,u)}},stop:function(){var t=this.opts(),i=t.container;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stopTransition(),t.pauseOnHover&&(t.pauseOnHover!==!0&&(i=n(t.pauseOnHover)),i.off("mouseenter mouseleave")),t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var n=this.opts();n.API.destroy(),n.container.cycle()},remove:function(t){for(var u,f,i=this.opts(),e=[],o=1,r=0;r<i.slides.length;r++)u=i.slides[r],r==t?f=u:(e.push(u),n(u).data("cycle.opts").slideNum=o,o++);f&&(i.slides=n(e),i.slideCount--,n(f).remove(),t==i.currSlide?i.API.advanceSlide(1):t<i.currSlide?i.currSlide--:i.currSlide++,i.API.trigger("cycle-slide-removed",[i,t,f]).log("cycle-slide-removed"),i.API.updateView())}}),n(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var i=n(this),u=i.data("cycle-cmd"),r=i.data("cycle-context")||".cycle-slideshow";n(r).cycle(u,i.data("cycle-arg"))})}(jQuery),function(n){"use strict";function t(t,i){var r;return t._hashFence?void(t._hashFence=!1):(r=window.location.hash.substring(1),void t.slides.each(function(u){if(n(this).data("cycle-hash")==r){if(i===!0)t.startingSlide=u;else{var f=t.currSlide<u;t.nextSlide=u,t.API.prepareTx(!0,f)}return!1}}))}n(document).on("cycle-pre-initialize",function(i,r){t(r,!0),r._onHashChange=function(){t(r,!1)},n(window).on("hashchange",r._onHashChange)}),n(document).on("cycle-update-view",function(n,t,i){i.hash&&"#"+i.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=i.hash)}),n(document).on("cycle-destroyed",function(t,i){i._onHashChange&&n(window).off("hashchange",i._onHashChange)})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{loader:!1}),n(document).on("cycle-bootstrap",function(t,i){function u(t,u){function h(t){var e;"wait"==i.loader?(o.push(t),0===f&&(o.sort(s),r.apply(i.API,[o,u]),i.container.removeClass("cycle-loading"))):(e=n(i.slides[i.currSlide]),r.apply(i.API,[t,u]),e.show(),i.container.removeClass("cycle-loading"))}function s(n,t){return n.data("index")-t.data("index")}var o=[],e,f;if("string"==n.type(t))t=n.trim(t);else if("array"===n.type(t))for(e=0;e<t.length;e++)t[e]=n(t[e])[0];t=n(t),f=t.length,f&&(t.css("visibility","hidden").appendTo("body").each(function(t){function l(){0==--c&&(--f,h(e))}var c=0,e=n(this),s=e.is("img")?e:e.find("img");return e.data("index",t),s=s.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),s.length?(c=s.length,void s.each(function(){this.complete?l():n(this).load(function(){l()}).on("error",function(){0==--c&&(i.API.log("slide skipped; img not loaded:",this.src),0==--f&&"wait"==i.loader&&r.apply(i.API,[o,u]))})})):(--f,void o.push(e))}),f&&i.container.addClass("cycle-loading"))}var r;i.loader&&(r=i.API.add,i.API.add=u)})}(jQuery),function(n){"use strict";function i(t,i,r){var u,f=t.API.getComponent("pager");f.each(function(){var f=n(this),e;i.pagerTemplate?(e=t.API.tmpl(i.pagerTemplate,i,t,r[0]),u=n(e).appendTo(f)):u=f.children().eq(t.slideCount-1);u.on(t.pagerEvent,function(n){t.pagerEventBubble||n.preventDefault(),t.API.page(f,n.currentTarget)})})}function t(n,t){var i=this.opts();if(!i.busy||i.manualTrump){var f=n.children().index(t),r=f,u=i.currSlide<r;i.currSlide!=r&&(i.nextSlide=r,i._tempFx=i.pagerFx,i.API.prepareTx(!0,u),i.API.trigger("cycle-pager-activated",[i,n,t]))}}n.extend(n.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>&bull;</span>"}),n(document).on("cycle-bootstrap",function(n,t,r){r.buildPagerLink=i}),n(document).on("cycle-slide-added",function(n,i,r,u){i.pager&&(i.API.buildPagerLink(i,r,u),i.API.page=t)}),n(document).on("cycle-slide-removed",function(t,i,r){if(i.pager){var u=i.API.getComponent("pager");u.each(function(){var t=n(this);n(t.children()[r]).remove()})}}),n(document).on("cycle-update-view",function(t,i){var r;i.pager&&(r=i.API.getComponent("pager"),r.each(function(){n(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),n(document).on("cycle-destroyed",function(n,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),n(document).on("cycle-initialized",function(n,t){if(t.API.getComponent("next").on(t.nextEvent,function(n){n.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(n){n.preventDefault(),t.API.prev()}),t.swipe){var r=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",i=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(r,function(){t._tempFx=t.swipeFx,t.API.next()}),t.container.on(i,function(){t._tempFx=t.swipeFx,t.API.prev()})}}),n(document).on("cycle-update-view",function(n,t){if(!t.allowWrap){var i=t.disabledClass,u=t.API.getComponent("next"),r=t.API.getComponent("prev"),e=t._prevBoundry||0,f=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1;t.currSlide==f?u.addClass(i).prop("disabled",!0):u.removeClass(i).prop("disabled",!1),t.currSlide===e?r.addClass(i).prop("disabled",!0):r.removeClass(i).prop("disabled",!1)}}),n(document).on("cycle-destroyed",function(n,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{progressive:!1}),n(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var r,o,u=i.API,e=u.next,h=u.prev,f=u.prepareTx,s=n.type(i.progressive);if("array"==s)r=i.progressive;else if(n.isFunction(i.progressive))r=i.progressive(i);else if("string"==s){if(o=n(i.progressive),r=n.trim(o.html()),!r)return;if(/^(\[)/.test(r))try{r=n.parseJSON(r)}catch(c){return void u.log("error parsing progressive slides",c)}else r=r.split(new RegExp(o.data("cycle-split")||"\n")),r[r.length-1]||r.pop()}f&&(u.prepareTx=function(n,t){var e,u;return n||0===r.length?void f.apply(i.API,[n,t]):void(t&&i.currSlide==i.slideCount-1?(u=r[0],r=r.slice(1),i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(u)):t||0!==i.currSlide?f.apply(i.API,[n,t]):(e=r.length-1,u=r[e],r=r.slice(0,e),i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(u,!0)))}),e&&(u.next=function(){var n=this.opts(),t;r.length&&n.currSlide==n.slideCount-1?(t=r[0],r=r.slice(1),n.container.one("cycle-slide-added",function(n,t){e.apply(t.API),t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(t)):e.apply(n.API)}),h&&(u.prev=function(){var n=this.opts(),t,i;r.length&&0===n.currSlide?(t=r.length-1,i=r[t],r=r.slice(0,t),n.container.one("cycle-slide-added",function(n,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(i,!0)):h.apply(n.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),n.extend(n.fn.cycle.API,{tmpl:function(t,i){var u=new RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),t.replace(u,function(t,i){for(var o,f,u,s=i.split("."),e=0;e<r.length;e++)if(f=r[e]){if(s.length>1)for(u=f,o=0;o<s.length;o++)f=u,u=u[s[o]]||i;else u=f[i];if(n.isFunction(u))return u.apply(f,r);if(void 0!==u&&null!==u&&u!=i)return u}return i})}})}(jQuery);/*! jQuery UI - v1.10.0 - 2013-02-04
  * http://jqueryui.com
  * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.position.js, jquery.ui.autocomplete.js, jquery.ui.menu.js
  * Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */
  (function(n,t){function r(t,r){var e,o,u,f=t.nodeName.toLowerCase();return"area"===f?(e=t.parentNode,o=e.name,!t.href||!o||e.nodeName.toLowerCase()!=="map"?!1:(u=n("img[usemap=#"+o+"]")[0],!!u&&i(u))):(/input|select|textarea|button|object/.test(f)?!t.disabled:"a"===f?t.href||r:r)&&i(t)}function i(t){return n.expr.filters.visible(t)&&!n(t).parents().addBack().filter(function(){return n.css(this,"visibility")==="hidden"}).length}var f=0,u=/^ui-id-\d+$/;(n.ui=n.ui||{},n.ui.version)||(n.extend(n.ui,{version:"1.10.0",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}}),n.fn.extend({_focus:n.fn.focus,focus:function(t,i){return typeof t=="number"?this.each(function(){var r=this;setTimeout(function(){n(r).focus(),i&&i.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;return t=n.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(n.css(this,"position"))&&/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?n(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var r=n(this[0]),f,u;r.length&&r[0]!==document;){if(f=r.css("position"),(f==="absolute"||f==="relative"||f==="fixed")&&(u=parseInt(r.css("zIndex"),10),!isNaN(u)&&u!==0))return u;r=r.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++f)})},removeUniqueId:function(){return this.each(function(){u.test(this.id)&&n(this).removeAttr("id")})}}),n.extend(n.expr[":"],{data:n.expr.createPseudo?n.expr.createPseudo(function(t){return function(i){return!!n.data(i,t)}}):function(t,i,r){return!!n.data(t,r[3])},focusable:function(t){return r(t,!isNaN(n.attr(t,"tabindex")))},tabbable:function(t){var u=n.attr(t,"tabindex"),i=isNaN(u);return(i||u>=0)&&r(t,!i)}}),n("<a>").outerWidth(1).jquery||n.each(["Width","Height"],function(i,r){function e(t,i,r,u){return n.each(o,function(){i-=parseFloat(n.css(t,"padding"+this))||0,r&&(i-=parseFloat(n.css(t,"border"+this+"Width"))||0),u&&(i-=parseFloat(n.css(t,"margin"+this))||0)}),i}var o=r==="Width"?["Left","Right"]:["Top","Bottom"],u=r.toLowerCase(),f={innerWidth:n.fn.innerWidth,innerHeight:n.fn.innerHeight,outerWidth:n.fn.outerWidth,outerHeight:n.fn.outerHeight};n.fn["inner"+r]=function(i){return i===t?f["inner"+r].call(this):this.each(function(){n(this).css(u,e(this,i)+"px")})},n.fn["outer"+r]=function(t,i){return typeof t!="number"?f["outer"+r].call(this,t):this.each(function(){n(this).css(u,e(this,t,!0,i)+"px")})}}),n.fn.addBack||(n.fn.addBack=function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}),n("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(n.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,n.camelCase(i)):t.call(this)}}(n.fn.removeData)),n.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),n.support.selectstart="onselectstart"in document.createElement("div"),n.fn.extend({disableSelection:function(){return this.bind((n.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(n){n.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),n.extend(n.ui,{plugin:{add:function(t,i,r){var u,f=n.ui[t].prototype;for(u in r)f.plugins[u]=f.plugins[u]||[],f.plugins[u].push([i,r[u]])},call:function(n,t,i){var r,u=n.plugins[t];if(u&&n.element[0].parentNode&&n.element[0].parentNode.nodeType!==11)for(r=0;r<u.length;r++)n.options[u[r][0]]&&u[r][1].apply(n.element,i)}},hasScroll:function(t,i){if(n(t).css("overflow")==="hidden")return!1;var r=i&&i==="left"?"scrollLeft":"scrollTop",u=!1;return t[r]>0?!0:(t[r]=1,u=t[r]>0,t[r]=0,u)}}))})(jQuery),function(n,t){var u=0,i=Array.prototype.slice,r=n.cleanData;n.cleanData=function(t){for(var u=0,i;(i=t[u])!=null;u++)try{n(i).triggerHandler("remove")}catch(f){}r(t)},n.widget=function(t,i,r){var s,e,u,o,h={},f=t.split(".")[0];t=t.split(".")[1],s=f+"-"+t,r||(r=i,i=n.Widget),n.expr[":"][s.toLowerCase()]=function(t){return!!n.data(t,s)},n[f]=n[f]||{},e=n[f][t],u=n[f][t]=function(n,t){if(!this._createWidget)return new u(n,t);arguments.length&&this._createWidget(n,t)},n.extend(u,e,{version:r.version,_proto:n.extend({},r),_childConstructors:[]}),o=new i,o.options=n.widget.extend({},o.options),n.each(r,function(t,r){if(!n.isFunction(r)){h[t]=r;return}h[t]=function(){var u=function(){return i.prototype[t].apply(this,arguments)},n=function(n){return i.prototype[t].apply(this,n)};return function(){var i=this._super,f=this._superApply,t;return this._super=u,this._superApply=n,t=r.apply(this,arguments),this._super=i,this._superApply=f,t}}()}),u.prototype=n.widget.extend(o,{widgetEventPrefix:e?o.widgetEventPrefix:t},h,{constructor:u,namespace:f,widgetName:t,widgetFullName:s}),e?(n.each(e._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,u,i._proto)}),delete e._childConstructors):i._childConstructors.push(u),n.widget.bridge(t,u)},n.widget.extend=function(r){for(var o=i.call(arguments,1),e=0,s=o.length,u,f;e<s;e++)for(u in o[e])f=o[e][u],o[e].hasOwnProperty(u)&&f!==t&&(r[u]=n.isPlainObject(f)?n.isPlainObject(r[u])?n.widget.extend({},r[u],f):n.widget.extend({},f):f);return r},n.widget.bridge=function(r,u){var f=u.prototype.widgetFullName||r;n.fn[r]=function(e){var h=typeof e=="string",o=i.call(arguments,1),s=this;return e=!h&&o.length?n.widget.extend.apply(null,[e].concat(o)):e,h?this.each(function(){var i,u=n.data(this,f);return u?!n.isFunction(u[e])||e.charAt(0)==="_"?n.error("no such method '"+e+"' for "+r+" widget instance"):(i=u[e].apply(u,o),i!==u&&i!==t?(s=i&&i.jquery?s.pushStack(i.get()):i,!1):void 0):n.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+e+"'")}):this.each(function(){var t=n.data(this,f);t?t.option(e||{})._init():n.data(this,f,new u(e,this))}),s}},n.Widget=function(){},n.Widget._childConstructors=[],n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0],this.element=n(i),this.uuid=u++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=n.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=n(),this.hoverable=n(),this.focusable=n(),i!==this&&(n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:n.noop,_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(n.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:n.noop,widget:function(){return this.element},option:function(i,r){var o=i,u,f,e;if(arguments.length===0)return n.widget.extend({},this.options);if(typeof i=="string")if(o={},u=i.split("."),i=u.shift(),u.length){for(f=o[i]=n.widget.extend({},this.options[i]),e=0;e<u.length-1;e++)f[u[e]]=f[u[e]]||{},f=f[u[e]];if(i=u.pop(),r===t)return f[i]===t?null:f[i];f[i]=r}else{if(r===t)return this.options[i]===t?null:this.options[i];o[i]=r}return this._setOptions(o),this},_setOptions:function(n){var t;for(t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return this.options[n]=t,n==="disabled"&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(t,i,r){var f,u=this;typeof t!="boolean"&&(r=i,i=t,t=!1),r?(i=f=n(i),this.bindings=this.bindings.add(i)):(r=i,i=this.element,f=this.widget()),n.each(r,function(r,e){function o(){if(t||u.options.disabled!==!0&&!n(this).hasClass("ui-state-disabled"))return(typeof e=="string"?u[e]:e).apply(u,arguments)}typeof e!="string"&&(o.guid=e.guid=e.guid||o.guid||n.guid++);var c=r.match(/^(\w+)\s*(.*)$/),h=c[1]+u.eventNamespace,s=c[2];s?f.delegate(s,h,o):i.bind(h,o)})},_off:function(n,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,n.unbind(t).undelegate(t)},_delay:function(n,t){function r(){return(typeof n=="string"?i[n]:n).apply(i,arguments)}var i=this;return setTimeout(r,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){n(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){n(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){n(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){n(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,r){var f,u,e=this.options[t];if(r=r||{},i=n.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],u=i.originalEvent,u)for(f in u)f in i||(i[f]=u[f]);return this.element.trigger(i,r),!(n.isFunction(e)&&e.apply(this.element[0],[i].concat(r))===!1||i.isDefaultPrevented())}},n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){typeof u=="string"&&(u={effect:u});var o,e=u?u===!0||typeof u=="number"?i:u.effect||i:t;u=u||{},typeof u=="number"&&(u={duration:u}),o=!n.isEmptyObject(u),u.complete=f,u.delay&&r.delay(u.delay),o&&n.effects&&n.effects.effect[e]?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t](),f&&f.call(r[0]),i()})}})}(jQuery),function(n,t){function c(n,t,i){return[parseInt(n[0],10)*(s.test(n[0])?t/100:1),parseInt(n[1],10)*(s.test(n[1])?i/100:1)]}function u(t,i){return parseInt(n.css(t,i),10)||0}function y(t){var i=t[0];return i.nodeType===9?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:n.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}n.ui=n.ui||{};var f,r=Math.max,i=Math.abs,l=Math.round,a=/left|center|right/,o=/top|center|bottom/,e=/[\+\-]\d+%?/,h=/^\w+/,s=/%$/,v=n.fn.position;n.position={scrollbarWidth:function(){if(f!==t)return f;var u,r,i=n("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),e=i.children()[0];return n("body").append(i),u=e.offsetWidth,i.css("overflow","scroll"),r=e.offsetWidth,u===r&&(r=i[0].clientWidth),i.remove(),f=u-r},getScrollInfo:function(t){var r=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),f=r==="scroll"||r==="auto"&&t.width<t.element[0].scrollWidth,u=i==="scroll"||i==="auto"&&t.height<t.element[0].scrollHeight;return{width:f?n.position.scrollbarWidth():0,height:u?n.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=n(t||window),r=n.isWindow(i[0]);return{element:i,isWindow:r,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:r?i.width():i.outerWidth(),height:r?i.height():i.outerHeight()}}},n.fn.position=function(t){if(!t||!t.of)return v.apply(this,arguments);t=n.extend({},t);var k,f,s,w,p,d,nt=n(t.of),it=n.position.getWithinInfo(t.within),tt=n.position.getScrollInfo(it),b=(t.collision||"flip").split(" "),g={};return d=y(nt),nt[0].preventDefault&&(t.at="left top"),f=d.width,s=d.height,w=d.offset,p=n.extend({},w),n.each(["my","at"],function(){var n=(t[this]||"").split(" "),r,i;n.length===1&&(n=a.test(n[0])?n.concat(["center"]):o.test(n[0])?["center"].concat(n):["center","center"]),n[0]=a.test(n[0])?n[0]:"center",n[1]=o.test(n[1])?n[1]:"center",r=e.exec(n[0]),i=e.exec(n[1]),g[this]=[r?r[0]:0,i?i[0]:0],t[this]=[h.exec(n[0])[0],h.exec(n[1])[0]]}),b.length===1&&(b[1]=b[0]),t.at[0]==="right"?p.left+=f:t.at[0]==="center"&&(p.left+=f/2),t.at[1]==="bottom"?p.top+=s:t.at[1]==="center"&&(p.top+=s/2),k=c(g.at,f,s),p.left+=k[0],p.top+=k[1],this.each(function(){var y,ut,a=n(this),o=a.outerWidth(),h=a.outerHeight(),rt=u(this,"marginLeft"),d=u(this,"marginTop"),ft=o+rt+u(this,"marginRight")+tt.width,et=h+d+u(this,"marginBottom")+tt.height,e=n.extend({},p),v=c(g.my,a.outerWidth(),a.outerHeight());t.my[0]==="right"?e.left-=o:t.my[0]==="center"&&(e.left-=o/2),t.my[1]==="bottom"?e.top-=h:t.my[1]==="center"&&(e.top-=h/2),e.left+=v[0],e.top+=v[1],n.support.offsetFractions||(e.left=l(e.left),e.top=l(e.top)),y={marginLeft:rt,marginTop:d},n.each(["left","top"],function(i,r){n.ui.position[b[i]]&&n.ui.position[b[i]][r](e,{targetWidth:f,targetHeight:s,elemWidth:o,elemHeight:h,collisionPosition:y,collisionWidth:ft,collisionHeight:et,offset:[k[0]+v[0],k[1]+v[1]],my:t.my,at:t.at,within:it,elem:a})}),t.using&&(ut=function(n){var l=w.left-e.left,v=l+f-o,c=w.top-e.top,y=c+s-h,u={target:{element:nt,left:w.left,top:w.top,width:f,height:s},element:{element:a,left:e.left,top:e.top,width:o,height:h},horizontal:v<0?"left":l>0?"right":"center",vertical:y<0?"top":c>0?"bottom":"middle"};f<o&&i(l+v)<f&&(u.horizontal="center"),s<h&&i(c+y)<s&&(u.vertical="middle"),u.important=r(i(l),i(v))>r(i(c),i(y))?"horizontal":"vertical",t.using.call(this,n,u)}),a.offset(n.extend(e,{using:ut}))})},n.ui.position={fit:{left:function(n,t){var e=t.within,u=e.isWindow?e.scrollLeft:e.offset.left,o=e.width,s=n.left-t.collisionPosition.marginLeft,i=u-s,f=s+t.collisionWidth-o-u,h;t.collisionWidth>o?i>0&&f<=0?(h=n.left+i+t.collisionWidth-o-u,n.left+=i-h):n.left=f>0&&i<=0?u:i>f?u+o-t.collisionWidth:u:i>0?n.left+=i:f>0?n.left-=f:n.left=r(n.left-s,n.left)},top:function(n,t){var o=t.within,u=o.isWindow?o.scrollTop:o.offset.top,e=t.within.height,s=n.top-t.collisionPosition.marginTop,i=u-s,f=s+t.collisionHeight-e-u,h;t.collisionHeight>e?i>0&&f<=0?(h=n.top+i+t.collisionHeight-e-u,n.top+=i-h):n.top=f>0&&i<=0?u:i>f?u+e-t.collisionHeight:u:i>0?n.top+=i:f>0?n.top-=f:n.top=r(n.top-s,n.top)}},flip:{left:function(n,t){var r=t.within,y=r.offset.left+r.scrollLeft,c=r.width,h=r.isWindow?r.scrollLeft:r.offset.left,l=n.left-t.collisionPosition.marginLeft,v=l-h,a=l+t.collisionWidth-c-h,e=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,u=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,f=-2*t.offset[0],o,s;v<0?(o=n.left+e+u+f+t.collisionWidth-c-y,(o<0||o<i(v))&&(n.left+=e+u+f)):a>0&&(s=n.left-t.collisionPosition.marginLeft+e+u+f-h,(s>0||i(s)<a)&&(n.left+=e+u+f))},top:function(n,t){var f=t.within,y=f.offset.top+f.scrollTop,a=f.height,l=f.isWindow?f.scrollTop:f.offset.top,v=n.top-t.collisionPosition.marginTop,c=v-l,h=v+t.collisionHeight-a-l,p=t.my[1]==="top",e=p?-t.elemHeight:t.my[1]==="bottom"?t.elemHeight:0,u=t.at[1]==="top"?t.targetHeight:t.at[1]==="bottom"?-t.targetHeight:0,r=-2*t.offset[1],s,o;c<0?(o=n.top+e+u+r+t.collisionHeight-a-y,n.top+e+u+r>c&&(o<0||o<i(c))&&(n.top+=e+u+r)):h>0&&(s=n.top-t.collisionPosition.marginTop+e+u+r-l,n.top+e+u+r>h&&(s>0||i(s)<h)&&(n.top+=e+u+r))}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments),n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments),n.ui.position.fit.top.apply(this,arguments)}}},function(){var t,r,i,e,o,u=document.getElementsByTagName("body")[0],f=document.createElement("div");t=document.createElement(u?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},u&&n.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in i)t.style[o]=i[o];t.appendChild(f),r=u||document.documentElement,r.insertBefore(t,r.firstChild),f.style.cssText="position: absolute; left: 10.7432222px;",e=n(f).offset().left,n.support.offsetFractions=e>10&&e<11,t.innerHTML="",r.removeChild(t)}()}(jQuery),function(n){var i=0;n.widget("ui.autocomplete",{version:"1.10.0",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,r,i;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(u){if(this.element.prop("readOnly")){t=!0,i=!0,r=!0;return}t=!1,i=!1,r=!1;var f=n.ui.keyCode;switch(u.keyCode){case f.PAGE_UP:t=!0,this._move("previousPage",u);break;case f.PAGE_DOWN:t=!0,this._move("nextPage",u);break;case f.UP:t=!0,this._keyEvent("previous",u);break;case f.DOWN:t=!0,this._keyEvent("next",u);break;case f.ENTER:case f.NUMPAD_ENTER:this.menu.active&&(t=!0,u.preventDefault(),this.menu.select(u));break;case f.TAB:this.menu.active&&this.menu.select(u);break;case f.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(u),u.preventDefault());break;default:r=!0,this._searchTimeout(u)}},keypress:function(i){if(t){t=!1,i.preventDefault();return}if(!r){var u=n.ui.keyCode;switch(i.keyCode){case u.PAGE_UP:this._move("previousPage",i);break;case u.PAGE_DOWN:this._move("nextPage",i);break;case u.UP:this._keyEvent("previous",i);break;case u.DOWN:this._keyEvent("next",i)}}},input:function(n){if(i){i=!1,n.preventDefault();return}this._searchTimeout(n)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(n){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching),this.close(n),this._change(n)}}),this._initSource(),this.menu=n("<ul>").addClass("ui-autocomplete").appendTo(this._appendTo()).menu({input:n(),role:null}).zIndex(this.element.zIndex()+1).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];n(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(r){r.target!==t.element[0]&&r.target!==i&&!n.contains(i,r.target)&&t.close()})})},menufocus:function(t,i){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){n(t.target).trigger(t.originalEvent)});return}var r=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:r})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(n,t){var i=t.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=i})),!1!==this._trigger("select",n,{item:i})&&this._value(i.value),this.term=this._value(),this.close(n),this.selectedItem=i}}),this.liveRegion=n("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(n,t){this._super(n,t),n==="source"&&this._initSource(),n==="appendTo"&&this.menu.element.appendTo(this._appendTo()),n==="disabled"&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?n(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_isMultiLine:function(){return this.element.is("textarea")?!0:this.element.is("input")?!1:this.element.prop("isContentEditable")},_initSource:function(){var i,r,t=this;n.isArray(this.options.source)?(i=this.options.source,this.source=function(t,r){r(n.ui.autocomplete.filter(i,t.term))}):typeof this.options.source=="string"?(r=this.options.source,this.source=function(i,u){t.xhr&&t.xhr.abort(),t.xhr=n.ajax({url:r,data:i,dataType:"json",success:function(n){u(n)},error:function(){u([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(n,t){return(n=n!=null?n:this._value(),this.term=this._value(),n.length<this.options.minLength)?this.close(t):this._trigger("search",t)===!1?void 0:this._search(n)},_search:function(n){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:n},this._response())},_response:function(){var n=this,t=++i;return function(r){t===i&&n.__response(r),n.pending--,n.pending||n.element.removeClass("ui-autocomplete-loading")}},__response:function(n){n&&(n=this._normalize(n)),this._trigger("response",null,{content:n}),!this.options.disabled&&n&&n.length&&!this.cancelSearch?(this._suggest(n),this._trigger("open")):this._close()},close:function(n){this.cancelSearch=!0,this._close(n)},_close:function(n){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",n))},_change:function(n){this.previous!==this._value()&&this._trigger("change",n,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:n.map(t,function(t){return typeof t=="string"?{label:t,value:t}:n.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var i=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(i,t),this.menu.refresh(),i.show(),this._resizeMenu(),i.position(n.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var n=this.menu.element;n.outerWidth(Math.max(n.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var r=this;n.each(i,function(n,i){r._renderItemData(t,i)})},_renderItemData:function(n,t){return this._renderItem(n,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return n("<li>").append(n("<a>").text(i.label)).appendTo(t)},_move:function(n,t){if(!this.menu.element.is(":visible")){this.search(null,t);return}if(this.menu.isFirstItem()&&/^previous/.test(n)||this.menu.isLastItem()&&/^next/.test(n)){this._value(this.term),this.menu.blur();return}this.menu[n](t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(n,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(n,t),t.preventDefault())}}),n.extend(n.ui.autocomplete,{escapeRegex:function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var r=new RegExp(n.ui.autocomplete.escapeRegex(i),"i");return n.grep(t,function(n){return r.test(n.label||n.value||n)})}}),n.widget("ui.autocomplete",n.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(n){return n+(n>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(n){var t;(this._superApply(arguments),this.options.disabled||this.cancelSearch)||(t=n&&n.length?this.options.messages.results(n.length):this.options.messages.noResults,this.liveRegion.text(t))}})}(jQuery),function(n){n.widget("ui.menu",{version:"1.10.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,n.proxy(function(n){this.options.disabled&&n.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(n){n.preventDefault()},"click .ui-state-disabled > a":function(n){n.preventDefault()},"click .ui-menu-item:has(a)":function(t){var i=n(t.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(t),i.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var i=n(t.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(n,t){var i=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(n,i)},blur:function(t){this._delay(function(){n.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){n(t.target).closest(".ui-menu").length||this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=n(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function s(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,e,r,f,u,o=!0;switch(t.keyCode){case n.ui.keyCode.PAGE_UP:this.previousPage(t);break;case n.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case n.ui.keyCode.HOME:this._move("first","first",t);break;case n.ui.keyCode.END:this._move("last","last",t);break;case n.ui.keyCode.UP:this.previous(t);break;case n.ui.keyCode.DOWN:this.next(t);break;case n.ui.keyCode.LEFT:this.collapse(t);break;case n.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case n.ui.keyCode.ENTER:case n.ui.keyCode.SPACE:this._activate(t);break;case n.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,e=this.previousFilter||"",r=String.fromCharCode(t.keyCode),f=!1,clearTimeout(this.filterTimer),r===e?f=!0:r=e+r,u=new RegExp("^"+s(r),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())}),i=f&&i.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):i,i.length||(r=String.fromCharCode(t.keyCode),u=new RegExp("^"+s(r),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())})),i.length?(this.focus(t,i),i.length>1?(this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}o&&t.preventDefault()},_activate:function(n){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(n):this.select(n))},refresh:function(){var t,r=this.options.icons.submenu,i=this.element.find(this.options.menus);i.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var i=n(this),t=i.prev("a"),u=n("<span>").addClass("ui-menu-icon ui-icon "+r).data("ui-menu-submenu-carat",!0);t.attr("aria-haspopup","true").prepend(u),i.attr("aria-labelledby",t.attr("id"))}),t=i.add(this.element),t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=n(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!n.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(n,t){n==="icons"&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),this._super(n,t)},focus:function(n,t){var i,r;this.blur(n,n&&n.type==="focus"),this._scrollIntoView(t),this.active=t.first(),r=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),n&&n.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=t.children(".ui-menu"),i.length&&/^mouse/.test(n.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",n,{item:t})},_scrollIntoView:function(t){var o,e,i,f,u,r;this._hasScroll()&&(o=parseFloat(n.css(this.activeMenu[0],"borderTopWidth"))||0,e=parseFloat(n.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-o-e,f=this.activeMenu.scrollTop(),u=this.activeMenu.height(),r=t.height(),i<0?this.activeMenu.scrollTop(f+i):i+r>u&&this.activeMenu.scrollTop(f+i-u+r))},blur:function(n,t){(t||clearTimeout(this.timer),this.active)&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",n,{item:this.active}))},_startOpening:function(n){(clearTimeout(this.timer),n.attr("aria-hidden")==="true")&&(this.timer=this._delay(function(){this._close(),this._open(n)},this.delay))},_open:function(t){var i=n.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var r=i?this.element:n(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this.activeMenu=r},this.delay)},_close:function(n){n||(n=this.active?this.active.parent():this.element),n.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(n){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(n,t))},expand:function(n){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(n,t)}))},next:function(n){this._move("next","first",n)},previous:function(n){this._move("prev","last",n)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(n,t,i){var r;this.active&&(r=n==="first"||n==="last"?this.active[n==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[n+"All"](".ui-menu-item").eq(0)),r&&r.length&&this.active||(r=this.activeMenu.children(".ui-menu-item")[t]()),this.focus(i,r)},nextPage:function(t){var i,u,r;if(!this.active){this.next(t);return}this.isLastItem()||(this._hasScroll()?(u=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=n(this),i.offset().top-u-r<0}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]()))},previousPage:function(t){var i,u,r;if(!this.active){this.next(t);return}this.isFirstItem()||(this._hasScroll()?(u=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=n(this),i.offset().top-u+r>0}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item").first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||n(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)}})}(jQuery);function setCookie(n,t,i,r){if(t=escape(t),r==""){var u=new Date;u.setMonth(u.getMonth()+12),r=u.toGMTString()}document.cookie=n+"="+t+";expires="+r+";path=/"}function getCookieValue(n){var t=document.cookie,i=t.indexOf(" "+n+"="),r;return i==-1&&(i=t.indexOf(n+"=")),i==-1?t=null:(i=t.indexOf("=",i)+1,r=t.indexOf(";",i),r==-1&&(r=t.length),t=unescape(t.substring(i,r))),t}var pastDate;if(document.URL.indexOf("mc_id=")>-1){var cookieDate=new Date,referrerString=document.referrer,landingString=document.URL;document.referrer==""&&(referrerString="DIRECT: "+document.URL),setCookie("ClickDate",cookieDate,"",""),setCookie("FullRef",referrerString,"",""),setCookie("LandingURL",landingString,"","")}document.URL.indexOf("killcookie")!=-1&&(pastDate=new Date,pastDate.setMonth(pastDate.getMonth()-12),pastDate=pastDate.toGMTString(),setCookie("ClickDate",cookieDate,"",pastDate),setCookie("FullRef",referrerString,"",pastDate),setCookie("LandingURL",landingURL,"",pastDate));function checkBrowserSize(){windowWidth=window.outerWidth;var n=jQuery("body").width(),t=n-windowWidth;actualWindowSize=windowWidth-t,n>976&&(newWindowSize="browser-large"),n<=975&&n>753&&(newWindowSize="browser-large"),n<=752&&(newWindowSize="browser-small"),jQuery(".browserinfo").html(n+newWindowSize),windowSize!=newWindowSize&&(windowSize=newWindowSize,loadGlobalNav(),loadClinicalTrials(),loadOverview(),overviewTitle(),touchEnabled())}function loadGlobalNav(){windowSize=="browser-large"?(jQuery("body").removeClass("browser-small"),jQuery("body").removeClass("touch-enabled"),jQuery("body").addClass("browser-large"),jQuery("#mayo-header #globalsearch div").show(),jQuery("#mayo-header .nav-both").show(),jQuery("#mayo-header .nav-both > a").hide(),jQuery("#mayo-header .nav-both > .nav").show(),jQuery("#mayo-header .nav > li").show(),jQuery("#mayo-header .nav > li div").show(),jQuery(".lang").show()):windowSize=="browser-small"&&(jQuery("body").removeClass("browser-large"),jQuery("body").removeClass("touch-enabled"),jQuery("body").addClass("browser-small"),jQuery(".nav-both").hide(),typeof window.ontouchstart!="undefined"&&jQuery("body").addClass("touch-enabled"))}function loadOverview(){jQuery("body").hasClass("browser-small")&&!jQuery("#mayo-header .nav > li > div > ul > li").hasClass("mobileOverview")&&jQuery("#mayo-header .nav > li > a").each(function(){overviewLink=jQuery(this).attr("href"),IDLink=jQuery(this).attr("id"),jQuery(this).removeAttr("id"),jQuery(this).parent().children("div").children("ul").prepend('<li class="mobileOverview"><a href="'+overviewLink+'" id="'+IDLink+'">Overview</a></li>')})}function overviewTitle(){jQuery("body").hasClass("browser-large")&&typeof window.ontouchstart=="undefined"?(jQuery(".nav-both .nav div ul > .mobileOverview").hide(),jQuery("#mayo-header .nav > li > div").each(function(){jQuery(this).removeAttr("style")})):jQuery("#mayo-header .nav-both .nav div ul > .mobileOverview").show()}function touchEnabled(){jQuery("body").hasClass("touch-enabled")&&(jQuery("#mayo-header .nav > li > div").each(function(){jQuery("#mayo-header .nav > li > div").attr("aria-hidden","true")}),jQuery("li.parentLinks > div").attr("aria-hidden","false"))}function loadClinicalTrials(){var n;windowSize=="browser-large"?(jQuery(".section-nav").show(),jQuery("#mayo-header .searchform").show(),jQuery("#mayo-header .searchform  input[type=submit]").val("search"),jQuery(".ct-details h3").next("div").each(function(){jQuery(this).show()}),jQuery(".submit > input[type=submit]").val("search"),jQuery(".studies-ckbox").insertAfter(".submit > input[type=submit]"),jQuery("table.locations > tbody > tr").each(function(){var t=jQuery(this).children("td.status"),n=jQuery(this).children("td.contact");t.insertBefore(n)}),n=jQuery(".details-contact"),n.insertAfter("#nav > ul"),jQuery(".mb-filter-container").show(),jQuery(".submit > input[type=submit]").val("search"),jQuery(".studies-ckbox").insertAfter(".submit > input[type=submit]")):windowSize=="browser-small"&&($("#mayo-header .searchform").removeClass("p-6"),jQuery(".section-nav").hide(),jQuery("#mayo-header .searchform").hide(),jQuery(".mb-sections").removeClass("disabled").removeClass("close"),jQuery(".mb-find").removeClass("disabled").removeClass("close"),jQuery(".ct-details h3").next("div").each(function(){jQuery(this).hide()}),jQuery("table.locations > tbody > tr").each(function(){var t=jQuery(this).children("td.contact"),n=jQuery(this).children("td.status");t.insertBefore(n)}),n=jQuery(".details-contact"),n.insertBefore(".other-topics"),jQuery(".mb-nav .searchform  input[type=submit]").val("search studies"),jQuery(".studies-ckbox").insertAfter(".submit > input[type=text]"),jQuery(".mb-filter-container").hide())}var windowSize="",windoWidth=0,actualSize=0;jQuery(document).ready(function(){function n(){return typeof window.ontouchstart!="undefined"}checkBrowserSize(),setInterval("checkBrowserSize()",1e3);jQuery(".menu a").on("click",function(){if(jQuery("body").hasClass("browser-small"))return jQuery("#mayo-header .searchform").hide(),jQuery("#mayo-header .nav-both").toggle(0,function(){jQuery(".nav-both a").show(),jQuery(".nav-both .nav").show(),jQuery(".lang").hide(),jQuery(".nav > li").each(function(){jQuery(this).hide(),jQuery(this).hasClass("current")&&(jQuery(this).addClass("parentLinks").show(),jQuery(this).find("div").show())}),jQuery('.translate-dropdown-container a.translate-btn[aria-controls="mobile-available-languages"]').removeClass("open")}),touchEnabled(),!1});jQuery(".search > a").on("click",function(){if(jQuery("body").hasClass("browser-small"))return jQuery("#mayo-header .nav-both").hide(),jQuery("#mayo-header .searchform").toggle(),jQuery('.translate-dropdown-container a.translate-btn[aria-controls="mobile-available-languages"]').removeClass("open"),!1});jQuery(".nav-both > a").on("click",function(){if(jQuery("body").hasClass("browser-small"))return jQuery(this).hide(),jQuery(".nav > li").each(function(){jQuery(this).removeClass("parentLinks").show(),jQuery(this).children("div").hide(),jQuery(this).children("a").show()}),touchEnabled(),!1});jQuery(".nav > li > a").on("click",function(){if(jQuery("body").hasClass("browser-small"))return jQuery(".nav-both a").show(),jQuery("#mayo-header .nav > li").each(function(){jQuery(this).hide()}),jQuery(this).parent().addClass("parentLinks").show(),jQuery(this).next("div").show().find("li").show(),jQuery(".lang").hide(),touchEnabled(),!1});jQuery(function(){jQuery(".nav-both").append('<div class="mobile-only"></div>');var i=jQuery("#gnavone > .nav-dynamic").clone(),t=jQuery("#gnavtwo > .nav-global").clone(),n=jQuery("#gnavtwo > .socialmedia").clone();jQuery(".nav-both > div.mobile-only").append(i,t,n)}),jQuery(function(){if(jQuery("body").hasClass("browser-large")&&n()){jQuery("#mayo-header .nav > li > div > ul > li").hasClass("mobileOverview")||jQuery("#mayo-header .nav > li > a").each(function(){overviewLink=jQuery(this).attr("href"),IDLink=jQuery(this).attr("id"),jQuery(this).removeAttr("id"),jQuery(this).parent().children("div").children("ul").prepend('<li class="mobileOverview"><a href="'+overviewLink+'" id="'+IDLink+'">Overview</a></li>')}),jQuery("#mayo-header .nav > li > div").each(function(){jQuery(this).attr("aria-hidden","true").hide()});jQuery("#mayo-header .nav > li > a").on("click",function(){return jQuery("#mayo-header .nav > li > div").each(function(){jQuery(this).attr("aria-hidden","true").hide("fast")}),jQuery(this).next("div").toggle(),jQuery(this).next("div").is(":hidden")?jQuery(this).next("div").attr("aria-hidden","true"):jQuery(this).next("div").attr("aria-hidden","false"),!1});return!1}}),jQuery("ul.nav").attr("aria-hidden","false"),jQuery("#mayo-header .nav > li").each(function(){jQuery(this).attr("role","menuitem").attr("aria-haspopup","true")}),jQuery("#mayo-header .nav > li > div").each(function(){jQuery(this).attr("aria-hidden","true").attr("role","menu")}),jQuery("#mayo-header .nav > li > a").hover(function(){jQuery(this).parent().children("div").attr("aria-hidden","false")},function(){jQuery(this).parent().children("div").attr("aria-hidden","true")}),jQuery(function(){if(jQuery("body").hasClass("browser-small")){jQuery(".menu > a").attr({role:"button","aria-controls":"navigation","aria-expanded":"false"});var t=function(){jQuery("body > #mayo-wrapper").attr({"data-nav-visible":"true"}),jQuery(".menu > a").attr({"aria-expanded":"true"})},n=function(){jQuery("body > #mayo-wrapper").attr({"data-nav-visible":"false"}),jQuery(".menu > a").attr({"aria-expanded":"false"})};jQuery(".menu > a").on("click",function(i){i.preventDefault(),jQuery(this).attr("aria-expanded")=="true"?n():t()})}})});$(document).ready(function(){$(window).load(function(){if($("#survey").length>0){$.fancybox.open("#survey",{maxWidth:460,maxHeight:450,fitToView:!0,width:"70%",height:"70%",autoSize:!0,closeClick:!1,openEffect:"none",closeEffect:"none",closeBtn:!1});$("#survey .linkbutton li:first a").on("click",function(){var n=$(this).attr("href");return window.open(n,"_blank"),$.fancybox.close("#survey"),!1});$("#survey .linkbutton li:nth-child(2) a").on("click",function(){return $.fancybox.close("#survey"),!1})}})});;