/*!
 * jQuery JavaScript Library v1.9.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-2-4
 */
(function(t,e){function n(t){var e=t.length,n=le.type(t);return le.isWindow(t)?!1:t.nodeType===1&&e?!0:"array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t)}function i(t){var e=Ce[t]={};return le.each(t.match(ce)||[],function(t,n){e[n]=!0}),e}function s(t,n,i,s){if(le.acceptData(t)){var r,o,a=le.expando,l="string"==typeof n,u=t.nodeType,c=u?le.cache:t,h=u?t[a]:t[a]&&a;if(h&&c[h]&&(s||c[h].data)||!l||i!==e)return h||(u?t[a]=h=Z.pop()||le.guid++:h=a),c[h]||(c[h]={},u||(c[h].toJSON=le.noop)),("object"==typeof n||"function"==typeof n)&&(s?c[h]=le.extend(c[h],n):c[h].data=le.extend(c[h].data,n)),r=c[h],s||(r.data||(r.data={}),r=r.data),i!==e&&(r[le.camelCase(n)]=i),l?(o=r[n],null==o&&(o=r[le.camelCase(n)])):o=r,o}}function r(t,e,n){if(le.acceptData(t)){var i,s,r,o=t.nodeType,l=o?le.cache:t,u=o?t[le.expando]:le.expando;if(l[u]){if(e&&(r=n?l[u]:l[u].data)){le.isArray(e)?e=e.concat(le.map(e,le.camelCase)):e in r?e=[e]:(e=le.camelCase(e),e=e in r?[e]:e.split(" "));for(i=0,s=e.length;s>i;i++)delete r[e[i]];if(!(n?a:le.isEmptyObject)(r))return}(n||(delete l[u].data,a(l[u])))&&(o?le.cleanData([t],!0):le.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}}function o(t,n,i){if(i===e&&t.nodeType===1){var s="data-"+n.replace(Te,"-$1").toLowerCase();if(i=t.getAttribute(s),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:ke.test(i)?le.parseJSON(i):i}catch(r){}le.data(t,n,i)}else i=e}return i}function a(t){var e;for(e in t)if(("data"!==e||!le.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function l(){return!0}function u(){return!1}function c(t,e){do t=t[e];while(t&&t.nodeType!==1);return t}function h(t,e,n){if(e=e||0,le.isFunction(e))return le.grep(t,function(t,i){var s=!!e.call(t,i,t);return s===n});if(e.nodeType)return le.grep(t,function(t){return t===e===n});if("string"==typeof e){var i=le.grep(t,function(t){return t.nodeType===1});if(We.test(e))return le.filter(e,i,!n);e=le.filter(e,i)}return le.grep(t,function(t){return le.inArray(t,e)>=0===n})}function d(t){var e=Qe.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function f(t,e){return t.getElementsByTagName(e)[0]||t.appendChild(t.ownerDocument.createElement(e))}function p(t){var e=t.getAttributeNode("type");return t.type=(e&&e.specified)+"/"+t.type,t}function m(t){var e=rn.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var n,i=0;(n=t[i])!=null;i++)le._data(n,"globalEval",!e||le._data(e[i],"globalEval"))}function v(t,e){if(e.nodeType===1&&le.hasData(t)){var n,i,s,r=le._data(t),o=le._data(e,r),a=r.events;if(a){delete o.handle,o.events={};for(n in a)for(i=0,s=a[n].length;s>i;i++)le.event.add(e,n,a[n][i])}o.data&&(o.data=le.extend({},o.data))}}function y(t,e){var n,i,s;if(e.nodeType===1){if(n=e.nodeName.toLowerCase(),!le.support.noCloneEvent&&e[le.expando]){s=le._data(e);for(i in s.events)le.removeEvent(e,i,s.handle);e.removeAttribute(le.expando)}"script"===n&&e.text!==t.text?(p(e).text=t.text,m(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),le.support.html5Clone&&t.innerHTML&&!le.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&en.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function _(t,n){var i,s,r=0,o=typeof t.getElementsByTagName!==U?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll!==U?t.querySelectorAll(n||"*"):e;if(!o)for(o=[],i=t.childNodes||t;(s=i[r])!=null;r++)!n||le.nodeName(s,n)?o.push(s):le.merge(o,_(s,n));return n===e||n&&le.nodeName(t,n)?le.merge([t],o):o}function b(t){en.test(t.type)&&(t.defaultChecked=t.checked)}function x(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,s=Tn.length;s--;)if(e=Tn[s]+n,e in t)return e;return i}function w(t,e){return t=e||t,le.css(t,"display")==="none"||!le.contains(t.ownerDocument,t)}function C(t,e){for(var n,i,s,r=[],o=0,a=t.length;a>o;o++)i=t[o],i.style&&(r[o]=le._data(i,"olddisplay"),n=i.style.display,e?(r[o]||"none"!==n||(i.style.display=""),i.style.display===""&&w(i)&&(r[o]=le._data(i,"olddisplay",E(i.nodeName)))):r[o]||(s=w(i),(n&&"none"!==n||!s)&&le._data(i,"olddisplay",s?n:le.css(i,"display"))));for(o=0;a>o;o++)i=t[o],i.style&&(e&&i.style.display!=="none"&&i.style.display!==""||(i.style.display=e?r[o]||"":"none"));return t}function k(t,e,n){var i=yn.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function T(t,e,n,i,s){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,o=0;4>r;r+=2)"margin"===n&&(o+=le.css(t,n+kn[r],!0,s)),i?("content"===n&&(o-=le.css(t,"padding"+kn[r],!0,s)),"margin"!==n&&(o-=le.css(t,"border"+kn[r]+"Width",!0,s))):(o+=le.css(t,"padding"+kn[r],!0,s),"padding"!==n&&(o+=le.css(t,"border"+kn[r]+"Width",!0,s)));return o}function N(t,e,n){var i=!0,s="width"===e?t.offsetWidth:t.offsetHeight,r=hn(t),o=le.support.boxSizing&&le.css(t,"boxSizing",!1,r)==="border-box";if(0>=s||null==s){if(s=dn(t,e,r),(0>s||null==s)&&(s=t.style[e]),_n.test(s))return s;i=o&&(le.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+T(t,e,n||(o?"border":"content"),i,r)+"px"}function E(t){var e=V,n=xn[t];return n||(n=S(t,e),"none"!==n&&n||(cn=(cn||le("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement),e=(cn[0].contentWindow||cn[0].contentDocument).document,e.write("<!doctype html><html><body>"),e.close(),n=S(t,e),cn.detach()),xn[t]=n),n}function S(t,e){var n=le(e.createElement(t)).appendTo(e.body),i=le.css(n[0],"display");return n.remove(),i}function $(t,e,n,i){var s;if(le.isArray(e))le.each(e,function(e,s){n||En.test(t)?i(t,s):$(t+"["+("object"==typeof s?e:"")+"]",s,n,i)});else if(n||le.type(e)!=="object")i(t,e);else for(s in e)$(t+"["+s+"]",e[s],n,i)}function j(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,s=0,r=e.toLowerCase().match(ce)||[];if(le.isFunction(n))for(;i=r[s++];)i[0]==="+"?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function A(t,e,n,i){function s(a){var l;return r[a]=!0,le.each(t[a]||[],function(t,a){var u=a(e,n,i);return"string"!=typeof u||o||r[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)}),l}var r={},o=t===In;return s(e.dataTypes[0])||!r["*"]&&s("*")}function D(t,n){var i,s,r=le.ajaxSettings.flatOptions||{};for(s in n)n[s]!==e&&((r[s]?t:i||(i={}))[s]=n[s]);return i&&le.extend(!0,t,i),t}function L(t,n,i){var s,r,o,a,l=t.contents,u=t.dataTypes,c=t.responseFields;for(a in c)a in i&&(n[c[a]]=i[a]);for(;u[0]==="*";)u.shift(),r===e&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(a in l)if(l[a]&&l[a].test(r)){u.unshift(a);break}if(u[0]in i)o=u[0];else{for(a in i){if(!u[0]||t.converters[a+" "+u[0]]){o=a;break}s||(s=a)}o=o||s}return o?(o!==u[0]&&u.unshift(o),i[o]):void 0}function q(t,e){var n,i,s,r,o={},a=0,l=t.dataTypes.slice(),u=l[0];if(t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l[1])for(s in t.converters)o[s.toLowerCase()]=t.converters[s];for(;i=l[++a];)if("*"!==i){if("*"!==u&&u!==i){if(s=o[u+" "+i]||o["* "+i],!s)for(n in o)if(r=n.split(" "),r[1]===i&&(s=o[u+" "+r[0]]||o["* "+r[0]])){s===!0?s=o[n]:o[n]!==!0&&(i=r[0],l.splice(a--,0,i));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(c){return{state:"parsererror",error:s?c:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:e}}function H(){try{return new t.XMLHttpRequest}catch(e){}}function M(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function P(){return setTimeout(function(){Zn=e}),Zn=le.now()}function F(t,e){le.each(e,function(e,n){for(var i=(ri[e]||[]).concat(ri["*"]),s=0,r=i.length;r>s;s++)if(i[s].call(t,e,n))return})}function O(t,e,n){var i,s,r=0,o=si.length,a=le.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=Zn||P(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,r=1-i,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(r);return a.notifyWith(t,[u,r,n]),1>r&&l?n:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:le.extend({},e),opts:le.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Zn||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=le.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(s)return this;for(s=!0;i>n;n++)u.tweens[n].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),c=u.props;for(B(c,u.opts.specialEasing);o>r;r++)if(i=si[r].call(u,t,c,u.opts))return i;return F(u,c),le.isFunction(u.opts.start)&&u.opts.start.call(t,u),le.fx.timer(le.extend(l,{elem:t,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 B(t,e){var n,i,s,r,o;for(s in t)if(i=le.camelCase(s),r=e[i],n=t[s],le.isArray(n)&&(r=n[1],n=t[s]=n[0]),s!==i&&(t[i]=n,delete t[s]),o=le.cssHooks[i],o&&"expand"in o){n=o.expand(n),delete t[i];for(s in n)s in t||(t[s]=n[s],e[s]=r)}else e[i]=r}function z(t,e,n){var i,s,r,o,a,l,u,c,h,d=this,f=t.style,p={},m=[],g=t.nodeType&&w(t);n.queue||(c=le._queueHooks(t,"fx"),c.unqueued==null&&(c.unqueued=0,h=c.empty.fire,c.empty.fire=function(){c.unqueued||h()}),c.unqueued++,d.always(function(){d.always(function(){c.unqueued--,le.queue(t,"fx").length||c.empty.fire()})})),t.nodeType===1&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],le.css(t,"display")==="inline"&&le.css(t,"float")==="none"&&(le.support.inlineBlockNeedsLayout&&E(t.nodeName)!=="inline"?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",le.support.shrinkWrapBlocks||d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(s in e)if(o=e[s],ei.exec(o)){if(delete e[s],l=l||"toggle"===o,o===(g?"hide":"show"))continue;m.push(s)}if(r=m.length){a=le._data(t,"fxshow")||le._data(t,"fxshow",{}),"hidden"in a&&(g=a.hidden),l&&(a.hidden=!g),g?le(t).show():d.done(function(){le(t).hide()}),d.done(function(){var e;le._removeData(t,"fxshow");for(e in p)le.style(t,e,p[e])});for(s=0;r>s;s++)i=m[s],u=d.createTween(i,g?a[i]:0),p[i]=a[i]||le.style(t,i),i in a||(a[i]=u.start,g&&(u.end=u.start,u.start="width"===i||"height"===i?1:0))}}function R(t,e,n,i,s){return new R.prototype.init(t,e,n,i,s)}function W(t,e){var n,i={height:t},s=0;for(e=e?1:0;4>s;s+=2-e)n=kn[s],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function I(t){return le.isWindow(t)?t:t.nodeType===9?t.defaultView||t.parentWindow:!1}var X,Q,U=typeof e,V=t.document,K=t.location,Y=t.jQuery,G=t.$,J={},Z=[],te="1.9.1",ee=Z.concat,ne=Z.push,ie=Z.slice,se=Z.indexOf,re=J.toString,oe=J.hasOwnProperty,ae=te.trim,le=function(t,e){return new le.fn.init(t,e,Q)},ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ce=/\S+/g,he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,fe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pe=/^[\],:{}\s]*$/,me=/(?:^|:|,)(?:\s*\[)+/g,ge=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,ye=/^-ms-/,_e=/-([\da-z])/gi,be=function(t,e){return e.toUpperCase()},xe=function(t){(V.addEventListener||t.type==="load"||V.readyState==="complete")&&(we(),le.ready())},we=function(){V.addEventListener?(V.removeEventListener("DOMContentLoaded",xe,!1),t.removeEventListener("load",xe,!1)):(V.detachEvent("onreadystatechange",xe),t.detachEvent("onload",xe))};le.fn=le.prototype={jquery:te,constructor:le,init:function(t,n,i){var s,r;if(!t)return this;if("string"==typeof t){if(s=t.charAt(0)==="<"&&t.charAt(t.length-1)===">"&&t.length>=3?[null,t,null]:de.exec(t),!s||!s[1]&&n)return!n||n.jquery?(n||i).find(t):this.constructor(n).find(t);if(s[1]){if(n=n instanceof le?n[0]:n,le.merge(this,le.parseHTML(s[1],n&&n.nodeType?n.ownerDocument||n:V,!0)),fe.test(s[1])&&le.isPlainObject(n))for(s in n)le.isFunction(this[s])?this[s](n[s]):this.attr(s,n[s]);return this}if(r=V.getElementById(s[2]),r&&r.parentNode){if(r.id!==s[2])return i.find(t);this.length=1,this[0]=r}return this.context=V,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):le.isFunction(t)?i.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),le.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return ie.call(this)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t){var e=le.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return le.each(this,t,e)},ready:function(t){return le.ready.promise().done(t),this},slice:function(){return this.pushStack(ie.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},map:function(t){return this.pushStack(le.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ne,sort:[].sort,splice:[].splice},le.fn.init.prototype=le.fn,le.extend=le.fn.extend=function(){var t,n,i,s,r,o,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||le.isFunction(a)||(a={}),u===l&&(a=this,--l);u>l;l++)if((r=arguments[l])!=null)for(s in r)t=a[s],i=r[s],a!==i&&(c&&i&&(le.isPlainObject(i)||(n=le.isArray(i)))?(n?(n=!1,o=t&&le.isArray(t)?t:[]):o=t&&le.isPlainObject(t)?t:{},a[s]=le.extend(c,o,i)):i!==e&&(a[s]=i));return a},le.extend({noConflict:function(e){return t.$===le&&(t.$=G),e&&t.jQuery===le&&(t.jQuery=Y),le},isReady:!1,readyWait:1,holdReady:function(t){t?le.readyWait++:le.ready(!0)},ready:function(t){if(t===!0?!--le.readyWait:!le.isReady){if(!V.body)return setTimeout(le.ready);le.isReady=!0,t!==!0&&--le.readyWait>0||(X.resolveWith(V,[le]),le.fn.trigger&&le(V).trigger("ready").off("ready"))}},isFunction:function(t){return le.type(t)==="function"},isArray:Array.isArray||function(t){return le.type(t)==="array"},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?J[re.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||le.type(t)!=="object"||t.nodeType||le.isWindow(t))return!1;try{if(t.constructor&&!oe.call(t,"constructor")&&!oe.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var i;for(i in t);return i===e||oe.call(t,i)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||V;var i=fe.exec(t),s=!n&&[];return i?[e.createElement(i[1])]:(i=le.buildFragment([t],e,s),s&&le(s).remove(),le.merge([],i.childNodes))},parseJSON:function(e){return t.JSON&&t.JSON.parse?t.JSON.parse(e):null===e?e:"string"==typeof e&&(e=le.trim(e),e&&pe.test(e.replace(ge,"@").replace(ve,"]").replace(me,"")))?new Function("return "+e)():(le.error("Invalid JSON: "+e),void 0)},parseXML:function(n){var i,s;if(!n||"string"!=typeof n)return null;try{t.DOMParser?(s=new DOMParser,i=s.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(r){i=e}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||le.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(e){e&&le.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(ye,"ms-").replace(_e,be)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var s,r=0,o=t.length,a=n(t);if(i){if(a)for(;o>r&&(s=e.apply(t[r],i),s!==!1);r++);else for(r in t)if(s=e.apply(t[r],i),s===!1)break}else if(a)for(;o>r&&(s=e.call(t[r],r,t[r]),s!==!1);r++);else for(r in t)if(s=e.call(t[r],r,t[r]),s===!1)break;return t},trim:ae&&!ae.call("﻿ ")?function(t){return null==t?"":ae.call(t)}:function(t){return null==t?"":(t+"").replace(he,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?le.merge(i,"string"==typeof t?[t]:t):ne.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(se)return se.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,n){var i=n.length,s=t.length,r=0;if("number"==typeof i)for(;i>r;r++)t[s++]=n[r];else for(;n[r]!==e;)t[s++]=n[r++];return t.length=s,t},grep:function(t,e,n){var i,s=[],r=0,o=t.length;for(n=!!n;o>r;r++)i=!!e(t[r],r),n!==i&&s.push(t[r]);return s},map:function(t,e,i){var s,r=0,o=t.length,a=n(t),l=[];if(a)for(;o>r;r++)s=e(t[r],r,i),null!=s&&(l[l.length]=s);else for(r in t)s=e(t[r],r,i),null!=s&&(l[l.length]=s);return ee.apply([],l)},guid:1,proxy:function(t,n){var i,s,r;return"string"==typeof n&&(r=t[n],n=t,t=r),le.isFunction(t)?(i=ie.call(arguments,2),s=function(){return t.apply(n||this,i.concat(ie.call(arguments)))},s.guid=t.guid=t.guid||le.guid++,s):e},access:function(t,n,i,s,r,o,a){var l=0,u=t.length,c=null==i;if(le.type(i)==="object"){r=!0;for(l in i)le.access(t,n,l,i[l],!0,o,a)}else if(s!==e&&(r=!0,le.isFunction(s)||(a=!0),c&&(a?(n.call(t,s),n=null):(c=n,n=function(t,e,n){return c.call(le(t),n)})),n))for(;u>l;l++)n(t[l],i,a?s:s.call(t[l],l,n(t[l],i)));return r?t:c?n.call(t):u?n(t[0],i):o},now:function(){return(new Date).getTime()}}),le.ready.promise=function(e){if(!X)if(X=le.Deferred(),V.readyState==="complete")setTimeout(le.ready);else if(V.addEventListener)V.addEventListener("DOMContentLoaded",xe,!1),t.addEventListener("load",xe,!1);else{V.attachEvent("onreadystatechange",xe),t.attachEvent("onload",xe);var n=!1;try{n=t.frameElement==null&&V.documentElement}catch(i){}n&&n.doScroll&&function s(){if(!le.isReady){try{n.doScroll("left")}catch(t){return setTimeout(s,50)}we(),le.ready()}}()}return X.promise(e)},le.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()}),Q=le(V);var Ce={};le.Callbacks=function(t){t="string"==typeof t?Ce[t]||i(t):le.extend({},t);var n,s,r,o,a,l,u=[],c=!t.once&&[],h=function(e){for(s=t.memory&&e,r=!0,a=l||0,l=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(e[0],e[1])===!1&&t.stopOnFalse){s=!1;break}n=!1,u&&(c?c.length&&h(c.shift()):s?u=[]:d.disable())},d={add:function(){if(u){var e=u.length;(function i(e){le.each(e,function(e,n){var s=le.type(n);"function"===s?t.unique&&d.has(n)||u.push(n):n&&n.length&&"string"!==s&&i(n)})})(arguments),n?o=u.length:s&&(l=e,h(s))}return this},remove:function(){return u&&le.each(arguments,function(t,e){for(var i;(i=le.inArray(e,u,i))>-1;)u.splice(i,1),n&&(o>=i&&o--,a>=i&&a--)}),this},has:function(t){return t?le.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=c=s=e,this},disabled:function(){return!u},lock:function(){return c=e,s||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return e=e||[],e=[t,e.slice?e.slice():e],!u||r&&!c||(n?c.push(e):h(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},le.extend({Deferred:function(t){var e=[["resolve","done",le.Callbacks("once memory"),"resolved"],["reject","fail",le.Callbacks("once memory"),"rejected"],["notify","progress",le.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var t=arguments;return le.Deferred(function(n){le.each(e,function(e,r){var o=r[0],a=le.isFunction(t[e])&&t[e];s[r[1]](function(){var t=a&&a.apply(this,arguments);t&&le.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?le.extend(t,i):i}},s={};return i.pipe=i.then,le.each(e,function(t,r){var o=r[2],a=r[3];i[r[1]]=o.add,a&&o.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),s[r[0]]=function(){return s[r[0]+"With"](this===s?i:this,arguments),this},s[r[0]+"With"]=o.fireWith}),i.promise(s),t&&t.call(s,s),s},when:function(t){var e,n,i,s=0,r=ie.call(arguments),o=r.length,a=1!==o||t&&le.isFunction(t.promise)?o:0,l=1===a?t:le.Deferred(),u=function(t,n,i){return function(s){n[t]=this,i[t]=arguments.length>1?ie.call(arguments):s,i===e?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(o>1)for(e=new Array(o),n=new Array(o),i=new Array(o);o>s;s++)r[s]&&le.isFunction(r[s].promise)?r[s].promise().done(u(s,i,r)).fail(l.reject).progress(u(s,n,e)):--a;return a||l.resolveWith(i,r),l.promise()}}),le.support=function(){var e,n,i,s,r,o,a,l,u,c,h=V.createElement("div");if(h.setAttribute("className","t"),h.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=h.getElementsByTagName("*"),i=h.getElementsByTagName("a")[0],!n||!i||!n.length)return{};r=V.createElement("select"),a=r.appendChild(V.createElement("option")),s=h.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:h.className!=="t",leadingWhitespace:h.firstChild.nodeType===3,tbody:!h.getElementsByTagName("tbody").length,htmlSerialize:!!h.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:!!s.value,optSelected:a.selected,enctype:!!V.createElement("form").enctype,html5Clone:V.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:V.compatMode==="CSS1Compat",deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},s.checked=!0,e.noCloneChecked=s.cloneNode(!0).checked,r.disabled=!0,e.optDisabled=!a.disabled;try{delete h.test}catch(d){e.deleteExpando=!1}s=V.createElement("input"),s.setAttribute("value",""),e.input=s.getAttribute("value")==="",s.value="t",s.setAttribute("type","radio"),e.radioValue=s.value==="t",s.setAttribute("checked","t"),s.setAttribute("name","t"),o=V.createDocumentFragment(),o.appendChild(s),e.appendChecked=s.checked,e.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,h.attachEvent&&(h.attachEvent("onclick",function(){e.noCloneEvent=!1}),h.cloneNode(!0).click());for(c in{submit:!0,change:!0,focusin:!0})h.setAttribute(l="on"+c,"t"),e[c+"Bubbles"]=l in t||h.attributes[l].expando===!1;return h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle=h.style.backgroundClip==="content-box",le(function(){var n,i,s,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",o=V.getElementsByTagName("body")[0];o&&(n=V.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(n).appendChild(h),h.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=h.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",u=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",e.reliableHiddenOffsets=u&&s[0].offsetHeight===0,h.innerHTML="",h.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%;",e.boxSizing=h.offsetWidth===4,e.doesNotIncludeMarginInBodyOffset=o.offsetTop!==1,t.getComputedStyle&&(e.pixelPosition=(t.getComputedStyle(h,null)||{}).top!=="1%",e.boxSizingReliable=(t.getComputedStyle(h,null)||{width:"4px"}).width==="4px",i=h.appendChild(V.createElement("div")),i.style.cssText=h.style.cssText=r,i.style.marginRight=i.style.width="0",h.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(i,null)||{}).marginRight)),typeof h.style.zoom!==U&&(h.innerHTML="",h.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=h.offsetWidth===3,h.style.display="block",h.innerHTML="<div></div>",h.firstChild.style.width="5px",e.shrinkWrapBlocks=h.offsetWidth!==3,e.inlineBlockNeedsLayout&&(o.style.zoom=1)),o.removeChild(n),n=h=s=i=null)}),n=r=o=a=i=s=null,e}();var ke=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Te=/([A-Z])/g;le.extend({cache:{},expando:"jQuery"+(te+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?le.cache[t[le.expando]]:t[le.expando],!!t&&!a(t)},data:function(t,e,n){return s(t,e,n)},removeData:function(t,e){return r(t,e)},_data:function(t,e,n){return s(t,e,n,!0)},_removeData:function(t,e){return r(t,e,!0)},acceptData:function(t){if(t.nodeType&&t.nodeType!==1&&t.nodeType!==9)return!1;var e=t.nodeName&&le.noData[t.nodeName.toLowerCase()];return!e||e!==!0&&t.getAttribute("classid")===e}}),le.fn.extend({data:function(t,n){var i,s,r=this[0],a=0,l=null;if(t===e){if(this.length&&(l=le.data(r),r.nodeType===1&&!le._data(r,"parsedAttrs"))){for(i=r.attributes;a<i.length;a++)s=i[a].name,s.indexOf("data-")||(s=le.camelCase(s.slice(5)),o(r,s,l[s]));le._data(r,"parsedAttrs",!0)}return l}return"object"==typeof t?this.each(function(){le.data(this,t)}):le.access(this,function(n){return n===e?r?o(r,t,le.data(r,t)):null:(this.each(function(){le.data(this,t,n)}),void 0)},null,n,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){le.removeData(this,t)})}}),le.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=le._data(t,e),n&&(!i||le.isArray(n)?i=le._data(t,e,le.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=le.queue(t,e),i=n.length,s=n.shift(),r=le._queueHooks(t,e),o=function(){le.dequeue(t,e)};"inprogress"===s&&(s=n.shift(),i--),r.cur=s,s&&("fx"===e&&n.unshift("inprogress"),delete r.stop,s.call(t,o,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return le._data(t,n)||le._data(t,n,{empty:le.Callbacks("once memory").add(function(){le._removeData(t,e+"queue"),le._removeData(t,n)})})}}),le.fn.extend({queue:function(t,n){var i=2;return"string"!=typeof t&&(n=t,t="fx",i--),arguments.length<i?le.queue(this[0],t):n===e?this:this.each(function(){var e=le.queue(this,t,n);le._queueHooks(this,t),"fx"===t&&e[0]!=="inprogress"&&le.dequeue(this,t)})},dequeue:function(t){return this.each(function(){le.dequeue(this,t)})},delay:function(t,e){return t=le.fx?le.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var i,s=1,r=le.Deferred(),o=this,a=this.length,l=function(){--s||r.resolveWith(o,[o])};for("string"!=typeof t&&(n=t,t=e),t=t||"fx";a--;)i=le._data(o[a],t+"queueHooks"),i&&i.empty&&(s++,i.empty.add(l));return l(),r.promise(n)}});var Ne,Ee,Se=/[\t\r\n]/g,$e=/\r/g,je=/^(?:input|select|textarea|button|object)$/i,Ae=/^(?:a|area)$/i,De=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Le=/^(?:checked|selected)$/i,qe=le.support.getSetAttribute,He=le.support.input;le.fn.extend({attr:function(t,e){return le.access(this,le.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){le.removeAttr(this,t)})},prop:function(t,e){return le.access(this,le.prop,t,e,arguments.length>1)},removeProp:function(t){return t=le.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(n){}})},addClass:function(t){var e,n,i,s,r,o=0,a=this.length,l="string"==typeof t&&t;if(le.isFunction(t))return this.each(function(e){le(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ce)||[];a>o;o++)if(n=this[o],i=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(Se," "):" ")){for(r=0;s=e[r++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");n.className=le.trim(i)}return this},removeClass:function(t){var e,n,i,s,r,o=0,a=this.length,l=arguments.length===0||"string"==typeof t&&t;if(le.isFunction(t))return this.each(function(e){le(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ce)||[];a>o;o++)if(n=this[o],i=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(Se," "):"")){for(r=0;s=e[r++];)for(;i.indexOf(" "+s+" ")>=0;)i=i.replace(" "+s+" "," ");n.className=t?le.trim(i):""}return this},toggleClass:function(t,e){var n=typeof t,i="boolean"==typeof e;return le.isFunction(t)?this.each(function(n){le(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var s,r=0,o=le(this),a=e,l=t.match(ce)||[];s=l[r++];)a=i?a:!o.hasClass(s),o[a?"addClass":"removeClass"](s);else(n===U||"boolean"===n)&&(this.className&&le._data(this,"__className__",this.className),this.className=this.className||t===!1?"":le._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(Se," ").indexOf(e)>=0)return!0;return!1},val:function(t){var n,i,s,r=this[0];{if(arguments.length)return s=le.isFunction(t),this.each(function(n){var r,o=le(this);this.nodeType===1&&(r=s?t.call(this,n,o.val()):t,null==r?r="":"number"==typeof r?r+="":le.isArray(r)&&(r=le.map(r,function(t){return null==t?"":t+""})),i=le.valHooks[this.type]||le.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,r,"value")!==e||(this.value=r))});if(r)return i=le.valHooks[r.type]||le.valHooks[r.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(r,"value"))!==e?n:(n=r.value,"string"==typeof n?n.replace($e,""):null==n?"":n)}}}),le.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,n,i=t.options,s=t.selectedIndex,r=t.type==="select-one"||0>s,o=r?null:[],a=r?s+1:i.length,l=0>s?a:r?s:0;a>l;l++)if(n=i[l],!(!n.selected&&l!==s||(le.support.optDisabled?n.disabled:n.getAttribute("disabled")!==null)||n.parentNode.disabled&&le.nodeName(n.parentNode,"optgroup"))){if(e=le(n).val(),r)return e;o.push(e)}return o},set:function(t,e){var n=le.makeArray(e);return le(t).find("option").each(function(){this.selected=le.inArray(le(this).val(),n)>=0}),n.length||(t.selectedIndex=-1),n}}},attr:function(t,n,i){var s,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===U?le.prop(t,n,i):(r=1!==a||!le.isXMLDoc(t),r&&(n=n.toLowerCase(),s=le.attrHooks[n]||(De.test(n)?Ee:Ne)),i===e?s&&r&&"get"in s&&(o=s.get(t,n))!==null?o:(typeof t.getAttribute!==U&&(o=t.getAttribute(n)),null==o?e:o):null!==i?s&&r&&"set"in s&&(o=s.set(t,i,n))!==e?o:(t.setAttribute(n,i+""),i):(le.removeAttr(t,n),void 0))},removeAttr:function(t,e){var n,i,s=0,r=e&&e.match(ce);if(r&&t.nodeType===1)for(;n=r[s++];)i=le.propFix[n]||n,De.test(n)?!qe&&Le.test(n)?t[le.camelCase("default-"+n)]=t[i]=!1:t[i]=!1:le.attr(t,n,""),t.removeAttribute(qe?n:i)},attrHooks:{type:{set:function(t,e){if(!le.support.radioValue&&"radio"===e&&le.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,n,i){var s,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!le.isXMLDoc(t),o&&(n=le.propFix[n]||n,r=le.propHooks[n]),i!==e?r&&"set"in r&&(s=r.set(t,i,n))!==e?s:t[n]=i:r&&"get"in r&&(s=r.get(t,n))!==null?s:t[n]},propHooks:{tabIndex:{get:function(t){var n=t.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):je.test(t.nodeName)||Ae.test(t.nodeName)&&t.href?0:e}}}}),Ee={get:function(t,n){var i=le.prop(t,n),s="boolean"==typeof i&&t.getAttribute(n),r="boolean"==typeof i?He&&qe?null!=s:Le.test(n)?t[le.camelCase("default-"+n)]:!!s:t.getAttributeNode(n);return r&&r.value!==!1?n.toLowerCase():e},set:function(t,e,n){return e===!1?le.removeAttr(t,n):He&&qe||!Le.test(n)?t.setAttribute(!qe&&le.propFix[n]||n,n):t[le.camelCase("default-"+n)]=t[n]=!0,n}},He&&qe||(le.attrHooks.value={get:function(t,n){var i=t.getAttributeNode(n);return le.nodeName(t,"input")?t.defaultValue:i&&i.specified?i.value:e},set:function(t,e,n){return le.nodeName(t,"input")?(t.defaultValue=e,void 0):Ne&&Ne.set(t,e,n)}}),qe||(Ne=le.valHooks.button={get:function(t,n){var i=t.getAttributeNode(n);return i&&("id"===n||"name"===n||"coords"===n?i.value!=="":i.specified)?i.value:e},set:function(t,n,i){var s=t.getAttributeNode(i);return s||t.setAttributeNode(s=t.ownerDocument.createAttribute(i)),s.value=n+="","value"===i||n===t.getAttribute(i)?n:e
}},le.attrHooks.contenteditable={get:Ne.get,set:function(t,e,n){Ne.set(t,""===e?!1:e,n)}},le.each(["width","height"],function(t,e){le.attrHooks[e]=le.extend(le.attrHooks[e],{set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}})})),le.support.hrefNormalized||(le.each(["href","src","width","height"],function(t,n){le.attrHooks[n]=le.extend(le.attrHooks[n],{get:function(t){var i=t.getAttribute(n,2);return null==i?e:i}})}),le.each(["href","src"],function(t,e){le.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}})),le.support.style||(le.attrHooks.style={get:function(t){return t.style.cssText||e},set:function(t,e){return t.style.cssText=e+""}}),le.support.optSelected||(le.propHooks.selected=le.extend(le.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),le.support.enctype||(le.propFix.enctype="encoding"),le.support.checkOn||le.each(["radio","checkbox"],function(){le.valHooks[this]={get:function(t){return t.getAttribute("value")===null?"on":t.value}}}),le.each(["radio","checkbox"],function(){le.valHooks[this]=le.extend(le.valHooks[this],{set:function(t,e){return le.isArray(e)?t.checked=le.inArray(le(t).val(),e)>=0:void 0}})});var Me=/^(?:input|select|textarea)$/i,Pe=/^key/,Fe=/^(?:mouse|contextmenu)|click/,Oe=/^(?:focusinfocus|focusoutblur)$/,Be=/^([^.]*)(?:\.(.+)|)$/;le.event={global:{},add:function(t,n,i,s,r){var o,a,l,u,c,h,d,f,p,m,g,v=le._data(t);if(v){for(i.handler&&(u=i,i=u.handler,r=u.selector),i.guid||(i.guid=le.guid++),(a=v.events)||(a=v.events={}),(h=v.handle)||(h=v.handle=function(t){return typeof le===U||t&&le.event.triggered===t.type?e:le.event.dispatch.apply(h.elem,arguments)},h.elem=t),n=(n||"").match(ce)||[""],l=n.length;l--;)o=Be.exec(n[l])||[],p=g=o[1],m=(o[2]||"").split(".").sort(),c=le.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=le.event.special[p]||{},d=le.extend({type:p,origType:g,data:s,handler:i,guid:i.guid,selector:r,needsContext:r&&le.expr.match.needsContext.test(r),namespace:m.join(".")},u),(f=a[p])||(f=a[p]=[],f.delegateCount=0,c.setup&&c.setup.call(t,s,m,h)!==!1||(t.addEventListener?t.addEventListener(p,h,!1):t.attachEvent&&t.attachEvent("on"+p,h))),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),le.event.global[p]=!0;t=null}},remove:function(t,e,n,i,s){var r,o,a,l,u,c,h,d,f,p,m,g=le.hasData(t)&&le._data(t);if(g&&(c=g.events)){for(e=(e||"").match(ce)||[""],u=e.length;u--;)if(a=Be.exec(e[u])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f){for(h=le.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,d=c[f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=d.length;r--;)o=d[r],!s&&m!==o.origType||n&&n.guid!==o.guid||a&&!a.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(d.splice(r,1),o.selector&&d.delegateCount--,h.remove&&h.remove.call(t,o));l&&!d.length&&(h.teardown&&h.teardown.call(t,p,g.handle)!==!1||le.removeEvent(t,f,g.handle),delete c[f])}else for(f in c)le.event.remove(t,f+e[u],n,i,!0);le.isEmptyObject(c)&&(delete g.handle,le._removeData(t,"events"))}},trigger:function(n,i,s,r){var o,a,l,u,c,h,d,f=[s||V],p=oe.call(n,"type")?n.type:n,m=oe.call(n,"namespace")?n.namespace.split("."):[];if(l=h=s=s||V,s.nodeType!==3&&s.nodeType!==8&&!Oe.test(p+le.event.triggered)&&(p.indexOf(".")>=0&&(m=p.split("."),p=m.shift(),m.sort()),a=p.indexOf(":")<0&&"on"+p,n=n[le.expando]?n:new le.Event(p,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=e,n.target||(n.target=s),i=null==i?[n]:le.makeArray(i,[n]),c=le.event.special[p]||{},r||!c.trigger||c.trigger.apply(s,i)!==!1)){if(!r&&!c.noBubble&&!le.isWindow(s)){for(u=c.delegateType||p,Oe.test(u+p)||(l=l.parentNode);l;l=l.parentNode)f.push(l),h=l;h===(s.ownerDocument||V)&&f.push(h.defaultView||h.parentWindow||t)}for(d=0;(l=f[d++])&&!n.isPropagationStopped();)n.type=d>1?u:c.bindType||p,o=(le._data(l,"events")||{})[n.type]&&le._data(l,"handle"),o&&o.apply(l,i),o=a&&l[a],o&&le.acceptData(l)&&o.apply&&o.apply(l,i)===!1&&n.preventDefault();if(n.type=p,!(r||n.isDefaultPrevented()||c._default&&c._default.apply(s.ownerDocument,i)!==!1||"click"===p&&le.nodeName(s,"a")||!le.acceptData(s)||!a||!s[p]||le.isWindow(s))){h=s[a],h&&(s[a]=null),le.event.triggered=p;try{s[p]()}catch(g){}le.event.triggered=e,h&&(s[a]=h)}return n.result}},dispatch:function(t){t=le.event.fix(t);var n,i,s,r,o,a=[],l=ie.call(arguments),u=(le._data(this,"events")||{})[t.type]||[],c=le.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(a=le.event.handlers.call(this,t,u),n=0;(r=a[n++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(s=r.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(s.namespace))&&(t.handleObj=s,t.data=s.data,i=((le.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,l),i!==e&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,n){var i,s,r,o,a=[],l=n.delegateCount,u=t.target;if(l&&u.nodeType&&(!t.button||t.type!=="click"))for(;u!=this;u=u.parentNode||this)if(u.nodeType===1&&(u.disabled!==!0||t.type!=="click")){for(r=[],o=0;l>o;o++)s=n[o],i=s.selector+" ",r[i]===e&&(r[i]=s.needsContext?le(i,this).index(u)>=0:le.find(i,this,null,[u]).length),r[i]&&r.push(s);r.length&&a.push({elem:u,handlers:r})}return l<n.length&&a.push({elem:this,handlers:n.slice(l)}),a},fix:function(t){if(t[le.expando])return t;var e,n,i,s=t.type,r=t,o=this.fixHooks[s];for(o||(this.fixHooks[s]=o=Fe.test(s)?this.mouseHooks:Pe.test(s)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,t=new le.Event(r),e=i.length;e--;)n=i[e],t[n]=r[n];return t.target||(t.target=r.srcElement||V),t.target.nodeType===3&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,r):t},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(t,e){return t.which==null&&(t.which=e.charCode!=null?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,n){var i,s,r,o=n.button,a=n.fromElement;return t.pageX==null&&n.clientX!=null&&(s=t.target.ownerDocument||V,r=s.documentElement,i=s.body,t.pageX=n.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=n.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?n.toElement:a),t.which||o===e||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){return le.nodeName(this,"input")&&this.type==="checkbox"&&this.click?(this.click(),!1):void 0}},focus:{trigger:function(){if(this!==V.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===V.activeElement&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},beforeunload:{postDispatch:function(t){t.result!==e&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var s=le.extend(new le.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?le.event.trigger(s,null,e):le.event.dispatch.call(e,s),s.isDefaultPrevented()&&n.preventDefault()}},le.removeEvent=V.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===U&&(t[i]=null),t.detachEvent(i,n))},le.Event=function(t,e){return this instanceof le.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?l:u):this.type=t,e&&le.extend(this,e),this.timeStamp=t&&t.timeStamp||le.now(),this[le.expando]=!0,void 0):new le.Event(t,e)},le.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=l,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=l,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},le.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){le.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,s=t.relatedTarget,r=t.handleObj;return(!s||s!==i&&!le.contains(i,s))&&(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),le.support.submitBubbles||(le.event.special.submit={setup:function(){return le.nodeName(this,"form")?!1:(le.event.add(this,"click._submit keypress._submit",function(t){var n=t.target,i=le.nodeName(n,"input")||le.nodeName(n,"button")?n.form:e;i&&!le._data(i,"submitBubbles")&&(le.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),le._data(i,"submitBubbles",!0))}),void 0)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&le.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return le.nodeName(this,"form")?!1:(le.event.remove(this,"._submit"),void 0)}}),le.support.changeBubbles||(le.event.special.change={setup:function(){return Me.test(this.nodeName)?((this.type==="checkbox"||this.type==="radio")&&(le.event.add(this,"propertychange._change",function(t){t.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),le.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),le.event.simulate("change",this,t,!0)})),!1):(le.event.add(this,"beforeactivate._change",function(t){var e=t.target;Me.test(e.nodeName)&&!le._data(e,"changeBubbles")&&(le.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||le.event.simulate("change",this.parentNode,t,!0)}),le._data(e,"changeBubbles",!0))}),void 0)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||e.type!=="radio"&&e.type!=="checkbox"?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return le.event.remove(this,"._change"),!Me.test(this.nodeName)}}),le.support.focusinBubbles||le.each({focus:"focusin",blur:"focusout"},function(t,e){var n=0,i=function(t){le.event.simulate(e,t.target,le.event.fix(t),!0)};le.event.special[e]={setup:function(){n++===0&&V.addEventListener(t,i,!0)},teardown:function(){--n===0&&V.removeEventListener(t,i,!0)}}}),le.fn.extend({on:function(t,n,i,s,r){var o,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=e);for(o in t)this.on(o,n,i,t[o],r);return this}if(null==i&&null==s?(s=n,i=n=e):null==s&&("string"==typeof n?(s=i,i=e):(s=i,i=n,n=e)),s===!1)s=u;else if(!s)return this;return 1===r&&(a=s,s=function(t){return le().off(t),a.apply(this,arguments)},s.guid=a.guid||(a.guid=le.guid++)),this.each(function(){le.event.add(this,t,s,i,n)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,n,i){var s,r;if(t&&t.preventDefault&&t.handleObj)return s=t.handleObj,le(t.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if("object"==typeof t){for(r in t)this.off(r,n,t[r]);return this}return(n===!1||"function"==typeof n)&&(i=n,n=e),i===!1&&(i=u),this.each(function(){le.event.remove(this,t,i,n)})},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return arguments.length===1?this.off(t,"**"):this.off(e,t||"**",n)},trigger:function(t,e){return this.each(function(){le.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?le.event.trigger(t,e,n,!0):void 0}}),/*!
 * Sizzle CSS Selector Engine
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license
 * http://sizzlejs.com/
 */
function(t,e){function n(t){return pe.test(t+"")}function i(){var t,e=[];return t=function(n,i){return e.push(n+=" ")>k.cacheLength&&delete t[e.shift()],t[n]=i}}function s(t){return t[O]=!0,t}function r(t){var e=A.createElement("div");try{return t(e)}catch(n){return!1}finally{e=null}}function o(t,e,n,i){var s,r,o,a,l,u,c,f,p,m;if((e?e.ownerDocument||e:B)!==A&&j(e),e=e||A,n=n||[],!t||"string"!=typeof t)return n;if((a=e.nodeType)!==1&&9!==a)return[];if(!L&&!i){if(s=me.exec(t))if(o=s[1]){if(9===a){if(r=e.getElementById(o),!r||!r.parentNode)return n;if(r.id===o)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(o))&&P(e,r)&&r.id===o)return n.push(r),n}else{if(s[2])return G.apply(n,J.call(e.getElementsByTagName(t),0)),n;if((o=s[3])&&z.getByClassName&&e.getElementsByClassName)return G.apply(n,J.call(e.getElementsByClassName(o),0)),n}if(z.qsa&&!q.test(t)){if(c=!0,f=O,p=e,m=9===a&&t,1===a&&e.nodeName.toLowerCase()!=="object"){for(u=h(t),(c=e.getAttribute("id"))?f=c.replace(ye,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+d(u[l]);p=fe.test(t)&&e.parentNode||e,m=u.join(",")}if(m)try{return G.apply(n,J.call(p.querySelectorAll(m),0)),n}catch(g){}finally{c||e.removeAttribute("id")}}}return b(t.replace(oe,"$1"),e,n,i)}function a(t,e){var n=e&&t,i=n&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function l(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return s(function(e){return e=+e,s(function(n,i){for(var s,r=t([],n.length,e),o=r.length;o--;)n[s=r[o]]&&(n[s]=!(i[s]=n[s]))})})}function h(t,e){var n,i,s,r,a,l,u,c=X[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],u=k.preFilter;a;){(!n||(i=ae.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),l.push(s=[])),n=!1,(i=ue.exec(a))&&(n=i.shift(),s.push({value:n,type:i[0].replace(oe," ")}),a=a.slice(n.length));for(r in k.filter)!(i=de[r].exec(a))||u[r]&&!(i=u[r](i))||(n=i.shift(),s.push({value:n,type:r,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?o.error(t):X(t,l).slice(0)}function d(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,s=n&&"parentNode"===i,r=W++;return e.first?function(e,n,r){for(;e=e[i];)if(e.nodeType===1||s)return t(e,n,r)}:function(e,n,o){var a,l,u,c=R+" "+r;if(o){for(;e=e[i];)if((e.nodeType===1||s)&&t(e,n,o))return!0}else for(;e=e[i];)if(e.nodeType===1||s)if(u=e[O]||(e[O]={}),(l=u[i])&&l[0]===c){if((a=l[1])===!0||a===C)return a===!0}else if(l=u[i]=[c],l[1]=t(e,n,o)||C,l[1]===!0)return!0}}function p(t){return t.length>1?function(e,n,i){for(var s=t.length;s--;)if(!t[s](e,n,i))return!1;return!0}:t[0]}function m(t,e,n,i,s){for(var r,o=[],a=0,l=t.length,u=null!=e;l>a;a++)(r=t[a])&&(!n||n(r,i,s))&&(o.push(r),u&&e.push(a));return o}function g(t,e,n,i,r,o){return i&&!i[O]&&(i=g(i)),r&&!r[O]&&(r=g(r,o)),s(function(s,o,a,l){var u,c,h,d=[],f=[],p=o.length,g=s||_(e||"*",a.nodeType?[a]:a,[]),v=!t||!s&&e?g:m(g,d,t,a,l),y=n?r||(s?t:p||i)?[]:o:v;if(n&&n(v,y,a,l),i)for(u=m(y,f),i(u,[],a,l),c=u.length;c--;)(h=u[c])&&(y[f[c]]=!(v[f[c]]=h));if(s){if(r||t){if(r){for(u=[],c=y.length;c--;)(h=y[c])&&u.push(v[c]=h);r(null,y=[],u,l)}for(c=y.length;c--;)(h=y[c])&&(u=r?Z.call(s,h):d[c])>-1&&(s[u]=!(o[u]=h))}}else y=m(y===o?y.splice(p,y.length):y),r?r(null,o,y,l):G.apply(o,y)})}function v(t){for(var e,n,i,s=t.length,r=k.relative[t[0].type],o=r||k.relative[" "],a=r?1:0,l=f(function(t){return t===e},o,!0),u=f(function(t){return Z.call(e,t)>-1},o,!0),c=[function(t,n,i){return!r&&(i||n!==$)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];s>a;a++)if(n=k.relative[t[a].type])c=[f(p(c),n)];else{if(n=k.filter[t[a].type].apply(null,t[a].matches),n[O]){for(i=++a;s>i&&!k.relative[t[i].type];i++);return g(a>1&&p(c),a>1&&d(t.slice(0,a-1)).replace(oe,"$1"),n,i>a&&v(t.slice(a,i)),s>i&&v(t=t.slice(i)),s>i&&d(t))}c.push(n)}return p(c)}function y(t,e){var n=0,i=e.length>0,r=t.length>0,a=function(s,a,l,u,c){var h,d,f,p=[],g=0,v="0",y=s&&[],_=null!=c,b=$,x=s||r&&k.find.TAG("*",c&&a.parentNode||a),w=R+=null==b?1:Math.random()||.1;for(_&&($=a!==A&&a,C=n);(h=x[v])!=null;v++){if(r&&h){for(d=0;f=t[d++];)if(f(h,a,l)){u.push(h);break}_&&(R=w,C=++n)}i&&((h=!f&&h)&&g--,s&&y.push(h))}if(g+=v,i&&v!==g){for(d=0;f=e[d++];)f(y,p,a,l);if(s){if(g>0)for(;v--;)y[v]||p[v]||(p[v]=Y.call(u));p=m(p)}G.apply(u,p),_&&!s&&p.length>0&&g+e.length>1&&o.uniqueSort(u)}return _&&(R=w,$=b),y};return i?s(a):a}function _(t,e,n){for(var i=0,s=e.length;s>i;i++)o(t,e[i],n);return n}function b(t,e,n,i){var s,r,o,a,l,u=h(t);if(!i&&u.length===1){if(r=u[0]=u[0].slice(0),r.length>2&&(o=r[0]).type==="ID"&&e.nodeType===9&&!L&&k.relative[r[1].type]){if(e=k.find.ID(o.matches[0].replace(be,xe),e)[0],!e)return n;t=t.slice(r.shift().value.length)}for(s=de.needsContext.test(t)?0:r.length;s--&&(o=r[s],!k.relative[a=o.type]);)if((l=k.find[a])&&(i=l(o.matches[0].replace(be,xe),fe.test(r[0].type)&&e.parentNode||e))){if(r.splice(s,1),t=i.length&&d(r),!t)return G.apply(n,J.call(i,0)),n;break}}return E(t,u)(i,e,L,n,fe.test(t)),n}function x(){}var w,C,k,T,N,E,S,$,j,A,D,L,q,H,M,P,F,O="sizzle"+-new Date,B=t.document,z={},R=0,W=0,I=i(),X=i(),Q=i(),U=typeof e,V=1<<31,K=[],Y=K.pop,G=K.push,J=K.slice,Z=K.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},te="[\\x20\\t\\r\\n\\f]",ee="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne=ee.replace("w","w#"),ie="([*^$|!~]?=)",se="\\["+te+"*("+ee+")"+te+"*(?:"+ie+te+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ne+")|)|)"+te+"*\\]",re=":("+ee+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+se.replace(3,8)+")*)|.*)\\)|)",oe=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g"),ae=new RegExp("^"+te+"*,"+te+"*"),ue=new RegExp("^"+te+"*([\\x20\\t\\r\\n\\f>+~])"+te+"*"),ce=new RegExp(re),he=new RegExp("^"+ne+"$"),de={ID:new RegExp("^#("+ee+")"),CLASS:new RegExp("^\\.("+ee+")"),NAME:new RegExp("^\\[name=['\"]?("+ee+")['\"]?\\]"),TAG:new RegExp("^("+ee.replace("w","w*")+")"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},fe=/[\x20\t\r\n\f]*[+~]/,pe=/^[^{]+\{\s*\[native code/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/'|\\/g,_e=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,be=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,xe=function(t,e){var n="0x"+e-65536;return n!==n?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{J.call(B.documentElement.childNodes,0)[0].nodeType}catch(we){J=function(t){for(var e,n=[];e=this[t++];)n.push(e);return n}}N=o.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?e.nodeName!=="HTML":!1},j=o.setDocument=function(t){var i=t?t.ownerDocument||t:B;return i!==A&&i.nodeType===9&&i.documentElement?(A=i,D=i.documentElement,L=N(i),z.tagNameNoComments=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),z.attributes=r(function(t){t.innerHTML="<select></select>";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),z.getByClassName=r(function(t){return t.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",t.getElementsByClassName&&t.getElementsByClassName("e").length?(t.lastChild.className="e",t.getElementsByClassName("e").length===2):!1}),z.getByName=r(function(t){t.id=O+0,t.innerHTML="<a name='"+O+"'></a><div name='"+O+"'></div>",D.insertBefore(t,D.firstChild);var e=i.getElementsByName&&i.getElementsByName(O).length===2+i.getElementsByName(O+0).length;return z.getIdNotName=!i.getElementById(O),D.removeChild(t),e}),k.attrHandle=r(function(t){return t.innerHTML="<a href='#'></a>",t.firstChild&&typeof t.firstChild.getAttribute!==U&&t.firstChild.getAttribute("href")==="#"})?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},z.getIdNotName?(k.find.ID=function(t,e){if(typeof e.getElementById!==U&&!L){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(t){var e=t.replace(be,xe);return function(t){return t.getAttribute("id")===e}}):(k.find.ID=function(t,n){if(typeof n.getElementById!==U&&!L){var i=n.getElementById(t);return i?i.id===t||typeof i.getAttributeNode!==U&&i.getAttributeNode("id").value===t?[i]:e:[]}},k.filter.ID=function(t){var e=t.replace(be,xe);return function(t){var n=typeof t.getAttributeNode!==U&&t.getAttributeNode("id");return n&&n.value===e}}),k.find.TAG=z.tagNameNoComments?function(t,e){return typeof e.getElementsByTagName!==U?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],s=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[s++];)n.nodeType===1&&i.push(n);return i}return r},k.find.NAME=z.getByName&&function(t,e){return typeof e.getElementsByName!==U?e.getElementsByName(name):void 0},k.find.CLASS=z.getByClassName&&function(t,e){return typeof e.getElementsByClassName===U||L?void 0:e.getElementsByClassName(t)},H=[],q=[":focus"],(z.qsa=n(i.querySelectorAll))&&(r(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||q.push("\\["+te+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||q.push(":checked")}),r(function(t){t.innerHTML="<input type='hidden' i=''/>",t.querySelectorAll("[i^='']").length&&q.push("[*^$]="+te+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),q.push(",.*:")})),(z.matchesSelector=n(M=D.matchesSelector||D.mozMatchesSelector||D.webkitMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r(function(t){z.disconnectedMatch=M.call(t,"div"),M.call(t,"[s!='']:x"),H.push("!=",re)}),q=new RegExp(q.join("|")),H=new RegExp(H.join("|")),P=n(D.contains)||D.compareDocumentPosition?function(t,e){var n=t.nodeType===9?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||i.nodeType!==1||!(n.contains?n.contains(i):t.compareDocumentPosition&&t.compareDocumentPosition(i)&16))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},F=D.compareDocumentPosition?function(t,e){var n;return t===e?(S=!0,0):(n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e))?1&n||t.parentNode&&t.parentNode.nodeType===11?t===i||P(B,t)?-1:e===i||P(B,e)?1:0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,s=0,r=t.parentNode,o=e.parentNode,l=[t],u=[e];if(t===e)return S=!0,0;if(!r||!o)return t===i?-1:e===i?1:r?-1:o?1:0;if(r===o)return a(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[s]===u[s];)s++;return s?a(l[s],u[s]):l[s]===B?-1:u[s]===B?1:0},S=!1,[0,0].sort(F),z.detectDuplicates=S,A):A},o.matches=function(t,e){return o(t,null,null,e)},o.matchesSelector=function(t,e){if((t.ownerDocument||t)!==A&&j(t),e=e.replace(_e,"='$1']"),!(!z.matchesSelector||L||H&&H.test(e)||q.test(e)))try{var n=M.call(t,e);if(n||z.disconnectedMatch||t.document&&t.document.nodeType!==11)return n}catch(i){}return o(e,A,null,[t]).length>0},o.contains=function(t,e){return(t.ownerDocument||t)!==A&&j(t),P(t,e)},o.attr=function(t,e){var n;return(t.ownerDocument||t)!==A&&j(t),L||(e=e.toLowerCase()),(n=k.attrHandle[e])?n(t):L||z.attributes?t.getAttribute(e):((n=t.getAttributeNode(e))||t.getAttribute(e))&&t[e]===!0?e:n&&n.specified?n.value:null},o.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},o.uniqueSort=function(t){var e,n=[],i=1,s=0;if(S=!z.detectDuplicates,t.sort(F),S){for(;e=t[i];i++)e===t[i-1]&&(s=n.push(i));for(;s--;)t.splice(n[s],1)}return t},T=o.getText=function(t){var e,n="",i=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if(typeof t.textContent=="string")return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=T(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[i];i++)n+=T(e);return n},k=o.selectors={cacheLength:50,createPseudo:s,match:de,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(be,xe),t[3]=(t[4]||t[5]||"").replace(be,xe),t[2]==="~="&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),t[1].slice(0,3)==="nth"?(t[3]||o.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(t[3]==="even"||t[3]==="odd")),t[5]=+(t[7]+t[8]||t[3]==="odd")):t[3]&&o.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return de.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:n&&ce.test(n)&&(e=h(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(be,xe).toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=I[t+" "];return e||(e=new RegExp("(^|"+te+")"+t+"("+te+"|$)"))&&I(t,function(t){return e.test(t.className||typeof t.getAttribute!==U&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var s=o.attr(i,t);return null==s?"!="===e:e?(s+="","="===e?s===n:"!="===e?s!==n:"^="===e?n&&s.indexOf(n)===0:"*="===e?n&&s.indexOf(n)>-1:"$="===e?n&&s.slice(-n.length)===n:"~="===e?(" "+s+" ").indexOf(n)>-1:"|="===e?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(t,e,n,i,s){var r=t.slice(0,3)!=="nth",o=t.slice(-4)!=="last",a="of-type"===e;return 1===i&&0===s?function(t){return!!t.parentNode}:function(e,n,l){var u,c,h,d,f,p,m=r!==o?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(r){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:h.nodeType===1)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(c=g[O]||(g[O]={}),u=c[t]||[],f=u[0]===R&&u[1],d=u[0]===R&&u[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(d=f=0)||p.pop();)if(h.nodeType===1&&++d&&h===e){c[t]=[R,f,d];break}}else if(y&&(u=(e[O]||(e[O]={}))[t])&&u[0]===R)d=u[1];else for(;(h=++f&&h&&h[m]||(d=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:h.nodeType!==1)||!++d||(y&&((h[O]||(h[O]={}))[t]=[R,d]),h!==e)););return d-=s,d===i||0===d%i&&d/i>=0}}},PSEUDO:function(t,e){var n,i=k.pseudos[t]||k.setFilters[t.toLowerCase()]||o.error("unsupported pseudo: "+t);return i[O]?i(e):i.length>1?(n=[t,t,"",e],k.setFilters.hasOwnProperty(t.toLowerCase())?s(function(t,n){for(var s,r=i(t,e),o=r.length;o--;)s=Z.call(t,r[o]),t[s]=!(n[s]=r[o])}):function(t){return i(t,0,n)}):i}},pseudos:{not:s(function(t){var e=[],n=[],i=E(t.replace(oe,"$1"));return i[O]?s(function(t,e,n,s){for(var r,o=i(t,null,s,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,s,r){return e[0]=t,i(e,null,r,n),!n.pop()}}),has:s(function(t){return function(e){return o(t,e).length>0}}),contains:s(function(t){return function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:s(function(t){return he.test(t||"")||o.error("unsupported lang: "+t),t=t.replace(be,xe).toLowerCase(),function(e){var n;do if(n=L?e.getAttribute("xml:lang")||e.getAttribute("lang"):e.lang)return n=n.toLowerCase(),n===t||n.indexOf(t+"-")===0;while((e=e.parentNode)&&e.nodeType===1);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===D},focus:function(t){return t===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||t.nodeType===3||t.nodeType===4)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return ve.test(t.nodeName)},input:function(t){return ge.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&t.type==="button"||"button"===e},text:function(t){var e;return t.nodeName.toLowerCase()==="input"&&t.type==="text"&&((e=t.getAttribute("type"))==null||e.toLowerCase()===t.type)},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}};for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=l(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=u(w);E=o.compile=function(t,e){var n,i=[],s=[],r=Q[t+" "];if(!r){for(e||(e=h(t)),n=e.length;n--;)r=v(e[n]),r[O]?i.push(r):s.push(r);r=Q(t,y(s,i))}return r},k.pseudos.nth=k.pseudos.eq,k.filters=x.prototype=k.pseudos,k.setFilters=new x,j(),o.attr=le.attr,le.find=o,le.expr=o.selectors,le.expr[":"]=le.expr.pseudos,le.unique=o.uniqueSort,le.text=o.getText,le.isXMLDoc=o.isXML,le.contains=o.contains}(t);var ze=/Until$/,Re=/^(?:parents|prev(?:Until|All))/,We=/^.[^:#\[\.,]*$/,Ie=le.expr.match.needsContext,Xe={children:!0,contents:!0,next:!0,prev:!0};le.fn.extend({find:function(t){var e,n,i,s=this.length;if("string"!=typeof t)return i=this,this.pushStack(le(t).filter(function(){for(e=0;s>e;e++)if(le.contains(i[e],this))return!0}));for(n=[],e=0;s>e;e++)le.find(t,this[e],n);return n=this.pushStack(s>1?le.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+t,n},has:function(t){var e,n=le(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(le.contains(this,n[e]))return!0})},not:function(t){return this.pushStack(h(this,t,!1))},filter:function(t){return this.pushStack(h(this,t,!0))},is:function(t){return!!t&&("string"==typeof t?Ie.test(t)?le(t,this.context).index(this[0])>=0:le.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var n,i=0,s=this.length,r=[],o=Ie.test(t)||"string"!=typeof t?le(t,e||this.context):0;s>i;i++)for(n=this[i];n&&n.ownerDocument&&n!==e&&n.nodeType!==11;){if(o?o.index(n)>-1:le.find.matchesSelector(n,t)){r.push(n);break}n=n.parentNode}return this.pushStack(r.length>1?le.unique(r):r)},index:function(t){return t?"string"==typeof t?le.inArray(this[0],le(t)):le.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var n="string"==typeof t?le(t,e):le.makeArray(t&&t.nodeType?[t]:t),i=le.merge(this.get(),n);return this.pushStack(le.unique(i))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),le.fn.andSelf=le.fn.addBack,le.each({parent:function(t){var e=t.parentNode;return e&&e.nodeType!==11?e:null},parents:function(t){return le.dir(t,"parentNode")},parentsUntil:function(t,e,n){return le.dir(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return le.dir(t,"nextSibling")},prevAll:function(t){return le.dir(t,"previousSibling")},nextUntil:function(t,e,n){return le.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return le.dir(t,"previousSibling",n)},siblings:function(t){return le.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return le.sibling(t.firstChild)},contents:function(t){return le.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:le.merge([],t.childNodes)}},function(t,e){le.fn[t]=function(n,i){var s=le.map(this,e,n);return ze.test(t)||(i=n),i&&"string"==typeof i&&(s=le.filter(i,s)),s=this.length>1&&!Xe[t]?le.unique(s):s,this.length>1&&Re.test(t)&&(s=s.reverse()),this.pushStack(s)}}),le.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),e.length===1?le.find.matchesSelector(e[0],t)?[e[0]]:[]:le.find.matches(t,e)},dir:function(t,n,i){for(var s=[],r=t[n];r&&r.nodeType!==9&&(i===e||r.nodeType!==1||!le(r).is(i));)r.nodeType===1&&s.push(r),r=r[n];return s},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)t.nodeType===1&&t!==e&&n.push(t);return n}});var Qe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ue=/ jQuery\d+="(?:null|\d+)"/g,Ve=new RegExp("<(?:"+Qe+")[\\s/>]","i"),Ke=/^\s+/,Ye=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ge=/<([\w:]+)/,Je=/<tbody/i,Ze=/<|&#?\w+;/,tn=/<(?:script|style|link)/i,en=/^(?:checkbox|radio)$/i,nn=/checked\s*(?:[^=]|=\s*.checked.)/i,sn=/^$|\/(?:java|ecma)script/i,rn=/^true\/(.*)/,on=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,an={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:le.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ln=d(V),un=ln.appendChild(V.createElement("div"));an.optgroup=an.option,an.tbody=an.tfoot=an.colgroup=an.caption=an.thead,an.th=an.td,le.fn.extend({text:function(t){return le.access(this,function(t){return t===e?le.text(this):this.empty().append((this[0]&&this[0].ownerDocument||V).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(le.isFunction(t))return this.each(function(e){le(this).wrapAll(t.call(this,e))});if(this[0]){var e=le(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&t.firstChild.nodeType===1;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return le.isFunction(t)?this.each(function(e){le(this).wrapInner(t.call(this,e))}):this.each(function(){var e=le(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=le.isFunction(t);return this.each(function(n){le(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){le.nodeName(this,"body")||le(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&this.insertBefore(t,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=0;(n=this[i])!=null;i++)(!t||le.filter(t,[n]).length>0)&&(e||n.nodeType!==1||le.cleanData(_(n)),n.parentNode&&(e&&le.contains(n.ownerDocument,n)&&g(_(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){for(var t,e=0;(t=this[e])!=null;e++){for(t.nodeType===1&&le.cleanData(_(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&le.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return le.clone(this,t,e)})},html:function(t){return le.access(this,function(t){var n=this[0]||{},i=0,s=this.length;if(t===e)return n.nodeType===1?n.innerHTML.replace(Ue,""):e;if(!("string"!=typeof t||tn.test(t)||!le.support.htmlSerialize&&Ve.test(t)||!le.support.leadingWhitespace&&Ke.test(t)||an[(Ge.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Ye,"<$1></$2>");try{for(;s>i;i++)n=this[i]||{},n.nodeType===1&&(le.cleanData(_(n,!1)),n.innerHTML=t);n=0}catch(r){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){var e=le.isFunction(t);return e||"string"==typeof t||(t=le(t).not(this).detach()),this.domManip([t],!0,function(t){var e=this.nextSibling,n=this.parentNode;n&&(le(this).remove(),n.insertBefore(t,e))})},detach:function(t){return this.remove(t,!0)},domManip:function(t,n,i){t=ee.apply([],t);var s,r,o,a,l,u,c=0,h=this.length,d=this,g=h-1,v=t[0],y=le.isFunction(v);if(y||!(1>=h||"string"!=typeof v||le.support.checkClone)&&nn.test(v))return this.each(function(s){var r=d.eq(s);y&&(t[0]=v.call(this,s,n?r.html():e)),r.domManip(t,n,i)});if(h&&(u=le.buildFragment(t,this[0].ownerDocument,!1,this),s=u.firstChild,u.childNodes.length===1&&(u=s),s)){for(n=n&&le.nodeName(s,"tr"),a=le.map(_(u,"script"),p),o=a.length;h>c;c++)r=u,c!==g&&(r=le.clone(r,!0,!0),o&&le.merge(a,_(r,"script"))),i.call(n&&le.nodeName(this[c],"table")?f(this[c],"tbody"):this[c],r,c);if(o)for(l=a[a.length-1].ownerDocument,le.map(a,m),c=0;o>c;c++)r=a[c],sn.test(r.type||"")&&!le._data(r,"globalEval")&&le.contains(l,r)&&(r.src?le.ajax({url:r.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):le.globalEval((r.text||r.textContent||r.innerHTML||"").replace(on,"")));u=s=null}return this}}),le.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){le.fn[t]=function(t){for(var n,i=0,s=[],r=le(t),o=r.length-1;o>=i;i++)n=i===o?this:this.clone(!0),le(r[i])[e](n),ne.apply(s,n.get());return this.pushStack(s)}}),le.extend({clone:function(t,e,n){var i,s,r,o,a,l=le.contains(t.ownerDocument,t);if(le.support.html5Clone||le.isXMLDoc(t)||!Ve.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(un.innerHTML=t.outerHTML,un.removeChild(r=un.firstChild)),!(le.support.noCloneEvent&&le.support.noCloneChecked||t.nodeType!==1&&t.nodeType!==11||le.isXMLDoc(t)))for(i=_(r),a=_(t),o=0;(s=a[o])!=null;++o)i[o]&&y(s,i[o]);if(e)if(n)for(a=a||_(t),i=i||_(r),o=0;(s=a[o])!=null;o++)v(s,i[o]);else v(t,r);return i=_(r,"script"),i.length>0&&g(i,!l&&_(t,"script")),i=a=s=null,r},buildFragment:function(t,e,n,i){for(var s,r,o,a,l,u,c,h=t.length,f=d(e),p=[],m=0;h>m;m++)if(r=t[m],r||0===r)if(le.type(r)==="object")le.merge(p,r.nodeType?[r]:r);else if(Ze.test(r)){for(a=a||f.appendChild(e.createElement("div")),l=(Ge.exec(r)||["",""])[1].toLowerCase(),c=an[l]||an._default,a.innerHTML=c[1]+r.replace(Ye,"<$1></$2>")+c[2],s=c[0];s--;)a=a.lastChild;if(!le.support.leadingWhitespace&&Ke.test(r)&&p.push(e.createTextNode(Ke.exec(r)[0])),!le.support.tbody)for(r="table"!==l||Je.test(r)?c[1]!=="<table>"||Je.test(r)?0:a:a.firstChild,s=r&&r.childNodes.length;s--;)le.nodeName(u=r.childNodes[s],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(le.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=f.lastChild}else p.push(e.createTextNode(r));for(a&&f.removeChild(a),le.support.appendChecked||le.grep(_(p,"input"),b),m=0;r=p[m++];)if((!i||le.inArray(r,i)===-1)&&(o=le.contains(r.ownerDocument,r),a=_(f.appendChild(r),"script"),o&&g(a),n))for(s=0;r=a[s++];)sn.test(r.type||"")&&n.push(r);return a=null,f},cleanData:function(t,e){for(var n,i,s,r,o=0,a=le.expando,l=le.cache,u=le.support.deleteExpando,c=le.event.special;(n=t[o])!=null;o++)if((e||le.acceptData(n))&&(s=n[a],r=s&&l[s])){if(r.events)for(i in r.events)c[i]?le.event.remove(n,i):le.removeEvent(n,i,r.handle);l[s]&&(delete l[s],u?delete n[a]:typeof n.removeAttribute!==U?n.removeAttribute(a):n[a]=null,Z.push(s))}}});var cn,hn,dn,fn=/alpha\([^)]*\)/i,pn=/opacity\s*=\s*([^)]*)/,mn=/^(top|right|bottom|left)$/,gn=/^(none|table(?!-c[ea]).+)/,vn=/^margin/,yn=new RegExp("^("+ue+")(.*)$","i"),_n=new RegExp("^("+ue+")(?!px)[a-z%]+$","i"),bn=new RegExp("^([+-])=("+ue+")","i"),xn={BODY:"block"},wn={position:"absolute",visibility:"hidden",display:"block"},Cn={letterSpacing:0,fontWeight:400},kn=["Top","Right","Bottom","Left"],Tn=["Webkit","O","Moz","ms"];le.fn.extend({css:function(t,n){return le.access(this,function(t,n,i){var s,r,o={},a=0;if(le.isArray(n)){for(r=hn(t),s=n.length;s>a;a++)o[n[a]]=le.css(t,n[a],!1,r);return o}return i!==e?le.style(t,n,i):le.css(t,n)},t,n,arguments.length>1)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:w(this))?le(this).show():le(this).hide()})}}),le.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=dn(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":le.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,n,i,s){if(t&&t.nodeType!==3&&t.nodeType!==8&&t.style){var r,o,a,l=le.camelCase(n),u=t.style;if(n=le.cssProps[l]||(le.cssProps[l]=x(u,l)),a=le.cssHooks[n]||le.cssHooks[l],i===e)return a&&"get"in a&&(r=a.get(t,!1,s))!==e?r:u[n];if(o=typeof i,"string"===o&&(r=bn.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(le.css(t,n)),o="number"),!(null==i||"number"===o&&isNaN(i)||("number"!==o||le.cssNumber[l]||(i+="px"),le.support.clearCloneStyle||""!==i||n.indexOf("background")!==0||(u[n]="inherit"),a&&"set"in a&&(i=a.set(t,i,s))===e)))try{u[n]=i}catch(c){}}},css:function(t,n,i,s){var r,o,a,l=le.camelCase(n);return n=le.cssProps[l]||(le.cssProps[l]=x(t.style,l)),a=le.cssHooks[n]||le.cssHooks[l],a&&"get"in a&&(o=a.get(t,!0,i)),o===e&&(o=dn(t,n,s)),"normal"===o&&n in Cn&&(o=Cn[n]),""===i||i?(r=parseFloat(o),i===!0||le.isNumeric(r)?r||0:o):o},swap:function(t,e,n,i){var s,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];s=n.apply(t,i||[]);for(r in e)t.style[r]=o[r];return s}}),t.getComputedStyle?(hn=function(e){return t.getComputedStyle(e,null)},dn=function(t,n,i){var s,r,o,a=i||hn(t),l=a?a.getPropertyValue(n)||a[n]:e,u=t.style;return a&&(""!==l||le.contains(t.ownerDocument,t)||(l=le.style(t,n)),_n.test(l)&&vn.test(n)&&(s=u.width,r=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=a.width,u.width=s,u.minWidth=r,u.maxWidth=o)),l}):V.documentElement.currentStyle&&(hn=function(t){return t.currentStyle},dn=function(t,n,i){var s,r,o,a=i||hn(t),l=a?a[n]:e,u=t.style;return null==l&&u&&u[n]&&(l=u[n]),_n.test(l)&&!mn.test(n)&&(s=u.left,r=t.runtimeStyle,o=r&&r.left,o&&(r.left=t.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=s,o&&(r.left=o)),""===l?"auto":l}),le.each(["height","width"],function(t,e){le.cssHooks[e]={get:function(t,n,i){return n?t.offsetWidth===0&&gn.test(le.css(t,"display"))?le.swap(t,wn,function(){return N(t,e,i)}):N(t,e,i):void 0},set:function(t,n,i){var s=i&&hn(t);return k(t,n,i?T(t,e,i,le.support.boxSizing&&le.css(t,"boxSizing",!1,s)==="border-box",s):0)}}}),le.support.opacity||(le.cssHooks.opacity={get:function(t,e){return pn.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,s=le.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&le.trim(r.replace(fn,""))===""&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=fn.test(r)?r.replace(fn,s):r+" "+s)}}),le(function(){le.support.reliableMarginRight||(le.cssHooks.marginRight={get:function(t,e){return e?le.swap(t,{display:"inline-block"},dn,[t,"marginRight"]):void 0}}),!le.support.pixelPosition&&le.fn.position&&le.each(["top","left"],function(t,e){le.cssHooks[e]={get:function(t,n){return n?(n=dn(t,e),_n.test(n)?le(t).position()[e]+"px":n):void 0}}})}),le.expr&&le.expr.filters&&(le.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!le.support.reliableHiddenOffsets&&(t.style&&t.style.display||le.css(t,"display"))==="none"},le.expr.filters.visible=function(t){return!le.expr.filters.hidden(t)}),le.each({margin:"",padding:"",border:"Width"},function(t,e){le.cssHooks[t+e]={expand:function(n){for(var i=0,s={},r="string"==typeof n?n.split(" "):[n];4>i;i++)s[t+kn[i]+e]=r[i]||r[i-2]||r[0];return s}},vn.test(t)||(le.cssHooks[t+e].set=k)});var Nn=/%20/g,En=/\[\]$/,Sn=/\r?\n/g,$n=/^(?:submit|button|image|reset|file)$/i,jn=/^(?:input|select|textarea|keygen)/i;le.fn.extend({serialize:function(){return le.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=le.prop(this,"elements");return t?le.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!le(this).is(":disabled")&&jn.test(this.nodeName)&&!$n.test(t)&&(this.checked||!en.test(t))}).map(function(t,e){var n=le(this).val();return null==n?null:le.isArray(n)?le.map(n,function(t){return{name:e.name,value:t.replace(Sn,"\r\n")}}):{name:e.name,value:n.replace(Sn,"\r\n")}}).get()}}),le.param=function(t,n){var i,s=[],r=function(t,e){e=le.isFunction(e)?e():null==e?"":e,s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)
};if(n===e&&(n=le.ajaxSettings&&le.ajaxSettings.traditional),le.isArray(t)||t.jquery&&!le.isPlainObject(t))le.each(t,function(){r(this.name,this.value)});else for(i in t)$(i,t[i],n,r);return s.join("&").replace(Nn,"+")},le.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(t,e){le.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),le.fn.hover=function(t,e){return this.mouseenter(t).mouseleave(e||t)};var An,Dn,Ln=le.now(),qn=/\?/,Hn=/#.*$/,Mn=/([?&])_=[^&]*/,Pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Fn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,On=/^(?:GET|HEAD)$/,Bn=/^\/\//,zn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Rn=le.fn.load,Wn={},In={},Xn="*/".concat("*");try{Dn=K.href}catch(Qn){Dn=V.createElement("a"),Dn.href="",Dn=Dn.href}An=zn.exec(Dn.toLowerCase())||[],le.fn.load=function(t,n,i){if("string"!=typeof t&&Rn)return Rn.apply(this,arguments);var s,r,o,a=this,l=t.indexOf(" ");return l>=0&&(s=t.slice(l,t.length),t=t.slice(0,l)),le.isFunction(n)?(i=n,n=e):n&&"object"==typeof n&&(o="POST"),a.length>0&&le.ajax({url:t,type:o,dataType:"html",data:n}).done(function(t){r=arguments,a.html(s?le("<div>").append(le.parseHTML(t)).find(s):t)}).complete(i&&function(t,e){a.each(i,r||[t.responseText,e,t])}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){le.fn[e]=function(t){return this.on(e,t)}}),le.each(["get","post"],function(t,n){le[n]=function(t,i,s,r){return le.isFunction(i)&&(r=r||s,s=i,i=e),le.ajax({url:t,type:n,dataType:r,data:i,success:s})}}),le.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dn,type:"GET",isLocal:Fn.test(An[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xn,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"},converters:{"* text":t.String,"text html":!0,"text json":le.parseJSON,"text xml":le.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?D(D(t,le.ajaxSettings),e):D(le.ajaxSettings,t)},ajaxPrefilter:j(Wn),ajaxTransport:j(In),ajax:function(t,n){function i(t,n,i,s){var r,h,y,_,x,C=n;2!==b&&(b=2,l&&clearTimeout(l),c=e,a=s||"",w.readyState=t>0?4:0,i&&(_=L(d,w,i)),t>=200&&300>t||304===t?(d.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(le.lastModified[o]=x),x=w.getResponseHeader("etag"),x&&(le.etag[o]=x)),204===t?(r=!0,C="nocontent"):304===t?(r=!0,C="notmodified"):(r=q(d,_),C=r.state,h=r.data,y=r.error,r=!y)):(y=C,(t||!C)&&(C="error",0>t&&(t=0))),w.status=t,w.statusText=(n||C)+"",r?m.resolveWith(f,[h,C,w]):m.rejectWith(f,[w,C,y]),w.statusCode(v),v=e,u&&p.trigger(r?"ajaxSuccess":"ajaxError",[w,d,r?h:y]),g.fireWith(f,[w,C]),u&&(p.trigger("ajaxComplete",[w,d]),--le.active||le.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=e),n=n||{};var s,r,o,a,l,u,c,h,d=le.ajaxSetup({},n),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?le(f):le.event,m=le.Deferred(),g=le.Callbacks("once memory"),v=d.statusCode||{},y={},_={},b=0,x="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!h)for(h={};e=Pn.exec(a);)h[e[1].toLowerCase()]=e[2];e=h[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=_[n]=_[n]||t,y[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)v[e]=[v[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||x;return c&&c.abort(e),i(0,e),this}};if(m.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,d.url=((t||d.url||Dn)+"").replace(Hn,"").replace(Bn,An[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=le.trim(d.dataType||"*").toLowerCase().match(ce)||[""],d.crossDomain==null&&(s=zn.exec(d.url.toLowerCase()),d.crossDomain=!(!s||s[1]===An[1]&&s[2]===An[2]&&(s[3]||(s[1]==="http:"?80:443))==(An[3]||(An[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=le.param(d.data,d.traditional)),A(Wn,d,n,w),2===b)return w;u=d.global,u&&le.active++===0&&le.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!On.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(qn.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Mn.test(o)?o.replace(Mn,"$1_="+Ln++):o+(qn.test(o)?"&":"?")+"_="+Ln++)),d.ifModified&&(le.lastModified[o]&&w.setRequestHeader("If-Modified-Since",le.lastModified[o]),le.etag[o]&&w.setRequestHeader("If-None-Match",le.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+Xn+"; q=0.01":""):d.accepts["*"]);for(r in d.headers)w.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(d.beforeSend.call(f,w,d)===!1||2===b))return w.abort();x="abort";for(r in{success:1,error:1,complete:1})w[r](d[r]);if(c=A(In,d,n,w)){w.readyState=1,u&&p.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(l=setTimeout(function(){w.abort("timeout")},d.timeout));try{b=1,c.send(y,i)}catch(C){if(!(2>b))throw C;i(-1,C)}}else i(-1,"No Transport");return w},getScript:function(t,n){return le.get(t,e,n,"script")},getJSON:function(t,e,n){return le.get(t,e,n,"json")}}),le.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return le.globalEval(t),t}}}),le.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),le.ajaxTransport("script",function(t){if(t.crossDomain){var n,i=V.head||le("head")[0]||V.documentElement;return{send:function(e,s){n=V.createElement("script"),n.async=!0,t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||s(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(e,!0)}}}});var Un=[],Vn=/(=)\?(?=&|$)|\?\?/;le.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Un.pop()||le.expando+"_"+Ln++;return this[t]=!0,t}}),le.ajaxPrefilter("json jsonp",function(n,i,s){var r,o,a,l=n.jsonp!==!1&&(Vn.test(n.url)?"url":typeof n.data=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vn.test(n.data)&&"data");return l||n.dataTypes[0]==="jsonp"?(r=n.jsonpCallback=le.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Vn,"$1"+r):n.jsonp!==!1&&(n.url+=(qn.test(n.url)?"&":"?")+n.jsonp+"="+r),n.converters["script json"]=function(){return a||le.error(r+" was not called"),a[0]},n.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},s.always(function(){t[r]=o,n[r]&&(n.jsonpCallback=i.jsonpCallback,Un.push(r)),a&&le.isFunction(o)&&o(a[0]),a=o=e}),"script"):void 0});var Kn,Yn,Gn=0,Jn=t.ActiveXObject&&function(){var t;for(t in Kn)Kn[t](e,!0)};le.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&H()||M()}:H,Yn=le.ajaxSettings.xhr(),le.support.cors=!!Yn&&"withCredentials"in Yn,Yn=le.support.ajax=!!Yn,Yn&&le.ajaxTransport(function(n){if(!n.crossDomain||le.support.cors){var i;return{send:function(s,r){var o,a,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(a in n.xhrFields)l[a]=n.xhrFields[a];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest");try{for(a in s)l.setRequestHeader(a,s[a])}catch(u){}l.send(n.hasContent&&n.data||null),i=function(t,s){var a,u,c,h;try{if(i&&(s||l.readyState===4))if(i=e,o&&(l.onreadystatechange=le.noop,Jn&&delete Kn[o]),s)l.readyState!==4&&l.abort();else{h={},a=l.status,u=l.getAllResponseHeaders(),typeof l.responseText=="string"&&(h.text=l.responseText);try{c=l.statusText}catch(d){c=""}a||!n.isLocal||n.crossDomain?1223===a&&(a=204):a=h.text?200:404}}catch(f){s||r(-1,f)}h&&r(a,c,h,u)},n.async?l.readyState===4?setTimeout(i):(o=++Gn,Jn&&(Kn||(Kn={},le(t).unload(Jn)),Kn[o]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(e,!0)}}}});var Zn,ti,ei=/^(?:toggle|show|hide)$/,ni=new RegExp("^(?:([+-])=|)("+ue+")([a-z%]*)$","i"),ii=/queueHooks$/,si=[z],ri={"*":[function(t,e){var n,i,s=this.createTween(t,e),r=ni.exec(e),o=s.cur(),a=+o||0,l=1,u=20;if(r){if(n=+r[2],i=r[3]||(le.cssNumber[t]?"":"px"),"px"!==i&&a){a=le.css(s.elem,t,!0)||n||1;do l=l||".5",a/=l,le.style(s.elem,t,a+i);while(l!==(l=s.cur()/o)&&1!==l&&--u)}s.unit=i,s.start=a,s.end=r[1]?a+(r[1]+1)*n:n}return s}]};le.Animation=le.extend(O,{tweener:function(t,e){le.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,s=t.length;s>i;i++)n=t[i],ri[n]=ri[n]||[],ri[n].unshift(e)},prefilter:function(t,e){e?si.unshift(t):si.push(t)}}),le.Tween=R,R.prototype={constructor:R,init:function(t,e,n,i,s,r){this.elem=t,this.prop=n,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(le.cssNumber[n]?"":"px")},cur:function(){var t=R.propHooks[this.prop];return t&&t.get?t.get(this):R.propHooks._default.get(this)},run:function(t){var e,n=R.propHooks[this.prop];return this.pos=e=this.options.duration?le.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(t){var e;return t.elem[t.prop]==null||t.elem.style&&t.elem.style[t.prop]!=null?(e=le.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){le.fx.step[t.prop]?le.fx.step[t.prop](t):t.elem.style&&(t.elem.style[le.cssProps[t.prop]]!=null||le.cssHooks[t.prop])?le.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},R.propHooks.scrollTop=R.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},le.each(["toggle","show","hide"],function(t,e){var n=le.fn[e];le.fn[e]=function(t,i,s){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(W(e,!0),t,i,s)}}),le.fn.extend({fadeTo:function(t,e,n,i){return this.filter(w).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var s=le.isEmptyObject(t),r=le.speed(e,n,i),o=function(){var e=O(this,le.extend({},t),r);o.finish=function(){e.stop(!0)},(s||le._data(this,"finish"))&&e.stop(!0)};return o.finish=o,s||r.queue===!1?this.each(o):this.queue(r.queue,o)},stop:function(t,n,i){var s=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=n,n=t,t=e),n&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,n=null!=t&&t+"queueHooks",r=le.timers,o=le._data(this);if(n)o[n]&&o[n].stop&&s(o[n]);else for(n in o)o[n]&&o[n].stop&&ii.test(n)&&s(o[n]);for(n=r.length;n--;)r[n].elem!==this||null!=t&&r[n].queue!==t||(r[n].anim.stop(i),e=!1,r.splice(n,1));(e||!i)&&le.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=le._data(this),i=n[t+"queue"],s=n[t+"queueHooks"],r=le.timers,o=i?i.length:0;for(n.finish=!0,le.queue(this,t,[]),s&&s.cur&&s.cur.finish&&s.cur.finish.call(this),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;o>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),le.each({slideDown:W("show"),slideUp:W("hide"),slideToggle:W("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){le.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),le.speed=function(t,e,n){var i=t&&"object"==typeof t?le.extend({},t):{complete:n||!n&&e||le.isFunction(t)&&t,duration:t,easing:n&&e||e&&!le.isFunction(e)&&e};return i.duration=le.fx.off?0:typeof i.duration=="number"?i.duration:i.duration in le.fx.speeds?le.fx.speeds[i.duration]:le.fx.speeds._default,(i.queue==null||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){le.isFunction(i.old)&&i.old.call(this),i.queue&&le.dequeue(this,i.queue)},i},le.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},le.timers=[],le.fx=R.prototype.init,le.fx.tick=function(){var t,n=le.timers,i=0;for(Zn=le.now();i<n.length;i++)t=n[i],t()||n[i]!==t||n.splice(i--,1);n.length||le.fx.stop(),Zn=e},le.fx.timer=function(t){t()&&le.timers.push(t)&&le.fx.start()},le.fx.interval=13,le.fx.start=function(){ti||(ti=setInterval(le.fx.tick,le.fx.interval))},le.fx.stop=function(){clearInterval(ti),ti=null},le.fx.speeds={slow:600,fast:200,_default:400},le.fx.step={},le.expr&&le.expr.filters&&(le.expr.filters.animated=function(t){return le.grep(le.timers,function(e){return t===e.elem}).length}),le.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){le.offset.setOffset(this,t,e)});var n,i,s={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return n=o.documentElement,le.contains(n,r)?(typeof r.getBoundingClientRect!==U&&(s=r.getBoundingClientRect()),i=I(o),{top:s.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:s.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):s},le.offset={setOffset:function(t,e,n){var i=le.css(t,"position");"static"===i&&(t.style.position="relative");var s,r,o=le(t),a=o.offset(),l=le.css(t,"top"),u=le.css(t,"left"),c=("absolute"===i||"fixed"===i)&&le.inArray("auto",[l,u])>-1,h={},d={};c?(d=o.position(),s=d.top,r=d.left):(s=parseFloat(l)||0,r=parseFloat(u)||0),le.isFunction(e)&&(e=e.call(t,n,a)),e.top!=null&&(h.top=e.top-a.top+s),e.left!=null&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):o.css(h)}},le.fn.extend({position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return le.css(i,"position")==="fixed"?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),le.nodeName(t[0],"html")||(n=t.offset()),n.top+=le.css(t[0],"borderTopWidth",!0),n.left+=le.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-le.css(i,"marginTop",!0),left:e.left-n.left-le.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||V.documentElement;t&&!le.nodeName(t,"html")&&le.css(t,"position")==="static";)t=t.offsetParent;return t||V.documentElement})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i=/Y/.test(n);le.fn[t]=function(s){return le.access(this,function(t,s,r){var o=I(t);return r===e?o?n in o?o[n]:o.document.documentElement[s]:t[s]:(o?o.scrollTo(i?le(o).scrollLeft():r,i?r:le(o).scrollTop()):t[s]=r,void 0)},t,s,arguments.length,null)}}),le.each({Height:"height",Width:"width"},function(t,n){le.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,s){le.fn[s]=function(s,r){var o=arguments.length&&(i||"boolean"!=typeof s),a=i||(s===!0||r===!0?"margin":"border");return le.access(this,function(n,i,s){var r;return le.isWindow(n)?n.document.documentElement["client"+t]:n.nodeType===9?(r=n.documentElement,Math.max(n.body["scroll"+t],r["scroll"+t],n.body["offset"+t],r["offset"+t],r["client"+t])):s===e?le.css(n,i,a):le.style(n,i,s,a)},n,o?s:e,o,null)}})}),t.jQuery=t.$=le,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return le})})(window),function(t,e){var n=function(){var e=t._data(document,"events");return e&&e.click&&t.grep(e.click,function(t){return t.namespace==="rails"}).length};n()&&t.error("jquery-ujs has already been loaded!");var i;t.rails=i={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},fire:function(e,n,i){var s=t.Event(n);return e.trigger(s,i),s.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(n){var s,r,o,a,l,u,c,h;if(i.fire(n,"ajax:before")){if(a=n.data("cross-domain"),l=a===e?null:a,u=n.data("with-credentials")||null,c=n.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,n.is("form")){s=n.attr("method"),r=n.attr("action"),o=n.serializeArray();var d=n.data("ujs:submit-button");d&&(o.push(d),n.data("ujs:submit-button",null))}else n.is(i.inputChangeSelector)?(s=n.data("method"),r=n.data("url"),o=n.serialize(),n.data("params")&&(o=o+"&"+n.data("params"))):(s=n.data("method"),r=i.href(n),o=n.data("params")||null);h={type:s||"GET",data:o,dataType:c,beforeSend:function(t,s){return s.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+s.accepts.script),i.fire(n,"ajax:beforeSend",[t,s])},success:function(t,e,i){n.trigger("ajax:success",[t,e,i])},complete:function(t,e){n.trigger("ajax:complete",[t,e])},error:function(t,e,i){n.trigger("ajax:error",[t,e,i])},crossDomain:l},u&&(h.xhrFields={withCredentials:u}),r&&(h.url=r);var f=i.ajax(h);return n.trigger("ajax:send",f),f}return!1},handleMethod:function(n){var s=i.href(n),r=n.data("method"),o=n.attr("target"),a=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('<form method="post" action="'+s+'"></form>'),c='<input name="_method" value="'+r+'" type="hidden" />';l!==e&&a!==e&&(c+='<input name="'+l+'" value="'+a+'" type="hidden" />'),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(i.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(i.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,n=t.data("confirm"),s=!1;return n?(i.fire(t,"confirm")&&(s=i.confirm(n),e=i.fire(t,"confirm:complete",[s])),s&&e):!0},blankInputs:function(e,n,i){var s,r,o=t(),a=n||"input,textarea",l=e.find(a);return l.each(function(){if(s=t(this),r=s.is("input[type=checkbox],input[type=radio]")?s.is(":checked"):s.val(),!r==!i){if(s.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+s.attr("name")+'"]').length)return!0;o=o.add(s)}}),o.length?o:!1},nonBlankInputs:function(t,e){return i.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},callFormSubmitBindings:function(n,i){var s=n.data("events"),r=!0;return s!==e&&s.submit!==e&&t.each(s.submit,function(t,e){return typeof e.handler=="function"?r=e.handler(i):void 0}),r},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return i.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.data("ujs:enable-with",!1)),t.unbind("click.railsDisable")}},i.fire(t(document),"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,n){t.crossDomain||i.CSRFProtection(n)}),t(document).delegate(i.linkDisableSelector,"ajax:complete",function(){i.enableElement(t(this))}),t(document).delegate(i.linkClickSelector,"click.rails",function(n){var s=t(this),r=s.data("method"),o=s.data("params");if(!i.allowAction(s))return i.stopEverything(n);if(s.is(i.linkDisableSelector)&&i.disableElement(s),s.data("remote")!==e){if(!(!n.metaKey&&!n.ctrlKey||r&&"GET"!==r||o))return!0;var a=i.handleRemote(s);return a===!1?i.enableElement(s):a.error(function(){i.enableElement(s)}),!1}return s.data("method")?(i.handleMethod(s),!1):void 0}),t(document).delegate(i.inputChangeSelector,"change.rails",function(e){var n=t(this);return i.allowAction(n)?(i.handleRemote(n),!1):i.stopEverything(e)}),t(document).delegate(i.formSubmitSelector,"submit.rails",function(n){var s=t(this),r=s.data("remote")!==e,o=i.blankInputs(s,i.requiredInputSelector),a=i.nonBlankInputs(s,i.fileInputSelector);if(!i.allowAction(s))return i.stopEverything(n);if(o&&s.attr("novalidate")==e&&i.fire(s,"ajax:aborted:required",[o]))return i.stopEverything(n);if(r){if(a){setTimeout(function(){i.disableFormElements(s)},13);var l=i.fire(s,"ajax:aborted:file",[a]);return l||setTimeout(function(){i.enableFormElements(s)},13),l}return!t.support.submitBubbles&&t().jquery<"1.7"&&i.callFormSubmitBindings(s,n)===!1?i.stopEverything(n):(i.handleRemote(s),!1)}setTimeout(function(){i.disableFormElements(s)},13)}),t(document).delegate(i.formInputClickSelector,"click.rails",function(e){var n=t(this);if(!i.allowAction(n))return i.stopEverything(e);var s=n.attr("name"),r=s?{name:s,value:n.val()}:null;n.closest("form").data("ujs:submit-button",r)}),t(document).delegate(i.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&i.disableFormElements(t(this))}),t(document).delegate(i.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&i.enableFormElements(t(this))}),t(function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)}))}(jQuery),/*
Chosen source: generate output using 'cake build'
Copyright (c) 2011 by Harvest
*/
function(){var t,e;e=this,t=function(){function t(e,n){this.form_field=e,this.options=null!=n?n:{},t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.finish_setup())}return t.prototype.set_default_values=function(){var t=this;return this.click_test_action=function(e){return t.test_active_click(e)},this.activate_action=function(e){return t.activate_field(e)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=this.options.allow_single_deselect!=null&&this.form_field.options[0]!=null&&this.form_field.options[0].text===""?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=this.options.enable_split_word_search!=null?this.options.enable_split_word_search:!0,this.search_contains=this.options.search_contains||!1,this.choices=0,this.single_backstroke_delete=this.options.single_backstroke_delete||!1,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1},t.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(){var t=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return t.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(){var t=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return t.blur_test()},100))},t.prototype.result_add_option=function(t){var e,n;return t.disabled?"":(t.dom_id=this.container_id+"_o_"+t.array_index,e=t.selected&&this.is_multiple?[]:["active-result"],t.selected&&e.push("result-selected"),t.group_array_index!=null&&e.push("group-option"),t.classes!==""&&e.push(t.classes),n=t.style.cssText!==""?' style="'+t.style+'"':"",'<li id="'+t.dom_id+'" class="'+e.join(" ")+'"'+n+">"+t.html+"</li>")},t.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.choices_click=function(t){return t.preventDefault(),this.results_showing?void 0:this.results_show()},t.prototype.keyup_checker=function(t){var e,n;switch(e=(n=t.which)!=null?n:t.keyCode,this.search_field_scale(),e){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(t.preventDefault(),this.results_showing)return this.result_select(t);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},t.prototype.generate_field_id=function(){var t;return t=this.generate_random_id(),this.form_field.id=t,t},t.prototype.generate_random_char=function(){var t,e,n;return t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",n=Math.floor(Math.random()*t.length),e=t.substring(n,n+1)},t.prototype.container_width=function(){var t;return this.options.width!=null?this.options.width:(t=window.getComputedStyle!=null?parseFloat(window.getComputedStyle(this.form_field).getPropertyValue("width")):"undefined"!=typeof jQuery&&null!==jQuery&&this.form_field_jq!=null?this.form_field_jq.outerWidth():this.form_field.getWidth(),t+"px")},t.browser_is_supported=function(){var t;return window.navigator.appName==="Microsoft Internet Explorer"?null!==(t=document.documentMode)&&t>=8:!0},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),e.AbstractChosen=t}.call(this),function(){var t;t=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return t.nodeName.toUpperCase()==="OPTGROUP"?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,n,i,s,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,children:0,disabled:t.disabled}),r=t.childNodes,o=[],i=0,s=r.length;s>i;i++)n=r[i],o.push(this.add_option(n,e,t.disabled));return o},t.prototype.add_option=function(t,e,n){return t.nodeName.toUpperCase()==="OPTION"?(t.text!==""?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,selected:t.selected,disabled:n===!0?n:t.disabled,group_array_index:e,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},t}(),t.select_to_array=function(e){var n,i,s,r,o;for(i=new t,o=e.childNodes,s=0,r=o.length;r>s;s++)n=o[s],i.add_node(n);return i.parsed},this.SelectParser=t}.call(this),/*
Chosen source: generate output using 'cake build'
Copyright (c) 2011 by Harvest
*/
function(){var t,e,n,i,s={}.hasOwnProperty,r=function(t,e){function n(){this.constructor=t}for(var i in e)s.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};n=this,t=jQuery,t.fn.extend({chosen:function(n){return AbstractChosen.browser_is_supported()?this.each(function(){var i;return i=t(this),i.hasClass("chzn-done")?void 0:i.data("chosen",new e(this,n))}):this}}),e=function(e){function s(){return i=s.__super__.constructor.apply(this,arguments)}return r(s,e),s.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},s.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},s.prototype.set_up_html=function(){var e,n;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",e=["chzn-container"],e.push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chzn-rtl"),n={id:this.container_id,"class":e.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.container=t("<div />",n),this.is_multiple?this.container.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop"><ul class="chzn-results"></ul></div>'):this.container.html('<a href="javascript:void(0)" class="chzn-single chzn-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chzn-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},s.prototype.register_observers=function(){var t=this;return this.container.mousedown(function(e){t.container_mousedown(e)}),this.container.mouseup(function(e){t.container_mouseup(e)}),this.container.mouseenter(function(e){t.mouse_enter(e)}),this.container.mouseleave(function(e){t.mouse_leave(e)}),this.search_results.mouseup(function(e){t.search_results_mouseup(e)}),this.search_results.mouseover(function(e){t.search_results_mouseover(e)}),this.search_results.mouseout(function(e){t.search_results_mouseout(e)}),this.search_results.bind("mousewheel DOMMouseScroll",function(e){t.search_results_mousewheel(e)}),this.form_field_jq.bind("liszt:updated",function(e){t.results_update_field(e)}),this.form_field_jq.bind("liszt:activate",function(e){t.activate_field(e)}),this.form_field_jq.bind("liszt:open",function(e){t.container_mousedown(e)}),this.search_field.blur(function(e){t.input_blur(e)}),this.search_field.keyup(function(e){t.keyup_checker(e)}),this.search_field.keydown(function(e){t.keydown_checker(e)}),this.search_field.focus(function(e){t.input_focus(e)}),this.is_multiple?this.search_choices.click(function(e){t.choices_click(e)}):this.container.click(function(t){t.preventDefault()})},s.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field()):(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus",this.activate_action))},s.prototype.container_mousedown=function(e){return this.is_disabled||(e&&e.type==="mousedown"&&!this.results_showing&&e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chzn-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(document).click(this.click_test_action),this.results_show()),this.activate_field())},s.prototype.container_mouseup=function(t){return t.target.nodeName!=="ABBR"||this.is_disabled?void 0:this.results_reset(t)},s.prototype.search_results_mousewheel=function(t){var e,n,i;return e=-((n=t.originalEvent)!=null?n.wheelDelta:void 0)||((i=t.originialEvent)!=null?i.detail:void 0),null!=e?(t.preventDefault(),t.type==="DOMMouseScroll"&&(e=40*e),this.search_results.scrollTop(e+this.search_results.scrollTop())):void 0},s.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chzn-container-active")?this.close_field():void 0},s.prototype.close_field=function(){return t(document).unbind("click",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.winnow_results_clear(),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},s.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},s.prototype.test_active_click=function(e){return t(e.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},s.prototype.results_build=function(){var t,e,i,s,r;for(this.parsing=!0,this.results_data=n.SelectParser.select_to_array(this.form_field),this.is_multiple&&this.choices>0?(this.search_choices.find("li.search-choice").remove(),this.choices=0):this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?this.container.addClass("chzn-container-single-nosearch"):this.container.removeClass("chzn-container-single-nosearch")),t="",r=this.results_data,i=0,s=r.length;s>i;i++)e=r[i],e.group?t+=this.result_add_group(e):e.empty||(t+=this.result_add_option(e),e.selected&&this.is_multiple?this.choice_build(e):e.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("span").text(e.text),this.allow_single_deselect&&this.single_deselect_control_build()));return this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.search_results.html(t),this.parsing=!1},s.prototype.result_add_group=function(e){return e.disabled?"":(e.dom_id=this.container_id+"_g_"+e.array_index,'<li id="'+e.dom_id+'" class="group-result">'+t("<div />").text(e.label).html()+"</li>")},s.prototype.result_do_highlight=function(t){var e,n,i,s,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),s=i+r,n=this.result_highlight.position().top+this.search_results.scrollTop(),e=n+this.result_highlight.outerHeight(),e>=s)return this.search_results.scrollTop(e-i>0?e-i:0);if(r>n)return this.search_results.scrollTop(n)}},s.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},s.prototype.results_show=function(){if(this.result_single_selected!=null)this.result_do_highlight(this.result_single_selected);else if(this.is_multiple&&this.max_selected_options<=this.choices)return this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1;return this.container.addClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results()},s.prototype.results_hide=function(){return this.result_clear_highlight(),this.container.removeClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this}),this.results_showing=!1},s.prototype.set_tab_index=function(){var t;return this.form_field_jq.attr("tabindex")?(t=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.search_field.attr("tabindex",t)):void 0},s.prototype.set_label_behavior=function(){var e=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for="+this.form_field.id+"]")),this.form_field_label.length>0?this.form_field_label.click(function(t){return e.is_multiple?e.container_mousedown(t):e.activate_field()}):void 0},s.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},s.prototype.search_results_mouseup=function(e){var n;return n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first(),n.length?(this.result_highlight=n,this.result_select(e),this.search_field.focus()):void 0},s.prototype.search_results_mouseover=function(e){var n;return n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first(),n?this.result_do_highlight(n):void 0},s.prototype.search_results_mouseout=function(e){return t(e.target).hasClass("active-result")?this.result_clear_highlight():void 0},s.prototype.choice_build=function(e){var n,i,s,r=this;return this.is_multiple&&this.max_selected_options<=this.choices?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(n=this.container_id+"_c_"+e.array_index,this.choices+=1,i=e.disabled?'<li class="search-choice search-choice-disabled" id="'+n+'"><span>'+e.html+"</span></li>":'<li class="search-choice" id="'+n+'"><span>'+e.html+'</span><a href="javascript:void(0)" class="search-choice-close" rel="'+e.array_index+'"></a></li>',this.search_container.before(i),s=t("#"+n).find("a").first(),s.click(function(t){return r.choice_destroy_link_click(t)}))},s.prototype.choice_destroy_link_click=function(e){return e.preventDefault(),e.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(t(e.target))},s.prototype.choice_destroy=function(t){return this.result_deselect(t.attr("rel"))?(this.choices-=1,this.show_search_field_default(),this.is_multiple&&this.choices>0&&this.search_field.val().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()):void 0},s.prototype.results_reset=function(){return this.form_field.options[0].selected=!0,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},s.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},s.prototype.result_select=function(t){var e,n,i,s;return this.result_highlight?(e=this.result_highlight,n=e.attr("id"),this.result_clear_highlight(),this.is_multiple?this.result_deactivate(e):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=e,this.selected_item.removeClass("chzn-default")),e.addClass("result-selected"),s=n.substr(n.lastIndexOf("_")+1),i=this.results_data[s],i.selected=!0,this.form_field.options[i.options_index].selected=!0,this.is_multiple?this.choice_build(i):(this.selected_item.find("span").first().text(i.text),this.allow_single_deselect&&this.single_deselect_control_build()),(t.metaKey||t.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale()):void 0},s.prototype.result_activate=function(t){return t.addClass("active-result")},s.prototype.result_deactivate=function(t){return t.removeClass("active-result")},s.prototype.result_deselect=function(e){var n,i;return i=this.results_data[e],this.form_field.options[i.options_index].disabled?!1:(i.selected=!1,this.form_field.options[i.options_index].selected=!1,n=t("#"+this.container_id+"_o_"+e),n.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[i.options_index].value}),this.search_field_scale(),!0)},s.prototype.single_deselect_control_build=function(){return this.allow_single_deselect&&this.selected_item.find("abbr").length<1?this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'):void 0},s.prototype.winnow_results=function(){var e,n,i,s,r,o,a,l,u,c,h,d,f,p,m,g,v,y;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":t("<div/>").text(t.trim(this.search_field.val())).html(),o=this.search_contains?"":"^",r=new RegExp(o+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),f=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),y=this.results_data,p=0,g=y.length;g>p;p++)if(n=y[p],!n.disabled&&!n.empty)if(n.group)t("#"+n.dom_id).css("display","none");else if(!this.is_multiple||!n.selected){if(e=!1,l=n.dom_id,a=t("#"+l),r.test(n.html))e=!0,u+=1;else if(this.enable_split_word_search&&(n.html.indexOf(" ")>=0||n.html.indexOf("[")===0)&&(s=n.html.replace(/\[|\]/g,"").split(" "),s.length))for(m=0,v=s.length;v>m;m++)i=s[m],r.test(i)&&(e=!0,u+=1);e?(c.length?(h=n.html.search(f),d=n.html.substr(0,h+c.length)+"</em>"+n.html.substr(h+c.length),d=d.substr(0,h)+"<em>"+d.substr(h)):d=n.html,a.html(d),this.result_activate(a),n.group_array_index!=null&&t("#"+this.results_data[n.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&l===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(a))}return 1>u&&c.length?this.no_results(c):this.winnow_results_set_highlight()},s.prototype.winnow_results_clear=function(){var e,n,i,s,r;for(this.search_field.val(""),n=this.search_results.find("li"),r=[],i=0,s=n.length;s>i;i++)e=n[i],e=t(e),e.hasClass("group-result")?r.push(e.css("display","auto")):this.is_multiple&&e.hasClass("result-selected")?r.push(void 0):r.push(this.result_activate(e));return r},s.prototype.winnow_results_set_highlight=function(){var t,e;return this.result_highlight||(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),t=e.length?e.first():this.search_results.find(".active-result").first(),null==t)?void 0:this.result_do_highlight(t)},s.prototype.no_results=function(e){var n;return n=t('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),n.find("span").first().html(e),this.search_results.append(n)},s.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},s.prototype.keydown_arrow=function(){var e,n;return this.result_highlight?this.results_showing&&(n=this.result_highlight.nextAll("li.active-result").first(),n&&this.result_do_highlight(n)):(e=this.search_results.find("li.active-result").first(),e&&this.result_do_highlight(t(e))),this.results_showing?void 0:this.results_show()},s.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result"),t.length?this.result_do_highlight(t.first()):(this.choices>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},s.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last(),t.length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},s.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},s.prototype.keydown_checker=function(t){var e,n;switch(e=(n=t.which)!=null?n:t.keyCode,this.search_field_scale(),8!==e&&this.pending_backstroke&&this.clear_backstroke(),e){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:this.keydown_arrow()}},s.prototype.search_field_scale=function(){var e,n,i,s,r,o,a,l;if(this.is_multiple){for(n=0,o=0,s="position:absolute; left: -1000px; top: -1000px; display:none;",r=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],a=0,l=r.length;l>a;a++)i=r[a],s+=i+":"+this.search_field.css(i)+";";return e=t("<div />",{style:s}),e.text(this.search_field.val()),t("body").append(e),o=e.width()+25,e.remove(),this.f_width||(this.f_width=this.container.outerWidth()),o>this.f_width-10&&(o=this.f_width-10),this.search_field.css({width:o+"px"})}},s.prototype.generate_random_id=function(){var e;for(e="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();t("#"+e).length>0;)e+=this.generate_random_char();return e},s}(AbstractChosen),n.Chosen=e}.call(this),/* ===================================================
 * bootstrap-transition.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#transitions
 * ===================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
!function(t){"use strict";t(function(){t.support.transition=function(){var t=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(e.style[t]!==void 0)return n[t]}();return t&&{end:t}}()})}(window.jQuery),/* ==========================================================
 * bootstrap-alert.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#alerts
 * ==========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
!function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.prototype.close=function(e){function n(){i.trigger("closed").remove()}var i,s=t(this),r=s.attr("data-target");r||(r=s.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=t(r),e&&e.preventDefault(),i.length||(i=s.hasClass("alert")?s:s.parent()),i.trigger(e=t.Event("close")),e.isDefaultPrevented()||(i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.on(t.support.transition.end,n):n())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),s=i.data("alert");s||i.data("alert",s=new n(this)),"string"==typeof e&&s[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.alert.data-api",e,n.prototype.close)}(window.jQuery),/* =========================================================
 * bootstrap-modal.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#modals
 * =========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================= */
!function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e).delegate('[data-dismiss="modal"]',"click.dismiss.modal",t.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};e.prototype={constructor:e,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var e=this,n=t.Event("show");this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop(function(){var n=t.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(document.body),e.$element.show(),n&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus(),n?e.$element.one(t.support.transition.end,function(){e.$element.focus().trigger("shown")}):e.$element.focus().trigger("shown")}))},hide:function(e){e&&e.preventDefault(),e=t.Event("hide"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),t.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var e=this;t(document).on("focusin.modal",function(t){e.$element[0]===t.target||e.$element.has(t.target).length||e.$element.focus()})},escape:function(){var t=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(e){e.which==27&&t.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var e=this,n=setTimeout(function(){e.$element.off(t.support.transition.end),e.hideModal()},500);this.$element.one(t.support.transition.end,function(){clearTimeout(n),e.hideModal()})},hideModal:function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(e){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?t.proxy(this.$element[0].focus,this.$element[0]):t.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;i?this.$backdrop.one(t.support.transition.end,e):e()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(t.support.transition.end,e):e()):e&&e()}};var n=t.fn.modal;t.fn.modal=function(n){return this.each(function(){var i=t(this),s=i.data("modal"),r=t.extend({},t.fn.modal.defaults,i.data(),"object"==typeof n&&n);s||i.data("modal",s=new e(this,r)),"string"==typeof n?s[n]():r.show&&s.show()})},t.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),i=n.attr("href"),s=t(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),r=s.data("modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},s.data(),n.data());e.preventDefault(),s.modal(r).one("hide",function(){n.focus()})})}(window.jQuery),/* ============================================================
 * bootstrap-dropdown.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#dropdowns
 * ============================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============================================================ */
!function(t){"use strict";function e(){t(i).each(function(){n(t(this)).removeClass("open")})}function n(e){var n,i=e.attr("data-target");return i||(i=e.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),n=i&&t(i),n&&n.length||(n=e.parent()),n}var i="[data-toggle=dropdown]",s=function(e){var n=t(e).on("click.dropdown.data-api",this.toggle);t("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};s.prototype={constructor:s,toggle:function(){var i,s,r=t(this);if(!r.is(".disabled, :disabled"))return i=n(r),s=i.hasClass("open"),e(),s||i.toggleClass("open"),r.focus(),!1},keydown:function(e){var s,r,o,a,l;if(/(38|40|27)/.test(e.keyCode)&&(s=t(this),e.preventDefault(),e.stopPropagation(),!s.is(".disabled, :disabled"))){if(o=n(s),a=o.hasClass("open"),!a||a&&e.keyCode==27)return e.which==27&&o.find(i).focus(),s.click();r=t("[role=menu] li:not(.divider):visible a",o),r.length&&(l=r.index(r.filter(":focus")),e.keyCode==38&&l>0&&l--,e.keyCode==40&&l<r.length-1&&l++,~l||(l=0),r.eq(l).focus())}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("dropdown");i||n.data("dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.dropdown.data-api",e).on("click.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.dropdown-menu",function(t){t.stopPropagation()}).on("click.dropdown.data-api",i,s.prototype.toggle).on("keydown.dropdown.data-api",i+", [role=menu]",s.prototype.keydown)}(window.jQuery),/* =============================================================
 * bootstrap-scrollspy.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#scrollspy
 * =============================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============================================================== */
!function(t){"use strict";function e(e,n){var i,s=t.proxy(this.process,this),r=t(e).is("body")?t(window):t(e);this.options=t.extend({},t.fn.scrollspy.defaults,n),this.$scrollElement=r.on("scroll.scroll-spy.data-api",s),this.selector=(this.options.target||(i=t(e).attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=t("body"),this.refresh(),this.process()}e.prototype={constructor:e,refresh:function(){var e,n=this;this.offsets=t([]),this.targets=t([]),e=this.$body.find(this.selector).map(function(){var e=t(this),i=e.data("target")||e.attr("href"),s=/^#\w/.test(i)&&t(i);return s&&s.length&&[[s.position().top+(!t.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},process:function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,i=n-this.$scrollElement.height(),s=this.offsets,r=this.targets,o=this.activeTarget;if(e>=i)return o!=(t=r.last()[0])&&this.activate(t);for(t=s.length;t--;)o!=r[t]&&e>=s[t]&&(!s[t+1]||e<=s[t+1])&&this.activate(r[t])},activate:function(e){var n,i;this.activeTarget=e,t(this.selector).parent(".active").removeClass("active"),i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=t.fn.scrollspy;t.fn.scrollspy=function(n){return this.each(function(){var i=t(this),s=i.data("scrollspy"),r="object"==typeof n&&n;s||i.data("scrollspy",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.defaults={offset:10},t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(window.jQuery),/* ========================================================
 * bootstrap-tab.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#tabs
 * ========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ======================================================== */
!function(t){"use strict";var e=function(e){this.element=t(e)};e.prototype={constructor:e,show:function(){var e,n,i,s=this.element,r=s.closest("ul:not(.dropdown-menu)"),o=s.attr("data-target");o||(o=s.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,"")),s.parent("li").hasClass("active")||(e=r.find(".active:last a")[0],i=t.Event("show",{relatedTarget:e}),s.trigger(i),i.isDefaultPrevented()||(n=t(o),this.activate(s.parent("li"),r),this.activate(n,n.parent(),function(){s.trigger({type:"shown",relatedTarget:e})})))},activate:function(e,n,i){function s(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var r=n.find("> .active"),o=i&&t.support.transition&&r.hasClass("fade");o?r.one(t.support.transition.end,s):s(),r.removeClass("in")}};var n=t.fn.tab;t.fn.tab=function(n){return this.each(function(){var i=t(this),s=i.data("tab");s||i.data("tab",s=new e(this)),"string"==typeof n&&s[n]()})},t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this},t(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),t(this).tab("show")})}(window.jQuery),/* ===========================================================
 * bootstrap-tooltip.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#tooltips
 * Inspired by the original jQuery.tipsy by Jason Frame
 * ===========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
!function(t){"use strict";var e=function(t,e){this.init("tooltip",t,e)};e.prototype={constructor:e,init:function(e,n,i){var s,r,o,a,l;for(this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.enabled=!0,o=this.options.trigger.split(" "),l=o.length;l--;)a=o[l],"click"==a?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!=a&&(s="hover"==a?"mouseenter":"focus",r="hover"==a?"mouseleave":"blur",this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(e){return e=t.extend({},t.fn[this.type].defaults,this.$element.data(),e),e.delay&&typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),e},enter:function(e){var n,i=t.fn[this.type].defaults,s={};return this._options&&t.each(this._options,function(t,e){i[t]!=e&&(s[t]=e)},this),n=t(e.currentTarget)[this.type](s).data(this.type),n.options.delay&&n.options.delay.show?(clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show),void 0):n.show()},leave:function(e){var n=t(e.currentTarget)[this.type](this._options).data(this.type);return this.timeout&&clearTimeout(this.timeout),n.options.delay&&n.options.delay.hide?(n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide),void 0):n.hide()},show:function(){var e,n,i,s,r,o,a=t.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(a),a.isDefaultPrevented())return;switch(e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),r=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.detach().css({top:0,left:0,display:"block"}),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element),n=this.getPosition(),i=e[0].offsetWidth,s=e[0].offsetHeight,r){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-i/2};break;case"top":o={top:n.top-s,left:n.left+n.width/2-i/2};break;case"left":o={top:n.top+n.height/2-s/2,left:n.left-i};break;case"right":o={top:n.top+n.height/2-s/2,left:n.left+n.width}}this.applyPlacement(o,r),this.$element.trigger("shown")}},applyPlacement:function(t,e){var n,i,s,r,o=this.tip(),a=o[0].offsetWidth,l=o[0].offsetHeight;o.offset(t).addClass(e).addClass("in"),n=o[0].offsetWidth,i=o[0].offsetHeight,"top"==e&&i!=l&&(t.top=t.top+l-i,r=!0),"bottom"==e||"top"==e?(s=0,t.left<0&&(s=t.left*-2,t.left=0,o.offset(t),n=o[0].offsetWidth,i=o[0].offsetHeight),this.replaceArrow(s-a+n,n,"left")):this.replaceArrow(i-l,i,"top"),r&&o.offset(t)},replaceArrow:function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){function e(){var e=setTimeout(function(){n.off(t.support.transition.end).detach()},500);n.one(t.support.transition.end,function(){clearTimeout(e),n.detach()})}var n=this.tip(),i=t.Event("hide");return this.$element.trigger(i),i.isDefaultPrevented()?void 0:(n.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?e():n.detach(),this.$element.trigger("hidden"),this)},fixTitle:function(){var t=this.$element;(t.attr("title")||typeof t.attr("data-original-title")!="string")&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var e=this.$element[0];return t.extend({},typeof e.getBoundingClientRect=="function"?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},getTitle:function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||(typeof n.title=="function"?n.title.call(e[0]):n.title)},tip:function(){return this.$tip=this.$tip||t(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var n=e?t(e.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),s=i.data("tooltip"),r="object"==typeof n&&n;s||i.data("tooltip",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(window.jQuery),/* ===========================================================
 * bootstrap-popover.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#popovers
 * ===========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =========================================================== */
!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype,{constructor:e,setContent:function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var t,e=this.$element,n=this.options;return t=(typeof n.content=="function"?n.content.call(e[0]):n.content)||e.attr("data-content")},tip:function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),s=i.data("popover"),r="object"==typeof n&&n;s||i.data("popover",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.popover.Constructor=e,t.fn.popover.defaults=t.extend({},t.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(window.jQuery),/* ============================================================
 * bootstrap-button.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#buttons
 * ============================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============================================================ */
!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.button.defaults,n)};e.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.data(),s=n.is("input")?"val":"html";t+="Text",i.resetText||n.data("resetText",n[s]()),n[s](i[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},e.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons-radio"]');t&&t.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=function(n){return this.each(function(){var i=t(this),s=i.data("button"),r="object"==typeof n&&n;s||i.data("button",s=new e(this,r)),"toggle"==n?s.toggle():n&&s.setState(n)})},t.fn.button.defaults={loadingText:"loading..."},t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.button.data-api","[data-toggle^=button]",function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),/* =============================================================
 * bootstrap-collapse.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#collapse
 * =============================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============================================================ */
!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.collapse.defaults,n),this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.prototype={constructor:e,dimension:function(){var t=this.$element.hasClass("width");return t?"width":"height"},show:function(){var e,n,i,s;if(!this.transitioning&&!this.$element.hasClass("in")){if(e=this.dimension(),n=t.camelCase(["scroll",e].join("-")),i=this.$parent&&this.$parent.find("> .accordion-group > .in"),i&&i.length){if(s=i.data("collapse"),s&&s.transitioning)return;i.collapse("hide"),s||i.data("collapse",null)}this.$element[e](0),this.transition("addClass",t.Event("show"),"shown"),t.support.transition&&this.$element[e](this.$element[0][n])}},hide:function(){var e;!this.transitioning&&this.$element.hasClass("in")&&(e=this.dimension(),this.reset(this.$element[e]()),this.transition("removeClass",t.Event("hide"),"hidden"),this.$element[e](0))},reset:function(t){var e=this.dimension();return this.$element.removeClass("collapse")[e](t||"auto")[0].offsetWidth,this.$element[null!==t?"addClass":"removeClass"]("collapse"),this},transition:function(e,n,i){var s=this,r=function(){n.type=="show"&&s.reset(),s.transitioning=0,s.$element.trigger(i)};this.$element.trigger(n),n.isDefaultPrevented()||(this.transitioning=1,this.$element[e]("in"),t.support.transition&&this.$element.hasClass("collapse")?this.$element.one(t.support.transition.end,r):r())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=t.fn.collapse;t.fn.collapse=function(n){return this.each(function(){var i=t(this),s=i.data("collapse"),r=t.extend({},t.fn.collapse.defaults,i.data(),"object"==typeof n&&n);s||i.data("collapse",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.collapse.defaults={toggle:!0},t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.collapse.data-api","[data-toggle=collapse]",function(e){var n,i=t(this),s=i.attr("data-target")||e.preventDefault()||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),r=t(s).data("collapse")?"toggle":i.data();i[t(s).hasClass("in")?"addClass":"removeClass"]("collapsed"),t(s).collapse(r)})}(window.jQuery),/* ==========================================================
 * bootstrap-carousel.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#carousel
 * ==========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))};e.prototype={cycle:function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(e){var n=this.getActiveIndex(),i=this;if(!(e>this.$items.length-1||0>e))return this.sliding?this.$element.one("slid",function(){i.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",t(this.$items[e]))},pause:function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition.end&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){return this.sliding?void 0:this.slide("next")},prev:function(){return this.sliding?void 0:this.slide("prev")},slide:function(e,n){var i,s=this.$element.find(".item.active"),r=n||s[e](),o=this.interval,a="next"==e?"left":"right",l="next"==e?"first":"last",u=this;if(this.sliding=!0,o&&this.pause(),r=r.length?r:this.$element.find(".item")[l](),i=t.Event("slide",{relatedTarget:r[0],direction:a}),!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var e=t(u.$indicators.children()[u.getActiveIndex()]);e&&e.addClass("active")})),t.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(i),i.isDefaultPrevented())return;r.addClass(e),r[0].offsetWidth,s.addClass(a),r.addClass(a),this.$element.one(t.support.transition.end,function(){r.removeClass([e,a].join(" ")).addClass("active"),s.removeClass(["active",a].join(" ")),u.sliding=!1,setTimeout(function(){u.$element.trigger("slid")},0)})}else{if(this.$element.trigger(i),i.isDefaultPrevented())return;s.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return o&&this.cycle(),this}}};var n=t.fn.carousel;t.fn.carousel=function(n){return this.each(function(){var i=t(this),s=i.data("carousel"),r=t.extend({},t.fn.carousel.defaults,"object"==typeof n&&n),o="string"==typeof n?n:r.slide;s||i.data("carousel",s=new e(this,r)),"number"==typeof n?s.to(n):o?s[o]():r.interval&&s.pause().cycle()})},t.fn.carousel.defaults={interval:5e3,pause:"hover"},t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this},t(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(e){var n,i,s=t(this),r=t(s.attr("data-target")||(n=s.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),o=t.extend({},r.data(),s.data());r.carousel(o),(i=s.attr("data-slide-to"))&&r.data("carousel").pause().to(i).cycle(),e.preventDefault()})}(window.jQuery),/* =============================================================
 * bootstrap-typeahead.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#typeahead
 * =============================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============================================================ */
!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=t(this.options.menu),this.shown=!1,this.listen()};e.prototype={constructor:e,select:function(){var t=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(t)).change(),this.hide()},updater:function(t){return t},show:function(){var e=t.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:e.top+e.height,left:e.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(){var e;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(e=t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source,e?this.process(e):this)},process:function(e){var n=this;return e=t.grep(e,function(t){return n.matcher(t)}),e=this.sorter(e),e.length?this.render(e.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(t){return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,n=[],i=[],s=[];e=t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?i.push(e):s.push(e):n.push(e);return n.concat(i,s)},highlighter:function(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return t.replace(new RegExp("("+e+")","ig"),function(t,e){return"<strong>"+e+"</strong>"})},render:function(e){var n=this;return e=t(e).map(function(e,i){return e=t(n.options.item).attr("data-value",i),e.find("a").html(n.highlighter(i)),e[0]}),e.first().addClass("active"),this.$menu.html(e),this},next:function(){var e=this.$menu.find(".active").removeClass("active"),n=e.next();n.length||(n=t(this.$menu.find("li")[0])),n.addClass("active")},prev:function(){var t=this.$menu.find(".active").removeClass("active"),e=t.prev();e.length||(e=this.$menu.find("li").last()),e.addClass("active")},listen:function(){this.$element.on("focus",t.proxy(this.focus,this)).on("blur",t.proxy(this.blur,this)).on("keypress",t.proxy(this.keypress,this)).on("keyup",t.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",t.proxy(this.keydown,this)),this.$menu.on("click",t.proxy(this.click,this)).on("mouseenter","li",t.proxy(this.mouseenter,this)).on("mouseleave","li",t.proxy(this.mouseleave,this))},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e=typeof this.$element[t]=="function"),e},move:function(t){if(this.shown){switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev();break;case 40:t.preventDefault(),this.next()}t.stopPropagation()}},keydown:function(e){this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.move(e)},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},keyup:function(t){switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},focus:function(){this.focused=!0},blur:function(){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(t){t.stopPropagation(),t.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(e){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),t(e.currentTarget).addClass("active")},mouseleave:function(){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=t.fn.typeahead;t.fn.typeahead=function(n){return this.each(function(){var i=t(this),s=i.data("typeahead"),r="object"==typeof n&&n;s||i.data("typeahead",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},t.fn.typeahead.Constructor=e,t.fn.typeahead.noConflict=function(){return t.fn.typeahead=n,this},t(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(){var e=t(this);e.data("typeahead")||e.typeahead(e.data())})}(window.jQuery),/* ==========================================================
 * bootstrap-affix.js v2.3.1
 * http://twitter.github.com/bootstrap/javascript.html#affix
 * ==========================================================
 * Copyright 2012 Twitter, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ========================================================== */
!function(t){"use strict";var e=function(e,n){this.options=t.extend({},t.fn.affix.defaults,n),this.$window=t(window).on("scroll.affix.data-api",t.proxy(this.checkPosition,this)).on("click.affix.data-api",t.proxy(function(){setTimeout(t.proxy(this.checkPosition,this),1)},this)),this.$element=t(e),this.checkPosition()};e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e,n=t(document).height(),i=this.$window.scrollTop(),s=this.$element.offset(),r=this.options.offset,o=r.bottom,a=r.top,l="affix affix-top affix-bottom";"object"!=typeof r&&(o=a=r),"function"==typeof a&&(a=r.top()),"function"==typeof o&&(o=r.bottom()),e=this.unpin!=null&&i+this.unpin<=s.top?!1:null!=o&&s.top+this.$element.height()>=n-o?"bottom":null!=a&&a>=i?"top":!1,this.affixed!==e&&(this.affixed=e,this.unpin="bottom"==e?s.top-i:null,this.$element.removeClass(l).addClass("affix"+(e?"-"+e:"")))}};var n=t.fn.affix;t.fn.affix=function(n){return this.each(function(){var i=t(this),s=i.data("affix"),r="object"==typeof n&&n;s||i.data("affix",s=new e(this,r)),"string"==typeof n&&s[n]()})},t.fn.affix.Constructor=e,t.fn.affix.defaults={offset:0},t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),e.affix(n)})})}(window.jQuery),function(){jQuery(function(){return $("a[rel=popover]").popover(),$(".tooltip").tooltip(),$("a[rel=tooltip]").tooltip(),$(".dropdown-toggle").dropdown()})}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this),function(){$(function(){return $(".chzn-select").chosen({allow_single_deselect:!1,no_results_text:"No results matched"})})}.call(this);